public static final class Osmformat.Info extends proto4.GeneratedMessage implements Osmformat.InfoOrBuilder
Optional metadata that may be included into each primitive.
Protobuf type Info
| Modifier and Type | Class and Description |
|---|---|
static class |
Osmformat.Info.Builder
Optional metadata that may be included into each primitive.
|
proto4.GeneratedMessage.ExtendableBuilder<MessageT extends proto4.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends proto4.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, proto4.GeneratedMessage.ExtendableMessage<MessageT extends proto4.GeneratedMessage.ExtendableMessage<MessageT>>, proto4.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends proto4.GeneratedMessage.ExtendableMessage<MessageT>>, proto4.GeneratedMessage.FieldAccessorTable, proto4.GeneratedMessage.GeneratedExtension<ContainingT extends proto4.Message,T>, proto4.GeneratedMessage.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CHANGESET_FIELD_NUMBER |
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 |
|---|---|
boolean |
equals(Object obj) |
long |
getChangeset()
optional int64 changeset = 3; |
static Osmformat.Info |
getDefaultInstance() |
Osmformat.Info |
getDefaultInstanceForType() |
static proto4.Descriptors.Descriptor |
getDescriptor() |
proto4.Parser<Osmformat.Info> |
getParserForType() |
int |
getSerializedSize() |
long |
getTimestamp()
optional int64 timestamp = 2; |
int |
getUid()
optional int32 uid = 4; |
int |
getUserSid()
String IDs
|
int |
getVersion()
optional int32 version = 1 [default = -1]; |
boolean |
getVisible()
The visible flag is used to store history information.
|
boolean |
hasChangeset()
optional int64 changeset = 3; |
int |
hashCode() |
boolean |
hasTimestamp()
optional int64 timestamp = 2; |
boolean |
hasUid()
optional int32 uid = 4; |
boolean |
hasUserSid()
String IDs
|
boolean |
hasVersion()
optional int32 version = 1 [default = -1]; |
boolean |
hasVisible()
The visible flag is used to store history information.
|
protected proto4.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Osmformat.Info.Builder |
newBuilder() |
static Osmformat.Info.Builder |
newBuilder(Osmformat.Info prototype) |
Osmformat.Info.Builder |
newBuilderForType() |
protected Osmformat.Info.Builder |
newBuilderForType(proto4.AbstractMessage.BuilderParent parent) |
static Osmformat.Info |
parseDelimitedFrom(InputStream input) |
static Osmformat.Info |
parseDelimitedFrom(InputStream input,
proto4.ExtensionRegistryLite extensionRegistry) |
static Osmformat.Info |
parseFrom(byte[] data) |
static Osmformat.Info |
parseFrom(byte[] data,
proto4.ExtensionRegistryLite extensionRegistry) |
static Osmformat.Info |
parseFrom(ByteBuffer data) |
static Osmformat.Info |
parseFrom(ByteBuffer data,
proto4.ExtensionRegistryLite extensionRegistry) |
static Osmformat.Info |
parseFrom(proto4.ByteString data) |
static Osmformat.Info |
parseFrom(proto4.ByteString data,
proto4.ExtensionRegistryLite extensionRegistry) |
static Osmformat.Info |
parseFrom(proto4.CodedInputStream input) |
static Osmformat.Info |
parseFrom(proto4.CodedInputStream input,
proto4.ExtensionRegistryLite extensionRegistry) |
static Osmformat.Info |
parseFrom(InputStream input) |
static Osmformat.Info |
parseFrom(InputStream input,
proto4.ExtensionRegistryLite extensionRegistry) |
static proto4.Parser<Osmformat.Info> |
parser() |
Osmformat.Info.Builder |
toBuilder() |
void |
writeTo(proto4.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashFields, toStringaddAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic 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 final proto4.Descriptors.Descriptor getDescriptor()
protected proto4.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class proto4.GeneratedMessagepublic boolean hasVersion()
optional int32 version = 1 [default = -1];hasVersion in interface Osmformat.InfoOrBuilderpublic int getVersion()
optional int32 version = 1 [default = -1];getVersion in interface Osmformat.InfoOrBuilderpublic boolean hasTimestamp()
optional int64 timestamp = 2;hasTimestamp in interface Osmformat.InfoOrBuilderpublic long getTimestamp()
optional int64 timestamp = 2;getTimestamp in interface Osmformat.InfoOrBuilderpublic boolean hasChangeset()
optional int64 changeset = 3;hasChangeset in interface Osmformat.InfoOrBuilderpublic long getChangeset()
optional int64 changeset = 3;getChangeset in interface Osmformat.InfoOrBuilderpublic boolean hasUid()
optional int32 uid = 4;hasUid in interface Osmformat.InfoOrBuilderpublic int getUid()
optional int32 uid = 4;getUid in interface Osmformat.InfoOrBuilderpublic boolean hasUserSid()
String IDs
optional uint32 user_sid = 5;hasUserSid in interface Osmformat.InfoOrBuilderpublic int getUserSid()
String IDs
optional uint32 user_sid = 5;getUserSid in interface Osmformat.InfoOrBuilderpublic 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;hasVisible in interface Osmformat.InfoOrBuilderpublic 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;getVisible in interface Osmformat.InfoOrBuilderpublic final boolean isInitialized()
isInitialized in interface proto4.MessageLiteOrBuilderisInitialized in class proto4.GeneratedMessagepublic void writeTo(proto4.CodedOutputStream output)
throws IOException
writeTo in interface proto4.MessageLitewriteTo in class proto4.GeneratedMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface proto4.MessageLitegetSerializedSize in class proto4.GeneratedMessagepublic boolean equals(Object obj)
equals in interface proto4.Messageequals in class proto4.AbstractMessagepublic int hashCode()
hashCode in interface proto4.MessagehashCode in class proto4.AbstractMessagepublic static Osmformat.Info parseFrom(ByteBuffer data) throws proto4.InvalidProtocolBufferException
proto4.InvalidProtocolBufferExceptionpublic static Osmformat.Info parseFrom(ByteBuffer data, proto4.ExtensionRegistryLite extensionRegistry) throws proto4.InvalidProtocolBufferException
proto4.InvalidProtocolBufferExceptionpublic static Osmformat.Info parseFrom(proto4.ByteString data) throws proto4.InvalidProtocolBufferException
proto4.InvalidProtocolBufferExceptionpublic static Osmformat.Info parseFrom(proto4.ByteString data, proto4.ExtensionRegistryLite extensionRegistry) throws proto4.InvalidProtocolBufferException
proto4.InvalidProtocolBufferExceptionpublic static Osmformat.Info parseFrom(byte[] data) throws proto4.InvalidProtocolBufferException
proto4.InvalidProtocolBufferExceptionpublic static Osmformat.Info parseFrom(byte[] data, proto4.ExtensionRegistryLite extensionRegistry) throws proto4.InvalidProtocolBufferException
proto4.InvalidProtocolBufferExceptionpublic static Osmformat.Info parseFrom(InputStream input) throws IOException
IOExceptionpublic static Osmformat.Info parseFrom(InputStream input, proto4.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Osmformat.Info parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Osmformat.Info parseDelimitedFrom(InputStream input, proto4.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Osmformat.Info parseFrom(proto4.CodedInputStream input) throws IOException
IOExceptionpublic static Osmformat.Info parseFrom(proto4.CodedInputStream input, proto4.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Osmformat.Info.Builder newBuilderForType()
newBuilderForType in interface proto4.MessagenewBuilderForType in interface proto4.MessageLitepublic static Osmformat.Info.Builder newBuilder()
public static Osmformat.Info.Builder newBuilder(Osmformat.Info prototype)
public Osmformat.Info.Builder toBuilder()
toBuilder in interface proto4.MessagetoBuilder in interface proto4.MessageLiteprotected Osmformat.Info.Builder newBuilderForType(proto4.AbstractMessage.BuilderParent parent)
newBuilderForType in class proto4.AbstractMessagepublic static Osmformat.Info getDefaultInstance()
public static proto4.Parser<Osmformat.Info> parser()
public proto4.Parser<Osmformat.Info> getParserForType()
getParserForType in interface proto4.MessagegetParserForType in interface proto4.MessageLitegetParserForType in class proto4.GeneratedMessagepublic Osmformat.Info getDefaultInstanceForType()
getDefaultInstanceForType in interface proto4.MessageLiteOrBuildergetDefaultInstanceForType in interface proto4.MessageOrBuilderCopyright © 2025 The Apache Software Foundation. All rights reserved.