Class ListBackupPlanBindingsResponse.Builder

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

public static final class ListBackupPlanBindingsResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListBackupPlanBindingsResponse.Builder> implements ListBackupPlanBindingsResponseOrBuilder
 Response message for ListBackupPlanBindings.
 
Protobuf type google.cloud.gkebackup.v1.ListBackupPlanBindingsResponse
  • 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<ListBackupPlanBindingsResponse.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<ListBackupPlanBindingsResponse.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<ListBackupPlanBindingsResponse.Builder>
    • getDefaultInstanceForType

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

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

      public ListBackupPlanBindingsResponse.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<ListBackupPlanBindingsResponse.Builder>
      Throws:
      IOException
    • getBackupPlanBindingsList

      public List<BackupPlanBinding> getBackupPlanBindingsList()
       The list of BackupPlanBindings matching the given criteria.
       
      repeated .google.cloud.gkebackup.v1.BackupPlanBinding backup_plan_bindings = 1;
      Specified by:
      getBackupPlanBindingsList in interface ListBackupPlanBindingsResponseOrBuilder
    • getBackupPlanBindingsCount

      public int getBackupPlanBindingsCount()
       The list of BackupPlanBindings matching the given criteria.
       
      repeated .google.cloud.gkebackup.v1.BackupPlanBinding backup_plan_bindings = 1;
      Specified by:
      getBackupPlanBindingsCount in interface ListBackupPlanBindingsResponseOrBuilder
    • getBackupPlanBindings

      public BackupPlanBinding getBackupPlanBindings(int index)
       The list of BackupPlanBindings matching the given criteria.
       
      repeated .google.cloud.gkebackup.v1.BackupPlanBinding backup_plan_bindings = 1;
      Specified by:
      getBackupPlanBindings in interface ListBackupPlanBindingsResponseOrBuilder
    • setBackupPlanBindings

      public ListBackupPlanBindingsResponse.Builder setBackupPlanBindings(int index, BackupPlanBinding value)
       The list of BackupPlanBindings matching the given criteria.
       
      repeated .google.cloud.gkebackup.v1.BackupPlanBinding backup_plan_bindings = 1;
    • setBackupPlanBindings

      public ListBackupPlanBindingsResponse.Builder setBackupPlanBindings(int index, BackupPlanBinding.Builder builderForValue)
       The list of BackupPlanBindings matching the given criteria.
       
      repeated .google.cloud.gkebackup.v1.BackupPlanBinding backup_plan_bindings = 1;
    • addBackupPlanBindings

      public ListBackupPlanBindingsResponse.Builder addBackupPlanBindings(BackupPlanBinding value)
       The list of BackupPlanBindings matching the given criteria.
       
      repeated .google.cloud.gkebackup.v1.BackupPlanBinding backup_plan_bindings = 1;
    • addBackupPlanBindings

      public ListBackupPlanBindingsResponse.Builder addBackupPlanBindings(int index, BackupPlanBinding value)
       The list of BackupPlanBindings matching the given criteria.
       
      repeated .google.cloud.gkebackup.v1.BackupPlanBinding backup_plan_bindings = 1;
    • addBackupPlanBindings

      public ListBackupPlanBindingsResponse.Builder addBackupPlanBindings(BackupPlanBinding.Builder builderForValue)
       The list of BackupPlanBindings matching the given criteria.
       
      repeated .google.cloud.gkebackup.v1.BackupPlanBinding backup_plan_bindings = 1;
    • addBackupPlanBindings

      public ListBackupPlanBindingsResponse.Builder addBackupPlanBindings(int index, BackupPlanBinding.Builder builderForValue)
       The list of BackupPlanBindings matching the given criteria.
       
      repeated .google.cloud.gkebackup.v1.BackupPlanBinding backup_plan_bindings = 1;
    • addAllBackupPlanBindings

      public ListBackupPlanBindingsResponse.Builder addAllBackupPlanBindings(Iterable<? extends BackupPlanBinding> values)
       The list of BackupPlanBindings matching the given criteria.
       
      repeated .google.cloud.gkebackup.v1.BackupPlanBinding backup_plan_bindings = 1;
    • clearBackupPlanBindings

      public ListBackupPlanBindingsResponse.Builder clearBackupPlanBindings()
       The list of BackupPlanBindings matching the given criteria.
       
      repeated .google.cloud.gkebackup.v1.BackupPlanBinding backup_plan_bindings = 1;
    • removeBackupPlanBindings

      public ListBackupPlanBindingsResponse.Builder removeBackupPlanBindings(int index)
       The list of BackupPlanBindings matching the given criteria.
       
      repeated .google.cloud.gkebackup.v1.BackupPlanBinding backup_plan_bindings = 1;
    • getBackupPlanBindingsBuilder

      public BackupPlanBinding.Builder getBackupPlanBindingsBuilder(int index)
       The list of BackupPlanBindings matching the given criteria.
       
      repeated .google.cloud.gkebackup.v1.BackupPlanBinding backup_plan_bindings = 1;
    • getBackupPlanBindingsOrBuilder

      public BackupPlanBindingOrBuilder getBackupPlanBindingsOrBuilder(int index)
       The list of BackupPlanBindings matching the given criteria.
       
      repeated .google.cloud.gkebackup.v1.BackupPlanBinding backup_plan_bindings = 1;
      Specified by:
      getBackupPlanBindingsOrBuilder in interface ListBackupPlanBindingsResponseOrBuilder
    • getBackupPlanBindingsOrBuilderList

      public List<? extends BackupPlanBindingOrBuilder> getBackupPlanBindingsOrBuilderList()
       The list of BackupPlanBindings matching the given criteria.
       
      repeated .google.cloud.gkebackup.v1.BackupPlanBinding backup_plan_bindings = 1;
      Specified by:
      getBackupPlanBindingsOrBuilderList in interface ListBackupPlanBindingsResponseOrBuilder
    • addBackupPlanBindingsBuilder

      public BackupPlanBinding.Builder addBackupPlanBindingsBuilder()
       The list of BackupPlanBindings matching the given criteria.
       
      repeated .google.cloud.gkebackup.v1.BackupPlanBinding backup_plan_bindings = 1;
    • addBackupPlanBindingsBuilder

      public BackupPlanBinding.Builder addBackupPlanBindingsBuilder(int index)
       The list of BackupPlanBindings matching the given criteria.
       
      repeated .google.cloud.gkebackup.v1.BackupPlanBinding backup_plan_bindings = 1;
    • getBackupPlanBindingsBuilderList

      public List<BackupPlanBinding.Builder> getBackupPlanBindingsBuilderList()
       The list of BackupPlanBindings matching the given criteria.
       
      repeated .google.cloud.gkebackup.v1.BackupPlanBinding backup_plan_bindings = 1;
    • getNextPageToken

      public String getNextPageToken()
       A token which may be sent as
       [page_token][google.cloud.gkebackup.v1.ListBackupPlanBindingsRequest.page_token]
       in a subsequent `ListBackupPlanBindingss` 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 ListBackupPlanBindingsResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       A token which may be sent as
       [page_token][google.cloud.gkebackup.v1.ListBackupPlanBindingsRequest.page_token]
       in a subsequent `ListBackupPlanBindingss` 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 ListBackupPlanBindingsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListBackupPlanBindingsResponse.Builder setNextPageToken(String value)
       A token which may be sent as
       [page_token][google.cloud.gkebackup.v1.ListBackupPlanBindingsRequest.page_token]
       in a subsequent `ListBackupPlanBindingss` 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 ListBackupPlanBindingsResponse.Builder clearNextPageToken()
       A token which may be sent as
       [page_token][google.cloud.gkebackup.v1.ListBackupPlanBindingsRequest.page_token]
       in a subsequent `ListBackupPlanBindingss` 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 ListBackupPlanBindingsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       A token which may be sent as
       [page_token][google.cloud.gkebackup.v1.ListBackupPlanBindingsRequest.page_token]
       in a subsequent `ListBackupPlanBindingss` 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.
    • getUnreachableList

      public com.google.protobuf.ProtocolStringList getUnreachableList()
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableList in interface ListBackupPlanBindingsResponseOrBuilder
      Returns:
      A list containing the unreachable.
    • getUnreachableCount

      public int getUnreachableCount()
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableCount in interface ListBackupPlanBindingsResponseOrBuilder
      Returns:
      The count of unreachable.
    • getUnreachable

      public String getUnreachable(int index)
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachable in interface ListBackupPlanBindingsResponseOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The unreachable at the given index.
    • getUnreachableBytes

      public com.google.protobuf.ByteString getUnreachableBytes(int index)
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Specified by:
      getUnreachableBytes in interface ListBackupPlanBindingsResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the unreachable at the given index.
    • setUnreachable

      public ListBackupPlanBindingsResponse.Builder setUnreachable(int index, String value)
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Parameters:
      index - The index to set the value at.
      value - The unreachable to set.
      Returns:
      This builder for chaining.
    • addUnreachable

      public ListBackupPlanBindingsResponse.Builder addUnreachable(String value)
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Parameters:
      value - The unreachable to add.
      Returns:
      This builder for chaining.
    • addAllUnreachable

      public ListBackupPlanBindingsResponse.Builder addAllUnreachable(Iterable<String> values)
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Parameters:
      values - The unreachable to add.
      Returns:
      This builder for chaining.
    • clearUnreachable

      public ListBackupPlanBindingsResponse.Builder clearUnreachable()
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Returns:
      This builder for chaining.
    • addUnreachableBytes

      public ListBackupPlanBindingsResponse.Builder addUnreachableBytes(com.google.protobuf.ByteString value)
       Locations that could not be reached.
       
      repeated string unreachable = 3;
      Parameters:
      value - The bytes of the unreachable to add.
      Returns:
      This builder for chaining.