java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.yamcs.protobuf.CreateEventRequest
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,CreateEventRequestOrBuilder
public final class CreateEventRequest
extends com.google.protobuf.GeneratedMessageV3
implements CreateEventRequestOrBuilder
Protobuf type
yamcs.protobuf.events.CreateEventRequest- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typeyamcs.protobuf.events.CreateEventRequestNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final com.google.protobuf.Parser<CreateEventRequest> Deprecated.static final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsExtra(String key) Additional propertiesbooleanstatic CreateEventRequeststatic final com.google.protobuf.Descriptors.DescriptorgetExtra()Deprecated.intAdditional propertiesAdditional propertiesgetExtraOrDefault(String key, String defaultValue) Additional propertiesgetExtraOrThrow(String key) Additional propertiesYamcs instance namecom.google.protobuf.ByteStringYamcs instance name**Required.** Event message.com.google.protobuf.ByteString**Required.** Event message.com.google.protobuf.Parser<CreateEventRequest> intSequence number of this event.intThe severity level of the event.com.google.protobuf.ByteStringThe severity level of the event.Source of the event.com.google.protobuf.ByteStringSource of the event.com.google.protobuf.TimestampgetTime()Time associated with the event.com.google.protobuf.TimestampOrBuilderTime associated with the event.getType()Description of the type of the event.com.google.protobuf.ByteStringDescription of the type of the event.final com.google.protobuf.UnknownFieldSetinthashCode()booleanYamcs instance nameboolean**Required.** Event message.booleanSequence number of this event.booleanThe severity level of the event.booleanSource of the event.booleanhasTime()Time associated with the event.booleanhasType()Description of the type of the event.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldinternalGetMapField(int number) final booleanstatic CreateEventRequest.Builderstatic CreateEventRequest.BuildernewBuilder(CreateEventRequest prototype) protected CreateEventRequest.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static CreateEventRequestparseDelimitedFrom(InputStream input) static CreateEventRequestparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CreateEventRequestparseFrom(byte[] data) static CreateEventRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CreateEventRequestparseFrom(com.google.protobuf.ByteString data) static CreateEventRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CreateEventRequestparseFrom(com.google.protobuf.CodedInputStream input) static CreateEventRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CreateEventRequestparseFrom(InputStream input) static CreateEventRequestparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static CreateEventRequestparseFrom(ByteBuffer data) static CreateEventRequestparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<CreateEventRequest> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, 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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
-
Field Details
-
INSTANCE_FIELD_NUMBER
public static final int INSTANCE_FIELD_NUMBER- See Also:
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER- See Also:
-
MESSAGE_FIELD_NUMBER
public static final int MESSAGE_FIELD_NUMBER- See Also:
-
SEVERITY_FIELD_NUMBER
public static final int SEVERITY_FIELD_NUMBER- See Also:
-
TIME_FIELD_NUMBER
public static final int TIME_FIELD_NUMBER- See Also:
-
SOURCE_FIELD_NUMBER
public static final int SOURCE_FIELD_NUMBER- See Also:
-
SEQUENCENUMBER_FIELD_NUMBER
public static final int SEQUENCENUMBER_FIELD_NUMBER- See Also:
-
EXTRA_FIELD_NUMBER
public static final int EXTRA_FIELD_NUMBER- See Also:
-
PARSER
Deprecated.
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number) - Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasInstance
public boolean hasInstance()Yamcs instance name
optional string instance = 1;- Specified by:
hasInstancein interfaceCreateEventRequestOrBuilder- Returns:
- Whether the instance field is set.
-
getInstance
Yamcs instance name
optional string instance = 1;- Specified by:
getInstancein interfaceCreateEventRequestOrBuilder- Returns:
- The instance.
-
getInstanceBytes
public com.google.protobuf.ByteString getInstanceBytes()Yamcs instance name
optional string instance = 1;- Specified by:
getInstanceBytesin interfaceCreateEventRequestOrBuilder- Returns:
- The bytes for instance.
-
hasType
public boolean hasType()Description of the type of the event. Useful for quick classification or filtering.
optional string type = 2;- Specified by:
hasTypein interfaceCreateEventRequestOrBuilder- Returns:
- Whether the type field is set.
-
getType
Description of the type of the event. Useful for quick classification or filtering.
optional string type = 2;- Specified by:
getTypein interfaceCreateEventRequestOrBuilder- Returns:
- The type.
-
getTypeBytes
public com.google.protobuf.ByteString getTypeBytes()Description of the type of the event. Useful for quick classification or filtering.
optional string type = 2;- Specified by:
getTypeBytesin interfaceCreateEventRequestOrBuilder- Returns:
- The bytes for type.
-
hasMessage
public boolean hasMessage()**Required.** Event message.
optional string message = 3;- Specified by:
hasMessagein interfaceCreateEventRequestOrBuilder- Returns:
- Whether the message field is set.
-
getMessage
**Required.** Event message.
optional string message = 3;- Specified by:
getMessagein interfaceCreateEventRequestOrBuilder- Returns:
- The message.
-
getMessageBytes
public com.google.protobuf.ByteString getMessageBytes()**Required.** Event message.
optional string message = 3;- Specified by:
getMessageBytesin interfaceCreateEventRequestOrBuilder- Returns:
- The bytes for message.
-
hasSeverity
public boolean hasSeverity()The severity level of the event. One of ``info``, ``watch``, ``warning``, ``distress``, ``critical`` or ``severe``. Default is ``info``
optional string severity = 4;- Specified by:
hasSeverityin interfaceCreateEventRequestOrBuilder- Returns:
- Whether the severity field is set.
-
getSeverity
The severity level of the event. One of ``info``, ``watch``, ``warning``, ``distress``, ``critical`` or ``severe``. Default is ``info``
optional string severity = 4;- Specified by:
getSeverityin interfaceCreateEventRequestOrBuilder- Returns:
- The severity.
-
getSeverityBytes
public 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;- Specified by:
getSeverityBytesin interfaceCreateEventRequestOrBuilder- Returns:
- The bytes for severity.
-
hasTime
public boolean hasTime()Time associated with the event. If unspecified, this will default to the current mission time.
optional .google.protobuf.Timestamp time = 5;- Specified by:
hasTimein interfaceCreateEventRequestOrBuilder- Returns:
- Whether the time field is set.
-
getTime
public 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;- Specified by:
getTimein interfaceCreateEventRequestOrBuilder- Returns:
- The time.
-
getTimeOrBuilder
public 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;- Specified by:
getTimeOrBuilderin interfaceCreateEventRequestOrBuilder
-
hasSource
public boolean hasSource()Source of the event. Useful for grouping events in the archive. Default is ``User``.
optional string source = 6;- Specified by:
hasSourcein interfaceCreateEventRequestOrBuilder- Returns:
- Whether the source field is set.
-
getSource
Source of the event. Useful for grouping events in the archive. Default is ``User``.
optional string source = 6;- Specified by:
getSourcein interfaceCreateEventRequestOrBuilder- Returns:
- The source.
-
getSourceBytes
public com.google.protobuf.ByteString getSourceBytes()Source of the event. Useful for grouping events in the archive. Default is ``User``.
optional string source = 6;- Specified by:
getSourceBytesin interfaceCreateEventRequestOrBuilder- Returns:
- The bytes for source.
-
hasSequenceNumber
public 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;- Specified by:
hasSequenceNumberin interfaceCreateEventRequestOrBuilder- Returns:
- Whether the sequenceNumber field is set.
-
getSequenceNumber
public 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;- Specified by:
getSequenceNumberin interfaceCreateEventRequestOrBuilder- Returns:
- The sequenceNumber.
-
getExtraCount
public int getExtraCount()Description copied from interface:CreateEventRequestOrBuilderAdditional properties
map<string, string> extra = 8;- Specified by:
getExtraCountin interfaceCreateEventRequestOrBuilder
-
containsExtra
Additional properties
map<string, string> extra = 8;- Specified by:
containsExtrain interfaceCreateEventRequestOrBuilder
-
getExtra
Deprecated.UsegetExtraMap()instead.- Specified by:
getExtrain interfaceCreateEventRequestOrBuilder
-
getExtraMap
Additional properties
map<string, string> extra = 8;- Specified by:
getExtraMapin interfaceCreateEventRequestOrBuilder
-
getExtraOrDefault
Additional properties
map<string, string> extra = 8;- Specified by:
getExtraOrDefaultin interfaceCreateEventRequestOrBuilder
-
getExtraOrThrow
Additional properties
map<string, string> extra = 8;- Specified by:
getExtraOrThrowin interfaceCreateEventRequestOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static CreateEventRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CreateEventRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CreateEventRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CreateEventRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CreateEventRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CreateEventRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static CreateEventRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static CreateEventRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static CreateEventRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static CreateEventRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected CreateEventRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-