public static enum Search.FunctionScoreMode extends Enum<Search.FunctionScoreMode> implements com.google.protobuf.ProtocolMessageEnum
| Enum Constant and Description |
|---|
FSM_AVG |
FSM_FIRST |
FSM_MAX |
FSM_MIN |
FSM_MULTIPLY |
FSM_SUM |
| Modifier and Type | Field and Description |
|---|---|
static int |
FSM_AVG_VALUE |
static int |
FSM_FIRST_VALUE |
static int |
FSM_MAX_VALUE |
static int |
FSM_MIN_VALUE |
static int |
FSM_MULTIPLY_VALUE |
static int |
FSM_SUM_VALUE |
| Modifier and Type | Method and Description |
|---|---|
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<Search.FunctionScoreMode> |
internalGetValueMap() |
static Search.FunctionScoreMode |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Search.FunctionScoreMode |
valueOf(int value) |
static Search.FunctionScoreMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Search.FunctionScoreMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Search.FunctionScoreMode FSM_AVG
public static final Search.FunctionScoreMode FSM_MAX
public static final Search.FunctionScoreMode FSM_SUM
public static final Search.FunctionScoreMode FSM_MIN
public static final Search.FunctionScoreMode FSM_MULTIPLY
public static final Search.FunctionScoreMode FSM_FIRST
public static final int FSM_AVG_VALUE
public static final int FSM_MAX_VALUE
public static final int FSM_SUM_VALUE
public static final int FSM_MIN_VALUE
public static final int FSM_MULTIPLY_VALUE
public static final int FSM_FIRST_VALUE
public static Search.FunctionScoreMode[] values()
for (Search.FunctionScoreMode c : Search.FunctionScoreMode.values()) System.out.println(c);
public static Search.FunctionScoreMode 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.ProtocolMessageEnumpublic static Search.FunctionScoreMode valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Search.FunctionScoreMode> 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 Search.FunctionScoreMode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024. All Rights Reserved.