Class Osmformat.ChangeSet.Builder

    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Osmformat.ChangeSet build()  
      Osmformat.ChangeSet buildPartial()  
      Osmformat.ChangeSet.Builder clear()  
      Osmformat.ChangeSet.Builder clearId()
      // Parallel arrays.
      Osmformat.ChangeSet getDefaultInstanceForType()  
      static proto4.Descriptors.Descriptor getDescriptor()  
      proto4.Descriptors.Descriptor getDescriptorForType()  
      long getId()
      // Parallel arrays.
      boolean hasId()
      // Parallel arrays.
      protected proto4.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()  
      boolean isInitialized()  
      Osmformat.ChangeSet.Builder mergeFrom​(Osmformat.ChangeSet other)  
      Osmformat.ChangeSet.Builder mergeFrom​(proto4.CodedInputStream input, proto4.ExtensionRegistryLite extensionRegistry)  
      Osmformat.ChangeSet.Builder mergeFrom​(proto4.Message other)  
      Osmformat.ChangeSet.Builder setId​(long value)
      // Parallel arrays.
      • Methods inherited from class proto4.GeneratedMessage.Builder

        addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3
      • Methods inherited from class proto4.AbstractMessage.Builder

        findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
      • Methods inherited from class proto4.AbstractMessageLite.Builder

        addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
      • Methods inherited from interface proto4.Message.Builder

        mergeDelimitedFrom, mergeDelimitedFrom
      • Methods inherited from interface proto4.MessageLite.Builder

        mergeFrom
      • Methods inherited from interface proto4.MessageOrBuilder

        findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getDescriptor

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

        protected proto4.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class proto4.GeneratedMessage.Builder<Osmformat.ChangeSet.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.ChangeSet.Builder>
      • getDefaultInstanceForType

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

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

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

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

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

        public Osmformat.ChangeSet.Builder setId​(long value)
        
         // 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;
        Parameters:
        value - The id to set.
        Returns:
        This builder for chaining.
      • clearId

        public Osmformat.ChangeSet.Builder clearId()
        
         // 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;
        Returns:
        This builder for chaining.