Class GetDatabaseDdlRequest.Builder (6.71.0)

public static final class GetDatabaseDdlRequest.Builder extends GeneratedMessageV3.Builder<GetDatabaseDdlRequest.Builder> implements GetDatabaseDdlRequestOrBuilder

The request for GetDatabaseDdl.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetDatabaseDdlRequest build()
Returns
Type Description
GetDatabaseDdlRequest

buildPartial()

public GetDatabaseDdlRequest buildPartial()
Returns
Type Description
GetDatabaseDdlRequest

clear()

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

clearDatabase()

public GetDatabaseDdlRequest.Builder clearDatabase()

Required. The database whose schema we wish to get. Values are of the form projects/<project>/instances/<instance>/databases/<database>

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

Returns
Type Description
GetDatabaseDdlRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDatabase()

public String getDatabase()

Required. The database whose schema we wish to get. Values are of the form projects/<project>/instances/<instance>/databases/<database>

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 whose schema we wish to get. Values are of the form projects/<project>/instances/<instance>/databases/<database>

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

Returns
Type Description
ByteString

The bytes for database.

getDefaultInstanceForType()

public GetDatabaseDdlRequest getDefaultInstanceForType()
Returns
Type Description
GetDatabaseDdlRequest

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

mergeFrom(Message other)

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

mergeFrom(GetDatabaseDdlRequest other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDatabase(String value)

public GetDatabaseDdlRequest.Builder setDatabase(String value)

Required. The database whose schema we wish to get. Values are of the form projects/<project>/instances/<instance>/databases/<database>

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

Parameter
Name Description
value String

The database to set.

Returns
Type Description
GetDatabaseDdlRequest.Builder

This builder for chaining.

setDatabaseBytes(ByteString value)

public GetDatabaseDdlRequest.Builder setDatabaseBytes(ByteString value)

Required. The database whose schema we wish to get. Values are of the form projects/<project>/instances/<instance>/databases/<database>

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
GetDatabaseDdlRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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