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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashFields, toString
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
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 final proto4.Descriptors.Descriptor getDescriptor()
protected proto4.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class proto4.GeneratedMessage
public boolean hasVersion()
optional int32 version = 1 [default = -1];
hasVersion
in interface Osmformat.InfoOrBuilder
public int getVersion()
optional int32 version = 1 [default = -1];
getVersion
in interface Osmformat.InfoOrBuilder
public boolean hasTimestamp()
optional int64 timestamp = 2;
hasTimestamp
in interface Osmformat.InfoOrBuilder
public long getTimestamp()
optional int64 timestamp = 2;
getTimestamp
in interface Osmformat.InfoOrBuilder
public boolean hasChangeset()
optional int64 changeset = 3;
hasChangeset
in interface Osmformat.InfoOrBuilder
public long getChangeset()
optional int64 changeset = 3;
getChangeset
in interface Osmformat.InfoOrBuilder
public boolean hasUid()
optional int32 uid = 4;
hasUid
in interface Osmformat.InfoOrBuilder
public int getUid()
optional int32 uid = 4;
getUid
in interface Osmformat.InfoOrBuilder
public boolean hasUserSid()
String IDs
optional uint32 user_sid = 5;
hasUserSid
in interface Osmformat.InfoOrBuilder
public int getUserSid()
String IDs
optional uint32 user_sid = 5;
getUserSid
in interface Osmformat.InfoOrBuilder
public 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.InfoOrBuilder
public 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.InfoOrBuilder
public final boolean isInitialized()
isInitialized
in interface proto4.MessageLiteOrBuilder
isInitialized
in class proto4.GeneratedMessage
public void writeTo(proto4.CodedOutputStream output) throws IOException
writeTo
in interface proto4.MessageLite
writeTo
in class proto4.GeneratedMessage
IOException
public int getSerializedSize()
getSerializedSize
in interface proto4.MessageLite
getSerializedSize
in class proto4.GeneratedMessage
public boolean equals(Object obj)
equals
in interface proto4.Message
equals
in class proto4.AbstractMessage
public int hashCode()
hashCode
in interface proto4.Message
hashCode
in class proto4.AbstractMessage
public static Osmformat.Info parseFrom(ByteBuffer data) throws proto4.InvalidProtocolBufferException
proto4.InvalidProtocolBufferException
public static Osmformat.Info parseFrom(ByteBuffer data, proto4.ExtensionRegistryLite extensionRegistry) throws proto4.InvalidProtocolBufferException
proto4.InvalidProtocolBufferException
public static Osmformat.Info parseFrom(proto4.ByteString data) throws proto4.InvalidProtocolBufferException
proto4.InvalidProtocolBufferException
public static Osmformat.Info parseFrom(proto4.ByteString data, proto4.ExtensionRegistryLite extensionRegistry) throws proto4.InvalidProtocolBufferException
proto4.InvalidProtocolBufferException
public static Osmformat.Info parseFrom(byte[] data) throws proto4.InvalidProtocolBufferException
proto4.InvalidProtocolBufferException
public static Osmformat.Info parseFrom(byte[] data, proto4.ExtensionRegistryLite extensionRegistry) throws proto4.InvalidProtocolBufferException
proto4.InvalidProtocolBufferException
public static Osmformat.Info parseFrom(InputStream input) throws IOException
IOException
public static Osmformat.Info parseFrom(InputStream input, proto4.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Osmformat.Info parseDelimitedFrom(InputStream input) throws IOException
IOException
public static Osmformat.Info parseDelimitedFrom(InputStream input, proto4.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Osmformat.Info parseFrom(proto4.CodedInputStream input) throws IOException
IOException
public static Osmformat.Info parseFrom(proto4.CodedInputStream input, proto4.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public Osmformat.Info.Builder newBuilderForType()
newBuilderForType
in interface proto4.Message
newBuilderForType
in interface proto4.MessageLite
public static Osmformat.Info.Builder newBuilder()
public static Osmformat.Info.Builder newBuilder(Osmformat.Info prototype)
public Osmformat.Info.Builder toBuilder()
toBuilder
in interface proto4.Message
toBuilder
in interface proto4.MessageLite
protected Osmformat.Info.Builder newBuilderForType(proto4.AbstractMessage.BuilderParent parent)
newBuilderForType
in class proto4.AbstractMessage
public static Osmformat.Info getDefaultInstance()
public static proto4.Parser<Osmformat.Info> parser()
public proto4.Parser<Osmformat.Info> getParserForType()
getParserForType
in interface proto4.Message
getParserForType
in interface proto4.MessageLite
getParserForType
in class proto4.GeneratedMessage
public Osmformat.Info getDefaultInstanceForType()
getDefaultInstanceForType
in interface proto4.MessageLiteOrBuilder
getDefaultInstanceForType
in interface proto4.MessageOrBuilder
Copyright © 2025 The Apache Software Foundation. All rights reserved.