Class CloudInstanceConfigResponse.Builder (6.74.0)

public static final class CloudInstanceConfigResponse.Builder extends GeneratedMessageV3.Builder<CloudInstanceConfigResponse.Builder> implements CloudInstanceConfigResponseOrBuilder

CloudInstanceConfigResponse contains results returned by cloud instance config related actions.

Protobuf type google.spanner.executor.v1.CloudInstanceConfigResponse

Static Methods

getDescriptor()

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

Methods

addAllListedInstanceConfigs(Iterable<? extends InstanceConfig> values)

public CloudInstanceConfigResponse.Builder addAllListedInstanceConfigs(Iterable<? extends InstanceConfig> values)

List of instance configs returned by ListCloudInstanceConfigsAction.

repeated .google.spanner.admin.instance.v1.InstanceConfig listed_instance_configs = 1;

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

addListedInstanceConfigs(InstanceConfig value)

public CloudInstanceConfigResponse.Builder addListedInstanceConfigs(InstanceConfig value)

List of instance configs returned by ListCloudInstanceConfigsAction.

repeated .google.spanner.admin.instance.v1.InstanceConfig listed_instance_configs = 1;

Parameter
Name Description
value InstanceConfig
Returns
Type Description
CloudInstanceConfigResponse.Builder

addListedInstanceConfigs(InstanceConfig.Builder builderForValue)

public CloudInstanceConfigResponse.Builder addListedInstanceConfigs(InstanceConfig.Builder builderForValue)

List of instance configs returned by ListCloudInstanceConfigsAction.

repeated .google.spanner.admin.instance.v1.InstanceConfig listed_instance_configs = 1;

Parameter
Name Description
builderForValue InstanceConfig.Builder
Returns
Type Description
CloudInstanceConfigResponse.Builder

addListedInstanceConfigs(int index, InstanceConfig value)

public CloudInstanceConfigResponse.Builder addListedInstanceConfigs(int index, InstanceConfig value)

List of instance configs returned by ListCloudInstanceConfigsAction.

repeated .google.spanner.admin.instance.v1.InstanceConfig listed_instance_configs = 1;

Parameters
Name Description
index int
value InstanceConfig
Returns
Type Description
CloudInstanceConfigResponse.Builder

addListedInstanceConfigs(int index, InstanceConfig.Builder builderForValue)

public CloudInstanceConfigResponse.Builder addListedInstanceConfigs(int index, InstanceConfig.Builder builderForValue)

List of instance configs returned by ListCloudInstanceConfigsAction.

repeated .google.spanner.admin.instance.v1.InstanceConfig listed_instance_configs = 1;

Parameters
Name Description
index int
builderForValue InstanceConfig.Builder
Returns
Type Description
CloudInstanceConfigResponse.Builder

addListedInstanceConfigsBuilder()

public InstanceConfig.Builder addListedInstanceConfigsBuilder()

List of instance configs returned by ListCloudInstanceConfigsAction.

repeated .google.spanner.admin.instance.v1.InstanceConfig listed_instance_configs = 1;

Returns
Type Description
InstanceConfig.Builder

addListedInstanceConfigsBuilder(int index)

public InstanceConfig.Builder addListedInstanceConfigsBuilder(int index)

List of instance configs returned by ListCloudInstanceConfigsAction.

repeated .google.spanner.admin.instance.v1.InstanceConfig listed_instance_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
InstanceConfig.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CloudInstanceConfigResponse build()
Returns
Type Description
CloudInstanceConfigResponse

buildPartial()

public CloudInstanceConfigResponse buildPartial()
Returns