Enum ArtifactChunk.State (0.19.0)

public enum ArtifactChunk.State extends Enum<ArtifactChunk.State> implements ProtocolMessageEnum

Lifecycle position of this chunk within the artifact's stream.

Protobuf enum google.cloud.ces.v1beta.ArtifactChunk.State

Implements

ProtocolMessageEnum

Static Fields

Name Description
CLOSED

The document finished streaming: its content was fully delivered via content_delta chunks. Persistence may still follow; a FINALIZED chunk with a gcs_uri is sent if and when the artifact is saved.

CLOSED = 5;

CLOSED_VALUE

The document finished streaming: its content was fully delivered via content_delta chunks. Persistence may still follow; a FINALIZED chunk with a gcs_uri is sent if and when the artifact is saved.

CLOSED = 5;

DELTA

A content increment; content_delta is set.

DELTA = 2;

DELTA_VALUE

A content increment; content_delta is set.

DELTA = 2;

FAILED

Generation or persistence failed; the artifact was not saved.

FAILED = 4;

FAILED_VALUE

Generation or persistence failed; the artifact was not saved.

FAILED = 4;

FINALIZED

The artifact was persisted; gcs_uri is set.

FINALIZED = 3;

FINALIZED_VALUE

The artifact was persisted; gcs_uri is set.

FINALIZED = 3;

STARTED

The assistant started generating the artifact.

STARTED = 1;

STARTED_VALUE

The assistant started generating the artifact.

STARTED = 1;

STATE_UNSPECIFIED

Unused default.

STATE_UNSPECIFIED = 0;

STATE_UNSPECIFIED_VALUE

Unused default.

STATE_UNSPECIFIED = 0;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()