Interface Geojson.PositionOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    Geojson.Position, Geojson.Position.Builder
    Enclosing class:
    Geojson

    public static interface Geojson.PositionOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      float getLat()
      required float lat = 2;
      float getLon()
      required float lon = 1;
      boolean hasLat()
      required float lat = 2;
      boolean hasLon()
      required float lon = 1;
      • 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 Detail

      • hasLon

        boolean hasLon()
        required float lon = 1;
        Returns:
        Whether the lon field is set.
      • getLon

        float getLon()
        required float lon = 1;
        Returns:
        The lon.
      • hasLat

        boolean hasLat()
        required float lat = 2;
        Returns:
        Whether the lat field is set.
      • getLat

        float getLat()
        required float lat = 2;
        Returns:
        The lat.