Interface SearchResponse.NaturalLanguageQueryUnderstandingInfo.StructuredExtractedFilter.GeolocationConstraintOrBuilder (0.47.0)

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

Implements

MessageOrBuilder

Methods

getAddress()

public abstract 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
Type Description
String

The address.

getAddressBytes()

public abstract 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
Type Description
ByteString

The bytes for address.

getFieldName()

public abstract String getFieldName()

The name of the geolocation field as defined in the schema.

string field_name = 1;

Returns
Type Description
String

The fieldName.

getFieldNameBytes()

public abstract ByteString getFieldNameBytes()

The name of the geolocation field as defined in the schema.

string field_name = 1;

Returns
Type Description
ByteString

The bytes for fieldName.

getLatitude()

public abstract double getLatitude()

The latitude of the geolocation inferred from the input query.

double latitude = 4;

Returns
Type Description
double

The latitude.

getLongitude()

public abstract double getLongitude()

The longitude of the geolocation inferred from the input query.

double longitude = 5;

Returns
Type Description
double

The longitude.

getRadiusInMeters()

public abstract 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
Type Description
float

The radiusInMeters.