Google_Protobuf_Edition

    The full set of known editions.

    descriptor.pb.swift:63
    enum Google_Protobuf_Edition

    Cases

    • 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 edition1TestOnly

      Placeholder editions for testing feature resolution. These should not be used or relyed on outside of tests.

    • 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.

    Citizens in SwiftProtobuf

    Conformances

    Show implementation details (1)

    Hide implementation details

    Typealiases

    Type members

    Show implementation details (1)

    Hide implementation details

    Instance members

    Type features

    Instance features

    Available in SwiftProtobufPluginLibrary

    Conformances

    • protocol Comparable

      A type that can be compared using the relational operators <, <=, >=, and >.

    Type members

    Type features