public static final class Osmformat.DenseInfo extends com.protobuf .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
Protobuf type
OSMPBF.DenseInfo
|
com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite,Type> | Modifier and Type | Field and Description |
|---|---|
static int |
CHANGESET_FIELD_NUMBER
|
static com |
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
|
| 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 |
getChangesetList()
repeated sint64 changeset = 3 [packed = true];
|
static Osmformat |
getDefaultInstance()
|
Osmformat |
getDefaultInstanceForType()
|
com |
getParserForType()
|
int |
getSerializedSize()
|
long |
getTimestamp(int index)
repeated sint64 timestamp = 2 [packed = true];
|
int |
getTimestampCount()
repeated sint64 timestamp = 2 [packed = true];
|
List |
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 |
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 |
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 |
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 |
getVisibleList()
repeated bool visible = 6 [packed = true];
|
boolean |
isInitialized()
|
static Osmformat |
newBuilder()
|
static Osmformat |
newBuilder(Osmformat
|
Osmformat |
newBuilderForType()
|
static Osmformat |
parseDelimitedFrom(InputStream
|
static Osmformat |
parseDelimitedFrom(InputStream
|
static Osmformat |
parseFrom(byte[] data)
|
static Osmformat |
parseFrom(byte[] data, com
|
static Osmformat |
parseFrom(com
|
static Osmformat |
parseFrom(com
|
static Osmformat |
parseFrom(com
|
static Osmformat |
parseFrom(com
|
static Osmformat |
parseFrom(InputStream
|
static Osmformat |
parseFrom(InputStream
|
Osmformat |
toBuilder()
|
protected Object |
writeReplace()
|
void |
writeTo(com
|
makeExtensionsImmutable, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseUnknownFieldpublic static com.protobuf .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()
public com.protobuf .Parser <Osmformat .DenseInfo > getParserForType()
public int getVersionCount()
repeated int32 version = 1 [packed = true];
public int getVersion(int index)
repeated int32 version = 1 [packed = true];
public List<Long > getTimestampList()
repeated sint64 timestamp = 2 [packed = true];
DELTA coded
public int getTimestampCount()
repeated sint64 timestamp = 2 [packed = true];
DELTA coded
public long getTimestamp(int index)
repeated sint64 timestamp = 2 [packed = true];
DELTA coded
public List<Long > getChangesetList()
repeated sint64 changeset = 3 [packed = true];
DELTA coded
public int getChangesetCount()
repeated sint64 changeset = 3 [packed = true];
DELTA coded
public long getChangeset(int index)
repeated sint64 changeset = 3 [packed = true];
DELTA coded
public int getUidCount()
repeated sint32 uid = 4 [packed = true];
DELTA coded
public int getUid(int index)
repeated sint32 uid = 4 [packed = true];
DELTA coded
public List<Integer > getUserSidList()
repeated sint32 user_sid = 5 [packed = true];
String IDs for usernames. DELTA coded
public int getUserSidCount()
repeated sint32 user_sid = 5 [packed = true];
String IDs for usernames. DELTA coded
public int getUserSid(int index)
repeated sint32 user_sid = 5 [packed = true];
String IDs for usernames. DELTA coded
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.
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.
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.
public final boolean isInitialized()
public void writeTo(com.protobuf .CodedOutputStream output) throws IOException
writeTo in interface
com.google.protobuf.MessageLite
IOException
public int getSerializedSize()
protected ObjectwriteReplace() throws ObjectStreamException
writeReplace in class
com.google.protobuf.GeneratedMessageLite
ObjectStreamException
public static Osmformat.DenseInfo parseFrom(com .protobuf .ByteString data) throws com .protobuf .InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Osmformat.DenseInfo parseFrom(com .protobuf .ByteString data, com .protobuf .ExtensionRegistryLite extensionRegistry) throws com .protobuf .InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Osmformat.DenseInfo parseFrom(byte[] data) throws com .protobuf .InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Osmformat.DenseInfo parseFrom(byte[] data, com .protobuf .ExtensionRegistryLite extensionRegistry) throws com .protobuf .InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Osmformat.DenseInfo parseFrom(InputStream input) throws IOException
IOException
public static Osmformat.DenseInfo parseFrom(InputStream input, com .protobuf .ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Osmformat.DenseInfo parseDelimitedFrom(InputStream input) throws IOException
IOException
public static Osmformat.DenseInfo parseDelimitedFrom(InputStream input, com .protobuf .ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Osmformat.DenseInfo parseFrom(com .protobuf .CodedInputStream input) throws IOException
IOException
public static Osmformat.DenseInfo parseFrom(com .protobuf .CodedInputStream input, com .protobuf .ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Osmformat.DenseInfo .Builder newBuilder()
public Osmformat.DenseInfo .Builder newBuilderForType()
public static Osmformat.DenseInfo .Builder newBuilder(Osmformat .DenseInfo prototype)
public Osmformat.DenseInfo .Builder toBuilder()