Class GetCloudInstanceAction.Builder (6.56.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GetCloudInstanceAction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GetCloudInstanceAction.Builder
Overrides

build()

public GetCloudInstanceAction build()
Returns
TypeDescription
GetCloudInstanceAction

buildPartial()

public GetCloudInstanceAction buildPartial()
Returns
TypeDescription
GetCloudInstanceAction

clear()

public GetCloudInstanceAction.Builder clear()
Returns
TypeDescription
GetCloudInstanceAction.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public GetCloudInstanceAction.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
GetCloudInstanceAction.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public GetCloudInstanceAction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
GetCloudInstanceAction.Builder
Overrides

clearProjectId()

public GetCloudInstanceAction.Builder clearProjectId()

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

string project_id = 1;

Returns
TypeDescription
GetCloudInstanceAction.Builder

This builder for chaining.

clone()

public GetCloudInstanceAction.Builder clone()
Returns
TypeDescription
GetCloudInstanceAction.Builder
Overrides

getDefaultInstanceForType()

public GetCloudInstanceAction getDefaultInstanceForType()
Returns
TypeDescription
GetCloudInstanceAction

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for instanceId.

getProjectId()

public String getProjectId()

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

string project_id = 1;

Returns
TypeDescription
String

The projectId.

getProjectIdBytes()

public ByteString getProjectIdBytes()

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

string project_id = 1;

Returns
TypeDescription
ByteString

The bytes for projectId.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GetCloudInstanceAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GetCloudInstanceAction.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public GetCloudInstanceAction.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
GetCloudInstanceAction.Builder
Overrides

mergeFrom(GetCloudInstanceAction other)

public GetCloudInstanceAction.Builder mergeFrom(GetCloudInstanceAction other)
Parameter
NameDescription
otherGetCloudInstanceAction
Returns
TypeDescription
GetCloudInstanceAction.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GetCloudInstanceAction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GetCloudInstanceAction.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public GetCloudInstanceAction.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The instanceId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for instanceId to set.

Returns
TypeDescription
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
NameDescription
valueString

The projectId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for projectId to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
GetCloudInstanceAction.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GetCloudInstanceAction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GetCloudInstanceAction.Builder
Overrides