public static enum ImportFlowRequest.ImportOption extends Enum<ImportFlowRequest.ImportOption> implements com.google.protobuf.ProtocolMessageEnum
Import option.Protobuf enum
google.cloud.dialogflow.cx.v3.ImportFlowRequest.ImportOption| Enum Constant and Description |
|---|
FALLBACK
Fallback to default settings if some settings are not supported in the
agent to import into.
|
IMPORT_OPTION_UNSPECIFIED
Unspecified.
|
KEEP
Always respect settings in exported flow content.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
FALLBACK_VALUE
Fallback to default settings if some settings are not supported in the
agent to import into.
|
static int |
IMPORT_OPTION_UNSPECIFIED_VALUE
Unspecified.
|
static int |
KEEP_VALUE
Always respect settings in exported flow content.
|
| Modifier and Type | Method and Description |
|---|---|
static ImportFlowRequest.ImportOption |
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<ImportFlowRequest.ImportOption> |
internalGetValueMap() |
static ImportFlowRequest.ImportOption |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ImportFlowRequest.ImportOption |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ImportFlowRequest.ImportOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImportFlowRequest.ImportOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImportFlowRequest.ImportOption IMPORT_OPTION_UNSPECIFIED
Unspecified. Treated as `KEEP`.
IMPORT_OPTION_UNSPECIFIED = 0;public static final ImportFlowRequest.ImportOption KEEP
Always respect settings in exported flow content. It may cause a import failure if some settings (e.g. custom NLU) are not supported in the agent to import into.
KEEP = 1;public static final ImportFlowRequest.ImportOption FALLBACK
Fallback to default settings if some settings are not supported in the agent to import into. E.g. Standard NLU will be used if custom NLU is not available.
FALLBACK = 2;public static final ImportFlowRequest.ImportOption UNRECOGNIZED
public static final int IMPORT_OPTION_UNSPECIFIED_VALUE
Unspecified. Treated as `KEEP`.
IMPORT_OPTION_UNSPECIFIED = 0;public static final int KEEP_VALUE
Always respect settings in exported flow content. It may cause a import failure if some settings (e.g. custom NLU) are not supported in the agent to import into.
KEEP = 1;public static final int FALLBACK_VALUE
Fallback to default settings if some settings are not supported in the agent to import into. E.g. Standard NLU will be used if custom NLU is not available.
FALLBACK = 2;public static ImportFlowRequest.ImportOption[] values()
for (ImportFlowRequest.ImportOption c : ImportFlowRequest.ImportOption.values()) System.out.println(c);
public static ImportFlowRequest.ImportOption 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 ImportFlowRequest.ImportOption valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static ImportFlowRequest.ImportOption forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<ImportFlowRequest.ImportOption> 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 ImportFlowRequest.ImportOption valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.