# Google Cloud Document Ai V1 Client - Class State (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 State.

The possible states of the processor.

Protobuf type `google.cloud.documentai.v1.Processor.State`

## Namespace

Google \\ Cloud \\ DocumentAI \\ V1 \\ Processor

## Methods

### static::name

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

### static::value

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

## Constants

### STATE_UNSPECIFIED

    Value: 0

The processor is in an unspecified state.

Generated from protobuf enum `STATE_UNSPECIFIED = 0;`

### ENABLED

    Value: 1

The processor is enabled, i.e., has an enabled version which can
currently serve processing requests and all the feature dependencies have
been successfully initialized.

Generated from protobuf enum `ENABLED = 1;`

### DISABLED

    Value: 2

The processor is disabled.

Generated from protobuf enum `DISABLED = 2;`

### ENABLING

    Value: 3

The processor is being enabled, will become `ENABLED` if successful.

Generated from protobuf enum `ENABLING = 3;`

### DISABLING

    Value: 4

The processor is being disabled, will become `DISABLED` if successful.

Generated from protobuf enum `DISABLING = 4;`

### CREATING

    Value: 5

The processor is being created, will become either `ENABLED` (for
successful creation) or `FAILED` (for failed ones).

Once a processor is in this state, it can then be used for document
processing, but the feature dependencies of the processor might not be
fully created yet.

Generated from protobuf enum `CREATING = 5;`

### FAILED

    Value: 6

The processor failed during creation or initialization of feature
dependencies. The user should delete the processor and recreate one as
all the functionalities of the processor are disabled.

Generated from protobuf enum `FAILED = 6;`

### DELETING

    Value: 7

The processor is being deleted, will be removed if successful.

Generated from protobuf enum `DELETING = 7;`