Instance Methodswift-protobuf 1.29.0SwiftProtobuf
decodeMessage(decoder:)
descriptor.pb.swift:4420mutating func decodeMessage<D>(decoder: inout D) throws where D : Decoder
mutating func decodeMessage<D>(decoder: inout D) throws where D : Decoder
s13SwiftProtobuf07Google_B13_OneofOptionsV13decodeMessage7decoderyxz_tKAA7DecoderRzlF
What are these?TLOU
import SwiftProtobuf
Support library for Swift code generated by protoc-gen-swift.
struct Google_Protobuf_OneofOptions
protocol Decoder
Abstract protocol used by the generated code to deserialize data.
init()
static let _protobuf_nameMap: _NameMap
static let protoMessageName: String
var _protobuf_extensionFieldValues: ExtensionFieldValueSet
var features: Google_Protobuf_FeatureSet { get set }
Any features defined in the specific edition. WARNING: This field should only be used by protobuf plugins or special cases like the proto compiler. Other uses are discouraged and developers should rely on the protoreflect APIs for their client language.
var hasFeatures: Bool { get }
Returns true if features
has been explicitly set.
var isInitialized: Bool { get }
var uninterpretedOption: [Google_Protobuf_UninterpretedOption]
The parser stores options it doesn’t recognize here. See above.
var unknownFields: UnknownStorage
static func == (lhs: Google_Protobuf_OneofOptions, rhs: Google_Protobuf_OneofOptions) -> Bool
mutating func clearFeatures()
Clears the value of features
. Subsequent reads from it will return its default value.
func traverse<V>(visitor: inout V) throws where V : Visitor