# Cloud Vision V1 Client - Class State (2.2.1)

2.2.1 (latest) 2.2.0 2.1.3 2.0.3 1.10.3 1.9.4 1.8.0 1.7.6 1.6.8 Reference documentation and code samples for the Cloud Vision V1 Client class State.

Batch operation states.

Protobuf type `google.cloud.vision.v1.OperationMetadata.State`

## Namespace

Google \\ Cloud \\ Vision \\ V1 \\ OperationMetadata

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `mixed` |

## Constants

### STATE_UNSPECIFIED

    Value: 0

Invalid.

Generated from protobuf enum `STATE_UNSPECIFIED = 0;`

### CREATED

    Value: 1

Request is received.

Generated from protobuf enum `CREATED = 1;`

### RUNNING

    Value: 2

Request is actively being processed.

Generated from protobuf enum `RUNNING = 2;`

### DONE

    Value: 3

The batch processing is done.

Generated from protobuf enum `DONE = 3;`

### CANCELLED

    Value: 4

The batch processing was cancelled.

Generated from protobuf enum `CANCELLED = 4;`