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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GetDatabaseDdlRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public GetDatabaseDdlRequest build()
Returns
buildPartial()
public GetDatabaseDdlRequest buildPartial()
Returns
clear()
public GetDatabaseDdlRequest.Builder clear()
Returns
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
clearField(Descriptors.FieldDescriptor field)
public GetDatabaseDdlRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public GetDatabaseDdlRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public GetDatabaseDdlRequest.Builder clone()
Returns
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
getDefaultInstanceForType()
public GetDatabaseDdlRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
public GetDatabaseDdlRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public GetDatabaseDdlRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeFrom(GetDatabaseDdlRequest other)
public GetDatabaseDdlRequest.Builder mergeFrom(GetDatabaseDdlRequest other)
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GetDatabaseDdlRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
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
setField(Descriptors.FieldDescriptor field, Object value)
public GetDatabaseDdlRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GetDatabaseDdlRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final GetDatabaseDdlRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides