      - returns:                     The same instance of CLDLayer.
      */
     @objc(setResourceTypeFromLayerResourceType:)
+    @discardableResult
     open func setResourceType(_ resourceType: LayerResourceType) -> CLDLayer {
         return setResourceType(String(describing: resourceType))
     }

     - returns:         The same instance of CLDLayer.
     */
    @objc(setTypeFromType:)
    open func setType(_ type: CLDType) -> CLDLayer {
        return setType(String(describing: type))
    }

    
    - returns:                 The same instance of CLDLayer.
    */
    @discardableResult
    open func setPublicId(publicId: String) -> CLDLayer {
        self.publicId = publicId
        return self
