public static enum ImportIntentsRequest.MergeOption extends Enum<ImportIntentsRequest.MergeOption> implements com.google.protobuf.ProtocolMessageEnum
Merge option when display name conflicts exist during import.Protobuf enum
google.cloud.dialogflow.cx.v3.ImportIntentsRequest.MergeOption| Enum Constant and Description |
|---|
KEEP
Keep the original intent and discard the conflicting new intent when
display name conflicts exist.
|
MERGE
Merge the original intent with the new intent when display name conflicts
exist.
|
MERGE_OPTION_UNSPECIFIED
Unspecified.
|
REJECT
Deprecated.
|
RENAME
Create new intents with new display names to differentiate them from the
existing intents when display name conflicts exist.
|
REPLACE
Replace the original intent in the agent with the new intent when display
name conflicts exist.
|
REPORT_CONFLICT
Report conflict information if display names conflict is detected.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
KEEP_VALUE
Keep the original intent and discard the conflicting new intent when
display name conflicts exist.
|
static int |
MERGE_OPTION_UNSPECIFIED_VALUE
Unspecified.
|
static int |
MERGE_VALUE
Merge the original intent with the new intent when display name conflicts
exist.
|
static int |
REJECT_VALUE
Deprecated.
|
static int |
RENAME_VALUE
Create new intents with new display names to differentiate them from the
existing intents when display name conflicts exist.
|
static int |
REPLACE_VALUE
Replace the original intent in the agent with the new intent when display
name conflicts exist.
|
static int |
REPORT_CONFLICT_VALUE
Report conflict information if display names conflict is detected.
|
| Modifier and Type | Method and Description |
|---|---|
static ImportIntentsRequest.MergeOption |
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<ImportIntentsRequest.MergeOption> |
internalGetValueMap() |
static ImportIntentsRequest.MergeOption |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ImportIntentsRequest.MergeOption |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ImportIntentsRequest.MergeOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImportIntentsRequest.MergeOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImportIntentsRequest.MergeOption MERGE_OPTION_UNSPECIFIED
Unspecified. Should not be used.
MERGE_OPTION_UNSPECIFIED = 0;@Deprecated public static final ImportIntentsRequest.MergeOption REJECT
DEPRECATED: Please use [REPORT_CONFLICT][ImportIntentsRequest.REPORT_CONFLICT] instead. Fail the request if there are intents whose display names conflict with the display names of intents in the agent.
REJECT = 1 [deprecated = true];public static final ImportIntentsRequest.MergeOption REPLACE
Replace the original intent in the agent with the new intent when display name conflicts exist.
REPLACE = 2;public static final ImportIntentsRequest.MergeOption MERGE
Merge the original intent with the new intent when display name conflicts exist.
MERGE = 3;public static final ImportIntentsRequest.MergeOption RENAME
Create new intents with new display names to differentiate them from the existing intents when display name conflicts exist.
RENAME = 4;public static final ImportIntentsRequest.MergeOption REPORT_CONFLICT
Report conflict information if display names conflict is detected. Otherwise, import intents.
REPORT_CONFLICT = 5;public static final ImportIntentsRequest.MergeOption KEEP
Keep the original intent and discard the conflicting new intent when display name conflicts exist.
KEEP = 6;public static final ImportIntentsRequest.MergeOption UNRECOGNIZED
public static final int MERGE_OPTION_UNSPECIFIED_VALUE
Unspecified. Should not be used.
MERGE_OPTION_UNSPECIFIED = 0;@Deprecated public static final int REJECT_VALUE
DEPRECATED: Please use [REPORT_CONFLICT][ImportIntentsRequest.REPORT_CONFLICT] instead. Fail the request if there are intents whose display names conflict with the display names of intents in the agent.
REJECT = 1 [deprecated = true];public static final int REPLACE_VALUE
Replace the original intent in the agent with the new intent when display name conflicts exist.
REPLACE = 2;public static final int MERGE_VALUE
Merge the original intent with the new intent when display name conflicts exist.
MERGE = 3;public static final int RENAME_VALUE
Create new intents with new display names to differentiate them from the existing intents when display name conflicts exist.
RENAME = 4;public static final int REPORT_CONFLICT_VALUE
Report conflict information if display names conflict is detected. Otherwise, import intents.
REPORT_CONFLICT = 5;public static final int KEEP_VALUE
Keep the original intent and discard the conflicting new intent when display name conflicts exist.
KEEP = 6;public static ImportIntentsRequest.MergeOption[] values()
for (ImportIntentsRequest.MergeOption c : ImportIntentsRequest.MergeOption.values()) System.out.println(c);
public static ImportIntentsRequest.MergeOption 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 ImportIntentsRequest.MergeOption valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static ImportIntentsRequest.MergeOption forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<ImportIntentsRequest.MergeOption> 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 ImportIntentsRequest.MergeOption valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.