Package org.yamcs.protobuf
Class Yamcs.Event
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.protobuf.GeneratedMessageV3.ExtendableMessage<Yamcs.Event>
-
- org.yamcs.protobuf.Yamcs.Event
-
- All Implemented Interfaces:
com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<Yamcs.Event>,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,Yamcs.EventOrBuilder
- Enclosing class:
- Yamcs
public static final class Yamcs.Event extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<Yamcs.Event> implements Yamcs.EventOrBuilder
Protobuf typeyamcs.protobuf.Event- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classYamcs.Event.BuilderProtobuf typeyamcs.protobuf.Eventstatic classYamcs.Event.EventSeverityProtobuf enumyamcs.protobuf.Event.EventSeverity-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3.ExtendableMessage
com.google.protobuf.GeneratedMessageV3.ExtendableMessage.ExtensionWriter
-
Nested 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
-
-
Field Summary
Fields Modifier and Type Field Description static intCREATEDBY_FIELD_NUMBERstatic intGENERATIONTIME_FIELD_NUMBERstatic intGENERATIONTIMEUTC_FIELD_NUMBERstatic intMESSAGE_FIELD_NUMBERstatic com.google.protobuf.Parser<Yamcs.Event>PARSERDeprecated.static intRECEPTIONTIME_FIELD_NUMBERstatic intRECEPTIONTIMEUTC_FIELD_NUMBERstatic intSEQNUMBER_FIELD_NUMBERstatic intSEVERITY_FIELD_NUMBERstatic intSOURCE_FIELD_NUMBERstatic intTYPE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(Object obj)StringgetCreatedBy()Set by API when event was posted by a usercom.google.protobuf.ByteStringgetCreatedByBytes()Set by API when event was posted by a userstatic Yamcs.EventgetDefaultInstance()Yamcs.EventgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.TimestampgetGenerationTime()required .google.protobuf.Timestamp generationTime = 2;com.google.protobuf.TimestampOrBuildergetGenerationTimeOrBuilder()required .google.protobuf.Timestamp generationTime = 2;StringgetGenerationTimeUTC()Deprecated.com.google.protobuf.ByteStringgetGenerationTimeUTCBytes()Deprecated.StringgetMessage()required string message = 6;com.google.protobuf.ByteStringgetMessageBytes()required string message = 6;com.google.protobuf.Parser<Yamcs.Event>getParserForType()com.google.protobuf.TimestampgetReceptionTime()optional .google.protobuf.Timestamp receptionTime = 3;com.google.protobuf.TimestampOrBuildergetReceptionTimeOrBuilder()optional .google.protobuf.Timestamp receptionTime = 3;StringgetReceptionTimeUTC()Deprecated.com.google.protobuf.ByteStringgetReceptionTimeUTCBytes()Deprecated.intgetSeqNumber()optional int32 seqNumber = 4;intgetSerializedSize()Yamcs.Event.EventSeveritygetSeverity()optional .yamcs.protobuf.Event.EventSeverity severity = 7 [default = INFO];StringgetSource()required string source = 1;com.google.protobuf.ByteStringgetSourceBytes()required string source = 1;StringgetType()optional string type = 5;com.google.protobuf.ByteStringgetTypeBytes()optional string type = 5;com.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasCreatedBy()Set by API when event was posted by a userbooleanhasGenerationTime()required .google.protobuf.Timestamp generationTime = 2;booleanhasGenerationTimeUTC()Deprecated.inthashCode()booleanhasMessage()required string message = 6;booleanhasReceptionTime()optional .google.protobuf.Timestamp receptionTime = 3;booleanhasReceptionTimeUTC()Deprecated.booleanhasSeqNumber()optional int32 seqNumber = 4;booleanhasSeverity()optional .yamcs.protobuf.Event.EventSeverity severity = 7 [default = INFO];booleanhasSource()required string source = 1;booleanhasType()optional string type = 5;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Yamcs.Event.BuildernewBuilder()static Yamcs.Event.BuildernewBuilder(Yamcs.Event prototype)Yamcs.Event.BuildernewBuilderForType()protected Yamcs.Event.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)static Yamcs.EventparseDelimitedFrom(InputStream input)static Yamcs.EventparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Yamcs.EventparseFrom(byte[] data)static Yamcs.EventparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Yamcs.EventparseFrom(com.google.protobuf.ByteString data)static Yamcs.EventparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Yamcs.EventparseFrom(com.google.protobuf.CodedInputStream input)static Yamcs.EventparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Yamcs.EventparseFrom(InputStream input)static Yamcs.EventparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Yamcs.EventparseFrom(ByteBuffer data)static Yamcs.EventparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Yamcs.Event>parser()Yamcs.Event.BuildertoBuilder()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, parseUnknownFieldProto3
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getDescriptorForType, getOneofFieldDescriptor, hasOneof, internalGetMapField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder
getExtension, getExtension, getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, getExtensionCount, hasExtension, hasExtension, hasExtension
-
-
-
-
Field Detail
-
SOURCE_FIELD_NUMBER
public static final int SOURCE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
GENERATIONTIME_FIELD_NUMBER
public static final int GENERATIONTIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RECEPTIONTIME_FIELD_NUMBER
public static final int RECEPTIONTIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SEQNUMBER_FIELD_NUMBER
public static final int SEQNUMBER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MESSAGE_FIELD_NUMBER
public static final int MESSAGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SEVERITY_FIELD_NUMBER
public static final int SEVERITY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
GENERATIONTIMEUTC_FIELD_NUMBER
public static final int GENERATIONTIMEUTC_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RECEPTIONTIMEUTC_FIELD_NUMBER
public static final int RECEPTIONTIMEUTC_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATEDBY_FIELD_NUMBER
public static final int CREATEDBY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<Yamcs.Event> PARSER
Deprecated.
-
-
Method Detail
-
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 interfaceYamcs.EventOrBuilder
-
getSource
public String getSource()
required string source = 1;- Specified by:
getSourcein interfaceYamcs.EventOrBuilder
-
getSourceBytes
public com.google.protobuf.ByteString getSourceBytes()
required string source = 1;- Specified by:
getSourceBytesin interfaceYamcs.EventOrBuilder
-
hasGenerationTime
public boolean hasGenerationTime()
required .google.protobuf.Timestamp generationTime = 2;- Specified by:
hasGenerationTimein interfaceYamcs.EventOrBuilder
-
getGenerationTime
public com.google.protobuf.Timestamp getGenerationTime()
required .google.protobuf.Timestamp generationTime = 2;- Specified by:
getGenerationTimein interfaceYamcs.EventOrBuilder
-
getGenerationTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getGenerationTimeOrBuilder()
required .google.protobuf.Timestamp generationTime = 2;- Specified by:
getGenerationTimeOrBuilderin interfaceYamcs.EventOrBuilder
-
hasReceptionTime
public boolean hasReceptionTime()
optional .google.protobuf.Timestamp receptionTime = 3;- Specified by:
hasReceptionTimein interfaceYamcs.EventOrBuilder
-
getReceptionTime
public com.google.protobuf.Timestamp getReceptionTime()
optional .google.protobuf.Timestamp receptionTime = 3;- Specified by:
getReceptionTimein interfaceYamcs.EventOrBuilder
-
getReceptionTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getReceptionTimeOrBuilder()
optional .google.protobuf.Timestamp receptionTime = 3;- Specified by:
getReceptionTimeOrBuilderin interfaceYamcs.EventOrBuilder
-
hasSeqNumber
public boolean hasSeqNumber()
optional int32 seqNumber = 4;- Specified by:
hasSeqNumberin interfaceYamcs.EventOrBuilder
-
getSeqNumber
public int getSeqNumber()
optional int32 seqNumber = 4;- Specified by:
getSeqNumberin interfaceYamcs.EventOrBuilder
-
hasType
public boolean hasType()
optional string type = 5;- Specified by:
hasTypein interfaceYamcs.EventOrBuilder
-
getType
public String getType()
optional string type = 5;- Specified by:
getTypein interfaceYamcs.EventOrBuilder
-
getTypeBytes
public com.google.protobuf.ByteString getTypeBytes()
optional string type = 5;- Specified by:
getTypeBytesin interfaceYamcs.EventOrBuilder
-
hasMessage
public boolean hasMessage()
required string message = 6;- Specified by:
hasMessagein interfaceYamcs.EventOrBuilder
-
getMessage
public String getMessage()
required string message = 6;- Specified by:
getMessagein interfaceYamcs.EventOrBuilder
-
getMessageBytes
public com.google.protobuf.ByteString getMessageBytes()
required string message = 6;- Specified by:
getMessageBytesin interfaceYamcs.EventOrBuilder
-
hasSeverity
public boolean hasSeverity()
optional .yamcs.protobuf.Event.EventSeverity severity = 7 [default = INFO];- Specified by:
hasSeverityin interfaceYamcs.EventOrBuilder
-
getSeverity
public Yamcs.Event.EventSeverity getSeverity()
optional .yamcs.protobuf.Event.EventSeverity severity = 7 [default = INFO];- Specified by:
getSeverityin interfaceYamcs.EventOrBuilder
-
hasGenerationTimeUTC
@Deprecated public boolean hasGenerationTimeUTC()
Deprecated.optional string generationTimeUTC = 8 [deprecated = true];- Specified by:
hasGenerationTimeUTCin interfaceYamcs.EventOrBuilder
-
getGenerationTimeUTC
@Deprecated public String getGenerationTimeUTC()
Deprecated.optional string generationTimeUTC = 8 [deprecated = true];- Specified by:
getGenerationTimeUTCin interfaceYamcs.EventOrBuilder
-
getGenerationTimeUTCBytes
@Deprecated public com.google.protobuf.ByteString getGenerationTimeUTCBytes()
Deprecated.optional string generationTimeUTC = 8 [deprecated = true];- Specified by:
getGenerationTimeUTCBytesin interfaceYamcs.EventOrBuilder
-
hasReceptionTimeUTC
@Deprecated public boolean hasReceptionTimeUTC()
Deprecated.optional string receptionTimeUTC = 9 [deprecated = true];- Specified by:
hasReceptionTimeUTCin interfaceYamcs.EventOrBuilder
-
getReceptionTimeUTC
@Deprecated public String getReceptionTimeUTC()
Deprecated.optional string receptionTimeUTC = 9 [deprecated = true];- Specified by:
getReceptionTimeUTCin interfaceYamcs.EventOrBuilder
-
getReceptionTimeUTCBytes
@Deprecated public com.google.protobuf.ByteString getReceptionTimeUTCBytes()
Deprecated.optional string receptionTimeUTC = 9 [deprecated = true];- Specified by:
getReceptionTimeUTCBytesin interfaceYamcs.EventOrBuilder
-
hasCreatedBy
public boolean hasCreatedBy()
Set by API when event was posted by a user
optional string createdBy = 10;- Specified by:
hasCreatedByin interfaceYamcs.EventOrBuilder
-
getCreatedBy
public String getCreatedBy()
Set by API when event was posted by a user
optional string createdBy = 10;- Specified by:
getCreatedByin interfaceYamcs.EventOrBuilder
-
getCreatedByBytes
public com.google.protobuf.ByteString getCreatedByBytes()
Set by API when event was posted by a user
optional string createdBy = 10;- Specified by:
getCreatedByBytesin interfaceYamcs.EventOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.ExtendableMessage<Yamcs.Event>
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- 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
public boolean equals(Object obj)
- 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 Yamcs.Event parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Yamcs.Event parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Yamcs.Event parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Yamcs.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 Yamcs.Event parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Yamcs.Event parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Yamcs.Event parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Yamcs.Event parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Yamcs.Event parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Yamcs.Event parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Yamcs.Event parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Yamcs.Event parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Yamcs.Event.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Yamcs.Event.Builder newBuilder()
-
newBuilder
public static Yamcs.Event.Builder newBuilder(Yamcs.Event prototype)
-
toBuilder
public Yamcs.Event.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Yamcs.Event.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Yamcs.Event getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Yamcs.Event> parser()
-
getParserForType
public com.google.protobuf.Parser<Yamcs.Event> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Yamcs.Event getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<Yamcs.Event>- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-