Class Osmformat.Node

    • Method Detail

      • getDefaultInstance

        public static Osmformat.Node getDefaultInstance()
      • getDefaultInstanceForType

        public Osmformat.Node getDefaultInstanceForType()
      • getParserForType

        public com.google.protobuf.Parser<Osmformat.Node> getParserForType()
      • hasId

        public boolean hasId()
        required sint64 id = 1;
      • getId

        public long getId()
        required sint64 id = 1;
      • getKeysList

        public List<Integer> getKeysList()
        repeated uint32 keys = 2 [packed = true];
         Parallel arrays.
         
      • getKeysCount

        public int getKeysCount()
        repeated uint32 keys = 2 [packed = true];
         Parallel arrays.
         
      • getKeys

        public int getKeys(int index)
        repeated uint32 keys = 2 [packed = true];
         Parallel arrays.
         
      • getValsList

        public List<Integer> getValsList()
        repeated uint32 vals = 3 [packed = true];
         String IDs.
         
      • getValsCount

        public int getValsCount()
        repeated uint32 vals = 3 [packed = true];
         String IDs.
         
      • getVals

        public int getVals(int index)
        repeated uint32 vals = 3 [packed = true];
         String IDs.
         
      • hasInfo

        public boolean hasInfo()
        optional .OSMPBF.Info info = 4;
         May be omitted in omitmeta
         
      • getInfo

        public Osmformat.Info getInfo()
        optional .OSMPBF.Info info = 4;
         May be omitted in omitmeta
         
      • hasLat

        public boolean hasLat()
        required sint64 lat = 8;
      • getLat

        public long getLat()
        required sint64 lat = 8;
      • hasLon

        public boolean hasLon()
        required sint64 lon = 9;
      • getLon

        public long getLon()
        required sint64 lon = 9;
      • isInitialized

        public final boolean isInitialized()
      • writeTo

        public void writeTo(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface  com.google.protobuf.MessageLite
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
      • parseFrom

        public static Osmformat.Node parseFrom(com.google.protobuf.ByteString data)
                                        throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Osmformat.Node parseFrom(com.google.protobuf.ByteString data,
                                               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                        throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Osmformat.Node parseFrom(byte[] data)
                                        throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Osmformat.Node parseFrom(byte[] data,
                                               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                        throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Osmformat.Node parseFrom(com.google.protobuf.CodedInputStream input,
                                               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                        throws IOException
        Throws:
        IOException