Class Osmformat.DenseInfo.Builder
java.lang.Object
proto4.AbstractMessageLite.Builder
proto4.AbstractMessage.Builder<BuilderT>
proto4.GeneratedMessage.Builder<Osmformat.DenseInfo.Builder>
org.apache.sedona.sql.datasources.osmpbf.build.Osmformat.DenseInfo.Builder
- All Implemented Interfaces:
Cloneable,Osmformat.DenseInfoOrBuilder,proto4.Message.Builder,proto4.MessageLite.Builder,proto4.MessageLiteOrBuilder,proto4.MessageOrBuilder
- Enclosing class:
- Osmformat.DenseInfo
public static final class Osmformat.DenseInfo.Builder
extends proto4.GeneratedMessage.Builder<Osmformat.DenseInfo.Builder>
implements Osmformat.DenseInfoOrBuilder
* Optional metadata that may be included into each primitive. Special dense format used in DenseNodes.
Protobuf type 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 proto4.Descriptors.Descriptorproto4.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 proto4.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(Osmformat.DenseInfo other) mergeFrom(proto4.CodedInputStream input, proto4.ExtensionRegistryLite extensionRegistry) mergeFrom(proto4.Message 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 proto4.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 proto4.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class proto4.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 proto4.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface proto4.MessageLite.Builder
mergeFromMethods inherited from interface proto4.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final proto4.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected proto4.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classproto4.GeneratedMessage.Builder<Osmformat.DenseInfo.Builder>
-
clear
- Specified by:
clearin interfaceproto4.Message.Builder- Specified by:
clearin interfaceproto4.MessageLite.Builder- Overrides:
clearin classproto4.GeneratedMessage.Builder<Osmformat.DenseInfo.Builder>
-
getDescriptorForType
public proto4.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfaceproto4.Message.Builder- Specified by:
getDescriptorForTypein interfaceproto4.MessageOrBuilder- Overrides:
getDescriptorForTypein classproto4.GeneratedMessage.Builder<Osmformat.DenseInfo.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfaceproto4.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceproto4.MessageOrBuilder
-
build
- Specified by:
buildin interfaceproto4.Message.Builder- Specified by:
buildin interfaceproto4.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfaceproto4.Message.Builder- Specified by:
buildPartialin interfaceproto4.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfaceproto4.Message.Builder- Overrides:
mergeFromin classproto4.AbstractMessage.Builder<Osmformat.DenseInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfaceproto4.MessageLiteOrBuilder- Overrides:
isInitializedin classproto4.GeneratedMessage.Builder<Osmformat.DenseInfo.Builder>
-
mergeFrom
public Osmformat.DenseInfo.Builder mergeFrom(proto4.CodedInputStream input, proto4.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfaceproto4.Message.Builder- Specified by:
mergeFromin interfaceproto4.MessageLite.Builder- Overrides:
mergeFromin classproto4.AbstractMessage.Builder<Osmformat.DenseInfo.Builder>- Throws:
IOException
-
getVersionList
repeated int32 version = 1 [packed = true];- Specified by:
getVersionListin interfaceOsmformat.DenseInfoOrBuilder- Returns:
- A list containing the version.
-
getVersionCount
public int getVersionCount()repeated int32 version = 1 [packed = true];- Specified by:
getVersionCountin interfaceOsmformat.DenseInfoOrBuilder- Returns:
- The count of version.
-
getVersion
public int getVersion(int index) repeated int32 version = 1 [packed = true];- Specified by:
getVersionin interfaceOsmformat.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 interfaceOsmformat.DenseInfoOrBuilder- Returns:
- A list containing the timestamp.
-
getTimestampCount
public int getTimestampCount()DELTA coded
repeated sint64 timestamp = 2 [packed = true];- Specified by:
getTimestampCountin interfaceOsmformat.DenseInfoOrBuilder- Returns:
- The count of timestamp.
-
getTimestamp
public long getTimestamp(int index) DELTA coded
repeated sint64 timestamp = 2 [packed = true];- Specified by:
getTimestampin interfaceOsmformat.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 interfaceOsmformat.DenseInfoOrBuilder- Returns:
- A list containing the changeset.
-
getChangesetCount
public int getChangesetCount()DELTA coded
repeated sint64 changeset = 3 [packed = true];- Specified by:
getChangesetCountin interfaceOsmformat.DenseInfoOrBuilder- Returns:
- The count of changeset.
-
getChangeset
public long getChangeset(int index) DELTA coded
repeated sint64 changeset = 3 [packed = true];- Specified by:
getChangesetin interfaceOsmformat.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 interfaceOsmformat.DenseInfoOrBuilder- Returns:
- A list containing the uid.
-
getUidCount
public int getUidCount()DELTA coded
repeated sint32 uid = 4 [packed = true];- Specified by:
getUidCountin interfaceOsmformat.DenseInfoOrBuilder- Returns:
- The count of uid.
-
getUid
public int getUid(int index) DELTA coded
repeated sint32 uid = 4 [packed = true];- Specified by:
getUidin interfaceOsmformat.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 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:
getUserSidCountin 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:
getUserSidin interfaceOsmformat.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 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:
getVisibleCountin 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:
getVisiblein interfaceOsmformat.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.
-