# Google Cloud Document Ai V1 Client - Class ImageChunkField (2.7.0)

2.7.0 (latest) 2.6.1 2.5.1 2.4.1 2.3.0 2.2.2 2.1.3 2.0.0 1.14.0 1.13.1 1.12.2 1.9.0 1.8.2 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.2 1.1.1 1.0.1 Reference documentation and code samples for the Google Cloud Document Ai V1 Client class ImageChunkField.

The image chunk field in the chunk.

Generated from protobuf message `google.cloud.documentai.v1.Document.ChunkedDocument.Chunk.ImageChunkField`

## Namespace

Google \\ Cloud \\ DocumentAI \\ V1 \\ Document \\ ChunkedDocument \\ Chunk

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ blob_asset_id` | `string` Optional. Asset id of the inline image. If set, find the image content in the blob_assets field. |
| `↳ gcs_uri` | `string` Optional. Google Cloud Storage uri of the image. |
| `↳ data_uri` | `string` Optional. Data uri of the image. It is composed of four parts: a prefix (data:), a MIME type indicating the type of data, an optional base64 token if non-textual, and the data itself: data:\[ |
| `↳ annotations` | `https://docs.cloud.google.com/php/docs/reference/cloud-document-ai/latest/V1.Document.Annotations` Annotation of the image chunk field. |

### getBlobAssetId

Optional. Asset id of the inline image. If set, find the image
content in the blob_assets field.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### hasBlobAssetId

### setBlobAssetId

Optional. Asset id of the inline image. If set, find the image
content in the blob_assets field.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getGcsUri

Optional. Google Cloud Storage uri of the image.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### hasGcsUri

### setGcsUri

Optional. Google Cloud Storage uri of the image.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDataUri

Optional. Data uri of the image.

It is composed of four parts: a prefix (data:), a MIME type
indicating the type of data, an optional base64 token if
non-textual, and the data itself:
data:\[


| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### hasDataUri

### setDataUri

Optional. Data uri of the image.

It is composed of four parts: a prefix (data:), a MIME type
indicating the type of data, an optional base64 token if
non-textual, and the data itself:
data:\[


| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getAnnotations

Annotation of the image chunk field.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-document-ai/latest/V1.Document.Annotations|null` |   |

### hasAnnotations

### clearAnnotations

### setAnnotations

Annotation of the image chunk field.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-document-ai/latest/V1.Document.Annotations` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getImageSource

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |