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 type DenseNodes
See Also:
  • Field Details

  • Method Details

    • getDescriptor

      public static final proto4.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected proto4.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class proto4.GeneratedMessage
    • getIdList

      public List<Long> getIdList()
       DELTA coded
       
      repeated sint64 id = 1 [packed = true];
      Specified by:
      getIdList in interface Osmformat.DenseNodesOrBuilder
      Returns:
      A list containing the id.
    • getIdCount

      public int getIdCount()
       DELTA coded
       
      repeated sint64 id = 1 [packed = true];
      Specified by:
      getIdCount in interface Osmformat.DenseNodesOrBuilder
      Returns:
      The count of id.
    • getId

      public long getId(int index)
       DELTA coded
       
      repeated sint64 id = 1 [packed = true];
      Specified by:
      getId in interface Osmformat.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:
      hasDenseinfo in interface Osmformat.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 interface Osmformat.DenseNodesOrBuilder
      Returns:
      The denseinfo.
    • getDenseinfoOrBuilder

      public Osmformat.DenseInfoOrBuilder getDenseinfoOrBuilder()
       repeated Info info = 4;
       
      optional .DenseInfo denseinfo = 5;
      Specified by:
      getDenseinfoOrBuilder in interface Osmformat.DenseNodesOrBuilder
    • getLatList

      public List<Long> getLatList()
       DELTA coded
       
      repeated sint64 lat = 8 [packed = true];
      Specified by:
      getLatList in interface Osmformat.DenseNodesOrBuilder
      Returns:
      A list containing the lat.
    • getLatCount

      public int getLatCount()
       DELTA coded
       
      repeated sint64 lat = 8 [packed = true];
      Specified by:
      getLatCount in interface Osmformat.DenseNodesOrBuilder
      Returns:
      The count of lat.
    • getLat

      public long getLat(int index)
       DELTA coded
       
      repeated sint64 lat = 8 [packed = true];
      Specified by:
      getLat in interface Osmformat.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:
      getLonList in interface Osmformat.DenseNodesOrBuilder
      Returns:
      A list containing the lon.
    • getLonCount

      public int getLonCount()
       DELTA coded
       
      repeated sint64 lon = 9 [packed = true];
      Specified by:
      getLonCount in interface Osmformat.DenseNodesOrBuilder
      Returns:
      The count of lon.
    • getLon

      public long getLon(int index)
       DELTA coded
       
      repeated sint64 lon = 9 [packed = true];
      Specified by:
      getLon in interface Osmformat.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:
      getKeysValsList in interface Osmformat.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 interface Osmformat.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 interface Osmformat.DenseNodesOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The keysVals at the given index.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface proto4.MessageLiteOrBuilder
      Overrides:
      isInitialized in class proto4.GeneratedMessage
    • writeTo

      public void writeTo(proto4.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface proto4.MessageLite
      Overrides:
      writeTo in class proto4.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface proto4.MessageLite
      Overrides:
      getSerializedSize in class proto4.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface proto4.Message
      Overrides:
      equals in class proto4.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface proto4.Message
      Overrides:
      hashCode in class proto4.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:
      newBuilderForType in interface proto4.Message
      Specified by:
      newBuilderForType in interface proto4.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:
      toBuilder in interface proto4.Message
      Specified by:
      toBuilder in interface proto4.MessageLite
    • newBuilderForType

      protected Osmformat.DenseNodes.Builder newBuilderForType(proto4.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class proto4.AbstractMessage
    • getDefaultInstance

      public static Osmformat.DenseNodes getDefaultInstance()
    • parser

      public static proto4.Parser<Osmformat.DenseNodes> parser()
    • getParserForType

      public proto4.Parser<Osmformat.DenseNodes> getParserForType()
      Specified by:
      getParserForType in interface proto4.Message
      Specified by:
      getParserForType in interface proto4.MessageLite
      Overrides:
      getParserForType in class proto4.GeneratedMessage
    • getDefaultInstanceForType

      public Osmformat.DenseNodes getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface proto4.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface proto4.MessageOrBuilder