# Interface InputImageOrBuilder (0.33.0)

0.33.0 (latest) 0.31.0 0.28.0 0.27.0 0.25.0 0.23.0 0.22.0 0.20.0 0.18.0 0.16.0 0.15.0 0.14.0 0.13.0 0.12.0 0.10.0 0.8.0 0.7.0 0.4.0 0.3.0 0.2.0

    public interface InputImageOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getImageBytes()

    public abstract ByteString getImageBytes()

Raw image bytes.

`bytes image_bytes = 2;`

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

### getImageCase()

    public abstract InputImage.ImageCase getImageCase()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-shopping-merchant-productstudio/latest/com.google.shopping.merchant.productstudio.v1alpha.InputImage.ImageCase` |   |

### getImageUri()

    public abstract String getImageUri()

Public uri of the image.

`string image_uri = 1;`

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

### getImageUriBytes()

    public abstract ByteString getImageUriBytes()

Public uri of the image.

`string image_uri = 1;`

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

### hasImageBytes()

    public abstract boolean hasImageBytes()

Raw image bytes.

`bytes image_bytes = 2;`

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

### hasImageUri()

    public abstract boolean hasImageUri()

Public uri of the image.

`string image_uri = 1;`

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