Class GetCloudInstanceAction.Builder (6.83.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
ByteString

The bytes for instanceId.

getProjectId()

public String getProjectId()

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

string project_id = 1;

Returns
Type Description
String

The projectId.

getProjectIdBytes()

public ByteString getProjectIdBytes()

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

string project_id = 1;

Returns
Type Description
ByteString

The bytes for projectId.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GetCloudInstanceAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetCloudInstanceAction.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public GetCloudInstanceAction.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
GetCloudInstanceAction.Builder
Overrides

mergeFrom(GetCloudInstanceAction other)

public GetCloudInstanceAction.Builder mergeFrom(GetCloudInstanceAction other)
Parameter
Name Description
other GetCloudInstanceAction
Returns
Type Description
GetCloudInstanceAction.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GetCloudInstanceAction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GetCloudInstanceAction.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

setInstanceId(String value)

public GetCloudInstanceAction.Builder setInstanceId(String value)

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

string instance_id = 2;

Parameter
Name Description
value String

The instanceId to set.

Returns
Type Description
GetCloudInstanceAction.Builder

This builder for chaining.

setInstanceIdBytes(ByteString value)

public GetCloudInstanceAction.Builder setInstanceIdBytes(ByteString value)

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

string instance_id = 2;

Parameter
Name Description
value ByteString

The bytes for instanceId to set.

Returns
Type Description
GetCloudInstanceAction.Builder

This builder for chaining.

setProjectId(String value)

public GetCloudInstanceAction.Builder setProjectId(String value)

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

string project_id = 1;

Parameter
Name Description
value String

The projectId to set.

Returns
Type Description
GetCloudInstanceAction.Builder

This builder for chaining.

setProjectIdBytes(ByteString value)

public GetCloudInstanceAction.Builder setProjectIdBytes(ByteString value)

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

string project_id = 1;

Parameter
Name Description
value ByteString

The bytes for projectId to set.

Returns
Type Description
GetCloudInstanceAction.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

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

setUnknownFields(UnknownFieldSet unknownFields)

public final GetCloudInstanceAction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GetCloudInstanceAction.Builder
Overrides