public static enum RestoreAgentRequest.RestoreOption extends Enum<RestoreAgentRequest.RestoreOption> implements com.google.protobuf.ProtocolMessageEnum
Restore option.Protobuf enum
google.cloud.dialogflow.cx.v3.RestoreAgentRequest.RestoreOption| Enum Constant and Description |
|---|
FALLBACK
Fallback to default settings if some settings are not supported in the
target agent.
|
KEEP
Always respect the settings from the exported agent file.
|
RESTORE_OPTION_UNSPECIFIED
Unspecified.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
FALLBACK_VALUE
Fallback to default settings if some settings are not supported in the
target agent.
|
static int |
KEEP_VALUE
Always respect the settings from the exported agent file.
|
static int |
RESTORE_OPTION_UNSPECIFIED_VALUE
Unspecified.
|
| Modifier and Type | Method and Description |
|---|---|
static RestoreAgentRequest.RestoreOption |
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<RestoreAgentRequest.RestoreOption> |
internalGetValueMap() |
static RestoreAgentRequest.RestoreOption |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static RestoreAgentRequest.RestoreOption |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static RestoreAgentRequest.RestoreOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RestoreAgentRequest.RestoreOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RestoreAgentRequest.RestoreOption RESTORE_OPTION_UNSPECIFIED
Unspecified. Treated as KEEP.
RESTORE_OPTION_UNSPECIFIED = 0;public static final RestoreAgentRequest.RestoreOption KEEP
Always respect the settings from the exported agent file. It may cause a restoration failure if some settings (e.g. model type) are not supported in the target agent.
KEEP = 1;public static final RestoreAgentRequest.RestoreOption FALLBACK
Fallback to default settings if some settings are not supported in the target agent.
FALLBACK = 2;public static final RestoreAgentRequest.RestoreOption UNRECOGNIZED
public static final int RESTORE_OPTION_UNSPECIFIED_VALUE
Unspecified. Treated as KEEP.
RESTORE_OPTION_UNSPECIFIED = 0;public static final int KEEP_VALUE
Always respect the settings from the exported agent file. It may cause a restoration failure if some settings (e.g. model type) are not supported in the target agent.
KEEP = 1;public static final int FALLBACK_VALUE
Fallback to default settings if some settings are not supported in the target agent.
FALLBACK = 2;public static RestoreAgentRequest.RestoreOption[] values()
for (RestoreAgentRequest.RestoreOption c : RestoreAgentRequest.RestoreOption.values()) System.out.println(c);
public static RestoreAgentRequest.RestoreOption 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 RestoreAgentRequest.RestoreOption valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static RestoreAgentRequest.RestoreOption forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<RestoreAgentRequest.RestoreOption> 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 RestoreAgentRequest.RestoreOption valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.