Package com.google.cloud.dataplex.v1
Interface DataQualitySpecOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DataQualitySpec,DataQualitySpec.Builder
@Generated
public interface DataQualitySpecOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanOptional.Optional.Optional.Optional.com.google.protobuf.ByteStringOptional.getRules(int index) Required.intRequired.Required.getRulesOrBuilder(int index) Required.List<? extends DataQualityRuleOrBuilder>Required.floatOptional.booleanOptional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getRulesList
List<DataQualityRule> getRulesList()Required. The list of rules to evaluate against a data source. At least one rule is required.
repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; -
getRules
Required. The list of rules to evaluate against a data source. At least one rule is required.
repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; -
getRulesCount
int getRulesCount()Required. The list of rules to evaluate against a data source. At least one rule is required.
repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; -
getRulesOrBuilderList
List<? extends DataQualityRuleOrBuilder> getRulesOrBuilderList()Required. The list of rules to evaluate against a data source. At least one rule is required.
repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; -
getRulesOrBuilder
Required. The list of rules to evaluate against a data source. At least one rule is required.
repeated .google.cloud.dataplex.v1.DataQualityRule rules = 1 [(.google.api.field_behavior) = REQUIRED]; -
getSamplingPercent
float getSamplingPercent()Optional. The percentage of the records to be selected from the dataset for DataScan. * Value can range between 0.0 and 100.0 with up to 3 significant decimal digits. * Sampling is not applied if `sampling_percent` is not specified, 0 or 100.
float sampling_percent = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The samplingPercent.
-
getRowFilter
String getRowFilter()Optional. A filter applied to all rows in a single DataScan job. The filter needs to be a valid SQL expression for a [WHERE clause in GoogleSQL syntax](https://cloud.google.com/bigquery/docs/reference/standard-sql/query-syntax#where_clause). Example: col1 >= 0 AND col2 < 10
string row_filter = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The rowFilter.
-
getRowFilterBytes
com.google.protobuf.ByteString getRowFilterBytes()Optional. A filter applied to all rows in a single DataScan job. The filter needs to be a valid SQL expression for a [WHERE clause in GoogleSQL syntax](https://cloud.google.com/bigquery/docs/reference/standard-sql/query-syntax#where_clause). Example: col1 >= 0 AND col2 < 10
string row_filter = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for rowFilter.
-
hasPostScanActions
boolean hasPostScanActions()Optional. Actions to take upon job completion.
.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions post_scan_actions = 6 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the postScanActions field is set.
-
getPostScanActions
DataQualitySpec.PostScanActions getPostScanActions()Optional. Actions to take upon job completion.
.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions post_scan_actions = 6 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The postScanActions.
-
getPostScanActionsOrBuilder
DataQualitySpec.PostScanActionsOrBuilder getPostScanActionsOrBuilder()Optional. Actions to take upon job completion.
.google.cloud.dataplex.v1.DataQualitySpec.PostScanActions post_scan_actions = 6 [(.google.api.field_behavior) = OPTIONAL]; -
getCatalogPublishingEnabled
boolean getCatalogPublishingEnabled()Optional. If set, the latest DataScan job result will be published as Dataplex Universal Catalog metadata.
bool catalog_publishing_enabled = 8 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The catalogPublishingEnabled.
-