public static final class CloudSqlBigQueryConnectionSpec.Builder extends GeneratedMessage.Builder<CloudSqlBigQueryConnectionSpec.Builder> implements CloudSqlBigQueryConnectionSpecOrBuilderSpecification for the BigQuery connection to a Cloud SQL instance.
Protobuf type google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CloudSqlBigQueryConnectionSpec.BuilderImplements
CloudSqlBigQueryConnectionSpecOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CloudSqlBigQueryConnectionSpec build()| Returns | |
|---|---|
| Type | Description |
CloudSqlBigQueryConnectionSpec |
|
buildPartial()
public CloudSqlBigQueryConnectionSpec buildPartial()| Returns | |
|---|---|
| Type | Description |
CloudSqlBigQueryConnectionSpec |
|
clear()
public CloudSqlBigQueryConnectionSpec.Builder clear()| Returns | |
|---|---|
| Type | Description |
CloudSqlBigQueryConnectionSpec.Builder |
|
clearDatabase()
public CloudSqlBigQueryConnectionSpec.Builder clearDatabase()Database name.
string database = 2;
| Returns | |
|---|---|
| Type | Description |
CloudSqlBigQueryConnectionSpec.Builder |
This builder for chaining. |
clearInstanceId()
public CloudSqlBigQueryConnectionSpec.Builder clearInstanceId() Cloud SQL instance ID in the format of project:location:instance.
string instance_id = 1;
| Returns | |
|---|---|
| Type | Description |
CloudSqlBigQueryConnectionSpec.Builder |
This builder for chaining. |
clearType()
public CloudSqlBigQueryConnectionSpec.Builder clearType()Type of the Cloud SQL database.
.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType type = 3;
| Returns | |
|---|---|
| Type | Description |
CloudSqlBigQueryConnectionSpec.Builder |
This builder for chaining. |
getDatabase()
public String getDatabase()Database name.
string database = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The database. |
getDatabaseBytes()
public ByteString getDatabaseBytes()Database name.
string database = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for database. |
getDefaultInstanceForType()
public CloudSqlBigQueryConnectionSpec getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CloudSqlBigQueryConnectionSpec |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getInstanceId()
public String getInstanceId() Cloud SQL instance ID in the format of project:location:instance.
string instance_id = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The instanceId. |
getInstanceIdBytes()
public ByteString getInstanceIdBytes() Cloud SQL instance ID in the format of project:location:instance.
string instance_id = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for instanceId. |
getType()
public CloudSqlBigQueryConnectionSpec.DatabaseType getType()Type of the Cloud SQL database.
.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType type = 3;
| Returns | |
|---|---|
| Type | Description |
CloudSqlBigQueryConnectionSpec.DatabaseType |
The type. |
getTypeValue()
public int getTypeValue()Type of the Cloud SQL database.
.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType type = 3;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for type. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CloudSqlBigQueryConnectionSpec other)
public CloudSqlBigQueryConnectionSpec.Builder mergeFrom(CloudSqlBigQueryConnectionSpec other)| Parameter | |
|---|---|
| Name | Description |
other |
CloudSqlBigQueryConnectionSpec |
| Returns | |
|---|---|
| Type | Description |
CloudSqlBigQueryConnectionSpec.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CloudSqlBigQueryConnectionSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CloudSqlBigQueryConnectionSpec.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CloudSqlBigQueryConnectionSpec.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CloudSqlBigQueryConnectionSpec.Builder |
|
setDatabase(String value)
public CloudSqlBigQueryConnectionSpec.Builder setDatabase(String value)Database name.
string database = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe database to set. |
| Returns | |
|---|---|
| Type | Description |
CloudSqlBigQueryConnectionSpec.Builder |
This builder for chaining. |
setDatabaseBytes(ByteString value)
public CloudSqlBigQueryConnectionSpec.Builder setDatabaseBytes(ByteString value)Database name.
string database = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for database to set. |
| Returns | |
|---|---|
| Type | Description |
CloudSqlBigQueryConnectionSpec.Builder |
This builder for chaining. |
setInstanceId(String value)
public CloudSqlBigQueryConnectionSpec.Builder setInstanceId(String value) Cloud SQL instance ID in the format of project:location:instance.
string instance_id = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe instanceId to set. |
| Returns | |
|---|---|
| Type | Description |
CloudSqlBigQueryConnectionSpec.Builder |
This builder for chaining. |
setInstanceIdBytes(ByteString value)
public CloudSqlBigQueryConnectionSpec.Builder setInstanceIdBytes(ByteString value) Cloud SQL instance ID in the format of project:location:instance.
string instance_id = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for instanceId to set. |
| Returns | |
|---|---|
| Type | Description |
CloudSqlBigQueryConnectionSpec.Builder |
This builder for chaining. |
setType(CloudSqlBigQueryConnectionSpec.DatabaseType value)
public CloudSqlBigQueryConnectionSpec.Builder setType(CloudSqlBigQueryConnectionSpec.DatabaseType value)Type of the Cloud SQL database.
.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType type = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
CloudSqlBigQueryConnectionSpec.DatabaseTypeThe type to set. |
| Returns | |
|---|---|
| Type | Description |
CloudSqlBigQueryConnectionSpec.Builder |
This builder for chaining. |
setTypeValue(int value)
public CloudSqlBigQueryConnectionSpec.Builder setTypeValue(int value)Type of the Cloud SQL database.
.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec.DatabaseType type = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for type to set. |
| Returns | |
|---|---|
| Type | Description |
CloudSqlBigQueryConnectionSpec.Builder |
This builder for chaining. |