Class Osmformat.ChangeSet

    • Method Detail

      • hasId

        public boolean hasId()
        required int64 id = 1;
           
           // Parallel arrays.
           repeated uint32 keys = 2 [packed = true]; // String IDs.
           repeated uint32 vals = 3 [packed = true]; // String IDs.
        
           optional Info info = 4;
         
      • getId

        public long getId()
        required int64 id = 1;
           
           // Parallel arrays.
           repeated uint32 keys = 2 [packed = true]; // String IDs.
           repeated uint32 vals = 3 [packed = true]; // String IDs.
        
           optional Info info = 4;
         
      • 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.ChangeSet parseFrom(com.google.protobuf.ByteString data)
                                             throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Osmformat.ChangeSet 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.ChangeSet parseFrom(byte[] data)
                                             throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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