Google_Protobuf_Edition
The full set of known editions.
enum Google_Protobuf_EditionThe full set of known editions.
enum Google_Protobuf_Editionimport SwiftProtobufSupport library for Swift code generated by protoc-gen-swift.
case unknownA placeholder for an unknown edition value.
case legacyA placeholder edition for specifying default behaviors before a feature was first introduced. This is effectively an “infinite past”.
case proto2Legacy syntax “editions”. These pre-date editions, but behave much like distinct editions. These can’t be used to specify the edition of proto files, but feature definitions must supply proto2/proto3 defaults for backwards compatibility.
case proto3case edition2023Editions that have been released. The specific values are arbitrary and should not be depended on, but they will always be time-ordered for easy comparison.
case edition2024case edition1TestOnlyPlaceholder editions for testing feature resolution. These should not be used or relied on outside of tests.
case edition2TestOnlycase edition99997TestOnlycase edition99998TestOnlycase edition99999TestOnlycase maxPlaceholder for specifying unbounded edition support. This should only ever be used by plugins that can expect to never require any changes to support a new edition.
protocol CaseIterableA type that provides a collection of all of its values.
protocol CopyableA type whose values can be implicitly or explicitly copied.
@preconcurrency protocol Enum : Hashable, RawRepresentable, SendableGenerated enum types conform to this protocol.
protocol EquatableA type that can be compared for value equality.
protocol Escapableprotocol Hashable : EquatableA 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 SendableA thread-safe type whose values can be shared across arbitrary concurrent contexts without introducing a risk of data races. Values of the type may have no shared mutable state, or they may protect that state with a lock or by forcing it to only be accessed from a specific actor.
protocol _ProtoNameProvidingSwiftProtobuf Internal: Common support looking up field names.
init() init?(rawValue: Int) static let _protobuf_nameMap: _NameMapvar hashValue: Int { get }var name: _NameMap.Name? { get }Internal convenience property representing the name of the enum value (or nil if it is an UNRECOGNIZED value or doesn’t provide names).
static func != (lhs: Self, rhs: Self) -> Bool Returns a Boolean value indicating whether two values are not equal.
func hash(into hasher: inout Hasher) import SwiftProtobufPluginLibraryA reusable framework for building protoc plugins in Swift.
protocol Comparable : EquatableA type that can be compared using the relational operators <, <=, >=, and >.
static func < (lhs: Google_Protobuf_Edition, rhs: Google_Protobuf_Edition) -> Bool static func ... (minimum: Self) -> PartialRangeFrom<Self> Returns a partial range extending upward from a lower bound.
static func ... (maximum: Self) -> PartialRangeThrough<Self> Returns a partial range up to, and including, its upper bound.
static func ... (minimum: Self, maximum: Self) -> ClosedRange<Self> Returns a closed range that contains both of its bounds.
static func ..< (maximum: Self) -> PartialRangeUpTo<Self> Returns a partial range up to, but not including, its upper bound.
static func ..< (minimum: Self, maximum: Self) -> Range<Self> Returns a half-open range that contains its lower bound but not its upper bound.
static func <= (lhs: Self, rhs: Self) -> Bool Returns a Boolean value indicating whether the value of the first argument is less than or equal to that of the second argument.
static func > (lhs: Self, rhs: Self) -> Bool Returns a Boolean value indicating whether the value of the first argument is greater than that of the second argument.
static func >= (lhs: Self, rhs: Self) -> Bool Returns a Boolean value indicating whether the value of the first argument is greater than or equal to that of the second argument.