Enum Environment.State (4.42.0)

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

Represents an environment state. When an environment is pointed to a new agent version, the environment is temporarily set to the LOADING state. During that time, the environment keeps on serving the previous version of the agent. After the new agent version is done loading, the environment is set back to the RUNNING state.

Protobuf enum google.cloud.dialogflow.v2.Environment.State

Implements

ProtocolMessageEnum

Static Fields

Name Description
LOADING

Loading.

LOADING = 2;

LOADING_VALUE

Loading.

LOADING = 2;

RUNNING

Running.

RUNNING = 3;

RUNNING_VALUE

Running.

RUNNING = 3;

STATE_UNSPECIFIED

Not specified. This value is not used.

STATE_UNSPECIFIED = 0;

STATE_UNSPECIFIED_VALUE

Not specified. This value is not used.

STATE_UNSPECIFIED = 0;

STOPPED

Stopped.

STOPPED = 1;

STOPPED_VALUE

Stopped.

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