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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetInstance()Yamcs instance name.com.google.protobuf.ByteStringgetInstanceBytes()Yamcs instance name.StringgetMessage()**Required.** Event message.com.google.protobuf.ByteStringgetMessageBytes()**Required.** Event message.intgetSequenceNumber()Sequence number of this event.StringgetSeverity()The severity level of the event.com.google.protobuf.ByteStringgetSeverityBytes()The severity level of the event.StringgetSource()Source of the event.com.google.protobuf.ByteStringgetSourceBytes()Source of the event.com.google.protobuf.TimestampgetTime()Time associated with the event.com.google.protobuf.TimestampOrBuildergetTimeOrBuilder()Time associated with the event.StringgetType()Description of the type of the event.com.google.protobuf.ByteStringgetTypeBytes()Description of the type of the event.booleanhasInstance()Yamcs instance name.booleanhasMessage()**Required.** Event message.booleanhasSequenceNumber()Sequence number of this event.booleanhasSeverity()The severity level of the event.booleanhasSource()Source of the event.booleanhasTime()Time associated with the event.booleanhasType()Description of the type of the event.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasInstance
boolean hasInstance()
Yamcs instance name.
optional string instance = 1;
-
getInstance
String getInstance()
Yamcs instance name.
optional string instance = 1;
-
getInstanceBytes
com.google.protobuf.ByteString getInstanceBytes()
Yamcs instance name.
optional string instance = 1;
-
hasType
boolean hasType()
Description of the type of the event. Useful for quick classification or filtering.
optional string type = 2;
-
getType
String getType()
Description of the type of the event. Useful for quick classification or filtering.
optional string type = 2;
-
getTypeBytes
com.google.protobuf.ByteString getTypeBytes()
Description of the type of the event. Useful for quick classification or filtering.
optional string type = 2;
-
hasMessage
boolean hasMessage()
**Required.** Event message.
optional string message = 3;
-
getMessage
String getMessage()
**Required.** Event message.
optional string message = 3;
-
getMessageBytes
com.google.protobuf.ByteString getMessageBytes()
**Required.** Event message.
optional string message = 3;
-
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;
-
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;
-
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;
-
hasTime
boolean hasTime()
Time associated with the event. If unspecified, this will default to the current mission time.
optional .google.protobuf.Timestamp time = 5;
-
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;
-
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;
-
getSource
String getSource()
Source of the event. Useful for grouping events in the archive. Default is ``User``.
optional string source = 6;
-
getSourceBytes
com.google.protobuf.ByteString getSourceBytes()
Source of the event. Useful for grouping events in the archive. Default is ``User``.
optional string source = 6;
-
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;
-
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;
-
-