Class DataQualityRule.RangeExpectation (0.16.0)

public static final class DataQualityRule.RangeExpectation extends GeneratedMessageV3 implements DataQualityRule.RangeExpectationOrBuilder

Evaluates whether each column value lies between a specified range.

Protobuf type google.events.cloud.dataplex.v1.DataQualityRule.RangeExpectation

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > DataQualityRule.RangeExpectation

Static Fields

MAX_VALUE_FIELD_NUMBER

public static final int MAX_VALUE_FIELD_NUMBER
Field Value
Type Description
int

MIN_VALUE_FIELD_NUMBER

public static final int MIN_VALUE_FIELD_NUMBER
Field Value
Type Description
int

STRICT_MAX_ENABLED_FIELD_NUMBER

public static final int STRICT_MAX_ENABLED_FIELD_NUMBER
Field Value
Type Description
int

STRICT_MIN_ENABLED_FIELD_NUMBER

public static final int STRICT_MIN_ENABLED_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DataQualityRule.RangeExpectation getDefaultInstance()
Returns
Type Description
DataQualityRule.RangeExpectation

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static DataQualityRule.RangeExpectation.Builder newBuilder()
Returns
Type Description
DataQualityRule.RangeExpectation.Builder

newBuilder(DataQualityRule.RangeExpectation prototype)

public static DataQualityRule.RangeExpectation.Builder newBuilder(DataQualityRule.RangeExpectation prototype)
Parameter
Name Description
prototype DataQualityRule.RangeExpectation
Returns
Type Description
DataQualityRule.RangeExpectation.Builder

parseDelimitedFrom(InputStream input)

public static DataQualityRule.RangeExpectation parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DataQualityRule.RangeExpectation
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DataQualityRule.RangeExpectation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataQualityRule.RangeExpectation
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static DataQualityRule.RangeExpectation parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
DataQualityRule.RangeExpectation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DataQualityRule.RangeExpectation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataQualityRule.RangeExpectation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DataQualityRule.RangeExpectation parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
DataQualityRule.RangeExpectation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DataQualityRule.RangeExpectation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataQualityRule.RangeExpectation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DataQualityRule.RangeExpectation parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
DataQualityRule.RangeExpectation
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DataQualityRule.RangeExpectation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataQualityRule.RangeExpectation
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static DataQualityRule.RangeExpectation parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DataQualityRule.RangeExpectation
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DataQualityRule.RangeExpectation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataQualityRule.RangeExpectation
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static DataQualityRule.RangeExpectation parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
DataQualityRule.RangeExpectation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DataQualityRule.RangeExpectation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataQualityRule.RangeExpectation
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<DataQualityRule.RangeExpectation> parser()
Returns
Type Description
Parser<RangeExpectation>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public DataQualityRule.RangeExpectation getDefaultInstanceForType()
Returns
Type Description
DataQualityRule.RangeExpectation

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;

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;

Returns
Type Description
ByteString

The bytes for maxValue.

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;

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;

Returns
Type Description
ByteString

The bytes for minValue.

getParserForType()

public Parser<DataQualityRule.RangeExpectation> getParserForType()
Returns
Type Description
Parser<RangeExpectation>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
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;

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;

Returns
Type Description
boolean

The strictMinEnabled.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
Type Description
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public DataQualityRule.RangeExpectation.Builder newBuilderForType()
Returns
Type Description
DataQualityRule.RangeExpectation.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DataQualityRule.RangeExpectation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
DataQualityRule.RangeExpectation.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public DataQualityRule.RangeExpectation.Builder toBuilder()
Returns
Type Description
DataQualityRule.RangeExpectation.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException