Class Osmformat.Node.Builder

java.lang.Object
proto4.AbstractMessageLite.Builder
proto4.AbstractMessage.Builder<BuilderT>
proto4.GeneratedMessage.Builder<Osmformat.Node.Builder>
org.apache.sedona.sql.datasources.osmpbf.build.Osmformat.Node.Builder
All Implemented Interfaces:
Cloneable, Osmformat.NodeOrBuilder, proto4.Message.Builder, proto4.MessageLite.Builder, proto4.MessageLiteOrBuilder, proto4.MessageOrBuilder
Enclosing class:
Osmformat.Node

public static final class Osmformat.Node.Builder extends proto4.GeneratedMessage.Builder<Osmformat.Node.Builder> implements Osmformat.NodeOrBuilder
Protobuf type Node
  • 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.Node.Builder>
    • clear

      public Osmformat.Node.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.Node.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.Node.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public Osmformat.Node.Builder mergeFrom(Osmformat.Node other)
    • isInitialized

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

      public Osmformat.Node.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.Node.Builder>
      Throws:
      IOException
    • hasId

      public boolean hasId()
      required sint64 id = 1;
      Specified by:
      hasId in interface Osmformat.NodeOrBuilder
      Returns:
      Whether the id field is set.
    • getId

      public long getId()
      required sint64 id = 1;
      Specified by:
      getId in interface Osmformat.NodeOrBuilder
      Returns:
      The id.
    • setId

      public Osmformat.Node.Builder setId(long value)
      required sint64 id = 1;
      Parameters:
      value - The id to set.
      Returns:
      This builder for chaining.
    • clearId

      public Osmformat.Node.Builder clearId()
      required sint64 id = 1;
      Returns:
      This builder for chaining.
    • getKeysList

      public List<Integer> getKeysList()
       Parallel arrays.
       
      repeated uint32 keys = 2 [packed = true];
      Specified by:
      getKeysList in interface Osmformat.NodeOrBuilder
      Returns:
      A list containing the keys.
    • getKeysCount

      public int getKeysCount()
       Parallel arrays.
       
      repeated uint32 keys = 2 [packed = true];
      Specified by:
      getKeysCount in interface Osmformat.NodeOrBuilder
      Returns:
      The count of keys.
    • getKeys

      public int getKeys(int index)
       Parallel arrays.
       
      repeated uint32 keys = 2 [packed = true];
      Specified by:
      getKeys in interface Osmformat.NodeOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The keys at the given index.
    • setKeys

      public Osmformat.Node.Builder setKeys(int index, int value)
       Parallel arrays.
       
      repeated uint32 keys = 2 [packed = true];
      Parameters:
      index - The index to set the value at.
      value - The keys to set.
      Returns:
      This builder for chaining.
    • addKeys

      public Osmformat.Node.Builder addKeys(int value)
       Parallel arrays.
       
      repeated uint32 keys = 2 [packed = true];
      Parameters:
      value - The keys to add.
      Returns:
      This builder for chaining.
    • addAllKeys

      public Osmformat.Node.Builder addAllKeys(Iterable<? extends Integer> values)
       Parallel arrays.
       
      repeated uint32 keys = 2 [packed = true];
      Parameters:
      values - The keys to add.
      Returns:
      This builder for chaining.
    • clearKeys

      public Osmformat.Node.Builder clearKeys()
       Parallel arrays.
       
      repeated uint32 keys = 2 [packed = true];
      Returns:
      This builder for chaining.
    • getValsList

      public List<Integer> getValsList()
       String IDs.
       
      repeated uint32 vals = 3 [packed = true];
      Specified by:
      getValsList in interface Osmformat.NodeOrBuilder
      Returns:
      A list containing the vals.
    • getValsCount

      public int getValsCount()
       String IDs.
       
      repeated uint32 vals = 3 [packed = true];
      Specified by:
      getValsCount in interface Osmformat.NodeOrBuilder
      Returns:
      The count of vals.
    • getVals

      public int getVals(int index)
       String IDs.
       
      repeated uint32 vals = 3 [packed = true];
      Specified by:
      getVals in interface Osmformat.NodeOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The vals at the given index.
    • setVals

      public Osmformat.Node.Builder setVals(int index, int value)
       String IDs.
       
      repeated uint32 vals = 3 [packed = true];
      Parameters:
      index - The index to set the value at.
      value - The vals to set.
      Returns:
      This builder for chaining.
    • addVals

      public Osmformat.Node.Builder addVals(int value)
       String IDs.
       
      repeated uint32 vals = 3 [packed = true];
      Parameters:
      value - The vals to add.
      Returns:
      This builder for chaining.
    • addAllVals

      public Osmformat.Node.Builder addAllVals(Iterable<? extends Integer> values)
       String IDs.
       
      repeated uint32 vals = 3 [packed = true];
      Parameters:
      values - The vals to add.
      Returns:
      This builder for chaining.
    • clearVals

      public Osmformat.Node.Builder clearVals()
       String IDs.
       
      repeated uint32 vals = 3 [packed = true];
      Returns:
      This builder for chaining.
    • hasInfo

      public boolean hasInfo()
       May be omitted in omitmeta
       
      optional .Info info = 4;
      Specified by:
      hasInfo in interface Osmformat.NodeOrBuilder
      Returns:
      Whether the info field is set.
    • getInfo

      public Osmformat.Info getInfo()
       May be omitted in omitmeta
       
      optional .Info info = 4;
      Specified by:
      getInfo in interface Osmformat.NodeOrBuilder
      Returns:
      The info.
    • setInfo

      public Osmformat.Node.Builder setInfo(Osmformat.Info value)
       May be omitted in omitmeta
       
      optional .Info info = 4;
    • setInfo

      public Osmformat.Node.Builder setInfo(Osmformat.Info.Builder builderForValue)
       May be omitted in omitmeta
       
      optional .Info info = 4;
    • mergeInfo

      public Osmformat.Node.Builder mergeInfo(Osmformat.Info value)
       May be omitted in omitmeta
       
      optional .Info info = 4;
    • clearInfo

      public Osmformat.Node.Builder clearInfo()
       May be omitted in omitmeta
       
      optional .Info info = 4;
    • getInfoBuilder

      public Osmformat.Info.Builder getInfoBuilder()
       May be omitted in omitmeta
       
      optional .Info info = 4;
    • getInfoOrBuilder

      public Osmformat.InfoOrBuilder getInfoOrBuilder()
       May be omitted in omitmeta
       
      optional .Info info = 4;
      Specified by:
      getInfoOrBuilder in interface Osmformat.NodeOrBuilder
    • hasLat

      public boolean hasLat()
      required sint64 lat = 8;
      Specified by:
      hasLat in interface Osmformat.NodeOrBuilder
      Returns:
      Whether the lat field is set.
    • getLat

      public long getLat()
      required sint64 lat = 8;
      Specified by:
      getLat in interface Osmformat.NodeOrBuilder
      Returns:
      The lat.
    • setLat

      public Osmformat.Node.Builder setLat(long value)
      required sint64 lat = 8;
      Parameters:
      value - The lat to set.
      Returns:
      This builder for chaining.
    • clearLat

      public Osmformat.Node.Builder clearLat()
      required sint64 lat = 8;
      Returns:
      This builder for chaining.
    • hasLon

      public boolean hasLon()
      required sint64 lon = 9;
      Specified by:
      hasLon in interface Osmformat.NodeOrBuilder
      Returns:
      Whether the lon field is set.
    • getLon

      public long getLon()
      required sint64 lon = 9;
      Specified by:
      getLon in interface Osmformat.NodeOrBuilder
      Returns:
      The lon.
    • setLon

      public Osmformat.Node.Builder setLon(long value)
      required sint64 lon = 9;
      Parameters:
      value - The lon to set.
      Returns:
      This builder for chaining.
    • clearLon

      public Osmformat.Node.Builder clearLon()
      required sint64 lon = 9;
      Returns:
      This builder for chaining.