Class Osmformat.DenseInfo

  • All Implemented Interfaces:
    com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, Osmformat.DenseInfoOrBuilder, Serializable
    Enclosing class:
    Osmformat


    public static final class Osmformat.DenseInfo
    extends com.google.protobuf.GeneratedMessageLite
    implements Osmformat.DenseInfoOrBuilder
    Protobuf type OSMPBF.DenseInfo
     Optional metadata that may be included into each primitive. Special dense format used in DenseNodes. 
     
    See Also:
    Serialized Form
    • Method Detail

      • getVersionList

        public List<Integer> getVersionList()
        repeated int32 version = 1 [packed = true];
      • getVersionCount

        public int getVersionCount()
        repeated int32 version = 1 [packed = true];
      • getVersion

        public int getVersion(int index)
        repeated int32 version = 1 [packed = true];
      • getTimestampList

        public List<Long> getTimestampList()
        repeated sint64 timestamp = 2 [packed = true];
         DELTA coded
         
      • getTimestampCount

        public int getTimestampCount()
        repeated sint64 timestamp = 2 [packed = true];
         DELTA coded
         
      • getTimestamp

        public long getTimestamp(int index)
        repeated sint64 timestamp = 2 [packed = true];
         DELTA coded
         
      • getChangesetList

        public List<Long> getChangesetList()
        repeated sint64 changeset = 3 [packed = true];
         DELTA coded
         
      • getChangesetCount

        public int getChangesetCount()
        repeated sint64 changeset = 3 [packed = true];
         DELTA coded
         
      • getChangeset

        public long getChangeset(int index)
        repeated sint64 changeset = 3 [packed = true];
         DELTA coded
         
      • getUidList

        public List<Integer> getUidList()
        repeated sint32 uid = 4 [packed = true];
         DELTA coded
         
      • getUidCount

        public int getUidCount()
        repeated sint32 uid = 4 [packed = true];
         DELTA coded
         
      • getUid

        public int getUid(int index)
        repeated sint32 uid = 4 [packed = true];
         DELTA coded
         
      • getUserSidList

        public List<Integer> getUserSidList()
        repeated sint32 user_sid = 5 [packed = true];
         String IDs for usernames. DELTA coded
         
      • getUserSidCount

        public int getUserSidCount()
        repeated sint32 user_sid = 5 [packed = true];
         String IDs for usernames. DELTA coded
         
      • getUserSid

        public int getUserSid(int index)
        repeated sint32 user_sid = 5 [packed = true];
         String IDs for usernames. DELTA coded
         
      • getVisibleList

        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.
         
      • getVisibleCount

        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.
         
      • getVisible

        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.
         
      • isInitialized

        public final boolean isInitialized()
      • writeTo

        public void writeTo(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface  com.google.protobuf.MessageLite
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
      • parseFrom

        public static Osmformat.DenseInfo parseFrom(com.google.protobuf.ByteString data)
                                             throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Osmformat.DenseInfo parseFrom(com.google.protobuf.ByteString data,
                                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                             throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Osmformat.DenseInfo parseFrom(byte[] data)
                                             throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Osmformat.DenseInfo parseFrom(byte[] data,
                                                    com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                             throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException