Class ListInstancePartitionOperationsResponse.Builder (6.68.0)

public static final class ListInstancePartitionOperationsResponse.Builder extends GeneratedMessageV3.Builder<ListInstancePartitionOperationsResponse.Builder> implements ListInstancePartitionOperationsResponseOrBuilder

The response for ListInstancePartitionOperations.

Protobuf type google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllOperations(Iterable<? extends Operation> values)

public ListInstancePartitionOperationsResponse.Builder addAllOperations(Iterable<? extends 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;

Parameter
Name Description
values Iterable<? extends com.google.longrunning.Operation>
Returns
Type Description
ListInstancePartitionOperationsResponse.Builder

addAllUnreachableInstancePartitions(Iterable<String> values)

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.

repeated string unreachable_instance_partitions = 3;

Parameter
Name Description
values Iterable<String>

The unreachableInstancePartitions to add.

Returns
Type Description
ListInstancePartitionOperationsResponse.Builder

This builder for chaining.

addOperations(Operation value)

public ListInstancePartitionOperationsResponse.Builder addOperations(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;

Parameter
Name Description
value Operation
Returns
Type Description
ListInstancePartitionOperationsResponse.Builder

addOperations(Operation.Builder builderForValue)

public ListInstancePartitionOperationsResponse.Builder addOperations(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;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ListInstancePartitionOperationsResponse.Builder

addOperations(int index, Operation value)

public ListInstancePartitionOperationsResponse.Builder addOperations(int index, 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;

Parameters
Name Description
index int
value Operation
Returns
Type Description
ListInstancePartitionOperationsResponse.Builder

addOperations(int index, Operation.Builder builderForValue)

public ListInstancePartitionOperationsResponse.Builder addOperations(int index, 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;

Parameters
Name Description
index int
builderForValue Builder
Returns
Type Description
ListInstancePartitionOperationsResponse.Builder

addOperationsBuilder()

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

Returns
Type Description
Builder

addOperationsBuilder(int index)

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

Parameter
Name Description
index int
Returns
Type Description
Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListInstancePartitionOperationsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListInstancePartitionOperationsResponse.Builder
Overrides

addUnreachableInstancePartitions(String value)

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.

repeated string unreachable_instance_partitions = 3;

Parameter
Name Description
value String

The unreachableInstancePartitions to add.

Returns
Type Description
ListInstancePartitionOperationsResponse.Builder

This builder for chaining.

addUnreachableInstancePartitionsBytes(ByteString value)

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

repeated string unreachable_instance_partitions = 3;

Parameter
Name Description
value ByteString

The bytes of the unreachableInstancePartitions to add.

Returns
Type Description
ListInstancePartitionOperationsResponse.Builder

This builder for chaining.

build()

public ListInstancePartitionOperationsResponse build()
Returns
Type Description
ListInstancePartitionOperationsResponse

buildPartial()

public ListInstancePartitionOperationsResponse buildPartial()
Returns
Type Description
ListInstancePartitionOperationsResponse

clear()

public ListInstancePartitionOperationsResponse.Builder clear()
Returns
Type Description
ListInstancePartitionOperationsResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListInstancePartitionOperationsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListInstancePartitionOperationsResponse.Builder
Overrides

clearNextPageToken()

public ListInstancePartitionOperationsResponse.Builder clearNextPageToken()

next_page_token can be sent in a subsequent ListInstancePartitionOperations call to fetch more of the matching metadata.

string next_page_token = 2;

Returns
Type Description
ListInstancePartitionOperationsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListInstancePartitionOperationsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListInstancePartitionOperationsResponse.Builder
Overrides

clearOperations()

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

Returns
Type Description
ListInstancePartitionOperationsResponse.Builder

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.

repeated string unreachable_instance_partitions = 3;

Returns
Type Description
ListInstancePartitionOperationsResponse.Builder

This builder for chaining.

clone()

public ListInstancePartitionOperationsResponse.Builder clone()
Returns
Type Description
ListInstancePartitionOperationsResponse.Builder
Overrides

getDefaultInstanceForType()

public ListInstancePartitionOperationsResponse getDefaultInstanceForType()
Returns
Type Description
ListInstancePartitionOperationsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

next_page_token can be sent in a subsequent ListInstancePartitionOperations call to fetch more of the matching metadata.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

next_page_token can be sent in a subsequent ListInstancePartitionOperations call to fetch more of the matching metadata.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getOperations(int index)

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

Parameter
Name Description
index int
Returns
Type Description
Operation

getOperationsBuilder(int index)

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

Parameter
Name Description
index int
Returns
Type Description
Builder

getOperationsBuilderList()

public List<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;

Returns
Type Description
List<Builder>

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;

Returns
Type Description
int

getOperationsList()

public List<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;

Returns
Type Description
List<Operation>

getOperationsOrBuilder(int index)

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

Parameter
Name Description
index int
Returns
Type Description
OperationOrBuilder

getOperationsOrBuilderList()

public List<? extends 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;

Returns
Type Description
List<? extends com.google.longrunning.OperationOrBuilder>

getUnreachableInstancePartitions(int index)

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.

repeated string unreachable_instance_partitions = 3;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The unreachableInstancePartitions at the given index.

getUnreachableInstancePartitionsBytes(int index)

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

repeated string unreachable_instance_partitions = 3;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the unreachableInstancePartitions at the given index.

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.

repeated string unreachable_instance_partitions = 3;

Returns
Type Description
int

The count of unreachableInstancePartitions.

getUnreachableInstancePartitionsList()

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

repeated string unreachable_instance_partitions = 3;

Returns
Type Description
ProtocolStringList

A list containing the unreachableInstancePartitions.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListInstancePartitionOperationsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListInstancePartitionOperationsResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListInstancePartitionOperationsResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListInstancePartitionOperationsResponse.Builder
Overrides

mergeFrom(ListInstancePartitionOperationsResponse other)

public ListInstancePartitionOperationsResponse.Builder mergeFrom(ListInstancePartitionOperationsResponse other)
Parameter
Name Description
other ListInstancePartitionOperationsResponse
Returns
Type Description
ListInstancePartitionOperationsResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListInstancePartitionOperationsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListInstancePartitionOperationsResponse.Builder
Overrides

removeOperations(int index)

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;

Parameter
Name Description
index int
Returns
Type Description
ListInstancePartitionOperationsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListInstancePartitionOperationsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListInstancePartitionOperationsResponse.Builder
Overrides

setNextPageToken(String value)

public ListInstancePartitionOperationsResponse.Builder setNextPageToken(String value)

next_page_token can be sent in a subsequent ListInstancePartitionOperations call to fetch more of the matching metadata.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListInstancePartitionOperationsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListInstancePartitionOperationsResponse.Builder setNextPageTokenBytes(ByteString value)

next_page_token can be sent in a subsequent ListInstancePartitionOperations call to fetch more of the matching metadata.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListInstancePartitionOperationsResponse.Builder

This builder for chaining.

setOperations(int index, Operation value)

public ListInstancePartitionOperationsResponse.Builder setOperations(int index, 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;

Parameters
Name Description
index int
value Operation
Returns
Type Description
ListInstancePartitionOperationsResponse.Builder

setOperations(int index, Operation.Builder builderForValue)

public ListInstancePartitionOperationsResponse.Builder setOperations(int index, 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;

Parameters
Name Description
index int
builderForValue Builder
Returns
Type Description
ListInstancePartitionOperationsResponse.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListInstancePartitionOperationsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListInstancePartitionOperationsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListInstancePartitionOperationsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListInstancePartitionOperationsResponse.Builder
Overrides

setUnreachableInstancePartitions(int index, String value)

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.

repeated string unreachable_instance_partitions = 3;

Parameters
Name Description
index int

The index to set the value at.

value String

The unreachableInstancePartitions to set.

Returns
Type Description
ListInstancePartitionOperationsResponse.Builder

This builder for chaining.