Class ListInstancePartitionOperationsResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<ListInstancePartitionOperationsResponse.Builder>
com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, ListInstancePartitionOperationsResponseOrBuilder, Cloneable
Enclosing class:
ListInstancePartitionOperationsResponse

public static final class ListInstancePartitionOperationsResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListInstancePartitionOperationsResponse.Builder> implements ListInstancePartitionOperationsResponseOrBuilder
 The response for
 [ListInstancePartitionOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstancePartitionOperations].
 
Protobuf type google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse
  • 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<ListInstancePartitionOperationsResponse.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<ListInstancePartitionOperationsResponse.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<ListInstancePartitionOperationsResponse.Builder>
    • getDefaultInstanceForType

      public ListInstancePartitionOperationsResponse 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

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

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

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

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

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

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

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

      public ListInstancePartitionOperationsResponse.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<ListInstancePartitionOperationsResponse.Builder>
      Throws:
      IOException
    • getOperationsList

      public List<com.google.longrunning.Operation> getOperationsList()
       The list of matching instance partition long-running operations. Each
       operation's name will be
       prefixed by the instance partition's name. The operation's
       metadata field type
       `metadata.type_url` describes the type of the metadata.
       
      repeated .google.longrunning.Operation operations = 1;
      Specified by:
      getOperationsList in interface ListInstancePartitionOperationsResponseOrBuilder
    • getOperationsCount

      public int getOperationsCount()
       The list of matching instance partition long-running operations. Each
       operation's name will be
       prefixed by the instance partition's name. The operation's
       metadata field type
       `metadata.type_url` describes the type of the metadata.
       
      repeated .google.longrunning.Operation operations = 1;
      Specified by:
      getOperationsCount in interface ListInstancePartitionOperationsResponseOrBuilder
    • getOperations

      public com.google.longrunning.Operation getOperations(int index)
       The list of matching instance partition long-running operations. Each
       operation's name will be
       prefixed by the instance partition's name. The operation's
       metadata field type
       `metadata.type_url` describes the type of the metadata.
       
      repeated .google.longrunning.Operation operations = 1;
      Specified by:
      getOperations in interface ListInstancePartitionOperationsResponseOrBuilder
    • setOperations

      public ListInstancePartitionOperationsResponse.Builder setOperations(int index, com.google.longrunning.Operation value)
       The list of matching instance partition long-running operations. Each
       operation's name will be
       prefixed by the instance partition's name. The operation's
       metadata field type
       `metadata.type_url` describes the type of the metadata.
       
      repeated .google.longrunning.Operation operations = 1;
    • setOperations

      public ListInstancePartitionOperationsResponse.Builder setOperations(int index, com.google.longrunning.Operation.Builder builderForValue)
       The list of matching instance partition long-running operations. Each
       operation's name will be
       prefixed by the instance partition's name. The operation's
       metadata field type
       `metadata.type_url` describes the type of the metadata.
       
      repeated .google.longrunning.Operation operations = 1;
    • addOperations

      public ListInstancePartitionOperationsResponse.Builder addOperations(com.google.longrunning.Operation value)
       The list of matching instance partition long-running operations. Each
       operation's name will be
       prefixed by the instance partition's name. The operation's
       metadata field type
       `metadata.type_url` describes the type of the metadata.
       
      repeated .google.longrunning.Operation operations = 1;
    • addOperations

      public ListInstancePartitionOperationsResponse.Builder addOperations(int index, com.google.longrunning.Operation value)
       The list of matching instance partition long-running operations. Each
       operation's name will be
       prefixed by the instance partition's name. The operation's
       metadata field type
       `metadata.type_url` describes the type of the metadata.
       
      repeated .google.longrunning.Operation operations = 1;
    • addOperations

      public ListInstancePartitionOperationsResponse.Builder addOperations(com.google.longrunning.Operation.Builder builderForValue)
       The list of matching instance partition long-running operations. Each
       operation's name will be
       prefixed by the instance partition's name. The operation's
       metadata field type
       `metadata.type_url` describes the type of the metadata.
       
      repeated .google.longrunning.Operation operations = 1;
    • addOperations

      public ListInstancePartitionOperationsResponse.Builder addOperations(int index, com.google.longrunning.Operation.Builder builderForValue)
       The list of matching instance partition long-running operations. Each
       operation's name will be
       prefixed by the instance partition's name. The operation's
       metadata field type
       `metadata.type_url` describes the type of the metadata.
       
      repeated .google.longrunning.Operation operations = 1;
    • addAllOperations

      public ListInstancePartitionOperationsResponse.Builder addAllOperations(Iterable<? extends com.google.longrunning.Operation> values)
       The list of matching instance partition long-running operations. Each
       operation's name will be
       prefixed by the instance partition's name. The operation's
       metadata field type
       `metadata.type_url` describes the type of the metadata.
       
      repeated .google.longrunning.Operation operations = 1;
    • clearOperations

       The list of matching instance partition long-running operations. Each
       operation's name will be
       prefixed by the instance partition's name. The operation's
       metadata field type
       `metadata.type_url` describes the type of the metadata.
       
      repeated .google.longrunning.Operation operations = 1;
    • removeOperations

      public ListInstancePartitionOperationsResponse.Builder removeOperations(int index)
       The list of matching instance partition long-running operations. Each
       operation's name will be
       prefixed by the instance partition's name. The operation's
       metadata field type
       `metadata.type_url` describes the type of the metadata.
       
      repeated .google.longrunning.Operation operations = 1;
    • getOperationsBuilder

      public com.google.longrunning.Operation.Builder getOperationsBuilder(int index)
       The list of matching instance partition long-running operations. Each
       operation's name will be
       prefixed by the instance partition's name. The operation's
       metadata field type
       `metadata.type_url` describes the type of the metadata.
       
      repeated .google.longrunning.Operation operations = 1;
    • getOperationsOrBuilder

      public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(int index)
       The list of matching instance partition long-running operations. Each
       operation's name will be
       prefixed by the instance partition's name. The operation's
       metadata field type
       `metadata.type_url` describes the type of the metadata.
       
      repeated .google.longrunning.Operation operations = 1;
      Specified by:
      getOperationsOrBuilder in interface ListInstancePartitionOperationsResponseOrBuilder
    • getOperationsOrBuilderList

      public List<? extends com.google.longrunning.OperationOrBuilder> getOperationsOrBuilderList()
       The list of matching instance partition long-running operations. Each
       operation's name will be
       prefixed by the instance partition's name. The operation's
       metadata field type
       `metadata.type_url` describes the type of the metadata.
       
      repeated .google.longrunning.Operation operations = 1;
      Specified by:
      getOperationsOrBuilderList in interface ListInstancePartitionOperationsResponseOrBuilder
    • addOperationsBuilder

      public com.google.longrunning.Operation.Builder addOperationsBuilder()
       The list of matching instance partition long-running operations. Each
       operation's name will be
       prefixed by the instance partition's name. The operation's
       metadata field type
       `metadata.type_url` describes the type of the metadata.
       
      repeated .google.longrunning.Operation operations = 1;
    • addOperationsBuilder

      public com.google.longrunning.Operation.Builder addOperationsBuilder(int index)
       The list of matching instance partition long-running operations. Each
       operation's name will be
       prefixed by the instance partition's name. The operation's
       metadata field type
       `metadata.type_url` describes the type of the metadata.
       
      repeated .google.longrunning.Operation operations = 1;
    • getOperationsBuilderList

      public List<com.google.longrunning.Operation.Builder> getOperationsBuilderList()
       The list of matching instance partition long-running operations. Each
       operation's name will be
       prefixed by the instance partition's name. The operation's
       metadata field type
       `metadata.type_url` describes the type of the metadata.
       
      repeated .google.longrunning.Operation operations = 1;
    • getNextPageToken

      public String getNextPageToken()
       `next_page_token` can be sent in a subsequent
       [ListInstancePartitionOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstancePartitionOperations]
       call to fetch more of the matching metadata.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ListInstancePartitionOperationsResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       `next_page_token` can be sent in a subsequent
       [ListInstancePartitionOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstancePartitionOperations]
       call to fetch more of the matching metadata.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface ListInstancePartitionOperationsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

       `next_page_token` can be sent in a subsequent
       [ListInstancePartitionOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstancePartitionOperations]
       call to fetch more of the matching metadata.
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

       `next_page_token` can be sent in a subsequent
       [ListInstancePartitionOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstancePartitionOperations]
       call to fetch more of the matching metadata.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListInstancePartitionOperationsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       `next_page_token` can be sent in a subsequent
       [ListInstancePartitionOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstancePartitionOperations]
       call to fetch more of the matching metadata.
       
      string next_page_token = 2;
      Parameters:
      value - The bytes for nextPageToken to set.
      Returns:
      This builder for chaining.
    • getUnreachableInstancePartitionsList

      public com.google.protobuf.ProtocolStringList getUnreachableInstancePartitionsList()
       The list of unreachable instance partitions.
       It includes the names of instance partitions whose operation metadata could
       not be retrieved within
       [instance_partition_deadline][google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest.instance_partition_deadline].
       
      repeated string unreachable_instance_partitions = 3;
      Specified by:
      getUnreachableInstancePartitionsList in interface ListInstancePartitionOperationsResponseOrBuilder
      Returns:
      A list containing the unreachableInstancePartitions.
    • getUnreachableInstancePartitionsCount

      public int getUnreachableInstancePartitionsCount()
       The list of unreachable instance partitions.
       It includes the names of instance partitions whose operation metadata could
       not be retrieved within
       [instance_partition_deadline][google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest.instance_partition_deadline].
       
      repeated string unreachable_instance_partitions = 3;
      Specified by:
      getUnreachableInstancePartitionsCount in interface ListInstancePartitionOperationsResponseOrBuilder
      Returns:
      The count of unreachableInstancePartitions.
    • getUnreachableInstancePartitions

      public String getUnreachableInstancePartitions(int index)
       The list of unreachable instance partitions.
       It includes the names of instance partitions whose operation metadata could
       not be retrieved within
       [instance_partition_deadline][google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest.instance_partition_deadline].
       
      repeated string unreachable_instance_partitions = 3;
      Specified by:
      getUnreachableInstancePartitions in interface ListInstancePartitionOperationsResponseOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The unreachableInstancePartitions at the given index.
    • getUnreachableInstancePartitionsBytes

      public com.google.protobuf.ByteString getUnreachableInstancePartitionsBytes(int index)
       The list of unreachable instance partitions.
       It includes the names of instance partitions whose operation metadata could
       not be retrieved within
       [instance_partition_deadline][google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest.instance_partition_deadline].
       
      repeated string unreachable_instance_partitions = 3;
      Specified by:
      getUnreachableInstancePartitionsBytes in interface ListInstancePartitionOperationsResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the unreachableInstancePartitions at the given index.
    • setUnreachableInstancePartitions

      public ListInstancePartitionOperationsResponse.Builder setUnreachableInstancePartitions(int index, String value)
       The list of unreachable instance partitions.
       It includes the names of instance partitions whose operation metadata could
       not be retrieved within
       [instance_partition_deadline][google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest.instance_partition_deadline].
       
      repeated string unreachable_instance_partitions = 3;
      Parameters:
      index - The index to set the value at.
      value - The unreachableInstancePartitions to set.
      Returns:
      This builder for chaining.
    • addUnreachableInstancePartitions

      public ListInstancePartitionOperationsResponse.Builder addUnreachableInstancePartitions(String value)
       The list of unreachable instance partitions.
       It includes the names of instance partitions whose operation metadata could
       not be retrieved within
       [instance_partition_deadline][google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest.instance_partition_deadline].
       
      repeated string unreachable_instance_partitions = 3;
      Parameters:
      value - The unreachableInstancePartitions to add.
      Returns:
      This builder for chaining.
    • addAllUnreachableInstancePartitions

      public ListInstancePartitionOperationsResponse.Builder addAllUnreachableInstancePartitions(Iterable<String> values)
       The list of unreachable instance partitions.
       It includes the names of instance partitions whose operation metadata could
       not be retrieved within
       [instance_partition_deadline][google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest.instance_partition_deadline].
       
      repeated string unreachable_instance_partitions = 3;
      Parameters:
      values - The unreachableInstancePartitions to add.
      Returns:
      This builder for chaining.
    • clearUnreachableInstancePartitions

      public ListInstancePartitionOperationsResponse.Builder clearUnreachableInstancePartitions()
       The list of unreachable instance partitions.
       It includes the names of instance partitions whose operation metadata could
       not be retrieved within
       [instance_partition_deadline][google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest.instance_partition_deadline].
       
      repeated string unreachable_instance_partitions = 3;
      Returns:
      This builder for chaining.
    • addUnreachableInstancePartitionsBytes

      public ListInstancePartitionOperationsResponse.Builder addUnreachableInstancePartitionsBytes(com.google.protobuf.ByteString value)
       The list of unreachable instance partitions.
       It includes the names of instance partitions whose operation metadata could
       not be retrieved within
       [instance_partition_deadline][google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest.instance_partition_deadline].
       
      repeated string unreachable_instance_partitions = 3;
      Parameters:
      value - The bytes of the unreachableInstancePartitions to add.
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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