public interface LocationOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
com.google.type.LatLng |
getLatLng()
An object representing a latitude/longitude pair.
|
com.google.type.LatLngOrBuilder |
getLatLngOrBuilder()
An object representing a latitude/longitude pair.
|
Location.LocationType |
getLocationType()
The type of a location, which corresponds to the address lines field of
[google.type.PostalAddress][google.type.PostalAddress].
|
int |
getLocationTypeValue()
The type of a location, which corresponds to the address lines field of
[google.type.PostalAddress][google.type.PostalAddress].
|
com.google.type.PostalAddress |
getPostalAddress()
Postal address of the location that includes human readable information,
such as postal delivery and payments addresses.
|
com.google.type.PostalAddressOrBuilder |
getPostalAddressOrBuilder()
Postal address of the location that includes human readable information,
such as postal delivery and payments addresses.
|
double |
getRadiusMiles()
Radius in miles of the job location.
|
boolean |
hasLatLng()
An object representing a latitude/longitude pair.
|
boolean |
hasPostalAddress()
Postal address of the location that includes human readable information,
such as postal delivery and payments addresses.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofint getLocationTypeValue()
The type of a location, which corresponds to the address lines field of [google.type.PostalAddress][google.type.PostalAddress]. For example, "Downtown, Atlanta, GA, USA" has a type of [LocationType.NEIGHBORHOOD][google.cloud.talent.v4beta1.Location.LocationType.NEIGHBORHOOD], and "Kansas City, KS, USA" has a type of [LocationType.LOCALITY][google.cloud.talent.v4beta1.Location.LocationType.LOCALITY].
.google.cloud.talent.v4beta1.Location.LocationType location_type = 1;Location.LocationType getLocationType()
The type of a location, which corresponds to the address lines field of [google.type.PostalAddress][google.type.PostalAddress]. For example, "Downtown, Atlanta, GA, USA" has a type of [LocationType.NEIGHBORHOOD][google.cloud.talent.v4beta1.Location.LocationType.NEIGHBORHOOD], and "Kansas City, KS, USA" has a type of [LocationType.LOCALITY][google.cloud.talent.v4beta1.Location.LocationType.LOCALITY].
.google.cloud.talent.v4beta1.Location.LocationType location_type = 1;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;com.google.type.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;com.google.type.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;boolean hasLatLng()
An object representing a latitude/longitude pair.
.google.type.LatLng lat_lng = 3;com.google.type.LatLng getLatLng()
An object representing a latitude/longitude pair.
.google.type.LatLng lat_lng = 3;com.google.type.LatLngOrBuilder getLatLngOrBuilder()
An object representing a latitude/longitude pair.
.google.type.LatLng lat_lng = 3;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][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;Copyright © 2019 Google LLC. All rights reserved.