public static final class DataQualityRule.RangeExpectation extends GeneratedMessageV3 implements DataQualityRule.RangeExpectationOrBuilder
Evaluates whether each column value lies between a specified range.
Protobuf type google.cloud.dataplex.v1.DataQualityRule.RangeExpectation
Static Fields
MAX_VALUE_FIELD_NUMBER
public static final int MAX_VALUE_FIELD_NUMBER
Field Value
MIN_VALUE_FIELD_NUMBER
public static final int MIN_VALUE_FIELD_NUMBER
Field Value
STRICT_MAX_ENABLED_FIELD_NUMBER
public static final int STRICT_MAX_ENABLED_FIELD_NUMBER
Field Value
STRICT_MIN_ENABLED_FIELD_NUMBER
public static final int STRICT_MIN_ENABLED_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static DataQualityRule.RangeExpectation getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static DataQualityRule.RangeExpectation.Builder newBuilder()
Returns
newBuilder(DataQualityRule.RangeExpectation prototype)
public static DataQualityRule.RangeExpectation.Builder newBuilder(DataQualityRule.RangeExpectation prototype)
Parameter
Returns
public static DataQualityRule.RangeExpectation parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static DataQualityRule.RangeExpectation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static DataQualityRule.RangeExpectation parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DataQualityRule.RangeExpectation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static DataQualityRule.RangeExpectation parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DataQualityRule.RangeExpectation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DataQualityRule.RangeExpectation parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static DataQualityRule.RangeExpectation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DataQualityRule.RangeExpectation parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static DataQualityRule.RangeExpectation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static DataQualityRule.RangeExpectation parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DataQualityRule.RangeExpectation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<DataQualityRule.RangeExpectation> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public DataQualityRule.RangeExpectation getDefaultInstanceForType()
Returns
getMaxValue()
public String getMaxValue()
Optional. The maximum column 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 = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
String | The maxValue.
|
getMaxValueBytes()
public ByteString getMaxValueBytes()
Optional. The maximum column 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 = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
getMinValue()
public String getMinValue()
Optional. The minimum column 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 = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
String | The minValue.
|
getMinValueBytes()
public ByteString getMinValueBytes()
Optional. The minimum column 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 = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
getParserForType()
public Parser<DataQualityRule.RangeExpectation> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getStrictMaxEnabled()
public boolean getStrictMaxEnabled()
Optional. Whether each value 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 = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
boolean | The strictMaxEnabled.
|
getStrictMinEnabled()
public boolean getStrictMinEnabled()
Optional. Whether each value 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 = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
boolean | The strictMinEnabled.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public DataQualityRule.RangeExpectation.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DataQualityRule.RangeExpectation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public DataQualityRule.RangeExpectation.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions