isInitialized
descriptor.pb.swift:4469var isInitialized: Bool { get }
var isInitialized: Bool { get }
s13SwiftProtobuf07Google_B12_EnumOptionsV13isInitializedSbvp
What are these?9M4PC
import SwiftProtobuf
Support library for Swift code generated by protoc-gen-swift.
struct Google_Protobuf_EnumOptions
@frozen struct Bool
A value type whose instances are either true
or false
.
init()
static let _protobuf_nameMap: _NameMap
static let protoMessageName: String
var _protobuf_extensionFieldValues: ExtensionFieldValueSet
var allowAlias: Bool { get set }
Set this option to true to allow mapping different tag names to the same value.
var deprecated: Bool { get set }
Is this enum deprecated? Depending on the target platform, this can emit Deprecated annotations for the enum, or it will be completely ignored; in the very least, this is a formalization for deprecating enums.
var deprecatedLegacyJsonFieldConflicts: Bool { get set }
Enable the legacy handling of JSON field name conflicts. This lowercases and strips underscored from the fields before comparison in proto3 only. The new behavior takes json_name
into account and applies to proto2 as well. TODO Remove this legacy behavior once downstream teams have had time to migrate.
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 hasAllowAlias: Bool { get }
Returns true if allowAlias
has been explicitly set.
var hasDeprecated: Bool { get }
Returns true if deprecated
has been explicitly set.
var hasDeprecatedLegacyJsonFieldConflicts: Bool { get }
Returns true if deprecatedLegacyJsonFieldConflicts
has been explicitly set.
var hasFeatures: Bool { get }
Returns true if features
has been explicitly set.
var uninterpretedOption: [Google_Protobuf_UninterpretedOption]
The parser stores options it doesn’t recognize here. See above.
var unknownFields: UnknownStorage
static func == (lhs: Google_Protobuf_EnumOptions, rhs: Google_Protobuf_EnumOptions) -> Bool
mutating func clearAllowAlias()
Clears the value of allowAlias
. Subsequent reads from it will return its default value.
mutating func clearDeprecated()
Clears the value of deprecated
. Subsequent reads from it will return its default value.
mutating func clearDeprecatedLegacyJsonFieldConflicts()
Clears the value of deprecatedLegacyJsonFieldConflicts
. Subsequent reads from it will return its default value.
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