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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DropDatabaseRequest.BuilderImplements
DropDatabaseRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DropDatabaseRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
DropDatabaseRequest.Builder |
build()
public DropDatabaseRequest build()
Type | Description |
DropDatabaseRequest |
buildPartial()
public DropDatabaseRequest buildPartial()
Type | Description |
DropDatabaseRequest |
clear()
public DropDatabaseRequest.Builder clear()
Type | Description |
DropDatabaseRequest.Builder |
clearDatabase()
public DropDatabaseRequest.Builder clearDatabase()
Required. The database to be dropped.
string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
DropDatabaseRequest.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public DropDatabaseRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
DropDatabaseRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public DropDatabaseRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
DropDatabaseRequest.Builder |
clone()
public DropDatabaseRequest.Builder clone()
Type | Description |
DropDatabaseRequest.Builder |
getDatabase()
public String getDatabase()
Required. The database to be dropped.
string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
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) = { ... }
Type | Description |
ByteString | The bytes for database. |
getDefaultInstanceForType()
public DropDatabaseRequest getDefaultInstanceForType()
Type | Description |
DropDatabaseRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DropDatabaseRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
DropDatabaseRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public DropDatabaseRequest.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
DropDatabaseRequest.Builder |
mergeFrom(DropDatabaseRequest other)
public DropDatabaseRequest.Builder mergeFrom(DropDatabaseRequest other)
Name | Description |
other | DropDatabaseRequest |
Type | Description |
DropDatabaseRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DropDatabaseRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
DropDatabaseRequest.Builder |
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) = { ... }
Name | Description |
value | String The database to set. |
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) = { ... }
Name | Description |
value | ByteString The bytes for database to set. |
Type | Description |
DropDatabaseRequest.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public DropDatabaseRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
DropDatabaseRequest.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DropDatabaseRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
DropDatabaseRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final DropDatabaseRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
DropDatabaseRequest.Builder |