public static final class SqlDatabasesGetRequest.Builder extends GeneratedMessage.Builder<SqlDatabasesGetRequest.Builder> implements SqlDatabasesGetRequestOrBuilderDatabase get request.
Protobuf type google.cloud.sql.v1.SqlDatabasesGetRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > SqlDatabasesGetRequest.BuilderImplements
SqlDatabasesGetRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public SqlDatabasesGetRequest build()| Returns | |
|---|---|
| Type | Description |
SqlDatabasesGetRequest |
|
buildPartial()
public SqlDatabasesGetRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
SqlDatabasesGetRequest |
|
clear()
public SqlDatabasesGetRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
SqlDatabasesGetRequest.Builder |
|
clearDatabase()
public SqlDatabasesGetRequest.Builder clearDatabase()Name of the database in the instance.
string database = 1;
| Returns | |
|---|---|
| Type | Description |
SqlDatabasesGetRequest.Builder |
This builder for chaining. |
clearInstance()
public SqlDatabasesGetRequest.Builder clearInstance()Database instance ID. This does not include the project ID.
string instance = 2;
| Returns | |
|---|---|
| Type | Description |
SqlDatabasesGetRequest.Builder |
This builder for chaining. |
clearProject()
public SqlDatabasesGetRequest.Builder clearProject()Project ID of the project that contains the instance.
string project = 3;
| Returns | |
|---|---|
| Type | Description |
SqlDatabasesGetRequest.Builder |
This builder for chaining. |
getDatabase()
public String getDatabase()Name of the database in the instance.
string database = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The database. |
getDatabaseBytes()
public ByteString getDatabaseBytes()Name of the database in the instance.
string database = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for database. |
getDefaultInstanceForType()
public SqlDatabasesGetRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
SqlDatabasesGetRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getInstance()
public String getInstance()Database instance ID. This does not include the project ID.
string instance = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The instance. |
getInstanceBytes()
public ByteString getInstanceBytes()Database instance ID. This does not include the project ID.
string instance = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for instance. |
getProject()
public String getProject()Project ID of the project that contains the instance.
string project = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The project. |
getProjectBytes()
public ByteString getProjectBytes()Project ID of the project that contains the instance.
string project = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for project. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(SqlDatabasesGetRequest other)
public SqlDatabasesGetRequest.Builder mergeFrom(SqlDatabasesGetRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
SqlDatabasesGetRequest |
| Returns | |
|---|---|
| Type | Description |
SqlDatabasesGetRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SqlDatabasesGetRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SqlDatabasesGetRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public SqlDatabasesGetRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
SqlDatabasesGetRequest.Builder |
|
setDatabase(String value)
public SqlDatabasesGetRequest.Builder setDatabase(String value)Name of the database in the instance.
string database = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe database to set. |
| Returns | |
|---|---|
| Type | Description |
SqlDatabasesGetRequest.Builder |
This builder for chaining. |
setDatabaseBytes(ByteString value)
public SqlDatabasesGetRequest.Builder setDatabaseBytes(ByteString value)Name of the database in the instance.
string database = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for database to set. |
| Returns | |
|---|---|
| Type | Description |
SqlDatabasesGetRequest.Builder |
This builder for chaining. |
setInstance(String value)
public SqlDatabasesGetRequest.Builder setInstance(String value)Database instance ID. This does not include the project ID.
string instance = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe instance to set. |
| Returns | |
|---|---|
| Type | Description |
SqlDatabasesGetRequest.Builder |
This builder for chaining. |
setInstanceBytes(ByteString value)
public SqlDatabasesGetRequest.Builder setInstanceBytes(ByteString value)Database instance ID. This does not include the project ID.
string instance = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for instance to set. |
| Returns | |
|---|---|
| Type | Description |
SqlDatabasesGetRequest.Builder |
This builder for chaining. |
setProject(String value)
public SqlDatabasesGetRequest.Builder setProject(String value)Project ID of the project that contains the instance.
string project = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe project to set. |
| Returns | |
|---|---|
| Type | Description |
SqlDatabasesGetRequest.Builder |
This builder for chaining. |
setProjectBytes(ByteString value)
public SqlDatabasesGetRequest.Builder setProjectBytes(ByteString value)Project ID of the project that contains the instance.
string project = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for project to set. |
| Returns | |
|---|---|
| Type | Description |
SqlDatabasesGetRequest.Builder |
This builder for chaining. |