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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GetDatabaseDdlRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public GetDatabaseDdlRequest build()
buildPartial()
public GetDatabaseDdlRequest buildPartial()
clear()
public GetDatabaseDdlRequest.Builder clear()
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) = { ... }
clearField(Descriptors.FieldDescriptor field)
public GetDatabaseDdlRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public GetDatabaseDdlRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public GetDatabaseDdlRequest.Builder clone()
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
public GetDatabaseDdlRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public GetDatabaseDdlRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeFrom(GetDatabaseDdlRequest other)
public GetDatabaseDdlRequest.Builder mergeFrom(GetDatabaseDdlRequest other)
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GetDatabaseDdlRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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.
|
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public GetDatabaseDdlRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GetDatabaseDdlRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final GetDatabaseDdlRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides