init(fieldNumbers:of:)

    Initiates a field mask from some particular field numbers of a message

    Google_Protobuf_FieldMask+Extensions.swift:204
    init<M>(fieldNumbers: [Int], of messageType: M.Type) throws where M : Message, M : _ProtoNameProviding

    Parameters

    messageType

    Message type to get all paths from.

    fieldNumbers

    Field numbers of paths to be included.

    Returns

    Field mask that include paths of corresponding field numbers.

    Throws

    FieldMaskError.invalidFieldNumber if the field number is not on the message

    Other members in extension

    Types

    Type members

    Show implementation details (1)

    Hide implementation details

    Instance members