public static enum NluSettings.ModelTrainingMode extends Enum<NluSettings.ModelTrainingMode> implements com.google.protobuf.ProtocolMessageEnum
NLU model training mode.Protobuf enum
google.cloud.dialogflow.cx.v3.NluSettings.ModelTrainingMode| Enum Constant and Description |
|---|
MODEL_TRAINING_MODE_AUTOMATIC
NLU model training is automatically triggered when a flow gets modified.
|
MODEL_TRAINING_MODE_MANUAL
User needs to manually trigger NLU model training.
|
MODEL_TRAINING_MODE_UNSPECIFIED
Not specified.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
MODEL_TRAINING_MODE_AUTOMATIC_VALUE
NLU model training is automatically triggered when a flow gets modified.
|
static int |
MODEL_TRAINING_MODE_MANUAL_VALUE
User needs to manually trigger NLU model training.
|
static int |
MODEL_TRAINING_MODE_UNSPECIFIED_VALUE
Not specified.
|
| Modifier and Type | Method and Description |
|---|---|
static NluSettings.ModelTrainingMode |
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.ModelTrainingMode> |
internalGetValueMap() |
static NluSettings.ModelTrainingMode |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static NluSettings.ModelTrainingMode |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static NluSettings.ModelTrainingMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NluSettings.ModelTrainingMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NluSettings.ModelTrainingMode MODEL_TRAINING_MODE_UNSPECIFIED
Not specified. `MODEL_TRAINING_MODE_AUTOMATIC` will be used.
MODEL_TRAINING_MODE_UNSPECIFIED = 0;public static final NluSettings.ModelTrainingMode MODEL_TRAINING_MODE_AUTOMATIC
NLU model training is automatically triggered when a flow gets modified. User can also manually trigger model training in this mode.
MODEL_TRAINING_MODE_AUTOMATIC = 1;public static final NluSettings.ModelTrainingMode MODEL_TRAINING_MODE_MANUAL
User needs to manually trigger NLU model training. Best for large flows whose models take long time to train.
MODEL_TRAINING_MODE_MANUAL = 2;public static final NluSettings.ModelTrainingMode UNRECOGNIZED
public static final int MODEL_TRAINING_MODE_UNSPECIFIED_VALUE
Not specified. `MODEL_TRAINING_MODE_AUTOMATIC` will be used.
MODEL_TRAINING_MODE_UNSPECIFIED = 0;public static final int MODEL_TRAINING_MODE_AUTOMATIC_VALUE
NLU model training is automatically triggered when a flow gets modified. User can also manually trigger model training in this mode.
MODEL_TRAINING_MODE_AUTOMATIC = 1;public static final int MODEL_TRAINING_MODE_MANUAL_VALUE
User needs to manually trigger NLU model training. Best for large flows whose models take long time to train.
MODEL_TRAINING_MODE_MANUAL = 2;public static NluSettings.ModelTrainingMode[] values()
for (NluSettings.ModelTrainingMode c : NluSettings.ModelTrainingMode.values()) System.out.println(c);
public static NluSettings.ModelTrainingMode 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.ModelTrainingMode valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static NluSettings.ModelTrainingMode forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<NluSettings.ModelTrainingMode> 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.ModelTrainingMode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.