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