Required Associated Typeswift-protobuf 1.28.1SwiftProtobuf
Version
ProtobufAPIVersionCheck.swift:42associatedtype Version : ProtobufAPIVersion_2
associatedtype Version : ProtobufAPIVersion_2
import SwiftProtobuf
Support library for Swift code generated by protoc-gen-swift.
protocol ProtobufAPIVersionCheck
This protocol is expected to be implemented by a fileprivate
type in each source file emitted by protoc-gen-swift
. It effectively creates a binding between the version of the generated code and the version of this library, causing a compile-time error (with reasonable diagnostics) if they are incompatible.
protocol ProtobufAPIVersion_2
An empty protocol that encodes the version of the runtime library.