Required Static Methodswift-protobuf 1.31.0SwiftProtobuf
visitSingular(value:fieldNumber:with:)
FieldTypes.swift:45static func visitSingular<V>(value: Self.BaseType, fieldNumber: Int, with visitor: inout V) throws where V : Visitor static func visitSingular<V>(value: Self.BaseType, fieldNumber: Int, with visitor: inout V) throws where V : Visitor s13SwiftProtobuf9FieldTypeP13visitSingular5value11fieldNumber4withy04BaseD0Qz_Siqd__ztKAA7VisitorRd__lFZ What are these?6JECXimport SwiftProtobufSupport library for Swift code generated by protoc-gen-swift.
@preconcurrency protocol FieldType : Sendableassociatedtype BaseType : Hashable, Sendable@frozen struct IntA signed integer value type.
protocol VisitorThis 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.
static var proto3DefaultValue: Self.BaseType { get }static func decodeRepeated<D>(value: inout [Self.BaseType], from decoder: inout D) throws where D : Decoder static func decodeSingular<D>(value: inout Self.BaseType?, from decoder: inout D) throws where D : Decoder static func visitPacked<V>(value: [Self.BaseType], fieldNumber: Int, with visitor: inout V) throws where V : Visitor static func visitRepeated<V>(value: [Self.BaseType], fieldNumber: Int, with visitor: inout V) throws where V : Visitor