Package org.opensearch.protobufs
Enum Class FieldValueFactorModifier
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<FieldValueFactorModifier>,Constable
public enum FieldValueFactorModifier
extends Enum<FieldValueFactorModifier>
implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum
org.opensearch.protobufs.FieldValueFactorModifier-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionFIELD_VALUE_FACTOR_MODIFIER_LN = 1;FIELD_VALUE_FACTOR_MODIFIER_LN1P = 2;FIELD_VALUE_FACTOR_MODIFIER_LN2P = 3;FIELD_VALUE_FACTOR_MODIFIER_LOG = 4;FIELD_VALUE_FACTOR_MODIFIER_LOG1P = 5;FIELD_VALUE_FACTOR_MODIFIER_LOG2P = 6;FIELD_VALUE_FACTOR_MODIFIER_NONE = 7;FIELD_VALUE_FACTOR_MODIFIER_RECIPROCAL = 8;FIELD_VALUE_FACTOR_MODIFIER_SQRT = 9;FIELD_VALUE_FACTOR_MODIFIER_SQUARE = 10;FIELD_VALUE_FACTOR_MODIFIER_UNSPECIFIED = 0; -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intFIELD_VALUE_FACTOR_MODIFIER_LN = 1;static final intFIELD_VALUE_FACTOR_MODIFIER_LN1P = 2;static final intFIELD_VALUE_FACTOR_MODIFIER_LN2P = 3;static final intFIELD_VALUE_FACTOR_MODIFIER_LOG = 4;static final intFIELD_VALUE_FACTOR_MODIFIER_LOG1P = 5;static final intFIELD_VALUE_FACTOR_MODIFIER_LOG2P = 6;static final intFIELD_VALUE_FACTOR_MODIFIER_NONE = 7;static final intFIELD_VALUE_FACTOR_MODIFIER_RECIPROCAL = 8;static final intFIELD_VALUE_FACTOR_MODIFIER_SQRT = 9;static final intFIELD_VALUE_FACTOR_MODIFIER_SQUARE = 10;static final intFIELD_VALUE_FACTOR_MODIFIER_UNSPECIFIED = 0; -
Method Summary
Modifier and TypeMethodDescriptionstatic FieldValueFactorModifierforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<FieldValueFactorModifier> static FieldValueFactorModifiervalueOf(int value) Deprecated.static FieldValueFactorModifiervalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static FieldValueFactorModifierReturns the enum constant of this class with the specified name.static FieldValueFactorModifier[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FIELD_VALUE_FACTOR_MODIFIER_UNSPECIFIED
FIELD_VALUE_FACTOR_MODIFIER_UNSPECIFIED = 0; -
FIELD_VALUE_FACTOR_MODIFIER_LN
FIELD_VALUE_FACTOR_MODIFIER_LN = 1; -
FIELD_VALUE_FACTOR_MODIFIER_LN1P
FIELD_VALUE_FACTOR_MODIFIER_LN1P = 2; -
FIELD_VALUE_FACTOR_MODIFIER_LN2P
FIELD_VALUE_FACTOR_MODIFIER_LN2P = 3; -
FIELD_VALUE_FACTOR_MODIFIER_LOG
FIELD_VALUE_FACTOR_MODIFIER_LOG = 4; -
FIELD_VALUE_FACTOR_MODIFIER_LOG1P
FIELD_VALUE_FACTOR_MODIFIER_LOG1P = 5; -
FIELD_VALUE_FACTOR_MODIFIER_LOG2P
FIELD_VALUE_FACTOR_MODIFIER_LOG2P = 6; -
FIELD_VALUE_FACTOR_MODIFIER_NONE
FIELD_VALUE_FACTOR_MODIFIER_NONE = 7; -
FIELD_VALUE_FACTOR_MODIFIER_RECIPROCAL
FIELD_VALUE_FACTOR_MODIFIER_RECIPROCAL = 8; -
FIELD_VALUE_FACTOR_MODIFIER_SQRT
FIELD_VALUE_FACTOR_MODIFIER_SQRT = 9; -
FIELD_VALUE_FACTOR_MODIFIER_SQUARE
FIELD_VALUE_FACTOR_MODIFIER_SQUARE = 10; -
UNRECOGNIZED
-
-
Field Details
-
FIELD_VALUE_FACTOR_MODIFIER_UNSPECIFIED_VALUE
public static final int FIELD_VALUE_FACTOR_MODIFIER_UNSPECIFIED_VALUEFIELD_VALUE_FACTOR_MODIFIER_UNSPECIFIED = 0;- See Also:
-
FIELD_VALUE_FACTOR_MODIFIER_LN_VALUE
public static final int FIELD_VALUE_FACTOR_MODIFIER_LN_VALUEFIELD_VALUE_FACTOR_MODIFIER_LN = 1;- See Also:
-
FIELD_VALUE_FACTOR_MODIFIER_LN1P_VALUE
public static final int FIELD_VALUE_FACTOR_MODIFIER_LN1P_VALUEFIELD_VALUE_FACTOR_MODIFIER_LN1P = 2;- See Also:
-
FIELD_VALUE_FACTOR_MODIFIER_LN2P_VALUE
public static final int FIELD_VALUE_FACTOR_MODIFIER_LN2P_VALUEFIELD_VALUE_FACTOR_MODIFIER_LN2P = 3;- See Also:
-
FIELD_VALUE_FACTOR_MODIFIER_LOG_VALUE
public static final int FIELD_VALUE_FACTOR_MODIFIER_LOG_VALUEFIELD_VALUE_FACTOR_MODIFIER_LOG = 4;- See Also:
-
FIELD_VALUE_FACTOR_MODIFIER_LOG1P_VALUE
public static final int FIELD_VALUE_FACTOR_MODIFIER_LOG1P_VALUEFIELD_VALUE_FACTOR_MODIFIER_LOG1P = 5;- See Also:
-
FIELD_VALUE_FACTOR_MODIFIER_LOG2P_VALUE
public static final int FIELD_VALUE_FACTOR_MODIFIER_LOG2P_VALUEFIELD_VALUE_FACTOR_MODIFIER_LOG2P = 6;- See Also:
-
FIELD_VALUE_FACTOR_MODIFIER_NONE_VALUE
public static final int FIELD_VALUE_FACTOR_MODIFIER_NONE_VALUEFIELD_VALUE_FACTOR_MODIFIER_NONE = 7;- See Also:
-
FIELD_VALUE_FACTOR_MODIFIER_RECIPROCAL_VALUE
public static final int FIELD_VALUE_FACTOR_MODIFIER_RECIPROCAL_VALUEFIELD_VALUE_FACTOR_MODIFIER_RECIPROCAL = 8;- See Also:
-
FIELD_VALUE_FACTOR_MODIFIER_SQRT_VALUE
public static final int FIELD_VALUE_FACTOR_MODIFIER_SQRT_VALUEFIELD_VALUE_FACTOR_MODIFIER_SQRT = 9;- See Also:
-
FIELD_VALUE_FACTOR_MODIFIER_SQUARE_VALUE
public static final int FIELD_VALUE_FACTOR_MODIFIER_SQUARE_VALUEFIELD_VALUE_FACTOR_MODIFIER_SQUARE = 10;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<FieldValueFactorModifier> internalGetValueMap() -
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static FieldValueFactorModifier valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-