Instance Methodswift-protobuf 1.29.0SwiftProtobuf
traverse(visitor:)
descriptor.pb.swift:3073func traverse<V>(visitor: inout V) throws where V : Visitor
func traverse<V>(visitor: inout V) throws where V : Visitor
s13SwiftProtobuf07Google_B16_DescriptorProtoV14ExtensionRangeV8traverse7visitoryxz_tKAA7VisitorRzlF
What are these?7L4Z3
import SwiftProtobuf
Support library for Swift code generated by protoc-gen-swift.
struct ExtensionRange
struct Google_Protobuf_DescriptorProto
Describes a message type.
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 end: Int32 { get set }
Exclusive.
var hasEnd: Bool { get }
Returns true if end
has been explicitly set.
var hasOptions: Bool { get }
Returns true if options
has been explicitly set.
var hasStart: Bool { get }
Returns true if start
has been explicitly set.
var isInitialized: Bool { get }
var options: Google_Protobuf_ExtensionRangeOptions { get set }
var start: Int32 { get set }
Inclusive.
var unknownFields: UnknownStorage
static func == (lhs: Google_Protobuf_DescriptorProto.ExtensionRange, rhs: Google_Protobuf_DescriptorProto.ExtensionRange) -> Bool
mutating func clearEnd()
Clears the value of end
. Subsequent reads from it will return its default value.
mutating func clearOptions()
Clears the value of options
. Subsequent reads from it will return its default value.
mutating func clearStart()
Clears the value of start
. Subsequent reads from it will return its default value.
mutating func decodeMessage<D>(decoder: inout D) throws where D : Decoder