Interface Osmformat.NodeOrBuilder
-
- All Superinterfaces:
proto4.MessageLiteOrBuilder
,proto4.MessageOrBuilder
- All Known Implementing Classes:
Osmformat.Node
,Osmformat.Node.Builder
- Enclosing class:
- Osmformat
public static interface Osmformat.NodeOrBuilder extends proto4.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getId()
required sint64 id = 1;
Osmformat.Info
getInfo()
May be omitted in omitmetaOsmformat.InfoOrBuilder
getInfoOrBuilder()
May be omitted in omitmetaint
getKeys(int index)
Parallel arrays.int
getKeysCount()
Parallel arrays.List<Integer>
getKeysList()
Parallel arrays.long
getLat()
required sint64 lat = 8;
long
getLon()
required sint64 lon = 9;
int
getVals(int index)
String IDs.int
getValsCount()
String IDs.List<Integer>
getValsList()
String IDs.boolean
hasId()
required sint64 id = 1;
boolean
hasInfo()
May be omitted in omitmetaboolean
hasLat()
required sint64 lat = 8;
boolean
hasLon()
required sint64 lon = 9;
-
-
-
Method Detail
-
hasId
boolean hasId()
required sint64 id = 1;
- Returns:
- Whether the id field is set.
-
getId
long getId()
required sint64 id = 1;
- Returns:
- The id.
-
getKeysList
List<Integer> getKeysList()
Parallel arrays.
repeated uint32 keys = 2 [packed = true];
- Returns:
- A list containing the keys.
-
getKeysCount
int getKeysCount()
Parallel arrays.
repeated uint32 keys = 2 [packed = true];
- Returns:
- The count of keys.
-
getKeys
int getKeys(int index)
Parallel arrays.
repeated uint32 keys = 2 [packed = true];
- Parameters:
index
- The index of the element to return.- Returns:
- The keys at the given index.
-
getValsList
List<Integer> getValsList()
String IDs.
repeated uint32 vals = 3 [packed = true];
- Returns:
- A list containing the vals.
-
getValsCount
int getValsCount()
String IDs.
repeated uint32 vals = 3 [packed = true];
- Returns:
- The count of vals.
-
getVals
int getVals(int index)
String IDs.
repeated uint32 vals = 3 [packed = true];
- Parameters:
index
- The index of the element to return.- Returns:
- The vals at the given index.
-
hasInfo
boolean hasInfo()
May be omitted in omitmeta
optional .Info info = 4;
- Returns:
- Whether the info field is set.
-
getInfo
Osmformat.Info getInfo()
May be omitted in omitmeta
optional .Info info = 4;
- Returns:
- The info.
-
getInfoOrBuilder
Osmformat.InfoOrBuilder getInfoOrBuilder()
May be omitted in omitmeta
optional .Info info = 4;
-
hasLat
boolean hasLat()
required sint64 lat = 8;
- Returns:
- Whether the lat field is set.
-
getLat
long getLat()
required sint64 lat = 8;
- Returns:
- The lat.
-
hasLon
boolean hasLon()
required sint64 lon = 9;
- Returns:
- Whether the lon field is set.
-
getLon
long getLon()
required sint64 lon = 9;
- Returns:
- The lon.
-
-