public static enum NluSettings.ModelType extends Enum<NluSettings.ModelType> implements com.google.protobuf.ProtocolMessageEnum
NLU model type.Protobuf enum
google.cloud.dialogflow.cx.v3.NluSettings.ModelType| Enum Constant and Description |
|---|
MODEL_TYPE_ADVANCED
Use advanced NLU model.
|
MODEL_TYPE_STANDARD
Use standard NLU model.
|
MODEL_TYPE_UNSPECIFIED
Not specified.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
MODEL_TYPE_ADVANCED_VALUE
Use advanced NLU model.
|
static int |
MODEL_TYPE_STANDARD_VALUE
Use standard NLU model.
|
static int |
MODEL_TYPE_UNSPECIFIED_VALUE
Not specified.
|
| Modifier and Type | Method and Description |
|---|---|
static NluSettings.ModelType |
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<NluSettings.ModelType> |
internalGetValueMap() |
static NluSettings.ModelType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static NluSettings.ModelType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static NluSettings.ModelType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NluSettings.ModelType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NluSettings.ModelType MODEL_TYPE_UNSPECIFIED
Not specified. `MODEL_TYPE_STANDARD` will be used.
MODEL_TYPE_UNSPECIFIED = 0;public static final NluSettings.ModelType MODEL_TYPE_STANDARD
Use standard NLU model.
MODEL_TYPE_STANDARD = 1;public static final NluSettings.ModelType MODEL_TYPE_ADVANCED
Use advanced NLU model.
MODEL_TYPE_ADVANCED = 3;public static final NluSettings.ModelType UNRECOGNIZED
public static final int MODEL_TYPE_UNSPECIFIED_VALUE
Not specified. `MODEL_TYPE_STANDARD` will be used.
MODEL_TYPE_UNSPECIFIED = 0;public static final int MODEL_TYPE_STANDARD_VALUE
Use standard NLU model.
MODEL_TYPE_STANDARD = 1;public static final int MODEL_TYPE_ADVANCED_VALUE
Use advanced NLU model.
MODEL_TYPE_ADVANCED = 3;public static NluSettings.ModelType[] values()
for (NluSettings.ModelType c : NluSettings.ModelType.values()) System.out.println(c);
public static NluSettings.ModelType 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 NluSettings.ModelType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static NluSettings.ModelType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<NluSettings.ModelType> 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 NluSettings.ModelType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.