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
| Modifier and Type | Method and Description |
|---|---|
Osmformat.DenseInfo.Builder |
addAllChangeset(Iterable<? extends Long> values)
DELTA coded
|
Osmformat.DenseInfo.Builder |
addAllTimestamp(Iterable<? extends Long> values)
DELTA coded
|
Osmformat.DenseInfo.Builder |
addAllUid(Iterable<? extends Integer> values)
DELTA coded
|
Osmformat.DenseInfo.Builder |
addAllUserSid(Iterable<? extends Integer> values)
String IDs for usernames.
|
Osmformat.DenseInfo.Builder |
addAllVersion(Iterable<? extends Integer> values)
repeated int32 version = 1 [packed = true]; |
Osmformat.DenseInfo.Builder |
addAllVisible(Iterable<? extends Boolean> values)
The visible flag is used to store history information.
|
Osmformat.DenseInfo.Builder |
addChangeset(long value)
DELTA coded
|
Osmformat.DenseInfo.Builder |
addTimestamp(long value)
DELTA coded
|
Osmformat.DenseInfo.Builder |
addUid(int value)
DELTA coded
|
Osmformat.DenseInfo.Builder |
addUserSid(int value)
String IDs for usernames.
|
Osmformat.DenseInfo.Builder |
addVersion(int value)
repeated int32 version = 1 [packed = true]; |
Osmformat.DenseInfo.Builder |
addVisible(boolean value)
The visible flag is used to store history information.
|
Osmformat.DenseInfo |
build() |
Osmformat.DenseInfo |
buildPartial() |
Osmformat.DenseInfo.Builder |
clear() |
Osmformat.DenseInfo.Builder |
clearChangeset()
DELTA coded
|
Osmformat.DenseInfo.Builder |
clearTimestamp()
DELTA coded
|
Osmformat.DenseInfo.Builder |
clearUid()
DELTA coded
|
Osmformat.DenseInfo.Builder |
clearUserSid()
String IDs for usernames.
|
Osmformat.DenseInfo.Builder |
clearVersion()
repeated int32 version = 1 [packed = true]; |
Osmformat.DenseInfo.Builder |
clearVisible()
The visible flag is used to store history information.
|
long |
getChangeset(int index)
DELTA coded
|
int |
getChangesetCount()
DELTA coded
|
List<Long> |
getChangesetList()
DELTA coded
|
Osmformat.DenseInfo |
getDefaultInstanceForType() |
static proto4.Descriptors.Descriptor |
getDescriptor() |
proto4.Descriptors.Descriptor |
getDescriptorForType() |
long |
getTimestamp(int index)
DELTA coded
|
int |
getTimestampCount()
DELTA coded
|
List<Long> |
getTimestampList()
DELTA coded
|
int |
getUid(int index)
DELTA coded
|
int |
getUidCount()
DELTA coded
|
List<Integer> |
getUidList()
DELTA coded
|
int |
getUserSid(int index)
String IDs for usernames.
|
int |
getUserSidCount()
String IDs for usernames.
|
List<Integer> |
getUserSidList()
String IDs for usernames.
|
int |
getVersion(int index)
repeated int32 version = 1 [packed = true]; |
int |
getVersionCount()
repeated int32 version = 1 [packed = true]; |
List<Integer> |
getVersionList()
repeated int32 version = 1 [packed = true]; |
boolean |
getVisible(int index)
The visible flag is used to store history information.
|
int |
getVisibleCount()
The visible flag is used to store history information.
|
List<Boolean> |
getVisibleList()
The visible flag is used to store history information.
|
protected proto4.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Osmformat.DenseInfo.Builder |
mergeFrom(proto4.CodedInputStream input,
proto4.ExtensionRegistryLite extensionRegistry) |
Osmformat.DenseInfo.Builder |
mergeFrom(proto4.Message other) |
Osmformat.DenseInfo.Builder |
mergeFrom(Osmformat.DenseInfo other) |
Osmformat.DenseInfo.Builder |
setChangeset(int index,
long value)
DELTA coded
|
Osmformat.DenseInfo.Builder |
setTimestamp(int index,
long value)
DELTA coded
|
Osmformat.DenseInfo.Builder |
setUid(int index,
int value)
DELTA coded
|
Osmformat.DenseInfo.Builder |
setUserSid(int index,
int value)
String IDs for usernames.
|
Osmformat.DenseInfo.Builder |
setVersion(int index,
int value)
repeated int32 version = 1 [packed = true]; |
Osmformat.DenseInfo.Builder |
setVisible(int index,
boolean value)
The visible flag is used to store history information.
|
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, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final proto4.Descriptors.Descriptor getDescriptor()
protected proto4.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class proto4.GeneratedMessage.Builder<Osmformat.DenseInfo.Builder>public Osmformat.DenseInfo.Builder clear()
clear in interface proto4.Message.Builderclear in interface proto4.MessageLite.Builderclear in class proto4.GeneratedMessage.Builder<Osmformat.DenseInfo.Builder>public proto4.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface proto4.Message.BuildergetDescriptorForType in interface proto4.MessageOrBuildergetDescriptorForType in class proto4.GeneratedMessage.Builder<Osmformat.DenseInfo.Builder>public Osmformat.DenseInfo getDefaultInstanceForType()
getDefaultInstanceForType in interface proto4.MessageLiteOrBuildergetDefaultInstanceForType in interface proto4.MessageOrBuilderpublic Osmformat.DenseInfo build()
build in interface proto4.Message.Builderbuild in interface proto4.MessageLite.Builderpublic Osmformat.DenseInfo buildPartial()
buildPartial in interface proto4.Message.BuilderbuildPartial in interface proto4.MessageLite.Builderpublic Osmformat.DenseInfo.Builder mergeFrom(proto4.Message other)
mergeFrom in interface proto4.Message.BuildermergeFrom in class proto4.AbstractMessage.Builder<Osmformat.DenseInfo.Builder>public Osmformat.DenseInfo.Builder mergeFrom(Osmformat.DenseInfo other)
public final boolean isInitialized()
isInitialized in interface proto4.MessageLiteOrBuilderisInitialized in class proto4.GeneratedMessage.Builder<Osmformat.DenseInfo.Builder>public Osmformat.DenseInfo.Builder mergeFrom(proto4.CodedInputStream input, proto4.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface proto4.Message.BuildermergeFrom in interface proto4.MessageLite.BuildermergeFrom in class proto4.AbstractMessage.Builder<Osmformat.DenseInfo.Builder>IOExceptionpublic List<Integer> getVersionList()
repeated int32 version = 1 [packed = true];getVersionList in interface Osmformat.DenseInfoOrBuilderpublic int getVersionCount()
repeated int32 version = 1 [packed = true];getVersionCount in interface Osmformat.DenseInfoOrBuilderpublic int getVersion(int index)
repeated int32 version = 1 [packed = true];getVersion in interface Osmformat.DenseInfoOrBuilderindex - The index of the element to return.public Osmformat.DenseInfo.Builder setVersion(int index, int value)
repeated int32 version = 1 [packed = true];index - The index to set the value at.value - The version to set.public Osmformat.DenseInfo.Builder addVersion(int value)
repeated int32 version = 1 [packed = true];value - The version to add.public Osmformat.DenseInfo.Builder addAllVersion(Iterable<? extends Integer> values)
repeated int32 version = 1 [packed = true];values - The version to add.public Osmformat.DenseInfo.Builder clearVersion()
repeated int32 version = 1 [packed = true];public List<Long> getTimestampList()
DELTA coded
repeated sint64 timestamp = 2 [packed = true];getTimestampList in interface Osmformat.DenseInfoOrBuilderpublic int getTimestampCount()
DELTA coded
repeated sint64 timestamp = 2 [packed = true];getTimestampCount in interface Osmformat.DenseInfoOrBuilderpublic long getTimestamp(int index)
DELTA coded
repeated sint64 timestamp = 2 [packed = true];getTimestamp in interface Osmformat.DenseInfoOrBuilderindex - The index of the element to return.public Osmformat.DenseInfo.Builder setTimestamp(int index, long value)
DELTA coded
repeated sint64 timestamp = 2 [packed = true];index - The index to set the value at.value - The timestamp to set.public Osmformat.DenseInfo.Builder addTimestamp(long value)
DELTA coded
repeated sint64 timestamp = 2 [packed = true];value - The timestamp to add.public Osmformat.DenseInfo.Builder addAllTimestamp(Iterable<? extends Long> values)
DELTA coded
repeated sint64 timestamp = 2 [packed = true];values - The timestamp to add.public Osmformat.DenseInfo.Builder clearTimestamp()
DELTA coded
repeated sint64 timestamp = 2 [packed = true];public List<Long> getChangesetList()
DELTA coded
repeated sint64 changeset = 3 [packed = true];getChangesetList in interface Osmformat.DenseInfoOrBuilderpublic int getChangesetCount()
DELTA coded
repeated sint64 changeset = 3 [packed = true];getChangesetCount in interface Osmformat.DenseInfoOrBuilderpublic long getChangeset(int index)
DELTA coded
repeated sint64 changeset = 3 [packed = true];getChangeset in interface Osmformat.DenseInfoOrBuilderindex - The index of the element to return.public Osmformat.DenseInfo.Builder setChangeset(int index, long value)
DELTA coded
repeated sint64 changeset = 3 [packed = true];index - The index to set the value at.value - The changeset to set.public Osmformat.DenseInfo.Builder addChangeset(long value)
DELTA coded
repeated sint64 changeset = 3 [packed = true];value - The changeset to add.public Osmformat.DenseInfo.Builder addAllChangeset(Iterable<? extends Long> values)
DELTA coded
repeated sint64 changeset = 3 [packed = true];values - The changeset to add.public Osmformat.DenseInfo.Builder clearChangeset()
DELTA coded
repeated sint64 changeset = 3 [packed = true];public List<Integer> getUidList()
DELTA coded
repeated sint32 uid = 4 [packed = true];getUidList in interface Osmformat.DenseInfoOrBuilderpublic int getUidCount()
DELTA coded
repeated sint32 uid = 4 [packed = true];getUidCount in interface Osmformat.DenseInfoOrBuilderpublic int getUid(int index)
DELTA coded
repeated sint32 uid = 4 [packed = true];getUid in interface Osmformat.DenseInfoOrBuilderindex - The index of the element to return.public Osmformat.DenseInfo.Builder setUid(int index, int value)
DELTA coded
repeated sint32 uid = 4 [packed = true];index - The index to set the value at.value - The uid to set.public Osmformat.DenseInfo.Builder addUid(int value)
DELTA coded
repeated sint32 uid = 4 [packed = true];value - The uid to add.public Osmformat.DenseInfo.Builder addAllUid(Iterable<? extends Integer> values)
DELTA coded
repeated sint32 uid = 4 [packed = true];values - The uid to add.public Osmformat.DenseInfo.Builder clearUid()
DELTA coded
repeated sint32 uid = 4 [packed = true];public List<Integer> getUserSidList()
String IDs for usernames. DELTA coded
repeated sint32 user_sid = 5 [packed = true];getUserSidList in interface Osmformat.DenseInfoOrBuilderpublic int getUserSidCount()
String IDs for usernames. DELTA coded
repeated sint32 user_sid = 5 [packed = true];getUserSidCount in interface Osmformat.DenseInfoOrBuilderpublic int getUserSid(int index)
String IDs for usernames. DELTA coded
repeated sint32 user_sid = 5 [packed = true];getUserSid in interface Osmformat.DenseInfoOrBuilderindex - The index of the element to return.public Osmformat.DenseInfo.Builder setUserSid(int index, int value)
String IDs for usernames. DELTA coded
repeated sint32 user_sid = 5 [packed = true];index - The index to set the value at.value - The userSid to set.public Osmformat.DenseInfo.Builder addUserSid(int value)
String IDs for usernames. DELTA coded
repeated sint32 user_sid = 5 [packed = true];value - The userSid to add.public Osmformat.DenseInfo.Builder addAllUserSid(Iterable<? extends Integer> values)
String IDs for usernames. DELTA coded
repeated sint32 user_sid = 5 [packed = true];values - The userSid to add.public Osmformat.DenseInfo.Builder clearUserSid()
String IDs for usernames. DELTA coded
repeated sint32 user_sid = 5 [packed = true];public 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];getVisibleList in interface Osmformat.DenseInfoOrBuilderpublic 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];getVisibleCount in interface Osmformat.DenseInfoOrBuilderpublic 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];getVisible in interface Osmformat.DenseInfoOrBuilderindex - The index of the element to return.public 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];index - The index to set the value at.value - The visible to set.public 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];value - The visible to add.public 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];values - The visible to add.public 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];Copyright © 2025 The Apache Software Foundation. All rights reserved.