Enum Stream.State (1.10.0)

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

Stream state.

Protobuf enum google.cloud.datastream.v1alpha1.Stream.State

Implements

ProtocolMessageEnum

Static Fields

NameDescription
CREATED

The stream has been created.

CREATED = 1;

CREATED_VALUE

The stream has been created.

CREATED = 1;

DRAINING

The Stream is no longer reading new events, but still writing events in the buffer.

DRAINING = 8;

DRAINING_VALUE

The Stream is no longer reading new events, but still writing events in the buffer.

DRAINING = 8;

FAILED

The stream is experiencing an error that is preventing data from being streamed.

FAILED = 5;

FAILED_PERMANENTLY

The stream has experienced a terminal failure.

FAILED_PERMANENTLY = 6;

FAILED_PERMANENTLY_VALUE

The stream has experienced a terminal failure.

FAILED_PERMANENTLY = 6;

FAILED_VALUE

The stream is experiencing an error that is preventing data from being streamed.

FAILED = 5;

MAINTENANCE

The stream is in maintenance mode. Updates are rejected on the resource in this state.

MAINTENANCE = 4;

MAINTENANCE_VALUE

The stream is in maintenance mode. Updates are rejected on the resource in this state.

MAINTENANCE = 4;

PAUSED

The stream is paused.

PAUSED = 3;

PAUSED_VALUE

The stream is paused.

PAUSED = 3;

RUNNING

The stream is running.

RUNNING = 2;

RUNNING_VALUE

The stream is running.

RUNNING = 2;

STARTING

The stream is starting, but not yet running.

STARTING = 7;

STARTING_VALUE

The stream is starting, but not yet running.

STARTING = 7;

STATE_UNSPECIFIED

Unspecified stream state.

STATE_UNSPECIFIED = 0;

STATE_UNSPECIFIED_VALUE

Unspecified stream state.

STATE_UNSPECIFIED = 0;

UNRECOGNIZED

Static Methods

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

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()