Enum ConversationEvent.Type (4.59.0)

public enum ConversationEvent.Type extends Enum<ConversationEvent.Type> implements ProtocolMessageEnum

Enumeration of the types of events available.

Protobuf enum google.cloud.dialogflow.v2.ConversationEvent.Type

Implements

ProtocolMessageEnum

Static Fields

Name Description
CONVERSATION_FINISHED

An existing conversation has closed. This is fired when a telephone call is terminated, or a conversation is closed via the API.

CONVERSATION_FINISHED = 2;

CONVERSATION_FINISHED_VALUE

An existing conversation has closed. This is fired when a telephone call is terminated, or a conversation is closed via the API.

CONVERSATION_FINISHED = 2;

CONVERSATION_STARTED

A new conversation has been opened. This is fired when a telephone call is answered, or a conversation is created via the API.

CONVERSATION_STARTED = 1;

CONVERSATION_STARTED_VALUE

A new conversation has been opened. This is fired when a telephone call is answered, or a conversation is created via the API.

CONVERSATION_STARTED = 1;

HUMAN_INTERVENTION_NEEDED

An existing conversation has received notification from Dialogflow that human intervention is required.

HUMAN_INTERVENTION_NEEDED = 3;

HUMAN_INTERVENTION_NEEDED_VALUE

An existing conversation has received notification from Dialogflow that human intervention is required.

HUMAN_INTERVENTION_NEEDED = 3;

NEW_MESSAGE

An existing conversation has received a new message, either from API or telephony. It is configured in ConversationProfile.new_message_event_notification_config

NEW_MESSAGE = 5;

NEW_MESSAGE_VALUE

An existing conversation has received a new message, either from API or telephony. It is configured in ConversationProfile.new_message_event_notification_config

NEW_MESSAGE = 5;

TYPE_UNSPECIFIED

Type not set.

TYPE_UNSPECIFIED = 0;

TYPE_UNSPECIFIED_VALUE

Type not set.

TYPE_UNSPECIFIED = 0;

UNRECOGNIZED
UNRECOVERABLE_ERROR

Unrecoverable error during a telephone call.

In general non-recoverable errors only occur if something was misconfigured in the ConversationProfile corresponding to the call. After a non-recoverable error, Dialogflow may stop responding.

We don't fire this event:

  • in an API call because we can directly return the error, or,
  • when we can recover from an error.

UNRECOVERABLE_ERROR = 4;

UNRECOVERABLE_ERROR_VALUE

Unrecoverable error during a telephone call.

In general non-recoverable errors only occur if something was misconfigured in the ConversationProfile corresponding to the call. After a non-recoverable error, Dialogflow may stop responding.

We don't fire this event:

  • in an API call because we can directly return the error, or,
  • when we can recover from an error.

UNRECOVERABLE_ERROR = 4;

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