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 String
getInstance()
Yamcs instance name.com.google.protobuf.ByteString
getInstanceBytes()
Yamcs instance name.String
getMessage()
**Required.** Event message.com.google.protobuf.ByteString
getMessageBytes()
**Required.** Event message.int
getSequenceNumber()
Sequence number of this event.String
getSeverity()
The severity level of the event.com.google.protobuf.ByteString
getSeverityBytes()
The severity level of the event.String
getSource()
Source of the event.com.google.protobuf.ByteString
getSourceBytes()
Source of the event.com.google.protobuf.Timestamp
getTime()
Time associated with the event.com.google.protobuf.TimestampOrBuilder
getTimeOrBuilder()
Time associated with the event.String
getType()
Description of the type of the event.com.google.protobuf.ByteString
getTypeBytes()
Description of the type of the event.boolean
hasInstance()
Yamcs instance name.boolean
hasMessage()
**Required.** Event message.boolean
hasSequenceNumber()
Sequence number of this event.boolean
hasSeverity()
The severity level of the event.boolean
hasSource()
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.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;
-
-