Instance Methodswift-protobuf 1.29.0SwiftProtobuf
traverse(visitor:)
type.pb.swift:696func traverse<V>(visitor: inout V) throws where V : Visitor
func traverse<V>(visitor: inout V) throws where V : Visitor
s13SwiftProtobuf07Google_B5_EnumV8traverse7visitoryxz_tKAA7VisitorRzlF
What are these?8C61V
import SwiftProtobuf
Support library for Swift code generated by protoc-gen-swift.
struct Google_Protobuf_Enum
Enum type definition.
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.
init()
static let _protobuf_nameMap: _NameMap
static let protoMessageName: String
var edition: String
The source edition string, only valid when syntax is SYNTAX_EDITIONS.
var enumvalue: [Google_Protobuf_EnumValue]
Enum value definitions.
var hasSourceContext: Bool { get }
Returns true if sourceContext
has been explicitly set.
var name: String
Enum type name.
var options: [Google_Protobuf_Option]
Protocol buffer options.
var sourceContext: Google_Protobuf_SourceContext { get set }
The source context.
var syntax: Google_Protobuf_Syntax
The source syntax.
var unknownFields: UnknownStorage
static func == (lhs: Google_Protobuf_Enum, rhs: Google_Protobuf_Enum) -> Bool
mutating func clearSourceContext()
Clears the value of sourceContext
. Subsequent reads from it will return its default value.
mutating func decodeMessage<D>(decoder: inout D) throws where D : Decoder