From da32e603ad3ca737505be5d79126c8348934acac Mon Sep 17 00:00:00 2001 From: satawatnack Date: Mon, 6 Jan 2025 13:00:09 +0700 Subject: [PATCH] update activate msg --- api/band/bandtss/v1beta1/genesis.pulsar.go | 2 +- api/band/oracle/v1/oracle.pulsar.go | 2 +- api/band/tss/v1beta1/genesis.pulsar.go | 2 +- api/band/tunnel/v1beta1/tx.pulsar.go | 930 +++++++++++---------- api/band/tunnel/v1beta1/tx_grpc.pb.go | 68 +- proto/band/tunnel/v1beta1/tx.proto | 26 +- x/bandtss/types/genesis.pb.go | 2 +- x/oracle/types/oracle.pb.go | 2 +- x/tss/types/genesis.pb.go | 2 +- x/tunnel/client/cli/tx.go | 16 +- x/tunnel/keeper/msg_server.go | 20 +- x/tunnel/keeper/msg_server_test.go | 48 +- x/tunnel/types/codec.go | 8 +- x/tunnel/types/msgs.go | 24 +- x/tunnel/types/msgs_test.go | 12 +- x/tunnel/types/tx.pb.go | 396 ++++----- 16 files changed, 782 insertions(+), 778 deletions(-) diff --git a/api/band/bandtss/v1beta1/genesis.pulsar.go b/api/band/bandtss/v1beta1/genesis.pulsar.go index a2dfbccc4..c1c7c6261 100644 --- a/api/band/bandtss/v1beta1/genesis.pulsar.go +++ b/api/band/bandtss/v1beta1/genesis.pulsar.go @@ -1465,7 +1465,7 @@ type GenesisState struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // params defines all the paramiters of the module. + // params defines all the parameters of the module. Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"` // members is an array containing members information. Members []*Member `protobuf:"bytes,2,rep,name=members,proto3" json:"members,omitempty"` diff --git a/api/band/oracle/v1/oracle.pulsar.go b/api/band/oracle/v1/oracle.pulsar.go index 6ae09d305..9b4da0e04 100644 --- a/api/band/oracle/v1/oracle.pulsar.go +++ b/api/band/oracle/v1/oracle.pulsar.go @@ -12608,7 +12608,7 @@ const ( ResolveStatus_RESOLVE_STATUS_OPEN_UNSPECIFIED ResolveStatus = 0 // Success - the request has been resolved successfully with no errors. ResolveStatus_RESOLVE_STATUS_SUCCESS ResolveStatus = 1 - // Failure - an error occured during the request's resolve call. + // Failure - an error occurred during the request's resolve call. ResolveStatus_RESOLVE_STATUS_FAILURE ResolveStatus = 2 // Expired - the request does not get enough reports from validator within the // timeframe. diff --git a/api/band/tss/v1beta1/genesis.pulsar.go b/api/band/tss/v1beta1/genesis.pulsar.go index 210cde366..ca404c241 100644 --- a/api/band/tss/v1beta1/genesis.pulsar.go +++ b/api/band/tss/v1beta1/genesis.pulsar.go @@ -2073,7 +2073,7 @@ type GenesisState struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // params defines all the paramiters of the module. + // params defines all the parameters of the module. Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"` // groups is an array containing information about each group. Groups []*Group `protobuf:"bytes,2,rep,name=groups,proto3" json:"groups,omitempty"` diff --git a/api/band/tunnel/v1beta1/tx.pulsar.go b/api/band/tunnel/v1beta1/tx.pulsar.go index 470badaba..3f39d9d47 100644 --- a/api/band/tunnel/v1beta1/tx.pulsar.go +++ b/api/band/tunnel/v1beta1/tx.pulsar.go @@ -4121,27 +4121,27 @@ func (x *fastReflection_MsgWithdrawFeePayerFundsResponse) ProtoMethods() *protoi } var ( - md_MsgActivate protoreflect.MessageDescriptor - fd_MsgActivate_tunnel_id protoreflect.FieldDescriptor - fd_MsgActivate_creator protoreflect.FieldDescriptor + md_MsgActivateTunnel protoreflect.MessageDescriptor + fd_MsgActivateTunnel_tunnel_id protoreflect.FieldDescriptor + fd_MsgActivateTunnel_creator protoreflect.FieldDescriptor ) func init() { file_band_tunnel_v1beta1_tx_proto_init() - md_MsgActivate = File_band_tunnel_v1beta1_tx_proto.Messages().ByName("MsgActivate") - fd_MsgActivate_tunnel_id = md_MsgActivate.Fields().ByName("tunnel_id") - fd_MsgActivate_creator = md_MsgActivate.Fields().ByName("creator") + md_MsgActivateTunnel = File_band_tunnel_v1beta1_tx_proto.Messages().ByName("MsgActivateTunnel") + fd_MsgActivateTunnel_tunnel_id = md_MsgActivateTunnel.Fields().ByName("tunnel_id") + fd_MsgActivateTunnel_creator = md_MsgActivateTunnel.Fields().ByName("creator") } -var _ protoreflect.Message = (*fastReflection_MsgActivate)(nil) +var _ protoreflect.Message = (*fastReflection_MsgActivateTunnel)(nil) -type fastReflection_MsgActivate MsgActivate +type fastReflection_MsgActivateTunnel MsgActivateTunnel -func (x *MsgActivate) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgActivate)(x) +func (x *MsgActivateTunnel) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgActivateTunnel)(x) } -func (x *MsgActivate) slowProtoReflect() protoreflect.Message { +func (x *MsgActivateTunnel) slowProtoReflect() protoreflect.Message { mi := &file_band_tunnel_v1beta1_tx_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -4153,43 +4153,43 @@ func (x *MsgActivate) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_MsgActivate_messageType fastReflection_MsgActivate_messageType -var _ protoreflect.MessageType = fastReflection_MsgActivate_messageType{} +var _fastReflection_MsgActivateTunnel_messageType fastReflection_MsgActivateTunnel_messageType +var _ protoreflect.MessageType = fastReflection_MsgActivateTunnel_messageType{} -type fastReflection_MsgActivate_messageType struct{} +type fastReflection_MsgActivateTunnel_messageType struct{} -func (x fastReflection_MsgActivate_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgActivate)(nil) +func (x fastReflection_MsgActivateTunnel_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgActivateTunnel)(nil) } -func (x fastReflection_MsgActivate_messageType) New() protoreflect.Message { - return new(fastReflection_MsgActivate) +func (x fastReflection_MsgActivateTunnel_messageType) New() protoreflect.Message { + return new(fastReflection_MsgActivateTunnel) } -func (x fastReflection_MsgActivate_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgActivate +func (x fastReflection_MsgActivateTunnel_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgActivateTunnel } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgActivate) Descriptor() protoreflect.MessageDescriptor { - return md_MsgActivate +func (x *fastReflection_MsgActivateTunnel) Descriptor() protoreflect.MessageDescriptor { + return md_MsgActivateTunnel } // 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_MsgActivate) Type() protoreflect.MessageType { - return _fastReflection_MsgActivate_messageType +func (x *fastReflection_MsgActivateTunnel) Type() protoreflect.MessageType { + return _fastReflection_MsgActivateTunnel_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgActivate) New() protoreflect.Message { - return new(fastReflection_MsgActivate) +func (x *fastReflection_MsgActivateTunnel) New() protoreflect.Message { + return new(fastReflection_MsgActivateTunnel) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgActivate) Interface() protoreflect.ProtoMessage { - return (*MsgActivate)(x) +func (x *fastReflection_MsgActivateTunnel) Interface() protoreflect.ProtoMessage { + return (*MsgActivateTunnel)(x) } // Range iterates over every populated field in an undefined order, @@ -4197,16 +4197,16 @@ func (x *fastReflection_MsgActivate) 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_MsgActivate) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_MsgActivateTunnel) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { if x.TunnelId != uint64(0) { value := protoreflect.ValueOfUint64(x.TunnelId) - if !f(fd_MsgActivate_tunnel_id, value) { + if !f(fd_MsgActivateTunnel_tunnel_id, value) { return } } if x.Creator != "" { value := protoreflect.ValueOfString(x.Creator) - if !f(fd_MsgActivate_creator, value) { + if !f(fd_MsgActivateTunnel_creator, value) { return } } @@ -4223,17 +4223,17 @@ func (x *fastReflection_MsgActivate) 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_MsgActivate) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgActivateTunnel) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "band.tunnel.v1beta1.MsgActivate.tunnel_id": + case "band.tunnel.v1beta1.MsgActivateTunnel.tunnel_id": return x.TunnelId != uint64(0) - case "band.tunnel.v1beta1.MsgActivate.creator": + case "band.tunnel.v1beta1.MsgActivateTunnel.creator": return x.Creator != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: band.tunnel.v1beta1.MsgActivate")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: band.tunnel.v1beta1.MsgActivateTunnel")) } - panic(fmt.Errorf("message band.tunnel.v1beta1.MsgActivate does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message band.tunnel.v1beta1.MsgActivateTunnel does not contain field %s", fd.FullName())) } } @@ -4243,17 +4243,17 @@ func (x *fastReflection_MsgActivate) Has(fd protoreflect.FieldDescriptor) bool { // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgActivate) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgActivateTunnel) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "band.tunnel.v1beta1.MsgActivate.tunnel_id": + case "band.tunnel.v1beta1.MsgActivateTunnel.tunnel_id": x.TunnelId = uint64(0) - case "band.tunnel.v1beta1.MsgActivate.creator": + case "band.tunnel.v1beta1.MsgActivateTunnel.creator": x.Creator = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: band.tunnel.v1beta1.MsgActivate")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: band.tunnel.v1beta1.MsgActivateTunnel")) } - panic(fmt.Errorf("message band.tunnel.v1beta1.MsgActivate does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message band.tunnel.v1beta1.MsgActivateTunnel does not contain field %s", fd.FullName())) } } @@ -4263,19 +4263,19 @@ func (x *fastReflection_MsgActivate) 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_MsgActivate) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgActivateTunnel) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "band.tunnel.v1beta1.MsgActivate.tunnel_id": + case "band.tunnel.v1beta1.MsgActivateTunnel.tunnel_id": value := x.TunnelId return protoreflect.ValueOfUint64(value) - case "band.tunnel.v1beta1.MsgActivate.creator": + case "band.tunnel.v1beta1.MsgActivateTunnel.creator": value := x.Creator return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: band.tunnel.v1beta1.MsgActivate")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: band.tunnel.v1beta1.MsgActivateTunnel")) } - panic(fmt.Errorf("message band.tunnel.v1beta1.MsgActivate does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message band.tunnel.v1beta1.MsgActivateTunnel does not contain field %s", descriptor.FullName())) } } @@ -4289,17 +4289,17 @@ func (x *fastReflection_MsgActivate) Get(descriptor protoreflect.FieldDescriptor // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgActivate) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgActivateTunnel) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "band.tunnel.v1beta1.MsgActivate.tunnel_id": + case "band.tunnel.v1beta1.MsgActivateTunnel.tunnel_id": x.TunnelId = value.Uint() - case "band.tunnel.v1beta1.MsgActivate.creator": + case "band.tunnel.v1beta1.MsgActivateTunnel.creator": x.Creator = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: band.tunnel.v1beta1.MsgActivate")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: band.tunnel.v1beta1.MsgActivateTunnel")) } - panic(fmt.Errorf("message band.tunnel.v1beta1.MsgActivate does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message band.tunnel.v1beta1.MsgActivateTunnel does not contain field %s", fd.FullName())) } } @@ -4313,44 +4313,44 @@ func (x *fastReflection_MsgActivate) Set(fd protoreflect.FieldDescriptor, value // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgActivate) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgActivateTunnel) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "band.tunnel.v1beta1.MsgActivate.tunnel_id": - panic(fmt.Errorf("field tunnel_id of message band.tunnel.v1beta1.MsgActivate is not mutable")) - case "band.tunnel.v1beta1.MsgActivate.creator": - panic(fmt.Errorf("field creator of message band.tunnel.v1beta1.MsgActivate is not mutable")) + case "band.tunnel.v1beta1.MsgActivateTunnel.tunnel_id": + panic(fmt.Errorf("field tunnel_id of message band.tunnel.v1beta1.MsgActivateTunnel is not mutable")) + case "band.tunnel.v1beta1.MsgActivateTunnel.creator": + panic(fmt.Errorf("field creator of message band.tunnel.v1beta1.MsgActivateTunnel is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: band.tunnel.v1beta1.MsgActivate")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: band.tunnel.v1beta1.MsgActivateTunnel")) } - panic(fmt.Errorf("message band.tunnel.v1beta1.MsgActivate does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message band.tunnel.v1beta1.MsgActivateTunnel 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_MsgActivate) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgActivateTunnel) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "band.tunnel.v1beta1.MsgActivate.tunnel_id": + case "band.tunnel.v1beta1.MsgActivateTunnel.tunnel_id": return protoreflect.ValueOfUint64(uint64(0)) - case "band.tunnel.v1beta1.MsgActivate.creator": + case "band.tunnel.v1beta1.MsgActivateTunnel.creator": return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: band.tunnel.v1beta1.MsgActivate")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: band.tunnel.v1beta1.MsgActivateTunnel")) } - panic(fmt.Errorf("message band.tunnel.v1beta1.MsgActivate does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message band.tunnel.v1beta1.MsgActivateTunnel 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_MsgActivate) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgActivateTunnel) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in band.tunnel.v1beta1.MsgActivate", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in band.tunnel.v1beta1.MsgActivateTunnel", d.FullName())) } panic("unreachable") } @@ -4358,7 +4358,7 @@ func (x *fastReflection_MsgActivate) 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_MsgActivate) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgActivateTunnel) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -4369,7 +4369,7 @@ func (x *fastReflection_MsgActivate) 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_MsgActivate) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgActivateTunnel) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -4381,7 +4381,7 @@ func (x *fastReflection_MsgActivate) 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_MsgActivate) IsValid() bool { +func (x *fastReflection_MsgActivateTunnel) IsValid() bool { return x != nil } @@ -4391,9 +4391,9 @@ func (x *fastReflection_MsgActivate) 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_MsgActivate) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgActivateTunnel) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgActivate) + x := input.Message.Interface().(*MsgActivateTunnel) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -4422,7 +4422,7 @@ func (x *fastReflection_MsgActivate) ProtoMethods() *protoiface.Methods { } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgActivate) + x := input.Message.Interface().(*MsgActivateTunnel) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -4464,7 +4464,7 @@ func (x *fastReflection_MsgActivate) ProtoMethods() *protoiface.Methods { }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgActivate) + x := input.Message.Interface().(*MsgActivateTunnel) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -4496,10 +4496,10 @@ func (x *fastReflection_MsgActivate) 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: MsgActivate: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgActivateTunnel: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgActivate: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgActivateTunnel: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -4589,23 +4589,23 @@ func (x *fastReflection_MsgActivate) ProtoMethods() *protoiface.Methods { } var ( - md_MsgActivateResponse protoreflect.MessageDescriptor + md_MsgActivateTunnelResponse protoreflect.MessageDescriptor ) func init() { file_band_tunnel_v1beta1_tx_proto_init() - md_MsgActivateResponse = File_band_tunnel_v1beta1_tx_proto.Messages().ByName("MsgActivateResponse") + md_MsgActivateTunnelResponse = File_band_tunnel_v1beta1_tx_proto.Messages().ByName("MsgActivateTunnelResponse") } -var _ protoreflect.Message = (*fastReflection_MsgActivateResponse)(nil) +var _ protoreflect.Message = (*fastReflection_MsgActivateTunnelResponse)(nil) -type fastReflection_MsgActivateResponse MsgActivateResponse +type fastReflection_MsgActivateTunnelResponse MsgActivateTunnelResponse -func (x *MsgActivateResponse) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgActivateResponse)(x) +func (x *MsgActivateTunnelResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgActivateTunnelResponse)(x) } -func (x *MsgActivateResponse) slowProtoReflect() protoreflect.Message { +func (x *MsgActivateTunnelResponse) slowProtoReflect() protoreflect.Message { mi := &file_band_tunnel_v1beta1_tx_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -4617,43 +4617,43 @@ func (x *MsgActivateResponse) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_MsgActivateResponse_messageType fastReflection_MsgActivateResponse_messageType -var _ protoreflect.MessageType = fastReflection_MsgActivateResponse_messageType{} +var _fastReflection_MsgActivateTunnelResponse_messageType fastReflection_MsgActivateTunnelResponse_messageType +var _ protoreflect.MessageType = fastReflection_MsgActivateTunnelResponse_messageType{} -type fastReflection_MsgActivateResponse_messageType struct{} +type fastReflection_MsgActivateTunnelResponse_messageType struct{} -func (x fastReflection_MsgActivateResponse_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgActivateResponse)(nil) +func (x fastReflection_MsgActivateTunnelResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgActivateTunnelResponse)(nil) } -func (x fastReflection_MsgActivateResponse_messageType) New() protoreflect.Message { - return new(fastReflection_MsgActivateResponse) +func (x fastReflection_MsgActivateTunnelResponse_messageType) New() protoreflect.Message { + return new(fastReflection_MsgActivateTunnelResponse) } -func (x fastReflection_MsgActivateResponse_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgActivateResponse +func (x fastReflection_MsgActivateTunnelResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgActivateTunnelResponse } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgActivateResponse) Descriptor() protoreflect.MessageDescriptor { - return md_MsgActivateResponse +func (x *fastReflection_MsgActivateTunnelResponse) Descriptor() protoreflect.MessageDescriptor { + return md_MsgActivateTunnelResponse } // 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_MsgActivateResponse) Type() protoreflect.MessageType { - return _fastReflection_MsgActivateResponse_messageType +func (x *fastReflection_MsgActivateTunnelResponse) Type() protoreflect.MessageType { + return _fastReflection_MsgActivateTunnelResponse_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgActivateResponse) New() protoreflect.Message { - return new(fastReflection_MsgActivateResponse) +func (x *fastReflection_MsgActivateTunnelResponse) New() protoreflect.Message { + return new(fastReflection_MsgActivateTunnelResponse) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgActivateResponse) Interface() protoreflect.ProtoMessage { - return (*MsgActivateResponse)(x) +func (x *fastReflection_MsgActivateTunnelResponse) Interface() protoreflect.ProtoMessage { + return (*MsgActivateTunnelResponse)(x) } // Range iterates over every populated field in an undefined order, @@ -4661,7 +4661,7 @@ func (x *fastReflection_MsgActivateResponse) Interface() protoreflect.ProtoMessa // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_MsgActivateResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_MsgActivateTunnelResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { } // Has reports whether a field is populated. @@ -4675,13 +4675,13 @@ func (x *fastReflection_MsgActivateResponse) Range(f func(protoreflect.FieldDesc // 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_MsgActivateResponse) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgActivateTunnelResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: band.tunnel.v1beta1.MsgActivateResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: band.tunnel.v1beta1.MsgActivateTunnelResponse")) } - panic(fmt.Errorf("message band.tunnel.v1beta1.MsgActivateResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message band.tunnel.v1beta1.MsgActivateTunnelResponse does not contain field %s", fd.FullName())) } } @@ -4691,13 +4691,13 @@ func (x *fastReflection_MsgActivateResponse) Has(fd protoreflect.FieldDescriptor // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgActivateResponse) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgActivateTunnelResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: band.tunnel.v1beta1.MsgActivateResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: band.tunnel.v1beta1.MsgActivateTunnelResponse")) } - panic(fmt.Errorf("message band.tunnel.v1beta1.MsgActivateResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message band.tunnel.v1beta1.MsgActivateTunnelResponse does not contain field %s", fd.FullName())) } } @@ -4707,13 +4707,13 @@ func (x *fastReflection_MsgActivateResponse) Clear(fd protoreflect.FieldDescript // 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_MsgActivateResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgActivateTunnelResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: band.tunnel.v1beta1.MsgActivateResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: band.tunnel.v1beta1.MsgActivateTunnelResponse")) } - panic(fmt.Errorf("message band.tunnel.v1beta1.MsgActivateResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message band.tunnel.v1beta1.MsgActivateTunnelResponse does not contain field %s", descriptor.FullName())) } } @@ -4727,13 +4727,13 @@ func (x *fastReflection_MsgActivateResponse) Get(descriptor protoreflect.FieldDe // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgActivateResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgActivateTunnelResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: band.tunnel.v1beta1.MsgActivateResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: band.tunnel.v1beta1.MsgActivateTunnelResponse")) } - panic(fmt.Errorf("message band.tunnel.v1beta1.MsgActivateResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message band.tunnel.v1beta1.MsgActivateTunnelResponse does not contain field %s", fd.FullName())) } } @@ -4747,36 +4747,36 @@ func (x *fastReflection_MsgActivateResponse) Set(fd protoreflect.FieldDescriptor // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgActivateResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgActivateTunnelResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: band.tunnel.v1beta1.MsgActivateResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: band.tunnel.v1beta1.MsgActivateTunnelResponse")) } - panic(fmt.Errorf("message band.tunnel.v1beta1.MsgActivateResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message band.tunnel.v1beta1.MsgActivateTunnelResponse 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_MsgActivateResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgActivateTunnelResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: band.tunnel.v1beta1.MsgActivateResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: band.tunnel.v1beta1.MsgActivateTunnelResponse")) } - panic(fmt.Errorf("message band.tunnel.v1beta1.MsgActivateResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message band.tunnel.v1beta1.MsgActivateTunnelResponse 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_MsgActivateResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgActivateTunnelResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in band.tunnel.v1beta1.MsgActivateResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in band.tunnel.v1beta1.MsgActivateTunnelResponse", d.FullName())) } panic("unreachable") } @@ -4784,7 +4784,7 @@ func (x *fastReflection_MsgActivateResponse) WhichOneof(d protoreflect.OneofDesc // 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_MsgActivateResponse) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgActivateTunnelResponse) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -4795,7 +4795,7 @@ func (x *fastReflection_MsgActivateResponse) 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_MsgActivateResponse) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgActivateTunnelResponse) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -4807,7 +4807,7 @@ func (x *fastReflection_MsgActivateResponse) SetUnknown(fields protoreflect.RawF // 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_MsgActivateResponse) IsValid() bool { +func (x *fastReflection_MsgActivateTunnelResponse) IsValid() bool { return x != nil } @@ -4817,9 +4817,9 @@ func (x *fastReflection_MsgActivateResponse) 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_MsgActivateResponse) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgActivateTunnelResponse) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgActivateResponse) + x := input.Message.Interface().(*MsgActivateTunnelResponse) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -4841,7 +4841,7 @@ func (x *fastReflection_MsgActivateResponse) ProtoMethods() *protoiface.Methods } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgActivateResponse) + x := input.Message.Interface().(*MsgActivateTunnelResponse) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -4871,7 +4871,7 @@ func (x *fastReflection_MsgActivateResponse) ProtoMethods() *protoiface.Methods }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgActivateResponse) + x := input.Message.Interface().(*MsgActivateTunnelResponse) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -4903,10 +4903,10 @@ func (x *fastReflection_MsgActivateResponse) 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: MsgActivateResponse: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgActivateTunnelResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgActivateResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgActivateTunnelResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -4945,27 +4945,27 @@ func (x *fastReflection_MsgActivateResponse) ProtoMethods() *protoiface.Methods } var ( - md_MsgDeactivate protoreflect.MessageDescriptor - fd_MsgDeactivate_tunnel_id protoreflect.FieldDescriptor - fd_MsgDeactivate_creator protoreflect.FieldDescriptor + md_MsgDeactivateTunnel protoreflect.MessageDescriptor + fd_MsgDeactivateTunnel_tunnel_id protoreflect.FieldDescriptor + fd_MsgDeactivateTunnel_creator protoreflect.FieldDescriptor ) func init() { file_band_tunnel_v1beta1_tx_proto_init() - md_MsgDeactivate = File_band_tunnel_v1beta1_tx_proto.Messages().ByName("MsgDeactivate") - fd_MsgDeactivate_tunnel_id = md_MsgDeactivate.Fields().ByName("tunnel_id") - fd_MsgDeactivate_creator = md_MsgDeactivate.Fields().ByName("creator") + md_MsgDeactivateTunnel = File_band_tunnel_v1beta1_tx_proto.Messages().ByName("MsgDeactivateTunnel") + fd_MsgDeactivateTunnel_tunnel_id = md_MsgDeactivateTunnel.Fields().ByName("tunnel_id") + fd_MsgDeactivateTunnel_creator = md_MsgDeactivateTunnel.Fields().ByName("creator") } -var _ protoreflect.Message = (*fastReflection_MsgDeactivate)(nil) +var _ protoreflect.Message = (*fastReflection_MsgDeactivateTunnel)(nil) -type fastReflection_MsgDeactivate MsgDeactivate +type fastReflection_MsgDeactivateTunnel MsgDeactivateTunnel -func (x *MsgDeactivate) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgDeactivate)(x) +func (x *MsgDeactivateTunnel) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgDeactivateTunnel)(x) } -func (x *MsgDeactivate) slowProtoReflect() protoreflect.Message { +func (x *MsgDeactivateTunnel) slowProtoReflect() protoreflect.Message { mi := &file_band_tunnel_v1beta1_tx_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -4977,43 +4977,43 @@ func (x *MsgDeactivate) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_MsgDeactivate_messageType fastReflection_MsgDeactivate_messageType -var _ protoreflect.MessageType = fastReflection_MsgDeactivate_messageType{} +var _fastReflection_MsgDeactivateTunnel_messageType fastReflection_MsgDeactivateTunnel_messageType +var _ protoreflect.MessageType = fastReflection_MsgDeactivateTunnel_messageType{} -type fastReflection_MsgDeactivate_messageType struct{} +type fastReflection_MsgDeactivateTunnel_messageType struct{} -func (x fastReflection_MsgDeactivate_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgDeactivate)(nil) +func (x fastReflection_MsgDeactivateTunnel_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgDeactivateTunnel)(nil) } -func (x fastReflection_MsgDeactivate_messageType) New() protoreflect.Message { - return new(fastReflection_MsgDeactivate) +func (x fastReflection_MsgDeactivateTunnel_messageType) New() protoreflect.Message { + return new(fastReflection_MsgDeactivateTunnel) } -func (x fastReflection_MsgDeactivate_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgDeactivate +func (x fastReflection_MsgDeactivateTunnel_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgDeactivateTunnel } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgDeactivate) Descriptor() protoreflect.MessageDescriptor { - return md_MsgDeactivate +func (x *fastReflection_MsgDeactivateTunnel) Descriptor() protoreflect.MessageDescriptor { + return md_MsgDeactivateTunnel } // 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_MsgDeactivate) Type() protoreflect.MessageType { - return _fastReflection_MsgDeactivate_messageType +func (x *fastReflection_MsgDeactivateTunnel) Type() protoreflect.MessageType { + return _fastReflection_MsgDeactivateTunnel_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgDeactivate) New() protoreflect.Message { - return new(fastReflection_MsgDeactivate) +func (x *fastReflection_MsgDeactivateTunnel) New() protoreflect.Message { + return new(fastReflection_MsgDeactivateTunnel) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgDeactivate) Interface() protoreflect.ProtoMessage { - return (*MsgDeactivate)(x) +func (x *fastReflection_MsgDeactivateTunnel) Interface() protoreflect.ProtoMessage { + return (*MsgDeactivateTunnel)(x) } // Range iterates over every populated field in an undefined order, @@ -5021,16 +5021,16 @@ func (x *fastReflection_MsgDeactivate) 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_MsgDeactivate) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_MsgDeactivateTunnel) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { if x.TunnelId != uint64(0) { value := protoreflect.ValueOfUint64(x.TunnelId) - if !f(fd_MsgDeactivate_tunnel_id, value) { + if !f(fd_MsgDeactivateTunnel_tunnel_id, value) { return } } if x.Creator != "" { value := protoreflect.ValueOfString(x.Creator) - if !f(fd_MsgDeactivate_creator, value) { + if !f(fd_MsgDeactivateTunnel_creator, value) { return } } @@ -5047,17 +5047,17 @@ func (x *fastReflection_MsgDeactivate) 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_MsgDeactivate) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgDeactivateTunnel) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { - case "band.tunnel.v1beta1.MsgDeactivate.tunnel_id": + case "band.tunnel.v1beta1.MsgDeactivateTunnel.tunnel_id": return x.TunnelId != uint64(0) - case "band.tunnel.v1beta1.MsgDeactivate.creator": + case "band.tunnel.v1beta1.MsgDeactivateTunnel.creator": return x.Creator != "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: band.tunnel.v1beta1.MsgDeactivate")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: band.tunnel.v1beta1.MsgDeactivateTunnel")) } - panic(fmt.Errorf("message band.tunnel.v1beta1.MsgDeactivate does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message band.tunnel.v1beta1.MsgDeactivateTunnel does not contain field %s", fd.FullName())) } } @@ -5067,17 +5067,17 @@ func (x *fastReflection_MsgDeactivate) Has(fd protoreflect.FieldDescriptor) bool // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgDeactivate) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgDeactivateTunnel) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { - case "band.tunnel.v1beta1.MsgDeactivate.tunnel_id": + case "band.tunnel.v1beta1.MsgDeactivateTunnel.tunnel_id": x.TunnelId = uint64(0) - case "band.tunnel.v1beta1.MsgDeactivate.creator": + case "band.tunnel.v1beta1.MsgDeactivateTunnel.creator": x.Creator = "" default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: band.tunnel.v1beta1.MsgDeactivate")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: band.tunnel.v1beta1.MsgDeactivateTunnel")) } - panic(fmt.Errorf("message band.tunnel.v1beta1.MsgDeactivate does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message band.tunnel.v1beta1.MsgDeactivateTunnel does not contain field %s", fd.FullName())) } } @@ -5087,19 +5087,19 @@ func (x *fastReflection_MsgDeactivate) 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_MsgDeactivate) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgDeactivateTunnel) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { - case "band.tunnel.v1beta1.MsgDeactivate.tunnel_id": + case "band.tunnel.v1beta1.MsgDeactivateTunnel.tunnel_id": value := x.TunnelId return protoreflect.ValueOfUint64(value) - case "band.tunnel.v1beta1.MsgDeactivate.creator": + case "band.tunnel.v1beta1.MsgDeactivateTunnel.creator": value := x.Creator return protoreflect.ValueOfString(value) default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: band.tunnel.v1beta1.MsgDeactivate")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: band.tunnel.v1beta1.MsgDeactivateTunnel")) } - panic(fmt.Errorf("message band.tunnel.v1beta1.MsgDeactivate does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message band.tunnel.v1beta1.MsgDeactivateTunnel does not contain field %s", descriptor.FullName())) } } @@ -5113,17 +5113,17 @@ func (x *fastReflection_MsgDeactivate) Get(descriptor protoreflect.FieldDescript // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgDeactivate) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgDeactivateTunnel) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { - case "band.tunnel.v1beta1.MsgDeactivate.tunnel_id": + case "band.tunnel.v1beta1.MsgDeactivateTunnel.tunnel_id": x.TunnelId = value.Uint() - case "band.tunnel.v1beta1.MsgDeactivate.creator": + case "band.tunnel.v1beta1.MsgDeactivateTunnel.creator": x.Creator = value.Interface().(string) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: band.tunnel.v1beta1.MsgDeactivate")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: band.tunnel.v1beta1.MsgDeactivateTunnel")) } - panic(fmt.Errorf("message band.tunnel.v1beta1.MsgDeactivate does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message band.tunnel.v1beta1.MsgDeactivateTunnel does not contain field %s", fd.FullName())) } } @@ -5137,44 +5137,44 @@ func (x *fastReflection_MsgDeactivate) 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_MsgDeactivate) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgDeactivateTunnel) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "band.tunnel.v1beta1.MsgDeactivate.tunnel_id": - panic(fmt.Errorf("field tunnel_id of message band.tunnel.v1beta1.MsgDeactivate is not mutable")) - case "band.tunnel.v1beta1.MsgDeactivate.creator": - panic(fmt.Errorf("field creator of message band.tunnel.v1beta1.MsgDeactivate is not mutable")) + case "band.tunnel.v1beta1.MsgDeactivateTunnel.tunnel_id": + panic(fmt.Errorf("field tunnel_id of message band.tunnel.v1beta1.MsgDeactivateTunnel is not mutable")) + case "band.tunnel.v1beta1.MsgDeactivateTunnel.creator": + panic(fmt.Errorf("field creator of message band.tunnel.v1beta1.MsgDeactivateTunnel is not mutable")) default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: band.tunnel.v1beta1.MsgDeactivate")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: band.tunnel.v1beta1.MsgDeactivateTunnel")) } - panic(fmt.Errorf("message band.tunnel.v1beta1.MsgDeactivate does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message band.tunnel.v1beta1.MsgDeactivateTunnel 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_MsgDeactivate) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgDeactivateTunnel) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { - case "band.tunnel.v1beta1.MsgDeactivate.tunnel_id": + case "band.tunnel.v1beta1.MsgDeactivateTunnel.tunnel_id": return protoreflect.ValueOfUint64(uint64(0)) - case "band.tunnel.v1beta1.MsgDeactivate.creator": + case "band.tunnel.v1beta1.MsgDeactivateTunnel.creator": return protoreflect.ValueOfString("") default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: band.tunnel.v1beta1.MsgDeactivate")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: band.tunnel.v1beta1.MsgDeactivateTunnel")) } - panic(fmt.Errorf("message band.tunnel.v1beta1.MsgDeactivate does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message band.tunnel.v1beta1.MsgDeactivateTunnel 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_MsgDeactivate) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgDeactivateTunnel) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in band.tunnel.v1beta1.MsgDeactivate", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in band.tunnel.v1beta1.MsgDeactivateTunnel", d.FullName())) } panic("unreachable") } @@ -5182,7 +5182,7 @@ func (x *fastReflection_MsgDeactivate) 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_MsgDeactivate) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgDeactivateTunnel) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -5193,7 +5193,7 @@ func (x *fastReflection_MsgDeactivate) 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_MsgDeactivate) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgDeactivateTunnel) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -5205,7 +5205,7 @@ func (x *fastReflection_MsgDeactivate) 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_MsgDeactivate) IsValid() bool { +func (x *fastReflection_MsgDeactivateTunnel) IsValid() bool { return x != nil } @@ -5215,9 +5215,9 @@ func (x *fastReflection_MsgDeactivate) 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_MsgDeactivate) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgDeactivateTunnel) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgDeactivate) + x := input.Message.Interface().(*MsgDeactivateTunnel) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -5246,7 +5246,7 @@ func (x *fastReflection_MsgDeactivate) ProtoMethods() *protoiface.Methods { } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgDeactivate) + x := input.Message.Interface().(*MsgDeactivateTunnel) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -5288,7 +5288,7 @@ func (x *fastReflection_MsgDeactivate) ProtoMethods() *protoiface.Methods { }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgDeactivate) + x := input.Message.Interface().(*MsgDeactivateTunnel) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -5320,10 +5320,10 @@ func (x *fastReflection_MsgDeactivate) 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: MsgDeactivate: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgDeactivateTunnel: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgDeactivate: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgDeactivateTunnel: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -5413,23 +5413,23 @@ func (x *fastReflection_MsgDeactivate) ProtoMethods() *protoiface.Methods { } var ( - md_MsgDeactivateResponse protoreflect.MessageDescriptor + md_MsgDeactivateTunnelResponse protoreflect.MessageDescriptor ) func init() { file_band_tunnel_v1beta1_tx_proto_init() - md_MsgDeactivateResponse = File_band_tunnel_v1beta1_tx_proto.Messages().ByName("MsgDeactivateResponse") + md_MsgDeactivateTunnelResponse = File_band_tunnel_v1beta1_tx_proto.Messages().ByName("MsgDeactivateTunnelResponse") } -var _ protoreflect.Message = (*fastReflection_MsgDeactivateResponse)(nil) +var _ protoreflect.Message = (*fastReflection_MsgDeactivateTunnelResponse)(nil) -type fastReflection_MsgDeactivateResponse MsgDeactivateResponse +type fastReflection_MsgDeactivateTunnelResponse MsgDeactivateTunnelResponse -func (x *MsgDeactivateResponse) ProtoReflect() protoreflect.Message { - return (*fastReflection_MsgDeactivateResponse)(x) +func (x *MsgDeactivateTunnelResponse) ProtoReflect() protoreflect.Message { + return (*fastReflection_MsgDeactivateTunnelResponse)(x) } -func (x *MsgDeactivateResponse) slowProtoReflect() protoreflect.Message { +func (x *MsgDeactivateTunnelResponse) slowProtoReflect() protoreflect.Message { mi := &file_band_tunnel_v1beta1_tx_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -5441,43 +5441,43 @@ func (x *MsgDeactivateResponse) slowProtoReflect() protoreflect.Message { return mi.MessageOf(x) } -var _fastReflection_MsgDeactivateResponse_messageType fastReflection_MsgDeactivateResponse_messageType -var _ protoreflect.MessageType = fastReflection_MsgDeactivateResponse_messageType{} +var _fastReflection_MsgDeactivateTunnelResponse_messageType fastReflection_MsgDeactivateTunnelResponse_messageType +var _ protoreflect.MessageType = fastReflection_MsgDeactivateTunnelResponse_messageType{} -type fastReflection_MsgDeactivateResponse_messageType struct{} +type fastReflection_MsgDeactivateTunnelResponse_messageType struct{} -func (x fastReflection_MsgDeactivateResponse_messageType) Zero() protoreflect.Message { - return (*fastReflection_MsgDeactivateResponse)(nil) +func (x fastReflection_MsgDeactivateTunnelResponse_messageType) Zero() protoreflect.Message { + return (*fastReflection_MsgDeactivateTunnelResponse)(nil) } -func (x fastReflection_MsgDeactivateResponse_messageType) New() protoreflect.Message { - return new(fastReflection_MsgDeactivateResponse) +func (x fastReflection_MsgDeactivateTunnelResponse_messageType) New() protoreflect.Message { + return new(fastReflection_MsgDeactivateTunnelResponse) } -func (x fastReflection_MsgDeactivateResponse_messageType) Descriptor() protoreflect.MessageDescriptor { - return md_MsgDeactivateResponse +func (x fastReflection_MsgDeactivateTunnelResponse_messageType) Descriptor() protoreflect.MessageDescriptor { + return md_MsgDeactivateTunnelResponse } // Descriptor returns message descriptor, which contains only the protobuf // type information for the message. -func (x *fastReflection_MsgDeactivateResponse) Descriptor() protoreflect.MessageDescriptor { - return md_MsgDeactivateResponse +func (x *fastReflection_MsgDeactivateTunnelResponse) Descriptor() protoreflect.MessageDescriptor { + return md_MsgDeactivateTunnelResponse } // 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_MsgDeactivateResponse) Type() protoreflect.MessageType { - return _fastReflection_MsgDeactivateResponse_messageType +func (x *fastReflection_MsgDeactivateTunnelResponse) Type() protoreflect.MessageType { + return _fastReflection_MsgDeactivateTunnelResponse_messageType } // New returns a newly allocated and mutable empty message. -func (x *fastReflection_MsgDeactivateResponse) New() protoreflect.Message { - return new(fastReflection_MsgDeactivateResponse) +func (x *fastReflection_MsgDeactivateTunnelResponse) New() protoreflect.Message { + return new(fastReflection_MsgDeactivateTunnelResponse) } // Interface unwraps the message reflection interface and // returns the underlying ProtoMessage interface. -func (x *fastReflection_MsgDeactivateResponse) Interface() protoreflect.ProtoMessage { - return (*MsgDeactivateResponse)(x) +func (x *fastReflection_MsgDeactivateTunnelResponse) Interface() protoreflect.ProtoMessage { + return (*MsgDeactivateTunnelResponse)(x) } // Range iterates over every populated field in an undefined order, @@ -5485,7 +5485,7 @@ func (x *fastReflection_MsgDeactivateResponse) Interface() protoreflect.ProtoMes // Range returns immediately if f returns false. // While iterating, mutating operations may only be performed // on the current field descriptor. -func (x *fastReflection_MsgDeactivateResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { +func (x *fastReflection_MsgDeactivateTunnelResponse) Range(f func(protoreflect.FieldDescriptor, protoreflect.Value) bool) { } // Has reports whether a field is populated. @@ -5499,13 +5499,13 @@ func (x *fastReflection_MsgDeactivateResponse) Range(f func(protoreflect.FieldDe // 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_MsgDeactivateResponse) Has(fd protoreflect.FieldDescriptor) bool { +func (x *fastReflection_MsgDeactivateTunnelResponse) Has(fd protoreflect.FieldDescriptor) bool { switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: band.tunnel.v1beta1.MsgDeactivateResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: band.tunnel.v1beta1.MsgDeactivateTunnelResponse")) } - panic(fmt.Errorf("message band.tunnel.v1beta1.MsgDeactivateResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message band.tunnel.v1beta1.MsgDeactivateTunnelResponse does not contain field %s", fd.FullName())) } } @@ -5515,13 +5515,13 @@ func (x *fastReflection_MsgDeactivateResponse) Has(fd protoreflect.FieldDescript // associated with the given field number. // // Clear is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgDeactivateResponse) Clear(fd protoreflect.FieldDescriptor) { +func (x *fastReflection_MsgDeactivateTunnelResponse) Clear(fd protoreflect.FieldDescriptor) { switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: band.tunnel.v1beta1.MsgDeactivateResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: band.tunnel.v1beta1.MsgDeactivateTunnelResponse")) } - panic(fmt.Errorf("message band.tunnel.v1beta1.MsgDeactivateResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message band.tunnel.v1beta1.MsgDeactivateTunnelResponse does not contain field %s", fd.FullName())) } } @@ -5531,13 +5531,13 @@ func (x *fastReflection_MsgDeactivateResponse) Clear(fd protoreflect.FieldDescri // 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_MsgDeactivateResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgDeactivateTunnelResponse) Get(descriptor protoreflect.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { default: if descriptor.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: band.tunnel.v1beta1.MsgDeactivateResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: band.tunnel.v1beta1.MsgDeactivateTunnelResponse")) } - panic(fmt.Errorf("message band.tunnel.v1beta1.MsgDeactivateResponse does not contain field %s", descriptor.FullName())) + panic(fmt.Errorf("message band.tunnel.v1beta1.MsgDeactivateTunnelResponse does not contain field %s", descriptor.FullName())) } } @@ -5551,13 +5551,13 @@ func (x *fastReflection_MsgDeactivateResponse) Get(descriptor protoreflect.Field // empty, read-only value, then it panics. // // Set is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgDeactivateResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { +func (x *fastReflection_MsgDeactivateTunnelResponse) Set(fd protoreflect.FieldDescriptor, value protoreflect.Value) { switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: band.tunnel.v1beta1.MsgDeactivateResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: band.tunnel.v1beta1.MsgDeactivateTunnelResponse")) } - panic(fmt.Errorf("message band.tunnel.v1beta1.MsgDeactivateResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message band.tunnel.v1beta1.MsgDeactivateTunnelResponse does not contain field %s", fd.FullName())) } } @@ -5571,36 +5571,36 @@ func (x *fastReflection_MsgDeactivateResponse) Set(fd protoreflect.FieldDescript // It panics if the field does not contain a composite type. // // Mutable is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgDeactivateResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgDeactivateTunnelResponse) Mutable(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: band.tunnel.v1beta1.MsgDeactivateResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: band.tunnel.v1beta1.MsgDeactivateTunnelResponse")) } - panic(fmt.Errorf("message band.tunnel.v1beta1.MsgDeactivateResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message band.tunnel.v1beta1.MsgDeactivateTunnelResponse 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_MsgDeactivateResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { +func (x *fastReflection_MsgDeactivateTunnelResponse) NewField(fd protoreflect.FieldDescriptor) protoreflect.Value { switch fd.FullName() { default: if fd.IsExtension() { - panic(fmt.Errorf("proto3 declared messages do not support extensions: band.tunnel.v1beta1.MsgDeactivateResponse")) + panic(fmt.Errorf("proto3 declared messages do not support extensions: band.tunnel.v1beta1.MsgDeactivateTunnelResponse")) } - panic(fmt.Errorf("message band.tunnel.v1beta1.MsgDeactivateResponse does not contain field %s", fd.FullName())) + panic(fmt.Errorf("message band.tunnel.v1beta1.MsgDeactivateTunnelResponse 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_MsgDeactivateResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { +func (x *fastReflection_MsgDeactivateTunnelResponse) WhichOneof(d protoreflect.OneofDescriptor) protoreflect.FieldDescriptor { switch d.FullName() { default: - panic(fmt.Errorf("%s is not a oneof field in band.tunnel.v1beta1.MsgDeactivateResponse", d.FullName())) + panic(fmt.Errorf("%s is not a oneof field in band.tunnel.v1beta1.MsgDeactivateTunnelResponse", d.FullName())) } panic("unreachable") } @@ -5608,7 +5608,7 @@ func (x *fastReflection_MsgDeactivateResponse) WhichOneof(d protoreflect.OneofDe // 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_MsgDeactivateResponse) GetUnknown() protoreflect.RawFields { +func (x *fastReflection_MsgDeactivateTunnelResponse) GetUnknown() protoreflect.RawFields { return x.unknownFields } @@ -5619,7 +5619,7 @@ func (x *fastReflection_MsgDeactivateResponse) GetUnknown() protoreflect.RawFiel // An empty RawFields may be passed to clear the fields. // // SetUnknown is a mutating operation and unsafe for concurrent use. -func (x *fastReflection_MsgDeactivateResponse) SetUnknown(fields protoreflect.RawFields) { +func (x *fastReflection_MsgDeactivateTunnelResponse) SetUnknown(fields protoreflect.RawFields) { x.unknownFields = fields } @@ -5631,7 +5631,7 @@ func (x *fastReflection_MsgDeactivateResponse) SetUnknown(fields protoreflect.Ra // 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_MsgDeactivateResponse) IsValid() bool { +func (x *fastReflection_MsgDeactivateTunnelResponse) IsValid() bool { return x != nil } @@ -5641,9 +5641,9 @@ func (x *fastReflection_MsgDeactivateResponse) 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_MsgDeactivateResponse) ProtoMethods() *protoiface.Methods { +func (x *fastReflection_MsgDeactivateTunnelResponse) ProtoMethods() *protoiface.Methods { size := func(input protoiface.SizeInput) protoiface.SizeOutput { - x := input.Message.Interface().(*MsgDeactivateResponse) + x := input.Message.Interface().(*MsgDeactivateTunnelResponse) if x == nil { return protoiface.SizeOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -5665,7 +5665,7 @@ func (x *fastReflection_MsgDeactivateResponse) ProtoMethods() *protoiface.Method } marshal := func(input protoiface.MarshalInput) (protoiface.MarshalOutput, error) { - x := input.Message.Interface().(*MsgDeactivateResponse) + x := input.Message.Interface().(*MsgDeactivateTunnelResponse) if x == nil { return protoiface.MarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -5695,7 +5695,7 @@ func (x *fastReflection_MsgDeactivateResponse) ProtoMethods() *protoiface.Method }, nil } unmarshal := func(input protoiface.UnmarshalInput) (protoiface.UnmarshalOutput, error) { - x := input.Message.Interface().(*MsgDeactivateResponse) + x := input.Message.Interface().(*MsgDeactivateTunnelResponse) if x == nil { return protoiface.UnmarshalOutput{ NoUnkeyedLiterals: input.NoUnkeyedLiterals, @@ -5727,10 +5727,10 @@ func (x *fastReflection_MsgDeactivateResponse) ProtoMethods() *protoiface.Method fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgDeactivateResponse: wiretype end group for non-group") + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgDeactivateTunnelResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgDeactivateResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return protoiface.UnmarshalOutput{NoUnkeyedLiterals: input.NoUnkeyedLiterals, Flags: input.Flags}, fmt.Errorf("proto: MsgDeactivateTunnelResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -9748,8 +9748,8 @@ func (*MsgWithdrawFeePayerFundsResponse) Descriptor() ([]byte, []int) { return file_band_tunnel_v1beta1_tx_proto_rawDescGZIP(), []int{7} } -// Activate is the transaction message to activate a tunnel. -type MsgActivate struct { +// ActivateTunnel is the transaction message to activate a tunnel. +type MsgActivateTunnel struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields @@ -9760,8 +9760,8 @@ type MsgActivate struct { Creator string `protobuf:"bytes,2,opt,name=creator,proto3" json:"creator,omitempty"` } -func (x *MsgActivate) Reset() { - *x = MsgActivate{} +func (x *MsgActivateTunnel) Reset() { + *x = MsgActivateTunnel{} if protoimpl.UnsafeEnabled { mi := &file_band_tunnel_v1beta1_tx_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -9769,40 +9769,40 @@ func (x *MsgActivate) Reset() { } } -func (x *MsgActivate) String() string { +func (x *MsgActivateTunnel) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgActivate) ProtoMessage() {} +func (*MsgActivateTunnel) ProtoMessage() {} -// Deprecated: Use MsgActivate.ProtoReflect.Descriptor instead. -func (*MsgActivate) Descriptor() ([]byte, []int) { +// Deprecated: Use MsgActivateTunnel.ProtoReflect.Descriptor instead. +func (*MsgActivateTunnel) Descriptor() ([]byte, []int) { return file_band_tunnel_v1beta1_tx_proto_rawDescGZIP(), []int{8} } -func (x *MsgActivate) GetTunnelId() uint64 { +func (x *MsgActivateTunnel) GetTunnelId() uint64 { if x != nil { return x.TunnelId } return 0 } -func (x *MsgActivate) GetCreator() string { +func (x *MsgActivateTunnel) GetCreator() string { if x != nil { return x.Creator } return "" } -// MsgActivateResponse is the response type for the Msg/Activate RPC method. -type MsgActivateResponse struct { +// MsgActivateTunnelResponse is the response type for the Msg/Activate RPC method. +type MsgActivateTunnelResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } -func (x *MsgActivateResponse) Reset() { - *x = MsgActivateResponse{} +func (x *MsgActivateTunnelResponse) Reset() { + *x = MsgActivateTunnelResponse{} if protoimpl.UnsafeEnabled { mi := &file_band_tunnel_v1beta1_tx_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -9810,19 +9810,19 @@ func (x *MsgActivateResponse) Reset() { } } -func (x *MsgActivateResponse) String() string { +func (x *MsgActivateTunnelResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgActivateResponse) ProtoMessage() {} +func (*MsgActivateTunnelResponse) ProtoMessage() {} -// Deprecated: Use MsgActivateResponse.ProtoReflect.Descriptor instead. -func (*MsgActivateResponse) Descriptor() ([]byte, []int) { +// Deprecated: Use MsgActivateTunnelResponse.ProtoReflect.Descriptor instead. +func (*MsgActivateTunnelResponse) Descriptor() ([]byte, []int) { return file_band_tunnel_v1beta1_tx_proto_rawDescGZIP(), []int{9} } -// MsgDeactivate is the transaction message to deactivate a tunnel. -type MsgDeactivate struct { +// MsgDeactivateTunnel is the transaction message to deactivate a tunnel. +type MsgDeactivateTunnel struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields @@ -9833,8 +9833,8 @@ type MsgDeactivate struct { Creator string `protobuf:"bytes,2,opt,name=creator,proto3" json:"creator,omitempty"` } -func (x *MsgDeactivate) Reset() { - *x = MsgDeactivate{} +func (x *MsgDeactivateTunnel) Reset() { + *x = MsgDeactivateTunnel{} if protoimpl.UnsafeEnabled { mi := &file_band_tunnel_v1beta1_tx_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -9842,25 +9842,25 @@ func (x *MsgDeactivate) Reset() { } } -func (x *MsgDeactivate) String() string { +func (x *MsgDeactivateTunnel) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgDeactivate) ProtoMessage() {} +func (*MsgDeactivateTunnel) ProtoMessage() {} -// Deprecated: Use MsgDeactivate.ProtoReflect.Descriptor instead. -func (*MsgDeactivate) Descriptor() ([]byte, []int) { +// Deprecated: Use MsgDeactivateTunnel.ProtoReflect.Descriptor instead. +func (*MsgDeactivateTunnel) Descriptor() ([]byte, []int) { return file_band_tunnel_v1beta1_tx_proto_rawDescGZIP(), []int{10} } -func (x *MsgDeactivate) GetTunnelId() uint64 { +func (x *MsgDeactivateTunnel) GetTunnelId() uint64 { if x != nil { return x.TunnelId } return 0 } -func (x *MsgDeactivate) GetCreator() string { +func (x *MsgDeactivateTunnel) GetCreator() string { if x != nil { return x.Creator } @@ -9868,14 +9868,14 @@ func (x *MsgDeactivate) GetCreator() string { } // MsgDeactivateTunnelResponse is the response type for the Msg/Deactivate RPC method. -type MsgDeactivateResponse struct { +type MsgDeactivateTunnelResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } -func (x *MsgDeactivateResponse) Reset() { - *x = MsgDeactivateResponse{} +func (x *MsgDeactivateTunnelResponse) Reset() { + *x = MsgDeactivateTunnelResponse{} if protoimpl.UnsafeEnabled { mi := &file_band_tunnel_v1beta1_tx_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) @@ -9883,14 +9883,14 @@ func (x *MsgDeactivateResponse) Reset() { } } -func (x *MsgDeactivateResponse) String() string { +func (x *MsgDeactivateTunnelResponse) String() string { return protoimpl.X.MessageStringOf(x) } -func (*MsgDeactivateResponse) ProtoMessage() {} +func (*MsgDeactivateTunnelResponse) ProtoMessage() {} -// Deprecated: Use MsgDeactivateResponse.ProtoReflect.Descriptor instead. -func (*MsgDeactivateResponse) Descriptor() ([]byte, []int) { +// Deprecated: Use MsgDeactivateTunnelResponse.ProtoReflect.Descriptor instead. +func (*MsgDeactivateTunnelResponse) Descriptor() ([]byte, []int) { return file_band_tunnel_v1beta1_tx_proto_rawDescGZIP(), []int{11} } @@ -10309,174 +10309,178 @@ var file_band_tunnel_v1beta1_tx_proto_rawDesc = []byte{ 0x68, 0x64, 0x72, 0x61, 0x77, 0x46, 0x65, 0x65, 0x50, 0x61, 0x79, 0x65, 0x72, 0x46, 0x75, 0x6e, 0x64, 0x73, 0x22, 0x22, 0x0a, 0x20, 0x4d, 0x73, 0x67, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x46, 0x65, 0x65, 0x50, 0x61, 0x79, 0x65, 0x72, 0x46, 0x75, 0x6e, 0x64, 0x73, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x91, 0x01, 0x0a, 0x0b, 0x4d, 0x73, 0x67, 0x41, 0x63, - 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x12, 0x29, 0x0a, 0x09, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, - 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x0c, 0xe2, 0xde, 0x1f, 0x08, 0x54, - 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x44, 0x52, 0x08, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x49, - 0x64, 0x12, 0x32, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x42, 0x18, 0xd2, 0xb4, 0x2d, 0x14, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x41, - 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x07, 0x63, 0x72, - 0x65, 0x61, 0x74, 0x6f, 0x72, 0x3a, 0x23, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, - 0x74, 0x6f, 0x72, 0x8a, 0xe7, 0xb0, 0x2a, 0x12, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2f, 0x4d, - 0x73, 0x67, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x22, 0x15, 0x0a, 0x13, 0x4d, 0x73, - 0x67, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x95, 0x01, 0x0a, 0x0d, 0x4d, 0x73, 0x67, 0x44, 0x65, 0x61, 0x63, 0x74, 0x69, 0x76, - 0x61, 0x74, 0x65, 0x12, 0x29, 0x0a, 0x09, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x5f, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x0c, 0xe2, 0xde, 0x1f, 0x08, 0x54, 0x75, 0x6e, 0x6e, - 0x65, 0x6c, 0x49, 0x44, 0x52, 0x08, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x64, 0x12, 0x32, - 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, - 0x18, 0xd2, 0xb4, 0x2d, 0x14, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x72, - 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, - 0x6f, 0x72, 0x3a, 0x25, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, - 0x8a, 0xe7, 0xb0, 0x2a, 0x14, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2f, 0x4d, 0x73, 0x67, 0x44, - 0x65, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x22, 0x17, 0x0a, 0x15, 0x4d, 0x73, 0x67, - 0x44, 0x65, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x22, 0x9b, 0x01, 0x0a, 0x10, 0x4d, 0x73, 0x67, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, - 0x72, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x29, 0x0a, 0x09, 0x74, 0x75, 0x6e, 0x6e, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x9d, 0x01, 0x0a, 0x11, 0x4d, 0x73, 0x67, 0x41, 0x63, + 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x29, 0x0a, 0x09, + 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, + 0x0c, 0xe2, 0xde, 0x1f, 0x08, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x44, 0x52, 0x08, 0x74, + 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x64, 0x12, 0x32, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, + 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x18, 0xd2, 0xb4, 0x2d, 0x14, 0x63, 0x6f, + 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, 0x69, + 0x6e, 0x67, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x3a, 0x29, 0x82, 0xe7, 0xb0, + 0x2a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x8a, 0xe7, 0xb0, 0x2a, 0x18, 0x74, 0x75, + 0x6e, 0x6e, 0x65, 0x6c, 0x2f, 0x4d, 0x73, 0x67, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, + 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x22, 0x1b, 0x0a, 0x19, 0x4d, 0x73, 0x67, 0x41, 0x63, 0x74, + 0x69, 0x76, 0x61, 0x74, 0x65, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0xa1, 0x01, 0x0a, 0x13, 0x4d, 0x73, 0x67, 0x44, 0x65, 0x61, 0x63, 0x74, + 0x69, 0x76, 0x61, 0x74, 0x65, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x29, 0x0a, 0x09, 0x74, + 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x0c, + 0xe2, 0xde, 0x1f, 0x08, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x44, 0x52, 0x08, 0x74, 0x75, + 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x64, 0x12, 0x32, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, + 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x18, 0xd2, 0xb4, 0x2d, 0x14, 0x63, 0x6f, 0x73, + 0x6d, 0x6f, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, + 0x67, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x3a, 0x2b, 0x82, 0xe7, 0xb0, 0x2a, + 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x8a, 0xe7, 0xb0, 0x2a, 0x1a, 0x74, 0x75, 0x6e, + 0x6e, 0x65, 0x6c, 0x2f, 0x4d, 0x73, 0x67, 0x44, 0x65, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, + 0x65, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x22, 0x1d, 0x0a, 0x1b, 0x4d, 0x73, 0x67, 0x44, 0x65, + 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x9b, 0x01, 0x0a, 0x10, 0x4d, 0x73, 0x67, 0x54, 0x72, + 0x69, 0x67, 0x67, 0x65, 0x72, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x29, 0x0a, 0x09, 0x74, + 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x0c, + 0xe2, 0xde, 0x1f, 0x08, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x44, 0x52, 0x08, 0x74, 0x75, + 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x64, 0x12, 0x32, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, + 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x18, 0xd2, 0xb4, 0x2d, 0x14, 0x63, 0x6f, 0x73, + 0x6d, 0x6f, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, + 0x67, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x3a, 0x28, 0x82, 0xe7, 0xb0, 0x2a, + 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x8a, 0xe7, 0xb0, 0x2a, 0x17, 0x74, 0x75, 0x6e, + 0x6e, 0x65, 0x6c, 0x2f, 0x4d, 0x73, 0x67, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x54, 0x75, + 0x6e, 0x6e, 0x65, 0x6c, 0x22, 0x1a, 0x0a, 0x18, 0x4d, 0x73, 0x67, 0x54, 0x72, 0x69, 0x67, 0x67, + 0x65, 0x72, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x8f, 0x02, 0x0a, 0x12, 0x4d, 0x73, 0x67, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x54, + 0x6f, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x29, 0x0a, 0x09, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x0c, 0xe2, 0xde, 0x1f, 0x08, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x44, 0x52, 0x08, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, - 0x49, 0x64, 0x12, 0x32, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x42, 0x18, 0xd2, 0xb4, 0x2d, 0x14, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, - 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x07, 0x63, - 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x3a, 0x28, 0x82, 0xe7, 0xb0, 0x2a, 0x07, 0x63, 0x72, 0x65, - 0x61, 0x74, 0x6f, 0x72, 0x8a, 0xe7, 0xb0, 0x2a, 0x17, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2f, - 0x4d, 0x73, 0x67, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, - 0x22, 0x1a, 0x0a, 0x18, 0x4d, 0x73, 0x67, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x54, 0x75, - 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x8f, 0x02, 0x0a, - 0x12, 0x4d, 0x73, 0x67, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x54, 0x6f, 0x54, 0x75, 0x6e, - 0x6e, 0x65, 0x6c, 0x12, 0x29, 0x0a, 0x09, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x5f, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x0c, 0xe2, 0xde, 0x1f, 0x08, 0x54, 0x75, 0x6e, 0x6e, - 0x65, 0x6c, 0x49, 0x44, 0x52, 0x08, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x64, 0x12, 0x68, - 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, - 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x62, - 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x69, 0x6e, 0x42, 0x35, 0xc8, 0xde, 0x1f, 0x00, 0xaa, - 0xdf, 0x1f, 0x28, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, - 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2d, 0x73, 0x64, 0x6b, 0x2f, - 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x43, 0x6f, 0x69, 0x6e, 0x73, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, - 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x36, 0x0a, 0x09, 0x64, 0x65, 0x70, 0x6f, - 0x73, 0x69, 0x74, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x18, 0xd2, 0xb4, 0x2d, - 0x14, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, - 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x09, 0x64, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x3a, 0x2c, 0x82, 0xe7, 0xb0, 0x2a, 0x09, 0x64, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, - 0x8a, 0xe7, 0xb0, 0x2a, 0x19, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2f, 0x4d, 0x73, 0x67, 0x44, - 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x54, 0x6f, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x22, 0x1c, - 0x0a, 0x1a, 0x4d, 0x73, 0x67, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x54, 0x6f, 0x54, 0x75, - 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x98, 0x02, 0x0a, - 0x15, 0x4d, 0x73, 0x67, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x46, 0x72, 0x6f, 0x6d, - 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x29, 0x0a, 0x09, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, - 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x0c, 0xe2, 0xde, 0x1f, 0x08, 0x54, - 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x44, 0x52, 0x08, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x49, - 0x64, 0x12, 0x68, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, - 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x69, 0x6e, 0x42, 0x35, 0xc8, 0xde, - 0x1f, 0x00, 0xaa, 0xdf, 0x1f, 0x28, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, - 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2d, 0x73, - 0x64, 0x6b, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x43, 0x6f, 0x69, 0x6e, 0x73, 0xa8, 0xe7, - 0xb0, 0x2a, 0x01, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x38, 0x0a, 0x0a, 0x77, - 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, - 0x18, 0xd2, 0xb4, 0x2d, 0x14, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x72, - 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x0a, 0x77, 0x69, 0x74, 0x68, 0x64, - 0x72, 0x61, 0x77, 0x65, 0x72, 0x3a, 0x30, 0x82, 0xe7, 0xb0, 0x2a, 0x0a, 0x77, 0x69, 0x74, 0x68, - 0x64, 0x72, 0x61, 0x77, 0x65, 0x72, 0x8a, 0xe7, 0xb0, 0x2a, 0x1c, 0x74, 0x75, 0x6e, 0x6e, 0x65, - 0x6c, 0x2f, 0x4d, 0x73, 0x67, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x46, 0x72, 0x6f, - 0x6d, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x22, 0x1f, 0x0a, 0x1d, 0x4d, 0x73, 0x67, 0x57, 0x69, - 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x46, 0x72, 0x6f, 0x6d, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xaf, 0x01, 0x0a, 0x0f, 0x4d, 0x73, 0x67, - 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x36, 0x0a, 0x09, - 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, + 0x49, 0x64, 0x12, 0x68, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, 0x61, 0x73, 0x65, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x69, 0x6e, 0x42, 0x35, 0xc8, + 0xde, 0x1f, 0x00, 0xaa, 0xdf, 0x1f, 0x28, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, + 0x6d, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2d, + 0x73, 0x64, 0x6b, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x43, 0x6f, 0x69, 0x6e, 0x73, 0xa8, + 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x36, 0x0a, 0x09, + 0x64, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x18, 0xd2, 0xb4, 0x2d, 0x14, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x72, - 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, - 0x72, 0x69, 0x74, 0x79, 0x12, 0x39, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, 0x6e, - 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, - 0x73, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x3a, - 0x29, 0x82, 0xe7, 0xb0, 0x2a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x8a, - 0xe7, 0xb0, 0x2a, 0x16, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2f, 0x4d, 0x73, 0x67, 0x55, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0x19, 0x0a, 0x17, 0x4d, 0x73, - 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xbd, 0x08, 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x12, 0x62, 0x0a, - 0x0c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x24, 0x2e, - 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, - 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x75, 0x6e, - 0x6e, 0x65, 0x6c, 0x1a, 0x2c, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, 0x6e, 0x65, - 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x5f, 0x0a, 0x0b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x65, - 0x12, 0x23, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, - 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, - 0x52, 0x6f, 0x75, 0x74, 0x65, 0x1a, 0x2b, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, - 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x55, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x86, 0x01, 0x0a, 0x18, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x69, 0x67, - 0x6e, 0x61, 0x6c, 0x73, 0x41, 0x6e, 0x64, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x12, - 0x30, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, - 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, - 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x73, 0x41, 0x6e, 0x64, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, - 0x6c, 0x1a, 0x38, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, - 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x09, 0x64, 0x65, 0x70, 0x6f, 0x73, + 0x69, 0x74, 0x6f, 0x72, 0x3a, 0x2c, 0x82, 0xe7, 0xb0, 0x2a, 0x09, 0x64, 0x65, 0x70, 0x6f, 0x73, + 0x69, 0x74, 0x6f, 0x72, 0x8a, 0xe7, 0xb0, 0x2a, 0x19, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2f, + 0x4d, 0x73, 0x67, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x54, 0x6f, 0x54, 0x75, 0x6e, 0x6e, + 0x65, 0x6c, 0x22, 0x1c, 0x0a, 0x1a, 0x4d, 0x73, 0x67, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, + 0x54, 0x6f, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x22, 0x98, 0x02, 0x0a, 0x15, 0x4d, 0x73, 0x67, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, + 0x46, 0x72, 0x6f, 0x6d, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x29, 0x0a, 0x09, 0x74, 0x75, + 0x6e, 0x6e, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x0c, 0xe2, + 0xde, 0x1f, 0x08, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x44, 0x52, 0x08, 0x74, 0x75, 0x6e, + 0x6e, 0x65, 0x6c, 0x49, 0x64, 0x12, 0x68, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, + 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, 0x62, + 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x69, 0x6e, + 0x42, 0x35, 0xc8, 0xde, 0x1f, 0x00, 0xaa, 0xdf, 0x1f, 0x28, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, + 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2f, 0x63, 0x6f, 0x73, 0x6d, + 0x6f, 0x73, 0x2d, 0x73, 0x64, 0x6b, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x43, 0x6f, 0x69, + 0x6e, 0x73, 0xa8, 0xe7, 0xb0, 0x2a, 0x01, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, + 0x38, 0x0a, 0x0a, 0x77, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x65, 0x72, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x09, 0x42, 0x18, 0xd2, 0xb4, 0x2d, 0x14, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, + 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x0a, 0x77, + 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x65, 0x72, 0x3a, 0x30, 0x82, 0xe7, 0xb0, 0x2a, 0x0a, + 0x77, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x65, 0x72, 0x8a, 0xe7, 0xb0, 0x2a, 0x1c, 0x74, + 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2f, 0x4d, 0x73, 0x67, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, + 0x77, 0x46, 0x72, 0x6f, 0x6d, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x22, 0x1f, 0x0a, 0x1d, 0x4d, + 0x73, 0x67, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x46, 0x72, 0x6f, 0x6d, 0x54, 0x75, + 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xaf, 0x01, 0x0a, + 0x0f, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, + 0x12, 0x36, 0x0a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x42, 0x18, 0xd2, 0xb4, 0x2d, 0x14, 0x63, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x2e, + 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x09, 0x61, + 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x39, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, + 0x6d, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, + 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, + 0x61, 0x72, 0x61, 0x6d, 0x73, 0x42, 0x04, 0xc8, 0xde, 0x1f, 0x00, 0x52, 0x06, 0x70, 0x61, 0x72, + 0x61, 0x6d, 0x73, 0x3a, 0x29, 0x82, 0xe7, 0xb0, 0x2a, 0x09, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, + 0x69, 0x74, 0x79, 0x8a, 0xe7, 0xb0, 0x2a, 0x16, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2f, 0x4d, + 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0x19, + 0x0a, 0x17, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xe1, 0x08, 0x0a, 0x03, 0x4d, 0x73, + 0x67, 0x12, 0x62, 0x0a, 0x0c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x75, 0x6e, 0x6e, 0x65, + 0x6c, 0x12, 0x24, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, + 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x1a, 0x2c, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, + 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x73, + 0x67, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5f, 0x0a, 0x0b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, + 0x6f, 0x75, 0x74, 0x65, 0x12, 0x23, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, 0x6e, + 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x1a, 0x2b, 0x2e, 0x62, 0x61, 0x6e, 0x64, + 0x2e, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, + 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x86, 0x01, 0x0a, 0x18, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x73, 0x41, 0x6e, 0x64, 0x49, 0x6e, 0x74, 0x65, 0x72, - 0x76, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7d, 0x0a, 0x15, 0x57, - 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x46, 0x65, 0x65, 0x50, 0x61, 0x79, 0x65, 0x72, 0x46, - 0x75, 0x6e, 0x64, 0x73, 0x12, 0x2d, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, 0x6e, - 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x57, 0x69, - 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x46, 0x65, 0x65, 0x50, 0x61, 0x79, 0x65, 0x72, 0x46, 0x75, - 0x6e, 0x64, 0x73, 0x1a, 0x35, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, 0x6e, 0x65, - 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x57, 0x69, 0x74, - 0x68, 0x64, 0x72, 0x61, 0x77, 0x46, 0x65, 0x65, 0x50, 0x61, 0x79, 0x65, 0x72, 0x46, 0x75, 0x6e, - 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x56, 0x0a, 0x08, 0x41, 0x63, - 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x12, 0x20, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, - 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x73, 0x67, - 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x1a, 0x28, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, + 0x76, 0x61, 0x6c, 0x12, 0x30, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, 0x6e, 0x65, + 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x73, 0x41, 0x6e, 0x64, 0x49, 0x6e, 0x74, + 0x65, 0x72, 0x76, 0x61, 0x6c, 0x1a, 0x38, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, + 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x73, 0x41, 0x6e, 0x64, 0x49, + 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x7d, 0x0a, 0x15, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x46, 0x65, 0x65, 0x50, 0x61, + 0x79, 0x65, 0x72, 0x46, 0x75, 0x6e, 0x64, 0x73, 0x12, 0x2d, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, - 0x73, 0x67, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x5c, 0x0a, 0x0a, 0x44, 0x65, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, - 0x12, 0x22, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, - 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x44, 0x65, 0x61, 0x63, 0x74, 0x69, - 0x76, 0x61, 0x74, 0x65, 0x1a, 0x2a, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, 0x6e, - 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x44, 0x65, - 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x65, 0x0a, 0x0d, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x54, 0x75, 0x6e, 0x6e, 0x65, - 0x6c, 0x12, 0x25, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, - 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x54, 0x72, 0x69, 0x67, 0x67, - 0x65, 0x72, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x1a, 0x2d, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, + 0x73, 0x67, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x46, 0x65, 0x65, 0x50, 0x61, 0x79, + 0x65, 0x72, 0x46, 0x75, 0x6e, 0x64, 0x73, 0x1a, 0x35, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, + 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x73, + 0x67, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x46, 0x65, 0x65, 0x50, 0x61, 0x79, 0x65, + 0x72, 0x46, 0x75, 0x6e, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x68, + 0x0a, 0x0e, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, + 0x12, 0x26, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, + 0x74, 0x65, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x1a, 0x2e, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, - 0x73, 0x67, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6b, 0x0a, 0x0f, 0x44, 0x65, 0x70, 0x6f, 0x73, - 0x69, 0x74, 0x54, 0x6f, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x27, 0x2e, 0x62, 0x61, 0x6e, - 0x64, 0x2e, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, - 0x2e, 0x4d, 0x73, 0x67, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x54, 0x6f, 0x54, 0x75, 0x6e, - 0x6e, 0x65, 0x6c, 0x1a, 0x2f, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, 0x6e, 0x65, - 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x44, 0x65, 0x70, - 0x6f, 0x73, 0x69, 0x74, 0x54, 0x6f, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x74, 0x0a, 0x12, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, - 0x46, 0x72, 0x6f, 0x6d, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x2a, 0x2e, 0x62, 0x61, 0x6e, - 0x64, 0x2e, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, - 0x2e, 0x4d, 0x73, 0x67, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x46, 0x72, 0x6f, 0x6d, - 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x1a, 0x32, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, + 0x73, 0x67, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6e, 0x0a, 0x10, 0x44, 0x65, 0x61, 0x63, + 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x28, 0x2e, 0x62, + 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, + 0x61, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x44, 0x65, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, + 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x1a, 0x30, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x73, 0x67, - 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x46, 0x72, 0x6f, 0x6d, 0x54, 0x75, 0x6e, 0x6e, - 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x62, 0x0a, 0x0c, 0x55, 0x70, - 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x24, 0x2e, 0x62, 0x61, 0x6e, - 0x64, 0x2e, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, - 0x2e, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, - 0x1a, 0x2c, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, - 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, - 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x1a, 0x05, - 0x80, 0xe7, 0xb0, 0x2a, 0x01, 0x42, 0xd8, 0x01, 0x0a, 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x62, 0x61, + 0x44, 0x65, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x65, 0x0a, 0x0d, 0x54, 0x72, 0x69, 0x67, + 0x67, 0x65, 0x72, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x25, 0x2e, 0x62, 0x61, 0x6e, 0x64, + 0x2e, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, + 0x4d, 0x73, 0x67, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, + 0x1a, 0x2d, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, + 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x54, 0x72, 0x69, 0x67, 0x67, 0x65, + 0x72, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x6b, 0x0a, 0x0f, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x54, 0x6f, 0x54, 0x75, 0x6e, 0x6e, + 0x65, 0x6c, 0x12, 0x27, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x44, 0x65, 0x70, 0x6f, + 0x73, 0x69, 0x74, 0x54, 0x6f, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x1a, 0x2f, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, - 0x31, 0x42, 0x07, 0x54, 0x78, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x46, 0x67, 0x69, - 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x62, 0x61, 0x6e, 0x64, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x76, 0x33, 0x2f, 0x61, - 0x70, 0x69, 0x2f, 0x62, 0x61, 0x6e, 0x64, 0x2f, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2f, 0x76, - 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x3b, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x76, 0x31, 0x62, - 0x65, 0x74, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x42, 0x54, 0x58, 0xaa, 0x02, 0x13, 0x42, 0x61, 0x6e, - 0x64, 0x2e, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, - 0xca, 0x02, 0x13, 0x42, 0x61, 0x6e, 0x64, 0x5c, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x5c, 0x56, - 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xe2, 0x02, 0x1f, 0x42, 0x61, 0x6e, 0x64, 0x5c, 0x54, 0x75, - 0x6e, 0x6e, 0x65, 0x6c, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, - 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x15, 0x42, 0x61, 0x6e, 0x64, 0x3a, - 0x3a, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, - 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x54, 0x6f, 0x54, 0x75, + 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x74, 0x0a, 0x12, + 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x46, 0x72, 0x6f, 0x6d, 0x54, 0x75, 0x6e, 0x6e, + 0x65, 0x6c, 0x12, 0x2a, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x57, 0x69, 0x74, 0x68, + 0x64, 0x72, 0x61, 0x77, 0x46, 0x72, 0x6f, 0x6d, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x1a, 0x32, + 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, + 0x46, 0x72, 0x6f, 0x6d, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x62, 0x0a, 0x0c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, + 0x6d, 0x73, 0x12, 0x24, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, + 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x1a, 0x2c, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, + 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, + 0x73, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x1a, 0x05, 0x80, 0xe7, 0xb0, 0x2a, 0x01, 0x42, 0xd8, 0x01, + 0x0a, 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x62, 0x61, 0x6e, 0x64, 0x2e, 0x74, 0x75, 0x6e, 0x6e, 0x65, + 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x07, 0x54, 0x78, 0x50, 0x72, 0x6f, + 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x46, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, + 0x2f, 0x62, 0x61, 0x6e, 0x64, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x63, 0x68, + 0x61, 0x69, 0x6e, 0x2f, 0x76, 0x33, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x62, 0x61, 0x6e, 0x64, 0x2f, + 0x74, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x3b, 0x74, + 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xa2, 0x02, 0x03, 0x42, + 0x54, 0x58, 0xaa, 0x02, 0x13, 0x42, 0x61, 0x6e, 0x64, 0x2e, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, + 0x2e, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xca, 0x02, 0x13, 0x42, 0x61, 0x6e, 0x64, 0x5c, + 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xe2, 0x02, + 0x1f, 0x42, 0x61, 0x6e, 0x64, 0x5c, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x5c, 0x56, 0x31, 0x62, + 0x65, 0x74, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0xea, 0x02, 0x15, 0x42, 0x61, 0x6e, 0x64, 0x3a, 0x3a, 0x54, 0x75, 0x6e, 0x6e, 0x65, 0x6c, 0x3a, + 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -10501,10 +10505,10 @@ var file_band_tunnel_v1beta1_tx_proto_goTypes = []interface{}{ (*MsgUpdateSignalsAndIntervalResponse)(nil), // 5: band.tunnel.v1beta1.MsgUpdateSignalsAndIntervalResponse (*MsgWithdrawFeePayerFunds)(nil), // 6: band.tunnel.v1beta1.MsgWithdrawFeePayerFunds (*MsgWithdrawFeePayerFundsResponse)(nil), // 7: band.tunnel.v1beta1.MsgWithdrawFeePayerFundsResponse - (*MsgActivate)(nil), // 8: band.tunnel.v1beta1.MsgActivate - (*MsgActivateResponse)(nil), // 9: band.tunnel.v1beta1.MsgActivateResponse - (*MsgDeactivate)(nil), // 10: band.tunnel.v1beta1.MsgDeactivate - (*MsgDeactivateResponse)(nil), // 11: band.tunnel.v1beta1.MsgDeactivateResponse + (*MsgActivateTunnel)(nil), // 8: band.tunnel.v1beta1.MsgActivateTunnel + (*MsgActivateTunnelResponse)(nil), // 9: band.tunnel.v1beta1.MsgActivateTunnelResponse + (*MsgDeactivateTunnel)(nil), // 10: band.tunnel.v1beta1.MsgDeactivateTunnel + (*MsgDeactivateTunnelResponse)(nil), // 11: band.tunnel.v1beta1.MsgDeactivateTunnelResponse (*MsgTriggerTunnel)(nil), // 12: band.tunnel.v1beta1.MsgTriggerTunnel (*MsgTriggerTunnelResponse)(nil), // 13: band.tunnel.v1beta1.MsgTriggerTunnelResponse (*MsgDepositToTunnel)(nil), // 14: band.tunnel.v1beta1.MsgDepositToTunnel @@ -10532,8 +10536,8 @@ var file_band_tunnel_v1beta1_tx_proto_depIdxs = []int32{ 2, // 10: band.tunnel.v1beta1.Msg.UpdateRoute:input_type -> band.tunnel.v1beta1.MsgUpdateRoute 4, // 11: band.tunnel.v1beta1.Msg.UpdateSignalsAndInterval:input_type -> band.tunnel.v1beta1.MsgUpdateSignalsAndInterval 6, // 12: band.tunnel.v1beta1.Msg.WithdrawFeePayerFunds:input_type -> band.tunnel.v1beta1.MsgWithdrawFeePayerFunds - 8, // 13: band.tunnel.v1beta1.Msg.Activate:input_type -> band.tunnel.v1beta1.MsgActivate - 10, // 14: band.tunnel.v1beta1.Msg.Deactivate:input_type -> band.tunnel.v1beta1.MsgDeactivate + 8, // 13: band.tunnel.v1beta1.Msg.ActivateTunnel:input_type -> band.tunnel.v1beta1.MsgActivateTunnel + 10, // 14: band.tunnel.v1beta1.Msg.DeactivateTunnel:input_type -> band.tunnel.v1beta1.MsgDeactivateTunnel 12, // 15: band.tunnel.v1beta1.Msg.TriggerTunnel:input_type -> band.tunnel.v1beta1.MsgTriggerTunnel 14, // 16: band.tunnel.v1beta1.Msg.DepositToTunnel:input_type -> band.tunnel.v1beta1.MsgDepositToTunnel 16, // 17: band.tunnel.v1beta1.Msg.WithdrawFromTunnel:input_type -> band.tunnel.v1beta1.MsgWithdrawFromTunnel @@ -10542,8 +10546,8 @@ var file_band_tunnel_v1beta1_tx_proto_depIdxs = []int32{ 3, // 20: band.tunnel.v1beta1.Msg.UpdateRoute:output_type -> band.tunnel.v1beta1.MsgUpdateRouteResponse 5, // 21: band.tunnel.v1beta1.Msg.UpdateSignalsAndInterval:output_type -> band.tunnel.v1beta1.MsgUpdateSignalsAndIntervalResponse 7, // 22: band.tunnel.v1beta1.Msg.WithdrawFeePayerFunds:output_type -> band.tunnel.v1beta1.MsgWithdrawFeePayerFundsResponse - 9, // 23: band.tunnel.v1beta1.Msg.Activate:output_type -> band.tunnel.v1beta1.MsgActivateResponse - 11, // 24: band.tunnel.v1beta1.Msg.Deactivate:output_type -> band.tunnel.v1beta1.MsgDeactivateResponse + 9, // 23: band.tunnel.v1beta1.Msg.ActivateTunnel:output_type -> band.tunnel.v1beta1.MsgActivateTunnelResponse + 11, // 24: band.tunnel.v1beta1.Msg.DeactivateTunnel:output_type -> band.tunnel.v1beta1.MsgDeactivateTunnelResponse 13, // 25: band.tunnel.v1beta1.Msg.TriggerTunnel:output_type -> band.tunnel.v1beta1.MsgTriggerTunnelResponse 15, // 26: band.tunnel.v1beta1.Msg.DepositToTunnel:output_type -> band.tunnel.v1beta1.MsgDepositToTunnelResponse 17, // 27: band.tunnel.v1beta1.Msg.WithdrawFromTunnel:output_type -> band.tunnel.v1beta1.MsgWithdrawFromTunnelResponse @@ -10660,7 +10664,7 @@ func file_band_tunnel_v1beta1_tx_proto_init() { } } file_band_tunnel_v1beta1_tx_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgActivate); i { + switch v := v.(*MsgActivateTunnel); i { case 0: return &v.state case 1: @@ -10672,7 +10676,7 @@ func file_band_tunnel_v1beta1_tx_proto_init() { } } file_band_tunnel_v1beta1_tx_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgActivateResponse); i { + switch v := v.(*MsgActivateTunnelResponse); i { case 0: return &v.state case 1: @@ -10684,7 +10688,7 @@ func file_band_tunnel_v1beta1_tx_proto_init() { } } file_band_tunnel_v1beta1_tx_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgDeactivate); i { + switch v := v.(*MsgDeactivateTunnel); i { case 0: return &v.state case 1: @@ -10696,7 +10700,7 @@ func file_band_tunnel_v1beta1_tx_proto_init() { } } file_band_tunnel_v1beta1_tx_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MsgDeactivateResponse); i { + switch v := v.(*MsgDeactivateTunnelResponse); i { case 0: return &v.state case 1: diff --git a/api/band/tunnel/v1beta1/tx_grpc.pb.go b/api/band/tunnel/v1beta1/tx_grpc.pb.go index 57342c9e8..feae5281a 100644 --- a/api/band/tunnel/v1beta1/tx_grpc.pb.go +++ b/api/band/tunnel/v1beta1/tx_grpc.pb.go @@ -23,8 +23,8 @@ const ( Msg_UpdateRoute_FullMethodName = "/band.tunnel.v1beta1.Msg/UpdateRoute" Msg_UpdateSignalsAndInterval_FullMethodName = "/band.tunnel.v1beta1.Msg/UpdateSignalsAndInterval" Msg_WithdrawFeePayerFunds_FullMethodName = "/band.tunnel.v1beta1.Msg/WithdrawFeePayerFunds" - Msg_Activate_FullMethodName = "/band.tunnel.v1beta1.Msg/Activate" - Msg_Deactivate_FullMethodName = "/band.tunnel.v1beta1.Msg/Deactivate" + Msg_ActivateTunnel_FullMethodName = "/band.tunnel.v1beta1.Msg/ActivateTunnel" + Msg_DeactivateTunnel_FullMethodName = "/band.tunnel.v1beta1.Msg/DeactivateTunnel" Msg_TriggerTunnel_FullMethodName = "/band.tunnel.v1beta1.Msg/TriggerTunnel" Msg_DepositToTunnel_FullMethodName = "/band.tunnel.v1beta1.Msg/DepositToTunnel" Msg_WithdrawFromTunnel_FullMethodName = "/band.tunnel.v1beta1.Msg/WithdrawFromTunnel" @@ -43,10 +43,10 @@ type MsgClient interface { UpdateSignalsAndInterval(ctx context.Context, in *MsgUpdateSignalsAndInterval, opts ...grpc.CallOption) (*MsgUpdateSignalsAndIntervalResponse, error) // WithdrawFeePayerFunds is a RPC method to withdraw fee payer funds to creator. WithdrawFeePayerFunds(ctx context.Context, in *MsgWithdrawFeePayerFunds, opts ...grpc.CallOption) (*MsgWithdrawFeePayerFundsResponse, error) - // Activate is a RPC method to activate a tunnel. - Activate(ctx context.Context, in *MsgActivate, opts ...grpc.CallOption) (*MsgActivateResponse, error) - // Deactivate is a RPC method to deactivate a tunnel. - Deactivate(ctx context.Context, in *MsgDeactivate, opts ...grpc.CallOption) (*MsgDeactivateResponse, error) + // ActivateTunnel is a RPC method to activate a tunnel. + ActivateTunnel(ctx context.Context, in *MsgActivateTunnel, opts ...grpc.CallOption) (*MsgActivateTunnelResponse, error) + // DeactivateTunnel is a RPC method to deactivate a tunnel. + DeactivateTunnel(ctx context.Context, in *MsgDeactivateTunnel, opts ...grpc.CallOption) (*MsgDeactivateTunnelResponse, error) // TriggerTunnel is a RPC method to manually trigger a tunnel. TriggerTunnel(ctx context.Context, in *MsgTriggerTunnel, opts ...grpc.CallOption) (*MsgTriggerTunnelResponse, error) // DepositToTunnel is a RPC method to deposit to an existing tunnel. @@ -101,18 +101,18 @@ func (c *msgClient) WithdrawFeePayerFunds(ctx context.Context, in *MsgWithdrawFe return out, nil } -func (c *msgClient) Activate(ctx context.Context, in *MsgActivate, opts ...grpc.CallOption) (*MsgActivateResponse, error) { - out := new(MsgActivateResponse) - err := c.cc.Invoke(ctx, Msg_Activate_FullMethodName, in, out, opts...) +func (c *msgClient) ActivateTunnel(ctx context.Context, in *MsgActivateTunnel, opts ...grpc.CallOption) (*MsgActivateTunnelResponse, error) { + out := new(MsgActivateTunnelResponse) + err := c.cc.Invoke(ctx, Msg_ActivateTunnel_FullMethodName, in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *msgClient) Deactivate(ctx context.Context, in *MsgDeactivate, opts ...grpc.CallOption) (*MsgDeactivateResponse, error) { - out := new(MsgDeactivateResponse) - err := c.cc.Invoke(ctx, Msg_Deactivate_FullMethodName, in, out, opts...) +func (c *msgClient) DeactivateTunnel(ctx context.Context, in *MsgDeactivateTunnel, opts ...grpc.CallOption) (*MsgDeactivateTunnelResponse, error) { + out := new(MsgDeactivateTunnelResponse) + err := c.cc.Invoke(ctx, Msg_DeactivateTunnel_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -167,10 +167,10 @@ type MsgServer interface { UpdateSignalsAndInterval(context.Context, *MsgUpdateSignalsAndInterval) (*MsgUpdateSignalsAndIntervalResponse, error) // WithdrawFeePayerFunds is a RPC method to withdraw fee payer funds to creator. WithdrawFeePayerFunds(context.Context, *MsgWithdrawFeePayerFunds) (*MsgWithdrawFeePayerFundsResponse, error) - // Activate is a RPC method to activate a tunnel. - Activate(context.Context, *MsgActivate) (*MsgActivateResponse, error) - // Deactivate is a RPC method to deactivate a tunnel. - Deactivate(context.Context, *MsgDeactivate) (*MsgDeactivateResponse, error) + // ActivateTunnel is a RPC method to activate a tunnel. + ActivateTunnel(context.Context, *MsgActivateTunnel) (*MsgActivateTunnelResponse, error) + // DeactivateTunnel is a RPC method to deactivate a tunnel. + DeactivateTunnel(context.Context, *MsgDeactivateTunnel) (*MsgDeactivateTunnelResponse, error) // TriggerTunnel is a RPC method to manually trigger a tunnel. TriggerTunnel(context.Context, *MsgTriggerTunnel) (*MsgTriggerTunnelResponse, error) // DepositToTunnel is a RPC method to deposit to an existing tunnel. @@ -198,11 +198,11 @@ func (UnimplementedMsgServer) UpdateSignalsAndInterval(context.Context, *MsgUpda func (UnimplementedMsgServer) WithdrawFeePayerFunds(context.Context, *MsgWithdrawFeePayerFunds) (*MsgWithdrawFeePayerFundsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method WithdrawFeePayerFunds not implemented") } -func (UnimplementedMsgServer) Activate(context.Context, *MsgActivate) (*MsgActivateResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Activate not implemented") +func (UnimplementedMsgServer) ActivateTunnel(context.Context, *MsgActivateTunnel) (*MsgActivateTunnelResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ActivateTunnel not implemented") } -func (UnimplementedMsgServer) Deactivate(context.Context, *MsgDeactivate) (*MsgDeactivateResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Deactivate not implemented") +func (UnimplementedMsgServer) DeactivateTunnel(context.Context, *MsgDeactivateTunnel) (*MsgDeactivateTunnelResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeactivateTunnel not implemented") } func (UnimplementedMsgServer) TriggerTunnel(context.Context, *MsgTriggerTunnel) (*MsgTriggerTunnelResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method TriggerTunnel not implemented") @@ -301,38 +301,38 @@ func _Msg_WithdrawFeePayerFunds_Handler(srv interface{}, ctx context.Context, de return interceptor(ctx, in, info, handler) } -func _Msg_Activate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgActivate) +func _Msg_ActivateTunnel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgActivateTunnel) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(MsgServer).Activate(ctx, in) + return srv.(MsgServer).ActivateTunnel(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: Msg_Activate_FullMethodName, + FullMethod: Msg_ActivateTunnel_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).Activate(ctx, req.(*MsgActivate)) + return srv.(MsgServer).ActivateTunnel(ctx, req.(*MsgActivateTunnel)) } return interceptor(ctx, in, info, handler) } -func _Msg_Deactivate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgDeactivate) +func _Msg_DeactivateTunnel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgDeactivateTunnel) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(MsgServer).Deactivate(ctx, in) + return srv.(MsgServer).DeactivateTunnel(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: Msg_Deactivate_FullMethodName, + FullMethod: Msg_DeactivateTunnel_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).Deactivate(ctx, req.(*MsgDeactivate)) + return srv.(MsgServer).DeactivateTunnel(ctx, req.(*MsgDeactivateTunnel)) } return interceptor(ctx, in, info, handler) } @@ -433,12 +433,12 @@ var Msg_ServiceDesc = grpc.ServiceDesc{ Handler: _Msg_WithdrawFeePayerFunds_Handler, }, { - MethodName: "Activate", - Handler: _Msg_Activate_Handler, + MethodName: "ActivateTunnel", + Handler: _Msg_ActivateTunnel_Handler, }, { - MethodName: "Deactivate", - Handler: _Msg_Deactivate_Handler, + MethodName: "DeactivateTunnel", + Handler: _Msg_DeactivateTunnel_Handler, }, { MethodName: "TriggerTunnel", diff --git a/proto/band/tunnel/v1beta1/tx.proto b/proto/band/tunnel/v1beta1/tx.proto index fb80dc13d..79c268f2d 100644 --- a/proto/band/tunnel/v1beta1/tx.proto +++ b/proto/band/tunnel/v1beta1/tx.proto @@ -29,11 +29,11 @@ service Msg { // WithdrawFeePayerFunds is a RPC method to withdraw fee payer funds to creator. rpc WithdrawFeePayerFunds(MsgWithdrawFeePayerFunds) returns (MsgWithdrawFeePayerFundsResponse); - // Activate is a RPC method to activate a tunnel. - rpc Activate(MsgActivate) returns (MsgActivateResponse); + // ActivateTunnel is a RPC method to activate a tunnel. + rpc ActivateTunnel(MsgActivateTunnel) returns (MsgActivateTunnelResponse); - // Deactivate is a RPC method to deactivate a tunnel. - rpc Deactivate(MsgDeactivate) returns (MsgDeactivateResponse); + // DeactivateTunnel is a RPC method to deactivate a tunnel. + rpc DeactivateTunnel(MsgDeactivateTunnel) returns (MsgDeactivateTunnelResponse); // TriggerTunnel is a RPC method to manually trigger a tunnel. rpc TriggerTunnel(MsgTriggerTunnel) returns (MsgTriggerTunnelResponse); @@ -128,10 +128,10 @@ message MsgWithdrawFeePayerFunds { // MsgWithdrawFeePayerFundsResponse is the response type for the Msg/WithdrawFeePayerFunds RPC method. message MsgWithdrawFeePayerFundsResponse {} -// Activate is the transaction message to activate a tunnel. -message MsgActivate { +// ActivateTunnel is the transaction message to activate a tunnel. +message MsgActivateTunnel { option (cosmos.msg.v1.signer) = "creator"; - option (amino.name) = "tunnel/MsgActivate"; + option (amino.name) = "tunnel/MsgActivateTunnel"; // tunnel_id is the ID of the tunnel to activate. uint64 tunnel_id = 1 [(gogoproto.customname) = "TunnelID"]; @@ -139,13 +139,13 @@ message MsgActivate { string creator = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"]; } -// MsgActivateResponse is the response type for the Msg/Activate RPC method. -message MsgActivateResponse {} +// MsgActivateTunnelResponse is the response type for the Msg/Activate RPC method. +message MsgActivateTunnelResponse {} -// MsgDeactivate is the transaction message to deactivate a tunnel. -message MsgDeactivate { +// MsgDeactivateTunnel is the transaction message to deactivate a tunnel. +message MsgDeactivateTunnel { option (cosmos.msg.v1.signer) = "creator"; - option (amino.name) = "tunnel/MsgDeactivate"; + option (amino.name) = "tunnel/MsgDeactivateTunnel"; // tunnel_id is the ID of the tunnel to deactivate. uint64 tunnel_id = 1 [(gogoproto.customname) = "TunnelID"]; @@ -154,7 +154,7 @@ message MsgDeactivate { } // MsgDeactivateTunnelResponse is the response type for the Msg/Deactivate RPC method. -message MsgDeactivateResponse {} +message MsgDeactivateTunnelResponse {} // MsgTriggerTunnel is the transaction message to manually trigger a tunnel. message MsgTriggerTunnel { diff --git a/x/bandtss/types/genesis.pb.go b/x/bandtss/types/genesis.pb.go index 857dc5c65..a65b1e9c1 100644 --- a/x/bandtss/types/genesis.pb.go +++ b/x/bandtss/types/genesis.pb.go @@ -31,7 +31,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package // GenesisState defines the bandtss module's genesis state. type GenesisState struct { - // params defines all the paramiters of the module. + // params defines all the parameters of the module. Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` // members is an array containing members information. Members []Member `protobuf:"bytes,2,rep,name=members,proto3" json:"members"` diff --git a/x/oracle/types/oracle.pb.go b/x/oracle/types/oracle.pb.go index d97ecd5e9..2037e53fe 100644 --- a/x/oracle/types/oracle.pb.go +++ b/x/oracle/types/oracle.pb.go @@ -39,7 +39,7 @@ const ( RESOLVE_STATUS_OPEN ResolveStatus = 0 // Success - the request has been resolved successfully with no errors. RESOLVE_STATUS_SUCCESS ResolveStatus = 1 - // Failure - an error occured during the request's resolve call. + // Failure - an error occurred during the request's resolve call. RESOLVE_STATUS_FAILURE ResolveStatus = 2 // Expired - the request does not get enough reports from validator within the // timeframe. diff --git a/x/tss/types/genesis.pb.go b/x/tss/types/genesis.pb.go index 6c04ee22a..596cf0722 100644 --- a/x/tss/types/genesis.pb.go +++ b/x/tss/types/genesis.pb.go @@ -26,7 +26,7 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package // GenesisState defines the tss module's genesis state. type GenesisState struct { - // params defines all the paramiters of the module. + // params defines all the parameters of the module. Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` // groups is an array containing information about each group. Groups []Group `protobuf:"bytes,2,rep,name=groups,proto3" json:"groups"` diff --git a/x/tunnel/client/cli/tx.go b/x/tunnel/client/cli/tx.go index 920a45799..696755d8d 100644 --- a/x/tunnel/client/cli/tx.go +++ b/x/tunnel/client/cli/tx.go @@ -29,8 +29,8 @@ func GetTxCmd() *cobra.Command { GetTxCmdUpdateRoute(), GetTxCmdUpdateSignalsAndInterval(), GetTxCmdWithdrawFeePayerFunds(), - GetTxCmdActivate(), - GetTxCmdDeactivate(), + GetTxCmdActivateTunnel(), + GetTxCmdDeactivateTunnel(), GetTxCmdTriggerTunnel(), GetTxCmdDepositToTunnel(), GetTxCmdWithdrawFromTunnel(), @@ -278,9 +278,9 @@ func GetTxCmdWithdrawFeePayerFunds() *cobra.Command { return cmd } -func GetTxCmdActivate() *cobra.Command { +func GetTxCmdActivateTunnel() *cobra.Command { cmd := &cobra.Command{ - Use: "activate [tunnel-id]", + Use: "activate-tunnel [tunnel-id]", Short: "Activate a tunnel", Args: cobra.ExactArgs(1), RunE: func(cmd *cobra.Command, args []string) error { @@ -294,7 +294,7 @@ func GetTxCmdActivate() *cobra.Command { return err } - msg := types.NewMsgActivate(id, clientCtx.GetFromAddress().String()) + msg := types.NewMsgActivateTunnel(id, clientCtx.GetFromAddress().String()) return tx.GenerateOrBroadcastTxCLI(clientCtx, cmd.Flags(), msg) }, } @@ -304,9 +304,9 @@ func GetTxCmdActivate() *cobra.Command { return cmd } -func GetTxCmdDeactivate() *cobra.Command { +func GetTxCmdDeactivateTunnel() *cobra.Command { cmd := &cobra.Command{ - Use: "deactivate [tunnel-id]", + Use: "deactivate-tunnel [tunnel-id]", Short: "Deactivate a tunnel", Args: cobra.ExactArgs(1), RunE: func(cmd *cobra.Command, args []string) error { @@ -320,7 +320,7 @@ func GetTxCmdDeactivate() *cobra.Command { return err } - msg := types.NewMsgDeactivate(id, clientCtx.GetFromAddress().String()) + msg := types.NewMsgDeactivateTunnel(id, clientCtx.GetFromAddress().String()) return tx.GenerateOrBroadcastTxCLI(clientCtx, cmd.Flags(), msg) }, } diff --git a/x/tunnel/keeper/msg_server.go b/x/tunnel/keeper/msg_server.go index 72e5203e3..a8ea720d1 100644 --- a/x/tunnel/keeper/msg_server.go +++ b/x/tunnel/keeper/msg_server.go @@ -209,11 +209,11 @@ func (k msgServer) WithdrawFeePayerFunds( return &types.MsgWithdrawFeePayerFundsResponse{}, nil } -// Activate activates a tunnel. -func (k msgServer) Activate( +// ActivateTunnel activates a tunnel. +func (k msgServer) ActivateTunnel( goCtx context.Context, - msg *types.MsgActivate, -) (*types.MsgActivateResponse, error) { + msg *types.MsgActivateTunnel, +) (*types.MsgActivateTunnelResponse, error) { ctx := sdk.UnwrapSDKContext(goCtx) tunnel, err := k.Keeper.GetTunnel(ctx, msg.TunnelID) @@ -235,14 +235,14 @@ func (k msgServer) Activate( return nil, err } - return &types.MsgActivateResponse{}, nil + return &types.MsgActivateTunnelResponse{}, nil } -// Deactivate deactivates a tunnel. -func (k msgServer) Deactivate( +// DeactivateTunnel deactivates a tunnel. +func (k msgServer) DeactivateTunnel( goCtx context.Context, - msg *types.MsgDeactivate, -) (*types.MsgDeactivateResponse, error) { + msg *types.MsgDeactivateTunnel, +) (*types.MsgDeactivateTunnelResponse, error) { ctx := sdk.UnwrapSDKContext(goCtx) tunnel, err := k.Keeper.GetTunnel(ctx, msg.TunnelID) @@ -262,7 +262,7 @@ func (k msgServer) Deactivate( return nil, err } - return &types.MsgDeactivateResponse{}, nil + return &types.MsgDeactivateTunnelResponse{}, nil } // TriggerTunnel manually triggers a tunnel. diff --git a/x/tunnel/keeper/msg_server_test.go b/x/tunnel/keeper/msg_server_test.go index 842a293b9..0ae1e58ad 100644 --- a/x/tunnel/keeper/msg_server_test.go +++ b/x/tunnel/keeper/msg_server_test.go @@ -519,59 +519,59 @@ func (s *KeeperTestSuite) TestWithdrawFeePayerFunds() { } } -func (s *KeeperTestSuite) TestMsgActivate() { +func (s *KeeperTestSuite) TestMsgActivateTunnel() { cases := map[string]struct { - preRun func() *types.MsgActivate + preRun func() *types.MsgActivateTunnel expErr bool expErrMsg string }{ "tunnel not found": { - preRun: func() *types.MsgActivate { - return types.NewMsgActivate(1, sdk.AccAddress([]byte("creator_address")).String()) + preRun: func() *types.MsgActivateTunnel { + return types.NewMsgActivateTunnel(1, sdk.AccAddress([]byte("creator_address")).String()) }, expErr: true, expErrMsg: "tunnel not found", }, "invalid creator of the tunnel": { - preRun: func() *types.MsgActivate { + preRun: func() *types.MsgActivateTunnel { s.AddSampleTunnel(false) - return types.NewMsgActivate(1, sdk.AccAddress([]byte("wrong_creator_address")).String()) + return types.NewMsgActivateTunnel(1, sdk.AccAddress([]byte("wrong_creator_address")).String()) }, expErr: true, expErrMsg: "invalid creator of the tunnel", }, "already active": { - preRun: func() *types.MsgActivate { + preRun: func() *types.MsgActivateTunnel { s.AddSampleTunnel(true) - return types.NewMsgActivate(1, sdk.AccAddress([]byte("creator_address")).String()) + return types.NewMsgActivateTunnel(1, sdk.AccAddress([]byte("creator_address")).String()) }, expErr: true, expErrMsg: "already active", }, "insufficient deposit": { - preRun: func() *types.MsgActivate { + preRun: func() *types.MsgActivateTunnel { params := types.DefaultParams() params.MinDeposit = sdk.NewCoins(sdk.NewCoin("uband", sdkmath.NewInt(1000))) s.Require().NoError(s.keeper.SetParams(s.ctx, params)) s.AddSampleTunnel(false) - return types.NewMsgActivate(1, sdk.AccAddress([]byte("creator_address")).String()) + return types.NewMsgActivateTunnel(1, sdk.AccAddress([]byte("creator_address")).String()) }, expErr: true, expErrMsg: "insufficient deposit", }, "all good": { - preRun: func() *types.MsgActivate { + preRun: func() *types.MsgActivateTunnel { params := types.DefaultParams() params.MinDeposit = sdk.NewCoins() s.Require().NoError(s.keeper.SetParams(s.ctx, params)) s.AddSampleTunnel(false) - return types.NewMsgActivate(1, sdk.AccAddress([]byte("creator_address")).String()) + return types.NewMsgActivateTunnel(1, sdk.AccAddress([]byte("creator_address")).String()) }, expErr: false, expErrMsg: "", @@ -583,7 +583,7 @@ func (s *KeeperTestSuite) TestMsgActivate() { s.reset() msg := tc.preRun() - _, err := s.msgServer.Activate(s.ctx, msg) + _, err := s.msgServer.ActivateTunnel(s.ctx, msg) if tc.expErr { s.Require().Error(err) s.Require().Contains(err.Error(), tc.expErrMsg) @@ -594,42 +594,42 @@ func (s *KeeperTestSuite) TestMsgActivate() { } } -func (s *KeeperTestSuite) TestMsgDeactivate() { +func (s *KeeperTestSuite) TestMsgDeactivateTunnel() { cases := map[string]struct { - preRun func() *types.MsgDeactivate + preRun func() *types.MsgDeactivateTunnel expErr bool expErrMsg string }{ "tunnel not found": { - preRun: func() *types.MsgDeactivate { - return types.NewMsgDeactivate(1, sdk.AccAddress([]byte("creator_address")).String()) + preRun: func() *types.MsgDeactivateTunnel { + return types.NewMsgDeactivateTunnel(1, sdk.AccAddress([]byte("creator_address")).String()) }, expErr: true, expErrMsg: "tunnel not found", }, "invalid creator of the tunnel": { - preRun: func() *types.MsgDeactivate { + preRun: func() *types.MsgDeactivateTunnel { s.AddSampleTunnel(true) - return types.NewMsgDeactivate(1, sdk.AccAddress([]byte("wrong_creator_address")).String()) + return types.NewMsgDeactivateTunnel(1, sdk.AccAddress([]byte("wrong_creator_address")).String()) }, expErr: true, expErrMsg: "invalid creator of the tunnel", }, "already inactive": { - preRun: func() *types.MsgDeactivate { + preRun: func() *types.MsgDeactivateTunnel { s.AddSampleTunnel(false) - return types.NewMsgDeactivate(1, sdk.AccAddress([]byte("creator_address")).String()) + return types.NewMsgDeactivateTunnel(1, sdk.AccAddress([]byte("creator_address")).String()) }, expErr: true, expErrMsg: "already inactive", }, "all good": { - preRun: func() *types.MsgDeactivate { + preRun: func() *types.MsgDeactivateTunnel { s.AddSampleTunnel(true) - return types.NewMsgDeactivate(1, sdk.AccAddress([]byte("creator_address")).String()) + return types.NewMsgDeactivateTunnel(1, sdk.AccAddress([]byte("creator_address")).String()) }, expErr: false, expErrMsg: "", @@ -641,7 +641,7 @@ func (s *KeeperTestSuite) TestMsgDeactivate() { s.reset() msg := tc.preRun() - _, err := s.msgServer.Deactivate(s.ctx, msg) + _, err := s.msgServer.DeactivateTunnel(s.ctx, msg) if tc.expErr { s.Require().Error(err) s.Require().Contains(err.Error(), tc.expErrMsg) diff --git a/x/tunnel/types/codec.go b/x/tunnel/types/codec.go index a5e445c97..8010014a1 100644 --- a/x/tunnel/types/codec.go +++ b/x/tunnel/types/codec.go @@ -22,8 +22,8 @@ func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino) { legacy.RegisterAminoMsg(cdc, &MsgUpdateRoute{}, "tunnel/MsgUpdateRoute") legacy.RegisterAminoMsg(cdc, &MsgUpdateSignalsAndInterval{}, "tunnel/MsgUpdateSignalsAndInterval") legacy.RegisterAminoMsg(cdc, &MsgWithdrawFeePayerFunds{}, "tunnel/MsgWithdrawFeePayerFunds") - legacy.RegisterAminoMsg(cdc, &MsgActivate{}, "tunnel/MsgActivate") - legacy.RegisterAminoMsg(cdc, &MsgDeactivate{}, "tunnel/MsgDeactivate") + legacy.RegisterAminoMsg(cdc, &MsgActivateTunnel{}, "tunnel/MsgActivateTunnel") + legacy.RegisterAminoMsg(cdc, &MsgDeactivateTunnel{}, "tunnel/MsgDeactivateTunnel") legacy.RegisterAminoMsg(cdc, &MsgTriggerTunnel{}, "tunnel/MsgTriggerTunnel") legacy.RegisterAminoMsg(cdc, &MsgDepositToTunnel{}, "tunnel/MsgDepositToTunnel") legacy.RegisterAminoMsg(cdc, &MsgWithdrawFromTunnel{}, "tunnel/MsgWithdrawFromTunnel") @@ -48,8 +48,8 @@ func RegisterInterfaces(registry codectypes.InterfaceRegistry) { &MsgUpdateRoute{}, &MsgUpdateSignalsAndInterval{}, &MsgWithdrawFeePayerFunds{}, - &MsgActivate{}, - &MsgDeactivate{}, + &MsgActivateTunnel{}, + &MsgDeactivateTunnel{}, &MsgTriggerTunnel{}, &MsgDepositToTunnel{}, &MsgWithdrawFromTunnel{}, diff --git a/x/tunnel/types/msgs.go b/x/tunnel/types/msgs.go index 8c4ae715f..df656b1bb 100644 --- a/x/tunnel/types/msgs.go +++ b/x/tunnel/types/msgs.go @@ -11,8 +11,8 @@ import ( ) var ( - _, _, _, _, _, _, _, _, _, _ sdk.Msg = &MsgCreateTunnel{}, &MsgUpdateRoute{}, &MsgUpdateSignalsAndInterval{}, &MsgWithdrawFeePayerFunds{}, &MsgActivate{}, &MsgDeactivate{}, &MsgTriggerTunnel{}, &MsgDepositToTunnel{}, &MsgWithdrawFromTunnel{}, &MsgUpdateParams{} - _, _, _, _, _, _, _, _, _ sdk.HasValidateBasic = &MsgCreateTunnel{}, &MsgUpdateRoute{}, &MsgUpdateSignalsAndInterval{}, &MsgActivate{}, &MsgDeactivate{}, &MsgTriggerTunnel{}, &MsgDepositToTunnel{}, &MsgWithdrawFromTunnel{}, &MsgUpdateParams{} + _, _, _, _, _, _, _, _, _, _ sdk.Msg = &MsgCreateTunnel{}, &MsgUpdateRoute{}, &MsgUpdateSignalsAndInterval{}, &MsgWithdrawFeePayerFunds{}, &MsgActivateTunnel{}, &MsgDeactivateTunnel{}, &MsgTriggerTunnel{}, &MsgDepositToTunnel{}, &MsgWithdrawFromTunnel{}, &MsgUpdateParams{} + _, _, _, _, _, _, _, _, _ sdk.HasValidateBasic = &MsgCreateTunnel{}, &MsgUpdateRoute{}, &MsgUpdateSignalsAndInterval{}, &MsgActivateTunnel{}, &MsgDeactivateTunnel{}, &MsgTriggerTunnel{}, &MsgDepositToTunnel{}, &MsgWithdrawFromTunnel{}, &MsgUpdateParams{} _, _ types.UnpackInterfacesMessage = &MsgCreateTunnel{}, &MsgUpdateRoute{} ) @@ -252,19 +252,19 @@ func (m MsgWithdrawFeePayerFunds) ValidateBasic() error { return nil } -// NewMsgActivate creates a new MsgActivate instance. -func NewMsgActivate( +// NewMsgActivateTunnel creates a new MsgActivateTunnel instance. +func NewMsgActivateTunnel( tunnelID uint64, creator string, -) *MsgActivate { - return &MsgActivate{ +) *MsgActivateTunnel { + return &MsgActivateTunnel{ TunnelID: tunnelID, Creator: creator, } } // ValidateBasic does a sanity check on the provided data -func (m MsgActivate) ValidateBasic() error { +func (m MsgActivateTunnel) ValidateBasic() error { if _, err := sdk.AccAddressFromBech32(m.Creator); err != nil { return sdkerrors.ErrInvalidAddress.Wrapf("invalid address: %s", err) } @@ -272,19 +272,19 @@ func (m MsgActivate) ValidateBasic() error { return nil } -// NewMsgDeactivate creates a new MsgDeactivate instance. -func NewMsgDeactivate( +// NewMsgDeactivateTunnel creates a new MsgDeactivateTunnel instance. +func NewMsgDeactivateTunnel( tunnelID uint64, creator string, -) *MsgDeactivate { - return &MsgDeactivate{ +) *MsgDeactivateTunnel { + return &MsgDeactivateTunnel{ TunnelID: tunnelID, Creator: creator, } } // ValidateBasic does a sanity check on the provided data -func (m MsgDeactivate) ValidateBasic() error { +func (m MsgDeactivateTunnel) ValidateBasic() error { if _, err := sdk.AccAddressFromBech32(m.Creator); err != nil { return sdkerrors.ErrInvalidAddress.Wrapf("invalid address: %s", err) } diff --git a/x/tunnel/types/msgs_test.go b/x/tunnel/types/msgs_test.go index 2f6cba9e3..d4462e7b5 100644 --- a/x/tunnel/types/msgs_test.go +++ b/x/tunnel/types/msgs_test.go @@ -107,11 +107,11 @@ func TestMsgUpdateSignalsAndInterval_ValidateBasic(t *testing.T) { } // ==================================== -// MsgActivate +// MsgActivateTunnel // ==================================== -func TestMsgActivate_ValidateBasic(t *testing.T) { - msg := types.NewMsgActivate(1, validCreator.String()) +func TestMsgActivateTunnel_ValidateBasic(t *testing.T) { + msg := types.NewMsgActivateTunnel(1, validCreator.String()) // Valid case err := msg.ValidateBasic() @@ -124,11 +124,11 @@ func TestMsgActivate_ValidateBasic(t *testing.T) { } // ==================================== -// MsgDeactivate +// MsgDeactivateTunnel // ==================================== -func TestMsgDeactivate_ValidateBasic(t *testing.T) { - msg := types.NewMsgDeactivate(1, validCreator.String()) +func TestMsgDeactivateTunnel_ValidateBasic(t *testing.T) { + msg := types.NewMsgDeactivateTunnel(1, validCreator.String()) // Valid case err := msg.ValidateBasic() diff --git a/x/tunnel/types/tx.pb.go b/x/tunnel/types/tx.pb.go index 3a7d1d380..3c286112a 100644 --- a/x/tunnel/types/tx.pb.go +++ b/x/tunnel/types/tx.pb.go @@ -473,26 +473,26 @@ func (m *MsgWithdrawFeePayerFundsResponse) XXX_DiscardUnknown() { var xxx_messageInfo_MsgWithdrawFeePayerFundsResponse proto.InternalMessageInfo -// Activate is the transaction message to activate a tunnel. -type MsgActivate struct { +// ActivateTunnel is the transaction message to activate a tunnel. +type MsgActivateTunnel struct { // tunnel_id is the ID of the tunnel to activate. TunnelID uint64 `protobuf:"varint,1,opt,name=tunnel_id,json=tunnelId,proto3" json:"tunnel_id,omitempty"` // creator is the address of the creator. Creator string `protobuf:"bytes,2,opt,name=creator,proto3" json:"creator,omitempty"` } -func (m *MsgActivate) Reset() { *m = MsgActivate{} } -func (m *MsgActivate) String() string { return proto.CompactTextString(m) } -func (*MsgActivate) ProtoMessage() {} -func (*MsgActivate) Descriptor() ([]byte, []int) { +func (m *MsgActivateTunnel) Reset() { *m = MsgActivateTunnel{} } +func (m *MsgActivateTunnel) String() string { return proto.CompactTextString(m) } +func (*MsgActivateTunnel) ProtoMessage() {} +func (*MsgActivateTunnel) Descriptor() ([]byte, []int) { return fileDescriptor_d18351d83b4705d0, []int{8} } -func (m *MsgActivate) XXX_Unmarshal(b []byte) error { +func (m *MsgActivateTunnel) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *MsgActivate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *MsgActivateTunnel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_MsgActivate.Marshal(b, m, deterministic) + return xxx_messageInfo_MsgActivateTunnel.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -502,48 +502,48 @@ func (m *MsgActivate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) return b[:n], nil } } -func (m *MsgActivate) XXX_Merge(src proto.Message) { - xxx_messageInfo_MsgActivate.Merge(m, src) +func (m *MsgActivateTunnel) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgActivateTunnel.Merge(m, src) } -func (m *MsgActivate) XXX_Size() int { +func (m *MsgActivateTunnel) XXX_Size() int { return m.Size() } -func (m *MsgActivate) XXX_DiscardUnknown() { - xxx_messageInfo_MsgActivate.DiscardUnknown(m) +func (m *MsgActivateTunnel) XXX_DiscardUnknown() { + xxx_messageInfo_MsgActivateTunnel.DiscardUnknown(m) } -var xxx_messageInfo_MsgActivate proto.InternalMessageInfo +var xxx_messageInfo_MsgActivateTunnel proto.InternalMessageInfo -func (m *MsgActivate) GetTunnelID() uint64 { +func (m *MsgActivateTunnel) GetTunnelID() uint64 { if m != nil { return m.TunnelID } return 0 } -func (m *MsgActivate) GetCreator() string { +func (m *MsgActivateTunnel) GetCreator() string { if m != nil { return m.Creator } return "" } -// MsgActivateResponse is the response type for the Msg/Activate RPC method. -type MsgActivateResponse struct { +// MsgActivateTunnelResponse is the response type for the Msg/Activate RPC method. +type MsgActivateTunnelResponse struct { } -func (m *MsgActivateResponse) Reset() { *m = MsgActivateResponse{} } -func (m *MsgActivateResponse) String() string { return proto.CompactTextString(m) } -func (*MsgActivateResponse) ProtoMessage() {} -func (*MsgActivateResponse) Descriptor() ([]byte, []int) { +func (m *MsgActivateTunnelResponse) Reset() { *m = MsgActivateTunnelResponse{} } +func (m *MsgActivateTunnelResponse) String() string { return proto.CompactTextString(m) } +func (*MsgActivateTunnelResponse) ProtoMessage() {} +func (*MsgActivateTunnelResponse) Descriptor() ([]byte, []int) { return fileDescriptor_d18351d83b4705d0, []int{9} } -func (m *MsgActivateResponse) XXX_Unmarshal(b []byte) error { +func (m *MsgActivateTunnelResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *MsgActivateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *MsgActivateTunnelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_MsgActivateResponse.Marshal(b, m, deterministic) + return xxx_messageInfo_MsgActivateTunnelResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -553,38 +553,38 @@ func (m *MsgActivateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, return b[:n], nil } } -func (m *MsgActivateResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MsgActivateResponse.Merge(m, src) +func (m *MsgActivateTunnelResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgActivateTunnelResponse.Merge(m, src) } -func (m *MsgActivateResponse) XXX_Size() int { +func (m *MsgActivateTunnelResponse) XXX_Size() int { return m.Size() } -func (m *MsgActivateResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MsgActivateResponse.DiscardUnknown(m) +func (m *MsgActivateTunnelResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MsgActivateTunnelResponse.DiscardUnknown(m) } -var xxx_messageInfo_MsgActivateResponse proto.InternalMessageInfo +var xxx_messageInfo_MsgActivateTunnelResponse proto.InternalMessageInfo -// MsgDeactivate is the transaction message to deactivate a tunnel. -type MsgDeactivate struct { +// MsgDeactivateTunnel is the transaction message to deactivate a tunnel. +type MsgDeactivateTunnel struct { // tunnel_id is the ID of the tunnel to deactivate. TunnelID uint64 `protobuf:"varint,1,opt,name=tunnel_id,json=tunnelId,proto3" json:"tunnel_id,omitempty"` // creator is the address of the creator. Creator string `protobuf:"bytes,2,opt,name=creator,proto3" json:"creator,omitempty"` } -func (m *MsgDeactivate) Reset() { *m = MsgDeactivate{} } -func (m *MsgDeactivate) String() string { return proto.CompactTextString(m) } -func (*MsgDeactivate) ProtoMessage() {} -func (*MsgDeactivate) Descriptor() ([]byte, []int) { +func (m *MsgDeactivateTunnel) Reset() { *m = MsgDeactivateTunnel{} } +func (m *MsgDeactivateTunnel) String() string { return proto.CompactTextString(m) } +func (*MsgDeactivateTunnel) ProtoMessage() {} +func (*MsgDeactivateTunnel) Descriptor() ([]byte, []int) { return fileDescriptor_d18351d83b4705d0, []int{10} } -func (m *MsgDeactivate) XXX_Unmarshal(b []byte) error { +func (m *MsgDeactivateTunnel) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *MsgDeactivate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *MsgDeactivateTunnel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_MsgDeactivate.Marshal(b, m, deterministic) + return xxx_messageInfo_MsgDeactivateTunnel.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -594,26 +594,26 @@ func (m *MsgDeactivate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error return b[:n], nil } } -func (m *MsgDeactivate) XXX_Merge(src proto.Message) { - xxx_messageInfo_MsgDeactivate.Merge(m, src) +func (m *MsgDeactivateTunnel) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgDeactivateTunnel.Merge(m, src) } -func (m *MsgDeactivate) XXX_Size() int { +func (m *MsgDeactivateTunnel) XXX_Size() int { return m.Size() } -func (m *MsgDeactivate) XXX_DiscardUnknown() { - xxx_messageInfo_MsgDeactivate.DiscardUnknown(m) +func (m *MsgDeactivateTunnel) XXX_DiscardUnknown() { + xxx_messageInfo_MsgDeactivateTunnel.DiscardUnknown(m) } -var xxx_messageInfo_MsgDeactivate proto.InternalMessageInfo +var xxx_messageInfo_MsgDeactivateTunnel proto.InternalMessageInfo -func (m *MsgDeactivate) GetTunnelID() uint64 { +func (m *MsgDeactivateTunnel) GetTunnelID() uint64 { if m != nil { return m.TunnelID } return 0 } -func (m *MsgDeactivate) GetCreator() string { +func (m *MsgDeactivateTunnel) GetCreator() string { if m != nil { return m.Creator } @@ -621,21 +621,21 @@ func (m *MsgDeactivate) GetCreator() string { } // MsgDeactivateTunnelResponse is the response type for the Msg/Deactivate RPC method. -type MsgDeactivateResponse struct { +type MsgDeactivateTunnelResponse struct { } -func (m *MsgDeactivateResponse) Reset() { *m = MsgDeactivateResponse{} } -func (m *MsgDeactivateResponse) String() string { return proto.CompactTextString(m) } -func (*MsgDeactivateResponse) ProtoMessage() {} -func (*MsgDeactivateResponse) Descriptor() ([]byte, []int) { +func (m *MsgDeactivateTunnelResponse) Reset() { *m = MsgDeactivateTunnelResponse{} } +func (m *MsgDeactivateTunnelResponse) String() string { return proto.CompactTextString(m) } +func (*MsgDeactivateTunnelResponse) ProtoMessage() {} +func (*MsgDeactivateTunnelResponse) Descriptor() ([]byte, []int) { return fileDescriptor_d18351d83b4705d0, []int{11} } -func (m *MsgDeactivateResponse) XXX_Unmarshal(b []byte) error { +func (m *MsgDeactivateTunnelResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *MsgDeactivateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *MsgDeactivateTunnelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_MsgDeactivateResponse.Marshal(b, m, deterministic) + return xxx_messageInfo_MsgDeactivateTunnelResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -645,17 +645,17 @@ func (m *MsgDeactivateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byt return b[:n], nil } } -func (m *MsgDeactivateResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MsgDeactivateResponse.Merge(m, src) +func (m *MsgDeactivateTunnelResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_MsgDeactivateTunnelResponse.Merge(m, src) } -func (m *MsgDeactivateResponse) XXX_Size() int { +func (m *MsgDeactivateTunnelResponse) XXX_Size() int { return m.Size() } -func (m *MsgDeactivateResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MsgDeactivateResponse.DiscardUnknown(m) +func (m *MsgDeactivateTunnelResponse) XXX_DiscardUnknown() { + xxx_messageInfo_MsgDeactivateTunnelResponse.DiscardUnknown(m) } -var xxx_messageInfo_MsgDeactivateResponse proto.InternalMessageInfo +var xxx_messageInfo_MsgDeactivateTunnelResponse proto.InternalMessageInfo // MsgTriggerTunnel is the transaction message to manually trigger a tunnel. type MsgTriggerTunnel struct { @@ -1052,10 +1052,10 @@ func init() { proto.RegisterType((*MsgUpdateSignalsAndIntervalResponse)(nil), "band.tunnel.v1beta1.MsgUpdateSignalsAndIntervalResponse") proto.RegisterType((*MsgWithdrawFeePayerFunds)(nil), "band.tunnel.v1beta1.MsgWithdrawFeePayerFunds") proto.RegisterType((*MsgWithdrawFeePayerFundsResponse)(nil), "band.tunnel.v1beta1.MsgWithdrawFeePayerFundsResponse") - proto.RegisterType((*MsgActivate)(nil), "band.tunnel.v1beta1.MsgActivate") - proto.RegisterType((*MsgActivateResponse)(nil), "band.tunnel.v1beta1.MsgActivateResponse") - proto.RegisterType((*MsgDeactivate)(nil), "band.tunnel.v1beta1.MsgDeactivate") - proto.RegisterType((*MsgDeactivateResponse)(nil), "band.tunnel.v1beta1.MsgDeactivateResponse") + proto.RegisterType((*MsgActivateTunnel)(nil), "band.tunnel.v1beta1.MsgActivateTunnel") + proto.RegisterType((*MsgActivateTunnelResponse)(nil), "band.tunnel.v1beta1.MsgActivateTunnelResponse") + proto.RegisterType((*MsgDeactivateTunnel)(nil), "band.tunnel.v1beta1.MsgDeactivateTunnel") + proto.RegisterType((*MsgDeactivateTunnelResponse)(nil), "band.tunnel.v1beta1.MsgDeactivateTunnelResponse") proto.RegisterType((*MsgTriggerTunnel)(nil), "band.tunnel.v1beta1.MsgTriggerTunnel") proto.RegisterType((*MsgTriggerTunnelResponse)(nil), "band.tunnel.v1beta1.MsgTriggerTunnelResponse") proto.RegisterType((*MsgDepositToTunnel)(nil), "band.tunnel.v1beta1.MsgDepositToTunnel") @@ -1069,77 +1069,77 @@ func init() { func init() { proto.RegisterFile("band/tunnel/v1beta1/tx.proto", fileDescriptor_d18351d83b4705d0) } var fileDescriptor_d18351d83b4705d0 = []byte{ - // 1118 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x57, 0xcf, 0x6f, 0x1b, 0x45, - 0x14, 0xce, 0xda, 0x49, 0x48, 0x5e, 0xd2, 0xa6, 0xdd, 0x26, 0xcd, 0x66, 0x1b, 0x1c, 0x6b, 0xd3, - 0x50, 0x37, 0x34, 0xbb, 0x4d, 0xa2, 0x56, 0x25, 0xb7, 0xb8, 0x51, 0xa5, 0x1c, 0x2c, 0x55, 0x6e, - 0xa0, 0x12, 0x42, 0x8a, 0xd6, 0xde, 0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, 0xdf, 0x4f, 0x00, 0x62, 0xc5, 0x4c, 0xeb, 0xb7, 0x2e, 0xc2, 0xa8, 0xeb, - 0xe7, 0x63, 0xc4, 0xee, 0x08, 0x2e, 0x24, 0x2b, 0xcf, 0x5a, 0xbf, 0xc5, 0x09, 0x98, 0xba, 0x31, - 0x14, 0x4c, 0x1c, 0xf3, 0x04, 0xe6, 0xd2, 0x65, 0xe2, 0x46, 0x7f, 0x96, 0x09, 0xa0, 0x6a, 0x0c, - 0x09, 0x14, 0x87, 0x51, 0x90, 0x33, 0xde, 0xd8, 0xf5, 0x73, 0xc3, 0x2a, 0xb0, 0xea, 0xd6, 0xf0, - 0x58, 0x71, 0x6a, 0x0d, 0x66, 0x13, 0xaf, 0xd3, 0xf5, 0xc1, 0x17, 0x39, 0x40, 0xf5, 0x4f, 0xe6, - 0xac, 0x87, 0x43, 0x9d, 0xf8, 0xdc, 0x7f, 0xa1, 0xcb, 0xfb, 0x2f, 0x8e, 0x0b, 0xd2, 0xcb, 0xe3, - 0x82, 0xf4, 0xcf, 0x71, 0x41, 0xfa, 0xe6, 0xa4, 0x30, 0xf6, 0xf2, 0xa4, 0x30, 0xf6, 0xd7, 0x49, - 0x61, 0xec, 0x63, 0x23, 0xf6, 0xd4, 0xfb, 0x1b, 0xb3, 0xbf, 0x36, 0x75, 0xdc, 0x34, 0xea, 0x0d, - 0xd3, 0x71, 0x8d, 0xee, 0xb6, 0xf1, 0x2c, 0xfc, 0xff, 0xcc, 0xde, 0xfd, 0xda, 0x24, 0x43, 0x6c, - 0xff, 0x1b, 0x00, 0x00, 0xff, 0xff, 0x5f, 0x6b, 0xc5, 0x2f, 0x48, 0x10, 0x00, 0x00, + // 1117 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x57, 0xbd, 0x6f, 0xdb, 0x46, + 0x14, 0x37, 0x25, 0xdb, 0xb5, 0x9f, 0x5d, 0x7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90, 0x10, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1162,10 +1162,10 @@ type MsgClient interface { UpdateSignalsAndInterval(ctx context.Context, in *MsgUpdateSignalsAndInterval, opts ...grpc.CallOption) (*MsgUpdateSignalsAndIntervalResponse, error) // WithdrawFeePayerFunds is a RPC method to withdraw fee payer funds to creator. WithdrawFeePayerFunds(ctx context.Context, in *MsgWithdrawFeePayerFunds, opts ...grpc.CallOption) (*MsgWithdrawFeePayerFundsResponse, error) - // Activate is a RPC method to activate a tunnel. - Activate(ctx context.Context, in *MsgActivate, opts ...grpc.CallOption) (*MsgActivateResponse, error) - // Deactivate is a RPC method to deactivate a tunnel. - Deactivate(ctx context.Context, in *MsgDeactivate, opts ...grpc.CallOption) (*MsgDeactivateResponse, error) + // ActivateTunnel is a RPC method to activate a tunnel. + ActivateTunnel(ctx context.Context, in *MsgActivateTunnel, opts ...grpc.CallOption) (*MsgActivateTunnelResponse, error) + // DeactivateTunnel is a RPC method to deactivate a tunnel. + DeactivateTunnel(ctx context.Context, in *MsgDeactivateTunnel, opts ...grpc.CallOption) (*MsgDeactivateTunnelResponse, error) // TriggerTunnel is a RPC method to manually trigger a tunnel. TriggerTunnel(ctx context.Context, in *MsgTriggerTunnel, opts ...grpc.CallOption) (*MsgTriggerTunnelResponse, error) // DepositToTunnel is a RPC method to deposit to an existing tunnel. @@ -1220,18 +1220,18 @@ func (c *msgClient) WithdrawFeePayerFunds(ctx context.Context, in *MsgWithdrawFe return out, nil } -func (c *msgClient) Activate(ctx context.Context, in *MsgActivate, opts ...grpc.CallOption) (*MsgActivateResponse, error) { - out := new(MsgActivateResponse) - err := c.cc.Invoke(ctx, "/band.tunnel.v1beta1.Msg/Activate", in, out, opts...) +func (c *msgClient) ActivateTunnel(ctx context.Context, in *MsgActivateTunnel, opts ...grpc.CallOption) (*MsgActivateTunnelResponse, error) { + out := new(MsgActivateTunnelResponse) + err := c.cc.Invoke(ctx, "/band.tunnel.v1beta1.Msg/ActivateTunnel", in, out, opts...) if err != nil { return nil, err } return out, nil } -func (c *msgClient) Deactivate(ctx context.Context, in *MsgDeactivate, opts ...grpc.CallOption) (*MsgDeactivateResponse, error) { - out := new(MsgDeactivateResponse) - err := c.cc.Invoke(ctx, "/band.tunnel.v1beta1.Msg/Deactivate", in, out, opts...) +func (c *msgClient) DeactivateTunnel(ctx context.Context, in *MsgDeactivateTunnel, opts ...grpc.CallOption) (*MsgDeactivateTunnelResponse, error) { + out := new(MsgDeactivateTunnelResponse) + err := c.cc.Invoke(ctx, "/band.tunnel.v1beta1.Msg/DeactivateTunnel", in, out, opts...) if err != nil { return nil, err } @@ -1284,10 +1284,10 @@ type MsgServer interface { UpdateSignalsAndInterval(context.Context, *MsgUpdateSignalsAndInterval) (*MsgUpdateSignalsAndIntervalResponse, error) // WithdrawFeePayerFunds is a RPC method to withdraw fee payer funds to creator. WithdrawFeePayerFunds(context.Context, *MsgWithdrawFeePayerFunds) (*MsgWithdrawFeePayerFundsResponse, error) - // Activate is a RPC method to activate a tunnel. - Activate(context.Context, *MsgActivate) (*MsgActivateResponse, error) - // Deactivate is a RPC method to deactivate a tunnel. - Deactivate(context.Context, *MsgDeactivate) (*MsgDeactivateResponse, error) + // ActivateTunnel is a RPC method to activate a tunnel. + ActivateTunnel(context.Context, *MsgActivateTunnel) (*MsgActivateTunnelResponse, error) + // DeactivateTunnel is a RPC method to deactivate a tunnel. + DeactivateTunnel(context.Context, *MsgDeactivateTunnel) (*MsgDeactivateTunnelResponse, error) // TriggerTunnel is a RPC method to manually trigger a tunnel. TriggerTunnel(context.Context, *MsgTriggerTunnel) (*MsgTriggerTunnelResponse, error) // DepositToTunnel is a RPC method to deposit to an existing tunnel. @@ -1314,11 +1314,11 @@ func (*UnimplementedMsgServer) UpdateSignalsAndInterval(ctx context.Context, req func (*UnimplementedMsgServer) WithdrawFeePayerFunds(ctx context.Context, req *MsgWithdrawFeePayerFunds) (*MsgWithdrawFeePayerFundsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method WithdrawFeePayerFunds not implemented") } -func (*UnimplementedMsgServer) Activate(ctx context.Context, req *MsgActivate) (*MsgActivateResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Activate not implemented") +func (*UnimplementedMsgServer) ActivateTunnel(ctx context.Context, req *MsgActivateTunnel) (*MsgActivateTunnelResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ActivateTunnel not implemented") } -func (*UnimplementedMsgServer) Deactivate(ctx context.Context, req *MsgDeactivate) (*MsgDeactivateResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Deactivate not implemented") +func (*UnimplementedMsgServer) DeactivateTunnel(ctx context.Context, req *MsgDeactivateTunnel) (*MsgDeactivateTunnelResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeactivateTunnel not implemented") } func (*UnimplementedMsgServer) TriggerTunnel(ctx context.Context, req *MsgTriggerTunnel) (*MsgTriggerTunnelResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method TriggerTunnel not implemented") @@ -1409,38 +1409,38 @@ func _Msg_WithdrawFeePayerFunds_Handler(srv interface{}, ctx context.Context, de return interceptor(ctx, in, info, handler) } -func _Msg_Activate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgActivate) +func _Msg_ActivateTunnel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgActivateTunnel) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(MsgServer).Activate(ctx, in) + return srv.(MsgServer).ActivateTunnel(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/band.tunnel.v1beta1.Msg/Activate", + FullMethod: "/band.tunnel.v1beta1.Msg/ActivateTunnel", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).Activate(ctx, req.(*MsgActivate)) + return srv.(MsgServer).ActivateTunnel(ctx, req.(*MsgActivateTunnel)) } return interceptor(ctx, in, info, handler) } -func _Msg_Deactivate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(MsgDeactivate) +func _Msg_DeactivateTunnel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(MsgDeactivateTunnel) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(MsgServer).Deactivate(ctx, in) + return srv.(MsgServer).DeactivateTunnel(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/band.tunnel.v1beta1.Msg/Deactivate", + FullMethod: "/band.tunnel.v1beta1.Msg/DeactivateTunnel", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(MsgServer).Deactivate(ctx, req.(*MsgDeactivate)) + return srv.(MsgServer).DeactivateTunnel(ctx, req.(*MsgDeactivateTunnel)) } return interceptor(ctx, in, info, handler) } @@ -1538,12 +1538,12 @@ var _Msg_serviceDesc = grpc.ServiceDesc{ Handler: _Msg_WithdrawFeePayerFunds_Handler, }, { - MethodName: "Activate", - Handler: _Msg_Activate_Handler, + MethodName: "ActivateTunnel", + Handler: _Msg_ActivateTunnel_Handler, }, { - MethodName: "Deactivate", - Handler: _Msg_Deactivate_Handler, + MethodName: "DeactivateTunnel", + Handler: _Msg_DeactivateTunnel_Handler, }, { MethodName: "TriggerTunnel", @@ -1888,7 +1888,7 @@ func (m *MsgWithdrawFeePayerFundsResponse) MarshalToSizedBuffer(dAtA []byte) (in return len(dAtA) - i, nil } -func (m *MsgActivate) Marshal() (dAtA []byte, err error) { +func (m *MsgActivateTunnel) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -1898,12 +1898,12 @@ func (m *MsgActivate) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *MsgActivate) MarshalTo(dAtA []byte) (int, error) { +func (m *MsgActivateTunnel) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgActivate) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MsgActivateTunnel) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -1923,7 +1923,7 @@ func (m *MsgActivate) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *MsgActivateResponse) Marshal() (dAtA []byte, err error) { +func (m *MsgActivateTunnelResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -1933,12 +1933,12 @@ func (m *MsgActivateResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *MsgActivateResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *MsgActivateTunnelResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgActivateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MsgActivateTunnelResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -1946,7 +1946,7 @@ func (m *MsgActivateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *MsgDeactivate) Marshal() (dAtA []byte, err error) { +func (m *MsgDeactivateTunnel) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -1956,12 +1956,12 @@ func (m *MsgDeactivate) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *MsgDeactivate) MarshalTo(dAtA []byte) (int, error) { +func (m *MsgDeactivateTunnel) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgDeactivate) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MsgDeactivateTunnel) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -1981,7 +1981,7 @@ func (m *MsgDeactivate) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *MsgDeactivateResponse) Marshal() (dAtA []byte, err error) { +func (m *MsgDeactivateTunnelResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -1991,12 +1991,12 @@ func (m *MsgDeactivateResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *MsgDeactivateResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *MsgDeactivateTunnelResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *MsgDeactivateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *MsgDeactivateTunnelResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -2418,7 +2418,7 @@ func (m *MsgWithdrawFeePayerFundsResponse) Size() (n int) { return n } -func (m *MsgActivate) Size() (n int) { +func (m *MsgActivateTunnel) Size() (n int) { if m == nil { return 0 } @@ -2434,7 +2434,7 @@ func (m *MsgActivate) Size() (n int) { return n } -func (m *MsgActivateResponse) Size() (n int) { +func (m *MsgActivateTunnelResponse) Size() (n int) { if m == nil { return 0 } @@ -2443,7 +2443,7 @@ func (m *MsgActivateResponse) Size() (n int) { return n } -func (m *MsgDeactivate) Size() (n int) { +func (m *MsgDeactivateTunnel) Size() (n int) { if m == nil { return 0 } @@ -2459,7 +2459,7 @@ func (m *MsgDeactivate) Size() (n int) { return n } -func (m *MsgDeactivateResponse) Size() (n int) { +func (m *MsgDeactivateTunnelResponse) Size() (n int) { if m == nil { return 0 } @@ -3435,7 +3435,7 @@ func (m *MsgWithdrawFeePayerFundsResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgActivate) Unmarshal(dAtA []byte) error { +func (m *MsgActivateTunnel) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -3458,10 +3458,10 @@ func (m *MsgActivate) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgActivate: wiretype end group for non-group") + return fmt.Errorf("proto: MsgActivateTunnel: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgActivate: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgActivateTunnel: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -3536,7 +3536,7 @@ func (m *MsgActivate) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgActivateResponse) Unmarshal(dAtA []byte) error { +func (m *MsgActivateTunnelResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -3559,10 +3559,10 @@ func (m *MsgActivateResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgActivateResponse: wiretype end group for non-group") + return fmt.Errorf("proto: MsgActivateTunnelResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgActivateResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgActivateTunnelResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -3586,7 +3586,7 @@ func (m *MsgActivateResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgDeactivate) Unmarshal(dAtA []byte) error { +func (m *MsgDeactivateTunnel) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -3609,10 +3609,10 @@ func (m *MsgDeactivate) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgDeactivate: wiretype end group for non-group") + return fmt.Errorf("proto: MsgDeactivateTunnel: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgDeactivate: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgDeactivateTunnel: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -3687,7 +3687,7 @@ func (m *MsgDeactivate) Unmarshal(dAtA []byte) error { } return nil } -func (m *MsgDeactivateResponse) Unmarshal(dAtA []byte) error { +func (m *MsgDeactivateTunnelResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -3710,10 +3710,10 @@ func (m *MsgDeactivateResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MsgDeactivateResponse: wiretype end group for non-group") + return fmt.Errorf("proto: MsgDeactivateTunnelResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MsgDeactivateResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MsgDeactivateTunnelResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: