Package org.yamcs.yarch.protobuf
Class Db.Event
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- org.yamcs.yarch.protobuf.Db.Event
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,Db.EventOrBuilder
- Enclosing class:
- Db
public static final class Db.Event extends com.google.protobuf.GeneratedMessageV3 implements Db.EventOrBuilder
Protobuf typeEvent- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDb.Event.BuilderProtobuf typeEvent-
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<Db.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 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 Db.EventgetDefaultInstance()Db.EventgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()longgetGenerationTime()optional int64 generationTime = 2;StringgetGenerationTimeUTC()optional string generationTimeUTC = 8;com.google.protobuf.ByteStringgetGenerationTimeUTCBytes()optional string generationTimeUTC = 8;StringgetMessage()required string message = 6;com.google.protobuf.ByteStringgetMessageBytes()required string message = 6;com.google.protobuf.Parser<Db.Event>getParserForType()longgetReceptionTime()optional int64 receptionTime = 3;StringgetReceptionTimeUTC()optional string receptionTimeUTC = 9;com.google.protobuf.ByteStringgetReceptionTimeUTCBytes()optional string receptionTimeUTC = 9;intgetSeqNumber()optional int32 seqNumber = 4;intgetSerializedSize()org.yamcs.protobuf.Yamcs.Event.EventSeveritygetSeverity()optional .yamcs.protobuf.Event.EventSeverity severity = 7 [default = INFO];StringgetSource()optional string source = 1;com.google.protobuf.ByteStringgetSourceBytes()optional 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()optional int64 generationTime = 2;booleanhasGenerationTimeUTC()optional string generationTimeUTC = 8;inthashCode()booleanhasMessage()required string message = 6;booleanhasReceptionTime()optional int64 receptionTime = 3;booleanhasReceptionTimeUTC()optional string receptionTimeUTC = 9;booleanhasSeqNumber()optional int32 seqNumber = 4;booleanhasSeverity()optional .yamcs.protobuf.Event.EventSeverity severity = 7 [default = INFO];booleanhasSource()optional string source = 1;booleanhasType()optional string type = 5;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Db.Event.BuildernewBuilder()static Db.Event.BuildernewBuilder(Db.Event prototype)Db.Event.BuildernewBuilderForType()protected Db.Event.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)static Db.EventparseDelimitedFrom(InputStream input)static Db.EventparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Db.EventparseFrom(byte[] data)static Db.EventparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Db.EventparseFrom(com.google.protobuf.ByteString data)static Db.EventparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Db.EventparseFrom(com.google.protobuf.CodedInputStream input)static Db.EventparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Db.EventparseFrom(InputStream input)static Db.EventparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Db.EventparseFrom(ByteBuffer data)static Db.EventparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Db.Event>parser()Db.Event.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
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, 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
-
-
-
-
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<Db.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()
optional string source = 1;- Specified by:
hasSourcein interfaceDb.EventOrBuilder
-
getSource
public String getSource()
optional string source = 1;- Specified by:
getSourcein interfaceDb.EventOrBuilder
-
getSourceBytes
public com.google.protobuf.ByteString getSourceBytes()
optional string source = 1;- Specified by:
getSourceBytesin interfaceDb.EventOrBuilder
-
hasGenerationTime
public boolean hasGenerationTime()
optional int64 generationTime = 2;- Specified by:
hasGenerationTimein interfaceDb.EventOrBuilder
-
getGenerationTime
public long getGenerationTime()
optional int64 generationTime = 2;- Specified by:
getGenerationTimein interfaceDb.EventOrBuilder
-
hasReceptionTime
public boolean hasReceptionTime()
optional int64 receptionTime = 3;- Specified by:
hasReceptionTimein interfaceDb.EventOrBuilder
-
getReceptionTime
public long getReceptionTime()
optional int64 receptionTime = 3;- Specified by:
getReceptionTimein interfaceDb.EventOrBuilder
-
hasSeqNumber
public boolean hasSeqNumber()
optional int32 seqNumber = 4;- Specified by:
hasSeqNumberin interfaceDb.EventOrBuilder
-
getSeqNumber
public int getSeqNumber()
optional int32 seqNumber = 4;- Specified by:
getSeqNumberin interfaceDb.EventOrBuilder
-
hasType
public boolean hasType()
optional string type = 5;- Specified by:
hasTypein interfaceDb.EventOrBuilder
-
getType
public String getType()
optional string type = 5;- Specified by:
getTypein interfaceDb.EventOrBuilder
-
getTypeBytes
public com.google.protobuf.ByteString getTypeBytes()
optional string type = 5;- Specified by:
getTypeBytesin interfaceDb.EventOrBuilder
-
hasMessage
public boolean hasMessage()
required string message = 6;- Specified by:
hasMessagein interfaceDb.EventOrBuilder
-
getMessage
public String getMessage()
required string message = 6;- Specified by:
getMessagein interfaceDb.EventOrBuilder
-
getMessageBytes
public com.google.protobuf.ByteString getMessageBytes()
required string message = 6;- Specified by:
getMessageBytesin interfaceDb.EventOrBuilder
-
hasSeverity
public boolean hasSeverity()
optional .yamcs.protobuf.Event.EventSeverity severity = 7 [default = INFO];- Specified by:
hasSeverityin interfaceDb.EventOrBuilder
-
getSeverity
public org.yamcs.protobuf.Yamcs.Event.EventSeverity getSeverity()
optional .yamcs.protobuf.Event.EventSeverity severity = 7 [default = INFO];- Specified by:
getSeverityin interfaceDb.EventOrBuilder
-
hasGenerationTimeUTC
public boolean hasGenerationTimeUTC()
optional string generationTimeUTC = 8;- Specified by:
hasGenerationTimeUTCin interfaceDb.EventOrBuilder
-
getGenerationTimeUTC
public String getGenerationTimeUTC()
optional string generationTimeUTC = 8;- Specified by:
getGenerationTimeUTCin interfaceDb.EventOrBuilder
-
getGenerationTimeUTCBytes
public com.google.protobuf.ByteString getGenerationTimeUTCBytes()
optional string generationTimeUTC = 8;- Specified by:
getGenerationTimeUTCBytesin interfaceDb.EventOrBuilder
-
hasReceptionTimeUTC
public boolean hasReceptionTimeUTC()
optional string receptionTimeUTC = 9;- Specified by:
hasReceptionTimeUTCin interfaceDb.EventOrBuilder
-
getReceptionTimeUTC
public String getReceptionTimeUTC()
optional string receptionTimeUTC = 9;- Specified by:
getReceptionTimeUTCin interfaceDb.EventOrBuilder
-
getReceptionTimeUTCBytes
public com.google.protobuf.ByteString getReceptionTimeUTCBytes()
optional string receptionTimeUTC = 9;- Specified by:
getReceptionTimeUTCBytesin interfaceDb.EventOrBuilder
-
hasCreatedBy
public boolean hasCreatedBy()
Set by API when event was posted by a user
optional string createdBy = 10;- Specified by:
hasCreatedByin interfaceDb.EventOrBuilder
-
getCreatedBy
public String getCreatedBy()
Set by API when event was posted by a user
optional string createdBy = 10;- Specified by:
getCreatedByin interfaceDb.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 interfaceDb.EventOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
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 Db.Event parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Db.Event parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Db.Event parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Db.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 Db.Event parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Db.Event parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Db.Event parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Db.Event parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Db.Event parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Db.Event parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Db.Event parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Db.Event parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Db.Event.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Db.Event.Builder newBuilder()
-
newBuilder
public static Db.Event.Builder newBuilder(Db.Event prototype)
-
toBuilder
public Db.Event.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Db.Event.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Db.Event getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Db.Event> parser()
-
getParserForType
public com.google.protobuf.Parser<Db.Event> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Db.Event getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-