public static enum NaturalLanguageQueryUnderstandingConfig.Mode extends Enum<NaturalLanguageQueryUnderstandingConfig.Mode> implements com.google.protobuf.ProtocolMessageEnum
Mode of Natural Language Query Understanding. When the NaturalLanguageQueryUnderstandingConfig.Mode is ENABLED, the natural language understanding capabilities will be enabled for a search request if the NaturalLanguageQueryUnderstandingSpec.FilterExtractionCondition in the SearchRequest is ENABLED.Protobuf enum
google.cloud.discoveryengine.v1beta.NaturalLanguageQueryUnderstandingConfig.Mode| Enum Constant and Description |
|---|
DISABLED
Natural Language Query Understanding is disabled.
|
ENABLED
Natural Language Query Understanding is enabled.
|
MODE_UNSPECIFIED
Default value.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
DISABLED_VALUE
Natural Language Query Understanding is disabled.
|
static int |
ENABLED_VALUE
Natural Language Query Understanding is enabled.
|
static int |
MODE_UNSPECIFIED_VALUE
Default value.
|
| Modifier and Type | Method and Description |
|---|---|
static NaturalLanguageQueryUnderstandingConfig.Mode |
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<NaturalLanguageQueryUnderstandingConfig.Mode> |
internalGetValueMap() |
static NaturalLanguageQueryUnderstandingConfig.Mode |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static NaturalLanguageQueryUnderstandingConfig.Mode |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static NaturalLanguageQueryUnderstandingConfig.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NaturalLanguageQueryUnderstandingConfig.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NaturalLanguageQueryUnderstandingConfig.Mode MODE_UNSPECIFIED
Default value.
MODE_UNSPECIFIED = 0;public static final NaturalLanguageQueryUnderstandingConfig.Mode DISABLED
Natural Language Query Understanding is disabled.
DISABLED = 1;public static final NaturalLanguageQueryUnderstandingConfig.Mode ENABLED
Natural Language Query Understanding is enabled.
ENABLED = 2;public static final NaturalLanguageQueryUnderstandingConfig.Mode UNRECOGNIZED
public static final int MODE_UNSPECIFIED_VALUE
Default value.
MODE_UNSPECIFIED = 0;public static final int DISABLED_VALUE
Natural Language Query Understanding is disabled.
DISABLED = 1;public static final int ENABLED_VALUE
Natural Language Query Understanding is enabled.
ENABLED = 2;public static NaturalLanguageQueryUnderstandingConfig.Mode[] values()
for (NaturalLanguageQueryUnderstandingConfig.Mode c : NaturalLanguageQueryUnderstandingConfig.Mode.values()) System.out.println(c);
public static NaturalLanguageQueryUnderstandingConfig.Mode 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 NaturalLanguageQueryUnderstandingConfig.Mode valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static NaturalLanguageQueryUnderstandingConfig.Mode forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<NaturalLanguageQueryUnderstandingConfig.Mode> 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 NaturalLanguageQueryUnderstandingConfig.Mode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.