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 type
Event- See Also:
-
Nested Class Summary
Nested ClassesNested 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 intstatic final com.google.protobuf.Parser<Db.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 TypeMethodDescriptionbooleancontainsExtra(String key) Additional propertiesbooleanSet by API when event was posted by a usercom.google.protobuf.ByteStringSet by API when event was posted by a userstatic Db.Eventstatic final com.google.protobuf.Descriptors.DescriptorgetExtra()Deprecated.intAdditional propertiesAdditional propertiesgetExtraOrDefault(String key, String defaultValue) Additional propertiesgetExtraOrThrow(String key) Additional propertieslongoptional int64 generationTime = 2;required string message = 6;com.google.protobuf.ByteStringrequired string message = 6;com.google.protobuf.Parser<Db.Event>longoptional int64 receptionTime = 3;intoptional int32 seqNumber = 4;intoptional .yamcs.protobuf.events.Event.EventSeverity severity = 7 [default = INFO];optional string source = 1;com.google.protobuf.ByteStringoptional 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 userbooleanoptional int64 generationTime = 2;inthashCode()booleanrequired string message = 6;booleanoptional int64 receptionTime = 3;booleanoptional int32 seqNumber = 4;booleanoptional .yamcs.protobuf.events.Event.EventSeverity severity = 7 [default = INFO];booleanoptional string source = 1;booleanhasType()optional string type = 5;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldinternalGetMapField(int number) final booleanstatic Db.Event.Builderstatic Db.Event.BuildernewBuilder(Db.Event prototype) protected Db.Event.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) 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()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
-
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:
-
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
-
hasSource
public boolean hasSource()optional string source = 1;- Specified by:
hasSourcein interfaceDb.EventOrBuilder- Returns:
- Whether the source field is set.
-
getSource
optional string source = 1;- Specified by:
getSourcein interfaceDb.EventOrBuilder- Returns:
- The source.
-
getSourceBytes
public com.google.protobuf.ByteString getSourceBytes()optional string source = 1;- Specified by:
getSourceBytesin interfaceDb.EventOrBuilder- Returns:
- The bytes for source.
-
hasGenerationTime
public boolean hasGenerationTime()optional int64 generationTime = 2;- Specified by:
hasGenerationTimein interfaceDb.EventOrBuilder- Returns:
- Whether the generationTime field is set.
-
getGenerationTime
public long getGenerationTime()optional int64 generationTime = 2;- Specified by:
getGenerationTimein interfaceDb.EventOrBuilder- Returns:
- The generationTime.
-
hasReceptionTime
public boolean hasReceptionTime()optional int64 receptionTime = 3;- Specified by:
hasReceptionTimein interfaceDb.EventOrBuilder- Returns:
- Whether the receptionTime field is set.
-
getReceptionTime
public long getReceptionTime()optional int64 receptionTime = 3;- Specified by:
getReceptionTimein interfaceDb.EventOrBuilder- Returns:
- The receptionTime.
-
hasSeqNumber
public boolean hasSeqNumber()optional int32 seqNumber = 4;- Specified by:
hasSeqNumberin interfaceDb.EventOrBuilder- Returns:
- Whether the seqNumber field is set.
-
getSeqNumber
public int getSeqNumber()optional int32 seqNumber = 4;- Specified by:
getSeqNumberin interfaceDb.EventOrBuilder- Returns:
- The seqNumber.
-
hasType
public boolean hasType()optional string type = 5;- Specified by:
hasTypein interfaceDb.EventOrBuilder- Returns:
- Whether the type field is set.
-
getType
optional string type = 5;- Specified by:
getTypein interfaceDb.EventOrBuilder- Returns:
- The type.
-
getTypeBytes
public com.google.protobuf.ByteString getTypeBytes()optional string type = 5;- Specified by:
getTypeBytesin interfaceDb.EventOrBuilder- Returns:
- The bytes for type.
-
hasMessage
public boolean hasMessage()required string message = 6;- Specified by:
hasMessagein interfaceDb.EventOrBuilder- Returns:
- Whether the message field is set.
-
getMessage
required string message = 6;- Specified by:
getMessagein interfaceDb.EventOrBuilder- Returns:
- The message.
-
getMessageBytes
public com.google.protobuf.ByteString getMessageBytes()required string message = 6;- Specified by:
getMessageBytesin interfaceDb.EventOrBuilder- Returns:
- The bytes for message.
-
hasSeverity
public boolean hasSeverity()optional .yamcs.protobuf.events.Event.EventSeverity severity = 7 [default = INFO];- Specified by:
hasSeverityin interfaceDb.EventOrBuilder- Returns:
- Whether the severity field is set.
-
getSeverity
optional .yamcs.protobuf.events.Event.EventSeverity severity = 7 [default = INFO];- Specified by:
getSeverityin interfaceDb.EventOrBuilder- Returns:
- The severity.
-
hasCreatedBy
public boolean hasCreatedBy()Set by API when event was posted by a user
optional string createdBy = 10;- Specified by:
hasCreatedByin interfaceDb.EventOrBuilder- 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 interfaceDb.EventOrBuilder- 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 interfaceDb.EventOrBuilder- Returns:
- The bytes for createdBy.
-
getExtraCount
public int getExtraCount()Description copied from interface:Db.EventOrBuilderAdditional properties
map<string, string> extra = 11;- Specified by:
getExtraCountin interfaceDb.EventOrBuilder
-
containsExtra
Additional properties
map<string, string> extra = 11;- Specified by:
containsExtrain interfaceDb.EventOrBuilder
-
getExtra
Deprecated.UsegetExtraMap()instead.- Specified by:
getExtrain interfaceDb.EventOrBuilder
-
getExtraMap
Additional properties
map<string, string> extra = 11;- Specified by:
getExtraMapin interfaceDb.EventOrBuilder
-
getExtraOrDefault
Additional properties
map<string, string> extra = 11;- Specified by:
getExtraOrDefaultin interfaceDb.EventOrBuilder
-
getExtraOrThrow
Additional properties
map<string, string> extra = 11;- Specified by:
getExtraOrThrowin interfaceDb.EventOrBuilder
-
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 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
- Throws:
IOException
-
parseFrom
public static Db.Event parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Db.Event parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Db.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 Db.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.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-