Interface SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraintOrBuilder (0.43.0)

public static interface SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraintOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getComparison()

public abstract SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint.Comparison getComparison()

The comparison operation performed between the field value and the value specified in the constraint.

.google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint.Comparison comparison = 2;

Returns
Type Description
SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint.Comparison

The comparison.

getComparisonValue()

public abstract int getComparisonValue()

The comparison operation performed between the field value and the value specified in the constraint.

.google.cloud.discoveryengine.v1beta.SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint.Comparison comparison = 2;

Returns
Type Description
int

The enum numeric value on the wire for comparison.

getFieldName()

public abstract String getFieldName()

Name of the numerical field as defined in the schema.

string field_name = 1;

Returns
Type Description
String

The fieldName.

getFieldNameBytes()

public abstract ByteString getFieldNameBytes()

Name of the numerical field as defined in the schema.

string field_name = 1;

Returns
Type Description
ByteString

The bytes for fieldName.

getValue()

public abstract double getValue()

The value specified in the numerical constraint.

double value = 3;

Returns
Type Description
double

The value.