Path: blob/main/components/supervisor-api/go/notification.pb.gw.go
2500 views
// Copyright (c) 2023 Gitpod GmbH. All rights reserved.1// Licensed under the GNU Affero General Public License (AGPL).2// See License.AGPL.txt in the project root for license information.34// Code generated by protoc-gen-grpc-gateway. DO NOT EDIT.5// source: notification.proto67/*8Package api is a reverse proxy.910It translates gRPC into RESTful JSON APIs.11*/12package api1314import (15"context"16"io"17"net/http"1819"github.com/grpc-ecosystem/grpc-gateway/v2/runtime"20"github.com/grpc-ecosystem/grpc-gateway/v2/utilities"21"google.golang.org/grpc"22"google.golang.org/grpc/codes"23"google.golang.org/grpc/grpclog"24"google.golang.org/grpc/metadata"25"google.golang.org/grpc/status"26"google.golang.org/protobuf/proto"27)2829// Suppress "imported and not used" errors30var _ codes.Code31var _ io.Reader32var _ status.Status33var _ = runtime.String34var _ = utilities.NewDoubleArray35var _ = metadata.Join3637var (38filter_NotificationService_Notify_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)}39)4041func request_NotificationService_Notify_0(ctx context.Context, marshaler runtime.Marshaler, client NotificationServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {42var protoReq NotifyRequest43var metadata runtime.ServerMetadata4445if err := req.ParseForm(); err != nil {46return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)47}48if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_NotificationService_Notify_0); err != nil {49return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)50}5152msg, err := client.Notify(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))53return msg, metadata, err5455}5657func local_request_NotificationService_Notify_0(ctx context.Context, marshaler runtime.Marshaler, server NotificationServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {58var protoReq NotifyRequest59var metadata runtime.ServerMetadata6061if err := req.ParseForm(); err != nil {62return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)63}64if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_NotificationService_Notify_0); err != nil {65return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)66}6768msg, err := server.Notify(ctx, &protoReq)69return msg, metadata, err7071}7273func request_NotificationService_Subscribe_0(ctx context.Context, marshaler runtime.Marshaler, client NotificationServiceClient, req *http.Request, pathParams map[string]string) (NotificationService_SubscribeClient, runtime.ServerMetadata, error) {74var protoReq SubscribeRequest75var metadata runtime.ServerMetadata7677stream, err := client.Subscribe(ctx, &protoReq)78if err != nil {79return nil, metadata, err80}81header, err := stream.Header()82if err != nil {83return nil, metadata, err84}85metadata.HeaderMD = header86return stream, metadata, nil8788}8990var (91filter_NotificationService_Respond_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)}92)9394func request_NotificationService_Respond_0(ctx context.Context, marshaler runtime.Marshaler, client NotificationServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {95var protoReq RespondRequest96var metadata runtime.ServerMetadata9798if err := req.ParseForm(); err != nil {99return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)100}101if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_NotificationService_Respond_0); err != nil {102return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)103}104105msg, err := client.Respond(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))106return msg, metadata, err107108}109110func local_request_NotificationService_Respond_0(ctx context.Context, marshaler runtime.Marshaler, server NotificationServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {111var protoReq RespondRequest112var metadata runtime.ServerMetadata113114if err := req.ParseForm(); err != nil {115return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)116}117if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_NotificationService_Respond_0); err != nil {118return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)119}120121msg, err := server.Respond(ctx, &protoReq)122return msg, metadata, err123124}125126func request_NotificationService_SubscribeActive_0(ctx context.Context, marshaler runtime.Marshaler, client NotificationServiceClient, req *http.Request, pathParams map[string]string) (NotificationService_SubscribeActiveClient, runtime.ServerMetadata, error) {127var protoReq SubscribeActiveRequest128var metadata runtime.ServerMetadata129130stream, err := client.SubscribeActive(ctx, &protoReq)131if err != nil {132return nil, metadata, err133}134header, err := stream.Header()135if err != nil {136return nil, metadata, err137}138metadata.HeaderMD = header139return stream, metadata, nil140141}142143var (144filter_NotificationService_NotifyActive_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)}145)146147func request_NotificationService_NotifyActive_0(ctx context.Context, marshaler runtime.Marshaler, client NotificationServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {148var protoReq NotifyActiveRequest149var metadata runtime.ServerMetadata150151if err := req.ParseForm(); err != nil {152return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)153}154if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_NotificationService_NotifyActive_0); err != nil {155return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)156}157158msg, err := client.NotifyActive(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))159return msg, metadata, err160161}162163func local_request_NotificationService_NotifyActive_0(ctx context.Context, marshaler runtime.Marshaler, server NotificationServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {164var protoReq NotifyActiveRequest165var metadata runtime.ServerMetadata166167if err := req.ParseForm(); err != nil {168return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)169}170if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_NotificationService_NotifyActive_0); err != nil {171return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)172}173174msg, err := server.NotifyActive(ctx, &protoReq)175return msg, metadata, err176177}178179var (180filter_NotificationService_NotifyActiveRespond_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)}181)182183func request_NotificationService_NotifyActiveRespond_0(ctx context.Context, marshaler runtime.Marshaler, client NotificationServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {184var protoReq NotifyActiveRespondRequest185var metadata runtime.ServerMetadata186187if err := req.ParseForm(); err != nil {188return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)189}190if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_NotificationService_NotifyActiveRespond_0); err != nil {191return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)192}193194msg, err := client.NotifyActiveRespond(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))195return msg, metadata, err196197}198199func local_request_NotificationService_NotifyActiveRespond_0(ctx context.Context, marshaler runtime.Marshaler, server NotificationServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {200var protoReq NotifyActiveRespondRequest201var metadata runtime.ServerMetadata202203if err := req.ParseForm(); err != nil {204return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)205}206if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_NotificationService_NotifyActiveRespond_0); err != nil {207return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)208}209210msg, err := server.NotifyActiveRespond(ctx, &protoReq)211return msg, metadata, err212213}214215// RegisterNotificationServiceHandlerServer registers the http handlers for service NotificationService to "mux".216// UnaryRPC :call NotificationServiceServer directly.217// StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.218// Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterNotificationServiceHandlerFromEndpoint instead.219func RegisterNotificationServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server NotificationServiceServer) error {220221mux.Handle("POST", pattern_NotificationService_Notify_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {222ctx, cancel := context.WithCancel(req.Context())223defer cancel()224var stream runtime.ServerTransportStream225ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)226inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)227var err error228var annotatedContext context.Context229annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/supervisor.NotificationService/Notify", runtime.WithHTTPPathPattern("/v1/notification/notify"))230if err != nil {231runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)232return233}234resp, md, err := local_request_NotificationService_Notify_0(annotatedContext, inboundMarshaler, server, req, pathParams)235md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())236annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)237if err != nil {238runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)239return240}241242forward_NotificationService_Notify_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)243244})245246mux.Handle("GET", pattern_NotificationService_Subscribe_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {247err := status.Error(codes.Unimplemented, "streaming calls are not yet supported in the in-process transport")248_, outboundMarshaler := runtime.MarshalerForRequest(mux, req)249runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)250return251})252253mux.Handle("POST", pattern_NotificationService_Respond_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {254ctx, cancel := context.WithCancel(req.Context())255defer cancel()256var stream runtime.ServerTransportStream257ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)258inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)259var err error260var annotatedContext context.Context261annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/supervisor.NotificationService/Respond", runtime.WithHTTPPathPattern("/v1/notification/respond"))262if err != nil {263runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)264return265}266resp, md, err := local_request_NotificationService_Respond_0(annotatedContext, inboundMarshaler, server, req, pathParams)267md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())268annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)269if err != nil {270runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)271return272}273274forward_NotificationService_Respond_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)275276})277278mux.Handle("POST", pattern_NotificationService_SubscribeActive_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {279err := status.Error(codes.Unimplemented, "streaming calls are not yet supported in the in-process transport")280_, outboundMarshaler := runtime.MarshalerForRequest(mux, req)281runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)282return283})284285mux.Handle("POST", pattern_NotificationService_NotifyActive_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {286ctx, cancel := context.WithCancel(req.Context())287defer cancel()288var stream runtime.ServerTransportStream289ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)290inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)291var err error292var annotatedContext context.Context293annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/supervisor.NotificationService/NotifyActive", runtime.WithHTTPPathPattern("/v1/notification/notify-action"))294if err != nil {295runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)296return297}298resp, md, err := local_request_NotificationService_NotifyActive_0(annotatedContext, inboundMarshaler, server, req, pathParams)299md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())300annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)301if err != nil {302runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)303return304}305306forward_NotificationService_NotifyActive_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)307308})309310mux.Handle("POST", pattern_NotificationService_NotifyActiveRespond_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {311ctx, cancel := context.WithCancel(req.Context())312defer cancel()313var stream runtime.ServerTransportStream314ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)315inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)316var err error317var annotatedContext context.Context318annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/supervisor.NotificationService/NotifyActiveRespond", runtime.WithHTTPPathPattern("/v1/notification/notify-action-respond"))319if err != nil {320runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)321return322}323resp, md, err := local_request_NotificationService_NotifyActiveRespond_0(annotatedContext, inboundMarshaler, server, req, pathParams)324md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())325annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)326if err != nil {327runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)328return329}330331forward_NotificationService_NotifyActiveRespond_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)332333})334335return nil336}337338// RegisterNotificationServiceHandlerFromEndpoint is same as RegisterNotificationServiceHandler but339// automatically dials to "endpoint" and closes the connection when "ctx" gets done.340func RegisterNotificationServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error) {341conn, err := grpc.Dial(endpoint, opts...)342if err != nil {343return err344}345defer func() {346if err != nil {347if cerr := conn.Close(); cerr != nil {348grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr)349}350return351}352go func() {353<-ctx.Done()354if cerr := conn.Close(); cerr != nil {355grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr)356}357}()358}()359360return RegisterNotificationServiceHandler(ctx, mux, conn)361}362363// RegisterNotificationServiceHandler registers the http handlers for service NotificationService to "mux".364// The handlers forward requests to the grpc endpoint over "conn".365func RegisterNotificationServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error {366return RegisterNotificationServiceHandlerClient(ctx, mux, NewNotificationServiceClient(conn))367}368369// RegisterNotificationServiceHandlerClient registers the http handlers for service NotificationService370// to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "NotificationServiceClient".371// Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "NotificationServiceClient"372// doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in373// "NotificationServiceClient" to call the correct interceptors.374func RegisterNotificationServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client NotificationServiceClient) error {375376mux.Handle("POST", pattern_NotificationService_Notify_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {377ctx, cancel := context.WithCancel(req.Context())378defer cancel()379inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)380var err error381var annotatedContext context.Context382annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/supervisor.NotificationService/Notify", runtime.WithHTTPPathPattern("/v1/notification/notify"))383if err != nil {384runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)385return386}387resp, md, err := request_NotificationService_Notify_0(annotatedContext, inboundMarshaler, client, req, pathParams)388annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)389if err != nil {390runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)391return392}393394forward_NotificationService_Notify_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)395396})397398mux.Handle("GET", pattern_NotificationService_Subscribe_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {399ctx, cancel := context.WithCancel(req.Context())400defer cancel()401inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)402var err error403var annotatedContext context.Context404annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/supervisor.NotificationService/Subscribe", runtime.WithHTTPPathPattern("/v1/notification/subscribe"))405if err != nil {406runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)407return408}409resp, md, err := request_NotificationService_Subscribe_0(annotatedContext, inboundMarshaler, client, req, pathParams)410annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)411if err != nil {412runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)413return414}415416forward_NotificationService_Subscribe_0(annotatedContext, mux, outboundMarshaler, w, req, func() (proto.Message, error) { return resp.Recv() }, mux.GetForwardResponseOptions()...)417418})419420mux.Handle("POST", pattern_NotificationService_Respond_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {421ctx, cancel := context.WithCancel(req.Context())422defer cancel()423inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)424var err error425var annotatedContext context.Context426annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/supervisor.NotificationService/Respond", runtime.WithHTTPPathPattern("/v1/notification/respond"))427if err != nil {428runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)429return430}431resp, md, err := request_NotificationService_Respond_0(annotatedContext, inboundMarshaler, client, req, pathParams)432annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)433if err != nil {434runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)435return436}437438forward_NotificationService_Respond_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)439440})441442mux.Handle("POST", pattern_NotificationService_SubscribeActive_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {443ctx, cancel := context.WithCancel(req.Context())444defer cancel()445inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)446var err error447var annotatedContext context.Context448annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/supervisor.NotificationService/SubscribeActive", runtime.WithHTTPPathPattern("/v1/notification/subscribe-active"))449if err != nil {450runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)451return452}453resp, md, err := request_NotificationService_SubscribeActive_0(annotatedContext, inboundMarshaler, client, req, pathParams)454annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)455if err != nil {456runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)457return458}459460forward_NotificationService_SubscribeActive_0(annotatedContext, mux, outboundMarshaler, w, req, func() (proto.Message, error) { return resp.Recv() }, mux.GetForwardResponseOptions()...)461462})463464mux.Handle("POST", pattern_NotificationService_NotifyActive_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {465ctx, cancel := context.WithCancel(req.Context())466defer cancel()467inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)468var err error469var annotatedContext context.Context470annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/supervisor.NotificationService/NotifyActive", runtime.WithHTTPPathPattern("/v1/notification/notify-action"))471if err != nil {472runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)473return474}475resp, md, err := request_NotificationService_NotifyActive_0(annotatedContext, inboundMarshaler, client, req, pathParams)476annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)477if err != nil {478runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)479return480}481482forward_NotificationService_NotifyActive_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)483484})485486mux.Handle("POST", pattern_NotificationService_NotifyActiveRespond_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {487ctx, cancel := context.WithCancel(req.Context())488defer cancel()489inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)490var err error491var annotatedContext context.Context492annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/supervisor.NotificationService/NotifyActiveRespond", runtime.WithHTTPPathPattern("/v1/notification/notify-action-respond"))493if err != nil {494runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)495return496}497resp, md, err := request_NotificationService_NotifyActiveRespond_0(annotatedContext, inboundMarshaler, client, req, pathParams)498annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)499if err != nil {500runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)501return502}503504forward_NotificationService_NotifyActiveRespond_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)505506})507508return nil509}510511var (512pattern_NotificationService_Notify_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"v1", "notification", "notify"}, ""))513514pattern_NotificationService_Subscribe_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"v1", "notification", "subscribe"}, ""))515516pattern_NotificationService_Respond_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"v1", "notification", "respond"}, ""))517518pattern_NotificationService_SubscribeActive_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"v1", "notification", "subscribe-active"}, ""))519520pattern_NotificationService_NotifyActive_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"v1", "notification", "notify-action"}, ""))521522pattern_NotificationService_NotifyActiveRespond_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"v1", "notification", "notify-action-respond"}, ""))523)524525var (526forward_NotificationService_Notify_0 = runtime.ForwardResponseMessage527528forward_NotificationService_Subscribe_0 = runtime.ForwardResponseStream529530forward_NotificationService_Respond_0 = runtime.ForwardResponseMessage531532forward_NotificationService_SubscribeActive_0 = runtime.ForwardResponseStream533534forward_NotificationService_NotifyActive_0 = runtime.ForwardResponseMessage535536forward_NotificationService_NotifyActiveRespond_0 = runtime.ForwardResponseMessage537)538539540