Google Cloud Vision Ai V1 Client - Class State (0.1.0)

Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class State.

State represents the running status of the Process.

Protobuf type google.cloud.visionai.v1.RunStatus.State

Namespace

Google \ Cloud \ VisionAI \ V1 \ RunStatus

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

STATE_UNSPECIFIED

Value: 0

State is unspecified.

Generated from protobuf enum STATE_UNSPECIFIED = 0;

INITIALIZING

Value: 1

INITIALIZING means the Process is scheduled but yet ready to handle real traffic.

Generated from protobuf enum INITIALIZING = 1;

RUNNING

Value: 2

RUNNING means the Process is up running and handling traffic.

Generated from protobuf enum RUNNING = 2;

COMPLETED

Value: 3

COMPLETED means the Process has completed the processing, especially for non-streaming use case.

Generated from protobuf enum COMPLETED = 3;

FAILED

Value: 4

FAILED means the Process failed to complete the processing.

Generated from protobuf enum FAILED = 4;

PENDING

Value: 5

PENDING means the Process is created but yet to be scheduled.

Generated from protobuf enum PENDING = 5;