Interface GeoPointOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
GeoPoint, GeoPoint.Builder

public interface GeoPointOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    Specifies the latitude value for this geo-point.
    double
    Specifies the longitude value for this geo-point.

    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

    • getLat

      double getLat()
       Specifies the latitude value for this geo-point.
       
      double lat = 1 [json_name = "lat", (.google.api.field_behavior) = OPTIONAL];
      Returns:
      The lat.
    • getLon

      double getLon()
       Specifies the longitude value for this geo-point.
       
      double lon = 2 [json_name = "lon", (.google.api.field_behavior) = OPTIONAL];
      Returns:
      The lon.