Class Osmformat.DenseNodes
- java.lang.Object
-
- proto4.AbstractMessageLite
-
- proto4.AbstractMessage
-
- proto4.GeneratedMessage
-
- org.apache.sedona.sql.datasources.osmpbf.build.Osmformat.DenseNodes
-
- All Implemented Interfaces:
Serializable,Osmformat.DenseNodesOrBuilder,proto4.Message,proto4.MessageLite,proto4.MessageLiteOrBuilder,proto4.MessageOrBuilder
- Enclosing class:
- Osmformat
public static final class Osmformat.DenseNodes extends proto4.GeneratedMessage implements Osmformat.DenseNodesOrBuilder
Protobuf typeDenseNodes- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOsmformat.DenseNodes.BuilderProtobuf typeDenseNodes-
Nested classes/interfaces inherited from class proto4.GeneratedMessage
proto4.GeneratedMessage.ExtendableBuilder<MessageT extends proto4.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends proto4.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, proto4.GeneratedMessage.ExtendableMessage<MessageT extends proto4.GeneratedMessage.ExtendableMessage<MessageT>>, proto4.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends proto4.GeneratedMessage.ExtendableMessage<MessageT>>, proto4.GeneratedMessage.FieldAccessorTable, proto4.GeneratedMessage.GeneratedExtension<ContainingT extends proto4.Message,T extends Object>, proto4.GeneratedMessage.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intDENSEINFO_FIELD_NUMBERstatic intID_FIELD_NUMBERstatic intKEYS_VALS_FIELD_NUMBERstatic intLAT_FIELD_NUMBERstatic intLON_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static Osmformat.DenseNodesgetDefaultInstance()Osmformat.DenseNodesgetDefaultInstanceForType()Osmformat.DenseInfogetDenseinfo()repeated Info info = 4;Osmformat.DenseInfoOrBuildergetDenseinfoOrBuilder()repeated Info info = 4;static proto4.Descriptors.DescriptorgetDescriptor()longgetId(int index)DELTA codedintgetIdCount()DELTA codedList<Long>getIdList()DELTA codedintgetKeysVals(int index)Special packing of keys and vals into one array.intgetKeysValsCount()Special packing of keys and vals into one array.List<Integer>getKeysValsList()Special packing of keys and vals into one array.longgetLat(int index)DELTA codedintgetLatCount()DELTA codedList<Long>getLatList()DELTA codedlonggetLon(int index)DELTA codedintgetLonCount()DELTA codedList<Long>getLonList()DELTA codedproto4.Parser<Osmformat.DenseNodes>getParserForType()intgetSerializedSize()booleanhasDenseinfo()repeated Info info = 4;inthashCode()protected proto4.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Osmformat.DenseNodes.BuildernewBuilder()static Osmformat.DenseNodes.BuildernewBuilder(Osmformat.DenseNodes prototype)Osmformat.DenseNodes.BuildernewBuilderForType()protected Osmformat.DenseNodes.BuildernewBuilderForType(proto4.AbstractMessage.BuilderParent parent)static Osmformat.DenseNodesparseDelimitedFrom(InputStream input)static Osmformat.DenseNodesparseDelimitedFrom(InputStream input, proto4.ExtensionRegistryLite extensionRegistry)static Osmformat.DenseNodesparseFrom(byte[] data)static Osmformat.DenseNodesparseFrom(byte[] data, proto4.ExtensionRegistryLite extensionRegistry)static Osmformat.DenseNodesparseFrom(InputStream input)static Osmformat.DenseNodesparseFrom(InputStream input, proto4.ExtensionRegistryLite extensionRegistry)static Osmformat.DenseNodesparseFrom(ByteBuffer data)static Osmformat.DenseNodesparseFrom(ByteBuffer data, proto4.ExtensionRegistryLite extensionRegistry)static Osmformat.DenseNodesparseFrom(proto4.ByteString data)static Osmformat.DenseNodesparseFrom(proto4.ByteString data, proto4.ExtensionRegistryLite extensionRegistry)static Osmformat.DenseNodesparseFrom(proto4.CodedInputStream input)static Osmformat.DenseNodesparseFrom(proto4.CodedInputStream input, proto4.ExtensionRegistryLite extensionRegistry)static proto4.Parser<Osmformat.DenseNodes>parser()Osmformat.DenseNodes.BuildertoBuilder()voidwriteTo(proto4.CodedOutputStream output)-
Methods inherited from class proto4.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class proto4.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toString
-
Methods inherited from class proto4.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DENSEINFO_FIELD_NUMBER
public static final int DENSEINFO_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LAT_FIELD_NUMBER
public static final int LAT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LON_FIELD_NUMBER
public static final int LON_FIELD_NUMBER
- See Also:
- Constant Field Values
-
KEYS_VALS_FIELD_NUMBER
public static final int KEYS_VALS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDescriptor
public static final proto4.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected proto4.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classproto4.GeneratedMessage
-
getIdList
public List<Long> 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.
-
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
public Osmformat.DenseInfo getDenseinfo()
repeated Info info = 4;
optional .DenseInfo denseinfo = 5;- Specified by:
getDenseinfoin interfaceOsmformat.DenseNodesOrBuilder- Returns:
- The denseinfo.
-
getDenseinfoOrBuilder
public Osmformat.DenseInfoOrBuilder getDenseinfoOrBuilder()
repeated Info info = 4;
optional .DenseInfo denseinfo = 5;- Specified by:
getDenseinfoOrBuilderin interfaceOsmformat.DenseNodesOrBuilder
-
getLatList
public List<Long> 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.
-
getLonList
public List<Long> 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.
-
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:
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.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfaceproto4.MessageLiteOrBuilder- Overrides:
isInitializedin classproto4.GeneratedMessage
-
writeTo
public void writeTo(proto4.CodedOutputStream output) throws IOException- Specified by:
writeToin interfaceproto4.MessageLite- Overrides:
writeToin classproto4.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfaceproto4.MessageLite- Overrides:
getSerializedSizein classproto4.GeneratedMessage
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfaceproto4.Message- Overrides:
equalsin classproto4.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfaceproto4.Message- Overrides:
hashCodein classproto4.AbstractMessage
-
parseFrom
public static Osmformat.DenseNodes parseFrom(ByteBuffer data) throws proto4.InvalidProtocolBufferException
- Throws:
proto4.InvalidProtocolBufferException
-
parseFrom
public static Osmformat.DenseNodes parseFrom(ByteBuffer data, proto4.ExtensionRegistryLite extensionRegistry) throws proto4.InvalidProtocolBufferException
- Throws:
proto4.InvalidProtocolBufferException
-
parseFrom
public static Osmformat.DenseNodes parseFrom(proto4.ByteString data) throws proto4.InvalidProtocolBufferException
- Throws:
proto4.InvalidProtocolBufferException
-
parseFrom
public static Osmformat.DenseNodes parseFrom(proto4.ByteString data, proto4.ExtensionRegistryLite extensionRegistry) throws proto4.InvalidProtocolBufferException
- Throws:
proto4.InvalidProtocolBufferException
-
parseFrom
public static Osmformat.DenseNodes parseFrom(byte[] data) throws proto4.InvalidProtocolBufferException
- Throws:
proto4.InvalidProtocolBufferException
-
parseFrom
public static Osmformat.DenseNodes parseFrom(byte[] data, proto4.ExtensionRegistryLite extensionRegistry) throws proto4.InvalidProtocolBufferException
- Throws:
proto4.InvalidProtocolBufferException
-
parseFrom
public static Osmformat.DenseNodes parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Osmformat.DenseNodes parseFrom(InputStream input, proto4.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Osmformat.DenseNodes parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Osmformat.DenseNodes parseDelimitedFrom(InputStream input, proto4.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Osmformat.DenseNodes parseFrom(proto4.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Osmformat.DenseNodes parseFrom(proto4.CodedInputStream input, proto4.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Osmformat.DenseNodes.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfaceproto4.Message- Specified by:
newBuilderForTypein interfaceproto4.MessageLite
-
newBuilder
public static Osmformat.DenseNodes.Builder newBuilder()
-
newBuilder
public static Osmformat.DenseNodes.Builder newBuilder(Osmformat.DenseNodes prototype)
-
toBuilder
public Osmformat.DenseNodes.Builder toBuilder()
- Specified by:
toBuilderin interfaceproto4.Message- Specified by:
toBuilderin interfaceproto4.MessageLite
-
newBuilderForType
protected Osmformat.DenseNodes.Builder newBuilderForType(proto4.AbstractMessage.BuilderParent parent)
- Overrides:
newBuilderForTypein classproto4.AbstractMessage
-
getDefaultInstance
public static Osmformat.DenseNodes getDefaultInstance()
-
parser
public static proto4.Parser<Osmformat.DenseNodes> parser()
-
getParserForType
public proto4.Parser<Osmformat.DenseNodes> getParserForType()
- Specified by:
getParserForTypein interfaceproto4.Message- Specified by:
getParserForTypein interfaceproto4.MessageLite- Overrides:
getParserForTypein classproto4.GeneratedMessage
-
getDefaultInstanceForType
public Osmformat.DenseNodes getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfaceproto4.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceproto4.MessageOrBuilder
-
-