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.MessageLiteOrBuilder

        isInitialized
      • 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;
        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.