Class Osmformat.ChangeSet

    • Method Detail

      • getDescriptor

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

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

        public boolean hasId()
        
         // Parallel arrays.
         repeated uint32 keys = 2 [packed = true]; // String IDs.
         repeated uint32 vals = 3 [packed = true]; // String IDs.
        
         optional Info info = 4;
         
        required int64 id = 1;
        Specified by:
        hasId in interface Osmformat.ChangeSetOrBuilder
        Returns:
        Whether the id field is set.
      • getId

        public long getId()
        
         // Parallel arrays.
         repeated uint32 keys = 2 [packed = true]; // String IDs.
         repeated uint32 vals = 3 [packed = true]; // String IDs.
        
         optional Info info = 4;
         
        required int64 id = 1;
        Specified by:
        getId in interface Osmformat.ChangeSetOrBuilder
        Returns:
        The id.
      • 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.ChangeSet parseFrom​(ByteBuffer data)
                                             throws proto4.InvalidProtocolBufferException
        Throws:
        proto4.InvalidProtocolBufferException
      • parseFrom

        public static Osmformat.ChangeSet parseFrom​(ByteBuffer data,
                                                    proto4.ExtensionRegistryLite extensionRegistry)
                                             throws proto4.InvalidProtocolBufferException
        Throws:
        proto4.InvalidProtocolBufferException
      • parseFrom

        public static Osmformat.ChangeSet parseFrom​(proto4.ByteString data)
                                             throws proto4.InvalidProtocolBufferException
        Throws:
        proto4.InvalidProtocolBufferException
      • parseFrom

        public static Osmformat.ChangeSet parseFrom​(proto4.ByteString data,
                                                    proto4.ExtensionRegistryLite extensionRegistry)
                                             throws proto4.InvalidProtocolBufferException
        Throws:
        proto4.InvalidProtocolBufferException
      • parseFrom

        public static Osmformat.ChangeSet parseFrom​(byte[] data)
                                             throws proto4.InvalidProtocolBufferException
        Throws:
        proto4.InvalidProtocolBufferException
      • parseFrom

        public static Osmformat.ChangeSet parseFrom​(byte[] data,
                                                    proto4.ExtensionRegistryLite extensionRegistry)
                                             throws proto4.InvalidProtocolBufferException
        Throws:
        proto4.InvalidProtocolBufferException
      • newBuilderForType

        public Osmformat.ChangeSet.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface proto4.Message
        Specified by:
        newBuilderForType in interface proto4.MessageLite
      • toBuilder

        public Osmformat.ChangeSet.Builder toBuilder()
        Specified by:
        toBuilder in interface proto4.Message
        Specified by:
        toBuilder in interface proto4.MessageLite
      • newBuilderForType

        protected Osmformat.ChangeSet.Builder newBuilderForType​(proto4.AbstractMessage.BuilderParent parent)
        Overrides:
        newBuilderForType in class proto4.AbstractMessage
      • getParserForType

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

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