Instance Method (Default implementation)swift-protobuf 1.29.0SwiftProtobuf
visitSingularGroupField(value:fieldNumber:)
Visitor.swift:709mutating func visitSingularGroupField<G>(value: G, fieldNumber: Int) throws where G : Message
mutating func visitSingularGroupField<G>(value: G, fieldNumber: Int) throws where G : Message
s13SwiftProtobuf7VisitorPAAE23visitSingularGroupField5value11fieldNumberyqd___SitKAA7MessageRd__lF
What are these?477B7
import SwiftProtobuf
Support library for Swift code generated by protoc-gen-swift.
protocol Visitor
This is the key interface used by the generated traverse()
methods used for serialization. It is implemented by each serialization protocol: Protobuf Binary, Protobuf Text, JSON, and the Hash encoder.
@frozen struct Int
A signed integer value type.
@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”.
mutating func visitSingularGroupField<G>(value: G, fieldNumber: Int) throws where G : Message
Called for each non-repeated proto2 group field.
mutating func visitExtensionFields(fields: ExtensionFieldValueSet, start: Int, end: Int) throws
Called for each extension range.
mutating func visitExtensionFieldsAsMessageSet(fields: ExtensionFieldValueSet, start: Int, end: Int) throws
mutating func visitPackedBoolField(value: [Bool], fieldNumber: Int) throws
mutating func visitPackedDoubleField(value: [Double], fieldNumber: Int) throws
mutating func visitPackedEnumField<E>(value: [E], fieldNumber: Int) throws where E : Enum
mutating func visitPackedFixed32Field(value: [UInt32], fieldNumber: Int) throws
mutating func visitPackedFixed64Field(value: [UInt64], fieldNumber: Int) throws
mutating func visitPackedFloatField(value: [Float], fieldNumber: Int) throws
mutating func visitPackedInt32Field(value: [Int32], fieldNumber: Int) throws
mutating func visitPackedInt64Field(value: [Int64], fieldNumber: Int) throws
mutating func visitPackedSFixed32Field(value: [Int32], fieldNumber: Int) throws
mutating func visitPackedSFixed64Field(value: [Int64], fieldNumber: Int) throws
mutating func visitPackedSInt32Field(value: [Int32], fieldNumber: Int) throws
mutating func visitPackedSInt64Field(value: [Int64], fieldNumber: Int) throws
mutating func visitPackedUInt32Field(value: [UInt32], fieldNumber: Int) throws
mutating func visitPackedUInt64Field(value: [UInt64], fieldNumber: Int) throws
mutating func visitRepeatedBoolField(value: [Bool], fieldNumber: Int) throws
mutating func visitRepeatedBytesField(value: [Data], fieldNumber: Int) throws
mutating func visitRepeatedDoubleField(value: [Double], fieldNumber: Int) throws
mutating func visitRepeatedEnumField<E>(value: [E], fieldNumber: Int) throws where E : Enum
mutating func visitRepeatedFixed32Field(value: [UInt32], fieldNumber: Int) throws
mutating func visitRepeatedFixed64Field(value: [UInt64], fieldNumber: Int) throws
mutating func visitRepeatedFloatField(value: [Float], fieldNumber: Int) throws
mutating func visitRepeatedGroupField<G>(value: [G], fieldNumber: Int) throws where G : Message
mutating func visitRepeatedInt32Field(value: [Int32], fieldNumber: Int) throws
mutating func visitRepeatedInt64Field(value: [Int64], fieldNumber: Int) throws
mutating func visitRepeatedMessageField<M>(value: [M], fieldNumber: Int) throws where M : Message
mutating func visitRepeatedSFixed32Field(value: [Int32], fieldNumber: Int) throws
mutating func visitRepeatedSFixed64Field(value: [Int64], fieldNumber: Int) throws
mutating func visitRepeatedSInt32Field(value: [Int32], fieldNumber: Int) throws
mutating func visitRepeatedSInt64Field(value: [Int64], fieldNumber: Int) throws
mutating func visitRepeatedStringField(value: [String], fieldNumber: Int) throws
mutating func visitRepeatedUInt32Field(value: [UInt32], fieldNumber: Int) throws
mutating func visitRepeatedUInt64Field(value: [UInt64], fieldNumber: Int) throws
mutating func visitSingularFixed32Field(value: UInt32, fieldNumber: Int) throws
mutating func visitSingularFixed64Field(value: UInt64, fieldNumber: Int) throws
mutating func visitSingularFloatField(value: Float, fieldNumber: Int) throws
mutating func visitSingularInt32Field(value: Int32, fieldNumber: Int) throws
mutating func visitSingularSFixed32Field(value: Int32, fieldNumber: Int) throws
mutating func visitSingularSFixed64Field(value: Int64, fieldNumber: Int) throws
mutating func visitSingularSInt32Field(value: Int32, fieldNumber: Int) throws
mutating func visitSingularSInt64Field(value: Int64, fieldNumber: Int) throws
mutating func visitSingularUInt32Field(value: UInt32, fieldNumber: Int) throws