Package org.opensearch.protobufs
Enum Class SimpleQueryStringFlag
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<SimpleQueryStringFlag>,Constable
public enum SimpleQueryStringFlag
extends Enum<SimpleQueryStringFlag>
implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum
SimpleQueryStringFlag-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSIMPLE_QUERY_STRING_FLAG_ALL = 1;SIMPLE_QUERY_STRING_FLAG_AND = 2;SIMPLE_QUERY_STRING_FLAG_ESCAPE = 3;SIMPLE_QUERY_STRING_FLAG_FUZZY = 4;SIMPLE_QUERY_STRING_FLAG_NEAR = 5;SIMPLE_QUERY_STRING_FLAG_NONE = 6;SIMPLE_QUERY_STRING_FLAG_NOT = 7;SIMPLE_QUERY_STRING_FLAG_OR = 8;SIMPLE_QUERY_STRING_FLAG_PHRASE = 9;SIMPLE_QUERY_STRING_FLAG_PRECEDENCE = 10;SIMPLE_QUERY_STRING_FLAG_PREFIX = 11;SIMPLE_QUERY_STRING_FLAG_SLOP = 12;SIMPLE_QUERY_STRING_FLAG_UNSPECIFIED = 0;SIMPLE_QUERY_STRING_FLAG_WHITESPACE = 13; -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intSIMPLE_QUERY_STRING_FLAG_ALL = 1;static final intSIMPLE_QUERY_STRING_FLAG_AND = 2;static final intSIMPLE_QUERY_STRING_FLAG_ESCAPE = 3;static final intSIMPLE_QUERY_STRING_FLAG_FUZZY = 4;static final intSIMPLE_QUERY_STRING_FLAG_NEAR = 5;static final intSIMPLE_QUERY_STRING_FLAG_NONE = 6;static final intSIMPLE_QUERY_STRING_FLAG_NOT = 7;static final intSIMPLE_QUERY_STRING_FLAG_OR = 8;static final intSIMPLE_QUERY_STRING_FLAG_PHRASE = 9;static final intSIMPLE_QUERY_STRING_FLAG_PRECEDENCE = 10;static final intSIMPLE_QUERY_STRING_FLAG_PREFIX = 11;static final intSIMPLE_QUERY_STRING_FLAG_SLOP = 12;static final intSIMPLE_QUERY_STRING_FLAG_UNSPECIFIED = 0;static final intSIMPLE_QUERY_STRING_FLAG_WHITESPACE = 13; -
Method Summary
Modifier and TypeMethodDescriptionstatic SimpleQueryStringFlagforNumber(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<SimpleQueryStringFlag> static SimpleQueryStringFlagvalueOf(int value) Deprecated.static SimpleQueryStringFlagvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static SimpleQueryStringFlagReturns the enum constant of this class with the specified name.static SimpleQueryStringFlag[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SIMPLE_QUERY_STRING_FLAG_UNSPECIFIED
SIMPLE_QUERY_STRING_FLAG_UNSPECIFIED = 0; -
SIMPLE_QUERY_STRING_FLAG_ALL
SIMPLE_QUERY_STRING_FLAG_ALL = 1; -
SIMPLE_QUERY_STRING_FLAG_AND
SIMPLE_QUERY_STRING_FLAG_AND = 2; -
SIMPLE_QUERY_STRING_FLAG_ESCAPE
SIMPLE_QUERY_STRING_FLAG_ESCAPE = 3; -
SIMPLE_QUERY_STRING_FLAG_FUZZY
SIMPLE_QUERY_STRING_FLAG_FUZZY = 4; -
SIMPLE_QUERY_STRING_FLAG_NEAR
SIMPLE_QUERY_STRING_FLAG_NEAR = 5; -
SIMPLE_QUERY_STRING_FLAG_NONE
SIMPLE_QUERY_STRING_FLAG_NONE = 6; -
SIMPLE_QUERY_STRING_FLAG_NOT
SIMPLE_QUERY_STRING_FLAG_NOT = 7; -
SIMPLE_QUERY_STRING_FLAG_OR
SIMPLE_QUERY_STRING_FLAG_OR = 8; -
SIMPLE_QUERY_STRING_FLAG_PHRASE
SIMPLE_QUERY_STRING_FLAG_PHRASE = 9; -
SIMPLE_QUERY_STRING_FLAG_PRECEDENCE
SIMPLE_QUERY_STRING_FLAG_PRECEDENCE = 10; -
SIMPLE_QUERY_STRING_FLAG_PREFIX
SIMPLE_QUERY_STRING_FLAG_PREFIX = 11; -
SIMPLE_QUERY_STRING_FLAG_SLOP
SIMPLE_QUERY_STRING_FLAG_SLOP = 12; -
SIMPLE_QUERY_STRING_FLAG_WHITESPACE
SIMPLE_QUERY_STRING_FLAG_WHITESPACE = 13; -
UNRECOGNIZED
-
-
Field Details
-
SIMPLE_QUERY_STRING_FLAG_UNSPECIFIED_VALUE
public static final int SIMPLE_QUERY_STRING_FLAG_UNSPECIFIED_VALUESIMPLE_QUERY_STRING_FLAG_UNSPECIFIED = 0;- See Also:
-
SIMPLE_QUERY_STRING_FLAG_ALL_VALUE
public static final int SIMPLE_QUERY_STRING_FLAG_ALL_VALUESIMPLE_QUERY_STRING_FLAG_ALL = 1;- See Also:
-
SIMPLE_QUERY_STRING_FLAG_AND_VALUE
public static final int SIMPLE_QUERY_STRING_FLAG_AND_VALUESIMPLE_QUERY_STRING_FLAG_AND = 2;- See Also:
-
SIMPLE_QUERY_STRING_FLAG_ESCAPE_VALUE
public static final int SIMPLE_QUERY_STRING_FLAG_ESCAPE_VALUESIMPLE_QUERY_STRING_FLAG_ESCAPE = 3;- See Also:
-
SIMPLE_QUERY_STRING_FLAG_FUZZY_VALUE
public static final int SIMPLE_QUERY_STRING_FLAG_FUZZY_VALUESIMPLE_QUERY_STRING_FLAG_FUZZY = 4;- See Also:
-
SIMPLE_QUERY_STRING_FLAG_NEAR_VALUE
public static final int SIMPLE_QUERY_STRING_FLAG_NEAR_VALUESIMPLE_QUERY_STRING_FLAG_NEAR = 5;- See Also:
-
SIMPLE_QUERY_STRING_FLAG_NONE_VALUE
public static final int SIMPLE_QUERY_STRING_FLAG_NONE_VALUESIMPLE_QUERY_STRING_FLAG_NONE = 6;- See Also:
-
SIMPLE_QUERY_STRING_FLAG_NOT_VALUE
public static final int SIMPLE_QUERY_STRING_FLAG_NOT_VALUESIMPLE_QUERY_STRING_FLAG_NOT = 7;- See Also:
-
SIMPLE_QUERY_STRING_FLAG_OR_VALUE
public static final int SIMPLE_QUERY_STRING_FLAG_OR_VALUESIMPLE_QUERY_STRING_FLAG_OR = 8;- See Also:
-
SIMPLE_QUERY_STRING_FLAG_PHRASE_VALUE
public static final int SIMPLE_QUERY_STRING_FLAG_PHRASE_VALUESIMPLE_QUERY_STRING_FLAG_PHRASE = 9;- See Also:
-
SIMPLE_QUERY_STRING_FLAG_PRECEDENCE_VALUE
public static final int SIMPLE_QUERY_STRING_FLAG_PRECEDENCE_VALUESIMPLE_QUERY_STRING_FLAG_PRECEDENCE = 10;- See Also:
-
SIMPLE_QUERY_STRING_FLAG_PREFIX_VALUE
public static final int SIMPLE_QUERY_STRING_FLAG_PREFIX_VALUESIMPLE_QUERY_STRING_FLAG_PREFIX = 11;- See Also:
-
SIMPLE_QUERY_STRING_FLAG_SLOP_VALUE
public static final int SIMPLE_QUERY_STRING_FLAG_SLOP_VALUESIMPLE_QUERY_STRING_FLAG_SLOP = 12;- See Also:
-
SIMPLE_QUERY_STRING_FLAG_WHITESPACE_VALUE
public static final int SIMPLE_QUERY_STRING_FLAG_WHITESPACE_VALUESIMPLE_QUERY_STRING_FLAG_WHITESPACE = 13;- 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
-
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 SimpleQueryStringFlag 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
-