com.google.cloud.dataplex.v1.DataQualitySpecOrBuilder Maven / Gradle / Ivy
/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/dataplex/v1/data_quality.proto
// Protobuf Java Version: 3.25.3
package com.google.cloud.dataplex.v1;
public interface DataQualitySpecOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataQualitySpec)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* 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];
*
*/
java.util.List 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];
*
*/
com.google.cloud.dataplex.v1.DataQualityRule getRules(int index);
/**
*
*
*
* 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];
*
*/
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];
*
*/
java.util.List extends com.google.cloud.dataplex.v1.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];
*
*/
com.google.cloud.dataplex.v1.DataQualityRuleOrBuilder getRulesOrBuilder(int index);
/**
*
*
*
* 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];
*
* @return The samplingPercent.
*/
float getSamplingPercent();
/**
*
*
*
* 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
* BigQuery standard SQL syntax.
* Example: col1 >= 0 AND col2 < 10
*
*
* string row_filter = 5 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The rowFilter.
*/
java.lang.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
* BigQuery standard SQL syntax.
* Example: col1 >= 0 AND col2 < 10
*
*
* string row_filter = 5 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The bytes for rowFilter.
*/
com.google.protobuf.ByteString getRowFilterBytes();
/**
*
*
*
* Optional. Actions to take upon job completion.
*
*
*
* .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions post_scan_actions = 6 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return Whether the postScanActions field is set.
*/
boolean hasPostScanActions();
/**
*
*
*
* Optional. Actions to take upon job completion.
*
*
*
* .google.cloud.dataplex.v1.DataQualitySpec.PostScanActions post_scan_actions = 6 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return The postScanActions.
*/
com.google.cloud.dataplex.v1.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];
*
*/
com.google.cloud.dataplex.v1.DataQualitySpec.PostScanActionsOrBuilder
getPostScanActionsOrBuilder();
}