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