Package com.google.type
Interface LatLngOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
LatLng
,LatLng.Builder
public interface LatLngOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiondouble
The latitude in degrees.double
The longitude in degrees.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getLatitude
double getLatitude()The latitude in degrees. It must be in the range [-90.0, +90.0].
double latitude = 1 [json_name = "latitude"];
- Returns:
- The latitude.
-
getLongitude
double getLongitude()The longitude in degrees. It must be in the range [-180.0, +180.0].
double longitude = 2 [json_name = "longitude"];
- Returns:
- The longitude.
-