Class CreateUserInstanceConfigAction.Builder (6.77.0)

public static final class CreateUserInstanceConfigAction.Builder extends GeneratedMessageV3.Builder<CreateUserInstanceConfigAction.Builder> implements CreateUserInstanceConfigActionOrBuilder

Action that creates a user instance config.

Protobuf type google.spanner.executor.v1.CreateUserInstanceConfigAction

Static Methods

getDescriptor()

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

Methods

addAllReplicas(Iterable<? extends ReplicaInfo> values)

public CreateUserInstanceConfigAction.Builder addAllReplicas(Iterable<? extends ReplicaInfo> values)

Replicas that should be included in the user config.

repeated .google.spanner.admin.instance.v1.ReplicaInfo replicas = 4;

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addReplicas(ReplicaInfo value)

public CreateUserInstanceConfigAction.Builder addReplicas(ReplicaInfo value)

Replicas that should be included in the user config.

repeated .google.spanner.admin.instance.v1.ReplicaInfo replicas = 4;

Parameter
Name Description
value ReplicaInfo
Returns
Type Description
CreateUserInstanceConfigAction.Builder

addReplicas(ReplicaInfo.Builder builderForValue)

public CreateUserInstanceConfigAction.Builder addReplicas(ReplicaInfo.Builder builderForValue)

Replicas that should be included in the user config.

repeated .google.spanner.admin.instance.v1.ReplicaInfo replicas = 4;

Parameter
Name Description
builderForValue ReplicaInfo.Builder
Returns
Type Description
CreateUserInstanceConfigAction.Builder

addReplicas(int index, ReplicaInfo value)

public CreateUserInstanceConfigAction.Builder addReplicas(int index, ReplicaInfo value)

Replicas that should be included in the user config.

repeated .google.spanner.admin.instance.v1.ReplicaInfo replicas = 4;

Parameters
Name Description
index int
value ReplicaInfo
Returns
Type Description
CreateUserInstanceConfigAction.Builder

addReplicas(int index, ReplicaInfo.Builder builderForValue)

public CreateUserInstanceConfigAction.Builder addReplicas(int index, ReplicaInfo.Builder builderForValue)

Replicas that should be included in the user config.

repeated .google.spanner.admin.instance.v1.ReplicaInfo replicas = 4;

Parameters
Name Description
index int
builderForValue ReplicaInfo.Builder
Returns
Type Description
CreateUserInstanceConfigAction.Builder

addReplicasBuilder()

public ReplicaInfo.Builder addReplicasBuilder()

Replicas that should be included in the user config.

repeated .google.spanner.admin.instance.v1.ReplicaInfo replicas = 4;

Returns
Type Description
ReplicaInfo.Builder

addReplicasBuilder(int index)

public ReplicaInfo.Builder addReplicasBuilder(int index)

Replicas that should be included in the user config.

repeated .google.spanner.admin.instance.v1.ReplicaInfo replicas = 4;

Parameter
Name Description
index int
Returns
Type Description
ReplicaInfo.Builder

build()

public CreateUserInstanceConfigAction build()
Returns
Type Description
CreateUserInstanceConfigAction

buildPartial()

public CreateUserInstanceConfigAction buildPartial()
Returns
Type Description
CreateUserInstanceConfigAction

clear()

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

clearBaseConfigId()

public CreateUserInstanceConfigAction.Builder clearBaseConfigId()

Base config ID, e.g. "test-config".

string base_config_id = 3;

Returns
Type Description
CreateUserInstanceConfigAction.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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