Class DataQualityRule.StatisticRangeExpectation (1.39.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
TypeDescription
int

MIN_VALUE_FIELD_NUMBER

public static final int MIN_VALUE_FIELD_NUMBER
Field Value
TypeDescription
int

STATISTIC_FIELD_NUMBER

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

getDescriptor()

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

newBuilder()

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

newBuilder(DataQualityRule.StatisticRangeExpectation prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

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

The bytes for minValue.

getParserForType()

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

getSerializedSize()

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

The strictMinEnabled.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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