edition1TestOnly
Placeholder editions for testing feature resolution. These should not be used or relied on outside of tests.
case edition1TestOnly
Placeholder editions for testing feature resolution. These should not be used or relied on outside of tests.
case edition1TestOnly
s13SwiftProtobuf07Google_B8_EditionO16edition1TestOnlyyA2CmF
What are these?8XDWX
import SwiftProtobuf
Support library for Swift code generated by protoc-gen-swift.
enum Google_Protobuf_Edition
The full set of known editions.
case unknown
A placeholder for an unknown edition value.
case legacy
A placeholder edition for specifying default behaviors before a feature was first introduced. This is effectively an “infinite past”.
case proto2
Legacy 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 proto3
case edition2023
Editions 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 edition2024
case edition2TestOnly
case edition99997TestOnly
case edition99998TestOnly
case edition99999TestOnly
case max
Placeholder 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.