Class ListRestorePlanBindingsResponse.Builder

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

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

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

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

      public ListRestorePlanBindingsResponse.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<ListRestorePlanBindingsResponse.Builder>
      Throws:
      IOException
    • getRestorePlanBindingsList

      public List<RestorePlanBinding> getRestorePlanBindingsList()
       The list of RestorePlanBindings matching the given criteria.
       
      repeated .google.cloud.gkebackup.v1.RestorePlanBinding restore_plan_bindings = 1;
      Specified by:
      getRestorePlanBindingsList in interface ListRestorePlanBindingsResponseOrBuilder
    • getRestorePlanBindingsCount

      public int getRestorePlanBindingsCount()
       The list of RestorePlanBindings matching the given criteria.
       
      repeated .google.cloud.gkebackup.v1.RestorePlanBinding restore_plan_bindings = 1;
      Specified by:
      getRestorePlanBindingsCount in interface ListRestorePlanBindingsResponseOrBuilder
    • getRestorePlanBindings

      public RestorePlanBinding getRestorePlanBindings(int index)
       The list of RestorePlanBindings matching the given criteria.
       
      repeated .google.cloud.gkebackup.v1.RestorePlanBinding restore_plan_bindings = 1;
      Specified by:
      getRestorePlanBindings in interface ListRestorePlanBindingsResponseOrBuilder
    • setRestorePlanBindings

      public ListRestorePlanBindingsResponse.Builder setRestorePlanBindings(int index, RestorePlanBinding value)
       The list of RestorePlanBindings matching the given criteria.
       
      repeated .google.cloud.gkebackup.v1.RestorePlanBinding restore_plan_bindings = 1;
    • setRestorePlanBindings

      public ListRestorePlanBindingsResponse.Builder setRestorePlanBindings(int index, RestorePlanBinding.Builder builderForValue)
       The list of RestorePlanBindings matching the given criteria.
       
      repeated .google.cloud.gkebackup.v1.RestorePlanBinding restore_plan_bindings = 1;
    • addRestorePlanBindings

      public ListRestorePlanBindingsResponse.Builder addRestorePlanBindings(RestorePlanBinding value)
       The list of RestorePlanBindings matching the given criteria.
       
      repeated .google.cloud.gkebackup.v1.RestorePlanBinding restore_plan_bindings = 1;
    • addRestorePlanBindings

      public ListRestorePlanBindingsResponse.Builder addRestorePlanBindings(int index, RestorePlanBinding value)
       The list of RestorePlanBindings matching the given criteria.
       
      repeated .google.cloud.gkebackup.v1.RestorePlanBinding restore_plan_bindings = 1;
    • addRestorePlanBindings

      public ListRestorePlanBindingsResponse.Builder addRestorePlanBindings(RestorePlanBinding.Builder builderForValue)
       The list of RestorePlanBindings matching the given criteria.
       
      repeated .google.cloud.gkebackup.v1.RestorePlanBinding restore_plan_bindings = 1;
    • addRestorePlanBindings

      public ListRestorePlanBindingsResponse.Builder addRestorePlanBindings(int index, RestorePlanBinding.Builder builderForValue)
       The list of RestorePlanBindings matching the given criteria.
       
      repeated .google.cloud.gkebackup.v1.RestorePlanBinding restore_plan_bindings = 1;
    • addAllRestorePlanBindings

      public ListRestorePlanBindingsResponse.Builder addAllRestorePlanBindings(Iterable<? extends RestorePlanBinding> values)
       The list of RestorePlanBindings matching the given criteria.
       
      repeated .google.cloud.gkebackup.v1.RestorePlanBinding restore_plan_bindings = 1;
    • clearRestorePlanBindings

      public ListRestorePlanBindingsResponse.Builder clearRestorePlanBindings()
       The list of RestorePlanBindings matching the given criteria.
       
      repeated .google.cloud.gkebackup.v1.RestorePlanBinding restore_plan_bindings = 1;
    • removeRestorePlanBindings

      public ListRestorePlanBindingsResponse.Builder removeRestorePlanBindings(int index)
       The list of RestorePlanBindings matching the given criteria.
       
      repeated .google.cloud.gkebackup.v1.RestorePlanBinding restore_plan_bindings = 1;
    • getRestorePlanBindingsBuilder

      public RestorePlanBinding.Builder getRestorePlanBindingsBuilder(int index)
       The list of RestorePlanBindings matching the given criteria.
       
      repeated .google.cloud.gkebackup.v1.RestorePlanBinding restore_plan_bindings = 1;
    • getRestorePlanBindingsOrBuilder

      public RestorePlanBindingOrBuilder getRestorePlanBindingsOrBuilder(int index)
       The list of RestorePlanBindings matching the given criteria.
       
      repeated .google.cloud.gkebackup.v1.RestorePlanBinding restore_plan_bindings = 1;
      Specified by:
      getRestorePlanBindingsOrBuilder in interface ListRestorePlanBindingsResponseOrBuilder
    • getRestorePlanBindingsOrBuilderList

      public List<? extends RestorePlanBindingOrBuilder> getRestorePlanBindingsOrBuilderList()
       The list of RestorePlanBindings matching the given criteria.
       
      repeated .google.cloud.gkebackup.v1.RestorePlanBinding restore_plan_bindings = 1;
      Specified by:
      getRestorePlanBindingsOrBuilderList in interface ListRestorePlanBindingsResponseOrBuilder
    • addRestorePlanBindingsBuilder

      public RestorePlanBinding.Builder addRestorePlanBindingsBuilder()
       The list of RestorePlanBindings matching the given criteria.
       
      repeated .google.cloud.gkebackup.v1.RestorePlanBinding restore_plan_bindings = 1;
    • addRestorePlanBindingsBuilder

      public RestorePlanBinding.Builder addRestorePlanBindingsBuilder(int index)
       The list of RestorePlanBindings matching the given criteria.
       
      repeated .google.cloud.gkebackup.v1.RestorePlanBinding restore_plan_bindings = 1;
    • getRestorePlanBindingsBuilderList

      public List<RestorePlanBinding.Builder> getRestorePlanBindingsBuilderList()
       The list of RestorePlanBindings matching the given criteria.
       
      repeated .google.cloud.gkebackup.v1.RestorePlanBinding restore_plan_bindings = 1;
    • getNextPageToken

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

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

      public ListRestorePlanBindingsResponse.Builder setNextPageToken(String value)
       A token which may be sent as
       [page_token][google.cloud.gkebackup.v1.ListRestorePlanBindingsRequest.page_token]
       in a subsequent `ListRestorePlanBindings` 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 ListRestorePlanBindingsResponse.Builder clearNextPageToken()
       A token which may be sent as
       [page_token][google.cloud.gkebackup.v1.ListRestorePlanBindingsRequest.page_token]
       in a subsequent `ListRestorePlanBindings` 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 ListRestorePlanBindingsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       A token which may be sent as
       [page_token][google.cloud.gkebackup.v1.ListRestorePlanBindingsRequest.page_token]
       in a subsequent `ListRestorePlanBindings` 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()
       Unordered list. Locations that could not be reached.
       
      repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];
      Specified by:
      getUnreachableList in interface ListRestorePlanBindingsResponseOrBuilder
      Returns:
      A list containing the unreachable.
    • getUnreachableCount

      public int getUnreachableCount()
       Unordered list. Locations that could not be reached.
       
      repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];
      Specified by:
      getUnreachableCount in interface ListRestorePlanBindingsResponseOrBuilder
      Returns:
      The count of unreachable.
    • getUnreachable

      public String getUnreachable(int index)
       Unordered list. Locations that could not be reached.
       
      repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];
      Specified by:
      getUnreachable in interface ListRestorePlanBindingsResponseOrBuilder
      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)
       Unordered list. Locations that could not be reached.
       
      repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];
      Specified by:
      getUnreachableBytes in interface ListRestorePlanBindingsResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the unreachable at the given index.
    • setUnreachable

      public ListRestorePlanBindingsResponse.Builder setUnreachable(int index, String value)
       Unordered list. Locations that could not be reached.
       
      repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];
      Parameters:
      index - The index to set the value at.
      value - The unreachable to set.
      Returns:
      This builder for chaining.
    • addUnreachable

      public ListRestorePlanBindingsResponse.Builder addUnreachable(String value)
       Unordered list. Locations that could not be reached.
       
      repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];
      Parameters:
      value - The unreachable to add.
      Returns:
      This builder for chaining.
    • addAllUnreachable

      public ListRestorePlanBindingsResponse.Builder addAllUnreachable(Iterable<String> values)
       Unordered list. Locations that could not be reached.
       
      repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];
      Parameters:
      values - The unreachable to add.
      Returns:
      This builder for chaining.
    • clearUnreachable

      public ListRestorePlanBindingsResponse.Builder clearUnreachable()
       Unordered list. Locations that could not be reached.
       
      repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];
      Returns:
      This builder for chaining.
    • addUnreachableBytes

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