Instance Propertyswift-protobuf 1.29.0SwiftProtobuf
messageType
MessageExtension.swift:33let messageType: any Message.Type
let messageType: any Message.Type
s13SwiftProtobuf16MessageExtensionC11messageTypeAA0C0_pXpvp
What are these?2I9C
import SwiftProtobuf
Support library for Swift code generated by protoc-gen-swift.
final class MessageExtension<FieldType, MessageType> where FieldType : ExtensionField, MessageType : Message
A “Message Extension” relates a particular extension field to a particular message. The generic constraints allow compile-time compatibility checks.
@preconcurrency protocol Message : CustomDebugStringConvertible, Sendable
The protocol which all generated protobuf messages implement. Message
is the protocol type you should use whenever you need an argument or variable which holds “some message”.
init(_protobuf_fieldNumber: Int, fieldName: String)
let fieldName: String
let fieldNumber: Int
func _protobuf_newField<D>(decoder: inout D) throws -> (any AnyExtensionField)? where D : Decoder