Class Mdb.ListCommandsResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<Mdb.ListCommandsResponse.Builder>
org.yamcs.protobuf.Mdb.ListCommandsResponse.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, Mdb.ListCommandsResponseOrBuilder
Enclosing class:
Mdb.ListCommandsResponse

public static final class Mdb.ListCommandsResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Mdb.ListCommandsResponse.Builder> implements Mdb.ListCommandsResponseOrBuilder
Protobuf type yamcs.protobuf.mdb.ListCommandsResponse
  • Method Details

    • 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<Mdb.ListCommandsResponse.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<Mdb.ListCommandsResponse.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<Mdb.ListCommandsResponse.Builder>
    • getDefaultInstanceForType

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

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

      public Mdb.ListCommandsResponse buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.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<Mdb.ListCommandsResponse.Builder>
    • setField

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

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

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

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

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

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

    • isInitialized

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

      public Mdb.ListCommandsResponse.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<Mdb.ListCommandsResponse.Builder>
      Throws:
      IOException
    • getSystemsList

      public List<Mdb.SpaceSystemInfo> getSystemsList()
       Matching subsystems when the ``system`` option was specified
       
      repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5;
      Specified by:
      getSystemsList in interface Mdb.ListCommandsResponseOrBuilder
    • getSystemsCount

      public int getSystemsCount()
       Matching subsystems when the ``system`` option was specified
       
      repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5;
      Specified by:
      getSystemsCount in interface Mdb.ListCommandsResponseOrBuilder
    • getSystems

      public Mdb.SpaceSystemInfo getSystems(int index)
       Matching subsystems when the ``system`` option was specified
       
      repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5;
      Specified by:
      getSystems in interface Mdb.ListCommandsResponseOrBuilder
    • setSystems

      public Mdb.ListCommandsResponse.Builder setSystems(int index, Mdb.SpaceSystemInfo value)
       Matching subsystems when the ``system`` option was specified
       
      repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5;
    • setSystems

      public Mdb.ListCommandsResponse.Builder setSystems(int index, Mdb.SpaceSystemInfo.Builder builderForValue)
       Matching subsystems when the ``system`` option was specified
       
      repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5;
    • addSystems

       Matching subsystems when the ``system`` option was specified
       
      repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5;
    • addSystems

      public Mdb.ListCommandsResponse.Builder addSystems(int index, Mdb.SpaceSystemInfo value)
       Matching subsystems when the ``system`` option was specified
       
      repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5;
    • addSystems

       Matching subsystems when the ``system`` option was specified
       
      repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5;
    • addSystems

      public Mdb.ListCommandsResponse.Builder addSystems(int index, Mdb.SpaceSystemInfo.Builder builderForValue)
       Matching subsystems when the ``system`` option was specified
       
      repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5;
    • addAllSystems

      public Mdb.ListCommandsResponse.Builder addAllSystems(Iterable<? extends Mdb.SpaceSystemInfo> values)
       Matching subsystems when the ``system`` option was specified
       
      repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5;
    • clearSystems

      public Mdb.ListCommandsResponse.Builder clearSystems()
       Matching subsystems when the ``system`` option was specified
       
      repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5;
    • removeSystems

      public Mdb.ListCommandsResponse.Builder removeSystems(int index)
       Matching subsystems when the ``system`` option was specified
       
      repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5;
    • getSystemsBuilder

      public Mdb.SpaceSystemInfo.Builder getSystemsBuilder(int index)
       Matching subsystems when the ``system`` option was specified
       
      repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5;
    • getSystemsOrBuilder

      public Mdb.SpaceSystemInfoOrBuilder getSystemsOrBuilder(int index)
       Matching subsystems when the ``system`` option was specified
       
      repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5;
      Specified by:
      getSystemsOrBuilder in interface Mdb.ListCommandsResponseOrBuilder
    • getSystemsOrBuilderList

      public List<? extends Mdb.SpaceSystemInfoOrBuilder> getSystemsOrBuilderList()
       Matching subsystems when the ``system`` option was specified
       
      repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5;
      Specified by:
      getSystemsOrBuilderList in interface Mdb.ListCommandsResponseOrBuilder
    • addSystemsBuilder

      public Mdb.SpaceSystemInfo.Builder addSystemsBuilder()
       Matching subsystems when the ``system`` option was specified
       
      repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5;
    • addSystemsBuilder

      public Mdb.SpaceSystemInfo.Builder addSystemsBuilder(int index)
       Matching subsystems when the ``system`` option was specified
       
      repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5;
    • getSystemsBuilderList

      public List<Mdb.SpaceSystemInfo.Builder> getSystemsBuilderList()
       Matching subsystems when the ``system`` option was specified
       
      repeated .yamcs.protobuf.mdb.SpaceSystemInfo systems = 5;
    • getSpaceSystemsList

      @Deprecated public com.google.protobuf.ProtocolStringList getSpaceSystemsList()
      Deprecated.
       Deprecated. Use ``systems`` instead
       
      repeated string spaceSystems = 4 [deprecated = true];
      Specified by:
      getSpaceSystemsList in interface Mdb.ListCommandsResponseOrBuilder
      Returns:
      A list containing the spaceSystems.
    • getSpaceSystemsCount

      @Deprecated public int getSpaceSystemsCount()
      Deprecated.
       Deprecated. Use ``systems`` instead
       
      repeated string spaceSystems = 4 [deprecated = true];
      Specified by:
      getSpaceSystemsCount in interface Mdb.ListCommandsResponseOrBuilder
      Returns:
      The count of spaceSystems.
    • getSpaceSystems

      @Deprecated public String getSpaceSystems(int index)
      Deprecated.
       Deprecated. Use ``systems`` instead
       
      repeated string spaceSystems = 4 [deprecated = true];
      Specified by:
      getSpaceSystems in interface Mdb.ListCommandsResponseOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The spaceSystems at the given index.
    • getSpaceSystemsBytes

      @Deprecated public com.google.protobuf.ByteString getSpaceSystemsBytes(int index)
      Deprecated.
       Deprecated. Use ``systems`` instead
       
      repeated string spaceSystems = 4 [deprecated = true];
      Specified by:
      getSpaceSystemsBytes in interface Mdb.ListCommandsResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the spaceSystems at the given index.
    • setSpaceSystems

      @Deprecated public Mdb.ListCommandsResponse.Builder setSpaceSystems(int index, String value)
      Deprecated.
       Deprecated. Use ``systems`` instead
       
      repeated string spaceSystems = 4 [deprecated = true];
      Parameters:
      index - The index to set the value at.
      value - The spaceSystems to set.
      Returns:
      This builder for chaining.
    • addSpaceSystems

      @Deprecated public Mdb.ListCommandsResponse.Builder addSpaceSystems(String value)
      Deprecated.
       Deprecated. Use ``systems`` instead
       
      repeated string spaceSystems = 4 [deprecated = true];
      Parameters:
      value - The spaceSystems to add.
      Returns:
      This builder for chaining.
    • addAllSpaceSystems

      @Deprecated public Mdb.ListCommandsResponse.Builder addAllSpaceSystems(Iterable<String> values)
      Deprecated.
       Deprecated. Use ``systems`` instead
       
      repeated string spaceSystems = 4 [deprecated = true];
      Parameters:
      values - The spaceSystems to add.
      Returns:
      This builder for chaining.
    • clearSpaceSystems

      @Deprecated public Mdb.ListCommandsResponse.Builder clearSpaceSystems()
      Deprecated.
       Deprecated. Use ``systems`` instead
       
      repeated string spaceSystems = 4 [deprecated = true];
      Returns:
      This builder for chaining.
    • addSpaceSystemsBytes

      @Deprecated public Mdb.ListCommandsResponse.Builder addSpaceSystemsBytes(com.google.protobuf.ByteString value)
      Deprecated.
       Deprecated. Use ``systems`` instead
       
      repeated string spaceSystems = 4 [deprecated = true];
      Parameters:
      value - The bytes of the spaceSystems to add.
      Returns:
      This builder for chaining.
    • getCommandsList

      public List<Mdb.CommandInfo> getCommandsList()
       Matching commands
       
      repeated .yamcs.protobuf.mdb.CommandInfo commands = 1;
      Specified by:
      getCommandsList in interface Mdb.ListCommandsResponseOrBuilder
    • getCommandsCount

      public int getCommandsCount()
       Matching commands
       
      repeated .yamcs.protobuf.mdb.CommandInfo commands = 1;
      Specified by:
      getCommandsCount in interface Mdb.ListCommandsResponseOrBuilder
    • getCommands

      public Mdb.CommandInfo getCommands(int index)
       Matching commands
       
      repeated .yamcs.protobuf.mdb.CommandInfo commands = 1;
      Specified by:
      getCommands in interface Mdb.ListCommandsResponseOrBuilder
    • setCommands

      public Mdb.ListCommandsResponse.Builder setCommands(int index, Mdb.CommandInfo value)
       Matching commands
       
      repeated .yamcs.protobuf.mdb.CommandInfo commands = 1;
    • setCommands

      public Mdb.ListCommandsResponse.Builder setCommands(int index, Mdb.CommandInfo.Builder builderForValue)
       Matching commands
       
      repeated .yamcs.protobuf.mdb.CommandInfo commands = 1;
    • addCommands

       Matching commands
       
      repeated .yamcs.protobuf.mdb.CommandInfo commands = 1;
    • addCommands

      public Mdb.ListCommandsResponse.Builder addCommands(int index, Mdb.CommandInfo value)
       Matching commands
       
      repeated .yamcs.protobuf.mdb.CommandInfo commands = 1;
    • addCommands

      public Mdb.ListCommandsResponse.Builder addCommands(Mdb.CommandInfo.Builder builderForValue)
       Matching commands
       
      repeated .yamcs.protobuf.mdb.CommandInfo commands = 1;
    • addCommands

      public Mdb.ListCommandsResponse.Builder addCommands(int index, Mdb.CommandInfo.Builder builderForValue)
       Matching commands
       
      repeated .yamcs.protobuf.mdb.CommandInfo commands = 1;
    • addAllCommands

      public Mdb.ListCommandsResponse.Builder addAllCommands(Iterable<? extends Mdb.CommandInfo> values)
       Matching commands
       
      repeated .yamcs.protobuf.mdb.CommandInfo commands = 1;
    • clearCommands

      public Mdb.ListCommandsResponse.Builder clearCommands()
       Matching commands
       
      repeated .yamcs.protobuf.mdb.CommandInfo commands = 1;
    • removeCommands

      public Mdb.ListCommandsResponse.Builder removeCommands(int index)
       Matching commands
       
      repeated .yamcs.protobuf.mdb.CommandInfo commands = 1;
    • getCommandsBuilder

      public Mdb.CommandInfo.Builder getCommandsBuilder(int index)
       Matching commands
       
      repeated .yamcs.protobuf.mdb.CommandInfo commands = 1;
    • getCommandsOrBuilder

      public Mdb.CommandInfoOrBuilder getCommandsOrBuilder(int index)
       Matching commands
       
      repeated .yamcs.protobuf.mdb.CommandInfo commands = 1;
      Specified by:
      getCommandsOrBuilder in interface Mdb.ListCommandsResponseOrBuilder
    • getCommandsOrBuilderList

      public List<? extends Mdb.CommandInfoOrBuilder> getCommandsOrBuilderList()
       Matching commands
       
      repeated .yamcs.protobuf.mdb.CommandInfo commands = 1;
      Specified by:
      getCommandsOrBuilderList in interface Mdb.ListCommandsResponseOrBuilder
    • addCommandsBuilder

      public Mdb.CommandInfo.Builder addCommandsBuilder()
       Matching commands
       
      repeated .yamcs.protobuf.mdb.CommandInfo commands = 1;
    • addCommandsBuilder

      public Mdb.CommandInfo.Builder addCommandsBuilder(int index)
       Matching commands
       
      repeated .yamcs.protobuf.mdb.CommandInfo commands = 1;
    • getCommandsBuilderList

      public List<Mdb.CommandInfo.Builder> getCommandsBuilderList()
       Matching commands
       
      repeated .yamcs.protobuf.mdb.CommandInfo commands = 1;
    • hasContinuationToken

      public boolean hasContinuationToken()
       Token indicating the response is only partial. More results can then
       be obtained by performing the same request (including all original
       query parameters) and setting the ``next`` parameter to this token.
       
      optional string continuationToken = 2;
      Specified by:
      hasContinuationToken in interface Mdb.ListCommandsResponseOrBuilder
      Returns:
      Whether the continuationToken field is set.
    • getContinuationToken

      public String getContinuationToken()
       Token indicating the response is only partial. More results can then
       be obtained by performing the same request (including all original
       query parameters) and setting the ``next`` parameter to this token.
       
      optional string continuationToken = 2;
      Specified by:
      getContinuationToken in interface Mdb.ListCommandsResponseOrBuilder
      Returns:
      The continuationToken.
    • getContinuationTokenBytes

      public com.google.protobuf.ByteString getContinuationTokenBytes()
       Token indicating the response is only partial. More results can then
       be obtained by performing the same request (including all original
       query parameters) and setting the ``next`` parameter to this token.
       
      optional string continuationToken = 2;
      Specified by:
      getContinuationTokenBytes in interface Mdb.ListCommandsResponseOrBuilder
      Returns:
      The bytes for continuationToken.
    • setContinuationToken

      public Mdb.ListCommandsResponse.Builder setContinuationToken(String value)
       Token indicating the response is only partial. More results can then
       be obtained by performing the same request (including all original
       query parameters) and setting the ``next`` parameter to this token.
       
      optional string continuationToken = 2;
      Parameters:
      value - The continuationToken to set.
      Returns:
      This builder for chaining.
    • clearContinuationToken

      public Mdb.ListCommandsResponse.Builder clearContinuationToken()
       Token indicating the response is only partial. More results can then
       be obtained by performing the same request (including all original
       query parameters) and setting the ``next`` parameter to this token.
       
      optional string continuationToken = 2;
      Returns:
      This builder for chaining.
    • setContinuationTokenBytes

      public Mdb.ListCommandsResponse.Builder setContinuationTokenBytes(com.google.protobuf.ByteString value)
       Token indicating the response is only partial. More results can then
       be obtained by performing the same request (including all original
       query parameters) and setting the ``next`` parameter to this token.
       
      optional string continuationToken = 2;
      Parameters:
      value - The bytes for continuationToken to set.
      Returns:
      This builder for chaining.
    • hasTotalSize

      public boolean hasTotalSize()
       The total number of results (across all pages)
       
      optional int32 totalSize = 3;
      Specified by:
      hasTotalSize in interface Mdb.ListCommandsResponseOrBuilder
      Returns:
      Whether the totalSize field is set.
    • getTotalSize

      public int getTotalSize()
       The total number of results (across all pages)
       
      optional int32 totalSize = 3;
      Specified by:
      getTotalSize in interface Mdb.ListCommandsResponseOrBuilder
      Returns:
      The totalSize.
    • setTotalSize

      public Mdb.ListCommandsResponse.Builder setTotalSize(int value)
       The total number of results (across all pages)
       
      optional int32 totalSize = 3;
      Parameters:
      value - The totalSize to set.
      Returns:
      This builder for chaining.
    • clearTotalSize

      public Mdb.ListCommandsResponse.Builder clearTotalSize()
       The total number of results (across all pages)
       
      optional int32 totalSize = 3;
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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