From 533eea87aeaa834fede97dfd5290fbc380b869c3 Mon Sep 17 00:00:00 2001 From: marbar3778 Date: Wed, 27 Dec 2023 18:49:16 -0800 Subject: [PATCH] refactor(server)!: remove duplicate bech32 prefix endpoint This pr removes bech32prefix endpoint from grpc refelction in server. This removes the global usage of bech32 and puts it into auth. Auth already had an endpointt that was used elsewhere. --- .../reflection/v2alpha1/reflection.pulsar.go | 3067 +++++------------ .../reflection/v2alpha1/reflection_grpc.pb.go | 39 - .../base/reflection/v2alpha1/reflection.proto | 22 +- server/grpc/reflection/v2alpha1/reflection.go | 9 - .../grpc/reflection/v2alpha1/reflection.pb.go | 741 +--- .../reflection/v2alpha1/reflection.pb.gw.go | 65 - tools/hubl/internal/load.go | 10 +- x/tx/internal/testpb/signers.proto | 5 +- 8 files changed, 884 insertions(+), 3074 deletions(-) diff --git a/api/cosmos/base/reflection/v2alpha1/reflection.pulsar.go b/api/cosmos/base/reflection/v2alpha1/reflection.pulsar.go index cbe1d3f25f7aa..6f1fd93e137bb 100644 --- a/api/cosmos/base/reflection/v2alpha1/reflection.pulsar.go +++ b/api/cosmos/base/reflection/v2alpha1/reflection.pulsar.go @@ -18,7 +18,6 @@ var ( fd_AppDescriptor_authn protoreflect.FieldDescriptor fd_AppDescriptor_chain protoreflect.FieldDescriptor fd_AppDescriptor_codec protoreflect.FieldDescriptor - fd_AppDescriptor_configuration protoreflect.FieldDescriptor fd_AppDescriptor_query_services protoreflect.FieldDescriptor fd_AppDescriptor_tx protoreflect.FieldDescriptor ) @@ -29,7 +28,6 @@ func init() { fd_AppDescriptor_authn = md_AppDescriptor.Fields().ByName("authn") fd_AppDescriptor_chain = md_AppDescriptor.Fields().ByName("chain") fd_AppDescriptor_codec = md_AppDescriptor.Fields().ByName("codec") - fd_AppDescriptor_configuration = md_AppDescriptor.Fields().ByName("configuration") fd_AppDescriptor_query_services = md_AppDescriptor.Fields().ByName("query_services") fd_AppDescriptor_tx = md_AppDescriptor.Fields().ByName("tx") } @@ -117,12 +115,6 @@ func (x *fastReflection_AppDescriptor) Range(f func(protoreflect.FieldDescriptor return } } - if x.Configuration != nil { - value := protoreflect.ValueOfMessage(x.Configuration.ProtoReflect()) - if !f(fd_AppDescriptor_configuration, value) { - return - } - } if x.QueryServices != nil { value := protoreflect.ValueOfMessage(x.QueryServices.ProtoReflect()) if !f(fd_AppDescriptor_query_services, value) { @@ -156,8 +148,6 @@ func (x *fastReflection_AppDescriptor) Has(fd protoreflect.FieldDescriptor) bool return x.Chain != nil case "cosmos.base.reflection.v2alpha1.AppDescriptor.codec": return x.Codec != nil - case "cosmos.base.reflection.v2alpha1.AppDescriptor.configuration": - return x.Configuration != nil case "cosmos.base.reflection.v2alpha1.AppDescriptor.query_services": return x.QueryServices != nil case "cosmos.base.reflection.v2alpha1.AppDescriptor.tx": @@ -184,8 +174,6 @@ func (x *fastReflection_AppDescriptor) Clear(fd protoreflect.FieldDescriptor) { x.Chain = nil case "cosmos.base.reflection.v2alpha1.AppDescriptor.codec": x.Codec = nil - case "cosmos.base.reflection.v2alpha1.AppDescriptor.configuration": - x.Configuration = nil case "cosmos.base.reflection.v2alpha1.AppDescriptor.query_services": x.QueryServices = nil case "cosmos.base.reflection.v2alpha1.AppDescriptor.tx": @@ -215,9 +203,6 @@ func (x *fastReflection_AppDescriptor) Get(descriptor protoreflect.FieldDescript case "cosmos.base.reflection.v2alpha1.AppDescriptor.codec": value := x.Codec return protoreflect.ValueOfMessage(value.ProtoReflect()) - case "cosmos.base.reflection.v2alpha1.AppDescriptor.configuration": - value := x.Configuration - return protoreflect.ValueOfMessage(value.ProtoReflect()) case "cosmos.base.reflection.v2alpha1.AppDescriptor.query_services": value := x.QueryServices return protoreflect.ValueOfMessage(value.ProtoReflect()) @@ -250,8 +235,6 @@ func (x *fastReflection_AppDescriptor) Set(fd protoreflect.FieldDescriptor, valu x.Chain = value.Message().Interface().(*ChainDescriptor) case "cosmos.base.reflection.v2alpha1.AppDescriptor.codec": x.Codec = value.Message().Interface().(*CodecDescriptor) - case "cosmos.base.reflection.v2alpha1.AppDescriptor.configuration": - x.Configuration = value.Message().Interface().(*ConfigurationDescriptor) case "cosmos.base.reflection.v2alpha1.AppDescriptor.query_services": x.QueryServices = value.Message().Interface().(*QueryServicesDescriptor) case "cosmos.base.reflection.v2alpha1.AppDescriptor.tx": @@ -291,11 +274,6 @@ func (x *fastReflection_AppDescriptor) Mutable(fd protoreflect.FieldDescriptor) x.Codec = new(CodecDescriptor) } return protoreflect.ValueOfMessage(x.Codec.ProtoReflect()) - case "cosmos.base.reflection.v2alpha1.AppDescriptor.configuration": - if x.Configuration == nil { - x.Configuration = new(ConfigurationDescriptor) - } - return protoreflect.ValueOfMessage(x.Configuration.ProtoReflect()) case "cosmos.base.reflection.v2alpha1.AppDescriptor.query_services": if x.QueryServices == nil { x.QueryServices = new(QueryServicesDescriptor) @@ -328,9 +306,6 @@ func (x *fastReflection_AppDescriptor) NewField(fd protoreflect.FieldDescriptor) case "cosmos.base.reflection.v2alpha1.AppDescriptor.codec": m := new(CodecDescriptor) return protoreflect.ValueOfMessage(m.ProtoReflect()) - case "cosmos.base.reflection.v2alpha1.AppDescriptor.configuration": - m := new(ConfigurationDescriptor) - return protoreflect.ValueOfMessage(m.ProtoReflect()) case "cosmos.base.reflection.v2alpha1.AppDescriptor.query_services": m := new(QueryServicesDescriptor) return protoreflect.ValueOfMessage(m.ProtoReflect()) @@ -418,10 +393,6 @@ func (x *fastReflection_AppDescriptor) ProtoMethods() *protoiface.Methods { l = options.Size(x.Codec) n += 1 + l + runtime.Sov(uint64(l)) } - if x.Configuration != nil { - l = options.Size(x.Configuration) - n += 1 + l + runtime.Sov(uint64(l)) - } if x.QueryServices != nil { l = options.Size(x.QueryServices) n += 1 + l + runtime.Sov(uint64(l)) @@ -487,20 +458,6 @@ func (x *fastReflection_AppDescriptor) ProtoMethods() *protoiface.Methods { i-- dAtA[i] = 0x2a } - if x.Configuration != nil { - encoded, err := options.Marshal(x.Configuration) - if err != nil { - return protoiface.MarshalOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Buf: input.Buf, - }, err - } - i -= len(encoded) - copy(dAtA[i:], encoded) - i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) - i-- - dAtA[i] = 0x22 - } if x.Codec != nil { encoded, err := options.Marshal(x.Codec) if err != nil { @@ -700,42 +657,6 @@ func (x *fastReflection_AppDescriptor) ProtoMethods() *protoiface.Methods { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } iNdEx = postIndex - case 4: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Configuration", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow - } - if iNdEx >= l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength - } - if postIndex > l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - if x.Configuration == nil { - x.Configuration = &ConfigurationDescriptor{} - } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Configuration); err != nil { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err - } - iNdEx = postIndex case 5: if wireType != 2 { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field QueryServices", wireType) @@ -5066,25 +4987,25 @@ func (x *fastReflection_InterfaceAcceptingMessageDescriptor) ProtoMethods() *pro } var ( - md_ConfigurationDescriptor protoreflect.MessageDescriptor - fd_ConfigurationDescriptor_bech32_account_address_prefix protoreflect.FieldDescriptor + md_MsgDescriptor protoreflect.MessageDescriptor + fd_MsgDescriptor_msg_type_url protoreflect.FieldDescriptor ) func init() { file_cosmos_base_reflection_v2alpha1_reflection_proto_init() - md_ConfigurationDescriptor = File_cosmos_base_reflection_v2alpha1_reflection_proto.Messages().ByName("ConfigurationDescriptor") - fd_ConfigurationDescriptor_bech32_account_address_prefix = md_ConfigurationDescriptor.Fields().ByName("bech32_account_address_prefix") + md_MsgDescriptor = File_cosmos_base_reflection_v2alpha1_reflection_proto.Messages().ByName("MsgDescriptor") + fd_MsgDescriptor_msg_type_url = md_MsgDescriptor.Fields().ByName("msg_type_url") } -var _ protoreflect.Message = (*fastReflection_ConfigurationDescriptor)(nil) +var _ protoreflect.Message = (*fastReflection_MsgDescriptor)(nil) -type fastReflection_ConfigurationDescriptor ConfigurationDescriptor +type fastReflection_MsgDescriptor MsgDescriptor -func (x *ConfigurationDescriptor) ProtoReflect() protoreflect.Message { - return (*fastReflection_ConfigurationDescriptor)(x) +func (x *MsgDescriptor) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgDescriptor)(x) } -func (x *ConfigurationDescriptor) slowProtoReflect() protoreflect.Message { +func (x *MsgDescriptor) slowProtoReflect() protoreflect.Message { mi := &file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -5096,43 +5017,43 @@ func (x *ConfigurationDescriptor) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_ConfigurationDescriptor_messageType fastReflection_ConfigurationDescriptor_messageType -var _ protoreflect.MessageType = fastReflection_ConfigurationDescriptor_messageType{} +var _fastReflection_MsgDescriptor_messageType fastReflection_MsgDescriptor_messageType +var _ protoreflect.MessageType = fastReflection_MsgDescriptor_messageType{} -type fastReflection_ConfigurationDescriptor_messageType struct{} +type fastReflection_MsgDescriptor_messageType struct{} -func (x fastReflection_ConfigurationDescriptor_messageType) Zero() protoreflect.Message { - return (*fastReflection_ConfigurationDescriptor)(nil) +func (x fastReflection_MsgDescriptor_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgDescriptor)(nil) } -func (x fastReflection_ConfigurationDescriptor_messageType) New() protoreflect.Message { - return new(fastReflection_ConfigurationDescriptor) +func (x fastReflection_MsgDescriptor_messageType) New() protoreflect.Message { + return new(fastReflection_MsgDescriptor) } -func (x fastReflection_ConfigurationDescriptor_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_ConfigurationDescriptor +func (x fastReflection_MsgDescriptor_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgDescriptor } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_ConfigurationDescriptor) Descriptor() protoreflect.MessageDescriptor { - return md_ConfigurationDescriptor +func (x *fastReflection_MsgDescriptor) Descriptor() protoreflect.MessageDescriptor { + return md_MsgDescriptor } // Type returns the message type, which encapsulates both Go and protobuf // type information. If the Go type information is not needed, // it is recommended that the message descriptor be used instead. -func (x *fastReflection_ConfigurationDescriptor) Type() protoreflect.MessageType { - return _fastReflection_ConfigurationDescriptor_messageType +func (x *fastReflection_MsgDescriptor) Type() protoreflect.MessageType { + return _fastReflection_MsgDescriptor_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_ConfigurationDescriptor) New() protoreflect.Message { - return new(fastReflection_ConfigurationDescriptor) +func (x *fastReflection_MsgDescriptor) New() protoreflect.Message { + return new(fastReflection_MsgDescriptor) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_ConfigurationDescriptor) Interface() protoreflect.ProtoMessage { - return (*ConfigurationDescriptor)(x) +func (x *fastReflection_MsgDescriptor) Interface() protoreflect.ProtoMessage { + return (*MsgDescriptor)(x) } // Range iterates over every populated field in an undefined order, @@ -5140,10 +5061,10 @@ func (x *fastReflection_ConfigurationDescriptor) Interface() protoreflect.ProtoM // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_ConfigurationDescriptor) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.Bech32AccountAddressPrefix != "" { - value := protoreflect.ValueOfString(x.Bech32AccountAddressPrefix) - if !f(fd_ConfigurationDescriptor_bech32_account_address_prefix, value) { +func (x *fastReflection_MsgDescriptor) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.MsgTypeUrl != "" { + value := protoreflect.ValueOfString(x.MsgTypeUrl) + if !f(fd_MsgDescriptor_msg_type_url, value) { return } } @@ -5160,15 +5081,15 @@ func (x *fastReflection_ConfigurationDescriptor) Range(f func(protoreflect.Field // In other cases (aside from the nullable cases above), // a proto3 scalar field is populated if it contains a non-zero value, and // a repeated field is populated if it is non-empty. -func (x *fastReflection_ConfigurationDescriptor) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgDescriptor) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "cosmos.base.reflection.v2alpha1.ConfigurationDescriptor.bech32_account_address_prefix": - return x.Bech32AccountAddressPrefix != "" + case "cosmos.base.reflection.v2alpha1.MsgDescriptor.msg_type_url": + return x.MsgTypeUrl != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.ConfigurationDescriptor")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.MsgDescriptor")) } - panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.ConfigurationDescriptor does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.MsgDescriptor does not contain field %s", fd.FullName())) } } @@ -5178,15 +5099,15 @@ func (x *fastReflection_ConfigurationDescriptor) Has(fd protoreflect.FieldDescri // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_ConfigurationDescriptor) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgDescriptor) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "cosmos.base.reflection.v2alpha1.ConfigurationDescriptor.bech32_account_address_prefix": - x.Bech32AccountAddressPrefix = "" + case "cosmos.base.reflection.v2alpha1.MsgDescriptor.msg_type_url": + x.MsgTypeUrl = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.ConfigurationDescriptor")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.MsgDescriptor")) } - panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.ConfigurationDescriptor does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.MsgDescriptor does not contain field %s", fd.FullName())) } } @@ -5196,16 +5117,16 @@ func (x *fastReflection_ConfigurationDescriptor) Clear(fd protoreflect.FieldDesc // the default value of a bytes scalar is guaranteed to be a copy. // For unpopulated composite types, it returns an empty, read-only view // of the value; to obtain a mutable reference, use Mutable. -func (x *fastReflection_ConfigurationDescriptor) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgDescriptor) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "cosmos.base.reflection.v2alpha1.ConfigurationDescriptor.bech32_account_address_prefix": - value := x.Bech32AccountAddressPrefix + case "cosmos.base.reflection.v2alpha1.MsgDescriptor.msg_type_url": + value := x.MsgTypeUrl return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.ConfigurationDescriptor")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.MsgDescriptor")) } - panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.ConfigurationDescriptor does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.MsgDescriptor does not contain field %s", descriptor.FullName())) } } @@ -5219,15 +5140,15 @@ func (x *fastReflection_ConfigurationDescriptor) Get(descriptor protoreflect.Fie // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_ConfigurationDescriptor) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgDescriptor) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "cosmos.base.reflection.v2alpha1.ConfigurationDescriptor.bech32_account_address_prefix": - x.Bech32AccountAddressPrefix = value.Interface().(string) + case "cosmos.base.reflection.v2alpha1.MsgDescriptor.msg_type_url": + x.MsgTypeUrl = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.ConfigurationDescriptor")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.MsgDescriptor")) } - panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.ConfigurationDescriptor does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.MsgDescriptor does not contain field %s", fd.FullName())) } } @@ -5241,40 +5162,40 @@ func (x *fastReflection_ConfigurationDescriptor) Set(fd protoreflect.FieldDescri // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_ConfigurationDescriptor) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgDescriptor) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.base.reflection.v2alpha1.ConfigurationDescriptor.bech32_account_address_prefix": - panic(fmt.Errorf("field bech32_account_address_prefix of message cosmos.base.reflection.v2alpha1.ConfigurationDescriptor is not mutable")) + case "cosmos.base.reflection.v2alpha1.MsgDescriptor.msg_type_url": + panic(fmt.Errorf("field msg_type_url of message cosmos.base.reflection.v2alpha1.MsgDescriptor is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.ConfigurationDescriptor")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.MsgDescriptor")) } - panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.ConfigurationDescriptor does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.MsgDescriptor does not contain field %s", fd.FullName())) } } // NewField returns a new value that is assignable to the field // for the given descriptor. For scalars, this returns the default value. // For lists, maps, and messages, this returns a new, empty, mutable value. -func (x *fastReflection_ConfigurationDescriptor) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgDescriptor) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.base.reflection.v2alpha1.ConfigurationDescriptor.bech32_account_address_prefix": + case "cosmos.base.reflection.v2alpha1.MsgDescriptor.msg_type_url": return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.ConfigurationDescriptor")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.MsgDescriptor")) } - panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.ConfigurationDescriptor does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.MsgDescriptor does not contain field %s", fd.FullName())) } } // WhichOneof reports which field within the oneof is populated, // returning nil if none are populated. // It panics if the oneof descriptor does not belong to this message. -func (x *fastReflection_ConfigurationDescriptor) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgDescriptor) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in cosmos.base.reflection.v2alpha1.ConfigurationDescriptor", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in cosmos.base.reflection.v2alpha1.MsgDescriptor", d.FullName())) } panic("unreachable") } @@ -5282,7 +5203,7 @@ func (x *fastReflection_ConfigurationDescriptor) WhichOneof(d protoreflect.Oneof // GetUnknown retrieves the entire list of unknown fields. // The caller may only mutate the contents of the RawFields // if the mutated bytes are stored back into the message with SetUnknown. -func (x *fastReflection_ConfigurationDescriptor) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgDescriptor) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -5293,7 +5214,7 @@ func (x *fastReflection_ConfigurationDescriptor) GetUnknown() protoreflect.RawFi // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_ConfigurationDescriptor) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgDescriptor) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -5305,7 +5226,7 @@ func (x *fastReflection_ConfigurationDescriptor) SetUnknown(fields protoreflect. // message type, but the details are implementation dependent. // Validity is not part of the protobuf data model, and may not // be preserved in marshaling or other operations. -func (x *fastReflection_ConfigurationDescriptor) IsValid() bool { +func (x *fastReflection_MsgDescriptor) IsValid() bool { return x != nil } @@ -5315,9 +5236,9 @@ func (x *fastReflection_ConfigurationDescriptor) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_ConfigurationDescriptor) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgDescriptor) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*ConfigurationDescriptor) + x := input.Message.Interface().(*MsgDescriptor) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -5329,7 +5250,7 @@ func (x *fastReflection_ConfigurationDescriptor) ProtoMethods() *protoiface.Meth var n int var l int _ = l - l = len(x.Bech32AccountAddressPrefix) + l = len(x.MsgTypeUrl) if l > 0 { n += 1 + l + runtime.Sov(uint64(l)) } @@ -5343,7 +5264,7 @@ func (x *fastReflection_ConfigurationDescriptor) ProtoMethods() *protoiface.Meth } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*ConfigurationDescriptor) + x := input.Message.Interface().(*MsgDescriptor) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -5362,10 +5283,10 @@ func (x *fastReflection_ConfigurationDescriptor) ProtoMethods() *protoiface.Meth i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if len(x.Bech32AccountAddressPrefix) > 0 { - i -= len(x.Bech32AccountAddressPrefix) - copy(dAtA[i:], x.Bech32AccountAddressPrefix) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.Bech32AccountAddressPrefix))) + if len(x.MsgTypeUrl) > 0 { + i -= len(x.MsgTypeUrl) + copy(dAtA[i:], x.MsgTypeUrl) + i = runtime.EncodeVarint(dAtA, i, uint64(len(x.MsgTypeUrl))) i-- dAtA[i] = 0xa } @@ -5380,7 +5301,7 @@ func (x *fastReflection_ConfigurationDescriptor) ProtoMethods() *protoiface.Meth }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*ConfigurationDescriptor) + x := input.Message.Interface().(*MsgDescriptor) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -5412,15 +5333,15 @@ func (x *fastReflection_ConfigurationDescriptor) ProtoMethods() *protoiface.Meth fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: ConfigurationDescriptor: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgDescriptor: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: ConfigurationDescriptor: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgDescriptor: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Bech32AccountAddressPrefix", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field MsgTypeUrl", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -5448,7 +5369,7 @@ func (x *fastReflection_ConfigurationDescriptor) ProtoMethods() *protoiface.Meth if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - x.Bech32AccountAddressPrefix = string(dAtA[iNdEx:postIndex]) + x.MsgTypeUrl = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -5486,25 +5407,23 @@ func (x *fastReflection_ConfigurationDescriptor) ProtoMethods() *protoiface.Meth } var ( - md_MsgDescriptor protoreflect.MessageDescriptor - fd_MsgDescriptor_msg_type_url protoreflect.FieldDescriptor + md_GetAuthnDescriptorRequest protoreflect.MessageDescriptor ) func init() { file_cosmos_base_reflection_v2alpha1_reflection_proto_init() - md_MsgDescriptor = File_cosmos_base_reflection_v2alpha1_reflection_proto.Messages().ByName("MsgDescriptor") - fd_MsgDescriptor_msg_type_url = md_MsgDescriptor.Fields().ByName("msg_type_url") + md_GetAuthnDescriptorRequest = File_cosmos_base_reflection_v2alpha1_reflection_proto.Messages().ByName("GetAuthnDescriptorRequest") } -var _ protoreflect.Message = (*fastReflection_MsgDescriptor)(nil) +var _ protoreflect.Message = (*fastReflection_GetAuthnDescriptorRequest)(nil) -type fastReflection_MsgDescriptor MsgDescriptor +type fastReflection_GetAuthnDescriptorRequest GetAuthnDescriptorRequest -func (x *MsgDescriptor) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgDescriptor)(x) +func (x *GetAuthnDescriptorRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetAuthnDescriptorRequest)(x) } -func (x *MsgDescriptor) slowProtoReflect() protoreflect.Message { +func (x *GetAuthnDescriptorRequest) slowProtoReflect() protoreflect.Message { mi := &file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -5516,43 +5435,43 @@ func (x *MsgDescriptor) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_MsgDescriptor_messageType fastReflection_MsgDescriptor_messageType -var _ protoreflect.MessageType = fastReflection_MsgDescriptor_messageType{} +var _fastReflection_GetAuthnDescriptorRequest_messageType fastReflection_GetAuthnDescriptorRequest_messageType +var _ protoreflect.MessageType = fastReflection_GetAuthnDescriptorRequest_messageType{} -type fastReflection_MsgDescriptor_messageType struct{} +type fastReflection_GetAuthnDescriptorRequest_messageType struct{} -func (x fastReflection_MsgDescriptor_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgDescriptor)(nil) +func (x fastReflection_GetAuthnDescriptorRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetAuthnDescriptorRequest)(nil) } -func (x fastReflection_MsgDescriptor_messageType) New() protoreflect.Message { - return new(fastReflection_MsgDescriptor) +func (x fastReflection_GetAuthnDescriptorRequest_messageType) New() protoreflect.Message { + return new(fastReflection_GetAuthnDescriptorRequest) } -func (x fastReflection_MsgDescriptor_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgDescriptor +func (x fastReflection_GetAuthnDescriptorRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetAuthnDescriptorRequest } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgDescriptor) Descriptor() protoreflect.MessageDescriptor { - return md_MsgDescriptor +func (x *fastReflection_GetAuthnDescriptorRequest) Descriptor() protoreflect.MessageDescriptor { + return md_GetAuthnDescriptorRequest } // Type returns the message type, which encapsulates both Go and protobuf // type information. If the Go type information is not needed, // it is recommended that the message descriptor be used instead. -func (x *fastReflection_MsgDescriptor) Type() protoreflect.MessageType { - return _fastReflection_MsgDescriptor_messageType +func (x *fastReflection_GetAuthnDescriptorRequest) Type() protoreflect.MessageType { + return _fastReflection_GetAuthnDescriptorRequest_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgDescriptor) New() protoreflect.Message { - return new(fastReflection_MsgDescriptor) +func (x *fastReflection_GetAuthnDescriptorRequest) New() protoreflect.Message { + return new(fastReflection_GetAuthnDescriptorRequest) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgDescriptor) Interface() protoreflect.ProtoMessage { - return (*MsgDescriptor)(x) +func (x *fastReflection_GetAuthnDescriptorRequest) Interface() protoreflect.ProtoMessage { + return (*GetAuthnDescriptorRequest)(x) } // Range iterates over every populated field in an undefined order, @@ -5560,13 +5479,7 @@ func (x *fastReflection_MsgDescriptor) Interface() protoreflect.ProtoMessage { // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_MsgDescriptor) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.MsgTypeUrl != "" { - value := protoreflect.ValueOfString(x.MsgTypeUrl) - if !f(fd_MsgDescriptor_msg_type_url, value) { - return - } - } +func (x *fastReflection_GetAuthnDescriptorRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { } // Has reports whether a field is populated. @@ -5580,15 +5493,13 @@ func (x *fastReflection_MsgDescriptor) Range(f func(protoreflect.FieldDescriptor // In other cases (aside from the nullable cases above), // a proto3 scalar field is populated if it contains a non-zero value, and // a repeated field is populated if it is non-empty. -func (x *fastReflection_MsgDescriptor) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_GetAuthnDescriptorRequest) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "cosmos.base.reflection.v2alpha1.MsgDescriptor.msg_type_url": - return x.MsgTypeUrl != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.MsgDescriptor")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.GetAuthnDescriptorRequest")) } - panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.MsgDescriptor does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.GetAuthnDescriptorRequest does not contain field %s", fd.FullName())) } } @@ -5598,15 +5509,13 @@ func (x *fastReflection_MsgDescriptor) Has(fd protoreflect.FieldDescriptor) bool // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgDescriptor) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_GetAuthnDescriptorRequest) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "cosmos.base.reflection.v2alpha1.MsgDescriptor.msg_type_url": - x.MsgTypeUrl = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.MsgDescriptor")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.GetAuthnDescriptorRequest")) } - panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.MsgDescriptor does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.GetAuthnDescriptorRequest does not contain field %s", fd.FullName())) } } @@ -5616,16 +5525,13 @@ func (x *fastReflection_MsgDescriptor) Clear(fd protoreflect.FieldDescriptor) { // the default value of a bytes scalar is guaranteed to be a copy. // For unpopulated composite types, it returns an empty, read-only view // of the value; to obtain a mutable reference, use Mutable. -func (x *fastReflection_MsgDescriptor) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_GetAuthnDescriptorRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "cosmos.base.reflection.v2alpha1.MsgDescriptor.msg_type_url": - value := x.MsgTypeUrl - return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.MsgDescriptor")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.GetAuthnDescriptorRequest")) } - panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.MsgDescriptor does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.GetAuthnDescriptorRequest does not contain field %s", descriptor.FullName())) } } @@ -5639,15 +5545,13 @@ func (x *fastReflection_MsgDescriptor) Get(descriptor protoreflect.FieldDescript // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgDescriptor) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_GetAuthnDescriptorRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "cosmos.base.reflection.v2alpha1.MsgDescriptor.msg_type_url": - x.MsgTypeUrl = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.MsgDescriptor")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.GetAuthnDescriptorRequest")) } - panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.MsgDescriptor does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.GetAuthnDescriptorRequest does not contain field %s", fd.FullName())) } } @@ -5661,40 +5565,36 @@ func (x *fastReflection_MsgDescriptor) Set(fd protoreflect.FieldDescriptor, valu // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgDescriptor) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_GetAuthnDescriptorRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.base.reflection.v2alpha1.MsgDescriptor.msg_type_url": - panic(fmt.Errorf("field msg_type_url of message cosmos.base.reflection.v2alpha1.MsgDescriptor is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.MsgDescriptor")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.GetAuthnDescriptorRequest")) } - panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.MsgDescriptor does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.GetAuthnDescriptorRequest does not contain field %s", fd.FullName())) } } // NewField returns a new value that is assignable to the field // for the given descriptor. For scalars, this returns the default value. // For lists, maps, and messages, this returns a new, empty, mutable value. -func (x *fastReflection_MsgDescriptor) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_GetAuthnDescriptorRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.base.reflection.v2alpha1.MsgDescriptor.msg_type_url": - return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.MsgDescriptor")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.GetAuthnDescriptorRequest")) } - panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.MsgDescriptor does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.GetAuthnDescriptorRequest does not contain field %s", fd.FullName())) } } // WhichOneof reports which field within the oneof is populated, // returning nil if none are populated. // It panics if the oneof descriptor does not belong to this message. -func (x *fastReflection_MsgDescriptor) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_GetAuthnDescriptorRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in cosmos.base.reflection.v2alpha1.MsgDescriptor", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in cosmos.base.reflection.v2alpha1.GetAuthnDescriptorRequest", d.FullName())) } panic("unreachable") } @@ -5702,7 +5602,7 @@ func (x *fastReflection_MsgDescriptor) WhichOneof(d protoreflect.OneofDescriptor // GetUnknown retrieves the entire list of unknown fields. // The caller may only mutate the contents of the RawFields // if the mutated bytes are stored back into the message with SetUnknown. -func (x *fastReflection_MsgDescriptor) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_GetAuthnDescriptorRequest) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -5713,7 +5613,7 @@ func (x *fastReflection_MsgDescriptor) GetUnknown() protoreflect.RawFields { // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgDescriptor) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_GetAuthnDescriptorRequest) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -5725,7 +5625,7 @@ func (x *fastReflection_MsgDescriptor) SetUnknown(fields protoreflect.RawFields) // message type, but the details are implementation dependent. // Validity is not part of the protobuf data model, and may not // be preserved in marshaling or other operations. -func (x *fastReflection_MsgDescriptor) IsValid() bool { +func (x *fastReflection_GetAuthnDescriptorRequest) IsValid() bool { return x != nil } @@ -5735,9 +5635,9 @@ func (x *fastReflection_MsgDescriptor) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_MsgDescriptor) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_GetAuthnDescriptorRequest) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgDescriptor) + x := input.Message.Interface().(*GetAuthnDescriptorRequest) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -5749,10 +5649,6 @@ func (x *fastReflection_MsgDescriptor) ProtoMethods() *protoiface.Methods { var n int var l int _ = l - l = len(x.MsgTypeUrl) - if l > 0 { - n += 1 + l + runtime.Sov(uint64(l)) - } if x.unknownFields != nil { n += len(x.unknownFields) } @@ -5763,7 +5659,7 @@ func (x *fastReflection_MsgDescriptor) ProtoMethods() *protoiface.Methods { } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgDescriptor) + x := input.Message.Interface().(*GetAuthnDescriptorRequest) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -5782,13 +5678,6 @@ func (x *fastReflection_MsgDescriptor) ProtoMethods() *protoiface.Methods { i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if len(x.MsgTypeUrl) > 0 { - i -= len(x.MsgTypeUrl) - copy(dAtA[i:], x.MsgTypeUrl) - i = runtime.EncodeVarint(dAtA, i, uint64(len(x.MsgTypeUrl))) - i-- - dAtA[i] = 0xa - } if input.Buf != nil { input.Buf = append(input.Buf, dAtA...) } else { @@ -5800,7 +5689,7 @@ func (x *fastReflection_MsgDescriptor) ProtoMethods() *protoiface.Methods { }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgDescriptor) + x := input.Message.Interface().(*GetAuthnDescriptorRequest) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -5832,44 +5721,12 @@ func (x *fastReflection_MsgDescriptor) ProtoMethods() *protoiface.Methods { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgDescriptor: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetAuthnDescriptorRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgDescriptor: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetAuthnDescriptorRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { - case 1: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field MsgTypeUrl", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow - } - if iNdEx >= l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength - } - if postIndex > l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - x.MsgTypeUrl = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex default: iNdEx = preIndex skippy, err := runtime.Skip(dAtA[iNdEx:]) @@ -5906,23 +5763,25 @@ func (x *fastReflection_MsgDescriptor) ProtoMethods() *protoiface.Methods { } var ( - md_GetAuthnDescriptorRequest protoreflect.MessageDescriptor + md_GetAuthnDescriptorResponse protoreflect.MessageDescriptor + fd_GetAuthnDescriptorResponse_authn protoreflect.FieldDescriptor ) func init() { file_cosmos_base_reflection_v2alpha1_reflection_proto_init() - md_GetAuthnDescriptorRequest = File_cosmos_base_reflection_v2alpha1_reflection_proto.Messages().ByName("GetAuthnDescriptorRequest") + md_GetAuthnDescriptorResponse = File_cosmos_base_reflection_v2alpha1_reflection_proto.Messages().ByName("GetAuthnDescriptorResponse") + fd_GetAuthnDescriptorResponse_authn = md_GetAuthnDescriptorResponse.Fields().ByName("authn") } -var _ protoreflect.Message = (*fastReflection_GetAuthnDescriptorRequest)(nil) +var _ protoreflect.Message = (*fastReflection_GetAuthnDescriptorResponse)(nil) -type fastReflection_GetAuthnDescriptorRequest GetAuthnDescriptorRequest +type fastReflection_GetAuthnDescriptorResponse GetAuthnDescriptorResponse -func (x *GetAuthnDescriptorRequest) ProtoReflect() protoreflect.Message { - return (*fastReflection_GetAuthnDescriptorRequest)(x) +func (x *GetAuthnDescriptorResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetAuthnDescriptorResponse)(x) } -func (x *GetAuthnDescriptorRequest) slowProtoReflect() protoreflect.Message { +func (x *GetAuthnDescriptorResponse) slowProtoReflect() protoreflect.Message { mi := &file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -5934,1192 +5793,43 @@ func (x *GetAuthnDescriptorRequest) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_GetAuthnDescriptorRequest_messageType fastReflection_GetAuthnDescriptorRequest_messageType -var _ protoreflect.MessageType = fastReflection_GetAuthnDescriptorRequest_messageType{} +var _fastReflection_GetAuthnDescriptorResponse_messageType fastReflection_GetAuthnDescriptorResponse_messageType +var _ protoreflect.MessageType = fastReflection_GetAuthnDescriptorResponse_messageType{} -type fastReflection_GetAuthnDescriptorRequest_messageType struct{} +type fastReflection_GetAuthnDescriptorResponse_messageType struct{} -func (x fastReflection_GetAuthnDescriptorRequest_messageType) Zero() protoreflect.Message { - return (*fastReflection_GetAuthnDescriptorRequest)(nil) +func (x fastReflection_GetAuthnDescriptorResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetAuthnDescriptorResponse)(nil) } -func (x fastReflection_GetAuthnDescriptorRequest_messageType) New() protoreflect.Message { - return new(fastReflection_GetAuthnDescriptorRequest) +func (x fastReflection_GetAuthnDescriptorResponse_messageType) New() protoreflect.Message { + return new(fastReflection_GetAuthnDescriptorResponse) } -func (x fastReflection_GetAuthnDescriptorRequest_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_GetAuthnDescriptorRequest +func (x fastReflection_GetAuthnDescriptorResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetAuthnDescriptorResponse } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_GetAuthnDescriptorRequest) Descriptor() protoreflect.MessageDescriptor { - return md_GetAuthnDescriptorRequest +func (x *fastReflection_GetAuthnDescriptorResponse) Descriptor() protoreflect.MessageDescriptor { + return md_GetAuthnDescriptorResponse } // Type returns the message type, which encapsulates both Go and protobuf // type information. If the Go type information is not needed, // it is recommended that the message descriptor be used instead. -func (x *fastReflection_GetAuthnDescriptorRequest) Type() protoreflect.MessageType { - return _fastReflection_GetAuthnDescriptorRequest_messageType -} - -// New returns a newly allocated and mutable empty message. -func (x *fastReflection_GetAuthnDescriptorRequest) New() protoreflect.Message { - return new(fastReflection_GetAuthnDescriptorRequest) -} - -// Interface unwraps the message reflection interface and -// returns the underlying ProtoMessage interface. -func (x *fastReflection_GetAuthnDescriptorRequest) Interface() protoreflect.ProtoMessage { - return (*GetAuthnDescriptorRequest)(x) -} - -// Range iterates over every populated field in an undefined order, -// calling f for each field descriptor and value encountered. -// Range returns immediately if f returns false. -// While iterating, mutating operations may only be performed -// on the current field descriptor. -func (x *fastReflection_GetAuthnDescriptorRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { -} - -// Has reports whether a field is populated. -// -// Some fields have the property of nullability where it is possible to -// distinguish between the default value of a field and whether the field -// was explicitly populated with the default value. Singular message fields, -// member fields of a oneof, and proto2 scalar fields are nullable. Such -// fields are populated only if explicitly set. -// -// In other cases (aside from the nullable cases above), -// a proto3 scalar field is populated if it contains a non-zero value, and -// a repeated field is populated if it is non-empty. -func (x *fastReflection_GetAuthnDescriptorRequest) Has(fd protoreflect.FieldDescriptor) bool { - switch fd.FullName() { - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.GetAuthnDescriptorRequest")) - } - panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.GetAuthnDescriptorRequest does not contain field %s", fd.FullName())) - } -} - -// Clear clears the field such that a subsequent Has call reports false. -// -// Clearing an extension field clears both the extension type and value -// associated with the given field number. -// -// Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_GetAuthnDescriptorRequest) Clear(fd protoreflect.FieldDescriptor) { - switch fd.FullName() { - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.GetAuthnDescriptorRequest")) - } - panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.GetAuthnDescriptorRequest does not contain field %s", fd.FullName())) - } -} - -// Get retrieves the value for a field. -// -// For unpopulated scalars, it returns the default value, where -// the default value of a bytes scalar is guaranteed to be a copy. -// For unpopulated composite types, it returns an empty, read-only view -// of the value; to obtain a mutable reference, use Mutable. -func (x *fastReflection_GetAuthnDescriptorRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { - switch descriptor.FullName() { - default: - if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.GetAuthnDescriptorRequest")) - } - panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.GetAuthnDescriptorRequest does not contain field %s", descriptor.FullName())) - } -} - -// Set stores the value for a field. -// -// For a field belonging to a oneof, it implicitly clears any other field -// that may be currently set within the same oneof. -// For extension fields, it implicitly stores the provided ExtensionType. -// When setting a composite type, it is unspecified whether the stored value -// aliases the source's memory in any way. If the composite value is an -// empty, read-only value, then it panics. -// -// Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_GetAuthnDescriptorRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { - switch fd.FullName() { - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.GetAuthnDescriptorRequest")) - } - panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.GetAuthnDescriptorRequest does not contain field %s", fd.FullName())) - } -} - -// Mutable returns a mutable reference to a composite type. -// -// If the field is unpopulated, it may allocate a composite value. -// For a field belonging to a oneof, it implicitly clears any other field -// that may be currently set within the same oneof. -// For extension fields, it implicitly stores the provided ExtensionType -// if not already stored. -// It panics if the field does not contain a composite type. -// -// Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_GetAuthnDescriptorRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { - switch fd.FullName() { - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.GetAuthnDescriptorRequest")) - } - panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.GetAuthnDescriptorRequest does not contain field %s", fd.FullName())) - } -} - -// NewField returns a new value that is assignable to the field -// for the given descriptor. For scalars, this returns the default value. -// For lists, maps, and messages, this returns a new, empty, mutable value. -func (x *fastReflection_GetAuthnDescriptorRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { - switch fd.FullName() { - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.GetAuthnDescriptorRequest")) - } - panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.GetAuthnDescriptorRequest does not contain field %s", fd.FullName())) - } -} - -// WhichOneof reports which field within the oneof is populated, -// returning nil if none are populated. -// It panics if the oneof descriptor does not belong to this message. -func (x *fastReflection_GetAuthnDescriptorRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { - switch d.FullName() { - default: - panic(fmt.Errorf("%s is not a oneof field in cosmos.base.reflection.v2alpha1.GetAuthnDescriptorRequest", d.FullName())) - } - panic("unreachable") -} - -// GetUnknown retrieves the entire list of unknown fields. -// The caller may only mutate the contents of the RawFields -// if the mutated bytes are stored back into the message with SetUnknown. -func (x *fastReflection_GetAuthnDescriptorRequest) GetUnknown() protoreflect.RawFields { - return x.unknownFields -} - -// SetUnknown stores an entire list of unknown fields. -// The raw fields must be syntactically valid according to the wire format. -// An implementation may panic if this is not the case. -// Once stored, the caller must not mutate the content of the RawFields. -// An empty RawFields may be passed to clear the fields. -// -// SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_GetAuthnDescriptorRequest) SetUnknown(fields protoreflect.RawFields) { - x.unknownFields = fields -} - -// IsValid reports whether the message is valid. -// -// An invalid message is an empty, read-only value. -// -// An invalid message often corresponds to a nil pointer of the concrete -// message type, but the details are implementation dependent. -// Validity is not part of the protobuf data model, and may not -// be preserved in marshaling or other operations. -func (x *fastReflection_GetAuthnDescriptorRequest) IsValid() bool { - return x != nil -} - -// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. -// This method may return nil. -// -// The returned methods type is identical to -// "google.golang.org/protobuf/runtime/protoiface".Methods. -// Consult the protoiface package documentation for details. -func (x *fastReflection_GetAuthnDescriptorRequest) ProtoMethods() *protoiface.Methods { - size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*GetAuthnDescriptorRequest) - if x == nil { - return protoiface.SizeOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Size: 0, - } - } - options := runtime.SizeInputToOptions(input) - _ = options - var n int - var l int - _ = l - if x.unknownFields != nil { - n += len(x.unknownFields) - } - return protoiface.SizeOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Size: n, - } - } - - marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*GetAuthnDescriptorRequest) - if x == nil { - return protoiface.MarshalOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Buf: input.Buf, - }, nil - } - options := runtime.MarshalInputToOptions(input) - _ = options - size := options.Size(x) - dAtA := make([]byte, size) - i := len(dAtA) - _ = i - var l int - _ = l - if x.unknownFields != nil { - i -= len(x.unknownFields) - copy(dAtA[i:], x.unknownFields) - } - if input.Buf != nil { - input.Buf = append(input.Buf, dAtA...) - } else { - input.Buf = dAtA - } - return protoiface.MarshalOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Buf: input.Buf, - }, nil - } - unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*GetAuthnDescriptorRequest) - if x == nil { - return protoiface.UnmarshalOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Flags: input.Flags, - }, nil - } - options := runtime.UnmarshalInputToOptions(input) - _ = options - dAtA := input.Buf - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow - } - if iNdEx >= l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetAuthnDescriptorRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetAuthnDescriptorRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := runtime.Skip(dAtA[iNdEx:]) - if err != nil { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength - } - if (iNdEx + skippy) > l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - if !options.DiscardUnknown { - x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) - } - iNdEx += skippy - } - } - - if iNdEx > l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil - } - return &protoiface.Methods{ - NoUnkeyedLiterals: struct{}{}, - Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, - Size: size, - Marshal: marshal, - Unmarshal: unmarshal, - Merge: nil, - CheckInitialized: nil, - } -} - -var ( - md_GetAuthnDescriptorResponse protoreflect.MessageDescriptor - fd_GetAuthnDescriptorResponse_authn protoreflect.FieldDescriptor -) - -func init() { - file_cosmos_base_reflection_v2alpha1_reflection_proto_init() - md_GetAuthnDescriptorResponse = File_cosmos_base_reflection_v2alpha1_reflection_proto.Messages().ByName("GetAuthnDescriptorResponse") - fd_GetAuthnDescriptorResponse_authn = md_GetAuthnDescriptorResponse.Fields().ByName("authn") -} - -var _ protoreflect.Message = (*fastReflection_GetAuthnDescriptorResponse)(nil) - -type fastReflection_GetAuthnDescriptorResponse GetAuthnDescriptorResponse - -func (x *GetAuthnDescriptorResponse) ProtoReflect() protoreflect.Message { - return (*fastReflection_GetAuthnDescriptorResponse)(x) -} - -func (x *GetAuthnDescriptorResponse) slowProtoReflect() protoreflect.Message { - mi := &file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[12] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -var _fastReflection_GetAuthnDescriptorResponse_messageType fastReflection_GetAuthnDescriptorResponse_messageType -var _ protoreflect.MessageType = fastReflection_GetAuthnDescriptorResponse_messageType{} - -type fastReflection_GetAuthnDescriptorResponse_messageType struct{} - -func (x fastReflection_GetAuthnDescriptorResponse_messageType) Zero() protoreflect.Message { - return (*fastReflection_GetAuthnDescriptorResponse)(nil) -} -func (x fastReflection_GetAuthnDescriptorResponse_messageType) New() protoreflect.Message { - return new(fastReflection_GetAuthnDescriptorResponse) -} -func (x fastReflection_GetAuthnDescriptorResponse_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_GetAuthnDescriptorResponse -} - -// Descriptor returns message descriptor, which contains only the protobuf -// type information for the message. -func (x *fastReflection_GetAuthnDescriptorResponse) Descriptor() protoreflect.MessageDescriptor { - return md_GetAuthnDescriptorResponse -} - -// Type returns the message type, which encapsulates both Go and protobuf -// type information. If the Go type information is not needed, -// it is recommended that the message descriptor be used instead. -func (x *fastReflection_GetAuthnDescriptorResponse) Type() protoreflect.MessageType { - return _fastReflection_GetAuthnDescriptorResponse_messageType -} - -// New returns a newly allocated and mutable empty message. -func (x *fastReflection_GetAuthnDescriptorResponse) New() protoreflect.Message { - return new(fastReflection_GetAuthnDescriptorResponse) -} - -// Interface unwraps the message reflection interface and -// returns the underlying ProtoMessage interface. -func (x *fastReflection_GetAuthnDescriptorResponse) Interface() protoreflect.ProtoMessage { - return (*GetAuthnDescriptorResponse)(x) -} - -// Range iterates over every populated field in an undefined order, -// calling f for each field descriptor and value encountered. -// Range returns immediately if f returns false. -// While iterating, mutating operations may only be performed -// on the current field descriptor. -func (x *fastReflection_GetAuthnDescriptorResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.Authn != nil { - value := protoreflect.ValueOfMessage(x.Authn.ProtoReflect()) - if !f(fd_GetAuthnDescriptorResponse_authn, value) { - return - } - } -} - -// Has reports whether a field is populated. -// -// Some fields have the property of nullability where it is possible to -// distinguish between the default value of a field and whether the field -// was explicitly populated with the default value. Singular message fields, -// member fields of a oneof, and proto2 scalar fields are nullable. Such -// fields are populated only if explicitly set. -// -// In other cases (aside from the nullable cases above), -// a proto3 scalar field is populated if it contains a non-zero value, and -// a repeated field is populated if it is non-empty. -func (x *fastReflection_GetAuthnDescriptorResponse) Has(fd protoreflect.FieldDescriptor) bool { - switch fd.FullName() { - case "cosmos.base.reflection.v2alpha1.GetAuthnDescriptorResponse.authn": - return x.Authn != nil - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.GetAuthnDescriptorResponse")) - } - panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.GetAuthnDescriptorResponse does not contain field %s", fd.FullName())) - } -} - -// Clear clears the field such that a subsequent Has call reports false. -// -// Clearing an extension field clears both the extension type and value -// associated with the given field number. -// -// Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_GetAuthnDescriptorResponse) Clear(fd protoreflect.FieldDescriptor) { - switch fd.FullName() { - case "cosmos.base.reflection.v2alpha1.GetAuthnDescriptorResponse.authn": - x.Authn = nil - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.GetAuthnDescriptorResponse")) - } - panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.GetAuthnDescriptorResponse does not contain field %s", fd.FullName())) - } -} - -// Get retrieves the value for a field. -// -// For unpopulated scalars, it returns the default value, where -// the default value of a bytes scalar is guaranteed to be a copy. -// For unpopulated composite types, it returns an empty, read-only view -// of the value; to obtain a mutable reference, use Mutable. -func (x *fastReflection_GetAuthnDescriptorResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { - switch descriptor.FullName() { - case "cosmos.base.reflection.v2alpha1.GetAuthnDescriptorResponse.authn": - value := x.Authn - return protoreflect.ValueOfMessage(value.ProtoReflect()) - default: - if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.GetAuthnDescriptorResponse")) - } - panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.GetAuthnDescriptorResponse does not contain field %s", descriptor.FullName())) - } -} - -// Set stores the value for a field. -// -// For a field belonging to a oneof, it implicitly clears any other field -// that may be currently set within the same oneof. -// For extension fields, it implicitly stores the provided ExtensionType. -// When setting a composite type, it is unspecified whether the stored value -// aliases the source's memory in any way. If the composite value is an -// empty, read-only value, then it panics. -// -// Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_GetAuthnDescriptorResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { - switch fd.FullName() { - case "cosmos.base.reflection.v2alpha1.GetAuthnDescriptorResponse.authn": - x.Authn = value.Message().Interface().(*AuthnDescriptor) - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.GetAuthnDescriptorResponse")) - } - panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.GetAuthnDescriptorResponse does not contain field %s", fd.FullName())) - } -} - -// Mutable returns a mutable reference to a composite type. -// -// If the field is unpopulated, it may allocate a composite value. -// For a field belonging to a oneof, it implicitly clears any other field -// that may be currently set within the same oneof. -// For extension fields, it implicitly stores the provided ExtensionType -// if not already stored. -// It panics if the field does not contain a composite type. -// -// Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_GetAuthnDescriptorResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { - switch fd.FullName() { - case "cosmos.base.reflection.v2alpha1.GetAuthnDescriptorResponse.authn": - if x.Authn == nil { - x.Authn = new(AuthnDescriptor) - } - return protoreflect.ValueOfMessage(x.Authn.ProtoReflect()) - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.GetAuthnDescriptorResponse")) - } - panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.GetAuthnDescriptorResponse does not contain field %s", fd.FullName())) - } -} - -// NewField returns a new value that is assignable to the field -// for the given descriptor. For scalars, this returns the default value. -// For lists, maps, and messages, this returns a new, empty, mutable value. -func (x *fastReflection_GetAuthnDescriptorResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { - switch fd.FullName() { - case "cosmos.base.reflection.v2alpha1.GetAuthnDescriptorResponse.authn": - m := new(AuthnDescriptor) - return protoreflect.ValueOfMessage(m.ProtoReflect()) - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.GetAuthnDescriptorResponse")) - } - panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.GetAuthnDescriptorResponse does not contain field %s", fd.FullName())) - } -} - -// WhichOneof reports which field within the oneof is populated, -// returning nil if none are populated. -// It panics if the oneof descriptor does not belong to this message. -func (x *fastReflection_GetAuthnDescriptorResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { - switch d.FullName() { - default: - panic(fmt.Errorf("%s is not a oneof field in cosmos.base.reflection.v2alpha1.GetAuthnDescriptorResponse", d.FullName())) - } - panic("unreachable") -} - -// GetUnknown retrieves the entire list of unknown fields. -// The caller may only mutate the contents of the RawFields -// if the mutated bytes are stored back into the message with SetUnknown. -func (x *fastReflection_GetAuthnDescriptorResponse) GetUnknown() protoreflect.RawFields { - return x.unknownFields -} - -// SetUnknown stores an entire list of unknown fields. -// The raw fields must be syntactically valid according to the wire format. -// An implementation may panic if this is not the case. -// Once stored, the caller must not mutate the content of the RawFields. -// An empty RawFields may be passed to clear the fields. -// -// SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_GetAuthnDescriptorResponse) SetUnknown(fields protoreflect.RawFields) { - x.unknownFields = fields -} - -// IsValid reports whether the message is valid. -// -// An invalid message is an empty, read-only value. -// -// An invalid message often corresponds to a nil pointer of the concrete -// message type, but the details are implementation dependent. -// Validity is not part of the protobuf data model, and may not -// be preserved in marshaling or other operations. -func (x *fastReflection_GetAuthnDescriptorResponse) IsValid() bool { - return x != nil -} - -// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. -// This method may return nil. -// -// The returned methods type is identical to -// "google.golang.org/protobuf/runtime/protoiface".Methods. -// Consult the protoiface package documentation for details. -func (x *fastReflection_GetAuthnDescriptorResponse) ProtoMethods() *protoiface.Methods { - size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*GetAuthnDescriptorResponse) - if x == nil { - return protoiface.SizeOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Size: 0, - } - } - options := runtime.SizeInputToOptions(input) - _ = options - var n int - var l int - _ = l - if x.Authn != nil { - l = options.Size(x.Authn) - n += 1 + l + runtime.Sov(uint64(l)) - } - if x.unknownFields != nil { - n += len(x.unknownFields) - } - return protoiface.SizeOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Size: n, - } - } - - marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*GetAuthnDescriptorResponse) - if x == nil { - return protoiface.MarshalOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Buf: input.Buf, - }, nil - } - options := runtime.MarshalInputToOptions(input) - _ = options - size := options.Size(x) - dAtA := make([]byte, size) - i := len(dAtA) - _ = i - var l int - _ = l - if x.unknownFields != nil { - i -= len(x.unknownFields) - copy(dAtA[i:], x.unknownFields) - } - if x.Authn != nil { - encoded, err := options.Marshal(x.Authn) - if err != nil { - return protoiface.MarshalOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Buf: input.Buf, - }, err - } - i -= len(encoded) - copy(dAtA[i:], encoded) - i = runtime.EncodeVarint(dAtA, i, uint64(len(encoded))) - i-- - dAtA[i] = 0xa - } - if input.Buf != nil { - input.Buf = append(input.Buf, dAtA...) - } else { - input.Buf = dAtA - } - return protoiface.MarshalOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Buf: input.Buf, - }, nil - } - unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*GetAuthnDescriptorResponse) - if x == nil { - return protoiface.UnmarshalOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Flags: input.Flags, - }, nil - } - options := runtime.UnmarshalInputToOptions(input) - _ = options - dAtA := input.Buf - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow - } - if iNdEx >= l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetAuthnDescriptorResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetAuthnDescriptorResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Authn", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow - } - if iNdEx >= l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength - } - if postIndex > l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - if x.Authn == nil { - x.Authn = &AuthnDescriptor{} - } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Authn); err != nil { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := runtime.Skip(dAtA[iNdEx:]) - if err != nil { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength - } - if (iNdEx + skippy) > l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - if !options.DiscardUnknown { - x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) - } - iNdEx += skippy - } - } - - if iNdEx > l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil - } - return &protoiface.Methods{ - NoUnkeyedLiterals: struct{}{}, - Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, - Size: size, - Marshal: marshal, - Unmarshal: unmarshal, - Merge: nil, - CheckInitialized: nil, - } -} - -var ( - md_GetChainDescriptorRequest protoreflect.MessageDescriptor -) - -func init() { - file_cosmos_base_reflection_v2alpha1_reflection_proto_init() - md_GetChainDescriptorRequest = File_cosmos_base_reflection_v2alpha1_reflection_proto.Messages().ByName("GetChainDescriptorRequest") -} - -var _ protoreflect.Message = (*fastReflection_GetChainDescriptorRequest)(nil) - -type fastReflection_GetChainDescriptorRequest GetChainDescriptorRequest - -func (x *GetChainDescriptorRequest) ProtoReflect() protoreflect.Message { - return (*fastReflection_GetChainDescriptorRequest)(x) -} - -func (x *GetChainDescriptorRequest) slowProtoReflect() protoreflect.Message { - mi := &file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[13] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -var _fastReflection_GetChainDescriptorRequest_messageType fastReflection_GetChainDescriptorRequest_messageType -var _ protoreflect.MessageType = fastReflection_GetChainDescriptorRequest_messageType{} - -type fastReflection_GetChainDescriptorRequest_messageType struct{} - -func (x fastReflection_GetChainDescriptorRequest_messageType) Zero() protoreflect.Message { - return (*fastReflection_GetChainDescriptorRequest)(nil) -} -func (x fastReflection_GetChainDescriptorRequest_messageType) New() protoreflect.Message { - return new(fastReflection_GetChainDescriptorRequest) -} -func (x fastReflection_GetChainDescriptorRequest_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_GetChainDescriptorRequest -} - -// Descriptor returns message descriptor, which contains only the protobuf -// type information for the message. -func (x *fastReflection_GetChainDescriptorRequest) Descriptor() protoreflect.MessageDescriptor { - return md_GetChainDescriptorRequest -} - -// Type returns the message type, which encapsulates both Go and protobuf -// type information. If the Go type information is not needed, -// it is recommended that the message descriptor be used instead. -func (x *fastReflection_GetChainDescriptorRequest) Type() protoreflect.MessageType { - return _fastReflection_GetChainDescriptorRequest_messageType -} - -// New returns a newly allocated and mutable empty message. -func (x *fastReflection_GetChainDescriptorRequest) New() protoreflect.Message { - return new(fastReflection_GetChainDescriptorRequest) -} - -// Interface unwraps the message reflection interface and -// returns the underlying ProtoMessage interface. -func (x *fastReflection_GetChainDescriptorRequest) Interface() protoreflect.ProtoMessage { - return (*GetChainDescriptorRequest)(x) -} - -// Range iterates over every populated field in an undefined order, -// calling f for each field descriptor and value encountered. -// Range returns immediately if f returns false. -// While iterating, mutating operations may only be performed -// on the current field descriptor. -func (x *fastReflection_GetChainDescriptorRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { -} - -// Has reports whether a field is populated. -// -// Some fields have the property of nullability where it is possible to -// distinguish between the default value of a field and whether the field -// was explicitly populated with the default value. Singular message fields, -// member fields of a oneof, and proto2 scalar fields are nullable. Such -// fields are populated only if explicitly set. -// -// In other cases (aside from the nullable cases above), -// a proto3 scalar field is populated if it contains a non-zero value, and -// a repeated field is populated if it is non-empty. -func (x *fastReflection_GetChainDescriptorRequest) Has(fd protoreflect.FieldDescriptor) bool { - switch fd.FullName() { - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.GetChainDescriptorRequest")) - } - panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.GetChainDescriptorRequest does not contain field %s", fd.FullName())) - } -} - -// Clear clears the field such that a subsequent Has call reports false. -// -// Clearing an extension field clears both the extension type and value -// associated with the given field number. -// -// Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_GetChainDescriptorRequest) Clear(fd protoreflect.FieldDescriptor) { - switch fd.FullName() { - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.GetChainDescriptorRequest")) - } - panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.GetChainDescriptorRequest does not contain field %s", fd.FullName())) - } -} - -// Get retrieves the value for a field. -// -// For unpopulated scalars, it returns the default value, where -// the default value of a bytes scalar is guaranteed to be a copy. -// For unpopulated composite types, it returns an empty, read-only view -// of the value; to obtain a mutable reference, use Mutable. -func (x *fastReflection_GetChainDescriptorRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { - switch descriptor.FullName() { - default: - if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.GetChainDescriptorRequest")) - } - panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.GetChainDescriptorRequest does not contain field %s", descriptor.FullName())) - } -} - -// Set stores the value for a field. -// -// For a field belonging to a oneof, it implicitly clears any other field -// that may be currently set within the same oneof. -// For extension fields, it implicitly stores the provided ExtensionType. -// When setting a composite type, it is unspecified whether the stored value -// aliases the source's memory in any way. If the composite value is an -// empty, read-only value, then it panics. -// -// Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_GetChainDescriptorRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { - switch fd.FullName() { - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.GetChainDescriptorRequest")) - } - panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.GetChainDescriptorRequest does not contain field %s", fd.FullName())) - } -} - -// Mutable returns a mutable reference to a composite type. -// -// If the field is unpopulated, it may allocate a composite value. -// For a field belonging to a oneof, it implicitly clears any other field -// that may be currently set within the same oneof. -// For extension fields, it implicitly stores the provided ExtensionType -// if not already stored. -// It panics if the field does not contain a composite type. -// -// Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_GetChainDescriptorRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { - switch fd.FullName() { - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.GetChainDescriptorRequest")) - } - panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.GetChainDescriptorRequest does not contain field %s", fd.FullName())) - } -} - -// NewField returns a new value that is assignable to the field -// for the given descriptor. For scalars, this returns the default value. -// For lists, maps, and messages, this returns a new, empty, mutable value. -func (x *fastReflection_GetChainDescriptorRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { - switch fd.FullName() { - default: - if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.GetChainDescriptorRequest")) - } - panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.GetChainDescriptorRequest does not contain field %s", fd.FullName())) - } -} - -// WhichOneof reports which field within the oneof is populated, -// returning nil if none are populated. -// It panics if the oneof descriptor does not belong to this message. -func (x *fastReflection_GetChainDescriptorRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { - switch d.FullName() { - default: - panic(fmt.Errorf("%s is not a oneof field in cosmos.base.reflection.v2alpha1.GetChainDescriptorRequest", d.FullName())) - } - panic("unreachable") -} - -// GetUnknown retrieves the entire list of unknown fields. -// The caller may only mutate the contents of the RawFields -// if the mutated bytes are stored back into the message with SetUnknown. -func (x *fastReflection_GetChainDescriptorRequest) GetUnknown() protoreflect.RawFields { - return x.unknownFields -} - -// SetUnknown stores an entire list of unknown fields. -// The raw fields must be syntactically valid according to the wire format. -// An implementation may panic if this is not the case. -// Once stored, the caller must not mutate the content of the RawFields. -// An empty RawFields may be passed to clear the fields. -// -// SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_GetChainDescriptorRequest) SetUnknown(fields protoreflect.RawFields) { - x.unknownFields = fields -} - -// IsValid reports whether the message is valid. -// -// An invalid message is an empty, read-only value. -// -// An invalid message often corresponds to a nil pointer of the concrete -// message type, but the details are implementation dependent. -// Validity is not part of the protobuf data model, and may not -// be preserved in marshaling or other operations. -func (x *fastReflection_GetChainDescriptorRequest) IsValid() bool { - return x != nil -} - -// ProtoMethods returns optional fastReflectionFeature-path implementations of various operations. -// This method may return nil. -// -// The returned methods type is identical to -// "google.golang.org/protobuf/runtime/protoiface".Methods. -// Consult the protoiface package documentation for details. -func (x *fastReflection_GetChainDescriptorRequest) ProtoMethods() *protoiface.Methods { - size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*GetChainDescriptorRequest) - if x == nil { - return protoiface.SizeOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Size: 0, - } - } - options := runtime.SizeInputToOptions(input) - _ = options - var n int - var l int - _ = l - if x.unknownFields != nil { - n += len(x.unknownFields) - } - return protoiface.SizeOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Size: n, - } - } - - marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*GetChainDescriptorRequest) - if x == nil { - return protoiface.MarshalOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Buf: input.Buf, - }, nil - } - options := runtime.MarshalInputToOptions(input) - _ = options - size := options.Size(x) - dAtA := make([]byte, size) - i := len(dAtA) - _ = i - var l int - _ = l - if x.unknownFields != nil { - i -= len(x.unknownFields) - copy(dAtA[i:], x.unknownFields) - } - if input.Buf != nil { - input.Buf = append(input.Buf, dAtA...) - } else { - input.Buf = dAtA - } - return protoiface.MarshalOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Buf: input.Buf, - }, nil - } - unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*GetChainDescriptorRequest) - if x == nil { - return protoiface.UnmarshalOutput{ - NoUnkeyedLiterals: input.NoUnkeyedLiterals, - Flags: input.Flags, - }, nil - } - options := runtime.UnmarshalInputToOptions(input) - _ = options - dAtA := input.Buf - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrIntOverflow - } - if iNdEx >= l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetChainDescriptorRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetChainDescriptorRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := runtime.Skip(dAtA[iNdEx:]) - if err != nil { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, runtime.ErrInvalidLength - } - if (iNdEx + skippy) > l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - if !options.DiscardUnknown { - x.unknownFields = append(x.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) - } - iNdEx += skippy - } - } - - if iNdEx > l { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF - } - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, nil - } - return &protoiface.Methods{ - NoUnkeyedLiterals: struct{}{}, - Flags: protoiface.SupportMarshalDeterministic | protoiface.SupportUnmarshalDiscardUnknown, - Size: size, - Marshal: marshal, - Unmarshal: unmarshal, - Merge: nil, - CheckInitialized: nil, - } -} - -var ( - md_GetChainDescriptorResponse protoreflect.MessageDescriptor - fd_GetChainDescriptorResponse_chain protoreflect.FieldDescriptor -) - -func init() { - file_cosmos_base_reflection_v2alpha1_reflection_proto_init() - md_GetChainDescriptorResponse = File_cosmos_base_reflection_v2alpha1_reflection_proto.Messages().ByName("GetChainDescriptorResponse") - fd_GetChainDescriptorResponse_chain = md_GetChainDescriptorResponse.Fields().ByName("chain") -} - -var _ protoreflect.Message = (*fastReflection_GetChainDescriptorResponse)(nil) - -type fastReflection_GetChainDescriptorResponse GetChainDescriptorResponse - -func (x *GetChainDescriptorResponse) ProtoReflect() protoreflect.Message { - return (*fastReflection_GetChainDescriptorResponse)(x) -} - -func (x *GetChainDescriptorResponse) slowProtoReflect() protoreflect.Message { - mi := &file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[14] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -var _fastReflection_GetChainDescriptorResponse_messageType fastReflection_GetChainDescriptorResponse_messageType -var _ protoreflect.MessageType = fastReflection_GetChainDescriptorResponse_messageType{} - -type fastReflection_GetChainDescriptorResponse_messageType struct{} - -func (x fastReflection_GetChainDescriptorResponse_messageType) Zero() protoreflect.Message { - return (*fastReflection_GetChainDescriptorResponse)(nil) -} -func (x fastReflection_GetChainDescriptorResponse_messageType) New() protoreflect.Message { - return new(fastReflection_GetChainDescriptorResponse) -} -func (x fastReflection_GetChainDescriptorResponse_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_GetChainDescriptorResponse -} - -// Descriptor returns message descriptor, which contains only the protobuf -// type information for the message. -func (x *fastReflection_GetChainDescriptorResponse) Descriptor() protoreflect.MessageDescriptor { - return md_GetChainDescriptorResponse -} - -// Type returns the message type, which encapsulates both Go and protobuf -// type information. If the Go type information is not needed, -// it is recommended that the message descriptor be used instead. -func (x *fastReflection_GetChainDescriptorResponse) Type() protoreflect.MessageType { - return _fastReflection_GetChainDescriptorResponse_messageType +func (x *fastReflection_GetAuthnDescriptorResponse) Type() protoreflect.MessageType { + return _fastReflection_GetAuthnDescriptorResponse_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_GetChainDescriptorResponse) New() protoreflect.Message { - return new(fastReflection_GetChainDescriptorResponse) +func (x *fastReflection_GetAuthnDescriptorResponse) New() protoreflect.Message { + return new(fastReflection_GetAuthnDescriptorResponse) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_GetChainDescriptorResponse) Interface() protoreflect.ProtoMessage { - return (*GetChainDescriptorResponse)(x) +func (x *fastReflection_GetAuthnDescriptorResponse) Interface() protoreflect.ProtoMessage { + return (*GetAuthnDescriptorResponse)(x) } // Range iterates over every populated field in an undefined order, @@ -7127,10 +5837,10 @@ func (x *fastReflection_GetChainDescriptorResponse) Interface() protoreflect.Pro // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_GetChainDescriptorResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.Chain != nil { - value := protoreflect.ValueOfMessage(x.Chain.ProtoReflect()) - if !f(fd_GetChainDescriptorResponse_chain, value) { +func (x *fastReflection_GetAuthnDescriptorResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Authn != nil { + value := protoreflect.ValueOfMessage(x.Authn.ProtoReflect()) + if !f(fd_GetAuthnDescriptorResponse_authn, value) { return } } @@ -7147,15 +5857,15 @@ func (x *fastReflection_GetChainDescriptorResponse) Range(f func(protoreflect.Fi // In other cases (aside from the nullable cases above), // a proto3 scalar field is populated if it contains a non-zero value, and // a repeated field is populated if it is non-empty. -func (x *fastReflection_GetChainDescriptorResponse) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_GetAuthnDescriptorResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "cosmos.base.reflection.v2alpha1.GetChainDescriptorResponse.chain": - return x.Chain != nil + case "cosmos.base.reflection.v2alpha1.GetAuthnDescriptorResponse.authn": + return x.Authn != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.GetChainDescriptorResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.GetAuthnDescriptorResponse")) } - panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.GetChainDescriptorResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.GetAuthnDescriptorResponse does not contain field %s", fd.FullName())) } } @@ -7165,15 +5875,15 @@ func (x *fastReflection_GetChainDescriptorResponse) Has(fd protoreflect.FieldDes // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_GetChainDescriptorResponse) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_GetAuthnDescriptorResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "cosmos.base.reflection.v2alpha1.GetChainDescriptorResponse.chain": - x.Chain = nil + case "cosmos.base.reflection.v2alpha1.GetAuthnDescriptorResponse.authn": + x.Authn = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.GetChainDescriptorResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.GetAuthnDescriptorResponse")) } - panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.GetChainDescriptorResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.GetAuthnDescriptorResponse does not contain field %s", fd.FullName())) } } @@ -7183,16 +5893,16 @@ func (x *fastReflection_GetChainDescriptorResponse) Clear(fd protoreflect.FieldD // the default value of a bytes scalar is guaranteed to be a copy. // For unpopulated composite types, it returns an empty, read-only view // of the value; to obtain a mutable reference, use Mutable. -func (x *fastReflection_GetChainDescriptorResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_GetAuthnDescriptorResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "cosmos.base.reflection.v2alpha1.GetChainDescriptorResponse.chain": - value := x.Chain + case "cosmos.base.reflection.v2alpha1.GetAuthnDescriptorResponse.authn": + value := x.Authn return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.GetChainDescriptorResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.GetAuthnDescriptorResponse")) } - panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.GetChainDescriptorResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.GetAuthnDescriptorResponse does not contain field %s", descriptor.FullName())) } } @@ -7206,15 +5916,15 @@ func (x *fastReflection_GetChainDescriptorResponse) Get(descriptor protoreflect. // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_GetChainDescriptorResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_GetAuthnDescriptorResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "cosmos.base.reflection.v2alpha1.GetChainDescriptorResponse.chain": - x.Chain = value.Message().Interface().(*ChainDescriptor) + case "cosmos.base.reflection.v2alpha1.GetAuthnDescriptorResponse.authn": + x.Authn = value.Message().Interface().(*AuthnDescriptor) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.GetChainDescriptorResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.GetAuthnDescriptorResponse")) } - panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.GetChainDescriptorResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.GetAuthnDescriptorResponse does not contain field %s", fd.FullName())) } } @@ -7228,44 +5938,44 @@ func (x *fastReflection_GetChainDescriptorResponse) Set(fd protoreflect.FieldDes // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_GetChainDescriptorResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_GetAuthnDescriptorResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.base.reflection.v2alpha1.GetChainDescriptorResponse.chain": - if x.Chain == nil { - x.Chain = new(ChainDescriptor) + case "cosmos.base.reflection.v2alpha1.GetAuthnDescriptorResponse.authn": + if x.Authn == nil { + x.Authn = new(AuthnDescriptor) } - return protoreflect.ValueOfMessage(x.Chain.ProtoReflect()) + return protoreflect.ValueOfMessage(x.Authn.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.GetChainDescriptorResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.GetAuthnDescriptorResponse")) } - panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.GetChainDescriptorResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.GetAuthnDescriptorResponse does not contain field %s", fd.FullName())) } } // NewField returns a new value that is assignable to the field // for the given descriptor. For scalars, this returns the default value. // For lists, maps, and messages, this returns a new, empty, mutable value. -func (x *fastReflection_GetChainDescriptorResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_GetAuthnDescriptorResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.base.reflection.v2alpha1.GetChainDescriptorResponse.chain": - m := new(ChainDescriptor) + case "cosmos.base.reflection.v2alpha1.GetAuthnDescriptorResponse.authn": + m := new(AuthnDescriptor) return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.GetChainDescriptorResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.GetAuthnDescriptorResponse")) } - panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.GetChainDescriptorResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.GetAuthnDescriptorResponse does not contain field %s", fd.FullName())) } } // WhichOneof reports which field within the oneof is populated, // returning nil if none are populated. // It panics if the oneof descriptor does not belong to this message. -func (x *fastReflection_GetChainDescriptorResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_GetAuthnDescriptorResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in cosmos.base.reflection.v2alpha1.GetChainDescriptorResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in cosmos.base.reflection.v2alpha1.GetAuthnDescriptorResponse", d.FullName())) } panic("unreachable") } @@ -7273,7 +5983,7 @@ func (x *fastReflection_GetChainDescriptorResponse) WhichOneof(d protoreflect.On // GetUnknown retrieves the entire list of unknown fields. // The caller may only mutate the contents of the RawFields // if the mutated bytes are stored back into the message with SetUnknown. -func (x *fastReflection_GetChainDescriptorResponse) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_GetAuthnDescriptorResponse) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -7284,7 +5994,7 @@ func (x *fastReflection_GetChainDescriptorResponse) GetUnknown() protoreflect.Ra // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_GetChainDescriptorResponse) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_GetAuthnDescriptorResponse) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -7296,7 +6006,7 @@ func (x *fastReflection_GetChainDescriptorResponse) SetUnknown(fields protorefle // message type, but the details are implementation dependent. // Validity is not part of the protobuf data model, and may not // be preserved in marshaling or other operations. -func (x *fastReflection_GetChainDescriptorResponse) IsValid() bool { +func (x *fastReflection_GetAuthnDescriptorResponse) IsValid() bool { return x != nil } @@ -7306,9 +6016,9 @@ func (x *fastReflection_GetChainDescriptorResponse) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_GetChainDescriptorResponse) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_GetAuthnDescriptorResponse) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*GetChainDescriptorResponse) + x := input.Message.Interface().(*GetAuthnDescriptorResponse) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -7320,8 +6030,8 @@ func (x *fastReflection_GetChainDescriptorResponse) ProtoMethods() *protoiface.M var n int var l int _ = l - if x.Chain != nil { - l = options.Size(x.Chain) + if x.Authn != nil { + l = options.Size(x.Authn) n += 1 + l + runtime.Sov(uint64(l)) } if x.unknownFields != nil { @@ -7334,7 +6044,7 @@ func (x *fastReflection_GetChainDescriptorResponse) ProtoMethods() *protoiface.M } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*GetChainDescriptorResponse) + x := input.Message.Interface().(*GetAuthnDescriptorResponse) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -7353,8 +6063,8 @@ func (x *fastReflection_GetChainDescriptorResponse) ProtoMethods() *protoiface.M i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.Chain != nil { - encoded, err := options.Marshal(x.Chain) + if x.Authn != nil { + encoded, err := options.Marshal(x.Authn) if err != nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -7378,7 +6088,7 @@ func (x *fastReflection_GetChainDescriptorResponse) ProtoMethods() *protoiface.M }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*GetChainDescriptorResponse) + x := input.Message.Interface().(*GetAuthnDescriptorResponse) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -7410,15 +6120,15 @@ func (x *fastReflection_GetChainDescriptorResponse) ProtoMethods() *protoiface.M fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetChainDescriptorResponse: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetAuthnDescriptorResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetChainDescriptorResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetAuthnDescriptorResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Chain", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Authn", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -7445,10 +6155,10 @@ func (x *fastReflection_GetChainDescriptorResponse) ProtoMethods() *protoiface.M if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - if x.Chain == nil { - x.Chain = &ChainDescriptor{} + if x.Authn == nil { + x.Authn = &AuthnDescriptor{} } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Chain); err != nil { + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Authn); err != nil { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } iNdEx = postIndex @@ -7488,24 +6198,24 @@ func (x *fastReflection_GetChainDescriptorResponse) ProtoMethods() *protoiface.M } var ( - md_GetCodecDescriptorRequest protoreflect.MessageDescriptor + md_GetChainDescriptorRequest protoreflect.MessageDescriptor ) func init() { file_cosmos_base_reflection_v2alpha1_reflection_proto_init() - md_GetCodecDescriptorRequest = File_cosmos_base_reflection_v2alpha1_reflection_proto.Messages().ByName("GetCodecDescriptorRequest") + md_GetChainDescriptorRequest = File_cosmos_base_reflection_v2alpha1_reflection_proto.Messages().ByName("GetChainDescriptorRequest") } -var _ protoreflect.Message = (*fastReflection_GetCodecDescriptorRequest)(nil) +var _ protoreflect.Message = (*fastReflection_GetChainDescriptorRequest)(nil) -type fastReflection_GetCodecDescriptorRequest GetCodecDescriptorRequest +type fastReflection_GetChainDescriptorRequest GetChainDescriptorRequest -func (x *GetCodecDescriptorRequest) ProtoReflect() protoreflect.Message { - return (*fastReflection_GetCodecDescriptorRequest)(x) +func (x *GetChainDescriptorRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetChainDescriptorRequest)(x) } -func (x *GetCodecDescriptorRequest) slowProtoReflect() protoreflect.Message { - mi := &file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[15] +func (x *GetChainDescriptorRequest) slowProtoReflect() protoreflect.Message { + mi := &file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[12] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7516,43 +6226,43 @@ func (x *GetCodecDescriptorRequest) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_GetCodecDescriptorRequest_messageType fastReflection_GetCodecDescriptorRequest_messageType -var _ protoreflect.MessageType = fastReflection_GetCodecDescriptorRequest_messageType{} +var _fastReflection_GetChainDescriptorRequest_messageType fastReflection_GetChainDescriptorRequest_messageType +var _ protoreflect.MessageType = fastReflection_GetChainDescriptorRequest_messageType{} -type fastReflection_GetCodecDescriptorRequest_messageType struct{} +type fastReflection_GetChainDescriptorRequest_messageType struct{} -func (x fastReflection_GetCodecDescriptorRequest_messageType) Zero() protoreflect.Message { - return (*fastReflection_GetCodecDescriptorRequest)(nil) +func (x fastReflection_GetChainDescriptorRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetChainDescriptorRequest)(nil) } -func (x fastReflection_GetCodecDescriptorRequest_messageType) New() protoreflect.Message { - return new(fastReflection_GetCodecDescriptorRequest) +func (x fastReflection_GetChainDescriptorRequest_messageType) New() protoreflect.Message { + return new(fastReflection_GetChainDescriptorRequest) } -func (x fastReflection_GetCodecDescriptorRequest_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_GetCodecDescriptorRequest +func (x fastReflection_GetChainDescriptorRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetChainDescriptorRequest } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_GetCodecDescriptorRequest) Descriptor() protoreflect.MessageDescriptor { - return md_GetCodecDescriptorRequest +func (x *fastReflection_GetChainDescriptorRequest) Descriptor() protoreflect.MessageDescriptor { + return md_GetChainDescriptorRequest } // Type returns the message type, which encapsulates both Go and protobuf // type information. If the Go type information is not needed, // it is recommended that the message descriptor be used instead. -func (x *fastReflection_GetCodecDescriptorRequest) Type() protoreflect.MessageType { - return _fastReflection_GetCodecDescriptorRequest_messageType +func (x *fastReflection_GetChainDescriptorRequest) Type() protoreflect.MessageType { + return _fastReflection_GetChainDescriptorRequest_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_GetCodecDescriptorRequest) New() protoreflect.Message { - return new(fastReflection_GetCodecDescriptorRequest) +func (x *fastReflection_GetChainDescriptorRequest) New() protoreflect.Message { + return new(fastReflection_GetChainDescriptorRequest) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_GetCodecDescriptorRequest) Interface() protoreflect.ProtoMessage { - return (*GetCodecDescriptorRequest)(x) +func (x *fastReflection_GetChainDescriptorRequest) Interface() protoreflect.ProtoMessage { + return (*GetChainDescriptorRequest)(x) } // Range iterates over every populated field in an undefined order, @@ -7560,7 +6270,7 @@ func (x *fastReflection_GetCodecDescriptorRequest) Interface() protoreflect.Prot // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_GetCodecDescriptorRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_GetChainDescriptorRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { } // Has reports whether a field is populated. @@ -7574,13 +6284,13 @@ func (x *fastReflection_GetCodecDescriptorRequest) Range(f func(protoreflect.Fie // In other cases (aside from the nullable cases above), // a proto3 scalar field is populated if it contains a non-zero value, and // a repeated field is populated if it is non-empty. -func (x *fastReflection_GetCodecDescriptorRequest) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_GetChainDescriptorRequest) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.GetCodecDescriptorRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.GetChainDescriptorRequest")) } - panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.GetCodecDescriptorRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.GetChainDescriptorRequest does not contain field %s", fd.FullName())) } } @@ -7590,13 +6300,13 @@ func (x *fastReflection_GetCodecDescriptorRequest) Has(fd protoreflect.FieldDesc // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_GetCodecDescriptorRequest) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_GetChainDescriptorRequest) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.GetCodecDescriptorRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.GetChainDescriptorRequest")) } - panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.GetCodecDescriptorRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.GetChainDescriptorRequest does not contain field %s", fd.FullName())) } } @@ -7606,13 +6316,13 @@ func (x *fastReflection_GetCodecDescriptorRequest) Clear(fd protoreflect.FieldDe // the default value of a bytes scalar is guaranteed to be a copy. // For unpopulated composite types, it returns an empty, read-only view // of the value; to obtain a mutable reference, use Mutable. -func (x *fastReflection_GetCodecDescriptorRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_GetChainDescriptorRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.GetCodecDescriptorRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.GetChainDescriptorRequest")) } - panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.GetCodecDescriptorRequest does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.GetChainDescriptorRequest does not contain field %s", descriptor.FullName())) } } @@ -7626,13 +6336,13 @@ func (x *fastReflection_GetCodecDescriptorRequest) Get(descriptor protoreflect.F // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_GetCodecDescriptorRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_GetChainDescriptorRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.GetCodecDescriptorRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.GetChainDescriptorRequest")) } - panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.GetCodecDescriptorRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.GetChainDescriptorRequest does not contain field %s", fd.FullName())) } } @@ -7646,36 +6356,36 @@ func (x *fastReflection_GetCodecDescriptorRequest) Set(fd protoreflect.FieldDesc // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_GetCodecDescriptorRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_GetChainDescriptorRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.GetCodecDescriptorRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.GetChainDescriptorRequest")) } - panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.GetCodecDescriptorRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.GetChainDescriptorRequest does not contain field %s", fd.FullName())) } } // NewField returns a new value that is assignable to the field // for the given descriptor. For scalars, this returns the default value. // For lists, maps, and messages, this returns a new, empty, mutable value. -func (x *fastReflection_GetCodecDescriptorRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_GetChainDescriptorRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.GetCodecDescriptorRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.GetChainDescriptorRequest")) } - panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.GetCodecDescriptorRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.GetChainDescriptorRequest does not contain field %s", fd.FullName())) } } // WhichOneof reports which field within the oneof is populated, // returning nil if none are populated. // It panics if the oneof descriptor does not belong to this message. -func (x *fastReflection_GetCodecDescriptorRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_GetChainDescriptorRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in cosmos.base.reflection.v2alpha1.GetCodecDescriptorRequest", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in cosmos.base.reflection.v2alpha1.GetChainDescriptorRequest", d.FullName())) } panic("unreachable") } @@ -7683,7 +6393,7 @@ func (x *fastReflection_GetCodecDescriptorRequest) WhichOneof(d protoreflect.One // GetUnknown retrieves the entire list of unknown fields. // The caller may only mutate the contents of the RawFields // if the mutated bytes are stored back into the message with SetUnknown. -func (x *fastReflection_GetCodecDescriptorRequest) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_GetChainDescriptorRequest) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -7694,7 +6404,7 @@ func (x *fastReflection_GetCodecDescriptorRequest) GetUnknown() protoreflect.Raw // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_GetCodecDescriptorRequest) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_GetChainDescriptorRequest) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -7706,7 +6416,7 @@ func (x *fastReflection_GetCodecDescriptorRequest) SetUnknown(fields protoreflec // message type, but the details are implementation dependent. // Validity is not part of the protobuf data model, and may not // be preserved in marshaling or other operations. -func (x *fastReflection_GetCodecDescriptorRequest) IsValid() bool { +func (x *fastReflection_GetChainDescriptorRequest) IsValid() bool { return x != nil } @@ -7716,9 +6426,9 @@ func (x *fastReflection_GetCodecDescriptorRequest) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_GetCodecDescriptorRequest) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_GetChainDescriptorRequest) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*GetCodecDescriptorRequest) + x := input.Message.Interface().(*GetChainDescriptorRequest) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -7740,7 +6450,7 @@ func (x *fastReflection_GetCodecDescriptorRequest) ProtoMethods() *protoiface.Me } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*GetCodecDescriptorRequest) + x := input.Message.Interface().(*GetChainDescriptorRequest) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -7770,7 +6480,7 @@ func (x *fastReflection_GetCodecDescriptorRequest) ProtoMethods() *protoiface.Me }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*GetCodecDescriptorRequest) + x := input.Message.Interface().(*GetChainDescriptorRequest) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -7802,10 +6512,10 @@ func (x *fastReflection_GetCodecDescriptorRequest) ProtoMethods() *protoiface.Me fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetCodecDescriptorRequest: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetChainDescriptorRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetCodecDescriptorRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetChainDescriptorRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -7844,26 +6554,26 @@ func (x *fastReflection_GetCodecDescriptorRequest) ProtoMethods() *protoiface.Me } var ( - md_GetCodecDescriptorResponse protoreflect.MessageDescriptor - fd_GetCodecDescriptorResponse_codec protoreflect.FieldDescriptor + md_GetChainDescriptorResponse protoreflect.MessageDescriptor + fd_GetChainDescriptorResponse_chain protoreflect.FieldDescriptor ) func init() { file_cosmos_base_reflection_v2alpha1_reflection_proto_init() - md_GetCodecDescriptorResponse = File_cosmos_base_reflection_v2alpha1_reflection_proto.Messages().ByName("GetCodecDescriptorResponse") - fd_GetCodecDescriptorResponse_codec = md_GetCodecDescriptorResponse.Fields().ByName("codec") + md_GetChainDescriptorResponse = File_cosmos_base_reflection_v2alpha1_reflection_proto.Messages().ByName("GetChainDescriptorResponse") + fd_GetChainDescriptorResponse_chain = md_GetChainDescriptorResponse.Fields().ByName("chain") } -var _ protoreflect.Message = (*fastReflection_GetCodecDescriptorResponse)(nil) +var _ protoreflect.Message = (*fastReflection_GetChainDescriptorResponse)(nil) -type fastReflection_GetCodecDescriptorResponse GetCodecDescriptorResponse +type fastReflection_GetChainDescriptorResponse GetChainDescriptorResponse -func (x *GetCodecDescriptorResponse) ProtoReflect() protoreflect.Message { - return (*fastReflection_GetCodecDescriptorResponse)(x) +func (x *GetChainDescriptorResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetChainDescriptorResponse)(x) } -func (x *GetCodecDescriptorResponse) slowProtoReflect() protoreflect.Message { - mi := &file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[16] +func (x *GetChainDescriptorResponse) slowProtoReflect() protoreflect.Message { + mi := &file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[13] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -7874,43 +6584,43 @@ func (x *GetCodecDescriptorResponse) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_GetCodecDescriptorResponse_messageType fastReflection_GetCodecDescriptorResponse_messageType -var _ protoreflect.MessageType = fastReflection_GetCodecDescriptorResponse_messageType{} +var _fastReflection_GetChainDescriptorResponse_messageType fastReflection_GetChainDescriptorResponse_messageType +var _ protoreflect.MessageType = fastReflection_GetChainDescriptorResponse_messageType{} -type fastReflection_GetCodecDescriptorResponse_messageType struct{} +type fastReflection_GetChainDescriptorResponse_messageType struct{} -func (x fastReflection_GetCodecDescriptorResponse_messageType) Zero() protoreflect.Message { - return (*fastReflection_GetCodecDescriptorResponse)(nil) +func (x fastReflection_GetChainDescriptorResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetChainDescriptorResponse)(nil) } -func (x fastReflection_GetCodecDescriptorResponse_messageType) New() protoreflect.Message { - return new(fastReflection_GetCodecDescriptorResponse) +func (x fastReflection_GetChainDescriptorResponse_messageType) New() protoreflect.Message { + return new(fastReflection_GetChainDescriptorResponse) } -func (x fastReflection_GetCodecDescriptorResponse_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_GetCodecDescriptorResponse +func (x fastReflection_GetChainDescriptorResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetChainDescriptorResponse } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_GetCodecDescriptorResponse) Descriptor() protoreflect.MessageDescriptor { - return md_GetCodecDescriptorResponse +func (x *fastReflection_GetChainDescriptorResponse) Descriptor() protoreflect.MessageDescriptor { + return md_GetChainDescriptorResponse } // Type returns the message type, which encapsulates both Go and protobuf // type information. If the Go type information is not needed, // it is recommended that the message descriptor be used instead. -func (x *fastReflection_GetCodecDescriptorResponse) Type() protoreflect.MessageType { - return _fastReflection_GetCodecDescriptorResponse_messageType +func (x *fastReflection_GetChainDescriptorResponse) Type() protoreflect.MessageType { + return _fastReflection_GetChainDescriptorResponse_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_GetCodecDescriptorResponse) New() protoreflect.Message { - return new(fastReflection_GetCodecDescriptorResponse) +func (x *fastReflection_GetChainDescriptorResponse) New() protoreflect.Message { + return new(fastReflection_GetChainDescriptorResponse) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_GetCodecDescriptorResponse) Interface() protoreflect.ProtoMessage { - return (*GetCodecDescriptorResponse)(x) +func (x *fastReflection_GetChainDescriptorResponse) Interface() protoreflect.ProtoMessage { + return (*GetChainDescriptorResponse)(x) } // Range iterates over every populated field in an undefined order, @@ -7918,10 +6628,10 @@ func (x *fastReflection_GetCodecDescriptorResponse) Interface() protoreflect.Pro // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_GetCodecDescriptorResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.Codec != nil { - value := protoreflect.ValueOfMessage(x.Codec.ProtoReflect()) - if !f(fd_GetCodecDescriptorResponse_codec, value) { +func (x *fastReflection_GetChainDescriptorResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Chain != nil { + value := protoreflect.ValueOfMessage(x.Chain.ProtoReflect()) + if !f(fd_GetChainDescriptorResponse_chain, value) { return } } @@ -7938,15 +6648,15 @@ func (x *fastReflection_GetCodecDescriptorResponse) Range(f func(protoreflect.Fi // In other cases (aside from the nullable cases above), // a proto3 scalar field is populated if it contains a non-zero value, and // a repeated field is populated if it is non-empty. -func (x *fastReflection_GetCodecDescriptorResponse) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_GetChainDescriptorResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "cosmos.base.reflection.v2alpha1.GetCodecDescriptorResponse.codec": - return x.Codec != nil + case "cosmos.base.reflection.v2alpha1.GetChainDescriptorResponse.chain": + return x.Chain != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.GetCodecDescriptorResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.GetChainDescriptorResponse")) } - panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.GetCodecDescriptorResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.GetChainDescriptorResponse does not contain field %s", fd.FullName())) } } @@ -7956,15 +6666,15 @@ func (x *fastReflection_GetCodecDescriptorResponse) Has(fd protoreflect.FieldDes // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_GetCodecDescriptorResponse) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_GetChainDescriptorResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "cosmos.base.reflection.v2alpha1.GetCodecDescriptorResponse.codec": - x.Codec = nil + case "cosmos.base.reflection.v2alpha1.GetChainDescriptorResponse.chain": + x.Chain = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.GetCodecDescriptorResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.GetChainDescriptorResponse")) } - panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.GetCodecDescriptorResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.GetChainDescriptorResponse does not contain field %s", fd.FullName())) } } @@ -7974,16 +6684,16 @@ func (x *fastReflection_GetCodecDescriptorResponse) Clear(fd protoreflect.FieldD // the default value of a bytes scalar is guaranteed to be a copy. // For unpopulated composite types, it returns an empty, read-only view // of the value; to obtain a mutable reference, use Mutable. -func (x *fastReflection_GetCodecDescriptorResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_GetChainDescriptorResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "cosmos.base.reflection.v2alpha1.GetCodecDescriptorResponse.codec": - value := x.Codec + case "cosmos.base.reflection.v2alpha1.GetChainDescriptorResponse.chain": + value := x.Chain return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.GetCodecDescriptorResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.GetChainDescriptorResponse")) } - panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.GetCodecDescriptorResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.GetChainDescriptorResponse does not contain field %s", descriptor.FullName())) } } @@ -7997,15 +6707,15 @@ func (x *fastReflection_GetCodecDescriptorResponse) Get(descriptor protoreflect. // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_GetCodecDescriptorResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_GetChainDescriptorResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "cosmos.base.reflection.v2alpha1.GetCodecDescriptorResponse.codec": - x.Codec = value.Message().Interface().(*CodecDescriptor) + case "cosmos.base.reflection.v2alpha1.GetChainDescriptorResponse.chain": + x.Chain = value.Message().Interface().(*ChainDescriptor) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.GetCodecDescriptorResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.GetChainDescriptorResponse")) } - panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.GetCodecDescriptorResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.GetChainDescriptorResponse does not contain field %s", fd.FullName())) } } @@ -8019,44 +6729,44 @@ func (x *fastReflection_GetCodecDescriptorResponse) Set(fd protoreflect.FieldDes // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_GetCodecDescriptorResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_GetChainDescriptorResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.base.reflection.v2alpha1.GetCodecDescriptorResponse.codec": - if x.Codec == nil { - x.Codec = new(CodecDescriptor) + case "cosmos.base.reflection.v2alpha1.GetChainDescriptorResponse.chain": + if x.Chain == nil { + x.Chain = new(ChainDescriptor) } - return protoreflect.ValueOfMessage(x.Codec.ProtoReflect()) + return protoreflect.ValueOfMessage(x.Chain.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.GetCodecDescriptorResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.GetChainDescriptorResponse")) } - panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.GetCodecDescriptorResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.GetChainDescriptorResponse does not contain field %s", fd.FullName())) } } // NewField returns a new value that is assignable to the field // for the given descriptor. For scalars, this returns the default value. // For lists, maps, and messages, this returns a new, empty, mutable value. -func (x *fastReflection_GetCodecDescriptorResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_GetChainDescriptorResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.base.reflection.v2alpha1.GetCodecDescriptorResponse.codec": - m := new(CodecDescriptor) + case "cosmos.base.reflection.v2alpha1.GetChainDescriptorResponse.chain": + m := new(ChainDescriptor) return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.GetCodecDescriptorResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.GetChainDescriptorResponse")) } - panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.GetCodecDescriptorResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.GetChainDescriptorResponse does not contain field %s", fd.FullName())) } } // WhichOneof reports which field within the oneof is populated, // returning nil if none are populated. // It panics if the oneof descriptor does not belong to this message. -func (x *fastReflection_GetCodecDescriptorResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_GetChainDescriptorResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in cosmos.base.reflection.v2alpha1.GetCodecDescriptorResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in cosmos.base.reflection.v2alpha1.GetChainDescriptorResponse", d.FullName())) } panic("unreachable") } @@ -8064,7 +6774,7 @@ func (x *fastReflection_GetCodecDescriptorResponse) WhichOneof(d protoreflect.On // GetUnknown retrieves the entire list of unknown fields. // The caller may only mutate the contents of the RawFields // if the mutated bytes are stored back into the message with SetUnknown. -func (x *fastReflection_GetCodecDescriptorResponse) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_GetChainDescriptorResponse) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -8075,7 +6785,7 @@ func (x *fastReflection_GetCodecDescriptorResponse) GetUnknown() protoreflect.Ra // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_GetCodecDescriptorResponse) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_GetChainDescriptorResponse) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -8087,7 +6797,7 @@ func (x *fastReflection_GetCodecDescriptorResponse) SetUnknown(fields protorefle // message type, but the details are implementation dependent. // Validity is not part of the protobuf data model, and may not // be preserved in marshaling or other operations. -func (x *fastReflection_GetCodecDescriptorResponse) IsValid() bool { +func (x *fastReflection_GetChainDescriptorResponse) IsValid() bool { return x != nil } @@ -8097,9 +6807,9 @@ func (x *fastReflection_GetCodecDescriptorResponse) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_GetCodecDescriptorResponse) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_GetChainDescriptorResponse) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*GetCodecDescriptorResponse) + x := input.Message.Interface().(*GetChainDescriptorResponse) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -8111,8 +6821,8 @@ func (x *fastReflection_GetCodecDescriptorResponse) ProtoMethods() *protoiface.M var n int var l int _ = l - if x.Codec != nil { - l = options.Size(x.Codec) + if x.Chain != nil { + l = options.Size(x.Chain) n += 1 + l + runtime.Sov(uint64(l)) } if x.unknownFields != nil { @@ -8125,7 +6835,7 @@ func (x *fastReflection_GetCodecDescriptorResponse) ProtoMethods() *protoiface.M } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*GetCodecDescriptorResponse) + x := input.Message.Interface().(*GetChainDescriptorResponse) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -8144,8 +6854,8 @@ func (x *fastReflection_GetCodecDescriptorResponse) ProtoMethods() *protoiface.M i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.Codec != nil { - encoded, err := options.Marshal(x.Codec) + if x.Chain != nil { + encoded, err := options.Marshal(x.Chain) if err != nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -8169,7 +6879,7 @@ func (x *fastReflection_GetCodecDescriptorResponse) ProtoMethods() *protoiface.M }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*GetCodecDescriptorResponse) + x := input.Message.Interface().(*GetChainDescriptorResponse) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -8201,15 +6911,15 @@ func (x *fastReflection_GetCodecDescriptorResponse) ProtoMethods() *protoiface.M fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetCodecDescriptorResponse: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetChainDescriptorResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetCodecDescriptorResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetChainDescriptorResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Codec", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Chain", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -8236,10 +6946,10 @@ func (x *fastReflection_GetCodecDescriptorResponse) ProtoMethods() *protoiface.M if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - if x.Codec == nil { - x.Codec = &CodecDescriptor{} + if x.Chain == nil { + x.Chain = &ChainDescriptor{} } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Codec); err != nil { + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Chain); err != nil { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } iNdEx = postIndex @@ -8279,24 +6989,24 @@ func (x *fastReflection_GetCodecDescriptorResponse) ProtoMethods() *protoiface.M } var ( - md_GetConfigurationDescriptorRequest protoreflect.MessageDescriptor + md_GetCodecDescriptorRequest protoreflect.MessageDescriptor ) func init() { file_cosmos_base_reflection_v2alpha1_reflection_proto_init() - md_GetConfigurationDescriptorRequest = File_cosmos_base_reflection_v2alpha1_reflection_proto.Messages().ByName("GetConfigurationDescriptorRequest") + md_GetCodecDescriptorRequest = File_cosmos_base_reflection_v2alpha1_reflection_proto.Messages().ByName("GetCodecDescriptorRequest") } -var _ protoreflect.Message = (*fastReflection_GetConfigurationDescriptorRequest)(nil) +var _ protoreflect.Message = (*fastReflection_GetCodecDescriptorRequest)(nil) -type fastReflection_GetConfigurationDescriptorRequest GetConfigurationDescriptorRequest +type fastReflection_GetCodecDescriptorRequest GetCodecDescriptorRequest -func (x *GetConfigurationDescriptorRequest) ProtoReflect() protoreflect.Message { - return (*fastReflection_GetConfigurationDescriptorRequest)(x) +func (x *GetCodecDescriptorRequest) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetCodecDescriptorRequest)(x) } -func (x *GetConfigurationDescriptorRequest) slowProtoReflect() protoreflect.Message { - mi := &file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[17] +func (x *GetCodecDescriptorRequest) slowProtoReflect() protoreflect.Message { + mi := &file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[14] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8307,43 +7017,43 @@ func (x *GetConfigurationDescriptorRequest) slowProtoReflect() protoreflect.Mess return mi.MessageOf(x) } -var _fastReflection_GetConfigurationDescriptorRequest_messageType fastReflection_GetConfigurationDescriptorRequest_messageType -var _ protoreflect.MessageType = fastReflection_GetConfigurationDescriptorRequest_messageType{} +var _fastReflection_GetCodecDescriptorRequest_messageType fastReflection_GetCodecDescriptorRequest_messageType +var _ protoreflect.MessageType = fastReflection_GetCodecDescriptorRequest_messageType{} -type fastReflection_GetConfigurationDescriptorRequest_messageType struct{} +type fastReflection_GetCodecDescriptorRequest_messageType struct{} -func (x fastReflection_GetConfigurationDescriptorRequest_messageType) Zero() protoreflect.Message { - return (*fastReflection_GetConfigurationDescriptorRequest)(nil) +func (x fastReflection_GetCodecDescriptorRequest_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetCodecDescriptorRequest)(nil) } -func (x fastReflection_GetConfigurationDescriptorRequest_messageType) New() protoreflect.Message { - return new(fastReflection_GetConfigurationDescriptorRequest) +func (x fastReflection_GetCodecDescriptorRequest_messageType) New() protoreflect.Message { + return new(fastReflection_GetCodecDescriptorRequest) } -func (x fastReflection_GetConfigurationDescriptorRequest_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_GetConfigurationDescriptorRequest +func (x fastReflection_GetCodecDescriptorRequest_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetCodecDescriptorRequest } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_GetConfigurationDescriptorRequest) Descriptor() protoreflect.MessageDescriptor { - return md_GetConfigurationDescriptorRequest +func (x *fastReflection_GetCodecDescriptorRequest) Descriptor() protoreflect.MessageDescriptor { + return md_GetCodecDescriptorRequest } // Type returns the message type, which encapsulates both Go and protobuf // type information. If the Go type information is not needed, // it is recommended that the message descriptor be used instead. -func (x *fastReflection_GetConfigurationDescriptorRequest) Type() protoreflect.MessageType { - return _fastReflection_GetConfigurationDescriptorRequest_messageType +func (x *fastReflection_GetCodecDescriptorRequest) Type() protoreflect.MessageType { + return _fastReflection_GetCodecDescriptorRequest_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_GetConfigurationDescriptorRequest) New() protoreflect.Message { - return new(fastReflection_GetConfigurationDescriptorRequest) +func (x *fastReflection_GetCodecDescriptorRequest) New() protoreflect.Message { + return new(fastReflection_GetCodecDescriptorRequest) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_GetConfigurationDescriptorRequest) Interface() protoreflect.ProtoMessage { - return (*GetConfigurationDescriptorRequest)(x) +func (x *fastReflection_GetCodecDescriptorRequest) Interface() protoreflect.ProtoMessage { + return (*GetCodecDescriptorRequest)(x) } // Range iterates over every populated field in an undefined order, @@ -8351,7 +7061,7 @@ func (x *fastReflection_GetConfigurationDescriptorRequest) Interface() protorefl // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_GetConfigurationDescriptorRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_GetCodecDescriptorRequest) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { } // Has reports whether a field is populated. @@ -8365,13 +7075,13 @@ func (x *fastReflection_GetConfigurationDescriptorRequest) Range(f func(protoref // In other cases (aside from the nullable cases above), // a proto3 scalar field is populated if it contains a non-zero value, and // a repeated field is populated if it is non-empty. -func (x *fastReflection_GetConfigurationDescriptorRequest) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_GetCodecDescriptorRequest) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.GetCodecDescriptorRequest")) } - panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.GetCodecDescriptorRequest does not contain field %s", fd.FullName())) } } @@ -8381,13 +7091,13 @@ func (x *fastReflection_GetConfigurationDescriptorRequest) Has(fd protoreflect.F // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_GetConfigurationDescriptorRequest) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_GetCodecDescriptorRequest) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.GetCodecDescriptorRequest")) } - panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.GetCodecDescriptorRequest does not contain field %s", fd.FullName())) } } @@ -8397,13 +7107,13 @@ func (x *fastReflection_GetConfigurationDescriptorRequest) Clear(fd protoreflect // the default value of a bytes scalar is guaranteed to be a copy. // For unpopulated composite types, it returns an empty, read-only view // of the value; to obtain a mutable reference, use Mutable. -func (x *fastReflection_GetConfigurationDescriptorRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_GetCodecDescriptorRequest) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.GetCodecDescriptorRequest")) } - panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorRequest does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.GetCodecDescriptorRequest does not contain field %s", descriptor.FullName())) } } @@ -8417,13 +7127,13 @@ func (x *fastReflection_GetConfigurationDescriptorRequest) Get(descriptor protor // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_GetConfigurationDescriptorRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_GetCodecDescriptorRequest) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.GetCodecDescriptorRequest")) } - panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.GetCodecDescriptorRequest does not contain field %s", fd.FullName())) } } @@ -8437,36 +7147,36 @@ func (x *fastReflection_GetConfigurationDescriptorRequest) Set(fd protoreflect.F // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_GetConfigurationDescriptorRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_GetCodecDescriptorRequest) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.GetCodecDescriptorRequest")) } - panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.GetCodecDescriptorRequest does not contain field %s", fd.FullName())) } } // NewField returns a new value that is assignable to the field // for the given descriptor. For scalars, this returns the default value. // For lists, maps, and messages, this returns a new, empty, mutable value. -func (x *fastReflection_GetConfigurationDescriptorRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_GetCodecDescriptorRequest) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorRequest")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.GetCodecDescriptorRequest")) } - panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorRequest does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.GetCodecDescriptorRequest does not contain field %s", fd.FullName())) } } // WhichOneof reports which field within the oneof is populated, // returning nil if none are populated. // It panics if the oneof descriptor does not belong to this message. -func (x *fastReflection_GetConfigurationDescriptorRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_GetCodecDescriptorRequest) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorRequest", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in cosmos.base.reflection.v2alpha1.GetCodecDescriptorRequest", d.FullName())) } panic("unreachable") } @@ -8474,7 +7184,7 @@ func (x *fastReflection_GetConfigurationDescriptorRequest) WhichOneof(d protoref // GetUnknown retrieves the entire list of unknown fields. // The caller may only mutate the contents of the RawFields // if the mutated bytes are stored back into the message with SetUnknown. -func (x *fastReflection_GetConfigurationDescriptorRequest) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_GetCodecDescriptorRequest) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -8485,7 +7195,7 @@ func (x *fastReflection_GetConfigurationDescriptorRequest) GetUnknown() protoref // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_GetConfigurationDescriptorRequest) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_GetCodecDescriptorRequest) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -8497,7 +7207,7 @@ func (x *fastReflection_GetConfigurationDescriptorRequest) SetUnknown(fields pro // message type, but the details are implementation dependent. // Validity is not part of the protobuf data model, and may not // be preserved in marshaling or other operations. -func (x *fastReflection_GetConfigurationDescriptorRequest) IsValid() bool { +func (x *fastReflection_GetCodecDescriptorRequest) IsValid() bool { return x != nil } @@ -8507,9 +7217,9 @@ func (x *fastReflection_GetConfigurationDescriptorRequest) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_GetConfigurationDescriptorRequest) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_GetCodecDescriptorRequest) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*GetConfigurationDescriptorRequest) + x := input.Message.Interface().(*GetCodecDescriptorRequest) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -8531,7 +7241,7 @@ func (x *fastReflection_GetConfigurationDescriptorRequest) ProtoMethods() *proto } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*GetConfigurationDescriptorRequest) + x := input.Message.Interface().(*GetCodecDescriptorRequest) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -8561,7 +7271,7 @@ func (x *fastReflection_GetConfigurationDescriptorRequest) ProtoMethods() *proto }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*GetConfigurationDescriptorRequest) + x := input.Message.Interface().(*GetCodecDescriptorRequest) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -8593,10 +7303,10 @@ func (x *fastReflection_GetConfigurationDescriptorRequest) ProtoMethods() *proto fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetConfigurationDescriptorRequest: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetCodecDescriptorRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetConfigurationDescriptorRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetCodecDescriptorRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -8635,26 +7345,26 @@ func (x *fastReflection_GetConfigurationDescriptorRequest) ProtoMethods() *proto } var ( - md_GetConfigurationDescriptorResponse protoreflect.MessageDescriptor - fd_GetConfigurationDescriptorResponse_config protoreflect.FieldDescriptor + md_GetCodecDescriptorResponse protoreflect.MessageDescriptor + fd_GetCodecDescriptorResponse_codec protoreflect.FieldDescriptor ) func init() { file_cosmos_base_reflection_v2alpha1_reflection_proto_init() - md_GetConfigurationDescriptorResponse = File_cosmos_base_reflection_v2alpha1_reflection_proto.Messages().ByName("GetConfigurationDescriptorResponse") - fd_GetConfigurationDescriptorResponse_config = md_GetConfigurationDescriptorResponse.Fields().ByName("config") + md_GetCodecDescriptorResponse = File_cosmos_base_reflection_v2alpha1_reflection_proto.Messages().ByName("GetCodecDescriptorResponse") + fd_GetCodecDescriptorResponse_codec = md_GetCodecDescriptorResponse.Fields().ByName("codec") } -var _ protoreflect.Message = (*fastReflection_GetConfigurationDescriptorResponse)(nil) +var _ protoreflect.Message = (*fastReflection_GetCodecDescriptorResponse)(nil) -type fastReflection_GetConfigurationDescriptorResponse GetConfigurationDescriptorResponse +type fastReflection_GetCodecDescriptorResponse GetCodecDescriptorResponse -func (x *GetConfigurationDescriptorResponse) ProtoReflect() protoreflect.Message { - return (*fastReflection_GetConfigurationDescriptorResponse)(x) +func (x *GetCodecDescriptorResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_GetCodecDescriptorResponse)(x) } -func (x *GetConfigurationDescriptorResponse) slowProtoReflect() protoreflect.Message { - mi := &file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[18] +func (x *GetCodecDescriptorResponse) slowProtoReflect() protoreflect.Message { + mi := &file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[15] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -8665,43 +7375,43 @@ func (x *GetConfigurationDescriptorResponse) slowProtoReflect() protoreflect.Mes return mi.MessageOf(x) } -var _fastReflection_GetConfigurationDescriptorResponse_messageType fastReflection_GetConfigurationDescriptorResponse_messageType -var _ protoreflect.MessageType = fastReflection_GetConfigurationDescriptorResponse_messageType{} +var _fastReflection_GetCodecDescriptorResponse_messageType fastReflection_GetCodecDescriptorResponse_messageType +var _ protoreflect.MessageType = fastReflection_GetCodecDescriptorResponse_messageType{} -type fastReflection_GetConfigurationDescriptorResponse_messageType struct{} +type fastReflection_GetCodecDescriptorResponse_messageType struct{} -func (x fastReflection_GetConfigurationDescriptorResponse_messageType) Zero() protoreflect.Message { - return (*fastReflection_GetConfigurationDescriptorResponse)(nil) +func (x fastReflection_GetCodecDescriptorResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_GetCodecDescriptorResponse)(nil) } -func (x fastReflection_GetConfigurationDescriptorResponse_messageType) New() protoreflect.Message { - return new(fastReflection_GetConfigurationDescriptorResponse) +func (x fastReflection_GetCodecDescriptorResponse_messageType) New() protoreflect.Message { + return new(fastReflection_GetCodecDescriptorResponse) } -func (x fastReflection_GetConfigurationDescriptorResponse_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_GetConfigurationDescriptorResponse +func (x fastReflection_GetCodecDescriptorResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_GetCodecDescriptorResponse } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_GetConfigurationDescriptorResponse) Descriptor() protoreflect.MessageDescriptor { - return md_GetConfigurationDescriptorResponse +func (x *fastReflection_GetCodecDescriptorResponse) Descriptor() protoreflect.MessageDescriptor { + return md_GetCodecDescriptorResponse } // Type returns the message type, which encapsulates both Go and protobuf // type information. If the Go type information is not needed, // it is recommended that the message descriptor be used instead. -func (x *fastReflection_GetConfigurationDescriptorResponse) Type() protoreflect.MessageType { - return _fastReflection_GetConfigurationDescriptorResponse_messageType +func (x *fastReflection_GetCodecDescriptorResponse) Type() protoreflect.MessageType { + return _fastReflection_GetCodecDescriptorResponse_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_GetConfigurationDescriptorResponse) New() protoreflect.Message { - return new(fastReflection_GetConfigurationDescriptorResponse) +func (x *fastReflection_GetCodecDescriptorResponse) New() protoreflect.Message { + return new(fastReflection_GetCodecDescriptorResponse) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_GetConfigurationDescriptorResponse) Interface() protoreflect.ProtoMessage { - return (*GetConfigurationDescriptorResponse)(x) +func (x *fastReflection_GetCodecDescriptorResponse) Interface() protoreflect.ProtoMessage { + return (*GetCodecDescriptorResponse)(x) } // Range iterates over every populated field in an undefined order, @@ -8709,10 +7419,10 @@ func (x *fastReflection_GetConfigurationDescriptorResponse) Interface() protoref // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_GetConfigurationDescriptorResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { - if x.Config != nil { - value := protoreflect.ValueOfMessage(x.Config.ProtoReflect()) - if !f(fd_GetConfigurationDescriptorResponse_config, value) { +func (x *fastReflection_GetCodecDescriptorResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { + if x.Codec != nil { + value := protoreflect.ValueOfMessage(x.Codec.ProtoReflect()) + if !f(fd_GetCodecDescriptorResponse_codec, value) { return } } @@ -8729,15 +7439,15 @@ func (x *fastReflection_GetConfigurationDescriptorResponse) Range(f func(protore // In other cases (aside from the nullable cases above), // a proto3 scalar field is populated if it contains a non-zero value, and // a repeated field is populated if it is non-empty. -func (x *fastReflection_GetConfigurationDescriptorResponse) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_GetCodecDescriptorResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorResponse.config": - return x.Config != nil + case "cosmos.base.reflection.v2alpha1.GetCodecDescriptorResponse.codec": + return x.Codec != nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.GetCodecDescriptorResponse")) } - panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.GetCodecDescriptorResponse does not contain field %s", fd.FullName())) } } @@ -8747,15 +7457,15 @@ func (x *fastReflection_GetConfigurationDescriptorResponse) Has(fd protoreflect. // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_GetConfigurationDescriptorResponse) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_GetCodecDescriptorResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorResponse.config": - x.Config = nil + case "cosmos.base.reflection.v2alpha1.GetCodecDescriptorResponse.codec": + x.Codec = nil default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.GetCodecDescriptorResponse")) } - panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.GetCodecDescriptorResponse does not contain field %s", fd.FullName())) } } @@ -8765,16 +7475,16 @@ func (x *fastReflection_GetConfigurationDescriptorResponse) Clear(fd protoreflec // the default value of a bytes scalar is guaranteed to be a copy. // For unpopulated composite types, it returns an empty, read-only view // of the value; to obtain a mutable reference, use Mutable. -func (x *fastReflection_GetConfigurationDescriptorResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_GetCodecDescriptorResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorResponse.config": - value := x.Config + case "cosmos.base.reflection.v2alpha1.GetCodecDescriptorResponse.codec": + value := x.Codec return protoreflect.ValueOfMessage(value.ProtoReflect()) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.GetCodecDescriptorResponse")) } - panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.GetCodecDescriptorResponse does not contain field %s", descriptor.FullName())) } } @@ -8788,15 +7498,15 @@ func (x *fastReflection_GetConfigurationDescriptorResponse) Get(descriptor proto // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_GetConfigurationDescriptorResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_GetCodecDescriptorResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorResponse.config": - x.Config = value.Message().Interface().(*ConfigurationDescriptor) + case "cosmos.base.reflection.v2alpha1.GetCodecDescriptorResponse.codec": + x.Codec = value.Message().Interface().(*CodecDescriptor) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.GetCodecDescriptorResponse")) } - panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.GetCodecDescriptorResponse does not contain field %s", fd.FullName())) } } @@ -8810,44 +7520,44 @@ func (x *fastReflection_GetConfigurationDescriptorResponse) Set(fd protoreflect. // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_GetConfigurationDescriptorResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_GetCodecDescriptorResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorResponse.config": - if x.Config == nil { - x.Config = new(ConfigurationDescriptor) + case "cosmos.base.reflection.v2alpha1.GetCodecDescriptorResponse.codec": + if x.Codec == nil { + x.Codec = new(CodecDescriptor) } - return protoreflect.ValueOfMessage(x.Config.ProtoReflect()) + return protoreflect.ValueOfMessage(x.Codec.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.GetCodecDescriptorResponse")) } - panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.GetCodecDescriptorResponse does not contain field %s", fd.FullName())) } } // NewField returns a new value that is assignable to the field // for the given descriptor. For scalars, this returns the default value. // For lists, maps, and messages, this returns a new, empty, mutable value. -func (x *fastReflection_GetConfigurationDescriptorResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_GetCodecDescriptorResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorResponse.config": - m := new(ConfigurationDescriptor) + case "cosmos.base.reflection.v2alpha1.GetCodecDescriptorResponse.codec": + m := new(CodecDescriptor) return protoreflect.ValueOfMessage(m.ProtoReflect()) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: cosmos.base.reflection.v2alpha1.GetCodecDescriptorResponse")) } - panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message cosmos.base.reflection.v2alpha1.GetCodecDescriptorResponse does not contain field %s", fd.FullName())) } } // WhichOneof reports which field within the oneof is populated, // returning nil if none are populated. // It panics if the oneof descriptor does not belong to this message. -func (x *fastReflection_GetConfigurationDescriptorResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_GetCodecDescriptorResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in cosmos.base.reflection.v2alpha1.GetCodecDescriptorResponse", d.FullName())) } panic("unreachable") } @@ -8855,7 +7565,7 @@ func (x *fastReflection_GetConfigurationDescriptorResponse) WhichOneof(d protore // GetUnknown retrieves the entire list of unknown fields. // The caller may only mutate the contents of the RawFields // if the mutated bytes are stored back into the message with SetUnknown. -func (x *fastReflection_GetConfigurationDescriptorResponse) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_GetCodecDescriptorResponse) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -8866,7 +7576,7 @@ func (x *fastReflection_GetConfigurationDescriptorResponse) GetUnknown() protore // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_GetConfigurationDescriptorResponse) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_GetCodecDescriptorResponse) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -8878,7 +7588,7 @@ func (x *fastReflection_GetConfigurationDescriptorResponse) SetUnknown(fields pr // message type, but the details are implementation dependent. // Validity is not part of the protobuf data model, and may not // be preserved in marshaling or other operations. -func (x *fastReflection_GetConfigurationDescriptorResponse) IsValid() bool { +func (x *fastReflection_GetCodecDescriptorResponse) IsValid() bool { return x != nil } @@ -8888,9 +7598,9 @@ func (x *fastReflection_GetConfigurationDescriptorResponse) IsValid() bool { // The returned methods type is identical to // "google.golang.org/protobuf/runtime/protoiface".Methods. // Consult the protoiface package documentation for details. -func (x *fastReflection_GetConfigurationDescriptorResponse) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_GetCodecDescriptorResponse) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*GetConfigurationDescriptorResponse) + x := input.Message.Interface().(*GetCodecDescriptorResponse) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -8902,8 +7612,8 @@ func (x *fastReflection_GetConfigurationDescriptorResponse) ProtoMethods() *prot var n int var l int _ = l - if x.Config != nil { - l = options.Size(x.Config) + if x.Codec != nil { + l = options.Size(x.Codec) n += 1 + l + runtime.Sov(uint64(l)) } if x.unknownFields != nil { @@ -8916,7 +7626,7 @@ func (x *fastReflection_GetConfigurationDescriptorResponse) ProtoMethods() *prot } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*GetConfigurationDescriptorResponse) + x := input.Message.Interface().(*GetCodecDescriptorResponse) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -8935,8 +7645,8 @@ func (x *fastReflection_GetConfigurationDescriptorResponse) ProtoMethods() *prot i -= len(x.unknownFields) copy(dAtA[i:], x.unknownFields) } - if x.Config != nil { - encoded, err := options.Marshal(x.Config) + if x.Codec != nil { + encoded, err := options.Marshal(x.Codec) if err != nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -8960,7 +7670,7 @@ func (x *fastReflection_GetConfigurationDescriptorResponse) ProtoMethods() *prot }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*GetConfigurationDescriptorResponse) + x := input.Message.Interface().(*GetCodecDescriptorResponse) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -8992,15 +7702,15 @@ func (x *fastReflection_GetConfigurationDescriptorResponse) ProtoMethods() *prot fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetConfigurationDescriptorResponse: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetCodecDescriptorResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetConfigurationDescriptorResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: GetCodecDescriptorResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Config", wireType) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: wrong wireType = %d for field Codec", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -9027,10 +7737,10 @@ func (x *fastReflection_GetConfigurationDescriptorResponse) ProtoMethods() *prot if postIndex > l { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, io.ErrUnexpectedEOF } - if x.Config == nil { - x.Config = &ConfigurationDescriptor{} + if x.Codec == nil { + x.Codec = &CodecDescriptor{} } - if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Config); err != nil { + if err := options.Unmarshal(dAtA[iNdEx:postIndex], x.Codec); err != nil { return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, err } iNdEx = postIndex @@ -9087,7 +7797,7 @@ func (x *GetQueryServicesDescriptorRequest) ProtoReflect() protoreflect.Message } func (x *GetQueryServicesDescriptorRequest) slowProtoReflect() protoreflect.Message { - mi := &file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[19] + mi := &file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[16] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9445,7 +8155,7 @@ func (x *GetQueryServicesDescriptorResponse) ProtoReflect() protoreflect.Message } func (x *GetQueryServicesDescriptorResponse) slowProtoReflect() protoreflect.Message { - mi := &file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[20] + mi := &file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[17] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -9878,7 +8588,7 @@ func (x *GetTxDescriptorRequest) ProtoReflect() protoreflect.Message { } func (x *GetTxDescriptorRequest) slowProtoReflect() protoreflect.Message { - mi := &file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[21] + mi := &file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[18] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10236,7 +8946,7 @@ func (x *GetTxDescriptorResponse) ProtoReflect() protoreflect.Message { } func (x *GetTxDescriptorResponse) slowProtoReflect() protoreflect.Message { - mi := &file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[22] + mi := &file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[19] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -10722,7 +9432,7 @@ func (x *QueryServicesDescriptor) ProtoReflect() protoreflect.Message { } func (x *QueryServicesDescriptor) slowProtoReflect() protoreflect.Message { - mi := &file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[23] + mi := &file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[20] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11220,7 +9930,7 @@ func (x *QueryServiceDescriptor) ProtoReflect() protoreflect.Message { } func (x *QueryServiceDescriptor) slowProtoReflect() protoreflect.Message { - mi := &file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[24] + mi := &file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[21] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -11779,7 +10489,7 @@ func (x *QueryMethodDescriptor) ProtoReflect() protoreflect.Message { } func (x *QueryMethodDescriptor) slowProtoReflect() protoreflect.Message { - mi := &file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[25] + mi := &file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[22] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -12269,8 +10979,6 @@ type AppDescriptor struct { Chain *ChainDescriptor `protobuf:"bytes,2,opt,name=chain,proto3" json:"chain,omitempty"` // codec provides metadata information regarding codec related types Codec *CodecDescriptor `protobuf:"bytes,3,opt,name=codec,proto3" json:"codec,omitempty"` - // configuration provides metadata information regarding the sdk.Config type - Configuration *ConfigurationDescriptor `protobuf:"bytes,4,opt,name=configuration,proto3" json:"configuration,omitempty"` // query_services provides metadata information regarding the available queryable endpoints QueryServices *QueryServicesDescriptor `protobuf:"bytes,5,opt,name=query_services,json=queryServices,proto3" json:"query_services,omitempty"` // tx provides metadata information regarding how to send transactions to the given application @@ -12318,13 +11026,6 @@ func (x *AppDescriptor) GetCodec() *CodecDescriptor { return nil } -func (x *AppDescriptor) GetConfiguration() *ConfigurationDescriptor { - if x != nil { - return x.Configuration - } - return nil -} - func (x *AppDescriptor) GetQueryServices() *QueryServicesDescriptor { if x != nil { return x.QueryServices @@ -12712,43 +11413,6 @@ func (x *InterfaceAcceptingMessageDescriptor) GetFieldDescriptorNames() []string return nil } -// ConfigurationDescriptor contains metadata information on the sdk.Config -type ConfigurationDescriptor struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // bech32_account_address_prefix is the account address prefix - Bech32AccountAddressPrefix string `protobuf:"bytes,1,opt,name=bech32_account_address_prefix,json=bech32AccountAddressPrefix,proto3" json:"bech32_account_address_prefix,omitempty"` -} - -func (x *ConfigurationDescriptor) Reset() { - *x = ConfigurationDescriptor{} - if protoimpl.UnsafeEnabled { - mi := &file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ConfigurationDescriptor) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ConfigurationDescriptor) ProtoMessage() {} - -// Deprecated: Use ConfigurationDescriptor.ProtoReflect.Descriptor instead. -func (*ConfigurationDescriptor) Descriptor() ([]byte, []int) { - return file_cosmos_base_reflection_v2alpha1_reflection_proto_rawDescGZIP(), []int{9} -} - -func (x *ConfigurationDescriptor) GetBech32AccountAddressPrefix() string { - if x != nil { - return x.Bech32AccountAddressPrefix - } - return "" -} - // MsgDescriptor describes a cosmos-sdk message that can be delivered with a transaction type MsgDescriptor struct { state protoimpl.MessageState @@ -12762,7 +11426,7 @@ type MsgDescriptor struct { func (x *MsgDescriptor) Reset() { *x = MsgDescriptor{} if protoimpl.UnsafeEnabled { - mi := &file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[10] + mi := &file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -12776,7 +11440,7 @@ func (*MsgDescriptor) ProtoMessage() {} // Deprecated: Use MsgDescriptor.ProtoReflect.Descriptor instead. func (*MsgDescriptor) Descriptor() ([]byte, []int) { - return file_cosmos_base_reflection_v2alpha1_reflection_proto_rawDescGZIP(), []int{10} + return file_cosmos_base_reflection_v2alpha1_reflection_proto_rawDescGZIP(), []int{9} } func (x *MsgDescriptor) GetMsgTypeUrl() string { @@ -12796,7 +11460,7 @@ type GetAuthnDescriptorRequest struct { func (x *GetAuthnDescriptorRequest) Reset() { *x = GetAuthnDescriptorRequest{} if protoimpl.UnsafeEnabled { - mi := &file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[11] + mi := &file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -12810,7 +11474,7 @@ func (*GetAuthnDescriptorRequest) ProtoMessage() {} // Deprecated: Use GetAuthnDescriptorRequest.ProtoReflect.Descriptor instead. func (*GetAuthnDescriptorRequest) Descriptor() ([]byte, []int) { - return file_cosmos_base_reflection_v2alpha1_reflection_proto_rawDescGZIP(), []int{11} + return file_cosmos_base_reflection_v2alpha1_reflection_proto_rawDescGZIP(), []int{10} } // GetAuthnDescriptorResponse is the response returned by the GetAuthnDescriptor RPC @@ -12826,7 +11490,7 @@ type GetAuthnDescriptorResponse struct { func (x *GetAuthnDescriptorResponse) Reset() { *x = GetAuthnDescriptorResponse{} if protoimpl.UnsafeEnabled { - mi := &file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[12] + mi := &file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -12840,7 +11504,7 @@ func (*GetAuthnDescriptorResponse) ProtoMessage() {} // Deprecated: Use GetAuthnDescriptorResponse.ProtoReflect.Descriptor instead. func (*GetAuthnDescriptorResponse) Descriptor() ([]byte, []int) { - return file_cosmos_base_reflection_v2alpha1_reflection_proto_rawDescGZIP(), []int{12} + return file_cosmos_base_reflection_v2alpha1_reflection_proto_rawDescGZIP(), []int{11} } func (x *GetAuthnDescriptorResponse) GetAuthn() *AuthnDescriptor { @@ -12860,7 +11524,7 @@ type GetChainDescriptorRequest struct { func (x *GetChainDescriptorRequest) Reset() { *x = GetChainDescriptorRequest{} if protoimpl.UnsafeEnabled { - mi := &file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[13] + mi := &file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -12874,7 +11538,7 @@ func (*GetChainDescriptorRequest) ProtoMessage() {} // Deprecated: Use GetChainDescriptorRequest.ProtoReflect.Descriptor instead. func (*GetChainDescriptorRequest) Descriptor() ([]byte, []int) { - return file_cosmos_base_reflection_v2alpha1_reflection_proto_rawDescGZIP(), []int{13} + return file_cosmos_base_reflection_v2alpha1_reflection_proto_rawDescGZIP(), []int{12} } // GetChainDescriptorResponse is the response returned by the GetChainDescriptor RPC @@ -12890,7 +11554,7 @@ type GetChainDescriptorResponse struct { func (x *GetChainDescriptorResponse) Reset() { *x = GetChainDescriptorResponse{} if protoimpl.UnsafeEnabled { - mi := &file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[14] + mi := &file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -12904,7 +11568,7 @@ func (*GetChainDescriptorResponse) ProtoMessage() {} // Deprecated: Use GetChainDescriptorResponse.ProtoReflect.Descriptor instead. func (*GetChainDescriptorResponse) Descriptor() ([]byte, []int) { - return file_cosmos_base_reflection_v2alpha1_reflection_proto_rawDescGZIP(), []int{14} + return file_cosmos_base_reflection_v2alpha1_reflection_proto_rawDescGZIP(), []int{13} } func (x *GetChainDescriptorResponse) GetChain() *ChainDescriptor { @@ -12924,7 +11588,7 @@ type GetCodecDescriptorRequest struct { func (x *GetCodecDescriptorRequest) Reset() { *x = GetCodecDescriptorRequest{} if protoimpl.UnsafeEnabled { - mi := &file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[15] + mi := &file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -12938,7 +11602,7 @@ func (*GetCodecDescriptorRequest) ProtoMessage() {} // Deprecated: Use GetCodecDescriptorRequest.ProtoReflect.Descriptor instead. func (*GetCodecDescriptorRequest) Descriptor() ([]byte, []int) { - return file_cosmos_base_reflection_v2alpha1_reflection_proto_rawDescGZIP(), []int{15} + return file_cosmos_base_reflection_v2alpha1_reflection_proto_rawDescGZIP(), []int{14} } // GetCodecDescriptorResponse is the response returned by the GetCodecDescriptor RPC @@ -12954,7 +11618,7 @@ type GetCodecDescriptorResponse struct { func (x *GetCodecDescriptorResponse) Reset() { *x = GetCodecDescriptorResponse{} if protoimpl.UnsafeEnabled { - mi := &file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[16] + mi := &file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -12968,7 +11632,7 @@ func (*GetCodecDescriptorResponse) ProtoMessage() {} // Deprecated: Use GetCodecDescriptorResponse.ProtoReflect.Descriptor instead. func (*GetCodecDescriptorResponse) Descriptor() ([]byte, []int) { - return file_cosmos_base_reflection_v2alpha1_reflection_proto_rawDescGZIP(), []int{16} + return file_cosmos_base_reflection_v2alpha1_reflection_proto_rawDescGZIP(), []int{15} } func (x *GetCodecDescriptorResponse) GetCodec() *CodecDescriptor { @@ -12978,70 +11642,6 @@ func (x *GetCodecDescriptorResponse) GetCodec() *CodecDescriptor { return nil } -// GetConfigurationDescriptorRequest is the request used for the GetConfigurationDescriptor RPC -type GetConfigurationDescriptorRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *GetConfigurationDescriptorRequest) Reset() { - *x = GetConfigurationDescriptorRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetConfigurationDescriptorRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetConfigurationDescriptorRequest) ProtoMessage() {} - -// Deprecated: Use GetConfigurationDescriptorRequest.ProtoReflect.Descriptor instead. -func (*GetConfigurationDescriptorRequest) Descriptor() ([]byte, []int) { - return file_cosmos_base_reflection_v2alpha1_reflection_proto_rawDescGZIP(), []int{17} -} - -// GetConfigurationDescriptorResponse is the response returned by the GetConfigurationDescriptor RPC -type GetConfigurationDescriptorResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - // config describes the application's sdk.Config - Config *ConfigurationDescriptor `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` -} - -func (x *GetConfigurationDescriptorResponse) Reset() { - *x = GetConfigurationDescriptorResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetConfigurationDescriptorResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetConfigurationDescriptorResponse) ProtoMessage() {} - -// Deprecated: Use GetConfigurationDescriptorResponse.ProtoReflect.Descriptor instead. -func (*GetConfigurationDescriptorResponse) Descriptor() ([]byte, []int) { - return file_cosmos_base_reflection_v2alpha1_reflection_proto_rawDescGZIP(), []int{18} -} - -func (x *GetConfigurationDescriptorResponse) GetConfig() *ConfigurationDescriptor { - if x != nil { - return x.Config - } - return nil -} - // GetQueryServicesDescriptorRequest is the request used for the GetQueryServicesDescriptor RPC type GetQueryServicesDescriptorRequest struct { state protoimpl.MessageState @@ -13052,7 +11652,7 @@ type GetQueryServicesDescriptorRequest struct { func (x *GetQueryServicesDescriptorRequest) Reset() { *x = GetQueryServicesDescriptorRequest{} if protoimpl.UnsafeEnabled { - mi := &file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[19] + mi := &file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -13066,7 +11666,7 @@ func (*GetQueryServicesDescriptorRequest) ProtoMessage() {} // Deprecated: Use GetQueryServicesDescriptorRequest.ProtoReflect.Descriptor instead. func (*GetQueryServicesDescriptorRequest) Descriptor() ([]byte, []int) { - return file_cosmos_base_reflection_v2alpha1_reflection_proto_rawDescGZIP(), []int{19} + return file_cosmos_base_reflection_v2alpha1_reflection_proto_rawDescGZIP(), []int{16} } // GetQueryServicesDescriptorResponse is the response returned by the GetQueryServicesDescriptor RPC @@ -13082,7 +11682,7 @@ type GetQueryServicesDescriptorResponse struct { func (x *GetQueryServicesDescriptorResponse) Reset() { *x = GetQueryServicesDescriptorResponse{} if protoimpl.UnsafeEnabled { - mi := &file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[20] + mi := &file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -13096,7 +11696,7 @@ func (*GetQueryServicesDescriptorResponse) ProtoMessage() {} // Deprecated: Use GetQueryServicesDescriptorResponse.ProtoReflect.Descriptor instead. func (*GetQueryServicesDescriptorResponse) Descriptor() ([]byte, []int) { - return file_cosmos_base_reflection_v2alpha1_reflection_proto_rawDescGZIP(), []int{20} + return file_cosmos_base_reflection_v2alpha1_reflection_proto_rawDescGZIP(), []int{17} } func (x *GetQueryServicesDescriptorResponse) GetQueries() *QueryServicesDescriptor { @@ -13116,7 +11716,7 @@ type GetTxDescriptorRequest struct { func (x *GetTxDescriptorRequest) Reset() { *x = GetTxDescriptorRequest{} if protoimpl.UnsafeEnabled { - mi := &file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[21] + mi := &file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -13130,7 +11730,7 @@ func (*GetTxDescriptorRequest) ProtoMessage() {} // Deprecated: Use GetTxDescriptorRequest.ProtoReflect.Descriptor instead. func (*GetTxDescriptorRequest) Descriptor() ([]byte, []int) { - return file_cosmos_base_reflection_v2alpha1_reflection_proto_rawDescGZIP(), []int{21} + return file_cosmos_base_reflection_v2alpha1_reflection_proto_rawDescGZIP(), []int{18} } // GetTxDescriptorResponse is the response returned by the GetTxDescriptor RPC @@ -13147,7 +11747,7 @@ type GetTxDescriptorResponse struct { func (x *GetTxDescriptorResponse) Reset() { *x = GetTxDescriptorResponse{} if protoimpl.UnsafeEnabled { - mi := &file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[22] + mi := &file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -13161,7 +11761,7 @@ func (*GetTxDescriptorResponse) ProtoMessage() {} // Deprecated: Use GetTxDescriptorResponse.ProtoReflect.Descriptor instead. func (*GetTxDescriptorResponse) Descriptor() ([]byte, []int) { - return file_cosmos_base_reflection_v2alpha1_reflection_proto_rawDescGZIP(), []int{22} + return file_cosmos_base_reflection_v2alpha1_reflection_proto_rawDescGZIP(), []int{19} } func (x *GetTxDescriptorResponse) GetTx() *TxDescriptor { @@ -13184,7 +11784,7 @@ type QueryServicesDescriptor struct { func (x *QueryServicesDescriptor) Reset() { *x = QueryServicesDescriptor{} if protoimpl.UnsafeEnabled { - mi := &file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[23] + mi := &file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -13198,7 +11798,7 @@ func (*QueryServicesDescriptor) ProtoMessage() {} // Deprecated: Use QueryServicesDescriptor.ProtoReflect.Descriptor instead. func (*QueryServicesDescriptor) Descriptor() ([]byte, []int) { - return file_cosmos_base_reflection_v2alpha1_reflection_proto_rawDescGZIP(), []int{23} + return file_cosmos_base_reflection_v2alpha1_reflection_proto_rawDescGZIP(), []int{20} } func (x *QueryServicesDescriptor) GetQueryServices() []*QueryServiceDescriptor { @@ -13225,7 +11825,7 @@ type QueryServiceDescriptor struct { func (x *QueryServiceDescriptor) Reset() { *x = QueryServiceDescriptor{} if protoimpl.UnsafeEnabled { - mi := &file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[24] + mi := &file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -13239,7 +11839,7 @@ func (*QueryServiceDescriptor) ProtoMessage() {} // Deprecated: Use QueryServiceDescriptor.ProtoReflect.Descriptor instead. func (*QueryServiceDescriptor) Descriptor() ([]byte, []int) { - return file_cosmos_base_reflection_v2alpha1_reflection_proto_rawDescGZIP(), []int{24} + return file_cosmos_base_reflection_v2alpha1_reflection_proto_rawDescGZIP(), []int{21} } func (x *QueryServiceDescriptor) GetFullname() string { @@ -13281,7 +11881,7 @@ type QueryMethodDescriptor struct { func (x *QueryMethodDescriptor) Reset() { *x = QueryMethodDescriptor{} if protoimpl.UnsafeEnabled { - mi := &file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[25] + mi := &file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[22] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -13295,7 +11895,7 @@ func (*QueryMethodDescriptor) ProtoMessage() {} // Deprecated: Use QueryMethodDescriptor.ProtoReflect.Descriptor instead. func (*QueryMethodDescriptor) Descriptor() ([]byte, []int) { - return file_cosmos_base_reflection_v2alpha1_reflection_proto_rawDescGZIP(), []int{25} + return file_cosmos_base_reflection_v2alpha1_reflection_proto_rawDescGZIP(), []int{22} } func (x *QueryMethodDescriptor) GetName() string { @@ -13322,7 +11922,7 @@ var file_cosmos_base_reflection_v2alpha1_reflection_proto_rawDesc = []byte{ 0x72, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x22, 0xe7, 0x03, 0x0a, 0x0d, 0x41, 0x70, 0x70, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, + 0x6f, 0x22, 0x8d, 0x03, 0x0a, 0x0d, 0x41, 0x70, 0x70, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x12, 0x46, 0x0a, 0x05, 0x61, 0x75, 0x74, 0x68, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x72, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, @@ -13336,13 +11936,7 @@ var file_cosmos_base_reflection_v2alpha1_reflection_proto_rawDesc = []byte{ 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x72, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x64, 0x65, 0x63, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, - 0x70, 0x74, 0x6f, 0x72, 0x52, 0x05, 0x63, 0x6f, 0x64, 0x65, 0x63, 0x12, 0x5e, 0x0a, 0x0d, 0x63, - 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, - 0x2e, 0x72, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x0d, 0x63, 0x6f, - 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x5f, 0x0a, 0x0e, 0x71, + 0x70, 0x74, 0x6f, 0x72, 0x52, 0x05, 0x63, 0x6f, 0x64, 0x65, 0x63, 0x12, 0x5f, 0x0a, 0x0e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x72, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x32, 0x61, @@ -13352,256 +11946,226 @@ var file_cosmos_base_reflection_v2alpha1_reflection_proto_rawDesc = []byte{ 0x74, 0x78, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x72, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x54, 0x78, 0x44, 0x65, 0x73, - 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x02, 0x74, 0x78, 0x22, 0x6e, 0x0a, 0x0c, 0x54, - 0x78, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x66, - 0x75, 0x6c, 0x6c, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, - 0x75, 0x6c, 0x6c, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x42, 0x0a, 0x04, 0x6d, 0x73, 0x67, 0x73, 0x18, - 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, - 0x61, 0x73, 0x65, 0x2e, 0x72, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, - 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x44, 0x65, 0x73, 0x63, 0x72, - 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x04, 0x6d, 0x73, 0x67, 0x73, 0x22, 0x68, 0x0a, 0x0f, 0x41, - 0x75, 0x74, 0x68, 0x6e, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x12, 0x55, - 0x0a, 0x0a, 0x73, 0x69, 0x67, 0x6e, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, - 0x2e, 0x72, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x69, 0x6e, 0x67, 0x4d, 0x6f, 0x64, 0x65, - 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, - 0x4d, 0x6f, 0x64, 0x65, 0x73, 0x22, 0x91, 0x01, 0x0a, 0x15, 0x53, 0x69, 0x67, 0x6e, 0x69, 0x6e, - 0x67, 0x4d, 0x6f, 0x64, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x12, - 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x05, 0x52, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x4c, 0x0a, 0x23, 0x61, - 0x75, 0x74, 0x68, 0x6e, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, - 0x65, 0x72, 0x5f, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x5f, 0x66, 0x75, 0x6c, 0x6c, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x1f, 0x61, 0x75, 0x74, 0x68, 0x6e, 0x49, - 0x6e, 0x66, 0x6f, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x4d, 0x65, 0x74, 0x68, 0x6f, - 0x64, 0x46, 0x75, 0x6c, 0x6c, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x21, 0x0a, 0x0f, 0x43, 0x68, 0x61, - 0x69, 0x6e, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x12, 0x0e, 0x0a, 0x02, - 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x67, 0x0a, 0x0f, - 0x43, 0x6f, 0x64, 0x65, 0x63, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x12, - 0x54, 0x0a, 0x0a, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, - 0x65, 0x2e, 0x72, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x32, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x44, - 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x0a, 0x69, 0x6e, 0x74, 0x65, 0x72, - 0x66, 0x61, 0x63, 0x65, 0x73, 0x22, 0xb2, 0x02, 0x0a, 0x13, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, - 0x61, 0x63, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x12, 0x1a, 0x0a, - 0x08, 0x66, 0x75, 0x6c, 0x6c, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x08, 0x66, 0x75, 0x6c, 0x6c, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x86, 0x01, 0x0a, 0x1c, 0x69, 0x6e, - 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x69, 0x6e, - 0x67, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x44, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x72, - 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x41, 0x63, 0x63, 0x65, - 0x70, 0x74, 0x69, 0x6e, 0x67, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x44, 0x65, 0x73, 0x63, - 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x1a, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, - 0x65, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x69, 0x6e, 0x67, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, - 0x65, 0x73, 0x12, 0x76, 0x0a, 0x16, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x5f, - 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, - 0x2e, 0x72, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, - 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x49, 0x6d, - 0x70, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, - 0x74, 0x6f, 0x72, 0x52, 0x15, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x49, 0x6d, - 0x70, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x22, 0x57, 0x0a, 0x1e, 0x49, 0x6e, - 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x49, 0x6d, 0x70, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, - 0x65, 0x72, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x12, 0x1a, 0x0a, 0x08, - 0x66, 0x75, 0x6c, 0x6c, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, - 0x66, 0x75, 0x6c, 0x6c, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x79, 0x70, 0x65, - 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x74, 0x79, 0x70, 0x65, - 0x55, 0x72, 0x6c, 0x22, 0x77, 0x0a, 0x23, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, - 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x69, 0x6e, 0x67, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, - 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x75, - 0x6c, 0x6c, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x75, - 0x6c, 0x6c, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x34, 0x0a, 0x16, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, - 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, - 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x14, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x44, 0x65, 0x73, - 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x22, 0x5c, 0x0a, 0x17, - 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x73, - 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x12, 0x41, 0x0a, 0x1d, 0x62, 0x65, 0x63, 0x68, 0x33, - 0x32, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, - 0x73, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x1a, - 0x62, 0x65, 0x63, 0x68, 0x33, 0x32, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x64, 0x64, - 0x72, 0x65, 0x73, 0x73, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, 0x22, 0x31, 0x0a, 0x0d, 0x4d, 0x73, - 0x67, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x12, 0x20, 0x0a, 0x0c, 0x6d, - 0x73, 0x67, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0a, 0x6d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x55, 0x72, 0x6c, 0x22, 0x1b, 0x0a, - 0x19, 0x47, 0x65, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6e, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, - 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x64, 0x0a, 0x1a, 0x47, 0x65, - 0x74, 0x41, 0x75, 0x74, 0x68, 0x6e, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x46, 0x0a, 0x05, 0x61, 0x75, 0x74, 0x68, - 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, - 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x72, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x6e, 0x44, - 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x05, 0x61, 0x75, 0x74, 0x68, 0x6e, - 0x22, 0x1b, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x44, 0x65, 0x73, 0x63, - 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x64, 0x0a, - 0x1a, 0x47, 0x65, 0x74, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, - 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x46, 0x0a, 0x05, 0x63, - 0x68, 0x61, 0x69, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x63, 0x6f, 0x73, - 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x72, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x68, 0x61, - 0x69, 0x6e, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x05, 0x63, 0x68, - 0x61, 0x69, 0x6e, 0x22, 0x1b, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x63, 0x44, - 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x22, 0x64, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x63, 0x44, 0x65, 0x73, 0x63, - 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x46, - 0x0a, 0x05, 0x63, 0x6f, 0x64, 0x65, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, - 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x72, 0x65, 0x66, 0x6c, - 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, - 0x43, 0x6f, 0x64, 0x65, 0x63, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, - 0x05, 0x63, 0x6f, 0x64, 0x65, 0x63, 0x22, 0x23, 0x0a, 0x21, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, - 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, - 0x70, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x76, 0x0a, 0x22, 0x47, - 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, - 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x50, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x38, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, - 0x72, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x06, 0x63, 0x6f, 0x6e, - 0x66, 0x69, 0x67, 0x22, 0x23, 0x0a, 0x21, 0x47, 0x65, 0x74, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, - 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x78, 0x0a, 0x22, 0x47, 0x65, 0x74, 0x51, - 0x75, 0x65, 0x72, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x44, 0x65, 0x73, 0x63, - 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x52, - 0x0a, 0x07, 0x71, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x38, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x72, 0x65, - 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x44, - 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x07, 0x71, 0x75, 0x65, 0x72, 0x69, - 0x65, 0x73, 0x22, 0x18, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x54, 0x78, 0x44, 0x65, 0x73, 0x63, 0x72, - 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x58, 0x0a, 0x17, - 0x47, 0x65, 0x74, 0x54, 0x78, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3d, 0x0a, 0x02, 0x74, 0x78, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, - 0x65, 0x2e, 0x72, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x32, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x54, 0x78, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, - 0x6f, 0x72, 0x52, 0x02, 0x74, 0x78, 0x22, 0x79, 0x0a, 0x17, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, - 0x72, 0x12, 0x5e, 0x0a, 0x0e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x63, 0x6f, 0x73, 0x6d, + 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x02, 0x74, 0x78, 0x4a, 0x04, 0x08, 0x04, 0x10, + 0x05, 0x22, 0x6e, 0x0a, 0x0c, 0x54, 0x78, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, + 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x75, 0x6c, 0x6c, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x75, 0x6c, 0x6c, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x42, 0x0a, + 0x04, 0x6d, 0x73, 0x67, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x63, 0x6f, + 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x72, 0x65, 0x66, 0x6c, 0x65, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x4d, 0x73, + 0x67, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x04, 0x6d, 0x73, 0x67, + 0x73, 0x22, 0x68, 0x0a, 0x0f, 0x41, 0x75, 0x74, 0x68, 0x6e, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, + 0x70, 0x74, 0x6f, 0x72, 0x12, 0x55, 0x0a, 0x0a, 0x73, 0x69, 0x67, 0x6e, 0x5f, 0x6d, 0x6f, 0x64, + 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, + 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x72, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x69, + 0x6e, 0x67, 0x4d, 0x6f, 0x64, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, + 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x73, 0x22, 0x91, 0x01, 0x0a, 0x15, + 0x53, 0x69, 0x67, 0x6e, 0x69, 0x6e, 0x67, 0x4d, 0x6f, 0x64, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, + 0x69, 0x70, 0x74, 0x6f, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x75, 0x6d, + 0x62, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, + 0x72, 0x12, 0x4c, 0x0a, 0x23, 0x61, 0x75, 0x74, 0x68, 0x6e, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x5f, + 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x5f, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x5f, + 0x66, 0x75, 0x6c, 0x6c, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x1f, + 0x61, 0x75, 0x74, 0x68, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, + 0x72, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x46, 0x75, 0x6c, 0x6c, 0x6e, 0x61, 0x6d, 0x65, 0x22, + 0x21, 0x0a, 0x0f, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, + 0x6f, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, + 0x69, 0x64, 0x22, 0x67, 0x0a, 0x0f, 0x43, 0x6f, 0x64, 0x65, 0x63, 0x44, 0x65, 0x73, 0x63, 0x72, + 0x69, 0x70, 0x74, 0x6f, 0x72, 0x12, 0x54, 0x0a, 0x0a, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, + 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x72, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, - 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, - 0x6f, 0x72, 0x52, 0x0d, 0x71, 0x75, 0x65, 0x72, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x73, 0x22, 0xa3, 0x01, 0x0a, 0x16, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x12, 0x1a, 0x0a, 0x08, - 0x66, 0x75, 0x6c, 0x6c, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, - 0x66, 0x75, 0x6c, 0x6c, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x6d, - 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x4d, - 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x12, 0x50, 0x0a, 0x07, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x73, - 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, + 0x6f, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, + 0x72, 0x66, 0x61, 0x63, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, + 0x0a, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x73, 0x22, 0xb2, 0x02, 0x0a, 0x13, + 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, + 0x74, 0x6f, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x75, 0x6c, 0x6c, 0x6e, 0x61, 0x6d, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x75, 0x6c, 0x6c, 0x6e, 0x61, 0x6d, 0x65, 0x12, + 0x86, 0x01, 0x0a, 0x1c, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x5f, 0x61, 0x63, + 0x63, 0x65, 0x70, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, + 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x44, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x72, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, - 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4d, 0x65, - 0x74, 0x68, 0x6f, 0x64, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x07, - 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x73, 0x22, 0x53, 0x0a, 0x15, 0x51, 0x75, 0x65, 0x72, 0x79, - 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, - 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x0f, 0x66, 0x75, 0x6c, 0x6c, 0x5f, 0x71, 0x75, 0x65, - 0x72, 0x79, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x66, - 0x75, 0x6c, 0x6c, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x61, 0x74, 0x68, 0x32, 0xa7, 0x0a, 0x0a, - 0x11, 0x52, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x12, 0xcb, 0x01, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6e, 0x44, - 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x12, 0x3a, 0x2e, 0x63, 0x6f, 0x73, 0x6d, - 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x72, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, - 0x75, 0x74, 0x68, 0x6e, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3b, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, - 0x61, 0x73, 0x65, 0x2e, 0x72, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, - 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6e, - 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x3c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x36, 0x12, 0x34, 0x2f, 0x63, 0x6f, 0x73, - 0x6d, 0x6f, 0x73, 0x2f, 0x62, 0x61, 0x73, 0x65, 0x2f, 0x72, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x61, 0x70, 0x70, 0x5f, - 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x6e, - 0x12, 0xcb, 0x01, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x44, 0x65, 0x73, - 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x12, 0x3a, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, - 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x72, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x68, 0x61, - 0x69, 0x6e, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x3b, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, - 0x65, 0x2e, 0x72, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x32, 0x61, - 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x44, 0x65, + 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, + 0x63, 0x65, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x69, 0x6e, 0x67, 0x4d, 0x65, 0x73, 0x73, 0x61, + 0x67, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x1a, 0x69, 0x6e, + 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x69, 0x6e, 0x67, + 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x12, 0x76, 0x0a, 0x16, 0x69, 0x6e, 0x74, 0x65, + 0x72, 0x66, 0x61, 0x63, 0x65, 0x5f, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x65, + 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3f, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, + 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x72, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, + 0x66, 0x61, 0x63, 0x65, 0x49, 0x6d, 0x70, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x44, + 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x15, 0x69, 0x6e, 0x74, 0x65, 0x72, + 0x66, 0x61, 0x63, 0x65, 0x49, 0x6d, 0x70, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x73, + 0x22, 0x57, 0x0a, 0x1e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x49, 0x6d, 0x70, + 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, + 0x6f, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x75, 0x6c, 0x6c, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x75, 0x6c, 0x6c, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x19, + 0x0a, 0x08, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x07, 0x74, 0x79, 0x70, 0x65, 0x55, 0x72, 0x6c, 0x22, 0x77, 0x0a, 0x23, 0x49, 0x6e, 0x74, + 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x69, 0x6e, 0x67, 0x4d, + 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, + 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x75, 0x6c, 0x6c, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x08, 0x66, 0x75, 0x6c, 0x6c, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x34, 0x0a, 0x16, + 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, + 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x14, 0x66, 0x69, + 0x65, 0x6c, 0x64, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x4e, 0x61, 0x6d, + 0x65, 0x73, 0x22, 0x31, 0x0a, 0x0d, 0x4d, 0x73, 0x67, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, + 0x74, 0x6f, 0x72, 0x12, 0x20, 0x0a, 0x0c, 0x6d, 0x73, 0x67, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, + 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6d, 0x73, 0x67, 0x54, 0x79, + 0x70, 0x65, 0x55, 0x72, 0x6c, 0x22, 0x1b, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x41, 0x75, 0x74, 0x68, + 0x6e, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x22, 0x64, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6e, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x3c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x36, 0x12, 0x34, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, - 0x73, 0x2f, 0x62, 0x61, 0x73, 0x65, 0x2f, 0x72, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x61, 0x70, 0x70, 0x5f, 0x64, 0x65, - 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2f, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x12, 0xcb, - 0x01, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x63, 0x44, 0x65, 0x73, 0x63, 0x72, - 0x69, 0x70, 0x74, 0x6f, 0x72, 0x12, 0x3a, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, + 0x12, 0x46, 0x0a, 0x05, 0x61, 0x75, 0x74, 0x68, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x30, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x72, 0x65, + 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, + 0x31, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x6e, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, + 0x72, 0x52, 0x05, 0x61, 0x75, 0x74, 0x68, 0x6e, 0x22, 0x1b, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x43, + 0x68, 0x61, 0x69, 0x6e, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x64, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x43, 0x68, 0x61, 0x69, + 0x6e, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x46, 0x0a, 0x05, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, + 0x2e, 0x72, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, + 0x70, 0x74, 0x6f, 0x72, 0x52, 0x05, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x22, 0x1b, 0x0a, 0x19, 0x47, + 0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x63, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, + 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x64, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x43, + 0x6f, 0x64, 0x65, 0x63, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x46, 0x0a, 0x05, 0x63, 0x6f, 0x64, 0x65, 0x63, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x72, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, - 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x63, - 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x3b, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, + 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x64, 0x65, 0x63, 0x44, 0x65, 0x73, + 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x05, 0x63, 0x6f, 0x64, 0x65, 0x63, 0x22, 0x23, + 0x0a, 0x21, 0x47, 0x65, 0x74, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x73, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x22, 0x78, 0x0a, 0x22, 0x47, 0x65, 0x74, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, + 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, + 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x52, 0x0a, 0x07, 0x71, 0x75, 0x65, + 0x72, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x63, 0x6f, 0x73, + 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x72, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x51, 0x75, 0x65, + 0x72, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, + 0x70, 0x74, 0x6f, 0x72, 0x52, 0x07, 0x71, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x22, 0x18, 0x0a, + 0x16, 0x47, 0x65, 0x74, 0x54, 0x78, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x58, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x54, 0x78, + 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x3d, 0x0a, 0x02, 0x74, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, + 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x72, 0x65, 0x66, + 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, + 0x2e, 0x54, 0x78, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x02, 0x74, + 0x78, 0x22, 0x79, 0x0a, 0x17, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, + 0x65, 0x73, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x12, 0x5e, 0x0a, 0x0e, + 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, + 0x73, 0x65, 0x2e, 0x72, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x32, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x65, 0x72, 0x76, + 0x69, 0x63, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x0d, 0x71, + 0x75, 0x65, 0x72, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x22, 0xa3, 0x01, 0x0a, + 0x16, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x44, 0x65, 0x73, + 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x75, 0x6c, 0x6c, 0x6e, + 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x75, 0x6c, 0x6c, 0x6e, + 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, + 0x12, 0x50, 0x0a, 0x07, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x36, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x72, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x63, 0x44, 0x65, 0x73, 0x63, - 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3c, - 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x36, 0x12, 0x34, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, - 0x62, 0x61, 0x73, 0x65, 0x2f, 0x72, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2f, - 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x61, 0x70, 0x70, 0x5f, 0x64, 0x65, 0x73, 0x63, - 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2f, 0x63, 0x6f, 0x64, 0x65, 0x63, 0x12, 0xeb, 0x01, 0x0a, - 0x1a, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x12, 0x42, 0x2e, 0x63, 0x6f, - 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x72, 0x65, 0x66, 0x6c, 0x65, 0x63, - 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, - 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, - 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x43, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x72, 0x65, - 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, - 0x31, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x44, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3e, 0x12, 0x3c, 0x2f, 0x63, - 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x62, 0x61, 0x73, 0x65, 0x2f, 0x72, 0x65, 0x66, 0x6c, 0x65, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x61, 0x70, - 0x70, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2f, 0x63, 0x6f, 0x6e, - 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0xec, 0x01, 0x0a, 0x1a, 0x47, - 0x65, 0x74, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x44, - 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x12, 0x42, 0x2e, 0x63, 0x6f, 0x73, 0x6d, - 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x72, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x51, + 0x68, 0x61, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x44, + 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x07, 0x6d, 0x65, 0x74, 0x68, 0x6f, + 0x64, 0x73, 0x22, 0x53, 0x0a, 0x15, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4d, 0x65, 0x74, 0x68, 0x6f, + 0x64, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x6e, + 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, + 0x26, 0x0a, 0x0f, 0x66, 0x75, 0x6c, 0x6c, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x70, 0x61, + 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x66, 0x75, 0x6c, 0x6c, 0x51, 0x75, + 0x65, 0x72, 0x79, 0x50, 0x61, 0x74, 0x68, 0x32, 0xb9, 0x08, 0x0a, 0x11, 0x52, 0x65, 0x66, 0x6c, + 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xcb, 0x01, + 0x0a, 0x12, 0x47, 0x65, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6e, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, + 0x70, 0x74, 0x6f, 0x72, 0x12, 0x3a, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, + 0x73, 0x65, 0x2e, 0x72, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x32, + 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6e, 0x44, + 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x3b, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x72, + 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6e, 0x44, 0x65, 0x73, 0x63, 0x72, + 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3c, 0x82, + 0xd3, 0xe4, 0x93, 0x02, 0x36, 0x12, 0x34, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x62, + 0x61, 0x73, 0x65, 0x2f, 0x72, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x61, 0x70, 0x70, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, + 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x6e, 0x12, 0xcb, 0x01, 0x0a, 0x12, + 0x47, 0x65, 0x74, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, + 0x6f, 0x72, 0x12, 0x3a, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, + 0x2e, 0x72, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, + 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x44, 0x65, 0x73, + 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3b, + 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x72, 0x65, 0x66, + 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, + 0x2e, 0x47, 0x65, 0x74, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, + 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3c, 0x82, 0xd3, 0xe4, + 0x93, 0x02, 0x36, 0x12, 0x34, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x62, 0x61, 0x73, + 0x65, 0x2f, 0x72, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2f, 0x61, 0x70, 0x70, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, + 0x74, 0x6f, 0x72, 0x2f, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x12, 0xcb, 0x01, 0x0a, 0x12, 0x47, 0x65, + 0x74, 0x43, 0x6f, 0x64, 0x65, 0x63, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, + 0x12, 0x3a, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x72, + 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, + 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x63, 0x44, 0x65, 0x73, 0x63, 0x72, + 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3b, 0x2e, 0x63, + 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x72, 0x65, 0x66, 0x6c, 0x65, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, + 0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x63, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, + 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3c, 0x82, 0xd3, 0xe4, 0x93, 0x02, + 0x36, 0x12, 0x34, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x62, 0x61, 0x73, 0x65, 0x2f, + 0x72, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2f, 0x61, 0x70, 0x70, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, + 0x72, 0x2f, 0x63, 0x6f, 0x64, 0x65, 0x63, 0x12, 0xec, 0x01, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x44, 0x65, 0x73, 0x63, - 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x43, 0x2e, - 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x72, 0x65, 0x66, 0x6c, - 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, - 0x47, 0x65, 0x74, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, - 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x45, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3f, 0x12, 0x3d, 0x2f, 0x63, 0x6f, 0x73, - 0x6d, 0x6f, 0x73, 0x2f, 0x62, 0x61, 0x73, 0x65, 0x2f, 0x72, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x61, 0x70, 0x70, 0x5f, - 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2f, 0x71, 0x75, 0x65, 0x72, 0x79, - 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x12, 0xca, 0x01, 0x0a, 0x0f, 0x47, 0x65, - 0x74, 0x54, 0x78, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x12, 0x37, 0x2e, - 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x72, 0x65, 0x66, 0x6c, - 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, - 0x47, 0x65, 0x74, 0x54, 0x78, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x38, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, + 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x12, 0x42, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x72, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, - 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x78, 0x44, 0x65, - 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x22, 0x44, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3e, 0x12, 0x3c, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, - 0x73, 0x2f, 0x62, 0x61, 0x73, 0x65, 0x2f, 0x72, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x61, 0x70, 0x70, 0x5f, 0x64, 0x65, - 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2f, 0x74, 0x78, 0x5f, 0x64, 0x65, 0x73, 0x63, - 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x42, 0x9a, 0x02, 0x0a, 0x23, 0x63, 0x6f, 0x6d, 0x2e, 0x63, - 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x72, 0x65, 0x66, 0x6c, 0x65, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x0f, - 0x52, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, - 0x01, 0x5a, 0x43, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, - 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x62, 0x61, 0x73, 0x65, 0x2f, - 0x72, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x3b, 0x72, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x76, 0x32, - 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x43, 0x42, 0x52, 0xaa, 0x02, 0x1f, 0x43, - 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x42, 0x61, 0x73, 0x65, 0x2e, 0x52, 0x65, 0x66, 0x6c, 0x65, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, - 0x1f, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x5c, 0x42, 0x61, 0x73, 0x65, 0x5c, 0x52, 0x65, 0x66, - 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, - 0xe2, 0x02, 0x2b, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x5c, 0x42, 0x61, 0x73, 0x65, 0x5c, 0x52, - 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, - 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, - 0x22, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x3a, 0x3a, 0x42, 0x61, 0x73, 0x65, 0x3a, 0x3a, 0x52, - 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x3a, 0x56, 0x32, 0x61, 0x6c, 0x70, - 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x51, 0x75, 0x65, 0x72, + 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, + 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x43, 0x2e, 0x63, 0x6f, 0x73, + 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x72, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, + 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x44, 0x65, 0x73, + 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x45, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3f, 0x12, 0x3d, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, + 0x2f, 0x62, 0x61, 0x73, 0x65, 0x2f, 0x72, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x61, 0x70, 0x70, 0x5f, 0x64, 0x65, 0x73, + 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x73, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x12, 0xca, 0x01, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x54, 0x78, + 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x12, 0x37, 0x2e, 0x63, 0x6f, 0x73, + 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x72, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, + 0x54, 0x78, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x38, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, + 0x65, 0x2e, 0x72, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x32, 0x61, + 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x78, 0x44, 0x65, 0x73, 0x63, 0x72, + 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x44, 0x82, + 0xd3, 0xe4, 0x93, 0x02, 0x3e, 0x12, 0x3c, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x62, + 0x61, 0x73, 0x65, 0x2f, 0x72, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x61, 0x70, 0x70, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, + 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2f, 0x74, 0x78, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, + 0x74, 0x6f, 0x72, 0x42, 0x9a, 0x02, 0x0a, 0x23, 0x63, 0x6f, 0x6d, 0x2e, 0x63, 0x6f, 0x73, 0x6d, + 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x72, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x0f, 0x52, 0x65, 0x66, + 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x43, + 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x73, 0x64, 0x6b, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, + 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x62, 0x61, 0x73, 0x65, 0x2f, 0x72, 0x65, 0x66, + 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, + 0x3b, 0x72, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x76, 0x32, 0x61, 0x6c, 0x70, + 0x68, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x43, 0x42, 0x52, 0xaa, 0x02, 0x1f, 0x43, 0x6f, 0x73, 0x6d, + 0x6f, 0x73, 0x2e, 0x42, 0x61, 0x73, 0x65, 0x2e, 0x52, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x2e, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, 0x1f, 0x43, 0x6f, + 0x73, 0x6d, 0x6f, 0x73, 0x5c, 0x42, 0x61, 0x73, 0x65, 0x5c, 0x52, 0x65, 0x66, 0x6c, 0x65, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xe2, 0x02, 0x2b, + 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x5c, 0x42, 0x61, 0x73, 0x65, 0x5c, 0x52, 0x65, 0x66, 0x6c, + 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x5c, + 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x22, 0x43, 0x6f, + 0x73, 0x6d, 0x6f, 0x73, 0x3a, 0x3a, 0x42, 0x61, 0x73, 0x65, 0x3a, 0x3a, 0x52, 0x65, 0x66, 0x6c, + 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x3a, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -13616,7 +12180,7 @@ func file_cosmos_base_reflection_v2alpha1_reflection_proto_rawDescGZIP() []byte return file_cosmos_base_reflection_v2alpha1_reflection_proto_rawDescData } -var file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes = make([]protoimpl.MessageInfo, 26) +var file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes = make([]protoimpl.MessageInfo, 23) var file_cosmos_base_reflection_v2alpha1_reflection_proto_goTypes = []interface{}{ (*AppDescriptor)(nil), // 0: cosmos.base.reflection.v2alpha1.AppDescriptor (*TxDescriptor)(nil), // 1: cosmos.base.reflection.v2alpha1.TxDescriptor @@ -13627,61 +12191,54 @@ var file_cosmos_base_reflection_v2alpha1_reflection_proto_goTypes = []interface{ (*InterfaceDescriptor)(nil), // 6: cosmos.base.reflection.v2alpha1.InterfaceDescriptor (*InterfaceImplementerDescriptor)(nil), // 7: cosmos.base.reflection.v2alpha1.InterfaceImplementerDescriptor (*InterfaceAcceptingMessageDescriptor)(nil), // 8: cosmos.base.reflection.v2alpha1.InterfaceAcceptingMessageDescriptor - (*ConfigurationDescriptor)(nil), // 9: cosmos.base.reflection.v2alpha1.ConfigurationDescriptor - (*MsgDescriptor)(nil), // 10: cosmos.base.reflection.v2alpha1.MsgDescriptor - (*GetAuthnDescriptorRequest)(nil), // 11: cosmos.base.reflection.v2alpha1.GetAuthnDescriptorRequest - (*GetAuthnDescriptorResponse)(nil), // 12: cosmos.base.reflection.v2alpha1.GetAuthnDescriptorResponse - (*GetChainDescriptorRequest)(nil), // 13: cosmos.base.reflection.v2alpha1.GetChainDescriptorRequest - (*GetChainDescriptorResponse)(nil), // 14: cosmos.base.reflection.v2alpha1.GetChainDescriptorResponse - (*GetCodecDescriptorRequest)(nil), // 15: cosmos.base.reflection.v2alpha1.GetCodecDescriptorRequest - (*GetCodecDescriptorResponse)(nil), // 16: cosmos.base.reflection.v2alpha1.GetCodecDescriptorResponse - (*GetConfigurationDescriptorRequest)(nil), // 17: cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorRequest - (*GetConfigurationDescriptorResponse)(nil), // 18: cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorResponse - (*GetQueryServicesDescriptorRequest)(nil), // 19: cosmos.base.reflection.v2alpha1.GetQueryServicesDescriptorRequest - (*GetQueryServicesDescriptorResponse)(nil), // 20: cosmos.base.reflection.v2alpha1.GetQueryServicesDescriptorResponse - (*GetTxDescriptorRequest)(nil), // 21: cosmos.base.reflection.v2alpha1.GetTxDescriptorRequest - (*GetTxDescriptorResponse)(nil), // 22: cosmos.base.reflection.v2alpha1.GetTxDescriptorResponse - (*QueryServicesDescriptor)(nil), // 23: cosmos.base.reflection.v2alpha1.QueryServicesDescriptor - (*QueryServiceDescriptor)(nil), // 24: cosmos.base.reflection.v2alpha1.QueryServiceDescriptor - (*QueryMethodDescriptor)(nil), // 25: cosmos.base.reflection.v2alpha1.QueryMethodDescriptor + (*MsgDescriptor)(nil), // 9: cosmos.base.reflection.v2alpha1.MsgDescriptor + (*GetAuthnDescriptorRequest)(nil), // 10: cosmos.base.reflection.v2alpha1.GetAuthnDescriptorRequest + (*GetAuthnDescriptorResponse)(nil), // 11: cosmos.base.reflection.v2alpha1.GetAuthnDescriptorResponse + (*GetChainDescriptorRequest)(nil), // 12: cosmos.base.reflection.v2alpha1.GetChainDescriptorRequest + (*GetChainDescriptorResponse)(nil), // 13: cosmos.base.reflection.v2alpha1.GetChainDescriptorResponse + (*GetCodecDescriptorRequest)(nil), // 14: cosmos.base.reflection.v2alpha1.GetCodecDescriptorRequest + (*GetCodecDescriptorResponse)(nil), // 15: cosmos.base.reflection.v2alpha1.GetCodecDescriptorResponse + (*GetQueryServicesDescriptorRequest)(nil), // 16: cosmos.base.reflection.v2alpha1.GetQueryServicesDescriptorRequest + (*GetQueryServicesDescriptorResponse)(nil), // 17: cosmos.base.reflection.v2alpha1.GetQueryServicesDescriptorResponse + (*GetTxDescriptorRequest)(nil), // 18: cosmos.base.reflection.v2alpha1.GetTxDescriptorRequest + (*GetTxDescriptorResponse)(nil), // 19: cosmos.base.reflection.v2alpha1.GetTxDescriptorResponse + (*QueryServicesDescriptor)(nil), // 20: cosmos.base.reflection.v2alpha1.QueryServicesDescriptor + (*QueryServiceDescriptor)(nil), // 21: cosmos.base.reflection.v2alpha1.QueryServiceDescriptor + (*QueryMethodDescriptor)(nil), // 22: cosmos.base.reflection.v2alpha1.QueryMethodDescriptor } var file_cosmos_base_reflection_v2alpha1_reflection_proto_depIdxs = []int32{ 2, // 0: cosmos.base.reflection.v2alpha1.AppDescriptor.authn:type_name -> cosmos.base.reflection.v2alpha1.AuthnDescriptor 4, // 1: cosmos.base.reflection.v2alpha1.AppDescriptor.chain:type_name -> cosmos.base.reflection.v2alpha1.ChainDescriptor 5, // 2: cosmos.base.reflection.v2alpha1.AppDescriptor.codec:type_name -> cosmos.base.reflection.v2alpha1.CodecDescriptor - 9, // 3: cosmos.base.reflection.v2alpha1.AppDescriptor.configuration:type_name -> cosmos.base.reflection.v2alpha1.ConfigurationDescriptor - 23, // 4: cosmos.base.reflection.v2alpha1.AppDescriptor.query_services:type_name -> cosmos.base.reflection.v2alpha1.QueryServicesDescriptor - 1, // 5: cosmos.base.reflection.v2alpha1.AppDescriptor.tx:type_name -> cosmos.base.reflection.v2alpha1.TxDescriptor - 10, // 6: cosmos.base.reflection.v2alpha1.TxDescriptor.msgs:type_name -> cosmos.base.reflection.v2alpha1.MsgDescriptor - 3, // 7: cosmos.base.reflection.v2alpha1.AuthnDescriptor.sign_modes:type_name -> cosmos.base.reflection.v2alpha1.SigningModeDescriptor - 6, // 8: cosmos.base.reflection.v2alpha1.CodecDescriptor.interfaces:type_name -> cosmos.base.reflection.v2alpha1.InterfaceDescriptor - 8, // 9: cosmos.base.reflection.v2alpha1.InterfaceDescriptor.interface_accepting_messages:type_name -> cosmos.base.reflection.v2alpha1.InterfaceAcceptingMessageDescriptor - 7, // 10: cosmos.base.reflection.v2alpha1.InterfaceDescriptor.interface_implementers:type_name -> cosmos.base.reflection.v2alpha1.InterfaceImplementerDescriptor - 2, // 11: cosmos.base.reflection.v2alpha1.GetAuthnDescriptorResponse.authn:type_name -> cosmos.base.reflection.v2alpha1.AuthnDescriptor - 4, // 12: cosmos.base.reflection.v2alpha1.GetChainDescriptorResponse.chain:type_name -> cosmos.base.reflection.v2alpha1.ChainDescriptor - 5, // 13: cosmos.base.reflection.v2alpha1.GetCodecDescriptorResponse.codec:type_name -> cosmos.base.reflection.v2alpha1.CodecDescriptor - 9, // 14: cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorResponse.config:type_name -> cosmos.base.reflection.v2alpha1.ConfigurationDescriptor - 23, // 15: cosmos.base.reflection.v2alpha1.GetQueryServicesDescriptorResponse.queries:type_name -> cosmos.base.reflection.v2alpha1.QueryServicesDescriptor - 1, // 16: cosmos.base.reflection.v2alpha1.GetTxDescriptorResponse.tx:type_name -> cosmos.base.reflection.v2alpha1.TxDescriptor - 24, // 17: cosmos.base.reflection.v2alpha1.QueryServicesDescriptor.query_services:type_name -> cosmos.base.reflection.v2alpha1.QueryServiceDescriptor - 25, // 18: cosmos.base.reflection.v2alpha1.QueryServiceDescriptor.methods:type_name -> cosmos.base.reflection.v2alpha1.QueryMethodDescriptor - 11, // 19: cosmos.base.reflection.v2alpha1.ReflectionService.GetAuthnDescriptor:input_type -> cosmos.base.reflection.v2alpha1.GetAuthnDescriptorRequest - 13, // 20: cosmos.base.reflection.v2alpha1.ReflectionService.GetChainDescriptor:input_type -> cosmos.base.reflection.v2alpha1.GetChainDescriptorRequest - 15, // 21: cosmos.base.reflection.v2alpha1.ReflectionService.GetCodecDescriptor:input_type -> cosmos.base.reflection.v2alpha1.GetCodecDescriptorRequest - 17, // 22: cosmos.base.reflection.v2alpha1.ReflectionService.GetConfigurationDescriptor:input_type -> cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorRequest - 19, // 23: cosmos.base.reflection.v2alpha1.ReflectionService.GetQueryServicesDescriptor:input_type -> cosmos.base.reflection.v2alpha1.GetQueryServicesDescriptorRequest - 21, // 24: cosmos.base.reflection.v2alpha1.ReflectionService.GetTxDescriptor:input_type -> cosmos.base.reflection.v2alpha1.GetTxDescriptorRequest - 12, // 25: cosmos.base.reflection.v2alpha1.ReflectionService.GetAuthnDescriptor:output_type -> cosmos.base.reflection.v2alpha1.GetAuthnDescriptorResponse - 14, // 26: cosmos.base.reflection.v2alpha1.ReflectionService.GetChainDescriptor:output_type -> cosmos.base.reflection.v2alpha1.GetChainDescriptorResponse - 16, // 27: cosmos.base.reflection.v2alpha1.ReflectionService.GetCodecDescriptor:output_type -> cosmos.base.reflection.v2alpha1.GetCodecDescriptorResponse - 18, // 28: cosmos.base.reflection.v2alpha1.ReflectionService.GetConfigurationDescriptor:output_type -> cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorResponse - 20, // 29: cosmos.base.reflection.v2alpha1.ReflectionService.GetQueryServicesDescriptor:output_type -> cosmos.base.reflection.v2alpha1.GetQueryServicesDescriptorResponse - 22, // 30: cosmos.base.reflection.v2alpha1.ReflectionService.GetTxDescriptor:output_type -> cosmos.base.reflection.v2alpha1.GetTxDescriptorResponse - 25, // [25:31] is the sub-list for method output_type - 19, // [19:25] is the sub-list for method input_type - 19, // [19:19] is the sub-list for extension type_name - 19, // [19:19] is the sub-list for extension extendee - 0, // [0:19] is the sub-list for field type_name + 20, // 3: cosmos.base.reflection.v2alpha1.AppDescriptor.query_services:type_name -> cosmos.base.reflection.v2alpha1.QueryServicesDescriptor + 1, // 4: cosmos.base.reflection.v2alpha1.AppDescriptor.tx:type_name -> cosmos.base.reflection.v2alpha1.TxDescriptor + 9, // 5: cosmos.base.reflection.v2alpha1.TxDescriptor.msgs:type_name -> cosmos.base.reflection.v2alpha1.MsgDescriptor + 3, // 6: cosmos.base.reflection.v2alpha1.AuthnDescriptor.sign_modes:type_name -> cosmos.base.reflection.v2alpha1.SigningModeDescriptor + 6, // 7: cosmos.base.reflection.v2alpha1.CodecDescriptor.interfaces:type_name -> cosmos.base.reflection.v2alpha1.InterfaceDescriptor + 8, // 8: cosmos.base.reflection.v2alpha1.InterfaceDescriptor.interface_accepting_messages:type_name -> cosmos.base.reflection.v2alpha1.InterfaceAcceptingMessageDescriptor + 7, // 9: cosmos.base.reflection.v2alpha1.InterfaceDescriptor.interface_implementers:type_name -> cosmos.base.reflection.v2alpha1.InterfaceImplementerDescriptor + 2, // 10: cosmos.base.reflection.v2alpha1.GetAuthnDescriptorResponse.authn:type_name -> cosmos.base.reflection.v2alpha1.AuthnDescriptor + 4, // 11: cosmos.base.reflection.v2alpha1.GetChainDescriptorResponse.chain:type_name -> cosmos.base.reflection.v2alpha1.ChainDescriptor + 5, // 12: cosmos.base.reflection.v2alpha1.GetCodecDescriptorResponse.codec:type_name -> cosmos.base.reflection.v2alpha1.CodecDescriptor + 20, // 13: cosmos.base.reflection.v2alpha1.GetQueryServicesDescriptorResponse.queries:type_name -> cosmos.base.reflection.v2alpha1.QueryServicesDescriptor + 1, // 14: cosmos.base.reflection.v2alpha1.GetTxDescriptorResponse.tx:type_name -> cosmos.base.reflection.v2alpha1.TxDescriptor + 21, // 15: cosmos.base.reflection.v2alpha1.QueryServicesDescriptor.query_services:type_name -> cosmos.base.reflection.v2alpha1.QueryServiceDescriptor + 22, // 16: cosmos.base.reflection.v2alpha1.QueryServiceDescriptor.methods:type_name -> cosmos.base.reflection.v2alpha1.QueryMethodDescriptor + 10, // 17: cosmos.base.reflection.v2alpha1.ReflectionService.GetAuthnDescriptor:input_type -> cosmos.base.reflection.v2alpha1.GetAuthnDescriptorRequest + 12, // 18: cosmos.base.reflection.v2alpha1.ReflectionService.GetChainDescriptor:input_type -> cosmos.base.reflection.v2alpha1.GetChainDescriptorRequest + 14, // 19: cosmos.base.reflection.v2alpha1.ReflectionService.GetCodecDescriptor:input_type -> cosmos.base.reflection.v2alpha1.GetCodecDescriptorRequest + 16, // 20: cosmos.base.reflection.v2alpha1.ReflectionService.GetQueryServicesDescriptor:input_type -> cosmos.base.reflection.v2alpha1.GetQueryServicesDescriptorRequest + 18, // 21: cosmos.base.reflection.v2alpha1.ReflectionService.GetTxDescriptor:input_type -> cosmos.base.reflection.v2alpha1.GetTxDescriptorRequest + 11, // 22: cosmos.base.reflection.v2alpha1.ReflectionService.GetAuthnDescriptor:output_type -> cosmos.base.reflection.v2alpha1.GetAuthnDescriptorResponse + 13, // 23: cosmos.base.reflection.v2alpha1.ReflectionService.GetChainDescriptor:output_type -> cosmos.base.reflection.v2alpha1.GetChainDescriptorResponse + 15, // 24: cosmos.base.reflection.v2alpha1.ReflectionService.GetCodecDescriptor:output_type -> cosmos.base.reflection.v2alpha1.GetCodecDescriptorResponse + 17, // 25: cosmos.base.reflection.v2alpha1.ReflectionService.GetQueryServicesDescriptor:output_type -> cosmos.base.reflection.v2alpha1.GetQueryServicesDescriptorResponse + 19, // 26: cosmos.base.reflection.v2alpha1.ReflectionService.GetTxDescriptor:output_type -> cosmos.base.reflection.v2alpha1.GetTxDescriptorResponse + 22, // [22:27] is the sub-list for method output_type + 17, // [17:22] is the sub-list for method input_type + 17, // [17:17] is the sub-list for extension type_name + 17, // [17:17] is the sub-list for extension extendee + 0, // [0:17] is the sub-list for field type_name } func init() { file_cosmos_base_reflection_v2alpha1_reflection_proto_init() } @@ -13799,18 +12356,6 @@ func file_cosmos_base_reflection_v2alpha1_reflection_proto_init() { } } file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ConfigurationDescriptor); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MsgDescriptor); i { case 0: return &v.state @@ -13822,7 +12367,7 @@ func file_cosmos_base_reflection_v2alpha1_reflection_proto_init() { return nil } } - file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetAuthnDescriptorRequest); i { case 0: return &v.state @@ -13834,7 +12379,7 @@ func file_cosmos_base_reflection_v2alpha1_reflection_proto_init() { return nil } } - file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetAuthnDescriptorResponse); i { case 0: return &v.state @@ -13846,7 +12391,7 @@ func file_cosmos_base_reflection_v2alpha1_reflection_proto_init() { return nil } } - file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetChainDescriptorRequest); i { case 0: return &v.state @@ -13858,7 +12403,7 @@ func file_cosmos_base_reflection_v2alpha1_reflection_proto_init() { return nil } } - file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetChainDescriptorResponse); i { case 0: return &v.state @@ -13870,7 +12415,7 @@ func file_cosmos_base_reflection_v2alpha1_reflection_proto_init() { return nil } } - file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetCodecDescriptorRequest); i { case 0: return &v.state @@ -13882,7 +12427,7 @@ func file_cosmos_base_reflection_v2alpha1_reflection_proto_init() { return nil } } - file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetCodecDescriptorResponse); i { case 0: return &v.state @@ -13894,31 +12439,7 @@ func file_cosmos_base_reflection_v2alpha1_reflection_proto_init() { return nil } } - file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetConfigurationDescriptorRequest); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetConfigurationDescriptorResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetQueryServicesDescriptorRequest); i { case 0: return &v.state @@ -13930,7 +12451,7 @@ func file_cosmos_base_reflection_v2alpha1_reflection_proto_init() { return nil } } - file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetQueryServicesDescriptorResponse); i { case 0: return &v.state @@ -13942,7 +12463,7 @@ func file_cosmos_base_reflection_v2alpha1_reflection_proto_init() { return nil } } - file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetTxDescriptorRequest); i { case 0: return &v.state @@ -13954,7 +12475,7 @@ func file_cosmos_base_reflection_v2alpha1_reflection_proto_init() { return nil } } - file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetTxDescriptorResponse); i { case 0: return &v.state @@ -13966,7 +12487,7 @@ func file_cosmos_base_reflection_v2alpha1_reflection_proto_init() { return nil } } - file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*QueryServicesDescriptor); i { case 0: return &v.state @@ -13978,7 +12499,7 @@ func file_cosmos_base_reflection_v2alpha1_reflection_proto_init() { return nil } } - file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*QueryServiceDescriptor); i { case 0: return &v.state @@ -13990,7 +12511,7 @@ func file_cosmos_base_reflection_v2alpha1_reflection_proto_init() { return nil } } - file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + file_cosmos_base_reflection_v2alpha1_reflection_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*QueryMethodDescriptor); i { case 0: return &v.state @@ -14009,7 +12530,7 @@ func file_cosmos_base_reflection_v2alpha1_reflection_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_cosmos_base_reflection_v2alpha1_reflection_proto_rawDesc, NumEnums: 0, - NumMessages: 26, + NumMessages: 23, NumExtensions: 0, NumServices: 1, }, diff --git a/api/cosmos/base/reflection/v2alpha1/reflection_grpc.pb.go b/api/cosmos/base/reflection/v2alpha1/reflection_grpc.pb.go index 2977cc2771259..537f14428b84c 100644 --- a/api/cosmos/base/reflection/v2alpha1/reflection_grpc.pb.go +++ b/api/cosmos/base/reflection/v2alpha1/reflection_grpc.pb.go @@ -24,7 +24,6 @@ const ( ReflectionService_GetAuthnDescriptor_FullMethodName = "/cosmos.base.reflection.v2alpha1.ReflectionService/GetAuthnDescriptor" ReflectionService_GetChainDescriptor_FullMethodName = "/cosmos.base.reflection.v2alpha1.ReflectionService/GetChainDescriptor" ReflectionService_GetCodecDescriptor_FullMethodName = "/cosmos.base.reflection.v2alpha1.ReflectionService/GetCodecDescriptor" - ReflectionService_GetConfigurationDescriptor_FullMethodName = "/cosmos.base.reflection.v2alpha1.ReflectionService/GetConfigurationDescriptor" ReflectionService_GetQueryServicesDescriptor_FullMethodName = "/cosmos.base.reflection.v2alpha1.ReflectionService/GetQueryServicesDescriptor" ReflectionService_GetTxDescriptor_FullMethodName = "/cosmos.base.reflection.v2alpha1.ReflectionService/GetTxDescriptor" ) @@ -41,8 +40,6 @@ type ReflectionServiceClient interface { GetChainDescriptor(ctx context.Context, in *GetChainDescriptorRequest, opts ...grpc.CallOption) (*GetChainDescriptorResponse, error) // GetCodecDescriptor returns the descriptor of the codec of the application GetCodecDescriptor(ctx context.Context, in *GetCodecDescriptorRequest, opts ...grpc.CallOption) (*GetCodecDescriptorResponse, error) - // GetConfigurationDescriptor returns the descriptor for the sdk.Config of the application - GetConfigurationDescriptor(ctx context.Context, in *GetConfigurationDescriptorRequest, opts ...grpc.CallOption) (*GetConfigurationDescriptorResponse, error) // GetQueryServicesDescriptor returns the available gRPC queryable services of the application GetQueryServicesDescriptor(ctx context.Context, in *GetQueryServicesDescriptorRequest, opts ...grpc.CallOption) (*GetQueryServicesDescriptorResponse, error) // GetTxDescriptor returns information on the used transaction object and available msgs that can be used @@ -84,15 +81,6 @@ func (c *reflectionServiceClient) GetCodecDescriptor(ctx context.Context, in *Ge return out, nil } -func (c *reflectionServiceClient) GetConfigurationDescriptor(ctx context.Context, in *GetConfigurationDescriptorRequest, opts ...grpc.CallOption) (*GetConfigurationDescriptorResponse, error) { - out := new(GetConfigurationDescriptorResponse) - err := c.cc.Invoke(ctx, ReflectionService_GetConfigurationDescriptor_FullMethodName, in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - func (c *reflectionServiceClient) GetQueryServicesDescriptor(ctx context.Context, in *GetQueryServicesDescriptorRequest, opts ...grpc.CallOption) (*GetQueryServicesDescriptorResponse, error) { out := new(GetQueryServicesDescriptorResponse) err := c.cc.Invoke(ctx, ReflectionService_GetQueryServicesDescriptor_FullMethodName, in, out, opts...) @@ -123,8 +111,6 @@ type ReflectionServiceServer interface { GetChainDescriptor(context.Context, *GetChainDescriptorRequest) (*GetChainDescriptorResponse, error) // GetCodecDescriptor returns the descriptor of the codec of the application GetCodecDescriptor(context.Context, *GetCodecDescriptorRequest) (*GetCodecDescriptorResponse, error) - // GetConfigurationDescriptor returns the descriptor for the sdk.Config of the application - GetConfigurationDescriptor(context.Context, *GetConfigurationDescriptorRequest) (*GetConfigurationDescriptorResponse, error) // GetQueryServicesDescriptor returns the available gRPC queryable services of the application GetQueryServicesDescriptor(context.Context, *GetQueryServicesDescriptorRequest) (*GetQueryServicesDescriptorResponse, error) // GetTxDescriptor returns information on the used transaction object and available msgs that can be used @@ -145,9 +131,6 @@ func (UnimplementedReflectionServiceServer) GetChainDescriptor(context.Context, func (UnimplementedReflectionServiceServer) GetCodecDescriptor(context.Context, *GetCodecDescriptorRequest) (*GetCodecDescriptorResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetCodecDescriptor not implemented") } -func (UnimplementedReflectionServiceServer) GetConfigurationDescriptor(context.Context, *GetConfigurationDescriptorRequest) (*GetConfigurationDescriptorResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetConfigurationDescriptor not implemented") -} func (UnimplementedReflectionServiceServer) GetQueryServicesDescriptor(context.Context, *GetQueryServicesDescriptorRequest) (*GetQueryServicesDescriptorResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetQueryServicesDescriptor not implemented") } @@ -221,24 +204,6 @@ func _ReflectionService_GetCodecDescriptor_Handler(srv interface{}, ctx context. return interceptor(ctx, in, info, handler) } -func _ReflectionService_GetConfigurationDescriptor_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetConfigurationDescriptorRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ReflectionServiceServer).GetConfigurationDescriptor(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: ReflectionService_GetConfigurationDescriptor_FullMethodName, - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ReflectionServiceServer).GetConfigurationDescriptor(ctx, req.(*GetConfigurationDescriptorRequest)) - } - return interceptor(ctx, in, info, handler) -} - func _ReflectionService_GetQueryServicesDescriptor_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(GetQueryServicesDescriptorRequest) if err := dec(in); err != nil { @@ -294,10 +259,6 @@ var ReflectionService_ServiceDesc = grpc.ServiceDesc{ MethodName: "GetCodecDescriptor", Handler: _ReflectionService_GetCodecDescriptor_Handler, }, - { - MethodName: "GetConfigurationDescriptor", - Handler: _ReflectionService_GetConfigurationDescriptor_Handler, - }, { MethodName: "GetQueryServicesDescriptor", Handler: _ReflectionService_GetQueryServicesDescriptor_Handler, diff --git a/proto/cosmos/base/reflection/v2alpha1/reflection.proto b/proto/cosmos/base/reflection/v2alpha1/reflection.proto index ec8bf2f1d8052..92262ce89a869 100644 --- a/proto/cosmos/base/reflection/v2alpha1/reflection.proto +++ b/proto/cosmos/base/reflection/v2alpha1/reflection.proto @@ -15,12 +15,12 @@ message AppDescriptor { ChainDescriptor chain = 2; // codec provides metadata information regarding codec related types CodecDescriptor codec = 3; - // configuration provides metadata information regarding the sdk.Config type - ConfigurationDescriptor configuration = 4; // query_services provides metadata information regarding the available queryable endpoints QueryServicesDescriptor query_services = 5; // tx provides metadata information regarding how to send transactions to the given application TxDescriptor tx = 6; + + reserved 4; } // TxDescriptor describes the accepted transaction type @@ -99,12 +99,6 @@ message InterfaceAcceptingMessageDescriptor { repeated string field_descriptor_names = 2; } -// ConfigurationDescriptor contains metadata information on the sdk.Config -message ConfigurationDescriptor { - // bech32_account_address_prefix is the account address prefix - string bech32_account_address_prefix = 1; -} - // MsgDescriptor describes a cosmos-sdk message that can be delivered with a transaction message MsgDescriptor { // msg_type_url contains the TypeURL of a sdk.Msg. @@ -127,10 +121,6 @@ service ReflectionService { rpc GetCodecDescriptor(GetCodecDescriptorRequest) returns (GetCodecDescriptorResponse) { option (google.api.http).get = "/cosmos/base/reflection/v1beta1/app_descriptor/codec"; } - // GetConfigurationDescriptor returns the descriptor for the sdk.Config of the application - rpc GetConfigurationDescriptor(GetConfigurationDescriptorRequest) returns (GetConfigurationDescriptorResponse) { - option (google.api.http).get = "/cosmos/base/reflection/v1beta1/app_descriptor/configuration"; - } // GetQueryServicesDescriptor returns the available gRPC queryable services of the application rpc GetQueryServicesDescriptor(GetQueryServicesDescriptorRequest) returns (GetQueryServicesDescriptorResponse) { option (google.api.http).get = "/cosmos/base/reflection/v1beta1/app_descriptor/query_services"; @@ -165,14 +155,6 @@ message GetCodecDescriptorResponse { CodecDescriptor codec = 1; } -// GetConfigurationDescriptorRequest is the request used for the GetConfigurationDescriptor RPC -message GetConfigurationDescriptorRequest {} -// GetConfigurationDescriptorResponse is the response returned by the GetConfigurationDescriptor RPC -message GetConfigurationDescriptorResponse { - // config describes the application's sdk.Config - ConfigurationDescriptor config = 1; -} - // GetQueryServicesDescriptorRequest is the request used for the GetQueryServicesDescriptor RPC message GetQueryServicesDescriptorRequest {} // GetQueryServicesDescriptorResponse is the response returned by the GetQueryServicesDescriptor RPC diff --git a/server/grpc/reflection/v2alpha1/reflection.go b/server/grpc/reflection/v2alpha1/reflection.go index 73290c2961f80..cfc641e1ae41f 100644 --- a/server/grpc/reflection/v2alpha1/reflection.go +++ b/server/grpc/reflection/v2alpha1/reflection.go @@ -46,10 +46,6 @@ func (r reflectionServiceServer) GetCodecDescriptor(_ context.Context, _ *GetCod return &GetCodecDescriptorResponse{Codec: r.desc.Codec}, nil } -func (r reflectionServiceServer) GetConfigurationDescriptor(_ context.Context, _ *GetConfigurationDescriptorRequest) (*GetConfigurationDescriptorResponse, error) { - return &GetConfigurationDescriptorResponse{Config: r.desc.Configuration}, nil -} - func (r reflectionServiceServer) GetQueryServicesDescriptor(_ context.Context, _ *GetQueryServicesDescriptorRequest) (*GetQueryServicesDescriptorResponse, error) { return &GetQueryServicesDescriptorResponse{Queries: r.desc.QueryServices}, nil } @@ -61,10 +57,6 @@ func (r reflectionServiceServer) GetTxDescriptor(_ context.Context, _ *GetTxDesc func newReflectionServiceServer(grpcSrv *grpc.Server, conf Config) (reflectionServiceServer, error) { // set chain descriptor chainDescriptor := &ChainDescriptor{Id: conf.ChainID} - // set configuration descriptor - configurationDescriptor := &ConfigurationDescriptor{ - Bech32AccountAddressPrefix: conf.SdkConfig.GetBech32AccountAddrPrefix(), - } // set codec descriptor codecDescriptor, err := newCodecDescriptor(conf.InterfaceRegistry) if err != nil { @@ -82,7 +74,6 @@ func newReflectionServiceServer(grpcSrv *grpc.Server, conf Config) (reflectionSe Authn: authnDescriptor, Chain: chainDescriptor, Codec: codecDescriptor, - Configuration: configurationDescriptor, QueryServices: queryServiceDescriptor, Tx: txDescriptor, } diff --git a/server/grpc/reflection/v2alpha1/reflection.pb.go b/server/grpc/reflection/v2alpha1/reflection.pb.go index 78954f020945e..21740e3bc3399 100644 --- a/server/grpc/reflection/v2alpha1/reflection.pb.go +++ b/server/grpc/reflection/v2alpha1/reflection.pb.go @@ -37,8 +37,6 @@ type AppDescriptor struct { Chain *ChainDescriptor `protobuf:"bytes,2,opt,name=chain,proto3" json:"chain,omitempty"` // codec provides metadata information regarding codec related types Codec *CodecDescriptor `protobuf:"bytes,3,opt,name=codec,proto3" json:"codec,omitempty"` - // configuration provides metadata information regarding the sdk.Config type - Configuration *ConfigurationDescriptor `protobuf:"bytes,4,opt,name=configuration,proto3" json:"configuration,omitempty"` // query_services provides metadata information regarding the available queryable endpoints QueryServices *QueryServicesDescriptor `protobuf:"bytes,5,opt,name=query_services,json=queryServices,proto3" json:"query_services,omitempty"` // tx provides metadata information regarding how to send transactions to the given application @@ -99,13 +97,6 @@ func (m *AppDescriptor) GetCodec() *CodecDescriptor { return nil } -func (m *AppDescriptor) GetConfiguration() *ConfigurationDescriptor { - if m != nil { - return m.Configuration - } - return nil -} - func (m *AppDescriptor) GetQueryServices() *QueryServicesDescriptor { if m != nil { return m.QueryServices @@ -565,52 +556,6 @@ func (m *InterfaceAcceptingMessageDescriptor) GetFieldDescriptorNames() []string return nil } -// ConfigurationDescriptor contains metadata information on the sdk.Config -type ConfigurationDescriptor struct { - // bech32_account_address_prefix is the account address prefix - Bech32AccountAddressPrefix string `protobuf:"bytes,1,opt,name=bech32_account_address_prefix,json=bech32AccountAddressPrefix,proto3" json:"bech32_account_address_prefix,omitempty"` -} - -func (m *ConfigurationDescriptor) Reset() { *m = ConfigurationDescriptor{} } -func (m *ConfigurationDescriptor) String() string { return proto.CompactTextString(m) } -func (*ConfigurationDescriptor) ProtoMessage() {} -func (*ConfigurationDescriptor) Descriptor() ([]byte, []int) { - return fileDescriptor_15c91f0b8d6bf3d0, []int{9} -} -func (m *ConfigurationDescriptor) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *ConfigurationDescriptor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_ConfigurationDescriptor.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *ConfigurationDescriptor) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConfigurationDescriptor.Merge(m, src) -} -func (m *ConfigurationDescriptor) XXX_Size() int { - return m.Size() -} -func (m *ConfigurationDescriptor) XXX_DiscardUnknown() { - xxx_messageInfo_ConfigurationDescriptor.DiscardUnknown(m) -} - -var xxx_messageInfo_ConfigurationDescriptor proto.InternalMessageInfo - -func (m *ConfigurationDescriptor) GetBech32AccountAddressPrefix() string { - if m != nil { - return m.Bech32AccountAddressPrefix - } - return "" -} - // MsgDescriptor describes a cosmos-sdk message that can be delivered with a transaction type MsgDescriptor struct { // msg_type_url contains the TypeURL of a sdk.Msg. @@ -621,7 +566,7 @@ func (m *MsgDescriptor) Reset() { *m = MsgDescriptor{} } func (m *MsgDescriptor) String() string { return proto.CompactTextString(m) } func (*MsgDescriptor) ProtoMessage() {} func (*MsgDescriptor) Descriptor() ([]byte, []int) { - return fileDescriptor_15c91f0b8d6bf3d0, []int{10} + return fileDescriptor_15c91f0b8d6bf3d0, []int{9} } func (m *MsgDescriptor) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -665,7 +610,7 @@ func (m *GetAuthnDescriptorRequest) Reset() { *m = GetAuthnDescriptorReq func (m *GetAuthnDescriptorRequest) String() string { return proto.CompactTextString(m) } func (*GetAuthnDescriptorRequest) ProtoMessage() {} func (*GetAuthnDescriptorRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_15c91f0b8d6bf3d0, []int{11} + return fileDescriptor_15c91f0b8d6bf3d0, []int{10} } func (m *GetAuthnDescriptorRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -704,7 +649,7 @@ func (m *GetAuthnDescriptorResponse) Reset() { *m = GetAuthnDescriptorRe func (m *GetAuthnDescriptorResponse) String() string { return proto.CompactTextString(m) } func (*GetAuthnDescriptorResponse) ProtoMessage() {} func (*GetAuthnDescriptorResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_15c91f0b8d6bf3d0, []int{12} + return fileDescriptor_15c91f0b8d6bf3d0, []int{11} } func (m *GetAuthnDescriptorResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -748,7 +693,7 @@ func (m *GetChainDescriptorRequest) Reset() { *m = GetChainDescriptorReq func (m *GetChainDescriptorRequest) String() string { return proto.CompactTextString(m) } func (*GetChainDescriptorRequest) ProtoMessage() {} func (*GetChainDescriptorRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_15c91f0b8d6bf3d0, []int{13} + return fileDescriptor_15c91f0b8d6bf3d0, []int{12} } func (m *GetChainDescriptorRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -787,7 +732,7 @@ func (m *GetChainDescriptorResponse) Reset() { *m = GetChainDescriptorRe func (m *GetChainDescriptorResponse) String() string { return proto.CompactTextString(m) } func (*GetChainDescriptorResponse) ProtoMessage() {} func (*GetChainDescriptorResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_15c91f0b8d6bf3d0, []int{14} + return fileDescriptor_15c91f0b8d6bf3d0, []int{13} } func (m *GetChainDescriptorResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -831,7 +776,7 @@ func (m *GetCodecDescriptorRequest) Reset() { *m = GetCodecDescriptorReq func (m *GetCodecDescriptorRequest) String() string { return proto.CompactTextString(m) } func (*GetCodecDescriptorRequest) ProtoMessage() {} func (*GetCodecDescriptorRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_15c91f0b8d6bf3d0, []int{15} + return fileDescriptor_15c91f0b8d6bf3d0, []int{14} } func (m *GetCodecDescriptorRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -870,7 +815,7 @@ func (m *GetCodecDescriptorResponse) Reset() { *m = GetCodecDescriptorRe func (m *GetCodecDescriptorResponse) String() string { return proto.CompactTextString(m) } func (*GetCodecDescriptorResponse) ProtoMessage() {} func (*GetCodecDescriptorResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_15c91f0b8d6bf3d0, []int{16} + return fileDescriptor_15c91f0b8d6bf3d0, []int{15} } func (m *GetCodecDescriptorResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -906,89 +851,6 @@ func (m *GetCodecDescriptorResponse) GetCodec() *CodecDescriptor { return nil } -// GetConfigurationDescriptorRequest is the request used for the GetConfigurationDescriptor RPC -type GetConfigurationDescriptorRequest struct { -} - -func (m *GetConfigurationDescriptorRequest) Reset() { *m = GetConfigurationDescriptorRequest{} } -func (m *GetConfigurationDescriptorRequest) String() string { return proto.CompactTextString(m) } -func (*GetConfigurationDescriptorRequest) ProtoMessage() {} -func (*GetConfigurationDescriptorRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_15c91f0b8d6bf3d0, []int{17} -} -func (m *GetConfigurationDescriptorRequest) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GetConfigurationDescriptorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetConfigurationDescriptorRequest.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *GetConfigurationDescriptorRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetConfigurationDescriptorRequest.Merge(m, src) -} -func (m *GetConfigurationDescriptorRequest) XXX_Size() int { - return m.Size() -} -func (m *GetConfigurationDescriptorRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetConfigurationDescriptorRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetConfigurationDescriptorRequest proto.InternalMessageInfo - -// GetConfigurationDescriptorResponse is the response returned by the GetConfigurationDescriptor RPC -type GetConfigurationDescriptorResponse struct { - // config describes the application's sdk.Config - Config *ConfigurationDescriptor `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` -} - -func (m *GetConfigurationDescriptorResponse) Reset() { *m = GetConfigurationDescriptorResponse{} } -func (m *GetConfigurationDescriptorResponse) String() string { return proto.CompactTextString(m) } -func (*GetConfigurationDescriptorResponse) ProtoMessage() {} -func (*GetConfigurationDescriptorResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_15c91f0b8d6bf3d0, []int{18} -} -func (m *GetConfigurationDescriptorResponse) XXX_Unmarshal(b []byte) error { - return m.Unmarshal(b) -} -func (m *GetConfigurationDescriptorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - if deterministic { - return xxx_messageInfo_GetConfigurationDescriptorResponse.Marshal(b, m, deterministic) - } else { - b = b[:cap(b)] - n, err := m.MarshalToSizedBuffer(b) - if err != nil { - return nil, err - } - return b[:n], nil - } -} -func (m *GetConfigurationDescriptorResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetConfigurationDescriptorResponse.Merge(m, src) -} -func (m *GetConfigurationDescriptorResponse) XXX_Size() int { - return m.Size() -} -func (m *GetConfigurationDescriptorResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetConfigurationDescriptorResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_GetConfigurationDescriptorResponse proto.InternalMessageInfo - -func (m *GetConfigurationDescriptorResponse) GetConfig() *ConfigurationDescriptor { - if m != nil { - return m.Config - } - return nil -} - // GetQueryServicesDescriptorRequest is the request used for the GetQueryServicesDescriptor RPC type GetQueryServicesDescriptorRequest struct { } @@ -997,7 +859,7 @@ func (m *GetQueryServicesDescriptorRequest) Reset() { *m = GetQueryServi func (m *GetQueryServicesDescriptorRequest) String() string { return proto.CompactTextString(m) } func (*GetQueryServicesDescriptorRequest) ProtoMessage() {} func (*GetQueryServicesDescriptorRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_15c91f0b8d6bf3d0, []int{19} + return fileDescriptor_15c91f0b8d6bf3d0, []int{16} } func (m *GetQueryServicesDescriptorRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1036,7 +898,7 @@ func (m *GetQueryServicesDescriptorResponse) Reset() { *m = GetQueryServ func (m *GetQueryServicesDescriptorResponse) String() string { return proto.CompactTextString(m) } func (*GetQueryServicesDescriptorResponse) ProtoMessage() {} func (*GetQueryServicesDescriptorResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_15c91f0b8d6bf3d0, []int{20} + return fileDescriptor_15c91f0b8d6bf3d0, []int{17} } func (m *GetQueryServicesDescriptorResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1080,7 +942,7 @@ func (m *GetTxDescriptorRequest) Reset() { *m = GetTxDescriptorRequest{} func (m *GetTxDescriptorRequest) String() string { return proto.CompactTextString(m) } func (*GetTxDescriptorRequest) ProtoMessage() {} func (*GetTxDescriptorRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_15c91f0b8d6bf3d0, []int{21} + return fileDescriptor_15c91f0b8d6bf3d0, []int{18} } func (m *GetTxDescriptorRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1120,7 +982,7 @@ func (m *GetTxDescriptorResponse) Reset() { *m = GetTxDescriptorResponse func (m *GetTxDescriptorResponse) String() string { return proto.CompactTextString(m) } func (*GetTxDescriptorResponse) ProtoMessage() {} func (*GetTxDescriptorResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_15c91f0b8d6bf3d0, []int{22} + return fileDescriptor_15c91f0b8d6bf3d0, []int{19} } func (m *GetTxDescriptorResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1166,7 +1028,7 @@ func (m *QueryServicesDescriptor) Reset() { *m = QueryServicesDescriptor func (m *QueryServicesDescriptor) String() string { return proto.CompactTextString(m) } func (*QueryServicesDescriptor) ProtoMessage() {} func (*QueryServicesDescriptor) Descriptor() ([]byte, []int) { - return fileDescriptor_15c91f0b8d6bf3d0, []int{23} + return fileDescriptor_15c91f0b8d6bf3d0, []int{20} } func (m *QueryServicesDescriptor) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1216,7 +1078,7 @@ func (m *QueryServiceDescriptor) Reset() { *m = QueryServiceDescriptor{} func (m *QueryServiceDescriptor) String() string { return proto.CompactTextString(m) } func (*QueryServiceDescriptor) ProtoMessage() {} func (*QueryServiceDescriptor) Descriptor() ([]byte, []int) { - return fileDescriptor_15c91f0b8d6bf3d0, []int{24} + return fileDescriptor_15c91f0b8d6bf3d0, []int{21} } func (m *QueryServiceDescriptor) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1281,7 +1143,7 @@ func (m *QueryMethodDescriptor) Reset() { *m = QueryMethodDescriptor{} } func (m *QueryMethodDescriptor) String() string { return proto.CompactTextString(m) } func (*QueryMethodDescriptor) ProtoMessage() {} func (*QueryMethodDescriptor) Descriptor() ([]byte, []int) { - return fileDescriptor_15c91f0b8d6bf3d0, []int{25} + return fileDescriptor_15c91f0b8d6bf3d0, []int{22} } func (m *QueryMethodDescriptor) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1334,7 +1196,6 @@ func init() { proto.RegisterType((*InterfaceDescriptor)(nil), "cosmos.base.reflection.v2alpha1.InterfaceDescriptor") proto.RegisterType((*InterfaceImplementerDescriptor)(nil), "cosmos.base.reflection.v2alpha1.InterfaceImplementerDescriptor") proto.RegisterType((*InterfaceAcceptingMessageDescriptor)(nil), "cosmos.base.reflection.v2alpha1.InterfaceAcceptingMessageDescriptor") - proto.RegisterType((*ConfigurationDescriptor)(nil), "cosmos.base.reflection.v2alpha1.ConfigurationDescriptor") proto.RegisterType((*MsgDescriptor)(nil), "cosmos.base.reflection.v2alpha1.MsgDescriptor") proto.RegisterType((*GetAuthnDescriptorRequest)(nil), "cosmos.base.reflection.v2alpha1.GetAuthnDescriptorRequest") proto.RegisterType((*GetAuthnDescriptorResponse)(nil), "cosmos.base.reflection.v2alpha1.GetAuthnDescriptorResponse") @@ -1342,8 +1203,6 @@ func init() { proto.RegisterType((*GetChainDescriptorResponse)(nil), "cosmos.base.reflection.v2alpha1.GetChainDescriptorResponse") proto.RegisterType((*GetCodecDescriptorRequest)(nil), "cosmos.base.reflection.v2alpha1.GetCodecDescriptorRequest") proto.RegisterType((*GetCodecDescriptorResponse)(nil), "cosmos.base.reflection.v2alpha1.GetCodecDescriptorResponse") - proto.RegisterType((*GetConfigurationDescriptorRequest)(nil), "cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorRequest") - proto.RegisterType((*GetConfigurationDescriptorResponse)(nil), "cosmos.base.reflection.v2alpha1.GetConfigurationDescriptorResponse") proto.RegisterType((*GetQueryServicesDescriptorRequest)(nil), "cosmos.base.reflection.v2alpha1.GetQueryServicesDescriptorRequest") proto.RegisterType((*GetQueryServicesDescriptorResponse)(nil), "cosmos.base.reflection.v2alpha1.GetQueryServicesDescriptorResponse") proto.RegisterType((*GetTxDescriptorRequest)(nil), "cosmos.base.reflection.v2alpha1.GetTxDescriptorRequest") @@ -1358,80 +1217,73 @@ func init() { } var fileDescriptor_15c91f0b8d6bf3d0 = []byte{ - // 1155 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x58, 0xcf, 0x6f, 0x1b, 0x45, - 0x14, 0xce, 0x3a, 0xbf, 0x5f, 0x9b, 0x46, 0x0c, 0x24, 0x71, 0xdd, 0xe2, 0xa6, 0x1b, 0x09, 0xf5, - 0x52, 0xbb, 0x49, 0xa3, 0xb4, 0x82, 0x94, 0xca, 0x69, 0x68, 0x15, 0x89, 0xa0, 0xe0, 0xa4, 0x80, - 0x10, 0xea, 0x6a, 0xbd, 0x3b, 0x5e, 0x8f, 0xf0, 0xee, 0x6c, 0x76, 0xc6, 0xc1, 0xb9, 0x72, 0xe0, - 0x0c, 0xe2, 0x4f, 0xe0, 0xc0, 0x9d, 0xbf, 0x02, 0xc1, 0xa5, 0x12, 0x17, 0x8e, 0x28, 0x41, 0xe2, - 0x00, 0x7f, 0x04, 0x9a, 0x1f, 0x76, 0xc6, 0xce, 0xda, 0xde, 0x24, 0x3d, 0x25, 0xb3, 0xef, 0xbd, - 0x6f, 0xbe, 0xef, 0xed, 0xe8, 0x7d, 0xb3, 0x86, 0x07, 0x1e, 0x65, 0x21, 0x65, 0xe5, 0x9a, 0xcb, - 0x70, 0x39, 0xc1, 0xf5, 0x26, 0xf6, 0x38, 0xa1, 0x51, 0xf9, 0x68, 0xcd, 0x6d, 0xc6, 0x0d, 0x77, - 0xd5, 0x78, 0x56, 0x8a, 0x13, 0xca, 0x29, 0xba, 0xa3, 0x2a, 0x4a, 0xa2, 0xa2, 0x64, 0x44, 0x3b, - 0x15, 0x85, 0xdb, 0x01, 0xa5, 0x41, 0x13, 0x97, 0xdd, 0x98, 0x94, 0xdd, 0x28, 0xa2, 0xdc, 0x15, - 0x71, 0xa6, 0xca, 0xed, 0x7f, 0xc6, 0x61, 0xae, 0x12, 0xc7, 0xdb, 0x98, 0x79, 0x09, 0x89, 0x39, - 0x4d, 0xd0, 0x73, 0x98, 0x74, 0x5b, 0xbc, 0x11, 0xe5, 0xad, 0x65, 0xeb, 0xde, 0xb5, 0xb5, 0x07, - 0xa5, 0x11, 0x1b, 0x94, 0x2a, 0x22, 0xfb, 0x0c, 0xa0, 0xaa, 0xca, 0x05, 0x8e, 0xd7, 0x70, 0x49, - 0x94, 0xcf, 0x65, 0xc4, 0x79, 0x26, 0xb2, 0x4d, 0x1c, 0x59, 0x2e, 0x71, 0xa8, 0x8f, 0xbd, 0xfc, - 0x78, 0x56, 0x1c, 0x91, 0xdd, 0x83, 0x23, 0x1e, 0xa0, 0x57, 0x30, 0xe7, 0xd1, 0xa8, 0x4e, 0x82, - 0x56, 0x22, 0x3b, 0x90, 0x9f, 0x90, 0x78, 0x8f, 0x33, 0xe0, 0x19, 0x55, 0x06, 0x6e, 0x2f, 0x1c, - 0x72, 0xe0, 0xc6, 0x61, 0x0b, 0x27, 0xc7, 0x0e, 0xc3, 0xc9, 0x11, 0xf1, 0x30, 0xcb, 0x4f, 0x66, - 0xdc, 0xe0, 0x53, 0x51, 0xb6, 0xaf, 0xab, 0xcc, 0x0d, 0x0e, 0xcd, 0x00, 0x7a, 0x02, 0x39, 0xde, - 0xce, 0x4f, 0x49, 0xd0, 0xfb, 0x23, 0x41, 0x0f, 0xda, 0x06, 0x52, 0x8e, 0xb7, 0xed, 0x08, 0xae, - 0x9b, 0xcf, 0x50, 0x01, 0x66, 0xea, 0xad, 0x66, 0x33, 0x72, 0x43, 0x2c, 0x5f, 0xf5, 0x6c, 0xb5, - 0xbb, 0x46, 0x5b, 0x30, 0x11, 0xb2, 0x80, 0xe5, 0x73, 0xcb, 0xe3, 0xf7, 0xae, 0xad, 0x95, 0x46, - 0x6e, 0xb6, 0xcb, 0x02, 0x63, 0x37, 0x59, 0x6b, 0x37, 0x60, 0xbe, 0xef, 0x64, 0xa0, 0x97, 0x00, - 0x8c, 0x04, 0x91, 0x13, 0x52, 0x1f, 0xb3, 0xbc, 0x25, 0xc1, 0x37, 0x46, 0x82, 0xef, 0x93, 0x20, - 0x22, 0x51, 0xb0, 0x4b, 0x7d, 0x6c, 0x6c, 0x32, 0x2b, 0x90, 0xc4, 0x33, 0x66, 0xff, 0x60, 0xc1, - 0x42, 0x6a, 0x12, 0x42, 0x30, 0x61, 0xe8, 0x93, 0xff, 0xa3, 0x45, 0x98, 0x8a, 0x5a, 0x61, 0x0d, - 0x27, 0xf2, 0x60, 0x4e, 0x56, 0xf5, 0x0a, 0x7d, 0x0c, 0x2b, 0xf2, 0xe0, 0x3a, 0x24, 0xaa, 0x53, - 0x27, 0x4e, 0xe8, 0x11, 0xf1, 0x71, 0xe2, 0x84, 0x98, 0x37, 0xa8, 0xef, 0x74, 0x5b, 0x35, 0x2e, - 0xa1, 0xee, 0xc8, 0xd4, 0x9d, 0xa8, 0x4e, 0xf7, 0x74, 0xe2, 0xae, 0xcc, 0x7b, 0xae, 0xd3, 0xec, - 0xbb, 0x30, 0xdf, 0x77, 0x9e, 0xd1, 0x0d, 0xc8, 0x11, 0x5f, 0x53, 0xc9, 0x11, 0xdf, 0x0e, 0x60, - 0xbe, 0xef, 0xa8, 0xa2, 0x03, 0x00, 0x12, 0x71, 0x9c, 0xd4, 0x5d, 0xaf, 0xdb, 0xa0, 0xf5, 0x91, - 0x0d, 0xda, 0xe9, 0x94, 0x18, 0xed, 0x31, 0x70, 0xec, 0x5f, 0x72, 0xf0, 0x76, 0x4a, 0xce, 0xd0, - 0x13, 0xf0, 0x9d, 0x05, 0xb7, 0xbb, 0x10, 0x8e, 0xeb, 0x79, 0x38, 0xe6, 0x24, 0x0a, 0x9c, 0x10, - 0x33, 0xe6, 0x06, 0xb8, 0x73, 0x34, 0xb6, 0xb3, 0x93, 0xab, 0x74, 0x30, 0x76, 0x15, 0x84, 0x41, - 0xb6, 0x40, 0x06, 0x25, 0x31, 0x74, 0x04, 0x8b, 0x67, 0x3c, 0x48, 0x18, 0x37, 0x71, 0x88, 0xc5, - 0x9a, 0xe5, 0xc7, 0x25, 0x83, 0xa7, 0xd9, 0x19, 0xec, 0x9c, 0x55, 0x1b, 0x9b, 0x2f, 0x90, 0x94, - 0x38, 0xb3, 0x3f, 0x87, 0xe2, 0xf0, 0xc2, 0xa1, 0xed, 0xbb, 0x09, 0x33, 0xfc, 0x38, 0xc6, 0x4e, - 0x2b, 0x69, 0xca, 0x63, 0x36, 0x5b, 0x9d, 0x16, 0xeb, 0x97, 0x49, 0xd3, 0xfe, 0x06, 0x56, 0x32, - 0xf4, 0x64, 0x28, 0xfa, 0x3a, 0x2c, 0xd6, 0x09, 0x6e, 0xfa, 0x8e, 0xdf, 0xcd, 0x77, 0x44, 0x40, - 0xbd, 0x95, 0xd9, 0xea, 0x3b, 0x32, 0x7a, 0x06, 0xf6, 0x89, 0x88, 0xd9, 0x5f, 0xc1, 0xd2, 0x80, - 0x51, 0x86, 0x2a, 0xf0, 0x6e, 0x0d, 0x7b, 0x8d, 0x87, 0x6b, 0xe2, 0x4d, 0xd3, 0x56, 0xc4, 0x1d, - 0xd7, 0xf7, 0x13, 0xcc, 0x98, 0x13, 0x27, 0xb8, 0x4e, 0xda, 0x9a, 0x41, 0x41, 0x25, 0x55, 0x54, - 0x4e, 0x45, 0xa5, 0xec, 0xc9, 0x0c, 0x7b, 0x15, 0xe6, 0x7a, 0xa6, 0x00, 0x5a, 0x86, 0xeb, 0x21, - 0x0b, 0x9c, 0x6e, 0x1b, 0x14, 0x04, 0x84, 0x2c, 0x38, 0xd0, 0x9d, 0xb8, 0x05, 0x37, 0x5f, 0x60, - 0xde, 0x6f, 0x1f, 0xf8, 0xb0, 0x85, 0x19, 0xb7, 0x7d, 0x28, 0xa4, 0x05, 0x59, 0x4c, 0x23, 0x86, - 0xdf, 0x94, 0x49, 0x69, 0x0a, 0xfd, 0xce, 0xd3, 0x43, 0xe1, 0x5c, 0xf0, 0x8c, 0x82, 0xf2, 0x37, - 0xeb, 0x4a, 0xfe, 0xd6, 0xa1, 0xd0, 0x67, 0x5a, 0xbd, 0x14, 0xfa, 0x83, 0x06, 0x05, 0x69, 0x8d, - 0xd6, 0x95, 0xac, 0xd1, 0x5e, 0x81, 0xbb, 0x72, 0x97, 0x74, 0x9f, 0xd3, 0x54, 0x8e, 0xc0, 0x1e, - 0x96, 0xa4, 0x29, 0xed, 0xc1, 0x94, 0xb2, 0x45, 0xcd, 0xe9, 0xf2, 0xf6, 0xaa, 0x71, 0x34, 0xb9, - 0x41, 0x1e, 0xa9, 0xc9, 0xb5, 0x25, 0xb9, 0x81, 0x49, 0x9a, 0x5c, 0x15, 0xa6, 0x85, 0xa5, 0x12, - 0x39, 0x5b, 0xaf, 0xe6, 0xcd, 0x1d, 0x20, 0x3b, 0x0f, 0x8b, 0x2f, 0x30, 0xef, 0x71, 0x5b, 0xcd, - 0xe9, 0x0b, 0x58, 0x3a, 0x17, 0xd1, 0x44, 0x94, 0x95, 0x5b, 0x97, 0xb5, 0xf2, 0x63, 0x58, 0x1a, - 0xc0, 0x0b, 0xbd, 0x3a, 0x77, 0x0b, 0x51, 0x2e, 0xf2, 0xe8, 0x42, 0x4a, 0x07, 0x5e, 0x42, 0xec, - 0x9f, 0x2c, 0x58, 0x4c, 0xcf, 0x1c, 0x3a, 0xb1, 0x6e, 0xc1, 0x2c, 0x61, 0xc2, 0xf7, 0x5b, 0x4d, - 0x2c, 0x07, 0xe2, 0x4c, 0x75, 0x86, 0xb0, 0x5d, 0xb9, 0x46, 0x7b, 0x30, 0xad, 0x5c, 0xb6, 0x33, - 0xd3, 0x37, 0xb2, 0x91, 0x55, 0x96, 0x6b, 0xbe, 0x14, 0x0d, 0x63, 0xef, 0xc3, 0x42, 0x6a, 0x46, - 0xea, 0x85, 0xe0, 0x3d, 0x98, 0x17, 0x3c, 0x1d, 0xd5, 0xb7, 0xd8, 0xe5, 0x0d, 0x3d, 0xb2, 0xe7, - 0xc4, 0x63, 0x89, 0xb3, 0xe7, 0xf2, 0xc6, 0xda, 0xcf, 0x00, 0x6f, 0x55, 0xbb, 0x5c, 0xb4, 0x7e, - 0xf4, 0xbb, 0x05, 0xe8, 0xfc, 0xa0, 0x42, 0xef, 0x8f, 0x94, 0x30, 0x70, 0xf4, 0x15, 0x3e, 0xb8, - 0x54, 0xad, 0x3a, 0x5a, 0xf6, 0xe6, 0xb7, 0x7f, 0xfc, 0xfd, 0x63, 0x6e, 0x03, 0xad, 0x97, 0x07, - 0x7d, 0x4a, 0xac, 0xd6, 0x30, 0x77, 0x57, 0xcb, 0x6e, 0x1c, 0x1b, 0xfe, 0x51, 0x56, 0x97, 0x76, - 0xad, 0xa6, 0xff, 0xea, 0x92, 0x49, 0x4d, 0xfa, 0x14, 0xcd, 0xa6, 0x66, 0xc0, 0x90, 0xbd, 0xb4, - 0x1a, 0xf5, 0xe9, 0xd0, 0x51, 0xd3, 0x77, 0xcb, 0xca, 0xa6, 0x26, 0x75, 0x20, 0x67, 0x54, 0x93, - 0x3e, 0xaf, 0x2f, 0xaf, 0x46, 0x7e, 0xc0, 0xfc, 0x6b, 0x69, 0x33, 0x48, 0xf7, 0xf0, 0xad, 0x6c, - 0xcc, 0x86, 0xcd, 0xf8, 0xc2, 0xb3, 0x2b, 0x61, 0x68, 0x95, 0xdb, 0x52, 0xe5, 0x87, 0x68, 0xf3, - 0xc2, 0x2a, 0xcd, 0xcf, 0xa9, 0xff, 0x94, 0xda, 0x41, 0x73, 0x2e, 0x93, 0xda, 0xe1, 0xa6, 0x91, - 0x4d, 0xed, 0x08, 0x4f, 0xb1, 0x3f, 0x92, 0x6a, 0x9f, 0xa2, 0x27, 0x17, 0x54, 0xdb, 0x3b, 0xa5, - 0xd1, 0x6f, 0x16, 0xcc, 0xf7, 0xb9, 0x05, 0x7a, 0x94, 0x85, 0x5f, 0x8a, 0xf3, 0x14, 0x1e, 0x5f, - 0xbc, 0xf0, 0x8a, 0xef, 0x8e, 0xb7, 0x8d, 0xd5, 0xd6, 0x67, 0xbf, 0x9e, 0x14, 0xad, 0xd7, 0x27, - 0x45, 0xeb, 0xaf, 0x93, 0xa2, 0xf5, 0xfd, 0x69, 0x71, 0xec, 0xf5, 0x69, 0x71, 0xec, 0xcf, 0xd3, - 0xe2, 0xd8, 0x97, 0x9b, 0x01, 0xe1, 0x8d, 0x56, 0xad, 0xe4, 0xd1, 0xb0, 0xb3, 0x83, 0xfa, 0x73, - 0x9f, 0xf9, 0x5f, 0x97, 0x45, 0x37, 0x70, 0x52, 0x0e, 0x92, 0xd8, 0x4b, 0xfb, 0xf1, 0xa3, 0x36, - 0x25, 0x7f, 0xb3, 0x78, 0xf8, 0x7f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xf3, 0xdb, 0xec, 0xac, 0x26, - 0x11, 0x00, 0x00, + // 1053 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x57, 0x4f, 0x6f, 0x1b, 0x45, + 0x14, 0xcf, 0x3a, 0xff, 0xec, 0xd7, 0xa6, 0x86, 0x81, 0xb8, 0xae, 0x5b, 0xb9, 0xe9, 0x46, 0x42, + 0xbd, 0xd4, 0xdb, 0x84, 0x28, 0xad, 0x20, 0xa5, 0x4a, 0x1a, 0x1a, 0x05, 0x61, 0x14, 0x9c, 0x14, + 0x10, 0x07, 0x56, 0xeb, 0xdd, 0xf1, 0x7a, 0xc4, 0xfe, 0xcb, 0xce, 0x38, 0x38, 0x57, 0x0e, 0xdc, + 0x90, 0x40, 0x7c, 0x04, 0xbe, 0x01, 0x37, 0xbe, 0x01, 0x82, 0x4b, 0x25, 0x2e, 0x1c, 0x51, 0xc2, + 0x91, 0x0f, 0x81, 0x66, 0x76, 0xd7, 0x1e, 0x6f, 0xd6, 0xf6, 0x26, 0xe1, 0x94, 0xcc, 0xbe, 0xf7, + 0x7e, 0xf3, 0xfb, 0xcd, 0xbe, 0xfd, 0xbd, 0x31, 0x3c, 0x36, 0x7d, 0xea, 0xfa, 0x54, 0x6b, 0x1b, + 0x14, 0x6b, 0x21, 0xee, 0x38, 0xd8, 0x64, 0xc4, 0xf7, 0xb4, 0x93, 0x75, 0xc3, 0x09, 0xba, 0xc6, + 0x9a, 0xf4, 0xac, 0x11, 0x84, 0x3e, 0xf3, 0xd1, 0xfd, 0xa8, 0xa2, 0xc1, 0x2b, 0x1a, 0x52, 0x34, + 0xa9, 0xa8, 0xdd, 0xb3, 0x7d, 0xdf, 0x76, 0xb0, 0x66, 0x04, 0x44, 0x33, 0x3c, 0xcf, 0x67, 0x06, + 0x8f, 0xd3, 0xa8, 0x5c, 0xfd, 0x7e, 0x16, 0x96, 0xb6, 0x83, 0x60, 0x17, 0x53, 0x33, 0x24, 0x01, + 0xf3, 0x43, 0xf4, 0x12, 0xe6, 0x8d, 0x1e, 0xeb, 0x7a, 0x55, 0x65, 0x45, 0x79, 0x78, 0x63, 0xfd, + 0x71, 0x63, 0xca, 0x06, 0x8d, 0x6d, 0x9e, 0x3d, 0x04, 0x68, 0x45, 0xe5, 0x1c, 0xc7, 0xec, 0x1a, + 0xc4, 0xab, 0x16, 0x72, 0xe2, 0xbc, 0xe0, 0xd9, 0x32, 0x8e, 0x28, 0x17, 0x38, 0xbe, 0x85, 0xcd, + 0xea, 0x6c, 0x5e, 0x1c, 0x9e, 0x3d, 0x82, 0xc3, 0x1f, 0x20, 0x1d, 0x6e, 0x1d, 0xf7, 0x70, 0x78, + 0xaa, 0x53, 0x1c, 0x9e, 0x10, 0x13, 0xd3, 0xea, 0xbc, 0x00, 0x7c, 0x3a, 0x15, 0xf0, 0x53, 0x5e, + 0x76, 0x18, 0x57, 0x49, 0xc0, 0x4b, 0xc7, 0x72, 0x00, 0x3d, 0x83, 0x02, 0xeb, 0x57, 0x17, 0x04, + 0xe8, 0xa3, 0xa9, 0xa0, 0x47, 0x7d, 0x09, 0xa9, 0xc0, 0xfa, 0x1f, 0xcd, 0x15, 0xe7, 0xde, 0x98, + 0x57, 0x3d, 0xb8, 0x29, 0x47, 0x50, 0x0d, 0x8a, 0x9d, 0x9e, 0xe3, 0x78, 0x86, 0x8b, 0xc5, 0x0b, + 0x29, 0xb5, 0x06, 0x6b, 0xb4, 0x03, 0x73, 0x2e, 0xb5, 0x69, 0xb5, 0xb0, 0x32, 0xfb, 0xf0, 0xc6, + 0x7a, 0x63, 0xea, 0x96, 0x4d, 0x6a, 0x4b, 0x7b, 0x8a, 0x5a, 0xb5, 0x0b, 0xe5, 0xd4, 0xfb, 0x43, + 0xaf, 0x00, 0x28, 0xb1, 0x3d, 0xdd, 0xf5, 0x2d, 0x4c, 0xab, 0x8a, 0x00, 0xdf, 0x9c, 0x0a, 0x7e, + 0x48, 0x6c, 0x8f, 0x78, 0x76, 0xd3, 0xb7, 0xb0, 0xb4, 0x49, 0x89, 0x23, 0xf1, 0x67, 0x54, 0xfd, + 0x51, 0x81, 0xe5, 0xcc, 0x24, 0x84, 0x60, 0x4e, 0xd2, 0x27, 0xfe, 0x47, 0x15, 0x58, 0xf0, 0x7a, + 0x6e, 0x1b, 0x87, 0xa2, 0x7d, 0xe6, 0x5b, 0xf1, 0x0a, 0x7d, 0x0c, 0xab, 0xa2, 0xbd, 0x74, 0xe2, + 0x75, 0x7c, 0x3d, 0x08, 0xfd, 0x13, 0x62, 0xe1, 0x50, 0x77, 0x31, 0xeb, 0xfa, 0x96, 0x3e, 0x38, + 0xaa, 0x59, 0x01, 0x75, 0x5f, 0xa4, 0xee, 0x7b, 0x1d, 0xff, 0x20, 0x4e, 0x6c, 0x8a, 0xbc, 0x97, + 0x71, 0x9a, 0xfa, 0x00, 0xca, 0xa9, 0xae, 0x43, 0xb7, 0xa0, 0x40, 0xac, 0x98, 0x4a, 0x81, 0x58, + 0xaa, 0x0d, 0xe5, 0x54, 0x43, 0xa1, 0x23, 0x00, 0xe2, 0x31, 0x1c, 0x76, 0x0c, 0x73, 0x70, 0x40, + 0x1b, 0x53, 0x0f, 0x68, 0x3f, 0x29, 0x91, 0x8e, 0x47, 0xc2, 0x51, 0x7f, 0x29, 0xc0, 0x5b, 0x19, + 0x39, 0x13, 0x3b, 0xe0, 0x3b, 0x05, 0xee, 0x0d, 0x20, 0x74, 0xc3, 0x34, 0x71, 0xc0, 0x88, 0x67, + 0xeb, 0x2e, 0xa6, 0xd4, 0xb0, 0x71, 0xd2, 0x1a, 0xbb, 0xf9, 0xc9, 0x6d, 0x27, 0x18, 0xcd, 0x08, + 0x42, 0x22, 0x5b, 0x23, 0xe3, 0x92, 0x28, 0x3a, 0x81, 0xca, 0x90, 0x07, 0x71, 0x03, 0x07, 0xbb, + 0x98, 0xaf, 0x69, 0x75, 0x56, 0x30, 0x78, 0x9e, 0x9f, 0xc1, 0xfe, 0xb0, 0x5a, 0xda, 0x7c, 0x99, + 0x64, 0xc4, 0xa9, 0xfa, 0x39, 0xd4, 0x27, 0x17, 0x4e, 0x3c, 0xbe, 0x3b, 0x50, 0x64, 0xa7, 0x01, + 0xd6, 0x7b, 0xa1, 0x23, 0xda, 0xac, 0xd4, 0x5a, 0xe4, 0xeb, 0x57, 0xa1, 0xa3, 0x7e, 0x03, 0xab, + 0x39, 0xce, 0x64, 0x22, 0xfa, 0x06, 0x54, 0x3a, 0x04, 0x3b, 0x96, 0x6e, 0x0d, 0xf2, 0x75, 0x1e, + 0x88, 0xde, 0x4a, 0xa9, 0xf5, 0xb6, 0x88, 0x0e, 0xc1, 0x3e, 0xe1, 0x31, 0x75, 0x0d, 0x96, 0x46, + 0xbe, 0x53, 0xb4, 0x02, 0x37, 0x5d, 0x6a, 0xeb, 0x03, 0xa2, 0xd1, 0x36, 0xe0, 0x52, 0xfb, 0x28, + 0xe6, 0x7a, 0x17, 0xee, 0xec, 0x61, 0x96, 0xb6, 0x61, 0x7c, 0xdc, 0xc3, 0x94, 0xa9, 0x16, 0xd4, + 0xb2, 0x82, 0x34, 0xf0, 0x3d, 0x8a, 0xff, 0x2f, 0xb3, 0x8f, 0x29, 0xa4, 0x1d, 0x7c, 0x84, 0xc2, + 0x85, 0xe0, 0x90, 0x42, 0x34, 0x27, 0x94, 0x6b, 0xcd, 0x89, 0x84, 0x42, 0xca, 0xfc, 0x47, 0x29, + 0xa4, 0x83, 0x12, 0x05, 0x31, 0x62, 0x94, 0x6b, 0x8d, 0x18, 0x75, 0x15, 0x1e, 0xec, 0x61, 0x36, + 0x6e, 0x5c, 0xc4, 0x54, 0xfa, 0xa0, 0x4e, 0x4a, 0x8a, 0x29, 0xb5, 0x60, 0x91, 0x4f, 0x17, 0x22, + 0x0c, 0xe6, 0x7a, 0x63, 0x2a, 0x01, 0x52, 0xab, 0x50, 0xd9, 0xc3, 0x6c, 0x64, 0xf0, 0xc4, 0x9c, + 0xbe, 0x80, 0xdb, 0x17, 0x22, 0x31, 0x91, 0x68, 0xaa, 0x29, 0x57, 0x9c, 0x6a, 0xea, 0x29, 0xdc, + 0x1e, 0xc3, 0x0b, 0x7d, 0x75, 0x61, 0x20, 0x47, 0x56, 0xfa, 0xe4, 0x52, 0x4a, 0xc7, 0xce, 0x63, + 0xf5, 0x67, 0x05, 0x2a, 0xd9, 0x99, 0x13, 0x3f, 0xdb, 0xbb, 0x50, 0x22, 0x94, 0x0f, 0xbf, 0x9e, + 0x83, 0x85, 0x2b, 0x14, 0x5b, 0x45, 0x42, 0x9b, 0x62, 0x8d, 0x0e, 0x60, 0x31, 0x1a, 0x35, 0x89, + 0xb1, 0x6d, 0xe6, 0x23, 0x1b, 0xcd, 0x1d, 0xf9, 0xa5, 0xc4, 0x30, 0xea, 0x21, 0x2c, 0x67, 0x66, + 0x64, 0x4e, 0xc5, 0x77, 0xa0, 0xcc, 0x79, 0xea, 0xd1, 0xb9, 0x05, 0x06, 0xeb, 0xc6, 0xbe, 0xb5, + 0xc4, 0x1f, 0x0b, 0x9c, 0x03, 0x83, 0x75, 0xd7, 0x7f, 0x2d, 0xc2, 0x9b, 0xad, 0x01, 0x97, 0x58, + 0x3f, 0xfa, 0x43, 0x01, 0x74, 0xd1, 0x0b, 0xd0, 0x7b, 0x53, 0x25, 0x8c, 0x75, 0x97, 0xda, 0xfb, + 0x57, 0xaa, 0x8d, 0x5a, 0x4b, 0xdd, 0xfa, 0xf6, 0xcf, 0x7f, 0x7e, 0x2a, 0x6c, 0xa2, 0x0d, 0x6d, + 0xdc, 0xad, 0x77, 0xad, 0x8d, 0x99, 0xb1, 0xa6, 0x19, 0x41, 0x20, 0x99, 0xa8, 0x16, 0xdd, 0x2f, + 0x63, 0x35, 0xe9, 0xf9, 0x9d, 0x4b, 0x4d, 0xb6, 0x51, 0xe5, 0x53, 0x33, 0xc6, 0xc7, 0xae, 0xac, + 0x26, 0xba, 0xe5, 0x26, 0x6a, 0x52, 0x57, 0x8d, 0x7c, 0x6a, 0x32, 0x3d, 0x2f, 0xa7, 0x9a, 0x6c, + 0x4b, 0xbc, 0xba, 0x1a, 0x71, 0xd7, 0xfe, 0x57, 0x11, 0x7e, 0x3b, 0xee, 0xcb, 0xdf, 0xc9, 0xc3, + 0x6c, 0xb2, 0x8d, 0xd6, 0x5e, 0x5c, 0x0b, 0x23, 0x56, 0xf9, 0xa1, 0x50, 0xf9, 0x1c, 0x3d, 0xbb, + 0xa4, 0xca, 0x51, 0xdf, 0x42, 0xbf, 0x2b, 0x50, 0x4e, 0xf9, 0x27, 0x7a, 0x92, 0x87, 0x5f, 0x86, + 0x17, 0xd7, 0x9e, 0x5e, 0xbe, 0x30, 0x56, 0xb3, 0x2b, 0xd4, 0x7c, 0x80, 0xb6, 0x2e, 0xa9, 0x86, + 0xf5, 0xa5, 0xd5, 0xce, 0x67, 0xbf, 0x9d, 0xd5, 0x95, 0xd7, 0x67, 0x75, 0xe5, 0xef, 0xb3, 0xba, + 0xf2, 0xc3, 0x79, 0x7d, 0xe6, 0xf5, 0x79, 0x7d, 0xe6, 0xaf, 0xf3, 0xfa, 0xcc, 0x97, 0x5b, 0x36, + 0x61, 0xdd, 0x5e, 0xbb, 0x61, 0xfa, 0x6e, 0xb2, 0x43, 0xf4, 0xe7, 0x11, 0xb5, 0xbe, 0xd6, 0xf8, + 0x69, 0xe0, 0x50, 0xb3, 0xc3, 0xc0, 0xcc, 0xfa, 0xe5, 0xda, 0x5e, 0x10, 0x3f, 0x38, 0xdf, 0xfd, + 0x2f, 0x00, 0x00, 0xff, 0xff, 0x21, 0x8d, 0xad, 0x5a, 0xe3, 0x0e, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1454,8 +1306,6 @@ type ReflectionServiceClient interface { GetChainDescriptor(ctx context.Context, in *GetChainDescriptorRequest, opts ...grpc.CallOption) (*GetChainDescriptorResponse, error) // GetCodecDescriptor returns the descriptor of the codec of the application GetCodecDescriptor(ctx context.Context, in *GetCodecDescriptorRequest, opts ...grpc.CallOption) (*GetCodecDescriptorResponse, error) - // GetConfigurationDescriptor returns the descriptor for the sdk.Config of the application - GetConfigurationDescriptor(ctx context.Context, in *GetConfigurationDescriptorRequest, opts ...grpc.CallOption) (*GetConfigurationDescriptorResponse, error) // GetQueryServicesDescriptor returns the available gRPC queryable services of the application GetQueryServicesDescriptor(ctx context.Context, in *GetQueryServicesDescriptorRequest, opts ...grpc.CallOption) (*GetQueryServicesDescriptorResponse, error) // GetTxDescriptor returns information on the used transaction object and available msgs that can be used @@ -1497,15 +1347,6 @@ func (c *reflectionServiceClient) GetCodecDescriptor(ctx context.Context, in *Ge return out, nil } -func (c *reflectionServiceClient) GetConfigurationDescriptor(ctx context.Context, in *GetConfigurationDescriptorRequest, opts ...grpc.CallOption) (*GetConfigurationDescriptorResponse, error) { - out := new(GetConfigurationDescriptorResponse) - err := c.cc.Invoke(ctx, "/cosmos.base.reflection.v2alpha1.ReflectionService/GetConfigurationDescriptor", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - func (c *reflectionServiceClient) GetQueryServicesDescriptor(ctx context.Context, in *GetQueryServicesDescriptorRequest, opts ...grpc.CallOption) (*GetQueryServicesDescriptorResponse, error) { out := new(GetQueryServicesDescriptorResponse) err := c.cc.Invoke(ctx, "/cosmos.base.reflection.v2alpha1.ReflectionService/GetQueryServicesDescriptor", in, out, opts...) @@ -1534,8 +1375,6 @@ type ReflectionServiceServer interface { GetChainDescriptor(context.Context, *GetChainDescriptorRequest) (*GetChainDescriptorResponse, error) // GetCodecDescriptor returns the descriptor of the codec of the application GetCodecDescriptor(context.Context, *GetCodecDescriptorRequest) (*GetCodecDescriptorResponse, error) - // GetConfigurationDescriptor returns the descriptor for the sdk.Config of the application - GetConfigurationDescriptor(context.Context, *GetConfigurationDescriptorRequest) (*GetConfigurationDescriptorResponse, error) // GetQueryServicesDescriptor returns the available gRPC queryable services of the application GetQueryServicesDescriptor(context.Context, *GetQueryServicesDescriptorRequest) (*GetQueryServicesDescriptorResponse, error) // GetTxDescriptor returns information on the used transaction object and available msgs that can be used @@ -1555,9 +1394,6 @@ func (*UnimplementedReflectionServiceServer) GetChainDescriptor(ctx context.Cont func (*UnimplementedReflectionServiceServer) GetCodecDescriptor(ctx context.Context, req *GetCodecDescriptorRequest) (*GetCodecDescriptorResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetCodecDescriptor not implemented") } -func (*UnimplementedReflectionServiceServer) GetConfigurationDescriptor(ctx context.Context, req *GetConfigurationDescriptorRequest) (*GetConfigurationDescriptorResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetConfigurationDescriptor not implemented") -} func (*UnimplementedReflectionServiceServer) GetQueryServicesDescriptor(ctx context.Context, req *GetQueryServicesDescriptorRequest) (*GetQueryServicesDescriptorResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetQueryServicesDescriptor not implemented") } @@ -1623,24 +1459,6 @@ func _ReflectionService_GetCodecDescriptor_Handler(srv interface{}, ctx context. return interceptor(ctx, in, info, handler) } -func _ReflectionService_GetConfigurationDescriptor_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetConfigurationDescriptorRequest) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ReflectionServiceServer).GetConfigurationDescriptor(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/cosmos.base.reflection.v2alpha1.ReflectionService/GetConfigurationDescriptor", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ReflectionServiceServer).GetConfigurationDescriptor(ctx, req.(*GetConfigurationDescriptorRequest)) - } - return interceptor(ctx, in, info, handler) -} - func _ReflectionService_GetQueryServicesDescriptor_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(GetQueryServicesDescriptorRequest) if err := dec(in); err != nil { @@ -1693,10 +1511,6 @@ var _ReflectionService_serviceDesc = grpc.ServiceDesc{ MethodName: "GetCodecDescriptor", Handler: _ReflectionService_GetCodecDescriptor_Handler, }, - { - MethodName: "GetConfigurationDescriptor", - Handler: _ReflectionService_GetConfigurationDescriptor_Handler, - }, { MethodName: "GetQueryServicesDescriptor", Handler: _ReflectionService_GetQueryServicesDescriptor_Handler, @@ -1754,18 +1568,6 @@ func (m *AppDescriptor) MarshalToSizedBuffer(dAtA []byte) (int, error) { i-- dAtA[i] = 0x2a } - if m.Configuration != nil { - { - size, err := m.Configuration.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintReflection(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x22 - } if m.Codec != nil { { size, err := m.Codec.MarshalToSizedBuffer(dAtA[:i]) @@ -2129,36 +1931,6 @@ func (m *InterfaceAcceptingMessageDescriptor) MarshalToSizedBuffer(dAtA []byte) return len(dAtA) - i, nil } -func (m *ConfigurationDescriptor) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *ConfigurationDescriptor) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *ConfigurationDescriptor) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Bech32AccountAddressPrefix) > 0 { - i -= len(m.Bech32AccountAddressPrefix) - copy(dAtA[i:], m.Bech32AccountAddressPrefix) - i = encodeVarintReflection(dAtA, i, uint64(len(m.Bech32AccountAddressPrefix))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - func (m *MsgDescriptor) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -2363,64 +2135,6 @@ func (m *GetCodecDescriptorResponse) MarshalToSizedBuffer(dAtA []byte) (int, err return len(dAtA) - i, nil } -func (m *GetConfigurationDescriptorRequest) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetConfigurationDescriptorRequest) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetConfigurationDescriptorRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil -} - -func (m *GetConfigurationDescriptorResponse) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil -} - -func (m *GetConfigurationDescriptorResponse) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *GetConfigurationDescriptorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Config != nil { - { - size, err := m.Config.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintReflection(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil -} - func (m *GetQueryServicesDescriptorRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -2694,10 +2408,6 @@ func (m *AppDescriptor) Size() (n int) { l = m.Codec.Size() n += 1 + l + sovReflection(uint64(l)) } - if m.Configuration != nil { - l = m.Configuration.Size() - n += 1 + l + sovReflection(uint64(l)) - } if m.QueryServices != nil { l = m.QueryServices.Size() n += 1 + l + sovReflection(uint64(l)) @@ -2852,19 +2562,6 @@ func (m *InterfaceAcceptingMessageDescriptor) Size() (n int) { return n } -func (m *ConfigurationDescriptor) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Bech32AccountAddressPrefix) - if l > 0 { - n += 1 + l + sovReflection(uint64(l)) - } - return n -} - func (m *MsgDescriptor) Size() (n int) { if m == nil { return 0 @@ -2944,28 +2641,6 @@ func (m *GetCodecDescriptorResponse) Size() (n int) { return n } -func (m *GetConfigurationDescriptorRequest) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n -} - -func (m *GetConfigurationDescriptorResponse) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Config != nil { - l = m.Config.Size() - n += 1 + l + sovReflection(uint64(l)) - } - return n -} - func (m *GetQueryServicesDescriptorRequest) Size() (n int) { if m == nil { return 0 @@ -3207,42 +2882,6 @@ func (m *AppDescriptor) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Configuration", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowReflection - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthReflection - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthReflection - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Configuration == nil { - m.Configuration = &ConfigurationDescriptor{} - } - if err := m.Configuration.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex case 5: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field QueryServices", wireType) @@ -4213,88 +3852,6 @@ func (m *InterfaceAcceptingMessageDescriptor) Unmarshal(dAtA []byte) error { } return nil } -func (m *ConfigurationDescriptor) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowReflection - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: ConfigurationDescriptor: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ConfigurationDescriptor: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Bech32AccountAddressPrefix", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowReflection - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthReflection - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthReflection - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Bech32AccountAddressPrefix = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipReflection(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthReflection - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} func (m *MsgDescriptor) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -4785,142 +4342,6 @@ func (m *GetCodecDescriptorResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetConfigurationDescriptorRequest) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowReflection - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetConfigurationDescriptorRequest: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetConfigurationDescriptorRequest: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipReflection(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthReflection - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *GetConfigurationDescriptorResponse) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowReflection - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: GetConfigurationDescriptorResponse: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: GetConfigurationDescriptorResponse: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Config", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowReflection - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthReflection - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthReflection - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Config == nil { - m.Config = &ConfigurationDescriptor{} - } - if err := m.Config.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipReflection(dAtA[iNdEx:]) - if err != nil { - return err - } - if (skippy < 0) || (iNdEx+skippy) < 0 { - return ErrInvalidLengthReflection - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} func (m *GetQueryServicesDescriptorRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 diff --git a/server/grpc/reflection/v2alpha1/reflection.pb.gw.go b/server/grpc/reflection/v2alpha1/reflection.pb.gw.go index d53b4fdaeb8c0..50868c79deaf7 100644 --- a/server/grpc/reflection/v2alpha1/reflection.pb.gw.go +++ b/server/grpc/reflection/v2alpha1/reflection.pb.gw.go @@ -87,24 +87,6 @@ func local_request_ReflectionService_GetCodecDescriptor_0(ctx context.Context, m } -func request_ReflectionService_GetConfigurationDescriptor_0(ctx context.Context, marshaler runtime.Marshaler, client ReflectionServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq GetConfigurationDescriptorRequest - var metadata runtime.ServerMetadata - - msg, err := client.GetConfigurationDescriptor(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) - return msg, metadata, err - -} - -func local_request_ReflectionService_GetConfigurationDescriptor_0(ctx context.Context, marshaler runtime.Marshaler, server ReflectionServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { - var protoReq GetConfigurationDescriptorRequest - var metadata runtime.ServerMetadata - - msg, err := server.GetConfigurationDescriptor(ctx, &protoReq) - return msg, metadata, err - -} - func request_ReflectionService_GetQueryServicesDescriptor_0(ctx context.Context, marshaler runtime.Marshaler, client ReflectionServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq GetQueryServicesDescriptorRequest var metadata runtime.ServerMetadata @@ -216,29 +198,6 @@ func RegisterReflectionServiceHandlerServer(ctx context.Context, mux *runtime.Se }) - mux.Handle("GET", pattern_ReflectionService_GetConfigurationDescriptor_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - var stream runtime.ServerTransportStream - ctx = grpc.NewContextWithServerTransportStream(ctx, &stream) - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := local_request_ReflectionService_GetConfigurationDescriptor_0(rctx, inboundMarshaler, server, req, pathParams) - md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer()) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_ReflectionService_GetConfigurationDescriptor_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - mux.Handle("GET", pattern_ReflectionService_GetQueryServicesDescriptor_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -386,26 +345,6 @@ func RegisterReflectionServiceHandlerClient(ctx context.Context, mux *runtime.Se }) - mux.Handle("GET", pattern_ReflectionService_GetConfigurationDescriptor_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { - ctx, cancel := context.WithCancel(req.Context()) - defer cancel() - inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req) - rctx, err := runtime.AnnotateContext(ctx, mux, req) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - resp, md, err := request_ReflectionService_GetConfigurationDescriptor_0(rctx, inboundMarshaler, client, req, pathParams) - ctx = runtime.NewServerMetadataContext(ctx, md) - if err != nil { - runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err) - return - } - - forward_ReflectionService_GetConfigurationDescriptor_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...) - - }) - mux.Handle("GET", pattern_ReflectionService_GetQueryServicesDescriptor_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) { ctx, cancel := context.WithCancel(req.Context()) defer cancel() @@ -456,8 +395,6 @@ var ( pattern_ReflectionService_GetCodecDescriptor_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4, 2, 5}, []string{"cosmos", "base", "reflection", "v1beta1", "app_descriptor", "codec"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_ReflectionService_GetConfigurationDescriptor_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4, 2, 5}, []string{"cosmos", "base", "reflection", "v1beta1", "app_descriptor", "configuration"}, "", runtime.AssumeColonVerbOpt(false))) - pattern_ReflectionService_GetQueryServicesDescriptor_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4, 2, 5}, []string{"cosmos", "base", "reflection", "v1beta1", "app_descriptor", "query_services"}, "", runtime.AssumeColonVerbOpt(false))) pattern_ReflectionService_GetTxDescriptor_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4, 2, 5}, []string{"cosmos", "base", "reflection", "v1beta1", "app_descriptor", "tx_descriptor"}, "", runtime.AssumeColonVerbOpt(false))) @@ -470,8 +407,6 @@ var ( forward_ReflectionService_GetCodecDescriptor_0 = runtime.ForwardResponseMessage - forward_ReflectionService_GetConfigurationDescriptor_0 = runtime.ForwardResponseMessage - forward_ReflectionService_GetQueryServicesDescriptor_0 = runtime.ForwardResponseMessage forward_ReflectionService_GetTxDescriptor_0 = runtime.ForwardResponseMessage diff --git a/tools/hubl/internal/load.go b/tools/hubl/internal/load.go index 3750d6a951642..eea3f62b0717e 100644 --- a/tools/hubl/internal/load.go +++ b/tools/hubl/internal/load.go @@ -17,8 +17,8 @@ import ( "google.golang.org/protobuf/reflect/protoregistry" "google.golang.org/protobuf/types/descriptorpb" + authv1betav1 "cosmossdk.io/api/cosmos/auth/v1beta1" autocliv1 "cosmossdk.io/api/cosmos/autocli/v1" - reflectionv2alpha1 "cosmossdk.io/api/cosmos/base/reflection/v2alpha1" reflectionv1 "cosmossdk.io/api/cosmos/reflection/v1" "cosmossdk.io/tools/hubl/internal/config" ) @@ -188,15 +188,15 @@ func (c *ChainInfo) OpenClient() (*grpc.ClientConn, error) { // getAddressPrefix returns the address prefix of the chain. func getAddressPrefix(ctx context.Context, conn grpc.ClientConnInterface) (string, error) { - reflectionClient := reflectionv2alpha1.NewReflectionServiceClient(conn) - resp, err := reflectionClient.GetConfigurationDescriptor(ctx, &reflectionv2alpha1.GetConfigurationDescriptorRequest{}) + authClient := authv1betav1.NewQueryClient(conn) + resp, err := authClient.Bech32Prefix(ctx, &authv1betav1.Bech32PrefixRequest{}) if err != nil { return "", err } - if resp == nil || resp.Config == nil || resp.Config.Bech32AccountAddressPrefix == "" { + if resp == nil || resp.Bech32Prefix == "" { return "", cockroachdberrors.New("bech32 account address prefix is not set") } - return resp.Config.Bech32AccountAddressPrefix, nil + return resp.Bech32Prefix, nil } diff --git a/x/tx/internal/testpb/signers.proto b/x/tx/internal/testpb/signers.proto index eb55fff9ac14f..63eb38cba43b0 100644 --- a/x/tx/internal/testpb/signers.proto +++ b/x/tx/internal/testpb/signers.proto @@ -72,11 +72,11 @@ message DeeplyNestedSigner { message DeeplyNestedRepeatedSigner { option (cosmos.msg.v1.signer) = "inner"; - repeated Inner inner = 1; + repeated Inner inner = 1; message Inner { option (cosmos.msg.v1.signer) = "inner"; - repeated Inner inner = 1; + repeated Inner inner = 1; message Inner { option (cosmos.msg.v1.signer) = "inner"; @@ -90,7 +90,6 @@ message DeeplyNestedRepeatedSigner { } } - message BadSigner { option (cosmos.msg.v1.signer) = "signer"; bytes signer = 1;