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