Skip to content

Commit

Permalink
Update proto files from upstream.
Browse files Browse the repository at this point in the history
Using upstream 4fbb0c5eedf5658c5f3fac574b8bb0d3b3664621
  • Loading branch information
thomasvl committed Sep 26, 2024
1 parent 546ada4 commit 398a6f9
Show file tree
Hide file tree
Showing 13 changed files with 1,540 additions and 805 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ option objc_class_prefix = "EditionsProto2";

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

// This proto includes every type of field in both singular and repeated
// forms.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ option objc_class_prefix = "EditionsProto3";

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

// This proto includes every type of field in both singular and repeated
// forms.
Expand Down
2 changes: 1 addition & 1 deletion Protos/SwiftProtobuf/google/protobuf/api.proto
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ message Method {
// The mixin construct implies that all methods in `AccessControl` are
// also declared with same name and request/response types in
// `Storage`. A documentation generator or annotation processor will
// see the effective `Storage.GetAcl` method after inherting
// see the effective `Storage.GetAcl` method after inheriting
// documentation and annotations as follows:
//
// service Storage {
Expand Down
2 changes: 1 addition & 1 deletion Protos/SwiftProtobuf/google/protobuf/descriptor.proto
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ enum Edition {
EDITION_2024 = 1001;

// Placeholder editions for testing feature resolution. These should not be
// used or relyed on outside of tests.
// used or relied on outside of tests.
EDITION_1_TEST_ONLY = 1;
EDITION_2_TEST_ONLY = 2;
EDITION_99997_TEST_ONLY = 99997;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ option objc_class_prefix = "EditionsProto2";

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

// This proto includes every type of field in both singular and repeated
// forms.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ option objc_class_prefix = "EditionsProto3";

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

// This proto includes every type of field in both singular and repeated
// forms.
Expand Down
2 changes: 1 addition & 1 deletion Protos/upstream/google/protobuf/api.proto
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ message Method {
// The mixin construct implies that all methods in `AccessControl` are
// also declared with same name and request/response types in
// `Storage`. A documentation generator or annotation processor will
// see the effective `Storage.GetAcl` method after inherting
// see the effective `Storage.GetAcl` method after inheriting
// documentation and annotations as follows:
//
// service Storage {
Expand Down
2 changes: 1 addition & 1 deletion Protos/upstream/google/protobuf/descriptor.proto
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ enum Edition {
EDITION_2024 = 1001;

// Placeholder editions for testing feature resolution. These should not be
// used or relyed on outside of tests.
// used or relied on outside of tests.
EDITION_1_TEST_ONLY = 1;
EDITION_2_TEST_ONLY = 2;
EDITION_99997_TEST_ONLY = 99997;
Expand Down
2 changes: 2 additions & 0 deletions Protos/upstream/google/protobuf/edition_unittest.proto
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ message TestAllTypes {

string optional_string_piece = 24 [ctype=STRING_PIECE];
string optional_cord = 25 [ctype=CORD];
bytes optional_bytes_cord = 86 [ctype=CORD];

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

protobuf_unittest_import.PublicImportMessage
optional_public_import_message_extension = 26;
Expand Down
Loading

0 comments on commit 398a6f9

Please sign in to comment.