Interface Db.EventOrBuilder

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

public static interface Db.EventOrBuilder extends com.google.protobuf.MessageOrBuilder
  • 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 int64 generationTime = 2;
      Returns:
      Whether the generationTime field is set.
    • getGenerationTime

      long getGenerationTime()
      optional int64 generationTime = 2;
      Returns:
      The generationTime.
    • hasReceptionTime

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

      long getReceptionTime()
      optional int64 receptionTime = 3;
      Returns:
      The receptionTime.
    • 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()
      required string message = 6;
      Returns:
      Whether the message field is set.
    • getMessage

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

      com.google.protobuf.ByteString getMessageBytes()
      required 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;