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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ListInstancePartitionOperationsResponse.BuilderStatic 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 |
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. |