Interface Osmformat.InfoOrBuilder
-
- All Superinterfaces:
proto4.MessageLiteOrBuilder,proto4.MessageOrBuilder
- All Known Implementing Classes:
Osmformat.Info,Osmformat.Info.Builder
- Enclosing class:
- Osmformat
public static interface Osmformat.InfoOrBuilder extends proto4.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetChangeset()optional int64 changeset = 3;longgetTimestamp()optional int64 timestamp = 2;intgetUid()optional int32 uid = 4;intgetUserSid()String IDsintgetVersion()optional int32 version = 1 [default = -1];booleangetVisible()The visible flag is used to store history information.booleanhasChangeset()optional int64 changeset = 3;booleanhasTimestamp()optional int64 timestamp = 2;booleanhasUid()optional int32 uid = 4;booleanhasUserSid()String IDsbooleanhasVersion()optional int32 version = 1 [default = -1];booleanhasVisible()The visible flag is used to store history information.
-
-
-
Method Detail
-
hasVersion
boolean hasVersion()
optional int32 version = 1 [default = -1];- Returns:
- Whether the version field is set.
-
getVersion
int getVersion()
optional int32 version = 1 [default = -1];- Returns:
- The version.
-
hasTimestamp
boolean hasTimestamp()
optional int64 timestamp = 2;- Returns:
- Whether the timestamp field is set.
-
getTimestamp
long getTimestamp()
optional int64 timestamp = 2;- Returns:
- The timestamp.
-
hasChangeset
boolean hasChangeset()
optional int64 changeset = 3;- Returns:
- Whether the changeset field is set.
-
getChangeset
long getChangeset()
optional int64 changeset = 3;- Returns:
- The changeset.
-
hasUid
boolean hasUid()
optional int32 uid = 4;- Returns:
- Whether the uid field is set.
-
getUid
int getUid()
optional int32 uid = 4;- Returns:
- The uid.
-
hasUserSid
boolean hasUserSid()
String IDs
optional uint32 user_sid = 5;- Returns:
- Whether the userSid field is set.
-
getUserSid
int getUserSid()
String IDs
optional uint32 user_sid = 5;- Returns:
- The userSid.
-
hasVisible
boolean hasVisible()
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.
optional bool visible = 6;- Returns:
- Whether the visible field is set.
-
getVisible
boolean getVisible()
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.
optional bool visible = 6;- Returns:
- The visible.
-
-