Class DropDatabaseRequest.Builder (6.77.0)

public static final class DropDatabaseRequest.Builder extends GeneratedMessageV3.Builder<DropDatabaseRequest.Builder> implements DropDatabaseRequestOrBuilder

The request for DropDatabase.

Protobuf type google.spanner.admin.database.v1.DropDatabaseRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DropDatabaseRequest build()
Returns
Type Description
DropDatabaseRequest

buildPartial()

public DropDatabaseRequest buildPartial()
Returns
Type Description
DropDatabaseRequest

clear()

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

clearDatabase()

public DropDatabaseRequest.Builder clearDatabase()

Required. The database to be dropped.

string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
DropDatabaseRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDatabase()

public String getDatabase()

Required. The database to be dropped.

string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The database.

getDatabaseBytes()

public ByteString getDatabaseBytes()

Required. The database to be dropped.

string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for database.

getDefaultInstanceForType()

public DropDatabaseRequest getDefaultInstanceForType()
Returns
Type Description
DropDatabaseRequest

getDescriptorForType()

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

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

mergeFrom(Message other)

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

mergeFrom(DropDatabaseRequest other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDatabase(String value)

public DropDatabaseRequest.Builder setDatabase(String value)

Required. The database to be dropped.

string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The database to set.

Returns
Type Description
DropDatabaseRequest.Builder

This builder for chaining.

setDatabaseBytes(ByteString value)

public DropDatabaseRequest.Builder setDatabaseBytes(ByteString value)

Required. The database to be dropped.

string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for database to set.

Returns
Type Description
DropDatabaseRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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