Class Osmformat.DenseInfo.Builder

    • Method Detail

      • isInitialized

        public final boolean isInitialized()
      • 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
         
      • setTimestamp

        public Osmformat.DenseInfo.Builder setTimestamp(int index,
                                                        long value)
        repeated sint64 timestamp = 2 [packed = true];
         DELTA coded
         
      • addTimestamp

        public Osmformat.DenseInfo.Builder addTimestamp(long value)
        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
         
      • setChangeset

        public Osmformat.DenseInfo.Builder setChangeset(int index,
                                                        long value)
        repeated sint64 changeset = 3 [packed = true];
         DELTA coded
         
      • addChangeset

        public Osmformat.DenseInfo.Builder addChangeset(long value)
        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
         
      • setUserSid

        public Osmformat.DenseInfo.Builder setUserSid(int index,
                                                      int value)
        repeated sint32 user_sid = 5 [packed = true];
         String IDs for usernames. DELTA coded
         
      • addUserSid

        public Osmformat.DenseInfo.Builder addUserSid(int value)
        repeated sint32 user_sid = 5 [packed = true];
         String IDs for usernames. DELTA coded
         
      • clearUserSid

        public Osmformat.DenseInfo.Builder clearUserSid()
        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.
         
      • setVisible

        public Osmformat.DenseInfo.Builder setVisible(int index,
                                                      boolean value)
        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.
         
      • addVisible

        public Osmformat.DenseInfo.Builder addVisible(boolean value)
        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.
         
      • addAllVisible

        public Osmformat.DenseInfo.Builder addAllVisible(Iterable<? extends Boolean> values)
        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.
         
      • clearVisible

        public Osmformat.DenseInfo.Builder clearVisible()
        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.