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 class
Db.Event.Builder
Protobuf 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 int
CREATEDBY_FIELD_NUMBER
static int
GENERATIONTIME_FIELD_NUMBER
static int
GENERATIONTIMEUTC_FIELD_NUMBER
static int
MESSAGE_FIELD_NUMBER
static com.google.protobuf.Parser<Db.Event>
PARSER
Deprecated.static int
RECEPTIONTIME_FIELD_NUMBER
static int
RECEPTIONTIMEUTC_FIELD_NUMBER
static int
SEQNUMBER_FIELD_NUMBER
static int
SEVERITY_FIELD_NUMBER
static int
SOURCE_FIELD_NUMBER
static int
TYPE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getCreatedBy()
Set by API when event was posted by a usercom.google.protobuf.ByteString
getCreatedByBytes()
Set by API when event was posted by a userstatic Db.Event
getDefaultInstance()
Db.Event
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
long
getGenerationTime()
optional int64 generationTime = 2;
String
getGenerationTimeUTC()
optional string generationTimeUTC = 8;
com.google.protobuf.ByteString
getGenerationTimeUTCBytes()
optional string generationTimeUTC = 8;
String
getMessage()
required string message = 6;
com.google.protobuf.ByteString
getMessageBytes()
required string message = 6;
com.google.protobuf.Parser<Db.Event>
getParserForType()
long
getReceptionTime()
optional int64 receptionTime = 3;
String
getReceptionTimeUTC()
optional string receptionTimeUTC = 9;
com.google.protobuf.ByteString
getReceptionTimeUTCBytes()
optional string receptionTimeUTC = 9;
int
getSeqNumber()
optional int32 seqNumber = 4;
int
getSerializedSize()
org.yamcs.protobuf.Yamcs.Event.EventSeverity
getSeverity()
optional .yamcs.protobuf.Event.EventSeverity severity = 7 [default = INFO];
String
getSource()
optional string source = 1;
com.google.protobuf.ByteString
getSourceBytes()
optional string source = 1;
String
getType()
optional string type = 5;
com.google.protobuf.ByteString
getTypeBytes()
optional string type = 5;
com.google.protobuf.UnknownFieldSet
getUnknownFields()
boolean
hasCreatedBy()
Set by API when event was posted by a userboolean
hasGenerationTime()
optional int64 generationTime = 2;
boolean
hasGenerationTimeUTC()
optional string generationTimeUTC = 8;
int
hashCode()
boolean
hasMessage()
required string message = 6;
boolean
hasReceptionTime()
optional int64 receptionTime = 3;
boolean
hasReceptionTimeUTC()
optional string receptionTimeUTC = 9;
boolean
hasSeqNumber()
optional int32 seqNumber = 4;
boolean
hasSeverity()
optional .yamcs.protobuf.Event.EventSeverity severity = 7 [default = INFO];
boolean
hasSource()
optional string source = 1;
boolean
hasType()
optional string type = 5;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static Db.Event.Builder
newBuilder()
static Db.Event.Builder
newBuilder(Db.Event prototype)
Db.Event.Builder
newBuilderForType()
protected Db.Event.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
static Db.Event
parseDelimitedFrom(InputStream input)
static Db.Event
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Db.Event
parseFrom(byte[] data)
static Db.Event
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Db.Event
parseFrom(com.google.protobuf.ByteString data)
static Db.Event
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Db.Event
parseFrom(com.google.protobuf.CodedInputStream input)
static Db.Event
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Db.Event
parseFrom(InputStream input)
static Db.Event
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Db.Event
parseFrom(ByteBuffer data)
static Db.Event
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<Db.Event>
parser()
Db.Event.Builder
toBuilder()
void
writeTo(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:
getUnknownFields
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getUnknownFields
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
hasSource
public boolean hasSource()
optional string source = 1;
- Specified by:
hasSource
in interfaceDb.EventOrBuilder
-
getSource
public String getSource()
optional string source = 1;
- Specified by:
getSource
in interfaceDb.EventOrBuilder
-
getSourceBytes
public com.google.protobuf.ByteString getSourceBytes()
optional string source = 1;
- Specified by:
getSourceBytes
in interfaceDb.EventOrBuilder
-
hasGenerationTime
public boolean hasGenerationTime()
optional int64 generationTime = 2;
- Specified by:
hasGenerationTime
in interfaceDb.EventOrBuilder
-
getGenerationTime
public long getGenerationTime()
optional int64 generationTime = 2;
- Specified by:
getGenerationTime
in interfaceDb.EventOrBuilder
-
hasReceptionTime
public boolean hasReceptionTime()
optional int64 receptionTime = 3;
- Specified by:
hasReceptionTime
in interfaceDb.EventOrBuilder
-
getReceptionTime
public long getReceptionTime()
optional int64 receptionTime = 3;
- Specified by:
getReceptionTime
in interfaceDb.EventOrBuilder
-
hasSeqNumber
public boolean hasSeqNumber()
optional int32 seqNumber = 4;
- Specified by:
hasSeqNumber
in interfaceDb.EventOrBuilder
-
getSeqNumber
public int getSeqNumber()
optional int32 seqNumber = 4;
- Specified by:
getSeqNumber
in interfaceDb.EventOrBuilder
-
hasType
public boolean hasType()
optional string type = 5;
- Specified by:
hasType
in interfaceDb.EventOrBuilder
-
getType
public String getType()
optional string type = 5;
- Specified by:
getType
in interfaceDb.EventOrBuilder
-
getTypeBytes
public com.google.protobuf.ByteString getTypeBytes()
optional string type = 5;
- Specified by:
getTypeBytes
in interfaceDb.EventOrBuilder
-
hasMessage
public boolean hasMessage()
required string message = 6;
- Specified by:
hasMessage
in interfaceDb.EventOrBuilder
-
getMessage
public String getMessage()
required string message = 6;
- Specified by:
getMessage
in interfaceDb.EventOrBuilder
-
getMessageBytes
public com.google.protobuf.ByteString getMessageBytes()
required string message = 6;
- Specified by:
getMessageBytes
in interfaceDb.EventOrBuilder
-
hasSeverity
public boolean hasSeverity()
optional .yamcs.protobuf.Event.EventSeverity severity = 7 [default = INFO];
- Specified by:
hasSeverity
in interfaceDb.EventOrBuilder
-
getSeverity
public org.yamcs.protobuf.Yamcs.Event.EventSeverity getSeverity()
optional .yamcs.protobuf.Event.EventSeverity severity = 7 [default = INFO];
- Specified by:
getSeverity
in interfaceDb.EventOrBuilder
-
hasGenerationTimeUTC
public boolean hasGenerationTimeUTC()
optional string generationTimeUTC = 8;
- Specified by:
hasGenerationTimeUTC
in interfaceDb.EventOrBuilder
-
getGenerationTimeUTC
public String getGenerationTimeUTC()
optional string generationTimeUTC = 8;
- Specified by:
getGenerationTimeUTC
in interfaceDb.EventOrBuilder
-
getGenerationTimeUTCBytes
public com.google.protobuf.ByteString getGenerationTimeUTCBytes()
optional string generationTimeUTC = 8;
- Specified by:
getGenerationTimeUTCBytes
in interfaceDb.EventOrBuilder
-
hasReceptionTimeUTC
public boolean hasReceptionTimeUTC()
optional string receptionTimeUTC = 9;
- Specified by:
hasReceptionTimeUTC
in interfaceDb.EventOrBuilder
-
getReceptionTimeUTC
public String getReceptionTimeUTC()
optional string receptionTimeUTC = 9;
- Specified by:
getReceptionTimeUTC
in interfaceDb.EventOrBuilder
-
getReceptionTimeUTCBytes
public com.google.protobuf.ByteString getReceptionTimeUTCBytes()
optional string receptionTimeUTC = 9;
- Specified by:
getReceptionTimeUTCBytes
in interfaceDb.EventOrBuilder
-
hasCreatedBy
public boolean hasCreatedBy()
Set by API when event was posted by a user
optional string createdBy = 10;
- Specified by:
hasCreatedBy
in interfaceDb.EventOrBuilder
-
getCreatedBy
public String getCreatedBy()
Set by API when event was posted by a user
optional string createdBy = 10;
- Specified by:
getCreatedBy
in 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:
getCreatedByBytes
in interfaceDb.EventOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Db.Event.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Db.Event getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-