public static enum SearchRequest.RankingExpressionBackend extends Enum<SearchRequest.RankingExpressionBackend> implements com.google.protobuf.ProtocolMessageEnum
The backend to use for the ranking expression evaluation.Protobuf enum
google.cloud.discoveryengine.v1.SearchRequest.RankingExpressionBackend| Enum Constant and Description |
|---|
BYOE
Deprecated.
|
CLEARBOX
Deprecated.
|
RANK_BY_EMBEDDING
Ranking by custom embedding model, the default way to evaluate the
ranking expression.
|
RANK_BY_FORMULA
Ranking by custom formula.
|
RANKING_EXPRESSION_BACKEND_UNSPECIFIED
Default option for unspecified/unknown values.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
BYOE_VALUE
Deprecated.
|
static int |
CLEARBOX_VALUE
Deprecated.
|
static int |
RANK_BY_EMBEDDING_VALUE
Ranking by custom embedding model, the default way to evaluate the
ranking expression.
|
static int |
RANK_BY_FORMULA_VALUE
Ranking by custom formula.
|
static int |
RANKING_EXPRESSION_BACKEND_UNSPECIFIED_VALUE
Default option for unspecified/unknown values.
|
| Modifier and Type | Method and Description |
|---|---|
static SearchRequest.RankingExpressionBackend |
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.RankingExpressionBackend> |
internalGetValueMap() |
static SearchRequest.RankingExpressionBackend |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static SearchRequest.RankingExpressionBackend |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static SearchRequest.RankingExpressionBackend |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SearchRequest.RankingExpressionBackend[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SearchRequest.RankingExpressionBackend RANKING_EXPRESSION_BACKEND_UNSPECIFIED
Default option for unspecified/unknown values.
RANKING_EXPRESSION_BACKEND_UNSPECIFIED = 0;@Deprecated public static final SearchRequest.RankingExpressionBackend BYOE
Deprecated: Use `RANK_BY_EMBEDDING` instead. Ranking by custom embedding model, the default way to evaluate the ranking expression. Legacy enum option, `RANK_BY_EMBEDDING` should be used instead.
BYOE = 1 [deprecated = true];@Deprecated public static final SearchRequest.RankingExpressionBackend CLEARBOX
Deprecated: Use `RANK_BY_FORMULA` instead. Ranking by custom formula. Legacy enum option, `RANK_BY_FORMULA` should be used instead.
CLEARBOX = 2 [deprecated = true];public static final SearchRequest.RankingExpressionBackend RANK_BY_EMBEDDING
Ranking by custom embedding model, the default way to evaluate the ranking expression.
RANK_BY_EMBEDDING = 3;public static final SearchRequest.RankingExpressionBackend RANK_BY_FORMULA
Ranking by custom formula.
RANK_BY_FORMULA = 4;public static final SearchRequest.RankingExpressionBackend UNRECOGNIZED
public static final int RANKING_EXPRESSION_BACKEND_UNSPECIFIED_VALUE
Default option for unspecified/unknown values.
RANKING_EXPRESSION_BACKEND_UNSPECIFIED = 0;@Deprecated public static final int BYOE_VALUE
Deprecated: Use `RANK_BY_EMBEDDING` instead. Ranking by custom embedding model, the default way to evaluate the ranking expression. Legacy enum option, `RANK_BY_EMBEDDING` should be used instead.
BYOE = 1 [deprecated = true];@Deprecated public static final int CLEARBOX_VALUE
Deprecated: Use `RANK_BY_FORMULA` instead. Ranking by custom formula. Legacy enum option, `RANK_BY_FORMULA` should be used instead.
CLEARBOX = 2 [deprecated = true];public static final int RANK_BY_EMBEDDING_VALUE
Ranking by custom embedding model, the default way to evaluate the ranking expression.
RANK_BY_EMBEDDING = 3;public static final int RANK_BY_FORMULA_VALUE
Ranking by custom formula.
RANK_BY_FORMULA = 4;public static SearchRequest.RankingExpressionBackend[] values()
for (SearchRequest.RankingExpressionBackend c : SearchRequest.RankingExpressionBackend.values()) System.out.println(c);
public static SearchRequest.RankingExpressionBackend 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.RankingExpressionBackend valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static SearchRequest.RankingExpressionBackend forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<SearchRequest.RankingExpressionBackend> 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 com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static SearchRequest.RankingExpressionBackend valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2026 Google LLC. All rights reserved.