Class TseCommand.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, TseCommandOrBuilder
    Enclosing class:
    TseCommand

    public static final class TseCommand.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<TseCommand.Builder>
    implements TseCommandOrBuilder
    Protobuf type yamcs.protobuf.tse.TseCommand
    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.MapField internalGetMapField​(int number)
        Overrides:
        internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<TseCommand.Builder>
      • internalGetMutableMapField

        protected com.google.protobuf.MapField internalGetMutableMapField​(int number)
        Overrides:
        internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<TseCommand.Builder>
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<TseCommand.Builder>
      • clear

        public TseCommand.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<TseCommand.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<TseCommand.Builder>
      • getDefaultInstanceForType

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

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

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

        public TseCommand.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<TseCommand.Builder>
      • setField

        public TseCommand.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<TseCommand.Builder>
      • clearField

        public TseCommand.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<TseCommand.Builder>
      • clearOneof

        public TseCommand.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<TseCommand.Builder>
      • setRepeatedField

        public TseCommand.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<TseCommand.Builder>
      • addRepeatedField

        public TseCommand.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<TseCommand.Builder>
      • mergeFrom

        public TseCommand.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<TseCommand.Builder>
      • isInitialized

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

        public TseCommand.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<TseCommand.Builder>
        Throws:
        IOException
      • hasId

        public boolean hasId()
        optional .yamcs.protobuf.commanding.CommandId id = 6;
        Specified by:
        hasId in interface TseCommandOrBuilder
      • getId

        public org.yamcs.protobuf.Commanding.CommandId getId()
        optional .yamcs.protobuf.commanding.CommandId id = 6;
        Specified by:
        getId in interface TseCommandOrBuilder
      • setId

        public TseCommand.Builder setId​(org.yamcs.protobuf.Commanding.CommandId value)
        optional .yamcs.protobuf.commanding.CommandId id = 6;
      • setId

        public TseCommand.Builder setId​(org.yamcs.protobuf.Commanding.CommandId.Builder builderForValue)
        optional .yamcs.protobuf.commanding.CommandId id = 6;
      • mergeId

        public TseCommand.Builder mergeId​(org.yamcs.protobuf.Commanding.CommandId value)
        optional .yamcs.protobuf.commanding.CommandId id = 6;
      • clearId

        public TseCommand.Builder clearId()
        optional .yamcs.protobuf.commanding.CommandId id = 6;
      • getIdBuilder

        public org.yamcs.protobuf.Commanding.CommandId.Builder getIdBuilder()
        optional .yamcs.protobuf.commanding.CommandId id = 6;
      • getIdOrBuilder

        public org.yamcs.protobuf.Commanding.CommandIdOrBuilder getIdOrBuilder()
        optional .yamcs.protobuf.commanding.CommandId id = 6;
        Specified by:
        getIdOrBuilder in interface TseCommandOrBuilder
      • clearInstrument

        public TseCommand.Builder clearInstrument()
        optional string instrument = 1;
      • setInstrumentBytes

        public TseCommand.Builder setInstrumentBytes​(com.google.protobuf.ByteString value)
        optional string instrument = 1;
      • setCommandBytes

        public TseCommand.Builder setCommandBytes​(com.google.protobuf.ByteString value)
        optional string command = 2;
      • setResponseBytes

        public TseCommand.Builder setResponseBytes​(com.google.protobuf.ByteString value)
        optional string response = 3;
      • getArgumentMappingOrDefault

        public org.yamcs.protobuf.Yamcs.Value getArgumentMappingOrDefault​(String key,
                                                                          org.yamcs.protobuf.Yamcs.Value defaultValue)
        map<string, .yamcs.protobuf.Value> argumentMapping = 4;
        Specified by:
        getArgumentMappingOrDefault in interface TseCommandOrBuilder
      • removeArgumentMapping

        public TseCommand.Builder removeArgumentMapping​(String key)
        map<string, .yamcs.protobuf.Value> argumentMapping = 4;
      • getMutableArgumentMapping

        @Deprecated
        public Map<String,​org.yamcs.protobuf.Yamcs.Value> getMutableArgumentMapping()
        Deprecated.
        Use alternate mutation accessors instead.
      • putArgumentMapping

        public TseCommand.Builder putArgumentMapping​(String key,
                                                     org.yamcs.protobuf.Yamcs.Value value)
        map<string, .yamcs.protobuf.Value> argumentMapping = 4;
      • putAllArgumentMapping

        public TseCommand.Builder putAllArgumentMapping​(Map<String,​org.yamcs.protobuf.Yamcs.Value> values)
        map<string, .yamcs.protobuf.Value> argumentMapping = 4;
      • removeParameterMapping

        public TseCommand.Builder removeParameterMapping​(String key)
        map<string, string> parameterMapping = 5;
      • getMutableParameterMapping

        @Deprecated
        public Map<String,​String> getMutableParameterMapping()
        Deprecated.
        Use alternate mutation accessors instead.
      • setUnknownFields

        public final TseCommand.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<TseCommand.Builder>
      • mergeUnknownFields

        public final TseCommand.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<TseCommand.Builder>