Interface EventOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Event, Event.Builder

public interface EventOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Additional properties
    Set by API when event was posted by a user
    com.google.protobuf.ByteString
    Set by API when event was posted by a user
    Deprecated.
    int
    Additional properties
    Additional properties
    getExtraOrDefault(String key, String defaultValue)
    Additional properties
    Additional properties
    com.google.protobuf.Timestamp
    optional .google.protobuf.Timestamp generationTime = 2;
    com.google.protobuf.TimestampOrBuilder
    optional .google.protobuf.Timestamp generationTime = 2;
    optional string message = 6;
    com.google.protobuf.ByteString
    optional string message = 6;
    com.google.protobuf.Timestamp
    optional .google.protobuf.Timestamp receptionTime = 3;
    com.google.protobuf.TimestampOrBuilder
    optional .google.protobuf.Timestamp receptionTime = 3;
    int
    optional int32 seqNumber = 4;
    optional .yamcs.protobuf.events.Event.EventSeverity severity = 7 [default = INFO];
    optional string source = 1;
    com.google.protobuf.ByteString
    optional string source = 1;
    optional string type = 5;
    com.google.protobuf.ByteString
    optional string type = 5;
    boolean
    Set by API when event was posted by a user
    boolean
    optional .google.protobuf.Timestamp generationTime = 2;
    boolean
    optional string message = 6;
    boolean
    optional .google.protobuf.Timestamp receptionTime = 3;
    boolean
    optional int32 seqNumber = 4;
    boolean
    optional .yamcs.protobuf.events.Event.EventSeverity severity = 7 [default = INFO];
    boolean
    optional string source = 1;
    boolean
    optional string type = 5;

    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

    • hasSource

      boolean hasSource()
      optional string source = 1;
      Returns:
      Whether the source field is set.
    • getSource

      String getSource()
      optional string source = 1;
      Returns:
      The source.
    • getSourceBytes

      com.google.protobuf.ByteString getSourceBytes()
      optional string source = 1;
      Returns:
      The bytes for source.
    • hasGenerationTime

      boolean hasGenerationTime()
      optional .google.protobuf.Timestamp generationTime = 2;
      Returns:
      Whether the generationTime field is set.
    • getGenerationTime

      com.google.protobuf.Timestamp getGenerationTime()
      optional .google.protobuf.Timestamp generationTime = 2;
      Returns:
      The generationTime.
    • getGenerationTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getGenerationTimeOrBuilder()
      optional .google.protobuf.Timestamp generationTime = 2;
    • hasReceptionTime

      boolean hasReceptionTime()
      optional .google.protobuf.Timestamp receptionTime = 3;
      Returns:
      Whether the receptionTime field is set.
    • getReceptionTime

      com.google.protobuf.Timestamp getReceptionTime()
      optional .google.protobuf.Timestamp receptionTime = 3;
      Returns:
      The receptionTime.
    • getReceptionTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getReceptionTimeOrBuilder()
      optional .google.protobuf.Timestamp receptionTime = 3;
    • hasSeqNumber

      boolean hasSeqNumber()
      optional int32 seqNumber = 4;
      Returns:
      Whether the seqNumber field is set.
    • getSeqNumber

      int getSeqNumber()
      optional int32 seqNumber = 4;
      Returns:
      The seqNumber.
    • hasType

      boolean hasType()
      optional string type = 5;
      Returns:
      Whether the type field is set.
    • getType

      String getType()
      optional string type = 5;
      Returns:
      The type.
    • getTypeBytes

      com.google.protobuf.ByteString getTypeBytes()
      optional string type = 5;
      Returns:
      The bytes for type.
    • hasMessage

      boolean hasMessage()
      optional string message = 6;
      Returns:
      Whether the message field is set.
    • getMessage

      String getMessage()
      optional string message = 6;
      Returns:
      The message.
    • getMessageBytes

      com.google.protobuf.ByteString getMessageBytes()
      optional string message = 6;
      Returns:
      The bytes for message.
    • hasSeverity

      boolean hasSeverity()
      optional .yamcs.protobuf.events.Event.EventSeverity severity = 7 [default = INFO];
      Returns:
      Whether the severity field is set.
    • getSeverity

      Event.EventSeverity getSeverity()
      optional .yamcs.protobuf.events.Event.EventSeverity severity = 7 [default = INFO];
      Returns:
      The severity.
    • hasCreatedBy

      boolean hasCreatedBy()
       Set by API when event was posted by a user
       
      optional string createdBy = 10;
      Returns:
      Whether the createdBy field is set.
    • getCreatedBy

      String getCreatedBy()
       Set by API when event was posted by a user
       
      optional string createdBy = 10;
      Returns:
      The createdBy.
    • getCreatedByBytes

      com.google.protobuf.ByteString getCreatedByBytes()
       Set by API when event was posted by a user
       
      optional string createdBy = 10;
      Returns:
      The bytes for createdBy.
    • getExtraCount

      int getExtraCount()
       Additional properties
       
      map<string, string> extra = 11;
    • containsExtra

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

      Deprecated.
      Use getExtraMap() instead.
    • getExtraMap

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

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

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