Class GetCloudInstanceConfigAction.Builder (6.58.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetCloudInstanceConfigAction build()
Returns
TypeDescription
GetCloudInstanceConfigAction

buildPartial()

public GetCloudInstanceConfigAction buildPartial()
Returns
TypeDescription
GetCloudInstanceConfigAction

clear()

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

clearField(Descriptors.FieldDescriptor field)

public GetCloudInstanceConfigAction.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
GetCloudInstanceConfigAction.Builder
Overrides

clearInstanceConfigId()

public GetCloudInstanceConfigAction.Builder clearInstanceConfigId()

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

string instance_config_id = 1;

Returns
TypeDescription
GetCloudInstanceConfigAction.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProjectId()

public GetCloudInstanceConfigAction.Builder clearProjectId()

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

string project_id = 2;

Returns
TypeDescription
GetCloudInstanceConfigAction.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public GetCloudInstanceConfigAction getDefaultInstanceForType()
Returns
TypeDescription
GetCloudInstanceConfigAction

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getInstanceConfigId()

public String getInstanceConfigId()

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

string instance_config_id = 1;

Returns
TypeDescription
String

The instanceConfigId.

getInstanceConfigIdBytes()

public ByteString getInstanceConfigIdBytes()

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

string instance_config_id = 1;

Returns
TypeDescription
ByteString

The bytes for instanceConfigId.

getProjectId()

public String getProjectId()

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

string project_id = 2;

Returns
TypeDescription
String

The projectId.

getProjectIdBytes()

public ByteString getProjectIdBytes()

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

string project_id = 2;

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 GetCloudInstanceConfigAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GetCloudInstanceConfigAction.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

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

mergeFrom(GetCloudInstanceConfigAction other)

public GetCloudInstanceConfigAction.Builder mergeFrom(GetCloudInstanceConfigAction other)
Parameter
NameDescription
otherGetCloudInstanceConfigAction
Returns
TypeDescription
GetCloudInstanceConfigAction.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The instanceConfigId to set.

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

The bytes for instanceConfigId to set.

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

The projectId to set.

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

The bytes for projectId to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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