public static final class Osmformat.Info extends com.protobuf .GeneratedMessageLite implements Osmformat .InfoOrBuilder
OSMPBF.Info
Optional metadata that may be included into each primitive.
| Modifier and Type | Class and Description |
|---|---|
static class |
Osmformat
Protobuf type
OSMPBF.Info
|
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()
optional int64 changeset = 3;
|
static Osmformat |
getDefaultInstance()
|
Osmformat |
getDefaultInstanceForType()
|
com |
getParserForType()
|
int |
getSerializedSize()
|
long |
getTimestamp()
optional int64 timestamp = 2;
|
int |
getUid()
optional int32 uid = 4;
|
int |
getUserSid()
optional uint32 user_sid = 5;
|
int |
getVersion()
optional int32 version = 1 [default = -1];
|
boolean |
getVisible()
optional bool visible = 6;
|
boolean |
hasChangeset()
optional int64 changeset = 3;
|
boolean |
hasTimestamp()
optional int64 timestamp = 2;
|
boolean |
hasUid()
optional int32 uid = 4;
|
boolean |
hasUserSid()
optional uint32 user_sid = 5;
|
boolean |
hasVersion()
optional int32 version = 1 [default = -1];
|
boolean |
hasVisible()
optional bool visible = 6;
|
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 .Info > 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.Info getDefaultInstance()
public Osmformat.Info getDefaultInstanceForType()
public com.protobuf .Parser <Osmformat .Info > getParserForType()
public boolean hasVersion()
optional int32 version = 1 [default = -1];
public int getVersion()
optional int32 version = 1 [default = -1];
public boolean hasTimestamp()
optional int64 timestamp = 2;
public long getTimestamp()
optional int64 timestamp = 2;
public boolean hasChangeset()
optional int64 changeset = 3;
public long getChangeset()
optional int64 changeset = 3;
public boolean hasUid()
optional int32 uid = 4;
public int getUid()
optional int32 uid = 4;
public boolean hasUserSid()
optional uint32 user_sid = 5;
String IDs
public int getUserSid()
optional uint32 user_sid = 5;
String IDs
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.
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.
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.Info parseFrom(com .protobuf .ByteString data) throws com .protobuf .InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Osmformat.Info parseFrom(com .protobuf .ByteString data, com .protobuf .ExtensionRegistryLite extensionRegistry) throws com .protobuf .InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Osmformat.Info parseFrom(byte[] data) throws com .protobuf .InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Osmformat.Info parseFrom(byte[] data, com .protobuf .ExtensionRegistryLite extensionRegistry) throws com .protobuf .InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Osmformat.Info parseFrom(InputStream input) throws IOException
IOException
public static Osmformat.Info parseFrom(InputStream input, com .protobuf .ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Osmformat.Info parseDelimitedFrom(InputStream input) throws IOException
IOException
public static Osmformat.Info parseDelimitedFrom(InputStream input, com .protobuf .ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Osmformat.Info parseFrom(com .protobuf .CodedInputStream input) throws IOException
IOException
public static Osmformat.Info parseFrom(com .protobuf .CodedInputStream input, com .protobuf .ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Osmformat.Info .Builder newBuilder()
public Osmformat.Info .Builder newBuilderForType()
public static Osmformat.Info .Builder newBuilder(Osmformat .Info prototype)
public Osmformat.Info .Builder toBuilder()