public final class CreateEventRequest extends com.google.protobuf.GeneratedMessageV3 implements CreateEventRequestOrBuilder
yamcs.protobuf.events.CreateEventRequest| Modifier and Type | Class and Description |
|---|---|
static class |
CreateEventRequest.Builder
Protobuf type
yamcs.protobuf.events.CreateEventRequest |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
INSTANCE_FIELD_NUMBER |
static int |
MESSAGE_FIELD_NUMBER |
static com.google.protobuf.Parser<CreateEventRequest> |
PARSER
Deprecated.
|
static int |
SEQUENCENUMBER_FIELD_NUMBER |
static int |
SEVERITY_FIELD_NUMBER |
static int |
SOURCE_FIELD_NUMBER |
static int |
TIME_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static CreateEventRequest |
getDefaultInstance() |
CreateEventRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getInstance()
Yamcs instance name.
|
com.google.protobuf.ByteString |
getInstanceBytes()
Yamcs instance name.
|
String |
getMessage()
**Required.** Event message.
|
com.google.protobuf.ByteString |
getMessageBytes()
**Required.** Event message.
|
com.google.protobuf.Parser<CreateEventRequest> |
getParserForType() |
int |
getSequenceNumber()
Sequence number of this event.
|
int |
getSerializedSize() |
String |
getSeverity()
The severity level of the event.
|
com.google.protobuf.ByteString |
getSeverityBytes()
The severity level of the event.
|
String |
getSource()
Source of the event.
|
com.google.protobuf.ByteString |
getSourceBytes()
Source of the event.
|
com.google.protobuf.Timestamp |
getTime()
Time associated with the event.
|
com.google.protobuf.TimestampOrBuilder |
getTimeOrBuilder()
Time associated with the event.
|
String |
getType()
Description of the type of the event.
|
com.google.protobuf.ByteString |
getTypeBytes()
Description of the type of the event.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasInstance()
Yamcs instance name.
|
boolean |
hasMessage()
**Required.** Event message.
|
boolean |
hasSequenceNumber()
Sequence number of this event.
|
boolean |
hasSeverity()
The severity level of the event.
|
boolean |
hasSource()
Source of the event.
|
boolean |
hasTime()
Time associated with the event.
|
boolean |
hasType()
Description of the type of the event.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static CreateEventRequest.Builder |
newBuilder() |
static CreateEventRequest.Builder |
newBuilder(CreateEventRequest prototype) |
CreateEventRequest.Builder |
newBuilderForType() |
protected CreateEventRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static CreateEventRequest |
parseDelimitedFrom(InputStream input) |
static CreateEventRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CreateEventRequest |
parseFrom(byte[] data) |
static CreateEventRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CreateEventRequest |
parseFrom(ByteBuffer data) |
static CreateEventRequest |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CreateEventRequest |
parseFrom(com.google.protobuf.ByteString data) |
static CreateEventRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CreateEventRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static CreateEventRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CreateEventRequest |
parseFrom(InputStream input) |
static CreateEventRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<CreateEventRequest> |
parser() |
CreateEventRequest.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int INSTANCE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
public static final int MESSAGE_FIELD_NUMBER
public static final int SEVERITY_FIELD_NUMBER
public static final int TIME_FIELD_NUMBER
public static final int SOURCE_FIELD_NUMBER
public static final int SEQUENCENUMBER_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<CreateEventRequest> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasInstance()
Yamcs instance name.
optional string instance = 1;hasInstance in interface CreateEventRequestOrBuilderpublic String getInstance()
Yamcs instance name.
optional string instance = 1;getInstance in interface CreateEventRequestOrBuilderpublic com.google.protobuf.ByteString getInstanceBytes()
Yamcs instance name.
optional string instance = 1;getInstanceBytes in interface CreateEventRequestOrBuilderpublic boolean hasType()
Description of the type of the event. Useful for quick classification or filtering.
optional string type = 2;hasType in interface CreateEventRequestOrBuilderpublic String getType()
Description of the type of the event. Useful for quick classification or filtering.
optional string type = 2;getType in interface CreateEventRequestOrBuilderpublic com.google.protobuf.ByteString getTypeBytes()
Description of the type of the event. Useful for quick classification or filtering.
optional string type = 2;getTypeBytes in interface CreateEventRequestOrBuilderpublic boolean hasMessage()
**Required.** Event message.
optional string message = 3;hasMessage in interface CreateEventRequestOrBuilderpublic String getMessage()
**Required.** Event message.
optional string message = 3;getMessage in interface CreateEventRequestOrBuilderpublic com.google.protobuf.ByteString getMessageBytes()
**Required.** Event message.
optional string message = 3;getMessageBytes in interface CreateEventRequestOrBuilderpublic boolean hasSeverity()
The severity level of the event. One of ``info``, ``watch``, ``warning``, ``distress``, ``critical`` or ``severe``. Default is ``info``
optional string severity = 4;hasSeverity in interface CreateEventRequestOrBuilderpublic String getSeverity()
The severity level of the event. One of ``info``, ``watch``, ``warning``, ``distress``, ``critical`` or ``severe``. Default is ``info``
optional string severity = 4;getSeverity in interface CreateEventRequestOrBuilderpublic com.google.protobuf.ByteString getSeverityBytes()
The severity level of the event. One of ``info``, ``watch``, ``warning``, ``distress``, ``critical`` or ``severe``. Default is ``info``
optional string severity = 4;getSeverityBytes in interface CreateEventRequestOrBuilderpublic boolean hasTime()
Time associated with the event. If unspecified, this will default to the current mission time.
optional .google.protobuf.Timestamp time = 5;hasTime in interface CreateEventRequestOrBuilderpublic com.google.protobuf.Timestamp getTime()
Time associated with the event. If unspecified, this will default to the current mission time.
optional .google.protobuf.Timestamp time = 5;getTime in interface CreateEventRequestOrBuilderpublic com.google.protobuf.TimestampOrBuilder getTimeOrBuilder()
Time associated with the event. If unspecified, this will default to the current mission time.
optional .google.protobuf.Timestamp time = 5;getTimeOrBuilder in interface CreateEventRequestOrBuilderpublic boolean hasSource()
Source of the event. Useful for grouping events in the archive. Default is ``User``.
optional string source = 6;hasSource in interface CreateEventRequestOrBuilderpublic String getSource()
Source of the event. Useful for grouping events in the archive. Default is ``User``.
optional string source = 6;getSource in interface CreateEventRequestOrBuilderpublic com.google.protobuf.ByteString getSourceBytes()
Source of the event. Useful for grouping events in the archive. Default is ``User``.
optional string source = 6;getSourceBytes in interface CreateEventRequestOrBuilderpublic boolean hasSequenceNumber()
Sequence number of this event. This is primarily used to determine unicity of events coming from the same source. If not set Yamcs will automatically assign a sequential number as if every submitted event is unique.
optional int32 sequenceNumber = 7;hasSequenceNumber in interface CreateEventRequestOrBuilderpublic int getSequenceNumber()
Sequence number of this event. This is primarily used to determine unicity of events coming from the same source. If not set Yamcs will automatically assign a sequential number as if every submitted event is unique.
optional int32 sequenceNumber = 7;getSequenceNumber in interface CreateEventRequestOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static CreateEventRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CreateEventRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CreateEventRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CreateEventRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CreateEventRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CreateEventRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CreateEventRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static CreateEventRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static CreateEventRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static CreateEventRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static CreateEventRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static CreateEventRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic CreateEventRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static CreateEventRequest.Builder newBuilder()
public static CreateEventRequest.Builder newBuilder(CreateEventRequest prototype)
public CreateEventRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected CreateEventRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static CreateEventRequest getDefaultInstance()
public static com.google.protobuf.Parser<CreateEventRequest> parser()
public com.google.protobuf.Parser<CreateEventRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public CreateEventRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2020 Space Applications Services. All rights reserved.