Class DataSourceConnectionSpec.Builder (1.37.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DataSourceConnectionSpec build()
Returns
TypeDescription
DataSourceConnectionSpec

buildPartial()

public DataSourceConnectionSpec buildPartial()
Returns
TypeDescription
DataSourceConnectionSpec

clear()

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

clearField(Descriptors.FieldDescriptor field)

public DataSourceConnectionSpec.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
DataSourceConnectionSpec.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public DataSourceConnectionSpec.Builder clone()
Returns
TypeDescription
DataSourceConnectionSpec.Builder
Overrides

getBigqueryConnectionSpec()

public BigQueryConnectionSpec getBigqueryConnectionSpec()

Output only. Fields specific to BigQuery connections.

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

Returns
TypeDescription
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
TypeDescription
BigQueryConnectionSpec.Builder

getBigqueryConnectionSpecOrBuilder()

public BigQueryConnectionSpecOrBuilder getBigqueryConnectionSpecOrBuilder()

Output only. Fields specific to BigQuery connections.

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

Returns
TypeDescription
BigQueryConnectionSpecOrBuilder

getDefaultInstanceForType()

public DataSourceConnectionSpec getDefaultInstanceForType()
Returns
TypeDescription
DataSourceConnectionSpec

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

hasBigqueryConnectionSpec()

public boolean hasBigqueryConnectionSpec()

Output only. Fields specific to BigQuery connections.

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

Returns
TypeDescription
boolean

Whether the bigqueryConnectionSpec field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

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

mergeFrom(DataSourceConnectionSpec other)

public DataSourceConnectionSpec.Builder mergeFrom(DataSourceConnectionSpec other)
Parameter
NameDescription
otherDataSourceConnectionSpec
Returns
TypeDescription
DataSourceConnectionSpec.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DataSourceConnectionSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueBigQueryConnectionSpec
Returns
TypeDescription
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
NameDescription
builderForValueBigQueryConnectionSpec.Builder
Returns
TypeDescription
DataSourceConnectionSpec.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public DataSourceConnectionSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DataSourceConnectionSpec.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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