Class Yamcs.Event

  • All Implemented Interfaces:
    com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<Yamcs.Event>, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, Yamcs.EventOrBuilder
    Enclosing class:
    Yamcs

    public static final class Yamcs.Event
    extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<Yamcs.Event>
    implements Yamcs.EventOrBuilder
    Protobuf type yamcs.protobuf.Event
    See Also:
    Serialized Form
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Yamcs.Event.Builder
      Protobuf type yamcs.protobuf.Event
      static class  Yamcs.Event.EventSeverity
      Protobuf enum yamcs.protobuf.Event.EventSeverity
      • Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3.ExtendableMessage

        com.google.protobuf.GeneratedMessageV3.ExtendableMessage.ExtensionWriter
      • Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3

        com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,​BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,​BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(Object obj)  
      String getCreatedBy()
      Set by API when event was posted by a user
      com.google.protobuf.ByteString getCreatedByBytes()
      Set by API when event was posted by a user
      static Yamcs.Event getDefaultInstance()  
      Yamcs.Event getDefaultInstanceForType()  
      static com.google.protobuf.Descriptors.Descriptor getDescriptor()  
      com.google.protobuf.Timestamp getGenerationTime()
      required .google.protobuf.Timestamp generationTime = 2;
      com.google.protobuf.TimestampOrBuilder getGenerationTimeOrBuilder()
      required .google.protobuf.Timestamp generationTime = 2;
      String getMessage()
      required string message = 6;
      com.google.protobuf.ByteString getMessageBytes()
      required string message = 6;
      com.google.protobuf.Parser<Yamcs.Event> getParserForType()  
      com.google.protobuf.Timestamp getReceptionTime()
      optional .google.protobuf.Timestamp receptionTime = 3;
      com.google.protobuf.TimestampOrBuilder getReceptionTimeOrBuilder()
      optional .google.protobuf.Timestamp receptionTime = 3;
      int getSeqNumber()
      optional int32 seqNumber = 4;
      int getSerializedSize()  
      Yamcs.Event.EventSeverity getSeverity()
      optional .yamcs.protobuf.Event.EventSeverity severity = 7 [default = INFO];
      String getSource()
      required string source = 1;
      com.google.protobuf.ByteString getSourceBytes()
      required string source = 1;
      String getType()
      optional string type = 5;
      com.google.protobuf.ByteString getTypeBytes()
      optional string type = 5;
      com.google.protobuf.UnknownFieldSet getUnknownFields()  
      boolean hasCreatedBy()
      Set by API when event was posted by a user
      boolean hasGenerationTime()
      required .google.protobuf.Timestamp generationTime = 2;
      int hashCode()  
      boolean hasMessage()
      required string message = 6;
      boolean hasReceptionTime()
      optional .google.protobuf.Timestamp receptionTime = 3;
      boolean hasSeqNumber()
      optional int32 seqNumber = 4;
      boolean hasSeverity()
      optional .yamcs.protobuf.Event.EventSeverity severity = 7 [default = INFO];
      boolean hasSource()
      required string source = 1;
      boolean hasType()
      optional string type = 5;
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()  
      boolean isInitialized()  
      static Yamcs.Event.Builder newBuilder()  
      static Yamcs.Event.Builder newBuilder​(Yamcs.Event prototype)  
      Yamcs.Event.Builder newBuilderForType()  
      protected Yamcs.Event.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)  
      static Yamcs.Event parseDelimitedFrom​(InputStream input)  
      static Yamcs.Event parseDelimitedFrom​(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Yamcs.Event parseFrom​(byte[] data)  
      static Yamcs.Event parseFrom​(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Yamcs.Event parseFrom​(com.google.protobuf.ByteString data)  
      static Yamcs.Event parseFrom​(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Yamcs.Event parseFrom​(com.google.protobuf.CodedInputStream input)  
      static Yamcs.Event parseFrom​(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Yamcs.Event parseFrom​(InputStream input)  
      static Yamcs.Event parseFrom​(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Yamcs.Event parseFrom​(ByteBuffer data)  
      static Yamcs.Event parseFrom​(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static com.google.protobuf.Parser<Yamcs.Event> parser()  
      Yamcs.Event.Builder toBuilder()  
      void writeTo​(com.google.protobuf.CodedOutputStream output)  
      • Methods inherited from class com.google.protobuf.GeneratedMessageV3.ExtendableMessage

        extensionsAreInitialized, extensionsSerializedSize, extensionsSerializedSizeAsMessageSet, getAllFields, getAllFieldsRaw, getExtension, getExtension, getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, getExtensionCount, getExtensionFields, getField, getRepeatedField, getRepeatedFieldCount, hasExtension, hasExtension, hasExtension, hasField, makeExtensionsImmutable, newExtensionWriter, newMessageSetExtensionWriter, parseUnknownField, parseUnknownFieldProto3
      • Methods inherited from class com.google.protobuf.GeneratedMessageV3

        canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getDescriptorForType, getOneofFieldDescriptor, hasOneof, internalGetMapField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
      • Methods inherited from class com.google.protobuf.AbstractMessage

        findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
      • Methods inherited from class com.google.protobuf.AbstractMessageLite

        addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
      • Methods inherited from interface com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder

        getExtension, getExtension, getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, getExtensionCount, hasExtension, hasExtension, hasExtension
      • Methods inherited from interface com.google.protobuf.MessageLite

        toByteArray, toByteString, writeDelimitedTo, writeTo
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
    • Method Detail

      • getUnknownFields

        public final com.google.protobuf.UnknownFieldSet getUnknownFields()
        Specified by:
        getUnknownFields in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getUnknownFields in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • getGenerationTime

        public com.google.protobuf.Timestamp getGenerationTime()
        required .google.protobuf.Timestamp generationTime = 2;
        Specified by:
        getGenerationTime in interface Yamcs.EventOrBuilder
      • getGenerationTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getGenerationTimeOrBuilder()
        required .google.protobuf.Timestamp generationTime = 2;
        Specified by:
        getGenerationTimeOrBuilder in interface Yamcs.EventOrBuilder
      • getReceptionTime

        public com.google.protobuf.Timestamp getReceptionTime()
        optional .google.protobuf.Timestamp receptionTime = 3;
        Specified by:
        getReceptionTime in interface Yamcs.EventOrBuilder
      • getReceptionTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getReceptionTimeOrBuilder()
        optional .google.protobuf.Timestamp receptionTime = 3;
        Specified by:
        getReceptionTimeOrBuilder in interface Yamcs.EventOrBuilder
      • hasSeverity

        public boolean hasSeverity()
        optional .yamcs.protobuf.Event.EventSeverity severity = 7 [default = INFO];
        Specified by:
        hasSeverity in interface Yamcs.EventOrBuilder
      • hasCreatedBy

        public boolean hasCreatedBy()
         Set by API when event was posted by a user
         
        optional string createdBy = 10;
        Specified by:
        hasCreatedBy in interface Yamcs.EventOrBuilder
      • getCreatedByBytes

        public com.google.protobuf.ByteString getCreatedByBytes()
         Set by API when event was posted by a user
         
        optional string createdBy = 10;
        Specified by:
        getCreatedByBytes in interface Yamcs.EventOrBuilder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.ExtendableMessage<Yamcs.Event>
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static Yamcs.Event parseFrom​(ByteBuffer data)
                                     throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Yamcs.Event parseFrom​(ByteBuffer data,
                                            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                     throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Yamcs.Event parseFrom​(com.google.protobuf.ByteString data)
                                     throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Yamcs.Event parseFrom​(com.google.protobuf.ByteString data,
                                            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                     throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Yamcs.Event parseFrom​(byte[] data)
                                     throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Yamcs.Event parseFrom​(byte[] data,
                                            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                     throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Yamcs.Event parseFrom​(com.google.protobuf.CodedInputStream input,
                                            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                     throws IOException
        Throws:
        IOException
      • newBuilderForType

        public Yamcs.Event.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public Yamcs.Event.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected Yamcs.Event.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstance

        public static Yamcs.Event getDefaultInstance()
      • parser

        public static com.google.protobuf.Parser<Yamcs.Event> parser()
      • getParserForType

        public com.google.protobuf.Parser<Yamcs.Event> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public Yamcs.Event getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<Yamcs.Event>
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder