|
@@ -126,11 +126,11 @@ message Wrapper {
|
|
|
google.protobuf.BytesValue bytes = 9;
|
|
|
string real_string = 100;
|
|
|
oneof a_oneof {
|
|
|
- string oneof_string = 10;
|
|
|
+ string string_in_oneof = 10;
|
|
|
}
|
|
|
|
|
|
- // Repeated wrappers don't really make sense, but we still need to make sure
|
|
|
- // they work and don't crash.
|
|
|
+ // Repeated wrappers don't make sense, but we still need to make sure they
|
|
|
+ // work and don't crash.
|
|
|
repeated google.protobuf.DoubleValue repeated_double = 11;
|
|
|
repeated google.protobuf.FloatValue repeated_float = 12;
|
|
|
repeated google.protobuf.Int32Value repeated_int32 = 13;
|
|
@@ -141,8 +141,8 @@ message Wrapper {
|
|
|
repeated google.protobuf.StringValue repeated_string = 18;
|
|
|
repeated google.protobuf.BytesValue repeated_bytes = 19;
|
|
|
|
|
|
- // Wrappers as map keys don't really make sense, but we still need to make
|
|
|
- // sure they work and don't crash.
|
|
|
+ // Wrappers as map keys don't make sense, but we still need to make sure they
|
|
|
+ // work and don't crash.
|
|
|
map<int32, google.protobuf.DoubleValue> map_double = 21;
|
|
|
map<int32, google.protobuf.FloatValue> map_float = 22;
|
|
|
map<int32, google.protobuf.Int32Value> map_int32 = 23;
|
|
@@ -152,6 +152,21 @@ message Wrapper {
|
|
|
map<int32, google.protobuf.BoolValue> map_bool = 27;
|
|
|
map<int32, google.protobuf.StringValue> map_string = 28;
|
|
|
map<int32, google.protobuf.BytesValue> map_bytes = 29;
|
|
|
+
|
|
|
+ // Wrappers in oneofs don't make sense, but we still need to make sure they
|
|
|
+ // work and don't crash.
|
|
|
+ oneof wrapper_oneof {
|
|
|
+ google.protobuf.DoubleValue oneof_double = 31;
|
|
|
+ google.protobuf.FloatValue oneof_float = 32;
|
|
|
+ google.protobuf.Int32Value oneof_int32 = 33;
|
|
|
+ google.protobuf.Int64Value oneof_int64 = 34;
|
|
|
+ google.protobuf.UInt32Value oneof_uint32 = 35;
|
|
|
+ google.protobuf.UInt64Value oneof_uint64 = 36;
|
|
|
+ google.protobuf.BoolValue oneof_bool = 37;
|
|
|
+ google.protobuf.StringValue oneof_string = 38;
|
|
|
+ google.protobuf.BytesValue oneof_bytes = 39;
|
|
|
+ string oneof_plain_string = 101;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
message TimeMessage {
|