Class Osmformat.Info.Builder

    • Method Detail

      • getDefaultInstanceForType

        public Osmformat.Info getDefaultInstanceForType()
      • isInitialized

        public final boolean isInitialized()
      • hasVersion

        public boolean hasVersion()
        optional int32 version = 1 [default = -1];
      • getVersion

        public int getVersion()
        optional int32 version = 1 [default = -1];
      • hasTimestamp

        public boolean hasTimestamp()
        optional int64 timestamp = 2;
      • getTimestamp

        public long getTimestamp()
        optional int64 timestamp = 2;
      • hasChangeset

        public boolean hasChangeset()
        optional int64 changeset = 3;
      • getChangeset

        public long getChangeset()
        optional int64 changeset = 3;
      • hasUid

        public boolean hasUid()
        optional int32 uid = 4;
      • getUid

        public int getUid()
        optional int32 uid = 4;
      • hasUserSid

        public boolean hasUserSid()
        optional uint32 user_sid = 5;
         String IDs
         
      • getUserSid

        public int getUserSid()
        optional uint32 user_sid = 5;
         String IDs
         
      • hasVisible

        public boolean hasVisible()
        optional bool visible = 6;
         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()
        optional bool visible = 6;
         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.Info.Builder setVisible(boolean value)
        optional bool visible = 6;
         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.Info.Builder clearVisible()
        optional bool visible = 6;
         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.