addPath(_:of:)

    Adds a path to FieldMask after checking whether the given path is valid. This method check-fails if the path is not a valid path for Message type.

    Google_Protobuf_FieldMask+Extensions.swift:229
    mutating func addPath<M>(_ path: String, of messageType: M.Type) throws where M : Message

    Parameters

    path

    Path to be added to FieldMask.

    messageType

    Message type to check validity.

    Other members in extension

    Types

    Type members

    Show implementation details (1)

    Hide implementation details

    Instance members