Interface SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraintOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint, SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraint.Builder
Enclosing class:
SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter

public static interface SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.NumberConstraintOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    The comparison operation performed between the field value and the value specified in the constraint.
    int
    The comparison operation performed between the field value and the value specified in the constraint.
    Name of the numerical field as defined in the schema.
    com.google.protobuf.ByteString
    Name of the numerical field as defined in the schema.
    Identifies the keywords within the search query that match a filter.
    com.google.protobuf.ByteString
    Identifies the keywords within the search query that match a filter.
    double
    The value specified in the numerical constraint.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getFieldName

      String getFieldName()
       Name of the numerical field as defined in the schema.
       
      string field_name = 1;
      Returns:
      The fieldName.
    • getFieldNameBytes

      com.google.protobuf.ByteString getFieldNameBytes()
       Name of the numerical field as defined in the schema.
       
      string field_name = 1;
      Returns:
      The bytes for fieldName.
    • getComparisonValue

      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:
      The enum numeric value on the wire for 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:
      The comparison.
    • getValue

      double getValue()
       The value specified in the numerical constraint.
       
      double value = 3;
      Returns:
      The value.
    • getQuerySegment

      String getQuerySegment()
       Identifies the keywords within the search query that match a filter.
       
      string query_segment = 4;
      Returns:
      The querySegment.
    • getQuerySegmentBytes

      com.google.protobuf.ByteString getQuerySegmentBytes()
       Identifies the keywords within the search query that match a filter.
       
      string query_segment = 4;
      Returns:
      The bytes for querySegment.