Class GetCloudInstanceAction.Builder (6.77.0)

public static final class GetCloudInstanceAction.Builder extends GeneratedMessageV3.Builder<GetCloudInstanceAction.Builder> implements GetCloudInstanceActionOrBuilder

Action that retrieves a Cloud Spanner instance.

Protobuf type google.spanner.executor.v1.GetCloudInstanceAction

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetCloudInstanceAction build()
Returns
Type Description
GetCloudInstanceAction

buildPartial()

public GetCloudInstanceAction buildPartial()
Returns
Type Description
GetCloudInstanceAction

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearInstanceId()

public GetCloudInstanceAction.Builder clearInstanceId()

Cloud instance ID (not path) to retrieve the instance from, e.g. "test-instance".

string instance_id = 2;

Returns
Type Description
GetCloudInstanceAction.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProjectId()

public GetCloudInstanceAction.Builder clearProjectId()

Cloud project ID, e.g. "spanner-cloud-systest".

string project_id = 1;

Returns
Type Description
GetCloudInstanceAction.Builder

This builder for chaining.

clone()

public GetCloudInstanceAction.Builder clone()
Returns
Type Description
GetCloudInstanceAction.Builder
Overrides

getDefaultInstanceForType()

public GetCloudInstanceAction getDefaultInstanceForType()
Returns
Type Description
GetCloudInstanceAction

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getInstanceId()

public String getInstanceId()

Cloud instance ID (not path) to retrieve the instance from, e.g. "test-instance".

string instance_id = 2;

Returns
Type Description
String

The instanceId.

getInstanceIdBytes()

public ByteString getInstanceIdBytes()

Cloud instance ID (not path) to retrieve the instance from, e.g. "test-instance".

string instance_id = 2;

Returns
Type Description
ByteS