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 typeDenseNodes
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Osmformat.DenseNodes.Builder
addAllId(Iterable<? extends Long> values)
DELTA codedOsmformat.DenseNodes.Builder
addAllKeysVals(Iterable<? extends Integer> values)
Special packing of keys and vals into one array.Osmformat.DenseNodes.Builder
addAllLat(Iterable<? extends Long> values)
DELTA codedOsmformat.DenseNodes.Builder
addAllLon(Iterable<? extends Long> values)
DELTA codedOsmformat.DenseNodes.Builder
addId(long value)
DELTA codedOsmformat.DenseNodes.Builder
addKeysVals(int value)
Special packing of keys and vals into one array.Osmformat.DenseNodes.Builder
addLat(long value)
DELTA codedOsmformat.DenseNodes.Builder
addLon(long value)
DELTA codedOsmformat.DenseNodes
build()
Osmformat.DenseNodes
buildPartial()
Osmformat.DenseNodes.Builder
clear()
Osmformat.DenseNodes.Builder
clearDenseinfo()
repeated Info info = 4;Osmformat.DenseNodes.Builder
clearId()
DELTA codedOsmformat.DenseNodes.Builder
clearKeysVals()
Special packing of keys and vals into one array.Osmformat.DenseNodes.Builder
clearLat()
DELTA codedOsmformat.DenseNodes.Builder
clearLon()
DELTA codedOsmformat.DenseNodes
getDefaultInstanceForType()
Osmformat.DenseInfo
getDenseinfo()
repeated Info info = 4;Osmformat.DenseInfo.Builder
getDenseinfoBuilder()
repeated Info info = 4;Osmformat.DenseInfoOrBuilder
getDenseinfoOrBuilder()
repeated Info info = 4;static proto4.Descriptors.Descriptor
getDescriptor()
proto4.Descriptors.Descriptor
getDescriptorForType()
long
getId(int index)
DELTA codedint
getIdCount()
DELTA codedList<Long>
getIdList()
DELTA codedint
getKeysVals(int index)
Special packing of keys and vals into one array.int
getKeysValsCount()
Special packing of keys and vals into one array.List<Integer>
getKeysValsList()
Special packing of keys and vals into one array.long
getLat(int index)
DELTA codedint
getLatCount()
DELTA codedList<Long>
getLatList()
DELTA codedlong
getLon(int index)
DELTA codedint
getLonCount()
DELTA codedList<Long>
getLonList()
DELTA codedboolean
hasDenseinfo()
repeated Info info = 4;protected proto4.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Osmformat.DenseNodes.Builder
mergeDenseinfo(Osmformat.DenseInfo value)
repeated Info info = 4;Osmformat.DenseNodes.Builder
mergeFrom(Osmformat.DenseNodes other)
Osmformat.DenseNodes.Builder
mergeFrom(proto4.CodedInputStream input, proto4.ExtensionRegistryLite extensionRegistry)
Osmformat.DenseNodes.Builder
mergeFrom(proto4.Message other)
Osmformat.DenseNodes.Builder
setDenseinfo(Osmformat.DenseInfo value)
repeated Info info = 4;Osmformat.DenseNodes.Builder
setDenseinfo(Osmformat.DenseInfo.Builder builderForValue)
repeated Info info = 4;Osmformat.DenseNodes.Builder
setId(int index, long value)
DELTA codedOsmformat.DenseNodes.Builder
setKeysVals(int index, int value)
Special packing of keys and vals into one array.Osmformat.DenseNodes.Builder
setLat(int index, long value)
DELTA codedOsmformat.DenseNodes.Builder
setLon(int index, long value)
DELTA coded-
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, setUnknownFieldsProto3
-
Methods inherited from class proto4.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class proto4.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final proto4.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected proto4.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classproto4.GeneratedMessage.Builder<Osmformat.DenseNodes.Builder>
-
clear
public Osmformat.DenseNodes.Builder clear()
- Specified by:
clear
in interfaceproto4.Message.Builder
- Specified by:
clear
in interfaceproto4.MessageLite.Builder
- Overrides:
clear
in classproto4.GeneratedMessage.Builder<Osmformat.DenseNodes.Builder>
-
getDescriptorForType
public proto4.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfaceproto4.Message.Builder
- Specified by:
getDescriptorForType
in interfaceproto4.MessageOrBuilder
- Overrides:
getDescriptorForType
in classproto4.GeneratedMessage.Builder<Osmformat.DenseNodes.Builder>
-
getDefaultInstanceForType
public Osmformat.DenseNodes getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceproto4.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceproto4.MessageOrBuilder
-
build
public Osmformat.DenseNodes build()
- Specified by:
build
in interfaceproto4.Message.Builder
- Specified by:
build
in interfaceproto4.MessageLite.Builder
-
buildPartial
public Osmformat.DenseNodes buildPartial()
- Specified by:
buildPartial
in interfaceproto4.Message.Builder
- Specified by:
buildPartial
in interfaceproto4.MessageLite.Builder
-
mergeFrom
public Osmformat.DenseNodes.Builder mergeFrom(proto4.Message other)
- Specified by:
mergeFrom
in interfaceproto4.Message.Builder
- Overrides:
mergeFrom
in classproto4.AbstractMessage.Builder<Osmformat.DenseNodes.Builder>
-
mergeFrom
public Osmformat.DenseNodes.Builder mergeFrom(Osmformat.DenseNodes other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfaceproto4.MessageLiteOrBuilder
- Overrides:
isInitialized
in classproto4.GeneratedMessage.Builder<Osmformat.DenseNodes.Builder>
-
mergeFrom
public Osmformat.DenseNodes.Builder mergeFrom(proto4.CodedInputStream input, proto4.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfaceproto4.Message.Builder
- Specified by:
mergeFrom
in interfaceproto4.MessageLite.Builder
- Overrides:
mergeFrom
in classproto4.AbstractMessage.Builder<Osmformat.DenseNodes.Builder>
- Throws:
IOException
-
getIdList
public List<Long> getIdList()
DELTA coded
repeated sint64 id = 1 [packed = true];
- Specified by:
getIdList
in interfaceOsmformat.DenseNodesOrBuilder
- Returns:
- A list containing the id.
-
getIdCount
public int getIdCount()
DELTA coded
repeated sint64 id = 1 [packed = true];
- Specified by:
getIdCount
in interfaceOsmformat.DenseNodesOrBuilder
- Returns:
- The count of id.
-
getId
public long getId(int index)
DELTA coded
repeated sint64 id = 1 [packed = true];
- Specified by:
getId
in interfaceOsmformat.DenseNodesOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The id at the given index.
-
setId
public Osmformat.DenseNodes.Builder setId(int index, long value)
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
public Osmformat.DenseNodes.Builder addId(long value)
DELTA coded
repeated sint64 id = 1 [packed = true];
- Parameters:
value
- The id to add.- Returns:
- This builder for chaining.
-
addAllId
public Osmformat.DenseNodes.Builder addAllId(Iterable<? extends Long> values)
DELTA coded
repeated sint64 id = 1 [packed = true];
- Parameters:
values
- The id to add.- Returns:
- This builder for chaining.
-
clearId
public Osmformat.DenseNodes.Builder 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:
hasDenseinfo
in interfaceOsmformat.DenseNodesOrBuilder
- Returns:
- Whether the denseinfo field is set.
-
getDenseinfo
public Osmformat.DenseInfo getDenseinfo()
repeated Info info = 4;
optional .DenseInfo denseinfo = 5;
- Specified by:
getDenseinfo
in interfaceOsmformat.DenseNodesOrBuilder
- Returns:
- The denseinfo.
-
setDenseinfo
public Osmformat.DenseNodes.Builder setDenseinfo(Osmformat.DenseInfo value)
repeated Info info = 4;
optional .DenseInfo denseinfo = 5;
-
setDenseinfo
public Osmformat.DenseNodes.Builder setDenseinfo(Osmformat.DenseInfo.Builder builderForValue)
repeated Info info = 4;
optional .DenseInfo denseinfo = 5;
-
mergeDenseinfo
public Osmformat.DenseNodes.Builder mergeDenseinfo(Osmformat.DenseInfo value)
repeated Info info = 4;
optional .DenseInfo denseinfo = 5;
-
clearDenseinfo
public Osmformat.DenseNodes.Builder clearDenseinfo()
repeated Info info = 4;
optional .DenseInfo denseinfo = 5;
-
getDenseinfoBuilder
public Osmformat.DenseInfo.Builder getDenseinfoBuilder()
repeated Info info = 4;
optional .DenseInfo denseinfo = 5;
-
getDenseinfoOrBuilder
public Osmformat.DenseInfoOrBuilder getDenseinfoOrBuilder()
repeated Info info = 4;
optional .DenseInfo denseinfo = 5;
- Specified by:
getDenseinfoOrBuilder
in interfaceOsmformat.DenseNodesOrBuilder
-
getLatList
public List<Long> getLatList()
DELTA coded
repeated sint64 lat = 8 [packed = true];
- Specified by:
getLatList
in interfaceOsmformat.DenseNodesOrBuilder
- Returns:
- A list containing the lat.
-
getLatCount
public int getLatCount()
DELTA coded
repeated sint64 lat = 8 [packed = true];
- Specified by:
getLatCount
in interfaceOsmformat.DenseNodesOrBuilder
- Returns:
- The count of lat.
-
getLat
public long getLat(int index)
DELTA coded
repeated sint64 lat = 8 [packed = true];
- Specified by:
getLat
in interfaceOsmformat.DenseNodesOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The lat at the given index.
-
setLat
public Osmformat.DenseNodes.Builder setLat(int index, long value)
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
public Osmformat.DenseNodes.Builder addLat(long value)
DELTA coded
repeated sint64 lat = 8 [packed = true];
- Parameters:
value
- The lat to add.- Returns:
- This builder for chaining.
-
addAllLat
public Osmformat.DenseNodes.Builder addAllLat(Iterable<? extends Long> values)
DELTA coded
repeated sint64 lat = 8 [packed = true];
- Parameters:
values
- The lat to add.- Returns:
- This builder for chaining.
-
clearLat
public Osmformat.DenseNodes.Builder clearLat()
DELTA coded
repeated sint64 lat = 8 [packed = true];
- Returns:
- This builder for chaining.
-
getLonList
public List<Long> getLonList()
DELTA coded
repeated sint64 lon = 9 [packed = true];
- Specified by:
getLonList
in interfaceOsmformat.DenseNodesOrBuilder
- Returns:
- A list containing the lon.
-
getLonCount
public int getLonCount()
DELTA coded
repeated sint64 lon = 9 [packed = true];
- Specified by:
getLonCount
in interfaceOsmformat.DenseNodesOrBuilder
- Returns:
- The count of lon.
-
getLon
public long getLon(int index)
DELTA coded
repeated sint64 lon = 9 [packed = true];
- Specified by:
getLon
in interfaceOsmformat.DenseNodesOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The lon at the given index.
-
setLon
public Osmformat.DenseNodes.Builder setLon(int index, long value)
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
public Osmformat.DenseNodes.Builder addLon(long value)
DELTA coded
repeated sint64 lon = 9 [packed = true];
- Parameters:
value
- The lon to add.- Returns:
- This builder for chaining.
-
addAllLon
public Osmformat.DenseNodes.Builder addAllLon(Iterable<? extends Long> values)
DELTA coded
repeated sint64 lon = 9 [packed = true];
- Parameters:
values
- The lon to add.- Returns:
- This builder for chaining.
-
clearLon
public Osmformat.DenseNodes.Builder clearLon()
DELTA coded
repeated sint64 lon = 9 [packed = true];
- Returns:
- This builder for chaining.
-
getKeysValsList
public List<Integer> 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:
getKeysValsList
in 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:
getKeysValsCount
in 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:
getKeysVals
in interfaceOsmformat.DenseNodesOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The keysVals at the given index.
-
setKeysVals
public Osmformat.DenseNodes.Builder setKeysVals(int index, int value)
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
public Osmformat.DenseNodes.Builder addKeysVals(int value)
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
public Osmformat.DenseNodes.Builder addAllKeysVals(Iterable<? extends Integer> values)
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
public Osmformat.DenseNodes.Builder 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.
-
-