Package crosby.binary
Class Osmformat.DenseInfo.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Osmformat.DenseInfo.Builder>
-
- crosby.binary.Osmformat.DenseInfo.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Osmformat.DenseInfoOrBuilder
,java.lang.Cloneable
- Enclosing class:
- Osmformat.DenseInfo
public static final class Osmformat.DenseInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Osmformat.DenseInfo.Builder> implements Osmformat.DenseInfoOrBuilder
Optional metadata that may be included into each primitive. Special dense format used in DenseNodes.
Protobuf typeOSMPBF.DenseInfo
-
-
Field Summary
Fields Modifier and Type Field Description private int
bitField0_
private com.google.protobuf.Internal.LongList
changeset_
private com.google.protobuf.Internal.LongList
timestamp_
private com.google.protobuf.Internal.IntList
uid_
private com.google.protobuf.Internal.IntList
userSid_
private com.google.protobuf.Internal.IntList
version_
private com.google.protobuf.Internal.BooleanList
visible_
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Osmformat.DenseInfo.Builder
addAllChangeset(java.lang.Iterable<? extends java.lang.Long> values)
DELTA codedOsmformat.DenseInfo.Builder
addAllTimestamp(java.lang.Iterable<? extends java.lang.Long> values)
DELTA codedOsmformat.DenseInfo.Builder
addAllUid(java.lang.Iterable<? extends java.lang.Integer> values)
DELTA codedOsmformat.DenseInfo.Builder
addAllUserSid(java.lang.Iterable<? extends java.lang.Integer> values)
String IDs for usernames.Osmformat.DenseInfo.Builder
addAllVersion(java.lang.Iterable<? extends java.lang.Integer> values)
repeated int32 version = 1 [packed = true];
Osmformat.DenseInfo.Builder
addAllVisible(java.lang.Iterable<? extends java.lang.Boolean> values)
The visible flag is used to store history information.Osmformat.DenseInfo.Builder
addChangeset(long value)
DELTA codedOsmformat.DenseInfo.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Osmformat.DenseInfo.Builder
addTimestamp(long value)
DELTA codedOsmformat.DenseInfo.Builder
addUid(int value)
DELTA codedOsmformat.DenseInfo.Builder
addUserSid(int value)
String IDs for usernames.Osmformat.DenseInfo.Builder
addVersion(int value)
repeated int32 version = 1 [packed = true];
Osmformat.DenseInfo.Builder
addVisible(boolean value)
The visible flag is used to store history information.Osmformat.DenseInfo
build()
Osmformat.DenseInfo
buildPartial()
Osmformat.DenseInfo.Builder
clear()
Osmformat.DenseInfo.Builder
clearChangeset()
DELTA codedOsmformat.DenseInfo.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Osmformat.DenseInfo.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Osmformat.DenseInfo.Builder
clearTimestamp()
DELTA codedOsmformat.DenseInfo.Builder
clearUid()
DELTA codedOsmformat.DenseInfo.Builder
clearUserSid()
String IDs for usernames.Osmformat.DenseInfo.Builder
clearVersion()
repeated int32 version = 1 [packed = true];
Osmformat.DenseInfo.Builder
clearVisible()
The visible flag is used to store history information.Osmformat.DenseInfo.Builder
clone()
private void
ensureChangesetIsMutable()
private void
ensureTimestampIsMutable()
private void
ensureUidIsMutable()
private void
ensureUserSidIsMutable()
private void
ensureVersionIsMutable()
private void
ensureVisibleIsMutable()
long
getChangeset(int index)
DELTA codedint
getChangesetCount()
DELTA codedjava.util.List<java.lang.Long>
getChangesetList()
DELTA codedOsmformat.DenseInfo
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
long
getTimestamp(int index)
DELTA codedint
getTimestampCount()
DELTA codedjava.util.List<java.lang.Long>
getTimestampList()
DELTA codedint
getUid(int index)
DELTA codedint
getUidCount()
DELTA codedjava.util.List<java.lang.Integer>
getUidList()
DELTA codedint
getUserSid(int index)
String IDs for usernames.int
getUserSidCount()
String IDs for usernames.java.util.List<java.lang.Integer>
getUserSidList()
String IDs for usernames.int
getVersion(int index)
repeated int32 version = 1 [packed = true];
int
getVersionCount()
repeated int32 version = 1 [packed = true];
java.util.List<java.lang.Integer>
getVersionList()
repeated int32 version = 1 [packed = true];
boolean
getVisible(int index)
The visible flag is used to store history information.int
getVisibleCount()
The visible flag is used to store history information.java.util.List<java.lang.Boolean>
getVisibleList()
The visible flag is used to store history information.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
private void
maybeForceBuilderInitialization()
Osmformat.DenseInfo.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Osmformat.DenseInfo.Builder
mergeFrom(com.google.protobuf.Message other)
Osmformat.DenseInfo.Builder
mergeFrom(Osmformat.DenseInfo other)
Osmformat.DenseInfo.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Osmformat.DenseInfo.Builder
setChangeset(int index, long value)
DELTA codedOsmformat.DenseInfo.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Osmformat.DenseInfo.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
Osmformat.DenseInfo.Builder
setTimestamp(int index, long value)
DELTA codedOsmformat.DenseInfo.Builder
setUid(int index, int value)
DELTA codedOsmformat.DenseInfo.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Osmformat.DenseInfo.Builder
setUserSid(int index, int value)
String IDs for usernames.Osmformat.DenseInfo.Builder
setVersion(int index, int value)
repeated int32 version = 1 [packed = true];
Osmformat.DenseInfo.Builder
setVisible(int index, boolean value)
The visible flag is used to store history information.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Field Detail
-
bitField0_
private int bitField0_
-
version_
private com.google.protobuf.Internal.IntList version_
-
timestamp_
private com.google.protobuf.Internal.LongList timestamp_
-
changeset_
private com.google.protobuf.Internal.LongList changeset_
-
uid_
private com.google.protobuf.Internal.IntList uid_
-
userSid_
private com.google.protobuf.Internal.IntList userSid_
-
visible_
private com.google.protobuf.Internal.BooleanList visible_
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Osmformat.DenseInfo.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization()
-
clear
public Osmformat.DenseInfo.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Osmformat.DenseInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Osmformat.DenseInfo.Builder>
-
getDefaultInstanceForType
public Osmformat.DenseInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Osmformat.DenseInfo build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Osmformat.DenseInfo buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Osmformat.DenseInfo.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Osmformat.DenseInfo.Builder>
-
setField
public Osmformat.DenseInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Osmformat.DenseInfo.Builder>
-
clearField
public Osmformat.DenseInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Osmformat.DenseInfo.Builder>
-
clearOneof
public Osmformat.DenseInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Osmformat.DenseInfo.Builder>
-
setRepeatedField
public Osmformat.DenseInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Osmformat.DenseInfo.Builder>
-
addRepeatedField
public Osmformat.DenseInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Osmformat.DenseInfo.Builder>
-
mergeFrom
public Osmformat.DenseInfo.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Osmformat.DenseInfo.Builder>
-
mergeFrom
public Osmformat.DenseInfo.Builder mergeFrom(Osmformat.DenseInfo other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Osmformat.DenseInfo.Builder>
-
mergeFrom
public Osmformat.DenseInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Osmformat.DenseInfo.Builder>
- Throws:
java.io.IOException
-
ensureVersionIsMutable
private void ensureVersionIsMutable()
-
getVersionList
public java.util.List<java.lang.Integer> getVersionList()
repeated int32 version = 1 [packed = true];
- Specified by:
getVersionList
in interfaceOsmformat.DenseInfoOrBuilder
- Returns:
- A list containing the version.
-
getVersionCount
public int getVersionCount()
repeated int32 version = 1 [packed = true];
- Specified by:
getVersionCount
in interfaceOsmformat.DenseInfoOrBuilder
- Returns:
- The count of version.
-
getVersion
public int getVersion(int index)
repeated int32 version = 1 [packed = true];
- Specified by:
getVersion
in interfaceOsmformat.DenseInfoOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The version at the given index.
-
setVersion
public Osmformat.DenseInfo.Builder setVersion(int index, int value)
repeated int32 version = 1 [packed = true];
- Parameters:
index
- The index to set the value at.value
- The version to set.- Returns:
- This builder for chaining.
-
addVersion
public Osmformat.DenseInfo.Builder addVersion(int value)
repeated int32 version = 1 [packed = true];
- Parameters:
value
- The version to add.- Returns:
- This builder for chaining.
-
addAllVersion
public Osmformat.DenseInfo.Builder addAllVersion(java.lang.Iterable<? extends java.lang.Integer> values)
repeated int32 version = 1 [packed = true];
- Parameters:
values
- The version to add.- Returns:
- This builder for chaining.
-
clearVersion
public Osmformat.DenseInfo.Builder clearVersion()
repeated int32 version = 1 [packed = true];
- Returns:
- This builder for chaining.
-
ensureTimestampIsMutable
private void ensureTimestampIsMutable()
-
getTimestampList
public java.util.List<java.lang.Long> getTimestampList()
DELTA coded
repeated sint64 timestamp = 2 [packed = true];
- Specified by:
getTimestampList
in interfaceOsmformat.DenseInfoOrBuilder
- Returns:
- A list containing the timestamp.
-
getTimestampCount
public int getTimestampCount()
DELTA coded
repeated sint64 timestamp = 2 [packed = true];
- Specified by:
getTimestampCount
in interfaceOsmformat.DenseInfoOrBuilder
- Returns:
- The count of timestamp.
-
getTimestamp
public long getTimestamp(int index)
DELTA coded
repeated sint64 timestamp = 2 [packed = true];
- Specified by:
getTimestamp
in interfaceOsmformat.DenseInfoOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The timestamp at the given index.
-
setTimestamp
public Osmformat.DenseInfo.Builder setTimestamp(int index, long value)
DELTA coded
repeated sint64 timestamp = 2 [packed = true];
- Parameters:
index
- The index to set the value at.value
- The timestamp to set.- Returns:
- This builder for chaining.
-
addTimestamp
public Osmformat.DenseInfo.Builder addTimestamp(long value)
DELTA coded
repeated sint64 timestamp = 2 [packed = true];
- Parameters:
value
- The timestamp to add.- Returns:
- This builder for chaining.
-
addAllTimestamp
public Osmformat.DenseInfo.Builder addAllTimestamp(java.lang.Iterable<? extends java.lang.Long> values)
DELTA coded
repeated sint64 timestamp = 2 [packed = true];
- Parameters:
values
- The timestamp to add.- Returns:
- This builder for chaining.
-
clearTimestamp
public Osmformat.DenseInfo.Builder clearTimestamp()
DELTA coded
repeated sint64 timestamp = 2 [packed = true];
- Returns:
- This builder for chaining.
-
ensureChangesetIsMutable
private void ensureChangesetIsMutable()
-
getChangesetList
public java.util.List<java.lang.Long> getChangesetList()
DELTA coded
repeated sint64 changeset = 3 [packed = true];
- Specified by:
getChangesetList
in interfaceOsmformat.DenseInfoOrBuilder
- Returns:
- A list containing the changeset.
-
getChangesetCount
public int getChangesetCount()
DELTA coded
repeated sint64 changeset = 3 [packed = true];
- Specified by:
getChangesetCount
in interfaceOsmformat.DenseInfoOrBuilder
- Returns:
- The count of changeset.
-
getChangeset
public long getChangeset(int index)
DELTA coded
repeated sint64 changeset = 3 [packed = true];
- Specified by:
getChangeset
in interfaceOsmformat.DenseInfoOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The changeset at the given index.
-
setChangeset
public Osmformat.DenseInfo.Builder setChangeset(int index, long value)
DELTA coded
repeated sint64 changeset = 3 [packed = true];
- Parameters:
index
- The index to set the value at.value
- The changeset to set.- Returns:
- This builder for chaining.
-
addChangeset
public Osmformat.DenseInfo.Builder addChangeset(long value)
DELTA coded
repeated sint64 changeset = 3 [packed = true];
- Parameters:
value
- The changeset to add.- Returns:
- This builder for chaining.
-
addAllChangeset
public Osmformat.DenseInfo.Builder addAllChangeset(java.lang.Iterable<? extends java.lang.Long> values)
DELTA coded
repeated sint64 changeset = 3 [packed = true];
- Parameters:
values
- The changeset to add.- Returns:
- This builder for chaining.
-
clearChangeset
public Osmformat.DenseInfo.Builder clearChangeset()
DELTA coded
repeated sint64 changeset = 3 [packed = true];
- Returns:
- This builder for chaining.
-
ensureUidIsMutable
private void ensureUidIsMutable()
-
getUidList
public java.util.List<java.lang.Integer> getUidList()
DELTA coded
repeated sint32 uid = 4 [packed = true];
- Specified by:
getUidList
in interfaceOsmformat.DenseInfoOrBuilder
- Returns:
- A list containing the uid.
-
getUidCount
public int getUidCount()
DELTA coded
repeated sint32 uid = 4 [packed = true];
- Specified by:
getUidCount
in interfaceOsmformat.DenseInfoOrBuilder
- Returns:
- The count of uid.
-
getUid
public int getUid(int index)
DELTA coded
repeated sint32 uid = 4 [packed = true];
- Specified by:
getUid
in interfaceOsmformat.DenseInfoOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The uid at the given index.
-
setUid
public Osmformat.DenseInfo.Builder setUid(int index, int value)
DELTA coded
repeated sint32 uid = 4 [packed = true];
- Parameters:
index
- The index to set the value at.value
- The uid to set.- Returns:
- This builder for chaining.
-
addUid
public Osmformat.DenseInfo.Builder addUid(int value)
DELTA coded
repeated sint32 uid = 4 [packed = true];
- Parameters:
value
- The uid to add.- Returns:
- This builder for chaining.
-
addAllUid
public Osmformat.DenseInfo.Builder addAllUid(java.lang.Iterable<? extends java.lang.Integer> values)
DELTA coded
repeated sint32 uid = 4 [packed = true];
- Parameters:
values
- The uid to add.- Returns:
- This builder for chaining.
-
clearUid
public Osmformat.DenseInfo.Builder clearUid()
DELTA coded
repeated sint32 uid = 4 [packed = true];
- Returns:
- This builder for chaining.
-
ensureUserSidIsMutable
private void ensureUserSidIsMutable()
-
getUserSidList
public java.util.List<java.lang.Integer> getUserSidList()
String IDs for usernames. DELTA coded
repeated sint32 user_sid = 5 [packed = true];
- Specified by:
getUserSidList
in interfaceOsmformat.DenseInfoOrBuilder
- Returns:
- A list containing the userSid.
-
getUserSidCount
public int getUserSidCount()
String IDs for usernames. DELTA coded
repeated sint32 user_sid = 5 [packed = true];
- Specified by:
getUserSidCount
in interfaceOsmformat.DenseInfoOrBuilder
- Returns:
- The count of userSid.
-
getUserSid
public int getUserSid(int index)
String IDs for usernames. DELTA coded
repeated sint32 user_sid = 5 [packed = true];
- Specified by:
getUserSid
in interfaceOsmformat.DenseInfoOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The userSid at the given index.
-
setUserSid
public Osmformat.DenseInfo.Builder setUserSid(int index, int value)
String IDs for usernames. DELTA coded
repeated sint32 user_sid = 5 [packed = true];
- Parameters:
index
- The index to set the value at.value
- The userSid to set.- Returns:
- This builder for chaining.
-
addUserSid
public Osmformat.DenseInfo.Builder addUserSid(int value)
String IDs for usernames. DELTA coded
repeated sint32 user_sid = 5 [packed = true];
- Parameters:
value
- The userSid to add.- Returns:
- This builder for chaining.
-
addAllUserSid
public Osmformat.DenseInfo.Builder addAllUserSid(java.lang.Iterable<? extends java.lang.Integer> values)
String IDs for usernames. DELTA coded
repeated sint32 user_sid = 5 [packed = true];
- Parameters:
values
- The userSid to add.- Returns:
- This builder for chaining.
-
clearUserSid
public Osmformat.DenseInfo.Builder clearUserSid()
String IDs for usernames. DELTA coded
repeated sint32 user_sid = 5 [packed = true];
- Returns:
- This builder for chaining.
-
ensureVisibleIsMutable
private void ensureVisibleIsMutable()
-
getVisibleList
public java.util.List<java.lang.Boolean> getVisibleList()
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.
repeated bool visible = 6 [packed = true];
- Specified by:
getVisibleList
in interfaceOsmformat.DenseInfoOrBuilder
- Returns:
- A list containing the visible.
-
getVisibleCount
public int getVisibleCount()
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.
repeated bool visible = 6 [packed = true];
- Specified by:
getVisibleCount
in interfaceOsmformat.DenseInfoOrBuilder
- Returns:
- The count of visible.
-
getVisible
public boolean getVisible(int index)
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.
repeated bool visible = 6 [packed = true];
- Specified by:
getVisible
in interfaceOsmformat.DenseInfoOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The visible at the given index.
-
setVisible
public Osmformat.DenseInfo.Builder setVisible(int index, 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.
repeated bool visible = 6 [packed = true];
- Parameters:
index
- The index to set the value at.value
- The visible to set.- Returns:
- This builder for chaining.
-
addVisible
public Osmformat.DenseInfo.Builder addVisible(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.
repeated bool visible = 6 [packed = true];
- Parameters:
value
- The visible to add.- Returns:
- This builder for chaining.
-
addAllVisible
public Osmformat.DenseInfo.Builder addAllVisible(java.lang.Iterable<? extends java.lang.Boolean> values)
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.
repeated bool visible = 6 [packed = true];
- Parameters:
values
- The visible to add.- Returns:
- This builder for chaining.
-
clearVisible
public Osmformat.DenseInfo.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.
repeated bool visible = 6 [packed = true];
- Returns:
- This builder for chaining.
-
setUnknownFields
public final Osmformat.DenseInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Osmformat.DenseInfo.Builder>
-
mergeUnknownFields
public final Osmformat.DenseInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Osmformat.DenseInfo.Builder>
-
-