Edition
class Edition (View source)
The full set of known editions.
Protobuf type google.protobuf.Edition
Constants
| EDITION_UNKNOWN |
A placeholder for an unknown edition value. Generated from protobuf enum |
| EDITION_LEGACY |
A placeholder edition for specifying default behaviors before a feature
was first introduced. This is effectively an "infinite past". Generated from protobuf enum |
| 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. Generated from protobuf enum |
| EDITION_PROTO3 |
Generated from protobuf enum |
| EDITION_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. Generated from protobuf enum |
| EDITION_2024 |
Generated from protobuf enum |
| EDITION_UNSTABLE |
A placeholder edition for developing and testing unscheduled features. Generated from protobuf enum |
| EDITION_1_TEST_ONLY |
Placeholder editions for testing feature resolution. These should not be
used or relied on outside of tests. Generated from protobuf enum |
| EDITION_2_TEST_ONLY |
Generated from protobuf enum |
| EDITION_99997_TEST_ONLY |
Generated from protobuf enum |
| EDITION_99998_TEST_ONLY |
Generated from protobuf enum |
| EDITION_99999_TEST_ONLY |
Generated from protobuf enum |
| EDITION_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. Generated from protobuf enum |
Methods
Details
static
name($value)
No description
static
value($name)
No description