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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DataSourceConnectionSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public DataSourceConnectionSpec build()
Returns
buildPartial()
public DataSourceConnectionSpec buildPartial()
Returns
clear()
public DataSourceConnectionSpec.Builder clear()
Returns
Overrides
clearBigqueryConnectionSpec()
public DataSourceConnectionSpec.Builder clearBigqueryConnectionSpec()
Output only. Fields specific to BigQuery connections.
.google.cloud.datacatalog.v1.BigQueryConnectionSpec bigquery_connection_spec = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public DataSourceConnectionSpec.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public DataSourceConnectionSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public DataSourceConnectionSpec.Builder clone()
Returns
Overrides
getBigqueryConnectionSpec()
public BigQueryConnectionSpec getBigqueryConnectionSpec()
Output only. Fields specific to BigQuery connections.
.google.cloud.datacatalog.v1.BigQueryConnectionSpec bigquery_connection_spec = 1;
Returns
getBigqueryConnectionSpecBuilder()
public BigQueryConnectionSpec.Builder getBigqueryConnectionSpecBuilder()
Output only. Fields specific to BigQuery connections.
.google.cloud.datacatalog.v1.BigQueryConnectionSpec bigquery_connection_spec = 1;
Returns
getBigqueryConnectionSpecOrBuilder()
public BigQueryConnectionSpecOrBuilder getBigqueryConnectionSpecOrBuilder()
Output only. Fields specific to BigQuery connections.
.google.cloud.datacatalog.v1.BigQueryConnectionSpec bigquery_connection_spec = 1;
Returns
getDefaultInstanceForType()
public DataSourceConnectionSpec getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
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
Returns
mergeFrom(DataSourceConnectionSpec other)
public DataSourceConnectionSpec.Builder mergeFrom(DataSourceConnectionSpec other)
Parameter
Returns
public DataSourceConnectionSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public DataSourceConnectionSpec.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DataSourceConnectionSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public DataSourceConnectionSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DataSourceConnectionSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final DataSourceConnectionSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides