public static final class Osmformat.Node.Builder extends com.protobuf .GeneratedMessageLite .Builder <Osmformat .Node ,Osmformat .Node .Builder > implements Osmformat .NodeOrBuilder
OSMPBF.Node
| Modifier and Type | Method and Description |
|---|---|
Osmformat |
addAllKeys(Iterable
repeated uint32 keys = 2 [packed = true];
|
Osmformat |
addAllVals(Iterable
repeated uint32 vals = 3 [packed = true];
|
Osmformat |
addKeys(int value)
repeated uint32 keys = 2 [packed = true];
|
Osmformat |
addVals(int value)
repeated uint32 vals = 3 [packed = true];
|
Osmformat |
build()
|
Osmformat |
buildPartial()
|
Osmformat |
clear()
|
Osmformat |
clearId()
required sint64 id = 1;
|
Osmformat |
clearInfo()
optional .OSMPBF.Info info = 4;
|
Osmformat |
clearKeys()
repeated uint32 keys = 2 [packed = true];
|
Osmformat |
clearLat()
required sint64 lat = 8;
|
Osmformat |
clearLon()
required sint64 lon = 9;
|
Osmformat |
clearVals()
repeated uint32 vals = 3 [packed = true];
|
Osmformat |
clone()
|
Osmformat |
getDefaultInstanceForType()
|
long |
getId()
required sint64 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 |
getLat()
required sint64 lat = 8;
|
long |
getLon()
required sint64 lon = 9;
|
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 sint64 id = 1;
|
boolean |
hasInfo()
optional .OSMPBF.Info info = 4;
|
boolean |
hasLat()
required sint64 lat = 8;
|
boolean |
hasLon()
required sint64 lon = 9;
|
boolean |
isInitialized()
|
Osmformat |
mergeFrom(com
|
Osmformat |
mergeFrom(Osmformat
|
Osmformat |
mergeInfo(Osmformat
optional .OSMPBF.Info info = 4;
|
Osmformat |
setId(long value)
required sint64 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 |
setLat(long value)
required sint64 lat = 8;
|
Osmformat |
setLon(long value)
required sint64 lon = 9;
|
Osmformat |
setVals(int index, int value)
repeated uint32 vals = 3 [packed = true];
|
public Osmformat.Node .Builder clear()
public Osmformat.Node .Builder clone()
public Osmformat.Node getDefaultInstanceForType()
public Osmformat.Node build()
public Osmformat.Node buildPartial()
public Osmformat.Node .Builder mergeFrom(Osmformat .Node other)
public final boolean isInitialized()
public Osmformat.Node .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.Node.Builder >
IOException
public boolean hasId()
required sint64 id = 1;
public long getId()
required sint64 id = 1;
public Osmformat.Node .Builder setId(long value)
required sint64 id = 1;
public Osmformat.Node .Builder clearId()
required sint64 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.Node .Builder setKeys(int index, int value)
repeated uint32 keys = 2 [packed = true];
Parallel arrays.
public Osmformat.Node .Builder addKeys(int value)
repeated uint32 keys = 2 [packed = true];
Parallel arrays.
public Osmformat.Node .Builder addAllKeys(Iterable <? extends Integer > values)
repeated uint32 keys = 2 [packed = true];
Parallel arrays.
public Osmformat.Node .Builder clearKeys()
repeated uint32 keys = 2 [packed = true];
Parallel arrays.
public int getValsCount()
repeated uint32 vals = 3 [packed = true];
String IDs.
public int getVals(int index)
repeated uint32 vals = 3 [packed = true];
String IDs.
public Osmformat.Node .Builder setVals(int index, int value)
repeated uint32 vals = 3 [packed = true];
String IDs.
public Osmformat.Node .Builder addVals(int value)
repeated uint32 vals = 3 [packed = true];
String IDs.
public Osmformat.Node .Builder addAllVals(Iterable <? extends Integer > values)
repeated uint32 vals = 3 [packed = true];
String IDs.
public Osmformat.Node .Builder clearVals()
repeated uint32 vals = 3 [packed = true];
String IDs.
public boolean hasInfo()
optional .OSMPBF.Info info = 4;
May be omitted in omitmeta
public Osmformat.Info getInfo()
optional .OSMPBF.Info info = 4;
May be omitted in omitmeta
public Osmformat.Node .Builder setInfo(Osmformat .Info value)
optional .OSMPBF.Info info = 4;
May be omitted in omitmeta
public Osmformat.Node .Builder setInfo(Osmformat .Info .Builder builderForValue)
optional .OSMPBF.Info info = 4;
May be omitted in omitmeta
public Osmformat.Node .Builder mergeInfo(Osmformat .Info value)
optional .OSMPBF.Info info = 4;
May be omitted in omitmeta
public Osmformat.Node .Builder clearInfo()
optional .OSMPBF.Info info = 4;
May be omitted in omitmeta
public boolean hasLat()
required sint64 lat = 8;
public long getLat()
required sint64 lat = 8;
public Osmformat.Node .Builder setLat(long value)
required sint64 lat = 8;
public Osmformat.Node .Builder clearLat()
required sint64 lat = 8;
public boolean hasLon()
required sint64 lon = 9;
public long getLon()
required sint64 lon = 9;
public Osmformat.Node .Builder setLon(long value)
required sint64 lon = 9;
public Osmformat.Node .Builder clearLon()
required sint64 lon = 9;