1234567891011121314151617181920212223 |
- import "google/protobuf/descriptor.proto"; // Ignored
- // import "./google/protobuf/descriptor.proto"; // Not ignored
- extend google.protobuf.MessageOptions {
- optional int32 foo = 1001;
- }
- message Foo {
- extensions 2 to max;
- }
- extend Foo {
- optional string bar = 2;
- }
- message Bar {
- message Foo {
- }
- extend .Foo {
- optional Foo foo = 3; // references Bar.Foo
- }
- }
|