Class DataQualityRule.RangeExpectation (0.14.1)

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
TypeDescription
int

MIN_VALUE_FIELD_NUMBER

public static final int MIN_VALUE_FIELD_NUMBER
Field Value
TypeDescription
int

STRICT_MAX_ENABLED_FIELD_NUMBER

public static final int STRICT_MAX_ENABLED_FIELD_NUMBER
Field Value
TypeDescription
int

STRICT_MIN_ENABLED_FIELD_NUMBER

public static final int STRICT_MIN_ENABLED_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static DataQualityRule.RangeExpectation getDefaultInstance()
Returns
TypeDescription
DataQualityRule.RangeExpectation

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static DataQualityRule.RangeExpectation.Builder newBuilder()
Returns
TypeDescription
DataQualityRule.RangeExpectation.Builder

newBuilder(DataQualityRule.RangeExpectation prototype)

public static DataQualityRule.RangeExpectation.Builder newBuilder(DataQualityRule.RangeExpectation prototype)
Parameter
NameDescription
prototypeDataQualityRule.RangeExpectation
Returns
TypeDescription
DataQualityRule.RangeExpectation.Builder

parseDelimitedFrom(InputStream input)

public static DataQualityRule.RangeExpectation parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DataQualityRule.RangeExpectation
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DataQualityRule.RangeExpectation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataQualityRule.RangeExpectation
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static DataQualityRule.RangeExpectation parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
DataQualityRule.RangeExpectation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DataQualityRule.RangeExpectation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataQualityRule.RangeExpectation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DataQualityRule.RangeExpectation parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
DataQualityRule.RangeExpectation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DataQualityRule.RangeExpectation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataQualityRule.RangeExpectation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DataQualityRule.RangeExpectation parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
DataQualityRule.RangeExpectation
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DataQualityRule.RangeExpectation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataQualityRule.RangeExpectation
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static DataQualityRule.RangeExpectation parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DataQualityRule.RangeExpectation
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DataQualityRule.RangeExpectation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataQualityRule.RangeExpectation
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static DataQualityRule.RangeExpectation parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
DataQualityRule.RangeExpectation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DataQualityRule.RangeExpectation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataQualityRule.RangeExpectation
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public DataQualityRule.RangeExpectation getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for minValue.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

The strictMinEnabled.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public DataQualityRule.RangeExpectation.Builder newBuilderForType()
Returns
TypeDescription
DataQualityRule.RangeExpectation.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DataQualityRule.RangeExpectation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
DataQualityRule.RangeExpectation.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public DataQualityRule.RangeExpectation.Builder toBuilder()
Returns
TypeDescription
DataQualityRule.RangeExpectation.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException