Enum SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint.Comparison
java.lang.Object
java.lang.Enum<SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint.Comparison>
com.google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint.Comparison
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint.Comparison>
- Enclosing class:
- SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint
public static enum SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint.Comparison
extends Enum<SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint.Comparison>
implements com.google.protobuf.ProtocolMessageEnum
The comparison operation that was performed.Protobuf enum
google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint.Comparison-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionUndefined comparison operator.Denotes equality `=` operator.Denotes greater than `>` operator.Denotes greater than or equal to `>=` operator.Denotes less than `<` operator.Denotes less than or equal to `<=` operator. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intUndefined comparison operator.static final intDenotes equality `=` operator.static final intDenotes greater than or equal to `>=` operator.static final intDenotes greater than `>` operator.static final intDenotes less than or equal to `<=` operator.static final intDenotes less than `<` operator. -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint.Comparison>valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.Returns the enum constant of this type with the specified name.values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
COMPARISON_UNSPECIFIED
public static final SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint.Comparison COMPARISON_UNSPECIFIEDUndefined comparison operator.
COMPARISON_UNSPECIFIED = 0; -
EQUALS
public static final SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint.Comparison EQUALSDenotes equality `=` operator.
EQUALS = 1; -
LESS_THAN_EQUALS
public static final SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint.Comparison LESS_THAN_EQUALSDenotes less than or equal to `<=` operator.
LESS_THAN_EQUALS = 2; -
LESS_THAN
public static final SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint.Comparison LESS_THANDenotes less than `<` operator.
LESS_THAN = 3; -
GREATER_THAN_EQUALS
public static final SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint.Comparison GREATER_THAN_EQUALSDenotes greater than or equal to `>=` operator.
GREATER_THAN_EQUALS = 4; -
GREATER_THAN
public static final SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint.Comparison GREATER_THANDenotes greater than `>` operator.
GREATER_THAN = 5; -
UNRECOGNIZED
public static final SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint.Comparison UNRECOGNIZED
-
-
Field Details
-
COMPARISON_UNSPECIFIED_VALUE
public static final int COMPARISON_UNSPECIFIED_VALUEUndefined comparison operator.
COMPARISON_UNSPECIFIED = 0;- See Also:
-
EQUALS_VALUE
public static final int EQUALS_VALUEDenotes equality `=` operator.
EQUALS = 1;- See Also:
-
LESS_THAN_EQUALS_VALUE
public static final int LESS_THAN_EQUALS_VALUEDenotes less than or equal to `<=` operator.
LESS_THAN_EQUALS = 2;- See Also:
-
LESS_THAN_VALUE
public static final int LESS_THAN_VALUEDenotes less than `<` operator.
LESS_THAN = 3;- See Also:
-
GREATER_THAN_EQUALS_VALUE
public static final int GREATER_THAN_EQUALS_VALUEDenotes greater than or equal to `>=` operator.
GREATER_THAN_EQUALS = 4;- See Also:
-
GREATER_THAN_VALUE
public static final int GREATER_THAN_VALUEDenotes greater than `>` operator.
GREATER_THAN = 5;- See Also:
-
-
Method Details
-
values
public static SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint.Comparison[] values()Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint.Comparison valueOf(String name) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type 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 public static SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint.Comparison valueOf(int value) Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
public static SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint.Comparison 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<SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint.Comparison> 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 com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint.Comparison valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-