Class GetCloudInstanceConfigAction.Builder (6.83.0)

public static final class GetCloudInstanceConfigAction.Builder extends GeneratedMessageV3.Builder<GetCloudInstanceConfigAction.Builder> implements GetCloudInstanceConfigActionOrBuilder

Action that gets a user instance config.

Protobuf type google.spanner.executor.v1.GetCloudInstanceConfigAction

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetCloudInstanceConfigAction build()
Returns
Type Description
GetCloudInstanceConfigAction

buildPartial()

public GetCloudInstanceConfigAction buildPartial()
Returns
Type Description
GetCloudInstanceConfigAction

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearInstanceConfigId()

public GetCloudInstanceConfigAction.Builder clearInstanceConfigId()

Instance config ID (not path), e.g. "custom-config".

string instance_config_id = 1;

Returns
Type Description
GetCloudInstanceConfigAction.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProjectId()

public GetCloudInstanceConfigAction.Builder clearProjectId()

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

string project_id = 2;

Returns
Type Description
GetCloudInstanceConfigAction.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public GetCloudInstanceConfigAction getDefaultInstanceForType()
Returns
Type Description
GetCloudInstanceConfigAction

getDescriptorForType()

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

getInstanceConfigId()

public String getInstanceConfigId()

Instance config ID (not path), e.g. "custom-config".

string instance_config_id = 1;

Returns
Type Description
String

The instanceConfigId.

getInstanceConfigIdBytes()

public ByteString getInstanceConfigIdBytes()

Instance config ID (not path), e.g. "custom-config".

string instance_config_id = 1;

Returns
Type Description
ByteString

The bytes for instanceConfigId.

getProjectId()

public String getProjectId()

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

string project_id = 2;

Returns
Type Description
String

The projectId.

getProjectIdBytes()

public ByteString getProjectIdBytes()

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

string project_id = 2;

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 GetCloudInstanceConfigAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetCloudInstanceConfigAction.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeFrom(GetCloudInstanceConfigAction other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setInstanceConfigId(String value)

public GetCloudInstanceConfigAction.Builder setInstanceConfigId(String value)

Instance config ID (not path), e.g. "custom-config".

string instance_config_id = 1;

Parameter
Name Description
value String

The instanceConfigId to set.

Returns
Type Description
GetCloudInstanceConfigAction.Builder

This builder for chaining.

setInstanceConfigIdBytes(ByteString value)

public GetCloudInstanceConfigAction.Builder setInstanceConfigIdBytes(ByteString value)

Instance config ID (not path), e.g. "custom-config".

string instance_config_id = 1;

Parameter
Name Description
value ByteString

The bytes for instanceConfigId to set.

Returns
Type Description
GetCloudInstanceConfigAction.Builder

This builder for chaining.

setProjectId(String value)

public GetCloudInstanceConfigAction.Builder setProjectId(String value)

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

string project_id = 2;

Parameter
Name Description
value String

The projectId to set.

Returns
Type Description
GetCloudInstanceConfigAction.Builder

This builder for chaining.

setProjectIdBytes(ByteString value)

public GetCloudInstanceConfigAction.Builder setProjectIdBytes(ByteString value)

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

string project_id = 2;

Parameter
Name Description
value ByteString

The bytes for projectId to set.

Returns
Type Description
GetCloudInstanceConfigAction.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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