Interface Osmformat.WayOrBuilder
- All Superinterfaces:
proto4.MessageLiteOrBuilder,proto4.MessageOrBuilder
- All Known Implementing Classes:
Osmformat.Way,Osmformat.Way.Builder
- Enclosing class:
- Osmformat
public static interface Osmformat.WayOrBuilder
extends proto4.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlonggetId()required int64 id = 1;getInfo()optional .Info info = 4;optional .Info info = 4;intgetKeys(int index) Parallel arrays.intParallel arrays.Parallel arrays.longgetRefs(int index) DELTA codedintDELTA codedDELTA codedintgetVals(int index) repeated uint32 vals = 3 [packed = true];intrepeated uint32 vals = 3 [packed = true];repeated uint32 vals = 3 [packed = true];booleanhasId()required int64 id = 1;booleanhasInfo()optional .Info info = 4;Methods inherited from interface proto4.MessageLiteOrBuilder
isInitializedMethods inherited from interface proto4.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasId
boolean hasId()required int64 id = 1;- Returns:
- Whether the id field is set.
-
getId
long getId()required int64 id = 1;- Returns:
- The id.
-
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
repeated uint32 vals = 3 [packed = true];- Returns:
- A list containing the vals.
-
getValsCount
int getValsCount()repeated uint32 vals = 3 [packed = true];- Returns:
- The count of vals.
-
getVals
int getVals(int index) 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()optional .Info info = 4;- Returns:
- Whether the info field is set.
-
getInfo
Osmformat.Info getInfo()optional .Info info = 4;- Returns:
- The info.
-
getInfoOrBuilder
Osmformat.InfoOrBuilder getInfoOrBuilder()optional .Info info = 4; -
getRefsList
DELTA coded
repeated sint64 refs = 8 [packed = true];- Returns:
- A list containing the refs.
-
getRefsCount
int getRefsCount()DELTA coded
repeated sint64 refs = 8 [packed = true];- Returns:
- The count of refs.
-
getRefs
long getRefs(int index) DELTA coded
repeated sint64 refs = 8 [packed = true];- Parameters:
index- The index of the element to return.- Returns:
- The refs at the given index.
-