Class DataSourceConnectionSpec.Builder (1.50.0)

public static final class DataSourceConnectionSpec.Builder extends GeneratedMessageV3.Builder<DataSourceConnectionSpec.Builder> implements DataSourceConnectionSpecOrBuilder

Specification that applies to a data source connection. Valid only for entries with the DATA_SOURCE_CONNECTION type. Only one of internal specs can be set at the time, and cannot be changed later.

Protobuf type google.cloud.datacatalog.v1.DataSourceConnectionSpec

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DataSourceConnectionSpec build()
Returns
Type Description
DataSourceConnectionSpec

buildPartial()

public DataSourceConnectionSpec buildPartial()
Returns
Type Description
DataSourceConnectionSpec

clear()

public DataSourceConnectionSpec.Builder clear()
Returns
Type Description
DataSourceConnectionSpec.Builder
Overrides

clearBigqueryConnectionSpec()

public DataSourceConnectionSpec.Builder clearBigqueryConnectionSpec()

Output only. Fields specific to BigQuery connections.

.google.cloud.datacatalog.v1.BigQueryConnectionSpec bigquery_connection_spec = 1;

Returns
Type Description
DataSourceConnectionSpec.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getBigqueryConnectionSpec()

public BigQueryConnectionSpec getBigqueryConnectionSpec()

Output only. Fields specific to BigQuery connections.

.google.cloud.datacatalog.v1.BigQueryConnectionSpec bigquery_connection_spec = 1;

Returns
Type Description
BigQueryConnectionSpec

The bigqueryConnectionSpec.

getBigqueryConnectionSpecBuilder()

public BigQueryConnectionSpec.Builder getBigqueryConnectionSpecBuilder()

Output only. Fields specific to BigQuery connections.

.google.cloud.datacatalog.v1.BigQueryConnectionSpec bigquery_connection_spec = 1;

Returns
Type Description
BigQueryConnectionSpec.Builder

getBigqueryConnectionSpecOrBuilder()

public BigQueryConnectionSpecOrBuilder getBigqueryConnectionSpecOrBuilder()

Output only. Fields specific to BigQuery connections.

.google.cloud.datacatalog.v1.BigQueryConnectionSpec bigquery_connection_spec = 1;

Returns
Type Description
BigQueryConnectionSpecOrBuilder

getDefaultInstanceForType()

public DataSourceConnectionSpec getDefaultInstanceForType()
Returns
Type Description
DataSourceConnectionSpec

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

hasBigqueryConnectionSpec()

public boolean hasBigqueryConnectionSpec()

Output only. Fields specific to BigQuery connections.

.google.cloud.datacatalog.v1.BigQueryConnectionSpec bigquery_connection_spec = 1;

Returns
Type Description
boolean

Whether the bigqueryConnectionSpec field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeBigqueryConnectionSpec(BigQueryConnectionSpec value)

public DataSourceConnectionSpec.Builder mergeBigqueryConnectionSpec(BigQueryConnectionSpec value)

Output only. Fields specific to BigQuery connections.

.google.cloud.datacatalog.v1.BigQueryConnectionSpec bigquery_connection_spec = 1;

Parameter
Name Description
value BigQueryConnectionSpec
Returns
Type Description
DataSourceConnectionSpec.Builder

mergeFrom(DataSourceConnectionSpec other)

public DataSourceConnectionSpec.Builder mergeFrom(DataSourceConnectionSpec other)
Parameter
Name Description
other DataSourceConnectionSpec
Returns
Type Description
DataSourceConnectionSpec.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DataSourceConnectionSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataSourceConnectionSpec.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setBigqueryConnectionSpec(BigQueryConnectionSpec value)

public DataSourceConnectionSpec.Builder setBigqueryConnectionSpec(BigQueryConnectionSpec value)

Output only. Fields specific to BigQuery connections.

.google.cloud.datacatalog.v1.BigQueryConnectionSpec bigquery_connection_spec = 1;

Parameter
Name Description
value BigQueryConnectionSpec
Returns
Type Description
DataSourceConnectionSpec.Builder

setBigqueryConnectionSpec(BigQueryConnectionSpec.Builder builderForValue)

public DataSourceConnectionSpec.Builder setBigqueryConnectionSpec(BigQueryConnectionSpec.Builder builderForValue)

Output only. Fields specific to BigQuery connections.

.google.cloud.datacatalog.v1.BigQueryConnectionSpec bigquery_connection_spec = 1;

Parameter
Name Description
builderForValue BigQueryConnectionSpec.Builder
Returns
Type Description
DataSourceConnectionSpec.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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