Package org.yamcs.protobuf
Interface CreateEventRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateEventRequest
,CreateEventRequest.Builder
public interface CreateEventRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionboolean
containsExtra
(String key) Additional propertiesgetExtra()
Deprecated.int
Additional propertiesAdditional propertiesgetExtraOrDefault
(String key, String defaultValue) Additional propertiesgetExtraOrThrow
(String key) Additional propertiesYamcs instance namecom.google.protobuf.ByteString
Yamcs instance name**Required.** Event message.com.google.protobuf.ByteString
**Required.** Event message.int
Sequence number of this event.The severity level of the event.com.google.protobuf.ByteString
The severity level of the event.Source of the event.com.google.protobuf.ByteString
Source of the event.com.google.protobuf.Timestamp
getTime()
Time associated with the event.com.google.protobuf.TimestampOrBuilder
Time associated with the event.getType()
Description of the type of the event.com.google.protobuf.ByteString
Description of the type of the event.boolean
Yamcs instance nameboolean
**Required.** Event message.boolean
Sequence number of this event.boolean
The severity level of the event.boolean
Source of the event.boolean
hasTime()
Time associated with the event.boolean
hasType()
Description of the type of the event.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasInstance
boolean hasInstance()Yamcs instance name
optional string instance = 1;
- Returns:
- Whether the instance field is set.
-
getInstance
String getInstance()Yamcs instance name
optional string instance = 1;
- Returns:
- The instance.
-
getInstanceBytes
com.google.protobuf.ByteString getInstanceBytes()Yamcs instance name
optional string instance = 1;
- Returns:
- The bytes for instance.
-
hasType
boolean hasType()Description of the type of the event. Useful for quick classification or filtering.
optional string type = 2;
- Returns:
- Whether the type field is set.
-
getType
String getType()Description of the type of the event. Useful for quick classification or filtering.
optional string type = 2;
- Returns:
- The type.
-
getTypeBytes
com.google.protobuf.ByteString getTypeBytes()Description of the type of the event. Useful for quick classification or filtering.
optional string type = 2;
- Returns:
- The bytes for type.
-
hasMessage
boolean hasMessage()**Required.** Event message.
optional string message = 3;
- Returns:
- Whether the message field is set.
-
getMessage
String getMessage()**Required.** Event message.
optional string message = 3;
- Returns:
- The message.
-
getMessageBytes
com.google.protobuf.ByteString getMessageBytes()**Required.** Event message.
optional string message = 3;
- Returns:
- The bytes for message.
-
hasSeverity
boolean hasSeverity()The severity level of the event. One of ``info``, ``watch``, ``warning``, ``distress``, ``critical`` or ``severe``. Default is ``info``
optional string severity = 4;
- Returns:
- Whether the severity field is set.
-
getSeverity
String getSeverity()The severity level of the event. One of ``info``, ``watch``, ``warning``, ``distress``, ``critical`` or ``severe``. Default is ``info``
optional string severity = 4;
- Returns:
- The severity.
-
getSeverityBytes
com.google.protobuf.ByteString getSeverityBytes()The severity level of the event. One of ``info``, ``watch``, ``warning``, ``distress``, ``critical`` or ``severe``. Default is ``info``
optional string severity = 4;
- Returns:
- The bytes for severity.
-
hasTime
boolean hasTime()Time associated with the event. If unspecified, this will default to the current mission time.
optional .google.protobuf.Timestamp time = 5;
- Returns:
- Whether the time field is set.
-
getTime
com.google.protobuf.Timestamp getTime()Time associated with the event. If unspecified, this will default to the current mission time.
optional .google.protobuf.Timestamp time = 5;
- Returns:
- The time.
-
getTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getTimeOrBuilder()Time associated with the event. If unspecified, this will default to the current mission time.
optional .google.protobuf.Timestamp time = 5;
-
hasSource
boolean hasSource()Source of the event. Useful for grouping events in the archive. Default is ``User``.
optional string source = 6;
- Returns:
- Whether the source field is set.
-
getSource
String getSource()Source of the event. Useful for grouping events in the archive. Default is ``User``.
optional string source = 6;
- Returns:
- The source.
-
getSourceBytes
com.google.protobuf.ByteString getSourceBytes()Source of the event. Useful for grouping events in the archive. Default is ``User``.
optional string source = 6;
- Returns:
- The bytes for source.
-
hasSequenceNumber
boolean hasSequenceNumber()Sequence number of this event. This is primarily used to determine unicity of events coming from the same source. If not set Yamcs will automatically assign a sequential number as if every submitted event is unique.
optional int32 sequenceNumber = 7;
- Returns:
- Whether the sequenceNumber field is set.
-
getSequenceNumber
int getSequenceNumber()Sequence number of this event. This is primarily used to determine unicity of events coming from the same source. If not set Yamcs will automatically assign a sequential number as if every submitted event is unique.
optional int32 sequenceNumber = 7;
- Returns:
- The sequenceNumber.
-
getExtraCount
int getExtraCount()Additional properties
map<string, string> extra = 8;
-
containsExtra
Additional properties
map<string, string> extra = 8;
-
getExtra
Deprecated.UsegetExtraMap()
instead. -
getExtraMap
Additional properties
map<string, string> extra = 8;
-
getExtraOrDefault
Additional properties
map<string, string> extra = 8;
-
getExtraOrThrow
Additional properties
map<string, string> extra = 8;
-