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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > GetDatabaseDdlRequest.BuilderImplements
GetDatabaseDdlRequestOrBuilderMethods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GetDatabaseDdlRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
GetDatabaseDdlRequest.Builder |
build()
public GetDatabaseDdlRequest build()
Type | Description |
GetDatabaseDdlRequest |
buildPartial()
public GetDatabaseDdlRequest buildPartial()
Type | Description |
GetDatabaseDdlRequest |
clear()
public GetDatabaseDdlRequest.Builder clear()
Type | Description |
GetDatabaseDdlRequest.Builder |
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) = { ... }
Type | Description |
GetDatabaseDdlRequest.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public GetDatabaseDdlRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
GetDatabaseDdlRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public GetDatabaseDdlRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
GetDatabaseDdlRequest.Builder |
clone()
public GetDatabaseDdlRequest.Builder clone()
Type | Description |
GetDatabaseDdlRequest.Builder |
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) = { ... }
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) = { ... }
Type | Description |
ByteString | The bytes for database. |
getDefaultInstanceForType()
public GetDatabaseDdlRequest getDefaultInstanceForType()
Type | Description |
GetDatabaseDdlRequest |
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 GetDatabaseDdlRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
GetDatabaseDdlRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public GetDatabaseDdlRequest.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
GetDatabaseDdlRequest.Builder |
mergeFrom(GetDatabaseDdlRequest other)
public GetDatabaseDdlRequest.Builder mergeFrom(GetDatabaseDdlRequest other)
Name | Description |
other | GetDatabaseDdlRequest |
Type | Description |
GetDatabaseDdlRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GetDatabaseDdlRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
GetDatabaseDdlRequest.Builder |
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) = { ... }
Name | Description |
value | String The database to set. |
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) = { ... }
Name | Description |
value | ByteString The bytes for database to set. |
Type | Description |
GetDatabaseDdlRequest.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public GetDatabaseDdlRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
GetDatabaseDdlRequest.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GetDatabaseDdlRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
GetDatabaseDdlRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final GetDatabaseDdlRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
GetDatabaseDdlRequest.Builder |