unknown

A placeholder for an unknown edition value.

descriptor.pb.swift:66
case unknown

Other cases

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