Package com.google.type
Interface LatLngOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
LatLng,LatLng.Builder
public interface LatLngOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description doublegetLatitude()The latitude in degrees.doublegetLongitude()The longitude in degrees.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getLatitude
double getLatitude()
The latitude in degrees. It must be in the range [-90.0, +90.0].
double latitude = 1;- Returns:
- The latitude.
-
getLongitude
double getLongitude()
The longitude in degrees. It must be in the range [-180.0, +180.0].
double longitude = 2;- Returns:
- The longitude.
-
-