public static final class BigQueryConnectionSpec.Builder extends GeneratedMessage.Builder<BigQueryConnectionSpec.Builder> implements BigQueryConnectionSpecOrBuilderSpecification for the BigQuery connection.
Protobuf type google.cloud.datacatalog.v1.BigQueryConnectionSpec
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > BigQueryConnectionSpec.BuilderImplements
BigQueryConnectionSpecOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public BigQueryConnectionSpec build()| Returns | |
|---|---|
| Type | Description |
BigQueryConnectionSpec |
|
buildPartial()
public BigQueryConnectionSpec buildPartial()| Returns | |
|---|---|
| Type | Description |
BigQueryConnectionSpec |
|
clear()
public BigQueryConnectionSpec.Builder clear()| Returns | |
|---|---|
| Type | Description |
BigQueryConnectionSpec.Builder |
|
clearCloudSql()
public BigQueryConnectionSpec.Builder clearCloudSql()Specification for the BigQuery connection to a Cloud SQL instance.
.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec cloud_sql = 2;
| Returns | |
|---|---|
| Type | Description |
BigQueryConnectionSpec.Builder |
|
clearConnectionSpec()
public BigQueryConnectionSpec.Builder clearConnectionSpec()| Returns | |
|---|---|
| Type | Description |
BigQueryConnectionSpec.Builder |
|
clearConnectionType()
public BigQueryConnectionSpec.Builder clearConnectionType()The type of the BigQuery connection.
.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType connection_type = 1;
| Returns | |
|---|---|
| Type | Description |
BigQueryConnectionSpec.Builder |
This builder for chaining. |
clearHasCredential()
public BigQueryConnectionSpec.Builder clearHasCredential()True if there are credentials attached to the BigQuery connection; false otherwise.
bool has_credential = 3;
| Returns | |
|---|---|
| Type | Description |
BigQueryConnectionSpec.Builder |
This builder for chaining. |
getCloudSql()
public CloudSqlBigQueryConnectionSpec getCloudSql()Specification for the BigQuery connection to a Cloud SQL instance.
.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec cloud_sql = 2;
| Returns | |
|---|---|
| Type | Description |
CloudSqlBigQueryConnectionSpec |
The cloudSql. |
getCloudSqlBuilder()
public CloudSqlBigQueryConnectionSpec.Builder getCloudSqlBuilder()Specification for the BigQuery connection to a Cloud SQL instance.
.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec cloud_sql = 2;
| Returns | |
|---|---|
| Type | Description |
CloudSqlBigQueryConnectionSpec.Builder |
|
getCloudSqlOrBuilder()
public CloudSqlBigQueryConnectionSpecOrBuilder getCloudSqlOrBuilder()Specification for the BigQuery connection to a Cloud SQL instance.
.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec cloud_sql = 2;
| Returns | |
|---|---|
| Type | Description |
CloudSqlBigQueryConnectionSpecOrBuilder |
|
getConnectionSpecCase()
public BigQueryConnectionSpec.ConnectionSpecCase getConnectionSpecCase()| Returns | |
|---|---|
| Type | Description |
BigQueryConnectionSpec.ConnectionSpecCase |
|
getConnectionType()
public BigQueryConnectionSpec.ConnectionType getConnectionType()The type of the BigQuery connection.
.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType connection_type = 1;
| Returns | |
|---|---|
| Type | Description |
BigQueryConnectionSpec.ConnectionType |
The connectionType. |
getConnectionTypeValue()
public int getConnectionTypeValue()The type of the BigQuery connection.
.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType connection_type = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for connectionType. |
getDefaultInstanceForType()
public BigQueryConnectionSpec getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
BigQueryConnectionSpec |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getHasCredential()
public boolean getHasCredential()True if there are credentials attached to the BigQuery connection; false otherwise.
bool has_credential = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
The hasCredential. |
hasCloudSql()
public boolean hasCloudSql()Specification for the BigQuery connection to a Cloud SQL instance.
.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec cloud_sql = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the cloudSql field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeCloudSql(CloudSqlBigQueryConnectionSpec value)
public BigQueryConnectionSpec.Builder mergeCloudSql(CloudSqlBigQueryConnectionSpec value)Specification for the BigQuery connection to a Cloud SQL instance.
.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec cloud_sql = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
CloudSqlBigQueryConnectionSpec |
| Returns | |
|---|---|
| Type | Description |
BigQueryConnectionSpec.Builder |
|
mergeFrom(BigQueryConnectionSpec other)
public BigQueryConnectionSpec.Builder mergeFrom(BigQueryConnectionSpec other)| Parameter | |
|---|---|
| Name | Description |
other |
BigQueryConnectionSpec |
| Returns | |
|---|---|
| Type | Description |
BigQueryConnectionSpec.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BigQueryConnectionSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BigQueryConnectionSpec.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public BigQueryConnectionSpec.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
BigQueryConnectionSpec.Builder |
|
setCloudSql(CloudSqlBigQueryConnectionSpec value)
public BigQueryConnectionSpec.Builder setCloudSql(CloudSqlBigQueryConnectionSpec value)Specification for the BigQuery connection to a Cloud SQL instance.
.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec cloud_sql = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
CloudSqlBigQueryConnectionSpec |
| Returns | |
|---|---|
| Type | Description |
BigQueryConnectionSpec.Builder |
|
setCloudSql(CloudSqlBigQueryConnectionSpec.Builder builderForValue)
public BigQueryConnectionSpec.Builder setCloudSql(CloudSqlBigQueryConnectionSpec.Builder builderForValue)Specification for the BigQuery connection to a Cloud SQL instance.
.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec cloud_sql = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
CloudSqlBigQueryConnectionSpec.Builder |
| Returns | |
|---|---|
| Type | Description |
BigQueryConnectionSpec.Builder |
|
setConnectionType(BigQueryConnectionSpec.ConnectionType value)
public BigQueryConnectionSpec.Builder setConnectionType(BigQueryConnectionSpec.ConnectionType value)The type of the BigQuery connection.
.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType connection_type = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
BigQueryConnectionSpec.ConnectionTypeThe connectionType to set. |
| Returns | |
|---|---|
| Type | Description |
BigQueryConnectionSpec.Builder |
This builder for chaining. |
setConnectionTypeValue(int value)
public BigQueryConnectionSpec.Builder setConnectionTypeValue(int value)The type of the BigQuery connection.
.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType connection_type = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for connectionType to set. |
| Returns | |
|---|---|
| Type | Description |
BigQueryConnectionSpec.Builder |
This builder for chaining. |
setHasCredential(boolean value)
public BigQueryConnectionSpec.Builder setHasCredential(boolean value)True if there are credentials attached to the BigQuery connection; false otherwise.
bool has_credential = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe hasCredential to set. |
| Returns | |
|---|---|
| Type | Description |
BigQueryConnectionSpec.Builder |
This builder for chaining. |