# Google Cloud Datastream V1 Client - Class State (2.5.3)

2.5.3 (latest) 2.5.2 2.4.0 2.3.1 2.2.0 2.1.1 2.0.1 1.5.5 1.4.2 1.3.0 1.2.1 1.1.0 1.0.5 Reference documentation and code samples for the Google Cloud Datastream V1 Client class State.

State of the stream object's backfill job.

Protobuf type `google.cloud.datastream.v1.BackfillJob.State`

## Namespace

Google \\ Cloud \\ Datastream \\ V1 \\ BackfillJob

## Methods

### static::name

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

### static::value

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

## Constants

### STATE_UNSPECIFIED

    Value: 0

Default value.

Generated from protobuf enum `STATE_UNSPECIFIED = 0;`

### NOT_STARTED

    Value: 1

Backfill job was never started for the stream object (stream has backfill
strategy defined as manual or object was explicitly excluded from
automatic backfill).

Generated from protobuf enum `NOT_STARTED = 1;`

### PENDING

    Value: 2

Backfill job will start pending available resources.

Generated from protobuf enum `PENDING = 2;`

### ACTIVE

    Value: 3

Backfill job is running.

Generated from protobuf enum `ACTIVE = 3;`

### STOPPED

    Value: 4

Backfill job stopped (next job run will start from beginning).

Generated from protobuf enum `STOPPED = 4;`

### FAILED

    Value: 5

Backfill job failed (due to an error).

Generated from protobuf enum `FAILED = 5;`

### COMPLETED

    Value: 6

Backfill completed successfully.

Generated from protobuf enum `COMPLETED = 6;`

### UNSUPPORTED

    Value: 7

Backfill job failed since the table structure is currently unsupported
for backfill.

Generated from protobuf enum `UNSUPPORTED = 7;`