Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update proto files from upstream. #1726

Merged
merged 2 commits into from
Sep 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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