Skip to content

Commit 398a6f9

Browse files
committed
Update proto files from upstream.
Using upstream 4fbb0c5eedf5658c5f3fac574b8bb0d3b3664621
1 parent 546ada4 commit 398a6f9

13 files changed

+1540
-805
lines changed

Protos/Conformance/editions/test_messages_proto2_editions.proto

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ option objc_class_prefix = "EditionsProto2";
2323

2424
// This is the default, but we specify it here explicitly.
2525
option optimize_for = SPEED;
26+
option cc_enable_arenas = true;
2627

2728
// This proto includes every type of field in both singular and repeated
2829
// forms.

Protos/Conformance/editions/test_messages_proto3_editions.proto

+1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ option objc_class_prefix = "EditionsProto3";
2828

2929
// This is the default, but we specify it here explicitly.
3030
option optimize_for = SPEED;
31+
option cc_enable_arenas = true;
3132

3233
// This proto includes every type of field in both singular and repeated
3334
// forms.

Protos/SwiftProtobuf/google/protobuf/api.proto

+1-1
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ message Method {
166166
// The mixin construct implies that all methods in `AccessControl` are
167167
// also declared with same name and request/response types in
168168
// `Storage`. A documentation generator or annotation processor will
169-
// see the effective `Storage.GetAcl` method after inherting
169+
// see the effective `Storage.GetAcl` method after inheriting
170170
// documentation and annotations as follows:
171171
//
172172
// service Storage {

Protos/SwiftProtobuf/google/protobuf/descriptor.proto

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ enum Edition {
8080
EDITION_2024 = 1001;
8181

8282
// Placeholder editions for testing feature resolution. These should not be
83-
// used or relyed on outside of tests.
83+
// used or relied on outside of tests.
8484
EDITION_1_TEST_ONLY = 1;
8585
EDITION_2_TEST_ONLY = 2;
8686
EDITION_99997_TEST_ONLY = 99997;

Protos/upstream/editions/golden/test_messages_proto2_editions.proto

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ option objc_class_prefix = "EditionsProto2";
2323

2424
// This is the default, but we specify it here explicitly.
2525
option optimize_for = SPEED;
26+
option cc_enable_arenas = true;
2627

2728
// This proto includes every type of field in both singular and repeated
2829
// forms.

Protos/upstream/editions/golden/test_messages_proto3_editions.proto

+1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ option objc_class_prefix = "EditionsProto3";
2828

2929
// This is the default, but we specify it here explicitly.
3030
option optimize_for = SPEED;
31+
option cc_enable_arenas = true;
3132

3233
// This proto includes every type of field in both singular and repeated
3334
// forms.

Protos/upstream/google/protobuf/api.proto

+1-1
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ message Method {
166166
// The mixin construct implies that all methods in `AccessControl` are
167167
// also declared with same name and request/response types in
168168
// `Storage`. A documentation generator or annotation processor will
169-
// see the effective `Storage.GetAcl` method after inherting
169+
// see the effective `Storage.GetAcl` method after inheriting
170170
// documentation and annotations as follows:
171171
//
172172
// service Storage {

Protos/upstream/google/protobuf/descriptor.proto

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ enum Edition {
8080
EDITION_2024 = 1001;
8181

8282
// Placeholder editions for testing feature resolution. These should not be
83-
// used or relyed on outside of tests.
83+
// used or relied on outside of tests.
8484
EDITION_1_TEST_ONLY = 1;
8585
EDITION_2_TEST_ONLY = 2;
8686
EDITION_99997_TEST_ONLY = 99997;

Protos/upstream/google/protobuf/edition_unittest.proto

+2
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ message TestAllTypes {
9191

9292
string optional_string_piece = 24 [ctype=STRING_PIECE];
9393
string optional_cord = 25 [ctype=CORD];
94+
bytes optional_bytes_cord = 86 [ctype=CORD];
9495

9596
// Defined in unittest_import_public.proto
9697
protobuf_unittest_import.PublicImportMessage
@@ -266,6 +267,7 @@ extend TestAllExtensions {
266267
// TODO: ctype=CORD is not supported for extension. Add
267268
// ctype=CORD option back after it is supported.
268269
string optional_cord_extension = 25;
270+
bytes optional_bytes_cord_extension = 86;
269271

270272
protobuf_unittest_import.PublicImportMessage
271273
optional_public_import_message_extension = 26;

0 commit comments

Comments
 (0)