github.com/fibonacci-chain/fbc@v0.0.0-20231124064014-c7636198c1e9/libs/cosmos-sdk/server/grpc/reflection/v2alpha1/reflection.pb.gw.go (about)

     1  // Code generated by protoc-gen-grpc-gateway. DO NOT EDIT.
     2  // source: cosmos/base/reflection/v2alpha1/reflection.proto
     3  
     4  /*
     5  Package v2alpha1 is a reverse proxy.
     6  
     7  It translates gRPC into RESTful JSON APIs.
     8  */
     9  package v2alpha1
    10  
    11  import (
    12  	"context"
    13  	"io"
    14  	"net/http"
    15  
    16  	"github.com/golang/protobuf/descriptor"
    17  	"github.com/golang/protobuf/proto"
    18  	"github.com/grpc-ecosystem/grpc-gateway/runtime"
    19  	"github.com/grpc-ecosystem/grpc-gateway/utilities"
    20  	"google.golang.org/grpc"
    21  	"google.golang.org/grpc/codes"
    22  	"google.golang.org/grpc/grpclog"
    23  	"google.golang.org/grpc/metadata"
    24  	"google.golang.org/grpc/status"
    25  )
    26  
    27  // Suppress "imported and not used" errors
    28  var _ codes.Code
    29  var _ io.Reader
    30  var _ status.Status
    31  var _ = runtime.String
    32  var _ = utilities.NewDoubleArray
    33  var _ = descriptor.ForMessage
    34  var _ = metadata.Join
    35  
    36  func request_ReflectionService_GetAuthnDescriptor_0(ctx context.Context, marshaler runtime.Marshaler, client ReflectionServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
    37  	var protoReq GetAuthnDescriptorRequest
    38  	var metadata runtime.ServerMetadata
    39  
    40  	msg, err := client.GetAuthnDescriptor(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))
    41  	return msg, metadata, err
    42  
    43  }
    44  
    45  func local_request_ReflectionService_GetAuthnDescriptor_0(ctx context.Context, marshaler runtime.Marshaler, server ReflectionServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
    46  	var protoReq GetAuthnDescriptorRequest
    47  	var metadata runtime.ServerMetadata
    48  
    49  	msg, err := server.GetAuthnDescriptor(ctx, &protoReq)
    50  	return msg, metadata, err
    51  
    52  }
    53  
    54  func request_ReflectionService_GetChainDescriptor_0(ctx context.Context, marshaler runtime.Marshaler, client ReflectionServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
    55  	var protoReq GetChainDescriptorRequest
    56  	var metadata runtime.ServerMetadata
    57  
    58  	msg, err := client.GetChainDescriptor(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))
    59  	return msg, metadata, err
    60  
    61  }
    62  
    63  func local_request_ReflectionService_GetChainDescriptor_0(ctx context.Context, marshaler runtime.Marshaler, server ReflectionServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
    64  	var protoReq GetChainDescriptorRequest
    65  	var metadata runtime.ServerMetadata
    66  
    67  	msg, err := server.GetChainDescriptor(ctx, &protoReq)
    68  	return msg, metadata, err
    69  
    70  }
    71  
    72  func request_ReflectionService_GetCodecDescriptor_0(ctx context.Context, marshaler runtime.Marshaler, client ReflectionServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
    73  	var protoReq GetCodecDescriptorRequest
    74  	var metadata runtime.ServerMetadata
    75  
    76  	msg, err := client.GetCodecDescriptor(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))
    77  	return msg, metadata, err
    78  
    79  }
    80  
    81  func local_request_ReflectionService_GetCodecDescriptor_0(ctx context.Context, marshaler runtime.Marshaler, server ReflectionServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
    82  	var protoReq GetCodecDescriptorRequest
    83  	var metadata runtime.ServerMetadata
    84  
    85  	msg, err := server.GetCodecDescriptor(ctx, &protoReq)
    86  	return msg, metadata, err
    87  
    88  }
    89  
    90  func request_ReflectionService_GetConfigurationDescriptor_0(ctx context.Context, marshaler runtime.Marshaler, client ReflectionServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
    91  	var protoReq GetConfigurationDescriptorRequest
    92  	var metadata runtime.ServerMetadata
    93  
    94  	msg, err := client.GetConfigurationDescriptor(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))
    95  	return msg, metadata, err
    96  
    97  }
    98  
    99  func local_request_ReflectionService_GetConfigurationDescriptor_0(ctx context.Context, marshaler runtime.Marshaler, server ReflectionServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
   100  	var protoReq GetConfigurationDescriptorRequest
   101  	var metadata runtime.ServerMetadata
   102  
   103  	msg, err := server.GetConfigurationDescriptor(ctx, &protoReq)
   104  	return msg, metadata, err
   105  
   106  }
   107  
   108  func request_ReflectionService_GetQueryServicesDescriptor_0(ctx context.Context, marshaler runtime.Marshaler, client ReflectionServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
   109  	var protoReq GetQueryServicesDescriptorRequest
   110  	var metadata runtime.ServerMetadata
   111  
   112  	msg, err := client.GetQueryServicesDescriptor(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))
   113  	return msg, metadata, err
   114  
   115  }
   116  
   117  func local_request_ReflectionService_GetQueryServicesDescriptor_0(ctx context.Context, marshaler runtime.Marshaler, server ReflectionServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
   118  	var protoReq GetQueryServicesDescriptorRequest
   119  	var metadata runtime.ServerMetadata
   120  
   121  	msg, err := server.GetQueryServicesDescriptor(ctx, &protoReq)
   122  	return msg, metadata, err
   123  
   124  }
   125  
   126  func request_ReflectionService_GetTxDescriptor_0(ctx context.Context, marshaler runtime.Marshaler, client ReflectionServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
   127  	var protoReq GetTxDescriptorRequest
   128  	var metadata runtime.ServerMetadata
   129  
   130  	msg, err := client.GetTxDescriptor(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))
   131  	return msg, metadata, err
   132  
   133  }
   134  
   135  func local_request_ReflectionService_GetTxDescriptor_0(ctx context.Context, marshaler runtime.Marshaler, server ReflectionServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
   136  	var protoReq GetTxDescriptorRequest
   137  	var metadata runtime.ServerMetadata
   138  
   139  	msg, err := server.GetTxDescriptor(ctx, &protoReq)
   140  	return msg, metadata, err
   141  
   142  }
   143  
   144  // RegisterReflectionServiceHandlerServer registers the http handlers for service ReflectionService to "mux".
   145  // UnaryRPC     :call ReflectionServiceServer directly.
   146  // StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.
   147  // Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterReflectionServiceHandlerFromEndpoint instead.
   148  func RegisterReflectionServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ReflectionServiceServer) error {
   149  
   150  	mux.Handle("GET", pattern_ReflectionService_GetAuthnDescriptor_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
   151  		ctx, cancel := context.WithCancel(req.Context())
   152  		defer cancel()
   153  		var stream runtime.ServerTransportStream
   154  		ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
   155  		inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
   156  		rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req)
   157  		if err != nil {
   158  			runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
   159  			return
   160  		}
   161  		resp, md, err := local_request_ReflectionService_GetAuthnDescriptor_0(rctx, inboundMarshaler, server, req, pathParams)
   162  		md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
   163  		ctx = runtime.NewServerMetadataContext(ctx, md)
   164  		if err != nil {
   165  			runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
   166  			return
   167  		}
   168  
   169  		forward_ReflectionService_GetAuthnDescriptor_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
   170  
   171  	})
   172  
   173  	mux.Handle("GET", pattern_ReflectionService_GetChainDescriptor_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
   174  		ctx, cancel := context.WithCancel(req.Context())
   175  		defer cancel()
   176  		var stream runtime.ServerTransportStream
   177  		ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
   178  		inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
   179  		rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req)
   180  		if err != nil {
   181  			runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
   182  			return
   183  		}
   184  		resp, md, err := local_request_ReflectionService_GetChainDescriptor_0(rctx, inboundMarshaler, server, req, pathParams)
   185  		md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
   186  		ctx = runtime.NewServerMetadataContext(ctx, md)
   187  		if err != nil {
   188  			runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
   189  			return
   190  		}
   191  
   192  		forward_ReflectionService_GetChainDescriptor_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
   193  
   194  	})
   195  
   196  	mux.Handle("GET", pattern_ReflectionService_GetCodecDescriptor_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
   197  		ctx, cancel := context.WithCancel(req.Context())
   198  		defer cancel()
   199  		var stream runtime.ServerTransportStream
   200  		ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
   201  		inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
   202  		rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req)
   203  		if err != nil {
   204  			runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
   205  			return
   206  		}
   207  		resp, md, err := local_request_ReflectionService_GetCodecDescriptor_0(rctx, inboundMarshaler, server, req, pathParams)
   208  		md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
   209  		ctx = runtime.NewServerMetadataContext(ctx, md)
   210  		if err != nil {
   211  			runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
   212  			return
   213  		}
   214  
   215  		forward_ReflectionService_GetCodecDescriptor_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
   216  
   217  	})
   218  
   219  	mux.Handle("GET", pattern_ReflectionService_GetConfigurationDescriptor_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
   220  		ctx, cancel := context.WithCancel(req.Context())
   221  		defer cancel()
   222  		var stream runtime.ServerTransportStream
   223  		ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
   224  		inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
   225  		rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req)
   226  		if err != nil {
   227  			runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
   228  			return
   229  		}
   230  		resp, md, err := local_request_ReflectionService_GetConfigurationDescriptor_0(rctx, inboundMarshaler, server, req, pathParams)
   231  		md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
   232  		ctx = runtime.NewServerMetadataContext(ctx, md)
   233  		if err != nil {
   234  			runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
   235  			return
   236  		}
   237  
   238  		forward_ReflectionService_GetConfigurationDescriptor_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
   239  
   240  	})
   241  
   242  	mux.Handle("GET", pattern_ReflectionService_GetQueryServicesDescriptor_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
   243  		ctx, cancel := context.WithCancel(req.Context())
   244  		defer cancel()
   245  		var stream runtime.ServerTransportStream
   246  		ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
   247  		inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
   248  		rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req)
   249  		if err != nil {
   250  			runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
   251  			return
   252  		}
   253  		resp, md, err := local_request_ReflectionService_GetQueryServicesDescriptor_0(rctx, inboundMarshaler, server, req, pathParams)
   254  		md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
   255  		ctx = runtime.NewServerMetadataContext(ctx, md)
   256  		if err != nil {
   257  			runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
   258  			return
   259  		}
   260  
   261  		forward_ReflectionService_GetQueryServicesDescriptor_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
   262  
   263  	})
   264  
   265  	mux.Handle("GET", pattern_ReflectionService_GetTxDescriptor_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
   266  		ctx, cancel := context.WithCancel(req.Context())
   267  		defer cancel()
   268  		var stream runtime.ServerTransportStream
   269  		ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
   270  		inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
   271  		rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req)
   272  		if err != nil {
   273  			runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
   274  			return
   275  		}
   276  		resp, md, err := local_request_ReflectionService_GetTxDescriptor_0(rctx, inboundMarshaler, server, req, pathParams)
   277  		md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
   278  		ctx = runtime.NewServerMetadataContext(ctx, md)
   279  		if err != nil {
   280  			runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
   281  			return
   282  		}
   283  
   284  		forward_ReflectionService_GetTxDescriptor_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
   285  
   286  	})
   287  
   288  	return nil
   289  }
   290  
   291  // RegisterReflectionServiceHandlerFromEndpoint is same as RegisterReflectionServiceHandler but
   292  // automatically dials to "endpoint" and closes the connection when "ctx" gets done.
   293  func RegisterReflectionServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) {
   294  	conn, err := grpc.Dial(endpoint, opts...)
   295  	if err != nil {
   296  		return err
   297  	}
   298  	defer func() {
   299  		if err != nil {
   300  			if cerr := conn.Close(); cerr != nil {
   301  				grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr)
   302  			}
   303  			return
   304  		}
   305  		go func() {
   306  			<-ctx.Done()
   307  			if cerr := conn.Close(); cerr != nil {
   308  				grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr)
   309  			}
   310  		}()
   311  	}()
   312  
   313  	return RegisterReflectionServiceHandler(ctx, mux, conn)
   314  }
   315  
   316  // RegisterReflectionServiceHandler registers the http handlers for service ReflectionService to "mux".
   317  // The handlers forward requests to the grpc endpoint over "conn".
   318  func RegisterReflectionServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error {
   319  	return RegisterReflectionServiceHandlerClient(ctx, mux, NewReflectionServiceClient(conn))
   320  }
   321  
   322  // RegisterReflectionServiceHandlerClient registers the http handlers for service ReflectionService
   323  // to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ReflectionServiceClient".
   324  // Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ReflectionServiceClient"
   325  // doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in
   326  // "ReflectionServiceClient" to call the correct interceptors.
   327  func RegisterReflectionServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ReflectionServiceClient) error {
   328  
   329  	mux.Handle("GET", pattern_ReflectionService_GetAuthnDescriptor_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
   330  		ctx, cancel := context.WithCancel(req.Context())
   331  		defer cancel()
   332  		inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
   333  		rctx, err := runtime.AnnotateContext(ctx, mux, req)
   334  		if err != nil {
   335  			runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
   336  			return
   337  		}
   338  		resp, md, err := request_ReflectionService_GetAuthnDescriptor_0(rctx, inboundMarshaler, client, req, pathParams)
   339  		ctx = runtime.NewServerMetadataContext(ctx, md)
   340  		if err != nil {
   341  			runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
   342  			return
   343  		}
   344  
   345  		forward_ReflectionService_GetAuthnDescriptor_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
   346  
   347  	})
   348  
   349  	mux.Handle("GET", pattern_ReflectionService_GetChainDescriptor_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
   350  		ctx, cancel := context.WithCancel(req.Context())
   351  		defer cancel()
   352  		inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
   353  		rctx, err := runtime.AnnotateContext(ctx, mux, req)
   354  		if err != nil {
   355  			runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
   356  			return
   357  		}
   358  		resp, md, err := request_ReflectionService_GetChainDescriptor_0(rctx, inboundMarshaler, client, req, pathParams)
   359  		ctx = runtime.NewServerMetadataContext(ctx, md)
   360  		if err != nil {
   361  			runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
   362  			return
   363  		}
   364  
   365  		forward_ReflectionService_GetChainDescriptor_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
   366  
   367  	})
   368  
   369  	mux.Handle("GET", pattern_ReflectionService_GetCodecDescriptor_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
   370  		ctx, cancel := context.WithCancel(req.Context())
   371  		defer cancel()
   372  		inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
   373  		rctx, err := runtime.AnnotateContext(ctx, mux, req)
   374  		if err != nil {
   375  			runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
   376  			return
   377  		}
   378  		resp, md, err := request_ReflectionService_GetCodecDescriptor_0(rctx, inboundMarshaler, client, req, pathParams)
   379  		ctx = runtime.NewServerMetadataContext(ctx, md)
   380  		if err != nil {
   381  			runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
   382  			return
   383  		}
   384  
   385  		forward_ReflectionService_GetCodecDescriptor_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
   386  
   387  	})
   388  
   389  	mux.Handle("GET", pattern_ReflectionService_GetConfigurationDescriptor_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
   390  		ctx, cancel := context.WithCancel(req.Context())
   391  		defer cancel()
   392  		inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
   393  		rctx, err := runtime.AnnotateContext(ctx, mux, req)
   394  		if err != nil {
   395  			runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
   396  			return
   397  		}
   398  		resp, md, err := request_ReflectionService_GetConfigurationDescriptor_0(rctx, inboundMarshaler, client, req, pathParams)
   399  		ctx = runtime.NewServerMetadataContext(ctx, md)
   400  		if err != nil {
   401  			runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
   402  			return
   403  		}
   404  
   405  		forward_ReflectionService_GetConfigurationDescriptor_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
   406  
   407  	})
   408  
   409  	mux.Handle("GET", pattern_ReflectionService_GetQueryServicesDescriptor_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
   410  		ctx, cancel := context.WithCancel(req.Context())
   411  		defer cancel()
   412  		inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
   413  		rctx, err := runtime.AnnotateContext(ctx, mux, req)
   414  		if err != nil {
   415  			runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
   416  			return
   417  		}
   418  		resp, md, err := request_ReflectionService_GetQueryServicesDescriptor_0(rctx, inboundMarshaler, client, req, pathParams)
   419  		ctx = runtime.NewServerMetadataContext(ctx, md)
   420  		if err != nil {
   421  			runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
   422  			return
   423  		}
   424  
   425  		forward_ReflectionService_GetQueryServicesDescriptor_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
   426  
   427  	})
   428  
   429  	mux.Handle("GET", pattern_ReflectionService_GetTxDescriptor_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
   430  		ctx, cancel := context.WithCancel(req.Context())
   431  		defer cancel()
   432  		inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
   433  		rctx, err := runtime.AnnotateContext(ctx, mux, req)
   434  		if err != nil {
   435  			runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
   436  			return
   437  		}
   438  		resp, md, err := request_ReflectionService_GetTxDescriptor_0(rctx, inboundMarshaler, client, req, pathParams)
   439  		ctx = runtime.NewServerMetadataContext(ctx, md)
   440  		if err != nil {
   441  			runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
   442  			return
   443  		}
   444  
   445  		forward_ReflectionService_GetTxDescriptor_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
   446  
   447  	})
   448  
   449  	return nil
   450  }
   451  
   452  var (
   453  	pattern_ReflectionService_GetAuthnDescriptor_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4, 2, 5}, []string{"cosmos", "base", "reflection", "v1beta1", "app_descriptor", "authn"}, "", runtime.AssumeColonVerbOpt(false)))
   454  
   455  	pattern_ReflectionService_GetChainDescriptor_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4, 2, 5}, []string{"cosmos", "base", "reflection", "v1beta1", "app_descriptor", "chain"}, "", runtime.AssumeColonVerbOpt(false)))
   456  
   457  	pattern_ReflectionService_GetCodecDescriptor_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4, 2, 5}, []string{"cosmos", "base", "reflection", "v1beta1", "app_descriptor", "codec"}, "", runtime.AssumeColonVerbOpt(false)))
   458  
   459  	pattern_ReflectionService_GetConfigurationDescriptor_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4, 2, 5}, []string{"cosmos", "base", "reflection", "v1beta1", "app_descriptor", "configuration"}, "", runtime.AssumeColonVerbOpt(false)))
   460  
   461  	pattern_ReflectionService_GetQueryServicesDescriptor_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4, 2, 5}, []string{"cosmos", "base", "reflection", "v1beta1", "app_descriptor", "query_services"}, "", runtime.AssumeColonVerbOpt(false)))
   462  
   463  	pattern_ReflectionService_GetTxDescriptor_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 2, 4, 2, 5}, []string{"cosmos", "base", "reflection", "v1beta1", "app_descriptor", "tx_descriptor"}, "", runtime.AssumeColonVerbOpt(false)))
   464  )
   465  
   466  var (
   467  	forward_ReflectionService_GetAuthnDescriptor_0 = runtime.ForwardResponseMessage
   468  
   469  	forward_ReflectionService_GetChainDescriptor_0 = runtime.ForwardResponseMessage
   470  
   471  	forward_ReflectionService_GetCodecDescriptor_0 = runtime.ForwardResponseMessage
   472  
   473  	forward_ReflectionService_GetConfigurationDescriptor_0 = runtime.ForwardResponseMessage
   474  
   475  	forward_ReflectionService_GetQueryServicesDescriptor_0 = runtime.ForwardResponseMessage
   476  
   477  	forward_ReflectionService_GetTxDescriptor_0 = runtime.ForwardResponseMessage
   478  )