public static final class Osmformat.Info extends GeneratedMessageLiteimplements 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
|
GeneratedMessageLite.ExtendableBuilder <MessageType extends GeneratedMessageLite.ExtendableMessage <MessageType>,BuilderType extends GeneratedMessageLite.ExtendableBuilder <MessageType,BuilderType>>, GeneratedMessageLite.ExtendableMessage <MessageType extends GeneratedMessageLite.ExtendableMessage <MessageType>>, GeneratedMessageLite.ExtendableMessageOrBuilder <MessageType extends GeneratedMessageLite.ExtendableMessage >, GeneratedMessageLite.GeneratedExtension <ContainingType extends MessageLite,Type> | Modifier and Type | Field and Description |
|---|---|
static int |
CHANGESET_FIELD_NUMBER
|
static Parser |
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
|
memoizedHashCode| Modifier and Type | Method and Description |
|---|---|
long |
getChangeset()
optional int64 changeset = 3;
|
static Osmformat |
getDefaultInstance()
|
Osmformat |
getDefaultInstanceForType()
|
Parser |
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, ExtensionRegistryLite
|
static Osmformat |
parseFrom(ByteString
|
static Osmformat |
parseFrom(ByteString
|
static Osmformat |
parseFrom(CodedInputStream
|
static Osmformat |
parseFrom(CodedInputStream
|
static Osmformat |
parseFrom(InputStream
|
static Osmformat |
parseFrom(InputStream
|
Osmformat |
toBuilder()
|
protected Object |
writeReplace()
|
void |
writeTo(CodedOutputStream
|
makeExtensionsImmutable, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseUnknownFieldcheckByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTopublic static 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 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(CodedOutputStreamoutput) throws IOException
writeTo in interface
MessageLite
IOException
public int getSerializedSize()
protected ObjectwriteReplace() throws ObjectStreamException
writeReplace in class
GeneratedMessageLite
ObjectStreamException
public static Osmformat.Info parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Osmformat.Info parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Osmformat.Info parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Osmformat.Info parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Osmformat.Info parseFrom(InputStream input) throws IOException
IOException
public static Osmformat.Info parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Osmformat.Info parseDelimitedFrom(InputStream input) throws IOException
IOException
public static Osmformat.Info parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Osmformat.Info parseFrom(CodedInputStream input) throws IOException
IOException
public static Osmformat.Info parseFrom(CodedInputStream input, 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()