traverse(visitor:)
descriptor.pb.swift:4376func traverse<V>(visitor: inout V) throws where V : Visitor
func traverse<V>(visitor: inout V) throws where V : Visitor
s13SwiftProtobuf07Google_B13_FieldOptionsV14FeatureSupportV8traverse7visitoryxz_tKAA7VisitorRzlF
What are these?5T1CI
import SwiftProtobuf
Support library for Swift code generated by protoc-gen-swift.
struct FeatureSupport
Information about the support window of a feature.
struct Google_Protobuf_FieldOptions
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 deprecationWarning: String { get set }
The deprecation warning text if this feature is used after the edition it was marked deprecated in.
var editionDeprecated: Google_Protobuf_Edition { get set }
The edition this feature becomes deprecated in. Using this after this edition may trigger warnings.
var editionIntroduced: Google_Protobuf_Edition { get set }
The edition that this feature was first available in. In editions earlier than this one, the default assigned to EDITION_LEGACY will be used, and proto files will not be able to override it.
var editionRemoved: Google_Protobuf_Edition { get set }
The edition this feature is no longer available in. In editions after this one, the last default assigned will be used, and proto files will not be able to override it.
var hasDeprecationWarning: Bool { get }
Returns true if deprecationWarning
has been explicitly set.
var hasEditionDeprecated: Bool { get }
Returns true if editionDeprecated
has been explicitly set.
var hasEditionIntroduced: Bool { get }
Returns true if editionIntroduced
has been explicitly set.
var hasEditionRemoved: Bool { get }
Returns true if editionRemoved
has been explicitly set.
var unknownFields: UnknownStorage
static func == (lhs: Google_Protobuf_FieldOptions.FeatureSupport, rhs: Google_Protobuf_FieldOptions.FeatureSupport) -> Bool
mutating func clearDeprecationWarning()
Clears the value of deprecationWarning
. Subsequent reads from it will return its default value.
mutating func clearEditionDeprecated()
Clears the value of editionDeprecated
. Subsequent reads from it will return its default value.
mutating func clearEditionIntroduced()
Clears the value of editionIntroduced
. Subsequent reads from it will return its default value.
mutating func clearEditionRemoved()
Clears the value of editionRemoved
. Subsequent reads from it will return its default value.
mutating func decodeMessage<D>(decoder: inout D) throws where D : Decoder