public static enum ResponseMessage.ResponseType extends Enum<ResponseMessage.ResponseType> implements com.google.protobuf.ProtocolMessageEnum
Represents different response types.Protobuf enum
google.cloud.dialogflow.cx.v3.ResponseMessage.ResponseType| Enum Constant and Description |
|---|
ENTRY_PROMPT
The response is from an [entry
prompt][google.cloud.dialogflow.cx.v3.Page.entry_fulfillment] in the
page.
|
HANDLER_PROMPT
The response is from a [transition
route][google.cloud.dialogflow.cx.v3.TransitionRoute] or an [event
handler][EventHandler] in the page or flow or transition route group.
|
PARAMETER_PROMPT
The response is from [form-filling
prompt][google.cloud.dialogflow.cx.v3.Form.Parameter.fill_behavior] in
the page.
|
RESPONSE_TYPE_UNSPECIFIED
Not specified.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ENTRY_PROMPT_VALUE
The response is from an [entry
prompt][google.cloud.dialogflow.cx.v3.Page.entry_fulfillment] in the
page.
|
static int |
HANDLER_PROMPT_VALUE
The response is from a [transition
route][google.cloud.dialogflow.cx.v3.TransitionRoute] or an [event
handler][EventHandler] in the page or flow or transition route group.
|
static int |
PARAMETER_PROMPT_VALUE
The response is from [form-filling
prompt][google.cloud.dialogflow.cx.v3.Form.Parameter.fill_behavior] in
the page.
|
static int |
RESPONSE_TYPE_UNSPECIFIED_VALUE
Not specified.
|
| Modifier and Type | Method and Description |
|---|---|
static ResponseMessage.ResponseType |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<ResponseMessage.ResponseType> |
internalGetValueMap() |
static ResponseMessage.ResponseType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ResponseMessage.ResponseType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ResponseMessage.ResponseType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResponseMessage.ResponseType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResponseMessage.ResponseType RESPONSE_TYPE_UNSPECIFIED
Not specified.
RESPONSE_TYPE_UNSPECIFIED = 0;public static final ResponseMessage.ResponseType ENTRY_PROMPT
The response is from an [entry prompt][google.cloud.dialogflow.cx.v3.Page.entry_fulfillment] in the page.
ENTRY_PROMPT = 1;public static final ResponseMessage.ResponseType PARAMETER_PROMPT
The response is from [form-filling prompt][google.cloud.dialogflow.cx.v3.Form.Parameter.fill_behavior] in the page.
PARAMETER_PROMPT = 2;public static final ResponseMessage.ResponseType HANDLER_PROMPT
The response is from a [transition route][google.cloud.dialogflow.cx.v3.TransitionRoute] or an [event handler][EventHandler] in the page or flow or transition route group.
HANDLER_PROMPT = 3;public static final ResponseMessage.ResponseType UNRECOGNIZED
public static final int RESPONSE_TYPE_UNSPECIFIED_VALUE
Not specified.
RESPONSE_TYPE_UNSPECIFIED = 0;public static final int ENTRY_PROMPT_VALUE
The response is from an [entry prompt][google.cloud.dialogflow.cx.v3.Page.entry_fulfillment] in the page.
ENTRY_PROMPT = 1;public static final int PARAMETER_PROMPT_VALUE
The response is from [form-filling prompt][google.cloud.dialogflow.cx.v3.Form.Parameter.fill_behavior] in the page.
PARAMETER_PROMPT = 2;public static final int HANDLER_PROMPT_VALUE
The response is from a [transition route][google.cloud.dialogflow.cx.v3.TransitionRoute] or an [event handler][EventHandler] in the page or flow or transition route group.
HANDLER_PROMPT = 3;public static ResponseMessage.ResponseType[] values()
for (ResponseMessage.ResponseType c : ResponseMessage.ResponseType.values()) System.out.println(c);
public static ResponseMessage.ResponseType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static ResponseMessage.ResponseType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static ResponseMessage.ResponseType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<ResponseMessage.ResponseType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static ResponseMessage.ResponseType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.