public static final class CreateDatabaseMetadata.Builder extends GeneratedMessageV3.Builder<CreateDatabaseMetadata.Builder> implements CreateDatabaseMetadataOrBuilder
Metadata type for the operation returned by CreateDatabase.
Protobuf type google.spanner.admin.database.v1.CreateDatabaseMetadata
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CreateDatabaseMetadata.BuilderImplements
CreateDatabaseMetadataOrBuilderMethods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateDatabaseMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
CreateDatabaseMetadata.Builder |
build()
public CreateDatabaseMetadata build()
Type | Description |
CreateDatabaseMetadata |
buildPartial()
public CreateDatabaseMetadata buildPartial()
Type | Description |
CreateDatabaseMetadata |
clear()
public CreateDatabaseMetadata.Builder clear()
Type | Description |
CreateDatabaseMetadata.Builder |
clearDatabase()
public CreateDatabaseMetadata.Builder clearDatabase()
The database being created.
string database = 1 [(.google.api.resource_reference) = { ... }
Type | Description |
CreateDatabaseMetadata.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public CreateDatabaseMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
CreateDatabaseMetadata.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateDatabaseMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
CreateDatabaseMetadata.Builder |
clone()
public CreateDatabaseMetadata.Builder clone()
Type | Description |
CreateDatabaseMetadata.Builder |
getDatabase()
public String getDatabase()
The database being created.
string database = 1 [(.google.api.resource_reference) = { ... }
Type | Description |
String | The database. |
getDatabaseBytes()
public ByteString getDatabaseBytes()
The database being created.
string database = 1 [(.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for database. |
getDefaultInstanceForType()
public CreateDatabaseMetadata getDefaultInstanceForType()
Type | Description |
CreateDatabaseMetadata |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
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 CreateDatabaseMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CreateDatabaseMetadata.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public CreateDatabaseMetadata.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
CreateDatabaseMetadata.Builder |
mergeFrom(CreateDatabaseMetadata other)
public CreateDatabaseMetadata.Builder mergeFrom(CreateDatabaseMetadata other)
Name | Description |
other | CreateDatabaseMetadata |
Type | Description |
CreateDatabaseMetadata.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateDatabaseMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
CreateDatabaseMetadata.Builder |
setDatabase(String value)
public CreateDatabaseMetadata.Builder setDatabase(String value)
The database being created.
string database = 1 [(.google.api.resource_reference) = { ... }
Name | Description |
value | String The database to set. |
Type | Description |
CreateDatabaseMetadata.Builder | This builder for chaining. |
setDatabaseBytes(ByteString value)
public CreateDatabaseMetadata.Builder setDatabaseBytes(ByteString value)
The database being created.
string database = 1 [(.google.api.resource_reference) = { ... }
Name | Description |
value | ByteString The bytes for database to set. |
Type | Description |
CreateDatabaseMetadata.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public CreateDatabaseMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
CreateDatabaseMetadata.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateDatabaseMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
CreateDatabaseMetadata.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateDatabaseMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
CreateDatabaseMetadata.Builder |