Class BigQueryConnectionSpec.Builder (1.11.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BigQueryConnectionSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
BigQueryConnectionSpec.Builder
Overrides

build()

public BigQueryConnectionSpec build()
Returns
TypeDescription
BigQueryConnectionSpec

buildPartial()

public BigQueryConnectionSpec buildPartial()
Returns
TypeDescription
BigQueryConnectionSpec

clear()

public BigQueryConnectionSpec.Builder clear()
Returns
TypeDescription
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
TypeDescription
BigQueryConnectionSpec.Builder

clearConnectionSpec()

public BigQueryConnectionSpec.Builder clearConnectionSpec()
Returns
TypeDescription
BigQueryConnectionSpec.Builder

clearConnectionType()

public BigQueryConnectionSpec.Builder clearConnectionType()

The type of the BigQuery connection.

.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType connection_type = 1;

Returns
TypeDescription
BigQueryConnectionSpec.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public BigQueryConnectionSpec.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
BigQueryConnectionSpec.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public BigQueryConnectionSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
BigQueryConnectionSpec.Builder
Overrides

clone()

public BigQueryConnectionSpec.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
CloudSqlBigQueryConnectionSpecOrBuilder

getConnectionSpecCase()

public BigQueryConnectionSpec.ConnectionSpecCase getConnectionSpecCase()
Returns
TypeDescription
BigQueryConnectionSpec.ConnectionSpecCase

getConnectionType()

public BigQueryConnectionSpec.ConnectionType getConnectionType()

The type of the BigQuery connection.

.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType connection_type = 1;

Returns
TypeDescription
BigQueryConnectionSpec.ConnectionType

The connectionType.

getConnectionTypeValue()

public int getConnectionTypeValue()

The type of the BigQuery connection.

.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType connection_type = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for connectionType.

getDefaultInstanceForType()

public BigQueryConnectionSpec getDefaultInstanceForType()
Returns
TypeDescription
BigQueryConnectionSpec

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getHasCredential()

public boolean getHasCredential()

True if there are credentials attached to the BigQuery connection; false otherwise.

bool has_credential = 3;

Returns
TypeDescription
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
TypeDescription
boolean

Whether the cloudSql field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueCloudSqlBigQueryConnectionSpec
Returns
TypeDescription
BigQueryConnectionSpec.Builder

mergeFrom(BigQueryConnectionSpec other)

public BigQueryConnectionSpec.Builder mergeFrom(BigQueryConnectionSpec other)
Parameter
NameDescription
otherBigQueryConnectionSpec
Returns
TypeDescription
BigQueryConnectionSpec.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BigQueryConnectionSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BigQueryConnectionSpec.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public BigQueryConnectionSpec.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
BigQueryConnectionSpec.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BigQueryConnectionSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueCloudSqlBigQueryConnectionSpec
Returns
TypeDescription
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
NameDescription
builderForValueCloudSqlBigQueryConnectionSpec.Builder
Returns
TypeDescription
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
NameDescription
valueBigQueryConnectionSpec.ConnectionType

The connectionType to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
BigQueryConnectionSpec.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public BigQueryConnectionSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueboolean

The hasCredential to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
BigQueryConnectionSpec.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final BigQueryConnectionSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
BigQueryConnectionSpec.Builder
Overrides