public enum SearchSolutionUseCase extends Enum<SearchSolutionUseCase> implements com.google.protobuf.ProtocolMessageEnum
The use case of Cloud Retail Search.Protobuf enum
google.cloud.retail.v2.SearchSolutionUseCase| Enum Constant and Description |
|---|
SEARCH_SOLUTION_USE_CASE_BROWSE
Browse use case.
|
SEARCH_SOLUTION_USE_CASE_SEARCH
Search use case.
|
SEARCH_SOLUTION_USE_CASE_UNSPECIFIED
The value when it's unspecified.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
SEARCH_SOLUTION_USE_CASE_BROWSE_VALUE
Browse use case.
|
static int |
SEARCH_SOLUTION_USE_CASE_SEARCH_VALUE
Search use case.
|
static int |
SEARCH_SOLUTION_USE_CASE_UNSPECIFIED_VALUE
The value when it's unspecified.
|
| Modifier and Type | Method and Description |
|---|---|
static SearchSolutionUseCase |
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<SearchSolutionUseCase> |
internalGetValueMap() |
static SearchSolutionUseCase |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static SearchSolutionUseCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static SearchSolutionUseCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SearchSolutionUseCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SearchSolutionUseCase SEARCH_SOLUTION_USE_CASE_UNSPECIFIED
The value when it's unspecified. In this case, server behavior defaults to [SEARCH_SOLUTION_USE_CASE_SEARCH][google.cloud.retail.v2.SearchSolutionUseCase.SEARCH_SOLUTION_USE_CASE_SEARCH].
SEARCH_SOLUTION_USE_CASE_UNSPECIFIED = 0;public static final SearchSolutionUseCase SEARCH_SOLUTION_USE_CASE_SEARCH
Search use case. Expects the traffic has a non-empty [query][google.cloud.retail.v2.SearchRequest.query].
SEARCH_SOLUTION_USE_CASE_SEARCH = 1;public static final SearchSolutionUseCase SEARCH_SOLUTION_USE_CASE_BROWSE
Browse use case. Expects the traffic has an empty [query][google.cloud.retail.v2.SearchRequest.query].
SEARCH_SOLUTION_USE_CASE_BROWSE = 2;public static final SearchSolutionUseCase UNRECOGNIZED
public static final int SEARCH_SOLUTION_USE_CASE_UNSPECIFIED_VALUE
The value when it's unspecified. In this case, server behavior defaults to [SEARCH_SOLUTION_USE_CASE_SEARCH][google.cloud.retail.v2.SearchSolutionUseCase.SEARCH_SOLUTION_USE_CASE_SEARCH].
SEARCH_SOLUTION_USE_CASE_UNSPECIFIED = 0;public static final int SEARCH_SOLUTION_USE_CASE_SEARCH_VALUE
Search use case. Expects the traffic has a non-empty [query][google.cloud.retail.v2.SearchRequest.query].
SEARCH_SOLUTION_USE_CASE_SEARCH = 1;public static final int SEARCH_SOLUTION_USE_CASE_BROWSE_VALUE
Browse use case. Expects the traffic has an empty [query][google.cloud.retail.v2.SearchRequest.query].
SEARCH_SOLUTION_USE_CASE_BROWSE = 2;public static SearchSolutionUseCase[] values()
for (SearchSolutionUseCase c : SearchSolutionUseCase.values()) System.out.println(c);
public static SearchSolutionUseCase 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 SearchSolutionUseCase valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static SearchSolutionUseCase forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<SearchSolutionUseCase> 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 SearchSolutionUseCase valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.