Class ListVolumeRestoresResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListVolumeRestoresResponse.Builder>
com.google.cloud.gkebackup.v1.ListVolumeRestoresResponse.Builder
All Implemented Interfaces:
ListVolumeRestoresResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ListVolumeRestoresResponse

public static final class ListVolumeRestoresResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListVolumeRestoresResponse.Builder> implements ListVolumeRestoresResponseOrBuilder
 Response message for ListVolumeRestores.
 
Protobuf type google.cloud.gkebackup.v1.ListVolumeRestoresResponse
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ListVolumeRestoresResponse.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.GeneratedMessage.Builder<ListVolumeRestoresResponse.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.GeneratedMessage.Builder<ListVolumeRestoresResponse.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

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

    • isInitialized

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

      public ListVolumeRestoresResponse.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<ListVolumeRestoresResponse.Builder>
      Throws:
      IOException
    • getVolumeRestoresList

      public List<VolumeRestore> getVolumeRestoresList()
       The list of VolumeRestores matching the given criteria.
       
      repeated .google.cloud.gkebackup.v1.VolumeRestore volume_restores = 1;
      Specified by:
      getVolumeRestoresList in interface ListVolumeRestoresResponseOrBuilder
    • getVolumeRestoresCount

      public int getVolumeRestoresCount()
       The list of VolumeRestores matching the given criteria.
       
      repeated .google.cloud.gkebackup.v1.VolumeRestore volume_restores = 1;
      Specified by:
      getVolumeRestoresCount in interface ListVolumeRestoresResponseOrBuilder
    • getVolumeRestores

      public VolumeRestore getVolumeRestores(int index)
       The list of VolumeRestores matching the given criteria.
       
      repeated .google.cloud.gkebackup.v1.VolumeRestore volume_restores = 1;
      Specified by:
      getVolumeRestores in interface ListVolumeRestoresResponseOrBuilder
    • setVolumeRestores

      public ListVolumeRestoresResponse.Builder setVolumeRestores(int index, VolumeRestore value)
       The list of VolumeRestores matching the given criteria.
       
      repeated .google.cloud.gkebackup.v1.VolumeRestore volume_restores = 1;
    • setVolumeRestores

      public ListVolumeRestoresResponse.Builder setVolumeRestores(int index, VolumeRestore.Builder builderForValue)
       The list of VolumeRestores matching the given criteria.
       
      repeated .google.cloud.gkebackup.v1.VolumeRestore volume_restores = 1;
    • addVolumeRestores

      public ListVolumeRestoresResponse.Builder addVolumeRestores(VolumeRestore value)
       The list of VolumeRestores matching the given criteria.
       
      repeated .google.cloud.gkebackup.v1.VolumeRestore volume_restores = 1;
    • addVolumeRestores

      public ListVolumeRestoresResponse.Builder addVolumeRestores(int index, VolumeRestore value)
       The list of VolumeRestores matching the given criteria.
       
      repeated .google.cloud.gkebackup.v1.VolumeRestore volume_restores = 1;
    • addVolumeRestores

      public ListVolumeRestoresResponse.Builder addVolumeRestores(VolumeRestore.Builder builderForValue)
       The list of VolumeRestores matching the given criteria.
       
      repeated .google.cloud.gkebackup.v1.VolumeRestore volume_restores = 1;
    • addVolumeRestores

      public ListVolumeRestoresResponse.Builder addVolumeRestores(int index, VolumeRestore.Builder builderForValue)
       The list of VolumeRestores matching the given criteria.
       
      repeated .google.cloud.gkebackup.v1.VolumeRestore volume_restores = 1;
    • addAllVolumeRestores

      public ListVolumeRestoresResponse.Builder addAllVolumeRestores(Iterable<? extends VolumeRestore> values)
       The list of VolumeRestores matching the given criteria.
       
      repeated .google.cloud.gkebackup.v1.VolumeRestore volume_restores = 1;
    • clearVolumeRestores

      public ListVolumeRestoresResponse.Builder clearVolumeRestores()
       The list of VolumeRestores matching the given criteria.
       
      repeated .google.cloud.gkebackup.v1.VolumeRestore volume_restores = 1;
    • removeVolumeRestores

      public ListVolumeRestoresResponse.Builder removeVolumeRestores(int index)
       The list of VolumeRestores matching the given criteria.
       
      repeated .google.cloud.gkebackup.v1.VolumeRestore volume_restores = 1;
    • getVolumeRestoresBuilder

      public VolumeRestore.Builder getVolumeRestoresBuilder(int index)
       The list of VolumeRestores matching the given criteria.
       
      repeated .google.cloud.gkebackup.v1.VolumeRestore volume_restores = 1;
    • getVolumeRestoresOrBuilder

      public VolumeRestoreOrBuilder getVolumeRestoresOrBuilder(int index)
       The list of VolumeRestores matching the given criteria.
       
      repeated .google.cloud.gkebackup.v1.VolumeRestore volume_restores = 1;
      Specified by:
      getVolumeRestoresOrBuilder in interface ListVolumeRestoresResponseOrBuilder
    • getVolumeRestoresOrBuilderList

      public List<? extends VolumeRestoreOrBuilder> getVolumeRestoresOrBuilderList()
       The list of VolumeRestores matching the given criteria.
       
      repeated .google.cloud.gkebackup.v1.VolumeRestore volume_restores = 1;
      Specified by:
      getVolumeRestoresOrBuilderList in interface ListVolumeRestoresResponseOrBuilder
    • addVolumeRestoresBuilder

      public VolumeRestore.Builder addVolumeRestoresBuilder()
       The list of VolumeRestores matching the given criteria.
       
      repeated .google.cloud.gkebackup.v1.VolumeRestore volume_restores = 1;
    • addVolumeRestoresBuilder

      public VolumeRestore.Builder addVolumeRestoresBuilder(int index)
       The list of VolumeRestores matching the given criteria.
       
      repeated .google.cloud.gkebackup.v1.VolumeRestore volume_restores = 1;
    • getVolumeRestoresBuilderList

      public List<VolumeRestore.Builder> getVolumeRestoresBuilderList()
       The list of VolumeRestores matching the given criteria.
       
      repeated .google.cloud.gkebackup.v1.VolumeRestore volume_restores = 1;
    • getNextPageToken

      public String getNextPageToken()
       A token which may be sent as
       [page_token][google.cloud.gkebackup.v1.ListVolumeRestoresRequest.page_token]
       in a subsequent `ListVolumeRestores` call to retrieve the next page of
       results. If this field is omitted or empty, then there are no more results
       to return.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ListVolumeRestoresResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       A token which may be sent as
       [page_token][google.cloud.gkebackup.v1.ListVolumeRestoresRequest.page_token]
       in a subsequent `ListVolumeRestores` call to retrieve the next page of
       results. If this field is omitted or empty, then there are no more results
       to return.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface ListVolumeRestoresResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListVolumeRestoresResponse.Builder setNextPageToken(String value)
       A token which may be sent as
       [page_token][google.cloud.gkebackup.v1.ListVolumeRestoresRequest.page_token]
       in a subsequent `ListVolumeRestores` call to retrieve the next page of
       results. If this field is omitted or empty, then there are no more results
       to return.
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public ListVolumeRestoresResponse.Builder clearNextPageToken()
       A token which may be sent as
       [page_token][google.cloud.gkebackup.v1.ListVolumeRestoresRequest.page_token]
       in a subsequent `ListVolumeRestores` call to retrieve the next page of
       results. If this field is omitted or empty, then there are no more results
       to return.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListVolumeRestoresResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       A token which may be sent as
       [page_token][google.cloud.gkebackup.v1.ListVolumeRestoresRequest.page_token]
       in a subsequent `ListVolumeRestores` call to retrieve the next page of
       results. If this field is omitted or empty, then there are no more results
       to return.
       
      string next_page_token = 2;
      Parameters:
      value - The bytes for nextPageToken to set.
      Returns:
      This builder for chaining.