EnforceNamingStyle
descriptor.pb.swift:2325enum EnforceNamingStyle
enum EnforceNamingStyle
s13SwiftProtobuf07Google_B11_FeatureSetV18EnforceNamingStyleO
What are these?D1XU
import SwiftProtobuf
Support library for Swift code generated by protoc-gen-swift.
struct Google_Protobuf_FeatureSet
TODO Enums in C++ gencode (and potentially other languages) are not well scoped. This means that each of the feature enums below can clash with each other. The short names we’ve chosen maximize call-site readability, but leave us very open to this scenario. A future feature will be designed and implemented to handle this, hopefully before we ever hit a conflict here.
case unknown
case style2024
case styleLegacy
init()
static let _protobuf_nameMap: _NameMap
static let protoMessageName: String
var _protobuf_extensionFieldValues: ExtensionFieldValueSet
var enforceNamingStyle: Google_Protobuf_FeatureSet.EnforceNamingStyle { get set }
var enumType: Google_Protobuf_FeatureSet.EnumType { get set }
var fieldPresence: Google_Protobuf_FeatureSet.FieldPresence { get set }
var hasEnforceNamingStyle: Bool { get }
Returns true if enforceNamingStyle
has been explicitly set.
var hasEnumType: Bool { get }
Returns true if enumType
has been explicitly set.
var hasFieldPresence: Bool { get }
Returns true if fieldPresence
has been explicitly set.
var hasJsonFormat: Bool { get }
Returns true if jsonFormat
has been explicitly set.
var hasMessageEncoding: Bool { get }
Returns true if messageEncoding
has been explicitly set.
var hasRepeatedFieldEncoding: Bool { get }
Returns true if repeatedFieldEncoding
has been explicitly set.
var hasUtf8Validation: Bool { get }
Returns true if utf8Validation
has been explicitly set.
var isInitialized: Bool { get }
var jsonFormat: Google_Protobuf_FeatureSet.JsonFormat { get set }
var messageEncoding: Google_Protobuf_FeatureSet.MessageEncoding { get set }
var repeatedFieldEncoding: Google_Protobuf_FeatureSet.RepeatedFieldEncoding { get set }
var unknownFields: UnknownStorage
var utf8Validation: Google_Protobuf_FeatureSet.Utf8Validation { get set }
static func == (lhs: Google_Protobuf_FeatureSet, rhs: Google_Protobuf_FeatureSet) -> Bool
mutating func clearEnforceNamingStyle()
Clears the value of enforceNamingStyle
. Subsequent reads from it will return its default value.
mutating func clearEnumType()
Clears the value of enumType
. Subsequent reads from it will return its default value.
mutating func clearFieldPresence()
Clears the value of fieldPresence
. Subsequent reads from it will return its default value.
mutating func clearJsonFormat()
Clears the value of jsonFormat
. Subsequent reads from it will return its default value.
mutating func clearMessageEncoding()
Clears the value of messageEncoding
. Subsequent reads from it will return its default value.
mutating func clearRepeatedFieldEncoding()
Clears the value of repeatedFieldEncoding
. Subsequent reads from it will return its default value.
mutating func clearUtf8Validation()
Clears the value of utf8Validation
. 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
enum EnumType
enum FieldPresence
enum JsonFormat
enum MessageEncoding
enum RepeatedFieldEncoding
enum Utf8Validation
protocol CaseIterable
A type that provides a collection of all of its values.
protocol Copyable
A type whose values can be implicitly or explicitly copied.
@preconcurrency protocol Enum : Hashable, RawRepresentable, Sendable
Generated enum types conform to this protocol.
protocol Equatable
A type that can be compared for value equality.
protocol Escapable
protocol Hashable : Equatable
A type that can be hashed into a Hasher
to produce an integer hash value.
protocol RawRepresentable<RawValue>
A type that can be converted to and from an associated raw value.
protocol Sendable
protocol _ProtoNameProviding
SwiftProtobuf Internal: Common support looking up field names.
init()
init?(rawValue: Int)
static let _protobuf_nameMap: _NameMap
var hashValue: Int { get }
static func != (lhs: Self, rhs: Self) -> Bool
Returns a Boolean value indicating whether two values are not equal.
func hash(into hasher: inout Hasher)