ExtensibleMessage
Additional capabilities needed by messages that allow extensions.
@preconcurrency protocol ExtensibleMessage : Message
Browse conforming typesAdditional capabilities needed by messages that allow extensions.
@preconcurrency protocol ExtensibleMessage : Message
import SwiftProtobuf
Support library for Swift code generated by protoc-gen-swift.
@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”.
protocol CustomDebugStringConvertible
A type with a customized textual representation suitable for debugging purposes.
protocol Sendable
var _protobuf_extensionFieldValues: ExtensionFieldValueSet { get set }
mutating func clearExtensionValue<F>(ext: MessageExtension<F, Self>) where F : ExtensionField
func getExtensionValue<F>(ext: MessageExtension<F, Self>) -> F.ValueType? where F : ExtensionField
func hasExtensionValue<F>(ext: MessageExtension<F, Self>) -> Bool where F : ExtensionField
mutating func setExtensionValue<E>(ext: MessageExtension<PackedEnumExtensionField<E>, Self>, value: [E]) where E : Enum, E.RawValue == Int
mutating func setExtensionValue<E>(ext: MessageExtension<RepeatedEnumExtensionField<E>, Self>, value: [E]) where E : Enum, E.RawValue == Int
mutating func setExtensionValue<M>(ext: MessageExtension<RepeatedGroupExtensionField<M>, Self>, value: [M]) where M : Hashable, M : Message
mutating func setExtensionValue<T>(ext: MessageExtension<PackedExtensionField<T>, Self>, value: [T.BaseType]) where T : FieldType
mutating func setExtensionValue<T>(ext: MessageExtension<RepeatedExtensionField<T>, Self>, value: [T.BaseType]) where T : FieldType
mutating func setExtensionValue<M>(ext: MessageExtension<RepeatedMessageExtensionField<M>, Self>, value: [M]) where M : Equatable, M : Message
mutating func setExtensionValue<F>(ext: MessageExtension<F, Self>, value: F.ValueType) where F : ExtensionField