OptionalMessageExtensionField
ExtensionFields.swift:418struct OptionalMessageExtensionField<M> where M : Equatable, M : Messagestruct OptionalMessageExtensionField<M> where M : Equatable, M : Messageimport SwiftProtobufSupport library for Swift code generated by protoc-gen-swift.
protocol EquatableA type that can be compared for value equality.
@preconcurrency protocol Message : CustomDebugStringConvertible, SendableThe 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”.
@preconcurrency protocol AnyExtensionField : CustomDebugStringConvertible, SendableCore protocols implemented by generated extensions.
protocol CustomDebugStringConvertibleA type with a customized textual representation suitable for debugging purposes.
@preconcurrency protocol ExtensionField : Hashable, AnyExtensionFieldThe regular ExtensionField type exposes the value directly.
protocol Hashable : EquatableA type that can be hashed into a Hasher to produce an integer hash value.
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.
init?<D>(protobufExtension: any AnyMessageExtension, decoder: inout D) throws where D : Decoder init(protobufExtension: any AnyMessageExtension, value: OptionalMessageExtensionField<M>.ValueType) var debugDescription: String { get }var isInitialized: Bool { get }var protobufExtension: any AnyMessageExtensionvar value: OptionalMessageExtensionField<M>.ValueTypestatic func == (lhs: OptionalMessageExtensionField<M>, rhs: OptionalMessageExtensionField<M>) -> Bool mutating func decodeExtensionField<D>(decoder: inout D) throws where D : Decoder func hash(into hasher: inout Hasher) func isEqual(other: any AnyExtensionField) -> Bool func traverse<V>(visitor: inout V) throws where V : Visitor typealias BaseType = Mtypealias ValueType = OptionalMessageExtensionField<M>.BaseTypestatic func != (lhs: Self, rhs: Self) -> Bool Returns a Boolean value indicating whether two values are not equal.