Class DropDatabaseRequest.Builder (6.50.1)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DropDatabaseRequest build()
Returns
TypeDescription
DropDatabaseRequest

buildPartial()

public DropDatabaseRequest buildPartial()
Returns
TypeDescription
DropDatabaseRequest

clear()

public DropDatabaseRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
DropDatabaseRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public DropDatabaseRequest.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for database.

getDefaultInstanceForType()

public DropDatabaseRequest getDefaultInstanceForType()
Returns
TypeDescription
DropDatabaseRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(DropDatabaseRequest other)

public DropDatabaseRequest.Builder mergeFrom(DropDatabaseRequest other)
Parameter
NameDescription
otherDropDatabaseRequest
Returns
TypeDescription
DropDatabaseRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DropDatabaseRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The database to set.

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

The bytes for database to set.

Returns
TypeDescription
DropDatabaseRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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