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 Details

    • getDescriptor

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

      protected proto4.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class proto4.GeneratedMessage.Builder<Osmformat.DenseNodes.Builder>
    • clear

      Specified by:
      clear in interface proto4.Message.Builder
      Specified by:
      clear in interface proto4.MessageLite.Builder
      Overrides:
      clear in class proto4.GeneratedMessage.Builder<Osmformat.DenseNodes.Builder>
    • getDescriptorForType

      public proto4.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface proto4.Message.Builder
      Specified by:
      getDescriptorForType in interface proto4.MessageOrBuilder
      Overrides:
      getDescriptorForType in class proto4.GeneratedMessage.Builder<Osmformat.DenseNodes.Builder>
    • getDefaultInstanceForType

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

      public Osmformat.DenseNodes build()
      Specified by:
      build in interface proto4.Message.Builder
      Specified by:
      build in interface proto4.MessageLite.Builder
    • buildPartial

      public Osmformat.DenseNodes buildPartial()
      Specified by:
      buildPartial in interface proto4.Message.Builder
      Specified by:
      buildPartial in interface proto4.MessageLite.Builder
    • mergeFrom

      public Osmformat.DenseNodes.Builder mergeFrom(proto4.Message other)
      Specified by:
      mergeFrom in interface proto4.Message.Builder
      Overrides:
      mergeFrom in class proto4.AbstractMessage.Builder<Osmformat.DenseNodes.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface proto4.MessageLiteOrBuilder
      Overrides:
      isInitialized in class proto4.GeneratedMessage.Builder<Osmformat.DenseNodes.Builder>
    • mergeFrom

      public Osmformat.DenseNodes.Builder mergeFrom(proto4.CodedInputStream input, proto4.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface proto4.Message.Builder
      Specified by:
      mergeFrom in interface proto4.MessageLite.Builder
      Overrides:
      mergeFrom in class proto4.AbstractMessage.Builder<Osmformat.DenseNodes.Builder>
      Throws:
      IOException
    • 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.
    • 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 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.
    • setDenseinfo

       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 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.
    • 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 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.
    • 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 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.
    • 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.