_protobuf_nameMap
descriptor.pb.swift:4408static let _protobuf_nameMap: _NameMap
static let _protobuf_nameMap: _NameMap
s13SwiftProtobuf07Google_B13_OneofOptionsV17_protobuf_nameMapAA05_NameH0VvpZ
What are these?51J2U
import SwiftProtobuf
Support library for Swift code generated by protoc-gen-swift.
struct Google_Protobuf_OneofOptions
struct _NameMap
An immutable bidirectional mapping between field/enum-case names and numbers, used to record field names for text-based serialization (JSON and text). These maps are lazily instantiated for each message as needed, so there is no run-time overhead for users who do not use text-based serialization formats.
init()
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.
mutating func decodeMessage<D>(decoder: inout D) throws where D : Decoder
func traverse<V>(visitor: inout V) throws where V : Visitor