Package com.google.cloud.talent.v4beta1
Interface LocationOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Location,Location.Builder
public interface LocationOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.type.LatLnggetLatLng()An object representing a latitude/longitude pair.com.google.type.LatLngOrBuildergetLatLngOrBuilder()An object representing a latitude/longitude pair.Location.LocationTypegetLocationType()The type of a location, which corresponds to the address lines field of [google.type.PostalAddress][google.type.PostalAddress].intgetLocationTypeValue()The type of a location, which corresponds to the address lines field of [google.type.PostalAddress][google.type.PostalAddress].com.google.type.PostalAddressgetPostalAddress()Postal address of the location that includes human readable information, such as postal delivery and payments addresses.com.google.type.PostalAddressOrBuildergetPostalAddressOrBuilder()Postal address of the location that includes human readable information, such as postal delivery and payments addresses.doublegetRadiusMiles()Radius in miles of the job location.booleanhasLatLng()An object representing a latitude/longitude pair.booleanhasPostalAddress()Postal address of the location that includes human readable information, such as postal delivery and payments addresses.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getLocationTypeValue
int 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;- Returns:
- The enum numeric value on the wire for locationType.
-
getLocationType
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;- Returns:
- The locationType.
-
hasPostalAddress
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:
- Whether the postalAddress field is set.
-
getPostalAddress
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;- Returns:
- The postalAddress.
-
getPostalAddressOrBuilder
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;
-
hasLatLng
boolean hasLatLng()
An object representing a latitude/longitude pair.
.google.type.LatLng lat_lng = 3;- Returns:
- Whether the latLng field is set.
-
getLatLng
com.google.type.LatLng getLatLng()
An object representing a latitude/longitude pair.
.google.type.LatLng lat_lng = 3;- Returns:
- The latLng.
-
getLatLngOrBuilder
com.google.type.LatLngOrBuilder getLatLngOrBuilder()
An object representing a latitude/longitude pair.
.google.type.LatLng lat_lng = 3;
-
getRadiusMiles
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;- Returns:
- The radiusMiles.
-
-