java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.ExtendableMessage<Event>
org.yamcs.protobuf.Event
- All Implemented Interfaces:
com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<Event>,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,EventOrBuilder
public final class Event
extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<Event>
implements EventOrBuilder
Protobuf type
yamcs.protobuf.events.Event- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typeyamcs.protobuf.events.Eventstatic enumProtobuf enumyamcs.protobuf.events.Event.EventSeverityNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3.ExtendableMessage
com.google.protobuf.GeneratedMessageV3.ExtendableMessage.ExtensionWriterNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
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, 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<Event>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 TypeMethodDescriptionbooleanSet by API when event was posted by a usercom.google.protobuf.ByteStringSet by API when event was posted by a userstatic Eventstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Timestamprequired .google.protobuf.Timestamp generationTime = 2;com.google.protobuf.TimestampOrBuilderrequired .google.protobuf.Timestamp generationTime = 2;required string message = 6;com.google.protobuf.ByteStringrequired string message = 6;com.google.protobuf.Parser<Event>com.google.protobuf.Timestampoptional .google.protobuf.Timestamp receptionTime = 3;com.google.protobuf.TimestampOrBuilderoptional .google.protobuf.Timestamp receptionTime = 3;intoptional int32 seqNumber = 4;intoptional .yamcs.protobuf.events.Event.EventSeverity severity = 7 [default = INFO];required string source = 1;com.google.protobuf.ByteStringrequired string source = 1;getType()optional string type = 5;com.google.protobuf.ByteStringoptional string type = 5;final com.google.protobuf.UnknownFieldSetbooleanSet by API when event was posted by a userbooleanrequired .google.protobuf.Timestamp generationTime = 2;inthashCode()booleanrequired string message = 6;booleanoptional .google.protobuf.Timestamp receptionTime = 3;booleanoptional int32 seqNumber = 4;booleanoptional .yamcs.protobuf.events.Event.EventSeverity severity = 7 [default = INFO];booleanrequired string source = 1;booleanhasType()optional string type = 5;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic Event.Builderstatic Event.BuildernewBuilder(Event prototype) protected Event.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static EventparseDelimitedFrom(InputStream input) static EventparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EventparseFrom(byte[] data) static EventparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EventparseFrom(com.google.protobuf.ByteString data) static EventparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EventparseFrom(com.google.protobuf.CodedInputStream input) static EventparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EventparseFrom(InputStream input) static EventparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static EventparseFrom(ByteBuffer data) static EventparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Event>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3.ExtendableMessage
extensionsAreInitialized, extensionsSerializedSize, extensionsSerializedSizeAsMessageSet, getAllFields, getAllFieldsRaw, getExtension, getExtension, getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, getExtensionCount, getExtensionFields, getField, getRepeatedField, getRepeatedFieldCount, hasExtension, hasExtension, hasExtension, hasField, makeExtensionsImmutable, newExtensionWriter, newMessageSetExtensionWriter, parseUnknownField, parseUnknownFieldProto3Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getDescriptorForType, getOneofFieldDescriptor, hasOneof, internalGetMapField, isStringEmpty, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, 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.GeneratedMessageV3.ExtendableMessageOrBuilder
getExtension, getExtension, getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, getExtensionCount, hasExtension, hasExtension, hasExtensionMethods 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
-
SOURCE_FIELD_NUMBER
public static final int SOURCE_FIELD_NUMBER- See Also:
-
GENERATIONTIME_FIELD_NUMBER
public static final int GENERATIONTIME_FIELD_NUMBER- See Also:
-
RECEPTIONTIME_FIELD_NUMBER
public static final int RECEPTIONTIME_FIELD_NUMBER- See Also:
-
SEQNUMBER_FIELD_NUMBER
public static final int SEQNUMBER_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:
-
CREATEDBY_FIELD_NUMBER
public static final int CREATEDBY_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() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasSource
public boolean hasSource()required string source = 1;- Specified by:
hasSourcein interfaceEventOrBuilder- Returns:
- Whether the source field is set.
-
getSource
required string source = 1;- Specified by:
getSourcein interfaceEventOrBuilder- Returns:
- The source.
-
getSourceBytes
public com.google.protobuf.ByteString getSourceBytes()required string source = 1;- Specified by:
getSourceBytesin interfaceEventOrBuilder- Returns:
- The bytes for source.
-
hasGenerationTime
public boolean hasGenerationTime()required .google.protobuf.Timestamp generationTime = 2;- Specified by:
hasGenerationTimein interfaceEventOrBuilder- Returns:
- Whether the generationTime field is set.
-
getGenerationTime
public com.google.protobuf.Timestamp getGenerationTime()required .google.protobuf.Timestamp generationTime = 2;- Specified by:
getGenerationTimein interfaceEventOrBuilder- Returns:
- The generationTime.
-
getGenerationTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getGenerationTimeOrBuilder()required .google.protobuf.Timestamp generationTime = 2;- Specified by:
getGenerationTimeOrBuilderin interfaceEventOrBuilder
-
hasReceptionTime
public boolean hasReceptionTime()optional .google.protobuf.Timestamp receptionTime = 3;- Specified by:
hasReceptionTimein interfaceEventOrBuilder- Returns:
- Whether the receptionTime field is set.
-
getReceptionTime
public com.google.protobuf.Timestamp getReceptionTime()optional .google.protobuf.Timestamp receptionTime = 3;- Specified by:
getReceptionTimein interfaceEventOrBuilder- Returns:
- The receptionTime.
-
getReceptionTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getReceptionTimeOrBuilder()optional .google.protobuf.Timestamp receptionTime = 3;- Specified by:
getReceptionTimeOrBuilderin interfaceEventOrBuilder
-
hasSeqNumber
public boolean hasSeqNumber()optional int32 seqNumber = 4;- Specified by:
hasSeqNumberin interfaceEventOrBuilder- Returns:
- Whether the seqNumber field is set.
-
getSeqNumber
public int getSeqNumber()optional int32 seqNumber = 4;- Specified by:
getSeqNumberin interfaceEventOrBuilder- Returns:
- The seqNumber.
-
hasType
public boolean hasType()optional string type = 5;- Specified by:
hasTypein interfaceEventOrBuilder- Returns:
- Whether the type field is set.
-
getType
optional string type = 5;- Specified by:
getTypein interfaceEventOrBuilder- Returns:
- The type.
-
getTypeBytes
public com.google.protobuf.ByteString getTypeBytes()optional string type = 5;- Specified by:
getTypeBytesin interfaceEventOrBuilder- Returns:
- The bytes for type.
-
hasMessage
public boolean hasMessage()required string message = 6;- Specified by:
hasMessagein interfaceEventOrBuilder- Returns:
- Whether the message field is set.
-
getMessage
required string message = 6;- Specified by:
getMessagein interfaceEventOrBuilder- Returns:
- The message.
-
getMessageBytes
public com.google.protobuf.ByteString getMessageBytes()required string message = 6;- Specified by:
getMessageBytesin interfaceEventOrBuilder- Returns:
- The bytes for message.
-
hasSeverity
public boolean hasSeverity()optional .yamcs.protobuf.events.Event.EventSeverity severity = 7 [default = INFO];- Specified by:
hasSeverityin interfaceEventOrBuilder- Returns:
- Whether the severity field is set.
-
getSeverity
optional .yamcs.protobuf.events.Event.EventSeverity severity = 7 [default = INFO];- Specified by:
getSeverityin interfaceEventOrBuilder- Returns:
- The severity.
-
hasCreatedBy
public boolean hasCreatedBy()Set by API when event was posted by a user
optional string createdBy = 10;- Specified by:
hasCreatedByin interfaceEventOrBuilder- Returns:
- Whether the createdBy field is set.
-
getCreatedBy
Set by API when event was posted by a user
optional string createdBy = 10;- Specified by:
getCreatedByin interfaceEventOrBuilder- Returns:
- The createdBy.
-
getCreatedByBytes
public com.google.protobuf.ByteString getCreatedByBytes()Set by API when event was posted by a user
optional string createdBy = 10;- Specified by:
getCreatedByBytesin interfaceEventOrBuilder- Returns:
- The bytes for createdBy.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.ExtendableMessage<Event>
-
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 Event parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Event parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Event parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Event parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Event parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Event parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Event parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Event parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Event 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 Event.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.GeneratedMessageV3.ExtendableMessageOrBuilder<Event>- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-