Constructors

Link copied to clipboard
protected constructor(number: Int)

Types

Link copied to clipboard
object Companion
Link copied to clipboard

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

Link copied to clipboard
data object EDITION_2023 : Edition

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.

Link copied to clipboard
data object EDITION_2024 : Edition
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data object EDITION_LEGACY : Edition

A placeholder edition for specifying default behaviors before a feature was first introduced. This is effectively an "infinite past".

Link copied to clipboard
data object EDITION_MAX : Edition

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.

Link copied to clipboard
data object EDITION_PROTO2 : Edition

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.

Link copied to clipboard
data object EDITION_PROTO3 : Edition
Link copied to clipboard
data object EDITION_UNKNOWN : Edition

A placeholder for an unknown edition value.

Link copied to clipboard
data class UNRECOGNIZED(val number: Int) : Edition

Properties

Link copied to clipboard
open val number: Int