github.com/jhump/protoreflect@v1.16.0/internal/testprotos/desc_test_comments.pb.go (about) 1 // This is the first detached comment for the syntax. 2 3 // 4 // This is a second detached comment. 5 6 // This is a third. 7 8 // Syntax comment... 9 10 // Code generated by protoc-gen-go. DO NOT EDIT. 11 // versions: 12 // protoc-gen-go v1.33.0-devel 13 // protoc v5.26.1 14 // source: desc_test_comments.proto 15 16 // And now the package declaration 17 18 package testprotos 19 20 import ( 21 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 22 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 23 emptypb "google.golang.org/protobuf/types/known/emptypb" 24 reflect "reflect" 25 sync "sync" 26 ) 27 28 const ( 29 // Verify that this generated code is sufficiently up-to-date. 30 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 31 // Verify that runtime/protoimpl is sufficiently up-to-date. 32 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 33 ) 34 35 // Symbols defined in public import of google/protobuf/empty.proto. 36 37 type Empty = emptypb.Empty 38 39 type Request_MarioCharacters int32 40 41 const ( 42 Request_MARIO Request_MarioCharacters = 1 43 Request_LUIGI Request_MarioCharacters = 2 44 Request_PEACH Request_MarioCharacters = 3 45 Request_BOWSER Request_MarioCharacters = 4 46 Request_WARIO Request_MarioCharacters = 5 47 Request_WALUIGI Request_MarioCharacters = 6 48 Request_SHY_GUY Request_MarioCharacters = 7 49 Request_HEY_HO Request_MarioCharacters = 7 50 Request_MAGIKOOPA Request_MarioCharacters = 8 51 Request_KAMEK Request_MarioCharacters = 8 52 Request_SNIFIT Request_MarioCharacters = -101 53 ) 54 55 // Enum value maps for Request_MarioCharacters. 56 var ( 57 Request_MarioCharacters_name = map[int32]string{ 58 1: "MARIO", 59 2: "LUIGI", 60 3: "PEACH", 61 4: "BOWSER", 62 5: "WARIO", 63 6: "WALUIGI", 64 7: "SHY_GUY", 65 // Duplicate value: 7: "HEY_HO", 66 8: "MAGIKOOPA", 67 // Duplicate value: 8: "KAMEK", 68 -101: "SNIFIT", 69 } 70 Request_MarioCharacters_value = map[string]int32{ 71 "MARIO": 1, 72 "LUIGI": 2, 73 "PEACH": 3, 74 "BOWSER": 4, 75 "WARIO": 5, 76 "WALUIGI": 6, 77 "SHY_GUY": 7, 78 "HEY_HO": 7, 79 "MAGIKOOPA": 8, 80 "KAMEK": 8, 81 "SNIFIT": -101, 82 } 83 ) 84 85 func (x Request_MarioCharacters) Enum() *Request_MarioCharacters { 86 p := new(Request_MarioCharacters) 87 *p = x 88 return p 89 } 90 91 func (x Request_MarioCharacters) String() string { 92 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 93 } 94 95 func (Request_MarioCharacters) Descriptor() protoreflect.EnumDescriptor { 96 return file_desc_test_comments_proto_enumTypes[0].Descriptor() 97 } 98 99 func (Request_MarioCharacters) Type() protoreflect.EnumType { 100 return &file_desc_test_comments_proto_enumTypes[0] 101 } 102 103 func (x Request_MarioCharacters) Number() protoreflect.EnumNumber { 104 return protoreflect.EnumNumber(x) 105 } 106 107 // Deprecated: Do not use. 108 func (x *Request_MarioCharacters) UnmarshalJSON(b []byte) error { 109 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) 110 if err != nil { 111 return err 112 } 113 *x = Request_MarioCharacters(num) 114 return nil 115 } 116 117 // Deprecated: Use Request_MarioCharacters.Descriptor instead. 118 func (Request_MarioCharacters) EnumDescriptor() ([]byte, []int) { 119 return file_desc_test_comments_proto_rawDescGZIP(), []int{0, 0} 120 } 121 122 // We need a request for our RPC service below. 123 // 124 // Deprecated: Marked as deprecated in desc_test_comments.proto. 125 type Request struct { 126 state protoimpl.MessageState 127 sizeCache protoimpl.SizeCache 128 unknownFields protoimpl.UnknownFields 129 extensionFields protoimpl.ExtensionFields 130 131 // A field comment 132 Ids []int32 `protobuf:"varint,1,rep,packed,name=ids,json=|foo|" json:"ids,omitempty"` // field trailer #1... 133 // label comment 134 Name *string `protobuf:"bytes,2,opt,name=name,def=fubar" json:"name,omitempty"` 135 Extras *Request_Extras `protobuf:"group,3,opt,name=Extras,json=extras" json:"extras,omitempty"` 136 // can be this or that 137 // 138 // Types that are assignable to Abc: 139 // 140 // *Request_This 141 // *Request_That 142 Abc isRequest_Abc `protobuf_oneof:"abc"` 143 // can be these or those 144 // 145 // Types that are assignable to Xyz: 146 // 147 // *Request_These 148 // *Request_Those 149 Xyz isRequest_Xyz `protobuf_oneof:"xyz"` 150 // map field 151 Things map[string]string `protobuf:"bytes,8,rep,name=things" json:"things,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` 152 } 153 154 // Default values for Request fields. 155 const ( 156 Default_Request_Name = string("fubar") 157 ) 158 159 func (x *Request) Reset() { 160 *x = Request{} 161 if protoimpl.UnsafeEnabled { 162 mi := &file_desc_test_comments_proto_msgTypes[0] 163 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 164 ms.StoreMessageInfo(mi) 165 } 166 } 167 168 func (x *Request) String() string { 169 return protoimpl.X.MessageStringOf(x) 170 } 171 172 func (*Request) ProtoMessage() {} 173 174 func (x *Request) ProtoReflect() protoreflect.Message { 175 mi := &file_desc_test_comments_proto_msgTypes[0] 176 if protoimpl.UnsafeEnabled && x != nil { 177 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 178 if ms.LoadMessageInfo() == nil { 179 ms.StoreMessageInfo(mi) 180 } 181 return ms 182 } 183 return mi.MessageOf(x) 184 } 185 186 // Deprecated: Use Request.ProtoReflect.Descriptor instead. 187 func (*Request) Descriptor() ([]byte, []int) { 188 return file_desc_test_comments_proto_rawDescGZIP(), []int{0} 189 } 190 191 func (x *Request) GetIds() []int32 { 192 if x != nil { 193 return x.Ids 194 } 195 return nil 196 } 197 198 func (x *Request) GetName() string { 199 if x != nil && x.Name != nil { 200 return *x.Name 201 } 202 return Default_Request_Name 203 } 204 205 func (x *Request) GetExtras() *Request_Extras { 206 if x != nil { 207 return x.Extras 208 } 209 return nil 210 } 211 212 func (m *Request) GetAbc() isRequest_Abc { 213 if m != nil { 214 return m.Abc 215 } 216 return nil 217 } 218 219 func (x *Request) GetThis() string { 220 if x, ok := x.GetAbc().(*Request_This); ok { 221 return x.This 222 } 223 return "" 224 } 225 226 func (x *Request) GetThat() int32 { 227 if x, ok := x.GetAbc().(*Request_That); ok { 228 return x.That 229 } 230 return 0 231 } 232 233 func (m *Request) GetXyz() isRequest_Xyz { 234 if m != nil { 235 return m.Xyz 236 } 237 return nil 238 } 239 240 func (x *Request) GetThese() string { 241 if x, ok := x.GetXyz().(*Request_These); ok { 242 return x.These 243 } 244 return "" 245 } 246 247 func (x *Request) GetThose() int32 { 248 if x, ok := x.GetXyz().(*Request_Those); ok { 249 return x.Those 250 } 251 return 0 252 } 253 254 func (x *Request) GetThings() map[string]string { 255 if x != nil { 256 return x.Things 257 } 258 return nil 259 } 260 261 type isRequest_Abc interface { 262 isRequest_Abc() 263 } 264 265 type Request_This struct { 266 This string `protobuf:"bytes,4,opt,name=this,oneof"` 267 } 268 269 type Request_That struct { 270 That int32 `protobuf:"varint,5,opt,name=that,oneof"` 271 } 272 273 func (*Request_This) isRequest_Abc() {} 274 275 func (*Request_That) isRequest_Abc() {} 276 277 type isRequest_Xyz interface { 278 isRequest_Xyz() 279 } 280 281 type Request_These struct { 282 These string `protobuf:"bytes,6,opt,name=these,oneof"` 283 } 284 285 type Request_Those struct { 286 Those int32 `protobuf:"varint,7,opt,name=those,oneof"` 287 } 288 289 func (*Request_These) isRequest_Xyz() {} 290 291 func (*Request_Those) isRequest_Xyz() {} 292 293 type AnEmptyMessage struct { 294 state protoimpl.MessageState 295 sizeCache protoimpl.SizeCache 296 unknownFields protoimpl.UnknownFields 297 } 298 299 func (x *AnEmptyMessage) Reset() { 300 *x = AnEmptyMessage{} 301 if protoimpl.UnsafeEnabled { 302 mi := &file_desc_test_comments_proto_msgTypes[1] 303 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 304 ms.StoreMessageInfo(mi) 305 } 306 } 307 308 func (x *AnEmptyMessage) String() string { 309 return protoimpl.X.MessageStringOf(x) 310 } 311 312 func (*AnEmptyMessage) ProtoMessage() {} 313 314 func (x *AnEmptyMessage) ProtoReflect() protoreflect.Message { 315 mi := &file_desc_test_comments_proto_msgTypes[1] 316 if protoimpl.UnsafeEnabled && x != nil { 317 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 318 if ms.LoadMessageInfo() == nil { 319 ms.StoreMessageInfo(mi) 320 } 321 return ms 322 } 323 return mi.MessageOf(x) 324 } 325 326 // Deprecated: Use AnEmptyMessage.ProtoReflect.Descriptor instead. 327 func (*AnEmptyMessage) Descriptor() ([]byte, []int) { 328 return file_desc_test_comments_proto_rawDescGZIP(), []int{1} 329 } 330 331 // Group comment with emoji 😀 😍 👻 ❤ 💯 💥 🐶 🦂 🥑 🍻 🌍 🚕 🪐 332 type Request_Extras struct { 333 state protoimpl.MessageState 334 sizeCache protoimpl.SizeCache 335 unknownFields protoimpl.UnknownFields 336 337 Dbl *float64 `protobuf:"fixed64,1,opt,name=dbl" json:"dbl,omitempty"` 338 Flt *float32 `protobuf:"fixed32,2,opt,name=flt" json:"flt,omitempty"` 339 // Leading comment... 340 Str *string `protobuf:"bytes,3,opt,name=str" json:"str,omitempty"` // Trailing comment... 341 } 342 343 func (x *Request_Extras) Reset() { 344 *x = Request_Extras{} 345 if protoimpl.UnsafeEnabled { 346 mi := &file_desc_test_comments_proto_msgTypes[2] 347 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 348 ms.StoreMessageInfo(mi) 349 } 350 } 351 352 func (x *Request_Extras) String() string { 353 return protoimpl.X.MessageStringOf(x) 354 } 355 356 func (*Request_Extras) ProtoMessage() {} 357 358 func (x *Request_Extras) ProtoReflect() protoreflect.Message { 359 mi := &file_desc_test_comments_proto_msgTypes[2] 360 if protoimpl.UnsafeEnabled && x != nil { 361 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 362 if ms.LoadMessageInfo() == nil { 363 ms.StoreMessageInfo(mi) 364 } 365 return ms 366 } 367 return mi.MessageOf(x) 368 } 369 370 // Deprecated: Use Request_Extras.ProtoReflect.Descriptor instead. 371 func (*Request_Extras) Descriptor() ([]byte, []int) { 372 return file_desc_test_comments_proto_rawDescGZIP(), []int{0, 0} 373 } 374 375 func (x *Request_Extras) GetDbl() float64 { 376 if x != nil && x.Dbl != nil { 377 return *x.Dbl 378 } 379 return 0 380 } 381 382 func (x *Request_Extras) GetFlt() float32 { 383 if x != nil && x.Flt != nil { 384 return *x.Flt 385 } 386 return 0 387 } 388 389 func (x *Request_Extras) GetStr() string { 390 if x != nil && x.Str != nil { 391 return *x.Str 392 } 393 return "" 394 } 395 396 var file_desc_test_comments_proto_extTypes = []protoimpl.ExtensionInfo{ 397 { 398 ExtendedType: (*Request)(nil), 399 ExtensionType: (*uint64)(nil), 400 Field: 123, 401 Name: "foo.bar.guid1", 402 Tag: "varint,123,opt,name=guid1", 403 Filename: "desc_test_comments.proto", 404 }, 405 { 406 ExtendedType: (*Request)(nil), 407 ExtensionType: (*uint64)(nil), 408 Field: 124, 409 Name: "foo.bar.guid2", 410 Tag: "varint,124,opt,name=guid2", 411 Filename: "desc_test_comments.proto", 412 }, 413 } 414 415 // Extension fields to Request. 416 var ( 417 // comment for guid1 418 // 419 // optional uint64 guid1 = 123; 420 E_Guid1 = &file_desc_test_comments_proto_extTypes[0] 421 // ... and a comment for guid2 422 // 423 // optional uint64 guid2 = 124; 424 E_Guid2 = &file_desc_test_comments_proto_extTypes[1] 425 ) 426 427 var File_desc_test_comments_proto protoreflect.FileDescriptor 428 429 var file_desc_test_comments_proto_rawDesc = []byte{ 430 0x0a, 0x18, 0x64, 0x65, 0x73, 0x63, 0x5f, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 431 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x66, 0x6f, 0x6f, 0x2e, 432 0x62, 0x61, 0x72, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 433 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 434 0x1a, 0x17, 0x64, 0x65, 0x73, 0x63, 0x5f, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x6f, 0x70, 0x74, 0x69, 435 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe8, 0x05, 0x0a, 0x07, 0x52, 0x65, 436 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x03, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 437 0x28, 0x05, 0x42, 0x10, 0xaa, 0xf7, 0x04, 0x03, 0x61, 0x62, 0x63, 0xb2, 0xf7, 0x04, 0x03, 0x78, 438 0x79, 0x7a, 0x10, 0x01, 0x52, 0x05, 0x7c, 0x66, 0x6f, 0x6f, 0x7c, 0x12, 0x19, 0x0a, 0x04, 0x6e, 439 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x3a, 0x05, 0x66, 0x75, 0x62, 0x61, 0x72, 440 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2f, 0x0a, 0x06, 0x65, 0x78, 0x74, 0x72, 0x61, 0x73, 441 0x18, 0x03, 0x20, 0x01, 0x28, 0x0a, 0x32, 0x17, 0x2e, 0x66, 0x6f, 0x6f, 0x2e, 0x62, 0x61, 0x72, 442 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x45, 0x78, 0x74, 0x72, 0x61, 0x73, 0x52, 443 0x06, 0x65, 0x78, 0x74, 0x72, 0x61, 0x73, 0x12, 0x14, 0x0a, 0x04, 0x74, 0x68, 0x69, 0x73, 0x18, 444 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x04, 0x74, 0x68, 0x69, 0x73, 0x12, 0x14, 0x0a, 445 0x04, 0x74, 0x68, 0x61, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x48, 0x00, 0x52, 0x04, 0x74, 446 0x68, 0x61, 0x74, 0x12, 0x16, 0x0a, 0x05, 0x74, 0x68, 0x65, 0x73, 0x65, 0x18, 0x06, 0x20, 0x01, 447 0x28, 0x09, 0x48, 0x01, 0x52, 0x05, 0x74, 0x68, 0x65, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x05, 0x74, 448 0x68, 0x6f, 0x73, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x48, 0x01, 0x52, 0x05, 0x74, 0x68, 449 0x6f, 0x73, 0x65, 0x12, 0x34, 0x0a, 0x06, 0x74, 0x68, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x08, 0x20, 450 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x66, 0x6f, 0x6f, 0x2e, 0x62, 0x61, 0x72, 0x2e, 0x52, 0x65, 451 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x68, 0x69, 0x6e, 0x67, 0x73, 0x45, 0x6e, 0x74, 0x72, 452 0x79, 0x52, 0x06, 0x74, 0x68, 0x69, 0x6e, 0x67, 0x73, 0x1a, 0x46, 0x0a, 0x06, 0x45, 0x78, 0x74, 453 0x72, 0x61, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x64, 0x62, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x01, 454 0x52, 0x03, 0x64, 0x62, 0x6c, 0x12, 0x10, 0x0a, 0x03, 0x66, 0x6c, 0x74, 0x18, 0x02, 0x20, 0x01, 455 0x28, 0x02, 0x52, 0x03, 0x66, 0x6c, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x74, 0x72, 0x18, 0x03, 456 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x73, 0x74, 0x72, 0x3a, 0x06, 0xa8, 0xf7, 0x04, 0x00, 0x10, 457 0x00, 0x1a, 0x39, 0x0a, 0x0b, 0x54, 0x68, 0x69, 0x6e, 0x67, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 458 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 459 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 460 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xd6, 0x01, 0x0a, 461 0x0f, 0x4d, 0x61, 0x72, 0x69, 0x6f, 0x43, 0x68, 0x61, 0x72, 0x61, 0x63, 0x74, 0x65, 0x72, 0x73, 462 0x12, 0x15, 0x0a, 0x05, 0x4d, 0x41, 0x52, 0x49, 0x4f, 0x10, 0x01, 0x1a, 0x0a, 0xa8, 0xf7, 0x04, 463 0x96, 0x02, 0xb0, 0xf7, 0x04, 0xf3, 0x04, 0x12, 0x1b, 0x0a, 0x05, 0x4c, 0x55, 0x49, 0x47, 0x49, 464 0x10, 0x02, 0x1a, 0x10, 0xc0, 0xf7, 0x04, 0xc8, 0x01, 0xc9, 0xf7, 0x04, 0x64, 0x00, 0x00, 0x00, 465 0x00, 0x00, 0x00, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x50, 0x45, 0x41, 0x43, 0x48, 0x10, 0x03, 0x12, 466 0x0a, 0x0a, 0x06, 0x42, 0x4f, 0x57, 0x53, 0x45, 0x52, 0x10, 0x04, 0x12, 0x09, 0x0a, 0x05, 0x57, 467 0x41, 0x52, 0x49, 0x4f, 0x10, 0x05, 0x12, 0x0b, 0x0a, 0x07, 0x57, 0x41, 0x4c, 0x55, 0x49, 0x47, 468 0x49, 0x10, 0x06, 0x12, 0x18, 0x0a, 0x07, 0x53, 0x48, 0x59, 0x5f, 0x47, 0x55, 0x59, 0x10, 0x07, 469 0x1a, 0x0b, 0xb9, 0xf7, 0x04, 0x75, 0x27, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x12, 0x0a, 0x0a, 470 0x06, 0x48, 0x45, 0x59, 0x5f, 0x48, 0x4f, 0x10, 0x07, 0x12, 0x0d, 0x0a, 0x09, 0x4d, 0x41, 0x47, 471 0x49, 0x4b, 0x4f, 0x4f, 0x50, 0x41, 0x10, 0x08, 0x12, 0x09, 0x0a, 0x05, 0x4b, 0x41, 0x4d, 0x45, 472 0x4b, 0x10, 0x08, 0x12, 0x13, 0x0a, 0x06, 0x53, 0x4e, 0x49, 0x46, 0x49, 0x54, 0x10, 0x9b, 0xff, 473 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x01, 0x1a, 0x0b, 0xa8, 0xf7, 0x04, 0x7b, 0xb0, 0xf7, 474 0x04, 0x81, 0x05, 0x10, 0x01, 0x2a, 0x05, 0x08, 0x64, 0x10, 0xc9, 0x01, 0x2a, 0x1e, 0x08, 0xc9, 475 0x01, 0x10, 0xfb, 0x01, 0x1a, 0x16, 0xaa, 0xf7, 0x04, 0x06, 0x73, 0x70, 0x6c, 0x61, 0x74, 0x21, 476 0xb2, 0xf7, 0x04, 0x08, 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x3a, 0x06, 0xa8, 0xf7, 477 0x04, 0x01, 0x18, 0x01, 0x42, 0x05, 0x0a, 0x03, 0x61, 0x62, 0x63, 0x42, 0x2c, 0x0a, 0x03, 0x78, 478 0x79, 0x7a, 0x12, 0x25, 0xaa, 0xf7, 0x04, 0x21, 0x77, 0x68, 0x6f, 0x6f, 0x70, 0x73, 0x2c, 0x20, 479 0x74, 0x68, 0x69, 0x73, 0x20, 0x68, 0x61, 0x73, 0x20, 0x69, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 480 0x20, 0x55, 0x54, 0x46, 0x38, 0x21, 0x20, 0xbc, 0xff, 0x4a, 0x04, 0x08, 0x0a, 0x10, 0x15, 0x4a, 481 0x04, 0x08, 0x1e, 0x10, 0x33, 0x52, 0x03, 0x66, 0x6f, 0x6f, 0x52, 0x03, 0x62, 0x61, 0x72, 0x52, 482 0x03, 0x62, 0x61, 0x7a, 0x22, 0x10, 0x0a, 0x0e, 0x41, 0x6e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x4d, 483 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x32, 0xa3, 0x01, 0x0a, 0x0a, 0x52, 0x70, 0x63, 0x53, 0x65, 484 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x34, 0x0a, 0x0c, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 485 0x6e, 0x67, 0x52, 0x70, 0x63, 0x12, 0x10, 0x2e, 0x66, 0x6f, 0x6f, 0x2e, 0x62, 0x61, 0x72, 0x2e, 486 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x10, 0x2e, 0x66, 0x6f, 0x6f, 0x2e, 0x62, 0x61, 487 0x72, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x28, 0x01, 0x12, 0x4b, 0x0a, 0x08, 0x55, 488 0x6e, 0x61, 0x72, 0x79, 0x52, 0x70, 0x63, 0x12, 0x10, 0x2e, 0x66, 0x6f, 0x6f, 0x2e, 0x62, 0x61, 489 0x72, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 490 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 491 0x79, 0x22, 0x15, 0xad, 0xf7, 0x04, 0xa4, 0x70, 0x45, 0x41, 0xb1, 0xf7, 0x04, 0x77, 0xbe, 0x9f, 492 0x1a, 0x2f, 0xdd, 0x5e, 0x40, 0x88, 0x02, 0x01, 0x1a, 0x12, 0xaa, 0xf7, 0x04, 0x07, 0x08, 0x64, 493 0x12, 0x03, 0x62, 0x6f, 0x62, 0xb0, 0xf7, 0x04, 0x01, 0x88, 0x02, 0x00, 0x3a, 0x26, 0x0a, 0x05, 494 0x67, 0x75, 0x69, 0x64, 0x31, 0x12, 0x10, 0x2e, 0x66, 0x6f, 0x6f, 0x2e, 0x62, 0x61, 0x72, 0x2e, 495 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x7b, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x67, 496 0x75, 0x69, 0x64, 0x31, 0x3a, 0x26, 0x0a, 0x05, 0x67, 0x75, 0x69, 0x64, 0x32, 0x12, 0x10, 0x2e, 497 0x66, 0x6f, 0x6f, 0x2e, 0x62, 0x61, 0x72, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 498 0x7c, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x67, 0x75, 0x69, 0x64, 0x32, 0x42, 0x33, 0x5a, 0x31, 499 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6a, 0x68, 0x75, 0x6d, 0x70, 500 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x72, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x2f, 0x69, 0x6e, 501 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 502 0x73, 0x50, 0x00, 503 } 504 505 var ( 506 file_desc_test_comments_proto_rawDescOnce sync.Once 507 file_desc_test_comments_proto_rawDescData = file_desc_test_comments_proto_rawDesc 508 ) 509 510 func file_desc_test_comments_proto_rawDescGZIP() []byte { 511 file_desc_test_comments_proto_rawDescOnce.Do(func() { 512 file_desc_test_comments_proto_rawDescData = protoimpl.X.CompressGZIP(file_desc_test_comments_proto_rawDescData) 513 }) 514 return file_desc_test_comments_proto_rawDescData 515 } 516 517 var file_desc_test_comments_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 518 var file_desc_test_comments_proto_msgTypes = make([]protoimpl.MessageInfo, 4) 519 var file_desc_test_comments_proto_goTypes = []interface{}{ 520 (Request_MarioCharacters)(0), // 0: foo.bar.Request.MarioCharacters 521 (*Request)(nil), // 1: foo.bar.Request 522 (*AnEmptyMessage)(nil), // 2: foo.bar.AnEmptyMessage 523 (*Request_Extras)(nil), // 3: foo.bar.Request.Extras 524 nil, // 4: foo.bar.Request.ThingsEntry 525 (*emptypb.Empty)(nil), // 5: google.protobuf.Empty 526 } 527 var file_desc_test_comments_proto_depIdxs = []int32{ 528 3, // 0: foo.bar.Request.extras:type_name -> foo.bar.Request.Extras 529 4, // 1: foo.bar.Request.things:type_name -> foo.bar.Request.ThingsEntry 530 1, // 2: foo.bar.guid1:extendee -> foo.bar.Request 531 1, // 3: foo.bar.guid2:extendee -> foo.bar.Request 532 1, // 4: foo.bar.RpcService.StreamingRpc:input_type -> foo.bar.Request 533 1, // 5: foo.bar.RpcService.UnaryRpc:input_type -> foo.bar.Request 534 1, // 6: foo.bar.RpcService.StreamingRpc:output_type -> foo.bar.Request 535 5, // 7: foo.bar.RpcService.UnaryRpc:output_type -> google.protobuf.Empty 536 6, // [6:8] is the sub-list for method output_type 537 4, // [4:6] is the sub-list for method input_type 538 4, // [4:4] is the sub-list for extension type_name 539 2, // [2:4] is the sub-list for extension extendee 540 0, // [0:2] is the sub-list for field type_name 541 } 542 543 func init() { file_desc_test_comments_proto_init() } 544 func file_desc_test_comments_proto_init() { 545 if File_desc_test_comments_proto != nil { 546 return 547 } 548 file_desc_test_options_proto_init() 549 if !protoimpl.UnsafeEnabled { 550 file_desc_test_comments_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 551 switch v := v.(*Request); i { 552 case 0: 553 return &v.state 554 case 1: 555 return &v.sizeCache 556 case 2: 557 return &v.unknownFields 558 case 3: 559 return &v.extensionFields 560 default: 561 return nil 562 } 563 } 564 file_desc_test_comments_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 565 switch v := v.(*AnEmptyMessage); i { 566 case 0: 567 return &v.state 568 case 1: 569 return &v.sizeCache 570 case 2: 571 return &v.unknownFields 572 default: 573 return nil 574 } 575 } 576 file_desc_test_comments_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 577 switch v := v.(*Request_Extras); i { 578 case 0: 579 return &v.state 580 case 1: 581 return &v.sizeCache 582 case 2: 583 return &v.unknownFields 584 default: 585 return nil 586 } 587 } 588 } 589 file_desc_test_comments_proto_msgTypes[0].OneofWrappers = []interface{}{ 590 (*Request_This)(nil), 591 (*Request_That)(nil), 592 (*Request_These)(nil), 593 (*Request_Those)(nil), 594 } 595 type x struct{} 596 out := protoimpl.TypeBuilder{ 597 File: protoimpl.DescBuilder{ 598 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 599 RawDescriptor: file_desc_test_comments_proto_rawDesc, 600 NumEnums: 1, 601 NumMessages: 4, 602 NumExtensions: 2, 603 NumServices: 1, 604 }, 605 GoTypes: file_desc_test_comments_proto_goTypes, 606 DependencyIndexes: file_desc_test_comments_proto_depIdxs, 607 EnumInfos: file_desc_test_comments_proto_enumTypes, 608 MessageInfos: file_desc_test_comments_proto_msgTypes, 609 ExtensionInfos: file_desc_test_comments_proto_extTypes, 610 }.Build() 611 File_desc_test_comments_proto = out.File 612 file_desc_test_comments_proto_rawDesc = nil 613 file_desc_test_comments_proto_goTypes = nil 614 file_desc_test_comments_proto_depIdxs = nil 615 }