Class DataSourceConnectionSpec.Builder (1.9.3)

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.

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()

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()

Fields specific to BigQuery connections.

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

Returns
TypeDescription
BigQueryConnectionSpec

The bigqueryConnectionSpec.

getBigqueryConnectionSpecBuilder()

public BigQueryConnectionSpec.Builder getBigqueryConnectionSpecBuilder()

Fields specific to BigQuery connections.

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

Returns
TypeDescription
BigQueryConnectionSpec.Builder

getBigqueryConnectionSpecOrBuilder()

public BigQueryConnectionSpecOrBuilder getBigqueryConnectionSpecOrBuilder()

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()

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)

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)

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)

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