Skip to content

Commit 4c7607f

Browse files
karenwuzcopybara-github
authored andcommitted
Adding Edition 2026.
PiperOrigin-RevId: 892588805
1 parent 0aab4ce commit 4c7607f

File tree

5 files changed

+18
-15
lines changed

5 files changed

+18
-15
lines changed

src/google/protobuf/descriptor.pb.cc

Lines changed: 14 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/google/protobuf/descriptor.pb.h

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/google/protobuf/descriptor.proto

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ enum Edition {
6262
// comparison.
6363
EDITION_2023 = 1000;
6464
EDITION_2024 = 1001;
65+
EDITION_2026 = 1002;
6566

6667
// A placeholder edition for developing and testing unscheduled features.
6768
EDITION_UNSTABLE = 9999;

upb/reflection/stage0/google/protobuf/descriptor.upb.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -959,7 +959,7 @@ const upb_MiniTable* google__protobuf__GeneratedCodeInfo__Annotation_msg_init()
959959

960960
const upb_MiniTableEnum* google__protobuf__Edition_enum_init() {
961961
static const upb_MiniTableEnum* mini_table = NULL;
962-
static const char* mini_descriptor = "!)~z!|a1cxg!h{va)|i}{~~`!";
962+
static const char* mini_descriptor = "!)~z!|aAcxg!h{va)|i}{~~`!";
963963
if (mini_table) return mini_table;
964964
mini_table = upb_MiniTableEnum_Build(mini_descriptor,
965965
strlen(mini_descriptor),

upb/reflection/stage0/google/protobuf/descriptor.upb.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,7 @@ typedef enum {
217217
google_protobuf_EDITION_PROTO3 = 999,
218218
google_protobuf_EDITION_2023 = 1000,
219219
google_protobuf_EDITION_2024 = 1001,
220+
google_protobuf_EDITION_2026 = 1002,
220221
google_protobuf_EDITION_UNSTABLE = 9999,
221222
google_protobuf_EDITION_99997_TEST_ONLY = 99997,
222223
google_protobuf_EDITION_99998_TEST_ONLY = 99998,

0 commit comments

Comments
 (0)