Class OSMPBF.DenseInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<OSMPBF.DenseInfo.Builder>
nl.tudelft.simulation.dsol.animation.gis.osm.pbf.OSMPBF.DenseInfo.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,OSMPBF.DenseInfoOrBuilder
- Enclosing class:
- OSMPBF.DenseInfo
public static final class OSMPBF.DenseInfo.Builder
extends com.google.protobuf.GeneratedMessage.Builder<OSMPBF.DenseInfo.Builder>
implements OSMPBF.DenseInfoOrBuilder
* Optional metadata that may be included into each primitive. Special dense format used in DenseNodes.Protobuf type
OSMPBF.DenseInfo-
Method Summary
Modifier and TypeMethodDescriptionaddAllChangeset(Iterable<? extends Long> values) DELTA codedaddAllTimestamp(Iterable<? extends Long> values) DELTA codedDELTA codedaddAllUserSid(Iterable<? extends Integer> values) String IDs for usernames.addAllVersion(Iterable<? extends Integer> values) repeated int32 version = 1 [packed = true];addAllVisible(Iterable<? extends Boolean> values) The visible flag is used to store history information.addChangeset(long value) DELTA codedaddTimestamp(long value) DELTA codedaddUid(int value) DELTA codedaddUserSid(int value) String IDs for usernames.addVersion(int value) repeated int32 version = 1 [packed = true];addVisible(boolean value) The visible flag is used to store history information.build()clear()DELTA codedDELTA codedclearUid()DELTA codedString IDs for usernames.repeated int32 version = 1 [packed = true];The visible flag is used to store history information.longgetChangeset(int index) DELTA codedintDELTA codedDELTA codedstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorlonggetTimestamp(int index) DELTA codedintDELTA codedDELTA codedintgetUid(int index) DELTA codedintDELTA codedDELTA codedintgetUserSid(int index) String IDs for usernames.intString IDs for usernames.String IDs for usernames.intgetVersion(int index) repeated int32 version = 1 [packed = true];intrepeated int32 version = 1 [packed = true];repeated int32 version = 1 [packed = true];booleangetVisible(int index) The visible flag is used to store history information.intThe visible flag is used to store history information.The visible flag is used to store history information.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(OSMPBF.DenseInfo other) setChangeset(int index, long value) DELTA codedsetTimestamp(int index, long value) DELTA codedsetUid(int index, int value) DELTA codedsetUserSid(int index, int value) String IDs for usernames.setVersion(int index, int value) repeated int32 version = 1 [packed = true];setVisible(int index, boolean value) The visible flag is used to store history information.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<OSMPBF.DenseInfo.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<OSMPBF.DenseInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<OSMPBF.DenseInfo.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<OSMPBF.DenseInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<OSMPBF.DenseInfo.Builder>
-
mergeFrom
public OSMPBF.DenseInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<OSMPBF.DenseInfo.Builder>- Throws:
IOException
-
getVersionList
repeated int32 version = 1 [packed = true];- Specified by:
getVersionListin interfaceOSMPBF.DenseInfoOrBuilder- Returns:
- A list containing the version.
-
getVersionCount
public int getVersionCount()repeated int32 version = 1 [packed = true];- Specified by:
getVersionCountin interfaceOSMPBF.DenseInfoOrBuilder- Returns:
- The count of version.
-
getVersion
public int getVersion(int index) repeated int32 version = 1 [packed = true];- Specified by:
getVersionin interfaceOSMPBF.DenseInfoOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The version at the given index.
-
setVersion
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
repeated int32 version = 1 [packed = true];- Parameters:
value- The version to add.- Returns:
- This builder for chaining.
-
addAllVersion
repeated int32 version = 1 [packed = true];- Parameters:
values- The version to add.- Returns:
- This builder for chaining.
-
clearVersion
repeated int32 version = 1 [packed = true];- Returns:
- This builder for chaining.
-
getTimestampList
DELTA coded
repeated sint64 timestamp = 2 [packed = true];- Specified by:
getTimestampListin interfaceOSMPBF.DenseInfoOrBuilder- Returns:
- A list containing the timestamp.
-
getTimestampCount
public int getTimestampCount()DELTA coded
repeated sint64 timestamp = 2 [packed = true];- Specified by:
getTimestampCountin interfaceOSMPBF.DenseInfoOrBuilder- Returns:
- The count of timestamp.
-
getTimestamp
public long getTimestamp(int index) DELTA coded
repeated sint64 timestamp = 2 [packed = true];- Specified by:
getTimestampin interfaceOSMPBF.DenseInfoOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The timestamp at the given index.
-
setTimestamp
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
DELTA coded
repeated sint64 timestamp = 2 [packed = true];- Parameters:
value- The timestamp to add.- Returns:
- This builder for chaining.
-
addAllTimestamp
DELTA coded
repeated sint64 timestamp = 2 [packed = true];- Parameters:
values- The timestamp to add.- Returns:
- This builder for chaining.
-
clearTimestamp
DELTA coded
repeated sint64 timestamp = 2 [packed = true];- Returns:
- This builder for chaining.
-
getChangesetList
DELTA coded
repeated sint64 changeset = 3 [packed = true];- Specified by:
getChangesetListin interfaceOSMPBF.DenseInfoOrBuilder- Returns:
- A list containing the changeset.
-
getChangesetCount
public int getChangesetCount()DELTA coded
repeated sint64 changeset = 3 [packed = true];- Specified by:
getChangesetCountin interfaceOSMPBF.DenseInfoOrBuilder- Returns:
- The count of changeset.
-
getChangeset
public long getChangeset(int index) DELTA coded
repeated sint64 changeset = 3 [packed = true];- Specified by:
getChangesetin interfaceOSMPBF.DenseInfoOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The changeset at the given index.
-
setChangeset
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
DELTA coded
repeated sint64 changeset = 3 [packed = true];- Parameters:
value- The changeset to add.- Returns:
- This builder for chaining.
-
addAllChangeset
DELTA coded
repeated sint64 changeset = 3 [packed = true];- Parameters:
values- The changeset to add.- Returns:
- This builder for chaining.
-
clearChangeset
DELTA coded
repeated sint64 changeset = 3 [packed = true];- Returns:
- This builder for chaining.
-
getUidList
DELTA coded
repeated sint32 uid = 4 [packed = true];- Specified by:
getUidListin interfaceOSMPBF.DenseInfoOrBuilder- Returns:
- A list containing the uid.
-
getUidCount
public int getUidCount()DELTA coded
repeated sint32 uid = 4 [packed = true];- Specified by:
getUidCountin interfaceOSMPBF.DenseInfoOrBuilder- Returns:
- The count of uid.
-
getUid
public int getUid(int index) DELTA coded
repeated sint32 uid = 4 [packed = true];- Specified by:
getUidin interfaceOSMPBF.DenseInfoOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The uid at the given index.
-
setUid
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
DELTA coded
repeated sint32 uid = 4 [packed = true];- Parameters:
value- The uid to add.- Returns:
- This builder for chaining.
-
addAllUid
DELTA coded
repeated sint32 uid = 4 [packed = true];- Parameters:
values- The uid to add.- Returns:
- This builder for chaining.
-
clearUid
DELTA coded
repeated sint32 uid = 4 [packed = true];- Returns:
- This builder for chaining.
-
getUserSidList
String IDs for usernames. DELTA coded
repeated sint32 user_sid = 5 [packed = true];- Specified by:
getUserSidListin interfaceOSMPBF.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:
getUserSidCountin interfaceOSMPBF.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:
getUserSidin interfaceOSMPBF.DenseInfoOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The userSid at the given index.
-
setUserSid
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
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
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
String IDs for usernames. DELTA coded
repeated sint32 user_sid = 5 [packed = true];- Returns:
- This builder for chaining.
-
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:
getVisibleListin interfaceOSMPBF.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:
getVisibleCountin interfaceOSMPBF.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:
getVisiblein interfaceOSMPBF.DenseInfoOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The visible at the given index.
-
setVisible
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
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
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
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.
-