# Interface LookerQuery.FilterOrBuilder (0.21.0)

0.21.0 (latest) 0.19.0 0.16.0 0.15.0 0.13.0 0.11.0 0.10.0 0.9.0 0.8.0 0.6.0 0.4.0 0.3.0 0.2.0 0.1.0

    public static interface LookerQuery.FilterOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getField()

    public abstract String getField()

Required. The field to filter on.

`string field = 1 [(.google.api.field_behavior) = REQUIRED];`

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

### getFieldBytes()

    public abstract ByteString getFieldBytes()

Required. The field to filter on.

`string field = 1 [(.google.api.field_behavior) = REQUIRED];`

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

### getValue()

    public abstract String getValue()

Optional. The value for the field to filter on.
Optional so we can preserve the default value as an empty
string, important to get a valid and working Looker Explore url.

`optional string value = 2 [(.google.api.field_behavior) = OPTIONAL];`

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

### getValueBytes()

    public abstract ByteString getValueBytes()

Optional. The value for the field to filter on.
Optional so we can preserve the default value as an empty
string, important to get a valid and working Looker Explore url.

`optional string value = 2 [(.google.api.field_behavior) = OPTIONAL];`

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

### hasValue()

    public abstract boolean hasValue()

Optional. The value for the field to filter on.
Optional so we can preserve the default value as an empty
string, important to get a valid and working Looker Explore url.

`optional string value = 2 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the value field is set. |