Instance Methodswift-protobuf 1.29.0SwiftProtobuf
traverse(visitor:)
descriptor.pb.swift:3538func traverse<V>(visitor: inout V) throws where V : Visitor
func traverse<V>(visitor: inout V) throws where V : Visitor
s13SwiftProtobuf07Google_B20_EnumDescriptorProtoV0D13ReservedRangeV8traverse7visitoryxz_tKAA7VisitorRzlF
What are these?2QVJG
import SwiftProtobuf
Support library for Swift code generated by protoc-gen-swift.
struct EnumReservedRange
Range of reserved numeric values. Reserved values may not be used by entries in the same enum. Reserved ranges may not overlap.
struct Google_Protobuf_EnumDescriptorProto
Describes an enum 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 }
Inclusive.
var hasEnd: Bool { get }
Returns true if end
has been explicitly set.
var hasStart: Bool { get }
Returns true if start
has been explicitly set.
var start: Int32 { get set }
Inclusive.
var unknownFields: UnknownStorage
static func == (lhs: Google_Protobuf_EnumDescriptorProto.EnumReservedRange, rhs: Google_Protobuf_EnumDescriptorProto.EnumReservedRange) -> Bool
mutating func clearEnd()
Clears the value of end
. 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