Enum Edition (3.27.1)

public enum Edition

The full set of known editions.

Namespace

Google.Protobuf.Reflection

Assembly

Google.Protobuf.dll

Fields

Name Description
Legacy

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

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.

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.

Proto3
Unknown

A placeholder for an unknown edition value.

_1TestOnly

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

_2023

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.

_2024
_2TestOnly
_99997TestOnly
_99998TestOnly
_99999TestOnly