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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BigQueryConnectionSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public BigQueryConnectionSpec build()
Returns
buildPartial()
public BigQueryConnectionSpec buildPartial()
Returns
clear()
public BigQueryConnectionSpec.Builder clear()
Returns
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
clearConnectionSpec()
public BigQueryConnectionSpec.Builder clearConnectionSpec()
Returns
clearConnectionType()
public BigQueryConnectionSpec.Builder clearConnectionType()
The type of the BigQuery connection.
.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType connection_type = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public BigQueryConnectionSpec.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearHasCredential()
public BigQueryConnectionSpec.Builder clearHasCredential()
True if there are credentials attached to the BigQuery connection; false
otherwise.
bool has_credential = 3;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public BigQueryConnectionSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public BigQueryConnectionSpec.Builder clone()
Returns
Overrides
getCloudSql()
public CloudSqlBigQueryConnectionSpec getCloudSql()
Specification for the BigQuery connection to a Cloud SQL instance.
.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec cloud_sql = 2;
Returns
getCloudSqlBuilder()
public CloudSqlBigQueryConnectionSpec.Builder getCloudSqlBuilder()
Specification for the BigQuery connection to a Cloud SQL instance.
.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec cloud_sql = 2;
Returns
getCloudSqlOrBuilder()
public CloudSqlBigQueryConnectionSpecOrBuilder getCloudSqlOrBuilder()
Specification for the BigQuery connection to a Cloud SQL instance.
.google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec cloud_sql = 2;
Returns
getConnectionSpecCase()
public BigQueryConnectionSpec.ConnectionSpecCase getConnectionSpecCase()
Returns
getConnectionType()
public BigQueryConnectionSpec.ConnectionType getConnectionType()
The type of the BigQuery connection.
.google.cloud.datacatalog.v1.BigQueryConnectionSpec.ConnectionType connection_type = 1;
Returns
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
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
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
Returns
mergeFrom(BigQueryConnectionSpec other)
public BigQueryConnectionSpec.Builder mergeFrom(BigQueryConnectionSpec other)
Parameter
Returns
public BigQueryConnectionSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public BigQueryConnectionSpec.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BigQueryConnectionSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns
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
Returns
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
setField(Descriptors.FieldDescriptor field, Object value)
public BigQueryConnectionSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BigQueryConnectionSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final BigQueryConnectionSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides