Package com.google.cloud.talent.v4
Interface LocationOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Location,Location.Builder
@Generated
public interface LocationOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionAn object representing a latitude/longitude pair.An object representing a latitude/longitude pair.The type of a location, which corresponds to the address lines field of [google.type.PostalAddress][google.type.PostalAddress].intThe type of a location, which corresponds to the address lines field of [google.type.PostalAddress][google.type.PostalAddress].Postal address of the location that includes human readable information, such as postal delivery and payments addresses.Postal address of the location that includes human readable information, such as postal delivery and payments addresses.doubleRadius in miles of the job location.booleanAn object representing a latitude/longitude pair.booleanPostal address of the location that includes human readable information, such as postal delivery and payments addresses.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.v4.Location.LocationType.NEIGHBORHOOD], and "Kansas City, KS, USA" has a type of [LocationType.LOCALITY][google.cloud.talent.v4.Location.LocationType.LOCALITY].
.google.cloud.talent.v4.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.v4.Location.LocationType.NEIGHBORHOOD], and "Kansas City, KS, USA" has a type of [LocationType.LOCALITY][google.cloud.talent.v4.Location.LocationType.LOCALITY].
.google.cloud.talent.v4.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
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
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
LatLng getLatLng()An object representing a latitude/longitude pair.
.google.type.LatLng lat_lng = 3;- Returns:
- The latLng.
-
getLatLngOrBuilder
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.
-