# Interface DataQualityRule.StatisticRangeExpectationOrBuilder (0.16.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [0.16.0 (latest)](https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectationOrBuilder)
- [0.15.0](https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/0.15.0/com.google.events.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectationOrBuilder)
- [0.14.1](https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/0.14.1/com.google.events.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectationOrBuilder)

    public static interface DataQualityRule.StatisticRangeExpectationOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## Methods

### getMaxValue()

    public abstract String getMaxValue()

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The maxValue. |

### getMaxValueBytes()

    public abstract ByteString getMaxValueBytes()

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for maxValue. |

### getMinValue()

    public abstract String getMinValue()

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The minValue. |

### getMinValueBytes()

    public abstract ByteString getMinValueBytes()

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for minValue. |

### getStatistic()

    public abstract DataQualityRule.StatisticRangeExpectation.ColumnStatistic getStatistic()

`
.google.events.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic statistic = 1;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic` | The statistic. |

### getStatisticValue()

    public abstract int getStatisticValue()

`
.google.events.cloud.dataplex.v1.DataQualityRule.StatisticRangeExpectation.ColumnStatistic statistic = 1;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire for statistic. |

### getStrictMaxEnabled()

    public abstract boolean getStrictMaxEnabled()

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The strictMaxEnabled. |

### getStrictMinEnabled()

    public abstract boolean getStrictMinEnabled()

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The strictMinEnabled. |