github.com/yandex/pandora@v0.5.32/examples/grpc/server/target.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.28.1 4 // protoc v3.21.9 5 // source: target.proto 6 7 package server 8 9 import ( 10 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 11 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 12 reflect "reflect" 13 sync "sync" 14 ) 15 16 const ( 17 // Verify that this generated code is sufficiently up-to-date. 18 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 19 // Verify that runtime/protoimpl is sufficiently up-to-date. 20 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 21 ) 22 23 type HelloRequest struct { 24 state protoimpl.MessageState 25 sizeCache protoimpl.SizeCache 26 unknownFields protoimpl.UnknownFields 27 28 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 29 } 30 31 func (x *HelloRequest) Reset() { 32 *x = HelloRequest{} 33 if protoimpl.UnsafeEnabled { 34 mi := &file_target_proto_msgTypes[0] 35 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 36 ms.StoreMessageInfo(mi) 37 } 38 } 39 40 func (x *HelloRequest) String() string { 41 return protoimpl.X.MessageStringOf(x) 42 } 43 44 func (*HelloRequest) ProtoMessage() {} 45 46 func (x *HelloRequest) ProtoReflect() protoreflect.Message { 47 mi := &file_target_proto_msgTypes[0] 48 if protoimpl.UnsafeEnabled && x != nil { 49 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 50 if ms.LoadMessageInfo() == nil { 51 ms.StoreMessageInfo(mi) 52 } 53 return ms 54 } 55 return mi.MessageOf(x) 56 } 57 58 // Deprecated: Use HelloRequest.ProtoReflect.Descriptor instead. 59 func (*HelloRequest) Descriptor() ([]byte, []int) { 60 return file_target_proto_rawDescGZIP(), []int{0} 61 } 62 63 func (x *HelloRequest) GetName() string { 64 if x != nil { 65 return x.Name 66 } 67 return "" 68 } 69 70 type HelloResponse struct { 71 state protoimpl.MessageState 72 sizeCache protoimpl.SizeCache 73 unknownFields protoimpl.UnknownFields 74 75 Hello string `protobuf:"bytes,1,opt,name=hello,proto3" json:"hello,omitempty"` 76 } 77 78 func (x *HelloResponse) Reset() { 79 *x = HelloResponse{} 80 if protoimpl.UnsafeEnabled { 81 mi := &file_target_proto_msgTypes[1] 82 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 83 ms.StoreMessageInfo(mi) 84 } 85 } 86 87 func (x *HelloResponse) String() string { 88 return protoimpl.X.MessageStringOf(x) 89 } 90 91 func (*HelloResponse) ProtoMessage() {} 92 93 func (x *HelloResponse) ProtoReflect() protoreflect.Message { 94 mi := &file_target_proto_msgTypes[1] 95 if protoimpl.UnsafeEnabled && x != nil { 96 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 97 if ms.LoadMessageInfo() == nil { 98 ms.StoreMessageInfo(mi) 99 } 100 return ms 101 } 102 return mi.MessageOf(x) 103 } 104 105 // Deprecated: Use HelloResponse.ProtoReflect.Descriptor instead. 106 func (*HelloResponse) Descriptor() ([]byte, []int) { 107 return file_target_proto_rawDescGZIP(), []int{1} 108 } 109 110 func (x *HelloResponse) GetHello() string { 111 if x != nil { 112 return x.Hello 113 } 114 return "" 115 } 116 117 type AuthRequest struct { 118 state protoimpl.MessageState 119 sizeCache protoimpl.SizeCache 120 unknownFields protoimpl.UnknownFields 121 122 Login string `protobuf:"bytes,1,opt,name=login,proto3" json:"login,omitempty"` 123 Pass string `protobuf:"bytes,2,opt,name=pass,proto3" json:"pass,omitempty"` 124 } 125 126 func (x *AuthRequest) Reset() { 127 *x = AuthRequest{} 128 if protoimpl.UnsafeEnabled { 129 mi := &file_target_proto_msgTypes[2] 130 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 131 ms.StoreMessageInfo(mi) 132 } 133 } 134 135 func (x *AuthRequest) String() string { 136 return protoimpl.X.MessageStringOf(x) 137 } 138 139 func (*AuthRequest) ProtoMessage() {} 140 141 func (x *AuthRequest) ProtoReflect() protoreflect.Message { 142 mi := &file_target_proto_msgTypes[2] 143 if protoimpl.UnsafeEnabled && x != nil { 144 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 145 if ms.LoadMessageInfo() == nil { 146 ms.StoreMessageInfo(mi) 147 } 148 return ms 149 } 150 return mi.MessageOf(x) 151 } 152 153 // Deprecated: Use AuthRequest.ProtoReflect.Descriptor instead. 154 func (*AuthRequest) Descriptor() ([]byte, []int) { 155 return file_target_proto_rawDescGZIP(), []int{2} 156 } 157 158 func (x *AuthRequest) GetLogin() string { 159 if x != nil { 160 return x.Login 161 } 162 return "" 163 } 164 165 func (x *AuthRequest) GetPass() string { 166 if x != nil { 167 return x.Pass 168 } 169 return "" 170 } 171 172 type AuthResponse struct { 173 state protoimpl.MessageState 174 sizeCache protoimpl.SizeCache 175 unknownFields protoimpl.UnknownFields 176 177 UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` 178 Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` 179 } 180 181 func (x *AuthResponse) Reset() { 182 *x = AuthResponse{} 183 if protoimpl.UnsafeEnabled { 184 mi := &file_target_proto_msgTypes[3] 185 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 186 ms.StoreMessageInfo(mi) 187 } 188 } 189 190 func (x *AuthResponse) String() string { 191 return protoimpl.X.MessageStringOf(x) 192 } 193 194 func (*AuthResponse) ProtoMessage() {} 195 196 func (x *AuthResponse) ProtoReflect() protoreflect.Message { 197 mi := &file_target_proto_msgTypes[3] 198 if protoimpl.UnsafeEnabled && x != nil { 199 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 200 if ms.LoadMessageInfo() == nil { 201 ms.StoreMessageInfo(mi) 202 } 203 return ms 204 } 205 return mi.MessageOf(x) 206 } 207 208 // Deprecated: Use AuthResponse.ProtoReflect.Descriptor instead. 209 func (*AuthResponse) Descriptor() ([]byte, []int) { 210 return file_target_proto_rawDescGZIP(), []int{3} 211 } 212 213 func (x *AuthResponse) GetUserId() int64 { 214 if x != nil { 215 return x.UserId 216 } 217 return 0 218 } 219 220 func (x *AuthResponse) GetToken() string { 221 if x != nil { 222 return x.Token 223 } 224 return "" 225 } 226 227 type ListRequest struct { 228 state protoimpl.MessageState 229 sizeCache protoimpl.SizeCache 230 unknownFields protoimpl.UnknownFields 231 232 Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` 233 UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` 234 } 235 236 func (x *ListRequest) Reset() { 237 *x = ListRequest{} 238 if protoimpl.UnsafeEnabled { 239 mi := &file_target_proto_msgTypes[4] 240 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 241 ms.StoreMessageInfo(mi) 242 } 243 } 244 245 func (x *ListRequest) String() string { 246 return protoimpl.X.MessageStringOf(x) 247 } 248 249 func (*ListRequest) ProtoMessage() {} 250 251 func (x *ListRequest) ProtoReflect() protoreflect.Message { 252 mi := &file_target_proto_msgTypes[4] 253 if protoimpl.UnsafeEnabled && x != nil { 254 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 255 if ms.LoadMessageInfo() == nil { 256 ms.StoreMessageInfo(mi) 257 } 258 return ms 259 } 260 return mi.MessageOf(x) 261 } 262 263 // Deprecated: Use ListRequest.ProtoReflect.Descriptor instead. 264 func (*ListRequest) Descriptor() ([]byte, []int) { 265 return file_target_proto_rawDescGZIP(), []int{4} 266 } 267 268 func (x *ListRequest) GetToken() string { 269 if x != nil { 270 return x.Token 271 } 272 return "" 273 } 274 275 func (x *ListRequest) GetUserId() int64 { 276 if x != nil { 277 return x.UserId 278 } 279 return 0 280 } 281 282 type ListResponse struct { 283 state protoimpl.MessageState 284 sizeCache protoimpl.SizeCache 285 unknownFields protoimpl.UnknownFields 286 287 Result []*ListItem `protobuf:"bytes,1,rep,name=result,proto3" json:"result,omitempty"` 288 } 289 290 func (x *ListResponse) Reset() { 291 *x = ListResponse{} 292 if protoimpl.UnsafeEnabled { 293 mi := &file_target_proto_msgTypes[5] 294 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 295 ms.StoreMessageInfo(mi) 296 } 297 } 298 299 func (x *ListResponse) String() string { 300 return protoimpl.X.MessageStringOf(x) 301 } 302 303 func (*ListResponse) ProtoMessage() {} 304 305 func (x *ListResponse) ProtoReflect() protoreflect.Message { 306 mi := &file_target_proto_msgTypes[5] 307 if protoimpl.UnsafeEnabled && x != nil { 308 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 309 if ms.LoadMessageInfo() == nil { 310 ms.StoreMessageInfo(mi) 311 } 312 return ms 313 } 314 return mi.MessageOf(x) 315 } 316 317 // Deprecated: Use ListResponse.ProtoReflect.Descriptor instead. 318 func (*ListResponse) Descriptor() ([]byte, []int) { 319 return file_target_proto_rawDescGZIP(), []int{5} 320 } 321 322 func (x *ListResponse) GetResult() []*ListItem { 323 if x != nil { 324 return x.Result 325 } 326 return nil 327 } 328 329 type ListItem struct { 330 state protoimpl.MessageState 331 sizeCache protoimpl.SizeCache 332 unknownFields protoimpl.UnknownFields 333 334 ItemId int64 `protobuf:"varint,1,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"` 335 } 336 337 func (x *ListItem) Reset() { 338 *x = ListItem{} 339 if protoimpl.UnsafeEnabled { 340 mi := &file_target_proto_msgTypes[6] 341 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 342 ms.StoreMessageInfo(mi) 343 } 344 } 345 346 func (x *ListItem) String() string { 347 return protoimpl.X.MessageStringOf(x) 348 } 349 350 func (*ListItem) ProtoMessage() {} 351 352 func (x *ListItem) ProtoReflect() protoreflect.Message { 353 mi := &file_target_proto_msgTypes[6] 354 if protoimpl.UnsafeEnabled && x != nil { 355 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 356 if ms.LoadMessageInfo() == nil { 357 ms.StoreMessageInfo(mi) 358 } 359 return ms 360 } 361 return mi.MessageOf(x) 362 } 363 364 // Deprecated: Use ListItem.ProtoReflect.Descriptor instead. 365 func (*ListItem) Descriptor() ([]byte, []int) { 366 return file_target_proto_rawDescGZIP(), []int{6} 367 } 368 369 func (x *ListItem) GetItemId() int64 { 370 if x != nil { 371 return x.ItemId 372 } 373 return 0 374 } 375 376 type OrderRequest struct { 377 state protoimpl.MessageState 378 sizeCache protoimpl.SizeCache 379 unknownFields protoimpl.UnknownFields 380 381 Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` 382 UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` 383 ItemId int64 `protobuf:"varint,3,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"` 384 } 385 386 func (x *OrderRequest) Reset() { 387 *x = OrderRequest{} 388 if protoimpl.UnsafeEnabled { 389 mi := &file_target_proto_msgTypes[7] 390 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 391 ms.StoreMessageInfo(mi) 392 } 393 } 394 395 func (x *OrderRequest) String() string { 396 return protoimpl.X.MessageStringOf(x) 397 } 398 399 func (*OrderRequest) ProtoMessage() {} 400 401 func (x *OrderRequest) ProtoReflect() protoreflect.Message { 402 mi := &file_target_proto_msgTypes[7] 403 if protoimpl.UnsafeEnabled && x != nil { 404 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 405 if ms.LoadMessageInfo() == nil { 406 ms.StoreMessageInfo(mi) 407 } 408 return ms 409 } 410 return mi.MessageOf(x) 411 } 412 413 // Deprecated: Use OrderRequest.ProtoReflect.Descriptor instead. 414 func (*OrderRequest) Descriptor() ([]byte, []int) { 415 return file_target_proto_rawDescGZIP(), []int{7} 416 } 417 418 func (x *OrderRequest) GetToken() string { 419 if x != nil { 420 return x.Token 421 } 422 return "" 423 } 424 425 func (x *OrderRequest) GetUserId() int64 { 426 if x != nil { 427 return x.UserId 428 } 429 return 0 430 } 431 432 func (x *OrderRequest) GetItemId() int64 { 433 if x != nil { 434 return x.ItemId 435 } 436 return 0 437 } 438 439 type OrderResponse struct { 440 state protoimpl.MessageState 441 sizeCache protoimpl.SizeCache 442 unknownFields protoimpl.UnknownFields 443 444 OrderId int64 `protobuf:"varint,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"` 445 } 446 447 func (x *OrderResponse) Reset() { 448 *x = OrderResponse{} 449 if protoimpl.UnsafeEnabled { 450 mi := &file_target_proto_msgTypes[8] 451 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 452 ms.StoreMessageInfo(mi) 453 } 454 } 455 456 func (x *OrderResponse) String() string { 457 return protoimpl.X.MessageStringOf(x) 458 } 459 460 func (*OrderResponse) ProtoMessage() {} 461 462 func (x *OrderResponse) ProtoReflect() protoreflect.Message { 463 mi := &file_target_proto_msgTypes[8] 464 if protoimpl.UnsafeEnabled && x != nil { 465 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 466 if ms.LoadMessageInfo() == nil { 467 ms.StoreMessageInfo(mi) 468 } 469 return ms 470 } 471 return mi.MessageOf(x) 472 } 473 474 // Deprecated: Use OrderResponse.ProtoReflect.Descriptor instead. 475 func (*OrderResponse) Descriptor() ([]byte, []int) { 476 return file_target_proto_rawDescGZIP(), []int{8} 477 } 478 479 func (x *OrderResponse) GetOrderId() int64 { 480 if x != nil { 481 return x.OrderId 482 } 483 return 0 484 } 485 486 type StatsRequest struct { 487 state protoimpl.MessageState 488 sizeCache protoimpl.SizeCache 489 unknownFields protoimpl.UnknownFields 490 } 491 492 func (x *StatsRequest) Reset() { 493 *x = StatsRequest{} 494 if protoimpl.UnsafeEnabled { 495 mi := &file_target_proto_msgTypes[9] 496 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 497 ms.StoreMessageInfo(mi) 498 } 499 } 500 501 func (x *StatsRequest) String() string { 502 return protoimpl.X.MessageStringOf(x) 503 } 504 505 func (*StatsRequest) ProtoMessage() {} 506 507 func (x *StatsRequest) ProtoReflect() protoreflect.Message { 508 mi := &file_target_proto_msgTypes[9] 509 if protoimpl.UnsafeEnabled && x != nil { 510 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 511 if ms.LoadMessageInfo() == nil { 512 ms.StoreMessageInfo(mi) 513 } 514 return ms 515 } 516 return mi.MessageOf(x) 517 } 518 519 // Deprecated: Use StatsRequest.ProtoReflect.Descriptor instead. 520 func (*StatsRequest) Descriptor() ([]byte, []int) { 521 return file_target_proto_rawDescGZIP(), []int{9} 522 } 523 524 type StatsResponse struct { 525 state protoimpl.MessageState 526 sizeCache protoimpl.SizeCache 527 unknownFields protoimpl.UnknownFields 528 529 Auth *StatisticBodyResponse `protobuf:"bytes,1,opt,name=Auth,proto3" json:"Auth,omitempty"` 530 List *StatisticBodyResponse `protobuf:"bytes,2,opt,name=List,proto3" json:"List,omitempty"` 531 Order *StatisticBodyResponse `protobuf:"bytes,3,opt,name=Order,proto3" json:"Order,omitempty"` 532 Hello int64 `protobuf:"varint,4,opt,name=Hello,proto3" json:"Hello,omitempty"` 533 } 534 535 func (x *StatsResponse) Reset() { 536 *x = StatsResponse{} 537 if protoimpl.UnsafeEnabled { 538 mi := &file_target_proto_msgTypes[10] 539 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 540 ms.StoreMessageInfo(mi) 541 } 542 } 543 544 func (x *StatsResponse) String() string { 545 return protoimpl.X.MessageStringOf(x) 546 } 547 548 func (*StatsResponse) ProtoMessage() {} 549 550 func (x *StatsResponse) ProtoReflect() protoreflect.Message { 551 mi := &file_target_proto_msgTypes[10] 552 if protoimpl.UnsafeEnabled && x != nil { 553 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 554 if ms.LoadMessageInfo() == nil { 555 ms.StoreMessageInfo(mi) 556 } 557 return ms 558 } 559 return mi.MessageOf(x) 560 } 561 562 // Deprecated: Use StatsResponse.ProtoReflect.Descriptor instead. 563 func (*StatsResponse) Descriptor() ([]byte, []int) { 564 return file_target_proto_rawDescGZIP(), []int{10} 565 } 566 567 func (x *StatsResponse) GetAuth() *StatisticBodyResponse { 568 if x != nil { 569 return x.Auth 570 } 571 return nil 572 } 573 574 func (x *StatsResponse) GetList() *StatisticBodyResponse { 575 if x != nil { 576 return x.List 577 } 578 return nil 579 } 580 581 func (x *StatsResponse) GetOrder() *StatisticBodyResponse { 582 if x != nil { 583 return x.Order 584 } 585 return nil 586 } 587 588 func (x *StatsResponse) GetHello() int64 { 589 if x != nil { 590 return x.Hello 591 } 592 return 0 593 } 594 595 type StatisticBodyResponse struct { 596 state protoimpl.MessageState 597 sizeCache protoimpl.SizeCache 598 unknownFields protoimpl.UnknownFields 599 600 Code200 map[int64]uint64 `protobuf:"bytes,1,rep,name=Code200,proto3" json:"Code200,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` 601 Code400 uint64 `protobuf:"varint,2,opt,name=Code400,proto3" json:"Code400,omitempty"` 602 Code500 uint64 `protobuf:"varint,3,opt,name=Code500,proto3" json:"Code500,omitempty"` 603 } 604 605 func (x *StatisticBodyResponse) Reset() { 606 *x = StatisticBodyResponse{} 607 if protoimpl.UnsafeEnabled { 608 mi := &file_target_proto_msgTypes[11] 609 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 610 ms.StoreMessageInfo(mi) 611 } 612 } 613 614 func (x *StatisticBodyResponse) String() string { 615 return protoimpl.X.MessageStringOf(x) 616 } 617 618 func (*StatisticBodyResponse) ProtoMessage() {} 619 620 func (x *StatisticBodyResponse) ProtoReflect() protoreflect.Message { 621 mi := &file_target_proto_msgTypes[11] 622 if protoimpl.UnsafeEnabled && x != nil { 623 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 624 if ms.LoadMessageInfo() == nil { 625 ms.StoreMessageInfo(mi) 626 } 627 return ms 628 } 629 return mi.MessageOf(x) 630 } 631 632 // Deprecated: Use StatisticBodyResponse.ProtoReflect.Descriptor instead. 633 func (*StatisticBodyResponse) Descriptor() ([]byte, []int) { 634 return file_target_proto_rawDescGZIP(), []int{11} 635 } 636 637 func (x *StatisticBodyResponse) GetCode200() map[int64]uint64 { 638 if x != nil { 639 return x.Code200 640 } 641 return nil 642 } 643 644 func (x *StatisticBodyResponse) GetCode400() uint64 { 645 if x != nil { 646 return x.Code400 647 } 648 return 0 649 } 650 651 func (x *StatisticBodyResponse) GetCode500() uint64 { 652 if x != nil { 653 return x.Code500 654 } 655 return 0 656 } 657 658 type ResetRequest struct { 659 state protoimpl.MessageState 660 sizeCache protoimpl.SizeCache 661 unknownFields protoimpl.UnknownFields 662 } 663 664 func (x *ResetRequest) Reset() { 665 *x = ResetRequest{} 666 if protoimpl.UnsafeEnabled { 667 mi := &file_target_proto_msgTypes[12] 668 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 669 ms.StoreMessageInfo(mi) 670 } 671 } 672 673 func (x *ResetRequest) String() string { 674 return protoimpl.X.MessageStringOf(x) 675 } 676 677 func (*ResetRequest) ProtoMessage() {} 678 679 func (x *ResetRequest) ProtoReflect() protoreflect.Message { 680 mi := &file_target_proto_msgTypes[12] 681 if protoimpl.UnsafeEnabled && x != nil { 682 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 683 if ms.LoadMessageInfo() == nil { 684 ms.StoreMessageInfo(mi) 685 } 686 return ms 687 } 688 return mi.MessageOf(x) 689 } 690 691 // Deprecated: Use ResetRequest.ProtoReflect.Descriptor instead. 692 func (*ResetRequest) Descriptor() ([]byte, []int) { 693 return file_target_proto_rawDescGZIP(), []int{12} 694 } 695 696 type ResetResponse struct { 697 state protoimpl.MessageState 698 sizeCache protoimpl.SizeCache 699 unknownFields protoimpl.UnknownFields 700 701 Auth *StatisticBodyResponse `protobuf:"bytes,1,opt,name=Auth,proto3" json:"Auth,omitempty"` 702 List *StatisticBodyResponse `protobuf:"bytes,2,opt,name=List,proto3" json:"List,omitempty"` 703 Order *StatisticBodyResponse `protobuf:"bytes,3,opt,name=Order,proto3" json:"Order,omitempty"` 704 } 705 706 func (x *ResetResponse) Reset() { 707 *x = ResetResponse{} 708 if protoimpl.UnsafeEnabled { 709 mi := &file_target_proto_msgTypes[13] 710 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 711 ms.StoreMessageInfo(mi) 712 } 713 } 714 715 func (x *ResetResponse) String() string { 716 return protoimpl.X.MessageStringOf(x) 717 } 718 719 func (*ResetResponse) ProtoMessage() {} 720 721 func (x *ResetResponse) ProtoReflect() protoreflect.Message { 722 mi := &file_target_proto_msgTypes[13] 723 if protoimpl.UnsafeEnabled && x != nil { 724 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 725 if ms.LoadMessageInfo() == nil { 726 ms.StoreMessageInfo(mi) 727 } 728 return ms 729 } 730 return mi.MessageOf(x) 731 } 732 733 // Deprecated: Use ResetResponse.ProtoReflect.Descriptor instead. 734 func (*ResetResponse) Descriptor() ([]byte, []int) { 735 return file_target_proto_rawDescGZIP(), []int{13} 736 } 737 738 func (x *ResetResponse) GetAuth() *StatisticBodyResponse { 739 if x != nil { 740 return x.Auth 741 } 742 return nil 743 } 744 745 func (x *ResetResponse) GetList() *StatisticBodyResponse { 746 if x != nil { 747 return x.List 748 } 749 return nil 750 } 751 752 func (x *ResetResponse) GetOrder() *StatisticBodyResponse { 753 if x != nil { 754 return x.Order 755 } 756 return nil 757 } 758 759 var File_target_proto protoreflect.FileDescriptor 760 761 var file_target_proto_rawDesc = []byte{ 762 0x0a, 0x0c, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06, 763 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x22, 0x22, 0x0a, 0x0c, 0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x52, 764 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 765 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x25, 0x0a, 0x0d, 0x48, 0x65, 766 0x6c, 0x6c, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x68, 767 0x65, 0x6c, 0x6c, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x68, 0x65, 0x6c, 0x6c, 768 0x6f, 0x22, 0x37, 0x0a, 0x0b, 0x41, 0x75, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 769 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 770 0x05, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x73, 0x73, 0x18, 0x02, 771 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x73, 0x73, 0x22, 0x3d, 0x0a, 0x0c, 0x41, 0x75, 772 0x74, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 773 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 774 0x72, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 775 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x3c, 0x0a, 0x0b, 0x4c, 0x69, 0x73, 776 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 777 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x17, 778 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 779 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x38, 0x0a, 0x0c, 0x4c, 0x69, 0x73, 0x74, 0x52, 780 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x28, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 781 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 782 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 783 0x74, 0x22, 0x23, 0x0a, 0x08, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x17, 0x0a, 784 0x07, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 785 0x69, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x22, 0x56, 0x0a, 0x0c, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x52, 786 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 787 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x17, 0x0a, 0x07, 788 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 789 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x69, 0x64, 790 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x69, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x22, 0x2a, 791 0x0a, 0x0d, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 792 0x19, 0x0a, 0x08, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 793 0x03, 0x52, 0x07, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x49, 0x64, 0x22, 0x0e, 0x0a, 0x0c, 0x53, 0x74, 794 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xc0, 0x01, 0x0a, 0x0d, 0x53, 795 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x31, 0x0a, 0x04, 796 0x41, 0x75, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x74, 0x61, 0x72, 797 0x67, 0x65, 0x74, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x42, 0x6f, 0x64, 798 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x04, 0x41, 0x75, 0x74, 0x68, 0x12, 799 0x31, 0x0a, 0x04, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 800 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 801 0x42, 0x6f, 0x64, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x04, 0x4c, 0x69, 802 0x73, 0x74, 0x12, 0x33, 0x0a, 0x05, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 803 0x0b, 0x32, 0x1d, 0x2e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x69, 804 0x73, 0x74, 0x69, 0x63, 0x42, 0x6f, 0x64, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 805 0x52, 0x05, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x48, 0x65, 0x6c, 0x6c, 0x6f, 806 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x22, 0xcd, 0x01, 807 0x0a, 0x15, 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x42, 0x6f, 0x64, 0x79, 0x52, 808 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x44, 0x0a, 0x07, 0x43, 0x6f, 0x64, 0x65, 0x32, 809 0x30, 0x30, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x74, 0x61, 0x72, 0x67, 0x65, 810 0x74, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x42, 0x6f, 0x64, 0x79, 0x52, 811 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x43, 0x6f, 0x64, 0x65, 0x32, 0x30, 0x30, 0x45, 812 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x43, 0x6f, 0x64, 0x65, 0x32, 0x30, 0x30, 0x12, 0x18, 0x0a, 813 0x07, 0x43, 0x6f, 0x64, 0x65, 0x34, 0x30, 0x30, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 814 0x43, 0x6f, 0x64, 0x65, 0x34, 0x30, 0x30, 0x12, 0x18, 0x0a, 0x07, 0x43, 0x6f, 0x64, 0x65, 0x35, 815 0x30, 0x30, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x43, 0x6f, 0x64, 0x65, 0x35, 0x30, 816 0x30, 0x1a, 0x3a, 0x0a, 0x0c, 0x43, 0x6f, 0x64, 0x65, 0x32, 0x30, 0x30, 0x45, 0x6e, 0x74, 0x72, 817 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 818 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 819 0x28, 0x04, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x0e, 0x0a, 820 0x0c, 0x52, 0x65, 0x73, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xaa, 0x01, 821 0x0a, 0x0d, 0x52, 0x65, 0x73, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 822 0x31, 0x0a, 0x04, 0x41, 0x75, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 823 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 824 0x42, 0x6f, 0x64, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x04, 0x41, 0x75, 825 0x74, 0x68, 0x12, 0x31, 0x0a, 0x04, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 826 0x32, 0x1d, 0x2e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, 827 0x74, 0x69, 0x63, 0x42, 0x6f, 0x64, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 828 0x04, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x33, 0x0a, 0x05, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x18, 0x03, 829 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x2e, 0x53, 0x74, 830 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x42, 0x6f, 0x64, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 831 0x6e, 0x73, 0x65, 0x52, 0x05, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x32, 0xcd, 0x02, 0x0a, 0x0d, 0x54, 832 0x61, 0x72, 0x67, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x34, 0x0a, 0x05, 833 0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x12, 0x14, 0x2e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x2e, 0x48, 834 0x65, 0x6c, 0x6c, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x74, 0x61, 835 0x72, 0x67, 0x65, 0x74, 0x2e, 0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 836 0x73, 0x65, 0x12, 0x31, 0x0a, 0x04, 0x41, 0x75, 0x74, 0x68, 0x12, 0x13, 0x2e, 0x74, 0x61, 0x72, 837 0x67, 0x65, 0x74, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 838 0x14, 0x2e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x52, 0x65, 0x73, 839 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x31, 0x0a, 0x04, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x13, 0x2e, 840 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 841 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x2e, 0x4c, 0x69, 0x73, 0x74, 842 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x34, 0x0a, 0x05, 0x4f, 0x72, 0x64, 0x65, 843 0x72, 0x12, 0x14, 0x2e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 844 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 845 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x34, 846 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x14, 0x2e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 847 0x2e, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 848 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 849 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x34, 0x0a, 0x05, 0x52, 0x65, 0x73, 0x65, 0x74, 0x12, 0x14, 0x2e, 850 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x2e, 0x52, 0x65, 0x73, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 851 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x2e, 0x52, 0x65, 0x73, 852 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x12, 0x5a, 0x10, 0x73, 0x65, 853 0x72, 0x76, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x3b, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x62, 0x06, 854 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 855 } 856 857 var ( 858 file_target_proto_rawDescOnce sync.Once 859 file_target_proto_rawDescData = file_target_proto_rawDesc 860 ) 861 862 func file_target_proto_rawDescGZIP() []byte { 863 file_target_proto_rawDescOnce.Do(func() { 864 file_target_proto_rawDescData = protoimpl.X.CompressGZIP(file_target_proto_rawDescData) 865 }) 866 return file_target_proto_rawDescData 867 } 868 869 var file_target_proto_msgTypes = make([]protoimpl.MessageInfo, 15) 870 var file_target_proto_goTypes = []interface{}{ 871 (*HelloRequest)(nil), // 0: target.HelloRequest 872 (*HelloResponse)(nil), // 1: target.HelloResponse 873 (*AuthRequest)(nil), // 2: target.AuthRequest 874 (*AuthResponse)(nil), // 3: target.AuthResponse 875 (*ListRequest)(nil), // 4: target.ListRequest 876 (*ListResponse)(nil), // 5: target.ListResponse 877 (*ListItem)(nil), // 6: target.ListItem 878 (*OrderRequest)(nil), // 7: target.OrderRequest 879 (*OrderResponse)(nil), // 8: target.OrderResponse 880 (*StatsRequest)(nil), // 9: target.StatsRequest 881 (*StatsResponse)(nil), // 10: target.StatsResponse 882 (*StatisticBodyResponse)(nil), // 11: target.StatisticBodyResponse 883 (*ResetRequest)(nil), // 12: target.ResetRequest 884 (*ResetResponse)(nil), // 13: target.ResetResponse 885 nil, // 14: target.StatisticBodyResponse.Code200Entry 886 } 887 var file_target_proto_depIdxs = []int32{ 888 6, // 0: target.ListResponse.result:type_name -> target.ListItem 889 11, // 1: target.StatsResponse.Auth:type_name -> target.StatisticBodyResponse 890 11, // 2: target.StatsResponse.List:type_name -> target.StatisticBodyResponse 891 11, // 3: target.StatsResponse.Order:type_name -> target.StatisticBodyResponse 892 14, // 4: target.StatisticBodyResponse.Code200:type_name -> target.StatisticBodyResponse.Code200Entry 893 11, // 5: target.ResetResponse.Auth:type_name -> target.StatisticBodyResponse 894 11, // 6: target.ResetResponse.List:type_name -> target.StatisticBodyResponse 895 11, // 7: target.ResetResponse.Order:type_name -> target.StatisticBodyResponse 896 0, // 8: target.TargetService.Hello:input_type -> target.HelloRequest 897 2, // 9: target.TargetService.Auth:input_type -> target.AuthRequest 898 4, // 10: target.TargetService.List:input_type -> target.ListRequest 899 7, // 11: target.TargetService.Order:input_type -> target.OrderRequest 900 9, // 12: target.TargetService.Stats:input_type -> target.StatsRequest 901 12, // 13: target.TargetService.Reset:input_type -> target.ResetRequest 902 1, // 14: target.TargetService.Hello:output_type -> target.HelloResponse 903 3, // 15: target.TargetService.Auth:output_type -> target.AuthResponse 904 5, // 16: target.TargetService.List:output_type -> target.ListResponse 905 8, // 17: target.TargetService.Order:output_type -> target.OrderResponse 906 10, // 18: target.TargetService.Stats:output_type -> target.StatsResponse 907 13, // 19: target.TargetService.Reset:output_type -> target.ResetResponse 908 14, // [14:20] is the sub-list for method output_type 909 8, // [8:14] is the sub-list for method input_type 910 8, // [8:8] is the sub-list for extension type_name 911 8, // [8:8] is the sub-list for extension extendee 912 0, // [0:8] is the sub-list for field type_name 913 } 914 915 func init() { file_target_proto_init() } 916 func file_target_proto_init() { 917 if File_target_proto != nil { 918 return 919 } 920 if !protoimpl.UnsafeEnabled { 921 file_target_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 922 switch v := v.(*HelloRequest); i { 923 case 0: 924 return &v.state 925 case 1: 926 return &v.sizeCache 927 case 2: 928 return &v.unknownFields 929 default: 930 return nil 931 } 932 } 933 file_target_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 934 switch v := v.(*HelloResponse); i { 935 case 0: 936 return &v.state 937 case 1: 938 return &v.sizeCache 939 case 2: 940 return &v.unknownFields 941 default: 942 return nil 943 } 944 } 945 file_target_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 946 switch v := v.(*AuthRequest); i { 947 case 0: 948 return &v.state 949 case 1: 950 return &v.sizeCache 951 case 2: 952 return &v.unknownFields 953 default: 954 return nil 955 } 956 } 957 file_target_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 958 switch v := v.(*AuthResponse); i { 959 case 0: 960 return &v.state 961 case 1: 962 return &v.sizeCache 963 case 2: 964 return &v.unknownFields 965 default: 966 return nil 967 } 968 } 969 file_target_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 970 switch v := v.(*ListRequest); i { 971 case 0: 972 return &v.state 973 case 1: 974 return &v.sizeCache 975 case 2: 976 return &v.unknownFields 977 default: 978 return nil 979 } 980 } 981 file_target_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 982 switch v := v.(*ListResponse); i { 983 case 0: 984 return &v.state 985 case 1: 986 return &v.sizeCache 987 case 2: 988 return &v.unknownFields 989 default: 990 return nil 991 } 992 } 993 file_target_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 994 switch v := v.(*ListItem); i { 995 case 0: 996 return &v.state 997 case 1: 998 return &v.sizeCache 999 case 2: 1000 return &v.unknownFields 1001 default: 1002 return nil 1003 } 1004 } 1005 file_target_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 1006 switch v := v.(*OrderRequest); i { 1007 case 0: 1008 return &v.state 1009 case 1: 1010 return &v.sizeCache 1011 case 2: 1012 return &v.unknownFields 1013 default: 1014 return nil 1015 } 1016 } 1017 file_target_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 1018 switch v := v.(*OrderResponse); i { 1019 case 0: 1020 return &v.state 1021 case 1: 1022 return &v.sizeCache 1023 case 2: 1024 return &v.unknownFields 1025 default: 1026 return nil 1027 } 1028 } 1029 file_target_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { 1030 switch v := v.(*StatsRequest); i { 1031 case 0: 1032 return &v.state 1033 case 1: 1034 return &v.sizeCache 1035 case 2: 1036 return &v.unknownFields 1037 default: 1038 return nil 1039 } 1040 } 1041 file_target_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { 1042 switch v := v.(*StatsResponse); i { 1043 case 0: 1044 return &v.state 1045 case 1: 1046 return &v.sizeCache 1047 case 2: 1048 return &v.unknownFields 1049 default: 1050 return nil 1051 } 1052 } 1053 file_target_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { 1054 switch v := v.(*StatisticBodyResponse); i { 1055 case 0: 1056 return &v.state 1057 case 1: 1058 return &v.sizeCache 1059 case 2: 1060 return &v.unknownFields 1061 default: 1062 return nil 1063 } 1064 } 1065 file_target_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { 1066 switch v := v.(*ResetRequest); i { 1067 case 0: 1068 return &v.state 1069 case 1: 1070 return &v.sizeCache 1071 case 2: 1072 return &v.unknownFields 1073 default: 1074 return nil 1075 } 1076 } 1077 file_target_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { 1078 switch v := v.(*ResetResponse); i { 1079 case 0: 1080 return &v.state 1081 case 1: 1082 return &v.sizeCache 1083 case 2: 1084 return &v.unknownFields 1085 default: 1086 return nil 1087 } 1088 } 1089 } 1090 type x struct{} 1091 out := protoimpl.TypeBuilder{ 1092 File: protoimpl.DescBuilder{ 1093 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 1094 RawDescriptor: file_target_proto_rawDesc, 1095 NumEnums: 0, 1096 NumMessages: 15, 1097 NumExtensions: 0, 1098 NumServices: 1, 1099 }, 1100 GoTypes: file_target_proto_goTypes, 1101 DependencyIndexes: file_target_proto_depIdxs, 1102 MessageInfos: file_target_proto_msgTypes, 1103 }.Build() 1104 File_target_proto = out.File 1105 file_target_proto_rawDesc = nil 1106 file_target_proto_goTypes = nil 1107 file_target_proto_depIdxs = nil 1108 }