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
Modifier and TypeMethodDescriptiondouble
The latitude in degrees.double
The longitude in degrees.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.
-