public static final class Osmformat.DenseInfo extends GeneratedMessageLite implements Osmformat.DenseInfoOrBuilder
OSMPBF.DenseInfo
Optional metadata that may be included into each primitive. Special dense format used in DenseNodes.
Modifier and Type | Class and Description |
---|---|
static class |
Osmformat.DenseInfo.Builder
Protobuf type
OSMPBF.DenseInfo |
GeneratedMessageLite.ExtendableBuilder<MessageType extends GeneratedMessageLite.ExtendableMessage<MessageType>,BuilderType extends GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageLite.ExtendableMessage<MessageType extends GeneratedMessageLite.ExtendableMessage<MessageType>>, GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageLite.ExtendableMessage>, GeneratedMessageLite.GeneratedExtension<ContainingType extends MessageLite,Type>
Modifier and Type | Field and Description |
---|---|
static int |
CHANGESET_FIELD_NUMBER |
static Parser<Osmformat.DenseInfo> |
PARSER |
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 |
memoizedHashCode
Modifier and Type | Method and Description |
---|---|
long |
getChangeset(int index)
repeated sint64 changeset = 3 [packed = true]; |
int |
getChangesetCount()
repeated sint64 changeset = 3 [packed = true]; |
List<Long> |
getChangesetList()
repeated sint64 changeset = 3 [packed = true]; |
static Osmformat.DenseInfo |
getDefaultInstance() |
Osmformat.DenseInfo |
getDefaultInstanceForType() |
Parser<Osmformat.DenseInfo> |
getParserForType() |
int |
getSerializedSize() |
long |
getTimestamp(int index)
repeated sint64 timestamp = 2 [packed = true]; |
int |
getTimestampCount()
repeated sint64 timestamp = 2 [packed = true]; |
List<Long> |
getTimestampList()
repeated sint64 timestamp = 2 [packed = true]; |
int |
getUid(int index)
repeated sint32 uid = 4 [packed = true]; |
int |
getUidCount()
repeated sint32 uid = 4 [packed = true]; |
List<Integer> |
getUidList()
repeated sint32 uid = 4 [packed = true]; |
int |
getUserSid(int index)
repeated sint32 user_sid = 5 [packed = true]; |
int |
getUserSidCount()
repeated sint32 user_sid = 5 [packed = true]; |
List<Integer> |
getUserSidList()
repeated sint32 user_sid = 5 [packed = true]; |
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)
repeated bool visible = 6 [packed = true]; |
int |
getVisibleCount()
repeated bool visible = 6 [packed = true]; |
List<Boolean> |
getVisibleList()
repeated bool visible = 6 [packed = true]; |
boolean |
isInitialized() |
static Osmformat.DenseInfo.Builder |
newBuilder() |
static Osmformat.DenseInfo.Builder |
newBuilder(Osmformat.DenseInfo prototype) |
Osmformat.DenseInfo.Builder |
newBuilderForType() |
static Osmformat.DenseInfo |
parseDelimitedFrom(InputStream input) |
static Osmformat.DenseInfo |
parseDelimitedFrom(InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Osmformat.DenseInfo |
parseFrom(byte[] data) |
static Osmformat.DenseInfo |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static Osmformat.DenseInfo |
parseFrom(ByteString data) |
static Osmformat.DenseInfo |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static Osmformat.DenseInfo |
parseFrom(CodedInputStream input) |
static Osmformat.DenseInfo |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static Osmformat.DenseInfo |
parseFrom(InputStream input) |
static Osmformat.DenseInfo |
parseFrom(InputStream input,
ExtensionRegistryLite extensionRegistry) |
Osmformat.DenseInfo.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(CodedOutputStream output) |
makeExtensionsImmutable, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseUnknownField
checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
public static Parser<Osmformat.DenseInfo> PARSER
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 Osmformat.DenseInfo getDefaultInstance()
public Osmformat.DenseInfo getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
public Parser<Osmformat.DenseInfo> getParserForType()
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageLite
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
public List<Long> getTimestampList()
repeated sint64 timestamp = 2 [packed = true];
DELTA coded
getTimestampList
in interface Osmformat.DenseInfoOrBuilder
public int getTimestampCount()
repeated sint64 timestamp = 2 [packed = true];
DELTA coded
getTimestampCount
in interface Osmformat.DenseInfoOrBuilder
public long getTimestamp(int index)
repeated sint64 timestamp = 2 [packed = true];
DELTA coded
getTimestamp
in interface Osmformat.DenseInfoOrBuilder
public List<Long> getChangesetList()
repeated sint64 changeset = 3 [packed = true];
DELTA coded
getChangesetList
in interface Osmformat.DenseInfoOrBuilder
public int getChangesetCount()
repeated sint64 changeset = 3 [packed = true];
DELTA coded
getChangesetCount
in interface Osmformat.DenseInfoOrBuilder
public long getChangeset(int index)
repeated sint64 changeset = 3 [packed = true];
DELTA coded
getChangeset
in interface Osmformat.DenseInfoOrBuilder
public List<Integer> getUidList()
repeated sint32 uid = 4 [packed = true];
DELTA coded
getUidList
in interface Osmformat.DenseInfoOrBuilder
public int getUidCount()
repeated sint32 uid = 4 [packed = true];
DELTA coded
getUidCount
in interface Osmformat.DenseInfoOrBuilder
public int getUid(int index)
repeated sint32 uid = 4 [packed = true];
DELTA coded
getUid
in interface Osmformat.DenseInfoOrBuilder
public List<Integer> getUserSidList()
repeated sint32 user_sid = 5 [packed = true];
String IDs for usernames. DELTA coded
getUserSidList
in interface Osmformat.DenseInfoOrBuilder
public int getUserSidCount()
repeated sint32 user_sid = 5 [packed = true];
String IDs for usernames. DELTA coded
getUserSidCount
in interface Osmformat.DenseInfoOrBuilder
public int getUserSid(int index)
repeated sint32 user_sid = 5 [packed = true];
String IDs for usernames. DELTA coded
getUserSid
in interface Osmformat.DenseInfoOrBuilder
public List<Boolean> getVisibleList()
repeated bool visible = 6 [packed = true];
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.
getVisibleList
in interface Osmformat.DenseInfoOrBuilder
public int getVisibleCount()
repeated bool visible = 6 [packed = true];
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.
getVisibleCount
in interface Osmformat.DenseInfoOrBuilder
public boolean getVisible(int index)
repeated bool visible = 6 [packed = true];
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.
getVisible
in interface Osmformat.DenseInfoOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
public void writeTo(CodedOutputStream output) throws IOException
writeTo
in interface MessageLite
IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
protected Object writeReplace() throws ObjectStreamException
writeReplace
in class GeneratedMessageLite
ObjectStreamException
public static Osmformat.DenseInfo parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Osmformat.DenseInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Osmformat.DenseInfo parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Osmformat.DenseInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Osmformat.DenseInfo parseFrom(InputStream input) throws IOException
IOException
public static Osmformat.DenseInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Osmformat.DenseInfo parseDelimitedFrom(InputStream input) throws IOException
IOException
public static Osmformat.DenseInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Osmformat.DenseInfo parseFrom(CodedInputStream input) throws IOException
IOException
public static Osmformat.DenseInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Osmformat.DenseInfo.Builder newBuilder()
public Osmformat.DenseInfo.Builder newBuilderForType()
newBuilderForType
in interface MessageLite
public static Osmformat.DenseInfo.Builder newBuilder(Osmformat.DenseInfo prototype)
public Osmformat.DenseInfo.Builder toBuilder()
toBuilder
in interface MessageLite