Class CloudInstanceResponse.Builder (6.77.0)

public static final class CloudInstanceResponse.Builder extends GeneratedMessageV3.Builder<CloudInstanceResponse.Builder> implements CloudInstanceResponseOrBuilder

CloudInstanceResponse contains results returned by cloud instance related actions.

Protobuf type google.spanner.executor.v1.CloudInstanceResponse

Static Methods

getDescriptor()

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

Methods

addAllListedInstances(Iterable<? extends Instance> values)

public CloudInstanceResponse.Builder addAllListedInstances(Iterable<? extends Instance> values)

List of instances returned by ListCloudInstancesAction.

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

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

addListedInstances(Instance value)

public CloudInstanceResponse.Builder addListedInstances(Instance value)

List of instances returned by ListCloudInstancesAction.

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

Parameter
Name Description
value Instance
Returns
Type Description
CloudInstanceResponse.Builder

addListedInstances(Instance.Builder builderForValue)

public CloudInstanceResponse.Builder addListedInstances(Instance.Builder builderForValue)

List of instances returned by ListCloudInstancesAction.

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

Parameter
Name Description
builderForValue Instance.Builder
Returns
Type Description
CloudInstanceResponse.Builder

addListedInstances(int index, Instance value)

public CloudInstanceResponse.Builder addListedInstances(int index, Instance value)

List of instances returned by ListCloudInstancesAction.

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

Parameters
Name Description
index int
value Instance
Returns
Type Description
CloudInstanceResponse.Builder

addListedInstances(int index, Instance.Builder builderForValue)

public CloudInstanceResponse.Builder addListedInstances(int index, Instance.Builder builderForValue)

List of instances returned by ListCloudInstancesAction.

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

Parameters
Name Description
index int
builderForValue Instance.Builder
Returns
Type Description
CloudInstanceResponse.Builder

addListedInstancesBuilder()

public Instance.Builder addListedInstancesBuilder()

List of instances returned by ListCloudInstancesAction.

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

Returns
Type Description
Instance.Builder

addListedInstancesBuilder(int index)

public Instance.Builder addListedInstancesBuilder(int index)

List of instances returned by ListCloudInstancesAction.

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

Parameter
Name Description
index int
Returns
Type Description
Instance.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CloudInstanceResponse build()
Returns
Type Description
CloudInstanceResponse

buildPartial()

public CloudInstanceResponse buildPartial()
Returns
Type Description
CloudInstanceRe