The full set of known editions.
Protobuf type google.protobuf.Edition
Constants |
public Google Placeholder editions for testing feature resolution. These should not be used or relied on outside of tests. Generated from protobuf enum EDITION_1_TEST_ONLY = 1; |
public Google 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_2023 = 1000; |
public Google Generated from protobuf enum EDITION_2024 = 1001; |
public Google Generated from protobuf enum EDITION_2_TEST_ONLY = 2; |
public Google Generated from protobuf enum EDITION_99997_TEST_ONLY = 99997; |
public Google Generated from protobuf enum EDITION_99998_TEST_ONLY = 99998; |
public Google Generated from protobuf enum EDITION_99999_TEST_ONLY = 99999; |
public Google A placeholder edition for specifying default behaviors before a feature was first introduced. This is effectively an "infinite past". Generated from protobuf enum EDITION_LEGACY = 900; |
public Google 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 EDITION_MAX = 2147483647; |
public Google 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_PROTO2 = 998; |
public Google Generated from protobuf enum EDITION_PROTO3 = 999; |
public Google A placeholder for an unknown edition value. Generated from protobuf enum EDITION_UNKNOWN = 0; |
Methods |
public static name( $value) |
public static value( $name) |
Properties |
private static $valueToName = ['EDITION_UNKNOWN', 900 => 'EDITION_LEGACY', 998 => 'EDITION_PROTO2', 999 => 'EDITION_PROTO3', 1000 => 'EDITION_2023', 1001 => 'EDITION_2024', 1 => 'EDITION_1_TEST_ONLY', 2 => 'EDITION_2_TEST_ONLY', 99997 => 'EDITION_99997_TEST_ONLY', 99998 => 'EDITION_99998_TEST_ONLY', 99999 => 'EDITION_99999_TEST_ONLY', 2147483647 => 'EDITION_MAX'] |
Properties |
private static $valueToName = ['EDITION_UNKNOWN', 900 => 'EDITION_LEGACY', 998 => 'EDITION_PROTO2', 999 => 'EDITION_PROTO3', 1000 => 'EDITION_2023', 1001 => 'EDITION_2024', 1 => 'EDITION_1_TEST_ONLY', 2 => 'EDITION_2_TEST_ONLY', 99997 => 'EDITION_99997_TEST_ONLY', 99998 => 'EDITION_99998_TEST_ONLY', 99999 => 'EDITION_99999_TEST_ONLY', 2147483647 => 'EDITION_MAX'] |
Methods |
public static name( $value) |
public static value( $name) |