Interface SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.GeolocationConstraintOrBuilder

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

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

    Modifier and Type
    Method
    Description
    The reference address that was inferred from the input query.
    com.google.protobuf.ByteString
    The reference address that was inferred from the input query.
    The name of the geolocation field as defined in the schema.
    com.google.protobuf.ByteString
    The name of the geolocation field as defined in the schema.
    double
    The latitude of the geolocation inferred from the input query.
    double
    The longitude of the geolocation inferred from the input query.
    float
    The radius in meters around the address.

    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()
       The name of the geolocation field as defined in the schema.
       
      string field_name = 1;
      Returns:
      The fieldName.
    • getFieldNameBytes

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

      String getAddress()
       The reference address that was inferred from the input query. The
       proximity of the reference address to the geolocation field will be
       used to filter the results.
       
      string address = 2;
      Returns:
      The address.
    • getAddressBytes

      com.google.protobuf.ByteString getAddressBytes()
       The reference address that was inferred from the input query. The
       proximity of the reference address to the geolocation field will be
       used to filter the results.
       
      string address = 2;
      Returns:
      The bytes for address.
    • getLatitude

      double getLatitude()
       The latitude of the geolocation inferred from the input query.
       
      double latitude = 4;
      Returns:
      The latitude.
    • getLongitude

      double getLongitude()
       The longitude of the geolocation inferred from the input query.
       
      double longitude = 5;
      Returns:
      The longitude.
    • getRadiusInMeters

      float getRadiusInMeters()
       The radius in meters around the address. The record is returned if
       the location of the geolocation field is within the radius.
       
      float radius_in_meters = 3;
      Returns:
      The radiusInMeters.