@@ -9,10 +9,6 @@ syntax = "proto3";
99
1010package protobuf_unittest ;
1111
12- option csharp_namespace = "Google.Protobuf.TestProtos" ;
13- option java_multiple_files = true ;
14- option java_package = "com.google.protobuf.test" ;
15-
1612import "google/protobuf/any.proto" ;
1713import "google/protobuf/api.proto" ;
1814import "google/protobuf/duration.proto" ;
@@ -24,6 +20,10 @@ import "google/protobuf/timestamp.proto";
2420import "google/protobuf/type.proto" ;
2521import "google/protobuf/wrappers.proto" ;
2622
23+ option csharp_namespace = "Google.Protobuf.TestProtos" ;
24+ option java_multiple_files = true ;
25+ option java_package = "com.google.protobuf.test" ;
26+
2727// Test that we can include all well-known types.
2828// Each wrapper type is included separately, as languages
2929// map handle different wrappers in different ways.
@@ -100,22 +100,22 @@ message OneofWellKnownTypes {
100100// need to worry about the value part of the map being the
101101// well-known types, as messages can't be map keys.
102102message MapWellKnownTypes {
103- map <int32 ,google.protobuf.Any > any_field = 1 ;
104- map <int32 ,google.protobuf.Api > api_field = 2 ;
105- map <int32 ,google.protobuf.Duration > duration_field = 3 ;
106- map <int32 ,google.protobuf.Empty > empty_field = 4 ;
107- map <int32 ,google.protobuf.FieldMask > field_mask_field = 5 ;
108- map <int32 ,google.protobuf.SourceContext > source_context_field = 6 ;
109- map <int32 ,google.protobuf.Struct > struct_field = 7 ;
110- map <int32 ,google.protobuf.Timestamp > timestamp_field = 8 ;
111- map <int32 ,google.protobuf.Type > type_field = 9 ;
112- map <int32 ,google.protobuf.DoubleValue > double_field = 10 ;
113- map <int32 ,google.protobuf.FloatValue > float_field = 11 ;
114- map <int32 ,google.protobuf.Int64Value > int64_field = 12 ;
115- map <int32 ,google.protobuf.UInt64Value > uint64_field = 13 ;
116- map <int32 ,google.protobuf.Int32Value > int32_field = 14 ;
117- map <int32 ,google.protobuf.UInt32Value > uint32_field = 15 ;
118- map <int32 ,google.protobuf.BoolValue > bool_field = 16 ;
119- map <int32 ,google.protobuf.StringValue > string_field = 17 ;
120- map <int32 ,google.protobuf.BytesValue > bytes_field = 18 ;
103+ map <int32 , google.protobuf.Any > any_field = 1 ;
104+ map <int32 , google.protobuf.Api > api_field = 2 ;
105+ map <int32 , google.protobuf.Duration > duration_field = 3 ;
106+ map <int32 , google.protobuf.Empty > empty_field = 4 ;
107+ map <int32 , google.protobuf.FieldMask > field_mask_field = 5 ;
108+ map <int32 , google.protobuf.SourceContext > source_context_field = 6 ;
109+ map <int32 , google.protobuf.Struct > struct_field = 7 ;
110+ map <int32 , google.protobuf.Timestamp > timestamp_field = 8 ;
111+ map <int32 , google.protobuf.Type > type_field = 9 ;
112+ map <int32 , google.protobuf.DoubleValue > double_field = 10 ;
113+ map <int32 , google.protobuf.FloatValue > float_field = 11 ;
114+ map <int32 , google.protobuf.Int64Value > int64_field = 12 ;
115+ map <int32 , google.protobuf.UInt64Value > uint64_field = 13 ;
116+ map <int32 , google.protobuf.Int32Value > int32_field = 14 ;
117+ map <int32 , google.protobuf.UInt32Value > uint32_field = 15 ;
118+ map <int32 , google.protobuf.BoolValue > bool_field = 16 ;
119+ map <int32 , google.protobuf.StringValue > string_field = 17 ;
120+ map <int32 , google.protobuf.BytesValue > bytes_field = 18 ;
121121}
0 commit comments