public static enum Intent.WebhookState extends Enum<Intent.WebhookState> implements ProtocolMessageEnum
Represents the different states that webhooks can be in.Protobuf enum
google.cloud.dialogflow.v2.Intent.WebhookState
Enum Constant and Description |
---|
UNRECOGNIZED |
WEBHOOK_STATE_ENABLED
Webhook is enabled in the agent and in the intent.
|
WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING
Webhook is enabled in the agent and in the intent.
|
WEBHOOK_STATE_UNSPECIFIED
Webhook is disabled in the agent and in the intent.
|
Modifier and Type | Field and Description |
---|---|
static int |
WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING_VALUE
Webhook is enabled in the agent and in the intent.
|
static int |
WEBHOOK_STATE_ENABLED_VALUE
Webhook is enabled in the agent and in the intent.
|
static int |
WEBHOOK_STATE_UNSPECIFIED_VALUE
Webhook is disabled in the agent and in the intent.
|
Modifier and Type | Method and Description |
---|---|
static Intent.WebhookState |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<Intent.WebhookState> |
internalGetValueMap() |
static Intent.WebhookState |
valueOf(Descriptors.EnumValueDescriptor desc) |
static Intent.WebhookState |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Intent.WebhookState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Intent.WebhookState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Intent.WebhookState WEBHOOK_STATE_UNSPECIFIED
Webhook is disabled in the agent and in the intent.
WEBHOOK_STATE_UNSPECIFIED = 0;
public static final Intent.WebhookState WEBHOOK_STATE_ENABLED
Webhook is enabled in the agent and in the intent.
WEBHOOK_STATE_ENABLED = 1;
public static final Intent.WebhookState WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING
Webhook is enabled in the agent and in the intent. Also, each slot filling prompt is forwarded to the webhook.
WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING = 2;
public static final Intent.WebhookState UNRECOGNIZED
public static final int WEBHOOK_STATE_UNSPECIFIED_VALUE
Webhook is disabled in the agent and in the intent.
WEBHOOK_STATE_UNSPECIFIED = 0;
public static final int WEBHOOK_STATE_ENABLED_VALUE
Webhook is enabled in the agent and in the intent.
WEBHOOK_STATE_ENABLED = 1;
public static final int WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING_VALUE
Webhook is enabled in the agent and in the intent. Also, each slot filling prompt is forwarded to the webhook.
WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING = 2;
public static Intent.WebhookState[] values()
for (Intent.WebhookState c : Intent.WebhookState.values()) System.out.println(c);
public static Intent.WebhookState 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 Internal.EnumLite
getNumber
in interface ProtocolMessageEnum
@Deprecated public static Intent.WebhookState valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static Intent.WebhookState forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static Internal.EnumLiteMap<Intent.WebhookState> internalGetValueMap()
public final Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface ProtocolMessageEnum
public final Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface ProtocolMessageEnum
public static final Descriptors.EnumDescriptor getDescriptor()
public static Intent.WebhookState valueOf(Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.