Class IndexResponse.Builder

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

public static final class IndexResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<IndexResponse.Builder> implements IndexResponseOrBuilder
Protobuf type yamcs.protobuf.archive.IndexResponse
  • 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<IndexResponse.Builder>
    • clear

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

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

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

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

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

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

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

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

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

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

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

      public IndexResponse.Builder mergeFrom(IndexResponse other)
    • isInitialized

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

      public IndexResponse.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<IndexResponse.Builder>
      Throws:
      IOException
    • getGroupList

      public List<IndexGroup> getGroupList()
      repeated .yamcs.protobuf.archive.IndexGroup group = 1;
      Specified by:
      getGroupList in interface IndexResponseOrBuilder
    • getGroupCount

      public int getGroupCount()
      repeated .yamcs.protobuf.archive.IndexGroup group = 1;
      Specified by:
      getGroupCount in interface IndexResponseOrBuilder
    • getGroup

      public IndexGroup getGroup(int index)
      repeated .yamcs.protobuf.archive.IndexGroup group = 1;
      Specified by:
      getGroup in interface IndexResponseOrBuilder
    • setGroup

      public IndexResponse.Builder setGroup(int index, IndexGroup value)
      repeated .yamcs.protobuf.archive.IndexGroup group = 1;
    • setGroup

      public IndexResponse.Builder setGroup(int index, IndexGroup.Builder builderForValue)
      repeated .yamcs.protobuf.archive.IndexGroup group = 1;
    • addGroup

      public IndexResponse.Builder addGroup(IndexGroup value)
      repeated .yamcs.protobuf.archive.IndexGroup group = 1;
    • addGroup

      public IndexResponse.Builder addGroup(int index, IndexGroup value)
      repeated .yamcs.protobuf.archive.IndexGroup group = 1;
    • addGroup

      public IndexResponse.Builder addGroup(IndexGroup.Builder builderForValue)
      repeated .yamcs.protobuf.archive.IndexGroup group = 1;
    • addGroup

      public IndexResponse.Builder addGroup(int index, IndexGroup.Builder builderForValue)
      repeated .yamcs.protobuf.archive.IndexGroup group = 1;
    • addAllGroup

      public IndexResponse.Builder addAllGroup(Iterable<? extends IndexGroup> values)
      repeated .yamcs.protobuf.archive.IndexGroup group = 1;
    • clearGroup

      public IndexResponse.Builder clearGroup()
      repeated .yamcs.protobuf.archive.IndexGroup group = 1;
    • removeGroup

      public IndexResponse.Builder removeGroup(int index)
      repeated .yamcs.protobuf.archive.IndexGroup group = 1;
    • getGroupBuilder

      public IndexGroup.Builder getGroupBuilder(int index)
      repeated .yamcs.protobuf.archive.IndexGroup group = 1;
    • getGroupOrBuilder

      public IndexGroupOrBuilder getGroupOrBuilder(int index)
      repeated .yamcs.protobuf.archive.IndexGroup group = 1;
      Specified by:
      getGroupOrBuilder in interface IndexResponseOrBuilder
    • getGroupOrBuilderList

      public List<? extends IndexGroupOrBuilder> getGroupOrBuilderList()
      repeated .yamcs.protobuf.archive.IndexGroup group = 1;
      Specified by:
      getGroupOrBuilderList in interface IndexResponseOrBuilder
    • addGroupBuilder

      public IndexGroup.Builder addGroupBuilder()
      repeated .yamcs.protobuf.archive.IndexGroup group = 1;
    • addGroupBuilder

      public IndexGroup.Builder addGroupBuilder(int index)
      repeated .yamcs.protobuf.archive.IndexGroup group = 1;
    • getGroupBuilderList

      public List<IndexGroup.Builder> getGroupBuilderList()
      repeated .yamcs.protobuf.archive.IndexGroup group = 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 IndexResponseOrBuilder
      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 IndexResponseOrBuilder
      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 IndexResponseOrBuilder
      Returns:
      The bytes for continuationToken.
    • setContinuationToken

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

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