# Interface PreprocessingConfig.CropOrBuilder (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.CropOrBuilder)
- [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.CropOrBuilder)
- [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.CropOrBuilder)

    public static interface PreprocessingConfig.CropOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getBottomPixels()

    public abstract int getBottomPixels()

The number of pixels to crop from the bottom. The default is 0.

`int32 bottom_pixels = 2;`

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

### getLeftPixels()

    public abstract int getLeftPixels()

The number of pixels to crop from the left. The default is 0.

`int32 left_pixels = 3;`

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

### getRightPixels()

    public abstract int getRightPixels()

The number of pixels to crop from the right. The default is 0.

`int32 right_pixels = 4;`

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

### getTopPixels()

    public abstract int getTopPixels()

The number of pixels to crop from the top. The default is 0.

`int32 top_pixels = 1;`

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