hasDeprecated
Returns true if deprecated
has been explicitly set.
var hasDeprecated: Bool { get }
Returns true if deprecated
has been explicitly set.
var hasDeprecated: Bool { get }
s13SwiftProtobuf07Google_B17_EnumValueOptionsV13hasDeprecatedSbvp
What are these?6TOEQ
import SwiftProtobuf
Support library for Swift code generated by protoc-gen-swift.
struct Google_Protobuf_EnumValueOptions
@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 debugRedact: Bool { get set }
Indicate that fields annotated with this enum value should not be printed out when using debug formats, e.g. when the field contains sensitive credentials.
var deprecated: Bool { get set }
Is this enum value deprecated? Depending on the target platform, this can emit Deprecated annotations for the enum value, or it will be completely ignored; in the very least, this is a formalization for deprecating enum values.
var featureSupport: Google_Protobuf_FieldOptions.FeatureSupport { get set }
Information about the support window of a feature value.
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 hasDebugRedact: Bool { get }
Returns true if debugRedact
has been explicitly set.
var hasFeatureSupport: Bool { get }
Returns true if featureSupport
has been explicitly set.
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_EnumValueOptions, rhs: Google_Protobuf_EnumValueOptions) -> Bool
mutating func clearDebugRedact()
Clears the value of debugRedact
. 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 clearFeatureSupport()
Clears the value of featureSupport
. 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