Package net.iakovlev.timeshape.proto
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 floatgetLat()required float lat = 2;floatgetLon()required float lon = 1;booleanhasLat()required float lat = 2;booleanhasLon()required float lon = 1;-
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.
-
-