Class DropCloudDatabaseAction.Builder (6.60.0)

public static final class DropCloudDatabaseAction.Builder extends GeneratedMessageV3.Builder<DropCloudDatabaseAction.Builder> implements DropCloudDatabaseActionOrBuilder

Action that drops a Cloud Spanner database.

Protobuf type google.spanner.executor.v1.DropCloudDatabaseAction

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DropCloudDatabaseAction build()
Returns
TypeDescription
DropCloudDatabaseAction

buildPartial()

public DropCloudDatabaseAction buildPartial()
Returns
TypeDescription
DropCloudDatabaseAction

clear()

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

clearDatabaseId()

public DropCloudDatabaseAction.Builder clearDatabaseId()

Cloud database ID (not full path), e.g. "db0".

string database_id = 3;

Returns
TypeDescription
DropCloudDatabaseAction.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearInstanceId()

public DropCloudDatabaseAction.Builder clearInstanceId()

Cloud instance ID (not path), e.g. "test-instance".

string instance_id = 1;

Returns
TypeDescription
DropCloudDatabaseAction.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProjectId()

public DropCloudDatabaseAction.Builder clearProjectId()

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

string project_id = 2;

Returns
TypeDescription
DropCloudDatabaseAction.Builder

This builder for chaining.

clone()

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

getDatabaseId()

public String getDatabaseId()

Cloud database ID (not full path), e.g. "db0".

string database_id = 3;

Returns
TypeDescription
String

The databaseId.

getDatabaseIdBytes()

public ByteString getDatabaseIdBytes()

Cloud database ID (not full path), e.g. "db0".

string database_id = 3;

Returns
TypeDescription
ByteString

The bytes for databaseId.

getDefaultInstanceForType()

public DropCloudDatabaseAction getDefaultInstanceForType()
Returns
TypeDescription
DropCloudDatabaseAction

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getInstanceId()

public String getInstanceId()

Cloud instance ID (not path), e.g. "test-instance".

string instance_id = 1;

Returns
TypeDescription
String

The instanceId.

getInstanceIdBytes()

public ByteString getInstanceIdBytes()

Cloud instance ID (not path), e.g. "test-instance".

string instance_id = 1;

Returns
TypeDescription
ByteString

The bytes for instanceId.

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

mergeFrom(Message other)

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

mergeFrom(DropCloudDatabaseAction other)

public DropCloudDatabaseAction.Builder mergeFrom(DropCloudDatabaseAction other)
Parameter
NameDescription
otherDropCloudDatabaseAction
Returns
TypeDescription
DropCloudDatabaseAction.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDatabaseId(String value)

public DropCloudDatabaseAction.Builder setDatabaseId(String value)

Cloud database ID (not full path), e.g. "db0".

string database_id = 3;

Parameter
NameDescription
valueString

The databaseId to set.

Returns
TypeDescription
DropCloudDatabaseAction.Builder

This builder for chaining.

setDatabaseIdBytes(ByteString value)

public DropCloudDatabaseAction.Builder setDatabaseIdBytes(ByteString value)

Cloud database ID (not full path), e.g. "db0".

string database_id = 3;

Parameter
NameDescription
valueByteString

The bytes for databaseId to set.

Returns
TypeDescription
DropCloudDatabaseAction.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setInstanceId(String value)

public DropCloudDatabaseAction.Builder setInstanceId(String value)

Cloud instance ID (not path), e.g. "test-instance".

string instance_id = 1;

Parameter
NameDescription
valueString

The instanceId to set.

Returns
TypeDescription
DropCloudDatabaseAction.Builder

This builder for chaining.

setInstanceIdBytes(ByteString value)

public DropCloudDatabaseAction.Builder setInstanceIdBytes(ByteString value)

Cloud instance ID (not path), e.g. "test-instance".

string instance_id = 1;

Parameter
NameDescription
valueByteString

The bytes for instanceId to set.

Returns
TypeDescription
DropCloudDatabaseAction.Builder

This builder for chaining.

setProjectId(String value)

public DropCloudDatabaseAction.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
DropCloudDatabaseAction.Builder

This builder for chaining.

setProjectIdBytes(ByteString value)

public DropCloudDatabaseAction.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
DropCloudDatabaseAction.Builder

This builder for chaining.

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

public DropCloudDatabaseAction.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DropCloudDatabaseAction.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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