Class CreateDatabaseMetadata.Builder (6.74.0)

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateDatabaseMetadata build()
Returns
Type Description
CreateDatabaseMetadata

buildPartial()

public CreateDatabaseMetadata buildPartial()
Returns
Type Description
CreateDatabaseMetadata

clear()

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

clearDatabase()

public CreateDatabaseMetadata.Builder clearDatabase()

The database being created.

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

Returns
Type Description
CreateDatabaseMetadata.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDatabase()

public String getDatabase()

The database being created.

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

Returns
Type Description
String

The database.

getDatabaseBytes()

public ByteString getDatabaseBytes()

The database being created.

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

Returns
Type Description
ByteString

The bytes for database.

getDefaultInstanceForType()

public CreateDatabaseMetadata getDefaultInstanceForType()
Returns
Type Description
CreateDatabaseMetadata

getDescriptorForType()

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()