public static enum SearchRequest.SearchAsYouTypeSpec.Condition extends Enum<SearchRequest.SearchAsYouTypeSpec.Condition> implements com.google.protobuf.ProtocolMessageEnum
Enum describing under which condition search as you type should occur.Protobuf enum
google.cloud.discoveryengine.v1beta.SearchRequest.SearchAsYouTypeSpec.Condition| Enum Constant and Description |
|---|
CONDITION_UNSPECIFIED
Server behavior defaults to
[Condition.DISABLED][google.cloud.discoveryengine.v1beta.SearchRequest.SearchAsYouTypeSpec.Condition.DISABLED].
|
DISABLED
Disables Search As You Type.
|
ENABLED
Enables Search As You Type.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
CONDITION_UNSPECIFIED_VALUE
Server behavior defaults to
[Condition.DISABLED][google.cloud.discoveryengine.v1beta.SearchRequest.SearchAsYouTypeSpec.Condition.DISABLED].
|
static int |
DISABLED_VALUE
Disables Search As You Type.
|
static int |
ENABLED_VALUE
Enables Search As You Type.
|
| Modifier and Type | Method and Description |
|---|---|
static SearchRequest.SearchAsYouTypeSpec.Condition |
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<SearchRequest.SearchAsYouTypeSpec.Condition> |
internalGetValueMap() |
static SearchRequest.SearchAsYouTypeSpec.Condition |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static SearchRequest.SearchAsYouTypeSpec.Condition |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static SearchRequest.SearchAsYouTypeSpec.Condition |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SearchRequest.SearchAsYouTypeSpec.Condition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SearchRequest.SearchAsYouTypeSpec.Condition CONDITION_UNSPECIFIED
Server behavior defaults to [Condition.DISABLED][google.cloud.discoveryengine.v1beta.SearchRequest.SearchAsYouTypeSpec.Condition.DISABLED].
CONDITION_UNSPECIFIED = 0;public static final SearchRequest.SearchAsYouTypeSpec.Condition DISABLED
Disables Search As You Type.
DISABLED = 1;public static final SearchRequest.SearchAsYouTypeSpec.Condition ENABLED
Enables Search As You Type.
ENABLED = 2;public static final SearchRequest.SearchAsYouTypeSpec.Condition UNRECOGNIZED
public static final int CONDITION_UNSPECIFIED_VALUE
Server behavior defaults to [Condition.DISABLED][google.cloud.discoveryengine.v1beta.SearchRequest.SearchAsYouTypeSpec.Condition.DISABLED].
CONDITION_UNSPECIFIED = 0;public static final int DISABLED_VALUE
Disables Search As You Type.
DISABLED = 1;public static final int ENABLED_VALUE
Enables Search As You Type.
ENABLED = 2;public static SearchRequest.SearchAsYouTypeSpec.Condition[] values()
for (SearchRequest.SearchAsYouTypeSpec.Condition c : SearchRequest.SearchAsYouTypeSpec.Condition.values()) System.out.println(c);
public static SearchRequest.SearchAsYouTypeSpec.Condition 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 SearchRequest.SearchAsYouTypeSpec.Condition valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static SearchRequest.SearchAsYouTypeSpec.Condition forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<SearchRequest.SearchAsYouTypeSpec.Condition> 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 SearchRequest.SearchAsYouTypeSpec.Condition valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.