public static final class Osmformat.Relation.Builder extends com.protobuf .GeneratedMessageLite .Builder <Osmformat .Relation ,Osmformat .Relation .Builder > implements Osmformat .RelationOrBuilder
OSMPBF.Relation
| Modifier and Type | Method and Description |
|---|---|
Osmformat |
addAllKeys(Iterable
repeated uint32 keys = 2 [packed = true];
|
Osmformat |
addAllMemids(Iterable
repeated sint64 memids = 9 [packed = true];
|
Osmformat |
addAllRolesSid(Iterable
repeated int32 roles_sid = 8 [packed = true];
|
Osmformat |
addAllTypes(Iterable
repeated .OSMPBF.Relation.MemberType types = 10 [packed = true];
|
Osmformat |
addAllVals(Iterable
repeated uint32 vals = 3 [packed = true];
|
Osmformat |
addKeys(int value)
repeated uint32 keys = 2 [packed = true];
|
Osmformat |
addMemids(long value)
repeated sint64 memids = 9 [packed = true];
|
Osmformat |
addRolesSid(int value)
repeated int32 roles_sid = 8 [packed = true];
|
Osmformat |
addTypes(Osmformat
repeated .OSMPBF.Relation.MemberType types = 10 [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 |
clearMemids()
repeated sint64 memids = 9 [packed = true];
|
Osmformat |
clearRolesSid()
repeated int32 roles_sid = 8 [packed = true];
|
Osmformat |
clearTypes()
repeated .OSMPBF.Relation.MemberType types = 10 [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 |
getMemids(int index)
repeated sint64 memids = 9 [packed = true];
|
int |
getMemidsCount()
repeated sint64 memids = 9 [packed = true];
|
List |
getMemidsList()
repeated sint64 memids = 9 [packed = true];
|
int |
getRolesSid(int index)
repeated int32 roles_sid = 8 [packed = true];
|
int |
getRolesSidCount()
repeated int32 roles_sid = 8 [packed = true];
|
List |
getRolesSidList()
repeated int32 roles_sid = 8 [packed = true];
|
Osmformat |
getTypes(int index)
repeated .OSMPBF.Relation.MemberType types = 10 [packed = true];
|
int |
getTypesCount()
repeated .OSMPBF.Relation.MemberType types = 10 [packed = true];
|
List |
getTypesList()
repeated .OSMPBF.Relation.MemberType types = 10 [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 |
setMemids(int index, long value)
repeated sint64 memids = 9 [packed = true];
|
Osmformat |
setRolesSid(int index, int value)
repeated int32 roles_sid = 8 [packed = true];
|
Osmformat |
setTypes(int index, Osmformat
repeated .OSMPBF.Relation.MemberType types = 10 [packed = true];
|
Osmformat |
setVals(int index, int value)
repeated uint32 vals = 3 [packed = true];
|
public Osmformat.Relation .Builder clear()
public Osmformat.Relation .Builder clone()
public Osmformat.Relation getDefaultInstanceForType()
public Osmformat.Relation build()
public Osmformat.Relation buildPartial()
public Osmformat.Relation .Builder mergeFrom(Osmformat .Relation other)
public final boolean isInitialized()
public Osmformat.Relation .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.Relation.Builder >
IOException
public boolean hasId()
required int64 id = 1;
public long getId()
required int64 id = 1;
public Osmformat.Relation .Builder setId(long value)
required int64 id = 1;
public Osmformat.Relation .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.Relation .Builder setKeys(int index, int value)
repeated uint32 keys = 2 [packed = true];
Parallel arrays.
public Osmformat.Relation .Builder addKeys(int value)
repeated uint32 keys = 2 [packed = true];
Parallel arrays.
public Osmformat.Relation .Builder addAllKeys(Iterable <? extends Integer > values)
repeated uint32 keys = 2 [packed = true];
Parallel arrays.
public Osmformat.Relation .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.Relation .Builder setVals(int index, int value)
repeated uint32 vals = 3 [packed = true];
public Osmformat.Relation .Builder addVals(int value)
repeated uint32 vals = 3 [packed = true];
public Osmformat.Relation .Builder addAllVals(Iterable <? extends Integer > values)
repeated uint32 vals = 3 [packed = true];
public Osmformat.Relation .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.Relation .Builder setInfo(Osmformat .Info value)
optional .OSMPBF.Info info = 4;
public Osmformat.Relation .Builder setInfo(Osmformat .Info .Builder builderForValue)
optional .OSMPBF.Info info = 4;
public Osmformat.Relation .Builder mergeInfo(Osmformat .Info value)
optional .OSMPBF.Info info = 4;
public Osmformat.Relation .Builder clearInfo()
optional .OSMPBF.Info info = 4;
public List<Integer > getRolesSidList()
repeated int32 roles_sid = 8 [packed = true];
Parallel arrays
public int getRolesSidCount()
repeated int32 roles_sid = 8 [packed = true];
Parallel arrays
public int getRolesSid(int index)
repeated int32 roles_sid = 8 [packed = true];
Parallel arrays
public Osmformat.Relation .Builder setRolesSid(int index, int value)
repeated int32 roles_sid = 8 [packed = true];
Parallel arrays
public Osmformat.Relation .Builder addRolesSid(int value)
repeated int32 roles_sid = 8 [packed = true];
Parallel arrays
public Osmformat.Relation .Builder addAllRolesSid(Iterable <? extends Integer > values)
repeated int32 roles_sid = 8 [packed = true];
Parallel arrays
public Osmformat.Relation .Builder clearRolesSid()
repeated int32 roles_sid = 8 [packed = true];
Parallel arrays
public List<Long > getMemidsList()
repeated sint64 memids = 9 [packed = true];
DELTA encoded
public int getMemidsCount()
repeated sint64 memids = 9 [packed = true];
DELTA encoded
public long getMemids(int index)
repeated sint64 memids = 9 [packed = true];
DELTA encoded
public Osmformat.Relation .Builder setMemids(int index, long value)
repeated sint64 memids = 9 [packed = true];
DELTA encoded
public Osmformat.Relation .Builder addMemids(long value)
repeated sint64 memids = 9 [packed = true];
DELTA encoded
public Osmformat.Relation .Builder addAllMemids(Iterable <? extends Long > values)
repeated sint64 memids = 9 [packed = true];
DELTA encoded
public Osmformat.Relation .Builder clearMemids()
repeated sint64 memids = 9 [packed = true];
DELTA encoded
public List<Osmformat .Relation .MemberType > getTypesList()
repeated .OSMPBF.Relation.MemberType types = 10 [packed = true];
public int getTypesCount()
repeated .OSMPBF.Relation.MemberType types = 10 [packed = true];
public Osmformat.Relation .MemberType getTypes(int index)
repeated .OSMPBF.Relation.MemberType types = 10 [packed = true];
public Osmformat.Relation .Builder setTypes(int index, Osmformat .Relation .MemberType value)
repeated .OSMPBF.Relation.MemberType types = 10 [packed = true];
public Osmformat.Relation .Builder addTypes(Osmformat .Relation .MemberType value)
repeated .OSMPBF.Relation.MemberType types = 10 [packed = true];
public Osmformat.Relation .Builder addAllTypes(Iterable <? extends Osmformat .Relation .MemberType > values)
repeated .OSMPBF.Relation.MemberType types = 10 [packed = true];
public Osmformat.Relation .Builder clearTypes()
repeated .OSMPBF.Relation.MemberType types = 10 [packed = true];