public static final class Osmformat.Info.Builder extends proto4.GeneratedMessage.Builder<Osmformat.Info.Builder> implements Osmformat.InfoOrBuilder
Optional metadata that may be included into each primitive.
Protobuf type Info
Modifier and Type | Method and Description |
---|---|
Osmformat.Info |
build() |
Osmformat.Info |
buildPartial() |
Osmformat.Info.Builder |
clear() |
Osmformat.Info.Builder |
clearChangeset()
optional int64 changeset = 3; |
Osmformat.Info.Builder |
clearTimestamp()
optional int64 timestamp = 2; |
Osmformat.Info.Builder |
clearUid()
optional int32 uid = 4; |
Osmformat.Info.Builder |
clearUserSid()
String IDs
|
Osmformat.Info.Builder |
clearVersion()
optional int32 version = 1 [default = -1]; |
Osmformat.Info.Builder |
clearVisible()
The visible flag is used to store history information.
|
long |
getChangeset()
optional int64 changeset = 3; |
Osmformat.Info |
getDefaultInstanceForType() |
static proto4.Descriptors.Descriptor |
getDescriptor() |
proto4.Descriptors.Descriptor |
getDescriptorForType() |
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; |
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() |
Osmformat.Info.Builder |
mergeFrom(proto4.CodedInputStream input,
proto4.ExtensionRegistryLite extensionRegistry) |
Osmformat.Info.Builder |
mergeFrom(proto4.Message other) |
Osmformat.Info.Builder |
mergeFrom(Osmformat.Info other) |
Osmformat.Info.Builder |
setChangeset(long value)
optional int64 changeset = 3; |
Osmformat.Info.Builder |
setTimestamp(long value)
optional int64 timestamp = 2; |
Osmformat.Info.Builder |
setUid(int value)
optional int32 uid = 4; |
Osmformat.Info.Builder |
setUserSid(int value)
String IDs
|
Osmformat.Info.Builder |
setVersion(int value)
optional int32 version = 1 [default = -1]; |
Osmformat.Info.Builder |
setVisible(boolean value)
The visible flag is used to store history information.
|
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final proto4.Descriptors.Descriptor getDescriptor()
protected proto4.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class proto4.GeneratedMessage.Builder<Osmformat.Info.Builder>
public Osmformat.Info.Builder clear()
clear
in interface proto4.Message.Builder
clear
in interface proto4.MessageLite.Builder
clear
in class proto4.GeneratedMessage.Builder<Osmformat.Info.Builder>
public proto4.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface proto4.Message.Builder
getDescriptorForType
in interface proto4.MessageOrBuilder
getDescriptorForType
in class proto4.GeneratedMessage.Builder<Osmformat.Info.Builder>
public Osmformat.Info getDefaultInstanceForType()
getDefaultInstanceForType
in interface proto4.MessageLiteOrBuilder
getDefaultInstanceForType
in interface proto4.MessageOrBuilder
public Osmformat.Info build()
build
in interface proto4.Message.Builder
build
in interface proto4.MessageLite.Builder
public Osmformat.Info buildPartial()
buildPartial
in interface proto4.Message.Builder
buildPartial
in interface proto4.MessageLite.Builder
public Osmformat.Info.Builder mergeFrom(proto4.Message other)
mergeFrom
in interface proto4.Message.Builder
mergeFrom
in class proto4.AbstractMessage.Builder<Osmformat.Info.Builder>
public Osmformat.Info.Builder mergeFrom(Osmformat.Info other)
public final boolean isInitialized()
isInitialized
in interface proto4.MessageLiteOrBuilder
isInitialized
in class proto4.GeneratedMessage.Builder<Osmformat.Info.Builder>
public Osmformat.Info.Builder mergeFrom(proto4.CodedInputStream input, proto4.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface proto4.Message.Builder
mergeFrom
in interface proto4.MessageLite.Builder
mergeFrom
in class proto4.AbstractMessage.Builder<Osmformat.Info.Builder>
IOException
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 Osmformat.Info.Builder setVersion(int value)
optional int32 version = 1 [default = -1];
value
- The version to set.public Osmformat.Info.Builder clearVersion()
optional int32 version = 1 [default = -1];
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 Osmformat.Info.Builder setTimestamp(long value)
optional int64 timestamp = 2;
value
- The timestamp to set.public Osmformat.Info.Builder clearTimestamp()
optional int64 timestamp = 2;
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 Osmformat.Info.Builder setChangeset(long value)
optional int64 changeset = 3;
value
- The changeset to set.public Osmformat.Info.Builder clearChangeset()
optional int64 changeset = 3;
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 Osmformat.Info.Builder setUid(int value)
optional int32 uid = 4;
value
- The uid to set.public Osmformat.Info.Builder clearUid()
optional int32 uid = 4;
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 Osmformat.Info.Builder setUserSid(int value)
String IDs
optional uint32 user_sid = 5;
value
- The userSid to set.public Osmformat.Info.Builder clearUserSid()
String IDs
optional uint32 user_sid = 5;
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 Osmformat.Info.Builder setVisible(boolean value)
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;
value
- The visible to set.public Osmformat.Info.Builder clearVisible()
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;
Copyright © 2025 The Apache Software Foundation. All rights reserved.