public static final class Osmformat.DenseInfo extends proto4.GeneratedMessage implements Osmformat.DenseInfoOrBuilder
* Optional metadata that may be included into each primitive. Special dense format used in DenseNodes.
Protobuf type DenseInfo
Modifier and Type | Class and Description |
---|---|
static class |
Osmformat.DenseInfo.Builder
* Optional metadata that may be included into each primitive.
|
proto4.GeneratedMessage.ExtendableBuilder<MessageT extends proto4.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends proto4.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, proto4.GeneratedMessage.ExtendableMessage<MessageT extends proto4.GeneratedMessage.ExtendableMessage<MessageT>>, proto4.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends proto4.GeneratedMessage.ExtendableMessage<MessageT>>, proto4.GeneratedMessage.FieldAccessorTable, proto4.GeneratedMessage.GeneratedExtension<ContainingT extends proto4.Message,T>, proto4.GeneratedMessage.UnusedPrivateParameter
Modifier and Type | Field and Description |
---|---|
static int |
CHANGESET_FIELD_NUMBER |
static int |
TIMESTAMP_FIELD_NUMBER |
static int |
UID_FIELD_NUMBER |
static int |
USER_SID_FIELD_NUMBER |
static int |
VERSION_FIELD_NUMBER |
static int |
VISIBLE_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
long |
getChangeset(int index)
DELTA coded
|
int |
getChangesetCount()
DELTA coded
|
List<Long> |
getChangesetList()
DELTA coded
|
static Osmformat.DenseInfo |
getDefaultInstance() |
Osmformat.DenseInfo |
getDefaultInstanceForType() |
static proto4.Descriptors.Descriptor |
getDescriptor() |
proto4.Parser<Osmformat.DenseInfo> |
getParserForType() |
int |
getSerializedSize() |
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.
|
int |
hashCode() |
protected proto4.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Osmformat.DenseInfo.Builder |
newBuilder() |
static Osmformat.DenseInfo.Builder |
newBuilder(Osmformat.DenseInfo prototype) |
Osmformat.DenseInfo.Builder |
newBuilderForType() |
protected Osmformat.DenseInfo.Builder |
newBuilderForType(proto4.AbstractMessage.BuilderParent parent) |
static Osmformat.DenseInfo |
parseDelimitedFrom(InputStream input) |
static Osmformat.DenseInfo |
parseDelimitedFrom(InputStream input,
proto4.ExtensionRegistryLite extensionRegistry) |
static Osmformat.DenseInfo |
parseFrom(byte[] data) |
static Osmformat.DenseInfo |
parseFrom(byte[] data,
proto4.ExtensionRegistryLite extensionRegistry) |
static Osmformat.DenseInfo |
parseFrom(ByteBuffer data) |
static Osmformat.DenseInfo |
parseFrom(ByteBuffer data,
proto4.ExtensionRegistryLite extensionRegistry) |
static Osmformat.DenseInfo |
parseFrom(proto4.ByteString data) |
static Osmformat.DenseInfo |
parseFrom(proto4.ByteString data,
proto4.ExtensionRegistryLite extensionRegistry) |
static Osmformat.DenseInfo |
parseFrom(proto4.CodedInputStream input) |
static Osmformat.DenseInfo |
parseFrom(proto4.CodedInputStream input,
proto4.ExtensionRegistryLite extensionRegistry) |
static Osmformat.DenseInfo |
parseFrom(InputStream input) |
static Osmformat.DenseInfo |
parseFrom(InputStream input,
proto4.ExtensionRegistryLite extensionRegistry) |
static proto4.Parser<Osmformat.DenseInfo> |
parser() |
Osmformat.DenseInfo.Builder |
toBuilder() |
void |
writeTo(proto4.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashFields, toString
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static final int VERSION_FIELD_NUMBER
public static final int TIMESTAMP_FIELD_NUMBER
public static final int CHANGESET_FIELD_NUMBER
public static final int UID_FIELD_NUMBER
public static final int USER_SID_FIELD_NUMBER
public static final int VISIBLE_FIELD_NUMBER
public static final proto4.Descriptors.Descriptor getDescriptor()
protected proto4.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class proto4.GeneratedMessage
public List<Integer> getVersionList()
repeated int32 version = 1 [packed = true];
getVersionList
in interface Osmformat.DenseInfoOrBuilder
public int getVersionCount()
repeated int32 version = 1 [packed = true];
getVersionCount
in interface Osmformat.DenseInfoOrBuilder
public int getVersion(int index)
repeated int32 version = 1 [packed = true];
getVersion
in interface Osmformat.DenseInfoOrBuilder
index
- The index of the element to return.public List<Long> getTimestampList()
DELTA coded
repeated sint64 timestamp = 2 [packed = true];
getTimestampList
in interface Osmformat.DenseInfoOrBuilder
public int getTimestampCount()
DELTA coded
repeated sint64 timestamp = 2 [packed = true];
getTimestampCount
in interface Osmformat.DenseInfoOrBuilder
public long getTimestamp(int index)
DELTA coded
repeated sint64 timestamp = 2 [packed = true];
getTimestamp
in interface Osmformat.DenseInfoOrBuilder
index
- The index of the element to return.public List<Long> getChangesetList()
DELTA coded
repeated sint64 changeset = 3 [packed = true];
getChangesetList
in interface Osmformat.DenseInfoOrBuilder
public int getChangesetCount()
DELTA coded
repeated sint64 changeset = 3 [packed = true];
getChangesetCount
in interface Osmformat.DenseInfoOrBuilder
public long getChangeset(int index)
DELTA coded
repeated sint64 changeset = 3 [packed = true];
getChangeset
in interface Osmformat.DenseInfoOrBuilder
index
- The index of the element to return.public List<Integer> getUidList()
DELTA coded
repeated sint32 uid = 4 [packed = true];
getUidList
in interface Osmformat.DenseInfoOrBuilder
public int getUidCount()
DELTA coded
repeated sint32 uid = 4 [packed = true];
getUidCount
in interface Osmformat.DenseInfoOrBuilder
public int getUid(int index)
DELTA coded
repeated sint32 uid = 4 [packed = true];
getUid
in interface Osmformat.DenseInfoOrBuilder
index
- The index of the element to return.public List<Integer> getUserSidList()
String IDs for usernames. DELTA coded
repeated sint32 user_sid = 5 [packed = true];
getUserSidList
in interface Osmformat.DenseInfoOrBuilder
public int getUserSidCount()
String IDs for usernames. DELTA coded
repeated sint32 user_sid = 5 [packed = true];
getUserSidCount
in interface Osmformat.DenseInfoOrBuilder
public int getUserSid(int index)
String IDs for usernames. DELTA coded
repeated sint32 user_sid = 5 [packed = true];
getUserSid
in interface Osmformat.DenseInfoOrBuilder
index
- The index of the element to return.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.DenseInfoOrBuilder
public 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.DenseInfoOrBuilder
public 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.DenseInfoOrBuilder
index
- The index of the element to return.public final boolean isInitialized()
isInitialized
in interface proto4.MessageLiteOrBuilder
isInitialized
in class proto4.GeneratedMessage
public void writeTo(proto4.CodedOutputStream output) throws IOException
writeTo
in interface proto4.MessageLite
writeTo
in class proto4.GeneratedMessage
IOException
public int getSerializedSize()
getSerializedSize
in interface proto4.MessageLite
getSerializedSize
in class proto4.GeneratedMessage
public boolean equals(Object obj)
equals
in interface proto4.Message
equals
in class proto4.AbstractMessage
public int hashCode()
hashCode
in interface proto4.Message
hashCode
in class proto4.AbstractMessage
public static Osmformat.DenseInfo parseFrom(ByteBuffer data) throws proto4.InvalidProtocolBufferException
proto4.InvalidProtocolBufferException
public static Osmformat.DenseInfo parseFrom(ByteBuffer data, proto4.ExtensionRegistryLite extensionRegistry) throws proto4.InvalidProtocolBufferException
proto4.InvalidProtocolBufferException
public static Osmformat.DenseInfo parseFrom(proto4.ByteString data) throws proto4.InvalidProtocolBufferException
proto4.InvalidProtocolBufferException
public static Osmformat.DenseInfo parseFrom(proto4.ByteString data, proto4.ExtensionRegistryLite extensionRegistry) throws proto4.InvalidProtocolBufferException
proto4.InvalidProtocolBufferException
public static Osmformat.DenseInfo parseFrom(byte[] data) throws proto4.InvalidProtocolBufferException
proto4.InvalidProtocolBufferException
public static Osmformat.DenseInfo parseFrom(byte[] data, proto4.ExtensionRegistryLite extensionRegistry) throws proto4.InvalidProtocolBufferException
proto4.InvalidProtocolBufferException
public static Osmformat.DenseInfo parseFrom(InputStream input) throws IOException
IOException
public static Osmformat.DenseInfo parseFrom(InputStream input, proto4.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Osmformat.DenseInfo parseDelimitedFrom(InputStream input) throws IOException
IOException
public static Osmformat.DenseInfo parseDelimitedFrom(InputStream input, proto4.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Osmformat.DenseInfo parseFrom(proto4.CodedInputStream input) throws IOException
IOException
public static Osmformat.DenseInfo parseFrom(proto4.CodedInputStream input, proto4.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public Osmformat.DenseInfo.Builder newBuilderForType()
newBuilderForType
in interface proto4.Message
newBuilderForType
in interface proto4.MessageLite
public static Osmformat.DenseInfo.Builder newBuilder()
public static Osmformat.DenseInfo.Builder newBuilder(Osmformat.DenseInfo prototype)
public Osmformat.DenseInfo.Builder toBuilder()
toBuilder
in interface proto4.Message
toBuilder
in interface proto4.MessageLite
protected Osmformat.DenseInfo.Builder newBuilderForType(proto4.AbstractMessage.BuilderParent parent)
newBuilderForType
in class proto4.AbstractMessage
public static Osmformat.DenseInfo getDefaultInstance()
public static proto4.Parser<Osmformat.DenseInfo> parser()
public proto4.Parser<Osmformat.DenseInfo> getParserForType()
getParserForType
in interface proto4.Message
getParserForType
in interface proto4.MessageLite
getParserForType
in class proto4.GeneratedMessage
public Osmformat.DenseInfo getDefaultInstanceForType()
getDefaultInstanceForType
in interface proto4.MessageLiteOrBuilder
getDefaultInstanceForType
in interface proto4.MessageOrBuilder
Copyright © 2025 The Apache Software Foundation. All rights reserved.