Class ListInstancesResponse.Builder (6.80.1)

public static final class ListInstancesResponse.Builder extends GeneratedMessageV3.Builder<ListInstancesResponse.Builder> implements ListInstancesResponseOrBuilder

The response for ListInstances.

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

Static Methods

getDescriptor()

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

Methods

addAllInstances(Iterable<? extends Instance> values)

public ListInstancesResponse.Builder addAllInstances(Iterable<? extends Instance> values)

The list of requested instances.

repeated .google.spanner.admin.instance.v1.Instance instances = 1;

Parameter
Name Description
values Iterable<? extends com.google.spanner.admin.instance.v1.Instance>
Returns
Type Description
ListInstancesResponse.Builder

addAllUnreachable(Iterable<String> values)

public ListInstancesResponse.Builder addAllUnreachable(Iterable<String> values)

The list of unreachable instances. It includes the names of instances whose metadata could not be retrieved within instance_deadline.

repeated string unreachable = 3;

Parameter
Name Des