public static final class Osmformat.Relation.Builder extends proto4.GeneratedMessage.Builder<Osmformat.Relation.Builder> implements Osmformat.RelationOrBuilder
Relation
Modifier and Type | Method and Description |
---|---|
Osmformat.Relation.Builder |
addAllKeys(Iterable<? extends Integer> values)
Parallel arrays.
|
Osmformat.Relation.Builder |
addAllMemids(Iterable<? extends Long> values)
DELTA encoded
|
Osmformat.Relation.Builder |
addAllRolesSid(Iterable<? extends Integer> values)
Parallel arrays
|
Osmformat.Relation.Builder |
addAllTypes(Iterable<? extends Osmformat.Relation.MemberType> values)
repeated .Relation.MemberType types = 10 [packed = true]; |
Osmformat.Relation.Builder |
addAllVals(Iterable<? extends Integer> values)
repeated uint32 vals = 3 [packed = true]; |
Osmformat.Relation.Builder |
addKeys(int value)
Parallel arrays.
|
Osmformat.Relation.Builder |
addMemids(long value)
DELTA encoded
|
Osmformat.Relation.Builder |
addRolesSid(int value)
Parallel arrays
|
Osmformat.Relation.Builder |
addTypes(Osmformat.Relation.MemberType value)
repeated .Relation.MemberType types = 10 [packed = true]; |
Osmformat.Relation.Builder |
addVals(int value)
repeated uint32 vals = 3 [packed = true]; |
Osmformat.Relation |
build() |
Osmformat.Relation |
buildPartial() |
Osmformat.Relation.Builder |
clear() |
Osmformat.Relation.Builder |
clearId()
required int64 id = 1; |
Osmformat.Relation.Builder |
clearInfo()
optional .Info info = 4; |
Osmformat.Relation.Builder |
clearKeys()
Parallel arrays.
|
Osmformat.Relation.Builder |
clearMemids()
DELTA encoded
|
Osmformat.Relation.Builder |
clearRolesSid()
Parallel arrays
|
Osmformat.Relation.Builder |
clearTypes()
repeated .Relation.MemberType types = 10 [packed = true]; |
Osmformat.Relation.Builder |
clearVals()
repeated uint32 vals = 3 [packed = true]; |
Osmformat.Relation |
getDefaultInstanceForType() |
static proto4.Descriptors.Descriptor |
getDescriptor() |
proto4.Descriptors.Descriptor |
getDescriptorForType() |
long |
getId()
required int64 id = 1; |
Osmformat.Info |
getInfo()
optional .Info info = 4; |
Osmformat.Info.Builder |
getInfoBuilder()
optional .Info info = 4; |
Osmformat.InfoOrBuilder |
getInfoOrBuilder()
optional .Info info = 4; |
int |
getKeys(int index)
Parallel arrays.
|
int |
getKeysCount()
Parallel arrays.
|
List<Integer> |
getKeysList()
Parallel arrays.
|
long |
getMemids(int index)
DELTA encoded
|
int |
getMemidsCount()
DELTA encoded
|
List<Long> |
getMemidsList()
DELTA encoded
|
int |
getRolesSid(int index)
Parallel arrays
|
int |
getRolesSidCount()
Parallel arrays
|
List<Integer> |
getRolesSidList()
Parallel arrays
|
Osmformat.Relation.MemberType |
getTypes(int index)
repeated .Relation.MemberType types = 10 [packed = true]; |
int |
getTypesCount()
repeated .Relation.MemberType types = 10 [packed = true]; |
List<Osmformat.Relation.MemberType> |
getTypesList()
repeated .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<Integer> |
getValsList()
repeated uint32 vals = 3 [packed = true]; |
boolean |
hasId()
required int64 id = 1; |
boolean |
hasInfo()
optional .Info info = 4; |
protected proto4.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Osmformat.Relation.Builder |
mergeFrom(proto4.CodedInputStream input,
proto4.ExtensionRegistryLite extensionRegistry) |
Osmformat.Relation.Builder |
mergeFrom(proto4.Message other) |
Osmformat.Relation.Builder |
mergeFrom(Osmformat.Relation other) |
Osmformat.Relation.Builder |
mergeInfo(Osmformat.Info value)
optional .Info info = 4; |
Osmformat.Relation.Builder |
setId(long value)
required int64 id = 1; |
Osmformat.Relation.Builder |
setInfo(Osmformat.Info.Builder builderForValue)
optional .Info info = 4; |
Osmformat.Relation.Builder |
setInfo(Osmformat.Info value)
optional .Info info = 4; |
Osmformat.Relation.Builder |
setKeys(int index,
int value)
Parallel arrays.
|
Osmformat.Relation.Builder |
setMemids(int index,
long value)
DELTA encoded
|
Osmformat.Relation.Builder |
setRolesSid(int index,
int value)
Parallel arrays
|
Osmformat.Relation.Builder |
setTypes(int index,
Osmformat.Relation.MemberType value)
repeated .Relation.MemberType types = 10 [packed = true]; |
Osmformat.Relation.Builder |
setVals(int index,
int value)
repeated uint32 vals = 3 [packed = true]; |
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final proto4.Descriptors.Descriptor getDescriptor()
protected proto4.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class proto4.GeneratedMessage.Builder<Osmformat.Relation.Builder>
public Osmformat.Relation.Builder clear()
clear
in interface proto4.Message.Builder
clear
in interface proto4.MessageLite.Builder
clear
in class proto4.GeneratedMessage.Builder<Osmformat.Relation.Builder>
public proto4.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface proto4.Message.Builder
getDescriptorForType
in interface proto4.MessageOrBuilder
getDescriptorForType
in class proto4.GeneratedMessage.Builder<Osmformat.Relation.Builder>
public Osmformat.Relation getDefaultInstanceForType()
getDefaultInstanceForType
in interface proto4.MessageLiteOrBuilder
getDefaultInstanceForType
in interface proto4.MessageOrBuilder
public Osmformat.Relation build()
build
in interface proto4.Message.Builder
build
in interface proto4.MessageLite.Builder
public Osmformat.Relation buildPartial()
buildPartial
in interface proto4.Message.Builder
buildPartial
in interface proto4.MessageLite.Builder
public Osmformat.Relation.Builder mergeFrom(proto4.Message other)
mergeFrom
in interface proto4.Message.Builder
mergeFrom
in class proto4.AbstractMessage.Builder<Osmformat.Relation.Builder>
public Osmformat.Relation.Builder mergeFrom(Osmformat.Relation other)
public final boolean isInitialized()
isInitialized
in interface proto4.MessageLiteOrBuilder
isInitialized
in class proto4.GeneratedMessage.Builder<Osmformat.Relation.Builder>
public Osmformat.Relation.Builder mergeFrom(proto4.CodedInputStream input, proto4.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface proto4.Message.Builder
mergeFrom
in interface proto4.MessageLite.Builder
mergeFrom
in class proto4.AbstractMessage.Builder<Osmformat.Relation.Builder>
IOException
public boolean hasId()
required int64 id = 1;
hasId
in interface Osmformat.RelationOrBuilder
public long getId()
required int64 id = 1;
getId
in interface Osmformat.RelationOrBuilder
public Osmformat.Relation.Builder setId(long value)
required int64 id = 1;
value
- The id to set.public Osmformat.Relation.Builder clearId()
required int64 id = 1;
public List<Integer> getKeysList()
Parallel arrays.
repeated uint32 keys = 2 [packed = true];
getKeysList
in interface Osmformat.RelationOrBuilder
public int getKeysCount()
Parallel arrays.
repeated uint32 keys = 2 [packed = true];
getKeysCount
in interface Osmformat.RelationOrBuilder
public int getKeys(int index)
Parallel arrays.
repeated uint32 keys = 2 [packed = true];
getKeys
in interface Osmformat.RelationOrBuilder
index
- The index of the element to return.public Osmformat.Relation.Builder setKeys(int index, int value)
Parallel arrays.
repeated uint32 keys = 2 [packed = true];
index
- The index to set the value at.value
- The keys to set.public Osmformat.Relation.Builder addKeys(int value)
Parallel arrays.
repeated uint32 keys = 2 [packed = true];
value
- The keys to add.public Osmformat.Relation.Builder addAllKeys(Iterable<? extends Integer> values)
Parallel arrays.
repeated uint32 keys = 2 [packed = true];
values
- The keys to add.public Osmformat.Relation.Builder clearKeys()
Parallel arrays.
repeated uint32 keys = 2 [packed = true];
public List<Integer> getValsList()
repeated uint32 vals = 3 [packed = true];
getValsList
in interface Osmformat.RelationOrBuilder
public int getValsCount()
repeated uint32 vals = 3 [packed = true];
getValsCount
in interface Osmformat.RelationOrBuilder
public int getVals(int index)
repeated uint32 vals = 3 [packed = true];
getVals
in interface Osmformat.RelationOrBuilder
index
- The index of the element to return.public Osmformat.Relation.Builder setVals(int index, int value)
repeated uint32 vals = 3 [packed = true];
index
- The index to set the value at.value
- The vals to set.public Osmformat.Relation.Builder addVals(int value)
repeated uint32 vals = 3 [packed = true];
value
- The vals to add.public Osmformat.Relation.Builder addAllVals(Iterable<? extends Integer> values)
repeated uint32 vals = 3 [packed = true];
values
- The vals to add.public Osmformat.Relation.Builder clearVals()
repeated uint32 vals = 3 [packed = true];
public boolean hasInfo()
optional .Info info = 4;
hasInfo
in interface Osmformat.RelationOrBuilder
public Osmformat.Info getInfo()
optional .Info info = 4;
getInfo
in interface Osmformat.RelationOrBuilder
public Osmformat.Relation.Builder setInfo(Osmformat.Info value)
optional .Info info = 4;
public Osmformat.Relation.Builder setInfo(Osmformat.Info.Builder builderForValue)
optional .Info info = 4;
public Osmformat.Relation.Builder mergeInfo(Osmformat.Info value)
optional .Info info = 4;
public Osmformat.Relation.Builder clearInfo()
optional .Info info = 4;
public Osmformat.Info.Builder getInfoBuilder()
optional .Info info = 4;
public Osmformat.InfoOrBuilder getInfoOrBuilder()
optional .Info info = 4;
getInfoOrBuilder
in interface Osmformat.RelationOrBuilder
public List<Integer> getRolesSidList()
Parallel arrays
repeated int32 roles_sid = 8 [packed = true];
getRolesSidList
in interface Osmformat.RelationOrBuilder
public int getRolesSidCount()
Parallel arrays
repeated int32 roles_sid = 8 [packed = true];
getRolesSidCount
in interface Osmformat.RelationOrBuilder
public int getRolesSid(int index)
Parallel arrays
repeated int32 roles_sid = 8 [packed = true];
getRolesSid
in interface Osmformat.RelationOrBuilder
index
- The index of the element to return.public Osmformat.Relation.Builder setRolesSid(int index, int value)
Parallel arrays
repeated int32 roles_sid = 8 [packed = true];
index
- The index to set the value at.value
- The rolesSid to set.public Osmformat.Relation.Builder addRolesSid(int value)
Parallel arrays
repeated int32 roles_sid = 8 [packed = true];
value
- The rolesSid to add.public Osmformat.Relation.Builder addAllRolesSid(Iterable<? extends Integer> values)
Parallel arrays
repeated int32 roles_sid = 8 [packed = true];
values
- The rolesSid to add.public Osmformat.Relation.Builder clearRolesSid()
Parallel arrays
repeated int32 roles_sid = 8 [packed = true];
public List<Long> getMemidsList()
DELTA encoded
repeated sint64 memids = 9 [packed = true];
getMemidsList
in interface Osmformat.RelationOrBuilder
public int getMemidsCount()
DELTA encoded
repeated sint64 memids = 9 [packed = true];
getMemidsCount
in interface Osmformat.RelationOrBuilder
public long getMemids(int index)
DELTA encoded
repeated sint64 memids = 9 [packed = true];
getMemids
in interface Osmformat.RelationOrBuilder
index
- The index of the element to return.public Osmformat.Relation.Builder setMemids(int index, long value)
DELTA encoded
repeated sint64 memids = 9 [packed = true];
index
- The index to set the value at.value
- The memids to set.public Osmformat.Relation.Builder addMemids(long value)
DELTA encoded
repeated sint64 memids = 9 [packed = true];
value
- The memids to add.public Osmformat.Relation.Builder addAllMemids(Iterable<? extends Long> values)
DELTA encoded
repeated sint64 memids = 9 [packed = true];
values
- The memids to add.public Osmformat.Relation.Builder clearMemids()
DELTA encoded
repeated sint64 memids = 9 [packed = true];
public List<Osmformat.Relation.MemberType> getTypesList()
repeated .Relation.MemberType types = 10 [packed = true];
getTypesList
in interface Osmformat.RelationOrBuilder
public int getTypesCount()
repeated .Relation.MemberType types = 10 [packed = true];
getTypesCount
in interface Osmformat.RelationOrBuilder
public Osmformat.Relation.MemberType getTypes(int index)
repeated .Relation.MemberType types = 10 [packed = true];
getTypes
in interface Osmformat.RelationOrBuilder
index
- The index of the element to return.public Osmformat.Relation.Builder setTypes(int index, Osmformat.Relation.MemberType value)
repeated .Relation.MemberType types = 10 [packed = true];
index
- The index to set the value at.value
- The types to set.public Osmformat.Relation.Builder addTypes(Osmformat.Relation.MemberType value)
repeated .Relation.MemberType types = 10 [packed = true];
value
- The types to add.public Osmformat.Relation.Builder addAllTypes(Iterable<? extends Osmformat.Relation.MemberType> values)
repeated .Relation.MemberType types = 10 [packed = true];
values
- The types to add.public Osmformat.Relation.Builder clearTypes()
repeated .Relation.MemberType types = 10 [packed = true];
Copyright © 2025 The Apache Software Foundation. All rights reserved.