Class BigQueryConnectionSpec.Builder (1.55.0)

public static final class BigQueryConnectionSpec.Builder extends GeneratedMessageV3.Builder<BigQueryConnectionSpec.Builder> implements BigQueryConnectionSpecOrBuilder

Specification for the BigQuery connection.

Protobuf type google.cloud.datacatalog.v1.BigQueryConnectionSpec

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BigQueryConnectionSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BigQueryConnectionSpec.Builder
Overrides

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
Overrides

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.

clearField(Descriptors.FieldDescriptor field)

public BigQueryConnectionSpec.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
BigQueryConnectionSpec.Builder
Overrides

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.

clearOneof(Descriptors.OneofDescriptor oneof)

public BigQueryConnectionSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
BigQueryConnectionSpec.Builder
Overrides

clone()

public BigQueryConnectionSpec.Builder clone()
Returns
Type Description
BigQueryConnectionSpec.Builder
Overrides

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
Overrides

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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public BigQueryConnectionSpec.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
BigQueryConnectionSpec.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BigQueryConnectionSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BigQueryConnectionSpec.Builder
Overrides

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.ConnectionType

The 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 int

The enum numeric value on the wire for connectionType to set.

Returns
Type Description
BigQueryConnectionSpec.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public BigQueryConnectionSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BigQueryConnectionSpec.Builder
Overrides

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 boolean

The hasCredential to set.

Returns
Type Description
BigQueryConnectionSpec.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public BigQueryConnectionSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
BigQueryConnectionSpec.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final BigQueryConnectionSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BigQueryConnectionSpec.Builder
Overrides