# Google Cloud Vision Ai V1 Client - Class IndexingStatus (0.3.0)

0.3.0 (latest) 0.2.0 0.1.0 Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class IndexingStatus.

The status of indexing for the asset.

Generated from protobuf message `google.cloud.visionai.v1.IndexingStatus`

## Namespace

Google \\ Cloud \\ VisionAI \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ state` | `int` Output only. State of this asset's indexing. |
| `↳ status_message` | `string` Detailed message describing the state. |

### getState

Output only. State of this asset's indexing.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [State](https://docs.cloud.google.com/php/docs/reference/cloud-visionai/latest/V1.IndexingStatus.State). |

### setState

Output only. State of this asset's indexing.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [State](https://docs.cloud.google.com/php/docs/reference/cloud-visionai/latest/V1.IndexingStatus.State). |

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

### getStatusMessage

Detailed message describing the state.

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

### setStatusMessage

Detailed message describing the state.

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

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