Class Osmformat.Relation.Builder
- java.lang.Object
- 
- proto4.AbstractMessageLite.Builder
- 
- proto4.AbstractMessage.Builder<BuilderT>
- 
- proto4.GeneratedMessage.Builder<Osmformat.Relation.Builder>
- 
- org.apache.sedona.sql.datasources.osmpbf.build.Osmformat.Relation.Builder
 
 
 
 
- 
- All Implemented Interfaces:
- Cloneable,- Osmformat.RelationOrBuilder,- proto4.Message.Builder,- proto4.MessageLite.Builder,- proto4.MessageLiteOrBuilder,- proto4.MessageOrBuilder
 - Enclosing class:
- Osmformat.Relation
 
 public static final class Osmformat.Relation.Builder extends proto4.GeneratedMessage.Builder<Osmformat.Relation.Builder> implements Osmformat.RelationOrBuilder Protobuf typeRelation
- 
- 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Osmformat.Relation.BuilderaddAllKeys(Iterable<? extends Integer> values)Parallel arrays.Osmformat.Relation.BuilderaddAllMemids(Iterable<? extends Long> values)DELTA encodedOsmformat.Relation.BuilderaddAllRolesSid(Iterable<? extends Integer> values)Parallel arraysOsmformat.Relation.BuilderaddAllTypes(Iterable<? extends Osmformat.Relation.MemberType> values)repeated .Relation.MemberType types = 10 [packed = true];Osmformat.Relation.BuilderaddAllVals(Iterable<? extends Integer> values)repeated uint32 vals = 3 [packed = true];Osmformat.Relation.BuilderaddKeys(int value)Parallel arrays.Osmformat.Relation.BuilderaddMemids(long value)DELTA encodedOsmformat.Relation.BuilderaddRolesSid(int value)Parallel arraysOsmformat.Relation.BuilderaddTypes(Osmformat.Relation.MemberType value)repeated .Relation.MemberType types = 10 [packed = true];Osmformat.Relation.BuilderaddVals(int value)repeated uint32 vals = 3 [packed = true];Osmformat.Relationbuild()Osmformat.RelationbuildPartial()Osmformat.Relation.Builderclear()Osmformat.Relation.BuilderclearId()required int64 id = 1;Osmformat.Relation.BuilderclearInfo()optional .Info info = 4;Osmformat.Relation.BuilderclearKeys()Parallel arrays.Osmformat.Relation.BuilderclearMemids()DELTA encodedOsmformat.Relation.BuilderclearRolesSid()Parallel arraysOsmformat.Relation.BuilderclearTypes()repeated .Relation.MemberType types = 10 [packed = true];Osmformat.Relation.BuilderclearVals()repeated uint32 vals = 3 [packed = true];Osmformat.RelationgetDefaultInstanceForType()static proto4.Descriptors.DescriptorgetDescriptor()proto4.Descriptors.DescriptorgetDescriptorForType()longgetId()required int64 id = 1;Osmformat.InfogetInfo()optional .Info info = 4;Osmformat.Info.BuildergetInfoBuilder()optional .Info info = 4;Osmformat.InfoOrBuildergetInfoOrBuilder()optional .Info info = 4;intgetKeys(int index)Parallel arrays.intgetKeysCount()Parallel arrays.List<Integer>getKeysList()Parallel arrays.longgetMemids(int index)DELTA encodedintgetMemidsCount()DELTA encodedList<Long>getMemidsList()DELTA encodedintgetRolesSid(int index)Parallel arraysintgetRolesSidCount()Parallel arraysList<Integer>getRolesSidList()Parallel arraysOsmformat.Relation.MemberTypegetTypes(int index)repeated .Relation.MemberType types = 10 [packed = true];intgetTypesCount()repeated .Relation.MemberType types = 10 [packed = true];List<Osmformat.Relation.MemberType>getTypesList()repeated .Relation.MemberType types = 10 [packed = true];intgetVals(int index)repeated uint32 vals = 3 [packed = true];intgetValsCount()repeated uint32 vals = 3 [packed = true];List<Integer>getValsList()repeated uint32 vals = 3 [packed = true];booleanhasId()required int64 id = 1;booleanhasInfo()optional .Info info = 4;protected proto4.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Osmformat.Relation.BuildermergeFrom(Osmformat.Relation other)Osmformat.Relation.BuildermergeFrom(proto4.CodedInputStream input, proto4.ExtensionRegistryLite extensionRegistry)Osmformat.Relation.BuildermergeFrom(proto4.Message other)Osmformat.Relation.BuildermergeInfo(Osmformat.Info value)optional .Info info = 4;Osmformat.Relation.BuildersetId(long value)required int64 id = 1;Osmformat.Relation.BuildersetInfo(Osmformat.Info value)optional .Info info = 4;Osmformat.Relation.BuildersetInfo(Osmformat.Info.Builder builderForValue)optional .Info info = 4;Osmformat.Relation.BuildersetKeys(int index, int value)Parallel arrays.Osmformat.Relation.BuildersetMemids(int index, long value)DELTA encodedOsmformat.Relation.BuildersetRolesSid(int index, int value)Parallel arraysOsmformat.Relation.BuildersetTypes(int index, Osmformat.Relation.MemberType value)repeated .Relation.MemberType types = 10 [packed = true];Osmformat.Relation.BuildersetVals(int index, int value)repeated uint32 vals = 3 [packed = true];- 
Methods inherited from class proto4.GeneratedMessage.BuilderaddRepeatedField, 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
 - 
Methods inherited from class proto4.AbstractMessage.BuilderfindInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
 - 
Methods inherited from class proto4.AbstractMessageLite.BuilderaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
 
- 
 
- 
- 
- 
Method Detail- 
getDescriptorpublic static final proto4.Descriptors.Descriptor getDescriptor() 
 - 
internalGetFieldAccessorTableprotected proto4.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() - Specified by:
- internalGetFieldAccessorTablein class- proto4.GeneratedMessage.Builder<Osmformat.Relation.Builder>
 
 - 
clearpublic Osmformat.Relation.Builder clear() - Specified by:
- clearin interface- proto4.Message.Builder
- Specified by:
- clearin interface- proto4.MessageLite.Builder
- Overrides:
- clearin class- proto4.GeneratedMessage.Builder<Osmformat.Relation.Builder>
 
 - 
getDescriptorForTypepublic proto4.Descriptors.Descriptor getDescriptorForType() - Specified by:
- getDescriptorForTypein interface- proto4.Message.Builder
- Specified by:
- getDescriptorForTypein interface- proto4.MessageOrBuilder
- Overrides:
- getDescriptorForTypein class- proto4.GeneratedMessage.Builder<Osmformat.Relation.Builder>
 
 - 
getDefaultInstanceForTypepublic Osmformat.Relation getDefaultInstanceForType() - Specified by:
- getDefaultInstanceForTypein interface- proto4.MessageLiteOrBuilder
- Specified by:
- getDefaultInstanceForTypein interface- proto4.MessageOrBuilder
 
 - 
buildpublic Osmformat.Relation build() - Specified by:
- buildin interface- proto4.Message.Builder
- Specified by:
- buildin interface- proto4.MessageLite.Builder
 
 - 
buildPartialpublic Osmformat.Relation buildPartial() - Specified by:
- buildPartialin interface- proto4.Message.Builder
- Specified by:
- buildPartialin interface- proto4.MessageLite.Builder
 
 - 
mergeFrompublic Osmformat.Relation.Builder mergeFrom(proto4.Message other) - Specified by:
- mergeFromin interface- proto4.Message.Builder
- Overrides:
- mergeFromin class- proto4.AbstractMessage.Builder<Osmformat.Relation.Builder>
 
 - 
mergeFrompublic Osmformat.Relation.Builder mergeFrom(Osmformat.Relation other) 
 - 
isInitializedpublic final boolean isInitialized() - Specified by:
- isInitializedin interface- proto4.MessageLiteOrBuilder
- Overrides:
- isInitializedin class- proto4.GeneratedMessage.Builder<Osmformat.Relation.Builder>
 
 - 
mergeFrompublic Osmformat.Relation.Builder mergeFrom(proto4.CodedInputStream input, proto4.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
- mergeFromin interface- proto4.Message.Builder
- Specified by:
- mergeFromin interface- proto4.MessageLite.Builder
- Overrides:
- mergeFromin class- proto4.AbstractMessage.Builder<Osmformat.Relation.Builder>
- Throws:
- IOException
 
 - 
hasIdpublic boolean hasId() required int64 id = 1;- Specified by:
- hasIdin interface- Osmformat.RelationOrBuilder
- Returns:
- Whether the id field is set.
 
 - 
getIdpublic long getId() required int64 id = 1;- Specified by:
- getIdin interface- Osmformat.RelationOrBuilder
- Returns:
- The id.
 
 - 
setIdpublic Osmformat.Relation.Builder setId(long value) required int64 id = 1;- Parameters:
- value- The id to set.
- Returns:
- This builder for chaining.
 
 - 
clearIdpublic Osmformat.Relation.Builder clearId() required int64 id = 1;- Returns:
- This builder for chaining.
 
 - 
getKeysListpublic List<Integer> getKeysList() Parallel arrays. repeated uint32 keys = 2 [packed = true];- Specified by:
- getKeysListin interface- Osmformat.RelationOrBuilder
- Returns:
- A list containing the keys.
 
 - 
getKeysCountpublic int getKeysCount() Parallel arrays. repeated uint32 keys = 2 [packed = true];- Specified by:
- getKeysCountin interface- Osmformat.RelationOrBuilder
- Returns:
- The count of keys.
 
 - 
getKeyspublic int getKeys(int index) Parallel arrays. repeated uint32 keys = 2 [packed = true];- Specified by:
- getKeysin interface- Osmformat.RelationOrBuilder
- Parameters:
- index- The index of the element to return.
- Returns:
- The keys at the given index.
 
 - 
setKeyspublic Osmformat.Relation.Builder setKeys(int index, int value) Parallel arrays. repeated uint32 keys = 2 [packed = true];- Parameters:
- index- The index to set the value at.
- value- The keys to set.
- Returns:
- This builder for chaining.
 
 - 
addKeyspublic Osmformat.Relation.Builder addKeys(int value) Parallel arrays. repeated uint32 keys = 2 [packed = true];- Parameters:
- value- The keys to add.
- Returns:
- This builder for chaining.
 
 - 
addAllKeyspublic Osmformat.Relation.Builder addAllKeys(Iterable<? extends Integer> values) Parallel arrays. repeated uint32 keys = 2 [packed = true];- Parameters:
- values- The keys to add.
- Returns:
- This builder for chaining.
 
 - 
clearKeyspublic Osmformat.Relation.Builder clearKeys() Parallel arrays. repeated uint32 keys = 2 [packed = true];- Returns:
- This builder for chaining.
 
 - 
getValsListpublic List<Integer> getValsList() repeated uint32 vals = 3 [packed = true];- Specified by:
- getValsListin interface- Osmformat.RelationOrBuilder
- Returns:
- A list containing the vals.
 
 - 
getValsCountpublic int getValsCount() repeated uint32 vals = 3 [packed = true];- Specified by:
- getValsCountin interface- Osmformat.RelationOrBuilder
- Returns:
- The count of vals.
 
 - 
getValspublic int getVals(int index) repeated uint32 vals = 3 [packed = true];- Specified by:
- getValsin interface- Osmformat.RelationOrBuilder
- Parameters:
- index- The index of the element to return.
- Returns:
- The vals at the given index.
 
 - 
setValspublic Osmformat.Relation.Builder setVals(int index, int value) repeated uint32 vals = 3 [packed = true];- Parameters:
- index- The index to set the value at.
- value- The vals to set.
- Returns:
- This builder for chaining.
 
 - 
addValspublic Osmformat.Relation.Builder addVals(int value) repeated uint32 vals = 3 [packed = true];- Parameters:
- value- The vals to add.
- Returns:
- This builder for chaining.
 
 - 
addAllValspublic Osmformat.Relation.Builder addAllVals(Iterable<? extends Integer> values) repeated uint32 vals = 3 [packed = true];- Parameters:
- values- The vals to add.
- Returns:
- This builder for chaining.
 
 - 
clearValspublic Osmformat.Relation.Builder clearVals() repeated uint32 vals = 3 [packed = true];- Returns:
- This builder for chaining.
 
 - 
hasInfopublic boolean hasInfo() optional .Info info = 4;- Specified by:
- hasInfoin interface- Osmformat.RelationOrBuilder
- Returns:
- Whether the info field is set.
 
 - 
getInfopublic Osmformat.Info getInfo() optional .Info info = 4;- Specified by:
- getInfoin interface- Osmformat.RelationOrBuilder
- Returns:
- The info.
 
 - 
setInfopublic Osmformat.Relation.Builder setInfo(Osmformat.Info value) optional .Info info = 4;
 - 
setInfopublic Osmformat.Relation.Builder setInfo(Osmformat.Info.Builder builderForValue) optional .Info info = 4;
 - 
mergeInfopublic Osmformat.Relation.Builder mergeInfo(Osmformat.Info value) optional .Info info = 4;
 - 
clearInfopublic Osmformat.Relation.Builder clearInfo() optional .Info info = 4;
 - 
getInfoBuilderpublic Osmformat.Info.Builder getInfoBuilder() optional .Info info = 4;
 - 
getInfoOrBuilderpublic Osmformat.InfoOrBuilder getInfoOrBuilder() optional .Info info = 4;- Specified by:
- getInfoOrBuilderin interface- Osmformat.RelationOrBuilder
 
 - 
getRolesSidListpublic List<Integer> getRolesSidList() Parallel arrays repeated int32 roles_sid = 8 [packed = true];- Specified by:
- getRolesSidListin interface- Osmformat.RelationOrBuilder
- Returns:
- A list containing the rolesSid.
 
 - 
getRolesSidCountpublic int getRolesSidCount() Parallel arrays repeated int32 roles_sid = 8 [packed = true];- Specified by:
- getRolesSidCountin interface- Osmformat.RelationOrBuilder
- Returns:
- The count of rolesSid.
 
 - 
getRolesSidpublic int getRolesSid(int index) Parallel arrays repeated int32 roles_sid = 8 [packed = true];- Specified by:
- getRolesSidin interface- Osmformat.RelationOrBuilder
- Parameters:
- index- The index of the element to return.
- Returns:
- The rolesSid at the given index.
 
 - 
setRolesSidpublic Osmformat.Relation.Builder setRolesSid(int index, int value) Parallel arrays repeated int32 roles_sid = 8 [packed = true];- Parameters:
- index- The index to set the value at.
- value- The rolesSid to set.
- Returns:
- This builder for chaining.
 
 - 
addRolesSidpublic Osmformat.Relation.Builder addRolesSid(int value) Parallel arrays repeated int32 roles_sid = 8 [packed = true];- Parameters:
- value- The rolesSid to add.
- Returns:
- This builder for chaining.
 
 - 
addAllRolesSidpublic Osmformat.Relation.Builder addAllRolesSid(Iterable<? extends Integer> values) Parallel arrays repeated int32 roles_sid = 8 [packed = true];- Parameters:
- values- The rolesSid to add.
- Returns:
- This builder for chaining.
 
 - 
clearRolesSidpublic Osmformat.Relation.Builder clearRolesSid() Parallel arrays repeated int32 roles_sid = 8 [packed = true];- Returns:
- This builder for chaining.
 
 - 
getMemidsListpublic List<Long> getMemidsList() DELTA encoded repeated sint64 memids = 9 [packed = true];- Specified by:
- getMemidsListin interface- Osmformat.RelationOrBuilder
- Returns:
- A list containing the memids.
 
 - 
getMemidsCountpublic int getMemidsCount() DELTA encoded repeated sint64 memids = 9 [packed = true];- Specified by:
- getMemidsCountin interface- Osmformat.RelationOrBuilder
- Returns:
- The count of memids.
 
 - 
getMemidspublic long getMemids(int index) DELTA encoded repeated sint64 memids = 9 [packed = true];- Specified by:
- getMemidsin interface- Osmformat.RelationOrBuilder
- Parameters:
- index- The index of the element to return.
- Returns:
- The memids at the given index.
 
 - 
setMemidspublic Osmformat.Relation.Builder setMemids(int index, long value) DELTA encoded repeated sint64 memids = 9 [packed = true];- Parameters:
- index- The index to set the value at.
- value- The memids to set.
- Returns:
- This builder for chaining.
 
 - 
addMemidspublic Osmformat.Relation.Builder addMemids(long value) DELTA encoded repeated sint64 memids = 9 [packed = true];- Parameters:
- value- The memids to add.
- Returns:
- This builder for chaining.
 
 - 
addAllMemidspublic Osmformat.Relation.Builder addAllMemids(Iterable<? extends Long> values) DELTA encoded repeated sint64 memids = 9 [packed = true];- Parameters:
- values- The memids to add.
- Returns:
- This builder for chaining.
 
 - 
clearMemidspublic Osmformat.Relation.Builder clearMemids() DELTA encoded repeated sint64 memids = 9 [packed = true];- Returns:
- This builder for chaining.
 
 - 
getTypesListpublic List<Osmformat.Relation.MemberType> getTypesList() repeated .Relation.MemberType types = 10 [packed = true];- Specified by:
- getTypesListin interface- Osmformat.RelationOrBuilder
- Returns:
- A list containing the types.
 
 - 
getTypesCountpublic int getTypesCount() repeated .Relation.MemberType types = 10 [packed = true];- Specified by:
- getTypesCountin interface- Osmformat.RelationOrBuilder
- Returns:
- The count of types.
 
 - 
getTypespublic Osmformat.Relation.MemberType getTypes(int index) repeated .Relation.MemberType types = 10 [packed = true];- Specified by:
- getTypesin interface- Osmformat.RelationOrBuilder
- Parameters:
- index- The index of the element to return.
- Returns:
- The types at the given index.
 
 - 
setTypespublic Osmformat.Relation.Builder setTypes(int index, Osmformat.Relation.MemberType value) repeated .Relation.MemberType types = 10 [packed = true];- Parameters:
- index- The index to set the value at.
- value- The types to set.
- Returns:
- This builder for chaining.
 
 - 
addTypespublic Osmformat.Relation.Builder addTypes(Osmformat.Relation.MemberType value) repeated .Relation.MemberType types = 10 [packed = true];- Parameters:
- value- The types to add.
- Returns:
- This builder for chaining.
 
 - 
addAllTypespublic Osmformat.Relation.Builder addAllTypes(Iterable<? extends Osmformat.Relation.MemberType> values) repeated .Relation.MemberType types = 10 [packed = true];- Parameters:
- values- The types to add.
- Returns:
- This builder for chaining.
 
 - 
clearTypespublic Osmformat.Relation.Builder clearTypes() repeated .Relation.MemberType types = 10 [packed = true];- Returns:
- This builder for chaining.
 
 
- 
 
-