Enum Class TextQueryType

java.lang.Object
java.lang.Enum<TextQueryType>
org.opensearch.protobufs.TextQueryType
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<TextQueryType>, Constable

public enum TextQueryType extends Enum<TextQueryType> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum org.opensearch.protobufs.TextQueryType
  • Enum Constant Details

    • TEXT_QUERY_TYPE_UNSPECIFIED

      public static final TextQueryType TEXT_QUERY_TYPE_UNSPECIFIED
      TEXT_QUERY_TYPE_UNSPECIFIED = 0;
    • TEXT_QUERY_TYPE_BEST_FIELDS

      public static final TextQueryType TEXT_QUERY_TYPE_BEST_FIELDS
      TEXT_QUERY_TYPE_BEST_FIELDS = 1;
    • TEXT_QUERY_TYPE_BOOL_PREFIX

      public static final TextQueryType TEXT_QUERY_TYPE_BOOL_PREFIX
      TEXT_QUERY_TYPE_BOOL_PREFIX = 2;
    • TEXT_QUERY_TYPE_CROSS_FIELDS

      public static final TextQueryType TEXT_QUERY_TYPE_CROSS_FIELDS
      TEXT_QUERY_TYPE_CROSS_FIELDS = 3;
    • TEXT_QUERY_TYPE_MOST_FIELDS

      public static final TextQueryType TEXT_QUERY_TYPE_MOST_FIELDS
      TEXT_QUERY_TYPE_MOST_FIELDS = 4;
    • TEXT_QUERY_TYPE_PHRASE

      public static final TextQueryType TEXT_QUERY_TYPE_PHRASE
      TEXT_QUERY_TYPE_PHRASE = 5;
    • TEXT_QUERY_TYPE_PHRASE_PREFIX

      public static final TextQueryType TEXT_QUERY_TYPE_PHRASE_PREFIX
      TEXT_QUERY_TYPE_PHRASE_PREFIX = 6;
    • UNRECOGNIZED

      public static final TextQueryType UNRECOGNIZED
  • Field Details

    • TEXT_QUERY_TYPE_UNSPECIFIED_VALUE

      public static final int TEXT_QUERY_TYPE_UNSPECIFIED_VALUE
      TEXT_QUERY_TYPE_UNSPECIFIED = 0;
      See Also:
    • TEXT_QUERY_TYPE_BEST_FIELDS_VALUE

      public static final int TEXT_QUERY_TYPE_BEST_FIELDS_VALUE
      TEXT_QUERY_TYPE_BEST_FIELDS = 1;
      See Also:
    • TEXT_QUERY_TYPE_BOOL_PREFIX_VALUE

      public static final int TEXT_QUERY_TYPE_BOOL_PREFIX_VALUE
      TEXT_QUERY_TYPE_BOOL_PREFIX = 2;
      See Also:
    • TEXT_QUERY_TYPE_CROSS_FIELDS_VALUE

      public static final int TEXT_QUERY_TYPE_CROSS_FIELDS_VALUE
      TEXT_QUERY_TYPE_CROSS_FIELDS = 3;
      See Also:
    • TEXT_QUERY_TYPE_MOST_FIELDS_VALUE

      public static final int TEXT_QUERY_TYPE_MOST_FIELDS_VALUE
      TEXT_QUERY_TYPE_MOST_FIELDS = 4;
      See Also:
    • TEXT_QUERY_TYPE_PHRASE_VALUE

      public static final int TEXT_QUERY_TYPE_PHRASE_VALUE
      TEXT_QUERY_TYPE_PHRASE = 5;
      See Also:
    • TEXT_QUERY_TYPE_PHRASE_PREFIX_VALUE

      public static final int TEXT_QUERY_TYPE_PHRASE_PREFIX_VALUE
      TEXT_QUERY_TYPE_PHRASE_PREFIX = 6;
      See Also:
  • Method Details

    • values

      public static TextQueryType[] 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

      public static TextQueryType valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static TextQueryType valueOf(int value)
      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 name
      NullPointerException - if the argument is null
    • forNumber

      public static TextQueryType forNumber(int value)
      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<TextQueryType> internalGetValueMap()
    • getValueDescriptor

      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
      Specified by:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptor

      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static TextQueryType 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 name
      NullPointerException - if the argument is null