Class Osmformat.DenseNodes.Builder
java.lang.Object
proto4.AbstractMessageLite.Builder
proto4.AbstractMessage.Builder<BuilderT>
proto4.GeneratedMessage.Builder<Osmformat.DenseNodes.Builder>
org.apache.sedona.sql.datasources.osmpbf.build.Osmformat.DenseNodes.Builder
- All Implemented Interfaces:
Cloneable,Osmformat.DenseNodesOrBuilder,proto4.Message.Builder,proto4.MessageLite.Builder,proto4.MessageLiteOrBuilder,proto4.MessageOrBuilder
- Enclosing class:
- Osmformat.DenseNodes
public static final class Osmformat.DenseNodes.Builder
extends proto4.GeneratedMessage.Builder<Osmformat.DenseNodes.Builder>
implements Osmformat.DenseNodesOrBuilder
Protobuf type
DenseNodes-
Method Summary
Modifier and TypeMethodDescriptionDELTA codedaddAllKeysVals(Iterable<? extends Integer> values) Special packing of keys and vals into one array.DELTA codedDELTA codedaddId(long value) DELTA codedaddKeysVals(int value) Special packing of keys and vals into one array.addLat(long value) DELTA codedaddLon(long value) DELTA codedbuild()clear()repeated Info info = 4;clearId()DELTA codedSpecial packing of keys and vals into one array.clearLat()DELTA codedclearLon()DELTA codedrepeated Info info = 4;repeated Info info = 4;repeated Info info = 4;static final proto4.Descriptors.Descriptorproto4.Descriptors.DescriptorlonggetId(int index) DELTA codedintDELTA codedDELTA codedintgetKeysVals(int index) Special packing of keys and vals into one array.intSpecial packing of keys and vals into one array.Special packing of keys and vals into one array.longgetLat(int index) DELTA codedintDELTA codedDELTA codedlonggetLon(int index) DELTA codedintDELTA codedDELTA codedbooleanrepeated Info info = 4;protected proto4.GeneratedMessage.FieldAccessorTablefinal booleanrepeated Info info = 4;mergeFrom(Osmformat.DenseNodes other) mergeFrom(proto4.CodedInputStream input, proto4.ExtensionRegistryLite extensionRegistry) mergeFrom(proto4.Message other) setDenseinfo(Osmformat.DenseInfo value) repeated Info info = 4;setDenseinfo(Osmformat.DenseInfo.Builder builderForValue) repeated Info info = 4;setId(int index, long value) DELTA codedsetKeysVals(int index, int value) Special packing of keys and vals into one array.setLat(int index, long value) DELTA codedsetLon(int index, long value) DELTA codedMethods 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.DenseNodes.Builder>
-
clear
- Specified by:
clearin interfaceproto4.Message.Builder- Specified by:
clearin interfaceproto4.MessageLite.Builder- Overrides:
clearin classproto4.GeneratedMessage.Builder<Osmformat.DenseNodes.Builder>
-
getDescriptorForType
public proto4.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfaceproto4.Message.Builder- Specified by:
getDescriptorForTypein interfaceproto4.MessageOrBuilder- Overrides:
getDescriptorForTypein classproto4.GeneratedMessage.Builder<Osmformat.DenseNodes.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.DenseNodes.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfaceproto4.MessageLiteOrBuilder- Overrides:
isInitializedin classproto4.GeneratedMessage.Builder<Osmformat.DenseNodes.Builder>
-
mergeFrom
public Osmformat.DenseNodes.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.DenseNodes.Builder>- Throws:
IOException
-
getIdList
DELTA coded
repeated sint64 id = 1 [packed = true];- Specified by:
getIdListin interfaceOsmformat.DenseNodesOrBuilder- Returns:
- A list containing the id.
-
getIdCount
public int getIdCount()DELTA coded
repeated sint64 id = 1 [packed = true];- Specified by:
getIdCountin interfaceOsmformat.DenseNodesOrBuilder- Returns:
- The count of id.
-
getId
public long getId(int index) DELTA coded
repeated sint64 id = 1 [packed = true];- Specified by:
getIdin interfaceOsmformat.DenseNodesOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The id at the given index.
-
setId
DELTA coded
repeated sint64 id = 1 [packed = true];- Parameters:
index- The index to set the value at.value- The id to set.- Returns:
- This builder for chaining.
-
addId
DELTA coded
repeated sint64 id = 1 [packed = true];- Parameters:
value- The id to add.- Returns:
- This builder for chaining.
-
addAllId
DELTA coded
repeated sint64 id = 1 [packed = true];- Parameters:
values- The id to add.- Returns:
- This builder for chaining.
-
clearId
DELTA coded
repeated sint64 id = 1 [packed = true];- Returns:
- This builder for chaining.
-
hasDenseinfo
public boolean hasDenseinfo()repeated Info info = 4;
optional .DenseInfo denseinfo = 5;- Specified by:
hasDenseinfoin interfaceOsmformat.DenseNodesOrBuilder- Returns:
- Whether the denseinfo field is set.
-
getDenseinfo
repeated Info info = 4;
optional .DenseInfo denseinfo = 5;- Specified by:
getDenseinfoin interfaceOsmformat.DenseNodesOrBuilder- Returns:
- The denseinfo.
-
setDenseinfo
repeated Info info = 4;
optional .DenseInfo denseinfo = 5; -
setDenseinfo
repeated Info info = 4;
optional .DenseInfo denseinfo = 5; -
mergeDenseinfo
repeated Info info = 4;
optional .DenseInfo denseinfo = 5; -
clearDenseinfo
repeated Info info = 4;
optional .DenseInfo denseinfo = 5; -
getDenseinfoBuilder
repeated Info info = 4;
optional .DenseInfo denseinfo = 5; -
getDenseinfoOrBuilder
repeated Info info = 4;
optional .DenseInfo denseinfo = 5;- Specified by:
getDenseinfoOrBuilderin interfaceOsmformat.DenseNodesOrBuilder
-
getLatList
DELTA coded
repeated sint64 lat = 8 [packed = true];- Specified by:
getLatListin interfaceOsmformat.DenseNodesOrBuilder- Returns:
- A list containing the lat.
-
getLatCount
public int getLatCount()DELTA coded
repeated sint64 lat = 8 [packed = true];- Specified by:
getLatCountin interfaceOsmformat.DenseNodesOrBuilder- Returns:
- The count of lat.
-
getLat
public long getLat(int index) DELTA coded
repeated sint64 lat = 8 [packed = true];- Specified by:
getLatin interfaceOsmformat.DenseNodesOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The lat at the given index.
-
setLat
DELTA coded
repeated sint64 lat = 8 [packed = true];- Parameters:
index- The index to set the value at.value- The lat to set.- Returns:
- This builder for chaining.
-
addLat
DELTA coded
repeated sint64 lat = 8 [packed = true];- Parameters:
value- The lat to add.- Returns:
- This builder for chaining.
-
addAllLat
DELTA coded
repeated sint64 lat = 8 [packed = true];- Parameters:
values- The lat to add.- Returns:
- This builder for chaining.
-
clearLat
DELTA coded
repeated sint64 lat = 8 [packed = true];- Returns:
- This builder for chaining.
-
getLonList
DELTA coded
repeated sint64 lon = 9 [packed = true];- Specified by:
getLonListin interfaceOsmformat.DenseNodesOrBuilder- Returns:
- A list containing the lon.
-
getLonCount
public int getLonCount()DELTA coded
repeated sint64 lon = 9 [packed = true];- Specified by:
getLonCountin interfaceOsmformat.DenseNodesOrBuilder- Returns:
- The count of lon.
-
getLon
public long getLon(int index) DELTA coded
repeated sint64 lon = 9 [packed = true];- Specified by:
getLonin interfaceOsmformat.DenseNodesOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The lon at the given index.
-
setLon
DELTA coded
repeated sint64 lon = 9 [packed = true];- Parameters:
index- The index to set the value at.value- The lon to set.- Returns:
- This builder for chaining.
-
addLon
DELTA coded
repeated sint64 lon = 9 [packed = true];- Parameters:
value- The lon to add.- Returns:
- This builder for chaining.
-
addAllLon
DELTA coded
repeated sint64 lon = 9 [packed = true];- Parameters:
values- The lon to add.- Returns:
- This builder for chaining.
-
clearLon
DELTA coded
repeated sint64 lon = 9 [packed = true];- Returns:
- This builder for chaining.
-
getKeysValsList
Special packing of keys and vals into one array. May be empty if all nodes in this block are tagless.
repeated int32 keys_vals = 10 [packed = true];- Specified by:
getKeysValsListin interfaceOsmformat.DenseNodesOrBuilder- Returns:
- A list containing the keysVals.
-
getKeysValsCount
public int getKeysValsCount()Special packing of keys and vals into one array. May be empty if all nodes in this block are tagless.
repeated int32 keys_vals = 10 [packed = true];- Specified by:
getKeysValsCountin interfaceOsmformat.DenseNodesOrBuilder- Returns:
- The count of keysVals.
-
getKeysVals
public int getKeysVals(int index) Special packing of keys and vals into one array. May be empty if all nodes in this block are tagless.
repeated int32 keys_vals = 10 [packed = true];- Specified by:
getKeysValsin interfaceOsmformat.DenseNodesOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The keysVals at the given index.
-
setKeysVals
Special packing of keys and vals into one array. May be empty if all nodes in this block are tagless.
repeated int32 keys_vals = 10 [packed = true];- Parameters:
index- The index to set the value at.value- The keysVals to set.- Returns:
- This builder for chaining.
-
addKeysVals
Special packing of keys and vals into one array. May be empty if all nodes in this block are tagless.
repeated int32 keys_vals = 10 [packed = true];- Parameters:
value- The keysVals to add.- Returns:
- This builder for chaining.
-
addAllKeysVals
Special packing of keys and vals into one array. May be empty if all nodes in this block are tagless.
repeated int32 keys_vals = 10 [packed = true];- Parameters:
values- The keysVals to add.- Returns:
- This builder for chaining.
-
clearKeysVals
Special packing of keys and vals into one array. May be empty if all nodes in this block are tagless.
repeated int32 keys_vals = 10 [packed = true];- Returns:
- This builder for chaining.
-