Class CreateEventRequest.Builder

    • Method Detail

      • 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.Builder<CreateEventRequest.Builder>
      • clear

        public CreateEventRequest.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<CreateEventRequest.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<CreateEventRequest.Builder>
      • getDefaultInstanceForType

        public CreateEventRequest getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public CreateEventRequest build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public CreateEventRequest buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public CreateEventRequest.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<CreateEventRequest.Builder>
      • setField

        public CreateEventRequest.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                   Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateEventRequest.Builder>
      • clearField

        public CreateEventRequest.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateEventRequest.Builder>
      • clearOneof

        public CreateEventRequest.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CreateEventRequest.Builder>
      • setRepeatedField

        public CreateEventRequest.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                           int index,
                                                           Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateEventRequest.Builder>
      • addRepeatedField

        public CreateEventRequest.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                           Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateEventRequest.Builder>
      • mergeFrom

        public CreateEventRequest.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<CreateEventRequest.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CreateEventRequest.Builder>
      • mergeFrom

        public CreateEventRequest.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                             throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<CreateEventRequest.Builder>
        Throws:
        IOException
      • setInstanceBytes

        public CreateEventRequest.Builder setInstanceBytes​(com.google.protobuf.ByteString value)
         Yamcs instance name.
         
        optional string instance = 1;
      • hasType

        public boolean hasType()
         Description of the type of the event. Useful for quick classification or filtering.
         
        optional string type = 2;
        Specified by:
        hasType in interface CreateEventRequestOrBuilder
      • getType

        public String getType()
         Description of the type of the event. Useful for quick classification or filtering.
         
        optional string type = 2;
        Specified by:
        getType in interface CreateEventRequestOrBuilder
      • getTypeBytes

        public com.google.protobuf.ByteString getTypeBytes()
         Description of the type of the event. Useful for quick classification or filtering.
         
        optional string type = 2;
        Specified by:
        getTypeBytes in interface CreateEventRequestOrBuilder
      • setType

        public CreateEventRequest.Builder setType​(String value)
         Description of the type of the event. Useful for quick classification or filtering.
         
        optional string type = 2;
      • clearType

        public CreateEventRequest.Builder clearType()
         Description of the type of the event. Useful for quick classification or filtering.
         
        optional string type = 2;
      • setTypeBytes

        public CreateEventRequest.Builder setTypeBytes​(com.google.protobuf.ByteString value)
         Description of the type of the event. Useful for quick classification or filtering.
         
        optional string type = 2;
      • setMessageBytes

        public CreateEventRequest.Builder setMessageBytes​(com.google.protobuf.ByteString value)
         **Required.** Event message.
         
        optional string message = 3;
      • hasSeverity

        public boolean hasSeverity()
         The severity level of the event. One of ``info``, ``watch``, ``warning``,
         ``distress``, ``critical`` or ``severe``. Default is ``info``
         
        optional string severity = 4;
        Specified by:
        hasSeverity in interface CreateEventRequestOrBuilder
      • getSeverity

        public String getSeverity()
         The severity level of the event. One of ``info``, ``watch``, ``warning``,
         ``distress``, ``critical`` or ``severe``. Default is ``info``
         
        optional string severity = 4;
        Specified by:
        getSeverity in interface CreateEventRequestOrBuilder
      • getSeverityBytes

        public 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;
        Specified by:
        getSeverityBytes in interface CreateEventRequestOrBuilder
      • setSeverity

        public CreateEventRequest.Builder setSeverity​(String value)
         The severity level of the event. One of ``info``, ``watch``, ``warning``,
         ``distress``, ``critical`` or ``severe``. Default is ``info``
         
        optional string severity = 4;
      • clearSeverity

        public CreateEventRequest.Builder clearSeverity()
         The severity level of the event. One of ``info``, ``watch``, ``warning``,
         ``distress``, ``critical`` or ``severe``. Default is ``info``
         
        optional string severity = 4;
      • setSeverityBytes

        public CreateEventRequest.Builder setSeverityBytes​(com.google.protobuf.ByteString value)
         The severity level of the event. One of ``info``, ``watch``, ``warning``,
         ``distress``, ``critical`` or ``severe``. Default is ``info``
         
        optional string severity = 4;
      • hasTime

        public boolean hasTime()
         Time associated with the event.
         If unspecified, this will default to the current mission time.
         
        optional .google.protobuf.Timestamp time = 5;
        Specified by:
        hasTime in interface CreateEventRequestOrBuilder
      • getTime

        public 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;
        Specified by:
        getTime in interface CreateEventRequestOrBuilder
      • setTime

        public CreateEventRequest.Builder setTime​(com.google.protobuf.Timestamp value)
         Time associated with the event.
         If unspecified, this will default to the current mission time.
         
        optional .google.protobuf.Timestamp time = 5;
      • setTime

        public CreateEventRequest.Builder setTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Time associated with the event.
         If unspecified, this will default to the current mission time.
         
        optional .google.protobuf.Timestamp time = 5;
      • mergeTime

        public CreateEventRequest.Builder mergeTime​(com.google.protobuf.Timestamp value)
         Time associated with the event.
         If unspecified, this will default to the current mission time.
         
        optional .google.protobuf.Timestamp time = 5;
      • clearTime

        public CreateEventRequest.Builder clearTime()
         Time associated with the event.
         If unspecified, this will default to the current mission time.
         
        optional .google.protobuf.Timestamp time = 5;
      • getTimeBuilder

        public com.google.protobuf.Timestamp.Builder getTimeBuilder()
         Time associated with the event.
         If unspecified, this will default to the current mission time.
         
        optional .google.protobuf.Timestamp time = 5;
      • getTimeOrBuilder

        public 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;
        Specified by:
        getTimeOrBuilder in interface CreateEventRequestOrBuilder
      • hasSource

        public boolean hasSource()
         Source of the event. Useful for grouping events in the archive. Default is
         ``User``.
         
        optional string source = 6;
        Specified by:
        hasSource in interface CreateEventRequestOrBuilder
      • getSource

        public String getSource()
         Source of the event. Useful for grouping events in the archive. Default is
         ``User``.
         
        optional string source = 6;
        Specified by:
        getSource in interface CreateEventRequestOrBuilder
      • getSourceBytes

        public com.google.protobuf.ByteString getSourceBytes()
         Source of the event. Useful for grouping events in the archive. Default is
         ``User``.
         
        optional string source = 6;
        Specified by:
        getSourceBytes in interface CreateEventRequestOrBuilder
      • setSource

        public CreateEventRequest.Builder setSource​(String value)
         Source of the event. Useful for grouping events in the archive. Default is
         ``User``.
         
        optional string source = 6;
      • clearSource

        public CreateEventRequest.Builder clearSource()
         Source of the event. Useful for grouping events in the archive. Default is
         ``User``.
         
        optional string source = 6;
      • setSourceBytes

        public CreateEventRequest.Builder setSourceBytes​(com.google.protobuf.ByteString value)
         Source of the event. Useful for grouping events in the archive. Default is
         ``User``.
         
        optional string source = 6;
      • hasSequenceNumber

        public 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;
        Specified by:
        hasSequenceNumber in interface CreateEventRequestOrBuilder
      • getSequenceNumber

        public 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;
        Specified by:
        getSequenceNumber in interface CreateEventRequestOrBuilder
      • setSequenceNumber

        public CreateEventRequest.Builder setSequenceNumber​(int value)
         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;
      • clearSequenceNumber

        public CreateEventRequest.Builder clearSequenceNumber()
         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;
      • setUnknownFields

        public final CreateEventRequest.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CreateEventRequest.Builder>
      • mergeUnknownFields

        public final CreateEventRequest.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CreateEventRequest.Builder>