Class TseCommand.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<TseCommand.Builder>
org.yamcs.tse.api.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 Details

    • 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>
    • mergeFrom

      public TseCommand.Builder mergeFrom(TseCommand other)
    • 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
      Returns:
      Whether the id field is set.
    • getId

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

      optional .yamcs.protobuf.commanding.CommandId id = 6;
    • setId

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

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

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

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

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

      public boolean hasInstrument()
      optional string instrument = 1;
      Specified by:
      hasInstrument in interface TseCommandOrBuilder
      Returns:
      Whether the instrument field is set.
    • getInstrument

      public String getInstrument()
      optional string instrument = 1;
      Specified by:
      getInstrument in interface TseCommandOrBuilder
      Returns:
      The instrument.
    • getInstrumentBytes

      public com.google.protobuf.ByteString getInstrumentBytes()
      optional string instrument = 1;
      Specified by:
      getInstrumentBytes in interface TseCommandOrBuilder
      Returns:
      The bytes for instrument.
    • setInstrument

      public TseCommand.Builder setInstrument(String value)
      optional string instrument = 1;
      Parameters:
      value - The instrument to set.
      Returns:
      This builder for chaining.
    • clearInstrument

      public TseCommand.Builder clearInstrument()
      optional string instrument = 1;
      Returns:
      This builder for chaining.
    • setInstrumentBytes

      public TseCommand.Builder setInstrumentBytes(com.google.protobuf.ByteString value)
      optional string instrument = 1;
      Parameters:
      value - The bytes for instrument to set.
      Returns:
      This builder for chaining.
    • hasCommand

      public boolean hasCommand()
      optional string command = 2;
      Specified by:
      hasCommand in interface TseCommandOrBuilder
      Returns:
      Whether the command field is set.
    • getCommand

      public String getCommand()
      optional string command = 2;
      Specified by:
      getCommand in interface TseCommandOrBuilder
      Returns:
      The command.
    • getCommandBytes

      public com.google.protobuf.ByteString getCommandBytes()
      optional string command = 2;
      Specified by:
      getCommandBytes in interface TseCommandOrBuilder
      Returns:
      The bytes for command.
    • setCommand

      public TseCommand.Builder setCommand(String value)
      optional string command = 2;
      Parameters:
      value - The command to set.
      Returns:
      This builder for chaining.
    • clearCommand

      public TseCommand.Builder clearCommand()
      optional string command = 2;
      Returns:
      This builder for chaining.
    • setCommandBytes

      public TseCommand.Builder setCommandBytes(com.google.protobuf.ByteString value)
      optional string command = 2;
      Parameters:
      value - The bytes for command to set.
      Returns:
      This builder for chaining.
    • hasResponse

      public boolean hasResponse()
      optional string response = 3;
      Specified by:
      hasResponse in interface TseCommandOrBuilder
      Returns:
      Whether the response field is set.
    • getResponse

      public String getResponse()
      optional string response = 3;
      Specified by:
      getResponse in interface TseCommandOrBuilder
      Returns:
      The response.
    • getResponseBytes

      public com.google.protobuf.ByteString getResponseBytes()
      optional string response = 3;
      Specified by:
      getResponseBytes in interface TseCommandOrBuilder
      Returns:
      The bytes for response.
    • setResponse

      public TseCommand.Builder setResponse(String value)
      optional string response = 3;
      Parameters:
      value - The response to set.
      Returns:
      This builder for chaining.
    • clearResponse

      public TseCommand.Builder clearResponse()
      optional string response = 3;
      Returns:
      This builder for chaining.
    • setResponseBytes

      public TseCommand.Builder setResponseBytes(com.google.protobuf.ByteString value)
      optional string response = 3;
      Parameters:
      value - The bytes for response to set.
      Returns:
      This builder for chaining.
    • getArgumentMappingCount

      public int getArgumentMappingCount()
      Description copied from interface: TseCommandOrBuilder
      map<string, .yamcs.protobuf.Value> argumentMapping = 4;
      Specified by:
      getArgumentMappingCount in interface TseCommandOrBuilder
    • containsArgumentMapping

      public boolean containsArgumentMapping(String key)
      map<string, .yamcs.protobuf.Value> argumentMapping = 4;
      Specified by:
      containsArgumentMapping in interface TseCommandOrBuilder
    • getArgumentMapping

      @Deprecated public Map<String,Yamcs.Value> getArgumentMapping()
      Deprecated.
      Specified by:
      getArgumentMapping in interface TseCommandOrBuilder
    • getArgumentMappingMap

      public Map<String,Yamcs.Value> getArgumentMappingMap()
      map<string, .yamcs.protobuf.Value> argumentMapping = 4;
      Specified by:
      getArgumentMappingMap in interface TseCommandOrBuilder
    • getArgumentMappingOrDefault

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

      public Yamcs.Value getArgumentMappingOrThrow(String key)
      map<string, .yamcs.protobuf.Value> argumentMapping = 4;
      Specified by:
      getArgumentMappingOrThrow in interface TseCommandOrBuilder
    • clearArgumentMapping

      public TseCommand.Builder clearArgumentMapping()
    • removeArgumentMapping

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

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

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

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

      public int getParameterMappingCount()
      Description copied from interface: TseCommandOrBuilder
      map<string, string> parameterMapping = 5;
      Specified by:
      getParameterMappingCount in interface TseCommandOrBuilder
    • containsParameterMapping

      public boolean containsParameterMapping(String key)
      map<string, string> parameterMapping = 5;
      Specified by:
      containsParameterMapping in interface TseCommandOrBuilder
    • getParameterMapping

      @Deprecated public Map<String,String> getParameterMapping()
      Deprecated.
      Specified by:
      getParameterMapping in interface TseCommandOrBuilder
    • getParameterMappingMap

      public Map<String,String> getParameterMappingMap()
      map<string, string> parameterMapping = 5;
      Specified by:
      getParameterMappingMap in interface TseCommandOrBuilder
    • getParameterMappingOrDefault

      public String getParameterMappingOrDefault(String key, String defaultValue)
      map<string, string> parameterMapping = 5;
      Specified by:
      getParameterMappingOrDefault in interface TseCommandOrBuilder
    • getParameterMappingOrThrow

      public String getParameterMappingOrThrow(String key)
      map<string, string> parameterMapping = 5;
      Specified by:
      getParameterMappingOrThrow in interface TseCommandOrBuilder
    • clearParameterMapping

      public TseCommand.Builder clearParameterMapping()
    • 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.
    • putParameterMapping

      public TseCommand.Builder putParameterMapping(String key, String value)
      map<string, string> parameterMapping = 5;
    • putAllParameterMapping

      public TseCommand.Builder putAllParameterMapping(Map<String,String> values)
      map<string, string> parameterMapping = 5;
    • 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>