github.com/Finschia/finschia-sdk@v0.48.1/server/grpc/reflection/v2/reflection.pb.go (about) 1 // Code generated by protoc-gen-gogo. DO NOT EDIT. 2 // source: cosmos/base/reflection/v2alpha1/reflection.proto 3 4 package v2 5 6 import ( 7 context "context" 8 fmt "fmt" 9 grpc1 "github.com/gogo/protobuf/grpc" 10 proto "github.com/gogo/protobuf/proto" 11 _ "google.golang.org/genproto/googleapis/api/annotations" 12 grpc "google.golang.org/grpc" 13 codes "google.golang.org/grpc/codes" 14 status "google.golang.org/grpc/status" 15 io "io" 16 math "math" 17 math_bits "math/bits" 18 ) 19 20 // Reference imports to suppress errors if they are not otherwise used. 21 var _ = proto.Marshal 22 var _ = fmt.Errorf 23 var _ = math.Inf 24 25 // This is a compile-time assertion to ensure that this generated file 26 // is compatible with the proto package it is being compiled against. 27 // A compilation error at this line likely means your copy of the 28 // proto package needs to be updated. 29 const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package 30 31 // AppDescriptor describes a cosmos-sdk based application 32 type AppDescriptor struct { 33 // AuthnDescriptor provides information on how to authenticate transactions on the application 34 // NOTE: experimental and subject to change in future releases. 35 Authn *AuthnDescriptor `protobuf:"bytes,1,opt,name=authn,proto3" json:"authn,omitempty"` 36 // chain provides the chain descriptor 37 Chain *ChainDescriptor `protobuf:"bytes,2,opt,name=chain,proto3" json:"chain,omitempty"` 38 // codec provides metadata information regarding codec related types 39 Codec *CodecDescriptor `protobuf:"bytes,3,opt,name=codec,proto3" json:"codec,omitempty"` 40 // configuration provides metadata information regarding the sdk.Config type 41 Configuration *ConfigurationDescriptor `protobuf:"bytes,4,opt,name=configuration,proto3" json:"configuration,omitempty"` 42 // query_services provides metadata information regarding the available queriable endpoints 43 QueryServices *QueryServicesDescriptor `protobuf:"bytes,5,opt,name=query_services,json=queryServices,proto3" json:"query_services,omitempty"` 44 // tx provides metadata information regarding how to send transactions to the given application 45 Tx *TxDescriptor `protobuf:"bytes,6,opt,name=tx,proto3" json:"tx,omitempty"` 46 } 47 48 func (m *AppDescriptor) Reset() { *m = AppDescriptor{} } 49 func (m *AppDescriptor) String() string { return proto.CompactTextString(m) } 50 func (*AppDescriptor) ProtoMessage() {} 51 func (*AppDescriptor) Descriptor() ([]byte, []int) { 52 return fileDescriptor_15c91f0b8d6bf3d0, []int{0} 53 } 54 func (m *AppDescriptor) XXX_Unmarshal(b []byte) error { 55 return m.Unmarshal(b) 56 } 57 func (m *AppDescriptor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 58 if deterministic { 59 return xxx_messageInfo_AppDescriptor.Marshal(b, m, deterministic) 60 } else { 61 b = b[:cap(b)] 62 n, err := m.MarshalToSizedBuffer(b) 63 if err != nil { 64 return nil, err 65 } 66 return b[:n], nil 67 } 68 } 69 func (m *AppDescriptor) XXX_Merge(src proto.Message) { 70 xxx_messageInfo_AppDescriptor.Merge(m, src) 71 } 72 func (m *AppDescriptor) XXX_Size() int { 73 return m.Size() 74 } 75 func (m *AppDescriptor) XXX_DiscardUnknown() { 76 xxx_messageInfo_AppDescriptor.DiscardUnknown(m) 77 } 78 79 var xxx_messageInfo_AppDescriptor proto.InternalMessageInfo 80 81 func (m *AppDescriptor) GetAuthn() *AuthnDescriptor { 82 if m != nil { 83 return m.Authn 84 } 85 return nil 86 } 87 88 func (m *AppDescriptor) GetChain() *ChainDescriptor { 89 if m != nil { 90 return m.Chain 91 } 92 return nil 93 } 94 95 func (m *AppDescriptor) GetCodec() *CodecDescriptor { 96 if m != nil { 97 return m.Codec 98 } 99 return nil 100 } 101 102 func (m *AppDescriptor) GetConfiguration() *ConfigurationDescriptor { 103 if m != nil { 104 return m.Configuration 105 } 106 return nil 107 } 108 109 func (m *AppDescriptor) GetQueryServices() *QueryServicesDescriptor { 110 if m != nil { 111 return m.QueryServices 112 } 113 return nil 114 } 115 116 func (m *AppDescriptor) GetTx() *TxDescriptor { 117 if m != nil { 118 return m.Tx 119 } 120 return nil 121 } 122 123 // TxDescriptor describes the accepted transaction type 124 type TxDescriptor struct { 125 // fullname is the protobuf fullname of the raw transaction type (for instance the tx.Tx type) 126 // it is not meant to support polymorphism of transaction types, it is supposed to be used by 127 // reflection clients to understand if they can handle a specific transaction type in an application. 128 Fullname string `protobuf:"bytes,1,opt,name=fullname,proto3" json:"fullname,omitempty"` 129 // msgs lists the accepted application messages (sdk.Msg) 130 Msgs []*MsgDescriptor `protobuf:"bytes,2,rep,name=msgs,proto3" json:"msgs,omitempty"` 131 } 132 133 func (m *TxDescriptor) Reset() { *m = TxDescriptor{} } 134 func (m *TxDescriptor) String() string { return proto.CompactTextString(m) } 135 func (*TxDescriptor) ProtoMessage() {} 136 func (*TxDescriptor) Descriptor() ([]byte, []int) { 137 return fileDescriptor_15c91f0b8d6bf3d0, []int{1} 138 } 139 func (m *TxDescriptor) XXX_Unmarshal(b []byte) error { 140 return m.Unmarshal(b) 141 } 142 func (m *TxDescriptor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 143 if deterministic { 144 return xxx_messageInfo_TxDescriptor.Marshal(b, m, deterministic) 145 } else { 146 b = b[:cap(b)] 147 n, err := m.MarshalToSizedBuffer(b) 148 if err != nil { 149 return nil, err 150 } 151 return b[:n], nil 152 } 153 } 154 func (m *TxDescriptor) XXX_Merge(src proto.Message) { 155 xxx_messageInfo_TxDescriptor.Merge(m, src) 156 } 157 func (m *TxDescriptor) XXX_Size() int { 158 return m.Size() 159 } 160 func (m *TxDescriptor) XXX_DiscardUnknown() { 161 xxx_messageInfo_TxDescriptor.DiscardUnknown(m) 162 } 163 164 var xxx_messageInfo_TxDescriptor proto.InternalMessageInfo 165 166 func (m *TxDescriptor) GetFullname() string { 167 if m != nil { 168 return m.Fullname 169 } 170 return "" 171 } 172 173 func (m *TxDescriptor) GetMsgs() []*MsgDescriptor { 174 if m != nil { 175 return m.Msgs 176 } 177 return nil 178 } 179 180 // AuthnDescriptor provides information on how to sign transactions without relying 181 // on the online RPCs GetTxMetadata and CombineUnsignedTxAndSignatures 182 type AuthnDescriptor struct { 183 // sign_modes defines the supported signature algorithm 184 SignModes []*SigningModeDescriptor `protobuf:"bytes,1,rep,name=sign_modes,json=signModes,proto3" json:"sign_modes,omitempty"` 185 } 186 187 func (m *AuthnDescriptor) Reset() { *m = AuthnDescriptor{} } 188 func (m *AuthnDescriptor) String() string { return proto.CompactTextString(m) } 189 func (*AuthnDescriptor) ProtoMessage() {} 190 func (*AuthnDescriptor) Descriptor() ([]byte, []int) { 191 return fileDescriptor_15c91f0b8d6bf3d0, []int{2} 192 } 193 func (m *AuthnDescriptor) XXX_Unmarshal(b []byte) error { 194 return m.Unmarshal(b) 195 } 196 func (m *AuthnDescriptor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 197 if deterministic { 198 return xxx_messageInfo_AuthnDescriptor.Marshal(b, m, deterministic) 199 } else { 200 b = b[:cap(b)] 201 n, err := m.MarshalToSizedBuffer(b) 202 if err != nil { 203 return nil, err 204 } 205 return b[:n], nil 206 } 207 } 208 func (m *AuthnDescriptor) XXX_Merge(src proto.Message) { 209 xxx_messageInfo_AuthnDescriptor.Merge(m, src) 210 } 211 func (m *AuthnDescriptor) XXX_Size() int { 212 return m.Size() 213 } 214 func (m *AuthnDescriptor) XXX_DiscardUnknown() { 215 xxx_messageInfo_AuthnDescriptor.DiscardUnknown(m) 216 } 217 218 var xxx_messageInfo_AuthnDescriptor proto.InternalMessageInfo 219 220 func (m *AuthnDescriptor) GetSignModes() []*SigningModeDescriptor { 221 if m != nil { 222 return m.SignModes 223 } 224 return nil 225 } 226 227 // SigningModeDescriptor provides information on a signing flow of the application 228 // NOTE(fdymylja): here we could go as far as providing an entire flow on how 229 // to sign a message given a SigningModeDescriptor, but it's better to think about 230 // this another time 231 type SigningModeDescriptor struct { 232 // name defines the unique name of the signing mode 233 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 234 // number is the unique int32 identifier for the sign_mode enum 235 Number int32 `protobuf:"varint,2,opt,name=number,proto3" json:"number,omitempty"` 236 // authn_info_provider_method_fullname defines the fullname of the method to call to get 237 // the metadata required to authenticate using the provided sign_modes 238 AuthnInfoProviderMethodFullname string `protobuf:"bytes,3,opt,name=authn_info_provider_method_fullname,json=authnInfoProviderMethodFullname,proto3" json:"authn_info_provider_method_fullname,omitempty"` 239 } 240 241 func (m *SigningModeDescriptor) Reset() { *m = SigningModeDescriptor{} } 242 func (m *SigningModeDescriptor) String() string { return proto.CompactTextString(m) } 243 func (*SigningModeDescriptor) ProtoMessage() {} 244 func (*SigningModeDescriptor) Descriptor() ([]byte, []int) { 245 return fileDescriptor_15c91f0b8d6bf3d0, []int{3} 246 } 247 func (m *SigningModeDescriptor) XXX_Unmarshal(b []byte) error { 248 return m.Unmarshal(b) 249 } 250 func (m *SigningModeDescriptor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 251 if deterministic { 252 return xxx_messageInfo_SigningModeDescriptor.Marshal(b, m, deterministic) 253 } else { 254 b = b[:cap(b)] 255 n, err := m.MarshalToSizedBuffer(b) 256 if err != nil { 257 return nil, err 258 } 259 return b[:n], nil 260 } 261 } 262 func (m *SigningModeDescriptor) XXX_Merge(src proto.Message) { 263 xxx_messageInfo_SigningModeDescriptor.Merge(m, src) 264 } 265 func (m *SigningModeDescriptor) XXX_Size() int { 266 return m.Size() 267 } 268 func (m *SigningModeDescriptor) XXX_DiscardUnknown() { 269 xxx_messageInfo_SigningModeDescriptor.DiscardUnknown(m) 270 } 271 272 var xxx_messageInfo_SigningModeDescriptor proto.InternalMessageInfo 273 274 func (m *SigningModeDescriptor) GetName() string { 275 if m != nil { 276 return m.Name 277 } 278 return "" 279 } 280 281 func (m *SigningModeDescriptor) GetNumber() int32 { 282 if m != nil { 283 return m.Number 284 } 285 return 0 286 } 287 288 func (m *SigningModeDescriptor) GetAuthnInfoProviderMethodFullname() string { 289 if m != nil { 290 return m.AuthnInfoProviderMethodFullname 291 } 292 return "" 293 } 294 295 // ChainDescriptor describes chain information of the application 296 type ChainDescriptor struct { 297 // id is the chain id 298 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` 299 } 300 301 func (m *ChainDescriptor) Reset() { *m = ChainDescriptor{} } 302 func (m *ChainDescriptor) String() string { return proto.CompactTextString(m) } 303 func (*ChainDescriptor) ProtoMessage() {} 304 func (*ChainDescriptor) Descriptor() ([]byte, []int) { 305 return fileDescriptor_15c91f0b8d6bf3d0, []int{4} 306 } 307 func (m *ChainDescriptor) XXX_Unmarshal(b []byte) error { 308 return m.Unmarshal(b) 309 } 310 func (m *ChainDescriptor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 311 if deterministic { 312 return xxx_messageInfo_ChainDescriptor.Marshal(b, m, deterministic) 313 } else { 314 b = b[:cap(b)] 315 n, err := m.MarshalToSizedBuffer(b) 316 if err != nil { 317 return nil, err 318 } 319 return b[:n], nil 320 } 321 } 322 func (m *ChainDescriptor) XXX_Merge(src proto.Message) { 323 xxx_messageInfo_ChainDescriptor.Merge(m, src) 324 } 325 func (m *ChainDescriptor) XXX_Size() int { 326 return m.Size() 327 } 328 func (m *ChainDescriptor) XXX_DiscardUnknown() { 329 xxx_messageInfo_ChainDescriptor.DiscardUnknown(m) 330 } 331 332 var xxx_messageInfo_ChainDescriptor proto.InternalMessageInfo 333 334 func (m *ChainDescriptor) GetId() string { 335 if m != nil { 336 return m.Id 337 } 338 return "" 339 } 340 341 // CodecDescriptor describes the registered interfaces and provides metadata information on the types 342 type CodecDescriptor struct { 343 // interfaces is a list of the registerted interfaces descriptors 344 Interfaces []*InterfaceDescriptor `protobuf:"bytes,1,rep,name=interfaces,proto3" json:"interfaces,omitempty"` 345 } 346 347 func (m *CodecDescriptor) Reset() { *m = CodecDescriptor{} } 348 func (m *CodecDescriptor) String() string { return proto.CompactTextString(m) } 349 func (*CodecDescriptor) ProtoMessage() {} 350 func (*CodecDescriptor) Descriptor() ([]byte, []int) { 351 return fileDescriptor_15c91f0b8d6bf3d0, []int{5} 352 } 353 func (m *CodecDescriptor) XXX_Unmarshal(b []byte) error { 354 return m.Unmarshal(b) 355 } 356 func (m *CodecDescriptor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 357 if deterministic { 358 return xxx_messageInfo_CodecDescriptor.Marshal(b, m, deterministic) 359 } else { 360 b = b[:cap(b)] 361 n, err := m.MarshalToSizedBuffer(b) 362 if err != nil { 363 return nil, err 364 } 365 return b[:n], nil 366 } 367 } 368 func (m *CodecDescriptor) XXX_Merge(src proto.Message) { 369 xxx_messageInfo_CodecDescriptor.Merge(m, src) 370 } 371 func (m *CodecDescriptor) XXX_Size() int { 372 return m.Size() 373 } 374 func (m *CodecDescriptor) XXX_DiscardUnknown() { 375 xxx_messageInfo_CodecDescriptor.DiscardUnknown(m) 376 } 377 378 var xxx_messageInfo_CodecDescriptor proto.InternalMessageInfo 379 380 func (m *CodecDescriptor) GetInterfaces() []*InterfaceDescriptor { 381 if m != nil { 382 return m.Interfaces 383 } 384 return nil 385 } 386 387 // InterfaceDescriptor describes the implementation of an interface 388 type InterfaceDescriptor struct { 389 // fullname is the name of the interface 390 Fullname string `protobuf:"bytes,1,opt,name=fullname,proto3" json:"fullname,omitempty"` 391 // interface_accepting_messages contains information regarding the proto messages which contain the interface as 392 // google.protobuf.Any field 393 InterfaceAcceptingMessages []*InterfaceAcceptingMessageDescriptor `protobuf:"bytes,2,rep,name=interface_accepting_messages,json=interfaceAcceptingMessages,proto3" json:"interface_accepting_messages,omitempty"` 394 // interface_implementers is a list of the descriptors of the interface implementers 395 InterfaceImplementers []*InterfaceImplementerDescriptor `protobuf:"bytes,3,rep,name=interface_implementers,json=interfaceImplementers,proto3" json:"interface_implementers,omitempty"` 396 } 397 398 func (m *InterfaceDescriptor) Reset() { *m = InterfaceDescriptor{} } 399 func (m *InterfaceDescriptor) String() string { return proto.CompactTextString(m) } 400 func (*InterfaceDescriptor) ProtoMessage() {} 401 func (*InterfaceDescriptor) Descriptor() ([]byte, []int) { 402 return fileDescriptor_15c91f0b8d6bf3d0, []int{6} 403 } 404 func (m *InterfaceDescriptor) XXX_Unmarshal(b []byte) error { 405 return m.Unmarshal(b) 406 } 407 func (m *InterfaceDescriptor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 408 if deterministic { 409 return xxx_messageInfo_InterfaceDescriptor.Marshal(b, m, deterministic) 410 } else { 411 b = b[:cap(b)] 412 n, err := m.MarshalToSizedBuffer(b) 413 if err != nil { 414 return nil, err 415 } 416 return b[:n], nil 417 } 418 } 419 func (m *InterfaceDescriptor) XXX_Merge(src proto.Message) { 420 xxx_messageInfo_InterfaceDescriptor.Merge(m, src) 421 } 422 func (m *InterfaceDescriptor) XXX_Size() int { 423 return m.Size() 424 } 425 func (m *InterfaceDescriptor) XXX_DiscardUnknown() { 426 xxx_messageInfo_InterfaceDescriptor.DiscardUnknown(m) 427 } 428 429 var xxx_messageInfo_InterfaceDescriptor proto.InternalMessageInfo 430 431 func (m *InterfaceDescriptor) GetFullname() string { 432 if m != nil { 433 return m.Fullname 434 } 435 return "" 436 } 437 438 func (m *InterfaceDescriptor) GetInterfaceAcceptingMessages() []*InterfaceAcceptingMessageDescriptor { 439 if m != nil { 440 return m.InterfaceAcceptingMessages 441 } 442 return nil 443 } 444 445 func (m *InterfaceDescriptor) GetInterfaceImplementers() []*InterfaceImplementerDescriptor { 446 if m != nil { 447 return m.InterfaceImplementers 448 } 449 return nil 450 } 451 452 // InterfaceImplementerDescriptor describes an interface implementer 453 type InterfaceImplementerDescriptor struct { 454 // fullname is the protobuf queryable name of the interface implementer 455 Fullname string `protobuf:"bytes,1,opt,name=fullname,proto3" json:"fullname,omitempty"` 456 // type_url defines the type URL used when marshalling the type as any 457 // this is required so we can provide type safe google.protobuf.Any marshalling and 458 // unmarshalling, making sure that we don't accept just 'any' type 459 // in our interface fields 460 TypeUrl string `protobuf:"bytes,2,opt,name=type_url,json=typeUrl,proto3" json:"type_url,omitempty"` 461 } 462 463 func (m *InterfaceImplementerDescriptor) Reset() { *m = InterfaceImplementerDescriptor{} } 464 func (m *InterfaceImplementerDescriptor) String() string { return proto.CompactTextString(m) } 465 func (*InterfaceImplementerDescriptor) ProtoMessage() {} 466 func (*InterfaceImplementerDescriptor) Descriptor() ([]byte, []int) { 467 return fileDescriptor_15c91f0b8d6bf3d0, []int{7} 468 } 469 func (m *InterfaceImplementerDescriptor) XXX_Unmarshal(b []byte) error { 470 return m.Unmarshal(b) 471 } 472 func (m *InterfaceImplementerDescriptor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 473 if deterministic { 474 return xxx_messageInfo_InterfaceImplementerDescriptor.Marshal(b, m, deterministic) 475 } else { 476 b = b[:cap(b)] 477 n, err := m.MarshalToSizedBuffer(b) 478 if err != nil { 479 return nil, err 480 } 481 return b[:n], nil 482 } 483 } 484 func (m *InterfaceImplementerDescriptor) XXX_Merge(src proto.Message) { 485 xxx_messageInfo_InterfaceImplementerDescriptor.Merge(m, src) 486 } 487 func (m *InterfaceImplementerDescriptor) XXX_Size() int { 488 return m.Size() 489 } 490 func (m *InterfaceImplementerDescriptor) XXX_DiscardUnknown() { 491 xxx_messageInfo_InterfaceImplementerDescriptor.DiscardUnknown(m) 492 } 493 494 var xxx_messageInfo_InterfaceImplementerDescriptor proto.InternalMessageInfo 495 496 func (m *InterfaceImplementerDescriptor) GetFullname() string { 497 if m != nil { 498 return m.Fullname 499 } 500 return "" 501 } 502 503 func (m *InterfaceImplementerDescriptor) GetTypeUrl() string { 504 if m != nil { 505 return m.TypeUrl 506 } 507 return "" 508 } 509 510 // InterfaceAcceptingMessageDescriptor describes a protobuf message which contains 511 // an interface represented as a google.protobuf.Any 512 type InterfaceAcceptingMessageDescriptor struct { 513 // fullname is the protobuf fullname of the type containing the interface 514 Fullname string `protobuf:"bytes,1,opt,name=fullname,proto3" json:"fullname,omitempty"` 515 // field_descriptor_names is a list of the protobuf name (not fullname) of the field 516 // which contains the interface as google.protobuf.Any (the interface is the same, but 517 // it can be in multiple fields of the same proto message) 518 FieldDescriptorNames []string `protobuf:"bytes,2,rep,name=field_descriptor_names,json=fieldDescriptorNames,proto3" json:"field_descriptor_names,omitempty"` 519 } 520 521 func (m *InterfaceAcceptingMessageDescriptor) Reset() { *m = InterfaceAcceptingMessageDescriptor{} } 522 func (m *InterfaceAcceptingMessageDescriptor) String() string { return proto.CompactTextString(m) } 523 func (*InterfaceAcceptingMessageDescriptor) ProtoMessage() {} 524 func (*InterfaceAcceptingMessageDescriptor) Descriptor() ([]byte, []int) { 525 return fileDescriptor_15c91f0b8d6bf3d0, []int{8} 526 } 527 func (m *InterfaceAcceptingMessageDescriptor) XXX_Unmarshal(b []byte) error { 528 return m.Unmarshal(b) 529 } 530 func (m *InterfaceAcceptingMessageDescriptor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 531 if deterministic { 532 return xxx_messageInfo_InterfaceAcceptingMessageDescriptor.Marshal(b, m, deterministic) 533 } else { 534 b = b[:cap(b)] 535 n, err := m.MarshalToSizedBuffer(b) 536 if err != nil { 537 return nil, err 538 } 539 return b[:n], nil 540 } 541 } 542 func (m *InterfaceAcceptingMessageDescriptor) XXX_Merge(src proto.Message) { 543 xxx_messageInfo_InterfaceAcceptingMessageDescriptor.Merge(m, src) 544 } 545 func (m *InterfaceAcceptingMessageDescriptor) XXX_Size() int { 546 return m.Size() 547 } 548 func (m *InterfaceAcceptingMessageDescriptor) XXX_DiscardUnknown() { 549 xxx_messageInfo_InterfaceAcceptingMessageDescriptor.DiscardUnknown(m) 550 } 551 552 var xxx_messageInfo_InterfaceAcceptingMessageDescriptor proto.InternalMessageInfo 553 554 func (m *InterfaceAcceptingMessageDescriptor) GetFullname() string { 555 if m != nil { 556 return m.Fullname 557 } 558 return "" 559 } 560 561 func (m *InterfaceAcceptingMessageDescriptor) GetFieldDescriptorNames() []string { 562 if m != nil { 563 return m.FieldDescriptorNames 564 } 565 return nil 566 } 567 568 // ConfigurationDescriptor contains metadata information on the sdk.Config 569 type ConfigurationDescriptor struct { 570 // bech32_account_address_prefix is the account address prefix 571 Bech32AccountAddressPrefix string `protobuf:"bytes,1,opt,name=bech32_account_address_prefix,json=bech32AccountAddressPrefix,proto3" json:"bech32_account_address_prefix,omitempty"` 572 } 573 574 func (m *ConfigurationDescriptor) Reset() { *m = ConfigurationDescriptor{} } 575 func (m *ConfigurationDescriptor) String() string { return proto.CompactTextString(m) } 576 func (*ConfigurationDescriptor) ProtoMessage() {} 577 func (*ConfigurationDescriptor) Descriptor() ([]byte, []int) { 578 return fileDescriptor_15c91f0b8d6bf3d0, []int{9} 579 } 580 func (m *ConfigurationDescriptor) XXX_Unmarshal(b []byte) error { 581 return m.Unmarshal(b) 582 } 583 func (m *ConfigurationDescriptor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 584 if deterministic { 585 return xxx_messageInfo_ConfigurationDescriptor.Marshal(b, m, deterministic) 586 } else { 587 b = b[:cap(b)] 588 n, err := m.MarshalToSizedBuffer(b) 589 if err != nil { 590 return nil, err 591 } 592 return b[:n], nil 593 } 594 } 595 func (m *ConfigurationDescriptor) XXX_Merge(src proto.Message) { 596 xxx_messageInfo_ConfigurationDescriptor.Merge(m, src) 597 } 598 func (m *ConfigurationDescriptor) XXX_Size() int { 599 return m.Size() 600 } 601 func (m *ConfigurationDescriptor) XXX_DiscardUnknown() { 602 xxx_messageInfo_ConfigurationDescriptor.DiscardUnknown(m) 603 } 604 605 var xxx_messageInfo_ConfigurationDescriptor proto.InternalMessageInfo 606 607 func (m *ConfigurationDescriptor) GetBech32AccountAddressPrefix() string { 608 if m != nil { 609 return m.Bech32AccountAddressPrefix 610 } 611 return "" 612 } 613 614 // MsgDescriptor describes a cosmos-sdk message that can be delivered with a transaction 615 type MsgDescriptor struct { 616 // msg_type_url contains the TypeURL of a sdk.Msg. 617 MsgTypeUrl string `protobuf:"bytes,1,opt,name=msg_type_url,json=msgTypeUrl,proto3" json:"msg_type_url,omitempty"` 618 } 619 620 func (m *MsgDescriptor) Reset() { *m = MsgDescriptor{} } 621 func (m *MsgDescriptor) String() string { return proto.CompactTextString(m) } 622 func (*MsgDescriptor) ProtoMessage() {} 623 func (*MsgDescriptor) Descriptor() ([]byte, []int) { 624 return fileDescriptor_15c91f0b8d6bf3d0, []int{10} 625 } 626 func (m *MsgDescriptor) XXX_Unmarshal(b []byte) error { 627 return m.Unmarshal(b) 628 } 629 func (m *MsgDescriptor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 630 if deterministic { 631 return xxx_messageInfo_MsgDescriptor.Marshal(b, m, deterministic) 632 } else { 633 b = b[:cap(b)] 634 n, err := m.MarshalToSizedBuffer(b) 635 if err != nil { 636 return nil, err 637 } 638 return b[:n], nil 639 } 640 } 641 func (m *MsgDescriptor) XXX_Merge(src proto.Message) { 642 xxx_messageInfo_MsgDescriptor.Merge(m, src) 643 } 644 func (m *MsgDescriptor) XXX_Size() int { 645 return m.Size() 646 } 647 func (m *MsgDescriptor) XXX_DiscardUnknown() { 648 xxx_messageInfo_MsgDescriptor.DiscardUnknown(m) 649 } 650 651 var xxx_messageInfo_MsgDescriptor proto.InternalMessageInfo 652 653 func (m *MsgDescriptor) GetMsgTypeUrl() string { 654 if m != nil { 655 return m.MsgTypeUrl 656 } 657 return "" 658 } 659 660 // GetAuthnDescriptorRequest is the request used for the GetAuthnDescriptor RPC 661 type GetAuthnDescriptorRequest struct { 662 } 663 664 func (m *GetAuthnDescriptorRequest) Reset() { *m = GetAuthnDescriptorRequest{} } 665 func (m *GetAuthnDescriptorRequest) String() string { return proto.CompactTextString(m) } 666 func (*GetAuthnDescriptorRequest) ProtoMessage() {} 667 func (*GetAuthnDescriptorRequest) Descriptor() ([]byte, []int) { 668 return fileDescriptor_15c91f0b8d6bf3d0, []int{11} 669 } 670 func (m *GetAuthnDescriptorRequest) XXX_Unmarshal(b []byte) error { 671 return m.Unmarshal(b) 672 } 673 func (m *GetAuthnDescriptorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 674 if deterministic { 675 return xxx_messageInfo_GetAuthnDescriptorRequest.Marshal(b, m, deterministic) 676 } else { 677 b = b[:cap(b)] 678 n, err := m.MarshalToSizedBuffer(b) 679 if err != nil { 680 return nil, err 681 } 682 return b[:n], nil 683 } 684 } 685 func (m *GetAuthnDescriptorRequest) XXX_Merge(src proto.Message) { 686 xxx_messageInfo_GetAuthnDescriptorRequest.Merge(m, src) 687 } 688 func (m *GetAuthnDescriptorRequest) XXX_Size() int { 689 return m.Size() 690 } 691 func (m *GetAuthnDescriptorRequest) XXX_DiscardUnknown() { 692 xxx_messageInfo_GetAuthnDescriptorRequest.DiscardUnknown(m) 693 } 694 695 var xxx_messageInfo_GetAuthnDescriptorRequest proto.InternalMessageInfo 696 697 // GetAuthnDescriptorResponse is the response returned by the GetAuthnDescriptor RPC 698 type GetAuthnDescriptorResponse struct { 699 // authn describes how to authenticate to the application when sending transactions 700 Authn *AuthnDescriptor `protobuf:"bytes,1,opt,name=authn,proto3" json:"authn,omitempty"` 701 } 702 703 func (m *GetAuthnDescriptorResponse) Reset() { *m = GetAuthnDescriptorResponse{} } 704 func (m *GetAuthnDescriptorResponse) String() string { return proto.CompactTextString(m) } 705 func (*GetAuthnDescriptorResponse) ProtoMessage() {} 706 func (*GetAuthnDescriptorResponse) Descriptor() ([]byte, []int) { 707 return fileDescriptor_15c91f0b8d6bf3d0, []int{12} 708 } 709 func (m *GetAuthnDescriptorResponse) XXX_Unmarshal(b []byte) error { 710 return m.Unmarshal(b) 711 } 712 func (m *GetAuthnDescriptorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 713 if deterministic { 714 return xxx_messageInfo_GetAuthnDescriptorResponse.Marshal(b, m, deterministic) 715 } else { 716 b = b[:cap(b)] 717 n, err := m.MarshalToSizedBuffer(b) 718 if err != nil { 719 return nil, err 720 } 721 return b[:n], nil 722 } 723 } 724 func (m *GetAuthnDescriptorResponse) XXX_Merge(src proto.Message) { 725 xxx_messageInfo_GetAuthnDescriptorResponse.Merge(m, src) 726 } 727 func (m *GetAuthnDescriptorResponse) XXX_Size() int { 728 return m.Size() 729 } 730 func (m *GetAuthnDescriptorResponse) XXX_DiscardUnknown() { 731 xxx_messageInfo_GetAuthnDescriptorResponse.DiscardUnknown(m) 732 } 733 734 var xxx_messageInfo_GetAuthnDescriptorResponse proto.InternalMessageInfo 735 736 func (m *GetAuthnDescriptorResponse) GetAuthn() *AuthnDescriptor { 737 if m != nil { 738 return m.Authn 739 } 740 return nil 741 } 742 743 // GetChainDescriptorRequest is the request used for the GetChainDescriptor RPC 744 type GetChainDescriptorRequest struct { 745 } 746 747 func (m *GetChainDescriptorRequest) Reset() { *m = GetChainDescriptorRequest{} } 748 func (m *GetChainDescriptorRequest) String() string { return proto.CompactTextString(m) } 749 func (*GetChainDescriptorRequest) ProtoMessage() {} 750 func (*GetChainDescriptorRequest) Descriptor() ([]byte, []int) { 751 return fileDescriptor_15c91f0b8d6bf3d0, []int{13} 752 } 753 func (m *GetChainDescriptorRequest) XXX_Unmarshal(b []byte) error { 754 return m.Unmarshal(b) 755 } 756 func (m *GetChainDescriptorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 757 if deterministic { 758 return xxx_messageInfo_GetChainDescriptorRequest.Marshal(b, m, deterministic) 759 } else { 760 b = b[:cap(b)] 761 n, err := m.MarshalToSizedBuffer(b) 762 if err != nil { 763 return nil, err 764 } 765 return b[:n], nil 766 } 767 } 768 func (m *GetChainDescriptorRequest) XXX_Merge(src proto.Message) { 769 xxx_messageInfo_GetChainDescriptorRequest.Merge(m, src) 770 } 771 func (m *GetChainDescriptorRequest) XXX_Size() int { 772 return m.Size() 773 } 774 func (m *GetChainDescriptorRequest) XXX_DiscardUnknown() { 775 xxx_messageInfo_GetChainDescriptorRequest.DiscardUnknown(m) 776 } 777 778 var xxx_messageInfo_GetChainDescriptorRequest proto.InternalMessageInfo 779 780 // GetChainDescriptorResponse is the response returned by the GetChainDescriptor RPC 781 type GetChainDescriptorResponse struct { 782 // chain describes application chain information 783 Chain *ChainDescriptor `protobuf:"bytes,1,opt,name=chain,proto3" json:"chain,omitempty"` 784 } 785 786 func (m *GetChainDescriptorResponse) Reset() { *m = GetChainDescriptorResponse{} } 787 func (m *GetChainDescriptorResponse) String() string { return proto.CompactTextString(m) } 788 func (*GetChainDescriptorResponse) ProtoMessage() {} 789 func (*GetChainDescriptorResponse) Descriptor() ([]byte, []int) { 790 return fileDescriptor_15c91f0b8d6bf3d0, []int{14} 791 } 792 func (m *GetChainDescriptorResponse) XXX_Unmarshal(b []byte) error { 793 return m.Unmarshal(b) 794 } 795 func (m *GetChainDescriptorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 796 if deterministic { 797 return xxx_messageInfo_GetChainDescriptorResponse.Marshal(b, m, deterministic) 798 } else { 799 b = b[:cap(b)] 800 n, err := m.MarshalToSizedBuffer(b) 801 if err != nil { 802 return nil, err 803 } 804 return b[:n], nil 805 } 806 } 807 func (m *GetChainDescriptorResponse) XXX_Merge(src proto.Message) { 808 xxx_messageInfo_GetChainDescriptorResponse.Merge(m, src) 809 } 810 func (m *GetChainDescriptorResponse) XXX_Size() int { 811 return m.Size() 812 } 813 func (m *GetChainDescriptorResponse) XXX_DiscardUnknown() { 814 xxx_messageInfo_GetChainDescriptorResponse.DiscardUnknown(m) 815 } 816 817 var xxx_messageInfo_GetChainDescriptorResponse proto.InternalMessageInfo 818 819 func (m *GetChainDescriptorResponse) GetChain() *ChainDescriptor { 820 if m != nil { 821 return m.Chain 822 } 823 return nil 824 } 825 826 // GetCodecDescriptorRequest is the request used for the GetCodecDescriptor RPC 827 type GetCodecDescriptorRequest struct { 828 } 829 830 func (m *GetCodecDescriptorRequest) Reset() { *m = GetCodecDescriptorRequest{} } 831 func (m *GetCodecDescriptorRequest) String() string { return proto.CompactTextString(m) } 832 func (*GetCodecDescriptorRequest) ProtoMessage() {} 833 func (*GetCodecDescriptorRequest) Descriptor() ([]byte, []int) { 834 return fileDescriptor_15c91f0b8d6bf3d0, []int{15} 835 } 836 func (m *GetCodecDescriptorRequest) XXX_Unmarshal(b []byte) error { 837 return m.Unmarshal(b) 838 } 839 func (m *GetCodecDescriptorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 840 if deterministic { 841 return xxx_messageInfo_GetCodecDescriptorRequest.Marshal(b, m, deterministic) 842 } else { 843 b = b[:cap(b)] 844 n, err := m.MarshalToSizedBuffer(b) 845 if err != nil { 846 return nil, err 847 } 848 return b[:n], nil 849 } 850 } 851 func (m *GetCodecDescriptorRequest) XXX_Merge(src proto.Message) { 852 xxx_messageInfo_GetCodecDescriptorRequest.Merge(m, src) 853 } 854 func (m *GetCodecDescriptorRequest) XXX_Size() int { 855 return m.Size() 856 } 857 func (m *GetCodecDescriptorRequest) XXX_DiscardUnknown() { 858 xxx_messageInfo_GetCodecDescriptorRequest.DiscardUnknown(m) 859 } 860 861 var xxx_messageInfo_GetCodecDescriptorRequest proto.InternalMessageInfo 862 863 // GetCodecDescriptorResponse is the response returned by the GetCodecDescriptor RPC 864 type GetCodecDescriptorResponse struct { 865 // codec describes the application codec such as registered interfaces and implementations 866 Codec *CodecDescriptor `protobuf:"bytes,1,opt,name=codec,proto3" json:"codec,omitempty"` 867 } 868 869 func (m *GetCodecDescriptorResponse) Reset() { *m = GetCodecDescriptorResponse{} } 870 func (m *GetCodecDescriptorResponse) String() string { return proto.CompactTextString(m) } 871 func (*GetCodecDescriptorResponse) ProtoMessage() {} 872 func (*GetCodecDescriptorResponse) Descriptor() ([]byte, []int) { 873 return fileDescriptor_15c91f0b8d6bf3d0, []int{16} 874 } 875 func (m *GetCodecDescriptorResponse) XXX_Unmarshal(b []byte) error { 876 return m.Unmarshal(b) 877 } 878 func (m *GetCodecDescriptorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 879 if deterministic { 880 return xxx_messageInfo_GetCodecDescriptorResponse.Marshal(b, m, deterministic) 881 } else { 882 b = b[:cap(b)] 883 n, err := m.MarshalToSizedBuffer(b) 884 if err != nil { 885 return nil, err 886 } 887 return b[:n], nil 888 } 889 } 890 func (m *GetCodecDescriptorResponse) XXX_Merge(src proto.Message) { 891 xxx_messageInfo_GetCodecDescriptorResponse.Merge(m, src) 892 } 893 func (m *GetCodecDescriptorResponse) XXX_Size() int { 894 return m.Size() 895 } 896 func (m *GetCodecDescriptorResponse) XXX_DiscardUnknown() { 897 xxx_messageInfo_GetCodecDescriptorResponse.DiscardUnknown(m) 898 } 899 900 var xxx_messageInfo_GetCodecDescriptorResponse proto.InternalMessageInfo 901 902 func (m *GetCodecDescriptorResponse) GetCodec() *CodecDescriptor { 903 if m != nil { 904 return m.Codec 905 } 906 return nil 907 } 908 909 // GetConfigurationDescriptorRequest is the request used for the GetConfigurationDescriptor RPC 910 type GetConfigurationDescriptorRequest struct { 911 } 912 913 func (m *GetConfigurationDescriptorRequest) Reset() { *m = GetConfigurationDescriptorRequest{} } 914 func (m *GetConfigurationDescriptorRequest) String() string { return proto.CompactTextString(m) } 915 func (*GetConfigurationDescriptorRequest) ProtoMessage() {} 916 func (*GetConfigurationDescriptorRequest) Descriptor() ([]byte, []int) { 917 return fileDescriptor_15c91f0b8d6bf3d0, []int{17} 918 } 919 func (m *GetConfigurationDescriptorRequest) XXX_Unmarshal(b []byte) error { 920 return m.Unmarshal(b) 921 } 922 func (m *GetConfigurationDescriptorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 923 if deterministic { 924 return xxx_messageInfo_GetConfigurationDescriptorRequest.Marshal(b, m, deterministic) 925 } else { 926 b = b[:cap(b)] 927 n, err := m.MarshalToSizedBuffer(b) 928 if err != nil { 929 return nil, err 930 } 931 return b[:n], nil 932 } 933 } 934 func (m *GetConfigurationDescriptorRequest) XXX_Merge(src proto.Message) { 935 xxx_messageInfo_GetConfigurationDescriptorRequest.Merge(m, src) 936 } 937 func (m *GetConfigurationDescriptorRequest) XXX_Size() int { 938 return m.Size() 939 } 940 func (m *GetConfigurationDescriptorRequest) XXX_DiscardUnknown() { 941 xxx_messageInfo_GetConfigurationDescriptorRequest.DiscardUnknown(m) 942 } 943 944 var xxx_messageInfo_GetConfigurationDescriptorRequest proto.InternalMessageInfo 945 946 // GetConfigurationDescriptorResponse is the response returned by the GetConfigurationDescriptor RPC 947 type GetConfigurationDescriptorResponse struct { 948 // config describes the application's sdk.Config 949 Config *ConfigurationDescriptor `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` 950 } 951 952 func (m *GetConfigurationDescriptorResponse) Reset() { *m = GetConfigurationDescriptorResponse{} } 953 func (m *GetConfigurationDescriptorResponse) String() string { return proto.CompactTextString(m) } 954 func (*GetConfigurationDescriptorResponse) ProtoMessage() {} 955 func (*GetConfigurationDescriptorResponse) Descriptor() ([]byte, []int) { 956 return fileDescriptor_15c91f0b8d6bf3d0, []int{18} 957 } 958 func (m *GetConfigurationDescriptorResponse) XXX_Unmarshal(b []byte) error { 959 return m.Unmarshal(b) 960 } 961 func (m *GetConfigurationDescriptorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 962 if deterministic { 963 return xxx_messageInfo_GetConfigurationDescriptorResponse.Marshal(b, m, deterministic) 964 } else { 965 b = b[:cap(b)] 966 n, err := m.MarshalToSizedBuffer(b) 967 if err != nil { 968 return nil, err 969 } 970 return b[:n], nil 971 } 972 } 973 func (m *GetConfigurationDescriptorResponse) XXX_Merge(src proto.Message) { 974 xxx_messageInfo_GetConfigurationDescriptorResponse.Merge(m, src) 975 } 976 func (m *GetConfigurationDescriptorResponse) XXX_Size() int { 977 return m.Size() 978 } 979 func (m *GetConfigurationDescriptorResponse) XXX_DiscardUnknown() { 980 xxx_messageInfo_GetConfigurationDescriptorResponse.DiscardUnknown(m) 981 } 982 983 var xxx_messageInfo_GetConfigurationDescriptorResponse proto.InternalMessageInfo 984 985 func (m *GetConfigurationDescriptorResponse) GetConfig() *ConfigurationDescriptor { 986 if m != nil { 987 return m.Config 988 } 989 return nil 990 } 991 992 // GetQueryServicesDescriptorRequest is the request used for the GetQueryServicesDescriptor RPC 993 type GetQueryServicesDescriptorRequest struct { 994 } 995 996 func (m *GetQueryServicesDescriptorRequest) Reset() { *m = GetQueryServicesDescriptorRequest{} } 997 func (m *GetQueryServicesDescriptorRequest) String() string { return proto.CompactTextString(m) } 998 func (*GetQueryServicesDescriptorRequest) ProtoMessage() {} 999 func (*GetQueryServicesDescriptorRequest) Descriptor() ([]byte, []int) { 1000 return fileDescriptor_15c91f0b8d6bf3d0, []int{19} 1001 } 1002 func (m *GetQueryServicesDescriptorRequest) XXX_Unmarshal(b []byte) error { 1003 return m.Unmarshal(b) 1004 } 1005 func (m *GetQueryServicesDescriptorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1006 if deterministic { 1007 return xxx_messageInfo_GetQueryServicesDescriptorRequest.Marshal(b, m, deterministic) 1008 } else { 1009 b = b[:cap(b)] 1010 n, err := m.MarshalToSizedBuffer(b) 1011 if err != nil { 1012 return nil, err 1013 } 1014 return b[:n], nil 1015 } 1016 } 1017 func (m *GetQueryServicesDescriptorRequest) XXX_Merge(src proto.Message) { 1018 xxx_messageInfo_GetQueryServicesDescriptorRequest.Merge(m, src) 1019 } 1020 func (m *GetQueryServicesDescriptorRequest) XXX_Size() int { 1021 return m.Size() 1022 } 1023 func (m *GetQueryServicesDescriptorRequest) XXX_DiscardUnknown() { 1024 xxx_messageInfo_GetQueryServicesDescriptorRequest.DiscardUnknown(m) 1025 } 1026 1027 var xxx_messageInfo_GetQueryServicesDescriptorRequest proto.InternalMessageInfo 1028 1029 // GetQueryServicesDescriptorResponse is the response returned by the GetQueryServicesDescriptor RPC 1030 type GetQueryServicesDescriptorResponse struct { 1031 // queries provides information on the available queryable services 1032 Queries *QueryServicesDescriptor `protobuf:"bytes,1,opt,name=queries,proto3" json:"queries,omitempty"` 1033 } 1034 1035 func (m *GetQueryServicesDescriptorResponse) Reset() { *m = GetQueryServicesDescriptorResponse{} } 1036 func (m *GetQueryServicesDescriptorResponse) String() string { return proto.CompactTextString(m) } 1037 func (*GetQueryServicesDescriptorResponse) ProtoMessage() {} 1038 func (*GetQueryServicesDescriptorResponse) Descriptor() ([]byte, []int) { 1039 return fileDescriptor_15c91f0b8d6bf3d0, []int{20} 1040 } 1041 func (m *GetQueryServicesDescriptorResponse) XXX_Unmarshal(b []byte) error { 1042 return m.Unmarshal(b) 1043 } 1044 func (m *GetQueryServicesDescriptorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1045 if deterministic { 1046 return xxx_messageInfo_GetQueryServicesDescriptorResponse.Marshal(b, m, deterministic) 1047 } else { 1048 b = b[:cap(b)] 1049 n, err := m.MarshalToSizedBuffer(b) 1050 if err != nil { 1051 return nil, err 1052 } 1053 return b[:n], nil 1054 } 1055 } 1056 func (m *GetQueryServicesDescriptorResponse) XXX_Merge(src proto.Message) { 1057 xxx_messageInfo_GetQueryServicesDescriptorResponse.Merge(m, src) 1058 } 1059 func (m *GetQueryServicesDescriptorResponse) XXX_Size() int { 1060 return m.Size() 1061 } 1062 func (m *GetQueryServicesDescriptorResponse) XXX_DiscardUnknown() { 1063 xxx_messageInfo_GetQueryServicesDescriptorResponse.DiscardUnknown(m) 1064 } 1065 1066 var xxx_messageInfo_GetQueryServicesDescriptorResponse proto.InternalMessageInfo 1067 1068 func (m *GetQueryServicesDescriptorResponse) GetQueries() *QueryServicesDescriptor { 1069 if m != nil { 1070 return m.Queries 1071 } 1072 return nil 1073 } 1074 1075 // GetTxDescriptorRequest is the request used for the GetTxDescriptor RPC 1076 type GetTxDescriptorRequest struct { 1077 } 1078 1079 func (m *GetTxDescriptorRequest) Reset() { *m = GetTxDescriptorRequest{} } 1080 func (m *GetTxDescriptorRequest) String() string { return proto.CompactTextString(m) } 1081 func (*GetTxDescriptorRequest) ProtoMessage() {} 1082 func (*GetTxDescriptorRequest) Descriptor() ([]byte, []int) { 1083 return fileDescriptor_15c91f0b8d6bf3d0, []int{21} 1084 } 1085 func (m *GetTxDescriptorRequest) XXX_Unmarshal(b []byte) error { 1086 return m.Unmarshal(b) 1087 } 1088 func (m *GetTxDescriptorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1089 if deterministic { 1090 return xxx_messageInfo_GetTxDescriptorRequest.Marshal(b, m, deterministic) 1091 } else { 1092 b = b[:cap(b)] 1093 n, err := m.MarshalToSizedBuffer(b) 1094 if err != nil { 1095 return nil, err 1096 } 1097 return b[:n], nil 1098 } 1099 } 1100 func (m *GetTxDescriptorRequest) XXX_Merge(src proto.Message) { 1101 xxx_messageInfo_GetTxDescriptorRequest.Merge(m, src) 1102 } 1103 func (m *GetTxDescriptorRequest) XXX_Size() int { 1104 return m.Size() 1105 } 1106 func (m *GetTxDescriptorRequest) XXX_DiscardUnknown() { 1107 xxx_messageInfo_GetTxDescriptorRequest.DiscardUnknown(m) 1108 } 1109 1110 var xxx_messageInfo_GetTxDescriptorRequest proto.InternalMessageInfo 1111 1112 // GetTxDescriptorResponse is the response returned by the GetTxDescriptor RPC 1113 type GetTxDescriptorResponse struct { 1114 // tx provides information on msgs that can be forwarded to the application 1115 // alongside the accepted transaction protobuf type 1116 Tx *TxDescriptor `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty"` 1117 } 1118 1119 func (m *GetTxDescriptorResponse) Reset() { *m = GetTxDescriptorResponse{} } 1120 func (m *GetTxDescriptorResponse) String() string { return proto.CompactTextString(m) } 1121 func (*GetTxDescriptorResponse) ProtoMessage() {} 1122 func (*GetTxDescriptorResponse) Descriptor() ([]byte, []int) { 1123 return fileDescriptor_15c91f0b8d6bf3d0, []int{22} 1124 } 1125 func (m *GetTxDescriptorResponse) XXX_Unmarshal(b []byte) error { 1126 return m.Unmarshal(b) 1127 } 1128 func (m *GetTxDescriptorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1129 if deterministic { 1130 return xxx_messageInfo_GetTxDescriptorResponse.Marshal(b, m, deterministic) 1131 } else { 1132 b = b[:cap(b)] 1133 n, err := m.MarshalToSizedBuffer(b) 1134 if err != nil { 1135 return nil, err 1136 } 1137 return b[:n], nil 1138 } 1139 } 1140 func (m *GetTxDescriptorResponse) XXX_Merge(src proto.Message) { 1141 xxx_messageInfo_GetTxDescriptorResponse.Merge(m, src) 1142 } 1143 func (m *GetTxDescriptorResponse) XXX_Size() int { 1144 return m.Size() 1145 } 1146 func (m *GetTxDescriptorResponse) XXX_DiscardUnknown() { 1147 xxx_messageInfo_GetTxDescriptorResponse.DiscardUnknown(m) 1148 } 1149 1150 var xxx_messageInfo_GetTxDescriptorResponse proto.InternalMessageInfo 1151 1152 func (m *GetTxDescriptorResponse) GetTx() *TxDescriptor { 1153 if m != nil { 1154 return m.Tx 1155 } 1156 return nil 1157 } 1158 1159 // QueryServicesDescriptor contains the list of cosmos-sdk queriable services 1160 type QueryServicesDescriptor struct { 1161 // query_services is a list of cosmos-sdk QueryServiceDescriptor 1162 QueryServices []*QueryServiceDescriptor `protobuf:"bytes,1,rep,name=query_services,json=queryServices,proto3" json:"query_services,omitempty"` 1163 } 1164 1165 func (m *QueryServicesDescriptor) Reset() { *m = QueryServicesDescriptor{} } 1166 func (m *QueryServicesDescriptor) String() string { return proto.CompactTextString(m) } 1167 func (*QueryServicesDescriptor) ProtoMessage() {} 1168 func (*QueryServicesDescriptor) Descriptor() ([]byte, []int) { 1169 return fileDescriptor_15c91f0b8d6bf3d0, []int{23} 1170 } 1171 func (m *QueryServicesDescriptor) XXX_Unmarshal(b []byte) error { 1172 return m.Unmarshal(b) 1173 } 1174 func (m *QueryServicesDescriptor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1175 if deterministic { 1176 return xxx_messageInfo_QueryServicesDescriptor.Marshal(b, m, deterministic) 1177 } else { 1178 b = b[:cap(b)] 1179 n, err := m.MarshalToSizedBuffer(b) 1180 if err != nil { 1181 return nil, err 1182 } 1183 return b[:n], nil 1184 } 1185 } 1186 func (m *QueryServicesDescriptor) XXX_Merge(src proto.Message) { 1187 xxx_messageInfo_QueryServicesDescriptor.Merge(m, src) 1188 } 1189 func (m *QueryServicesDescriptor) XXX_Size() int { 1190 return m.Size() 1191 } 1192 func (m *QueryServicesDescriptor) XXX_DiscardUnknown() { 1193 xxx_messageInfo_QueryServicesDescriptor.DiscardUnknown(m) 1194 } 1195 1196 var xxx_messageInfo_QueryServicesDescriptor proto.InternalMessageInfo 1197 1198 func (m *QueryServicesDescriptor) GetQueryServices() []*QueryServiceDescriptor { 1199 if m != nil { 1200 return m.QueryServices 1201 } 1202 return nil 1203 } 1204 1205 // QueryServiceDescriptor describes a cosmos-sdk queryable service 1206 type QueryServiceDescriptor struct { 1207 // fullname is the protobuf fullname of the service descriptor 1208 Fullname string `protobuf:"bytes,1,opt,name=fullname,proto3" json:"fullname,omitempty"` 1209 // is_module describes if this service is actually exposed by an application's module 1210 IsModule bool `protobuf:"varint,2,opt,name=is_module,json=isModule,proto3" json:"is_module,omitempty"` 1211 // methods provides a list of query service methods 1212 Methods []*QueryMethodDescriptor `protobuf:"bytes,3,rep,name=methods,proto3" json:"methods,omitempty"` 1213 } 1214 1215 func (m *QueryServiceDescriptor) Reset() { *m = QueryServiceDescriptor{} } 1216 func (m *QueryServiceDescriptor) String() string { return proto.CompactTextString(m) } 1217 func (*QueryServiceDescriptor) ProtoMessage() {} 1218 func (*QueryServiceDescriptor) Descriptor() ([]byte, []int) { 1219 return fileDescriptor_15c91f0b8d6bf3d0, []int{24} 1220 } 1221 func (m *QueryServiceDescriptor) XXX_Unmarshal(b []byte) error { 1222 return m.Unmarshal(b) 1223 } 1224 func (m *QueryServiceDescriptor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1225 if deterministic { 1226 return xxx_messageInfo_QueryServiceDescriptor.Marshal(b, m, deterministic) 1227 } else { 1228 b = b[:cap(b)] 1229 n, err := m.MarshalToSizedBuffer(b) 1230 if err != nil { 1231 return nil, err 1232 } 1233 return b[:n], nil 1234 } 1235 } 1236 func (m *QueryServiceDescriptor) XXX_Merge(src proto.Message) { 1237 xxx_messageInfo_QueryServiceDescriptor.Merge(m, src) 1238 } 1239 func (m *QueryServiceDescriptor) XXX_Size() int { 1240 return m.Size() 1241 } 1242 func (m *QueryServiceDescriptor) XXX_DiscardUnknown() { 1243 xxx_messageInfo_QueryServiceDescriptor.DiscardUnknown(m) 1244 } 1245 1246 var xxx_messageInfo_QueryServiceDescriptor proto.InternalMessageInfo 1247 1248 func (m *QueryServiceDescriptor) GetFullname() string { 1249 if m != nil { 1250 return m.Fullname 1251 } 1252 return "" 1253 } 1254 1255 func (m *QueryServiceDescriptor) GetIsModule() bool { 1256 if m != nil { 1257 return m.IsModule 1258 } 1259 return false 1260 } 1261 1262 func (m *QueryServiceDescriptor) GetMethods() []*QueryMethodDescriptor { 1263 if m != nil { 1264 return m.Methods 1265 } 1266 return nil 1267 } 1268 1269 // QueryMethodDescriptor describes a queryable method of a query service 1270 // no other info is provided beside method name and tendermint queryable path 1271 // because it would be redundant with the grpc reflection service 1272 type QueryMethodDescriptor struct { 1273 // name is the protobuf name (not fullname) of the method 1274 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 1275 // full_query_path is the path that can be used to query 1276 // this method via tendermint abci.Query 1277 FullQueryPath string `protobuf:"bytes,2,opt,name=full_query_path,json=fullQueryPath,proto3" json:"full_query_path,omitempty"` 1278 } 1279 1280 func (m *QueryMethodDescriptor) Reset() { *m = QueryMethodDescriptor{} } 1281 func (m *QueryMethodDescriptor) String() string { return proto.CompactTextString(m) } 1282 func (*QueryMethodDescriptor) ProtoMessage() {} 1283 func (*QueryMethodDescriptor) Descriptor() ([]byte, []int) { 1284 return fileDescriptor_15c91f0b8d6bf3d0, []int{25} 1285 } 1286 func (m *QueryMethodDescriptor) XXX_Unmarshal(b []byte) error { 1287 return m.Unmarshal(b) 1288 } 1289 func (m *QueryMethodDescriptor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 1290 if deterministic { 1291 return xxx_messageInfo_QueryMethodDescriptor.Marshal(b, m, deterministic) 1292 } else { 1293 b = b[:cap(b)] 1294 n, err := m.MarshalToSizedBuffer(b) 1295 if err != nil { 1296 return nil, err 1297 } 1298 return b[:n], nil 1299 } 1300 } 1301 func (m *QueryMethodDescriptor) XXX_Merge(src proto.Message) { 1302 xxx_messageInfo_QueryMethodDescriptor.Merge(m, src) 1303 } 1304 func (m *QueryMethodDescriptor) XXX_Size() int { 1305 return m.Size() 1306 } 1307 func (m *QueryMethodDescriptor) XXX_DiscardUnknown() { 1308 xxx_messageInfo_QueryMethodDescriptor.DiscardUnknown(m) 1309 } 1310 1311 var xxx_messageInfo_QueryMethodDescriptor proto.InternalMessageInfo 1312 1313 func (m *QueryMethodDescriptor) GetName() string { 1314 if m != nil { 1315 return m.Name 1316 } 1317 return "" 1318 } 1319 1320 func (m *QueryMethodDescriptor) GetFullQueryPath() string { 1321 if m != nil { 1322 return m.FullQueryPath 1323 } 1324 return "" 1325 } 1326 1327 func init() { 1328 proto.RegisterType((*AppDescriptor)(nil), "cosmos.base.reflection.v2alpha1.AppDescriptor") 1329 proto.RegisterType((*TxDescriptor)(nil), "cosmos.base.reflection.v2alpha1.TxDescriptor") 1330 proto.RegisterType((*AuthnDescriptor)(nil), "cosmos.base.reflection.v2alpha1.AuthnDescriptor") 1331 proto.RegisterType((*SigningModeDescriptor)(nil), "cosmos.base.reflection.v2alpha1.SigningModeDescriptor") 1332 proto.RegisterType((*ChainDescriptor)(nil), "cosmos.base.reflection.v2alpha1.ChainDescriptor") 1333 proto.RegisterType((*CodecDescriptor)(nil), "cosmos.base.reflection.v2alpha1.CodecDescriptor") 1334 proto.RegisterType((*InterfaceDescriptor)(nil), "cosmos.base.reflection.v2alpha1.InterfaceDescriptor") 1335 proto.RegisterType((*InterfaceImplementerDescriptor)(nil), "cosmos.base.reflection.v2alpha1.InterfaceImplementerDescriptor") 1336 proto.RegisterType((*InterfaceAcceptingMessageDescriptor)(nil), "cosmos.base.reflection.v2alpha1.InterfaceAcceptingMessageDescriptor") 1337 proto.RegisterType((*ConfigurationDescriptor)(nil), "cosmos.base.reflection.v2alpha1.ConfigurationDescriptor") 1338 proto.RegisterType((*MsgDescriptor)(nil), "cosmos.base.reflection.v2alpha1.MsgDescriptor") 1339 proto.RegisterType((*GetAuthnDescriptorRequest)(nil), "cosmos.base.reflection.v2alpha1.GetAuthnDescriptorRequest") 1340 proto.RegisterType((*GetAuthnDescriptorResponse)(nil), "cosmos.base.reflection.v2alpha1.GetAuthnDescriptorResponse") 1341 proto.RegisterType((*GetChainDescriptorRequest)(nil), "cosmos.base.reflection.v2alpha1.GetChainDescriptorRequest") 1342 proto.RegisterType((*GetChainDescriptorResponse)(nil), "cosmos.base.reflection.v2alpha1.GetChainDescriptorResponse") 1343 proto.RegisterType((*GetCodecDescriptorRequest)(nil), "cosmos.base.reflection.v2alpha1.GetCodecDescriptorRequest") 1344 proto.RegisterType((*GetCodecDescriptorResponse)(nil), "cosmos.base.reflection.v2alpha1.GetCodecDescriptorResponse") 1345 proto.RegisterType((*GetConfigurationDescriptorRequest)(nil), "cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorRequest") 1346 proto.RegisterType((*GetConfigurationDescriptorResponse)(nil), "cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorResponse") 1347 proto.RegisterType((*GetQueryServicesDescriptorRequest)(nil), "cosmos.base.reflection.v2alpha1.GetQueryServicesDescriptorRequest") 1348 proto.RegisterType((*GetQueryServicesDescriptorResponse)(nil), "cosmos.base.reflection.v2alpha1.GetQueryServicesDescriptorResponse") 1349 proto.RegisterType((*GetTxDescriptorRequest)(nil), "cosmos.base.reflection.v2alpha1.GetTxDescriptorRequest") 1350 proto.RegisterType((*GetTxDescriptorResponse)(nil), "cosmos.base.reflection.v2alpha1.GetTxDescriptorResponse") 1351 proto.RegisterType((*QueryServicesDescriptor)(nil), "cosmos.base.reflection.v2alpha1.QueryServicesDescriptor") 1352 proto.RegisterType((*QueryServiceDescriptor)(nil), "cosmos.base.reflection.v2alpha1.QueryServiceDescriptor") 1353 proto.RegisterType((*QueryMethodDescriptor)(nil), "cosmos.base.reflection.v2alpha1.QueryMethodDescriptor") 1354 } 1355 1356 func init() { 1357 proto.RegisterFile("cosmos/base/reflection/v2alpha1/reflection.proto", fileDescriptor_15c91f0b8d6bf3d0) 1358 } 1359 1360 var fileDescriptor_15c91f0b8d6bf3d0 = []byte{ 1361 // 1160 bytes of a gzipped FileDescriptorProto 1362 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x58, 0xcf, 0x6f, 0x1b, 0x45, 1363 0x14, 0xce, 0x3a, 0xbf, 0x5f, 0x9b, 0x46, 0x0c, 0x24, 0x71, 0xdd, 0xe2, 0xa6, 0x1b, 0x09, 0xf5, 1364 0x52, 0x6f, 0x93, 0x46, 0x69, 0x55, 0x5a, 0x2a, 0xa7, 0x21, 0x55, 0x24, 0x82, 0x82, 0x93, 0x0a, 1365 0x84, 0x50, 0x57, 0xeb, 0xdd, 0xf1, 0x7a, 0x84, 0xf7, 0x47, 0x76, 0xc6, 0xc1, 0xb9, 0x72, 0xe0, 1366 0x0c, 0xe2, 0x4f, 0xe0, 0xc0, 0x9d, 0xbf, 0x02, 0xc1, 0xa5, 0x12, 0x17, 0x8e, 0x28, 0x41, 0xe2, 1367 0x00, 0x7f, 0x04, 0x9a, 0x1f, 0x76, 0xc6, 0xce, 0xae, 0xbd, 0x49, 0x7a, 0xf3, 0xec, 0x7b, 0xef, 1368 0x9b, 0xef, 0x7b, 0x3b, 0x7a, 0xdf, 0xac, 0xe1, 0x81, 0x1b, 0xd1, 0x20, 0xa2, 0x56, 0xdd, 0xa1, 1369 0xd8, 0x4a, 0x70, 0xa3, 0x85, 0x5d, 0x46, 0xa2, 0xd0, 0x3a, 0x5a, 0x73, 0x5a, 0x71, 0xd3, 0x59, 1370 0xd5, 0x9e, 0x55, 0xe2, 0x24, 0x62, 0x11, 0xba, 0x23, 0x2b, 0x2a, 0xbc, 0xa2, 0xa2, 0x45, 0xbb, 1371 0x15, 0xa5, 0xdb, 0x7e, 0x14, 0xf9, 0x2d, 0x6c, 0x39, 0x31, 0xb1, 0x9c, 0x30, 0x8c, 0x98, 0xc3, 1372 0xe3, 0x54, 0x96, 0x9b, 0xff, 0x8c, 0xc3, 0x5c, 0x35, 0x8e, 0xb7, 0x30, 0x75, 0x13, 0x12, 0xb3, 1373 0x28, 0x41, 0xdb, 0x30, 0xe9, 0xb4, 0x59, 0x33, 0x2c, 0x1a, 0xcb, 0xc6, 0xbd, 0x6b, 0x6b, 0x0f, 1374 0x2a, 0x23, 0x36, 0xa8, 0x54, 0x79, 0xf6, 0x19, 0x40, 0x4d, 0x96, 0x73, 0x1c, 0xb7, 0xe9, 0x90, 1375 0xb0, 0x58, 0xc8, 0x89, 0xf3, 0x82, 0x67, 0xeb, 0x38, 0xa2, 0x5c, 0xe0, 0x44, 0x1e, 0x76, 0x8b, 1376 0xe3, 0x79, 0x71, 0x78, 0x76, 0x1f, 0x0e, 0x7f, 0x80, 0x5e, 0xc3, 0x9c, 0x1b, 0x85, 0x0d, 0xe2, 1377 0xb7, 0x13, 0xd1, 0x81, 0xe2, 0x84, 0xc0, 0x7b, 0x9c, 0x03, 0x4f, 0xab, 0xd2, 0x70, 0xfb, 0xe1, 1378 0x90, 0x0d, 0x37, 0x0e, 0xdb, 0x38, 0x39, 0xb6, 0x29, 0x4e, 0x8e, 0x88, 0x8b, 0x69, 0x71, 0x32, 1379 0xe7, 0x06, 0x9f, 0xf1, 0xb2, 0x7d, 0x55, 0xa5, 0x6f, 0x70, 0xa8, 0x07, 0xd0, 0x33, 0x28, 0xb0, 1380 0x4e, 0x71, 0x4a, 0x80, 0xde, 0x1f, 0x09, 0x7a, 0xd0, 0xd1, 0x90, 0x0a, 0xac, 0x63, 0x86, 0x70, 1381 0x5d, 0x7f, 0x86, 0x4a, 0x30, 0xd3, 0x68, 0xb7, 0x5a, 0xa1, 0x13, 0x60, 0xf1, 0xaa, 0x67, 0x6b, 1382 0xbd, 0x35, 0xda, 0x84, 0x89, 0x80, 0xfa, 0xb4, 0x58, 0x58, 0x1e, 0xbf, 0x77, 0x6d, 0xad, 0x32, 1383 0x72, 0xb3, 0x5d, 0xea, 0x6b, 0xbb, 0x89, 0x5a, 0xb3, 0x09, 0xf3, 0x03, 0x27, 0x03, 0xbd, 0x02, 1384 0xa0, 0xc4, 0x0f, 0xed, 0x20, 0xf2, 0x30, 0x2d, 0x1a, 0x02, 0x7c, 0x63, 0x24, 0xf8, 0x3e, 0xf1, 1385 0x43, 0x12, 0xfa, 0xbb, 0x91, 0x87, 0xb5, 0x4d, 0x66, 0x39, 0x12, 0x7f, 0x46, 0xcd, 0x1f, 0x0c, 1386 0x58, 0x48, 0x4d, 0x42, 0x08, 0x26, 0x34, 0x7d, 0xe2, 0x37, 0x5a, 0x84, 0xa9, 0xb0, 0x1d, 0xd4, 1387 0x71, 0x22, 0x0e, 0xe6, 0x64, 0x4d, 0xad, 0xd0, 0x27, 0xb0, 0x22, 0x0e, 0xae, 0x4d, 0xc2, 0x46, 1388 0x64, 0xc7, 0x49, 0x74, 0x44, 0x3c, 0x9c, 0xd8, 0x01, 0x66, 0xcd, 0xc8, 0xb3, 0x7b, 0xad, 0x1a, 1389 0x17, 0x50, 0x77, 0x44, 0xea, 0x4e, 0xd8, 0x88, 0xf6, 0x54, 0xe2, 0xae, 0xc8, 0xdb, 0x56, 0x69, 1390 0xe6, 0x5d, 0x98, 0x1f, 0x38, 0xcf, 0xe8, 0x06, 0x14, 0x88, 0xa7, 0xa8, 0x14, 0x88, 0x67, 0xfa, 1391 0x30, 0x3f, 0x70, 0x54, 0xd1, 0x01, 0x00, 0x09, 0x19, 0x4e, 0x1a, 0x8e, 0xdb, 0x6b, 0xd0, 0xfa, 1392 0xc8, 0x06, 0xed, 0x74, 0x4b, 0xb4, 0xf6, 0x68, 0x38, 0xe6, 0x2f, 0x05, 0x78, 0x37, 0x25, 0x67, 1393 0xe8, 0x09, 0xf8, 0xce, 0x80, 0xdb, 0x3d, 0x08, 0xdb, 0x71, 0x5d, 0x1c, 0x33, 0x12, 0xfa, 0x76, 1394 0x80, 0x29, 0x75, 0x7c, 0xdc, 0x3d, 0x1a, 0x5b, 0xf9, 0xc9, 0x55, 0xbb, 0x18, 0xbb, 0x12, 0x42, 1395 0x23, 0x5b, 0x22, 0x59, 0x49, 0x14, 0x1d, 0xc1, 0xe2, 0x19, 0x0f, 0x12, 0xc4, 0x2d, 0x1c, 0x60, 1396 0xbe, 0xa6, 0xc5, 0x71, 0xc1, 0xe0, 0x79, 0x7e, 0x06, 0x3b, 0x67, 0xd5, 0xda, 0xe6, 0x0b, 0x24, 1397 0x25, 0x4e, 0xcd, 0xcf, 0xa1, 0x3c, 0xbc, 0x70, 0x68, 0xfb, 0x6e, 0xc2, 0x0c, 0x3b, 0x8e, 0xb1, 1398 0xdd, 0x4e, 0x5a, 0xe2, 0x98, 0xcd, 0xd6, 0xa6, 0xf9, 0xfa, 0x55, 0xd2, 0x32, 0xbf, 0x81, 0x95, 1399 0x1c, 0x3d, 0x19, 0x8a, 0xbe, 0x0e, 0x8b, 0x0d, 0x82, 0x5b, 0x9e, 0xed, 0xf5, 0xf2, 0x6d, 0x1e, 1400 0x90, 0x6f, 0x65, 0xb6, 0xf6, 0x9e, 0x88, 0x9e, 0x81, 0x7d, 0xca, 0x63, 0xe6, 0x57, 0xb0, 0x94, 1401 0x31, 0xca, 0x50, 0x15, 0xde, 0xaf, 0x63, 0xb7, 0xf9, 0x70, 0x8d, 0xbf, 0xe9, 0xa8, 0x1d, 0x32, 1402 0xdb, 0xf1, 0xbc, 0x04, 0x53, 0x6a, 0xc7, 0x09, 0x6e, 0x90, 0x8e, 0x62, 0x50, 0x92, 0x49, 0x55, 1403 0x99, 0x53, 0x95, 0x29, 0x7b, 0x22, 0xc3, 0x5c, 0x85, 0xb9, 0xbe, 0x29, 0x80, 0x96, 0xe1, 0x7a, 1404 0x40, 0x7d, 0xbb, 0xd7, 0x06, 0x09, 0x01, 0x01, 0xf5, 0x0f, 0x54, 0x27, 0x6e, 0xc1, 0xcd, 0x97, 1405 0x98, 0x0d, 0xda, 0x07, 0x3e, 0x6c, 0x63, 0xca, 0x4c, 0x0f, 0x4a, 0x69, 0x41, 0x1a, 0x47, 0x21, 1406 0xc5, 0x6f, 0xcb, 0xa4, 0x14, 0x85, 0x41, 0xe7, 0xe9, 0xa3, 0x70, 0x2e, 0x78, 0x46, 0x41, 0xfa, 1407 0x9b, 0x71, 0x25, 0x7f, 0xeb, 0x52, 0x18, 0x30, 0xad, 0x7e, 0x0a, 0x83, 0x41, 0x8d, 0x82, 0xb0, 1408 0x46, 0xe3, 0x4a, 0xd6, 0x68, 0xae, 0xc0, 0x5d, 0xb1, 0x4b, 0xba, 0xcf, 0x29, 0x2a, 0x47, 0x60, 1409 0x0e, 0x4b, 0x52, 0x94, 0xf6, 0x60, 0x4a, 0xda, 0xa2, 0xe2, 0x74, 0x79, 0x7b, 0x55, 0x38, 0x8a, 1410 0x5c, 0x96, 0x47, 0x2a, 0x72, 0x1d, 0x41, 0x2e, 0x33, 0x49, 0x91, 0xab, 0xc1, 0x34, 0xb7, 0x54, 1411 0x22, 0x66, 0xeb, 0xd5, 0xbc, 0xb9, 0x0b, 0x64, 0x16, 0x61, 0xf1, 0x25, 0x66, 0x7d, 0x6e, 0xab, 1412 0x38, 0x7d, 0x01, 0x4b, 0xe7, 0x22, 0x8a, 0x88, 0xb4, 0x72, 0xe3, 0xb2, 0x56, 0x7e, 0x0c, 0x4b, 1413 0x19, 0xbc, 0xd0, 0xeb, 0x73, 0xb7, 0x10, 0xe9, 0x22, 0x8f, 0x2e, 0xa4, 0x34, 0xf3, 0x12, 0x62, 1414 0xfe, 0x64, 0xc0, 0x62, 0x7a, 0xe6, 0xd0, 0x89, 0x75, 0x0b, 0x66, 0x09, 0xe5, 0xbe, 0xdf, 0x6e, 1415 0x61, 0x31, 0x10, 0x67, 0x6a, 0x33, 0x84, 0xee, 0x8a, 0x35, 0xda, 0x83, 0x69, 0xe9, 0xb2, 0xdd, 1416 0x99, 0xbe, 0x91, 0x8f, 0xac, 0xb4, 0x5c, 0xfd, 0xa5, 0x28, 0x18, 0x73, 0x1f, 0x16, 0x52, 0x33, 1417 0x52, 0x2f, 0x04, 0x1f, 0xc0, 0x3c, 0xe7, 0x69, 0xcb, 0xbe, 0xc5, 0x0e, 0x6b, 0xaa, 0x91, 0x3d, 1418 0xc7, 0x1f, 0x0b, 0x9c, 0x3d, 0x87, 0x35, 0xd7, 0x7e, 0x06, 0x78, 0xa7, 0xd6, 0xe3, 0xa2, 0xf4, 1419 0xa3, 0xdf, 0x0d, 0x40, 0xe7, 0x07, 0x15, 0x7a, 0x32, 0x52, 0x42, 0xe6, 0xe8, 0x2b, 0x7d, 0x78, 1420 0xa9, 0x5a, 0x79, 0xb4, 0xcc, 0xa7, 0xdf, 0xfe, 0xf1, 0xf7, 0x8f, 0x85, 0x0d, 0xb4, 0x6e, 0x65, 1421 0x7d, 0x4a, 0xac, 0xd6, 0x31, 0x73, 0x56, 0x2d, 0x27, 0x8e, 0x35, 0xff, 0xb0, 0xe4, 0xa5, 0x5d, 1422 0xa9, 0x19, 0xbc, 0xba, 0xe4, 0x52, 0x93, 0x3e, 0x45, 0xf3, 0xa9, 0xc9, 0x18, 0xb2, 0x97, 0x56, 1423 0x23, 0x3f, 0x1d, 0xba, 0x6a, 0x06, 0x6e, 0x59, 0xf9, 0xd4, 0xa4, 0x0e, 0xe4, 0x9c, 0x6a, 0xd2, 1424 0xe7, 0xf5, 0xe5, 0xd5, 0x88, 0x0f, 0x98, 0x7f, 0x0d, 0x65, 0x06, 0xe9, 0x1e, 0xbe, 0x99, 0x8f, 1425 0xd9, 0xb0, 0x19, 0x5f, 0x7a, 0x71, 0x25, 0x0c, 0xa5, 0x72, 0x4b, 0xa8, 0xfc, 0x08, 0x3d, 0xbd, 1426 0xb0, 0x4a, 0xfd, 0x73, 0xea, 0x3f, 0xa9, 0x36, 0x6b, 0xce, 0xe5, 0x52, 0x3b, 0xdc, 0x34, 0xf2, 1427 0xa9, 0x1d, 0xe1, 0x29, 0xe6, 0xc7, 0x42, 0xed, 0x73, 0xf4, 0xec, 0x82, 0x6a, 0xfb, 0xa7, 0x34, 1428 0xfa, 0xcd, 0x80, 0xf9, 0x01, 0xb7, 0x40, 0x8f, 0xf2, 0xf0, 0x4b, 0x71, 0x9e, 0xd2, 0xe3, 0x8b, 1429 0x17, 0x5e, 0xf1, 0xdd, 0xb1, 0x8e, 0xb6, 0xda, 0x3c, 0xf8, 0xf5, 0xa4, 0x6c, 0xbc, 0x39, 0x29, 1430 0x1b, 0x7f, 0x9d, 0x94, 0x8d, 0xef, 0x4f, 0xcb, 0x63, 0x6f, 0x4e, 0xcb, 0x63, 0x7f, 0x9e, 0x96, 1431 0xc7, 0xbe, 0x7c, 0xe2, 0x13, 0xd6, 0x6c, 0xd7, 0x2b, 0x6e, 0x14, 0x58, 0xdb, 0x24, 0xa4, 0x6e, 1432 0x93, 0x38, 0x56, 0x43, 0xfd, 0xb8, 0x4f, 0xbd, 0xaf, 0x2d, 0xde, 0x11, 0x9c, 0x58, 0x7e, 0x12, 1433 0xbb, 0xfd, 0x7f, 0x80, 0xd4, 0xa7, 0xc4, 0x3f, 0x16, 0x0f, 0xff, 0x0f, 0x00, 0x00, 0xff, 0xff, 1434 0xe2, 0x51, 0xa9, 0xfb, 0x24, 0x11, 0x00, 0x00, 1435 } 1436 1437 // Reference imports to suppress errors if they are not otherwise used. 1438 var _ context.Context 1439 var _ grpc.ClientConn 1440 1441 // This is a compile-time assertion to ensure that this generated file 1442 // is compatible with the grpc package it is being compiled against. 1443 const _ = grpc.SupportPackageIsVersion4 1444 1445 // ReflectionServiceClient is the client API for ReflectionService service. 1446 // 1447 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 1448 type ReflectionServiceClient interface { 1449 // GetAuthnDescriptor returns information on how to authenticate transactions in the application 1450 // NOTE: this RPC is still experimental and might be subject to breaking changes or removal in 1451 // future releases of the cosmos-sdk. 1452 GetAuthnDescriptor(ctx context.Context, in *GetAuthnDescriptorRequest, opts ...grpc.CallOption) (*GetAuthnDescriptorResponse, error) 1453 // GetChainDescriptor returns the description of the chain 1454 GetChainDescriptor(ctx context.Context, in *GetChainDescriptorRequest, opts ...grpc.CallOption) (*GetChainDescriptorResponse, error) 1455 // GetCodecDescriptor returns the descriptor of the codec of the application 1456 GetCodecDescriptor(ctx context.Context, in *GetCodecDescriptorRequest, opts ...grpc.CallOption) (*GetCodecDescriptorResponse, error) 1457 // GetConfigurationDescriptor returns the descriptor for the sdk.Config of the application 1458 GetConfigurationDescriptor(ctx context.Context, in *GetConfigurationDescriptorRequest, opts ...grpc.CallOption) (*GetConfigurationDescriptorResponse, error) 1459 // GetQueryServicesDescriptor returns the available gRPC queryable services of the application 1460 GetQueryServicesDescriptor(ctx context.Context, in *GetQueryServicesDescriptorRequest, opts ...grpc.CallOption) (*GetQueryServicesDescriptorResponse, error) 1461 // GetTxDescriptor returns information on the used transaction object and available msgs that can be used 1462 GetTxDescriptor(ctx context.Context, in *GetTxDescriptorRequest, opts ...grpc.CallOption) (*GetTxDescriptorResponse, error) 1463 } 1464 1465 type reflectionServiceClient struct { 1466 cc grpc1.ClientConn 1467 } 1468 1469 func NewReflectionServiceClient(cc grpc1.ClientConn) ReflectionServiceClient { 1470 return &reflectionServiceClient{cc} 1471 } 1472 1473 func (c *reflectionServiceClient) GetAuthnDescriptor(ctx context.Context, in *GetAuthnDescriptorRequest, opts ...grpc.CallOption) (*GetAuthnDescriptorResponse, error) { 1474 out := new(GetAuthnDescriptorResponse) 1475 err := c.cc.Invoke(ctx, "/cosmos.base.reflection.v2alpha1.ReflectionService/GetAuthnDescriptor", in, out, opts...) 1476 if err != nil { 1477 return nil, err 1478 } 1479 return out, nil 1480 } 1481 1482 func (c *reflectionServiceClient) GetChainDescriptor(ctx context.Context, in *GetChainDescriptorRequest, opts ...grpc.CallOption) (*GetChainDescriptorResponse, error) { 1483 out := new(GetChainDescriptorResponse) 1484 err := c.cc.Invoke(ctx, "/cosmos.base.reflection.v2alpha1.ReflectionService/GetChainDescriptor", in, out, opts...) 1485 if err != nil { 1486 return nil, err 1487 } 1488 return out, nil 1489 } 1490 1491 func (c *reflectionServiceClient) GetCodecDescriptor(ctx context.Context, in *GetCodecDescriptorRequest, opts ...grpc.CallOption) (*GetCodecDescriptorResponse, error) { 1492 out := new(GetCodecDescriptorResponse) 1493 err := c.cc.Invoke(ctx, "/cosmos.base.reflection.v2alpha1.ReflectionService/GetCodecDescriptor", in, out, opts...) 1494 if err != nil { 1495 return nil, err 1496 } 1497 return out, nil 1498 } 1499 1500 func (c *reflectionServiceClient) GetConfigurationDescriptor(ctx context.Context, in *GetConfigurationDescriptorRequest, opts ...grpc.CallOption) (*GetConfigurationDescriptorResponse, error) { 1501 out := new(GetConfigurationDescriptorResponse) 1502 err := c.cc.Invoke(ctx, "/cosmos.base.reflection.v2alpha1.ReflectionService/GetConfigurationDescriptor", in, out, opts...) 1503 if err != nil { 1504 return nil, err 1505 } 1506 return out, nil 1507 } 1508 1509 func (c *reflectionServiceClient) GetQueryServicesDescriptor(ctx context.Context, in *GetQueryServicesDescriptorRequest, opts ...grpc.CallOption) (*GetQueryServicesDescriptorResponse, error) { 1510 out := new(GetQueryServicesDescriptorResponse) 1511 err := c.cc.Invoke(ctx, "/cosmos.base.reflection.v2alpha1.ReflectionService/GetQueryServicesDescriptor", in, out, opts...) 1512 if err != nil { 1513 return nil, err 1514 } 1515 return out, nil 1516 } 1517 1518 func (c *reflectionServiceClient) GetTxDescriptor(ctx context.Context, in *GetTxDescriptorRequest, opts ...grpc.CallOption) (*GetTxDescriptorResponse, error) { 1519 out := new(GetTxDescriptorResponse) 1520 err := c.cc.Invoke(ctx, "/cosmos.base.reflection.v2alpha1.ReflectionService/GetTxDescriptor", in, out, opts...) 1521 if err != nil { 1522 return nil, err 1523 } 1524 return out, nil 1525 } 1526 1527 // ReflectionServiceServer is the server API for ReflectionService service. 1528 type ReflectionServiceServer interface { 1529 // GetAuthnDescriptor returns information on how to authenticate transactions in the application 1530 // NOTE: this RPC is still experimental and might be subject to breaking changes or removal in 1531 // future releases of the cosmos-sdk. 1532 GetAuthnDescriptor(context.Context, *GetAuthnDescriptorRequest) (*GetAuthnDescriptorResponse, error) 1533 // GetChainDescriptor returns the description of the chain 1534 GetChainDescriptor(context.Context, *GetChainDescriptorRequest) (*GetChainDescriptorResponse, error) 1535 // GetCodecDescriptor returns the descriptor of the codec of the application 1536 GetCodecDescriptor(context.Context, *GetCodecDescriptorRequest) (*GetCodecDescriptorResponse, error) 1537 // GetConfigurationDescriptor returns the descriptor for the sdk.Config of the application 1538 GetConfigurationDescriptor(context.Context, *GetConfigurationDescriptorRequest) (*GetConfigurationDescriptorResponse, error) 1539 // GetQueryServicesDescriptor returns the available gRPC queryable services of the application 1540 GetQueryServicesDescriptor(context.Context, *GetQueryServicesDescriptorRequest) (*GetQueryServicesDescriptorResponse, error) 1541 // GetTxDescriptor returns information on the used transaction object and available msgs that can be used 1542 GetTxDescriptor(context.Context, *GetTxDescriptorRequest) (*GetTxDescriptorResponse, error) 1543 } 1544 1545 // UnimplementedReflectionServiceServer can be embedded to have forward compatible implementations. 1546 type UnimplementedReflectionServiceServer struct { 1547 } 1548 1549 func (*UnimplementedReflectionServiceServer) GetAuthnDescriptor(ctx context.Context, req *GetAuthnDescriptorRequest) (*GetAuthnDescriptorResponse, error) { 1550 return nil, status.Errorf(codes.Unimplemented, "method GetAuthnDescriptor not implemented") 1551 } 1552 func (*UnimplementedReflectionServiceServer) GetChainDescriptor(ctx context.Context, req *GetChainDescriptorRequest) (*GetChainDescriptorResponse, error) { 1553 return nil, status.Errorf(codes.Unimplemented, "method GetChainDescriptor not implemented") 1554 } 1555 func (*UnimplementedReflectionServiceServer) GetCodecDescriptor(ctx context.Context, req *GetCodecDescriptorRequest) (*GetCodecDescriptorResponse, error) { 1556 return nil, status.Errorf(codes.Unimplemented, "method GetCodecDescriptor not implemented") 1557 } 1558 func (*UnimplementedReflectionServiceServer) GetConfigurationDescriptor(ctx context.Context, req *GetConfigurationDescriptorRequest) (*GetConfigurationDescriptorResponse, error) { 1559 return nil, status.Errorf(codes.Unimplemented, "method GetConfigurationDescriptor not implemented") 1560 } 1561 func (*UnimplementedReflectionServiceServer) GetQueryServicesDescriptor(ctx context.Context, req *GetQueryServicesDescriptorRequest) (*GetQueryServicesDescriptorResponse, error) { 1562 return nil, status.Errorf(codes.Unimplemented, "method GetQueryServicesDescriptor not implemented") 1563 } 1564 func (*UnimplementedReflectionServiceServer) GetTxDescriptor(ctx context.Context, req *GetTxDescriptorRequest) (*GetTxDescriptorResponse, error) { 1565 return nil, status.Errorf(codes.Unimplemented, "method GetTxDescriptor not implemented") 1566 } 1567 1568 func RegisterReflectionServiceServer(s grpc1.Server, srv ReflectionServiceServer) { 1569 s.RegisterService(&_ReflectionService_serviceDesc, srv) 1570 } 1571 1572 func _ReflectionService_GetAuthnDescriptor_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1573 in := new(GetAuthnDescriptorRequest) 1574 if err := dec(in); err != nil { 1575 return nil, err 1576 } 1577 if interceptor == nil { 1578 return srv.(ReflectionServiceServer).GetAuthnDescriptor(ctx, in) 1579 } 1580 info := &grpc.UnaryServerInfo{ 1581 Server: srv, 1582 FullMethod: "/cosmos.base.reflection.v2alpha1.ReflectionService/GetAuthnDescriptor", 1583 } 1584 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1585 return srv.(ReflectionServiceServer).GetAuthnDescriptor(ctx, req.(*GetAuthnDescriptorRequest)) 1586 } 1587 return interceptor(ctx, in, info, handler) 1588 } 1589 1590 func _ReflectionService_GetChainDescriptor_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1591 in := new(GetChainDescriptorRequest) 1592 if err := dec(in); err != nil { 1593 return nil, err 1594 } 1595 if interceptor == nil { 1596 return srv.(ReflectionServiceServer).GetChainDescriptor(ctx, in) 1597 } 1598 info := &grpc.UnaryServerInfo{ 1599 Server: srv, 1600 FullMethod: "/cosmos.base.reflection.v2alpha1.ReflectionService/GetChainDescriptor", 1601 } 1602 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1603 return srv.(ReflectionServiceServer).GetChainDescriptor(ctx, req.(*GetChainDescriptorRequest)) 1604 } 1605 return interceptor(ctx, in, info, handler) 1606 } 1607 1608 func _ReflectionService_GetCodecDescriptor_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1609 in := new(GetCodecDescriptorRequest) 1610 if err := dec(in); err != nil { 1611 return nil, err 1612 } 1613 if interceptor == nil { 1614 return srv.(ReflectionServiceServer).GetCodecDescriptor(ctx, in) 1615 } 1616 info := &grpc.UnaryServerInfo{ 1617 Server: srv, 1618 FullMethod: "/cosmos.base.reflection.v2alpha1.ReflectionService/GetCodecDescriptor", 1619 } 1620 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1621 return srv.(ReflectionServiceServer).GetCodecDescriptor(ctx, req.(*GetCodecDescriptorRequest)) 1622 } 1623 return interceptor(ctx, in, info, handler) 1624 } 1625 1626 func _ReflectionService_GetConfigurationDescriptor_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1627 in := new(GetConfigurationDescriptorRequest) 1628 if err := dec(in); err != nil { 1629 return nil, err 1630 } 1631 if interceptor == nil { 1632 return srv.(ReflectionServiceServer).GetConfigurationDescriptor(ctx, in) 1633 } 1634 info := &grpc.UnaryServerInfo{ 1635 Server: srv, 1636 FullMethod: "/cosmos.base.reflection.v2alpha1.ReflectionService/GetConfigurationDescriptor", 1637 } 1638 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1639 return srv.(ReflectionServiceServer).GetConfigurationDescriptor(ctx, req.(*GetConfigurationDescriptorRequest)) 1640 } 1641 return interceptor(ctx, in, info, handler) 1642 } 1643 1644 func _ReflectionService_GetQueryServicesDescriptor_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1645 in := new(GetQueryServicesDescriptorRequest) 1646 if err := dec(in); err != nil { 1647 return nil, err 1648 } 1649 if interceptor == nil { 1650 return srv.(ReflectionServiceServer).GetQueryServicesDescriptor(ctx, in) 1651 } 1652 info := &grpc.UnaryServerInfo{ 1653 Server: srv, 1654 FullMethod: "/cosmos.base.reflection.v2alpha1.ReflectionService/GetQueryServicesDescriptor", 1655 } 1656 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1657 return srv.(ReflectionServiceServer).GetQueryServicesDescriptor(ctx, req.(*GetQueryServicesDescriptorRequest)) 1658 } 1659 return interceptor(ctx, in, info, handler) 1660 } 1661 1662 func _ReflectionService_GetTxDescriptor_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1663 in := new(GetTxDescriptorRequest) 1664 if err := dec(in); err != nil { 1665 return nil, err 1666 } 1667 if interceptor == nil { 1668 return srv.(ReflectionServiceServer).GetTxDescriptor(ctx, in) 1669 } 1670 info := &grpc.UnaryServerInfo{ 1671 Server: srv, 1672 FullMethod: "/cosmos.base.reflection.v2alpha1.ReflectionService/GetTxDescriptor", 1673 } 1674 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1675 return srv.(ReflectionServiceServer).GetTxDescriptor(ctx, req.(*GetTxDescriptorRequest)) 1676 } 1677 return interceptor(ctx, in, info, handler) 1678 } 1679 1680 var _ReflectionService_serviceDesc = grpc.ServiceDesc{ 1681 ServiceName: "cosmos.base.reflection.v2alpha1.ReflectionService", 1682 HandlerType: (*ReflectionServiceServer)(nil), 1683 Methods: []grpc.MethodDesc{ 1684 { 1685 MethodName: "GetAuthnDescriptor", 1686 Handler: _ReflectionService_GetAuthnDescriptor_Handler, 1687 }, 1688 { 1689 MethodName: "GetChainDescriptor", 1690 Handler: _ReflectionService_GetChainDescriptor_Handler, 1691 }, 1692 { 1693 MethodName: "GetCodecDescriptor", 1694 Handler: _ReflectionService_GetCodecDescriptor_Handler, 1695 }, 1696 { 1697 MethodName: "GetConfigurationDescriptor", 1698 Handler: _ReflectionService_GetConfigurationDescriptor_Handler, 1699 }, 1700 { 1701 MethodName: "GetQueryServicesDescriptor", 1702 Handler: _ReflectionService_GetQueryServicesDescriptor_Handler, 1703 }, 1704 { 1705 MethodName: "GetTxDescriptor", 1706 Handler: _ReflectionService_GetTxDescriptor_Handler, 1707 }, 1708 }, 1709 Streams: []grpc.StreamDesc{}, 1710 Metadata: "cosmos/base/reflection/v2alpha1/reflection.proto", 1711 } 1712 1713 func (m *AppDescriptor) Marshal() (dAtA []byte, err error) { 1714 size := m.Size() 1715 dAtA = make([]byte, size) 1716 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 1717 if err != nil { 1718 return nil, err 1719 } 1720 return dAtA[:n], nil 1721 } 1722 1723 func (m *AppDescriptor) MarshalTo(dAtA []byte) (int, error) { 1724 size := m.Size() 1725 return m.MarshalToSizedBuffer(dAtA[:size]) 1726 } 1727 1728 func (m *AppDescriptor) MarshalToSizedBuffer(dAtA []byte) (int, error) { 1729 i := len(dAtA) 1730 _ = i 1731 var l int 1732 _ = l 1733 if m.Tx != nil { 1734 { 1735 size, err := m.Tx.MarshalToSizedBuffer(dAtA[:i]) 1736 if err != nil { 1737 return 0, err 1738 } 1739 i -= size 1740 i = encodeVarintReflection(dAtA, i, uint64(size)) 1741 } 1742 i-- 1743 dAtA[i] = 0x32 1744 } 1745 if m.QueryServices != nil { 1746 { 1747 size, err := m.QueryServices.MarshalToSizedBuffer(dAtA[:i]) 1748 if err != nil { 1749 return 0, err 1750 } 1751 i -= size 1752 i = encodeVarintReflection(dAtA, i, uint64(size)) 1753 } 1754 i-- 1755 dAtA[i] = 0x2a 1756 } 1757 if m.Configuration != nil { 1758 { 1759 size, err := m.Configuration.MarshalToSizedBuffer(dAtA[:i]) 1760 if err != nil { 1761 return 0, err 1762 } 1763 i -= size 1764 i = encodeVarintReflection(dAtA, i, uint64(size)) 1765 } 1766 i-- 1767 dAtA[i] = 0x22 1768 } 1769 if m.Codec != nil { 1770 { 1771 size, err := m.Codec.MarshalToSizedBuffer(dAtA[:i]) 1772 if err != nil { 1773 return 0, err 1774 } 1775 i -= size 1776 i = encodeVarintReflection(dAtA, i, uint64(size)) 1777 } 1778 i-- 1779 dAtA[i] = 0x1a 1780 } 1781 if m.Chain != nil { 1782 { 1783 size, err := m.Chain.MarshalToSizedBuffer(dAtA[:i]) 1784 if err != nil { 1785 return 0, err 1786 } 1787 i -= size 1788 i = encodeVarintReflection(dAtA, i, uint64(size)) 1789 } 1790 i-- 1791 dAtA[i] = 0x12 1792 } 1793 if m.Authn != nil { 1794 { 1795 size, err := m.Authn.MarshalToSizedBuffer(dAtA[:i]) 1796 if err != nil { 1797 return 0, err 1798 } 1799 i -= size 1800 i = encodeVarintReflection(dAtA, i, uint64(size)) 1801 } 1802 i-- 1803 dAtA[i] = 0xa 1804 } 1805 return len(dAtA) - i, nil 1806 } 1807 1808 func (m *TxDescriptor) Marshal() (dAtA []byte, err error) { 1809 size := m.Size() 1810 dAtA = make([]byte, size) 1811 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 1812 if err != nil { 1813 return nil, err 1814 } 1815 return dAtA[:n], nil 1816 } 1817 1818 func (m *TxDescriptor) MarshalTo(dAtA []byte) (int, error) { 1819 size := m.Size() 1820 return m.MarshalToSizedBuffer(dAtA[:size]) 1821 } 1822 1823 func (m *TxDescriptor) MarshalToSizedBuffer(dAtA []byte) (int, error) { 1824 i := len(dAtA) 1825 _ = i 1826 var l int 1827 _ = l 1828 if len(m.Msgs) > 0 { 1829 for iNdEx := len(m.Msgs) - 1; iNdEx >= 0; iNdEx-- { 1830 { 1831 size, err := m.Msgs[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 1832 if err != nil { 1833 return 0, err 1834 } 1835 i -= size 1836 i = encodeVarintReflection(dAtA, i, uint64(size)) 1837 } 1838 i-- 1839 dAtA[i] = 0x12 1840 } 1841 } 1842 if len(m.Fullname) > 0 { 1843 i -= len(m.Fullname) 1844 copy(dAtA[i:], m.Fullname) 1845 i = encodeVarintReflection(dAtA, i, uint64(len(m.Fullname))) 1846 i-- 1847 dAtA[i] = 0xa 1848 } 1849 return len(dAtA) - i, nil 1850 } 1851 1852 func (m *AuthnDescriptor) Marshal() (dAtA []byte, err error) { 1853 size := m.Size() 1854 dAtA = make([]byte, size) 1855 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 1856 if err != nil { 1857 return nil, err 1858 } 1859 return dAtA[:n], nil 1860 } 1861 1862 func (m *AuthnDescriptor) MarshalTo(dAtA []byte) (int, error) { 1863 size := m.Size() 1864 return m.MarshalToSizedBuffer(dAtA[:size]) 1865 } 1866 1867 func (m *AuthnDescriptor) MarshalToSizedBuffer(dAtA []byte) (int, error) { 1868 i := len(dAtA) 1869 _ = i 1870 var l int 1871 _ = l 1872 if len(m.SignModes) > 0 { 1873 for iNdEx := len(m.SignModes) - 1; iNdEx >= 0; iNdEx-- { 1874 { 1875 size, err := m.SignModes[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 1876 if err != nil { 1877 return 0, err 1878 } 1879 i -= size 1880 i = encodeVarintReflection(dAtA, i, uint64(size)) 1881 } 1882 i-- 1883 dAtA[i] = 0xa 1884 } 1885 } 1886 return len(dAtA) - i, nil 1887 } 1888 1889 func (m *SigningModeDescriptor) Marshal() (dAtA []byte, err error) { 1890 size := m.Size() 1891 dAtA = make([]byte, size) 1892 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 1893 if err != nil { 1894 return nil, err 1895 } 1896 return dAtA[:n], nil 1897 } 1898 1899 func (m *SigningModeDescriptor) MarshalTo(dAtA []byte) (int, error) { 1900 size := m.Size() 1901 return m.MarshalToSizedBuffer(dAtA[:size]) 1902 } 1903 1904 func (m *SigningModeDescriptor) MarshalToSizedBuffer(dAtA []byte) (int, error) { 1905 i := len(dAtA) 1906 _ = i 1907 var l int 1908 _ = l 1909 if len(m.AuthnInfoProviderMethodFullname) > 0 { 1910 i -= len(m.AuthnInfoProviderMethodFullname) 1911 copy(dAtA[i:], m.AuthnInfoProviderMethodFullname) 1912 i = encodeVarintReflection(dAtA, i, uint64(len(m.AuthnInfoProviderMethodFullname))) 1913 i-- 1914 dAtA[i] = 0x1a 1915 } 1916 if m.Number != 0 { 1917 i = encodeVarintReflection(dAtA, i, uint64(m.Number)) 1918 i-- 1919 dAtA[i] = 0x10 1920 } 1921 if len(m.Name) > 0 { 1922 i -= len(m.Name) 1923 copy(dAtA[i:], m.Name) 1924 i = encodeVarintReflection(dAtA, i, uint64(len(m.Name))) 1925 i-- 1926 dAtA[i] = 0xa 1927 } 1928 return len(dAtA) - i, nil 1929 } 1930 1931 func (m *ChainDescriptor) Marshal() (dAtA []byte, err error) { 1932 size := m.Size() 1933 dAtA = make([]byte, size) 1934 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 1935 if err != nil { 1936 return nil, err 1937 } 1938 return dAtA[:n], nil 1939 } 1940 1941 func (m *ChainDescriptor) MarshalTo(dAtA []byte) (int, error) { 1942 size := m.Size() 1943 return m.MarshalToSizedBuffer(dAtA[:size]) 1944 } 1945 1946 func (m *ChainDescriptor) MarshalToSizedBuffer(dAtA []byte) (int, error) { 1947 i := len(dAtA) 1948 _ = i 1949 var l int 1950 _ = l 1951 if len(m.Id) > 0 { 1952 i -= len(m.Id) 1953 copy(dAtA[i:], m.Id) 1954 i = encodeVarintReflection(dAtA, i, uint64(len(m.Id))) 1955 i-- 1956 dAtA[i] = 0xa 1957 } 1958 return len(dAtA) - i, nil 1959 } 1960 1961 func (m *CodecDescriptor) Marshal() (dAtA []byte, err error) { 1962 size := m.Size() 1963 dAtA = make([]byte, size) 1964 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 1965 if err != nil { 1966 return nil, err 1967 } 1968 return dAtA[:n], nil 1969 } 1970 1971 func (m *CodecDescriptor) MarshalTo(dAtA []byte) (int, error) { 1972 size := m.Size() 1973 return m.MarshalToSizedBuffer(dAtA[:size]) 1974 } 1975 1976 func (m *CodecDescriptor) MarshalToSizedBuffer(dAtA []byte) (int, error) { 1977 i := len(dAtA) 1978 _ = i 1979 var l int 1980 _ = l 1981 if len(m.Interfaces) > 0 { 1982 for iNdEx := len(m.Interfaces) - 1; iNdEx >= 0; iNdEx-- { 1983 { 1984 size, err := m.Interfaces[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 1985 if err != nil { 1986 return 0, err 1987 } 1988 i -= size 1989 i = encodeVarintReflection(dAtA, i, uint64(size)) 1990 } 1991 i-- 1992 dAtA[i] = 0xa 1993 } 1994 } 1995 return len(dAtA) - i, nil 1996 } 1997 1998 func (m *InterfaceDescriptor) Marshal() (dAtA []byte, err error) { 1999 size := m.Size() 2000 dAtA = make([]byte, size) 2001 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 2002 if err != nil { 2003 return nil, err 2004 } 2005 return dAtA[:n], nil 2006 } 2007 2008 func (m *InterfaceDescriptor) MarshalTo(dAtA []byte) (int, error) { 2009 size := m.Size() 2010 return m.MarshalToSizedBuffer(dAtA[:size]) 2011 } 2012 2013 func (m *InterfaceDescriptor) MarshalToSizedBuffer(dAtA []byte) (int, error) { 2014 i := len(dAtA) 2015 _ = i 2016 var l int 2017 _ = l 2018 if len(m.InterfaceImplementers) > 0 { 2019 for iNdEx := len(m.InterfaceImplementers) - 1; iNdEx >= 0; iNdEx-- { 2020 { 2021 size, err := m.InterfaceImplementers[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 2022 if err != nil { 2023 return 0, err 2024 } 2025 i -= size 2026 i = encodeVarintReflection(dAtA, i, uint64(size)) 2027 } 2028 i-- 2029 dAtA[i] = 0x1a 2030 } 2031 } 2032 if len(m.InterfaceAcceptingMessages) > 0 { 2033 for iNdEx := len(m.InterfaceAcceptingMessages) - 1; iNdEx >= 0; iNdEx-- { 2034 { 2035 size, err := m.InterfaceAcceptingMessages[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 2036 if err != nil { 2037 return 0, err 2038 } 2039 i -= size 2040 i = encodeVarintReflection(dAtA, i, uint64(size)) 2041 } 2042 i-- 2043 dAtA[i] = 0x12 2044 } 2045 } 2046 if len(m.Fullname) > 0 { 2047 i -= len(m.Fullname) 2048 copy(dAtA[i:], m.Fullname) 2049 i = encodeVarintReflection(dAtA, i, uint64(len(m.Fullname))) 2050 i-- 2051 dAtA[i] = 0xa 2052 } 2053 return len(dAtA) - i, nil 2054 } 2055 2056 func (m *InterfaceImplementerDescriptor) Marshal() (dAtA []byte, err error) { 2057 size := m.Size() 2058 dAtA = make([]byte, size) 2059 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 2060 if err != nil { 2061 return nil, err 2062 } 2063 return dAtA[:n], nil 2064 } 2065 2066 func (m *InterfaceImplementerDescriptor) MarshalTo(dAtA []byte) (int, error) { 2067 size := m.Size() 2068 return m.MarshalToSizedBuffer(dAtA[:size]) 2069 } 2070 2071 func (m *InterfaceImplementerDescriptor) MarshalToSizedBuffer(dAtA []byte) (int, error) { 2072 i := len(dAtA) 2073 _ = i 2074 var l int 2075 _ = l 2076 if len(m.TypeUrl) > 0 { 2077 i -= len(m.TypeUrl) 2078 copy(dAtA[i:], m.TypeUrl) 2079 i = encodeVarintReflection(dAtA, i, uint64(len(m.TypeUrl))) 2080 i-- 2081 dAtA[i] = 0x12 2082 } 2083 if len(m.Fullname) > 0 { 2084 i -= len(m.Fullname) 2085 copy(dAtA[i:], m.Fullname) 2086 i = encodeVarintReflection(dAtA, i, uint64(len(m.Fullname))) 2087 i-- 2088 dAtA[i] = 0xa 2089 } 2090 return len(dAtA) - i, nil 2091 } 2092 2093 func (m *InterfaceAcceptingMessageDescriptor) Marshal() (dAtA []byte, err error) { 2094 size := m.Size() 2095 dAtA = make([]byte, size) 2096 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 2097 if err != nil { 2098 return nil, err 2099 } 2100 return dAtA[:n], nil 2101 } 2102 2103 func (m *InterfaceAcceptingMessageDescriptor) MarshalTo(dAtA []byte) (int, error) { 2104 size := m.Size() 2105 return m.MarshalToSizedBuffer(dAtA[:size]) 2106 } 2107 2108 func (m *InterfaceAcceptingMessageDescriptor) MarshalToSizedBuffer(dAtA []byte) (int, error) { 2109 i := len(dAtA) 2110 _ = i 2111 var l int 2112 _ = l 2113 if len(m.FieldDescriptorNames) > 0 { 2114 for iNdEx := len(m.FieldDescriptorNames) - 1; iNdEx >= 0; iNdEx-- { 2115 i -= len(m.FieldDescriptorNames[iNdEx]) 2116 copy(dAtA[i:], m.FieldDescriptorNames[iNdEx]) 2117 i = encodeVarintReflection(dAtA, i, uint64(len(m.FieldDescriptorNames[iNdEx]))) 2118 i-- 2119 dAtA[i] = 0x12 2120 } 2121 } 2122 if len(m.Fullname) > 0 { 2123 i -= len(m.Fullname) 2124 copy(dAtA[i:], m.Fullname) 2125 i = encodeVarintReflection(dAtA, i, uint64(len(m.Fullname))) 2126 i-- 2127 dAtA[i] = 0xa 2128 } 2129 return len(dAtA) - i, nil 2130 } 2131 2132 func (m *ConfigurationDescriptor) Marshal() (dAtA []byte, err error) { 2133 size := m.Size() 2134 dAtA = make([]byte, size) 2135 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 2136 if err != nil { 2137 return nil, err 2138 } 2139 return dAtA[:n], nil 2140 } 2141 2142 func (m *ConfigurationDescriptor) MarshalTo(dAtA []byte) (int, error) { 2143 size := m.Size() 2144 return m.MarshalToSizedBuffer(dAtA[:size]) 2145 } 2146 2147 func (m *ConfigurationDescriptor) MarshalToSizedBuffer(dAtA []byte) (int, error) { 2148 i := len(dAtA) 2149 _ = i 2150 var l int 2151 _ = l 2152 if len(m.Bech32AccountAddressPrefix) > 0 { 2153 i -= len(m.Bech32AccountAddressPrefix) 2154 copy(dAtA[i:], m.Bech32AccountAddressPrefix) 2155 i = encodeVarintReflection(dAtA, i, uint64(len(m.Bech32AccountAddressPrefix))) 2156 i-- 2157 dAtA[i] = 0xa 2158 } 2159 return len(dAtA) - i, nil 2160 } 2161 2162 func (m *MsgDescriptor) Marshal() (dAtA []byte, err error) { 2163 size := m.Size() 2164 dAtA = make([]byte, size) 2165 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 2166 if err != nil { 2167 return nil, err 2168 } 2169 return dAtA[:n], nil 2170 } 2171 2172 func (m *MsgDescriptor) MarshalTo(dAtA []byte) (int, error) { 2173 size := m.Size() 2174 return m.MarshalToSizedBuffer(dAtA[:size]) 2175 } 2176 2177 func (m *MsgDescriptor) MarshalToSizedBuffer(dAtA []byte) (int, error) { 2178 i := len(dAtA) 2179 _ = i 2180 var l int 2181 _ = l 2182 if len(m.MsgTypeUrl) > 0 { 2183 i -= len(m.MsgTypeUrl) 2184 copy(dAtA[i:], m.MsgTypeUrl) 2185 i = encodeVarintReflection(dAtA, i, uint64(len(m.MsgTypeUrl))) 2186 i-- 2187 dAtA[i] = 0xa 2188 } 2189 return len(dAtA) - i, nil 2190 } 2191 2192 func (m *GetAuthnDescriptorRequest) Marshal() (dAtA []byte, err error) { 2193 size := m.Size() 2194 dAtA = make([]byte, size) 2195 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 2196 if err != nil { 2197 return nil, err 2198 } 2199 return dAtA[:n], nil 2200 } 2201 2202 func (m *GetAuthnDescriptorRequest) MarshalTo(dAtA []byte) (int, error) { 2203 size := m.Size() 2204 return m.MarshalToSizedBuffer(dAtA[:size]) 2205 } 2206 2207 func (m *GetAuthnDescriptorRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 2208 i := len(dAtA) 2209 _ = i 2210 var l int 2211 _ = l 2212 return len(dAtA) - i, nil 2213 } 2214 2215 func (m *GetAuthnDescriptorResponse) Marshal() (dAtA []byte, err error) { 2216 size := m.Size() 2217 dAtA = make([]byte, size) 2218 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 2219 if err != nil { 2220 return nil, err 2221 } 2222 return dAtA[:n], nil 2223 } 2224 2225 func (m *GetAuthnDescriptorResponse) MarshalTo(dAtA []byte) (int, error) { 2226 size := m.Size() 2227 return m.MarshalToSizedBuffer(dAtA[:size]) 2228 } 2229 2230 func (m *GetAuthnDescriptorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 2231 i := len(dAtA) 2232 _ = i 2233 var l int 2234 _ = l 2235 if m.Authn != nil { 2236 { 2237 size, err := m.Authn.MarshalToSizedBuffer(dAtA[:i]) 2238 if err != nil { 2239 return 0, err 2240 } 2241 i -= size 2242 i = encodeVarintReflection(dAtA, i, uint64(size)) 2243 } 2244 i-- 2245 dAtA[i] = 0xa 2246 } 2247 return len(dAtA) - i, nil 2248 } 2249 2250 func (m *GetChainDescriptorRequest) Marshal() (dAtA []byte, err error) { 2251 size := m.Size() 2252 dAtA = make([]byte, size) 2253 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 2254 if err != nil { 2255 return nil, err 2256 } 2257 return dAtA[:n], nil 2258 } 2259 2260 func (m *GetChainDescriptorRequest) MarshalTo(dAtA []byte) (int, error) { 2261 size := m.Size() 2262 return m.MarshalToSizedBuffer(dAtA[:size]) 2263 } 2264 2265 func (m *GetChainDescriptorRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 2266 i := len(dAtA) 2267 _ = i 2268 var l int 2269 _ = l 2270 return len(dAtA) - i, nil 2271 } 2272 2273 func (m *GetChainDescriptorResponse) Marshal() (dAtA []byte, err error) { 2274 size := m.Size() 2275 dAtA = make([]byte, size) 2276 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 2277 if err != nil { 2278 return nil, err 2279 } 2280 return dAtA[:n], nil 2281 } 2282 2283 func (m *GetChainDescriptorResponse) MarshalTo(dAtA []byte) (int, error) { 2284 size := m.Size() 2285 return m.MarshalToSizedBuffer(dAtA[:size]) 2286 } 2287 2288 func (m *GetChainDescriptorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 2289 i := len(dAtA) 2290 _ = i 2291 var l int 2292 _ = l 2293 if m.Chain != nil { 2294 { 2295 size, err := m.Chain.MarshalToSizedBuffer(dAtA[:i]) 2296 if err != nil { 2297 return 0, err 2298 } 2299 i -= size 2300 i = encodeVarintReflection(dAtA, i, uint64(size)) 2301 } 2302 i-- 2303 dAtA[i] = 0xa 2304 } 2305 return len(dAtA) - i, nil 2306 } 2307 2308 func (m *GetCodecDescriptorRequest) Marshal() (dAtA []byte, err error) { 2309 size := m.Size() 2310 dAtA = make([]byte, size) 2311 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 2312 if err != nil { 2313 return nil, err 2314 } 2315 return dAtA[:n], nil 2316 } 2317 2318 func (m *GetCodecDescriptorRequest) MarshalTo(dAtA []byte) (int, error) { 2319 size := m.Size() 2320 return m.MarshalToSizedBuffer(dAtA[:size]) 2321 } 2322 2323 func (m *GetCodecDescriptorRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 2324 i := len(dAtA) 2325 _ = i 2326 var l int 2327 _ = l 2328 return len(dAtA) - i, nil 2329 } 2330 2331 func (m *GetCodecDescriptorResponse) Marshal() (dAtA []byte, err error) { 2332 size := m.Size() 2333 dAtA = make([]byte, size) 2334 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 2335 if err != nil { 2336 return nil, err 2337 } 2338 return dAtA[:n], nil 2339 } 2340 2341 func (m *GetCodecDescriptorResponse) MarshalTo(dAtA []byte) (int, error) { 2342 size := m.Size() 2343 return m.MarshalToSizedBuffer(dAtA[:size]) 2344 } 2345 2346 func (m *GetCodecDescriptorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 2347 i := len(dAtA) 2348 _ = i 2349 var l int 2350 _ = l 2351 if m.Codec != nil { 2352 { 2353 size, err := m.Codec.MarshalToSizedBuffer(dAtA[:i]) 2354 if err != nil { 2355 return 0, err 2356 } 2357 i -= size 2358 i = encodeVarintReflection(dAtA, i, uint64(size)) 2359 } 2360 i-- 2361 dAtA[i] = 0xa 2362 } 2363 return len(dAtA) - i, nil 2364 } 2365 2366 func (m *GetConfigurationDescriptorRequest) Marshal() (dAtA []byte, err error) { 2367 size := m.Size() 2368 dAtA = make([]byte, size) 2369 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 2370 if err != nil { 2371 return nil, err 2372 } 2373 return dAtA[:n], nil 2374 } 2375 2376 func (m *GetConfigurationDescriptorRequest) MarshalTo(dAtA []byte) (int, error) { 2377 size := m.Size() 2378 return m.MarshalToSizedBuffer(dAtA[:size]) 2379 } 2380 2381 func (m *GetConfigurationDescriptorRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 2382 i := len(dAtA) 2383 _ = i 2384 var l int 2385 _ = l 2386 return len(dAtA) - i, nil 2387 } 2388 2389 func (m *GetConfigurationDescriptorResponse) Marshal() (dAtA []byte, err error) { 2390 size := m.Size() 2391 dAtA = make([]byte, size) 2392 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 2393 if err != nil { 2394 return nil, err 2395 } 2396 return dAtA[:n], nil 2397 } 2398 2399 func (m *GetConfigurationDescriptorResponse) MarshalTo(dAtA []byte) (int, error) { 2400 size := m.Size() 2401 return m.MarshalToSizedBuffer(dAtA[:size]) 2402 } 2403 2404 func (m *GetConfigurationDescriptorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 2405 i := len(dAtA) 2406 _ = i 2407 var l int 2408 _ = l 2409 if m.Config != nil { 2410 { 2411 size, err := m.Config.MarshalToSizedBuffer(dAtA[:i]) 2412 if err != nil { 2413 return 0, err 2414 } 2415 i -= size 2416 i = encodeVarintReflection(dAtA, i, uint64(size)) 2417 } 2418 i-- 2419 dAtA[i] = 0xa 2420 } 2421 return len(dAtA) - i, nil 2422 } 2423 2424 func (m *GetQueryServicesDescriptorRequest) Marshal() (dAtA []byte, err error) { 2425 size := m.Size() 2426 dAtA = make([]byte, size) 2427 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 2428 if err != nil { 2429 return nil, err 2430 } 2431 return dAtA[:n], nil 2432 } 2433 2434 func (m *GetQueryServicesDescriptorRequest) MarshalTo(dAtA []byte) (int, error) { 2435 size := m.Size() 2436 return m.MarshalToSizedBuffer(dAtA[:size]) 2437 } 2438 2439 func (m *GetQueryServicesDescriptorRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 2440 i := len(dAtA) 2441 _ = i 2442 var l int 2443 _ = l 2444 return len(dAtA) - i, nil 2445 } 2446 2447 func (m *GetQueryServicesDescriptorResponse) Marshal() (dAtA []byte, err error) { 2448 size := m.Size() 2449 dAtA = make([]byte, size) 2450 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 2451 if err != nil { 2452 return nil, err 2453 } 2454 return dAtA[:n], nil 2455 } 2456 2457 func (m *GetQueryServicesDescriptorResponse) MarshalTo(dAtA []byte) (int, error) { 2458 size := m.Size() 2459 return m.MarshalToSizedBuffer(dAtA[:size]) 2460 } 2461 2462 func (m *GetQueryServicesDescriptorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 2463 i := len(dAtA) 2464 _ = i 2465 var l int 2466 _ = l 2467 if m.Queries != nil { 2468 { 2469 size, err := m.Queries.MarshalToSizedBuffer(dAtA[:i]) 2470 if err != nil { 2471 return 0, err 2472 } 2473 i -= size 2474 i = encodeVarintReflection(dAtA, i, uint64(size)) 2475 } 2476 i-- 2477 dAtA[i] = 0xa 2478 } 2479 return len(dAtA) - i, nil 2480 } 2481 2482 func (m *GetTxDescriptorRequest) Marshal() (dAtA []byte, err error) { 2483 size := m.Size() 2484 dAtA = make([]byte, size) 2485 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 2486 if err != nil { 2487 return nil, err 2488 } 2489 return dAtA[:n], nil 2490 } 2491 2492 func (m *GetTxDescriptorRequest) MarshalTo(dAtA []byte) (int, error) { 2493 size := m.Size() 2494 return m.MarshalToSizedBuffer(dAtA[:size]) 2495 } 2496 2497 func (m *GetTxDescriptorRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { 2498 i := len(dAtA) 2499 _ = i 2500 var l int 2501 _ = l 2502 return len(dAtA) - i, nil 2503 } 2504 2505 func (m *GetTxDescriptorResponse) Marshal() (dAtA []byte, err error) { 2506 size := m.Size() 2507 dAtA = make([]byte, size) 2508 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 2509 if err != nil { 2510 return nil, err 2511 } 2512 return dAtA[:n], nil 2513 } 2514 2515 func (m *GetTxDescriptorResponse) MarshalTo(dAtA []byte) (int, error) { 2516 size := m.Size() 2517 return m.MarshalToSizedBuffer(dAtA[:size]) 2518 } 2519 2520 func (m *GetTxDescriptorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { 2521 i := len(dAtA) 2522 _ = i 2523 var l int 2524 _ = l 2525 if m.Tx != nil { 2526 { 2527 size, err := m.Tx.MarshalToSizedBuffer(dAtA[:i]) 2528 if err != nil { 2529 return 0, err 2530 } 2531 i -= size 2532 i = encodeVarintReflection(dAtA, i, uint64(size)) 2533 } 2534 i-- 2535 dAtA[i] = 0xa 2536 } 2537 return len(dAtA) - i, nil 2538 } 2539 2540 func (m *QueryServicesDescriptor) Marshal() (dAtA []byte, err error) { 2541 size := m.Size() 2542 dAtA = make([]byte, size) 2543 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 2544 if err != nil { 2545 return nil, err 2546 } 2547 return dAtA[:n], nil 2548 } 2549 2550 func (m *QueryServicesDescriptor) MarshalTo(dAtA []byte) (int, error) { 2551 size := m.Size() 2552 return m.MarshalToSizedBuffer(dAtA[:size]) 2553 } 2554 2555 func (m *QueryServicesDescriptor) MarshalToSizedBuffer(dAtA []byte) (int, error) { 2556 i := len(dAtA) 2557 _ = i 2558 var l int 2559 _ = l 2560 if len(m.QueryServices) > 0 { 2561 for iNdEx := len(m.QueryServices) - 1; iNdEx >= 0; iNdEx-- { 2562 { 2563 size, err := m.QueryServices[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 2564 if err != nil { 2565 return 0, err 2566 } 2567 i -= size 2568 i = encodeVarintReflection(dAtA, i, uint64(size)) 2569 } 2570 i-- 2571 dAtA[i] = 0xa 2572 } 2573 } 2574 return len(dAtA) - i, nil 2575 } 2576 2577 func (m *QueryServiceDescriptor) Marshal() (dAtA []byte, err error) { 2578 size := m.Size() 2579 dAtA = make([]byte, size) 2580 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 2581 if err != nil { 2582 return nil, err 2583 } 2584 return dAtA[:n], nil 2585 } 2586 2587 func (m *QueryServiceDescriptor) MarshalTo(dAtA []byte) (int, error) { 2588 size := m.Size() 2589 return m.MarshalToSizedBuffer(dAtA[:size]) 2590 } 2591 2592 func (m *QueryServiceDescriptor) MarshalToSizedBuffer(dAtA []byte) (int, error) { 2593 i := len(dAtA) 2594 _ = i 2595 var l int 2596 _ = l 2597 if len(m.Methods) > 0 { 2598 for iNdEx := len(m.Methods) - 1; iNdEx >= 0; iNdEx-- { 2599 { 2600 size, err := m.Methods[iNdEx].MarshalToSizedBuffer(dAtA[:i]) 2601 if err != nil { 2602 return 0, err 2603 } 2604 i -= size 2605 i = encodeVarintReflection(dAtA, i, uint64(size)) 2606 } 2607 i-- 2608 dAtA[i] = 0x1a 2609 } 2610 } 2611 if m.IsModule { 2612 i-- 2613 if m.IsModule { 2614 dAtA[i] = 1 2615 } else { 2616 dAtA[i] = 0 2617 } 2618 i-- 2619 dAtA[i] = 0x10 2620 } 2621 if len(m.Fullname) > 0 { 2622 i -= len(m.Fullname) 2623 copy(dAtA[i:], m.Fullname) 2624 i = encodeVarintReflection(dAtA, i, uint64(len(m.Fullname))) 2625 i-- 2626 dAtA[i] = 0xa 2627 } 2628 return len(dAtA) - i, nil 2629 } 2630 2631 func (m *QueryMethodDescriptor) Marshal() (dAtA []byte, err error) { 2632 size := m.Size() 2633 dAtA = make([]byte, size) 2634 n, err := m.MarshalToSizedBuffer(dAtA[:size]) 2635 if err != nil { 2636 return nil, err 2637 } 2638 return dAtA[:n], nil 2639 } 2640 2641 func (m *QueryMethodDescriptor) MarshalTo(dAtA []byte) (int, error) { 2642 size := m.Size() 2643 return m.MarshalToSizedBuffer(dAtA[:size]) 2644 } 2645 2646 func (m *QueryMethodDescriptor) MarshalToSizedBuffer(dAtA []byte) (int, error) { 2647 i := len(dAtA) 2648 _ = i 2649 var l int 2650 _ = l 2651 if len(m.FullQueryPath) > 0 { 2652 i -= len(m.FullQueryPath) 2653 copy(dAtA[i:], m.FullQueryPath) 2654 i = encodeVarintReflection(dAtA, i, uint64(len(m.FullQueryPath))) 2655 i-- 2656 dAtA[i] = 0x12 2657 } 2658 if len(m.Name) > 0 { 2659 i -= len(m.Name) 2660 copy(dAtA[i:], m.Name) 2661 i = encodeVarintReflection(dAtA, i, uint64(len(m.Name))) 2662 i-- 2663 dAtA[i] = 0xa 2664 } 2665 return len(dAtA) - i, nil 2666 } 2667 2668 func encodeVarintReflection(dAtA []byte, offset int, v uint64) int { 2669 offset -= sovReflection(v) 2670 base := offset 2671 for v >= 1<<7 { 2672 dAtA[offset] = uint8(v&0x7f | 0x80) 2673 v >>= 7 2674 offset++ 2675 } 2676 dAtA[offset] = uint8(v) 2677 return base 2678 } 2679 func (m *AppDescriptor) Size() (n int) { 2680 if m == nil { 2681 return 0 2682 } 2683 var l int 2684 _ = l 2685 if m.Authn != nil { 2686 l = m.Authn.Size() 2687 n += 1 + l + sovReflection(uint64(l)) 2688 } 2689 if m.Chain != nil { 2690 l = m.Chain.Size() 2691 n += 1 + l + sovReflection(uint64(l)) 2692 } 2693 if m.Codec != nil { 2694 l = m.Codec.Size() 2695 n += 1 + l + sovReflection(uint64(l)) 2696 } 2697 if m.Configuration != nil { 2698 l = m.Configuration.Size() 2699 n += 1 + l + sovReflection(uint64(l)) 2700 } 2701 if m.QueryServices != nil { 2702 l = m.QueryServices.Size() 2703 n += 1 + l + sovReflection(uint64(l)) 2704 } 2705 if m.Tx != nil { 2706 l = m.Tx.Size() 2707 n += 1 + l + sovReflection(uint64(l)) 2708 } 2709 return n 2710 } 2711 2712 func (m *TxDescriptor) Size() (n int) { 2713 if m == nil { 2714 return 0 2715 } 2716 var l int 2717 _ = l 2718 l = len(m.Fullname) 2719 if l > 0 { 2720 n += 1 + l + sovReflection(uint64(l)) 2721 } 2722 if len(m.Msgs) > 0 { 2723 for _, e := range m.Msgs { 2724 l = e.Size() 2725 n += 1 + l + sovReflection(uint64(l)) 2726 } 2727 } 2728 return n 2729 } 2730 2731 func (m *AuthnDescriptor) Size() (n int) { 2732 if m == nil { 2733 return 0 2734 } 2735 var l int 2736 _ = l 2737 if len(m.SignModes) > 0 { 2738 for _, e := range m.SignModes { 2739 l = e.Size() 2740 n += 1 + l + sovReflection(uint64(l)) 2741 } 2742 } 2743 return n 2744 } 2745 2746 func (m *SigningModeDescriptor) Size() (n int) { 2747 if m == nil { 2748 return 0 2749 } 2750 var l int 2751 _ = l 2752 l = len(m.Name) 2753 if l > 0 { 2754 n += 1 + l + sovReflection(uint64(l)) 2755 } 2756 if m.Number != 0 { 2757 n += 1 + sovReflection(uint64(m.Number)) 2758 } 2759 l = len(m.AuthnInfoProviderMethodFullname) 2760 if l > 0 { 2761 n += 1 + l + sovReflection(uint64(l)) 2762 } 2763 return n 2764 } 2765 2766 func (m *ChainDescriptor) Size() (n int) { 2767 if m == nil { 2768 return 0 2769 } 2770 var l int 2771 _ = l 2772 l = len(m.Id) 2773 if l > 0 { 2774 n += 1 + l + sovReflection(uint64(l)) 2775 } 2776 return n 2777 } 2778 2779 func (m *CodecDescriptor) Size() (n int) { 2780 if m == nil { 2781 return 0 2782 } 2783 var l int 2784 _ = l 2785 if len(m.Interfaces) > 0 { 2786 for _, e := range m.Interfaces { 2787 l = e.Size() 2788 n += 1 + l + sovReflection(uint64(l)) 2789 } 2790 } 2791 return n 2792 } 2793 2794 func (m *InterfaceDescriptor) Size() (n int) { 2795 if m == nil { 2796 return 0 2797 } 2798 var l int 2799 _ = l 2800 l = len(m.Fullname) 2801 if l > 0 { 2802 n += 1 + l + sovReflection(uint64(l)) 2803 } 2804 if len(m.InterfaceAcceptingMessages) > 0 { 2805 for _, e := range m.InterfaceAcceptingMessages { 2806 l = e.Size() 2807 n += 1 + l + sovReflection(uint64(l)) 2808 } 2809 } 2810 if len(m.InterfaceImplementers) > 0 { 2811 for _, e := range m.InterfaceImplementers { 2812 l = e.Size() 2813 n += 1 + l + sovReflection(uint64(l)) 2814 } 2815 } 2816 return n 2817 } 2818 2819 func (m *InterfaceImplementerDescriptor) Size() (n int) { 2820 if m == nil { 2821 return 0 2822 } 2823 var l int 2824 _ = l 2825 l = len(m.Fullname) 2826 if l > 0 { 2827 n += 1 + l + sovReflection(uint64(l)) 2828 } 2829 l = len(m.TypeUrl) 2830 if l > 0 { 2831 n += 1 + l + sovReflection(uint64(l)) 2832 } 2833 return n 2834 } 2835 2836 func (m *InterfaceAcceptingMessageDescriptor) Size() (n int) { 2837 if m == nil { 2838 return 0 2839 } 2840 var l int 2841 _ = l 2842 l = len(m.Fullname) 2843 if l > 0 { 2844 n += 1 + l + sovReflection(uint64(l)) 2845 } 2846 if len(m.FieldDescriptorNames) > 0 { 2847 for _, s := range m.FieldDescriptorNames { 2848 l = len(s) 2849 n += 1 + l + sovReflection(uint64(l)) 2850 } 2851 } 2852 return n 2853 } 2854 2855 func (m *ConfigurationDescriptor) Size() (n int) { 2856 if m == nil { 2857 return 0 2858 } 2859 var l int 2860 _ = l 2861 l = len(m.Bech32AccountAddressPrefix) 2862 if l > 0 { 2863 n += 1 + l + sovReflection(uint64(l)) 2864 } 2865 return n 2866 } 2867 2868 func (m *MsgDescriptor) Size() (n int) { 2869 if m == nil { 2870 return 0 2871 } 2872 var l int 2873 _ = l 2874 l = len(m.MsgTypeUrl) 2875 if l > 0 { 2876 n += 1 + l + sovReflection(uint64(l)) 2877 } 2878 return n 2879 } 2880 2881 func (m *GetAuthnDescriptorRequest) Size() (n int) { 2882 if m == nil { 2883 return 0 2884 } 2885 var l int 2886 _ = l 2887 return n 2888 } 2889 2890 func (m *GetAuthnDescriptorResponse) Size() (n int) { 2891 if m == nil { 2892 return 0 2893 } 2894 var l int 2895 _ = l 2896 if m.Authn != nil { 2897 l = m.Authn.Size() 2898 n += 1 + l + sovReflection(uint64(l)) 2899 } 2900 return n 2901 } 2902 2903 func (m *GetChainDescriptorRequest) Size() (n int) { 2904 if m == nil { 2905 return 0 2906 } 2907 var l int 2908 _ = l 2909 return n 2910 } 2911 2912 func (m *GetChainDescriptorResponse) Size() (n int) { 2913 if m == nil { 2914 return 0 2915 } 2916 var l int 2917 _ = l 2918 if m.Chain != nil { 2919 l = m.Chain.Size() 2920 n += 1 + l + sovReflection(uint64(l)) 2921 } 2922 return n 2923 } 2924 2925 func (m *GetCodecDescriptorRequest) Size() (n int) { 2926 if m == nil { 2927 return 0 2928 } 2929 var l int 2930 _ = l 2931 return n 2932 } 2933 2934 func (m *GetCodecDescriptorResponse) Size() (n int) { 2935 if m == nil { 2936 return 0 2937 } 2938 var l int 2939 _ = l 2940 if m.Codec != nil { 2941 l = m.Codec.Size() 2942 n += 1 + l + sovReflection(uint64(l)) 2943 } 2944 return n 2945 } 2946 2947 func (m *GetConfigurationDescriptorRequest) Size() (n int) { 2948 if m == nil { 2949 return 0 2950 } 2951 var l int 2952 _ = l 2953 return n 2954 } 2955 2956 func (m *GetConfigurationDescriptorResponse) Size() (n int) { 2957 if m == nil { 2958 return 0 2959 } 2960 var l int 2961 _ = l 2962 if m.Config != nil { 2963 l = m.Config.Size() 2964 n += 1 + l + sovReflection(uint64(l)) 2965 } 2966 return n 2967 } 2968 2969 func (m *GetQueryServicesDescriptorRequest) Size() (n int) { 2970 if m == nil { 2971 return 0 2972 } 2973 var l int 2974 _ = l 2975 return n 2976 } 2977 2978 func (m *GetQueryServicesDescriptorResponse) Size() (n int) { 2979 if m == nil { 2980 return 0 2981 } 2982 var l int 2983 _ = l 2984 if m.Queries != nil { 2985 l = m.Queries.Size() 2986 n += 1 + l + sovReflection(uint64(l)) 2987 } 2988 return n 2989 } 2990 2991 func (m *GetTxDescriptorRequest) Size() (n int) { 2992 if m == nil { 2993 return 0 2994 } 2995 var l int 2996 _ = l 2997 return n 2998 } 2999 3000 func (m *GetTxDescriptorResponse) Size() (n int) { 3001 if m == nil { 3002 return 0 3003 } 3004 var l int 3005 _ = l 3006 if m.Tx != nil { 3007 l = m.Tx.Size() 3008 n += 1 + l + sovReflection(uint64(l)) 3009 } 3010 return n 3011 } 3012 3013 func (m *QueryServicesDescriptor) Size() (n int) { 3014 if m == nil { 3015 return 0 3016 } 3017 var l int 3018 _ = l 3019 if len(m.QueryServices) > 0 { 3020 for _, e := range m.QueryServices { 3021 l = e.Size() 3022 n += 1 + l + sovReflection(uint64(l)) 3023 } 3024 } 3025 return n 3026 } 3027 3028 func (m *QueryServiceDescriptor) Size() (n int) { 3029 if m == nil { 3030 return 0 3031 } 3032 var l int 3033 _ = l 3034 l = len(m.Fullname) 3035 if l > 0 { 3036 n += 1 + l + sovReflection(uint64(l)) 3037 } 3038 if m.IsModule { 3039 n += 2 3040 } 3041 if len(m.Methods) > 0 { 3042 for _, e := range m.Methods { 3043 l = e.Size() 3044 n += 1 + l + sovReflection(uint64(l)) 3045 } 3046 } 3047 return n 3048 } 3049 3050 func (m *QueryMethodDescriptor) Size() (n int) { 3051 if m == nil { 3052 return 0 3053 } 3054 var l int 3055 _ = l 3056 l = len(m.Name) 3057 if l > 0 { 3058 n += 1 + l + sovReflection(uint64(l)) 3059 } 3060 l = len(m.FullQueryPath) 3061 if l > 0 { 3062 n += 1 + l + sovReflection(uint64(l)) 3063 } 3064 return n 3065 } 3066 3067 func sovReflection(x uint64) (n int) { 3068 return (math_bits.Len64(x|1) + 6) / 7 3069 } 3070 func sozReflection(x uint64) (n int) { 3071 return sovReflection(uint64((x << 1) ^ uint64((int64(x) >> 63)))) 3072 } 3073 func (m *AppDescriptor) Unmarshal(dAtA []byte) error { 3074 l := len(dAtA) 3075 iNdEx := 0 3076 for iNdEx < l { 3077 preIndex := iNdEx 3078 var wire uint64 3079 for shift := uint(0); ; shift += 7 { 3080 if shift >= 64 { 3081 return ErrIntOverflowReflection 3082 } 3083 if iNdEx >= l { 3084 return io.ErrUnexpectedEOF 3085 } 3086 b := dAtA[iNdEx] 3087 iNdEx++ 3088 wire |= uint64(b&0x7F) << shift 3089 if b < 0x80 { 3090 break 3091 } 3092 } 3093 fieldNum := int32(wire >> 3) 3094 wireType := int(wire & 0x7) 3095 if wireType == 4 { 3096 return fmt.Errorf("proto: AppDescriptor: wiretype end group for non-group") 3097 } 3098 if fieldNum <= 0 { 3099 return fmt.Errorf("proto: AppDescriptor: illegal tag %d (wire type %d)", fieldNum, wire) 3100 } 3101 switch fieldNum { 3102 case 1: 3103 if wireType != 2 { 3104 return fmt.Errorf("proto: wrong wireType = %d for field Authn", wireType) 3105 } 3106 var msglen int 3107 for shift := uint(0); ; shift += 7 { 3108 if shift >= 64 { 3109 return ErrIntOverflowReflection 3110 } 3111 if iNdEx >= l { 3112 return io.ErrUnexpectedEOF 3113 } 3114 b := dAtA[iNdEx] 3115 iNdEx++ 3116 msglen |= int(b&0x7F) << shift 3117 if b < 0x80 { 3118 break 3119 } 3120 } 3121 if msglen < 0 { 3122 return ErrInvalidLengthReflection 3123 } 3124 postIndex := iNdEx + msglen 3125 if postIndex < 0 { 3126 return ErrInvalidLengthReflection 3127 } 3128 if postIndex > l { 3129 return io.ErrUnexpectedEOF 3130 } 3131 if m.Authn == nil { 3132 m.Authn = &AuthnDescriptor{} 3133 } 3134 if err := m.Authn.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 3135 return err 3136 } 3137 iNdEx = postIndex 3138 case 2: 3139 if wireType != 2 { 3140 return fmt.Errorf("proto: wrong wireType = %d for field Chain", wireType) 3141 } 3142 var msglen int 3143 for shift := uint(0); ; shift += 7 { 3144 if shift >= 64 { 3145 return ErrIntOverflowReflection 3146 } 3147 if iNdEx >= l { 3148 return io.ErrUnexpectedEOF 3149 } 3150 b := dAtA[iNdEx] 3151 iNdEx++ 3152 msglen |= int(b&0x7F) << shift 3153 if b < 0x80 { 3154 break 3155 } 3156 } 3157 if msglen < 0 { 3158 return ErrInvalidLengthReflection 3159 } 3160 postIndex := iNdEx + msglen 3161 if postIndex < 0 { 3162 return ErrInvalidLengthReflection 3163 } 3164 if postIndex > l { 3165 return io.ErrUnexpectedEOF 3166 } 3167 if m.Chain == nil { 3168 m.Chain = &ChainDescriptor{} 3169 } 3170 if err := m.Chain.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 3171 return err 3172 } 3173 iNdEx = postIndex 3174 case 3: 3175 if wireType != 2 { 3176 return fmt.Errorf("proto: wrong wireType = %d for field Codec", wireType) 3177 } 3178 var msglen int 3179 for shift := uint(0); ; shift += 7 { 3180 if shift >= 64 { 3181 return ErrIntOverflowReflection 3182 } 3183 if iNdEx >= l { 3184 return io.ErrUnexpectedEOF 3185 } 3186 b := dAtA[iNdEx] 3187 iNdEx++ 3188 msglen |= int(b&0x7F) << shift 3189 if b < 0x80 { 3190 break 3191 } 3192 } 3193 if msglen < 0 { 3194 return ErrInvalidLengthReflection 3195 } 3196 postIndex := iNdEx + msglen 3197 if postIndex < 0 { 3198 return ErrInvalidLengthReflection 3199 } 3200 if postIndex > l { 3201 return io.ErrUnexpectedEOF 3202 } 3203 if m.Codec == nil { 3204 m.Codec = &CodecDescriptor{} 3205 } 3206 if err := m.Codec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 3207 return err 3208 } 3209 iNdEx = postIndex 3210 case 4: 3211 if wireType != 2 { 3212 return fmt.Errorf("proto: wrong wireType = %d for field Configuration", wireType) 3213 } 3214 var msglen int 3215 for shift := uint(0); ; shift += 7 { 3216 if shift >= 64 { 3217 return ErrIntOverflowReflection 3218 } 3219 if iNdEx >= l { 3220 return io.ErrUnexpectedEOF 3221 } 3222 b := dAtA[iNdEx] 3223 iNdEx++ 3224 msglen |= int(b&0x7F) << shift 3225 if b < 0x80 { 3226 break 3227 } 3228 } 3229 if msglen < 0 { 3230 return ErrInvalidLengthReflection 3231 } 3232 postIndex := iNdEx + msglen 3233 if postIndex < 0 { 3234 return ErrInvalidLengthReflection 3235 } 3236 if postIndex > l { 3237 return io.ErrUnexpectedEOF 3238 } 3239 if m.Configuration == nil { 3240 m.Configuration = &ConfigurationDescriptor{} 3241 } 3242 if err := m.Configuration.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 3243 return err 3244 } 3245 iNdEx = postIndex 3246 case 5: 3247 if wireType != 2 { 3248 return fmt.Errorf("proto: wrong wireType = %d for field QueryServices", wireType) 3249 } 3250 var msglen int 3251 for shift := uint(0); ; shift += 7 { 3252 if shift >= 64 { 3253 return ErrIntOverflowReflection 3254 } 3255 if iNdEx >= l { 3256 return io.ErrUnexpectedEOF 3257 } 3258 b := dAtA[iNdEx] 3259 iNdEx++ 3260 msglen |= int(b&0x7F) << shift 3261 if b < 0x80 { 3262 break 3263 } 3264 } 3265 if msglen < 0 { 3266 return ErrInvalidLengthReflection 3267 } 3268 postIndex := iNdEx + msglen 3269 if postIndex < 0 { 3270 return ErrInvalidLengthReflection 3271 } 3272 if postIndex > l { 3273 return io.ErrUnexpectedEOF 3274 } 3275 if m.QueryServices == nil { 3276 m.QueryServices = &QueryServicesDescriptor{} 3277 } 3278 if err := m.QueryServices.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 3279 return err 3280 } 3281 iNdEx = postIndex 3282 case 6: 3283 if wireType != 2 { 3284 return fmt.Errorf("proto: wrong wireType = %d for field Tx", wireType) 3285 } 3286 var msglen int 3287 for shift := uint(0); ; shift += 7 { 3288 if shift >= 64 { 3289 return ErrIntOverflowReflection 3290 } 3291 if iNdEx >= l { 3292 return io.ErrUnexpectedEOF 3293 } 3294 b := dAtA[iNdEx] 3295 iNdEx++ 3296 msglen |= int(b&0x7F) << shift 3297 if b < 0x80 { 3298 break 3299 } 3300 } 3301 if msglen < 0 { 3302 return ErrInvalidLengthReflection 3303 } 3304 postIndex := iNdEx + msglen 3305 if postIndex < 0 { 3306 return ErrInvalidLengthReflection 3307 } 3308 if postIndex > l { 3309 return io.ErrUnexpectedEOF 3310 } 3311 if m.Tx == nil { 3312 m.Tx = &TxDescriptor{} 3313 } 3314 if err := m.Tx.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 3315 return err 3316 } 3317 iNdEx = postIndex 3318 default: 3319 iNdEx = preIndex 3320 skippy, err := skipReflection(dAtA[iNdEx:]) 3321 if err != nil { 3322 return err 3323 } 3324 if (skippy < 0) || (iNdEx+skippy) < 0 { 3325 return ErrInvalidLengthReflection 3326 } 3327 if (iNdEx + skippy) > l { 3328 return io.ErrUnexpectedEOF 3329 } 3330 iNdEx += skippy 3331 } 3332 } 3333 3334 if iNdEx > l { 3335 return io.ErrUnexpectedEOF 3336 } 3337 return nil 3338 } 3339 func (m *TxDescriptor) Unmarshal(dAtA []byte) error { 3340 l := len(dAtA) 3341 iNdEx := 0 3342 for iNdEx < l { 3343 preIndex := iNdEx 3344 var wire uint64 3345 for shift := uint(0); ; shift += 7 { 3346 if shift >= 64 { 3347 return ErrIntOverflowReflection 3348 } 3349 if iNdEx >= l { 3350 return io.ErrUnexpectedEOF 3351 } 3352 b := dAtA[iNdEx] 3353 iNdEx++ 3354 wire |= uint64(b&0x7F) << shift 3355 if b < 0x80 { 3356 break 3357 } 3358 } 3359 fieldNum := int32(wire >> 3) 3360 wireType := int(wire & 0x7) 3361 if wireType == 4 { 3362 return fmt.Errorf("proto: TxDescriptor: wiretype end group for non-group") 3363 } 3364 if fieldNum <= 0 { 3365 return fmt.Errorf("proto: TxDescriptor: illegal tag %d (wire type %d)", fieldNum, wire) 3366 } 3367 switch fieldNum { 3368 case 1: 3369 if wireType != 2 { 3370 return fmt.Errorf("proto: wrong wireType = %d for field Fullname", wireType) 3371 } 3372 var stringLen uint64 3373 for shift := uint(0); ; shift += 7 { 3374 if shift >= 64 { 3375 return ErrIntOverflowReflection 3376 } 3377 if iNdEx >= l { 3378 return io.ErrUnexpectedEOF 3379 } 3380 b := dAtA[iNdEx] 3381 iNdEx++ 3382 stringLen |= uint64(b&0x7F) << shift 3383 if b < 0x80 { 3384 break 3385 } 3386 } 3387 intStringLen := int(stringLen) 3388 if intStringLen < 0 { 3389 return ErrInvalidLengthReflection 3390 } 3391 postIndex := iNdEx + intStringLen 3392 if postIndex < 0 { 3393 return ErrInvalidLengthReflection 3394 } 3395 if postIndex > l { 3396 return io.ErrUnexpectedEOF 3397 } 3398 m.Fullname = string(dAtA[iNdEx:postIndex]) 3399 iNdEx = postIndex 3400 case 2: 3401 if wireType != 2 { 3402 return fmt.Errorf("proto: wrong wireType = %d for field Msgs", wireType) 3403 } 3404 var msglen int 3405 for shift := uint(0); ; shift += 7 { 3406 if shift >= 64 { 3407 return ErrIntOverflowReflection 3408 } 3409 if iNdEx >= l { 3410 return io.ErrUnexpectedEOF 3411 } 3412 b := dAtA[iNdEx] 3413 iNdEx++ 3414 msglen |= int(b&0x7F) << shift 3415 if b < 0x80 { 3416 break 3417 } 3418 } 3419 if msglen < 0 { 3420 return ErrInvalidLengthReflection 3421 } 3422 postIndex := iNdEx + msglen 3423 if postIndex < 0 { 3424 return ErrInvalidLengthReflection 3425 } 3426 if postIndex > l { 3427 return io.ErrUnexpectedEOF 3428 } 3429 m.Msgs = append(m.Msgs, &MsgDescriptor{}) 3430 if err := m.Msgs[len(m.Msgs)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 3431 return err 3432 } 3433 iNdEx = postIndex 3434 default: 3435 iNdEx = preIndex 3436 skippy, err := skipReflection(dAtA[iNdEx:]) 3437 if err != nil { 3438 return err 3439 } 3440 if (skippy < 0) || (iNdEx+skippy) < 0 { 3441 return ErrInvalidLengthReflection 3442 } 3443 if (iNdEx + skippy) > l { 3444 return io.ErrUnexpectedEOF 3445 } 3446 iNdEx += skippy 3447 } 3448 } 3449 3450 if iNdEx > l { 3451 return io.ErrUnexpectedEOF 3452 } 3453 return nil 3454 } 3455 func (m *AuthnDescriptor) Unmarshal(dAtA []byte) error { 3456 l := len(dAtA) 3457 iNdEx := 0 3458 for iNdEx < l { 3459 preIndex := iNdEx 3460 var wire uint64 3461 for shift := uint(0); ; shift += 7 { 3462 if shift >= 64 { 3463 return ErrIntOverflowReflection 3464 } 3465 if iNdEx >= l { 3466 return io.ErrUnexpectedEOF 3467 } 3468 b := dAtA[iNdEx] 3469 iNdEx++ 3470 wire |= uint64(b&0x7F) << shift 3471 if b < 0x80 { 3472 break 3473 } 3474 } 3475 fieldNum := int32(wire >> 3) 3476 wireType := int(wire & 0x7) 3477 if wireType == 4 { 3478 return fmt.Errorf("proto: AuthnDescriptor: wiretype end group for non-group") 3479 } 3480 if fieldNum <= 0 { 3481 return fmt.Errorf("proto: AuthnDescriptor: illegal tag %d (wire type %d)", fieldNum, wire) 3482 } 3483 switch fieldNum { 3484 case 1: 3485 if wireType != 2 { 3486 return fmt.Errorf("proto: wrong wireType = %d for field SignModes", wireType) 3487 } 3488 var msglen int 3489 for shift := uint(0); ; shift += 7 { 3490 if shift >= 64 { 3491 return ErrIntOverflowReflection 3492 } 3493 if iNdEx >= l { 3494 return io.ErrUnexpectedEOF 3495 } 3496 b := dAtA[iNdEx] 3497 iNdEx++ 3498 msglen |= int(b&0x7F) << shift 3499 if b < 0x80 { 3500 break 3501 } 3502 } 3503 if msglen < 0 { 3504 return ErrInvalidLengthReflection 3505 } 3506 postIndex := iNdEx + msglen 3507 if postIndex < 0 { 3508 return ErrInvalidLengthReflection 3509 } 3510 if postIndex > l { 3511 return io.ErrUnexpectedEOF 3512 } 3513 m.SignModes = append(m.SignModes, &SigningModeDescriptor{}) 3514 if err := m.SignModes[len(m.SignModes)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 3515 return err 3516 } 3517 iNdEx = postIndex 3518 default: 3519 iNdEx = preIndex 3520 skippy, err := skipReflection(dAtA[iNdEx:]) 3521 if err != nil { 3522 return err 3523 } 3524 if (skippy < 0) || (iNdEx+skippy) < 0 { 3525 return ErrInvalidLengthReflection 3526 } 3527 if (iNdEx + skippy) > l { 3528 return io.ErrUnexpectedEOF 3529 } 3530 iNdEx += skippy 3531 } 3532 } 3533 3534 if iNdEx > l { 3535 return io.ErrUnexpectedEOF 3536 } 3537 return nil 3538 } 3539 func (m *SigningModeDescriptor) Unmarshal(dAtA []byte) error { 3540 l := len(dAtA) 3541 iNdEx := 0 3542 for iNdEx < l { 3543 preIndex := iNdEx 3544 var wire uint64 3545 for shift := uint(0); ; shift += 7 { 3546 if shift >= 64 { 3547 return ErrIntOverflowReflection 3548 } 3549 if iNdEx >= l { 3550 return io.ErrUnexpectedEOF 3551 } 3552 b := dAtA[iNdEx] 3553 iNdEx++ 3554 wire |= uint64(b&0x7F) << shift 3555 if b < 0x80 { 3556 break 3557 } 3558 } 3559 fieldNum := int32(wire >> 3) 3560 wireType := int(wire & 0x7) 3561 if wireType == 4 { 3562 return fmt.Errorf("proto: SigningModeDescriptor: wiretype end group for non-group") 3563 } 3564 if fieldNum <= 0 { 3565 return fmt.Errorf("proto: SigningModeDescriptor: illegal tag %d (wire type %d)", fieldNum, wire) 3566 } 3567 switch fieldNum { 3568 case 1: 3569 if wireType != 2 { 3570 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 3571 } 3572 var stringLen uint64 3573 for shift := uint(0); ; shift += 7 { 3574 if shift >= 64 { 3575 return ErrIntOverflowReflection 3576 } 3577 if iNdEx >= l { 3578 return io.ErrUnexpectedEOF 3579 } 3580 b := dAtA[iNdEx] 3581 iNdEx++ 3582 stringLen |= uint64(b&0x7F) << shift 3583 if b < 0x80 { 3584 break 3585 } 3586 } 3587 intStringLen := int(stringLen) 3588 if intStringLen < 0 { 3589 return ErrInvalidLengthReflection 3590 } 3591 postIndex := iNdEx + intStringLen 3592 if postIndex < 0 { 3593 return ErrInvalidLengthReflection 3594 } 3595 if postIndex > l { 3596 return io.ErrUnexpectedEOF 3597 } 3598 m.Name = string(dAtA[iNdEx:postIndex]) 3599 iNdEx = postIndex 3600 case 2: 3601 if wireType != 0 { 3602 return fmt.Errorf("proto: wrong wireType = %d for field Number", wireType) 3603 } 3604 m.Number = 0 3605 for shift := uint(0); ; shift += 7 { 3606 if shift >= 64 { 3607 return ErrIntOverflowReflection 3608 } 3609 if iNdEx >= l { 3610 return io.ErrUnexpectedEOF 3611 } 3612 b := dAtA[iNdEx] 3613 iNdEx++ 3614 m.Number |= int32(b&0x7F) << shift 3615 if b < 0x80 { 3616 break 3617 } 3618 } 3619 case 3: 3620 if wireType != 2 { 3621 return fmt.Errorf("proto: wrong wireType = %d for field AuthnInfoProviderMethodFullname", wireType) 3622 } 3623 var stringLen uint64 3624 for shift := uint(0); ; shift += 7 { 3625 if shift >= 64 { 3626 return ErrIntOverflowReflection 3627 } 3628 if iNdEx >= l { 3629 return io.ErrUnexpectedEOF 3630 } 3631 b := dAtA[iNdEx] 3632 iNdEx++ 3633 stringLen |= uint64(b&0x7F) << shift 3634 if b < 0x80 { 3635 break 3636 } 3637 } 3638 intStringLen := int(stringLen) 3639 if intStringLen < 0 { 3640 return ErrInvalidLengthReflection 3641 } 3642 postIndex := iNdEx + intStringLen 3643 if postIndex < 0 { 3644 return ErrInvalidLengthReflection 3645 } 3646 if postIndex > l { 3647 return io.ErrUnexpectedEOF 3648 } 3649 m.AuthnInfoProviderMethodFullname = string(dAtA[iNdEx:postIndex]) 3650 iNdEx = postIndex 3651 default: 3652 iNdEx = preIndex 3653 skippy, err := skipReflection(dAtA[iNdEx:]) 3654 if err != nil { 3655 return err 3656 } 3657 if (skippy < 0) || (iNdEx+skippy) < 0 { 3658 return ErrInvalidLengthReflection 3659 } 3660 if (iNdEx + skippy) > l { 3661 return io.ErrUnexpectedEOF 3662 } 3663 iNdEx += skippy 3664 } 3665 } 3666 3667 if iNdEx > l { 3668 return io.ErrUnexpectedEOF 3669 } 3670 return nil 3671 } 3672 func (m *ChainDescriptor) Unmarshal(dAtA []byte) error { 3673 l := len(dAtA) 3674 iNdEx := 0 3675 for iNdEx < l { 3676 preIndex := iNdEx 3677 var wire uint64 3678 for shift := uint(0); ; shift += 7 { 3679 if shift >= 64 { 3680 return ErrIntOverflowReflection 3681 } 3682 if iNdEx >= l { 3683 return io.ErrUnexpectedEOF 3684 } 3685 b := dAtA[iNdEx] 3686 iNdEx++ 3687 wire |= uint64(b&0x7F) << shift 3688 if b < 0x80 { 3689 break 3690 } 3691 } 3692 fieldNum := int32(wire >> 3) 3693 wireType := int(wire & 0x7) 3694 if wireType == 4 { 3695 return fmt.Errorf("proto: ChainDescriptor: wiretype end group for non-group") 3696 } 3697 if fieldNum <= 0 { 3698 return fmt.Errorf("proto: ChainDescriptor: illegal tag %d (wire type %d)", fieldNum, wire) 3699 } 3700 switch fieldNum { 3701 case 1: 3702 if wireType != 2 { 3703 return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) 3704 } 3705 var stringLen uint64 3706 for shift := uint(0); ; shift += 7 { 3707 if shift >= 64 { 3708 return ErrIntOverflowReflection 3709 } 3710 if iNdEx >= l { 3711 return io.ErrUnexpectedEOF 3712 } 3713 b := dAtA[iNdEx] 3714 iNdEx++ 3715 stringLen |= uint64(b&0x7F) << shift 3716 if b < 0x80 { 3717 break 3718 } 3719 } 3720 intStringLen := int(stringLen) 3721 if intStringLen < 0 { 3722 return ErrInvalidLengthReflection 3723 } 3724 postIndex := iNdEx + intStringLen 3725 if postIndex < 0 { 3726 return ErrInvalidLengthReflection 3727 } 3728 if postIndex > l { 3729 return io.ErrUnexpectedEOF 3730 } 3731 m.Id = string(dAtA[iNdEx:postIndex]) 3732 iNdEx = postIndex 3733 default: 3734 iNdEx = preIndex 3735 skippy, err := skipReflection(dAtA[iNdEx:]) 3736 if err != nil { 3737 return err 3738 } 3739 if (skippy < 0) || (iNdEx+skippy) < 0 { 3740 return ErrInvalidLengthReflection 3741 } 3742 if (iNdEx + skippy) > l { 3743 return io.ErrUnexpectedEOF 3744 } 3745 iNdEx += skippy 3746 } 3747 } 3748 3749 if iNdEx > l { 3750 return io.ErrUnexpectedEOF 3751 } 3752 return nil 3753 } 3754 func (m *CodecDescriptor) Unmarshal(dAtA []byte) error { 3755 l := len(dAtA) 3756 iNdEx := 0 3757 for iNdEx < l { 3758 preIndex := iNdEx 3759 var wire uint64 3760 for shift := uint(0); ; shift += 7 { 3761 if shift >= 64 { 3762 return ErrIntOverflowReflection 3763 } 3764 if iNdEx >= l { 3765 return io.ErrUnexpectedEOF 3766 } 3767 b := dAtA[iNdEx] 3768 iNdEx++ 3769 wire |= uint64(b&0x7F) << shift 3770 if b < 0x80 { 3771 break 3772 } 3773 } 3774 fieldNum := int32(wire >> 3) 3775 wireType := int(wire & 0x7) 3776 if wireType == 4 { 3777 return fmt.Errorf("proto: CodecDescriptor: wiretype end group for non-group") 3778 } 3779 if fieldNum <= 0 { 3780 return fmt.Errorf("proto: CodecDescriptor: illegal tag %d (wire type %d)", fieldNum, wire) 3781 } 3782 switch fieldNum { 3783 case 1: 3784 if wireType != 2 { 3785 return fmt.Errorf("proto: wrong wireType = %d for field Interfaces", wireType) 3786 } 3787 var msglen int 3788 for shift := uint(0); ; shift += 7 { 3789 if shift >= 64 { 3790 return ErrIntOverflowReflection 3791 } 3792 if iNdEx >= l { 3793 return io.ErrUnexpectedEOF 3794 } 3795 b := dAtA[iNdEx] 3796 iNdEx++ 3797 msglen |= int(b&0x7F) << shift 3798 if b < 0x80 { 3799 break 3800 } 3801 } 3802 if msglen < 0 { 3803 return ErrInvalidLengthReflection 3804 } 3805 postIndex := iNdEx + msglen 3806 if postIndex < 0 { 3807 return ErrInvalidLengthReflection 3808 } 3809 if postIndex > l { 3810 return io.ErrUnexpectedEOF 3811 } 3812 m.Interfaces = append(m.Interfaces, &InterfaceDescriptor{}) 3813 if err := m.Interfaces[len(m.Interfaces)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 3814 return err 3815 } 3816 iNdEx = postIndex 3817 default: 3818 iNdEx = preIndex 3819 skippy, err := skipReflection(dAtA[iNdEx:]) 3820 if err != nil { 3821 return err 3822 } 3823 if (skippy < 0) || (iNdEx+skippy) < 0 { 3824 return ErrInvalidLengthReflection 3825 } 3826 if (iNdEx + skippy) > l { 3827 return io.ErrUnexpectedEOF 3828 } 3829 iNdEx += skippy 3830 } 3831 } 3832 3833 if iNdEx > l { 3834 return io.ErrUnexpectedEOF 3835 } 3836 return nil 3837 } 3838 func (m *InterfaceDescriptor) Unmarshal(dAtA []byte) error { 3839 l := len(dAtA) 3840 iNdEx := 0 3841 for iNdEx < l { 3842 preIndex := iNdEx 3843 var wire uint64 3844 for shift := uint(0); ; shift += 7 { 3845 if shift >= 64 { 3846 return ErrIntOverflowReflection 3847 } 3848 if iNdEx >= l { 3849 return io.ErrUnexpectedEOF 3850 } 3851 b := dAtA[iNdEx] 3852 iNdEx++ 3853 wire |= uint64(b&0x7F) << shift 3854 if b < 0x80 { 3855 break 3856 } 3857 } 3858 fieldNum := int32(wire >> 3) 3859 wireType := int(wire & 0x7) 3860 if wireType == 4 { 3861 return fmt.Errorf("proto: InterfaceDescriptor: wiretype end group for non-group") 3862 } 3863 if fieldNum <= 0 { 3864 return fmt.Errorf("proto: InterfaceDescriptor: illegal tag %d (wire type %d)", fieldNum, wire) 3865 } 3866 switch fieldNum { 3867 case 1: 3868 if wireType != 2 { 3869 return fmt.Errorf("proto: wrong wireType = %d for field Fullname", wireType) 3870 } 3871 var stringLen uint64 3872 for shift := uint(0); ; shift += 7 { 3873 if shift >= 64 { 3874 return ErrIntOverflowReflection 3875 } 3876 if iNdEx >= l { 3877 return io.ErrUnexpectedEOF 3878 } 3879 b := dAtA[iNdEx] 3880 iNdEx++ 3881 stringLen |= uint64(b&0x7F) << shift 3882 if b < 0x80 { 3883 break 3884 } 3885 } 3886 intStringLen := int(stringLen) 3887 if intStringLen < 0 { 3888 return ErrInvalidLengthReflection 3889 } 3890 postIndex := iNdEx + intStringLen 3891 if postIndex < 0 { 3892 return ErrInvalidLengthReflection 3893 } 3894 if postIndex > l { 3895 return io.ErrUnexpectedEOF 3896 } 3897 m.Fullname = string(dAtA[iNdEx:postIndex]) 3898 iNdEx = postIndex 3899 case 2: 3900 if wireType != 2 { 3901 return fmt.Errorf("proto: wrong wireType = %d for field InterfaceAcceptingMessages", wireType) 3902 } 3903 var msglen int 3904 for shift := uint(0); ; shift += 7 { 3905 if shift >= 64 { 3906 return ErrIntOverflowReflection 3907 } 3908 if iNdEx >= l { 3909 return io.ErrUnexpectedEOF 3910 } 3911 b := dAtA[iNdEx] 3912 iNdEx++ 3913 msglen |= int(b&0x7F) << shift 3914 if b < 0x80 { 3915 break 3916 } 3917 } 3918 if msglen < 0 { 3919 return ErrInvalidLengthReflection 3920 } 3921 postIndex := iNdEx + msglen 3922 if postIndex < 0 { 3923 return ErrInvalidLengthReflection 3924 } 3925 if postIndex > l { 3926 return io.ErrUnexpectedEOF 3927 } 3928 m.InterfaceAcceptingMessages = append(m.InterfaceAcceptingMessages, &InterfaceAcceptingMessageDescriptor{}) 3929 if err := m.InterfaceAcceptingMessages[len(m.InterfaceAcceptingMessages)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 3930 return err 3931 } 3932 iNdEx = postIndex 3933 case 3: 3934 if wireType != 2 { 3935 return fmt.Errorf("proto: wrong wireType = %d for field InterfaceImplementers", wireType) 3936 } 3937 var msglen int 3938 for shift := uint(0); ; shift += 7 { 3939 if shift >= 64 { 3940 return ErrIntOverflowReflection 3941 } 3942 if iNdEx >= l { 3943 return io.ErrUnexpectedEOF 3944 } 3945 b := dAtA[iNdEx] 3946 iNdEx++ 3947 msglen |= int(b&0x7F) << shift 3948 if b < 0x80 { 3949 break 3950 } 3951 } 3952 if msglen < 0 { 3953 return ErrInvalidLengthReflection 3954 } 3955 postIndex := iNdEx + msglen 3956 if postIndex < 0 { 3957 return ErrInvalidLengthReflection 3958 } 3959 if postIndex > l { 3960 return io.ErrUnexpectedEOF 3961 } 3962 m.InterfaceImplementers = append(m.InterfaceImplementers, &InterfaceImplementerDescriptor{}) 3963 if err := m.InterfaceImplementers[len(m.InterfaceImplementers)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 3964 return err 3965 } 3966 iNdEx = postIndex 3967 default: 3968 iNdEx = preIndex 3969 skippy, err := skipReflection(dAtA[iNdEx:]) 3970 if err != nil { 3971 return err 3972 } 3973 if (skippy < 0) || (iNdEx+skippy) < 0 { 3974 return ErrInvalidLengthReflection 3975 } 3976 if (iNdEx + skippy) > l { 3977 return io.ErrUnexpectedEOF 3978 } 3979 iNdEx += skippy 3980 } 3981 } 3982 3983 if iNdEx > l { 3984 return io.ErrUnexpectedEOF 3985 } 3986 return nil 3987 } 3988 func (m *InterfaceImplementerDescriptor) Unmarshal(dAtA []byte) error { 3989 l := len(dAtA) 3990 iNdEx := 0 3991 for iNdEx < l { 3992 preIndex := iNdEx 3993 var wire uint64 3994 for shift := uint(0); ; shift += 7 { 3995 if shift >= 64 { 3996 return ErrIntOverflowReflection 3997 } 3998 if iNdEx >= l { 3999 return io.ErrUnexpectedEOF 4000 } 4001 b := dAtA[iNdEx] 4002 iNdEx++ 4003 wire |= uint64(b&0x7F) << shift 4004 if b < 0x80 { 4005 break 4006 } 4007 } 4008 fieldNum := int32(wire >> 3) 4009 wireType := int(wire & 0x7) 4010 if wireType == 4 { 4011 return fmt.Errorf("proto: InterfaceImplementerDescriptor: wiretype end group for non-group") 4012 } 4013 if fieldNum <= 0 { 4014 return fmt.Errorf("proto: InterfaceImplementerDescriptor: illegal tag %d (wire type %d)", fieldNum, wire) 4015 } 4016 switch fieldNum { 4017 case 1: 4018 if wireType != 2 { 4019 return fmt.Errorf("proto: wrong wireType = %d for field Fullname", wireType) 4020 } 4021 var stringLen uint64 4022 for shift := uint(0); ; shift += 7 { 4023 if shift >= 64 { 4024 return ErrIntOverflowReflection 4025 } 4026 if iNdEx >= l { 4027 return io.ErrUnexpectedEOF 4028 } 4029 b := dAtA[iNdEx] 4030 iNdEx++ 4031 stringLen |= uint64(b&0x7F) << shift 4032 if b < 0x80 { 4033 break 4034 } 4035 } 4036 intStringLen := int(stringLen) 4037 if intStringLen < 0 { 4038 return ErrInvalidLengthReflection 4039 } 4040 postIndex := iNdEx + intStringLen 4041 if postIndex < 0 { 4042 return ErrInvalidLengthReflection 4043 } 4044 if postIndex > l { 4045 return io.ErrUnexpectedEOF 4046 } 4047 m.Fullname = string(dAtA[iNdEx:postIndex]) 4048 iNdEx = postIndex 4049 case 2: 4050 if wireType != 2 { 4051 return fmt.Errorf("proto: wrong wireType = %d for field TypeUrl", wireType) 4052 } 4053 var stringLen uint64 4054 for shift := uint(0); ; shift += 7 { 4055 if shift >= 64 { 4056 return ErrIntOverflowReflection 4057 } 4058 if iNdEx >= l { 4059 return io.ErrUnexpectedEOF 4060 } 4061 b := dAtA[iNdEx] 4062 iNdEx++ 4063 stringLen |= uint64(b&0x7F) << shift 4064 if b < 0x80 { 4065 break 4066 } 4067 } 4068 intStringLen := int(stringLen) 4069 if intStringLen < 0 { 4070 return ErrInvalidLengthReflection 4071 } 4072 postIndex := iNdEx + intStringLen 4073 if postIndex < 0 { 4074 return ErrInvalidLengthReflection 4075 } 4076 if postIndex > l { 4077 return io.ErrUnexpectedEOF 4078 } 4079 m.TypeUrl = string(dAtA[iNdEx:postIndex]) 4080 iNdEx = postIndex 4081 default: 4082 iNdEx = preIndex 4083 skippy, err := skipReflection(dAtA[iNdEx:]) 4084 if err != nil { 4085 return err 4086 } 4087 if (skippy < 0) || (iNdEx+skippy) < 0 { 4088 return ErrInvalidLengthReflection 4089 } 4090 if (iNdEx + skippy) > l { 4091 return io.ErrUnexpectedEOF 4092 } 4093 iNdEx += skippy 4094 } 4095 } 4096 4097 if iNdEx > l { 4098 return io.ErrUnexpectedEOF 4099 } 4100 return nil 4101 } 4102 func (m *InterfaceAcceptingMessageDescriptor) Unmarshal(dAtA []byte) error { 4103 l := len(dAtA) 4104 iNdEx := 0 4105 for iNdEx < l { 4106 preIndex := iNdEx 4107 var wire uint64 4108 for shift := uint(0); ; shift += 7 { 4109 if shift >= 64 { 4110 return ErrIntOverflowReflection 4111 } 4112 if iNdEx >= l { 4113 return io.ErrUnexpectedEOF 4114 } 4115 b := dAtA[iNdEx] 4116 iNdEx++ 4117 wire |= uint64(b&0x7F) << shift 4118 if b < 0x80 { 4119 break 4120 } 4121 } 4122 fieldNum := int32(wire >> 3) 4123 wireType := int(wire & 0x7) 4124 if wireType == 4 { 4125 return fmt.Errorf("proto: InterfaceAcceptingMessageDescriptor: wiretype end group for non-group") 4126 } 4127 if fieldNum <= 0 { 4128 return fmt.Errorf("proto: InterfaceAcceptingMessageDescriptor: illegal tag %d (wire type %d)", fieldNum, wire) 4129 } 4130 switch fieldNum { 4131 case 1: 4132 if wireType != 2 { 4133 return fmt.Errorf("proto: wrong wireType = %d for field Fullname", wireType) 4134 } 4135 var stringLen uint64 4136 for shift := uint(0); ; shift += 7 { 4137 if shift >= 64 { 4138 return ErrIntOverflowReflection 4139 } 4140 if iNdEx >= l { 4141 return io.ErrUnexpectedEOF 4142 } 4143 b := dAtA[iNdEx] 4144 iNdEx++ 4145 stringLen |= uint64(b&0x7F) << shift 4146 if b < 0x80 { 4147 break 4148 } 4149 } 4150 intStringLen := int(stringLen) 4151 if intStringLen < 0 { 4152 return ErrInvalidLengthReflection 4153 } 4154 postIndex := iNdEx + intStringLen 4155 if postIndex < 0 { 4156 return ErrInvalidLengthReflection 4157 } 4158 if postIndex > l { 4159 return io.ErrUnexpectedEOF 4160 } 4161 m.Fullname = string(dAtA[iNdEx:postIndex]) 4162 iNdEx = postIndex 4163 case 2: 4164 if wireType != 2 { 4165 return fmt.Errorf("proto: wrong wireType = %d for field FieldDescriptorNames", wireType) 4166 } 4167 var stringLen uint64 4168 for shift := uint(0); ; shift += 7 { 4169 if shift >= 64 { 4170 return ErrIntOverflowReflection 4171 } 4172 if iNdEx >= l { 4173 return io.ErrUnexpectedEOF 4174 } 4175 b := dAtA[iNdEx] 4176 iNdEx++ 4177 stringLen |= uint64(b&0x7F) << shift 4178 if b < 0x80 { 4179 break 4180 } 4181 } 4182 intStringLen := int(stringLen) 4183 if intStringLen < 0 { 4184 return ErrInvalidLengthReflection 4185 } 4186 postIndex := iNdEx + intStringLen 4187 if postIndex < 0 { 4188 return ErrInvalidLengthReflection 4189 } 4190 if postIndex > l { 4191 return io.ErrUnexpectedEOF 4192 } 4193 m.FieldDescriptorNames = append(m.FieldDescriptorNames, string(dAtA[iNdEx:postIndex])) 4194 iNdEx = postIndex 4195 default: 4196 iNdEx = preIndex 4197 skippy, err := skipReflection(dAtA[iNdEx:]) 4198 if err != nil { 4199 return err 4200 } 4201 if (skippy < 0) || (iNdEx+skippy) < 0 { 4202 return ErrInvalidLengthReflection 4203 } 4204 if (iNdEx + skippy) > l { 4205 return io.ErrUnexpectedEOF 4206 } 4207 iNdEx += skippy 4208 } 4209 } 4210 4211 if iNdEx > l { 4212 return io.ErrUnexpectedEOF 4213 } 4214 return nil 4215 } 4216 func (m *ConfigurationDescriptor) Unmarshal(dAtA []byte) error { 4217 l := len(dAtA) 4218 iNdEx := 0 4219 for iNdEx < l { 4220 preIndex := iNdEx 4221 var wire uint64 4222 for shift := uint(0); ; shift += 7 { 4223 if shift >= 64 { 4224 return ErrIntOverflowReflection 4225 } 4226 if iNdEx >= l { 4227 return io.ErrUnexpectedEOF 4228 } 4229 b := dAtA[iNdEx] 4230 iNdEx++ 4231 wire |= uint64(b&0x7F) << shift 4232 if b < 0x80 { 4233 break 4234 } 4235 } 4236 fieldNum := int32(wire >> 3) 4237 wireType := int(wire & 0x7) 4238 if wireType == 4 { 4239 return fmt.Errorf("proto: ConfigurationDescriptor: wiretype end group for non-group") 4240 } 4241 if fieldNum <= 0 { 4242 return fmt.Errorf("proto: ConfigurationDescriptor: illegal tag %d (wire type %d)", fieldNum, wire) 4243 } 4244 switch fieldNum { 4245 case 1: 4246 if wireType != 2 { 4247 return fmt.Errorf("proto: wrong wireType = %d for field Bech32AccountAddressPrefix", wireType) 4248 } 4249 var stringLen uint64 4250 for shift := uint(0); ; shift += 7 { 4251 if shift >= 64 { 4252 return ErrIntOverflowReflection 4253 } 4254 if iNdEx >= l { 4255 return io.ErrUnexpectedEOF 4256 } 4257 b := dAtA[iNdEx] 4258 iNdEx++ 4259 stringLen |= uint64(b&0x7F) << shift 4260 if b < 0x80 { 4261 break 4262 } 4263 } 4264 intStringLen := int(stringLen) 4265 if intStringLen < 0 { 4266 return ErrInvalidLengthReflection 4267 } 4268 postIndex := iNdEx + intStringLen 4269 if postIndex < 0 { 4270 return ErrInvalidLengthReflection 4271 } 4272 if postIndex > l { 4273 return io.ErrUnexpectedEOF 4274 } 4275 m.Bech32AccountAddressPrefix = string(dAtA[iNdEx:postIndex]) 4276 iNdEx = postIndex 4277 default: 4278 iNdEx = preIndex 4279 skippy, err := skipReflection(dAtA[iNdEx:]) 4280 if err != nil { 4281 return err 4282 } 4283 if (skippy < 0) || (iNdEx+skippy) < 0 { 4284 return ErrInvalidLengthReflection 4285 } 4286 if (iNdEx + skippy) > l { 4287 return io.ErrUnexpectedEOF 4288 } 4289 iNdEx += skippy 4290 } 4291 } 4292 4293 if iNdEx > l { 4294 return io.ErrUnexpectedEOF 4295 } 4296 return nil 4297 } 4298 func (m *MsgDescriptor) Unmarshal(dAtA []byte) error { 4299 l := len(dAtA) 4300 iNdEx := 0 4301 for iNdEx < l { 4302 preIndex := iNdEx 4303 var wire uint64 4304 for shift := uint(0); ; shift += 7 { 4305 if shift >= 64 { 4306 return ErrIntOverflowReflection 4307 } 4308 if iNdEx >= l { 4309 return io.ErrUnexpectedEOF 4310 } 4311 b := dAtA[iNdEx] 4312 iNdEx++ 4313 wire |= uint64(b&0x7F) << shift 4314 if b < 0x80 { 4315 break 4316 } 4317 } 4318 fieldNum := int32(wire >> 3) 4319 wireType := int(wire & 0x7) 4320 if wireType == 4 { 4321 return fmt.Errorf("proto: MsgDescriptor: wiretype end group for non-group") 4322 } 4323 if fieldNum <= 0 { 4324 return fmt.Errorf("proto: MsgDescriptor: illegal tag %d (wire type %d)", fieldNum, wire) 4325 } 4326 switch fieldNum { 4327 case 1: 4328 if wireType != 2 { 4329 return fmt.Errorf("proto: wrong wireType = %d for field MsgTypeUrl", wireType) 4330 } 4331 var stringLen uint64 4332 for shift := uint(0); ; shift += 7 { 4333 if shift >= 64 { 4334 return ErrIntOverflowReflection 4335 } 4336 if iNdEx >= l { 4337 return io.ErrUnexpectedEOF 4338 } 4339 b := dAtA[iNdEx] 4340 iNdEx++ 4341 stringLen |= uint64(b&0x7F) << shift 4342 if b < 0x80 { 4343 break 4344 } 4345 } 4346 intStringLen := int(stringLen) 4347 if intStringLen < 0 { 4348 return ErrInvalidLengthReflection 4349 } 4350 postIndex := iNdEx + intStringLen 4351 if postIndex < 0 { 4352 return ErrInvalidLengthReflection 4353 } 4354 if postIndex > l { 4355 return io.ErrUnexpectedEOF 4356 } 4357 m.MsgTypeUrl = string(dAtA[iNdEx:postIndex]) 4358 iNdEx = postIndex 4359 default: 4360 iNdEx = preIndex 4361 skippy, err := skipReflection(dAtA[iNdEx:]) 4362 if err != nil { 4363 return err 4364 } 4365 if (skippy < 0) || (iNdEx+skippy) < 0 { 4366 return ErrInvalidLengthReflection 4367 } 4368 if (iNdEx + skippy) > l { 4369 return io.ErrUnexpectedEOF 4370 } 4371 iNdEx += skippy 4372 } 4373 } 4374 4375 if iNdEx > l { 4376 return io.ErrUnexpectedEOF 4377 } 4378 return nil 4379 } 4380 func (m *GetAuthnDescriptorRequest) Unmarshal(dAtA []byte) error { 4381 l := len(dAtA) 4382 iNdEx := 0 4383 for iNdEx < l { 4384 preIndex := iNdEx 4385 var wire uint64 4386 for shift := uint(0); ; shift += 7 { 4387 if shift >= 64 { 4388 return ErrIntOverflowReflection 4389 } 4390 if iNdEx >= l { 4391 return io.ErrUnexpectedEOF 4392 } 4393 b := dAtA[iNdEx] 4394 iNdEx++ 4395 wire |= uint64(b&0x7F) << shift 4396 if b < 0x80 { 4397 break 4398 } 4399 } 4400 fieldNum := int32(wire >> 3) 4401 wireType := int(wire & 0x7) 4402 if wireType == 4 { 4403 return fmt.Errorf("proto: GetAuthnDescriptorRequest: wiretype end group for non-group") 4404 } 4405 if fieldNum <= 0 { 4406 return fmt.Errorf("proto: GetAuthnDescriptorRequest: illegal tag %d (wire type %d)", fieldNum, wire) 4407 } 4408 switch fieldNum { 4409 default: 4410 iNdEx = preIndex 4411 skippy, err := skipReflection(dAtA[iNdEx:]) 4412 if err != nil { 4413 return err 4414 } 4415 if (skippy < 0) || (iNdEx+skippy) < 0 { 4416 return ErrInvalidLengthReflection 4417 } 4418 if (iNdEx + skippy) > l { 4419 return io.ErrUnexpectedEOF 4420 } 4421 iNdEx += skippy 4422 } 4423 } 4424 4425 if iNdEx > l { 4426 return io.ErrUnexpectedEOF 4427 } 4428 return nil 4429 } 4430 func (m *GetAuthnDescriptorResponse) Unmarshal(dAtA []byte) error { 4431 l := len(dAtA) 4432 iNdEx := 0 4433 for iNdEx < l { 4434 preIndex := iNdEx 4435 var wire uint64 4436 for shift := uint(0); ; shift += 7 { 4437 if shift >= 64 { 4438 return ErrIntOverflowReflection 4439 } 4440 if iNdEx >= l { 4441 return io.ErrUnexpectedEOF 4442 } 4443 b := dAtA[iNdEx] 4444 iNdEx++ 4445 wire |= uint64(b&0x7F) << shift 4446 if b < 0x80 { 4447 break 4448 } 4449 } 4450 fieldNum := int32(wire >> 3) 4451 wireType := int(wire & 0x7) 4452 if wireType == 4 { 4453 return fmt.Errorf("proto: GetAuthnDescriptorResponse: wiretype end group for non-group") 4454 } 4455 if fieldNum <= 0 { 4456 return fmt.Errorf("proto: GetAuthnDescriptorResponse: illegal tag %d (wire type %d)", fieldNum, wire) 4457 } 4458 switch fieldNum { 4459 case 1: 4460 if wireType != 2 { 4461 return fmt.Errorf("proto: wrong wireType = %d for field Authn", wireType) 4462 } 4463 var msglen int 4464 for shift := uint(0); ; shift += 7 { 4465 if shift >= 64 { 4466 return ErrIntOverflowReflection 4467 } 4468 if iNdEx >= l { 4469 return io.ErrUnexpectedEOF 4470 } 4471 b := dAtA[iNdEx] 4472 iNdEx++ 4473 msglen |= int(b&0x7F) << shift 4474 if b < 0x80 { 4475 break 4476 } 4477 } 4478 if msglen < 0 { 4479 return ErrInvalidLengthReflection 4480 } 4481 postIndex := iNdEx + msglen 4482 if postIndex < 0 { 4483 return ErrInvalidLengthReflection 4484 } 4485 if postIndex > l { 4486 return io.ErrUnexpectedEOF 4487 } 4488 if m.Authn == nil { 4489 m.Authn = &AuthnDescriptor{} 4490 } 4491 if err := m.Authn.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 4492 return err 4493 } 4494 iNdEx = postIndex 4495 default: 4496 iNdEx = preIndex 4497 skippy, err := skipReflection(dAtA[iNdEx:]) 4498 if err != nil { 4499 return err 4500 } 4501 if (skippy < 0) || (iNdEx+skippy) < 0 { 4502 return ErrInvalidLengthReflection 4503 } 4504 if (iNdEx + skippy) > l { 4505 return io.ErrUnexpectedEOF 4506 } 4507 iNdEx += skippy 4508 } 4509 } 4510 4511 if iNdEx > l { 4512 return io.ErrUnexpectedEOF 4513 } 4514 return nil 4515 } 4516 func (m *GetChainDescriptorRequest) Unmarshal(dAtA []byte) error { 4517 l := len(dAtA) 4518 iNdEx := 0 4519 for iNdEx < l { 4520 preIndex := iNdEx 4521 var wire uint64 4522 for shift := uint(0); ; shift += 7 { 4523 if shift >= 64 { 4524 return ErrIntOverflowReflection 4525 } 4526 if iNdEx >= l { 4527 return io.ErrUnexpectedEOF 4528 } 4529 b := dAtA[iNdEx] 4530 iNdEx++ 4531 wire |= uint64(b&0x7F) << shift 4532 if b < 0x80 { 4533 break 4534 } 4535 } 4536 fieldNum := int32(wire >> 3) 4537 wireType := int(wire & 0x7) 4538 if wireType == 4 { 4539 return fmt.Errorf("proto: GetChainDescriptorRequest: wiretype end group for non-group") 4540 } 4541 if fieldNum <= 0 { 4542 return fmt.Errorf("proto: GetChainDescriptorRequest: illegal tag %d (wire type %d)", fieldNum, wire) 4543 } 4544 switch fieldNum { 4545 default: 4546 iNdEx = preIndex 4547 skippy, err := skipReflection(dAtA[iNdEx:]) 4548 if err != nil { 4549 return err 4550 } 4551 if (skippy < 0) || (iNdEx+skippy) < 0 { 4552 return ErrInvalidLengthReflection 4553 } 4554 if (iNdEx + skippy) > l { 4555 return io.ErrUnexpectedEOF 4556 } 4557 iNdEx += skippy 4558 } 4559 } 4560 4561 if iNdEx > l { 4562 return io.ErrUnexpectedEOF 4563 } 4564 return nil 4565 } 4566 func (m *GetChainDescriptorResponse) Unmarshal(dAtA []byte) error { 4567 l := len(dAtA) 4568 iNdEx := 0 4569 for iNdEx < l { 4570 preIndex := iNdEx 4571 var wire uint64 4572 for shift := uint(0); ; shift += 7 { 4573 if shift >= 64 { 4574 return ErrIntOverflowReflection 4575 } 4576 if iNdEx >= l { 4577 return io.ErrUnexpectedEOF 4578 } 4579 b := dAtA[iNdEx] 4580 iNdEx++ 4581 wire |= uint64(b&0x7F) << shift 4582 if b < 0x80 { 4583 break 4584 } 4585 } 4586 fieldNum := int32(wire >> 3) 4587 wireType := int(wire & 0x7) 4588 if wireType == 4 { 4589 return fmt.Errorf("proto: GetChainDescriptorResponse: wiretype end group for non-group") 4590 } 4591 if fieldNum <= 0 { 4592 return fmt.Errorf("proto: GetChainDescriptorResponse: illegal tag %d (wire type %d)", fieldNum, wire) 4593 } 4594 switch fieldNum { 4595 case 1: 4596 if wireType != 2 { 4597 return fmt.Errorf("proto: wrong wireType = %d for field Chain", wireType) 4598 } 4599 var msglen int 4600 for shift := uint(0); ; shift += 7 { 4601 if shift >= 64 { 4602 return ErrIntOverflowReflection 4603 } 4604 if iNdEx >= l { 4605 return io.ErrUnexpectedEOF 4606 } 4607 b := dAtA[iNdEx] 4608 iNdEx++ 4609 msglen |= int(b&0x7F) << shift 4610 if b < 0x80 { 4611 break 4612 } 4613 } 4614 if msglen < 0 { 4615 return ErrInvalidLengthReflection 4616 } 4617 postIndex := iNdEx + msglen 4618 if postIndex < 0 { 4619 return ErrInvalidLengthReflection 4620 } 4621 if postIndex > l { 4622 return io.ErrUnexpectedEOF 4623 } 4624 if m.Chain == nil { 4625 m.Chain = &ChainDescriptor{} 4626 } 4627 if err := m.Chain.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 4628 return err 4629 } 4630 iNdEx = postIndex 4631 default: 4632 iNdEx = preIndex 4633 skippy, err := skipReflection(dAtA[iNdEx:]) 4634 if err != nil { 4635 return err 4636 } 4637 if (skippy < 0) || (iNdEx+skippy) < 0 { 4638 return ErrInvalidLengthReflection 4639 } 4640 if (iNdEx + skippy) > l { 4641 return io.ErrUnexpectedEOF 4642 } 4643 iNdEx += skippy 4644 } 4645 } 4646 4647 if iNdEx > l { 4648 return io.ErrUnexpectedEOF 4649 } 4650 return nil 4651 } 4652 func (m *GetCodecDescriptorRequest) Unmarshal(dAtA []byte) error { 4653 l := len(dAtA) 4654 iNdEx := 0 4655 for iNdEx < l { 4656 preIndex := iNdEx 4657 var wire uint64 4658 for shift := uint(0); ; shift += 7 { 4659 if shift >= 64 { 4660 return ErrIntOverflowReflection 4661 } 4662 if iNdEx >= l { 4663 return io.ErrUnexpectedEOF 4664 } 4665 b := dAtA[iNdEx] 4666 iNdEx++ 4667 wire |= uint64(b&0x7F) << shift 4668 if b < 0x80 { 4669 break 4670 } 4671 } 4672 fieldNum := int32(wire >> 3) 4673 wireType := int(wire & 0x7) 4674 if wireType == 4 { 4675 return fmt.Errorf("proto: GetCodecDescriptorRequest: wiretype end group for non-group") 4676 } 4677 if fieldNum <= 0 { 4678 return fmt.Errorf("proto: GetCodecDescriptorRequest: illegal tag %d (wire type %d)", fieldNum, wire) 4679 } 4680 switch fieldNum { 4681 default: 4682 iNdEx = preIndex 4683 skippy, err := skipReflection(dAtA[iNdEx:]) 4684 if err != nil { 4685 return err 4686 } 4687 if (skippy < 0) || (iNdEx+skippy) < 0 { 4688 return ErrInvalidLengthReflection 4689 } 4690 if (iNdEx + skippy) > l { 4691 return io.ErrUnexpectedEOF 4692 } 4693 iNdEx += skippy 4694 } 4695 } 4696 4697 if iNdEx > l { 4698 return io.ErrUnexpectedEOF 4699 } 4700 return nil 4701 } 4702 func (m *GetCodecDescriptorResponse) Unmarshal(dAtA []byte) error { 4703 l := len(dAtA) 4704 iNdEx := 0 4705 for iNdEx < l { 4706 preIndex := iNdEx 4707 var wire uint64 4708 for shift := uint(0); ; shift += 7 { 4709 if shift >= 64 { 4710 return ErrIntOverflowReflection 4711 } 4712 if iNdEx >= l { 4713 return io.ErrUnexpectedEOF 4714 } 4715 b := dAtA[iNdEx] 4716 iNdEx++ 4717 wire |= uint64(b&0x7F) << shift 4718 if b < 0x80 { 4719 break 4720 } 4721 } 4722 fieldNum := int32(wire >> 3) 4723 wireType := int(wire & 0x7) 4724 if wireType == 4 { 4725 return fmt.Errorf("proto: GetCodecDescriptorResponse: wiretype end group for non-group") 4726 } 4727 if fieldNum <= 0 { 4728 return fmt.Errorf("proto: GetCodecDescriptorResponse: illegal tag %d (wire type %d)", fieldNum, wire) 4729 } 4730 switch fieldNum { 4731 case 1: 4732 if wireType != 2 { 4733 return fmt.Errorf("proto: wrong wireType = %d for field Codec", wireType) 4734 } 4735 var msglen int 4736 for shift := uint(0); ; shift += 7 { 4737 if shift >= 64 { 4738 return ErrIntOverflowReflection 4739 } 4740 if iNdEx >= l { 4741 return io.ErrUnexpectedEOF 4742 } 4743 b := dAtA[iNdEx] 4744 iNdEx++ 4745 msglen |= int(b&0x7F) << shift 4746 if b < 0x80 { 4747 break 4748 } 4749 } 4750 if msglen < 0 { 4751 return ErrInvalidLengthReflection 4752 } 4753 postIndex := iNdEx + msglen 4754 if postIndex < 0 { 4755 return ErrInvalidLengthReflection 4756 } 4757 if postIndex > l { 4758 return io.ErrUnexpectedEOF 4759 } 4760 if m.Codec == nil { 4761 m.Codec = &CodecDescriptor{} 4762 } 4763 if err := m.Codec.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 4764 return err 4765 } 4766 iNdEx = postIndex 4767 default: 4768 iNdEx = preIndex 4769 skippy, err := skipReflection(dAtA[iNdEx:]) 4770 if err != nil { 4771 return err 4772 } 4773 if (skippy < 0) || (iNdEx+skippy) < 0 { 4774 return ErrInvalidLengthReflection 4775 } 4776 if (iNdEx + skippy) > l { 4777 return io.ErrUnexpectedEOF 4778 } 4779 iNdEx += skippy 4780 } 4781 } 4782 4783 if iNdEx > l { 4784 return io.ErrUnexpectedEOF 4785 } 4786 return nil 4787 } 4788 func (m *GetConfigurationDescriptorRequest) Unmarshal(dAtA []byte) error { 4789 l := len(dAtA) 4790 iNdEx := 0 4791 for iNdEx < l { 4792 preIndex := iNdEx 4793 var wire uint64 4794 for shift := uint(0); ; shift += 7 { 4795 if shift >= 64 { 4796 return ErrIntOverflowReflection 4797 } 4798 if iNdEx >= l { 4799 return io.ErrUnexpectedEOF 4800 } 4801 b := dAtA[iNdEx] 4802 iNdEx++ 4803 wire |= uint64(b&0x7F) << shift 4804 if b < 0x80 { 4805 break 4806 } 4807 } 4808 fieldNum := int32(wire >> 3) 4809 wireType := int(wire & 0x7) 4810 if wireType == 4 { 4811 return fmt.Errorf("proto: GetConfigurationDescriptorRequest: wiretype end group for non-group") 4812 } 4813 if fieldNum <= 0 { 4814 return fmt.Errorf("proto: GetConfigurationDescriptorRequest: illegal tag %d (wire type %d)", fieldNum, wire) 4815 } 4816 switch fieldNum { 4817 default: 4818 iNdEx = preIndex 4819 skippy, err := skipReflection(dAtA[iNdEx:]) 4820 if err != nil { 4821 return err 4822 } 4823 if (skippy < 0) || (iNdEx+skippy) < 0 { 4824 return ErrInvalidLengthReflection 4825 } 4826 if (iNdEx + skippy) > l { 4827 return io.ErrUnexpectedEOF 4828 } 4829 iNdEx += skippy 4830 } 4831 } 4832 4833 if iNdEx > l { 4834 return io.ErrUnexpectedEOF 4835 } 4836 return nil 4837 } 4838 func (m *GetConfigurationDescriptorResponse) Unmarshal(dAtA []byte) error { 4839 l := len(dAtA) 4840 iNdEx := 0 4841 for iNdEx < l { 4842 preIndex := iNdEx 4843 var wire uint64 4844 for shift := uint(0); ; shift += 7 { 4845 if shift >= 64 { 4846 return ErrIntOverflowReflection 4847 } 4848 if iNdEx >= l { 4849 return io.ErrUnexpectedEOF 4850 } 4851 b := dAtA[iNdEx] 4852 iNdEx++ 4853 wire |= uint64(b&0x7F) << shift 4854 if b < 0x80 { 4855 break 4856 } 4857 } 4858 fieldNum := int32(wire >> 3) 4859 wireType := int(wire & 0x7) 4860 if wireType == 4 { 4861 return fmt.Errorf("proto: GetConfigurationDescriptorResponse: wiretype end group for non-group") 4862 } 4863 if fieldNum <= 0 { 4864 return fmt.Errorf("proto: GetConfigurationDescriptorResponse: illegal tag %d (wire type %d)", fieldNum, wire) 4865 } 4866 switch fieldNum { 4867 case 1: 4868 if wireType != 2 { 4869 return fmt.Errorf("proto: wrong wireType = %d for field Config", wireType) 4870 } 4871 var msglen int 4872 for shift := uint(0); ; shift += 7 { 4873 if shift >= 64 { 4874 return ErrIntOverflowReflection 4875 } 4876 if iNdEx >= l { 4877 return io.ErrUnexpectedEOF 4878 } 4879 b := dAtA[iNdEx] 4880 iNdEx++ 4881 msglen |= int(b&0x7F) << shift 4882 if b < 0x80 { 4883 break 4884 } 4885 } 4886 if msglen < 0 { 4887 return ErrInvalidLengthReflection 4888 } 4889 postIndex := iNdEx + msglen 4890 if postIndex < 0 { 4891 return ErrInvalidLengthReflection 4892 } 4893 if postIndex > l { 4894 return io.ErrUnexpectedEOF 4895 } 4896 if m.Config == nil { 4897 m.Config = &ConfigurationDescriptor{} 4898 } 4899 if err := m.Config.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 4900 return err 4901 } 4902 iNdEx = postIndex 4903 default: 4904 iNdEx = preIndex 4905 skippy, err := skipReflection(dAtA[iNdEx:]) 4906 if err != nil { 4907 return err 4908 } 4909 if (skippy < 0) || (iNdEx+skippy) < 0 { 4910 return ErrInvalidLengthReflection 4911 } 4912 if (iNdEx + skippy) > l { 4913 return io.ErrUnexpectedEOF 4914 } 4915 iNdEx += skippy 4916 } 4917 } 4918 4919 if iNdEx > l { 4920 return io.ErrUnexpectedEOF 4921 } 4922 return nil 4923 } 4924 func (m *GetQueryServicesDescriptorRequest) Unmarshal(dAtA []byte) error { 4925 l := len(dAtA) 4926 iNdEx := 0 4927 for iNdEx < l { 4928 preIndex := iNdEx 4929 var wire uint64 4930 for shift := uint(0); ; shift += 7 { 4931 if shift >= 64 { 4932 return ErrIntOverflowReflection 4933 } 4934 if iNdEx >= l { 4935 return io.ErrUnexpectedEOF 4936 } 4937 b := dAtA[iNdEx] 4938 iNdEx++ 4939 wire |= uint64(b&0x7F) << shift 4940 if b < 0x80 { 4941 break 4942 } 4943 } 4944 fieldNum := int32(wire >> 3) 4945 wireType := int(wire & 0x7) 4946 if wireType == 4 { 4947 return fmt.Errorf("proto: GetQueryServicesDescriptorRequest: wiretype end group for non-group") 4948 } 4949 if fieldNum <= 0 { 4950 return fmt.Errorf("proto: GetQueryServicesDescriptorRequest: illegal tag %d (wire type %d)", fieldNum, wire) 4951 } 4952 switch fieldNum { 4953 default: 4954 iNdEx = preIndex 4955 skippy, err := skipReflection(dAtA[iNdEx:]) 4956 if err != nil { 4957 return err 4958 } 4959 if (skippy < 0) || (iNdEx+skippy) < 0 { 4960 return ErrInvalidLengthReflection 4961 } 4962 if (iNdEx + skippy) > l { 4963 return io.ErrUnexpectedEOF 4964 } 4965 iNdEx += skippy 4966 } 4967 } 4968 4969 if iNdEx > l { 4970 return io.ErrUnexpectedEOF 4971 } 4972 return nil 4973 } 4974 func (m *GetQueryServicesDescriptorResponse) Unmarshal(dAtA []byte) error { 4975 l := len(dAtA) 4976 iNdEx := 0 4977 for iNdEx < l { 4978 preIndex := iNdEx 4979 var wire uint64 4980 for shift := uint(0); ; shift += 7 { 4981 if shift >= 64 { 4982 return ErrIntOverflowReflection 4983 } 4984 if iNdEx >= l { 4985 return io.ErrUnexpectedEOF 4986 } 4987 b := dAtA[iNdEx] 4988 iNdEx++ 4989 wire |= uint64(b&0x7F) << shift 4990 if b < 0x80 { 4991 break 4992 } 4993 } 4994 fieldNum := int32(wire >> 3) 4995 wireType := int(wire & 0x7) 4996 if wireType == 4 { 4997 return fmt.Errorf("proto: GetQueryServicesDescriptorResponse: wiretype end group for non-group") 4998 } 4999 if fieldNum <= 0 { 5000 return fmt.Errorf("proto: GetQueryServicesDescriptorResponse: illegal tag %d (wire type %d)", fieldNum, wire) 5001 } 5002 switch fieldNum { 5003 case 1: 5004 if wireType != 2 { 5005 return fmt.Errorf("proto: wrong wireType = %d for field Queries", wireType) 5006 } 5007 var msglen int 5008 for shift := uint(0); ; shift += 7 { 5009 if shift >= 64 { 5010 return ErrIntOverflowReflection 5011 } 5012 if iNdEx >= l { 5013 return io.ErrUnexpectedEOF 5014 } 5015 b := dAtA[iNdEx] 5016 iNdEx++ 5017 msglen |= int(b&0x7F) << shift 5018 if b < 0x80 { 5019 break 5020 } 5021 } 5022 if msglen < 0 { 5023 return ErrInvalidLengthReflection 5024 } 5025 postIndex := iNdEx + msglen 5026 if postIndex < 0 { 5027 return ErrInvalidLengthReflection 5028 } 5029 if postIndex > l { 5030 return io.ErrUnexpectedEOF 5031 } 5032 if m.Queries == nil { 5033 m.Queries = &QueryServicesDescriptor{} 5034 } 5035 if err := m.Queries.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 5036 return err 5037 } 5038 iNdEx = postIndex 5039 default: 5040 iNdEx = preIndex 5041 skippy, err := skipReflection(dAtA[iNdEx:]) 5042 if err != nil { 5043 return err 5044 } 5045 if (skippy < 0) || (iNdEx+skippy) < 0 { 5046 return ErrInvalidLengthReflection 5047 } 5048 if (iNdEx + skippy) > l { 5049 return io.ErrUnexpectedEOF 5050 } 5051 iNdEx += skippy 5052 } 5053 } 5054 5055 if iNdEx > l { 5056 return io.ErrUnexpectedEOF 5057 } 5058 return nil 5059 } 5060 func (m *GetTxDescriptorRequest) Unmarshal(dAtA []byte) error { 5061 l := len(dAtA) 5062 iNdEx := 0 5063 for iNdEx < l { 5064 preIndex := iNdEx 5065 var wire uint64 5066 for shift := uint(0); ; shift += 7 { 5067 if shift >= 64 { 5068 return ErrIntOverflowReflection 5069 } 5070 if iNdEx >= l { 5071 return io.ErrUnexpectedEOF 5072 } 5073 b := dAtA[iNdEx] 5074 iNdEx++ 5075 wire |= uint64(b&0x7F) << shift 5076 if b < 0x80 { 5077 break 5078 } 5079 } 5080 fieldNum := int32(wire >> 3) 5081 wireType := int(wire & 0x7) 5082 if wireType == 4 { 5083 return fmt.Errorf("proto: GetTxDescriptorRequest: wiretype end group for non-group") 5084 } 5085 if fieldNum <= 0 { 5086 return fmt.Errorf("proto: GetTxDescriptorRequest: illegal tag %d (wire type %d)", fieldNum, wire) 5087 } 5088 switch fieldNum { 5089 default: 5090 iNdEx = preIndex 5091 skippy, err := skipReflection(dAtA[iNdEx:]) 5092 if err != nil { 5093 return err 5094 } 5095 if (skippy < 0) || (iNdEx+skippy) < 0 { 5096 return ErrInvalidLengthReflection 5097 } 5098 if (iNdEx + skippy) > l { 5099 return io.ErrUnexpectedEOF 5100 } 5101 iNdEx += skippy 5102 } 5103 } 5104 5105 if iNdEx > l { 5106 return io.ErrUnexpectedEOF 5107 } 5108 return nil 5109 } 5110 func (m *GetTxDescriptorResponse) Unmarshal(dAtA []byte) error { 5111 l := len(dAtA) 5112 iNdEx := 0 5113 for iNdEx < l { 5114 preIndex := iNdEx 5115 var wire uint64 5116 for shift := uint(0); ; shift += 7 { 5117 if shift >= 64 { 5118 return ErrIntOverflowReflection 5119 } 5120 if iNdEx >= l { 5121 return io.ErrUnexpectedEOF 5122 } 5123 b := dAtA[iNdEx] 5124 iNdEx++ 5125 wire |= uint64(b&0x7F) << shift 5126 if b < 0x80 { 5127 break 5128 } 5129 } 5130 fieldNum := int32(wire >> 3) 5131 wireType := int(wire & 0x7) 5132 if wireType == 4 { 5133 return fmt.Errorf("proto: GetTxDescriptorResponse: wiretype end group for non-group") 5134 } 5135 if fieldNum <= 0 { 5136 return fmt.Errorf("proto: GetTxDescriptorResponse: illegal tag %d (wire type %d)", fieldNum, wire) 5137 } 5138 switch fieldNum { 5139 case 1: 5140 if wireType != 2 { 5141 return fmt.Errorf("proto: wrong wireType = %d for field Tx", wireType) 5142 } 5143 var msglen int 5144 for shift := uint(0); ; shift += 7 { 5145 if shift >= 64 { 5146 return ErrIntOverflowReflection 5147 } 5148 if iNdEx >= l { 5149 return io.ErrUnexpectedEOF 5150 } 5151 b := dAtA[iNdEx] 5152 iNdEx++ 5153 msglen |= int(b&0x7F) << shift 5154 if b < 0x80 { 5155 break 5156 } 5157 } 5158 if msglen < 0 { 5159 return ErrInvalidLengthReflection 5160 } 5161 postIndex := iNdEx + msglen 5162 if postIndex < 0 { 5163 return ErrInvalidLengthReflection 5164 } 5165 if postIndex > l { 5166 return io.ErrUnexpectedEOF 5167 } 5168 if m.Tx == nil { 5169 m.Tx = &TxDescriptor{} 5170 } 5171 if err := m.Tx.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 5172 return err 5173 } 5174 iNdEx = postIndex 5175 default: 5176 iNdEx = preIndex 5177 skippy, err := skipReflection(dAtA[iNdEx:]) 5178 if err != nil { 5179 return err 5180 } 5181 if (skippy < 0) || (iNdEx+skippy) < 0 { 5182 return ErrInvalidLengthReflection 5183 } 5184 if (iNdEx + skippy) > l { 5185 return io.ErrUnexpectedEOF 5186 } 5187 iNdEx += skippy 5188 } 5189 } 5190 5191 if iNdEx > l { 5192 return io.ErrUnexpectedEOF 5193 } 5194 return nil 5195 } 5196 func (m *QueryServicesDescriptor) Unmarshal(dAtA []byte) error { 5197 l := len(dAtA) 5198 iNdEx := 0 5199 for iNdEx < l { 5200 preIndex := iNdEx 5201 var wire uint64 5202 for shift := uint(0); ; shift += 7 { 5203 if shift >= 64 { 5204 return ErrIntOverflowReflection 5205 } 5206 if iNdEx >= l { 5207 return io.ErrUnexpectedEOF 5208 } 5209 b := dAtA[iNdEx] 5210 iNdEx++ 5211 wire |= uint64(b&0x7F) << shift 5212 if b < 0x80 { 5213 break 5214 } 5215 } 5216 fieldNum := int32(wire >> 3) 5217 wireType := int(wire & 0x7) 5218 if wireType == 4 { 5219 return fmt.Errorf("proto: QueryServicesDescriptor: wiretype end group for non-group") 5220 } 5221 if fieldNum <= 0 { 5222 return fmt.Errorf("proto: QueryServicesDescriptor: illegal tag %d (wire type %d)", fieldNum, wire) 5223 } 5224 switch fieldNum { 5225 case 1: 5226 if wireType != 2 { 5227 return fmt.Errorf("proto: wrong wireType = %d for field QueryServices", wireType) 5228 } 5229 var msglen int 5230 for shift := uint(0); ; shift += 7 { 5231 if shift >= 64 { 5232 return ErrIntOverflowReflection 5233 } 5234 if iNdEx >= l { 5235 return io.ErrUnexpectedEOF 5236 } 5237 b := dAtA[iNdEx] 5238 iNdEx++ 5239 msglen |= int(b&0x7F) << shift 5240 if b < 0x80 { 5241 break 5242 } 5243 } 5244 if msglen < 0 { 5245 return ErrInvalidLengthReflection 5246 } 5247 postIndex := iNdEx + msglen 5248 if postIndex < 0 { 5249 return ErrInvalidLengthReflection 5250 } 5251 if postIndex > l { 5252 return io.ErrUnexpectedEOF 5253 } 5254 m.QueryServices = append(m.QueryServices, &QueryServiceDescriptor{}) 5255 if err := m.QueryServices[len(m.QueryServices)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 5256 return err 5257 } 5258 iNdEx = postIndex 5259 default: 5260 iNdEx = preIndex 5261 skippy, err := skipReflection(dAtA[iNdEx:]) 5262 if err != nil { 5263 return err 5264 } 5265 if (skippy < 0) || (iNdEx+skippy) < 0 { 5266 return ErrInvalidLengthReflection 5267 } 5268 if (iNdEx + skippy) > l { 5269 return io.ErrUnexpectedEOF 5270 } 5271 iNdEx += skippy 5272 } 5273 } 5274 5275 if iNdEx > l { 5276 return io.ErrUnexpectedEOF 5277 } 5278 return nil 5279 } 5280 func (m *QueryServiceDescriptor) Unmarshal(dAtA []byte) error { 5281 l := len(dAtA) 5282 iNdEx := 0 5283 for iNdEx < l { 5284 preIndex := iNdEx 5285 var wire uint64 5286 for shift := uint(0); ; shift += 7 { 5287 if shift >= 64 { 5288 return ErrIntOverflowReflection 5289 } 5290 if iNdEx >= l { 5291 return io.ErrUnexpectedEOF 5292 } 5293 b := dAtA[iNdEx] 5294 iNdEx++ 5295 wire |= uint64(b&0x7F) << shift 5296 if b < 0x80 { 5297 break 5298 } 5299 } 5300 fieldNum := int32(wire >> 3) 5301 wireType := int(wire & 0x7) 5302 if wireType == 4 { 5303 return fmt.Errorf("proto: QueryServiceDescriptor: wiretype end group for non-group") 5304 } 5305 if fieldNum <= 0 { 5306 return fmt.Errorf("proto: QueryServiceDescriptor: illegal tag %d (wire type %d)", fieldNum, wire) 5307 } 5308 switch fieldNum { 5309 case 1: 5310 if wireType != 2 { 5311 return fmt.Errorf("proto: wrong wireType = %d for field Fullname", wireType) 5312 } 5313 var stringLen uint64 5314 for shift := uint(0); ; shift += 7 { 5315 if shift >= 64 { 5316 return ErrIntOverflowReflection 5317 } 5318 if iNdEx >= l { 5319 return io.ErrUnexpectedEOF 5320 } 5321 b := dAtA[iNdEx] 5322 iNdEx++ 5323 stringLen |= uint64(b&0x7F) << shift 5324 if b < 0x80 { 5325 break 5326 } 5327 } 5328 intStringLen := int(stringLen) 5329 if intStringLen < 0 { 5330 return ErrInvalidLengthReflection 5331 } 5332 postIndex := iNdEx + intStringLen 5333 if postIndex < 0 { 5334 return ErrInvalidLengthReflection 5335 } 5336 if postIndex > l { 5337 return io.ErrUnexpectedEOF 5338 } 5339 m.Fullname = string(dAtA[iNdEx:postIndex]) 5340 iNdEx = postIndex 5341 case 2: 5342 if wireType != 0 { 5343 return fmt.Errorf("proto: wrong wireType = %d for field IsModule", wireType) 5344 } 5345 var v int 5346 for shift := uint(0); ; shift += 7 { 5347 if shift >= 64 { 5348 return ErrIntOverflowReflection 5349 } 5350 if iNdEx >= l { 5351 return io.ErrUnexpectedEOF 5352 } 5353 b := dAtA[iNdEx] 5354 iNdEx++ 5355 v |= int(b&0x7F) << shift 5356 if b < 0x80 { 5357 break 5358 } 5359 } 5360 m.IsModule = bool(v != 0) 5361 case 3: 5362 if wireType != 2 { 5363 return fmt.Errorf("proto: wrong wireType = %d for field Methods", wireType) 5364 } 5365 var msglen int 5366 for shift := uint(0); ; shift += 7 { 5367 if shift >= 64 { 5368 return ErrIntOverflowReflection 5369 } 5370 if iNdEx >= l { 5371 return io.ErrUnexpectedEOF 5372 } 5373 b := dAtA[iNdEx] 5374 iNdEx++ 5375 msglen |= int(b&0x7F) << shift 5376 if b < 0x80 { 5377 break 5378 } 5379 } 5380 if msglen < 0 { 5381 return ErrInvalidLengthReflection 5382 } 5383 postIndex := iNdEx + msglen 5384 if postIndex < 0 { 5385 return ErrInvalidLengthReflection 5386 } 5387 if postIndex > l { 5388 return io.ErrUnexpectedEOF 5389 } 5390 m.Methods = append(m.Methods, &QueryMethodDescriptor{}) 5391 if err := m.Methods[len(m.Methods)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { 5392 return err 5393 } 5394 iNdEx = postIndex 5395 default: 5396 iNdEx = preIndex 5397 skippy, err := skipReflection(dAtA[iNdEx:]) 5398 if err != nil { 5399 return err 5400 } 5401 if (skippy < 0) || (iNdEx+skippy) < 0 { 5402 return ErrInvalidLengthReflection 5403 } 5404 if (iNdEx + skippy) > l { 5405 return io.ErrUnexpectedEOF 5406 } 5407 iNdEx += skippy 5408 } 5409 } 5410 5411 if iNdEx > l { 5412 return io.ErrUnexpectedEOF 5413 } 5414 return nil 5415 } 5416 func (m *QueryMethodDescriptor) Unmarshal(dAtA []byte) error { 5417 l := len(dAtA) 5418 iNdEx := 0 5419 for iNdEx < l { 5420 preIndex := iNdEx 5421 var wire uint64 5422 for shift := uint(0); ; shift += 7 { 5423 if shift >= 64 { 5424 return ErrIntOverflowReflection 5425 } 5426 if iNdEx >= l { 5427 return io.ErrUnexpectedEOF 5428 } 5429 b := dAtA[iNdEx] 5430 iNdEx++ 5431 wire |= uint64(b&0x7F) << shift 5432 if b < 0x80 { 5433 break 5434 } 5435 } 5436 fieldNum := int32(wire >> 3) 5437 wireType := int(wire & 0x7) 5438 if wireType == 4 { 5439 return fmt.Errorf("proto: QueryMethodDescriptor: wiretype end group for non-group") 5440 } 5441 if fieldNum <= 0 { 5442 return fmt.Errorf("proto: QueryMethodDescriptor: illegal tag %d (wire type %d)", fieldNum, wire) 5443 } 5444 switch fieldNum { 5445 case 1: 5446 if wireType != 2 { 5447 return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) 5448 } 5449 var stringLen uint64 5450 for shift := uint(0); ; shift += 7 { 5451 if shift >= 64 { 5452 return ErrIntOverflowReflection 5453 } 5454 if iNdEx >= l { 5455 return io.ErrUnexpectedEOF 5456 } 5457 b := dAtA[iNdEx] 5458 iNdEx++ 5459 stringLen |= uint64(b&0x7F) << shift 5460 if b < 0x80 { 5461 break 5462 } 5463 } 5464 intStringLen := int(stringLen) 5465 if intStringLen < 0 { 5466 return ErrInvalidLengthReflection 5467 } 5468 postIndex := iNdEx + intStringLen 5469 if postIndex < 0 { 5470 return ErrInvalidLengthReflection 5471 } 5472 if postIndex > l { 5473 return io.ErrUnexpectedEOF 5474 } 5475 m.Name = string(dAtA[iNdEx:postIndex]) 5476 iNdEx = postIndex 5477 case 2: 5478 if wireType != 2 { 5479 return fmt.Errorf("proto: wrong wireType = %d for field FullQueryPath", wireType) 5480 } 5481 var stringLen uint64 5482 for shift := uint(0); ; shift += 7 { 5483 if shift >= 64 { 5484 return ErrIntOverflowReflection 5485 } 5486 if iNdEx >= l { 5487 return io.ErrUnexpectedEOF 5488 } 5489 b := dAtA[iNdEx] 5490 iNdEx++ 5491 stringLen |= uint64(b&0x7F) << shift 5492 if b < 0x80 { 5493 break 5494 } 5495 } 5496 intStringLen := int(stringLen) 5497 if intStringLen < 0 { 5498 return ErrInvalidLengthReflection 5499 } 5500 postIndex := iNdEx + intStringLen 5501 if postIndex < 0 { 5502 return ErrInvalidLengthReflection 5503 } 5504 if postIndex > l { 5505 return io.ErrUnexpectedEOF 5506 } 5507 m.FullQueryPath = string(dAtA[iNdEx:postIndex]) 5508 iNdEx = postIndex 5509 default: 5510 iNdEx = preIndex 5511 skippy, err := skipReflection(dAtA[iNdEx:]) 5512 if err != nil { 5513 return err 5514 } 5515 if (skippy < 0) || (iNdEx+skippy) < 0 { 5516 return ErrInvalidLengthReflection 5517 } 5518 if (iNdEx + skippy) > l { 5519 return io.ErrUnexpectedEOF 5520 } 5521 iNdEx += skippy 5522 } 5523 } 5524 5525 if iNdEx > l { 5526 return io.ErrUnexpectedEOF 5527 } 5528 return nil 5529 } 5530 func skipReflection(dAtA []byte) (n int, err error) { 5531 l := len(dAtA) 5532 iNdEx := 0 5533 depth := 0 5534 for iNdEx < l { 5535 var wire uint64 5536 for shift := uint(0); ; shift += 7 { 5537 if shift >= 64 { 5538 return 0, ErrIntOverflowReflection 5539 } 5540 if iNdEx >= l { 5541 return 0, io.ErrUnexpectedEOF 5542 } 5543 b := dAtA[iNdEx] 5544 iNdEx++ 5545 wire |= (uint64(b) & 0x7F) << shift 5546 if b < 0x80 { 5547 break 5548 } 5549 } 5550 wireType := int(wire & 0x7) 5551 switch wireType { 5552 case 0: 5553 for shift := uint(0); ; shift += 7 { 5554 if shift >= 64 { 5555 return 0, ErrIntOverflowReflection 5556 } 5557 if iNdEx >= l { 5558 return 0, io.ErrUnexpectedEOF 5559 } 5560 iNdEx++ 5561 if dAtA[iNdEx-1] < 0x80 { 5562 break 5563 } 5564 } 5565 case 1: 5566 iNdEx += 8 5567 case 2: 5568 var length int 5569 for shift := uint(0); ; shift += 7 { 5570 if shift >= 64 { 5571 return 0, ErrIntOverflowReflection 5572 } 5573 if iNdEx >= l { 5574 return 0, io.ErrUnexpectedEOF 5575 } 5576 b := dAtA[iNdEx] 5577 iNdEx++ 5578 length |= (int(b) & 0x7F) << shift 5579 if b < 0x80 { 5580 break 5581 } 5582 } 5583 if length < 0 { 5584 return 0, ErrInvalidLengthReflection 5585 } 5586 iNdEx += length 5587 case 3: 5588 depth++ 5589 case 4: 5590 if depth == 0 { 5591 return 0, ErrUnexpectedEndOfGroupReflection 5592 } 5593 depth-- 5594 case 5: 5595 iNdEx += 4 5596 default: 5597 return 0, fmt.Errorf("proto: illegal wireType %d", wireType) 5598 } 5599 if iNdEx < 0 { 5600 return 0, ErrInvalidLengthReflection 5601 } 5602 if depth == 0 { 5603 return iNdEx, nil 5604 } 5605 } 5606 return 0, io.ErrUnexpectedEOF 5607 } 5608 5609 var ( 5610 ErrInvalidLengthReflection = fmt.Errorf("proto: negative length found during unmarshaling") 5611 ErrIntOverflowReflection = fmt.Errorf("proto: integer overflow") 5612 ErrUnexpectedEndOfGroupReflection = fmt.Errorf("proto: unexpected end of group") 5613 )