public static final class Osmformat.Way.Builder extends com.protobuf .GeneratedMessageLite .Builder <Osmformat .Way ,Osmformat .Way .Builder > implements Osmformat .WayOrBuilder
OSMPBF.Way
| Modifier and Type | Method and Description |
|---|---|
Osmformat |
addAllKeys(Iterable
repeated uint32 keys = 2 [packed = true];
|
Osmformat |
addAllRefs(Iterable
repeated sint64 refs = 8 [packed = true];
|
Osmformat |
addAllVals(Iterable
repeated uint32 vals = 3 [packed = true];
|
Osmformat |
addKeys(int value)
repeated uint32 keys = 2 [packed = true];
|
Osmformat |
addRefs(long value)
repeated sint64 refs = 8 [packed = true];
|
Osmformat |
addVals(int value)
repeated uint32 vals = 3 [packed = true];
|
Osmformat |
build()
|
Osmformat |
buildPartial()
|
Osmformat |
clear()
|
Osmformat |
clearId()
required int64 id = 1;
|
Osmformat |
clearInfo()
optional .OSMPBF.Info info = 4;
|
Osmformat |
clearKeys()
repeated uint32 keys = 2 [packed = true];
|
Osmformat |
clearRefs()
repeated sint64 refs = 8 [packed = true];
|
Osmformat |
clearVals()
repeated uint32 vals = 3 [packed = true];
|
Osmformat |
clone()
|
Osmformat |
getDefaultInstanceForType()
|
long |
getId()
required int64 id = 1;
|
Osmformat |
getInfo()
optional .OSMPBF.Info info = 4;
|
int |
getKeys(int index)
repeated uint32 keys = 2 [packed = true];
|
int |
getKeysCount()
repeated uint32 keys = 2 [packed = true];
|
List |
getKeysList()
repeated uint32 keys = 2 [packed = true];
|
long |
getRefs(int index)
repeated sint64 refs = 8 [packed = true];
|
int |
getRefsCount()
repeated sint64 refs = 8 [packed = true];
|
List |
getRefsList()
repeated sint64 refs = 8 [packed = true];
|
int |
getVals(int index)
repeated uint32 vals = 3 [packed = true];
|
int |
getValsCount()
repeated uint32 vals = 3 [packed = true];
|
List |
getValsList()
repeated uint32 vals = 3 [packed = true];
|
boolean |
hasId()
required int64 id = 1;
|
boolean |
hasInfo()
optional .OSMPBF.Info info = 4;
|
boolean |
isInitialized()
|
Osmformat |
mergeFrom(com
|
Osmformat |
mergeFrom(Osmformat
|
Osmformat |
mergeInfo(Osmformat
optional .OSMPBF.Info info = 4;
|
Osmformat |
setId(long value)
required int64 id = 1;
|
Osmformat |
setInfo(Osmformat
optional .OSMPBF.Info info = 4;
|
Osmformat |
setInfo(Osmformat
optional .OSMPBF.Info info = 4;
|
Osmformat |
setKeys(int index, int value)
repeated uint32 keys = 2 [packed = true];
|
Osmformat |
setRefs(int index, long value)
repeated sint64 refs = 8 [packed = true];
|
Osmformat |
setVals(int index, int value)
repeated uint32 vals = 3 [packed = true];
|
public Osmformat.Way .Builder clear()
public Osmformat.Way .Builder clone()
public Osmformat.Way getDefaultInstanceForType()
public Osmformat.Way build()
public Osmformat.Way buildPartial()
public Osmformat.Way .Builder mergeFrom(Osmformat .Way other)
public final boolean isInitialized()
public Osmformat.Way .Builder mergeFrom(com .protobuf .CodedInputStream input, com .protobuf .ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface
com.google.protobuf.MessageLite.Builder
mergeFrom in class
com.google.protobuf.AbstractMessageLite.Builder<Osmformat.Way.Builder >
IOException
public boolean hasId()
required int64 id = 1;
public long getId()
required int64 id = 1;
public Osmformat.Way .Builder setId(long value)
required int64 id = 1;
public Osmformat.Way .Builder clearId()
required int64 id = 1;
public List<Integer > getKeysList()
repeated uint32 keys = 2 [packed = true];
Parallel arrays.
public int getKeysCount()
repeated uint32 keys = 2 [packed = true];
Parallel arrays.
public int getKeys(int index)
repeated uint32 keys = 2 [packed = true];
Parallel arrays.
public Osmformat.Way .Builder setKeys(int index, int value)
repeated uint32 keys = 2 [packed = true];
Parallel arrays.
public Osmformat.Way .Builder addKeys(int value)
repeated uint32 keys = 2 [packed = true];
Parallel arrays.
public Osmformat.Way .Builder addAllKeys(Iterable <? extends Integer > values)
repeated uint32 keys = 2 [packed = true];
Parallel arrays.
public Osmformat.Way .Builder clearKeys()
repeated uint32 keys = 2 [packed = true];
Parallel arrays.
public int getValsCount()
repeated uint32 vals = 3 [packed = true];
public int getVals(int index)
repeated uint32 vals = 3 [packed = true];
public Osmformat.Way .Builder setVals(int index, int value)
repeated uint32 vals = 3 [packed = true];
public Osmformat.Way .Builder addVals(int value)
repeated uint32 vals = 3 [packed = true];
public Osmformat.Way .Builder addAllVals(Iterable <? extends Integer > values)
repeated uint32 vals = 3 [packed = true];
public Osmformat.Way .Builder clearVals()
repeated uint32 vals = 3 [packed = true];
public boolean hasInfo()
optional .OSMPBF.Info info = 4;
public Osmformat.Info getInfo()
optional .OSMPBF.Info info = 4;
public Osmformat.Way .Builder setInfo(Osmformat .Info value)
optional .OSMPBF.Info info = 4;
public Osmformat.Way .Builder setInfo(Osmformat .Info .Builder builderForValue)
optional .OSMPBF.Info info = 4;
public Osmformat.Way .Builder mergeInfo(Osmformat .Info value)
optional .OSMPBF.Info info = 4;
public Osmformat.Way .Builder clearInfo()
optional .OSMPBF.Info info = 4;
public int getRefsCount()
repeated sint64 refs = 8 [packed = true];
DELTA coded
public long getRefs(int index)
repeated sint64 refs = 8 [packed = true];
DELTA coded
public Osmformat.Way .Builder setRefs(int index, long value)
repeated sint64 refs = 8 [packed = true];
DELTA coded
public Osmformat.Way .Builder addRefs(long value)
repeated sint64 refs = 8 [packed = true];
DELTA coded
public Osmformat.Way .Builder addAllRefs(Iterable <? extends Long > values)
repeated sint64 refs = 8 [packed = true];
DELTA coded
public Osmformat.Way .Builder clearRefs()
repeated sint64 refs = 8 [packed = true];
DELTA coded