Skip to content

Commit 3fcbd36

Browse files
committed
Update the proto files from upsteam protobuf.
Using commit 87f1d9e2f66bf6028ef416481ada1602cbfc0bc8
1 parent 426bef0 commit 3fcbd36

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Protos/google/protobuf/unittest_custom_options.proto

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ option py_generic_services = true;
4545
// A custom file option (defined below).
4646
option (file_opt1) = 9876543210;
4747

48+
import "google/protobuf/any.proto";
4849
import "google/protobuf/descriptor.proto";
4950

5051
// We don't put this in a package within proto2 because we need to make sure
@@ -329,6 +330,9 @@ message Aggregate {
329330

330331
// An embedded message set
331332
optional AggregateMessageSet mset = 5;
333+
334+
// An any
335+
optional google.protobuf.Any any = 6;
332336
}
333337

334338
// Allow Aggregate to be used as an option at all possible locations
@@ -376,6 +380,12 @@ option (fileopt) = {
376380
s: 'EmbeddedMessageSetElement'
377381
}
378382
}
383+
384+
any {
385+
[type.googleapis.com/protobuf_unittest.AggregateMessageSetElement] {
386+
s: 'EmbeddedMessageSetElement'
387+
}
388+
}
379389
};
380390

381391
message AggregateMessage {

0 commit comments

Comments
 (0)