Static Methodswift-protobuf 1.31.0SwiftProtobuf
visitSingular(value:fieldNumber:with:)
FieldTypes.swift:402static func visitSingular<V>(value: ProtobufString.BaseType, fieldNumber: Int, with visitor: inout V) throws where V : Visitor static func visitSingular<V>(value: ProtobufString.BaseType, fieldNumber: Int, with visitor: inout V) throws where V : Visitor s13SwiftProtobuf0B6StringV13visitSingular5value11fieldNumber4withySS_SixztKAA7VisitorRzlFZ What are these?2T6T2import SwiftProtobufSupport library for Swift code generated by protoc-gen-swift.
struct ProtobufStringString
typealias BaseType = String@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: String { get }static func decodeRepeated<D>(value: inout [ProtobufString.BaseType], from decoder: inout D) throws where D : Decoder static func decodeSingular<D>(value: inout ProtobufString.BaseType?, from decoder: inout D) throws where D : Decoder static func visitPacked<V>(value: [ProtobufString.BaseType], fieldNumber: Int, with visitor: inout V) throws where V : Visitor static func visitRepeated<V>(value: [ProtobufString.BaseType], fieldNumber: Int, with visitor: inout V) throws where V : Visitor