Interface LocationOrBuilder (2.4.2)

public interface LocationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getLatLng()

public abstract LatLng getLatLng()

An object representing a latitude/longitude pair.

.google.type.LatLng lat_lng = 3;

Returns
TypeDescription
com.google.type.LatLng

The latLng.

getLatLngOrBuilder()

public abstract LatLngOrBuilder getLatLngOrBuilder()

An object representing a latitude/longitude pair.

.google.type.LatLng lat_lng = 3;

Returns
TypeDescription
com.google.type.LatLngOrBuilder

getLocationType()

public abstract Location.LocationType getLocationType()

The type of a location, which corresponds to the address lines field of google.type.PostalAddress. For example, "Downtown, Atlanta, GA, USA" has a type of LocationType.NEIGHBORHOOD, and "Kansas City, KS, USA" has a type of LocationType.LOCALITY.

.google.cloud.talent.v4.Location.LocationType location_type = 1;

Returns
TypeDescription
Location.LocationType

The locationType.

getLocationTypeValue()

public abstract int getLocationTypeValue()

The type of a location, which corresponds to the address lines field of google.type.PostalAddress. For example, "Downtown, Atlanta, GA, USA" has a type of LocationType.NEIGHBORHOOD, and "Kansas City, KS, USA" has a type of LocationType.LOCALITY.

.google.cloud.talent.v4.Location.LocationType location_type = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for locationType.

getPostalAddress()

public abstract PostalAddress getPostalAddress()

Postal address of the location that includes human readable information, such as postal delivery and payments addresses. Given a postal address, a postal service can deliver items to a premises, P.O. Box, or other delivery location.

.google.type.PostalAddress postal_address = 2;

Returns
TypeDescription
com.google.type.PostalAddress

The postalAddress.

getPostalAddressOrBuilder()

public abstract PostalAddressOrBuilder getPostalAddressOrBuilder()

Postal address of the location that includes human readable information, such as postal delivery and payments addresses. Given a postal address, a postal service can deliver items to a premises, P.O. Box, or other delivery location.

.google.type.PostalAddress postal_address = 2;

Returns
TypeDescription
com.google.type.PostalAddressOrBuilder

getRadiusMiles()

public abstract double getRadiusMiles()

Radius in miles of the job location. This value is derived from the location bounding box in which a circle with the specified radius centered from google.type.LatLng covers the area associated with the job location. For example, currently, "Mountain View, CA, USA" has a radius of 6.17 miles.

double radius_miles = 4;

Returns
TypeDescription
double

The radiusMiles.

hasLatLng()

public abstract boolean hasLatLng()

An object representing a latitude/longitude pair.

.google.type.LatLng lat_lng = 3;

Returns
TypeDescription
boolean

Whether the latLng field is set.

hasPostalAddress()

public abstract boolean hasPostalAddress()

Postal address of the location that includes human readable information, such as postal delivery and payments addresses. Given a postal address, a postal service can deliver items to a premises, P.O. Box, or other delivery location.

.google.type.PostalAddress postal_address = 2;

Returns
TypeDescription
boolean

Whether the postalAddress field is set.