public enum SearchUseCase extends Enum<SearchUseCase> implements com.google.protobuf.ProtocolMessageEnum
Defines a further subdivision of `SolutionType`. Specifically applies to [SOLUTION_TYPE_SEARCH][google.cloud.discoveryengine.v1beta.SolutionType.SOLUTION_TYPE_SEARCH].Protobuf enum
google.cloud.discoveryengine.v1beta.SearchUseCase| Enum Constant and Description |
|---|
SEARCH_USE_CASE_BROWSE
Browse use case.
|
SEARCH_USE_CASE_SEARCH
Search use case.
|
SEARCH_USE_CASE_UNSPECIFIED
Value used when unset.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
SEARCH_USE_CASE_BROWSE_VALUE
Browse use case.
|
static int |
SEARCH_USE_CASE_SEARCH_VALUE
Search use case.
|
static int |
SEARCH_USE_CASE_UNSPECIFIED_VALUE
Value used when unset.
|
| Modifier and Type | Method and Description |
|---|---|
static SearchUseCase |
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<SearchUseCase> |
internalGetValueMap() |
static SearchUseCase |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static SearchUseCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static SearchUseCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SearchUseCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SearchUseCase SEARCH_USE_CASE_UNSPECIFIED
Value used when unset. Will not occur in CSS.
SEARCH_USE_CASE_UNSPECIFIED = 0;public static final SearchUseCase SEARCH_USE_CASE_SEARCH
Search use case. Expects the traffic has a non-empty [query][google.cloud.discoveryengine.v1beta.SearchRequest.query].
SEARCH_USE_CASE_SEARCH = 1;public static final SearchUseCase SEARCH_USE_CASE_BROWSE
Browse use case. Expects the traffic has an empty [query][google.cloud.discoveryengine.v1beta.SearchRequest.query].
SEARCH_USE_CASE_BROWSE = 2;public static final SearchUseCase UNRECOGNIZED
public static final int SEARCH_USE_CASE_UNSPECIFIED_VALUE
Value used when unset. Will not occur in CSS.
SEARCH_USE_CASE_UNSPECIFIED = 0;public static final int SEARCH_USE_CASE_SEARCH_VALUE
Search use case. Expects the traffic has a non-empty [query][google.cloud.discoveryengine.v1beta.SearchRequest.query].
SEARCH_USE_CASE_SEARCH = 1;public static final int SEARCH_USE_CASE_BROWSE_VALUE
Browse use case. Expects the traffic has an empty [query][google.cloud.discoveryengine.v1beta.SearchRequest.query].
SEARCH_USE_CASE_BROWSE = 2;public static SearchUseCase[] values()
for (SearchUseCase c : SearchUseCase.values()) System.out.println(c);
public static SearchUseCase 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 SearchUseCase valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static SearchUseCase forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<SearchUseCase> 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 SearchUseCase valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.