diff options
Diffstat (limited to 'python/google/protobuf/internal/factory_test2.proto')
-rw-r--r-- | python/google/protobuf/internal/factory_test2.proto | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/python/google/protobuf/internal/factory_test2.proto b/python/google/protobuf/internal/factory_test2.proto index d3ce4d7f..a8c68123 100644 --- a/python/google/protobuf/internal/factory_test2.proto +++ b/python/google/protobuf/internal/factory_test2.proto @@ -70,8 +70,23 @@ message Factory2Message { optional string string_with_default = 18 [default = "hello world"]; optional bool bool_with_default = 19 [default = false]; optional Factory2Enum enum_with_default = 20 [default = FACTORY_2_VALUE_1]; + optional bytes bytes_with_default = 21 [default = "a\373\000c"]; + + + extend Factory1Message { + optional string one_more_field = 1001; + } + + oneof oneof_field { + int32 oneof_int = 22; + string oneof_string = 23; + } } message LoopMessage { optional Factory2Message loop = 1; } + +extend Factory1Message { + optional string another_field = 1002; +} |