Class DataDiscoverySpec.Builder (1.52.0)

public static final class DataDiscoverySpec.Builder extends GeneratedMessageV3.Builder<DataDiscoverySpec.Builder> implements DataDiscoverySpecOrBuilder

Spec for a data discovery scan.

Protobuf type google.cloud.dataplex.v1.DataDiscoverySpec

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DataDiscoverySpec build()
Returns
Type Description
DataDiscoverySpec

buildPartial()

public DataDiscoverySpec buildPartial()
Returns
Type Description
DataDiscoverySpec

clear()

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

clearBigqueryPublishingConfig()

public DataDiscoverySpec.Builder clearBigqueryPublishingConfig()

Optional. Configuration for metadata publishing.

.google.cloud.dataplex.v1.DataDiscoverySpec.BigQueryPublishingConfig bigquery_publishing_config = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataDiscoverySpec.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearResourceConfig()

public DataDiscoverySpec.Builder clearResourceConfig()
Returns
Type Description
DataDiscoverySpec.Builder

clearStorageConfig()

public DataDiscoverySpec.Builder clearStorageConfig()

Cloud Storage related configurations.

.google.cloud.dataplex.v1.DataDiscoverySpec.StorageConfig storage_config = 100;

Returns
Type Description
DataDiscoverySpec.Builder

clone()

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

getBigqueryPublishingConfig()

public DataDiscoverySpec.BigQueryPublishingConfig getBigqueryPublishingConfig()

Optional. Configuration for metadata publishing.

.google.cloud.dataplex.v1.DataDiscoverySpec.BigQueryPublishingConfig bigquery_publishing_config = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataDiscoverySpec.BigQueryPublishingConfig

The bigqueryPublishingConfig.

getBigqueryPublishingConfigBuilder()

public DataDiscoverySpec.BigQueryPublishingConfig.Builder getBigqueryPublishingConfigBuilder()

Optional. Configuration for metadata publishing.

.google.cloud.dataplex.v1.DataDiscoverySpec.BigQueryPublishingConfig bigquery_publishing_config = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataDiscoverySpec.BigQueryPublishingConfig.Builder

getBigqueryPublishingConfigOrBuilder()

public DataDiscoverySpec.BigQueryPublishingConfigOrBuilder getBigqueryPublishingConfigOrBuilder()

Optional. Configuration for metadata publishing.

.google.cloud.dataplex.v1.DataDiscoverySpec.BigQueryPublishingConfig bigquery_publishing_config = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataDiscoverySpec.BigQueryPublishingConfigOrBuilder

getDefaultInstanceForType()

public DataDiscoverySpec getDefaultInstanceForType()
Returns
Type Description
DataDiscoverySpec

getDescriptorForType()

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

getResourceConfigCase()

public DataDiscoverySpec.ResourceConfigCase getResourceConfigCase()
Returns
Type Description
DataDiscoverySpec.ResourceConfigCase

getStorageConfig()

public DataDiscoverySpec.StorageConfig getStorageConfig()

Cloud Storage related configurations.

.google.cloud.dataplex.v1.DataDiscoverySpec.StorageConfig storage_config = 100;

Returns
Type Description
DataDiscoverySpec.StorageConfig

The storageConfig.

getStorageConfigBuilder()

public DataDiscoverySpec.StorageConfig.Builder getStorageConfigBuilder()

Cloud Storage related configurations.

.google.cloud.dataplex.v1.DataDiscoverySpec.StorageConfig storage_config = 100;

Returns
Type Description
DataDiscoverySpec.StorageConfig.Builder

getStorageConfigOrBuilder()

public DataDiscoverySpec.StorageConfigOrBuilder getStorageConfigOrBuilder()

Cloud Storage related configurations.

.google.cloud.dataplex.v1.DataDiscoverySpec.StorageConfig storage_config = 100;

Returns
Type Description
DataDiscoverySpec.StorageConfigOrBuilder

hasBigqueryPublishingConfig()

public boolean hasBigqueryPublishingConfig()

Optional. Configuration for metadata publishing.

.google.cloud.dataplex.v1.DataDiscoverySpec.BigQueryPublishingConfig bigquery_publishing_config = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the bigqueryPublishingConfig field is set.

hasStorageConfig()

public boolean hasStorageConfig()

Cloud Storage related configurations.

.google.cloud.dataplex.v1.DataDiscoverySpec.StorageConfig storage_config = 100;

Returns
Type Description
boolean

Whether the storageConfig field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeBigqueryPublishingConfig(DataDiscoverySpec.BigQueryPublishingConfig value)

public DataDiscoverySpec.Builder mergeBigqueryPublishingConfig(DataDiscoverySpec.BigQueryPublishingConfig value)

Optional. Configuration for metadata publishing.

.google.cloud.dataplex.v1.DataDiscoverySpec.BigQueryPublishingConfig bigquery_publishing_config = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value DataDiscoverySpec.BigQueryPublishingConfig
Returns
Type Description
DataDiscoverySpec.Builder

mergeFrom(DataDiscoverySpec other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeStorageConfig(DataDiscoverySpec.StorageConfig value)

public DataDiscoverySpec.Builder mergeStorageConfig(DataDiscoverySpec.StorageConfig value)

Cloud Storage related configurations.

.google.cloud.dataplex.v1.DataDiscoverySpec.StorageConfig storage_config = 100;

Parameter
Name Description
value DataDiscoverySpec.StorageConfig
Returns
Type Description
DataDiscoverySpec.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setBigqueryPublishingConfig(DataDiscoverySpec.BigQueryPublishingConfig value)

public DataDiscoverySpec.Builder setBigqueryPublishingConfig(DataDiscoverySpec.BigQueryPublishingConfig value)

Optional. Configuration for metadata publishing.

.google.cloud.dataplex.v1.DataDiscoverySpec.BigQueryPublishingConfig bigquery_publishing_config = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value DataDiscoverySpec.BigQueryPublishingConfig
Returns
Type Description
DataDiscoverySpec.Builder

setBigqueryPublishingConfig(DataDiscoverySpec.BigQueryPublishingConfig.Builder builderForValue)

public DataDiscoverySpec.Builder setBigqueryPublishingConfig(DataDiscoverySpec.BigQueryPublishingConfig.Builder builderForValue)

Optional. Configuration for metadata publishing.

.google.cloud.dataplex.v1.DataDiscoverySpec.BigQueryPublishingConfig bigquery_publishing_config = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue DataDiscoverySpec.BigQueryPublishingConfig.Builder
Returns
Type Description
DataDiscoverySpec.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setStorageConfig(DataDiscoverySpec.StorageConfig value)

public DataDiscoverySpec.Builder setStorageConfig(DataDiscoverySpec.StorageConfig value)

Cloud Storage related configurations.

.google.cloud.dataplex.v1.DataDiscoverySpec.StorageConfig storage_config = 100;

Parameter
Name Description
value DataDiscoverySpec.StorageConfig
Returns
Type Description
DataDiscoverySpec.Builder

setStorageConfig(DataDiscoverySpec.StorageConfig.Builder builderForValue)

public DataDiscoverySpec.Builder setStorageConfig(DataDiscoverySpec.StorageConfig.Builder builderForValue)

Cloud Storage related configurations.

.google.cloud.dataplex.v1.DataDiscoverySpec.StorageConfig storage_config = 100;

Parameter
Name Description
builderForValue DataDiscoverySpec.StorageConfig.Builder
Returns
Type Description
DataDiscoverySpec.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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