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 Type
    Method
    Description
    boolean
    Additional properties
    Deprecated.
    int
    Additional properties
    Additional properties
    getExtraOrDefault(String key, String defaultValue)
    Additional properties
    Additional properties
    Yamcs instance name.
    com.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
    Time associated with the event.
    com.google.protobuf.TimestampOrBuilder
    Time associated with the event.
    Description of the type of the event.
    com.google.protobuf.ByteString
    Description of the type of the event.
    boolean
    Yamcs instance name.
    boolean
    **Required.** Event message.
    boolean
    Sequence number of this event.
    boolean
    The severity level of the event.
    boolean
    Source of the event.
    boolean
    Time associated with the event.
    boolean
    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

      boolean containsExtra(String key)
       Additional properties
       
      map<string, string> extra = 8;
    • getExtra

      Deprecated.
      Use getExtraMap() instead.
    • getExtraMap

      Map<String,String> getExtraMap()
       Additional properties
       
      map<string, string> extra = 8;
    • getExtraOrDefault

      String getExtraOrDefault(String key, String defaultValue)
       Additional properties
       
      map<string, string> extra = 8;
    • getExtraOrThrow

      String getExtraOrThrow(String key)
       Additional properties
       
      map<string, string> extra = 8;