Class ListCommandsResponse.Builder

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

public static final class ListCommandsResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListCommandsResponse.Builder> implements ListCommandsResponseOrBuilder
Protobuf type yamcs.protobuf.commanding.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<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<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<ListCommandsResponse.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

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

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

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

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

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

      public List<Commanding.CommandHistoryEntry> getEntryList()
      repeated .yamcs.protobuf.commanding.CommandHistoryEntry entry = 1;
      Specified by:
      getEntryList in interface ListCommandsResponseOrBuilder
    • getEntryCount

      public int getEntryCount()
      repeated .yamcs.protobuf.commanding.CommandHistoryEntry entry = 1;
      Specified by:
      getEntryCount in interface ListCommandsResponseOrBuilder
    • getEntry

      public Commanding.CommandHistoryEntry getEntry(int index)
      repeated .yamcs.protobuf.commanding.CommandHistoryEntry entry = 1;
      Specified by:
      getEntry in interface ListCommandsResponseOrBuilder
    • setEntry

      public ListCommandsResponse.Builder setEntry(int index, Commanding.CommandHistoryEntry value)
      repeated .yamcs.protobuf.commanding.CommandHistoryEntry entry = 1;
    • setEntry

      public ListCommandsResponse.Builder setEntry(int index, Commanding.CommandHistoryEntry.Builder builderForValue)
      repeated .yamcs.protobuf.commanding.CommandHistoryEntry entry = 1;
    • addEntry

      repeated .yamcs.protobuf.commanding.CommandHistoryEntry entry = 1;
    • addEntry

      public ListCommandsResponse.Builder addEntry(int index, Commanding.CommandHistoryEntry value)
      repeated .yamcs.protobuf.commanding.CommandHistoryEntry entry = 1;
    • addEntry

      repeated .yamcs.protobuf.commanding.CommandHistoryEntry entry = 1;
    • addEntry

      public ListCommandsResponse.Builder addEntry(int index, Commanding.CommandHistoryEntry.Builder builderForValue)
      repeated .yamcs.protobuf.commanding.CommandHistoryEntry entry = 1;
    • addAllEntry

      repeated .yamcs.protobuf.commanding.CommandHistoryEntry entry = 1;
    • clearEntry

      public ListCommandsResponse.Builder clearEntry()
      repeated .yamcs.protobuf.commanding.CommandHistoryEntry entry = 1;
    • removeEntry

      public ListCommandsResponse.Builder removeEntry(int index)
      repeated .yamcs.protobuf.commanding.CommandHistoryEntry entry = 1;
    • getEntryBuilder

      public Commanding.CommandHistoryEntry.Builder getEntryBuilder(int index)
      repeated .yamcs.protobuf.commanding.CommandHistoryEntry entry = 1;
    • getEntryOrBuilder

      public Commanding.CommandHistoryEntryOrBuilder getEntryOrBuilder(int index)
      repeated .yamcs.protobuf.commanding.CommandHistoryEntry entry = 1;
      Specified by:
      getEntryOrBuilder in interface ListCommandsResponseOrBuilder
    • getEntryOrBuilderList

      public List<? extends Commanding.CommandHistoryEntryOrBuilder> getEntryOrBuilderList()
      repeated .yamcs.protobuf.commanding.CommandHistoryEntry entry = 1;
      Specified by:
      getEntryOrBuilderList in interface ListCommandsResponseOrBuilder
    • addEntryBuilder

      public Commanding.CommandHistoryEntry.Builder addEntryBuilder()
      repeated .yamcs.protobuf.commanding.CommandHistoryEntry entry = 1;
    • addEntryBuilder

      public Commanding.CommandHistoryEntry.Builder addEntryBuilder(int index)
      repeated .yamcs.protobuf.commanding.CommandHistoryEntry entry = 1;
    • getEntryBuilderList

      public List<Commanding.CommandHistoryEntry.Builder> getEntryBuilderList()
      repeated .yamcs.protobuf.commanding.CommandHistoryEntry entry = 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 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 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 ListCommandsResponseOrBuilder
      Returns:
      The bytes for continuationToken.
    • setContinuationToken

      public 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 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 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.
    • setUnknownFields

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

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