Class Osmformat.DenseInfo.Builder
- java.lang.Object
- 
- proto4.AbstractMessageLite.Builder
- 
- proto4.AbstractMessage.Builder<BuilderT>
- 
- proto4.GeneratedMessage.Builder<Osmformat.DenseInfo.Builder>
- 
- org.apache.sedona.sql.datasources.osmpbf.build.Osmformat.DenseInfo.Builder
 
 
 
 
- 
- All Implemented Interfaces:
- Cloneable,- Osmformat.DenseInfoOrBuilder,- proto4.Message.Builder,- proto4.MessageLite.Builder,- proto4.MessageLiteOrBuilder,- proto4.MessageOrBuilder
 - Enclosing class:
- Osmformat.DenseInfo
 
 public static final class Osmformat.DenseInfo.Builder extends proto4.GeneratedMessage.Builder<Osmformat.DenseInfo.Builder> implements Osmformat.DenseInfoOrBuilder * Optional metadata that may be included into each primitive. Special dense format used in DenseNodes. Protobuf type DenseInfo
- 
- 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Osmformat.DenseInfo.BuilderaddAllChangeset(Iterable<? extends Long> values)DELTA codedOsmformat.DenseInfo.BuilderaddAllTimestamp(Iterable<? extends Long> values)DELTA codedOsmformat.DenseInfo.BuilderaddAllUid(Iterable<? extends Integer> values)DELTA codedOsmformat.DenseInfo.BuilderaddAllUserSid(Iterable<? extends Integer> values)String IDs for usernames.Osmformat.DenseInfo.BuilderaddAllVersion(Iterable<? extends Integer> values)repeated int32 version = 1 [packed = true];Osmformat.DenseInfo.BuilderaddAllVisible(Iterable<? extends Boolean> values)The visible flag is used to store history information.Osmformat.DenseInfo.BuilderaddChangeset(long value)DELTA codedOsmformat.DenseInfo.BuilderaddTimestamp(long value)DELTA codedOsmformat.DenseInfo.BuilderaddUid(int value)DELTA codedOsmformat.DenseInfo.BuilderaddUserSid(int value)String IDs for usernames.Osmformat.DenseInfo.BuilderaddVersion(int value)repeated int32 version = 1 [packed = true];Osmformat.DenseInfo.BuilderaddVisible(boolean value)The visible flag is used to store history information.Osmformat.DenseInfobuild()Osmformat.DenseInfobuildPartial()Osmformat.DenseInfo.Builderclear()Osmformat.DenseInfo.BuilderclearChangeset()DELTA codedOsmformat.DenseInfo.BuilderclearTimestamp()DELTA codedOsmformat.DenseInfo.BuilderclearUid()DELTA codedOsmformat.DenseInfo.BuilderclearUserSid()String IDs for usernames.Osmformat.DenseInfo.BuilderclearVersion()repeated int32 version = 1 [packed = true];Osmformat.DenseInfo.BuilderclearVisible()The visible flag is used to store history information.longgetChangeset(int index)DELTA codedintgetChangesetCount()DELTA codedList<Long>getChangesetList()DELTA codedOsmformat.DenseInfogetDefaultInstanceForType()static proto4.Descriptors.DescriptorgetDescriptor()proto4.Descriptors.DescriptorgetDescriptorForType()longgetTimestamp(int index)DELTA codedintgetTimestampCount()DELTA codedList<Long>getTimestampList()DELTA codedintgetUid(int index)DELTA codedintgetUidCount()DELTA codedList<Integer>getUidList()DELTA codedintgetUserSid(int index)String IDs for usernames.intgetUserSidCount()String IDs for usernames.List<Integer>getUserSidList()String IDs for usernames.intgetVersion(int index)repeated int32 version = 1 [packed = true];intgetVersionCount()repeated int32 version = 1 [packed = true];List<Integer>getVersionList()repeated int32 version = 1 [packed = true];booleangetVisible(int index)The visible flag is used to store history information.intgetVisibleCount()The visible flag is used to store history information.List<Boolean>getVisibleList()The visible flag is used to store history information.protected proto4.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Osmformat.DenseInfo.BuildermergeFrom(Osmformat.DenseInfo other)Osmformat.DenseInfo.BuildermergeFrom(proto4.CodedInputStream input, proto4.ExtensionRegistryLite extensionRegistry)Osmformat.DenseInfo.BuildermergeFrom(proto4.Message other)Osmformat.DenseInfo.BuildersetChangeset(int index, long value)DELTA codedOsmformat.DenseInfo.BuildersetTimestamp(int index, long value)DELTA codedOsmformat.DenseInfo.BuildersetUid(int index, int value)DELTA codedOsmformat.DenseInfo.BuildersetUserSid(int index, int value)String IDs for usernames.Osmformat.DenseInfo.BuildersetVersion(int index, int value)repeated int32 version = 1 [packed = true];Osmformat.DenseInfo.BuildersetVisible(int index, boolean value)The visible flag is used to store history information.- 
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.DenseInfo.Builder>
 
 - 
clearpublic Osmformat.DenseInfo.Builder clear() - Specified by:
- clearin interface- proto4.Message.Builder
- Specified by:
- clearin interface- proto4.MessageLite.Builder
- Overrides:
- clearin class- proto4.GeneratedMessage.Builder<Osmformat.DenseInfo.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.DenseInfo.Builder>
 
 - 
getDefaultInstanceForTypepublic Osmformat.DenseInfo getDefaultInstanceForType() - Specified by:
- getDefaultInstanceForTypein interface- proto4.MessageLiteOrBuilder
- Specified by:
- getDefaultInstanceForTypein interface- proto4.MessageOrBuilder
 
 - 
buildpublic Osmformat.DenseInfo build() - Specified by:
- buildin interface- proto4.Message.Builder
- Specified by:
- buildin interface- proto4.MessageLite.Builder
 
 - 
buildPartialpublic Osmformat.DenseInfo buildPartial() - Specified by:
- buildPartialin interface- proto4.Message.Builder
- Specified by:
- buildPartialin interface- proto4.MessageLite.Builder
 
 - 
mergeFrompublic Osmformat.DenseInfo.Builder mergeFrom(proto4.Message other) - Specified by:
- mergeFromin interface- proto4.Message.Builder
- Overrides:
- mergeFromin class- proto4.AbstractMessage.Builder<Osmformat.DenseInfo.Builder>
 
 - 
mergeFrompublic Osmformat.DenseInfo.Builder mergeFrom(Osmformat.DenseInfo other) 
 - 
isInitializedpublic final boolean isInitialized() - Specified by:
- isInitializedin interface- proto4.MessageLiteOrBuilder
- Overrides:
- isInitializedin class- proto4.GeneratedMessage.Builder<Osmformat.DenseInfo.Builder>
 
 - 
mergeFrompublic Osmformat.DenseInfo.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.DenseInfo.Builder>
- Throws:
- IOException
 
 - 
getVersionListpublic List<Integer> getVersionList() repeated int32 version = 1 [packed = true];- Specified by:
- getVersionListin interface- Osmformat.DenseInfoOrBuilder
- Returns:
- A list containing the version.
 
 - 
getVersionCountpublic int getVersionCount() repeated int32 version = 1 [packed = true];- Specified by:
- getVersionCountin interface- Osmformat.DenseInfoOrBuilder
- Returns:
- The count of version.
 
 - 
getVersionpublic int getVersion(int index) repeated int32 version = 1 [packed = true];- Specified by:
- getVersionin interface- Osmformat.DenseInfoOrBuilder
- Parameters:
- index- The index of the element to return.
- Returns:
- The version at the given index.
 
 - 
setVersionpublic Osmformat.DenseInfo.Builder setVersion(int index, int value) repeated int32 version = 1 [packed = true];- Parameters:
- index- The index to set the value at.
- value- The version to set.
- Returns:
- This builder for chaining.
 
 - 
addVersionpublic Osmformat.DenseInfo.Builder addVersion(int value) repeated int32 version = 1 [packed = true];- Parameters:
- value- The version to add.
- Returns:
- This builder for chaining.
 
 - 
addAllVersionpublic Osmformat.DenseInfo.Builder addAllVersion(Iterable<? extends Integer> values) repeated int32 version = 1 [packed = true];- Parameters:
- values- The version to add.
- Returns:
- This builder for chaining.
 
 - 
clearVersionpublic Osmformat.DenseInfo.Builder clearVersion() repeated int32 version = 1 [packed = true];- Returns:
- This builder for chaining.
 
 - 
getTimestampListpublic List<Long> getTimestampList() DELTA coded repeated sint64 timestamp = 2 [packed = true];- Specified by:
- getTimestampListin interface- Osmformat.DenseInfoOrBuilder
- Returns:
- A list containing the timestamp.
 
 - 
getTimestampCountpublic int getTimestampCount() DELTA coded repeated sint64 timestamp = 2 [packed = true];- Specified by:
- getTimestampCountin interface- Osmformat.DenseInfoOrBuilder
- Returns:
- The count of timestamp.
 
 - 
getTimestamppublic long getTimestamp(int index) DELTA coded repeated sint64 timestamp = 2 [packed = true];- Specified by:
- getTimestampin interface- Osmformat.DenseInfoOrBuilder
- Parameters:
- index- The index of the element to return.
- Returns:
- The timestamp at the given index.
 
 - 
setTimestamppublic Osmformat.DenseInfo.Builder setTimestamp(int index, long value) DELTA coded repeated sint64 timestamp = 2 [packed = true];- Parameters:
- index- The index to set the value at.
- value- The timestamp to set.
- Returns:
- This builder for chaining.
 
 - 
addTimestamppublic Osmformat.DenseInfo.Builder addTimestamp(long value) DELTA coded repeated sint64 timestamp = 2 [packed = true];- Parameters:
- value- The timestamp to add.
- Returns:
- This builder for chaining.
 
 - 
addAllTimestamppublic Osmformat.DenseInfo.Builder addAllTimestamp(Iterable<? extends Long> values) DELTA coded repeated sint64 timestamp = 2 [packed = true];- Parameters:
- values- The timestamp to add.
- Returns:
- This builder for chaining.
 
 - 
clearTimestamppublic Osmformat.DenseInfo.Builder clearTimestamp() DELTA coded repeated sint64 timestamp = 2 [packed = true];- Returns:
- This builder for chaining.
 
 - 
getChangesetListpublic List<Long> getChangesetList() DELTA coded repeated sint64 changeset = 3 [packed = true];- Specified by:
- getChangesetListin interface- Osmformat.DenseInfoOrBuilder
- Returns:
- A list containing the changeset.
 
 - 
getChangesetCountpublic int getChangesetCount() DELTA coded repeated sint64 changeset = 3 [packed = true];- Specified by:
- getChangesetCountin interface- Osmformat.DenseInfoOrBuilder
- Returns:
- The count of changeset.
 
 - 
getChangesetpublic long getChangeset(int index) DELTA coded repeated sint64 changeset = 3 [packed = true];- Specified by:
- getChangesetin interface- Osmformat.DenseInfoOrBuilder
- Parameters:
- index- The index of the element to return.
- Returns:
- The changeset at the given index.
 
 - 
setChangesetpublic Osmformat.DenseInfo.Builder setChangeset(int index, long value) DELTA coded repeated sint64 changeset = 3 [packed = true];- Parameters:
- index- The index to set the value at.
- value- The changeset to set.
- Returns:
- This builder for chaining.
 
 - 
addChangesetpublic Osmformat.DenseInfo.Builder addChangeset(long value) DELTA coded repeated sint64 changeset = 3 [packed = true];- Parameters:
- value- The changeset to add.
- Returns:
- This builder for chaining.
 
 - 
addAllChangesetpublic Osmformat.DenseInfo.Builder addAllChangeset(Iterable<? extends Long> values) DELTA coded repeated sint64 changeset = 3 [packed = true];- Parameters:
- values- The changeset to add.
- Returns:
- This builder for chaining.
 
 - 
clearChangesetpublic Osmformat.DenseInfo.Builder clearChangeset() DELTA coded repeated sint64 changeset = 3 [packed = true];- Returns:
- This builder for chaining.
 
 - 
getUidListpublic List<Integer> getUidList() DELTA coded repeated sint32 uid = 4 [packed = true];- Specified by:
- getUidListin interface- Osmformat.DenseInfoOrBuilder
- Returns:
- A list containing the uid.
 
 - 
getUidCountpublic int getUidCount() DELTA coded repeated sint32 uid = 4 [packed = true];- Specified by:
- getUidCountin interface- Osmformat.DenseInfoOrBuilder
- Returns:
- The count of uid.
 
 - 
getUidpublic int getUid(int index) DELTA coded repeated sint32 uid = 4 [packed = true];- Specified by:
- getUidin interface- Osmformat.DenseInfoOrBuilder
- Parameters:
- index- The index of the element to return.
- Returns:
- The uid at the given index.
 
 - 
setUidpublic Osmformat.DenseInfo.Builder setUid(int index, int value) DELTA coded repeated sint32 uid = 4 [packed = true];- Parameters:
- index- The index to set the value at.
- value- The uid to set.
- Returns:
- This builder for chaining.
 
 - 
addUidpublic Osmformat.DenseInfo.Builder addUid(int value) DELTA coded repeated sint32 uid = 4 [packed = true];- Parameters:
- value- The uid to add.
- Returns:
- This builder for chaining.
 
 - 
addAllUidpublic Osmformat.DenseInfo.Builder addAllUid(Iterable<? extends Integer> values) DELTA coded repeated sint32 uid = 4 [packed = true];- Parameters:
- values- The uid to add.
- Returns:
- This builder for chaining.
 
 - 
clearUidpublic Osmformat.DenseInfo.Builder clearUid() DELTA coded repeated sint32 uid = 4 [packed = true];- Returns:
- This builder for chaining.
 
 - 
getUserSidListpublic List<Integer> getUserSidList() String IDs for usernames. DELTA coded repeated sint32 user_sid = 5 [packed = true];- Specified by:
- getUserSidListin interface- Osmformat.DenseInfoOrBuilder
- Returns:
- A list containing the userSid.
 
 - 
getUserSidCountpublic int getUserSidCount() String IDs for usernames. DELTA coded repeated sint32 user_sid = 5 [packed = true];- Specified by:
- getUserSidCountin interface- Osmformat.DenseInfoOrBuilder
- Returns:
- The count of userSid.
 
 - 
getUserSidpublic int getUserSid(int index) String IDs for usernames. DELTA coded repeated sint32 user_sid = 5 [packed = true];- Specified by:
- getUserSidin interface- Osmformat.DenseInfoOrBuilder
- Parameters:
- index- The index of the element to return.
- Returns:
- The userSid at the given index.
 
 - 
setUserSidpublic Osmformat.DenseInfo.Builder setUserSid(int index, int value) String IDs for usernames. DELTA coded repeated sint32 user_sid = 5 [packed = true];- Parameters:
- index- The index to set the value at.
- value- The userSid to set.
- Returns:
- This builder for chaining.
 
 - 
addUserSidpublic Osmformat.DenseInfo.Builder addUserSid(int value) String IDs for usernames. DELTA coded repeated sint32 user_sid = 5 [packed = true];- Parameters:
- value- The userSid to add.
- Returns:
- This builder for chaining.
 
 - 
addAllUserSidpublic Osmformat.DenseInfo.Builder addAllUserSid(Iterable<? extends Integer> values) String IDs for usernames. DELTA coded repeated sint32 user_sid = 5 [packed = true];- Parameters:
- values- The userSid to add.
- Returns:
- This builder for chaining.
 
 - 
clearUserSidpublic Osmformat.DenseInfo.Builder clearUserSid() String IDs for usernames. DELTA coded repeated sint32 user_sid = 5 [packed = true];- Returns:
- This builder for chaining.
 
 - 
getVisibleListpublic List<Boolean> getVisibleList() The visible flag is used to store history information. It indicates that the current object version has been created by a delete operation on the OSM API. When a writer sets this flag, it MUST add a required_features tag with value "HistoricalInformation" to the HeaderBlock. If this flag is not available for some object it MUST be assumed to be true if the file has the required_features tag "HistoricalInformation" set. repeated bool visible = 6 [packed = true];- Specified by:
- getVisibleListin interface- Osmformat.DenseInfoOrBuilder
- Returns:
- A list containing the visible.
 
 - 
getVisibleCountpublic int getVisibleCount() The visible flag is used to store history information. It indicates that the current object version has been created by a delete operation on the OSM API. When a writer sets this flag, it MUST add a required_features tag with value "HistoricalInformation" to the HeaderBlock. If this flag is not available for some object it MUST be assumed to be true if the file has the required_features tag "HistoricalInformation" set. repeated bool visible = 6 [packed = true];- Specified by:
- getVisibleCountin interface- Osmformat.DenseInfoOrBuilder
- Returns:
- The count of visible.
 
 - 
getVisiblepublic boolean getVisible(int index) The visible flag is used to store history information. It indicates that the current object version has been created by a delete operation on the OSM API. When a writer sets this flag, it MUST add a required_features tag with value "HistoricalInformation" to the HeaderBlock. If this flag is not available for some object it MUST be assumed to be true if the file has the required_features tag "HistoricalInformation" set. repeated bool visible = 6 [packed = true];- Specified by:
- getVisiblein interface- Osmformat.DenseInfoOrBuilder
- Parameters:
- index- The index of the element to return.
- Returns:
- The visible at the given index.
 
 - 
setVisiblepublic Osmformat.DenseInfo.Builder setVisible(int index, boolean value) The visible flag is used to store history information. It indicates that the current object version has been created by a delete operation on the OSM API. When a writer sets this flag, it MUST add a required_features tag with value "HistoricalInformation" to the HeaderBlock. If this flag is not available for some object it MUST be assumed to be true if the file has the required_features tag "HistoricalInformation" set. repeated bool visible = 6 [packed = true];- Parameters:
- index- The index to set the value at.
- value- The visible to set.
- Returns:
- This builder for chaining.
 
 - 
addVisiblepublic Osmformat.DenseInfo.Builder addVisible(boolean value) The visible flag is used to store history information. It indicates that the current object version has been created by a delete operation on the OSM API. When a writer sets this flag, it MUST add a required_features tag with value "HistoricalInformation" to the HeaderBlock. If this flag is not available for some object it MUST be assumed to be true if the file has the required_features tag "HistoricalInformation" set. repeated bool visible = 6 [packed = true];- Parameters:
- value- The visible to add.
- Returns:
- This builder for chaining.
 
 - 
addAllVisiblepublic Osmformat.DenseInfo.Builder addAllVisible(Iterable<? extends Boolean> values) The visible flag is used to store history information. It indicates that the current object version has been created by a delete operation on the OSM API. When a writer sets this flag, it MUST add a required_features tag with value "HistoricalInformation" to the HeaderBlock. If this flag is not available for some object it MUST be assumed to be true if the file has the required_features tag "HistoricalInformation" set. repeated bool visible = 6 [packed = true];- Parameters:
- values- The visible to add.
- Returns:
- This builder for chaining.
 
 - 
clearVisiblepublic Osmformat.DenseInfo.Builder clearVisible() The visible flag is used to store history information. It indicates that the current object version has been created by a delete operation on the OSM API. When a writer sets this flag, it MUST add a required_features tag with value "HistoricalInformation" to the HeaderBlock. If this flag is not available for some object it MUST be assumed to be true if the file has the required_features tag "HistoricalInformation" set. repeated bool visible = 6 [packed = true];- Returns:
- This builder for chaining.
 
 
- 
 
-