Enum Participant.Role (4.59.0)

public enum Participant.Role extends Enum<Participant.Role> implements ProtocolMessageEnum

Enumeration of the roles a participant can play in a conversation.

Protobuf enum google.cloud.dialogflow.v2.Participant.Role

Implements

ProtocolMessageEnum

Static Fields

Name Description
AUTOMATED_AGENT

Participant is an automated agent, such as a Dialogflow agent.

AUTOMATED_AGENT = 2;

AUTOMATED_AGENT_VALUE

Participant is an automated agent, such as a Dialogflow agent.

AUTOMATED_AGENT = 2;

END_USER

Participant is an end user that has called or chatted with Dialogflow services.

END_USER = 3;

END_USER_VALUE

Participant is an end user that has called or chatted with Dialogflow services.

END_USER = 3;

HUMAN_AGENT

Participant is a human agent.

HUMAN_AGENT = 1;

HUMAN_AGENT_VALUE

Participant is a human agent.

HUMAN_AGENT = 1;

ROLE_UNSPECIFIED

Participant role not set.

ROLE_UNSPECIFIED = 0;

ROLE_UNSPECIFIED_VALUE

Participant role not set.

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