Package com.google.cloud.dataplex.v1
Class DataQualityRule.StatisticRangeExpectation.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DataQualityRule.StatisticRangeExpectation.Builder>
com.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.Builder
- All Implemented Interfaces:
DataQualityRule.StatisticRangeExpectationOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- DataQualityRule.StatisticRangeExpectation
public static final class DataQualityRule.StatisticRangeExpectation.Builder
extends com.google.protobuf.GeneratedMessage.Builder<DataQualityRule.StatisticRangeExpectation.Builder>
implements DataQualityRule.StatisticRangeExpectationOrBuilder
Evaluates whether the column aggregate statistic lies between a specified range.Protobuf type
google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Optional.Optional.Optional.Optional.Optional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOptional.com.google.protobuf.ByteStringOptional.Optional.com.google.protobuf.ByteStringOptional.Optional.intOptional.booleanOptional.booleanOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setMaxValue(String value) Optional.setMaxValueBytes(com.google.protobuf.ByteString value) Optional.setMinValue(String value) Optional.setMinValueBytes(com.google.protobuf.ByteString value) Optional.Optional.setStatisticValue(int value) Optional.setStrictMaxEnabled(boolean value) Optional.setStrictMinEnabled(boolean value) Optional.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<DataQualityRule.StatisticRangeExpectation.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<DataQualityRule.StatisticRangeExpectation.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<DataQualityRule.StatisticRangeExpectation.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public DataQualityRule.StatisticRangeExpectation.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DataQualityRule.StatisticRangeExpectation.Builder>
-
mergeFrom
public DataQualityRule.StatisticRangeExpectation.Builder mergeFrom(DataQualityRule.StatisticRangeExpectation other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<DataQualityRule.StatisticRangeExpectation.Builder>
-
mergeFrom
public DataQualityRule.StatisticRangeExpectation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DataQualityRule.StatisticRangeExpectation.Builder>- Throws:
IOException
-
getStatisticValue
public int getStatisticValue()Optional. The aggregate metric to evaluate.
.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic statistic = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getStatisticValuein interfaceDataQualityRule.StatisticRangeExpectationOrBuilder- Returns:
- The enum numeric value on the wire for statistic.
-
setStatisticValue
Optional. The aggregate metric to evaluate.
.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic statistic = 1 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The enum numeric value on the wire for statistic to set.- Returns:
- This builder for chaining.
-
getStatistic
Optional. The aggregate metric to evaluate.
.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic statistic = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getStatisticin interfaceDataQualityRule.StatisticRangeExpectationOrBuilder- Returns:
- The statistic.
-
setStatistic
public DataQualityRule.StatisticRangeExpectation.Builder setStatistic(DataQualityRule.StatisticRangeExpectation.ColumnStatistic value) Optional. The aggregate metric to evaluate.
.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic statistic = 1 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The statistic to set.- Returns:
- This builder for chaining.
-
clearStatistic
Optional. The aggregate metric to evaluate.
.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic statistic = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
getMinValue
Optional. The minimum column statistic value allowed for a row to pass this validation. At least one of `min_value` and `max_value` need to be provided.
string min_value = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getMinValuein interfaceDataQualityRule.StatisticRangeExpectationOrBuilder- Returns:
- The minValue.
-
getMinValueBytes
public com.google.protobuf.ByteString getMinValueBytes()Optional. The minimum column statistic value allowed for a row to pass this validation. At least one of `min_value` and `max_value` need to be provided.
string min_value = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getMinValueBytesin interfaceDataQualityRule.StatisticRangeExpectationOrBuilder- Returns:
- The bytes for minValue.
-
setMinValue
Optional. The minimum column statistic value allowed for a row to pass this validation. At least one of `min_value` and `max_value` need to be provided.
string min_value = 2 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The minValue to set.- Returns:
- This builder for chaining.
-
clearMinValue
Optional. The minimum column statistic value allowed for a row to pass this validation. At least one of `min_value` and `max_value` need to be provided.
string min_value = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setMinValueBytes
public DataQualityRule.StatisticRangeExpectation.Builder setMinValueBytes(com.google.protobuf.ByteString value) Optional. The minimum column statistic value allowed for a row to pass this validation. At least one of `min_value` and `max_value` need to be provided.
string min_value = 2 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for minValue to set.- Returns:
- This builder for chaining.
-
getMaxValue
Optional. The maximum column statistic value allowed for a row to pass this validation. At least one of `min_value` and `max_value` need to be provided.
string max_value = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getMaxValuein interfaceDataQualityRule.StatisticRangeExpectationOrBuilder- Returns:
- The maxValue.
-
getMaxValueBytes
public com.google.protobuf.ByteString getMaxValueBytes()Optional. The maximum column statistic value allowed for a row to pass this validation. At least one of `min_value` and `max_value` need to be provided.
string max_value = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getMaxValueBytesin interfaceDataQualityRule.StatisticRangeExpectationOrBuilder- Returns:
- The bytes for maxValue.
-
setMaxValue
Optional. The maximum column statistic value allowed for a row to pass this validation. At least one of `min_value` and `max_value` need to be provided.
string max_value = 3 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The maxValue to set.- Returns:
- This builder for chaining.
-
clearMaxValue
Optional. The maximum column statistic value allowed for a row to pass this validation. At least one of `min_value` and `max_value` need to be provided.
string max_value = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setMaxValueBytes
public DataQualityRule.StatisticRangeExpectation.Builder setMaxValueBytes(com.google.protobuf.ByteString value) Optional. The maximum column statistic value allowed for a row to pass this validation. At least one of `min_value` and `max_value` need to be provided.
string max_value = 3 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for maxValue to set.- Returns:
- This builder for chaining.
-
getStrictMinEnabled
public boolean getStrictMinEnabled()Optional. Whether column statistic needs to be strictly greater than ('>') the minimum, or if equality is allowed. Only relevant if a `min_value` has been defined. Default = false.bool strict_min_enabled = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getStrictMinEnabledin interfaceDataQualityRule.StatisticRangeExpectationOrBuilder- Returns:
- The strictMinEnabled.
-
setStrictMinEnabled
Optional. Whether column statistic needs to be strictly greater than ('>') the minimum, or if equality is allowed. Only relevant if a `min_value` has been defined. Default = false.bool strict_min_enabled = 4 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The strictMinEnabled to set.- Returns:
- This builder for chaining.
-
clearStrictMinEnabled
Optional. Whether column statistic needs to be strictly greater than ('>') the minimum, or if equality is allowed. Only relevant if a `min_value` has been defined. Default = false.bool strict_min_enabled = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
getStrictMaxEnabled
public boolean getStrictMaxEnabled()Optional. Whether column statistic needs to be strictly lesser than ('<') the maximum, or if equality is allowed. Only relevant if a `max_value` has been defined. Default = false.bool strict_max_enabled = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getStrictMaxEnabledin interfaceDataQualityRule.StatisticRangeExpectationOrBuilder- Returns:
- The strictMaxEnabled.
-
setStrictMaxEnabled
Optional. Whether column statistic needs to be strictly lesser than ('<') the maximum, or if equality is allowed. Only relevant if a `max_value` has been defined. Default = false.bool strict_max_enabled = 5 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The strictMaxEnabled to set.- Returns:
- This builder for chaining.
-
clearStrictMaxEnabled
Optional. Whether column statistic needs to be strictly lesser than ('<') the maximum, or if equality is allowed. Only relevant if a `max_value` has been defined. Default = false.bool strict_max_enabled = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-