Class DataQualityRule.StatisticRangeExpectation (1.53.0)

public static final class DataQualityRule.StatisticRangeExpectation extends GeneratedMessageV3 implements DataQualityRule.StatisticRangeExpectationOrBuilder

Evaluates whether the column aggregate statistic lies between a specified range.

Protobuf type google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation

Inheritance

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

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

STATISTIC_FIELD_NUMBER

public static final int STATISTIC_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.StatisticRangeExpectation getDefaultInstance()
Returns
Type Description
DataQualityRule.StatisticRangeExpectation

getDescriptor()

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

newBuilder()

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

newBuilder(DataQualityRule.StatisticRangeExpectation prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

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

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];

Returns
Type Description
String

The maxValue.

getMaxValueBytes()

public 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];

Returns
Type Description
ByteString

The bytes for maxValue.

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];

Returns
Type Description
String

The minValue.

getMinValueBytes()

public 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];

Returns
Type Description
ByteString

The bytes for minValue.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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];

Returns
Type Description
DataQualityRule.StatisticRangeExpectation.ColumnStatistic

The statistic.

getStatisticValue()

public int getStatisticValue()

Optional. The aggregate metric to evaluate.

.google.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic statistic = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for statistic.

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];

Returns
Type Description
boolean

The strictMaxEnabled.

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];

Returns
Type Description
boolean

The strictMinEnabled.

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.StatisticRangeExpectation.Builder newBuilderForType()
Returns
Type Description
DataQualityRule.StatisticRangeExpectation.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DataQualityRule.StatisticRangeExpectation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
DataQualityRule.StatisticRangeExpectation.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.StatisticRangeExpectation.Builder toBuilder()
Returns
Type Description
DataQualityRule.StatisticRangeExpectation.Builder

writeTo(CodedOutputStream output)

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