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.v1alpha.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint.Comparison| Enum Constant and Description |
|---|
COMPARISON_UNSPECIFIED
Undefined comparison operator.
|
EQUALS
Denotes equality `=` operator.
|
GREATER_THAN
Denotes greater than `>` operator.
|
GREATER_THAN_EQUALS
Denotes greater than or equal to `>=` operator.
|
LESS_THAN
Denotes less than `<` operator.
|
LESS_THAN_EQUALS
Denotes less than or equal to `<=` operator.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
COMPARISON_UNSPECIFIED_VALUE
Undefined comparison operator.
|
static int |
EQUALS_VALUE
Denotes equality `=` operator.
|
static int |
GREATER_THAN_EQUALS_VALUE
Denotes greater than or equal to `>=` operator.
|
static int |
GREATER_THAN_VALUE
Denotes greater than `>` operator.
|
static int |
LESS_THAN_EQUALS_VALUE
Denotes less than or equal to `<=` operator.
|
static int |
LESS_THAN_VALUE
Denotes less than `<` operator.
|
public static final SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint.Comparison COMPARISON_UNSPECIFIED
Undefined comparison operator.
COMPARISON_UNSPECIFIED = 0;public static final SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint.Comparison EQUALS
Denotes equality `=` operator.
EQUALS = 1;public static final SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint.Comparison LESS_THAN_EQUALS
Denotes less than or equal to `<=` operator.
LESS_THAN_EQUALS = 2;public static final SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint.Comparison LESS_THAN
Denotes less than `<` operator.
LESS_THAN = 3;public static final SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint.Comparison GREATER_THAN_EQUALS
Denotes greater than or equal to `>=` operator.
GREATER_THAN_EQUALS = 4;public static final SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint.Comparison GREATER_THAN
Denotes greater than `>` operator.
GREATER_THAN = 5;public static final SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint.Comparison UNRECOGNIZED
public static final int COMPARISON_UNSPECIFIED_VALUE
Undefined comparison operator.
COMPARISON_UNSPECIFIED = 0;public static final int EQUALS_VALUE
Denotes equality `=` operator.
EQUALS = 1;public static final int LESS_THAN_EQUALS_VALUE
Denotes less than or equal to `<=` operator.
LESS_THAN_EQUALS = 2;public static final int LESS_THAN_VALUE
Denotes less than `<` operator.
LESS_THAN = 3;public static final int GREATER_THAN_EQUALS_VALUE
Denotes greater than or equal to `>=` operator.
GREATER_THAN_EQUALS = 4;public static final int GREATER_THAN_VALUE
Denotes greater than `>` operator.
GREATER_THAN = 5;public static SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint.Comparison[] values()
for (SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint.Comparison c : SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint.Comparison.values()) System.out.println(c);
public static SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint.Comparison 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.ProtocolMessageEnum@Deprecated public static SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint.Comparison valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint.Comparison forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint.Comparison> 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 SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint.Comparison valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.