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.GeneratedMessageV3.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.GeneratedMessageV3.Builder<DataQualityRule.StatisticRangeExpectation.Builder> implements DataQualityRule.StatisticRangeExpectationOrBuilder
Evaluates whether the column aggregate statistic lies between a specified range.
Protobuf typegoogle.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataQualityRule.StatisticRangeExpectation.Builder>
-
clear
public DataQualityRule.StatisticRangeExpectation.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataQualityRule.StatisticRangeExpectation.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataQualityRule.StatisticRangeExpectation.Builder>
-
getDefaultInstanceForType
public DataQualityRule.StatisticRangeExpectation getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public DataQualityRule.StatisticRangeExpectation build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public DataQualityRule.StatisticRangeExpectation buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public DataQualityRule.StatisticRangeExpectation.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataQualityRule.StatisticRangeExpectation.Builder>
-
setField
public DataQualityRule.StatisticRangeExpectation.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataQualityRule.StatisticRangeExpectation.Builder>
-
clearField
public DataQualityRule.StatisticRangeExpectation.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataQualityRule.StatisticRangeExpectation.Builder>
-
clearOneof
public DataQualityRule.StatisticRangeExpectation.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataQualityRule.StatisticRangeExpectation.Builder>
-
setRepeatedField
public DataQualityRule.StatisticRangeExpectation.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataQualityRule.StatisticRangeExpectation.Builder>
-
addRepeatedField
public DataQualityRule.StatisticRangeExpectation.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataQualityRule.StatisticRangeExpectation.Builder>
-
mergeFrom
public DataQualityRule.StatisticRangeExpectation.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<DataQualityRule.StatisticRangeExpectation.Builder>
-
mergeFrom
public DataQualityRule.StatisticRangeExpectation.Builder mergeFrom(DataQualityRule.StatisticRangeExpectation other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataQualityRule.StatisticRangeExpectation.Builder>
-
mergeFrom
public DataQualityRule.StatisticRangeExpectation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getStatisticValue
in interfaceDataQualityRule.StatisticRangeExpectationOrBuilder
- Returns:
- The enum numeric value on the wire for statistic.
-
setStatisticValue
public DataQualityRule.StatisticRangeExpectation.Builder setStatisticValue(int value)
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
public DataQualityRule.StatisticRangeExpectation.ColumnStatistic getStatistic()
Optional. The aggregate metric to evaluate.
.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic statistic = 1 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getStatistic
in 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
public DataQualityRule.StatisticRangeExpectation.Builder 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
public String 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:
getMinValue
in 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:
getMinValueBytes
in interfaceDataQualityRule.StatisticRangeExpectationOrBuilder
- Returns:
- The bytes for minValue.
-
setMinValue
public DataQualityRule.StatisticRangeExpectation.Builder setMinValue(String 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 minValue to set.- Returns:
- This builder for chaining.
-
clearMinValue
public DataQualityRule.StatisticRangeExpectation.Builder 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
public String 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:
getMaxValue
in 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:
getMaxValueBytes
in interfaceDataQualityRule.StatisticRangeExpectationOrBuilder
- Returns:
- The bytes for maxValue.
-
setMaxValue
public DataQualityRule.StatisticRangeExpectation.Builder setMaxValue(String 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 maxValue to set.- Returns:
- This builder for chaining.
-
clearMaxValue
public DataQualityRule.StatisticRangeExpectation.Builder 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:
getStrictMinEnabled
in interfaceDataQualityRule.StatisticRangeExpectationOrBuilder
- Returns:
- The strictMinEnabled.
-
setStrictMinEnabled
public DataQualityRule.StatisticRangeExpectation.Builder setStrictMinEnabled(boolean value)
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
public DataQualityRule.StatisticRangeExpectation.Builder 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:
getStrictMaxEnabled
in interfaceDataQualityRule.StatisticRangeExpectationOrBuilder
- Returns:
- The strictMaxEnabled.
-
setStrictMaxEnabled
public DataQualityRule.StatisticRangeExpectation.Builder setStrictMaxEnabled(boolean value)
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
public DataQualityRule.StatisticRangeExpectation.Builder 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.
-
setUnknownFields
public final DataQualityRule.StatisticRangeExpectation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataQualityRule.StatisticRangeExpectation.Builder>
-
mergeUnknownFields
public final DataQualityRule.StatisticRangeExpectation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataQualityRule.StatisticRangeExpectation.Builder>
-
-