github.com/s7techlab/cckit@v0.10.5/examples/token/service/config/config.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.27.1 4 // protoc (unknown) 5 // source: token/service/config/config.proto 6 7 package config 8 9 import ( 10 context "context" 11 _ "github.com/mwitkow/go-proto-validators" 12 _ "google.golang.org/genproto/googleapis/api/annotations" 13 grpc "google.golang.org/grpc" 14 codes "google.golang.org/grpc/codes" 15 status "google.golang.org/grpc/status" 16 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 17 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 18 emptypb "google.golang.org/protobuf/types/known/emptypb" 19 reflect "reflect" 20 sync "sync" 21 ) 22 23 const ( 24 // Verify that this generated code is sufficiently up-to-date. 25 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 26 // Verify that runtime/protoimpl is sufficiently up-to-date. 27 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 28 ) 29 30 type TokenGroupType int32 31 32 const ( 33 TokenGroupType_OPTIONAL TokenGroupType = 0 34 TokenGroupType_REQUIRED TokenGroupType = 1 35 TokenGroupType_NOT_ALLOWED TokenGroupType = 3 36 ) 37 38 // Enum value maps for TokenGroupType. 39 var ( 40 TokenGroupType_name = map[int32]string{ 41 0: "OPTIONAL", 42 1: "REQUIRED", 43 3: "NOT_ALLOWED", 44 } 45 TokenGroupType_value = map[string]int32{ 46 "OPTIONAL": 0, 47 "REQUIRED": 1, 48 "NOT_ALLOWED": 3, 49 } 50 ) 51 52 func (x TokenGroupType) Enum() *TokenGroupType { 53 p := new(TokenGroupType) 54 *p = x 55 return p 56 } 57 58 func (x TokenGroupType) String() string { 59 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 60 } 61 62 func (TokenGroupType) Descriptor() protoreflect.EnumDescriptor { 63 return file_token_service_config_config_proto_enumTypes[0].Descriptor() 64 } 65 66 func (TokenGroupType) Type() protoreflect.EnumType { 67 return &file_token_service_config_config_proto_enumTypes[0] 68 } 69 70 func (x TokenGroupType) Number() protoreflect.EnumNumber { 71 return protoreflect.EnumNumber(x) 72 } 73 74 // Deprecated: Use TokenGroupType.Descriptor instead. 75 func (TokenGroupType) EnumDescriptor() ([]byte, []int) { 76 return file_token_service_config_config_proto_rawDescGZIP(), []int{0} 77 } 78 79 type CreateTokenTypeRequest struct { 80 state protoimpl.MessageState 81 sizeCache protoimpl.SizeCache 82 unknownFields protoimpl.UnknownFields 83 84 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 85 Symbol string `protobuf:"bytes,2,opt,name=symbol,proto3" json:"symbol,omitempty"` 86 Decimals uint32 `protobuf:"varint,3,opt,name=decimals,proto3" json:"decimals,omitempty"` // from 0 to 8 87 GroupType TokenGroupType `protobuf:"varint,4,opt,name=group_type,json=groupType,proto3,enum=examples.erc20_service.service.balance.TokenGroupType" json:"group_type,omitempty"` 88 TotalSupply uint64 `protobuf:"varint,5,opt,name=total_supply,json=totalSupply,proto3" json:"total_supply,omitempty"` 89 Meta []*TokenMetaRequest `protobuf:"bytes,6,rep,name=meta,proto3" json:"meta,omitempty"` 90 } 91 92 func (x *CreateTokenTypeRequest) Reset() { 93 *x = CreateTokenTypeRequest{} 94 if protoimpl.UnsafeEnabled { 95 mi := &file_token_service_config_config_proto_msgTypes[0] 96 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 97 ms.StoreMessageInfo(mi) 98 } 99 } 100 101 func (x *CreateTokenTypeRequest) String() string { 102 return protoimpl.X.MessageStringOf(x) 103 } 104 105 func (*CreateTokenTypeRequest) ProtoMessage() {} 106 107 func (x *CreateTokenTypeRequest) ProtoReflect() protoreflect.Message { 108 mi := &file_token_service_config_config_proto_msgTypes[0] 109 if protoimpl.UnsafeEnabled && x != nil { 110 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 111 if ms.LoadMessageInfo() == nil { 112 ms.StoreMessageInfo(mi) 113 } 114 return ms 115 } 116 return mi.MessageOf(x) 117 } 118 119 // Deprecated: Use CreateTokenTypeRequest.ProtoReflect.Descriptor instead. 120 func (*CreateTokenTypeRequest) Descriptor() ([]byte, []int) { 121 return file_token_service_config_config_proto_rawDescGZIP(), []int{0} 122 } 123 124 func (x *CreateTokenTypeRequest) GetName() string { 125 if x != nil { 126 return x.Name 127 } 128 return "" 129 } 130 131 func (x *CreateTokenTypeRequest) GetSymbol() string { 132 if x != nil { 133 return x.Symbol 134 } 135 return "" 136 } 137 138 func (x *CreateTokenTypeRequest) GetDecimals() uint32 { 139 if x != nil { 140 return x.Decimals 141 } 142 return 0 143 } 144 145 func (x *CreateTokenTypeRequest) GetGroupType() TokenGroupType { 146 if x != nil { 147 return x.GroupType 148 } 149 return TokenGroupType_OPTIONAL 150 } 151 152 func (x *CreateTokenTypeRequest) GetTotalSupply() uint64 { 153 if x != nil { 154 return x.TotalSupply 155 } 156 return 0 157 } 158 159 func (x *CreateTokenTypeRequest) GetMeta() []*TokenMetaRequest { 160 if x != nil { 161 return x.Meta 162 } 163 return nil 164 } 165 166 type UpdateTokenTypeRequest struct { 167 state protoimpl.MessageState 168 sizeCache protoimpl.SizeCache 169 unknownFields protoimpl.UnknownFields 170 171 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 172 Symbol string `protobuf:"bytes,2,opt,name=symbol,proto3" json:"symbol,omitempty"` 173 TotalSupply uint64 `protobuf:"varint,3,opt,name=total_supply,json=totalSupply,proto3" json:"total_supply,omitempty"` 174 Meta []*TokenMetaRequest `protobuf:"bytes,4,rep,name=meta,proto3" json:"meta,omitempty"` 175 } 176 177 func (x *UpdateTokenTypeRequest) Reset() { 178 *x = UpdateTokenTypeRequest{} 179 if protoimpl.UnsafeEnabled { 180 mi := &file_token_service_config_config_proto_msgTypes[1] 181 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 182 ms.StoreMessageInfo(mi) 183 } 184 } 185 186 func (x *UpdateTokenTypeRequest) String() string { 187 return protoimpl.X.MessageStringOf(x) 188 } 189 190 func (*UpdateTokenTypeRequest) ProtoMessage() {} 191 192 func (x *UpdateTokenTypeRequest) ProtoReflect() protoreflect.Message { 193 mi := &file_token_service_config_config_proto_msgTypes[1] 194 if protoimpl.UnsafeEnabled && x != nil { 195 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 196 if ms.LoadMessageInfo() == nil { 197 ms.StoreMessageInfo(mi) 198 } 199 return ms 200 } 201 return mi.MessageOf(x) 202 } 203 204 // Deprecated: Use UpdateTokenTypeRequest.ProtoReflect.Descriptor instead. 205 func (*UpdateTokenTypeRequest) Descriptor() ([]byte, []int) { 206 return file_token_service_config_config_proto_rawDescGZIP(), []int{1} 207 } 208 209 func (x *UpdateTokenTypeRequest) GetName() string { 210 if x != nil { 211 return x.Name 212 } 213 return "" 214 } 215 216 func (x *UpdateTokenTypeRequest) GetSymbol() string { 217 if x != nil { 218 return x.Symbol 219 } 220 return "" 221 } 222 223 func (x *UpdateTokenTypeRequest) GetTotalSupply() uint64 { 224 if x != nil { 225 return x.TotalSupply 226 } 227 return 0 228 } 229 230 func (x *UpdateTokenTypeRequest) GetMeta() []*TokenMetaRequest { 231 if x != nil { 232 return x.Meta 233 } 234 return nil 235 } 236 237 type CreateTokenGroupRequest struct { 238 state protoimpl.MessageState 239 sizeCache protoimpl.SizeCache 240 unknownFields protoimpl.UnknownFields 241 242 Name []string `protobuf:"bytes,1,rep,name=name,proto3" json:"name,omitempty"` 243 TokenType string `protobuf:"bytes,2,opt,name=token_type,json=tokenType,proto3" json:"token_type,omitempty"` 244 TotalSupply uint64 `protobuf:"varint,3,opt,name=total_supply,json=totalSupply,proto3" json:"total_supply,omitempty"` 245 Meta []*TokenMetaRequest `protobuf:"bytes,4,rep,name=meta,proto3" json:"meta,omitempty"` 246 } 247 248 func (x *CreateTokenGroupRequest) Reset() { 249 *x = CreateTokenGroupRequest{} 250 if protoimpl.UnsafeEnabled { 251 mi := &file_token_service_config_config_proto_msgTypes[2] 252 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 253 ms.StoreMessageInfo(mi) 254 } 255 } 256 257 func (x *CreateTokenGroupRequest) String() string { 258 return protoimpl.X.MessageStringOf(x) 259 } 260 261 func (*CreateTokenGroupRequest) ProtoMessage() {} 262 263 func (x *CreateTokenGroupRequest) ProtoReflect() protoreflect.Message { 264 mi := &file_token_service_config_config_proto_msgTypes[2] 265 if protoimpl.UnsafeEnabled && x != nil { 266 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 267 if ms.LoadMessageInfo() == nil { 268 ms.StoreMessageInfo(mi) 269 } 270 return ms 271 } 272 return mi.MessageOf(x) 273 } 274 275 // Deprecated: Use CreateTokenGroupRequest.ProtoReflect.Descriptor instead. 276 func (*CreateTokenGroupRequest) Descriptor() ([]byte, []int) { 277 return file_token_service_config_config_proto_rawDescGZIP(), []int{2} 278 } 279 280 func (x *CreateTokenGroupRequest) GetName() []string { 281 if x != nil { 282 return x.Name 283 } 284 return nil 285 } 286 287 func (x *CreateTokenGroupRequest) GetTokenType() string { 288 if x != nil { 289 return x.TokenType 290 } 291 return "" 292 } 293 294 func (x *CreateTokenGroupRequest) GetTotalSupply() uint64 { 295 if x != nil { 296 return x.TotalSupply 297 } 298 return 0 299 } 300 301 func (x *CreateTokenGroupRequest) GetMeta() []*TokenMetaRequest { 302 if x != nil { 303 return x.Meta 304 } 305 return nil 306 } 307 308 type Config struct { 309 state protoimpl.MessageState 310 sizeCache protoimpl.SizeCache 311 unknownFields protoimpl.UnknownFields 312 313 DefaultToken []string `protobuf:"bytes,1,rep,name=default_token,json=defaultToken,proto3" json:"default_token,omitempty"` 314 MaxTokenTypesNum int32 `protobuf:"varint,2,opt,name=max_token_types_num,json=maxTokenTypesNum,proto3" json:"max_token_types_num,omitempty"` 315 MaxTokenGroupsNum int32 `protobuf:"varint,3,opt,name=max_token_groups_num,json=maxTokenGroupsNum,proto3" json:"max_token_groups_num,omitempty"` 316 } 317 318 func (x *Config) Reset() { 319 *x = Config{} 320 if protoimpl.UnsafeEnabled { 321 mi := &file_token_service_config_config_proto_msgTypes[3] 322 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 323 ms.StoreMessageInfo(mi) 324 } 325 } 326 327 func (x *Config) String() string { 328 return protoimpl.X.MessageStringOf(x) 329 } 330 331 func (*Config) ProtoMessage() {} 332 333 func (x *Config) ProtoReflect() protoreflect.Message { 334 mi := &file_token_service_config_config_proto_msgTypes[3] 335 if protoimpl.UnsafeEnabled && x != nil { 336 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 337 if ms.LoadMessageInfo() == nil { 338 ms.StoreMessageInfo(mi) 339 } 340 return ms 341 } 342 return mi.MessageOf(x) 343 } 344 345 // Deprecated: Use Config.ProtoReflect.Descriptor instead. 346 func (*Config) Descriptor() ([]byte, []int) { 347 return file_token_service_config_config_proto_rawDescGZIP(), []int{3} 348 } 349 350 func (x *Config) GetDefaultToken() []string { 351 if x != nil { 352 return x.DefaultToken 353 } 354 return nil 355 } 356 357 func (x *Config) GetMaxTokenTypesNum() int32 { 358 if x != nil { 359 return x.MaxTokenTypesNum 360 } 361 return 0 362 } 363 364 func (x *Config) GetMaxTokenGroupsNum() int32 { 365 if x != nil { 366 return x.MaxTokenGroupsNum 367 } 368 return 0 369 } 370 371 type TokenId struct { 372 state protoimpl.MessageState 373 sizeCache protoimpl.SizeCache 374 unknownFields protoimpl.UnknownFields 375 376 Token []string `protobuf:"bytes,1,rep,name=token,proto3" json:"token,omitempty"` 377 } 378 379 func (x *TokenId) Reset() { 380 *x = TokenId{} 381 if protoimpl.UnsafeEnabled { 382 mi := &file_token_service_config_config_proto_msgTypes[4] 383 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 384 ms.StoreMessageInfo(mi) 385 } 386 } 387 388 func (x *TokenId) String() string { 389 return protoimpl.X.MessageStringOf(x) 390 } 391 392 func (*TokenId) ProtoMessage() {} 393 394 func (x *TokenId) ProtoReflect() protoreflect.Message { 395 mi := &file_token_service_config_config_proto_msgTypes[4] 396 if protoimpl.UnsafeEnabled && x != nil { 397 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 398 if ms.LoadMessageInfo() == nil { 399 ms.StoreMessageInfo(mi) 400 } 401 return ms 402 } 403 return mi.MessageOf(x) 404 } 405 406 // Deprecated: Use TokenId.ProtoReflect.Descriptor instead. 407 func (*TokenId) Descriptor() ([]byte, []int) { 408 return file_token_service_config_config_proto_rawDescGZIP(), []int{4} 409 } 410 411 func (x *TokenId) GetToken() []string { 412 if x != nil { 413 return x.Token 414 } 415 return nil 416 } 417 418 // Id: toke type id 419 type TokenTypeId struct { 420 state protoimpl.MessageState 421 sizeCache protoimpl.SizeCache 422 unknownFields protoimpl.UnknownFields 423 424 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 425 } 426 427 func (x *TokenTypeId) Reset() { 428 *x = TokenTypeId{} 429 if protoimpl.UnsafeEnabled { 430 mi := &file_token_service_config_config_proto_msgTypes[5] 431 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 432 ms.StoreMessageInfo(mi) 433 } 434 } 435 436 func (x *TokenTypeId) String() string { 437 return protoimpl.X.MessageStringOf(x) 438 } 439 440 func (*TokenTypeId) ProtoMessage() {} 441 442 func (x *TokenTypeId) ProtoReflect() protoreflect.Message { 443 mi := &file_token_service_config_config_proto_msgTypes[5] 444 if protoimpl.UnsafeEnabled && x != nil { 445 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 446 if ms.LoadMessageInfo() == nil { 447 ms.StoreMessageInfo(mi) 448 } 449 return ms 450 } 451 return mi.MessageOf(x) 452 } 453 454 // Deprecated: Use TokenTypeId.ProtoReflect.Descriptor instead. 455 func (*TokenTypeId) Descriptor() ([]byte, []int) { 456 return file_token_service_config_config_proto_rawDescGZIP(), []int{5} 457 } 458 459 func (x *TokenTypeId) GetName() string { 460 if x != nil { 461 return x.Name 462 } 463 return "" 464 } 465 466 // State: TokenType 467 type TokenType struct { 468 state protoimpl.MessageState 469 sizeCache protoimpl.SizeCache 470 unknownFields protoimpl.UnknownFields 471 472 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 473 Symbol string `protobuf:"bytes,2,opt,name=symbol,proto3" json:"symbol,omitempty"` 474 Decimals uint32 `protobuf:"varint,3,opt,name=decimals,proto3" json:"decimals,omitempty"` 475 TotalSupply uint64 `protobuf:"varint,4,opt,name=total_supply,json=totalSupply,proto3" json:"total_supply,omitempty"` 476 GroupType TokenGroupType `protobuf:"varint,5,opt,name=group_type,json=groupType,proto3,enum=examples.erc20_service.service.balance.TokenGroupType" json:"group_type,omitempty"` 477 Meta []*TokenMeta `protobuf:"bytes,6,rep,name=meta,proto3" json:"meta,omitempty"` 478 } 479 480 func (x *TokenType) Reset() { 481 *x = TokenType{} 482 if protoimpl.UnsafeEnabled { 483 mi := &file_token_service_config_config_proto_msgTypes[6] 484 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 485 ms.StoreMessageInfo(mi) 486 } 487 } 488 489 func (x *TokenType) String() string { 490 return protoimpl.X.MessageStringOf(x) 491 } 492 493 func (*TokenType) ProtoMessage() {} 494 495 func (x *TokenType) ProtoReflect() protoreflect.Message { 496 mi := &file_token_service_config_config_proto_msgTypes[6] 497 if protoimpl.UnsafeEnabled && x != nil { 498 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 499 if ms.LoadMessageInfo() == nil { 500 ms.StoreMessageInfo(mi) 501 } 502 return ms 503 } 504 return mi.MessageOf(x) 505 } 506 507 // Deprecated: Use TokenType.ProtoReflect.Descriptor instead. 508 func (*TokenType) Descriptor() ([]byte, []int) { 509 return file_token_service_config_config_proto_rawDescGZIP(), []int{6} 510 } 511 512 func (x *TokenType) GetName() string { 513 if x != nil { 514 return x.Name 515 } 516 return "" 517 } 518 519 func (x *TokenType) GetSymbol() string { 520 if x != nil { 521 return x.Symbol 522 } 523 return "" 524 } 525 526 func (x *TokenType) GetDecimals() uint32 { 527 if x != nil { 528 return x.Decimals 529 } 530 return 0 531 } 532 533 func (x *TokenType) GetTotalSupply() uint64 { 534 if x != nil { 535 return x.TotalSupply 536 } 537 return 0 538 } 539 540 func (x *TokenType) GetGroupType() TokenGroupType { 541 if x != nil { 542 return x.GroupType 543 } 544 return TokenGroupType_OPTIONAL 545 } 546 547 func (x *TokenType) GetMeta() []*TokenMeta { 548 if x != nil { 549 return x.Meta 550 } 551 return nil 552 } 553 554 type TokenTypes struct { 555 state protoimpl.MessageState 556 sizeCache protoimpl.SizeCache 557 unknownFields protoimpl.UnknownFields 558 559 Types []*TokenType `protobuf:"bytes,1,rep,name=types,proto3" json:"types,omitempty"` 560 } 561 562 func (x *TokenTypes) Reset() { 563 *x = TokenTypes{} 564 if protoimpl.UnsafeEnabled { 565 mi := &file_token_service_config_config_proto_msgTypes[7] 566 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 567 ms.StoreMessageInfo(mi) 568 } 569 } 570 571 func (x *TokenTypes) String() string { 572 return protoimpl.X.MessageStringOf(x) 573 } 574 575 func (*TokenTypes) ProtoMessage() {} 576 577 func (x *TokenTypes) ProtoReflect() protoreflect.Message { 578 mi := &file_token_service_config_config_proto_msgTypes[7] 579 if protoimpl.UnsafeEnabled && x != nil { 580 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 581 if ms.LoadMessageInfo() == nil { 582 ms.StoreMessageInfo(mi) 583 } 584 return ms 585 } 586 return mi.MessageOf(x) 587 } 588 589 // Deprecated: Use TokenTypes.ProtoReflect.Descriptor instead. 590 func (*TokenTypes) Descriptor() ([]byte, []int) { 591 return file_token_service_config_config_proto_rawDescGZIP(), []int{7} 592 } 593 594 func (x *TokenTypes) GetTypes() []*TokenType { 595 if x != nil { 596 return x.Types 597 } 598 return nil 599 } 600 601 type TokenGroupId struct { 602 state protoimpl.MessageState 603 sizeCache protoimpl.SizeCache 604 unknownFields protoimpl.UnknownFields 605 606 TokenName string `protobuf:"bytes,1,opt,name=token_name,json=tokenName,proto3" json:"token_name,omitempty"` 607 Name []string `protobuf:"bytes,2,rep,name=name,proto3" json:"name,omitempty"` 608 } 609 610 func (x *TokenGroupId) Reset() { 611 *x = TokenGroupId{} 612 if protoimpl.UnsafeEnabled { 613 mi := &file_token_service_config_config_proto_msgTypes[8] 614 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 615 ms.StoreMessageInfo(mi) 616 } 617 } 618 619 func (x *TokenGroupId) String() string { 620 return protoimpl.X.MessageStringOf(x) 621 } 622 623 func (*TokenGroupId) ProtoMessage() {} 624 625 func (x *TokenGroupId) ProtoReflect() protoreflect.Message { 626 mi := &file_token_service_config_config_proto_msgTypes[8] 627 if protoimpl.UnsafeEnabled && x != nil { 628 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 629 if ms.LoadMessageInfo() == nil { 630 ms.StoreMessageInfo(mi) 631 } 632 return ms 633 } 634 return mi.MessageOf(x) 635 } 636 637 // Deprecated: Use TokenGroupId.ProtoReflect.Descriptor instead. 638 func (*TokenGroupId) Descriptor() ([]byte, []int) { 639 return file_token_service_config_config_proto_rawDescGZIP(), []int{8} 640 } 641 642 func (x *TokenGroupId) GetTokenName() string { 643 if x != nil { 644 return x.TokenName 645 } 646 return "" 647 } 648 649 func (x *TokenGroupId) GetName() []string { 650 if x != nil { 651 return x.Name 652 } 653 return nil 654 } 655 656 // State: TokenGroup 657 type TokenGroup struct { 658 state protoimpl.MessageState 659 sizeCache protoimpl.SizeCache 660 unknownFields protoimpl.UnknownFields 661 662 Name []string `protobuf:"bytes,1,rep,name=name,proto3" json:"name,omitempty"` 663 TokenType string `protobuf:"bytes,2,opt,name=token_type,json=tokenType,proto3" json:"token_type,omitempty"` 664 TotalSupply uint64 `protobuf:"varint,3,opt,name=total_supply,json=totalSupply,proto3" json:"total_supply,omitempty"` 665 Meta []*TokenMeta `protobuf:"bytes,4,rep,name=meta,proto3" json:"meta,omitempty"` 666 } 667 668 func (x *TokenGroup) Reset() { 669 *x = TokenGroup{} 670 if protoimpl.UnsafeEnabled { 671 mi := &file_token_service_config_config_proto_msgTypes[9] 672 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 673 ms.StoreMessageInfo(mi) 674 } 675 } 676 677 func (x *TokenGroup) String() string { 678 return protoimpl.X.MessageStringOf(x) 679 } 680 681 func (*TokenGroup) ProtoMessage() {} 682 683 func (x *TokenGroup) ProtoReflect() protoreflect.Message { 684 mi := &file_token_service_config_config_proto_msgTypes[9] 685 if protoimpl.UnsafeEnabled && x != nil { 686 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 687 if ms.LoadMessageInfo() == nil { 688 ms.StoreMessageInfo(mi) 689 } 690 return ms 691 } 692 return mi.MessageOf(x) 693 } 694 695 // Deprecated: Use TokenGroup.ProtoReflect.Descriptor instead. 696 func (*TokenGroup) Descriptor() ([]byte, []int) { 697 return file_token_service_config_config_proto_rawDescGZIP(), []int{9} 698 } 699 700 func (x *TokenGroup) GetName() []string { 701 if x != nil { 702 return x.Name 703 } 704 return nil 705 } 706 707 func (x *TokenGroup) GetTokenType() string { 708 if x != nil { 709 return x.TokenType 710 } 711 return "" 712 } 713 714 func (x *TokenGroup) GetTotalSupply() uint64 { 715 if x != nil { 716 return x.TotalSupply 717 } 718 return 0 719 } 720 721 func (x *TokenGroup) GetMeta() []*TokenMeta { 722 if x != nil { 723 return x.Meta 724 } 725 return nil 726 } 727 728 type TokenGroups struct { 729 state protoimpl.MessageState 730 sizeCache protoimpl.SizeCache 731 unknownFields protoimpl.UnknownFields 732 733 Groups []*TokenGroup `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,omitempty"` 734 } 735 736 func (x *TokenGroups) Reset() { 737 *x = TokenGroups{} 738 if protoimpl.UnsafeEnabled { 739 mi := &file_token_service_config_config_proto_msgTypes[10] 740 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 741 ms.StoreMessageInfo(mi) 742 } 743 } 744 745 func (x *TokenGroups) String() string { 746 return protoimpl.X.MessageStringOf(x) 747 } 748 749 func (*TokenGroups) ProtoMessage() {} 750 751 func (x *TokenGroups) ProtoReflect() protoreflect.Message { 752 mi := &file_token_service_config_config_proto_msgTypes[10] 753 if protoimpl.UnsafeEnabled && x != nil { 754 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 755 if ms.LoadMessageInfo() == nil { 756 ms.StoreMessageInfo(mi) 757 } 758 return ms 759 } 760 return mi.MessageOf(x) 761 } 762 763 // Deprecated: Use TokenGroups.ProtoReflect.Descriptor instead. 764 func (*TokenGroups) Descriptor() ([]byte, []int) { 765 return file_token_service_config_config_proto_rawDescGZIP(), []int{10} 766 } 767 768 func (x *TokenGroups) GetGroups() []*TokenGroup { 769 if x != nil { 770 return x.Groups 771 } 772 return nil 773 } 774 775 type TokenMetaRequest struct { 776 state protoimpl.MessageState 777 sizeCache protoimpl.SizeCache 778 unknownFields protoimpl.UnknownFields 779 780 Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` 781 Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` 782 } 783 784 func (x *TokenMetaRequest) Reset() { 785 *x = TokenMetaRequest{} 786 if protoimpl.UnsafeEnabled { 787 mi := &file_token_service_config_config_proto_msgTypes[11] 788 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 789 ms.StoreMessageInfo(mi) 790 } 791 } 792 793 func (x *TokenMetaRequest) String() string { 794 return protoimpl.X.MessageStringOf(x) 795 } 796 797 func (*TokenMetaRequest) ProtoMessage() {} 798 799 func (x *TokenMetaRequest) ProtoReflect() protoreflect.Message { 800 mi := &file_token_service_config_config_proto_msgTypes[11] 801 if protoimpl.UnsafeEnabled && x != nil { 802 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 803 if ms.LoadMessageInfo() == nil { 804 ms.StoreMessageInfo(mi) 805 } 806 return ms 807 } 808 return mi.MessageOf(x) 809 } 810 811 // Deprecated: Use TokenMetaRequest.ProtoReflect.Descriptor instead. 812 func (*TokenMetaRequest) Descriptor() ([]byte, []int) { 813 return file_token_service_config_config_proto_rawDescGZIP(), []int{11} 814 } 815 816 func (x *TokenMetaRequest) GetKey() string { 817 if x != nil { 818 return x.Key 819 } 820 return "" 821 } 822 823 func (x *TokenMetaRequest) GetValue() string { 824 if x != nil { 825 return x.Value 826 } 827 return "" 828 } 829 830 type TokenMeta struct { 831 state protoimpl.MessageState 832 sizeCache protoimpl.SizeCache 833 unknownFields protoimpl.UnknownFields 834 835 Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` 836 Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` 837 } 838 839 func (x *TokenMeta) Reset() { 840 *x = TokenMeta{} 841 if protoimpl.UnsafeEnabled { 842 mi := &file_token_service_config_config_proto_msgTypes[12] 843 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 844 ms.StoreMessageInfo(mi) 845 } 846 } 847 848 func (x *TokenMeta) String() string { 849 return protoimpl.X.MessageStringOf(x) 850 } 851 852 func (*TokenMeta) ProtoMessage() {} 853 854 func (x *TokenMeta) ProtoReflect() protoreflect.Message { 855 mi := &file_token_service_config_config_proto_msgTypes[12] 856 if protoimpl.UnsafeEnabled && x != nil { 857 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 858 if ms.LoadMessageInfo() == nil { 859 ms.StoreMessageInfo(mi) 860 } 861 return ms 862 } 863 return mi.MessageOf(x) 864 } 865 866 // Deprecated: Use TokenMeta.ProtoReflect.Descriptor instead. 867 func (*TokenMeta) Descriptor() ([]byte, []int) { 868 return file_token_service_config_config_proto_rawDescGZIP(), []int{12} 869 } 870 871 func (x *TokenMeta) GetKey() string { 872 if x != nil { 873 return x.Key 874 } 875 return "" 876 } 877 878 func (x *TokenMeta) GetValue() string { 879 if x != nil { 880 return x.Value 881 } 882 return "" 883 } 884 885 type Token struct { 886 state protoimpl.MessageState 887 sizeCache protoimpl.SizeCache 888 unknownFields protoimpl.UnknownFields 889 890 Token []string `protobuf:"bytes,1,rep,name=token,proto3" json:"token,omitempty"` 891 Type *TokenType `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` 892 Group *TokenGroup `protobuf:"bytes,3,opt,name=group,proto3" json:"group,omitempty"` 893 } 894 895 func (x *Token) Reset() { 896 *x = Token{} 897 if protoimpl.UnsafeEnabled { 898 mi := &file_token_service_config_config_proto_msgTypes[13] 899 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 900 ms.StoreMessageInfo(mi) 901 } 902 } 903 904 func (x *Token) String() string { 905 return protoimpl.X.MessageStringOf(x) 906 } 907 908 func (*Token) ProtoMessage() {} 909 910 func (x *Token) ProtoReflect() protoreflect.Message { 911 mi := &file_token_service_config_config_proto_msgTypes[13] 912 if protoimpl.UnsafeEnabled && x != nil { 913 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 914 if ms.LoadMessageInfo() == nil { 915 ms.StoreMessageInfo(mi) 916 } 917 return ms 918 } 919 return mi.MessageOf(x) 920 } 921 922 // Deprecated: Use Token.ProtoReflect.Descriptor instead. 923 func (*Token) Descriptor() ([]byte, []int) { 924 return file_token_service_config_config_proto_rawDescGZIP(), []int{13} 925 } 926 927 func (x *Token) GetToken() []string { 928 if x != nil { 929 return x.Token 930 } 931 return nil 932 } 933 934 func (x *Token) GetType() *TokenType { 935 if x != nil { 936 return x.Type 937 } 938 return nil 939 } 940 941 func (x *Token) GetGroup() *TokenGroup { 942 if x != nil { 943 return x.Group 944 } 945 return nil 946 } 947 948 type TokenTypeCreated struct { 949 state protoimpl.MessageState 950 sizeCache protoimpl.SizeCache 951 unknownFields protoimpl.UnknownFields 952 953 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 954 Symbol string `protobuf:"bytes,2,opt,name=symbol,proto3" json:"symbol,omitempty"` 955 } 956 957 func (x *TokenTypeCreated) Reset() { 958 *x = TokenTypeCreated{} 959 if protoimpl.UnsafeEnabled { 960 mi := &file_token_service_config_config_proto_msgTypes[14] 961 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 962 ms.StoreMessageInfo(mi) 963 } 964 } 965 966 func (x *TokenTypeCreated) String() string { 967 return protoimpl.X.MessageStringOf(x) 968 } 969 970 func (*TokenTypeCreated) ProtoMessage() {} 971 972 func (x *TokenTypeCreated) ProtoReflect() protoreflect.Message { 973 mi := &file_token_service_config_config_proto_msgTypes[14] 974 if protoimpl.UnsafeEnabled && x != nil { 975 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 976 if ms.LoadMessageInfo() == nil { 977 ms.StoreMessageInfo(mi) 978 } 979 return ms 980 } 981 return mi.MessageOf(x) 982 } 983 984 // Deprecated: Use TokenTypeCreated.ProtoReflect.Descriptor instead. 985 func (*TokenTypeCreated) Descriptor() ([]byte, []int) { 986 return file_token_service_config_config_proto_rawDescGZIP(), []int{14} 987 } 988 989 func (x *TokenTypeCreated) GetName() string { 990 if x != nil { 991 return x.Name 992 } 993 return "" 994 } 995 996 func (x *TokenTypeCreated) GetSymbol() string { 997 if x != nil { 998 return x.Symbol 999 } 1000 return "" 1001 } 1002 1003 type TokenGroupCreated struct { 1004 state protoimpl.MessageState 1005 sizeCache protoimpl.SizeCache 1006 unknownFields protoimpl.UnknownFields 1007 1008 TokenType string `protobuf:"bytes,1,opt,name=token_type,json=tokenType,proto3" json:"token_type,omitempty"` 1009 Name []string `protobuf:"bytes,2,rep,name=name,proto3" json:"name,omitempty"` 1010 } 1011 1012 func (x *TokenGroupCreated) Reset() { 1013 *x = TokenGroupCreated{} 1014 if protoimpl.UnsafeEnabled { 1015 mi := &file_token_service_config_config_proto_msgTypes[15] 1016 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1017 ms.StoreMessageInfo(mi) 1018 } 1019 } 1020 1021 func (x *TokenGroupCreated) String() string { 1022 return protoimpl.X.MessageStringOf(x) 1023 } 1024 1025 func (*TokenGroupCreated) ProtoMessage() {} 1026 1027 func (x *TokenGroupCreated) ProtoReflect() protoreflect.Message { 1028 mi := &file_token_service_config_config_proto_msgTypes[15] 1029 if protoimpl.UnsafeEnabled && x != nil { 1030 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1031 if ms.LoadMessageInfo() == nil { 1032 ms.StoreMessageInfo(mi) 1033 } 1034 return ms 1035 } 1036 return mi.MessageOf(x) 1037 } 1038 1039 // Deprecated: Use TokenGroupCreated.ProtoReflect.Descriptor instead. 1040 func (*TokenGroupCreated) Descriptor() ([]byte, []int) { 1041 return file_token_service_config_config_proto_rawDescGZIP(), []int{15} 1042 } 1043 1044 func (x *TokenGroupCreated) GetTokenType() string { 1045 if x != nil { 1046 return x.TokenType 1047 } 1048 return "" 1049 } 1050 1051 func (x *TokenGroupCreated) GetName() []string { 1052 if x != nil { 1053 return x.Name 1054 } 1055 return nil 1056 } 1057 1058 var File_token_service_config_config_proto protoreflect.FileDescriptor 1059 1060 var file_token_service_config_config_proto_rawDesc = []byte{ 1061 0x0a, 0x21, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 1062 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 1063 0x6f, 0x74, 0x6f, 0x12, 0x26, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x2e, 0x65, 0x72, 1064 0x63, 0x32, 0x30, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x73, 0x65, 0x72, 0x76, 1065 0x69, 0x63, 0x65, 0x2e, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 1066 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 1067 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 1068 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 1069 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2b, 0x6d, 0x77, 0x69, 0x74, 0x6b, 0x6f, 0x77, 0x2f, 1070 0x67, 0x6f, 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2d, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 1071 0x6f, 0x72, 0x73, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 1072 0x6f, 0x74, 0x6f, 0x22, 0xc9, 0x02, 0x0a, 0x16, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x6f, 1073 0x6b, 0x65, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 1074 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xe2, 0xdf, 1075 0x1f, 0x02, 0x58, 0x01, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x06, 0x73, 0x79, 1076 0x6d, 0x62, 0x6f, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xe2, 0xdf, 0x1f, 0x02, 1077 0x58, 0x01, 0x52, 0x06, 0x73, 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x12, 0x22, 0x0a, 0x08, 0x64, 0x65, 1078 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x42, 0x06, 0xe2, 0xdf, 1079 0x1f, 0x02, 0x18, 0x09, 0x52, 0x08, 0x64, 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x73, 0x12, 0x5e, 1080 0x0a, 0x0a, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 1081 0x28, 0x0e, 0x32, 0x36, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x2e, 0x65, 0x72, 1082 0x63, 0x32, 0x30, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x73, 0x65, 0x72, 0x76, 1083 0x69, 0x63, 0x65, 0x2e, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 1084 0x6e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x54, 0x79, 0x70, 0x65, 0x42, 0x07, 0xe2, 0xdf, 0x1f, 0x03, 1085 0x88, 0x01, 0x01, 0x52, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x54, 0x79, 0x70, 0x65, 0x12, 0x21, 1086 0x0a, 0x0c, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x73, 0x75, 0x70, 0x70, 0x6c, 0x79, 0x18, 0x05, 1087 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x75, 0x70, 0x70, 0x6c, 1088 0x79, 0x12, 0x4c, 0x0a, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 1089 0x38, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x2e, 0x65, 0x72, 0x63, 0x32, 0x30, 1090 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 1091 0x2e, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x4d, 0x65, 1092 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x22, 1093 0xc5, 0x01, 0x0a, 0x16, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x54, 1094 0x79, 0x70, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x04, 0x6e, 0x61, 1095 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xe2, 0xdf, 0x1f, 0x02, 0x58, 0x01, 1096 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x06, 0x73, 0x79, 0x6d, 0x62, 0x6f, 0x6c, 1097 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xe2, 0xdf, 0x1f, 0x02, 0x58, 0x01, 0x52, 0x06, 1098 0x73, 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x12, 0x21, 0x0a, 0x0c, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 1099 0x73, 0x75, 0x70, 0x70, 0x6c, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x74, 0x6f, 1100 0x74, 0x61, 0x6c, 0x53, 0x75, 0x70, 0x70, 0x6c, 0x79, 0x12, 0x4c, 0x0a, 0x04, 0x6d, 0x65, 0x74, 1101 0x61, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 1102 0x65, 0x73, 0x2e, 0x65, 0x72, 0x63, 0x32, 0x30, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 1103 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 1104 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 1105 0x74, 0x52, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x22, 0xcd, 0x01, 0x0a, 0x17, 0x43, 0x72, 0x65, 0x61, 1106 0x74, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 1107 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 1108 0x09, 0x42, 0x06, 0xe2, 0xdf, 0x1f, 0x02, 0x60, 0x01, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 1109 0x25, 0x0a, 0x0a, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 1110 0x01, 0x28, 0x09, 0x42, 0x06, 0xe2, 0xdf, 0x1f, 0x02, 0x58, 0x01, 0x52, 0x09, 0x74, 0x6f, 0x6b, 1111 0x65, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 1112 0x73, 0x75, 0x70, 0x70, 0x6c, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x74, 0x6f, 1113 0x74, 0x61, 0x6c, 0x53, 0x75, 0x70, 0x70, 0x6c, 0x79, 0x12, 0x4c, 0x0a, 0x04, 0x6d, 0x65, 0x74, 1114 0x61, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 1115 0x65, 0x73, 0x2e, 0x65, 0x72, 0x63, 0x32, 0x30, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 1116 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 1117 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 1118 0x74, 0x52, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x22, 0x8d, 0x01, 0x0a, 0x06, 0x43, 0x6f, 0x6e, 0x66, 1119 0x69, 0x67, 0x12, 0x23, 0x0a, 0x0d, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x74, 0x6f, 1120 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x64, 0x65, 0x66, 0x61, 0x75, 1121 0x6c, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x2d, 0x0a, 0x13, 0x6d, 0x61, 0x78, 0x5f, 0x74, 1122 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x02, 1123 0x20, 0x01, 0x28, 0x05, 0x52, 0x10, 0x6d, 0x61, 0x78, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x54, 0x79, 1124 0x70, 0x65, 0x73, 0x4e, 0x75, 0x6d, 0x12, 0x2f, 0x0a, 0x14, 0x6d, 0x61, 0x78, 0x5f, 0x74, 0x6f, 1125 0x6b, 0x65, 0x6e, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x5f, 0x6e, 0x75, 0x6d, 0x18, 0x03, 1126 0x20, 0x01, 0x28, 0x05, 0x52, 0x11, 0x6d, 0x61, 0x78, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x47, 0x72, 1127 0x6f, 0x75, 0x70, 0x73, 0x4e, 0x75, 0x6d, 0x22, 0x1f, 0x0a, 0x07, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 1128 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x03, 0x28, 1129 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x21, 0x0a, 0x0b, 0x54, 0x6f, 0x6b, 0x65, 1130 0x6e, 0x54, 0x79, 0x70, 0x65, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 1131 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x94, 0x02, 0x0a, 0x09, 1132 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 1133 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 1134 0x06, 0x73, 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 1135 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 1136 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x64, 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 1137 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x73, 0x75, 0x70, 0x70, 0x6c, 1138 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x75, 1139 0x70, 0x70, 0x6c, 0x79, 0x12, 0x55, 0x0a, 0x0a, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x74, 0x79, 1140 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x36, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 1141 0x6c, 0x65, 0x73, 0x2e, 0x65, 0x72, 0x63, 0x32, 0x30, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 1142 0x65, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 1143 0x65, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x54, 0x79, 0x70, 0x65, 1144 0x52, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x54, 0x79, 0x70, 0x65, 0x12, 0x45, 0x0a, 0x04, 0x6d, 1145 0x65, 0x74, 0x61, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x65, 0x78, 0x61, 0x6d, 1146 0x70, 0x6c, 0x65, 0x73, 0x2e, 0x65, 0x72, 0x63, 0x32, 0x30, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 1147 0x63, 0x65, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x62, 0x61, 0x6c, 0x61, 0x6e, 1148 0x63, 0x65, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x04, 0x6d, 0x65, 1149 0x74, 0x61, 0x22, 0x55, 0x0a, 0x0a, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 1150 0x12, 0x47, 0x0a, 0x05, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 1151 0x31, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x2e, 0x65, 0x72, 0x63, 0x32, 0x30, 1152 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 1153 0x2e, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x54, 0x79, 1154 0x70, 0x65, 0x52, 0x05, 0x74, 0x79, 0x70, 0x65, 0x73, 0x22, 0x41, 0x0a, 0x0c, 0x54, 0x6f, 0x6b, 1155 0x65, 0x6e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x6f, 0x6b, 1156 0x65, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 1157 0x6f, 0x6b, 0x65, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 1158 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xa9, 0x01, 0x0a, 1159 0x0a, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x6e, 1160 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 1161 0x1d, 0x0a, 0x0a, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 1162 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x21, 1163 0x0a, 0x0c, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x73, 0x75, 0x70, 0x70, 0x6c, 0x79, 0x18, 0x03, 1164 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x75, 0x70, 0x70, 0x6c, 1165 0x79, 0x12, 0x45, 0x0a, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 1166 0x31, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x2e, 0x65, 0x72, 0x63, 0x32, 0x30, 1167 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 1168 0x2e, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x4d, 0x65, 1169 0x74, 0x61, 0x52, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x22, 0x59, 0x0a, 0x0b, 0x54, 0x6f, 0x6b, 0x65, 1170 0x6e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12, 0x4a, 0x0a, 0x06, 0x67, 0x72, 0x6f, 0x75, 0x70, 1171 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 1172 0x65, 0x73, 0x2e, 0x65, 0x72, 0x63, 0x32, 0x30, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 1173 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 1174 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x06, 0x67, 0x72, 0x6f, 1175 0x75, 0x70, 0x73, 0x22, 0x4a, 0x0a, 0x10, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x4d, 0x65, 0x74, 0x61, 1176 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 1177 0x20, 0x01, 0x28, 0x09, 0x42, 0x06, 0xe2, 0xdf, 0x1f, 0x02, 0x58, 0x01, 0x52, 0x03, 0x6b, 0x65, 1178 0x79, 0x12, 0x1c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 1179 0x42, 0x06, 0xe2, 0xdf, 0x1f, 0x02, 0x58, 0x01, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 1180 0x33, 0x0a, 0x09, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x12, 0x10, 0x0a, 0x03, 1181 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 1182 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 1183 0x61, 0x6c, 0x75, 0x65, 0x22, 0xae, 0x01, 0x0a, 0x05, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x14, 1184 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x74, 1185 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x45, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 1186 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x2e, 0x65, 0x72, 1187 0x63, 0x32, 0x30, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x73, 0x65, 0x72, 0x76, 1188 0x69, 0x63, 0x65, 0x2e, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 1189 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x48, 0x0a, 0x05, 0x67, 1190 0x72, 0x6f, 0x75, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x65, 0x78, 0x61, 1191 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x2e, 0x65, 0x72, 0x63, 0x32, 0x30, 0x5f, 0x73, 0x65, 0x72, 0x76, 1192 0x69, 0x63, 0x65, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x62, 0x61, 0x6c, 0x61, 1193 0x6e, 0x63, 0x65, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x05, 1194 0x67, 0x72, 0x6f, 0x75, 0x70, 0x22, 0x3e, 0x0a, 0x10, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x54, 0x79, 1195 0x70, 0x65, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 1196 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 1197 0x06, 0x73, 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 1198 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x22, 0x46, 0x0a, 0x11, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x47, 0x72, 1199 0x6f, 0x75, 0x70, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x6f, 1200 0x6b, 0x65, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 1201 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 1202 0x65, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x2a, 0x3d, 0x0a, 1203 0x0e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x54, 0x79, 0x70, 0x65, 0x12, 1204 0x0c, 0x0a, 0x08, 0x4f, 0x50, 0x54, 0x49, 0x4f, 0x4e, 0x41, 0x4c, 0x10, 0x00, 0x12, 0x0c, 0x0a, 1205 0x08, 0x52, 0x45, 0x51, 0x55, 0x49, 0x52, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0f, 0x0a, 0x0b, 0x4e, 1206 0x4f, 0x54, 0x5f, 0x41, 0x4c, 0x4c, 0x4f, 0x57, 0x45, 0x44, 0x10, 0x03, 0x32, 0x97, 0x0f, 0x0a, 1207 0x0d, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x6a, 1208 0x0a, 0x09, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x16, 0x2e, 0x67, 0x6f, 1209 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 1210 0x70, 0x74, 0x79, 0x1a, 0x2e, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x2e, 0x65, 1211 0x72, 0x63, 0x32, 0x30, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x73, 0x65, 0x72, 1212 0x76, 0x69, 0x63, 0x65, 0x2e, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x43, 0x6f, 0x6e, 1213 0x66, 0x69, 0x67, 0x22, 0x15, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x0f, 0x12, 0x0d, 0x2f, 0x74, 0x6f, 1214 0x6b, 0x65, 0x6e, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x85, 0x01, 0x0a, 0x09, 0x53, 1215 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x2e, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 1216 0x6c, 0x65, 0x73, 0x2e, 0x65, 0x72, 0x63, 0x32, 0x30, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 1217 0x65, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 1218 0x65, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x1a, 0x2e, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 1219 0x6c, 0x65, 0x73, 0x2e, 0x65, 0x72, 0x63, 0x32, 0x30, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 1220 0x65, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 1221 0x65, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x18, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x12, 1222 0x1a, 0x0d, 0x2f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x3a, 1223 0x01, 0x2a, 0x12, 0x89, 0x01, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 1224 0x2f, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x2e, 0x65, 0x72, 0x63, 0x32, 0x30, 1225 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 1226 0x2e, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x49, 0x64, 1227 0x1a, 0x2d, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x2e, 0x65, 0x72, 0x63, 0x32, 1228 0x30, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 1229 0x65, 0x2e, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 1230 0x1d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x17, 0x12, 0x15, 0x2f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x2f, 1231 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x2f, 0x7b, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x7d, 0x12, 0x70, 1232 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x54, 0x6f, 0x6b, 0x65, 1233 0x6e, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 1234 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x2d, 0x2e, 0x65, 0x78, 0x61, 0x6d, 1235 0x70, 0x6c, 0x65, 0x73, 0x2e, 0x65, 0x72, 0x63, 0x32, 0x30, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 1236 0x63, 0x65, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x62, 0x61, 0x6c, 0x61, 0x6e, 1237 0x63, 0x65, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x16, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x10, 1238 0x12, 0x0e, 0x2f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x2f, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 1239 0x12, 0x9d, 0x01, 0x0a, 0x0f, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 1240 0x54, 0x79, 0x70, 0x65, 0x12, 0x3e, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x2e, 1241 0x65, 0x72, 0x63, 0x32, 0x30, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x73, 0x65, 1242 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x43, 0x72, 1243 0x65, 0x61, 0x74, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x71, 1244 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x2e, 1245 0x65, 0x72, 0x63, 0x32, 0x30, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x73, 0x65, 1246 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x54, 0x6f, 1247 0x6b, 0x65, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x22, 0x17, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x11, 0x22, 1248 0x0c, 0x2f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x3a, 0x01, 0x2a, 1249 0x12, 0x93, 0x01, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x54, 0x79, 0x70, 1250 0x65, 0x12, 0x33, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x2e, 0x65, 0x72, 0x63, 1251 0x32, 0x30, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 1252 0x63, 0x65, 0x2e, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 1253 0x54, 0x79, 0x70, 0x65, 0x49, 0x64, 0x1a, 0x31, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 1254 0x73, 0x2e, 0x65, 0x72, 0x63, 0x32, 0x30, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 1255 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x2e, 1256 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x22, 0x1b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 1257 0x15, 0x12, 0x13, 0x2f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 1258 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x12, 0x72, 0x0a, 0x0e, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x6f, 1259 0x6b, 0x65, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 1260 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 1261 0x1a, 0x32, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x2e, 0x65, 0x72, 0x63, 0x32, 1262 0x30, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 1263 0x65, 0x2e, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x54, 1264 0x79, 0x70, 0x65, 0x73, 0x22, 0x14, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x0e, 0x12, 0x0c, 0x2f, 0x74, 1265 0x6f, 0x6b, 0x65, 0x6e, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x12, 0xa4, 0x01, 0x0a, 0x0f, 0x55, 1266 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x3e, 1267 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x2e, 0x65, 0x72, 0x63, 0x32, 0x30, 0x5f, 1268 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 1269 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x6f, 1270 0x6b, 0x65, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 1271 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x2e, 0x65, 0x72, 0x63, 0x32, 0x30, 0x5f, 1272 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 1273 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x54, 0x79, 0x70, 1274 0x65, 0x22, 0x1e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x18, 0x1a, 0x13, 0x2f, 0x74, 0x6f, 0x6b, 0x65, 1275 0x6e, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x3a, 0x01, 1276 0x2a, 0x12, 0x96, 0x01, 0x0a, 0x0f, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x6f, 0x6b, 0x65, 1277 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x33, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 1278 0x2e, 0x65, 0x72, 0x63, 0x32, 0x30, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x73, 1279 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x54, 1280 0x6f, 0x6b, 0x65, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x49, 0x64, 0x1a, 0x31, 0x2e, 0x65, 0x78, 0x61, 1281 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x2e, 0x65, 0x72, 0x63, 0x32, 0x30, 0x5f, 0x73, 0x65, 0x72, 0x76, 1282 0x69, 0x63, 0x65, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x62, 0x61, 0x6c, 0x61, 1283 0x6e, 0x63, 0x65, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x22, 0x1b, 0x82, 1284 0xd3, 0xe4, 0x93, 0x02, 0x15, 0x2a, 0x13, 0x2f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x2f, 0x74, 0x79, 1285 0x70, 0x65, 0x73, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x12, 0x9e, 0x01, 0x0a, 0x0e, 0x47, 1286 0x65, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12, 0x33, 0x2e, 1287 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x2e, 0x65, 0x72, 0x63, 0x32, 0x30, 0x5f, 0x73, 1288 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x62, 1289 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x54, 0x79, 0x70, 0x65, 1290 0x49, 0x64, 0x1a, 0x33, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x2e, 0x65, 0x72, 1291 0x63, 0x32, 0x30, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x73, 0x65, 0x72, 0x76, 1292 0x69, 0x63, 0x65, 0x2e, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 1293 0x6e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x22, 0x22, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1c, 0x12, 1294 0x1a, 0x2f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x7b, 0x6e, 1295 0x61, 0x6d, 0x65, 0x7d, 0x2f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x12, 0xae, 0x01, 0x0a, 0x10, 1296 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x47, 0x72, 0x6f, 0x75, 0x70, 1297 0x12, 0x3f, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x2e, 0x65, 0x72, 0x63, 0x32, 1298 0x30, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 1299 0x65, 0x2e, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 1300 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 1301 0x74, 0x1a, 0x32, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x2e, 0x65, 0x72, 0x63, 1302 0x32, 0x30, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 1303 0x63, 0x65, 0x2e, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 1304 0x47, 0x72, 0x6f, 0x75, 0x70, 0x22, 0x25, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1f, 0x22, 0x1a, 0x2f, 1305 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 1306 0x65, 0x7d, 0x2f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x3a, 0x01, 0x2a, 0x12, 0xab, 0x01, 0x0a, 1307 0x0d, 0x47, 0x65, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x34, 1308 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x2e, 0x65, 0x72, 0x63, 0x32, 0x30, 0x5f, 1309 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 1310 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x47, 0x72, 0x6f, 1311 0x75, 0x70, 0x49, 0x64, 0x1a, 0x32, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x2e, 1312 0x65, 0x72, 0x63, 0x32, 0x30, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x73, 0x65, 1313 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x54, 0x6f, 1314 0x6b, 0x65, 0x6e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x22, 0x30, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2a, 1315 0x12, 0x28, 0x2f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x2f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x2f, 1316 0x7b, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x2f, 0x67, 0x72, 0x6f, 1317 0x75, 0x70, 0x73, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x12, 0xa9, 0x01, 0x0a, 0x10, 0x44, 1318 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 1319 0x34, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x2e, 0x65, 0x72, 0x63, 0x32, 0x30, 1320 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 1321 0x2e, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x47, 0x72, 1322 0x6f, 0x75, 0x70, 0x49, 0x64, 0x1a, 0x2d, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 1323 0x2e, 0x65, 0x72, 0x63, 0x32, 0x30, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x73, 1324 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x54, 1325 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x30, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2a, 0x2a, 0x28, 0x2f, 0x74, 1326 0x6f, 0x6b, 0x65, 0x6e, 0x2f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x2f, 0x7b, 0x74, 0x6f, 0x6b, 1327 0x65, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x2f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x2f, 1328 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x7d, 0x42, 0x3a, 0x5a, 0x38, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 1329 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x37, 0x74, 0x65, 0x63, 0x68, 0x6c, 0x61, 0x62, 0x2f, 0x63, 1330 0x63, 0x6b, 0x69, 0x74, 0x2f, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x2f, 0x74, 0x6f, 1331 0x6b, 0x65, 0x6e, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 1332 0x69, 0x67, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 1333 } 1334 1335 var ( 1336 file_token_service_config_config_proto_rawDescOnce sync.Once 1337 file_token_service_config_config_proto_rawDescData = file_token_service_config_config_proto_rawDesc 1338 ) 1339 1340 func file_token_service_config_config_proto_rawDescGZIP() []byte { 1341 file_token_service_config_config_proto_rawDescOnce.Do(func() { 1342 file_token_service_config_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_token_service_config_config_proto_rawDescData) 1343 }) 1344 return file_token_service_config_config_proto_rawDescData 1345 } 1346 1347 var file_token_service_config_config_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 1348 var file_token_service_config_config_proto_msgTypes = make([]protoimpl.MessageInfo, 16) 1349 var file_token_service_config_config_proto_goTypes = []interface{}{ 1350 (TokenGroupType)(0), // 0: examples.erc20_service.service.balance.TokenGroupType 1351 (*CreateTokenTypeRequest)(nil), // 1: examples.erc20_service.service.balance.CreateTokenTypeRequest 1352 (*UpdateTokenTypeRequest)(nil), // 2: examples.erc20_service.service.balance.UpdateTokenTypeRequest 1353 (*CreateTokenGroupRequest)(nil), // 3: examples.erc20_service.service.balance.CreateTokenGroupRequest 1354 (*Config)(nil), // 4: examples.erc20_service.service.balance.Config 1355 (*TokenId)(nil), // 5: examples.erc20_service.service.balance.TokenId 1356 (*TokenTypeId)(nil), // 6: examples.erc20_service.service.balance.TokenTypeId 1357 (*TokenType)(nil), // 7: examples.erc20_service.service.balance.TokenType 1358 (*TokenTypes)(nil), // 8: examples.erc20_service.service.balance.TokenTypes 1359 (*TokenGroupId)(nil), // 9: examples.erc20_service.service.balance.TokenGroupId 1360 (*TokenGroup)(nil), // 10: examples.erc20_service.service.balance.TokenGroup 1361 (*TokenGroups)(nil), // 11: examples.erc20_service.service.balance.TokenGroups 1362 (*TokenMetaRequest)(nil), // 12: examples.erc20_service.service.balance.TokenMetaRequest 1363 (*TokenMeta)(nil), // 13: examples.erc20_service.service.balance.TokenMeta 1364 (*Token)(nil), // 14: examples.erc20_service.service.balance.Token 1365 (*TokenTypeCreated)(nil), // 15: examples.erc20_service.service.balance.TokenTypeCreated 1366 (*TokenGroupCreated)(nil), // 16: examples.erc20_service.service.balance.TokenGroupCreated 1367 (*emptypb.Empty)(nil), // 17: google.protobuf.Empty 1368 } 1369 var file_token_service_config_config_proto_depIdxs = []int32{ 1370 0, // 0: examples.erc20_service.service.balance.CreateTokenTypeRequest.group_type:type_name -> examples.erc20_service.service.balance.TokenGroupType 1371 12, // 1: examples.erc20_service.service.balance.CreateTokenTypeRequest.meta:type_name -> examples.erc20_service.service.balance.TokenMetaRequest 1372 12, // 2: examples.erc20_service.service.balance.UpdateTokenTypeRequest.meta:type_name -> examples.erc20_service.service.balance.TokenMetaRequest 1373 12, // 3: examples.erc20_service.service.balance.CreateTokenGroupRequest.meta:type_name -> examples.erc20_service.service.balance.TokenMetaRequest 1374 0, // 4: examples.erc20_service.service.balance.TokenType.group_type:type_name -> examples.erc20_service.service.balance.TokenGroupType 1375 13, // 5: examples.erc20_service.service.balance.TokenType.meta:type_name -> examples.erc20_service.service.balance.TokenMeta 1376 7, // 6: examples.erc20_service.service.balance.TokenTypes.types:type_name -> examples.erc20_service.service.balance.TokenType 1377 13, // 7: examples.erc20_service.service.balance.TokenGroup.meta:type_name -> examples.erc20_service.service.balance.TokenMeta 1378 10, // 8: examples.erc20_service.service.balance.TokenGroups.groups:type_name -> examples.erc20_service.service.balance.TokenGroup 1379 7, // 9: examples.erc20_service.service.balance.Token.type:type_name -> examples.erc20_service.service.balance.TokenType 1380 10, // 10: examples.erc20_service.service.balance.Token.group:type_name -> examples.erc20_service.service.balance.TokenGroup 1381 17, // 11: examples.erc20_service.service.balance.ConfigService.GetConfig:input_type -> google.protobuf.Empty 1382 4, // 12: examples.erc20_service.service.balance.ConfigService.SetConfig:input_type -> examples.erc20_service.service.balance.Config 1383 5, // 13: examples.erc20_service.service.balance.ConfigService.GetToken:input_type -> examples.erc20_service.service.balance.TokenId 1384 17, // 14: examples.erc20_service.service.balance.ConfigService.GetDefaultToken:input_type -> google.protobuf.Empty 1385 1, // 15: examples.erc20_service.service.balance.ConfigService.CreateTokenType:input_type -> examples.erc20_service.service.balance.CreateTokenTypeRequest 1386 6, // 16: examples.erc20_service.service.balance.ConfigService.GetTokenType:input_type -> examples.erc20_service.service.balance.TokenTypeId 1387 17, // 17: examples.erc20_service.service.balance.ConfigService.ListTokenTypes:input_type -> google.protobuf.Empty 1388 2, // 18: examples.erc20_service.service.balance.ConfigService.UpdateTokenType:input_type -> examples.erc20_service.service.balance.UpdateTokenTypeRequest 1389 6, // 19: examples.erc20_service.service.balance.ConfigService.DeleteTokenType:input_type -> examples.erc20_service.service.balance.TokenTypeId 1390 6, // 20: examples.erc20_service.service.balance.ConfigService.GetTokenGroups:input_type -> examples.erc20_service.service.balance.TokenTypeId 1391 3, // 21: examples.erc20_service.service.balance.ConfigService.CreateTokenGroup:input_type -> examples.erc20_service.service.balance.CreateTokenGroupRequest 1392 9, // 22: examples.erc20_service.service.balance.ConfigService.GetTokenGroup:input_type -> examples.erc20_service.service.balance.TokenGroupId 1393 9, // 23: examples.erc20_service.service.balance.ConfigService.DeleteTokenGroup:input_type -> examples.erc20_service.service.balance.TokenGroupId 1394 4, // 24: examples.erc20_service.service.balance.ConfigService.GetConfig:output_type -> examples.erc20_service.service.balance.Config 1395 4, // 25: examples.erc20_service.service.balance.ConfigService.SetConfig:output_type -> examples.erc20_service.service.balance.Config 1396 14, // 26: examples.erc20_service.service.balance.ConfigService.GetToken:output_type -> examples.erc20_service.service.balance.Token 1397 14, // 27: examples.erc20_service.service.balance.ConfigService.GetDefaultToken:output_type -> examples.erc20_service.service.balance.Token 1398 7, // 28: examples.erc20_service.service.balance.ConfigService.CreateTokenType:output_type -> examples.erc20_service.service.balance.TokenType 1399 7, // 29: examples.erc20_service.service.balance.ConfigService.GetTokenType:output_type -> examples.erc20_service.service.balance.TokenType 1400 8, // 30: examples.erc20_service.service.balance.ConfigService.ListTokenTypes:output_type -> examples.erc20_service.service.balance.TokenTypes 1401 7, // 31: examples.erc20_service.service.balance.ConfigService.UpdateTokenType:output_type -> examples.erc20_service.service.balance.TokenType 1402 7, // 32: examples.erc20_service.service.balance.ConfigService.DeleteTokenType:output_type -> examples.erc20_service.service.balance.TokenType 1403 11, // 33: examples.erc20_service.service.balance.ConfigService.GetTokenGroups:output_type -> examples.erc20_service.service.balance.TokenGroups 1404 10, // 34: examples.erc20_service.service.balance.ConfigService.CreateTokenGroup:output_type -> examples.erc20_service.service.balance.TokenGroup 1405 10, // 35: examples.erc20_service.service.balance.ConfigService.GetTokenGroup:output_type -> examples.erc20_service.service.balance.TokenGroup 1406 14, // 36: examples.erc20_service.service.balance.ConfigService.DeleteTokenGroup:output_type -> examples.erc20_service.service.balance.Token 1407 24, // [24:37] is the sub-list for method output_type 1408 11, // [11:24] is the sub-list for method input_type 1409 11, // [11:11] is the sub-list for extension type_name 1410 11, // [11:11] is the sub-list for extension extendee 1411 0, // [0:11] is the sub-list for field type_name 1412 } 1413 1414 func init() { file_token_service_config_config_proto_init() } 1415 func file_token_service_config_config_proto_init() { 1416 if File_token_service_config_config_proto != nil { 1417 return 1418 } 1419 if !protoimpl.UnsafeEnabled { 1420 file_token_service_config_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 1421 switch v := v.(*CreateTokenTypeRequest); i { 1422 case 0: 1423 return &v.state 1424 case 1: 1425 return &v.sizeCache 1426 case 2: 1427 return &v.unknownFields 1428 default: 1429 return nil 1430 } 1431 } 1432 file_token_service_config_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 1433 switch v := v.(*UpdateTokenTypeRequest); i { 1434 case 0: 1435 return &v.state 1436 case 1: 1437 return &v.sizeCache 1438 case 2: 1439 return &v.unknownFields 1440 default: 1441 return nil 1442 } 1443 } 1444 file_token_service_config_config_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 1445 switch v := v.(*CreateTokenGroupRequest); i { 1446 case 0: 1447 return &v.state 1448 case 1: 1449 return &v.sizeCache 1450 case 2: 1451 return &v.unknownFields 1452 default: 1453 return nil 1454 } 1455 } 1456 file_token_service_config_config_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 1457 switch v := v.(*Config); i { 1458 case 0: 1459 return &v.state 1460 case 1: 1461 return &v.sizeCache 1462 case 2: 1463 return &v.unknownFields 1464 default: 1465 return nil 1466 } 1467 } 1468 file_token_service_config_config_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 1469 switch v := v.(*TokenId); i { 1470 case 0: 1471 return &v.state 1472 case 1: 1473 return &v.sizeCache 1474 case 2: 1475 return &v.unknownFields 1476 default: 1477 return nil 1478 } 1479 } 1480 file_token_service_config_config_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 1481 switch v := v.(*TokenTypeId); i { 1482 case 0: 1483 return &v.state 1484 case 1: 1485 return &v.sizeCache 1486 case 2: 1487 return &v.unknownFields 1488 default: 1489 return nil 1490 } 1491 } 1492 file_token_service_config_config_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 1493 switch v := v.(*TokenType); i { 1494 case 0: 1495 return &v.state 1496 case 1: 1497 return &v.sizeCache 1498 case 2: 1499 return &v.unknownFields 1500 default: 1501 return nil 1502 } 1503 } 1504 file_token_service_config_config_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 1505 switch v := v.(*TokenTypes); i { 1506 case 0: 1507 return &v.state 1508 case 1: 1509 return &v.sizeCache 1510 case 2: 1511 return &v.unknownFields 1512 default: 1513 return nil 1514 } 1515 } 1516 file_token_service_config_config_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 1517 switch v := v.(*TokenGroupId); i { 1518 case 0: 1519 return &v.state 1520 case 1: 1521 return &v.sizeCache 1522 case 2: 1523 return &v.unknownFields 1524 default: 1525 return nil 1526 } 1527 } 1528 file_token_service_config_config_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { 1529 switch v := v.(*TokenGroup); i { 1530 case 0: 1531 return &v.state 1532 case 1: 1533 return &v.sizeCache 1534 case 2: 1535 return &v.unknownFields 1536 default: 1537 return nil 1538 } 1539 } 1540 file_token_service_config_config_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { 1541 switch v := v.(*TokenGroups); i { 1542 case 0: 1543 return &v.state 1544 case 1: 1545 return &v.sizeCache 1546 case 2: 1547 return &v.unknownFields 1548 default: 1549 return nil 1550 } 1551 } 1552 file_token_service_config_config_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { 1553 switch v := v.(*TokenMetaRequest); i { 1554 case 0: 1555 return &v.state 1556 case 1: 1557 return &v.sizeCache 1558 case 2: 1559 return &v.unknownFields 1560 default: 1561 return nil 1562 } 1563 } 1564 file_token_service_config_config_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { 1565 switch v := v.(*TokenMeta); i { 1566 case 0: 1567 return &v.state 1568 case 1: 1569 return &v.sizeCache 1570 case 2: 1571 return &v.unknownFields 1572 default: 1573 return nil 1574 } 1575 } 1576 file_token_service_config_config_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { 1577 switch v := v.(*Token); i { 1578 case 0: 1579 return &v.state 1580 case 1: 1581 return &v.sizeCache 1582 case 2: 1583 return &v.unknownFields 1584 default: 1585 return nil 1586 } 1587 } 1588 file_token_service_config_config_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { 1589 switch v := v.(*TokenTypeCreated); i { 1590 case 0: 1591 return &v.state 1592 case 1: 1593 return &v.sizeCache 1594 case 2: 1595 return &v.unknownFields 1596 default: 1597 return nil 1598 } 1599 } 1600 file_token_service_config_config_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { 1601 switch v := v.(*TokenGroupCreated); i { 1602 case 0: 1603 return &v.state 1604 case 1: 1605 return &v.sizeCache 1606 case 2: 1607 return &v.unknownFields 1608 default: 1609 return nil 1610 } 1611 } 1612 } 1613 type x struct{} 1614 out := protoimpl.TypeBuilder{ 1615 File: protoimpl.DescBuilder{ 1616 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 1617 RawDescriptor: file_token_service_config_config_proto_rawDesc, 1618 NumEnums: 1, 1619 NumMessages: 16, 1620 NumExtensions: 0, 1621 NumServices: 1, 1622 }, 1623 GoTypes: file_token_service_config_config_proto_goTypes, 1624 DependencyIndexes: file_token_service_config_config_proto_depIdxs, 1625 EnumInfos: file_token_service_config_config_proto_enumTypes, 1626 MessageInfos: file_token_service_config_config_proto_msgTypes, 1627 }.Build() 1628 File_token_service_config_config_proto = out.File 1629 file_token_service_config_config_proto_rawDesc = nil 1630 file_token_service_config_config_proto_goTypes = nil 1631 file_token_service_config_config_proto_depIdxs = nil 1632 } 1633 1634 // Reference imports to suppress errors if they are not otherwise used. 1635 var _ context.Context 1636 var _ grpc.ClientConnInterface 1637 1638 // This is a compile-time assertion to ensure that this generated file 1639 // is compatible with the grpc package it is being compiled against. 1640 const _ = grpc.SupportPackageIsVersion6 1641 1642 // ConfigServiceClient is the client API for ConfigService service. 1643 // 1644 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 1645 type ConfigServiceClient interface { 1646 GetConfig(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Config, error) 1647 SetConfig(ctx context.Context, in *Config, opts ...grpc.CallOption) (*Config, error) 1648 GetToken(ctx context.Context, in *TokenId, opts ...grpc.CallOption) (*Token, error) 1649 GetDefaultToken(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Token, error) 1650 CreateTokenType(ctx context.Context, in *CreateTokenTypeRequest, opts ...grpc.CallOption) (*TokenType, error) 1651 GetTokenType(ctx context.Context, in *TokenTypeId, opts ...grpc.CallOption) (*TokenType, error) 1652 ListTokenTypes(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*TokenTypes, error) 1653 UpdateTokenType(ctx context.Context, in *UpdateTokenTypeRequest, opts ...grpc.CallOption) (*TokenType, error) 1654 DeleteTokenType(ctx context.Context, in *TokenTypeId, opts ...grpc.CallOption) (*TokenType, error) 1655 GetTokenGroups(ctx context.Context, in *TokenTypeId, opts ...grpc.CallOption) (*TokenGroups, error) 1656 CreateTokenGroup(ctx context.Context, in *CreateTokenGroupRequest, opts ...grpc.CallOption) (*TokenGroup, error) 1657 GetTokenGroup(ctx context.Context, in *TokenGroupId, opts ...grpc.CallOption) (*TokenGroup, error) 1658 DeleteTokenGroup(ctx context.Context, in *TokenGroupId, opts ...grpc.CallOption) (*Token, error) 1659 } 1660 1661 type configServiceClient struct { 1662 cc grpc.ClientConnInterface 1663 } 1664 1665 func NewConfigServiceClient(cc grpc.ClientConnInterface) ConfigServiceClient { 1666 return &configServiceClient{cc} 1667 } 1668 1669 func (c *configServiceClient) GetConfig(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Config, error) { 1670 out := new(Config) 1671 err := c.cc.Invoke(ctx, "/examples.erc20_service.service.balance.ConfigService/GetConfig", in, out, opts...) 1672 if err != nil { 1673 return nil, err 1674 } 1675 return out, nil 1676 } 1677 1678 func (c *configServiceClient) SetConfig(ctx context.Context, in *Config, opts ...grpc.CallOption) (*Config, error) { 1679 out := new(Config) 1680 err := c.cc.Invoke(ctx, "/examples.erc20_service.service.balance.ConfigService/SetConfig", in, out, opts...) 1681 if err != nil { 1682 return nil, err 1683 } 1684 return out, nil 1685 } 1686 1687 func (c *configServiceClient) GetToken(ctx context.Context, in *TokenId, opts ...grpc.CallOption) (*Token, error) { 1688 out := new(Token) 1689 err := c.cc.Invoke(ctx, "/examples.erc20_service.service.balance.ConfigService/GetToken", in, out, opts...) 1690 if err != nil { 1691 return nil, err 1692 } 1693 return out, nil 1694 } 1695 1696 func (c *configServiceClient) GetDefaultToken(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Token, error) { 1697 out := new(Token) 1698 err := c.cc.Invoke(ctx, "/examples.erc20_service.service.balance.ConfigService/GetDefaultToken", in, out, opts...) 1699 if err != nil { 1700 return nil, err 1701 } 1702 return out, nil 1703 } 1704 1705 func (c *configServiceClient) CreateTokenType(ctx context.Context, in *CreateTokenTypeRequest, opts ...grpc.CallOption) (*TokenType, error) { 1706 out := new(TokenType) 1707 err := c.cc.Invoke(ctx, "/examples.erc20_service.service.balance.ConfigService/CreateTokenType", in, out, opts...) 1708 if err != nil { 1709 return nil, err 1710 } 1711 return out, nil 1712 } 1713 1714 func (c *configServiceClient) GetTokenType(ctx context.Context, in *TokenTypeId, opts ...grpc.CallOption) (*TokenType, error) { 1715 out := new(TokenType) 1716 err := c.cc.Invoke(ctx, "/examples.erc20_service.service.balance.ConfigService/GetTokenType", in, out, opts...) 1717 if err != nil { 1718 return nil, err 1719 } 1720 return out, nil 1721 } 1722 1723 func (c *configServiceClient) ListTokenTypes(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*TokenTypes, error) { 1724 out := new(TokenTypes) 1725 err := c.cc.Invoke(ctx, "/examples.erc20_service.service.balance.ConfigService/ListTokenTypes", in, out, opts...) 1726 if err != nil { 1727 return nil, err 1728 } 1729 return out, nil 1730 } 1731 1732 func (c *configServiceClient) UpdateTokenType(ctx context.Context, in *UpdateTokenTypeRequest, opts ...grpc.CallOption) (*TokenType, error) { 1733 out := new(TokenType) 1734 err := c.cc.Invoke(ctx, "/examples.erc20_service.service.balance.ConfigService/UpdateTokenType", in, out, opts...) 1735 if err != nil { 1736 return nil, err 1737 } 1738 return out, nil 1739 } 1740 1741 func (c *configServiceClient) DeleteTokenType(ctx context.Context, in *TokenTypeId, opts ...grpc.CallOption) (*TokenType, error) { 1742 out := new(TokenType) 1743 err := c.cc.Invoke(ctx, "/examples.erc20_service.service.balance.ConfigService/DeleteTokenType", in, out, opts...) 1744 if err != nil { 1745 return nil, err 1746 } 1747 return out, nil 1748 } 1749 1750 func (c *configServiceClient) GetTokenGroups(ctx context.Context, in *TokenTypeId, opts ...grpc.CallOption) (*TokenGroups, error) { 1751 out := new(TokenGroups) 1752 err := c.cc.Invoke(ctx, "/examples.erc20_service.service.balance.ConfigService/GetTokenGroups", in, out, opts...) 1753 if err != nil { 1754 return nil, err 1755 } 1756 return out, nil 1757 } 1758 1759 func (c *configServiceClient) CreateTokenGroup(ctx context.Context, in *CreateTokenGroupRequest, opts ...grpc.CallOption) (*TokenGroup, error) { 1760 out := new(TokenGroup) 1761 err := c.cc.Invoke(ctx, "/examples.erc20_service.service.balance.ConfigService/CreateTokenGroup", in, out, opts...) 1762 if err != nil { 1763 return nil, err 1764 } 1765 return out, nil 1766 } 1767 1768 func (c *configServiceClient) GetTokenGroup(ctx context.Context, in *TokenGroupId, opts ...grpc.CallOption) (*TokenGroup, error) { 1769 out := new(TokenGroup) 1770 err := c.cc.Invoke(ctx, "/examples.erc20_service.service.balance.ConfigService/GetTokenGroup", in, out, opts...) 1771 if err != nil { 1772 return nil, err 1773 } 1774 return out, nil 1775 } 1776 1777 func (c *configServiceClient) DeleteTokenGroup(ctx context.Context, in *TokenGroupId, opts ...grpc.CallOption) (*Token, error) { 1778 out := new(Token) 1779 err := c.cc.Invoke(ctx, "/examples.erc20_service.service.balance.ConfigService/DeleteTokenGroup", in, out, opts...) 1780 if err != nil { 1781 return nil, err 1782 } 1783 return out, nil 1784 } 1785 1786 // ConfigServiceServer is the server API for ConfigService service. 1787 type ConfigServiceServer interface { 1788 GetConfig(context.Context, *emptypb.Empty) (*Config, error) 1789 SetConfig(context.Context, *Config) (*Config, error) 1790 GetToken(context.Context, *TokenId) (*Token, error) 1791 GetDefaultToken(context.Context, *emptypb.Empty) (*Token, error) 1792 CreateTokenType(context.Context, *CreateTokenTypeRequest) (*TokenType, error) 1793 GetTokenType(context.Context, *TokenTypeId) (*TokenType, error) 1794 ListTokenTypes(context.Context, *emptypb.Empty) (*TokenTypes, error) 1795 UpdateTokenType(context.Context, *UpdateTokenTypeRequest) (*TokenType, error) 1796 DeleteTokenType(context.Context, *TokenTypeId) (*TokenType, error) 1797 GetTokenGroups(context.Context, *TokenTypeId) (*TokenGroups, error) 1798 CreateTokenGroup(context.Context, *CreateTokenGroupRequest) (*TokenGroup, error) 1799 GetTokenGroup(context.Context, *TokenGroupId) (*TokenGroup, error) 1800 DeleteTokenGroup(context.Context, *TokenGroupId) (*Token, error) 1801 } 1802 1803 // UnimplementedConfigServiceServer can be embedded to have forward compatible implementations. 1804 type UnimplementedConfigServiceServer struct { 1805 } 1806 1807 func (*UnimplementedConfigServiceServer) GetConfig(context.Context, *emptypb.Empty) (*Config, error) { 1808 return nil, status.Errorf(codes.Unimplemented, "method GetConfig not implemented") 1809 } 1810 func (*UnimplementedConfigServiceServer) SetConfig(context.Context, *Config) (*Config, error) { 1811 return nil, status.Errorf(codes.Unimplemented, "method SetConfig not implemented") 1812 } 1813 func (*UnimplementedConfigServiceServer) GetToken(context.Context, *TokenId) (*Token, error) { 1814 return nil, status.Errorf(codes.Unimplemented, "method GetToken not implemented") 1815 } 1816 func (*UnimplementedConfigServiceServer) GetDefaultToken(context.Context, *emptypb.Empty) (*Token, error) { 1817 return nil, status.Errorf(codes.Unimplemented, "method GetDefaultToken not implemented") 1818 } 1819 func (*UnimplementedConfigServiceServer) CreateTokenType(context.Context, *CreateTokenTypeRequest) (*TokenType, error) { 1820 return nil, status.Errorf(codes.Unimplemented, "method CreateTokenType not implemented") 1821 } 1822 func (*UnimplementedConfigServiceServer) GetTokenType(context.Context, *TokenTypeId) (*TokenType, error) { 1823 return nil, status.Errorf(codes.Unimplemented, "method GetTokenType not implemented") 1824 } 1825 func (*UnimplementedConfigServiceServer) ListTokenTypes(context.Context, *emptypb.Empty) (*TokenTypes, error) { 1826 return nil, status.Errorf(codes.Unimplemented, "method ListTokenTypes not implemented") 1827 } 1828 func (*UnimplementedConfigServiceServer) UpdateTokenType(context.Context, *UpdateTokenTypeRequest) (*TokenType, error) { 1829 return nil, status.Errorf(codes.Unimplemented, "method UpdateTokenType not implemented") 1830 } 1831 func (*UnimplementedConfigServiceServer) DeleteTokenType(context.Context, *TokenTypeId) (*TokenType, error) { 1832 return nil, status.Errorf(codes.Unimplemented, "method DeleteTokenType not implemented") 1833 } 1834 func (*UnimplementedConfigServiceServer) GetTokenGroups(context.Context, *TokenTypeId) (*TokenGroups, error) { 1835 return nil, status.Errorf(codes.Unimplemented, "method GetTokenGroups not implemented") 1836 } 1837 func (*UnimplementedConfigServiceServer) CreateTokenGroup(context.Context, *CreateTokenGroupRequest) (*TokenGroup, error) { 1838 return nil, status.Errorf(codes.Unimplemented, "method CreateTokenGroup not implemented") 1839 } 1840 func (*UnimplementedConfigServiceServer) GetTokenGroup(context.Context, *TokenGroupId) (*TokenGroup, error) { 1841 return nil, status.Errorf(codes.Unimplemented, "method GetTokenGroup not implemented") 1842 } 1843 func (*UnimplementedConfigServiceServer) DeleteTokenGroup(context.Context, *TokenGroupId) (*Token, error) { 1844 return nil, status.Errorf(codes.Unimplemented, "method DeleteTokenGroup not implemented") 1845 } 1846 1847 func RegisterConfigServiceServer(s *grpc.Server, srv ConfigServiceServer) { 1848 s.RegisterService(&_ConfigService_serviceDesc, srv) 1849 } 1850 1851 func _ConfigService_GetConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1852 in := new(emptypb.Empty) 1853 if err := dec(in); err != nil { 1854 return nil, err 1855 } 1856 if interceptor == nil { 1857 return srv.(ConfigServiceServer).GetConfig(ctx, in) 1858 } 1859 info := &grpc.UnaryServerInfo{ 1860 Server: srv, 1861 FullMethod: "/examples.erc20_service.service.balance.ConfigService/GetConfig", 1862 } 1863 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1864 return srv.(ConfigServiceServer).GetConfig(ctx, req.(*emptypb.Empty)) 1865 } 1866 return interceptor(ctx, in, info, handler) 1867 } 1868 1869 func _ConfigService_SetConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1870 in := new(Config) 1871 if err := dec(in); err != nil { 1872 return nil, err 1873 } 1874 if interceptor == nil { 1875 return srv.(ConfigServiceServer).SetConfig(ctx, in) 1876 } 1877 info := &grpc.UnaryServerInfo{ 1878 Server: srv, 1879 FullMethod: "/examples.erc20_service.service.balance.ConfigService/SetConfig", 1880 } 1881 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1882 return srv.(ConfigServiceServer).SetConfig(ctx, req.(*Config)) 1883 } 1884 return interceptor(ctx, in, info, handler) 1885 } 1886 1887 func _ConfigService_GetToken_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1888 in := new(TokenId) 1889 if err := dec(in); err != nil { 1890 return nil, err 1891 } 1892 if interceptor == nil { 1893 return srv.(ConfigServiceServer).GetToken(ctx, in) 1894 } 1895 info := &grpc.UnaryServerInfo{ 1896 Server: srv, 1897 FullMethod: "/examples.erc20_service.service.balance.ConfigService/GetToken", 1898 } 1899 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1900 return srv.(ConfigServiceServer).GetToken(ctx, req.(*TokenId)) 1901 } 1902 return interceptor(ctx, in, info, handler) 1903 } 1904 1905 func _ConfigService_GetDefaultToken_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1906 in := new(emptypb.Empty) 1907 if err := dec(in); err != nil { 1908 return nil, err 1909 } 1910 if interceptor == nil { 1911 return srv.(ConfigServiceServer).GetDefaultToken(ctx, in) 1912 } 1913 info := &grpc.UnaryServerInfo{ 1914 Server: srv, 1915 FullMethod: "/examples.erc20_service.service.balance.ConfigService/GetDefaultToken", 1916 } 1917 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1918 return srv.(ConfigServiceServer).GetDefaultToken(ctx, req.(*emptypb.Empty)) 1919 } 1920 return interceptor(ctx, in, info, handler) 1921 } 1922 1923 func _ConfigService_CreateTokenType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1924 in := new(CreateTokenTypeRequest) 1925 if err := dec(in); err != nil { 1926 return nil, err 1927 } 1928 if interceptor == nil { 1929 return srv.(ConfigServiceServer).CreateTokenType(ctx, in) 1930 } 1931 info := &grpc.UnaryServerInfo{ 1932 Server: srv, 1933 FullMethod: "/examples.erc20_service.service.balance.ConfigService/CreateTokenType", 1934 } 1935 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1936 return srv.(ConfigServiceServer).CreateTokenType(ctx, req.(*CreateTokenTypeRequest)) 1937 } 1938 return interceptor(ctx, in, info, handler) 1939 } 1940 1941 func _ConfigService_GetTokenType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1942 in := new(TokenTypeId) 1943 if err := dec(in); err != nil { 1944 return nil, err 1945 } 1946 if interceptor == nil { 1947 return srv.(ConfigServiceServer).GetTokenType(ctx, in) 1948 } 1949 info := &grpc.UnaryServerInfo{ 1950 Server: srv, 1951 FullMethod: "/examples.erc20_service.service.balance.ConfigService/GetTokenType", 1952 } 1953 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1954 return srv.(ConfigServiceServer).GetTokenType(ctx, req.(*TokenTypeId)) 1955 } 1956 return interceptor(ctx, in, info, handler) 1957 } 1958 1959 func _ConfigService_ListTokenTypes_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1960 in := new(emptypb.Empty) 1961 if err := dec(in); err != nil { 1962 return nil, err 1963 } 1964 if interceptor == nil { 1965 return srv.(ConfigServiceServer).ListTokenTypes(ctx, in) 1966 } 1967 info := &grpc.UnaryServerInfo{ 1968 Server: srv, 1969 FullMethod: "/examples.erc20_service.service.balance.ConfigService/ListTokenTypes", 1970 } 1971 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1972 return srv.(ConfigServiceServer).ListTokenTypes(ctx, req.(*emptypb.Empty)) 1973 } 1974 return interceptor(ctx, in, info, handler) 1975 } 1976 1977 func _ConfigService_UpdateTokenType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1978 in := new(UpdateTokenTypeRequest) 1979 if err := dec(in); err != nil { 1980 return nil, err 1981 } 1982 if interceptor == nil { 1983 return srv.(ConfigServiceServer).UpdateTokenType(ctx, in) 1984 } 1985 info := &grpc.UnaryServerInfo{ 1986 Server: srv, 1987 FullMethod: "/examples.erc20_service.service.balance.ConfigService/UpdateTokenType", 1988 } 1989 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1990 return srv.(ConfigServiceServer).UpdateTokenType(ctx, req.(*UpdateTokenTypeRequest)) 1991 } 1992 return interceptor(ctx, in, info, handler) 1993 } 1994 1995 func _ConfigService_DeleteTokenType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1996 in := new(TokenTypeId) 1997 if err := dec(in); err != nil { 1998 return nil, err 1999 } 2000 if interceptor == nil { 2001 return srv.(ConfigServiceServer).DeleteTokenType(ctx, in) 2002 } 2003 info := &grpc.UnaryServerInfo{ 2004 Server: srv, 2005 FullMethod: "/examples.erc20_service.service.balance.ConfigService/DeleteTokenType", 2006 } 2007 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2008 return srv.(ConfigServiceServer).DeleteTokenType(ctx, req.(*TokenTypeId)) 2009 } 2010 return interceptor(ctx, in, info, handler) 2011 } 2012 2013 func _ConfigService_GetTokenGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2014 in := new(TokenTypeId) 2015 if err := dec(in); err != nil { 2016 return nil, err 2017 } 2018 if interceptor == nil { 2019 return srv.(ConfigServiceServer).GetTokenGroups(ctx, in) 2020 } 2021 info := &grpc.UnaryServerInfo{ 2022 Server: srv, 2023 FullMethod: "/examples.erc20_service.service.balance.ConfigService/GetTokenGroups", 2024 } 2025 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2026 return srv.(ConfigServiceServer).GetTokenGroups(ctx, req.(*TokenTypeId)) 2027 } 2028 return interceptor(ctx, in, info, handler) 2029 } 2030 2031 func _ConfigService_CreateTokenGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2032 in := new(CreateTokenGroupRequest) 2033 if err := dec(in); err != nil { 2034 return nil, err 2035 } 2036 if interceptor == nil { 2037 return srv.(ConfigServiceServer).CreateTokenGroup(ctx, in) 2038 } 2039 info := &grpc.UnaryServerInfo{ 2040 Server: srv, 2041 FullMethod: "/examples.erc20_service.service.balance.ConfigService/CreateTokenGroup", 2042 } 2043 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2044 return srv.(ConfigServiceServer).CreateTokenGroup(ctx, req.(*CreateTokenGroupRequest)) 2045 } 2046 return interceptor(ctx, in, info, handler) 2047 } 2048 2049 func _ConfigService_GetTokenGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2050 in := new(TokenGroupId) 2051 if err := dec(in); err != nil { 2052 return nil, err 2053 } 2054 if interceptor == nil { 2055 return srv.(ConfigServiceServer).GetTokenGroup(ctx, in) 2056 } 2057 info := &grpc.UnaryServerInfo{ 2058 Server: srv, 2059 FullMethod: "/examples.erc20_service.service.balance.ConfigService/GetTokenGroup", 2060 } 2061 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2062 return srv.(ConfigServiceServer).GetTokenGroup(ctx, req.(*TokenGroupId)) 2063 } 2064 return interceptor(ctx, in, info, handler) 2065 } 2066 2067 func _ConfigService_DeleteTokenGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 2068 in := new(TokenGroupId) 2069 if err := dec(in); err != nil { 2070 return nil, err 2071 } 2072 if interceptor == nil { 2073 return srv.(ConfigServiceServer).DeleteTokenGroup(ctx, in) 2074 } 2075 info := &grpc.UnaryServerInfo{ 2076 Server: srv, 2077 FullMethod: "/examples.erc20_service.service.balance.ConfigService/DeleteTokenGroup", 2078 } 2079 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 2080 return srv.(ConfigServiceServer).DeleteTokenGroup(ctx, req.(*TokenGroupId)) 2081 } 2082 return interceptor(ctx, in, info, handler) 2083 } 2084 2085 var _ConfigService_serviceDesc = grpc.ServiceDesc{ 2086 ServiceName: "examples.erc20_service.service.balance.ConfigService", 2087 HandlerType: (*ConfigServiceServer)(nil), 2088 Methods: []grpc.MethodDesc{ 2089 { 2090 MethodName: "GetConfig", 2091 Handler: _ConfigService_GetConfig_Handler, 2092 }, 2093 { 2094 MethodName: "SetConfig", 2095 Handler: _ConfigService_SetConfig_Handler, 2096 }, 2097 { 2098 MethodName: "GetToken", 2099 Handler: _ConfigService_GetToken_Handler, 2100 }, 2101 { 2102 MethodName: "GetDefaultToken", 2103 Handler: _ConfigService_GetDefaultToken_Handler, 2104 }, 2105 { 2106 MethodName: "CreateTokenType", 2107 Handler: _ConfigService_CreateTokenType_Handler, 2108 }, 2109 { 2110 MethodName: "GetTokenType", 2111 Handler: _ConfigService_GetTokenType_Handler, 2112 }, 2113 { 2114 MethodName: "ListTokenTypes", 2115 Handler: _ConfigService_ListTokenTypes_Handler, 2116 }, 2117 { 2118 MethodName: "UpdateTokenType", 2119 Handler: _ConfigService_UpdateTokenType_Handler, 2120 }, 2121 { 2122 MethodName: "DeleteTokenType", 2123 Handler: _ConfigService_DeleteTokenType_Handler, 2124 }, 2125 { 2126 MethodName: "GetTokenGroups", 2127 Handler: _ConfigService_GetTokenGroups_Handler, 2128 }, 2129 { 2130 MethodName: "CreateTokenGroup", 2131 Handler: _ConfigService_CreateTokenGroup_Handler, 2132 }, 2133 { 2134 MethodName: "GetTokenGroup", 2135 Handler: _ConfigService_GetTokenGroup_Handler, 2136 }, 2137 { 2138 MethodName: "DeleteTokenGroup", 2139 Handler: _ConfigService_DeleteTokenGroup_Handler, 2140 }, 2141 }, 2142 Streams: []grpc.StreamDesc{}, 2143 Metadata: "token/service/config/config.proto", 2144 }