init(textFormatString:options:extensions:)

    Creates a new Google_Protobuf_Any by decoding the given string containing a serialized message in Protocol Buffer text format.

    Google_Protobuf_Any+Extensions.swift:83
    init(textFormatString: String, options: TextFormatDecodingOptions = TextFormatDecodingOptions(), extensions: (any ExtensionMap)? = nil) throws

    Parameters

    textFormatString

    The text format string to decode.

    options

    The TextFormatDecodingOptions to use.

    extensions

    An ExtensionMap used to look up and decode any extensions in this message or messages nested within this message’s fields.

    Throws

    TextFormatDecodingError on failure.

    Other members in extension

    Type members

    Show implementation details (1)

    Hide implementation details

    Instance members