public static enum WebhookResponse.FulfillmentResponse.MergeBehavior extends Enum<WebhookResponse.FulfillmentResponse.MergeBehavior> implements com.google.protobuf.ProtocolMessageEnum
Defines merge behavior for `messages`.Protobuf enum
google.cloud.dialogflow.cx.v3.WebhookResponse.FulfillmentResponse.MergeBehavior| Enum Constant and Description |
|---|
APPEND
`messages` will be appended to the list of messages waiting to be sent
to the user.
|
MERGE_BEHAVIOR_UNSPECIFIED
Not specified.
|
REPLACE
`messages` will replace the list of messages waiting to be sent to the
user.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
APPEND_VALUE
`messages` will be appended to the list of messages waiting to be sent
to the user.
|
static int |
MERGE_BEHAVIOR_UNSPECIFIED_VALUE
Not specified.
|
static int |
REPLACE_VALUE
`messages` will replace the list of messages waiting to be sent to the
user.
|
| Modifier and Type | Method and Description |
|---|---|
static WebhookResponse.FulfillmentResponse.MergeBehavior |
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<WebhookResponse.FulfillmentResponse.MergeBehavior> |
internalGetValueMap() |
static WebhookResponse.FulfillmentResponse.MergeBehavior |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static WebhookResponse.FulfillmentResponse.MergeBehavior |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static WebhookResponse.FulfillmentResponse.MergeBehavior |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WebhookResponse.FulfillmentResponse.MergeBehavior[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WebhookResponse.FulfillmentResponse.MergeBehavior MERGE_BEHAVIOR_UNSPECIFIED
Not specified. `APPEND` will be used.
MERGE_BEHAVIOR_UNSPECIFIED = 0;public static final WebhookResponse.FulfillmentResponse.MergeBehavior APPEND
`messages` will be appended to the list of messages waiting to be sent to the user.
APPEND = 1;public static final WebhookResponse.FulfillmentResponse.MergeBehavior REPLACE
`messages` will replace the list of messages waiting to be sent to the user.
REPLACE = 2;public static final WebhookResponse.FulfillmentResponse.MergeBehavior UNRECOGNIZED
public static final int MERGE_BEHAVIOR_UNSPECIFIED_VALUE
Not specified. `APPEND` will be used.
MERGE_BEHAVIOR_UNSPECIFIED = 0;public static final int APPEND_VALUE
`messages` will be appended to the list of messages waiting to be sent to the user.
APPEND = 1;public static final int REPLACE_VALUE
`messages` will replace the list of messages waiting to be sent to the user.
REPLACE = 2;public static WebhookResponse.FulfillmentResponse.MergeBehavior[] values()
for (WebhookResponse.FulfillmentResponse.MergeBehavior c : WebhookResponse.FulfillmentResponse.MergeBehavior.values()) System.out.println(c);
public static WebhookResponse.FulfillmentResponse.MergeBehavior 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 WebhookResponse.FulfillmentResponse.MergeBehavior valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static WebhookResponse.FulfillmentResponse.MergeBehavior forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<WebhookResponse.FulfillmentResponse.MergeBehavior> 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 WebhookResponse.FulfillmentResponse.MergeBehavior valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.