# Interface PreprocessingConfig.Deinterlace.BwdifConfigOrBuilder (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.video.transcoder.v1.PreprocessingConfig.Deinterlace.BwdifConfigOrBuilder)
- [0.15.0](https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/0.15.0/com.google.events.cloud.video.transcoder.v1.PreprocessingConfig.Deinterlace.BwdifConfigOrBuilder)
- [0.14.1](https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/0.14.1/com.google.events.cloud.video.transcoder.v1.PreprocessingConfig.Deinterlace.BwdifConfigOrBuilder)

    public static interface PreprocessingConfig.Deinterlace.BwdifConfigOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getDeinterlaceAllFrames()

    public abstract boolean getDeinterlaceAllFrames()

Deinterlace all frames rather than just the frames identified as
interlaced. The default is `false`.

`bool deinterlace_all_frames = 3;`

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

### getMode()

    public abstract String getMode()

Specifies the deinterlacing mode to adopt.
The default is `send_frame`.
Supported values:

- `send_frame`: Output one frame for each frame
- `send_field`: Output one frame for each field

`string mode = 1;`

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

### getModeBytes()

    public abstract ByteString getModeBytes()

Specifies the deinterlacing mode to adopt.
The default is `send_frame`.
Supported values:

- `send_frame`: Output one frame for each frame
- `send_field`: Output one frame for each field

`string mode = 1;`

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

### getParity()

    public abstract String getParity()

The picture field parity assumed for the input interlaced video.
The default is `auto`.
Supported values:

- `tff`: Assume the top field is first
- `bff`: Assume the bottom field is first
- `auto`: Enable automatic detection of field parity

`string parity = 2;`

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

### getParityBytes()

    public abstract ByteString getParityBytes()

The picture field parity assumed for the input interlaced video.
The default is `auto`.
Supported values:

- `tff`: Assume the top field is first
- `bff`: Assume the bottom field is first
- `auto`: Enable automatic detection of field parity

`string parity = 2;`

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