Class GetDatabaseDdlRequest.Builder (6.49.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetDatabaseDdlRequest build()
Returns
TypeDescription
GetDatabaseDdlRequest

buildPartial()

public GetDatabaseDdlRequest buildPartial()
Returns
TypeDescription
GetDatabaseDdlRequest

clear()

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

The bytes for database.

getDefaultInstanceForType()

public GetDatabaseDdlRequest getDefaultInstanceForType()
Returns
TypeDescription
GetDatabaseDdlRequest

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 GetDatabaseDdlRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GetDatabaseDdlRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

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

mergeFrom(GetDatabaseDdlRequest other)

public GetDatabaseDdlRequest.Builder mergeFrom(GetDatabaseDdlRequest other)
Parameter
NameDescription
otherGetDatabaseDdlRequest
Returns
TypeDescription
GetDatabaseDdlRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

The database to set.

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

The bytes for database to set.

Returns
TypeDescription
GetDatabaseDdlRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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