- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Event,Event.Builder
@Generated
public interface EventOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsExtra(String key) Additional propertiesSet by API when event was posted by a usercom.google.protobuf.ByteStringSet by API when event was posted by a usergetExtra()Deprecated.intAdditional propertiesAdditional propertiesgetExtraOrDefault(String key, String defaultValue) Additional propertiesgetExtraOrThrow(String key) Additional propertiescom.google.protobuf.Timestampoptional .google.protobuf.Timestamp generationTime = 2;com.google.protobuf.TimestampOrBuilderoptional .google.protobuf.Timestamp generationTime = 2;optional string message = 6;com.google.protobuf.ByteStringoptional string message = 6;com.google.protobuf.Timestampoptional .google.protobuf.Timestamp receptionTime = 3;com.google.protobuf.TimestampOrBuilderoptional .google.protobuf.Timestamp receptionTime = 3;intoptional int32 seqNumber = 4;optional .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;booleanSet by API when event was posted by a userbooleanoptional .google.protobuf.Timestamp generationTime = 2;booleanoptional string message = 6;booleanoptional .google.protobuf.Timestamp 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;Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasSource
boolean hasSource()optional string source = 1;- Returns:
- Whether the source field is set.
-
getSource
String getSource()optional string source = 1;- Returns:
- The source.
-
getSourceBytes
com.google.protobuf.ByteString getSourceBytes()optional string source = 1;- Returns:
- The bytes for source.
-
hasGenerationTime
boolean hasGenerationTime()optional .google.protobuf.Timestamp generationTime = 2;- Returns:
- Whether the generationTime field is set.
-
getGenerationTime
com.google.protobuf.Timestamp getGenerationTime()optional .google.protobuf.Timestamp generationTime = 2;- Returns:
- The generationTime.
-
getGenerationTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getGenerationTimeOrBuilder()optional .google.protobuf.Timestamp generationTime = 2; -
hasReceptionTime
boolean hasReceptionTime()optional .google.protobuf.Timestamp receptionTime = 3;- Returns:
- Whether the receptionTime field is set.
-
getReceptionTime
com.google.protobuf.Timestamp getReceptionTime()optional .google.protobuf.Timestamp receptionTime = 3;- Returns:
- The receptionTime.
-
getReceptionTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getReceptionTimeOrBuilder()optional .google.protobuf.Timestamp receptionTime = 3; -
hasSeqNumber
boolean hasSeqNumber()optional int32 seqNumber = 4;- Returns:
- Whether the seqNumber field is set.
-
getSeqNumber
int getSeqNumber()optional int32 seqNumber = 4;- Returns:
- The seqNumber.
-
hasType
boolean hasType()optional string type = 5;- Returns:
- Whether the type field is set.
-
getType
String getType()optional string type = 5;- Returns:
- The type.
-
getTypeBytes
com.google.protobuf.ByteString getTypeBytes()optional string type = 5;- Returns:
- The bytes for type.
-
hasMessage
boolean hasMessage()optional string message = 6;- Returns:
- Whether the message field is set.
-
getMessage
String getMessage()optional string message = 6;- Returns:
- The message.
-
getMessageBytes
com.google.protobuf.ByteString getMessageBytes()optional string message = 6;- Returns:
- The bytes for message.
-
hasSeverity
boolean hasSeverity()optional .yamcs.protobuf.events.Event.EventSeverity severity = 7 [default = INFO];- Returns:
- Whether the severity field is set.
-
getSeverity
Event.EventSeverity getSeverity()optional .yamcs.protobuf.events.Event.EventSeverity severity = 7 [default = INFO];- Returns:
- The severity.
-
hasCreatedBy
boolean hasCreatedBy()Set by API when event was posted by a user
optional string createdBy = 10;- Returns:
- Whether the createdBy field is set.
-
getCreatedBy
String getCreatedBy()Set by API when event was posted by a user
optional string createdBy = 10;- Returns:
- The createdBy.
-
getCreatedByBytes
com.google.protobuf.ByteString getCreatedByBytes()Set by API when event was posted by a user
optional string createdBy = 10;- Returns:
- The bytes for createdBy.
-
getExtraCount
int getExtraCount()Additional properties
map<string, string> extra = 11; -
containsExtra
Additional properties
map<string, string> extra = 11; -
getExtra
Deprecated.UsegetExtraMap()instead. -
getExtraMap
Additional properties
map<string, string> extra = 11; -
getExtraOrDefault
Additional properties
map<string, string> extra = 11; -
getExtraOrThrow
Additional properties
map<string, string> extra = 11;
-