Enum TurnHandoffEvent.Reason (0.19.0)

public enum TurnHandoffEvent.Reason extends Enum<TurnHandoffEvent.Reason> implements ProtocolMessageEnum

Why the stream is handing off.

Protobuf enum google.cloud.ces.v1beta.TurnHandoffEvent.Reason

Implements

ProtocolMessageEnum

Static Fields

Name Description
REASON_UNSPECIFIED

Unspecified.

REASON_UNSPECIFIED = 0;

REASON_UNSPECIFIED_VALUE

Unspecified.

REASON_UNSPECIFIED = 0;

SERVER_RESTART

The serving task is shutting down (release push or rescheduling).

SERVER_RESTART = 1;

SERVER_RESTART_VALUE

The serving task is shutting down (release push or rescheduling).

SERVER_RESTART = 1;

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()