_protobuf_nameMap
descriptor.pb.swift:4354static let _protobuf_nameMap: _NameMap
static let _protobuf_nameMap: _NameMap
s13SwiftProtobuf07Google_B13_FieldOptionsV14FeatureSupportV17_protobuf_nameMapAA05_NameJ0VvpZ
What are these?BRIP
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
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 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
func traverse<V>(visitor: inout V) throws where V : Visitor