AnyExtensionField
Core protocols implemented by generated extensions.
@preconcurrency protocol AnyExtensionField : CustomDebugStringConvertible, SendableBrowse conforming typesCore protocols implemented by generated extensions.
@preconcurrency protocol AnyExtensionField : CustomDebugStringConvertible, Sendableimport SwiftProtobufSupport library for Swift code generated by protoc-gen-swift.
protocol CustomDebugStringConvertibleA type with a customized textual representation suitable for debugging purposes.
protocol SendableA thread-safe type whose values can be shared across arbitrary concurrent contexts without introducing a risk of data races. Values of the type may have no shared mutable state, or they may protect that state with a lock or by forcing it to only be accessed from a specific actor.
var isInitialized: Bool { get }Check if the field is initialized.
var protobufExtension: any AnyMessageExtension { get }mutating func decodeExtensionField<T>(decoder: inout T) throws where T : Decoder Merging field decoding
func hash(into hasher: inout Hasher) func isEqual(other: any AnyExtensionField) -> Bool func traverse<V>(visitor: inout V) throws where V : Visitor Fields know their own type, so can dispatch to a visitor
var isInitialized: Bool { get }@preconcurrency protocol ExtensionField : Hashable, AnyExtensionFieldThe regular ExtensionField type exposes the value directly.