From 5300ba7c4c765caea018ab0c41997149bb8806d3 Mon Sep 17 00:00:00 2001 From: Manfred Touron Date: Sun, 8 Dec 2019 01:41:14 +0100 Subject: [PATCH] chore: socket.io API --- api/calcapi.proto | 56 + cmd/calcbiz/main.go | 55 +- gen.sum | 2 +- pkg/calcapi/calcapi.pb.go | 10877 ++++++++++++++++++++++-------------- pkg/calcapi/socketio.go | 159 +- pkg/calcapi/svc.go | 5 + 6 files changed, 7010 insertions(+), 4144 deletions(-) diff --git a/api/calcapi.proto b/api/calcapi.proto index cf372572..fe917870 100644 --- a/api/calcapi.proto +++ b/api/calcapi.proto @@ -214,4 +214,60 @@ message Recettator { string kind = 6; string name_and_quantity = 7; } +} + +//// socket.io + +message SIO { + + message Join { + message Input { + string room = 1; + Peer peer = 2; + } + message Output { + repeated Peer peers = 1; + } + message Event { + string room = 1; + Peer peer = 2; + } + } + + message Broadcast { + message Input { + string room = 1; + string msg = 2; + } + message Output {} + message Event { + string room = 1; + string msg = 2; + Peer peer = 3; + } + } + + message Disconnect { + message Event { + string room = 1; + Peer peer = 2; + } + } + + message Error { + bool is_error = 1; + string err_msg = 2; + } + + message Peer { + string name = 1; + string color = 2; + } + + message Context { + Peer peer = 1; + bool no_metadata = 2; + // int32 joined_at = 3; + } + } \ No newline at end of file diff --git a/cmd/calcbiz/main.go b/cmd/calcbiz/main.go index d08194ec..08939cc0 100644 --- a/cmd/calcbiz/main.go +++ b/cmd/calcbiz/main.go @@ -53,7 +53,7 @@ func main() { app.Before = func(c *cli.Context) error { config := zap.NewDevelopmentConfig() config.Level.SetLevel(zap.DebugLevel) - config.DisableStacktrace = false + config.DisableStacktrace = true config.EncoderConfig.EncodeLevel = zapcore.CapitalColorLevelEncoder l, err := config.Build() if err != nil { @@ -188,31 +188,53 @@ func startHTTPServer(ctx context.Context, opts *serverOptions) error { routerHandler = m.Middleware(router) } - /// - r := chi.NewRouter() + // socketio server + sio, err := opts.svc.SocketIOServer() + if err != nil { + return errors.Wrap(err, "initialize socket.io server") + } + + // cors cors := cors.New(cors.Options{ - AllowedOrigins: []string{"*"}, + //AllowedOrigins: []string{"*"}, + AllowOriginFunc: func(origin string) bool { return true }, AllowedMethods: []string{"GET", "POST", "PUT", "DELETE", "OPTIONS"}, AllowedHeaders: []string{"Accept", "Authorization", "Content-Type", "X-CSRF-Token"}, ExposedHeaders: []string{"Link"}, AllowCredentials: true, MaxAge: 300, }) - r.Use(cors.Handler) - r.Use(chilogger.Logger(zap.L().Named("http"))) - r.Use(middleware.Recoverer) - r.Use(middleware.Timeout(10 * time.Second)) - r.Use(middleware.RealIP) - r.Use(middleware.RequestID) - r.Mount("/api/", gwmux) - r.Mount("/", routerHandler) + /// chi router + r := chi.NewRouter() + r.Route("/socket.io", func(r chi.Router) { + r.Use(cors.Handler) + r.Use(middleware.Recoverer) + //r.Use(chilogger.Logger(zap.L().Named("http"))) + //r.Use(middleware.Timeout(10 * time.Second)) + //r.Use(middleware.RealIP) + //r.Use(middleware.RequestID) + r.Mount("/", sio) + }) + r.Route("/api", func(r chi.Router) { + r.Use(cors.Handler) + r.Use(chilogger.Logger(zap.L().Named("http"))) + r.Use(middleware.Recoverer) + r.Use(middleware.Timeout(10 * time.Second)) + r.Use(middleware.RealIP) + r.Use(middleware.RequestID) + r.Mount("/", gwmux) + }) + r.Route("/", func(r chi.Router) { + r.Use(chilogger.Logger(zap.L().Named("http"))) + r.Use(middleware.Recoverer) + r.Use(middleware.Timeout(10 * time.Second)) + r.Use(middleware.RealIP) + r.Use(middleware.RequestID) + r.Mount("/", routerHandler) + }) // socket.io - sio, err := opts.svc.SocketIOServer() - if err != nil { - return errors.Wrap(err, "initialize socket.io server") - } go func() { err := sio.Serve() if err != nil { @@ -220,7 +242,6 @@ func startHTTPServer(ctx context.Context, opts *serverOptions) error { } }() defer sio.Close() - r.Mount("/socket.io/", sio) zap.L().Info("starting HTTP server", zap.String("bind", opts.HTTPBind)) m := wsproxy.WebsocketProxy(r) // FIXME: with logger diff --git a/gen.sum b/gen.sum index a3c4b1dc..de883b43 100644 --- a/gen.sum +++ b/gen.sum @@ -1,5 +1,5 @@ 431b63cd908588e398bbb94d1e642e585441099c ./api/dashboard.proto 5c613daf5318661d709f8766163ef986d885b72d Makefile +8578d7af4827f4aaa309e084a3bfe80a7146748b ./api/calcapi.proto a0415fc5002d339337b03fe97801376ff3be3bbd ./api/crew.proto -bf9f980c132b726eee22ccb88d9cfcdb275cfadb ./api/calcapi.proto ffa8325482af5c58dd816e9404f0226db0a1d7de ./api/soundcloud.proto diff --git a/pkg/calcapi/calcapi.pb.go b/pkg/calcapi/calcapi.pb.go index d8954e28..7860beee 100644 --- a/pkg/calcapi/calcapi.pb.go +++ b/pkg/calcapi/calcapi.pb.go @@ -3457,2002 +3457,2012 @@ func (m *Recettator_Ingredient) GetNameAndQuantity() string { return "" } -func init() { - proto.RegisterType((*EchoStream)(nil), "calcbiz.calcapi.EchoStream") - proto.RegisterType((*EchoStream_Input)(nil), "calcbiz.calcapi.EchoStream.Input") - proto.RegisterType((*EchoStream_Output)(nil), "calcbiz.calcapi.EchoStream.Output") - proto.RegisterType((*TestReadStream)(nil), "calcbiz.calcapi.TestReadStream") - proto.RegisterType((*TestReadStream_Input)(nil), "calcbiz.calcapi.TestReadStream.Input") - proto.RegisterType((*TestReadStream_Output)(nil), "calcbiz.calcapi.TestReadStream.Output") - proto.RegisterType((*CounterInc)(nil), "calcbiz.calcapi.CounterInc") - proto.RegisterType((*CounterInc_Input)(nil), "calcbiz.calcapi.CounterInc.Input") - proto.RegisterType((*CounterInc_Output)(nil), "calcbiz.calcapi.CounterInc.Output") - proto.RegisterType((*NumberSetIfBigger)(nil), "calcbiz.calcapi.NumberSetIfBigger") - proto.RegisterType((*NumberSetIfBigger_Input)(nil), "calcbiz.calcapi.NumberSetIfBigger.Input") - proto.RegisterType((*NumberSetIfBigger_Output)(nil), "calcbiz.calcapi.NumberSetIfBigger.Output") - proto.RegisterType((*KeyValueStringSet)(nil), "calcbiz.calcapi.KeyValueStringSet") - proto.RegisterType((*KeyValueStringSet_Input)(nil), "calcbiz.calcapi.KeyValueStringSet.Input") - proto.RegisterType((*KeyValueStringSet_Output)(nil), "calcbiz.calcapi.KeyValueStringSet.Output") - proto.RegisterType((*KeyValueStringGet)(nil), "calcbiz.calcapi.KeyValueStringGet") - proto.RegisterType((*KeyValueStringGet_Input)(nil), "calcbiz.calcapi.KeyValueStringGet.Input") - proto.RegisterType((*KeyValueStringGet_Output)(nil), "calcbiz.calcapi.KeyValueStringGet.Output") - proto.RegisterType((*KeyValueFloatSet)(nil), "calcbiz.calcapi.KeyValueFloatSet") - proto.RegisterType((*KeyValueFloatSet_Input)(nil), "calcbiz.calcapi.KeyValueFloatSet.Input") - proto.RegisterType((*KeyValueFloatSet_Output)(nil), "calcbiz.calcapi.KeyValueFloatSet.Output") - proto.RegisterType((*KeyValueFloatGet)(nil), "calcbiz.calcapi.KeyValueFloatGet") - proto.RegisterType((*KeyValueFloatGet_Input)(nil), "calcbiz.calcapi.KeyValueFloatGet.Input") - proto.RegisterType((*KeyValueFloatGet_Output)(nil), "calcbiz.calcapi.KeyValueFloatGet.Output") - proto.RegisterType((*Dashboard)(nil), "calcbiz.calcapi.Dashboard") - proto.RegisterType((*Dashboard_Input)(nil), "calcbiz.calcapi.Dashboard.Input") - proto.RegisterType((*Dashboard_Output)(nil), "calcbiz.calcapi.Dashboard.Output") - proto.RegisterType((*Hackz)(nil), "calcbiz.calcapi.Hackz") - proto.RegisterType((*Hackz_Input)(nil), "calcbiz.calcapi.Hackz.Input") - proto.RegisterType((*Hackz_Output)(nil), "calcbiz.calcapi.Hackz.Output") - proto.RegisterType((*Crew)(nil), "calcbiz.calcapi.Crew") - proto.RegisterType((*Crew_Input)(nil), "calcbiz.calcapi.Crew.Input") - proto.RegisterType((*Crew_Output)(nil), "calcbiz.calcapi.Crew.Output") - proto.RegisterType((*SoundcloudMe)(nil), "calcbiz.calcapi.SoundcloudMe") - proto.RegisterType((*SoundcloudMe_Input)(nil), "calcbiz.calcapi.SoundcloudMe.Input") - proto.RegisterType((*SoundcloudMe_Output)(nil), "calcbiz.calcapi.SoundcloudMe.Output") - proto.RegisterType((*SoundcloudPlaylists)(nil), "calcbiz.calcapi.SoundcloudPlaylists") - proto.RegisterType((*SoundcloudPlaylists_Input)(nil), "calcbiz.calcapi.SoundcloudPlaylists.Input") - proto.RegisterType((*SoundcloudPlaylists_Output)(nil), "calcbiz.calcapi.SoundcloudPlaylists.Output") - proto.RegisterType((*SoundcloudPlaylist)(nil), "calcbiz.calcapi.SoundcloudPlaylist") - proto.RegisterType((*SoundcloudPlaylist_Input)(nil), "calcbiz.calcapi.SoundcloudPlaylist.Input") - proto.RegisterType((*SoundcloudPlaylist_Output)(nil), "calcbiz.calcapi.SoundcloudPlaylist.Output") - proto.RegisterType((*SoundcloudTracks)(nil), "calcbiz.calcapi.SoundcloudTracks") - proto.RegisterType((*SoundcloudTracks_Input)(nil), "calcbiz.calcapi.SoundcloudTracks.Input") - proto.RegisterType((*SoundcloudTracks_Output)(nil), "calcbiz.calcapi.SoundcloudTracks.Output") - proto.RegisterType((*SoundcloudTrack)(nil), "calcbiz.calcapi.SoundcloudTrack") - proto.RegisterType((*SoundcloudTrack_Input)(nil), "calcbiz.calcapi.SoundcloudTrack.Input") - proto.RegisterType((*SoundcloudTrack_Output)(nil), "calcbiz.calcapi.SoundcloudTrack.Output") - proto.RegisterType((*Metrics)(nil), "calcbiz.calcapi.Metrics") - proto.RegisterType((*Metrics_Input)(nil), "calcbiz.calcapi.Metrics.Input") - proto.RegisterType((*Metrics_Output)(nil), "calcbiz.calcapi.Metrics.Output") - proto.RegisterType((*Ping)(nil), "calcbiz.calcapi.Ping") - proto.RegisterType((*Ping_Input)(nil), "calcbiz.calcapi.Ping.Input") - proto.RegisterType((*Ping_Output)(nil), "calcbiz.calcapi.Ping.Output") - proto.RegisterType((*Kryptos)(nil), "calcbiz.calcapi.Kryptos") - proto.RegisterType((*Kryptos_Input)(nil), "calcbiz.calcapi.Kryptos.Input") - proto.RegisterType((*Kryptos_Output)(nil), "calcbiz.calcapi.Kryptos.Output") - proto.RegisterType((*TpyoEnocde)(nil), "calcbiz.calcapi.TpyoEnocde") - proto.RegisterType((*TpyoEnocde_Ipunt)(nil), "calcbiz.calcapi.TpyoEnocde.Ipunt") - proto.RegisterType((*TpyoEnocde_Ouptut)(nil), "calcbiz.calcapi.TpyoEnocde.Ouptut") - proto.RegisterType((*Numberinfo)(nil), "calcbiz.calcapi.Numberinfo") - proto.RegisterType((*Numberinfo_Input)(nil), "calcbiz.calcapi.Numberinfo.Input") - proto.RegisterType((*Numberinfo_Output)(nil), "calcbiz.calcapi.Numberinfo.Output") - proto.RegisterMapType((map[string]string)(nil), "calcbiz.calcapi.Numberinfo.Output.FactsEntry") - proto.RegisterType((*Moijaime)(nil), "calcbiz.calcapi.Moijaime") - proto.RegisterType((*Moijaime_Input)(nil), "calcbiz.calcapi.Moijaime.Input") - proto.RegisterType((*Moijaime_Output)(nil), "calcbiz.calcapi.Moijaime.Output") - proto.RegisterType((*Wotd)(nil), "calcbiz.calcapi.Wotd") - proto.RegisterType((*Wotd_Input)(nil), "calcbiz.calcapi.Wotd.Input") - proto.RegisterType((*Wotd_Output)(nil), "calcbiz.calcapi.Wotd.Output") - proto.RegisterType((*AlternateLogo)(nil), "calcbiz.calcapi.AlternateLogo") - proto.RegisterType((*AlternateLogo_Input)(nil), "calcbiz.calcapi.AlternateLogo.Input") - proto.RegisterType((*AlternateLogo_Output)(nil), "calcbiz.calcapi.AlternateLogo.Output") - proto.RegisterType((*SpreadshirtRandom)(nil), "calcbiz.calcapi.SpreadshirtRandom") - proto.RegisterType((*SpreadshirtRandom_Input)(nil), "calcbiz.calcapi.SpreadshirtRandom.Input") - proto.RegisterType((*SpreadshirtRandom_Output)(nil), "calcbiz.calcapi.SpreadshirtRandom.Output") - proto.RegisterType((*SpreadshirtAll)(nil), "calcbiz.calcapi.SpreadshirtAll") - proto.RegisterType((*SpreadshirtAll_Input)(nil), "calcbiz.calcapi.SpreadshirtAll.Input") - proto.RegisterType((*SpreadshirtAll_Output)(nil), "calcbiz.calcapi.SpreadshirtAll.Output") - proto.RegisterType((*Recettator)(nil), "calcbiz.calcapi.Recettator") - proto.RegisterType((*Recettator_Input)(nil), "calcbiz.calcapi.Recettator.Input") - proto.RegisterType((*Recettator_Output)(nil), "calcbiz.calcapi.Recettator.Output") - proto.RegisterType((*Recettator_Ingredient)(nil), "calcbiz.calcapi.Recettator.Ingredient") +type SIO struct { } -func init() { proto.RegisterFile("calcapi.proto", fileDescriptor_b4e0a0c9e1471050) } - -var fileDescriptor_b4e0a0c9e1471050 = []byte{ - // 2006 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x59, 0xcb, 0x6f, 0x1c, 0x49, - 0x1d, 0x4e, 0x8f, 0x67, 0xfc, 0xa8, 0xc4, 0xaf, 0x8a, 0x93, 0xd8, 0x1d, 0x67, 0x6c, 0x77, 0xb2, - 0xce, 0xd8, 0xab, 0x99, 0x8e, 0x1c, 0x58, 0x85, 0x80, 0x10, 0x8e, 0xd7, 0x1b, 0xac, 0x90, 0x25, - 0xdb, 0xe3, 0x05, 0x16, 0x0e, 0xa6, 0xdd, 0x5d, 0x33, 0xd3, 0x4c, 0x77, 0x57, 0x53, 0x5d, 0x1d, - 0xef, 0xc4, 0xb2, 0x84, 0x56, 0x42, 0x88, 0xc3, 0x4a, 0x1b, 0xc1, 0x05, 0xc4, 0x9f, 0xc0, 0x85, - 0x13, 0xff, 0x01, 0xda, 0xe3, 0x4a, 0x5c, 0x38, 0xa2, 0x84, 0x3b, 0xff, 0x02, 0xaa, 0x47, 0x3f, - 0x66, 0xba, 0xdb, 0x33, 0x8b, 0xe0, 0x56, 0x55, 0xbf, 0x6f, 0xbe, 0xef, 0xab, 0x5f, 0xbd, 0x7b, - 0xc0, 0xbc, 0x65, 0xba, 0x96, 0x19, 0x38, 0xad, 0x80, 0x60, 0x8a, 0xe1, 0x22, 0xab, 0x9e, 0x3a, - 0xaf, 0x5a, 0xb2, 0x59, 0x5d, 0xef, 0x62, 0xdc, 0x75, 0x91, 0x6e, 0x06, 0x8e, 0x6e, 0xfa, 0x3e, - 0xa6, 0x26, 0x75, 0xb0, 0x1f, 0x0a, 0xb8, 0xda, 0xec, 0x3a, 0xb4, 0x17, 0x9d, 0xb6, 0x2c, 0xec, - 0xe9, 0x5d, 0xdc, 0xc5, 0x3a, 0x6f, 0x3e, 0x8d, 0x3a, 0xbc, 0xc6, 0x2b, 0xbc, 0x24, 0xe1, 0xc0, - 0x22, 0xe8, 0x4c, 0x96, 0x17, 0x6d, 0x33, 0xec, 0x9d, 0x62, 0x93, 0xd8, 0xb2, 0x61, 0x29, 0xc4, - 0x91, 0x6f, 0x5b, 0x2e, 0x8e, 0x64, 0x8b, 0x76, 0x00, 0xc0, 0xa1, 0xd5, 0xc3, 0x6d, 0x4a, 0x90, - 0xe9, 0xa9, 0x6b, 0xa0, 0x76, 0xe4, 0x07, 0x11, 0x85, 0x4b, 0x60, 0xca, 0x0b, 0xbb, 0xab, 0xca, - 0xa6, 0xd2, 0x98, 0x33, 0x58, 0x51, 0x55, 0xc1, 0xf4, 0x0f, 0x23, 0x5a, 0x18, 0xd3, 0xbe, 0x09, - 0x16, 0x8e, 0x51, 0x48, 0x0d, 0x64, 0xda, 0x92, 0x68, 0x46, 0x12, 0x5d, 0xfa, 0xb3, 0x4f, 0x00, - 0x38, 0xc0, 0x91, 0x4f, 0x11, 0x39, 0xf2, 0x2d, 0xf5, 0xdd, 0x8c, 0x76, 0x1f, 0x0d, 0x62, 0x60, - 0x1f, 0x0d, 0x58, 0x4b, 0xd7, 0x0c, 0x56, 0x2b, 0x9b, 0x4a, 0x43, 0x31, 0x58, 0x51, 0xad, 0x27, - 0xb4, 0x2b, 0xa0, 0xf6, 0xd2, 0x74, 0x23, 0x24, 0xa3, 0xa2, 0xa2, 0xd9, 0x60, 0xf9, 0xc3, 0xc8, - 0x3b, 0x45, 0xa4, 0x8d, 0xe8, 0x51, 0xe7, 0x89, 0xd3, 0xed, 0x22, 0xa2, 0xea, 0xe5, 0x0a, 0x85, - 0x2c, 0x63, 0x55, 0x3e, 0x04, 0xcb, 0xcf, 0xd0, 0xe0, 0x47, 0xac, 0xdc, 0xa6, 0xc4, 0xf1, 0xbb, - 0x6d, 0x44, 0x27, 0x56, 0x99, 0x8b, 0x55, 0x66, 0x63, 0x95, 0x3c, 0xdf, 0x53, 0x44, 0x87, 0xc6, - 0x64, 0x98, 0xaf, 0xcc, 0x5f, 0xcc, 0xac, 0x3d, 0x07, 0x4b, 0x31, 0xdf, 0x07, 0x2e, 0x36, 0xe9, - 0xd7, 0xb1, 0xa7, 0xe4, 0xed, 0x8d, 0xd2, 0xfd, 0x77, 0xee, 0x92, 0xec, 0x1d, 0x83, 0xb9, 0xf7, - 0xe3, 0xf9, 0x99, 0x4e, 0x98, 0xef, 0x26, 0xbf, 0xfa, 0x06, 0x98, 0x41, 0x3e, 0x25, 0x0e, 0x0a, - 0x39, 0xeb, 0xd5, 0x3d, 0xb5, 0x15, 0xaf, 0x9c, 0x74, 0x5e, 0x1f, 0x0a, 0x84, 0x11, 0x43, 0xb5, - 0x17, 0xa0, 0xf6, 0x7d, 0xd3, 0xea, 0xbf, 0xfa, 0xdf, 0x31, 0xee, 0x83, 0xea, 0x01, 0x41, 0x67, - 0x29, 0xe1, 0x83, 0x84, 0x70, 0x1b, 0x54, 0xd9, 0x72, 0x93, 0x6c, 0x30, 0x61, 0xe3, 0x6b, 0x90, - 0xfd, 0xc8, 0xe0, 0x71, 0xed, 0x19, 0xb8, 0xd6, 0x4e, 0x56, 0xde, 0x73, 0x94, 0x52, 0xed, 0x25, - 0x54, 0x0d, 0x50, 0xf1, 0x90, 0x24, 0x5a, 0x4d, 0x88, 0x32, 0xeb, 0xf5, 0xe3, 0x10, 0x11, 0xa3, - 0xe2, 0x21, 0x0d, 0x81, 0xeb, 0x29, 0xd9, 0x0b, 0xd7, 0x1c, 0xb8, 0x4e, 0x48, 0xc3, 0x94, 0xf3, - 0x30, 0xe1, 0xfc, 0x36, 0x98, 0x0b, 0xe2, 0xb8, 0xa4, 0xbe, 0x53, 0x44, 0x9d, 0x90, 0x18, 0x29, - 0x5e, 0xfb, 0x4c, 0x01, 0x30, 0xaf, 0xa3, 0x36, 0xe2, 0x01, 0xdf, 0x00, 0x57, 0x63, 0xf0, 0x89, - 0x63, 0x73, 0xfa, 0xaa, 0x01, 0xe2, 0xa6, 0x23, 0x5b, 0x7d, 0x92, 0xf8, 0x78, 0x04, 0x66, 0xe3, - 0x76, 0x69, 0x63, 0xfd, 0x32, 0x1b, 0x46, 0x82, 0xd6, 0x3e, 0x01, 0x4b, 0xa9, 0x87, 0x63, 0x62, - 0x5a, 0xfd, 0x4c, 0x47, 0xbf, 0x93, 0x08, 0xec, 0x81, 0x69, 0xca, 0x83, 0xb9, 0x71, 0xcd, 0xd0, - 0x8b, 0x9f, 0x1b, 0x12, 0xa9, 0x05, 0x60, 0x71, 0x84, 0x5a, 0xd5, 0xe2, 0xbe, 0xad, 0x81, 0x59, - 0x8e, 0x4a, 0x3b, 0x36, 0xc3, 0xeb, 0x47, 0xb6, 0xfa, 0xad, 0x44, 0x54, 0x07, 0x35, 0xde, 0x28, - 0x35, 0xd7, 0x4a, 0x35, 0x0d, 0x81, 0xd3, 0xfe, 0xa6, 0x80, 0x99, 0xe7, 0x88, 0x12, 0xc7, 0xca, - 0x74, 0xe2, 0x2f, 0x4a, 0x66, 0x36, 0x2d, 0x86, 0x6c, 0xef, 0xb7, 0x4e, 0x4e, 0xf1, 0xa7, 0x27, - 0xa1, 0xf3, 0x4a, 0xcc, 0x87, 0x9a, 0x31, 0x2f, 0x9a, 0x9f, 0xe0, 0x4f, 0xdb, 0xce, 0x2b, 0x04, - 0x77, 0xc1, 0x72, 0x88, 0xc8, 0x4b, 0x44, 0x4e, 0x42, 0x6a, 0x12, 0x7a, 0x42, 0x1d, 0x2f, 0x5e, - 0xf8, 0x8b, 0x22, 0xd0, 0x66, 0xed, 0xc7, 0x8e, 0x87, 0x60, 0x0b, 0x5c, 0x97, 0x58, 0x2b, 0x22, - 0x04, 0xf9, 0x12, 0x3d, 0xc5, 0xd1, 0x92, 0xe6, 0x40, 0x44, 0x38, 0xfe, 0x2e, 0x98, 0x97, 0xf8, - 0x28, 0xe0, 0xc8, 0x2a, 0x47, 0x5e, 0x13, 0x8d, 0x1f, 0xf3, 0x36, 0xad, 0x09, 0xaa, 0x2f, 0x1c, - 0xbf, 0x9b, 0x76, 0x62, 0x3d, 0xe9, 0x03, 0x04, 0xd5, 0x00, 0xfb, 0xf1, 0x36, 0xcf, 0xcb, 0xda, - 0xf7, 0xc0, 0xcc, 0x33, 0x32, 0x08, 0x28, 0x0e, 0xd5, 0xdb, 0x71, 0x86, 0x21, 0xa8, 0x76, 0x08, - 0xf6, 0x62, 0x1c, 0x2b, 0xab, 0xab, 0x09, 0xcb, 0x02, 0xa8, 0x50, 0x2c, 0x63, 0x15, 0x71, 0x4a, - 0x1d, 0x07, 0x03, 0x7c, 0xe8, 0x63, 0xcb, 0x46, 0x9c, 0x24, 0x88, 0x7c, 0x41, 0x82, 0x49, 0x4a, - 0x82, 0x89, 0x24, 0x09, 0x68, 0x01, 0xc9, 0x5f, 0x15, 0x00, 0xc4, 0xa1, 0xe0, 0xf8, 0x1d, 0xac, - 0x6e, 0xc4, 0x56, 0x6e, 0x82, 0x69, 0x9f, 0x37, 0x73, 0x6c, 0xc5, 0x90, 0x35, 0xf5, 0x37, 0xe9, - 0xc8, 0x1c, 0x80, 0x5a, 0xc7, 0xb4, 0xf8, 0x22, 0x9a, 0x6a, 0x5c, 0xdd, 0x6b, 0xb6, 0x46, 0x8e, - 0xf0, 0x56, 0xca, 0xdb, 0x12, 0x3f, 0x69, 0x7d, 0xc0, 0xf0, 0x6c, 0x2f, 0x19, 0x18, 0xe2, 0xb7, - 0xea, 0x23, 0x00, 0xd2, 0xc6, 0x49, 0x4f, 0x87, 0xc7, 0x95, 0x47, 0x8a, 0xf6, 0x10, 0xcc, 0x3e, - 0xc7, 0xce, 0x2f, 0x4c, 0xc7, 0xcb, 0x6c, 0x1d, 0x43, 0xdb, 0x6b, 0xdf, 0xe9, 0x74, 0x84, 0xbb, - 0x39, 0x43, 0x54, 0xd8, 0x20, 0xfd, 0x18, 0x53, 0xbb, 0x64, 0x90, 0xce, 0x30, 0xb1, 0xe3, 0xbc, - 0xb1, 0xb2, 0xf6, 0x1e, 0x98, 0xdf, 0x77, 0x29, 0x22, 0xbe, 0x49, 0xd1, 0x0f, 0x70, 0x17, 0x97, - 0x0d, 0xae, 0x49, 0x7b, 0xc9, 0xe0, 0x9a, 0xb4, 0xa7, 0x6d, 0x83, 0xe5, 0x76, 0x40, 0x90, 0x69, - 0x87, 0x3d, 0x87, 0x50, 0xc3, 0xf4, 0x6d, 0x9c, 0x39, 0xfe, 0xd3, 0xc3, 0xe3, 0x2e, 0x58, 0xc8, - 0xe0, 0xf6, 0x5d, 0xb7, 0x08, 0xf4, 0xc7, 0x1a, 0x00, 0x06, 0xb2, 0x10, 0xa5, 0x26, 0xc5, 0x44, - 0x7d, 0xad, 0x64, 0xa6, 0x4b, 0x88, 0x90, 0x70, 0x3c, 0x65, 0xf0, 0x32, 0xdc, 0x01, 0x4b, 0x9e, - 0xe9, 0xf8, 0x27, 0x8e, 0xdf, 0x25, 0xc8, 0x76, 0x90, 0x4f, 0x43, 0x9e, 0xba, 0xaa, 0xb1, 0xc8, - 0xda, 0x8f, 0xd2, 0x66, 0xf8, 0x10, 0xdc, 0x08, 0x91, 0x85, 0x7d, 0xdb, 0x24, 0x83, 0x21, 0xfc, - 0x14, 0xc7, 0xaf, 0x24, 0xc1, 0xec, 0x8f, 0x56, 0x40, 0x2d, 0xa4, 0x28, 0x08, 0xf9, 0x12, 0xa8, - 0x1a, 0xa2, 0xa2, 0xfe, 0xb9, 0x92, 0xcd, 0x3b, 0x75, 0xa8, 0x8b, 0x64, 0x3e, 0x44, 0x85, 0x4d, - 0xa7, 0x00, 0xe1, 0xc0, 0x45, 0xd2, 0x8c, 0xac, 0x41, 0x15, 0xcc, 0x7a, 0x26, 0xe9, 0xdb, 0xf8, - 0xcc, 0x97, 0xcb, 0x2f, 0xa9, 0x67, 0xa5, 0xf8, 0x08, 0xf2, 0x0a, 0xfc, 0xa8, 0xa0, 0x83, 0x35, - 0x3e, 0x01, 0xb7, 0x73, 0x13, 0x30, 0xcd, 0x5a, 0x2b, 0xed, 0x43, 0x3e, 0x11, 0x3f, 0x2b, 0x4b, - 0xc4, 0xf4, 0xd7, 0xe2, 0x2d, 0x4e, 0x58, 0x3c, 0x48, 0x33, 0xe9, 0x20, 0xa9, 0x5f, 0x2a, 0x00, - 0xa4, 0x18, 0x06, 0xf1, 0x4d, 0x2f, 0xce, 0x18, 0x2f, 0xb3, 0xc4, 0xfc, 0x32, 0x32, 0x7d, 0xea, - 0xd0, 0x81, 0x9c, 0xfa, 0x49, 0x9d, 0x25, 0xd3, 0x43, 0xb4, 0x87, 0x6d, 0x99, 0x32, 0x59, 0x63, - 0xed, 0x5d, 0xe4, 0xdb, 0x88, 0xc8, 0xfd, 0x49, 0xd6, 0x78, 0x92, 0x23, 0x97, 0x3a, 0x2c, 0xfd, - 0xb5, 0x4d, 0xa5, 0x31, 0x6b, 0x24, 0x75, 0xa6, 0xdd, 0x77, 0x7c, 0x7b, 0x75, 0x5a, 0x68, 0xb3, - 0x32, 0xdb, 0x4a, 0x99, 0x87, 0x13, 0xd3, 0xb7, 0x4f, 0x12, 0x13, 0x33, 0x62, 0x2b, 0x65, 0x81, - 0x7d, 0xdf, 0xfe, 0x48, 0x36, 0xef, 0xfd, 0x5b, 0x05, 0x33, 0x6d, 0x44, 0x5e, 0x3a, 0x16, 0x82, - 0x04, 0x2c, 0xc8, 0x2d, 0xed, 0xd0, 0xb7, 0x58, 0x01, 0xd6, 0x73, 0xa9, 0x93, 0x80, 0x96, 0x98, - 0xe4, 0x1b, 0xa5, 0x71, 0x39, 0xf7, 0x37, 0x3e, 0xfb, 0xfb, 0xbf, 0x7e, 0x57, 0x59, 0xd3, 0x56, - 0xf8, 0x3b, 0xa0, 0x2f, 0x82, 0x3a, 0x12, 0xf4, 0x8f, 0x95, 0xdd, 0x8c, 0xe6, 0xfb, 0xe8, 0xff, - 0xaa, 0x69, 0xa3, 0x44, 0xd3, 0xc9, 0x6e, 0xbc, 0x70, 0x2b, 0xc7, 0x97, 0x06, 0x5b, 0x7c, 0x4b, - 0x56, 0xb5, 0xcb, 0x20, 0x62, 0x63, 0xd6, 0x56, 0xb8, 0xea, 0x82, 0x36, 0xc7, 0x55, 0x69, 0x30, - 0xc0, 0x4c, 0xea, 0x58, 0x1c, 0x2a, 0xf0, 0x76, 0x8e, 0x81, 0x35, 0xcb, 0x1e, 0xad, 0x17, 0x07, - 0x65, 0x77, 0x96, 0x39, 0xf1, 0x55, 0x28, 0x88, 0x03, 0xc6, 0xd6, 0xcb, 0x5c, 0x32, 0xe1, 0x66, - 0xee, 0xd7, 0x49, 0x4c, 0xf2, 0x6f, 0x5d, 0x82, 0x90, 0x22, 0x37, 0xb9, 0xc8, 0x12, 0x5c, 0xe0, - 0x22, 0xc9, 0xbd, 0x11, 0xfe, 0x44, 0x5e, 0x3c, 0x61, 0xde, 0x23, 0x6f, 0x97, 0x0a, 0x77, 0x4a, - 0xa2, 0x92, 0x1d, 0x72, 0xf6, 0x6b, 0x10, 0x70, 0xf6, 0x1e, 0x27, 0x3c, 0x16, 0x17, 0xd0, 0x82, - 0xcc, 0xb0, 0xe6, 0xd2, 0xcc, 0xf0, 0x60, 0x61, 0x66, 0xd8, 0x9d, 0x14, 0x46, 0xd9, 0xd3, 0xb0, - 0x60, 0x68, 0x33, 0x47, 0x9a, 0x50, 0xd0, 0xc6, 0x9f, 0x7a, 0xda, 0x26, 0xd7, 0x51, 0xe1, 0x2a, - 0xd7, 0xf1, 0x93, 0xb8, 0x7e, 0x2e, 0xca, 0x17, 0xd0, 0xcd, 0xee, 0xf0, 0x05, 0xb2, 0x43, 0x1b, - 0x4e, 0xb1, 0x6c, 0x06, 0x22, 0x65, 0x6f, 0x71, 0xd9, 0x65, 0xb8, 0xc8, 0x65, 0x49, 0xca, 0x6f, - 0xa7, 0x27, 0x27, 0xcc, 0xaf, 0x86, 0x38, 0x24, 0x95, 0x36, 0xcb, 0x01, 0x52, 0xe7, 0x06, 0xd7, - 0x59, 0x84, 0xf3, 0x5c, 0xc7, 0x8b, 0x99, 0x7f, 0xab, 0x14, 0x1c, 0x82, 0xb0, 0x91, 0xa3, 0xcb, - 0x61, 0xa4, 0xf0, 0xce, 0x04, 0xc8, 0xe1, 0x15, 0x0b, 0x6f, 0x71, 0x07, 0x61, 0x0a, 0xd3, 0x89, - 0x50, 0xbd, 0x18, 0x3d, 0x67, 0xe1, 0x3b, 0x97, 0xb1, 0xef, 0xbb, 0xae, 0x34, 0xb1, 0x3d, 0x0e, - 0x26, 0x1d, 0xac, 0x73, 0x07, 0x37, 0xe1, 0x4a, 0xce, 0x81, 0xe9, 0xba, 0x6c, 0xae, 0xb2, 0x5b, - 0x47, 0xc1, 0x5c, 0x65, 0xcd, 0xa5, 0x73, 0x95, 0x07, 0x0b, 0xe7, 0xea, 0x19, 0x63, 0x1b, 0x8c, - 0x5c, 0x4e, 0xe0, 0xbd, 0x1c, 0xc3, 0x50, 0x5c, 0xea, 0xbc, 0x33, 0x06, 0x25, 0x05, 0x6f, 0x73, - 0xc1, 0x1b, 0xf0, 0xba, 0xf8, 0x02, 0x13, 0x43, 0x9a, 0x2e, 0x53, 0x8a, 0x86, 0x9f, 0x6e, 0xf0, - 0x6e, 0x3e, 0x4d, 0x99, 0xb0, 0x14, 0xbe, 0x77, 0x39, 0x48, 0xea, 0xaa, 0x5c, 0x77, 0x05, 0x42, - 0x91, 0xc9, 0x04, 0xa1, 0x7b, 0x08, 0xbe, 0x56, 0x0a, 0x5f, 0x79, 0x70, 0xf7, 0x12, 0xe6, 0x04, - 0x25, 0x5d, 0xbc, 0x3b, 0x11, 0x56, 0x9a, 0xd9, 0xe2, 0x66, 0x6e, 0xc3, 0xb5, 0x51, 0x33, 0xc9, - 0x8b, 0x10, 0xfe, 0xa9, 0xf0, 0x45, 0x08, 0x77, 0x26, 0x90, 0x91, 0x8e, 0x26, 0x71, 0x1f, 0x1b, - 0xd2, 0xb9, 0xa1, 0x1d, 0x78, 0xbf, 0xd4, 0x90, 0x7e, 0x9e, 0x79, 0x80, 0x5e, 0xc0, 0x5f, 0x2b, - 0xf9, 0xc7, 0x22, 0xbc, 0x7f, 0x89, 0xa2, 0x80, 0x48, 0x6b, 0x8d, 0xf1, 0x40, 0x69, 0xac, 0xce, - 0x8d, 0xad, 0xc2, 0x9b, 0xa3, 0xc6, 0xc4, 0xc3, 0x12, 0x7e, 0xae, 0xe4, 0x5e, 0x96, 0x70, 0x7b, - 0x1c, 0xbb, 0x74, 0x31, 0xd6, 0x6e, 0x6c, 0x62, 0x87, 0x9b, 0xb8, 0x0b, 0xb7, 0x8a, 0x4d, 0xe8, - 0xe7, 0xf1, 0xfb, 0xf5, 0x02, 0xfe, 0x3c, 0x79, 0x75, 0x16, 0x5c, 0x18, 0x64, 0xa4, 0xf4, 0xc2, - 0x10, 0xc7, 0xa5, 0xac, 0x3c, 0xba, 0xe1, 0x35, 0xb1, 0x01, 0x4a, 0xda, 0x30, 0xfb, 0x21, 0xaf, - 0x60, 0x4f, 0x4f, 0x83, 0xa5, 0x7b, 0x7a, 0x06, 0x52, 0x98, 0x66, 0x4b, 0xc4, 0x9b, 0x8e, 0x6f, - 0xe9, 0xe7, 0x7d, 0x34, 0xb8, 0x80, 0x7f, 0x50, 0x0a, 0xbe, 0xf1, 0x15, 0x6c, 0xba, 0x39, 0x4c, - 0xe9, 0xa6, 0x9b, 0x47, 0x16, 0x4e, 0x45, 0x71, 0x92, 0x35, 0x43, 0x44, 0x9b, 0x4e, 0xa7, 0x79, - 0xca, 0x91, 0xc2, 0x93, 0x7e, 0xce, 0xdf, 0x6c, 0x17, 0xf0, 0xf7, 0x4a, 0xc1, 0x97, 0xc1, 0x02, - 0x6f, 0x39, 0x4c, 0xa9, 0xb7, 0x3c, 0x52, 0x7a, 0xdb, 0xe5, 0xde, 0xee, 0x69, 0x1b, 0xe2, 0x0a, - 0x87, 0x06, 0x4d, 0xee, 0xa1, 0x19, 0x72, 0x20, 0x73, 0x29, 0xbc, 0xb1, 0x2b, 0xd6, 0x6b, 0xa5, - 0xe0, 0x03, 0xe3, 0x58, 0x5b, 0x4f, 0x27, 0xb6, 0xf5, 0x34, 0xb5, 0x75, 0x9f, 0xdb, 0xda, 0x82, - 0x25, 0xb6, 0xba, 0xb1, 0x2d, 0xf8, 0x85, 0x92, 0xff, 0x48, 0x59, 0xb0, 0x6a, 0x47, 0x21, 0xa5, - 0xab, 0x36, 0x07, 0x1c, 0x5e, 0x30, 0x5a, 0x7d, 0xc4, 0x50, 0x87, 0xe1, 0x86, 0xd3, 0xf4, 0xb9, - 0x92, 0xff, 0xd0, 0x39, 0xce, 0xd2, 0xd3, 0x49, 0x2d, 0x65, 0x72, 0xb4, 0xcd, 0x2d, 0x6d, 0xc2, - 0x62, 0x4b, 0x69, 0x8a, 0x68, 0xf6, 0x1b, 0x7d, 0xc1, 0xf2, 0x4a, 0x83, 0xa5, 0xcb, 0x2b, 0x03, - 0x19, 0x3e, 0xf4, 0xb4, 0x25, 0x2e, 0x8e, 0xac, 0x1e, 0x66, 0x63, 0x83, 0x4c, 0xef, 0xb1, 0xb2, - 0xdb, 0x50, 0x1e, 0x28, 0xf0, 0x57, 0xca, 0xe8, 0x57, 0xfd, 0x82, 0x9b, 0xc4, 0x30, 0xa0, 0xf4, - 0x26, 0x31, 0x02, 0x93, 0x16, 0xee, 0x70, 0x0b, 0xb7, 0xe0, 0x0d, 0xf1, 0x0e, 0x40, 0x21, 0x6d, - 0xb2, 0xcb, 0x84, 0xf4, 0xf1, 0x40, 0x79, 0xf2, 0xde, 0x97, 0x6f, 0xea, 0xca, 0x57, 0x6f, 0xea, - 0xca, 0x3f, 0xdf, 0xd4, 0x95, 0x2f, 0xde, 0xd6, 0xaf, 0x7c, 0xf5, 0xb6, 0x7e, 0xe5, 0x1f, 0x6f, - 0xeb, 0x57, 0x7e, 0xba, 0x1e, 0xb9, 0x94, 0xa0, 0x96, 0x87, 0x74, 0x29, 0xa5, 0x07, 0xfd, 0xae, - 0x2e, 0xe5, 0x4e, 0xa7, 0xf9, 0x7f, 0x1b, 0x0f, 0xff, 0x13, 0x00, 0x00, 0xff, 0xff, 0x0b, 0xe4, - 0xa7, 0xc7, 0x79, 0x19, 0x00, 0x00, +func (m *SIO) Reset() { *m = SIO{} } +func (m *SIO) String() string { return proto.CompactTextString(m) } +func (*SIO) ProtoMessage() {} +func (*SIO) Descriptor() ([]byte, []int) { + return fileDescriptor_b4e0a0c9e1471050, []int{27} +} +func (m *SIO) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *SIO) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_SIO.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *SIO) XXX_Merge(src proto.Message) { + xxx_messageInfo_SIO.Merge(m, src) +} +func (m *SIO) XXX_Size() int { + return m.Size() +} +func (m *SIO) XXX_DiscardUnknown() { + xxx_messageInfo_SIO.DiscardUnknown(m) } -// Reference imports to suppress errors if they are not otherwise used. -var _ context.Context -var _ grpc.ClientConn - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion4 +var xxx_messageInfo_SIO proto.InternalMessageInfo -// ServiceClient is the client API for Service service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type ServiceClient interface { - KryptosEncrypt(ctx context.Context, in *Kryptos_Input, opts ...grpc.CallOption) (*Kryptos_Output, error) - KryptosDecrypt(ctx context.Context, in *Kryptos_Input, opts ...grpc.CallOption) (*Kryptos_Output, error) - TpyoEnocde(ctx context.Context, in *TpyoEnocde_Ipunt, opts ...grpc.CallOption) (*TpyoEnocde_Ouptut, error) - Ping(ctx context.Context, in *Ping_Input, opts ...grpc.CallOption) (*Ping_Output, error) - Dashboard(ctx context.Context, in *Dashboard_Input, opts ...grpc.CallOption) (*Dashboard_Output, error) - Hackz(ctx context.Context, in *Hackz_Input, opts ...grpc.CallOption) (*Hackz_Output, error) - Crew(ctx context.Context, in *Crew_Input, opts ...grpc.CallOption) (*Crew_Output, error) - Numberinfo(ctx context.Context, in *Numberinfo_Input, opts ...grpc.CallOption) (*Numberinfo_Output, error) - Recettator(ctx context.Context, in *Recettator_Input, opts ...grpc.CallOption) (*Recettator_Output, error) - Moijaime(ctx context.Context, in *Moijaime_Input, opts ...grpc.CallOption) (*Moijaime_Output, error) - SpreadshirtRandom(ctx context.Context, in *SpreadshirtRandom_Input, opts ...grpc.CallOption) (*SpreadshirtRandom_Output, error) - SpreadshirtAll(ctx context.Context, in *SpreadshirtAll_Input, opts ...grpc.CallOption) (*SpreadshirtAll_Output, error) - Wotd(ctx context.Context, in *Wotd_Input, opts ...grpc.CallOption) (*Wotd_Output, error) - AlternateLogo(ctx context.Context, in *AlternateLogo_Input, opts ...grpc.CallOption) (*AlternateLogo_Output, error) - SoundcloudMe(ctx context.Context, in *SoundcloudMe_Input, opts ...grpc.CallOption) (*SoundcloudMe_Output, error) - SoundcloudPlaylists(ctx context.Context, in *SoundcloudPlaylists_Input, opts ...grpc.CallOption) (*SoundcloudPlaylists_Output, error) - SoundcloudPlaylist(ctx context.Context, in *SoundcloudPlaylist_Input, opts ...grpc.CallOption) (*SoundcloudPlaylist_Output, error) - SoundcloudTracks(ctx context.Context, in *SoundcloudTracks_Input, opts ...grpc.CallOption) (*SoundcloudTracks_Output, error) - SoundcloudTrack(ctx context.Context, in *SoundcloudTrack_Input, opts ...grpc.CallOption) (*SoundcloudTrack_Output, error) - Metrics(ctx context.Context, in *Metrics_Input, opts ...grpc.CallOption) (*Metrics_Output, error) - CounterInc(ctx context.Context, in *CounterInc_Input, opts ...grpc.CallOption) (*CounterInc_Output, error) - NumberSetIfBigger(ctx context.Context, in *NumberSetIfBigger_Input, opts ...grpc.CallOption) (*NumberSetIfBigger_Output, error) - KeyValueStringSet(ctx context.Context, in *KeyValueStringSet_Input, opts ...grpc.CallOption) (*KeyValueStringSet_Output, error) - KeyValueStringGet(ctx context.Context, in *KeyValueStringGet_Input, opts ...grpc.CallOption) (*KeyValueStringGet_Output, error) - KeyValueFloatSet(ctx context.Context, in *KeyValueFloatSet_Input, opts ...grpc.CallOption) (*KeyValueFloatSet_Output, error) - KeyValueFloatGet(ctx context.Context, in *KeyValueFloatGet_Input, opts ...grpc.CallOption) (*KeyValueFloatGet_Output, error) - EchoStream(ctx context.Context, opts ...grpc.CallOption) (Service_EchoStreamClient, error) - TestReadStream(ctx context.Context, in *TestReadStream_Input, opts ...grpc.CallOption) (Service_TestReadStreamClient, error) +type SIO_Join struct { } -type serviceClient struct { - cc *grpc.ClientConn +func (m *SIO_Join) Reset() { *m = SIO_Join{} } +func (m *SIO_Join) String() string { return proto.CompactTextString(m) } +func (*SIO_Join) ProtoMessage() {} +func (*SIO_Join) Descriptor() ([]byte, []int) { + return fileDescriptor_b4e0a0c9e1471050, []int{27, 0} } - -func NewServiceClient(cc *grpc.ClientConn) ServiceClient { - return &serviceClient{cc} +func (m *SIO_Join) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) } - -func (c *serviceClient) KryptosEncrypt(ctx context.Context, in *Kryptos_Input, opts ...grpc.CallOption) (*Kryptos_Output, error) { - out := new(Kryptos_Output) - err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/KryptosEncrypt", in, out, opts...) - if err != nil { - return nil, err +func (m *SIO_Join) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_SIO_Join.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return out, nil +} +func (m *SIO_Join) XXX_Merge(src proto.Message) { + xxx_messageInfo_SIO_Join.Merge(m, src) +} +func (m *SIO_Join) XXX_Size() int { + return m.Size() +} +func (m *SIO_Join) XXX_DiscardUnknown() { + xxx_messageInfo_SIO_Join.DiscardUnknown(m) } -func (c *serviceClient) KryptosDecrypt(ctx context.Context, in *Kryptos_Input, opts ...grpc.CallOption) (*Kryptos_Output, error) { - out := new(Kryptos_Output) - err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/KryptosDecrypt", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +var xxx_messageInfo_SIO_Join proto.InternalMessageInfo + +type SIO_Join_Input struct { + Room string `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` + Peer *SIO_Peer `protobuf:"bytes,2,opt,name=peer,proto3" json:"peer,omitempty"` } -func (c *serviceClient) TpyoEnocde(ctx context.Context, in *TpyoEnocde_Ipunt, opts ...grpc.CallOption) (*TpyoEnocde_Ouptut, error) { - out := new(TpyoEnocde_Ouptut) - err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/TpyoEnocde", in, out, opts...) - if err != nil { - return nil, err +func (m *SIO_Join_Input) Reset() { *m = SIO_Join_Input{} } +func (m *SIO_Join_Input) String() string { return proto.CompactTextString(m) } +func (*SIO_Join_Input) ProtoMessage() {} +func (*SIO_Join_Input) Descriptor() ([]byte, []int) { + return fileDescriptor_b4e0a0c9e1471050, []int{27, 0, 0} +} +func (m *SIO_Join_Input) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *SIO_Join_Input) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_SIO_Join_Input.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return out, nil +} +func (m *SIO_Join_Input) XXX_Merge(src proto.Message) { + xxx_messageInfo_SIO_Join_Input.Merge(m, src) +} +func (m *SIO_Join_Input) XXX_Size() int { + return m.Size() +} +func (m *SIO_Join_Input) XXX_DiscardUnknown() { + xxx_messageInfo_SIO_Join_Input.DiscardUnknown(m) } -func (c *serviceClient) Ping(ctx context.Context, in *Ping_Input, opts ...grpc.CallOption) (*Ping_Output, error) { - out := new(Ping_Output) - err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/Ping", in, out, opts...) - if err != nil { - return nil, err +var xxx_messageInfo_SIO_Join_Input proto.InternalMessageInfo + +func (m *SIO_Join_Input) GetRoom() string { + if m != nil { + return m.Room } - return out, nil + return "" } -func (c *serviceClient) Dashboard(ctx context.Context, in *Dashboard_Input, opts ...grpc.CallOption) (*Dashboard_Output, error) { - out := new(Dashboard_Output) - err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/Dashboard", in, out, opts...) - if err != nil { - return nil, err +func (m *SIO_Join_Input) GetPeer() *SIO_Peer { + if m != nil { + return m.Peer } - return out, nil + return nil } -func (c *serviceClient) Hackz(ctx context.Context, in *Hackz_Input, opts ...grpc.CallOption) (*Hackz_Output, error) { - out := new(Hackz_Output) - err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/Hackz", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +type SIO_Join_Output struct { + Peers []*SIO_Peer `protobuf:"bytes,1,rep,name=peers,proto3" json:"peers,omitempty"` } -func (c *serviceClient) Crew(ctx context.Context, in *Crew_Input, opts ...grpc.CallOption) (*Crew_Output, error) { - out := new(Crew_Output) - err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/Crew", in, out, opts...) - if err != nil { - return nil, err +func (m *SIO_Join_Output) Reset() { *m = SIO_Join_Output{} } +func (m *SIO_Join_Output) String() string { return proto.CompactTextString(m) } +func (*SIO_Join_Output) ProtoMessage() {} +func (*SIO_Join_Output) Descriptor() ([]byte, []int) { + return fileDescriptor_b4e0a0c9e1471050, []int{27, 0, 1} +} +func (m *SIO_Join_Output) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *SIO_Join_Output) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_SIO_Join_Output.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return out, nil +} +func (m *SIO_Join_Output) XXX_Merge(src proto.Message) { + xxx_messageInfo_SIO_Join_Output.Merge(m, src) +} +func (m *SIO_Join_Output) XXX_Size() int { + return m.Size() +} +func (m *SIO_Join_Output) XXX_DiscardUnknown() { + xxx_messageInfo_SIO_Join_Output.DiscardUnknown(m) } -func (c *serviceClient) Numberinfo(ctx context.Context, in *Numberinfo_Input, opts ...grpc.CallOption) (*Numberinfo_Output, error) { - out := new(Numberinfo_Output) - err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/Numberinfo", in, out, opts...) - if err != nil { - return nil, err +var xxx_messageInfo_SIO_Join_Output proto.InternalMessageInfo + +func (m *SIO_Join_Output) GetPeers() []*SIO_Peer { + if m != nil { + return m.Peers } - return out, nil + return nil } -func (c *serviceClient) Recettator(ctx context.Context, in *Recettator_Input, opts ...grpc.CallOption) (*Recettator_Output, error) { - out := new(Recettator_Output) - err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/Recettator", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +type SIO_Join_Event struct { + Room string `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` + Peer *SIO_Peer `protobuf:"bytes,2,opt,name=peer,proto3" json:"peer,omitempty"` } -func (c *serviceClient) Moijaime(ctx context.Context, in *Moijaime_Input, opts ...grpc.CallOption) (*Moijaime_Output, error) { - out := new(Moijaime_Output) - err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/Moijaime", in, out, opts...) - if err != nil { - return nil, err +func (m *SIO_Join_Event) Reset() { *m = SIO_Join_Event{} } +func (m *SIO_Join_Event) String() string { return proto.CompactTextString(m) } +func (*SIO_Join_Event) ProtoMessage() {} +func (*SIO_Join_Event) Descriptor() ([]byte, []int) { + return fileDescriptor_b4e0a0c9e1471050, []int{27, 0, 2} +} +func (m *SIO_Join_Event) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *SIO_Join_Event) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_SIO_Join_Event.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return out, nil +} +func (m *SIO_Join_Event) XXX_Merge(src proto.Message) { + xxx_messageInfo_SIO_Join_Event.Merge(m, src) +} +func (m *SIO_Join_Event) XXX_Size() int { + return m.Size() +} +func (m *SIO_Join_Event) XXX_DiscardUnknown() { + xxx_messageInfo_SIO_Join_Event.DiscardUnknown(m) } -func (c *serviceClient) SpreadshirtRandom(ctx context.Context, in *SpreadshirtRandom_Input, opts ...grpc.CallOption) (*SpreadshirtRandom_Output, error) { - out := new(SpreadshirtRandom_Output) - err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/SpreadshirtRandom", in, out, opts...) - if err != nil { - return nil, err +var xxx_messageInfo_SIO_Join_Event proto.InternalMessageInfo + +func (m *SIO_Join_Event) GetRoom() string { + if m != nil { + return m.Room } - return out, nil + return "" } -func (c *serviceClient) SpreadshirtAll(ctx context.Context, in *SpreadshirtAll_Input, opts ...grpc.CallOption) (*SpreadshirtAll_Output, error) { - out := new(SpreadshirtAll_Output) - err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/SpreadshirtAll", in, out, opts...) - if err != nil { - return nil, err +func (m *SIO_Join_Event) GetPeer() *SIO_Peer { + if m != nil { + return m.Peer } - return out, nil + return nil } -func (c *serviceClient) Wotd(ctx context.Context, in *Wotd_Input, opts ...grpc.CallOption) (*Wotd_Output, error) { - out := new(Wotd_Output) - err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/Wotd", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +type SIO_Broadcast struct { } -func (c *serviceClient) AlternateLogo(ctx context.Context, in *AlternateLogo_Input, opts ...grpc.CallOption) (*AlternateLogo_Output, error) { - out := new(AlternateLogo_Output) - err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/AlternateLogo", in, out, opts...) - if err != nil { - return nil, err +func (m *SIO_Broadcast) Reset() { *m = SIO_Broadcast{} } +func (m *SIO_Broadcast) String() string { return proto.CompactTextString(m) } +func (*SIO_Broadcast) ProtoMessage() {} +func (*SIO_Broadcast) Descriptor() ([]byte, []int) { + return fileDescriptor_b4e0a0c9e1471050, []int{27, 1} +} +func (m *SIO_Broadcast) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *SIO_Broadcast) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_SIO_Broadcast.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return out, nil +} +func (m *SIO_Broadcast) XXX_Merge(src proto.Message) { + xxx_messageInfo_SIO_Broadcast.Merge(m, src) +} +func (m *SIO_Broadcast) XXX_Size() int { + return m.Size() +} +func (m *SIO_Broadcast) XXX_DiscardUnknown() { + xxx_messageInfo_SIO_Broadcast.DiscardUnknown(m) } -func (c *serviceClient) SoundcloudMe(ctx context.Context, in *SoundcloudMe_Input, opts ...grpc.CallOption) (*SoundcloudMe_Output, error) { - out := new(SoundcloudMe_Output) - err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/SoundcloudMe", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +var xxx_messageInfo_SIO_Broadcast proto.InternalMessageInfo + +type SIO_Broadcast_Input struct { + Room string `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` + Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` } -func (c *serviceClient) SoundcloudPlaylists(ctx context.Context, in *SoundcloudPlaylists_Input, opts ...grpc.CallOption) (*SoundcloudPlaylists_Output, error) { - out := new(SoundcloudPlaylists_Output) - err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/SoundcloudPlaylists", in, out, opts...) - if err != nil { - return nil, err +func (m *SIO_Broadcast_Input) Reset() { *m = SIO_Broadcast_Input{} } +func (m *SIO_Broadcast_Input) String() string { return proto.CompactTextString(m) } +func (*SIO_Broadcast_Input) ProtoMessage() {} +func (*SIO_Broadcast_Input) Descriptor() ([]byte, []int) { + return fileDescriptor_b4e0a0c9e1471050, []int{27, 1, 0} +} +func (m *SIO_Broadcast_Input) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *SIO_Broadcast_Input) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_SIO_Broadcast_Input.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return out, nil +} +func (m *SIO_Broadcast_Input) XXX_Merge(src proto.Message) { + xxx_messageInfo_SIO_Broadcast_Input.Merge(m, src) +} +func (m *SIO_Broadcast_Input) XXX_Size() int { + return m.Size() +} +func (m *SIO_Broadcast_Input) XXX_DiscardUnknown() { + xxx_messageInfo_SIO_Broadcast_Input.DiscardUnknown(m) } -func (c *serviceClient) SoundcloudPlaylist(ctx context.Context, in *SoundcloudPlaylist_Input, opts ...grpc.CallOption) (*SoundcloudPlaylist_Output, error) { - out := new(SoundcloudPlaylist_Output) - err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/SoundcloudPlaylist", in, out, opts...) - if err != nil { - return nil, err +var xxx_messageInfo_SIO_Broadcast_Input proto.InternalMessageInfo + +func (m *SIO_Broadcast_Input) GetRoom() string { + if m != nil { + return m.Room } - return out, nil + return "" } -func (c *serviceClient) SoundcloudTracks(ctx context.Context, in *SoundcloudTracks_Input, opts ...grpc.CallOption) (*SoundcloudTracks_Output, error) { - out := new(SoundcloudTracks_Output) - err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/SoundcloudTracks", in, out, opts...) - if err != nil { - return nil, err +func (m *SIO_Broadcast_Input) GetMsg() string { + if m != nil { + return m.Msg } - return out, nil + return "" } -func (c *serviceClient) SoundcloudTrack(ctx context.Context, in *SoundcloudTrack_Input, opts ...grpc.CallOption) (*SoundcloudTrack_Output, error) { - out := new(SoundcloudTrack_Output) - err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/SoundcloudTrack", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +type SIO_Broadcast_Output struct { } -func (c *serviceClient) Metrics(ctx context.Context, in *Metrics_Input, opts ...grpc.CallOption) (*Metrics_Output, error) { - out := new(Metrics_Output) - err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/Metrics", in, out, opts...) - if err != nil { - return nil, err +func (m *SIO_Broadcast_Output) Reset() { *m = SIO_Broadcast_Output{} } +func (m *SIO_Broadcast_Output) String() string { return proto.CompactTextString(m) } +func (*SIO_Broadcast_Output) ProtoMessage() {} +func (*SIO_Broadcast_Output) Descriptor() ([]byte, []int) { + return fileDescriptor_b4e0a0c9e1471050, []int{27, 1, 1} +} +func (m *SIO_Broadcast_Output) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *SIO_Broadcast_Output) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_SIO_Broadcast_Output.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return out, nil +} +func (m *SIO_Broadcast_Output) XXX_Merge(src proto.Message) { + xxx_messageInfo_SIO_Broadcast_Output.Merge(m, src) +} +func (m *SIO_Broadcast_Output) XXX_Size() int { + return m.Size() +} +func (m *SIO_Broadcast_Output) XXX_DiscardUnknown() { + xxx_messageInfo_SIO_Broadcast_Output.DiscardUnknown(m) } -func (c *serviceClient) CounterInc(ctx context.Context, in *CounterInc_Input, opts ...grpc.CallOption) (*CounterInc_Output, error) { - out := new(CounterInc_Output) - err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/CounterInc", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +var xxx_messageInfo_SIO_Broadcast_Output proto.InternalMessageInfo + +type SIO_Broadcast_Event struct { + Room string `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` + Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` + Peer *SIO_Peer `protobuf:"bytes,3,opt,name=peer,proto3" json:"peer,omitempty"` } -func (c *serviceClient) NumberSetIfBigger(ctx context.Context, in *NumberSetIfBigger_Input, opts ...grpc.CallOption) (*NumberSetIfBigger_Output, error) { - out := new(NumberSetIfBigger_Output) - err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/NumberSetIfBigger", in, out, opts...) - if err != nil { - return nil, err +func (m *SIO_Broadcast_Event) Reset() { *m = SIO_Broadcast_Event{} } +func (m *SIO_Broadcast_Event) String() string { return proto.CompactTextString(m) } +func (*SIO_Broadcast_Event) ProtoMessage() {} +func (*SIO_Broadcast_Event) Descriptor() ([]byte, []int) { + return fileDescriptor_b4e0a0c9e1471050, []int{27, 1, 2} +} +func (m *SIO_Broadcast_Event) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *SIO_Broadcast_Event) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_SIO_Broadcast_Event.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return out, nil +} +func (m *SIO_Broadcast_Event) XXX_Merge(src proto.Message) { + xxx_messageInfo_SIO_Broadcast_Event.Merge(m, src) +} +func (m *SIO_Broadcast_Event) XXX_Size() int { + return m.Size() +} +func (m *SIO_Broadcast_Event) XXX_DiscardUnknown() { + xxx_messageInfo_SIO_Broadcast_Event.DiscardUnknown(m) } -func (c *serviceClient) KeyValueStringSet(ctx context.Context, in *KeyValueStringSet_Input, opts ...grpc.CallOption) (*KeyValueStringSet_Output, error) { - out := new(KeyValueStringSet_Output) - err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/KeyValueStringSet", in, out, opts...) - if err != nil { - return nil, err +var xxx_messageInfo_SIO_Broadcast_Event proto.InternalMessageInfo + +func (m *SIO_Broadcast_Event) GetRoom() string { + if m != nil { + return m.Room } - return out, nil + return "" } -func (c *serviceClient) KeyValueStringGet(ctx context.Context, in *KeyValueStringGet_Input, opts ...grpc.CallOption) (*KeyValueStringGet_Output, error) { - out := new(KeyValueStringGet_Output) - err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/KeyValueStringGet", in, out, opts...) - if err != nil { - return nil, err +func (m *SIO_Broadcast_Event) GetMsg() string { + if m != nil { + return m.Msg } - return out, nil + return "" } -func (c *serviceClient) KeyValueFloatSet(ctx context.Context, in *KeyValueFloatSet_Input, opts ...grpc.CallOption) (*KeyValueFloatSet_Output, error) { - out := new(KeyValueFloatSet_Output) - err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/KeyValueFloatSet", in, out, opts...) - if err != nil { - return nil, err +func (m *SIO_Broadcast_Event) GetPeer() *SIO_Peer { + if m != nil { + return m.Peer } - return out, nil + return nil } -func (c *serviceClient) KeyValueFloatGet(ctx context.Context, in *KeyValueFloatGet_Input, opts ...grpc.CallOption) (*KeyValueFloatGet_Output, error) { - out := new(KeyValueFloatGet_Output) - err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/KeyValueFloatGet", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil +type SIO_Disconnect struct { } -func (c *serviceClient) EchoStream(ctx context.Context, opts ...grpc.CallOption) (Service_EchoStreamClient, error) { - stream, err := c.cc.NewStream(ctx, &_Service_serviceDesc.Streams[0], "/calcbiz.calcapi.Service/EchoStream", opts...) - if err != nil { - return nil, err +func (m *SIO_Disconnect) Reset() { *m = SIO_Disconnect{} } +func (m *SIO_Disconnect) String() string { return proto.CompactTextString(m) } +func (*SIO_Disconnect) ProtoMessage() {} +func (*SIO_Disconnect) Descriptor() ([]byte, []int) { + return fileDescriptor_b4e0a0c9e1471050, []int{27, 2} +} +func (m *SIO_Disconnect) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *SIO_Disconnect) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_SIO_Disconnect.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - x := &serviceEchoStreamClient{stream} - return x, nil } - -type Service_EchoStreamClient interface { - Send(*EchoStream_Input) error - Recv() (*EchoStream_Output, error) - grpc.ClientStream +func (m *SIO_Disconnect) XXX_Merge(src proto.Message) { + xxx_messageInfo_SIO_Disconnect.Merge(m, src) } - -type serviceEchoStreamClient struct { - grpc.ClientStream +func (m *SIO_Disconnect) XXX_Size() int { + return m.Size() +} +func (m *SIO_Disconnect) XXX_DiscardUnknown() { + xxx_messageInfo_SIO_Disconnect.DiscardUnknown(m) } -func (x *serviceEchoStreamClient) Send(m *EchoStream_Input) error { - return x.ClientStream.SendMsg(m) +var xxx_messageInfo_SIO_Disconnect proto.InternalMessageInfo + +type SIO_Disconnect_Event struct { + Room string `protobuf:"bytes,1,opt,name=room,proto3" json:"room,omitempty"` + Peer *SIO_Peer `protobuf:"bytes,2,opt,name=peer,proto3" json:"peer,omitempty"` } -func (x *serviceEchoStreamClient) Recv() (*EchoStream_Output, error) { - m := new(EchoStream_Output) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err +func (m *SIO_Disconnect_Event) Reset() { *m = SIO_Disconnect_Event{} } +func (m *SIO_Disconnect_Event) String() string { return proto.CompactTextString(m) } +func (*SIO_Disconnect_Event) ProtoMessage() {} +func (*SIO_Disconnect_Event) Descriptor() ([]byte, []int) { + return fileDescriptor_b4e0a0c9e1471050, []int{27, 2, 0} +} +func (m *SIO_Disconnect_Event) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *SIO_Disconnect_Event) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_SIO_Disconnect_Event.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil } - return m, nil +} +func (m *SIO_Disconnect_Event) XXX_Merge(src proto.Message) { + xxx_messageInfo_SIO_Disconnect_Event.Merge(m, src) +} +func (m *SIO_Disconnect_Event) XXX_Size() int { + return m.Size() +} +func (m *SIO_Disconnect_Event) XXX_DiscardUnknown() { + xxx_messageInfo_SIO_Disconnect_Event.DiscardUnknown(m) } -func (c *serviceClient) TestReadStream(ctx context.Context, in *TestReadStream_Input, opts ...grpc.CallOption) (Service_TestReadStreamClient, error) { - stream, err := c.cc.NewStream(ctx, &_Service_serviceDesc.Streams[1], "/calcbiz.calcapi.Service/TestReadStream", opts...) - if err != nil { - return nil, err - } - x := &serviceTestReadStreamClient{stream} - if err := x.ClientStream.SendMsg(in); err != nil { - return nil, err - } - if err := x.ClientStream.CloseSend(); err != nil { - return nil, err - } - return x, nil -} - -type Service_TestReadStreamClient interface { - Recv() (*TestReadStream_Output, error) - grpc.ClientStream -} - -type serviceTestReadStreamClient struct { - grpc.ClientStream -} +var xxx_messageInfo_SIO_Disconnect_Event proto.InternalMessageInfo -func (x *serviceTestReadStreamClient) Recv() (*TestReadStream_Output, error) { - m := new(TestReadStream_Output) - if err := x.ClientStream.RecvMsg(m); err != nil { - return nil, err +func (m *SIO_Disconnect_Event) GetRoom() string { + if m != nil { + return m.Room } - return m, nil + return "" } -// ServiceServer is the server API for Service service. -type ServiceServer interface { - KryptosEncrypt(context.Context, *Kryptos_Input) (*Kryptos_Output, error) - KryptosDecrypt(context.Context, *Kryptos_Input) (*Kryptos_Output, error) - TpyoEnocde(context.Context, *TpyoEnocde_Ipunt) (*TpyoEnocde_Ouptut, error) - Ping(context.Context, *Ping_Input) (*Ping_Output, error) - Dashboard(context.Context, *Dashboard_Input) (*Dashboard_Output, error) - Hackz(context.Context, *Hackz_Input) (*Hackz_Output, error) - Crew(context.Context, *Crew_Input) (*Crew_Output, error) - Numberinfo(context.Context, *Numberinfo_Input) (*Numberinfo_Output, error) - Recettator(context.Context, *Recettator_Input) (*Recettator_Output, error) - Moijaime(context.Context, *Moijaime_Input) (*Moijaime_Output, error) - SpreadshirtRandom(context.Context, *SpreadshirtRandom_Input) (*SpreadshirtRandom_Output, error) - SpreadshirtAll(context.Context, *SpreadshirtAll_Input) (*SpreadshirtAll_Output, error) - Wotd(context.Context, *Wotd_Input) (*Wotd_Output, error) - AlternateLogo(context.Context, *AlternateLogo_Input) (*AlternateLogo_Output, error) - SoundcloudMe(context.Context, *SoundcloudMe_Input) (*SoundcloudMe_Output, error) - SoundcloudPlaylists(context.Context, *SoundcloudPlaylists_Input) (*SoundcloudPlaylists_Output, error) - SoundcloudPlaylist(context.Context, *SoundcloudPlaylist_Input) (*SoundcloudPlaylist_Output, error) - SoundcloudTracks(context.Context, *SoundcloudTracks_Input) (*SoundcloudTracks_Output, error) - SoundcloudTrack(context.Context, *SoundcloudTrack_Input) (*SoundcloudTrack_Output, error) - Metrics(context.Context, *Metrics_Input) (*Metrics_Output, error) - CounterInc(context.Context, *CounterInc_Input) (*CounterInc_Output, error) - NumberSetIfBigger(context.Context, *NumberSetIfBigger_Input) (*NumberSetIfBigger_Output, error) - KeyValueStringSet(context.Context, *KeyValueStringSet_Input) (*KeyValueStringSet_Output, error) - KeyValueStringGet(context.Context, *KeyValueStringGet_Input) (*KeyValueStringGet_Output, error) - KeyValueFloatSet(context.Context, *KeyValueFloatSet_Input) (*KeyValueFloatSet_Output, error) - KeyValueFloatGet(context.Context, *KeyValueFloatGet_Input) (*KeyValueFloatGet_Output, error) - EchoStream(Service_EchoStreamServer) error - TestReadStream(*TestReadStream_Input, Service_TestReadStreamServer) error +func (m *SIO_Disconnect_Event) GetPeer() *SIO_Peer { + if m != nil { + return m.Peer + } + return nil } -// UnimplementedServiceServer can be embedded to have forward compatible implementations. -type UnimplementedServiceServer struct { +type SIO_Error struct { + IsError bool `protobuf:"varint,1,opt,name=is_error,json=isError,proto3" json:"is_error,omitempty"` + ErrMsg string `protobuf:"bytes,2,opt,name=err_msg,json=errMsg,proto3" json:"err_msg,omitempty"` } -func (*UnimplementedServiceServer) KryptosEncrypt(ctx context.Context, req *Kryptos_Input) (*Kryptos_Output, error) { - return nil, status.Errorf(codes.Unimplemented, "method KryptosEncrypt not implemented") -} -func (*UnimplementedServiceServer) KryptosDecrypt(ctx context.Context, req *Kryptos_Input) (*Kryptos_Output, error) { - return nil, status.Errorf(codes.Unimplemented, "method KryptosDecrypt not implemented") -} -func (*UnimplementedServiceServer) TpyoEnocde(ctx context.Context, req *TpyoEnocde_Ipunt) (*TpyoEnocde_Ouptut, error) { - return nil, status.Errorf(codes.Unimplemented, "method TpyoEnocde not implemented") -} -func (*UnimplementedServiceServer) Ping(ctx context.Context, req *Ping_Input) (*Ping_Output, error) { - return nil, status.Errorf(codes.Unimplemented, "method Ping not implemented") -} -func (*UnimplementedServiceServer) Dashboard(ctx context.Context, req *Dashboard_Input) (*Dashboard_Output, error) { - return nil, status.Errorf(codes.Unimplemented, "method Dashboard not implemented") -} -func (*UnimplementedServiceServer) Hackz(ctx context.Context, req *Hackz_Input) (*Hackz_Output, error) { - return nil, status.Errorf(codes.Unimplemented, "method Hackz not implemented") -} -func (*UnimplementedServiceServer) Crew(ctx context.Context, req *Crew_Input) (*Crew_Output, error) { - return nil, status.Errorf(codes.Unimplemented, "method Crew not implemented") +func (m *SIO_Error) Reset() { *m = SIO_Error{} } +func (m *SIO_Error) String() string { return proto.CompactTextString(m) } +func (*SIO_Error) ProtoMessage() {} +func (*SIO_Error) Descriptor() ([]byte, []int) { + return fileDescriptor_b4e0a0c9e1471050, []int{27, 3} } -func (*UnimplementedServiceServer) Numberinfo(ctx context.Context, req *Numberinfo_Input) (*Numberinfo_Output, error) { - return nil, status.Errorf(codes.Unimplemented, "method Numberinfo not implemented") +func (m *SIO_Error) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) } -func (*UnimplementedServiceServer) Recettator(ctx context.Context, req *Recettator_Input) (*Recettator_Output, error) { - return nil, status.Errorf(codes.Unimplemented, "method Recettator not implemented") +func (m *SIO_Error) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_SIO_Error.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } } -func (*UnimplementedServiceServer) Moijaime(ctx context.Context, req *Moijaime_Input) (*Moijaime_Output, error) { - return nil, status.Errorf(codes.Unimplemented, "method Moijaime not implemented") +func (m *SIO_Error) XXX_Merge(src proto.Message) { + xxx_messageInfo_SIO_Error.Merge(m, src) } -func (*UnimplementedServiceServer) SpreadshirtRandom(ctx context.Context, req *SpreadshirtRandom_Input) (*SpreadshirtRandom_Output, error) { - return nil, status.Errorf(codes.Unimplemented, "method SpreadshirtRandom not implemented") +func (m *SIO_Error) XXX_Size() int { + return m.Size() } -func (*UnimplementedServiceServer) SpreadshirtAll(ctx context.Context, req *SpreadshirtAll_Input) (*SpreadshirtAll_Output, error) { - return nil, status.Errorf(codes.Unimplemented, "method SpreadshirtAll not implemented") +func (m *SIO_Error) XXX_DiscardUnknown() { + xxx_messageInfo_SIO_Error.DiscardUnknown(m) } -func (*UnimplementedServiceServer) Wotd(ctx context.Context, req *Wotd_Input) (*Wotd_Output, error) { - return nil, status.Errorf(codes.Unimplemented, "method Wotd not implemented") + +var xxx_messageInfo_SIO_Error proto.InternalMessageInfo + +func (m *SIO_Error) GetIsError() bool { + if m != nil { + return m.IsError + } + return false } -func (*UnimplementedServiceServer) AlternateLogo(ctx context.Context, req *AlternateLogo_Input) (*AlternateLogo_Output, error) { - return nil, status.Errorf(codes.Unimplemented, "method AlternateLogo not implemented") + +func (m *SIO_Error) GetErrMsg() string { + if m != nil { + return m.ErrMsg + } + return "" } -func (*UnimplementedServiceServer) SoundcloudMe(ctx context.Context, req *SoundcloudMe_Input) (*SoundcloudMe_Output, error) { - return nil, status.Errorf(codes.Unimplemented, "method SoundcloudMe not implemented") + +type SIO_Peer struct { + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Color string `protobuf:"bytes,2,opt,name=color,proto3" json:"color,omitempty"` } -func (*UnimplementedServiceServer) SoundcloudPlaylists(ctx context.Context, req *SoundcloudPlaylists_Input) (*SoundcloudPlaylists_Output, error) { - return nil, status.Errorf(codes.Unimplemented, "method SoundcloudPlaylists not implemented") + +func (m *SIO_Peer) Reset() { *m = SIO_Peer{} } +func (m *SIO_Peer) String() string { return proto.CompactTextString(m) } +func (*SIO_Peer) ProtoMessage() {} +func (*SIO_Peer) Descriptor() ([]byte, []int) { + return fileDescriptor_b4e0a0c9e1471050, []int{27, 4} } -func (*UnimplementedServiceServer) SoundcloudPlaylist(ctx context.Context, req *SoundcloudPlaylist_Input) (*SoundcloudPlaylist_Output, error) { - return nil, status.Errorf(codes.Unimplemented, "method SoundcloudPlaylist not implemented") +func (m *SIO_Peer) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) } -func (*UnimplementedServiceServer) SoundcloudTracks(ctx context.Context, req *SoundcloudTracks_Input) (*SoundcloudTracks_Output, error) { - return nil, status.Errorf(codes.Unimplemented, "method SoundcloudTracks not implemented") +func (m *SIO_Peer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_SIO_Peer.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } } -func (*UnimplementedServiceServer) SoundcloudTrack(ctx context.Context, req *SoundcloudTrack_Input) (*SoundcloudTrack_Output, error) { - return nil, status.Errorf(codes.Unimplemented, "method SoundcloudTrack not implemented") +func (m *SIO_Peer) XXX_Merge(src proto.Message) { + xxx_messageInfo_SIO_Peer.Merge(m, src) } -func (*UnimplementedServiceServer) Metrics(ctx context.Context, req *Metrics_Input) (*Metrics_Output, error) { - return nil, status.Errorf(codes.Unimplemented, "method Metrics not implemented") +func (m *SIO_Peer) XXX_Size() int { + return m.Size() } -func (*UnimplementedServiceServer) CounterInc(ctx context.Context, req *CounterInc_Input) (*CounterInc_Output, error) { - return nil, status.Errorf(codes.Unimplemented, "method CounterInc not implemented") +func (m *SIO_Peer) XXX_DiscardUnknown() { + xxx_messageInfo_SIO_Peer.DiscardUnknown(m) } -func (*UnimplementedServiceServer) NumberSetIfBigger(ctx context.Context, req *NumberSetIfBigger_Input) (*NumberSetIfBigger_Output, error) { - return nil, status.Errorf(codes.Unimplemented, "method NumberSetIfBigger not implemented") + +var xxx_messageInfo_SIO_Peer proto.InternalMessageInfo + +func (m *SIO_Peer) GetName() string { + if m != nil { + return m.Name + } + return "" } -func (*UnimplementedServiceServer) KeyValueStringSet(ctx context.Context, req *KeyValueStringSet_Input) (*KeyValueStringSet_Output, error) { - return nil, status.Errorf(codes.Unimplemented, "method KeyValueStringSet not implemented") + +func (m *SIO_Peer) GetColor() string { + if m != nil { + return m.Color + } + return "" } -func (*UnimplementedServiceServer) KeyValueStringGet(ctx context.Context, req *KeyValueStringGet_Input) (*KeyValueStringGet_Output, error) { - return nil, status.Errorf(codes.Unimplemented, "method KeyValueStringGet not implemented") + +type SIO_Context struct { + Peer *SIO_Peer `protobuf:"bytes,1,opt,name=peer,proto3" json:"peer,omitempty"` + NoMetadata bool `protobuf:"varint,2,opt,name=no_metadata,json=noMetadata,proto3" json:"no_metadata,omitempty"` } -func (*UnimplementedServiceServer) KeyValueFloatSet(ctx context.Context, req *KeyValueFloatSet_Input) (*KeyValueFloatSet_Output, error) { - return nil, status.Errorf(codes.Unimplemented, "method KeyValueFloatSet not implemented") + +func (m *SIO_Context) Reset() { *m = SIO_Context{} } +func (m *SIO_Context) String() string { return proto.CompactTextString(m) } +func (*SIO_Context) ProtoMessage() {} +func (*SIO_Context) Descriptor() ([]byte, []int) { + return fileDescriptor_b4e0a0c9e1471050, []int{27, 5} } -func (*UnimplementedServiceServer) KeyValueFloatGet(ctx context.Context, req *KeyValueFloatGet_Input) (*KeyValueFloatGet_Output, error) { - return nil, status.Errorf(codes.Unimplemented, "method KeyValueFloatGet not implemented") +func (m *SIO_Context) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) } -func (*UnimplementedServiceServer) EchoStream(srv Service_EchoStreamServer) error { - return status.Errorf(codes.Unimplemented, "method EchoStream not implemented") +func (m *SIO_Context) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_SIO_Context.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } } -func (*UnimplementedServiceServer) TestReadStream(req *TestReadStream_Input, srv Service_TestReadStreamServer) error { - return status.Errorf(codes.Unimplemented, "method TestReadStream not implemented") +func (m *SIO_Context) XXX_Merge(src proto.Message) { + xxx_messageInfo_SIO_Context.Merge(m, src) } - -func RegisterServiceServer(s *grpc.Server, srv ServiceServer) { - s.RegisterService(&_Service_serviceDesc, srv) +func (m *SIO_Context) XXX_Size() int { + return m.Size() } - -func _Service_KryptosEncrypt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(Kryptos_Input) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ServiceServer).KryptosEncrypt(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/calcbiz.calcapi.Service/KryptosEncrypt", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ServiceServer).KryptosEncrypt(ctx, req.(*Kryptos_Input)) - } - return interceptor(ctx, in, info, handler) +func (m *SIO_Context) XXX_DiscardUnknown() { + xxx_messageInfo_SIO_Context.DiscardUnknown(m) } -func _Service_KryptosDecrypt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(Kryptos_Input) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ServiceServer).KryptosDecrypt(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/calcbiz.calcapi.Service/KryptosDecrypt", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ServiceServer).KryptosDecrypt(ctx, req.(*Kryptos_Input)) - } - return interceptor(ctx, in, info, handler) -} +var xxx_messageInfo_SIO_Context proto.InternalMessageInfo -func _Service_TpyoEnocde_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(TpyoEnocde_Ipunt) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ServiceServer).TpyoEnocde(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/calcbiz.calcapi.Service/TpyoEnocde", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ServiceServer).TpyoEnocde(ctx, req.(*TpyoEnocde_Ipunt)) +func (m *SIO_Context) GetPeer() *SIO_Peer { + if m != nil { + return m.Peer } - return interceptor(ctx, in, info, handler) + return nil } -func _Service_Ping_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(Ping_Input) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ServiceServer).Ping(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/calcbiz.calcapi.Service/Ping", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ServiceServer).Ping(ctx, req.(*Ping_Input)) +func (m *SIO_Context) GetNoMetadata() bool { + if m != nil { + return m.NoMetadata } - return interceptor(ctx, in, info, handler) + return false } -func _Service_Dashboard_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(Dashboard_Input) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(ServiceServer).Dashboard(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/calcbiz.calcapi.Service/Dashboard", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ServiceServer).Dashboard(ctx, req.(*Dashboard_Input)) - } - return interceptor(ctx, in, info, handler) +func init() { + proto.RegisterType((*EchoStream)(nil), "calcbiz.calcapi.EchoStream") + proto.RegisterType((*EchoStream_Input)(nil), "calcbiz.calcapi.EchoStream.Input") + proto.RegisterType((*EchoStream_Output)(nil), "calcbiz.calcapi.EchoStream.Output") + proto.RegisterType((*TestReadStream)(nil), "calcbiz.calcapi.TestReadStream") + proto.RegisterType((*TestReadStream_Input)(nil), "calcbiz.calcapi.TestReadStream.Input") + proto.RegisterType((*TestReadStream_Output)(nil), "calcbiz.calcapi.TestReadStream.Output") + proto.RegisterType((*CounterInc)(nil), "calcbiz.calcapi.CounterInc") + proto.RegisterType((*CounterInc_Input)(nil), "calcbiz.calcapi.CounterInc.Input") + proto.RegisterType((*CounterInc_Output)(nil), "calcbiz.calcapi.CounterInc.Output") + proto.RegisterType((*NumberSetIfBigger)(nil), "calcbiz.calcapi.NumberSetIfBigger") + proto.RegisterType((*NumberSetIfBigger_Input)(nil), "calcbiz.calcapi.NumberSetIfBigger.Input") + proto.RegisterType((*NumberSetIfBigger_Output)(nil), "calcbiz.calcapi.NumberSetIfBigger.Output") + proto.RegisterType((*KeyValueStringSet)(nil), "calcbiz.calcapi.KeyValueStringSet") + proto.RegisterType((*KeyValueStringSet_Input)(nil), "calcbiz.calcapi.KeyValueStringSet.Input") + proto.RegisterType((*KeyValueStringSet_Output)(nil), "calcbiz.calcapi.KeyValueStringSet.Output") + proto.RegisterType((*KeyValueStringGet)(nil), "calcbiz.calcapi.KeyValueStringGet") + proto.RegisterType((*KeyValueStringGet_Input)(nil), "calcbiz.calcapi.KeyValueStringGet.Input") + proto.RegisterType((*KeyValueStringGet_Output)(nil), "calcbiz.calcapi.KeyValueStringGet.Output") + proto.RegisterType((*KeyValueFloatSet)(nil), "calcbiz.calcapi.KeyValueFloatSet") + proto.RegisterType((*KeyValueFloatSet_Input)(nil), "calcbiz.calcapi.KeyValueFloatSet.Input") + proto.RegisterType((*KeyValueFloatSet_Output)(nil), "calcbiz.calcapi.KeyValueFloatSet.Output") + proto.RegisterType((*KeyValueFloatGet)(nil), "calcbiz.calcapi.KeyValueFloatGet") + proto.RegisterType((*KeyValueFloatGet_Input)(nil), "calcbiz.calcapi.KeyValueFloatGet.Input") + proto.RegisterType((*KeyValueFloatGet_Output)(nil), "calcbiz.calcapi.KeyValueFloatGet.Output") + proto.RegisterType((*Dashboard)(nil), "calcbiz.calcapi.Dashboard") + proto.RegisterType((*Dashboard_Input)(nil), "calcbiz.calcapi.Dashboard.Input") + proto.RegisterType((*Dashboard_Output)(nil), "calcbiz.calcapi.Dashboard.Output") + proto.RegisterType((*Hackz)(nil), "calcbiz.calcapi.Hackz") + proto.RegisterType((*Hackz_Input)(nil), "calcbiz.calcapi.Hackz.Input") + proto.RegisterType((*Hackz_Output)(nil), "calcbiz.calcapi.Hackz.Output") + proto.RegisterType((*Crew)(nil), "calcbiz.calcapi.Crew") + proto.RegisterType((*Crew_Input)(nil), "calcbiz.calcapi.Crew.Input") + proto.RegisterType((*Crew_Output)(nil), "calcbiz.calcapi.Crew.Output") + proto.RegisterType((*SoundcloudMe)(nil), "calcbiz.calcapi.SoundcloudMe") + proto.RegisterType((*SoundcloudMe_Input)(nil), "calcbiz.calcapi.SoundcloudMe.Input") + proto.RegisterType((*SoundcloudMe_Output)(nil), "calcbiz.calcapi.SoundcloudMe.Output") + proto.RegisterType((*SoundcloudPlaylists)(nil), "calcbiz.calcapi.SoundcloudPlaylists") + proto.RegisterType((*SoundcloudPlaylists_Input)(nil), "calcbiz.calcapi.SoundcloudPlaylists.Input") + proto.RegisterType((*SoundcloudPlaylists_Output)(nil), "calcbiz.calcapi.SoundcloudPlaylists.Output") + proto.RegisterType((*SoundcloudPlaylist)(nil), "calcbiz.calcapi.SoundcloudPlaylist") + proto.RegisterType((*SoundcloudPlaylist_Input)(nil), "calcbiz.calcapi.SoundcloudPlaylist.Input") + proto.RegisterType((*SoundcloudPlaylist_Output)(nil), "calcbiz.calcapi.SoundcloudPlaylist.Output") + proto.RegisterType((*SoundcloudTracks)(nil), "calcbiz.calcapi.SoundcloudTracks") + proto.RegisterType((*SoundcloudTracks_Input)(nil), "calcbiz.calcapi.SoundcloudTracks.Input") + proto.RegisterType((*SoundcloudTracks_Output)(nil), "calcbiz.calcapi.SoundcloudTracks.Output") + proto.RegisterType((*SoundcloudTrack)(nil), "calcbiz.calcapi.SoundcloudTrack") + proto.RegisterType((*SoundcloudTrack_Input)(nil), "calcbiz.calcapi.SoundcloudTrack.Input") + proto.RegisterType((*SoundcloudTrack_Output)(nil), "calcbiz.calcapi.SoundcloudTrack.Output") + proto.RegisterType((*Metrics)(nil), "calcbiz.calcapi.Metrics") + proto.RegisterType((*Metrics_Input)(nil), "calcbiz.calcapi.Metrics.Input") + proto.RegisterType((*Metrics_Output)(nil), "calcbiz.calcapi.Metrics.Output") + proto.RegisterType((*Ping)(nil), "calcbiz.calcapi.Ping") + proto.RegisterType((*Ping_Input)(nil), "calcbiz.calcapi.Ping.Input") + proto.RegisterType((*Ping_Output)(nil), "calcbiz.calcapi.Ping.Output") + proto.RegisterType((*Kryptos)(nil), "calcbiz.calcapi.Kryptos") + proto.RegisterType((*Kryptos_Input)(nil), "calcbiz.calcapi.Kryptos.Input") + proto.RegisterType((*Kryptos_Output)(nil), "calcbiz.calcapi.Kryptos.Output") + proto.RegisterType((*TpyoEnocde)(nil), "calcbiz.calcapi.TpyoEnocde") + proto.RegisterType((*TpyoEnocde_Ipunt)(nil), "calcbiz.calcapi.TpyoEnocde.Ipunt") + proto.RegisterType((*TpyoEnocde_Ouptut)(nil), "calcbiz.calcapi.TpyoEnocde.Ouptut") + proto.RegisterType((*Numberinfo)(nil), "calcbiz.calcapi.Numberinfo") + proto.RegisterType((*Numberinfo_Input)(nil), "calcbiz.calcapi.Numberinfo.Input") + proto.RegisterType((*Numberinfo_Output)(nil), "calcbiz.calcapi.Numberinfo.Output") + proto.RegisterMapType((map[string]string)(nil), "calcbiz.calcapi.Numberinfo.Output.FactsEntry") + proto.RegisterType((*Moijaime)(nil), "calcbiz.calcapi.Moijaime") + proto.RegisterType((*Moijaime_Input)(nil), "calcbiz.calcapi.Moijaime.Input") + proto.RegisterType((*Moijaime_Output)(nil), "calcbiz.calcapi.Moijaime.Output") + proto.RegisterType((*Wotd)(nil), "calcbiz.calcapi.Wotd") + proto.RegisterType((*Wotd_Input)(nil), "calcbiz.calcapi.Wotd.Input") + proto.RegisterType((*Wotd_Output)(nil), "calcbiz.calcapi.Wotd.Output") + proto.RegisterType((*AlternateLogo)(nil), "calcbiz.calcapi.AlternateLogo") + proto.RegisterType((*AlternateLogo_Input)(nil), "calcbiz.calcapi.AlternateLogo.Input") + proto.RegisterType((*AlternateLogo_Output)(nil), "calcbiz.calcapi.AlternateLogo.Output") + proto.RegisterType((*SpreadshirtRandom)(nil), "calcbiz.calcapi.SpreadshirtRandom") + proto.RegisterType((*SpreadshirtRandom_Input)(nil), "calcbiz.calcapi.SpreadshirtRandom.Input") + proto.RegisterType((*SpreadshirtRandom_Output)(nil), "calcbiz.calcapi.SpreadshirtRandom.Output") + proto.RegisterType((*SpreadshirtAll)(nil), "calcbiz.calcapi.SpreadshirtAll") + proto.RegisterType((*SpreadshirtAll_Input)(nil), "calcbiz.calcapi.SpreadshirtAll.Input") + proto.RegisterType((*SpreadshirtAll_Output)(nil), "calcbiz.calcapi.SpreadshirtAll.Output") + proto.RegisterType((*Recettator)(nil), "calcbiz.calcapi.Recettator") + proto.RegisterType((*Recettator_Input)(nil), "calcbiz.calcapi.Recettator.Input") + proto.RegisterType((*Recettator_Output)(nil), "calcbiz.calcapi.Recettator.Output") + proto.RegisterType((*Recettator_Ingredient)(nil), "calcbiz.calcapi.Recettator.Ingredient") + proto.RegisterType((*SIO)(nil), "calcbiz.calcapi.SIO") + proto.RegisterType((*SIO_Join)(nil), "calcbiz.calcapi.SIO.Join") + proto.RegisterType((*SIO_Join_Input)(nil), "calcbiz.calcapi.SIO.Join.Input") + proto.RegisterType((*SIO_Join_Output)(nil), "calcbiz.calcapi.SIO.Join.Output") + proto.RegisterType((*SIO_Join_Event)(nil), "calcbiz.calcapi.SIO.Join.Event") + proto.RegisterType((*SIO_Broadcast)(nil), "calcbiz.calcapi.SIO.Broadcast") + proto.RegisterType((*SIO_Broadcast_Input)(nil), "calcbiz.calcapi.SIO.Broadcast.Input") + proto.RegisterType((*SIO_Broadcast_Output)(nil), "calcbiz.calcapi.SIO.Broadcast.Output") + proto.RegisterType((*SIO_Broadcast_Event)(nil), "calcbiz.calcapi.SIO.Broadcast.Event") + proto.RegisterType((*SIO_Disconnect)(nil), "calcbiz.calcapi.SIO.Disconnect") + proto.RegisterType((*SIO_Disconnect_Event)(nil), "calcbiz.calcapi.SIO.Disconnect.Event") + proto.RegisterType((*SIO_Error)(nil), "calcbiz.calcapi.SIO.Error") + proto.RegisterType((*SIO_Peer)(nil), "calcbiz.calcapi.SIO.Peer") + proto.RegisterType((*SIO_Context)(nil), "calcbiz.calcapi.SIO.Context") } -func _Service_Hackz_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(Hackz_Input) - if err := dec(in); err != nil { +func init() { proto.RegisterFile("calcapi.proto", fileDescriptor_b4e0a0c9e1471050) } + +var fileDescriptor_b4e0a0c9e1471050 = []byte{ + // 2212 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x59, 0xcb, 0x6f, 0x1c, 0x49, + 0x1d, 0x4e, 0x8f, 0x67, 0x3c, 0x76, 0x25, 0xf1, 0xa3, 0xe2, 0x24, 0x4e, 0xc7, 0x99, 0xd8, 0x9d, + 0xac, 0x63, 0x7b, 0x35, 0x33, 0x91, 0x03, 0xab, 0x90, 0x45, 0x08, 0xdb, 0xf1, 0x06, 0x6f, 0xf0, + 0x26, 0xdb, 0xe3, 0x85, 0x0d, 0x20, 0x0d, 0xed, 0xee, 0xf2, 0x4c, 0x33, 0x3d, 0x55, 0x4d, 0x75, + 0x4d, 0x9c, 0x89, 0x65, 0x09, 0xad, 0x84, 0x10, 0x87, 0x95, 0x36, 0x82, 0x0b, 0x88, 0x13, 0x47, + 0xc4, 0x85, 0x13, 0xff, 0x01, 0xda, 0xe3, 0x4a, 0x5c, 0xe0, 0x86, 0x12, 0xee, 0xfc, 0x0b, 0xa8, + 0x1e, 0xfd, 0x98, 0xe9, 0xee, 0xf1, 0x2c, 0xec, 0xde, 0xaa, 0xea, 0xf7, 0xf5, 0xf7, 0x7d, 0xf5, + 0xab, 0xe7, 0xd4, 0x80, 0x8b, 0xb6, 0xe5, 0xd9, 0x96, 0xef, 0xd6, 0x7c, 0x4a, 0x18, 0x81, 0xb3, + 0xbc, 0x7a, 0xe8, 0xbe, 0xac, 0xa9, 0x66, 0x7d, 0xa9, 0x45, 0x48, 0xcb, 0x43, 0x75, 0xcb, 0x77, + 0xeb, 0x16, 0xc6, 0x84, 0x59, 0xcc, 0x25, 0x38, 0x90, 0x70, 0xbd, 0xda, 0x72, 0x59, 0xbb, 0x77, + 0x58, 0xb3, 0x49, 0xb7, 0xde, 0x22, 0x2d, 0x52, 0x17, 0xcd, 0x87, 0xbd, 0x23, 0x51, 0x13, 0x15, + 0x51, 0x52, 0x70, 0x60, 0x53, 0x74, 0xac, 0xca, 0xb3, 0x8e, 0x15, 0xb4, 0x0f, 0x89, 0x45, 0x1d, + 0xd5, 0x30, 0x17, 0x90, 0x1e, 0x76, 0x6c, 0x8f, 0xf4, 0x54, 0x8b, 0xb1, 0x03, 0xc0, 0xae, 0xdd, + 0x26, 0x0d, 0x46, 0x91, 0xd5, 0xd5, 0xaf, 0x81, 0xd2, 0x1e, 0xf6, 0x7b, 0x0c, 0xce, 0x81, 0x89, + 0x6e, 0xd0, 0x5a, 0xd4, 0x96, 0xb5, 0xb5, 0x69, 0x93, 0x17, 0x75, 0x1d, 0x4c, 0x3e, 0xe9, 0xb1, + 0xcc, 0x98, 0xf1, 0x4d, 0x30, 0x73, 0x80, 0x02, 0x66, 0x22, 0xcb, 0x51, 0x44, 0x65, 0x45, 0x34, + 0xf2, 0xb3, 0x67, 0x00, 0xec, 0x90, 0x1e, 0x66, 0x88, 0xee, 0x61, 0x5b, 0x7f, 0x3b, 0xa1, 0xdd, + 0x41, 0xfd, 0x10, 0xd8, 0x41, 0x7d, 0xde, 0xd2, 0xb2, 0xfc, 0xc5, 0xc2, 0xb2, 0xb6, 0xa6, 0x99, + 0xbc, 0xa8, 0x57, 0x22, 0xda, 0x05, 0x50, 0x7a, 0x6e, 0x79, 0x3d, 0xa4, 0xa2, 0xb2, 0x62, 0x38, + 0x60, 0xfe, 0x83, 0x5e, 0xf7, 0x10, 0xd1, 0x06, 0x62, 0x7b, 0x47, 0xdb, 0x6e, 0xab, 0x85, 0xa8, + 0x5e, 0xcf, 0x57, 0xc8, 0x64, 0x39, 0x53, 0xe5, 0x03, 0x30, 0xff, 0x18, 0xf5, 0x7f, 0xc0, 0xcb, + 0x0d, 0x46, 0x5d, 0xdc, 0x6a, 0x20, 0x36, 0xb6, 0xca, 0x74, 0xa8, 0x32, 0x15, 0xaa, 0xa4, 0xf9, + 0x1e, 0x21, 0x36, 0x30, 0x26, 0x83, 0x7c, 0x79, 0xfe, 0x42, 0x66, 0x63, 0x1f, 0xcc, 0x85, 0x7c, + 0xef, 0x79, 0xc4, 0x62, 0x5f, 0xc6, 0x9e, 0x96, 0xb6, 0x37, 0x4c, 0xf7, 0xbf, 0xb9, 0x8b, 0xb2, + 0x77, 0x00, 0xa6, 0x1f, 0x86, 0xf3, 0x33, 0x9e, 0x30, 0xdf, 0x89, 0xbe, 0xfa, 0x06, 0x28, 0x23, + 0xcc, 0xa8, 0x8b, 0x02, 0xc1, 0x7a, 0x7e, 0x53, 0xaf, 0x85, 0x2b, 0x27, 0x9e, 0xd7, 0xbb, 0x12, + 0x61, 0x86, 0x50, 0xe3, 0x29, 0x28, 0x7d, 0xcf, 0xb2, 0x3b, 0x2f, 0xbf, 0x3a, 0xc6, 0x2d, 0x50, + 0xdc, 0xa1, 0xe8, 0x38, 0x26, 0xbc, 0x1b, 0x11, 0xae, 0x82, 0x22, 0x5f, 0x6e, 0x8a, 0x0d, 0x46, + 0x6c, 0x62, 0x0d, 0xf2, 0x8f, 0x4c, 0x11, 0x37, 0x1e, 0x83, 0x0b, 0x8d, 0x68, 0xe5, 0xed, 0xa3, + 0x98, 0x6a, 0x33, 0xa2, 0x5a, 0x03, 0x85, 0x2e, 0x52, 0x44, 0x8b, 0x11, 0x51, 0x62, 0xbd, 0x7e, + 0x14, 0x20, 0x6a, 0x16, 0xba, 0xc8, 0x40, 0xe0, 0x52, 0x4c, 0xf6, 0xd4, 0xb3, 0xfa, 0x9e, 0x1b, + 0xb0, 0x20, 0xe6, 0xdc, 0x8d, 0x38, 0xdf, 0x05, 0xd3, 0x7e, 0x18, 0x57, 0xd4, 0x37, 0xb2, 0xa8, + 0x23, 0x12, 0x33, 0xc6, 0x1b, 0x9f, 0x68, 0x00, 0xa6, 0x75, 0xf4, 0xb5, 0x70, 0xc0, 0x6f, 0x82, + 0xf3, 0x21, 0xb8, 0xe9, 0x3a, 0x82, 0xbe, 0x68, 0x82, 0xb0, 0x69, 0xcf, 0xd1, 0xb7, 0x23, 0x1f, + 0xf7, 0xc1, 0x54, 0xd8, 0xae, 0x6c, 0x2c, 0x8d, 0xb2, 0x61, 0x46, 0x68, 0xe3, 0x19, 0x98, 0x8b, + 0x3d, 0x1c, 0x50, 0xcb, 0xee, 0x24, 0x3a, 0xfa, 0xed, 0x48, 0x60, 0x13, 0x4c, 0x32, 0x11, 0x4c, + 0x8d, 0x6b, 0x82, 0x5e, 0x7e, 0x6e, 0x2a, 0xa4, 0xe1, 0x83, 0xd9, 0x21, 0x6a, 0xdd, 0x08, 0xfb, + 0x76, 0x0d, 0x4c, 0x09, 0x54, 0xdc, 0xb1, 0xb2, 0xa8, 0xef, 0x39, 0xfa, 0xb7, 0x22, 0xd1, 0x3a, + 0x28, 0x89, 0x46, 0xa5, 0x79, 0x2d, 0x57, 0xd3, 0x94, 0x38, 0xe3, 0x6f, 0x1a, 0x28, 0xef, 0x23, + 0x46, 0x5d, 0x3b, 0xd1, 0x89, 0xbf, 0x68, 0x89, 0xd9, 0x34, 0x1b, 0xf0, 0xbd, 0xdf, 0x6e, 0x1e, + 0x92, 0x17, 0xcd, 0xc0, 0x7d, 0x29, 0xe7, 0x43, 0xc9, 0xbc, 0x28, 0x9b, 0xb7, 0xc9, 0x8b, 0x86, + 0xfb, 0x12, 0xc1, 0x0d, 0x30, 0x1f, 0x20, 0xfa, 0x1c, 0xd1, 0x66, 0xc0, 0x2c, 0xca, 0x9a, 0xcc, + 0xed, 0x86, 0x0b, 0x7f, 0x56, 0x06, 0x1a, 0xbc, 0xfd, 0xc0, 0xed, 0x22, 0x58, 0x03, 0x97, 0x14, + 0xd6, 0xee, 0x51, 0x8a, 0xb0, 0x42, 0x4f, 0x08, 0xb4, 0xa2, 0xd9, 0x91, 0x11, 0x81, 0xbf, 0x05, + 0x2e, 0x2a, 0x7c, 0xcf, 0x17, 0xc8, 0xa2, 0x40, 0x5e, 0x90, 0x8d, 0x1f, 0x89, 0x36, 0xa3, 0x0a, + 0x8a, 0x4f, 0x5d, 0xdc, 0x8a, 0x3b, 0xb1, 0x14, 0xf5, 0x01, 0x82, 0xa2, 0x4f, 0x70, 0xb8, 0xcd, + 0x8b, 0xb2, 0xf1, 0x5d, 0x50, 0x7e, 0x4c, 0xfb, 0x3e, 0x23, 0x81, 0x7e, 0x3d, 0xcc, 0x30, 0x04, + 0xc5, 0x23, 0x4a, 0xba, 0x21, 0x8e, 0x97, 0xf5, 0xc5, 0x88, 0x65, 0x06, 0x14, 0x18, 0x51, 0xb1, + 0x82, 0x3c, 0xa5, 0x0e, 0xfc, 0x3e, 0xd9, 0xc5, 0xc4, 0x76, 0x90, 0x20, 0xf1, 0x7b, 0x58, 0x92, + 0x10, 0x1a, 0x93, 0x10, 0xaa, 0x48, 0x7c, 0x96, 0x41, 0xf2, 0x57, 0x0d, 0x00, 0x79, 0x28, 0xb8, + 0xf8, 0x88, 0xe8, 0x37, 0x43, 0x2b, 0x57, 0xc0, 0x24, 0x16, 0xcd, 0x02, 0x5b, 0x30, 0x55, 0x4d, + 0xff, 0x55, 0x3c, 0x32, 0x3b, 0xa0, 0x74, 0x64, 0xd9, 0x62, 0x11, 0x4d, 0xac, 0x9d, 0xdf, 0xac, + 0xd6, 0x86, 0x8e, 0xf0, 0x5a, 0xcc, 0x5b, 0x93, 0x9f, 0xd4, 0xde, 0xe3, 0x78, 0xbe, 0x97, 0xf4, + 0x4d, 0xf9, 0xad, 0x7e, 0x1f, 0x80, 0xb8, 0x71, 0xdc, 0xd3, 0xe1, 0x41, 0xe1, 0xbe, 0x66, 0xdc, + 0x03, 0x53, 0xfb, 0xc4, 0xfd, 0x99, 0xe5, 0x76, 0x13, 0x5b, 0xc7, 0xc0, 0xf6, 0xda, 0x71, 0x8f, + 0x8e, 0xa4, 0xbb, 0x69, 0x53, 0x56, 0xf8, 0x20, 0xfd, 0x90, 0x30, 0x27, 0x67, 0x90, 0x8e, 0x09, + 0x75, 0xc2, 0xbc, 0xf1, 0xb2, 0xf1, 0x0e, 0xb8, 0xb8, 0xe5, 0x31, 0x44, 0xb1, 0xc5, 0xd0, 0xf7, + 0x49, 0x8b, 0xe4, 0x0d, 0xae, 0xc5, 0xda, 0xd1, 0xe0, 0x5a, 0xac, 0x6d, 0xac, 0x82, 0xf9, 0x86, + 0x4f, 0x91, 0xe5, 0x04, 0x6d, 0x97, 0x32, 0xd3, 0xc2, 0x0e, 0x49, 0x1c, 0xff, 0xf1, 0xe1, 0x71, + 0x0b, 0xcc, 0x24, 0x70, 0x5b, 0x9e, 0x97, 0x05, 0xfa, 0x7d, 0x09, 0x00, 0x13, 0xd9, 0x88, 0x31, + 0x8b, 0x11, 0xaa, 0xbf, 0xd2, 0x12, 0xd3, 0x25, 0x40, 0x48, 0x3a, 0x9e, 0x30, 0x45, 0x19, 0xae, + 0x83, 0xb9, 0xae, 0xe5, 0xe2, 0xa6, 0x8b, 0x5b, 0x14, 0x39, 0x2e, 0xc2, 0x2c, 0x10, 0xa9, 0x2b, + 0x9a, 0xb3, 0xbc, 0x7d, 0x2f, 0x6e, 0x86, 0xf7, 0xc0, 0xe5, 0x00, 0xd9, 0x04, 0x3b, 0x16, 0xed, + 0x0f, 0xe0, 0x27, 0x04, 0x7e, 0x21, 0x0a, 0x26, 0x3f, 0x5a, 0x00, 0xa5, 0x80, 0x21, 0x3f, 0x10, + 0x4b, 0xa0, 0x68, 0xca, 0x8a, 0xfe, 0xe7, 0x42, 0x32, 0xef, 0xcc, 0x65, 0x1e, 0x52, 0xf9, 0x90, + 0x15, 0x3e, 0x9d, 0x7c, 0x44, 0x7c, 0x0f, 0x29, 0x33, 0xaa, 0x06, 0x75, 0x30, 0xd5, 0xb5, 0x68, + 0xc7, 0x21, 0xc7, 0x58, 0x2d, 0xbf, 0xa8, 0x9e, 0x94, 0x12, 0x23, 0x28, 0x2a, 0xf0, 0xc3, 0x8c, + 0x0e, 0x96, 0xc4, 0x04, 0x5c, 0x4d, 0x4d, 0xc0, 0x38, 0x6b, 0xb5, 0xb8, 0x0f, 0xe9, 0x44, 0xfc, + 0x38, 0x2f, 0x11, 0x93, 0x5f, 0x8a, 0x37, 0x3b, 0x61, 0xe1, 0x20, 0x95, 0xe3, 0x41, 0xd2, 0x3f, + 0xd7, 0x00, 0x88, 0x31, 0x1c, 0x82, 0xad, 0x6e, 0x98, 0x31, 0x51, 0xe6, 0x89, 0xf9, 0x79, 0xcf, + 0xc2, 0xcc, 0x65, 0x7d, 0x35, 0xf5, 0xa3, 0x3a, 0x4f, 0x66, 0x17, 0xb1, 0x36, 0x71, 0x54, 0xca, + 0x54, 0x8d, 0xb7, 0xb7, 0x10, 0x76, 0x10, 0x55, 0xfb, 0x93, 0xaa, 0x89, 0x24, 0xf7, 0x3c, 0xe6, + 0xf2, 0xf4, 0x97, 0x96, 0xb5, 0xb5, 0x29, 0x33, 0xaa, 0x73, 0xed, 0x8e, 0x8b, 0x9d, 0xc5, 0x49, + 0xa9, 0xcd, 0xcb, 0x7c, 0x2b, 0xe5, 0x1e, 0x9a, 0x16, 0x76, 0x9a, 0x91, 0x89, 0xb2, 0xdc, 0x4a, + 0x79, 0x60, 0x0b, 0x3b, 0x1f, 0xaa, 0x66, 0xe3, 0x4f, 0x25, 0x30, 0xd1, 0xd8, 0x7b, 0xa2, 0xff, + 0x53, 0x03, 0xc5, 0xf7, 0x89, 0x8b, 0xf5, 0xf7, 0x13, 0xb3, 0x93, 0x92, 0x78, 0x33, 0xe3, 0x65, + 0x58, 0x05, 0x45, 0x1f, 0x21, 0x2a, 0x7a, 0x94, 0x3c, 0x1c, 0xc2, 0xc4, 0x36, 0xf6, 0x9e, 0xd4, + 0x9e, 0x22, 0x44, 0x4d, 0x01, 0x1b, 0x3c, 0x56, 0x78, 0x4b, 0xb8, 0xd7, 0x8c, 0xf8, 0x52, 0xe2, + 0xb8, 0x8d, 0xdd, 0xe7, 0x2a, 0xb9, 0xff, 0xaf, 0x8d, 0x3f, 0x6a, 0x60, 0x7a, 0x9b, 0x12, 0xcb, + 0xb1, 0xad, 0x80, 0xe9, 0xd5, 0x51, 0x1d, 0x54, 0xf7, 0xf9, 0x42, 0xfc, 0x13, 0x21, 0x5a, 0xc7, + 0xfa, 0x4f, 0x46, 0x59, 0x4a, 0x7d, 0x18, 0x99, 0x9c, 0x18, 0xcf, 0xe4, 0xc7, 0x00, 0x3c, 0x74, + 0x03, 0x9b, 0x60, 0x8c, 0x6c, 0xf6, 0x95, 0x76, 0xff, 0x5d, 0x50, 0xda, 0xa5, 0x94, 0x50, 0x7e, + 0x01, 0x70, 0x83, 0x26, 0xe2, 0x65, 0xc1, 0x37, 0x65, 0x96, 0xdd, 0x40, 0x86, 0xae, 0x82, 0x32, + 0xa2, 0xb4, 0x19, 0x77, 0x61, 0x12, 0x51, 0xba, 0x1f, 0xb4, 0xf4, 0xbb, 0xa0, 0xc8, 0xa9, 0x32, + 0xe7, 0xf8, 0x02, 0x28, 0xd9, 0xc4, 0x23, 0x34, 0xdc, 0xdb, 0x45, 0x45, 0x7f, 0x06, 0xca, 0x3b, + 0x04, 0x33, 0xf4, 0x82, 0x45, 0x46, 0xb5, 0xb1, 0x8c, 0xf2, 0xcb, 0x17, 0x26, 0xcd, 0x2e, 0x62, + 0x96, 0x63, 0x31, 0x4b, 0xb0, 0x4e, 0x99, 0x00, 0x93, 0x7d, 0xd5, 0xb2, 0xf9, 0x1f, 0x1d, 0x94, + 0x1b, 0x88, 0x3e, 0x77, 0x6d, 0x04, 0x29, 0x98, 0x51, 0xe7, 0xef, 0x2e, 0xb6, 0x79, 0x01, 0x56, + 0x52, 0xfc, 0x0a, 0x50, 0x93, 0x3b, 0xf2, 0xcd, 0xdc, 0xb8, 0xda, 0xa8, 0x6f, 0x7e, 0xf2, 0xf7, + 0x7f, 0xff, 0xa6, 0x70, 0xcd, 0x58, 0x10, 0x3f, 0x5a, 0x3b, 0x32, 0x58, 0x47, 0x92, 0xfe, 0x81, + 0xb6, 0x91, 0xd0, 0x7c, 0x88, 0xbe, 0x56, 0x4d, 0x07, 0x45, 0x9a, 0x6e, 0xf2, 0x96, 0x00, 0x57, + 0x52, 0x7c, 0x71, 0xb0, 0x26, 0xee, 0x0f, 0xba, 0x31, 0x0a, 0x22, 0x6f, 0x11, 0xc6, 0x82, 0x50, + 0x9d, 0x31, 0xa6, 0x85, 0x2a, 0xf3, 0xfb, 0x84, 0x4b, 0x1d, 0xc8, 0x1b, 0x10, 0xbc, 0x9e, 0x62, + 0xe0, 0xcd, 0xaa, 0x47, 0x4b, 0xd9, 0x41, 0xd5, 0x9d, 0x79, 0x41, 0x7c, 0x1e, 0x4a, 0x62, 0x9f, + 0xb3, 0xb5, 0x13, 0xbf, 0x88, 0xe0, 0x72, 0xea, 0xeb, 0x28, 0xa6, 0xf8, 0x57, 0x46, 0x20, 0x94, + 0xc8, 0x15, 0x21, 0x32, 0x07, 0x67, 0x84, 0x48, 0xf4, 0x23, 0x07, 0x7e, 0xac, 0x7e, 0x25, 0xc1, + 0xb4, 0x47, 0xd1, 0xae, 0x14, 0x6e, 0xe4, 0x44, 0x15, 0x3b, 0x14, 0xec, 0x17, 0x20, 0x10, 0xec, + 0x6d, 0x41, 0x78, 0x20, 0x7f, 0x2d, 0x65, 0x64, 0x86, 0x37, 0xe7, 0x66, 0x46, 0x04, 0x33, 0x33, + 0xc3, 0x7f, 0x40, 0xc1, 0x5e, 0xf2, 0xea, 0x96, 0x31, 0xb4, 0x89, 0xfb, 0x97, 0x54, 0x30, 0xce, + 0xbe, 0xa2, 0x19, 0xcb, 0x42, 0x47, 0x87, 0x8b, 0x42, 0x07, 0x47, 0xf1, 0xfa, 0x89, 0x2c, 0x9f, + 0x42, 0x2f, 0x79, 0x1d, 0xc9, 0x90, 0x1d, 0x38, 0x1d, 0xb3, 0x65, 0x13, 0x10, 0x25, 0x7b, 0x55, + 0xc8, 0xce, 0xc3, 0x59, 0x21, 0x4b, 0x63, 0x7e, 0x27, 0xbe, 0xe6, 0xc1, 0xf4, 0x6a, 0x08, 0x43, + 0x4a, 0x69, 0x39, 0x1f, 0xa0, 0x74, 0x2e, 0x0b, 0x9d, 0x59, 0x78, 0x51, 0xe8, 0x74, 0x43, 0xe6, + 0x5f, 0x6b, 0x19, 0x37, 0x36, 0xb8, 0x96, 0xde, 0x71, 0x86, 0x31, 0x4a, 0x78, 0x7d, 0x0c, 0xe4, + 0xe0, 0x8a, 0x85, 0x57, 0x85, 0x83, 0x20, 0x86, 0xd5, 0xa9, 0x54, 0x3d, 0x1d, 0xbe, 0x14, 0xc2, + 0xb7, 0x46, 0xb1, 0x6f, 0x79, 0x9e, 0x32, 0xb1, 0x7a, 0x16, 0x4c, 0x39, 0x58, 0x12, 0x0e, 0xae, + 0xc0, 0x85, 0x94, 0x03, 0xcb, 0xf3, 0xf8, 0x5c, 0xe5, 0x57, 0xe4, 0x8c, 0xb9, 0xca, 0x9b, 0x73, + 0xe7, 0xaa, 0x08, 0x66, 0xce, 0xd5, 0x63, 0xce, 0xd6, 0x1f, 0xba, 0x49, 0xc3, 0xdb, 0x29, 0x86, + 0x81, 0xb8, 0xd2, 0x79, 0xeb, 0x0c, 0x94, 0x12, 0xbc, 0x2e, 0x04, 0x2f, 0xc3, 0x4b, 0xf2, 0xb9, + 0x30, 0x84, 0x54, 0x3d, 0xae, 0xd4, 0x1b, 0x7c, 0x67, 0x80, 0xb7, 0xd2, 0x69, 0x4a, 0x84, 0x95, + 0xf0, 0xed, 0xd1, 0x20, 0xa5, 0xab, 0x0b, 0xdd, 0x05, 0x08, 0x65, 0x26, 0x23, 0x44, 0xbd, 0x8b, + 0xe0, 0x2b, 0x2d, 0xf3, 0x49, 0x02, 0x6e, 0x8c, 0x60, 0x8e, 0x50, 0xca, 0xc5, 0xdb, 0x63, 0x61, + 0x95, 0x99, 0x15, 0x61, 0xe6, 0x3a, 0xbc, 0x36, 0x6c, 0x26, 0x7a, 0xbe, 0x80, 0x7f, 0xc8, 0x7c, + 0xbe, 0x80, 0xeb, 0x63, 0xc8, 0x28, 0x47, 0xe3, 0xb8, 0x0f, 0x0d, 0xd5, 0x85, 0xa1, 0x75, 0x78, + 0x27, 0xd7, 0x50, 0xfd, 0x24, 0xf1, 0x5a, 0x72, 0x0a, 0x7f, 0xa9, 0xa5, 0x5f, 0x36, 0xe0, 0x9d, + 0x11, 0x8a, 0x12, 0xa2, 0xac, 0xad, 0x9d, 0x0d, 0x54, 0xc6, 0x2a, 0xc2, 0xd8, 0x22, 0xbc, 0x32, + 0x6c, 0x4c, 0xbe, 0x82, 0xc0, 0x4f, 0xb5, 0xd4, 0x33, 0x08, 0x5c, 0x3d, 0x8b, 0x5d, 0xb9, 0x38, + 0xd3, 0x6e, 0x68, 0x62, 0x5d, 0x98, 0xb8, 0x05, 0x57, 0xb2, 0x4d, 0xd4, 0x4f, 0xc2, 0xc7, 0x96, + 0x53, 0xf8, 0xd3, 0xe8, 0x89, 0x24, 0xe3, 0xc2, 0xa0, 0x22, 0xb9, 0x17, 0x86, 0x30, 0xae, 0x64, + 0xd5, 0xd1, 0x0d, 0x2f, 0xc8, 0x0d, 0x50, 0xd1, 0x06, 0xc9, 0x57, 0xe7, 0x8c, 0x3d, 0x3d, 0x0e, + 0xe6, 0xee, 0xe9, 0x09, 0x48, 0x66, 0x9a, 0x6d, 0x19, 0xaf, 0xba, 0xd8, 0xae, 0x9f, 0x74, 0x50, + 0xff, 0x14, 0xfe, 0x4e, 0xcb, 0x78, 0x90, 0xce, 0xd8, 0x74, 0x53, 0x98, 0xdc, 0x4d, 0x37, 0x8d, + 0xcc, 0x9c, 0x8a, 0xf2, 0x24, 0xab, 0x06, 0x88, 0x55, 0xdd, 0xa3, 0xea, 0xa1, 0x40, 0x4a, 0x4f, + 0xf5, 0x13, 0xf1, 0xc0, 0x70, 0x0a, 0x7f, 0xab, 0x65, 0x3c, 0x63, 0x67, 0x78, 0x4b, 0x61, 0x72, + 0xbd, 0xa5, 0x91, 0xca, 0xdb, 0x86, 0xf0, 0x76, 0xdb, 0xb8, 0x29, 0xaf, 0x70, 0xa8, 0x5f, 0x15, + 0x1e, 0xaa, 0x81, 0x00, 0x72, 0x97, 0xd2, 0x1b, 0xbf, 0x62, 0xbd, 0xd2, 0x32, 0x5e, 0xc3, 0xcf, + 0xb4, 0xf5, 0x68, 0x6c, 0x5b, 0x8f, 0x62, 0x5b, 0x77, 0x84, 0xad, 0x15, 0x98, 0x63, 0xab, 0x15, + 0xda, 0x82, 0x9f, 0x69, 0xe9, 0x17, 0xf5, 0x8c, 0x55, 0x3b, 0x0c, 0xc9, 0x5d, 0xb5, 0x29, 0xe0, + 0xe0, 0x82, 0x31, 0x2a, 0x43, 0x86, 0x8e, 0x38, 0x6e, 0x30, 0x4d, 0x9f, 0x6a, 0xe9, 0x57, 0xf9, + 0xb3, 0x2c, 0x3d, 0x1a, 0xd7, 0x52, 0x22, 0x47, 0xab, 0xc2, 0xd2, 0x32, 0xcc, 0xb6, 0x14, 0xa7, + 0x88, 0x25, 0xff, 0x50, 0xca, 0x58, 0x5e, 0x71, 0x30, 0x77, 0x79, 0x25, 0x20, 0x83, 0x87, 0x9e, + 0x31, 0x27, 0xc4, 0x91, 0xdd, 0x26, 0x7c, 0x6c, 0x90, 0xd5, 0x7d, 0xa0, 0x6d, 0xac, 0x69, 0x77, + 0x35, 0xf8, 0x0b, 0x6d, 0xf8, 0x2f, 0xa8, 0x8c, 0x9b, 0xc4, 0x20, 0x20, 0xf7, 0x26, 0x31, 0x04, + 0x53, 0x16, 0x6e, 0x08, 0x0b, 0x57, 0xe1, 0x65, 0xf9, 0x3b, 0x00, 0x05, 0xac, 0xca, 0x2f, 0x13, + 0xca, 0xc7, 0x5d, 0x6d, 0xfb, 0x9d, 0xcf, 0x5f, 0x57, 0xb4, 0x2f, 0x5e, 0x57, 0xb4, 0x7f, 0xbd, + 0xae, 0x68, 0x9f, 0xbd, 0xa9, 0x9c, 0xfb, 0xe2, 0x4d, 0xe5, 0xdc, 0x3f, 0xde, 0x54, 0xce, 0xfd, + 0x68, 0xa9, 0xe7, 0x31, 0x8a, 0x6a, 0x5d, 0x54, 0x57, 0x52, 0x75, 0xbf, 0xd3, 0xaa, 0x2b, 0xb9, + 0xc3, 0x49, 0xf1, 0x47, 0xdc, 0xbd, 0xff, 0x06, 0x00, 0x00, 0xff, 0xff, 0x72, 0x26, 0x9f, 0x3f, + 0x26, 0x1c, 0x00, 0x00, +} + +// Reference imports to suppress errors if they are not otherwise used. +var _ context.Context +var _ grpc.ClientConn + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +const _ = grpc.SupportPackageIsVersion4 + +// ServiceClient is the client API for Service service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. +type ServiceClient interface { + KryptosEncrypt(ctx context.Context, in *Kryptos_Input, opts ...grpc.CallOption) (*Kryptos_Output, error) + KryptosDecrypt(ctx context.Context, in *Kryptos_Input, opts ...grpc.CallOption) (*Kryptos_Output, error) + TpyoEnocde(ctx context.Context, in *TpyoEnocde_Ipunt, opts ...grpc.CallOption) (*TpyoEnocde_Ouptut, error) + Ping(ctx context.Context, in *Ping_Input, opts ...grpc.CallOption) (*Ping_Output, error) + Dashboard(ctx context.Context, in *Dashboard_Input, opts ...grpc.CallOption) (*Dashboard_Output, error) + Hackz(ctx context.Context, in *Hackz_Input, opts ...grpc.CallOption) (*Hackz_Output, error) + Crew(ctx context.Context, in *Crew_Input, opts ...grpc.CallOption) (*Crew_Output, error) + Numberinfo(ctx context.Context, in *Numberinfo_Input, opts ...grpc.CallOption) (*Numberinfo_Output, error) + Recettator(ctx context.Context, in *Recettator_Input, opts ...grpc.CallOption) (*Recettator_Output, error) + Moijaime(ctx context.Context, in *Moijaime_Input, opts ...grpc.CallOption) (*Moijaime_Output, error) + SpreadshirtRandom(ctx context.Context, in *SpreadshirtRandom_Input, opts ...grpc.CallOption) (*SpreadshirtRandom_Output, error) + SpreadshirtAll(ctx context.Context, in *SpreadshirtAll_Input, opts ...grpc.CallOption) (*SpreadshirtAll_Output, error) + Wotd(ctx context.Context, in *Wotd_Input, opts ...grpc.CallOption) (*Wotd_Output, error) + AlternateLogo(ctx context.Context, in *AlternateLogo_Input, opts ...grpc.CallOption) (*AlternateLogo_Output, error) + SoundcloudMe(ctx context.Context, in *SoundcloudMe_Input, opts ...grpc.CallOption) (*SoundcloudMe_Output, error) + SoundcloudPlaylists(ctx context.Context, in *SoundcloudPlaylists_Input, opts ...grpc.CallOption) (*SoundcloudPlaylists_Output, error) + SoundcloudPlaylist(ctx context.Context, in *SoundcloudPlaylist_Input, opts ...grpc.CallOption) (*SoundcloudPlaylist_Output, error) + SoundcloudTracks(ctx context.Context, in *SoundcloudTracks_Input, opts ...grpc.CallOption) (*SoundcloudTracks_Output, error) + SoundcloudTrack(ctx context.Context, in *SoundcloudTrack_Input, opts ...grpc.CallOption) (*SoundcloudTrack_Output, error) + Metrics(ctx context.Context, in *Metrics_Input, opts ...grpc.CallOption) (*Metrics_Output, error) + CounterInc(ctx context.Context, in *CounterInc_Input, opts ...grpc.CallOption) (*CounterInc_Output, error) + NumberSetIfBigger(ctx context.Context, in *NumberSetIfBigger_Input, opts ...grpc.CallOption) (*NumberSetIfBigger_Output, error) + KeyValueStringSet(ctx context.Context, in *KeyValueStringSet_Input, opts ...grpc.CallOption) (*KeyValueStringSet_Output, error) + KeyValueStringGet(ctx context.Context, in *KeyValueStringGet_Input, opts ...grpc.CallOption) (*KeyValueStringGet_Output, error) + KeyValueFloatSet(ctx context.Context, in *KeyValueFloatSet_Input, opts ...grpc.CallOption) (*KeyValueFloatSet_Output, error) + KeyValueFloatGet(ctx context.Context, in *KeyValueFloatGet_Input, opts ...grpc.CallOption) (*KeyValueFloatGet_Output, error) + EchoStream(ctx context.Context, opts ...grpc.CallOption) (Service_EchoStreamClient, error) + TestReadStream(ctx context.Context, in *TestReadStream_Input, opts ...grpc.CallOption) (Service_TestReadStreamClient, error) +} + +type serviceClient struct { + cc *grpc.ClientConn +} + +func NewServiceClient(cc *grpc.ClientConn) ServiceClient { + return &serviceClient{cc} +} + +func (c *serviceClient) KryptosEncrypt(ctx context.Context, in *Kryptos_Input, opts ...grpc.CallOption) (*Kryptos_Output, error) { + out := new(Kryptos_Output) + err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/KryptosEncrypt", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(ServiceServer).Hackz(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/calcbiz.calcapi.Service/Hackz", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ServiceServer).Hackz(ctx, req.(*Hackz_Input)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Service_Crew_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(Crew_Input) - if err := dec(in); err != nil { +func (c *serviceClient) KryptosDecrypt(ctx context.Context, in *Kryptos_Input, opts ...grpc.CallOption) (*Kryptos_Output, error) { + out := new(Kryptos_Output) + err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/KryptosDecrypt", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(ServiceServer).Crew(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/calcbiz.calcapi.Service/Crew", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ServiceServer).Crew(ctx, req.(*Crew_Input)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Service_Numberinfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(Numberinfo_Input) - if err := dec(in); err != nil { +func (c *serviceClient) TpyoEnocde(ctx context.Context, in *TpyoEnocde_Ipunt, opts ...grpc.CallOption) (*TpyoEnocde_Ouptut, error) { + out := new(TpyoEnocde_Ouptut) + err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/TpyoEnocde", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(ServiceServer).Numberinfo(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/calcbiz.calcapi.Service/Numberinfo", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ServiceServer).Numberinfo(ctx, req.(*Numberinfo_Input)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Service_Recettator_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(Recettator_Input) - if err := dec(in); err != nil { +func (c *serviceClient) Ping(ctx context.Context, in *Ping_Input, opts ...grpc.CallOption) (*Ping_Output, error) { + out := new(Ping_Output) + err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/Ping", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(ServiceServer).Recettator(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/calcbiz.calcapi.Service/Recettator", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ServiceServer).Recettator(ctx, req.(*Recettator_Input)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Service_Moijaime_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(Moijaime_Input) - if err := dec(in); err != nil { +func (c *serviceClient) Dashboard(ctx context.Context, in *Dashboard_Input, opts ...grpc.CallOption) (*Dashboard_Output, error) { + out := new(Dashboard_Output) + err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/Dashboard", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(ServiceServer).Moijaime(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/calcbiz.calcapi.Service/Moijaime", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ServiceServer).Moijaime(ctx, req.(*Moijaime_Input)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Service_SpreadshirtRandom_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SpreadshirtRandom_Input) - if err := dec(in); err != nil { +func (c *serviceClient) Hackz(ctx context.Context, in *Hackz_Input, opts ...grpc.CallOption) (*Hackz_Output, error) { + out := new(Hackz_Output) + err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/Hackz", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(ServiceServer).SpreadshirtRandom(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/calcbiz.calcapi.Service/SpreadshirtRandom", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ServiceServer).SpreadshirtRandom(ctx, req.(*SpreadshirtRandom_Input)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Service_SpreadshirtAll_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SpreadshirtAll_Input) - if err := dec(in); err != nil { +func (c *serviceClient) Crew(ctx context.Context, in *Crew_Input, opts ...grpc.CallOption) (*Crew_Output, error) { + out := new(Crew_Output) + err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/Crew", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(ServiceServer).SpreadshirtAll(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/calcbiz.calcapi.Service/SpreadshirtAll", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ServiceServer).SpreadshirtAll(ctx, req.(*SpreadshirtAll_Input)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Service_Wotd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(Wotd_Input) - if err := dec(in); err != nil { +func (c *serviceClient) Numberinfo(ctx context.Context, in *Numberinfo_Input, opts ...grpc.CallOption) (*Numberinfo_Output, error) { + out := new(Numberinfo_Output) + err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/Numberinfo", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(ServiceServer).Wotd(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/calcbiz.calcapi.Service/Wotd", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ServiceServer).Wotd(ctx, req.(*Wotd_Input)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Service_AlternateLogo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(AlternateLogo_Input) - if err := dec(in); err != nil { +func (c *serviceClient) Recettator(ctx context.Context, in *Recettator_Input, opts ...grpc.CallOption) (*Recettator_Output, error) { + out := new(Recettator_Output) + err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/Recettator", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(ServiceServer).AlternateLogo(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/calcbiz.calcapi.Service/AlternateLogo", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ServiceServer).AlternateLogo(ctx, req.(*AlternateLogo_Input)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Service_SoundcloudMe_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SoundcloudMe_Input) - if err := dec(in); err != nil { +func (c *serviceClient) Moijaime(ctx context.Context, in *Moijaime_Input, opts ...grpc.CallOption) (*Moijaime_Output, error) { + out := new(Moijaime_Output) + err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/Moijaime", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(ServiceServer).SoundcloudMe(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/calcbiz.calcapi.Service/SoundcloudMe", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ServiceServer).SoundcloudMe(ctx, req.(*SoundcloudMe_Input)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Service_SoundcloudPlaylists_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SoundcloudPlaylists_Input) - if err := dec(in); err != nil { +func (c *serviceClient) SpreadshirtRandom(ctx context.Context, in *SpreadshirtRandom_Input, opts ...grpc.CallOption) (*SpreadshirtRandom_Output, error) { + out := new(SpreadshirtRandom_Output) + err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/SpreadshirtRandom", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(ServiceServer).SoundcloudPlaylists(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/calcbiz.calcapi.Service/SoundcloudPlaylists", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ServiceServer).SoundcloudPlaylists(ctx, req.(*SoundcloudPlaylists_Input)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Service_SoundcloudPlaylist_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SoundcloudPlaylist_Input) - if err := dec(in); err != nil { +func (c *serviceClient) SpreadshirtAll(ctx context.Context, in *SpreadshirtAll_Input, opts ...grpc.CallOption) (*SpreadshirtAll_Output, error) { + out := new(SpreadshirtAll_Output) + err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/SpreadshirtAll", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(ServiceServer).SoundcloudPlaylist(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/calcbiz.calcapi.Service/SoundcloudPlaylist", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ServiceServer).SoundcloudPlaylist(ctx, req.(*SoundcloudPlaylist_Input)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Service_SoundcloudTracks_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SoundcloudTracks_Input) - if err := dec(in); err != nil { +func (c *serviceClient) Wotd(ctx context.Context, in *Wotd_Input, opts ...grpc.CallOption) (*Wotd_Output, error) { + out := new(Wotd_Output) + err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/Wotd", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(ServiceServer).SoundcloudTracks(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/calcbiz.calcapi.Service/SoundcloudTracks", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ServiceServer).SoundcloudTracks(ctx, req.(*SoundcloudTracks_Input)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Service_SoundcloudTrack_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(SoundcloudTrack_Input) - if err := dec(in); err != nil { +func (c *serviceClient) AlternateLogo(ctx context.Context, in *AlternateLogo_Input, opts ...grpc.CallOption) (*AlternateLogo_Output, error) { + out := new(AlternateLogo_Output) + err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/AlternateLogo", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(ServiceServer).SoundcloudTrack(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/calcbiz.calcapi.Service/SoundcloudTrack", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ServiceServer).SoundcloudTrack(ctx, req.(*SoundcloudTrack_Input)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Service_Metrics_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(Metrics_Input) - if err := dec(in); err != nil { +func (c *serviceClient) SoundcloudMe(ctx context.Context, in *SoundcloudMe_Input, opts ...grpc.CallOption) (*SoundcloudMe_Output, error) { + out := new(SoundcloudMe_Output) + err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/SoundcloudMe", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(ServiceServer).Metrics(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/calcbiz.calcapi.Service/Metrics", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ServiceServer).Metrics(ctx, req.(*Metrics_Input)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Service_CounterInc_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(CounterInc_Input) - if err := dec(in); err != nil { +func (c *serviceClient) SoundcloudPlaylists(ctx context.Context, in *SoundcloudPlaylists_Input, opts ...grpc.CallOption) (*SoundcloudPlaylists_Output, error) { + out := new(SoundcloudPlaylists_Output) + err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/SoundcloudPlaylists", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(ServiceServer).CounterInc(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/calcbiz.calcapi.Service/CounterInc", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ServiceServer).CounterInc(ctx, req.(*CounterInc_Input)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Service_NumberSetIfBigger_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(NumberSetIfBigger_Input) - if err := dec(in); err != nil { +func (c *serviceClient) SoundcloudPlaylist(ctx context.Context, in *SoundcloudPlaylist_Input, opts ...grpc.CallOption) (*SoundcloudPlaylist_Output, error) { + out := new(SoundcloudPlaylist_Output) + err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/SoundcloudPlaylist", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(ServiceServer).NumberSetIfBigger(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/calcbiz.calcapi.Service/NumberSetIfBigger", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ServiceServer).NumberSetIfBigger(ctx, req.(*NumberSetIfBigger_Input)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Service_KeyValueStringSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(KeyValueStringSet_Input) - if err := dec(in); err != nil { +func (c *serviceClient) SoundcloudTracks(ctx context.Context, in *SoundcloudTracks_Input, opts ...grpc.CallOption) (*SoundcloudTracks_Output, error) { + out := new(SoundcloudTracks_Output) + err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/SoundcloudTracks", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(ServiceServer).KeyValueStringSet(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/calcbiz.calcapi.Service/KeyValueStringSet", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ServiceServer).KeyValueStringSet(ctx, req.(*KeyValueStringSet_Input)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Service_KeyValueStringGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(KeyValueStringGet_Input) - if err := dec(in); err != nil { +func (c *serviceClient) SoundcloudTrack(ctx context.Context, in *SoundcloudTrack_Input, opts ...grpc.CallOption) (*SoundcloudTrack_Output, error) { + out := new(SoundcloudTrack_Output) + err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/SoundcloudTrack", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(ServiceServer).KeyValueStringGet(ctx, in) + return out, nil +} + +func (c *serviceClient) Metrics(ctx context.Context, in *Metrics_Input, opts ...grpc.CallOption) (*Metrics_Output, error) { + out := new(Metrics_Output) + err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/Metrics", in, out, opts...) + if err != nil { + return nil, err } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/calcbiz.calcapi.Service/KeyValueStringGet", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ServiceServer).KeyValueStringGet(ctx, req.(*KeyValueStringGet_Input)) - } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Service_KeyValueFloatSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(KeyValueFloatSet_Input) - if err := dec(in); err != nil { +func (c *serviceClient) CounterInc(ctx context.Context, in *CounterInc_Input, opts ...grpc.CallOption) (*CounterInc_Output, error) { + out := new(CounterInc_Output) + err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/CounterInc", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(ServiceServer).KeyValueFloatSet(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/calcbiz.calcapi.Service/KeyValueFloatSet", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ServiceServer).KeyValueFloatSet(ctx, req.(*KeyValueFloatSet_Input)) + return out, nil +} + +func (c *serviceClient) NumberSetIfBigger(ctx context.Context, in *NumberSetIfBigger_Input, opts ...grpc.CallOption) (*NumberSetIfBigger_Output, error) { + out := new(NumberSetIfBigger_Output) + err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/NumberSetIfBigger", in, out, opts...) + if err != nil { + return nil, err } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Service_KeyValueFloatGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(KeyValueFloatGet_Input) - if err := dec(in); err != nil { +func (c *serviceClient) KeyValueStringSet(ctx context.Context, in *KeyValueStringSet_Input, opts ...grpc.CallOption) (*KeyValueStringSet_Output, error) { + out := new(KeyValueStringSet_Output) + err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/KeyValueStringSet", in, out, opts...) + if err != nil { return nil, err } - if interceptor == nil { - return srv.(ServiceServer).KeyValueFloatGet(ctx, in) + return out, nil +} + +func (c *serviceClient) KeyValueStringGet(ctx context.Context, in *KeyValueStringGet_Input, opts ...grpc.CallOption) (*KeyValueStringGet_Output, error) { + out := new(KeyValueStringGet_Output) + err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/KeyValueStringGet", in, out, opts...) + if err != nil { + return nil, err } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/calcbiz.calcapi.Service/KeyValueFloatGet", + return out, nil +} + +func (c *serviceClient) KeyValueFloatSet(ctx context.Context, in *KeyValueFloatSet_Input, opts ...grpc.CallOption) (*KeyValueFloatSet_Output, error) { + out := new(KeyValueFloatSet_Output) + err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/KeyValueFloatSet", in, out, opts...) + if err != nil { + return nil, err } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(ServiceServer).KeyValueFloatGet(ctx, req.(*KeyValueFloatGet_Input)) + return out, nil +} + +func (c *serviceClient) KeyValueFloatGet(ctx context.Context, in *KeyValueFloatGet_Input, opts ...grpc.CallOption) (*KeyValueFloatGet_Output, error) { + out := new(KeyValueFloatGet_Output) + err := c.cc.Invoke(ctx, "/calcbiz.calcapi.Service/KeyValueFloatGet", in, out, opts...) + if err != nil { + return nil, err } - return interceptor(ctx, in, info, handler) + return out, nil } -func _Service_EchoStream_Handler(srv interface{}, stream grpc.ServerStream) error { - return srv.(ServiceServer).EchoStream(&serviceEchoStreamServer{stream}) +func (c *serviceClient) EchoStream(ctx context.Context, opts ...grpc.CallOption) (Service_EchoStreamClient, error) { + stream, err := c.cc.NewStream(ctx, &_Service_serviceDesc.Streams[0], "/calcbiz.calcapi.Service/EchoStream", opts...) + if err != nil { + return nil, err + } + x := &serviceEchoStreamClient{stream} + return x, nil } -type Service_EchoStreamServer interface { - Send(*EchoStream_Output) error - Recv() (*EchoStream_Input, error) - grpc.ServerStream +type Service_EchoStreamClient interface { + Send(*EchoStream_Input) error + Recv() (*EchoStream_Output, error) + grpc.ClientStream } -type serviceEchoStreamServer struct { - grpc.ServerStream +type serviceEchoStreamClient struct { + grpc.ClientStream } -func (x *serviceEchoStreamServer) Send(m *EchoStream_Output) error { - return x.ServerStream.SendMsg(m) +func (x *serviceEchoStreamClient) Send(m *EchoStream_Input) error { + return x.ClientStream.SendMsg(m) } -func (x *serviceEchoStreamServer) Recv() (*EchoStream_Input, error) { - m := new(EchoStream_Input) - if err := x.ServerStream.RecvMsg(m); err != nil { +func (x *serviceEchoStreamClient) Recv() (*EchoStream_Output, error) { + m := new(EchoStream_Output) + if err := x.ClientStream.RecvMsg(m); err != nil { return nil, err } return m, nil } -func _Service_TestReadStream_Handler(srv interface{}, stream grpc.ServerStream) error { - m := new(TestReadStream_Input) - if err := stream.RecvMsg(m); err != nil { - return err +func (c *serviceClient) TestReadStream(ctx context.Context, in *TestReadStream_Input, opts ...grpc.CallOption) (Service_TestReadStreamClient, error) { + stream, err := c.cc.NewStream(ctx, &_Service_serviceDesc.Streams[1], "/calcbiz.calcapi.Service/TestReadStream", opts...) + if err != nil { + return nil, err } - return srv.(ServiceServer).TestReadStream(m, &serviceTestReadStreamServer{stream}) + x := &serviceTestReadStreamClient{stream} + if err := x.ClientStream.SendMsg(in); err != nil { + return nil, err + } + if err := x.ClientStream.CloseSend(); err != nil { + return nil, err + } + return x, nil } -type Service_TestReadStreamServer interface { - Send(*TestReadStream_Output) error - grpc.ServerStream +type Service_TestReadStreamClient interface { + Recv() (*TestReadStream_Output, error) + grpc.ClientStream } -type serviceTestReadStreamServer struct { - grpc.ServerStream +type serviceTestReadStreamClient struct { + grpc.ClientStream } -func (x *serviceTestReadStreamServer) Send(m *TestReadStream_Output) error { - return x.ServerStream.SendMsg(m) +func (x *serviceTestReadStreamClient) Recv() (*TestReadStream_Output, error) { + m := new(TestReadStream_Output) + if err := x.ClientStream.RecvMsg(m); err != nil { + return nil, err + } + return m, nil } -var _Service_serviceDesc = grpc.ServiceDesc{ - ServiceName: "calcbiz.calcapi.Service", - HandlerType: (*ServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "KryptosEncrypt", - Handler: _Service_KryptosEncrypt_Handler, - }, - { - MethodName: "KryptosDecrypt", - Handler: _Service_KryptosDecrypt_Handler, - }, - { - MethodName: "TpyoEnocde", - Handler: _Service_TpyoEnocde_Handler, - }, - { - MethodName: "Ping", - Handler: _Service_Ping_Handler, - }, - { - MethodName: "Dashboard", - Handler: _Service_Dashboard_Handler, - }, - { - MethodName: "Hackz", - Handler: _Service_Hackz_Handler, - }, - { - MethodName: "Crew", - Handler: _Service_Crew_Handler, - }, - { - MethodName: "Numberinfo", - Handler: _Service_Numberinfo_Handler, - }, - { - MethodName: "Recettator", - Handler: _Service_Recettator_Handler, - }, - { - MethodName: "Moijaime", - Handler: _Service_Moijaime_Handler, - }, - { - MethodName: "SpreadshirtRandom", - Handler: _Service_SpreadshirtRandom_Handler, - }, - { - MethodName: "SpreadshirtAll", - Handler: _Service_SpreadshirtAll_Handler, - }, - { - MethodName: "Wotd", - Handler: _Service_Wotd_Handler, - }, - { - MethodName: "AlternateLogo", - Handler: _Service_AlternateLogo_Handler, - }, - { - MethodName: "SoundcloudMe", - Handler: _Service_SoundcloudMe_Handler, - }, - { - MethodName: "SoundcloudPlaylists", - Handler: _Service_SoundcloudPlaylists_Handler, - }, - { - MethodName: "SoundcloudPlaylist", - Handler: _Service_SoundcloudPlaylist_Handler, - }, - { - MethodName: "SoundcloudTracks", - Handler: _Service_SoundcloudTracks_Handler, - }, - { - MethodName: "SoundcloudTrack", - Handler: _Service_SoundcloudTrack_Handler, - }, - { - MethodName: "Metrics", - Handler: _Service_Metrics_Handler, - }, - { - MethodName: "CounterInc", - Handler: _Service_CounterInc_Handler, - }, - { - MethodName: "NumberSetIfBigger", - Handler: _Service_NumberSetIfBigger_Handler, - }, - { - MethodName: "KeyValueStringSet", - Handler: _Service_KeyValueStringSet_Handler, - }, - { - MethodName: "KeyValueStringGet", - Handler: _Service_KeyValueStringGet_Handler, - }, - { - MethodName: "KeyValueFloatSet", - Handler: _Service_KeyValueFloatSet_Handler, - }, - { - MethodName: "KeyValueFloatGet", - Handler: _Service_KeyValueFloatGet_Handler, - }, - }, - Streams: []grpc.StreamDesc{ - { - StreamName: "EchoStream", - Handler: _Service_EchoStream_Handler, - ServerStreams: true, - ClientStreams: true, - }, - { - StreamName: "TestReadStream", - Handler: _Service_TestReadStream_Handler, - ServerStreams: true, - }, - }, - Metadata: "calcapi.proto", +// ServiceServer is the server API for Service service. +type ServiceServer interface { + KryptosEncrypt(context.Context, *Kryptos_Input) (*Kryptos_Output, error) + KryptosDecrypt(context.Context, *Kryptos_Input) (*Kryptos_Output, error) + TpyoEnocde(context.Context, *TpyoEnocde_Ipunt) (*TpyoEnocde_Ouptut, error) + Ping(context.Context, *Ping_Input) (*Ping_Output, error) + Dashboard(context.Context, *Dashboard_Input) (*Dashboard_Output, error) + Hackz(context.Context, *Hackz_Input) (*Hackz_Output, error) + Crew(context.Context, *Crew_Input) (*Crew_Output, error) + Numberinfo(context.Context, *Numberinfo_Input) (*Numberinfo_Output, error) + Recettator(context.Context, *Recettator_Input) (*Recettator_Output, error) + Moijaime(context.Context, *Moijaime_Input) (*Moijaime_Output, error) + SpreadshirtRandom(context.Context, *SpreadshirtRandom_Input) (*SpreadshirtRandom_Output, error) + SpreadshirtAll(context.Context, *SpreadshirtAll_Input) (*SpreadshirtAll_Output, error) + Wotd(context.Context, *Wotd_Input) (*Wotd_Output, error) + AlternateLogo(context.Context, *AlternateLogo_Input) (*AlternateLogo_Output, error) + SoundcloudMe(context.Context, *SoundcloudMe_Input) (*SoundcloudMe_Output, error) + SoundcloudPlaylists(context.Context, *SoundcloudPlaylists_Input) (*SoundcloudPlaylists_Output, error) + SoundcloudPlaylist(context.Context, *SoundcloudPlaylist_Input) (*SoundcloudPlaylist_Output, error) + SoundcloudTracks(context.Context, *SoundcloudTracks_Input) (*SoundcloudTracks_Output, error) + SoundcloudTrack(context.Context, *SoundcloudTrack_Input) (*SoundcloudTrack_Output, error) + Metrics(context.Context, *Metrics_Input) (*Metrics_Output, error) + CounterInc(context.Context, *CounterInc_Input) (*CounterInc_Output, error) + NumberSetIfBigger(context.Context, *NumberSetIfBigger_Input) (*NumberSetIfBigger_Output, error) + KeyValueStringSet(context.Context, *KeyValueStringSet_Input) (*KeyValueStringSet_Output, error) + KeyValueStringGet(context.Context, *KeyValueStringGet_Input) (*KeyValueStringGet_Output, error) + KeyValueFloatSet(context.Context, *KeyValueFloatSet_Input) (*KeyValueFloatSet_Output, error) + KeyValueFloatGet(context.Context, *KeyValueFloatGet_Input) (*KeyValueFloatGet_Output, error) + EchoStream(Service_EchoStreamServer) error + TestReadStream(*TestReadStream_Input, Service_TestReadStreamServer) error } -func (m *EchoStream) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil +// UnimplementedServiceServer can be embedded to have forward compatible implementations. +type UnimplementedServiceServer struct { } -func (m *EchoStream) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (*UnimplementedServiceServer) KryptosEncrypt(ctx context.Context, req *Kryptos_Input) (*Kryptos_Output, error) { + return nil, status.Errorf(codes.Unimplemented, "method KryptosEncrypt not implemented") } - -func (m *EchoStream) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil +func (*UnimplementedServiceServer) KryptosDecrypt(ctx context.Context, req *Kryptos_Input) (*Kryptos_Output, error) { + return nil, status.Errorf(codes.Unimplemented, "method KryptosDecrypt not implemented") } - -func (m *EchoStream_Input) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil +func (*UnimplementedServiceServer) TpyoEnocde(ctx context.Context, req *TpyoEnocde_Ipunt) (*TpyoEnocde_Ouptut, error) { + return nil, status.Errorf(codes.Unimplemented, "method TpyoEnocde not implemented") } - -func (m *EchoStream_Input) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (*UnimplementedServiceServer) Ping(ctx context.Context, req *Ping_Input) (*Ping_Output, error) { + return nil, status.Errorf(codes.Unimplemented, "method Ping not implemented") } - -func (m *EchoStream_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Msg) > 0 { - i -= len(m.Msg) - copy(dAtA[i:], m.Msg) - i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Msg))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil +func (*UnimplementedServiceServer) Dashboard(ctx context.Context, req *Dashboard_Input) (*Dashboard_Output, error) { + return nil, status.Errorf(codes.Unimplemented, "method Dashboard not implemented") } - -func (m *EchoStream_Output) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil +func (*UnimplementedServiceServer) Hackz(ctx context.Context, req *Hackz_Input) (*Hackz_Output, error) { + return nil, status.Errorf(codes.Unimplemented, "method Hackz not implemented") } - -func (m *EchoStream_Output) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (*UnimplementedServiceServer) Crew(ctx context.Context, req *Crew_Input) (*Crew_Output, error) { + return nil, status.Errorf(codes.Unimplemented, "method Crew not implemented") } - -func (m *EchoStream_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Msg) > 0 { - i -= len(m.Msg) - copy(dAtA[i:], m.Msg) - i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Msg))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil +func (*UnimplementedServiceServer) Numberinfo(ctx context.Context, req *Numberinfo_Input) (*Numberinfo_Output, error) { + return nil, status.Errorf(codes.Unimplemented, "method Numberinfo not implemented") } - -func (m *TestReadStream) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil +func (*UnimplementedServiceServer) Recettator(ctx context.Context, req *Recettator_Input) (*Recettator_Output, error) { + return nil, status.Errorf(codes.Unimplemented, "method Recettator not implemented") } - -func (m *TestReadStream) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (*UnimplementedServiceServer) Moijaime(ctx context.Context, req *Moijaime_Input) (*Moijaime_Output, error) { + return nil, status.Errorf(codes.Unimplemented, "method Moijaime not implemented") } - -func (m *TestReadStream) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil +func (*UnimplementedServiceServer) SpreadshirtRandom(ctx context.Context, req *SpreadshirtRandom_Input) (*SpreadshirtRandom_Output, error) { + return nil, status.Errorf(codes.Unimplemented, "method SpreadshirtRandom not implemented") } - -func (m *TestReadStream_Input) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil +func (*UnimplementedServiceServer) SpreadshirtAll(ctx context.Context, req *SpreadshirtAll_Input) (*SpreadshirtAll_Output, error) { + return nil, status.Errorf(codes.Unimplemented, "method SpreadshirtAll not implemented") } - -func (m *TestReadStream_Input) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (*UnimplementedServiceServer) Wotd(ctx context.Context, req *Wotd_Input) (*Wotd_Output, error) { + return nil, status.Errorf(codes.Unimplemented, "method Wotd not implemented") } - -func (m *TestReadStream_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil +func (*UnimplementedServiceServer) AlternateLogo(ctx context.Context, req *AlternateLogo_Input) (*AlternateLogo_Output, error) { + return nil, status.Errorf(codes.Unimplemented, "method AlternateLogo not implemented") } - -func (m *TestReadStream_Output) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil +func (*UnimplementedServiceServer) SoundcloudMe(ctx context.Context, req *SoundcloudMe_Input) (*SoundcloudMe_Output, error) { + return nil, status.Errorf(codes.Unimplemented, "method SoundcloudMe not implemented") } - -func (m *TestReadStream_Output) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (*UnimplementedServiceServer) SoundcloudPlaylists(ctx context.Context, req *SoundcloudPlaylists_Input) (*SoundcloudPlaylists_Output, error) { + return nil, status.Errorf(codes.Unimplemented, "method SoundcloudPlaylists not implemented") } - -func (m *TestReadStream_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Msg) > 0 { - i -= len(m.Msg) - copy(dAtA[i:], m.Msg) - i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Msg))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil +func (*UnimplementedServiceServer) SoundcloudPlaylist(ctx context.Context, req *SoundcloudPlaylist_Input) (*SoundcloudPlaylist_Output, error) { + return nil, status.Errorf(codes.Unimplemented, "method SoundcloudPlaylist not implemented") } - -func (m *CounterInc) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil +func (*UnimplementedServiceServer) SoundcloudTracks(ctx context.Context, req *SoundcloudTracks_Input) (*SoundcloudTracks_Output, error) { + return nil, status.Errorf(codes.Unimplemented, "method SoundcloudTracks not implemented") } - -func (m *CounterInc) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (*UnimplementedServiceServer) SoundcloudTrack(ctx context.Context, req *SoundcloudTrack_Input) (*SoundcloudTrack_Output, error) { + return nil, status.Errorf(codes.Unimplemented, "method SoundcloudTrack not implemented") } - -func (m *CounterInc) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil +func (*UnimplementedServiceServer) Metrics(ctx context.Context, req *Metrics_Input) (*Metrics_Output, error) { + return nil, status.Errorf(codes.Unimplemented, "method Metrics not implemented") } - -func (m *CounterInc_Input) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil +func (*UnimplementedServiceServer) CounterInc(ctx context.Context, req *CounterInc_Input) (*CounterInc_Output, error) { + return nil, status.Errorf(codes.Unimplemented, "method CounterInc not implemented") } - -func (m *CounterInc_Input) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (*UnimplementedServiceServer) NumberSetIfBigger(ctx context.Context, req *NumberSetIfBigger_Input) (*NumberSetIfBigger_Output, error) { + return nil, status.Errorf(codes.Unimplemented, "method NumberSetIfBigger not implemented") } - -func (m *CounterInc_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Gap != 0 { - i -= 8 - encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Gap)))) - i-- - dAtA[i] = 0x11 - } - if len(m.Key) > 0 { - i -= len(m.Key) - copy(dAtA[i:], m.Key) - i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Key))) - i-- - dAtA[i] = 0xa - } - return len(dAtA) - i, nil +func (*UnimplementedServiceServer) KeyValueStringSet(ctx context.Context, req *KeyValueStringSet_Input) (*KeyValueStringSet_Output, error) { + return nil, status.Errorf(codes.Unimplemented, "method KeyValueStringSet not implemented") } - -func (m *CounterInc_Output) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil +func (*UnimplementedServiceServer) KeyValueStringGet(ctx context.Context, req *KeyValueStringGet_Input) (*KeyValueStringGet_Output, error) { + return nil, status.Errorf(codes.Unimplemented, "method KeyValueStringGet not implemented") } - -func (m *CounterInc_Output) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (*UnimplementedServiceServer) KeyValueFloatSet(ctx context.Context, req *KeyValueFloatSet_Input) (*KeyValueFloatSet_Output, error) { + return nil, status.Errorf(codes.Unimplemented, "method KeyValueFloatSet not implemented") } - -func (m *CounterInc_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Value != 0 { - i -= 8 - encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Value)))) - i-- - dAtA[i] = 0x11 - } - return len(dAtA) - i, nil +func (*UnimplementedServiceServer) KeyValueFloatGet(ctx context.Context, req *KeyValueFloatGet_Input) (*KeyValueFloatGet_Output, error) { + return nil, status.Errorf(codes.Unimplemented, "method KeyValueFloatGet not implemented") } - -func (m *NumberSetIfBigger) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil +func (*UnimplementedServiceServer) EchoStream(srv Service_EchoStreamServer) error { + return status.Errorf(codes.Unimplemented, "method EchoStream not implemented") } - -func (m *NumberSetIfBigger) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (*UnimplementedServiceServer) TestReadStream(req *TestReadStream_Input, srv Service_TestReadStreamServer) error { + return status.Errorf(codes.Unimplemented, "method TestReadStream not implemented") } -func (m *NumberSetIfBigger) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil +func RegisterServiceServer(s *grpc.Server, srv ServiceServer) { + s.RegisterService(&_Service_serviceDesc, srv) } -func (m *NumberSetIfBigger_Input) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Service_KryptosEncrypt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(Kryptos_Input) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil -} - -func (m *NumberSetIfBigger_Input) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *NumberSetIfBigger_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Value != 0 { - i -= 8 - encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Value)))) - i-- - dAtA[i] = 0x11 + if interceptor == nil { + return srv.(ServiceServer).KryptosEncrypt(ctx, in) } - if len(m.Key) > 0 { - i -= len(m.Key) - copy(dAtA[i:], m.Key) - i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Key))) - i-- - dAtA[i] = 0xa + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/calcbiz.calcapi.Service/KryptosEncrypt", } - return len(dAtA) - i, nil + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ServiceServer).KryptosEncrypt(ctx, req.(*Kryptos_Input)) + } + return interceptor(ctx, in, info, handler) } -func (m *NumberSetIfBigger_Output) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Service_KryptosDecrypt_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(Kryptos_Input) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil -} - -func (m *NumberSetIfBigger_Output) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *NumberSetIfBigger_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Value != 0 { - i -= 8 - encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Value)))) - i-- - dAtA[i] = 0x11 + if interceptor == nil { + return srv.(ServiceServer).KryptosDecrypt(ctx, in) } - return len(dAtA) - i, nil + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/calcbiz.calcapi.Service/KryptosDecrypt", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ServiceServer).KryptosDecrypt(ctx, req.(*Kryptos_Input)) + } + return interceptor(ctx, in, info, handler) } -func (m *KeyValueStringSet) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Service_TpyoEnocde_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(TpyoEnocde_Ipunt) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil -} - -func (m *KeyValueStringSet) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *KeyValueStringSet) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil + if interceptor == nil { + return srv.(ServiceServer).TpyoEnocde(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/calcbiz.calcapi.Service/TpyoEnocde", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ServiceServer).TpyoEnocde(ctx, req.(*TpyoEnocde_Ipunt)) + } + return interceptor(ctx, in, info, handler) } -func (m *KeyValueStringSet_Input) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Service_Ping_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(Ping_Input) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil -} - -func (m *KeyValueStringSet_Input) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} - -func (m *KeyValueStringSet_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Value) > 0 { - i -= len(m.Value) - copy(dAtA[i:], m.Value) - i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Value))) - i-- - dAtA[i] = 0x12 + if interceptor == nil { + return srv.(ServiceServer).Ping(ctx, in) } - if len(m.Key) > 0 { - i -= len(m.Key) - copy(dAtA[i:], m.Key) - i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Key))) - i-- - dAtA[i] = 0xa + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/calcbiz.calcapi.Service/Ping", } - return len(dAtA) - i, nil + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ServiceServer).Ping(ctx, req.(*Ping_Input)) + } + return interceptor(ctx, in, info, handler) } -func (m *KeyValueStringSet_Output) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Service_Dashboard_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(Dashboard_Input) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil + if interceptor == nil { + return srv.(ServiceServer).Dashboard(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/calcbiz.calcapi.Service/Dashboard", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ServiceServer).Dashboard(ctx, req.(*Dashboard_Input)) + } + return interceptor(ctx, in, info, handler) } -func (m *KeyValueStringSet_Output) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func _Service_Hackz_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(Hackz_Input) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ServiceServer).Hackz(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/calcbiz.calcapi.Service/Hackz", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ServiceServer).Hackz(ctx, req.(*Hackz_Input)) + } + return interceptor(ctx, in, info, handler) } -func (m *KeyValueStringSet_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil +func _Service_Crew_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(Crew_Input) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ServiceServer).Crew(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/calcbiz.calcapi.Service/Crew", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ServiceServer).Crew(ctx, req.(*Crew_Input)) + } + return interceptor(ctx, in, info, handler) } -func (m *KeyValueStringGet) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Service_Numberinfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(Numberinfo_Input) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil + if interceptor == nil { + return srv.(ServiceServer).Numberinfo(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/calcbiz.calcapi.Service/Numberinfo", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ServiceServer).Numberinfo(ctx, req.(*Numberinfo_Input)) + } + return interceptor(ctx, in, info, handler) } -func (m *KeyValueStringGet) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func _Service_Recettator_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(Recettator_Input) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ServiceServer).Recettator(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/calcbiz.calcapi.Service/Recettator", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ServiceServer).Recettator(ctx, req.(*Recettator_Input)) + } + return interceptor(ctx, in, info, handler) } -func (m *KeyValueStringGet) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil +func _Service_Moijaime_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(Moijaime_Input) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ServiceServer).Moijaime(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/calcbiz.calcapi.Service/Moijaime", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ServiceServer).Moijaime(ctx, req.(*Moijaime_Input)) + } + return interceptor(ctx, in, info, handler) } -func (m *KeyValueStringGet_Input) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Service_SpreadshirtRandom_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(SpreadshirtRandom_Input) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil + if interceptor == nil { + return srv.(ServiceServer).SpreadshirtRandom(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/calcbiz.calcapi.Service/SpreadshirtRandom", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ServiceServer).SpreadshirtRandom(ctx, req.(*SpreadshirtRandom_Input)) + } + return interceptor(ctx, in, info, handler) } -func (m *KeyValueStringGet_Input) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func _Service_SpreadshirtAll_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(SpreadshirtAll_Input) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ServiceServer).SpreadshirtAll(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/calcbiz.calcapi.Service/SpreadshirtAll", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ServiceServer).SpreadshirtAll(ctx, req.(*SpreadshirtAll_Input)) + } + return interceptor(ctx, in, info, handler) } -func (m *KeyValueStringGet_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Key) > 0 { - i -= len(m.Key) - copy(dAtA[i:], m.Key) - i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Key))) - i-- - dAtA[i] = 0xa +func _Service_Wotd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(Wotd_Input) + if err := dec(in); err != nil { + return nil, err } - return len(dAtA) - i, nil + if interceptor == nil { + return srv.(ServiceServer).Wotd(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/calcbiz.calcapi.Service/Wotd", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ServiceServer).Wotd(ctx, req.(*Wotd_Input)) + } + return interceptor(ctx, in, info, handler) } -func (m *KeyValueStringGet_Output) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Service_AlternateLogo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(AlternateLogo_Input) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil + if interceptor == nil { + return srv.(ServiceServer).AlternateLogo(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/calcbiz.calcapi.Service/AlternateLogo", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ServiceServer).AlternateLogo(ctx, req.(*AlternateLogo_Input)) + } + return interceptor(ctx, in, info, handler) } -func (m *KeyValueStringGet_Output) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func _Service_SoundcloudMe_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(SoundcloudMe_Input) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ServiceServer).SoundcloudMe(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/calcbiz.calcapi.Service/SoundcloudMe", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ServiceServer).SoundcloudMe(ctx, req.(*SoundcloudMe_Input)) + } + return interceptor(ctx, in, info, handler) } -func (m *KeyValueStringGet_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Value) > 0 { - i -= len(m.Value) - copy(dAtA[i:], m.Value) - i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Value))) - i-- - dAtA[i] = 0x12 +func _Service_SoundcloudPlaylists_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(SoundcloudPlaylists_Input) + if err := dec(in); err != nil { + return nil, err } - return len(dAtA) - i, nil + if interceptor == nil { + return srv.(ServiceServer).SoundcloudPlaylists(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/calcbiz.calcapi.Service/SoundcloudPlaylists", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ServiceServer).SoundcloudPlaylists(ctx, req.(*SoundcloudPlaylists_Input)) + } + return interceptor(ctx, in, info, handler) } -func (m *KeyValueFloatSet) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Service_SoundcloudPlaylist_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(SoundcloudPlaylist_Input) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil + if interceptor == nil { + return srv.(ServiceServer).SoundcloudPlaylist(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/calcbiz.calcapi.Service/SoundcloudPlaylist", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ServiceServer).SoundcloudPlaylist(ctx, req.(*SoundcloudPlaylist_Input)) + } + return interceptor(ctx, in, info, handler) } -func (m *KeyValueFloatSet) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) -} +func _Service_SoundcloudTracks_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(SoundcloudTracks_Input) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ServiceServer).SoundcloudTracks(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/calcbiz.calcapi.Service/SoundcloudTracks", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ServiceServer).SoundcloudTracks(ctx, req.(*SoundcloudTracks_Input)) + } + return interceptor(ctx, in, info, handler) +} -func (m *KeyValueFloatSet) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil +func _Service_SoundcloudTrack_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(SoundcloudTrack_Input) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ServiceServer).SoundcloudTrack(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/calcbiz.calcapi.Service/SoundcloudTrack", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ServiceServer).SoundcloudTrack(ctx, req.(*SoundcloudTrack_Input)) + } + return interceptor(ctx, in, info, handler) } -func (m *KeyValueFloatSet_Input) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Service_Metrics_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(Metrics_Input) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil + if interceptor == nil { + return srv.(ServiceServer).Metrics(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/calcbiz.calcapi.Service/Metrics", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ServiceServer).Metrics(ctx, req.(*Metrics_Input)) + } + return interceptor(ctx, in, info, handler) } -func (m *KeyValueFloatSet_Input) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func _Service_CounterInc_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CounterInc_Input) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ServiceServer).CounterInc(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/calcbiz.calcapi.Service/CounterInc", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ServiceServer).CounterInc(ctx, req.(*CounterInc_Input)) + } + return interceptor(ctx, in, info, handler) } -func (m *KeyValueFloatSet_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Value != 0 { - i -= 8 - encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Value)))) - i-- - dAtA[i] = 0x11 +func _Service_NumberSetIfBigger_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(NumberSetIfBigger_Input) + if err := dec(in); err != nil { + return nil, err } - if len(m.Key) > 0 { - i -= len(m.Key) - copy(dAtA[i:], m.Key) - i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Key))) - i-- - dAtA[i] = 0xa + if interceptor == nil { + return srv.(ServiceServer).NumberSetIfBigger(ctx, in) } - return len(dAtA) - i, nil + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/calcbiz.calcapi.Service/NumberSetIfBigger", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ServiceServer).NumberSetIfBigger(ctx, req.(*NumberSetIfBigger_Input)) + } + return interceptor(ctx, in, info, handler) } -func (m *KeyValueFloatSet_Output) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Service_KeyValueStringSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(KeyValueStringSet_Input) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil + if interceptor == nil { + return srv.(ServiceServer).KeyValueStringSet(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/calcbiz.calcapi.Service/KeyValueStringSet", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ServiceServer).KeyValueStringSet(ctx, req.(*KeyValueStringSet_Input)) + } + return interceptor(ctx, in, info, handler) } -func (m *KeyValueFloatSet_Output) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func _Service_KeyValueStringGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(KeyValueStringGet_Input) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ServiceServer).KeyValueStringGet(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/calcbiz.calcapi.Service/KeyValueStringGet", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ServiceServer).KeyValueStringGet(ctx, req.(*KeyValueStringGet_Input)) + } + return interceptor(ctx, in, info, handler) } -func (m *KeyValueFloatSet_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil +func _Service_KeyValueFloatSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(KeyValueFloatSet_Input) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(ServiceServer).KeyValueFloatSet(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/calcbiz.calcapi.Service/KeyValueFloatSet", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ServiceServer).KeyValueFloatSet(ctx, req.(*KeyValueFloatSet_Input)) + } + return interceptor(ctx, in, info, handler) } -func (m *KeyValueFloatGet) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { +func _Service_KeyValueFloatGet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(KeyValueFloatGet_Input) + if err := dec(in); err != nil { return nil, err } - return dAtA[:n], nil + if interceptor == nil { + return srv.(ServiceServer).KeyValueFloatGet(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/calcbiz.calcapi.Service/KeyValueFloatGet", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(ServiceServer).KeyValueFloatGet(ctx, req.(*KeyValueFloatGet_Input)) + } + return interceptor(ctx, in, info, handler) } -func (m *KeyValueFloatGet) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func _Service_EchoStream_Handler(srv interface{}, stream grpc.ServerStream) error { + return srv.(ServiceServer).EchoStream(&serviceEchoStreamServer{stream}) } -func (m *KeyValueFloatGet) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - return len(dAtA) - i, nil +type Service_EchoStreamServer interface { + Send(*EchoStream_Output) error + Recv() (*EchoStream_Input, error) + grpc.ServerStream } -func (m *KeyValueFloatGet_Input) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err - } - return dAtA[:n], nil +type serviceEchoStreamServer struct { + grpc.ServerStream } -func (m *KeyValueFloatGet_Input) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +func (x *serviceEchoStreamServer) Send(m *EchoStream_Output) error { + return x.ServerStream.SendMsg(m) } -func (m *KeyValueFloatGet_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if len(m.Key) > 0 { - i -= len(m.Key) - copy(dAtA[i:], m.Key) - i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Key))) - i-- - dAtA[i] = 0xa +func (x *serviceEchoStreamServer) Recv() (*EchoStream_Input, error) { + m := new(EchoStream_Input) + if err := x.ServerStream.RecvMsg(m); err != nil { + return nil, err } - return len(dAtA) - i, nil + return m, nil } -func (m *KeyValueFloatGet_Output) Marshal() (dAtA []byte, err error) { - size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalToSizedBuffer(dAtA[:size]) - if err != nil { - return nil, err +func _Service_TestReadStream_Handler(srv interface{}, stream grpc.ServerStream) error { + m := new(TestReadStream_Input) + if err := stream.RecvMsg(m); err != nil { + return err } - return dAtA[:n], nil + return srv.(ServiceServer).TestReadStream(m, &serviceTestReadStreamServer{stream}) } -func (m *KeyValueFloatGet_Output) MarshalTo(dAtA []byte) (int, error) { - size := m.Size() - return m.MarshalToSizedBuffer(dAtA[:size]) +type Service_TestReadStreamServer interface { + Send(*TestReadStream_Output) error + grpc.ServerStream } -func (m *KeyValueFloatGet_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { - i := len(dAtA) - _ = i - var l int - _ = l - if m.Value != 0 { - i -= 8 - encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Value)))) - i-- - dAtA[i] = 0x11 - } - return len(dAtA) - i, nil +type serviceTestReadStreamServer struct { + grpc.ServerStream } -func (m *Dashboard) Marshal() (dAtA []byte, err error) { +func (x *serviceTestReadStreamServer) Send(m *TestReadStream_Output) error { + return x.ServerStream.SendMsg(m) +} + +var _Service_serviceDesc = grpc.ServiceDesc{ + ServiceName: "calcbiz.calcapi.Service", + HandlerType: (*ServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "KryptosEncrypt", + Handler: _Service_KryptosEncrypt_Handler, + }, + { + MethodName: "KryptosDecrypt", + Handler: _Service_KryptosDecrypt_Handler, + }, + { + MethodName: "TpyoEnocde", + Handler: _Service_TpyoEnocde_Handler, + }, + { + MethodName: "Ping", + Handler: _Service_Ping_Handler, + }, + { + MethodName: "Dashboard", + Handler: _Service_Dashboard_Handler, + }, + { + MethodName: "Hackz", + Handler: _Service_Hackz_Handler, + }, + { + MethodName: "Crew", + Handler: _Service_Crew_Handler, + }, + { + MethodName: "Numberinfo", + Handler: _Service_Numberinfo_Handler, + }, + { + MethodName: "Recettator", + Handler: _Service_Recettator_Handler, + }, + { + MethodName: "Moijaime", + Handler: _Service_Moijaime_Handler, + }, + { + MethodName: "SpreadshirtRandom", + Handler: _Service_SpreadshirtRandom_Handler, + }, + { + MethodName: "SpreadshirtAll", + Handler: _Service_SpreadshirtAll_Handler, + }, + { + MethodName: "Wotd", + Handler: _Service_Wotd_Handler, + }, + { + MethodName: "AlternateLogo", + Handler: _Service_AlternateLogo_Handler, + }, + { + MethodName: "SoundcloudMe", + Handler: _Service_SoundcloudMe_Handler, + }, + { + MethodName: "SoundcloudPlaylists", + Handler: _Service_SoundcloudPlaylists_Handler, + }, + { + MethodName: "SoundcloudPlaylist", + Handler: _Service_SoundcloudPlaylist_Handler, + }, + { + MethodName: "SoundcloudTracks", + Handler: _Service_SoundcloudTracks_Handler, + }, + { + MethodName: "SoundcloudTrack", + Handler: _Service_SoundcloudTrack_Handler, + }, + { + MethodName: "Metrics", + Handler: _Service_Metrics_Handler, + }, + { + MethodName: "CounterInc", + Handler: _Service_CounterInc_Handler, + }, + { + MethodName: "NumberSetIfBigger", + Handler: _Service_NumberSetIfBigger_Handler, + }, + { + MethodName: "KeyValueStringSet", + Handler: _Service_KeyValueStringSet_Handler, + }, + { + MethodName: "KeyValueStringGet", + Handler: _Service_KeyValueStringGet_Handler, + }, + { + MethodName: "KeyValueFloatSet", + Handler: _Service_KeyValueFloatSet_Handler, + }, + { + MethodName: "KeyValueFloatGet", + Handler: _Service_KeyValueFloatGet_Handler, + }, + }, + Streams: []grpc.StreamDesc{ + { + StreamName: "EchoStream", + Handler: _Service_EchoStream_Handler, + ServerStreams: true, + ClientStreams: true, + }, + { + StreamName: "TestReadStream", + Handler: _Service_TestReadStream_Handler, + ServerStreams: true, + }, + }, + Metadata: "calcapi.proto", +} + +func (m *EchoStream) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -5462,12 +5472,12 @@ func (m *Dashboard) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *Dashboard) MarshalTo(dAtA []byte) (int, error) { +func (m *EchoStream) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Dashboard) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *EchoStream) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -5475,7 +5485,7 @@ func (m *Dashboard) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *Dashboard_Input) Marshal() (dAtA []byte, err error) { +func (m *EchoStream_Input) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -5485,20 +5495,27 @@ func (m *Dashboard_Input) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *Dashboard_Input) MarshalTo(dAtA []byte) (int, error) { +func (m *EchoStream_Input) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Dashboard_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *EchoStream_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l + if len(m.Msg) > 0 { + i -= len(m.Msg) + copy(dAtA[i:], m.Msg) + i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Msg))) + i-- + dAtA[i] = 0xa + } return len(dAtA) - i, nil } -func (m *Dashboard_Output) Marshal() (dAtA []byte, err error) { +func (m *EchoStream_Output) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -5508,32 +5525,27 @@ func (m *Dashboard_Output) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *Dashboard_Output) MarshalTo(dAtA []byte) (int, error) { +func (m *EchoStream_Output) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Dashboard_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *EchoStream_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Entries != nil { - { - size, err := m.Entries.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintCalcapi(dAtA, i, uint64(size)) - } + if len(m.Msg) > 0 { + i -= len(m.Msg) + copy(dAtA[i:], m.Msg) + i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Msg))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *Hackz) Marshal() (dAtA []byte, err error) { +func (m *TestReadStream) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -5543,12 +5555,12 @@ func (m *Hackz) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *Hackz) MarshalTo(dAtA []byte) (int, error) { +func (m *TestReadStream) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Hackz) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *TestReadStream) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -5556,7 +5568,7 @@ func (m *Hackz) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *Hackz_Input) Marshal() (dAtA []byte, err error) { +func (m *TestReadStream_Input) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -5566,12 +5578,12 @@ func (m *Hackz_Input) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *Hackz_Input) MarshalTo(dAtA []byte) (int, error) { +func (m *TestReadStream_Input) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Hackz_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *TestReadStream_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -5579,7 +5591,7 @@ func (m *Hackz_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *Hackz_Output) Marshal() (dAtA []byte, err error) { +func (m *TestReadStream_Output) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -5589,32 +5601,27 @@ func (m *Hackz_Output) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *Hackz_Output) MarshalTo(dAtA []byte) (int, error) { +func (m *TestReadStream_Output) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Hackz_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *TestReadStream_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Entries != nil { - { - size, err := m.Entries.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintCalcapi(dAtA, i, uint64(size)) - } + if len(m.Msg) > 0 { + i -= len(m.Msg) + copy(dAtA[i:], m.Msg) + i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Msg))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *Crew) Marshal() (dAtA []byte, err error) { +func (m *CounterInc) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -5624,12 +5631,12 @@ func (m *Crew) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *Crew) MarshalTo(dAtA []byte) (int, error) { +func (m *CounterInc) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Crew) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *CounterInc) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -5637,7 +5644,7 @@ func (m *Crew) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *Crew_Input) Marshal() (dAtA []byte, err error) { +func (m *CounterInc_Input) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -5647,20 +5654,33 @@ func (m *Crew_Input) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *Crew_Input) MarshalTo(dAtA []byte) (int, error) { +func (m *CounterInc_Input) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Crew_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *CounterInc_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l + if m.Gap != 0 { + i -= 8 + encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Gap)))) + i-- + dAtA[i] = 0x11 + } + if len(m.Key) > 0 { + i -= len(m.Key) + copy(dAtA[i:], m.Key) + i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Key))) + i-- + dAtA[i] = 0xa + } return len(dAtA) - i, nil } -func (m *Crew_Output) Marshal() (dAtA []byte, err error) { +func (m *CounterInc_Output) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -5670,32 +5690,26 @@ func (m *Crew_Output) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *Crew_Output) MarshalTo(dAtA []byte) (int, error) { +func (m *CounterInc_Output) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Crew_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *CounterInc_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Crew != nil { - { - size, err := m.Crew.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintCalcapi(dAtA, i, uint64(size)) - } + if m.Value != 0 { + i -= 8 + encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Value)))) i-- - dAtA[i] = 0xa + dAtA[i] = 0x11 } return len(dAtA) - i, nil } -func (m *SoundcloudMe) Marshal() (dAtA []byte, err error) { +func (m *NumberSetIfBigger) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -5705,12 +5719,12 @@ func (m *SoundcloudMe) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *SoundcloudMe) MarshalTo(dAtA []byte) (int, error) { +func (m *NumberSetIfBigger) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *SoundcloudMe) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *NumberSetIfBigger) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -5718,7 +5732,7 @@ func (m *SoundcloudMe) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *SoundcloudMe_Input) Marshal() (dAtA []byte, err error) { +func (m *NumberSetIfBigger_Input) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -5728,20 +5742,33 @@ func (m *SoundcloudMe_Input) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *SoundcloudMe_Input) MarshalTo(dAtA []byte) (int, error) { +func (m *NumberSetIfBigger_Input) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *SoundcloudMe_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *NumberSetIfBigger_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l + if m.Value != 0 { + i -= 8 + encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Value)))) + i-- + dAtA[i] = 0x11 + } + if len(m.Key) > 0 { + i -= len(m.Key) + copy(dAtA[i:], m.Key) + i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Key))) + i-- + dAtA[i] = 0xa + } return len(dAtA) - i, nil } -func (m *SoundcloudMe_Output) Marshal() (dAtA []byte, err error) { +func (m *NumberSetIfBigger_Output) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -5751,32 +5778,26 @@ func (m *SoundcloudMe_Output) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *SoundcloudMe_Output) MarshalTo(dAtA []byte) (int, error) { +func (m *NumberSetIfBigger_Output) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *SoundcloudMe_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *NumberSetIfBigger_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Me != nil { - { - size, err := m.Me.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintCalcapi(dAtA, i, uint64(size)) - } + if m.Value != 0 { + i -= 8 + encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Value)))) i-- - dAtA[i] = 0xa + dAtA[i] = 0x11 } return len(dAtA) - i, nil } -func (m *SoundcloudPlaylists) Marshal() (dAtA []byte, err error) { +func (m *KeyValueStringSet) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -5786,12 +5807,12 @@ func (m *SoundcloudPlaylists) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *SoundcloudPlaylists) MarshalTo(dAtA []byte) (int, error) { +func (m *KeyValueStringSet) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *SoundcloudPlaylists) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *KeyValueStringSet) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -5799,7 +5820,7 @@ func (m *SoundcloudPlaylists) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *SoundcloudPlaylists_Input) Marshal() (dAtA []byte, err error) { +func (m *KeyValueStringSet_Input) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -5809,20 +5830,34 @@ func (m *SoundcloudPlaylists_Input) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *SoundcloudPlaylists_Input) MarshalTo(dAtA []byte) (int, error) { +func (m *KeyValueStringSet_Input) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *SoundcloudPlaylists_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *KeyValueStringSet_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l + if len(m.Value) > 0 { + i -= len(m.Value) + copy(dAtA[i:], m.Value) + i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Value))) + i-- + dAtA[i] = 0x12 + } + if len(m.Key) > 0 { + i -= len(m.Key) + copy(dAtA[i:], m.Key) + i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Key))) + i-- + dAtA[i] = 0xa + } return len(dAtA) - i, nil } -func (m *SoundcloudPlaylists_Output) Marshal() (dAtA []byte, err error) { +func (m *KeyValueStringSet_Output) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -5832,32 +5867,20 @@ func (m *SoundcloudPlaylists_Output) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *SoundcloudPlaylists_Output) MarshalTo(dAtA []byte) (int, error) { +func (m *KeyValueStringSet_Output) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *SoundcloudPlaylists_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *KeyValueStringSet_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Playlists != nil { - { - size, err := m.Playlists.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintCalcapi(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } return len(dAtA) - i, nil } -func (m *SoundcloudPlaylist) Marshal() (dAtA []byte, err error) { +func (m *KeyValueStringGet) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -5867,12 +5890,12 @@ func (m *SoundcloudPlaylist) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *SoundcloudPlaylist) MarshalTo(dAtA []byte) (int, error) { +func (m *KeyValueStringGet) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *SoundcloudPlaylist) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *KeyValueStringGet) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -5880,7 +5903,7 @@ func (m *SoundcloudPlaylist) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *SoundcloudPlaylist_Input) Marshal() (dAtA []byte, err error) { +func (m *KeyValueStringGet_Input) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -5890,25 +5913,27 @@ func (m *SoundcloudPlaylist_Input) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *SoundcloudPlaylist_Input) MarshalTo(dAtA []byte) (int, error) { +func (m *KeyValueStringGet_Input) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *SoundcloudPlaylist_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *KeyValueStringGet_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.PlaylistId != 0 { - i = encodeVarintCalcapi(dAtA, i, uint64(m.PlaylistId)) + if len(m.Key) > 0 { + i -= len(m.Key) + copy(dAtA[i:], m.Key) + i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Key))) i-- - dAtA[i] = 0x8 + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *SoundcloudPlaylist_Output) Marshal() (dAtA []byte, err error) { +func (m *KeyValueStringGet_Output) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -5918,32 +5943,27 @@ func (m *SoundcloudPlaylist_Output) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *SoundcloudPlaylist_Output) MarshalTo(dAtA []byte) (int, error) { +func (m *KeyValueStringGet_Output) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *SoundcloudPlaylist_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *KeyValueStringGet_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Playlist != nil { - { - size, err := m.Playlist.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintCalcapi(dAtA, i, uint64(size)) - } + if len(m.Value) > 0 { + i -= len(m.Value) + copy(dAtA[i:], m.Value) + i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Value))) i-- - dAtA[i] = 0xa + dAtA[i] = 0x12 } return len(dAtA) - i, nil } -func (m *SoundcloudTracks) Marshal() (dAtA []byte, err error) { +func (m *KeyValueFloatSet) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -5953,12 +5973,12 @@ func (m *SoundcloudTracks) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *SoundcloudTracks) MarshalTo(dAtA []byte) (int, error) { +func (m *KeyValueFloatSet) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *SoundcloudTracks) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *KeyValueFloatSet) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -5966,7 +5986,7 @@ func (m *SoundcloudTracks) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *SoundcloudTracks_Input) Marshal() (dAtA []byte, err error) { +func (m *KeyValueFloatSet_Input) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -5976,20 +5996,33 @@ func (m *SoundcloudTracks_Input) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *SoundcloudTracks_Input) MarshalTo(dAtA []byte) (int, error) { +func (m *KeyValueFloatSet_Input) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *SoundcloudTracks_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *KeyValueFloatSet_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l + if m.Value != 0 { + i -= 8 + encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Value)))) + i-- + dAtA[i] = 0x11 + } + if len(m.Key) > 0 { + i -= len(m.Key) + copy(dAtA[i:], m.Key) + i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Key))) + i-- + dAtA[i] = 0xa + } return len(dAtA) - i, nil } -func (m *SoundcloudTracks_Output) Marshal() (dAtA []byte, err error) { +func (m *KeyValueFloatSet_Output) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -5999,32 +6032,20 @@ func (m *SoundcloudTracks_Output) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *SoundcloudTracks_Output) MarshalTo(dAtA []byte) (int, error) { +func (m *KeyValueFloatSet_Output) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *SoundcloudTracks_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *KeyValueFloatSet_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Tracks != nil { - { - size, err := m.Tracks.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintCalcapi(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0xa - } return len(dAtA) - i, nil } -func (m *SoundcloudTrack) Marshal() (dAtA []byte, err error) { +func (m *KeyValueFloatGet) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -6034,12 +6055,12 @@ func (m *SoundcloudTrack) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *SoundcloudTrack) MarshalTo(dAtA []byte) (int, error) { +func (m *KeyValueFloatGet) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *SoundcloudTrack) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *KeyValueFloatGet) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -6047,7 +6068,7 @@ func (m *SoundcloudTrack) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *SoundcloudTrack_Input) Marshal() (dAtA []byte, err error) { +func (m *KeyValueFloatGet_Input) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -6057,25 +6078,27 @@ func (m *SoundcloudTrack_Input) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *SoundcloudTrack_Input) MarshalTo(dAtA []byte) (int, error) { +func (m *KeyValueFloatGet_Input) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *SoundcloudTrack_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *KeyValueFloatGet_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.TrackId != 0 { - i = encodeVarintCalcapi(dAtA, i, uint64(m.TrackId)) + if len(m.Key) > 0 { + i -= len(m.Key) + copy(dAtA[i:], m.Key) + i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Key))) i-- - dAtA[i] = 0x8 + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *SoundcloudTrack_Output) Marshal() (dAtA []byte, err error) { +func (m *KeyValueFloatGet_Output) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -6085,32 +6108,26 @@ func (m *SoundcloudTrack_Output) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *SoundcloudTrack_Output) MarshalTo(dAtA []byte) (int, error) { +func (m *KeyValueFloatGet_Output) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *SoundcloudTrack_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *KeyValueFloatGet_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Track != nil { - { - size, err := m.Track.MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintCalcapi(dAtA, i, uint64(size)) - } + if m.Value != 0 { + i -= 8 + encoding_binary.LittleEndian.PutUint64(dAtA[i:], uint64(math.Float64bits(float64(m.Value)))) i-- - dAtA[i] = 0xa + dAtA[i] = 0x11 } return len(dAtA) - i, nil } -func (m *Metrics) Marshal() (dAtA []byte, err error) { +func (m *Dashboard) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -6120,12 +6137,12 @@ func (m *Metrics) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *Metrics) MarshalTo(dAtA []byte) (int, error) { +func (m *Dashboard) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Metrics) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *Dashboard) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -6133,7 +6150,7 @@ func (m *Metrics) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *Metrics_Input) Marshal() (dAtA []byte, err error) { +func (m *Dashboard_Input) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -6143,12 +6160,12 @@ func (m *Metrics_Input) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *Metrics_Input) MarshalTo(dAtA []byte) (int, error) { +func (m *Dashboard_Input) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Metrics_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *Dashboard_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -6156,7 +6173,7 @@ func (m *Metrics_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *Metrics_Output) Marshal() (dAtA []byte, err error) { +func (m *Dashboard_Output) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -6166,46 +6183,32 @@ func (m *Metrics_Output) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *Metrics_Output) MarshalTo(dAtA []byte) (int, error) { +func (m *Dashboard_Output) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Metrics_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *Dashboard_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.ServerUptime) > 0 { - i -= len(m.ServerUptime) - copy(dAtA[i:], m.ServerUptime) - i = encodeVarintCalcapi(dAtA, i, uint64(len(m.ServerUptime))) - i-- - dAtA[i] = 0x22 - } - if len(m.ServerCurrentTime) > 0 { - i -= len(m.ServerCurrentTime) - copy(dAtA[i:], m.ServerCurrentTime) - i = encodeVarintCalcapi(dAtA, i, uint64(len(m.ServerCurrentTime))) + if m.Entries != nil { + { + size, err := m.Entries.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintCalcapi(dAtA, i, uint64(size)) + } i-- - dAtA[i] = 0x1a - } - if len(m.ServerStartTime) > 0 { - i -= len(m.ServerStartTime) - copy(dAtA[i:], m.ServerStartTime) - i = encodeVarintCalcapi(dAtA, i, uint64(len(m.ServerStartTime))) - i-- - dAtA[i] = 0x12 - } - if m.StaticBoxSize != 0 { - i = encodeVarintCalcapi(dAtA, i, uint64(m.StaticBoxSize)) - i-- - dAtA[i] = 0x8 + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *Ping) Marshal() (dAtA []byte, err error) { +func (m *Hackz) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -6215,12 +6218,12 @@ func (m *Ping) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *Ping) MarshalTo(dAtA []byte) (int, error) { +func (m *Hackz) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Ping) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *Hackz) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -6228,7 +6231,7 @@ func (m *Ping) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *Ping_Input) Marshal() (dAtA []byte, err error) { +func (m *Hackz_Input) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -6238,12 +6241,12 @@ func (m *Ping_Input) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *Ping_Input) MarshalTo(dAtA []byte) (int, error) { +func (m *Hackz_Input) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Ping_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *Hackz_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -6251,7 +6254,7 @@ func (m *Ping_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *Ping_Output) Marshal() (dAtA []byte, err error) { +func (m *Hackz_Output) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -6261,27 +6264,32 @@ func (m *Ping_Output) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *Ping_Output) MarshalTo(dAtA []byte) (int, error) { +func (m *Hackz_Output) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Ping_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *Hackz_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Pong) > 0 { - i -= len(m.Pong) - copy(dAtA[i:], m.Pong) - i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Pong))) + if m.Entries != nil { + { + size, err := m.Entries.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintCalcapi(dAtA, i, uint64(size)) + } i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *Kryptos) Marshal() (dAtA []byte, err error) { +func (m *Crew) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -6291,12 +6299,12 @@ func (m *Kryptos) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *Kryptos) MarshalTo(dAtA []byte) (int, error) { +func (m *Crew) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Kryptos) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *Crew) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -6304,7 +6312,7 @@ func (m *Kryptos) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *Kryptos_Input) Marshal() (dAtA []byte, err error) { +func (m *Crew_Input) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -6314,27 +6322,20 @@ func (m *Kryptos_Input) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *Kryptos_Input) MarshalTo(dAtA []byte) (int, error) { +func (m *Crew_Input) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Kryptos_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *Crew_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.From) > 0 { - i -= len(m.From) - copy(dAtA[i:], m.From) - i = encodeVarintCalcapi(dAtA, i, uint64(len(m.From))) - i-- - dAtA[i] = 0xa - } return len(dAtA) - i, nil } -func (m *Kryptos_Output) Marshal() (dAtA []byte, err error) { +func (m *Crew_Output) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -6344,27 +6345,32 @@ func (m *Kryptos_Output) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *Kryptos_Output) MarshalTo(dAtA []byte) (int, error) { +func (m *Crew_Output) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Kryptos_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *Crew_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.To) > 0 { - i -= len(m.To) - copy(dAtA[i:], m.To) - i = encodeVarintCalcapi(dAtA, i, uint64(len(m.To))) + if m.Crew != nil { + { + size, err := m.Crew.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintCalcapi(dAtA, i, uint64(size)) + } i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *TpyoEnocde) Marshal() (dAtA []byte, err error) { +func (m *SoundcloudMe) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -6374,12 +6380,12 @@ func (m *TpyoEnocde) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *TpyoEnocde) MarshalTo(dAtA []byte) (int, error) { +func (m *SoundcloudMe) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *TpyoEnocde) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *SoundcloudMe) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -6387,7 +6393,7 @@ func (m *TpyoEnocde) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *TpyoEnocde_Ipunt) Marshal() (dAtA []byte, err error) { +func (m *SoundcloudMe_Input) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -6397,27 +6403,20 @@ func (m *TpyoEnocde_Ipunt) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *TpyoEnocde_Ipunt) MarshalTo(dAtA []byte) (int, error) { +func (m *SoundcloudMe_Input) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *TpyoEnocde_Ipunt) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *SoundcloudMe_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Form) > 0 { - i -= len(m.Form) - copy(dAtA[i:], m.Form) - i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Form))) - i-- - dAtA[i] = 0xa - } return len(dAtA) - i, nil } -func (m *TpyoEnocde_Ouptut) Marshal() (dAtA []byte, err error) { +func (m *SoundcloudMe_Output) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -6427,27 +6426,32 @@ func (m *TpyoEnocde_Ouptut) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *TpyoEnocde_Ouptut) MarshalTo(dAtA []byte) (int, error) { +func (m *SoundcloudMe_Output) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *TpyoEnocde_Ouptut) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *SoundcloudMe_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.To) > 0 { - i -= len(m.To) - copy(dAtA[i:], m.To) - i = encodeVarintCalcapi(dAtA, i, uint64(len(m.To))) + if m.Me != nil { + { + size, err := m.Me.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintCalcapi(dAtA, i, uint64(size)) + } i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *Numberinfo) Marshal() (dAtA []byte, err error) { +func (m *SoundcloudPlaylists) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -6457,12 +6461,12 @@ func (m *Numberinfo) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *Numberinfo) MarshalTo(dAtA []byte) (int, error) { +func (m *SoundcloudPlaylists) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Numberinfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *SoundcloudPlaylists) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -6470,7 +6474,7 @@ func (m *Numberinfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *Numberinfo_Input) Marshal() (dAtA []byte, err error) { +func (m *SoundcloudPlaylists_Input) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -6480,26 +6484,20 @@ func (m *Numberinfo_Input) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *Numberinfo_Input) MarshalTo(dAtA []byte) (int, error) { +func (m *SoundcloudPlaylists_Input) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Numberinfo_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *SoundcloudPlaylists_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Number != 0 { - i -= 4 - encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.Number)))) - i-- - dAtA[i] = 0xd - } return len(dAtA) - i, nil } -func (m *Numberinfo_Output) Marshal() (dAtA []byte, err error) { +func (m *SoundcloudPlaylists_Output) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -6509,39 +6507,32 @@ func (m *Numberinfo_Output) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *Numberinfo_Output) MarshalTo(dAtA []byte) (int, error) { +func (m *SoundcloudPlaylists_Output) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Numberinfo_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *SoundcloudPlaylists_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Facts) > 0 { - for k := range m.Facts { - v := m.Facts[k] - baseI := i - i -= len(v) - copy(dAtA[i:], v) - i = encodeVarintCalcapi(dAtA, i, uint64(len(v))) - i-- - dAtA[i] = 0x12 - i -= len(k) - copy(dAtA[i:], k) - i = encodeVarintCalcapi(dAtA, i, uint64(len(k))) - i-- - dAtA[i] = 0xa - i = encodeVarintCalcapi(dAtA, i, uint64(baseI-i)) - i-- - dAtA[i] = 0xa + if m.Playlists != nil { + { + size, err := m.Playlists.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintCalcapi(dAtA, i, uint64(size)) } + i-- + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *Moijaime) Marshal() (dAtA []byte, err error) { +func (m *SoundcloudPlaylist) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -6551,12 +6542,12 @@ func (m *Moijaime) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *Moijaime) MarshalTo(dAtA []byte) (int, error) { +func (m *SoundcloudPlaylist) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Moijaime) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *SoundcloudPlaylist) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -6564,7 +6555,7 @@ func (m *Moijaime) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *Moijaime_Input) Marshal() (dAtA []byte, err error) { +func (m *SoundcloudPlaylist_Input) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -6574,20 +6565,25 @@ func (m *Moijaime_Input) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *Moijaime_Input) MarshalTo(dAtA []byte) (int, error) { +func (m *SoundcloudPlaylist_Input) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Moijaime_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *SoundcloudPlaylist_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l + if m.PlaylistId != 0 { + i = encodeVarintCalcapi(dAtA, i, uint64(m.PlaylistId)) + i-- + dAtA[i] = 0x8 + } return len(dAtA) - i, nil } -func (m *Moijaime_Output) Marshal() (dAtA []byte, err error) { +func (m *SoundcloudPlaylist_Output) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -6597,29 +6593,32 @@ func (m *Moijaime_Output) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *Moijaime_Output) MarshalTo(dAtA []byte) (int, error) { +func (m *SoundcloudPlaylist_Output) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Moijaime_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *SoundcloudPlaylist_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Kiffs) > 0 { - for iNdEx := len(m.Kiffs) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Kiffs[iNdEx]) - copy(dAtA[i:], m.Kiffs[iNdEx]) - i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Kiffs[iNdEx]))) - i-- - dAtA[i] = 0xa + if m.Playlist != nil { + { + size, err := m.Playlist.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintCalcapi(dAtA, i, uint64(size)) } + i-- + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *Wotd) Marshal() (dAtA []byte, err error) { +func (m *SoundcloudTracks) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -6629,12 +6628,12 @@ func (m *Wotd) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *Wotd) MarshalTo(dAtA []byte) (int, error) { +func (m *SoundcloudTracks) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Wotd) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *SoundcloudTracks) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -6642,7 +6641,7 @@ func (m *Wotd) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *Wotd_Input) Marshal() (dAtA []byte, err error) { +func (m *SoundcloudTracks_Input) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -6652,12 +6651,12 @@ func (m *Wotd_Input) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *Wotd_Input) MarshalTo(dAtA []byte) (int, error) { +func (m *SoundcloudTracks_Input) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Wotd_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *SoundcloudTracks_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -6665,7 +6664,7 @@ func (m *Wotd_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *Wotd_Output) Marshal() (dAtA []byte, err error) { +func (m *SoundcloudTracks_Output) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -6675,27 +6674,32 @@ func (m *Wotd_Output) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *Wotd_Output) MarshalTo(dAtA []byte) (int, error) { +func (m *SoundcloudTracks_Output) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Wotd_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *SoundcloudTracks_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Word) > 0 { - i -= len(m.Word) - copy(dAtA[i:], m.Word) - i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Word))) + if m.Tracks != nil { + { + size, err := m.Tracks.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintCalcapi(dAtA, i, uint64(size)) + } i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *AlternateLogo) Marshal() (dAtA []byte, err error) { +func (m *SoundcloudTrack) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -6705,12 +6709,12 @@ func (m *AlternateLogo) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *AlternateLogo) MarshalTo(dAtA []byte) (int, error) { +func (m *SoundcloudTrack) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *AlternateLogo) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *SoundcloudTrack) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -6718,7 +6722,7 @@ func (m *AlternateLogo) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *AlternateLogo_Input) Marshal() (dAtA []byte, err error) { +func (m *SoundcloudTrack_Input) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -6728,20 +6732,25 @@ func (m *AlternateLogo_Input) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *AlternateLogo_Input) MarshalTo(dAtA []byte) (int, error) { +func (m *SoundcloudTrack_Input) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *AlternateLogo_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *SoundcloudTrack_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l + if m.TrackId != 0 { + i = encodeVarintCalcapi(dAtA, i, uint64(m.TrackId)) + i-- + dAtA[i] = 0x8 + } return len(dAtA) - i, nil } -func (m *AlternateLogo_Output) Marshal() (dAtA []byte, err error) { +func (m *SoundcloudTrack_Output) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -6751,27 +6760,32 @@ func (m *AlternateLogo_Output) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *AlternateLogo_Output) MarshalTo(dAtA []byte) (int, error) { +func (m *SoundcloudTrack_Output) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *AlternateLogo_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *SoundcloudTrack_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.Path) > 0 { - i -= len(m.Path) - copy(dAtA[i:], m.Path) - i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Path))) + if m.Track != nil { + { + size, err := m.Track.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintCalcapi(dAtA, i, uint64(size)) + } i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *SpreadshirtRandom) Marshal() (dAtA []byte, err error) { +func (m *Metrics) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -6781,12 +6795,12 @@ func (m *SpreadshirtRandom) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *SpreadshirtRandom) MarshalTo(dAtA []byte) (int, error) { +func (m *Metrics) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *SpreadshirtRandom) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *Metrics) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -6794,7 +6808,7 @@ func (m *SpreadshirtRandom) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *SpreadshirtRandom_Input) Marshal() (dAtA []byte, err error) { +func (m *Metrics_Input) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -6804,12 +6818,12 @@ func (m *SpreadshirtRandom_Input) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *SpreadshirtRandom_Input) MarshalTo(dAtA []byte) (int, error) { +func (m *Metrics_Input) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *SpreadshirtRandom_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *Metrics_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -6817,7 +6831,7 @@ func (m *SpreadshirtRandom_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) return len(dAtA) - i, nil } -func (m *SpreadshirtRandom_Output) Marshal() (dAtA []byte, err error) { +func (m *Metrics_Output) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -6827,20 +6841,46 @@ func (m *SpreadshirtRandom_Output) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *SpreadshirtRandom_Output) MarshalTo(dAtA []byte) (int, error) { +func (m *Metrics_Output) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *SpreadshirtRandom_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *Metrics_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l + if len(m.ServerUptime) > 0 { + i -= len(m.ServerUptime) + copy(dAtA[i:], m.ServerUptime) + i = encodeVarintCalcapi(dAtA, i, uint64(len(m.ServerUptime))) + i-- + dAtA[i] = 0x22 + } + if len(m.ServerCurrentTime) > 0 { + i -= len(m.ServerCurrentTime) + copy(dAtA[i:], m.ServerCurrentTime) + i = encodeVarintCalcapi(dAtA, i, uint64(len(m.ServerCurrentTime))) + i-- + dAtA[i] = 0x1a + } + if len(m.ServerStartTime) > 0 { + i -= len(m.ServerStartTime) + copy(dAtA[i:], m.ServerStartTime) + i = encodeVarintCalcapi(dAtA, i, uint64(len(m.ServerStartTime))) + i-- + dAtA[i] = 0x12 + } + if m.StaticBoxSize != 0 { + i = encodeVarintCalcapi(dAtA, i, uint64(m.StaticBoxSize)) + i-- + dAtA[i] = 0x8 + } return len(dAtA) - i, nil } -func (m *SpreadshirtAll) Marshal() (dAtA []byte, err error) { +func (m *Ping) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -6850,12 +6890,12 @@ func (m *SpreadshirtAll) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *SpreadshirtAll) MarshalTo(dAtA []byte) (int, error) { +func (m *Ping) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *SpreadshirtAll) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *Ping) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -6863,7 +6903,7 @@ func (m *SpreadshirtAll) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *SpreadshirtAll_Input) Marshal() (dAtA []byte, err error) { +func (m *Ping_Input) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -6873,12 +6913,12 @@ func (m *SpreadshirtAll_Input) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *SpreadshirtAll_Input) MarshalTo(dAtA []byte) (int, error) { +func (m *Ping_Input) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *SpreadshirtAll_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *Ping_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -6886,7 +6926,7 @@ func (m *SpreadshirtAll_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *SpreadshirtAll_Output) Marshal() (dAtA []byte, err error) { +func (m *Ping_Output) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -6896,20 +6936,27 @@ func (m *SpreadshirtAll_Output) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *SpreadshirtAll_Output) MarshalTo(dAtA []byte) (int, error) { +func (m *Ping_Output) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *SpreadshirtAll_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *Ping_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l + if len(m.Pong) > 0 { + i -= len(m.Pong) + copy(dAtA[i:], m.Pong) + i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Pong))) + i-- + dAtA[i] = 0xa + } return len(dAtA) - i, nil } -func (m *Recettator) Marshal() (dAtA []byte, err error) { +func (m *Kryptos) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -6919,12 +6966,12 @@ func (m *Recettator) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *Recettator) MarshalTo(dAtA []byte) (int, error) { +func (m *Kryptos) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Recettator) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *Kryptos) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -6932,7 +6979,7 @@ func (m *Recettator) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *Recettator_Input) Marshal() (dAtA []byte, err error) { +func (m *Kryptos_Input) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -6942,40 +6989,27 @@ func (m *Recettator_Input) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *Recettator_Input) MarshalTo(dAtA []byte) (int, error) { +func (m *Kryptos_Input) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Recettator_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *Kryptos_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Steps != 0 { - i = encodeVarintCalcapi(dAtA, i, uint64(m.Steps)) - i-- - dAtA[i] = 0x20 - } - if m.SecondaryIngredients != 0 { - i = encodeVarintCalcapi(dAtA, i, uint64(m.SecondaryIngredients)) - i-- - dAtA[i] = 0x18 - } - if m.MainIngredients != 0 { - i = encodeVarintCalcapi(dAtA, i, uint64(m.MainIngredients)) - i-- - dAtA[i] = 0x10 - } - if m.Seed != 0 { - i = encodeVarintCalcapi(dAtA, i, uint64(m.Seed)) + if len(m.From) > 0 { + i -= len(m.From) + copy(dAtA[i:], m.From) + i = encodeVarintCalcapi(dAtA, i, uint64(len(m.From))) i-- - dAtA[i] = 0x8 + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *Recettator_Output) Marshal() (dAtA []byte, err error) { +func (m *Kryptos_Output) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -6985,81 +7019,80 @@ func (m *Recettator_Output) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *Recettator_Output) MarshalTo(dAtA []byte) (int, error) { +func (m *Kryptos_Output) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Recettator_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *Kryptos_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if m.Seed != 0 { - i = encodeVarintCalcapi(dAtA, i, uint64(m.Seed)) + if len(m.To) > 0 { + i -= len(m.To) + copy(dAtA[i:], m.To) + i = encodeVarintCalcapi(dAtA, i, uint64(len(m.To))) i-- - dAtA[i] = 0x38 - } - if len(m.SecondaryIngredients) > 0 { - for iNdEx := len(m.SecondaryIngredients) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.SecondaryIngredients[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintCalcapi(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x32 - } - } - if len(m.MainIngredients) > 0 { - for iNdEx := len(m.MainIngredients) - 1; iNdEx >= 0; iNdEx-- { - { - size, err := m.MainIngredients[iNdEx].MarshalToSizedBuffer(dAtA[:i]) - if err != nil { - return 0, err - } - i -= size - i = encodeVarintCalcapi(dAtA, i, uint64(size)) - } - i-- - dAtA[i] = 0x2a - } - } - if len(m.Steps) > 0 { - for iNdEx := len(m.Steps) - 1; iNdEx >= 0; iNdEx-- { - i -= len(m.Steps[iNdEx]) - copy(dAtA[i:], m.Steps[iNdEx]) - i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Steps[iNdEx]))) - i-- - dAtA[i] = 0x22 - } + dAtA[i] = 0xa } - if len(m.Markdown) > 0 { - i -= len(m.Markdown) - copy(dAtA[i:], m.Markdown) - i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Markdown))) - i-- - dAtA[i] = 0x1a + return len(dAtA) - i, nil +} + +func (m *TpyoEnocde) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - if m.People != 0 { - i = encodeVarintCalcapi(dAtA, i, uint64(m.People)) - i-- - dAtA[i] = 0x10 + return dAtA[:n], nil +} + +func (m *TpyoEnocde) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *TpyoEnocde) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func (m *TpyoEnocde_Ipunt) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - if len(m.Title) > 0 { - i -= len(m.Title) - copy(dAtA[i:], m.Title) - i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Title))) + return dAtA[:n], nil +} + +func (m *TpyoEnocde_Ipunt) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *TpyoEnocde_Ipunt) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Form) > 0 { + i -= len(m.Form) + copy(dAtA[i:], m.Form) + i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Form))) i-- dAtA[i] = 0xa } return len(dAtA) - i, nil } -func (m *Recettator_Ingredient) Marshal() (dAtA []byte, err error) { +func (m *TpyoEnocde_Ouptut) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -7069,1058 +7102,3447 @@ func (m *Recettator_Ingredient) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *Recettator_Ingredient) MarshalTo(dAtA []byte) (int, error) { +func (m *TpyoEnocde_Ouptut) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Recettator_Ingredient) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *TpyoEnocde_Ouptut) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l - if len(m.NameAndQuantity) > 0 { - i -= len(m.NameAndQuantity) - copy(dAtA[i:], m.NameAndQuantity) - i = encodeVarintCalcapi(dAtA, i, uint64(len(m.NameAndQuantity))) + if len(m.To) > 0 { + i -= len(m.To) + copy(dAtA[i:], m.To) + i = encodeVarintCalcapi(dAtA, i, uint64(len(m.To))) i-- - dAtA[i] = 0x3a - } - if len(m.Kind) > 0 { - i -= len(m.Kind) - copy(dAtA[i:], m.Kind) - i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Kind))) - i-- - dAtA[i] = 0x32 - } - if m.Multiple { - i-- - if m.Multiple { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x28 - } - if len(m.Gender) > 0 { - i -= len(m.Gender) - copy(dAtA[i:], m.Gender) - i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Gender))) - i-- - dAtA[i] = 0x22 - } - if len(m.Method) > 0 { - i -= len(m.Method) - copy(dAtA[i:], m.Method) - i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Method))) - i-- - dAtA[i] = 0x1a - } - if len(m.Quantity) > 0 { - i -= len(m.Quantity) - copy(dAtA[i:], m.Quantity) - i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Quantity))) - i-- - dAtA[i] = 0x12 - } - if len(m.Name) > 0 { - i -= len(m.Name) - copy(dAtA[i:], m.Name) - i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Name))) - i-- - dAtA[i] = 0xa + dAtA[i] = 0xa } return len(dAtA) - i, nil } -func encodeVarintCalcapi(dAtA []byte, offset int, v uint64) int { - offset -= sovCalcapi(v) - base := offset - for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) - v >>= 7 - offset++ - } - dAtA[offset] = uint8(v) - return base -} -func (m *EchoStream) Size() (n int) { - if m == nil { - return 0 +func (m *Numberinfo) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - var l int - _ = l - return n + return dAtA[:n], nil } -func (m *EchoStream_Input) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Msg) - if l > 0 { - n += 1 + l + sovCalcapi(uint64(l)) - } - return n +func (m *Numberinfo) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *EchoStream_Output) Size() (n int) { - if m == nil { - return 0 - } +func (m *Numberinfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.Msg) - if l > 0 { - n += 1 + l + sovCalcapi(uint64(l)) - } - return n + return len(dAtA) - i, nil } -func (m *TestReadStream) Size() (n int) { - if m == nil { - return 0 +func (m *Numberinfo_Input) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - var l int - _ = l - return n + return dAtA[:n], nil } -func (m *TestReadStream_Input) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n +func (m *Numberinfo_Input) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *TestReadStream_Output) Size() (n int) { - if m == nil { - return 0 - } +func (m *Numberinfo_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.Msg) - if l > 0 { - n += 1 + l + sovCalcapi(uint64(l)) + if m.Number != 0 { + i -= 4 + encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.Number)))) + i-- + dAtA[i] = 0xd } - return n + return len(dAtA) - i, nil } -func (m *CounterInc) Size() (n int) { - if m == nil { - return 0 +func (m *Numberinfo_Output) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - var l int - _ = l - return n + return dAtA[:n], nil } -func (m *CounterInc_Input) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Key) - if l > 0 { - n += 1 + l + sovCalcapi(uint64(l)) - } - if m.Gap != 0 { - n += 9 - } - return n +func (m *Numberinfo_Output) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *CounterInc_Output) Size() (n int) { - if m == nil { - return 0 - } +func (m *Numberinfo_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - if m.Value != 0 { - n += 9 + if len(m.Facts) > 0 { + for k := range m.Facts { + v := m.Facts[k] + baseI := i + i -= len(v) + copy(dAtA[i:], v) + i = encodeVarintCalcapi(dAtA, i, uint64(len(v))) + i-- + dAtA[i] = 0x12 + i -= len(k) + copy(dAtA[i:], k) + i = encodeVarintCalcapi(dAtA, i, uint64(len(k))) + i-- + dAtA[i] = 0xa + i = encodeVarintCalcapi(dAtA, i, uint64(baseI-i)) + i-- + dAtA[i] = 0xa + } } - return n + return len(dAtA) - i, nil } -func (m *NumberSetIfBigger) Size() (n int) { - if m == nil { - return 0 +func (m *Moijaime) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - var l int - _ = l - return n + return dAtA[:n], nil } -func (m *NumberSetIfBigger_Input) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Key) - if l > 0 { - n += 1 + l + sovCalcapi(uint64(l)) - } - if m.Value != 0 { - n += 9 - } - return n +func (m *Moijaime) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *NumberSetIfBigger_Output) Size() (n int) { - if m == nil { - return 0 - } +func (m *Moijaime) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - if m.Value != 0 { - n += 9 - } - return n + return len(dAtA) - i, nil } -func (m *KeyValueStringSet) Size() (n int) { - if m == nil { - return 0 +func (m *Moijaime_Input) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } + return dAtA[:n], nil +} + +func (m *Moijaime_Input) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Moijaime_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - return n + return len(dAtA) - i, nil } -func (m *KeyValueStringSet_Input) Size() (n int) { - if m == nil { - return 0 +func (m *Moijaime_Output) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } + return dAtA[:n], nil +} + +func (m *Moijaime_Output) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Moijaime_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.Key) - if l > 0 { - n += 1 + l + sovCalcapi(uint64(l)) - } - l = len(m.Value) - if l > 0 { - n += 1 + l + sovCalcapi(uint64(l)) + if len(m.Kiffs) > 0 { + for iNdEx := len(m.Kiffs) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Kiffs[iNdEx]) + copy(dAtA[i:], m.Kiffs[iNdEx]) + i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Kiffs[iNdEx]))) + i-- + dAtA[i] = 0xa + } } - return n + return len(dAtA) - i, nil } -func (m *KeyValueStringSet_Output) Size() (n int) { - if m == nil { - return 0 +func (m *Wotd) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - var l int - _ = l - return n + return dAtA[:n], nil } -func (m *KeyValueStringGet) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n +func (m *Wotd) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *KeyValueStringGet_Input) Size() (n int) { - if m == nil { - return 0 - } +func (m *Wotd) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.Key) - if l > 0 { - n += 1 + l + sovCalcapi(uint64(l)) - } - return n + return len(dAtA) - i, nil } -func (m *KeyValueStringGet_Output) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.Value) - if l > 0 { - n += 1 + l + sovCalcapi(uint64(l)) +func (m *Wotd_Input) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - return n + return dAtA[:n], nil } -func (m *KeyValueFloatSet) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n +func (m *Wotd_Input) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *KeyValueFloatSet_Input) Size() (n int) { - if m == nil { - return 0 - } +func (m *Wotd_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.Key) - if l > 0 { - n += 1 + l + sovCalcapi(uint64(l)) - } - if m.Value != 0 { - n += 9 - } - return n + return len(dAtA) - i, nil } -func (m *KeyValueFloatSet_Output) Size() (n int) { - if m == nil { - return 0 +func (m *Wotd_Output) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - var l int - _ = l - return n + return dAtA[:n], nil } -func (m *KeyValueFloatGet) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n +func (m *Wotd_Output) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *KeyValueFloatGet_Input) Size() (n int) { - if m == nil { - return 0 - } +func (m *Wotd_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.Key) - if l > 0 { - n += 1 + l + sovCalcapi(uint64(l)) + if len(m.Word) > 0 { + i -= len(m.Word) + copy(dAtA[i:], m.Word) + i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Word))) + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *KeyValueFloatGet_Output) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Value != 0 { - n += 9 +func (m *AlternateLogo) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - return n + return dAtA[:n], nil } -func (m *Dashboard) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n +func (m *AlternateLogo) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Dashboard_Input) Size() (n int) { - if m == nil { - return 0 - } +func (m *AlternateLogo) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - return n + return len(dAtA) - i, nil } -func (m *Dashboard_Output) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Entries != nil { - l = m.Entries.Size() - n += 1 + l + sovCalcapi(uint64(l)) +func (m *AlternateLogo_Input) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - return n + return dAtA[:n], nil } -func (m *Hackz) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n +func (m *AlternateLogo_Input) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Hackz_Input) Size() (n int) { - if m == nil { - return 0 - } +func (m *AlternateLogo_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - return n + return len(dAtA) - i, nil } -func (m *Hackz_Output) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Entries != nil { - l = m.Entries.Size() - n += 1 + l + sovCalcapi(uint64(l)) +func (m *AlternateLogo_Output) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - return n + return dAtA[:n], nil } -func (m *Crew) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n +func (m *AlternateLogo_Output) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Crew_Input) Size() (n int) { - if m == nil { - return 0 - } +func (m *AlternateLogo_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - return n + if len(m.Path) > 0 { + i -= len(m.Path) + copy(dAtA[i:], m.Path) + i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Path))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil } -func (m *Crew_Output) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Crew != nil { - l = m.Crew.Size() - n += 1 + l + sovCalcapi(uint64(l)) +func (m *SpreadshirtRandom) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - return n + return dAtA[:n], nil } -func (m *SoundcloudMe) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n +func (m *SpreadshirtRandom) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *SoundcloudMe_Input) Size() (n int) { - if m == nil { - return 0 - } +func (m *SpreadshirtRandom) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - return n + return len(dAtA) - i, nil } -func (m *SoundcloudMe_Output) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Me != nil { - l = m.Me.Size() - n += 1 + l + sovCalcapi(uint64(l)) +func (m *SpreadshirtRandom_Input) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - return n + return dAtA[:n], nil } -func (m *SoundcloudPlaylists) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n +func (m *SpreadshirtRandom_Input) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *SoundcloudPlaylists_Input) Size() (n int) { - if m == nil { - return 0 - } +func (m *SpreadshirtRandom_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - return n + return len(dAtA) - i, nil } -func (m *SoundcloudPlaylists_Output) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Playlists != nil { - l = m.Playlists.Size() - n += 1 + l + sovCalcapi(uint64(l)) +func (m *SpreadshirtRandom_Output) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - return n + return dAtA[:n], nil } -func (m *SoundcloudPlaylist) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n +func (m *SpreadshirtRandom_Output) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *SoundcloudPlaylist_Input) Size() (n int) { - if m == nil { - return 0 - } +func (m *SpreadshirtRandom_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - if m.PlaylistId != 0 { - n += 1 + sovCalcapi(uint64(m.PlaylistId)) - } - return n + return len(dAtA) - i, nil } -func (m *SoundcloudPlaylist_Output) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Playlist != nil { - l = m.Playlist.Size() - n += 1 + l + sovCalcapi(uint64(l)) +func (m *SpreadshirtAll) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - return n + return dAtA[:n], nil } -func (m *SoundcloudTracks) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n +func (m *SpreadshirtAll) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *SoundcloudTracks_Input) Size() (n int) { - if m == nil { - return 0 - } +func (m *SpreadshirtAll) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - return n + return len(dAtA) - i, nil } -func (m *SoundcloudTracks_Output) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Tracks != nil { - l = m.Tracks.Size() - n += 1 + l + sovCalcapi(uint64(l)) +func (m *SpreadshirtAll_Input) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - return n + return dAtA[:n], nil } -func (m *SoundcloudTrack) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n +func (m *SpreadshirtAll_Input) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *SoundcloudTrack_Input) Size() (n int) { - if m == nil { - return 0 - } +func (m *SpreadshirtAll_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - if m.TrackId != 0 { - n += 1 + sovCalcapi(uint64(m.TrackId)) - } - return n + return len(dAtA) - i, nil } -func (m *SoundcloudTrack_Output) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - if m.Track != nil { - l = m.Track.Size() - n += 1 + l + sovCalcapi(uint64(l)) +func (m *SpreadshirtAll_Output) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - return n + return dAtA[:n], nil } -func (m *Metrics) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n +func (m *SpreadshirtAll_Output) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Metrics_Input) Size() (n int) { - if m == nil { - return 0 - } +func (m *SpreadshirtAll_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - return n + return len(dAtA) - i, nil } -func (m *Metrics_Output) Size() (n int) { - if m == nil { - return 0 +func (m *Recettator) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } + return dAtA[:n], nil +} + +func (m *Recettator) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *Recettator) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - if m.StaticBoxSize != 0 { - n += 1 + sovCalcapi(uint64(m.StaticBoxSize)) - } - l = len(m.ServerStartTime) - if l > 0 { - n += 1 + l + sovCalcapi(uint64(l)) - } - l = len(m.ServerCurrentTime) - if l > 0 { - n += 1 + l + sovCalcapi(uint64(l)) - } - l = len(m.ServerUptime) - if l > 0 { - n += 1 + l + sovCalcapi(uint64(l)) - } - return n + return len(dAtA) - i, nil } -func (m *Ping) Size() (n int) { - if m == nil { - return 0 +func (m *Recettator_Input) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - var l int - _ = l - return n + return dAtA[:n], nil } -func (m *Ping_Input) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n +func (m *Recettator_Input) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Ping_Output) Size() (n int) { - if m == nil { - return 0 - } +func (m *Recettator_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.Pong) - if l > 0 { - n += 1 + l + sovCalcapi(uint64(l)) + if m.Steps != 0 { + i = encodeVarintCalcapi(dAtA, i, uint64(m.Steps)) + i-- + dAtA[i] = 0x20 } - return n -} - -func (m *Kryptos) Size() (n int) { - if m == nil { - return 0 + if m.SecondaryIngredients != 0 { + i = encodeVarintCalcapi(dAtA, i, uint64(m.SecondaryIngredients)) + i-- + dAtA[i] = 0x18 } - var l int - _ = l - return n -} - -func (m *Kryptos_Input) Size() (n int) { - if m == nil { - return 0 + if m.MainIngredients != 0 { + i = encodeVarintCalcapi(dAtA, i, uint64(m.MainIngredients)) + i-- + dAtA[i] = 0x10 } - var l int - _ = l - l = len(m.From) - if l > 0 { - n += 1 + l + sovCalcapi(uint64(l)) + if m.Seed != 0 { + i = encodeVarintCalcapi(dAtA, i, uint64(m.Seed)) + i-- + dAtA[i] = 0x8 } - return n + return len(dAtA) - i, nil } -func (m *Kryptos_Output) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - l = len(m.To) - if l > 0 { - n += 1 + l + sovCalcapi(uint64(l)) +func (m *Recettator_Output) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - return n + return dAtA[:n], nil } -func (m *TpyoEnocde) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n +func (m *Recettator_Output) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *TpyoEnocde_Ipunt) Size() (n int) { - if m == nil { - return 0 - } +func (m *Recettator_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.Form) - if l > 0 { - n += 1 + l + sovCalcapi(uint64(l)) - } - return n -} - -func (m *TpyoEnocde_Ouptut) Size() (n int) { - if m == nil { - return 0 + if m.Seed != 0 { + i = encodeVarintCalcapi(dAtA, i, uint64(m.Seed)) + i-- + dAtA[i] = 0x38 } - var l int - _ = l - l = len(m.To) - if l > 0 { - n += 1 + l + sovCalcapi(uint64(l)) + if len(m.SecondaryIngredients) > 0 { + for iNdEx := len(m.SecondaryIngredients) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.SecondaryIngredients[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintCalcapi(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x32 + } } - return n -} - -func (m *Numberinfo) Size() (n int) { - if m == nil { - return 0 + if len(m.MainIngredients) > 0 { + for iNdEx := len(m.MainIngredients) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.MainIngredients[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintCalcapi(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x2a + } } - var l int - _ = l - return n -} - -func (m *Numberinfo_Input) Size() (n int) { - if m == nil { - return 0 + if len(m.Steps) > 0 { + for iNdEx := len(m.Steps) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Steps[iNdEx]) + copy(dAtA[i:], m.Steps[iNdEx]) + i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Steps[iNdEx]))) + i-- + dAtA[i] = 0x22 + } } - var l int - _ = l - if m.Number != 0 { - n += 5 + if len(m.Markdown) > 0 { + i -= len(m.Markdown) + copy(dAtA[i:], m.Markdown) + i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Markdown))) + i-- + dAtA[i] = 0x1a } - return n -} - -func (m *Numberinfo_Output) Size() (n int) { - if m == nil { - return 0 + if m.People != 0 { + i = encodeVarintCalcapi(dAtA, i, uint64(m.People)) + i-- + dAtA[i] = 0x10 } - var l int - _ = l - if len(m.Facts) > 0 { - for k, v := range m.Facts { - _ = k - _ = v - mapEntrySize := 1 + len(k) + sovCalcapi(uint64(len(k))) + 1 + len(v) + sovCalcapi(uint64(len(v))) - n += mapEntrySize + 1 + sovCalcapi(uint64(mapEntrySize)) - } + if len(m.Title) > 0 { + i -= len(m.Title) + copy(dAtA[i:], m.Title) + i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Title))) + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *Moijaime) Size() (n int) { - if m == nil { - return 0 +func (m *Recettator_Ingredient) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - var l int - _ = l - return n + return dAtA[:n], nil } -func (m *Moijaime_Input) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n +func (m *Recettator_Ingredient) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *Moijaime_Output) Size() (n int) { - if m == nil { - return 0 - } +func (m *Recettator_Ingredient) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - if len(m.Kiffs) > 0 { - for _, s := range m.Kiffs { - l = len(s) - n += 1 + l + sovCalcapi(uint64(l)) + if len(m.NameAndQuantity) > 0 { + i -= len(m.NameAndQuantity) + copy(dAtA[i:], m.NameAndQuantity) + i = encodeVarintCalcapi(dAtA, i, uint64(len(m.NameAndQuantity))) + i-- + dAtA[i] = 0x3a + } + if len(m.Kind) > 0 { + i -= len(m.Kind) + copy(dAtA[i:], m.Kind) + i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Kind))) + i-- + dAtA[i] = 0x32 + } + if m.Multiple { + i-- + if m.Multiple { + dAtA[i] = 1 + } else { + dAtA[i] = 0 } + i-- + dAtA[i] = 0x28 } - return n + if len(m.Gender) > 0 { + i -= len(m.Gender) + copy(dAtA[i:], m.Gender) + i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Gender))) + i-- + dAtA[i] = 0x22 + } + if len(m.Method) > 0 { + i -= len(m.Method) + copy(dAtA[i:], m.Method) + i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Method))) + i-- + dAtA[i] = 0x1a + } + if len(m.Quantity) > 0 { + i -= len(m.Quantity) + copy(dAtA[i:], m.Quantity) + i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Quantity))) + i-- + dAtA[i] = 0x12 + } + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Name))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil } -func (m *Wotd) Size() (n int) { - if m == nil { - return 0 +func (m *SIO) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } + return dAtA[:n], nil +} + +func (m *SIO) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *SIO) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - return n + return len(dAtA) - i, nil } -func (m *Wotd_Input) Size() (n int) { - if m == nil { - return 0 +func (m *SIO_Join) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } + return dAtA[:n], nil +} + +func (m *SIO_Join) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *SIO_Join) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - return n + return len(dAtA) - i, nil } -func (m *Wotd_Output) Size() (n int) { - if m == nil { - return 0 +func (m *SIO_Join_Input) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } + return dAtA[:n], nil +} + +func (m *SIO_Join_Input) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *SIO_Join_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.Word) - if l > 0 { - n += 1 + l + sovCalcapi(uint64(l)) + if m.Peer != nil { + { + size, err := m.Peer.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintCalcapi(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 } - return n + if len(m.Room) > 0 { + i -= len(m.Room) + copy(dAtA[i:], m.Room) + i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Room))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil } -func (m *AlternateLogo) Size() (n int) { - if m == nil { - return 0 +func (m *SIO_Join_Output) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - var l int - _ = l - return n + return dAtA[:n], nil } -func (m *AlternateLogo_Input) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n +func (m *SIO_Join_Output) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *AlternateLogo_Output) Size() (n int) { - if m == nil { - return 0 - } +func (m *SIO_Join_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.Path) - if l > 0 { - n += 1 + l + sovCalcapi(uint64(l)) + if len(m.Peers) > 0 { + for iNdEx := len(m.Peers) - 1; iNdEx >= 0; iNdEx-- { + { + size, err := m.Peers[iNdEx].MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintCalcapi(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } } - return n + return len(dAtA) - i, nil } -func (m *SpreadshirtRandom) Size() (n int) { - if m == nil { - return 0 +func (m *SIO_Join_Event) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - var l int - _ = l - return n + return dAtA[:n], nil } -func (m *SpreadshirtRandom_Input) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n +func (m *SIO_Join_Event) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *SpreadshirtRandom_Output) Size() (n int) { - if m == nil { - return 0 - } +func (m *SIO_Join_Event) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - return n + if m.Peer != nil { + { + size, err := m.Peer.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintCalcapi(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if len(m.Room) > 0 { + i -= len(m.Room) + copy(dAtA[i:], m.Room) + i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Room))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil } -func (m *SpreadshirtAll) Size() (n int) { - if m == nil { - return 0 +func (m *SIO_Broadcast) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - var l int - _ = l - return n + return dAtA[:n], nil } -func (m *SpreadshirtAll_Input) Size() (n int) { - if m == nil { - return 0 - } - var l int - _ = l - return n +func (m *SIO_Broadcast) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *SpreadshirtAll_Output) Size() (n int) { - if m == nil { - return 0 - } +func (m *SIO_Broadcast) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - return n + return len(dAtA) - i, nil } -func (m *Recettator) Size() (n int) { - if m == nil { - return 0 +func (m *SIO_Broadcast_Input) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - var l int - _ = l - return n + return dAtA[:n], nil } -func (m *Recettator_Input) Size() (n int) { - if m == nil { - return 0 - } - var l int +func (m *SIO_Broadcast_Input) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *SIO_Broadcast_Input) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int _ = l - if m.Seed != 0 { - n += 1 + sovCalcapi(uint64(m.Seed)) - } - if m.MainIngredients != 0 { - n += 1 + sovCalcapi(uint64(m.MainIngredients)) + if len(m.Msg) > 0 { + i -= len(m.Msg) + copy(dAtA[i:], m.Msg) + i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Msg))) + i-- + dAtA[i] = 0x12 } - if m.SecondaryIngredients != 0 { - n += 1 + sovCalcapi(uint64(m.SecondaryIngredients)) + if len(m.Room) > 0 { + i -= len(m.Room) + copy(dAtA[i:], m.Room) + i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Room))) + i-- + dAtA[i] = 0xa } - if m.Steps != 0 { - n += 1 + sovCalcapi(uint64(m.Steps)) + return len(dAtA) - i, nil +} + +func (m *SIO_Broadcast_Output) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - return n + return dAtA[:n], nil } -func (m *Recettator_Output) Size() (n int) { - if m == nil { - return 0 +func (m *SIO_Broadcast_Output) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *SIO_Broadcast_Output) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func (m *SIO_Broadcast_Event) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } + return dAtA[:n], nil +} + +func (m *SIO_Broadcast_Event) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *SIO_Broadcast_Event) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.Title) - if l > 0 { - n += 1 + l + sovCalcapi(uint64(l)) + if m.Peer != nil { + { + size, err := m.Peer.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintCalcapi(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a } - if m.People != 0 { - n += 1 + sovCalcapi(uint64(m.People)) + if len(m.Msg) > 0 { + i -= len(m.Msg) + copy(dAtA[i:], m.Msg) + i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Msg))) + i-- + dAtA[i] = 0x12 } - l = len(m.Markdown) - if l > 0 { - n += 1 + l + sovCalcapi(uint64(l)) + if len(m.Room) > 0 { + i -= len(m.Room) + copy(dAtA[i:], m.Room) + i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Room))) + i-- + dAtA[i] = 0xa } - if len(m.Steps) > 0 { - for _, s := range m.Steps { - l = len(s) - n += 1 + l + sovCalcapi(uint64(l)) - } + return len(dAtA) - i, nil +} + +func (m *SIO_Disconnect) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - if len(m.MainIngredients) > 0 { - for _, e := range m.MainIngredients { - l = e.Size() - n += 1 + l + sovCalcapi(uint64(l)) - } + return dAtA[:n], nil +} + +func (m *SIO_Disconnect) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *SIO_Disconnect) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + return len(dAtA) - i, nil +} + +func (m *SIO_Disconnect_Event) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - if len(m.SecondaryIngredients) > 0 { - for _, e := range m.SecondaryIngredients { - l = e.Size() - n += 1 + l + sovCalcapi(uint64(l)) + return dAtA[:n], nil +} + +func (m *SIO_Disconnect_Event) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *SIO_Disconnect_Event) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.Peer != nil { + { + size, err := m.Peer.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintCalcapi(dAtA, i, uint64(size)) } + i-- + dAtA[i] = 0x12 } - if m.Seed != 0 { - n += 1 + sovCalcapi(uint64(m.Seed)) + if len(m.Room) > 0 { + i -= len(m.Room) + copy(dAtA[i:], m.Room) + i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Room))) + i-- + dAtA[i] = 0xa } - return n + return len(dAtA) - i, nil } -func (m *Recettator_Ingredient) Size() (n int) { - if m == nil { - return 0 +func (m *SIO_Error) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } + return dAtA[:n], nil +} + +func (m *SIO_Error) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *SIO_Error) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i var l int _ = l - l = len(m.Name) - if l > 0 { - n += 1 + l + sovCalcapi(uint64(l)) + if len(m.ErrMsg) > 0 { + i -= len(m.ErrMsg) + copy(dAtA[i:], m.ErrMsg) + i = encodeVarintCalcapi(dAtA, i, uint64(len(m.ErrMsg))) + i-- + dAtA[i] = 0x12 } - l = len(m.Quantity) - if l > 0 { - n += 1 + l + sovCalcapi(uint64(l)) + if m.IsError { + i-- + if m.IsError { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x8 } - l = len(m.Method) - if l > 0 { - n += 1 + l + sovCalcapi(uint64(l)) + return len(dAtA) - i, nil +} + +func (m *SIO_Peer) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - l = len(m.Gender) - if l > 0 { - n += 1 + l + sovCalcapi(uint64(l)) + return dAtA[:n], nil +} + +func (m *SIO_Peer) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *SIO_Peer) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.Color) > 0 { + i -= len(m.Color) + copy(dAtA[i:], m.Color) + i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Color))) + i-- + dAtA[i] = 0x12 } - if m.Multiple { - n += 2 + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = encodeVarintCalcapi(dAtA, i, uint64(len(m.Name))) + i-- + dAtA[i] = 0xa } - l = len(m.Kind) - if l > 0 { - n += 1 + l + sovCalcapi(uint64(l)) + return len(dAtA) - i, nil +} + +func (m *SIO_Context) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err } - l = len(m.NameAndQuantity) - if l > 0 { - n += 1 + l + sovCalcapi(uint64(l)) + return dAtA[:n], nil +} + +func (m *SIO_Context) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *SIO_Context) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.NoMetadata { + i-- + if m.NoMetadata { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x10 + } + if m.Peer != nil { + { + size, err := m.Peer.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintCalcapi(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func encodeVarintCalcapi(dAtA []byte, offset int, v uint64) int { + offset -= sovCalcapi(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *EchoStream) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *EchoStream_Input) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Msg) + if l > 0 { + n += 1 + l + sovCalcapi(uint64(l)) + } + return n +} + +func (m *EchoStream_Output) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Msg) + if l > 0 { + n += 1 + l + sovCalcapi(uint64(l)) + } + return n +} + +func (m *TestReadStream) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *TestReadStream_Input) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *TestReadStream_Output) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Msg) + if l > 0 { + n += 1 + l + sovCalcapi(uint64(l)) + } + return n +} + +func (m *CounterInc) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *CounterInc_Input) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Key) + if l > 0 { + n += 1 + l + sovCalcapi(uint64(l)) + } + if m.Gap != 0 { + n += 9 + } + return n +} + +func (m *CounterInc_Output) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Value != 0 { + n += 9 + } + return n +} + +func (m *NumberSetIfBigger) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *NumberSetIfBigger_Input) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Key) + if l > 0 { + n += 1 + l + sovCalcapi(uint64(l)) + } + if m.Value != 0 { + n += 9 + } + return n +} + +func (m *NumberSetIfBigger_Output) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Value != 0 { + n += 9 + } + return n +} + +func (m *KeyValueStringSet) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *KeyValueStringSet_Input) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Key) + if l > 0 { + n += 1 + l + sovCalcapi(uint64(l)) + } + l = len(m.Value) + if l > 0 { + n += 1 + l + sovCalcapi(uint64(l)) + } + return n +} + +func (m *KeyValueStringSet_Output) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *KeyValueStringGet) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *KeyValueStringGet_Input) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Key) + if l > 0 { + n += 1 + l + sovCalcapi(uint64(l)) + } + return n +} + +func (m *KeyValueStringGet_Output) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Value) + if l > 0 { + n += 1 + l + sovCalcapi(uint64(l)) + } + return n +} + +func (m *KeyValueFloatSet) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *KeyValueFloatSet_Input) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Key) + if l > 0 { + n += 1 + l + sovCalcapi(uint64(l)) + } + if m.Value != 0 { + n += 9 + } + return n +} + +func (m *KeyValueFloatSet_Output) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *KeyValueFloatGet) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *KeyValueFloatGet_Input) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Key) + if l > 0 { + n += 1 + l + sovCalcapi(uint64(l)) + } + return n +} + +func (m *KeyValueFloatGet_Output) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Value != 0 { + n += 9 + } + return n +} + +func (m *Dashboard) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *Dashboard_Input) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *Dashboard_Output) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Entries != nil { + l = m.Entries.Size() + n += 1 + l + sovCalcapi(uint64(l)) + } + return n +} + +func (m *Hackz) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *Hackz_Input) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *Hackz_Output) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Entries != nil { + l = m.Entries.Size() + n += 1 + l + sovCalcapi(uint64(l)) + } + return n +} + +func (m *Crew) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *Crew_Input) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *Crew_Output) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Crew != nil { + l = m.Crew.Size() + n += 1 + l + sovCalcapi(uint64(l)) + } + return n +} + +func (m *SoundcloudMe) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *SoundcloudMe_Input) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *SoundcloudMe_Output) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Me != nil { + l = m.Me.Size() + n += 1 + l + sovCalcapi(uint64(l)) + } + return n +} + +func (m *SoundcloudPlaylists) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *SoundcloudPlaylists_Input) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *SoundcloudPlaylists_Output) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Playlists != nil { + l = m.Playlists.Size() + n += 1 + l + sovCalcapi(uint64(l)) + } + return n +} + +func (m *SoundcloudPlaylist) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *SoundcloudPlaylist_Input) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.PlaylistId != 0 { + n += 1 + sovCalcapi(uint64(m.PlaylistId)) + } + return n +} + +func (m *SoundcloudPlaylist_Output) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Playlist != nil { + l = m.Playlist.Size() + n += 1 + l + sovCalcapi(uint64(l)) + } + return n +} + +func (m *SoundcloudTracks) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *SoundcloudTracks_Input) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *SoundcloudTracks_Output) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Tracks != nil { + l = m.Tracks.Size() + n += 1 + l + sovCalcapi(uint64(l)) + } + return n +} + +func (m *SoundcloudTrack) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *SoundcloudTrack_Input) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.TrackId != 0 { + n += 1 + sovCalcapi(uint64(m.TrackId)) + } + return n +} + +func (m *SoundcloudTrack_Output) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Track != nil { + l = m.Track.Size() + n += 1 + l + sovCalcapi(uint64(l)) + } + return n +} + +func (m *Metrics) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *Metrics_Input) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *Metrics_Output) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.StaticBoxSize != 0 { + n += 1 + sovCalcapi(uint64(m.StaticBoxSize)) + } + l = len(m.ServerStartTime) + if l > 0 { + n += 1 + l + sovCalcapi(uint64(l)) + } + l = len(m.ServerCurrentTime) + if l > 0 { + n += 1 + l + sovCalcapi(uint64(l)) + } + l = len(m.ServerUptime) + if l > 0 { + n += 1 + l + sovCalcapi(uint64(l)) + } + return n +} + +func (m *Ping) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *Ping_Input) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *Ping_Output) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Pong) + if l > 0 { + n += 1 + l + sovCalcapi(uint64(l)) + } + return n +} + +func (m *Kryptos) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *Kryptos_Input) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.From) + if l > 0 { + n += 1 + l + sovCalcapi(uint64(l)) + } + return n +} + +func (m *Kryptos_Output) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.To) + if l > 0 { + n += 1 + l + sovCalcapi(uint64(l)) + } + return n +} + +func (m *TpyoEnocde) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *TpyoEnocde_Ipunt) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Form) + if l > 0 { + n += 1 + l + sovCalcapi(uint64(l)) + } + return n +} + +func (m *TpyoEnocde_Ouptut) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.To) + if l > 0 { + n += 1 + l + sovCalcapi(uint64(l)) + } + return n +} + +func (m *Numberinfo) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *Numberinfo_Input) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Number != 0 { + n += 5 + } + return n +} + +func (m *Numberinfo_Output) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Facts) > 0 { + for k, v := range m.Facts { + _ = k + _ = v + mapEntrySize := 1 + len(k) + sovCalcapi(uint64(len(k))) + 1 + len(v) + sovCalcapi(uint64(len(v))) + n += mapEntrySize + 1 + sovCalcapi(uint64(mapEntrySize)) + } + } + return n +} + +func (m *Moijaime) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *Moijaime_Input) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *Moijaime_Output) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Kiffs) > 0 { + for _, s := range m.Kiffs { + l = len(s) + n += 1 + l + sovCalcapi(uint64(l)) + } + } + return n +} + +func (m *Wotd) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *Wotd_Input) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *Wotd_Output) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Word) + if l > 0 { + n += 1 + l + sovCalcapi(uint64(l)) + } + return n +} + +func (m *AlternateLogo) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *AlternateLogo_Input) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *AlternateLogo_Output) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Path) + if l > 0 { + n += 1 + l + sovCalcapi(uint64(l)) + } + return n +} + +func (m *SpreadshirtRandom) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *SpreadshirtRandom_Input) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *SpreadshirtRandom_Output) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *SpreadshirtAll) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *SpreadshirtAll_Input) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *SpreadshirtAll_Output) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *Recettator) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *Recettator_Input) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Seed != 0 { + n += 1 + sovCalcapi(uint64(m.Seed)) + } + if m.MainIngredients != 0 { + n += 1 + sovCalcapi(uint64(m.MainIngredients)) + } + if m.SecondaryIngredients != 0 { + n += 1 + sovCalcapi(uint64(m.SecondaryIngredients)) + } + if m.Steps != 0 { + n += 1 + sovCalcapi(uint64(m.Steps)) + } + return n +} + +func (m *Recettator_Output) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Title) + if l > 0 { + n += 1 + l + sovCalcapi(uint64(l)) + } + if m.People != 0 { + n += 1 + sovCalcapi(uint64(m.People)) + } + l = len(m.Markdown) + if l > 0 { + n += 1 + l + sovCalcapi(uint64(l)) + } + if len(m.Steps) > 0 { + for _, s := range m.Steps { + l = len(s) + n += 1 + l + sovCalcapi(uint64(l)) + } + } + if len(m.MainIngredients) > 0 { + for _, e := range m.MainIngredients { + l = e.Size() + n += 1 + l + sovCalcapi(uint64(l)) + } + } + if len(m.SecondaryIngredients) > 0 { + for _, e := range m.SecondaryIngredients { + l = e.Size() + n += 1 + l + sovCalcapi(uint64(l)) + } + } + if m.Seed != 0 { + n += 1 + sovCalcapi(uint64(m.Seed)) + } + return n +} + +func (m *Recettator_Ingredient) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Name) + if l > 0 { + n += 1 + l + sovCalcapi(uint64(l)) + } + l = len(m.Quantity) + if l > 0 { + n += 1 + l + sovCalcapi(uint64(l)) + } + l = len(m.Method) + if l > 0 { + n += 1 + l + sovCalcapi(uint64(l)) + } + l = len(m.Gender) + if l > 0 { + n += 1 + l + sovCalcapi(uint64(l)) + } + if m.Multiple { + n += 2 + } + l = len(m.Kind) + if l > 0 { + n += 1 + l + sovCalcapi(uint64(l)) + } + l = len(m.NameAndQuantity) + if l > 0 { + n += 1 + l + sovCalcapi(uint64(l)) + } + return n +} + +func (m *SIO) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *SIO_Join) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *SIO_Join_Input) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Room) + if l > 0 { + n += 1 + l + sovCalcapi(uint64(l)) + } + if m.Peer != nil { + l = m.Peer.Size() + n += 1 + l + sovCalcapi(uint64(l)) + } + return n +} + +func (m *SIO_Join_Output) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if len(m.Peers) > 0 { + for _, e := range m.Peers { + l = e.Size() + n += 1 + l + sovCalcapi(uint64(l)) + } + } + return n +} + +func (m *SIO_Join_Event) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Room) + if l > 0 { + n += 1 + l + sovCalcapi(uint64(l)) + } + if m.Peer != nil { + l = m.Peer.Size() + n += 1 + l + sovCalcapi(uint64(l)) + } + return n +} + +func (m *SIO_Broadcast) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *SIO_Broadcast_Input) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Room) + if l > 0 { + n += 1 + l + sovCalcapi(uint64(l)) + } + l = len(m.Msg) + if l > 0 { + n += 1 + l + sovCalcapi(uint64(l)) + } + return n +} + +func (m *SIO_Broadcast_Output) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *SIO_Broadcast_Event) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Room) + if l > 0 { + n += 1 + l + sovCalcapi(uint64(l)) + } + l = len(m.Msg) + if l > 0 { + n += 1 + l + sovCalcapi(uint64(l)) + } + if m.Peer != nil { + l = m.Peer.Size() + n += 1 + l + sovCalcapi(uint64(l)) + } + return n +} + +func (m *SIO_Disconnect) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *SIO_Disconnect_Event) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Room) + if l > 0 { + n += 1 + l + sovCalcapi(uint64(l)) + } + if m.Peer != nil { + l = m.Peer.Size() + n += 1 + l + sovCalcapi(uint64(l)) + } + return n +} + +func (m *SIO_Error) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.IsError { + n += 2 + } + l = len(m.ErrMsg) + if l > 0 { + n += 1 + l + sovCalcapi(uint64(l)) + } + return n +} + +func (m *SIO_Peer) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Name) + if l > 0 { + n += 1 + l + sovCalcapi(uint64(l)) + } + l = len(m.Color) + if l > 0 { + n += 1 + l + sovCalcapi(uint64(l)) + } + return n +} + +func (m *SIO_Context) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Peer != nil { + l = m.Peer.Size() + n += 1 + l + sovCalcapi(uint64(l)) + } + if m.NoMetadata { + n += 2 + } + return n +} + +func sovCalcapi(x uint64) (n int) { + return (math_bits.Len64(x|1) + 6) / 7 +} +func sozCalcapi(x uint64) (n int) { + return sovCalcapi(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *EchoStream) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCalcapi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: EchoStream: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: EchoStream: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipCalcapi(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthCalcapi + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthCalcapi + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *EchoStream_Input) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCalcapi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Input: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Input: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Msg", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCalcapi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthCalcapi + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthCalcapi + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Msg = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipCalcapi(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthCalcapi + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthCalcapi + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *EchoStream_Output) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCalcapi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Output: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Output: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Msg", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCalcapi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthCalcapi + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthCalcapi + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Msg = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipCalcapi(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthCalcapi + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthCalcapi + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *TestReadStream) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCalcapi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: TestReadStream: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: TestReadStream: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipCalcapi(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthCalcapi + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthCalcapi + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *TestReadStream_Input) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCalcapi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Input: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Input: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipCalcapi(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthCalcapi + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthCalcapi + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *TestReadStream_Output) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCalcapi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Output: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Output: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Msg", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCalcapi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthCalcapi + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthCalcapi + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Msg = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipCalcapi(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthCalcapi + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthCalcapi + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *CounterInc) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCalcapi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: CounterInc: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: CounterInc: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipCalcapi(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthCalcapi + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthCalcapi + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *CounterInc_Input) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCalcapi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Input: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Input: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCalcapi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthCalcapi + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthCalcapi + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Key = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 1 { + return fmt.Errorf("proto: wrong wireType = %d for field Gap", wireType) + } + var v uint64 + if (iNdEx + 8) > l { + return io.ErrUnexpectedEOF + } + v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) + iNdEx += 8 + m.Gap = float64(math.Float64frombits(v)) + default: + iNdEx = preIndex + skippy, err := skipCalcapi(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthCalcapi + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthCalcapi + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *CounterInc_Output) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCalcapi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Output: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Output: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 2: + if wireType != 1 { + return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) + } + var v uint64 + if (iNdEx + 8) > l { + return io.ErrUnexpectedEOF + } + v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) + iNdEx += 8 + m.Value = float64(math.Float64frombits(v)) + default: + iNdEx = preIndex + skippy, err := skipCalcapi(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthCalcapi + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthCalcapi + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *NumberSetIfBigger) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCalcapi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: NumberSetIfBigger: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: NumberSetIfBigger: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipCalcapi(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthCalcapi + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthCalcapi + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *NumberSetIfBigger_Input) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCalcapi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Input: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Input: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCalcapi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthCalcapi + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthCalcapi + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Key = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 1 { + return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) + } + var v uint64 + if (iNdEx + 8) > l { + return io.ErrUnexpectedEOF + } + v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) + iNdEx += 8 + m.Value = float64(math.Float64frombits(v)) + default: + iNdEx = preIndex + skippy, err := skipCalcapi(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthCalcapi + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthCalcapi + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *NumberSetIfBigger_Output) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCalcapi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Output: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Output: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 2: + if wireType != 1 { + return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) + } + var v uint64 + if (iNdEx + 8) > l { + return io.ErrUnexpectedEOF + } + v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) + iNdEx += 8 + m.Value = float64(math.Float64frombits(v)) + default: + iNdEx = preIndex + skippy, err := skipCalcapi(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthCalcapi + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthCalcapi + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *KeyValueStringSet) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCalcapi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: KeyValueStringSet: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: KeyValueStringSet: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipCalcapi(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthCalcapi + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthCalcapi + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *KeyValueStringSet_Input) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCalcapi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Input: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Input: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCalcapi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthCalcapi + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthCalcapi + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Key = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCalcapi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthCalcapi + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthCalcapi + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Value = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipCalcapi(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthCalcapi + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthCalcapi + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *KeyValueStringSet_Output) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCalcapi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Output: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Output: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipCalcapi(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthCalcapi + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthCalcapi + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } } - return n -} -func sovCalcapi(x uint64) (n int) { - return (math_bits.Len64(x|1) + 6) / 7 -} -func sozCalcapi(x uint64) (n int) { - return sovCalcapi(uint64((x << 1) ^ uint64((int64(x) >> 63)))) + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil } -func (m *EchoStream) Unmarshal(dAtA []byte) error { +func (m *KeyValueStringGet) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -8143,10 +10565,10 @@ func (m *EchoStream) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: EchoStream: wiretype end group for non-group") + return fmt.Errorf("proto: KeyValueStringGet: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: EchoStream: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: KeyValueStringGet: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -8173,7 +10595,7 @@ func (m *EchoStream) Unmarshal(dAtA []byte) error { } return nil } -func (m *EchoStream_Input) Unmarshal(dAtA []byte) error { +func (m *KeyValueStringGet_Input) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -8204,7 +10626,7 @@ func (m *EchoStream_Input) Unmarshal(dAtA []byte) error { switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Msg", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -8232,7 +10654,7 @@ func (m *EchoStream_Input) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Msg = string(dAtA[iNdEx:postIndex]) + m.Key = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -8258,7 +10680,7 @@ func (m *EchoStream_Input) Unmarshal(dAtA []byte) error { } return nil } -func (m *EchoStream_Output) Unmarshal(dAtA []byte) error { +func (m *KeyValueStringGet_Output) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -8287,9 +10709,9 @@ func (m *EchoStream_Output) Unmarshal(dAtA []byte) error { return fmt.Errorf("proto: Output: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { - case 1: + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Msg", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -8317,7 +10739,7 @@ func (m *EchoStream_Output) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Msg = string(dAtA[iNdEx:postIndex]) + m.Value = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -8343,7 +10765,7 @@ func (m *EchoStream_Output) Unmarshal(dAtA []byte) error { } return nil } -func (m *TestReadStream) Unmarshal(dAtA []byte) error { +func (m *KeyValueFloatSet) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -8366,10 +10788,10 @@ func (m *TestReadStream) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: TestReadStream: wiretype end group for non-group") + return fmt.Errorf("proto: KeyValueFloatSet: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: TestReadStream: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: KeyValueFloatSet: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -8396,7 +10818,7 @@ func (m *TestReadStream) Unmarshal(dAtA []byte) error { } return nil } -func (m *TestReadStream_Input) Unmarshal(dAtA []byte) error { +func (m *KeyValueFloatSet_Input) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -8425,6 +10847,49 @@ func (m *TestReadStream_Input) Unmarshal(dAtA []byte) error { return fmt.Errorf("proto: Input: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCalcapi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthCalcapi + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthCalcapi + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Key = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 1 { + return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) + } + var v uint64 + if (iNdEx + 8) > l { + return io.ErrUnexpectedEOF + } + v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) + iNdEx += 8 + m.Value = float64(math.Float64frombits(v)) default: iNdEx = preIndex skippy, err := skipCalcapi(dAtA[iNdEx:]) @@ -8449,7 +10914,7 @@ func (m *TestReadStream_Input) Unmarshal(dAtA []byte) error { } return nil } -func (m *TestReadStream_Output) Unmarshal(dAtA []byte) error { +func (m *KeyValueFloatSet_Output) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -8478,38 +10943,6 @@ func (m *TestReadStream_Output) Unmarshal(dAtA []byte) error { return fmt.Errorf("proto: Output: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Msg", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowCalcapi - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthCalcapi - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthCalcapi - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Msg = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipCalcapi(dAtA[iNdEx:]) @@ -8534,7 +10967,7 @@ func (m *TestReadStream_Output) Unmarshal(dAtA []byte) error { } return nil } -func (m *CounterInc) Unmarshal(dAtA []byte) error { +func (m *KeyValueFloatGet) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -8557,10 +10990,10 @@ func (m *CounterInc) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: CounterInc: wiretype end group for non-group") + return fmt.Errorf("proto: KeyValueFloatGet: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: CounterInc: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: KeyValueFloatGet: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -8587,7 +11020,7 @@ func (m *CounterInc) Unmarshal(dAtA []byte) error { } return nil } -func (m *CounterInc_Input) Unmarshal(dAtA []byte) error { +func (m *KeyValueFloatGet_Input) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -8648,17 +11081,6 @@ func (m *CounterInc_Input) Unmarshal(dAtA []byte) error { } m.Key = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 2: - if wireType != 1 { - return fmt.Errorf("proto: wrong wireType = %d for field Gap", wireType) - } - var v uint64 - if (iNdEx + 8) > l { - return io.ErrUnexpectedEOF - } - v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) - iNdEx += 8 - m.Gap = float64(math.Float64frombits(v)) default: iNdEx = preIndex skippy, err := skipCalcapi(dAtA[iNdEx:]) @@ -8683,7 +11105,7 @@ func (m *CounterInc_Input) Unmarshal(dAtA []byte) error { } return nil } -func (m *CounterInc_Output) Unmarshal(dAtA []byte) error { +func (m *KeyValueFloatGet_Output) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -8747,7 +11169,7 @@ func (m *CounterInc_Output) Unmarshal(dAtA []byte) error { } return nil } -func (m *NumberSetIfBigger) Unmarshal(dAtA []byte) error { +func (m *Dashboard) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -8770,10 +11192,10 @@ func (m *NumberSetIfBigger) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: NumberSetIfBigger: wiretype end group for non-group") + return fmt.Errorf("proto: Dashboard: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: NumberSetIfBigger: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: Dashboard: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -8800,7 +11222,7 @@ func (m *NumberSetIfBigger) Unmarshal(dAtA []byte) error { } return nil } -func (m *NumberSetIfBigger_Input) Unmarshal(dAtA []byte) error { +func (m *Dashboard_Input) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -8829,11 +11251,64 @@ func (m *NumberSetIfBigger_Input) Unmarshal(dAtA []byte) error { return fmt.Errorf("proto: Input: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipCalcapi(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthCalcapi + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthCalcapi + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Dashboard_Output) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCalcapi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Output: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Output: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Entries", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowCalcapi @@ -8843,35 +11318,28 @@ func (m *NumberSetIfBigger_Input) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthCalcapi } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthCalcapi } if postIndex > l { return io.ErrUnexpectedEOF } - m.Key = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 1 { - return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) + if m.Entries == nil { + m.Entries = &dashboard.Entries{} } - var v uint64 - if (iNdEx + 8) > l { - return io.ErrUnexpectedEOF + if err := m.Entries.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err } - v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) - iNdEx += 8 - m.Value = float64(math.Float64frombits(v)) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipCalcapi(dAtA[iNdEx:]) @@ -8896,7 +11364,7 @@ func (m *NumberSetIfBigger_Input) Unmarshal(dAtA []byte) error { } return nil } -func (m *NumberSetIfBigger_Output) Unmarshal(dAtA []byte) error { +func (m *Hackz) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -8919,23 +11387,12 @@ func (m *NumberSetIfBigger_Output) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: Output: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Output: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 2: - if wireType != 1 { - return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) - } - var v uint64 - if (iNdEx + 8) > l { - return io.ErrUnexpectedEOF - } - v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) - iNdEx += 8 - m.Value = float64(math.Float64frombits(v)) + return fmt.Errorf("proto: Hackz: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Hackz: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { default: iNdEx = preIndex skippy, err := skipCalcapi(dAtA[iNdEx:]) @@ -8960,7 +11417,7 @@ func (m *NumberSetIfBigger_Output) Unmarshal(dAtA []byte) error { } return nil } -func (m *KeyValueStringSet) Unmarshal(dAtA []byte) error { +func (m *Hackz_Input) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -8983,10 +11440,10 @@ func (m *KeyValueStringSet) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: KeyValueStringSet: wiretype end group for non-group") + return fmt.Errorf("proto: Input: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: KeyValueStringSet: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: Input: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -9013,7 +11470,7 @@ func (m *KeyValueStringSet) Unmarshal(dAtA []byte) error { } return nil } -func (m *KeyValueStringSet_Input) Unmarshal(dAtA []byte) error { +func (m *Hackz_Output) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -9036,17 +11493,17 @@ func (m *KeyValueStringSet_Input) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: Input: wiretype end group for non-group") + return fmt.Errorf("proto: Output: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: Input: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: Output: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Entries", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowCalcapi @@ -9056,55 +11513,27 @@ func (m *KeyValueStringSet_Input) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthCalcapi } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthCalcapi } if postIndex > l { return io.ErrUnexpectedEOF } - m.Key = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowCalcapi - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthCalcapi - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthCalcapi + if m.Entries == nil { + m.Entries = &dashboard.Entries{} } - if postIndex > l { - return io.ErrUnexpectedEOF + if err := m.Entries.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err } - m.Value = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -9130,7 +11559,7 @@ func (m *KeyValueStringSet_Input) Unmarshal(dAtA []byte) error { } return nil } -func (m *KeyValueStringSet_Output) Unmarshal(dAtA []byte) error { +func (m *Crew) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -9153,10 +11582,10 @@ func (m *KeyValueStringSet_Output) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: Output: wiretype end group for non-group") + return fmt.Errorf("proto: Crew: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: Output: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: Crew: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -9183,7 +11612,7 @@ func (m *KeyValueStringSet_Output) Unmarshal(dAtA []byte) error { } return nil } -func (m *KeyValueStringGet) Unmarshal(dAtA []byte) error { +func (m *Crew_Input) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -9206,10 +11635,10 @@ func (m *KeyValueStringGet) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: KeyValueStringGet: wiretype end group for non-group") + return fmt.Errorf("proto: Input: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: KeyValueStringGet: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: Input: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -9236,7 +11665,7 @@ func (m *KeyValueStringGet) Unmarshal(dAtA []byte) error { } return nil } -func (m *KeyValueStringGet_Input) Unmarshal(dAtA []byte) error { +func (m *Crew_Output) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -9259,17 +11688,17 @@ func (m *KeyValueStringGet_Input) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: Input: wiretype end group for non-group") + return fmt.Errorf("proto: Output: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: Input: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: Output: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Crew", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowCalcapi @@ -9279,23 +11708,27 @@ func (m *KeyValueStringGet_Input) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthCalcapi } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthCalcapi } if postIndex > l { return io.ErrUnexpectedEOF } - m.Key = string(dAtA[iNdEx:postIndex]) + if m.Crew == nil { + m.Crew = &crew.Crew{} + } + if err := m.Crew.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex default: iNdEx = preIndex @@ -9321,7 +11754,7 @@ func (m *KeyValueStringGet_Input) Unmarshal(dAtA []byte) error { } return nil } -func (m *KeyValueStringGet_Output) Unmarshal(dAtA []byte) error { +func (m *SoundcloudMe) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -9344,44 +11777,12 @@ func (m *KeyValueStringGet_Output) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: Output: wiretype end group for non-group") + return fmt.Errorf("proto: SoundcloudMe: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: Output: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: SoundcloudMe: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowCalcapi - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthCalcapi - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthCalcapi - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Value = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipCalcapi(dAtA[iNdEx:]) @@ -9406,7 +11807,7 @@ func (m *KeyValueStringGet_Output) Unmarshal(dAtA []byte) error { } return nil } -func (m *KeyValueFloatSet) Unmarshal(dAtA []byte) error { +func (m *SoundcloudMe_Input) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -9429,10 +11830,10 @@ func (m *KeyValueFloatSet) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: KeyValueFloatSet: wiretype end group for non-group") + return fmt.Errorf("proto: Input: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: KeyValueFloatSet: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: Input: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -9459,7 +11860,7 @@ func (m *KeyValueFloatSet) Unmarshal(dAtA []byte) error { } return nil } -func (m *KeyValueFloatSet_Input) Unmarshal(dAtA []byte) error { +func (m *SoundcloudMe_Output) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -9482,17 +11883,17 @@ func (m *KeyValueFloatSet_Input) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: Input: wiretype end group for non-group") + return fmt.Errorf("proto: Output: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: Input: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: Output: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Me", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowCalcapi @@ -9502,35 +11903,28 @@ func (m *KeyValueFloatSet_Input) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthCalcapi } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthCalcapi } if postIndex > l { return io.ErrUnexpectedEOF } - m.Key = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 1 { - return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) + if m.Me == nil { + m.Me = &soundcloud.User{} } - var v uint64 - if (iNdEx + 8) > l { - return io.ErrUnexpectedEOF + if err := m.Me.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err } - v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) - iNdEx += 8 - m.Value = float64(math.Float64frombits(v)) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipCalcapi(dAtA[iNdEx:]) @@ -9555,7 +11949,7 @@ func (m *KeyValueFloatSet_Input) Unmarshal(dAtA []byte) error { } return nil } -func (m *KeyValueFloatSet_Output) Unmarshal(dAtA []byte) error { +func (m *SoundcloudPlaylists) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -9578,10 +11972,10 @@ func (m *KeyValueFloatSet_Output) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: Output: wiretype end group for non-group") + return fmt.Errorf("proto: SoundcloudPlaylists: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: Output: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: SoundcloudPlaylists: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -9608,7 +12002,7 @@ func (m *KeyValueFloatSet_Output) Unmarshal(dAtA []byte) error { } return nil } -func (m *KeyValueFloatGet) Unmarshal(dAtA []byte) error { +func (m *SoundcloudPlaylists_Input) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -9631,10 +12025,10 @@ func (m *KeyValueFloatGet) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: KeyValueFloatGet: wiretype end group for non-group") + return fmt.Errorf("proto: Input: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: KeyValueFloatGet: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: Input: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -9661,7 +12055,7 @@ func (m *KeyValueFloatGet) Unmarshal(dAtA []byte) error { } return nil } -func (m *KeyValueFloatGet_Input) Unmarshal(dAtA []byte) error { +func (m *SoundcloudPlaylists_Output) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -9684,17 +12078,17 @@ func (m *KeyValueFloatGet_Input) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: Input: wiretype end group for non-group") + return fmt.Errorf("proto: Output: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: Input: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: Output: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Key", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Playlists", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowCalcapi @@ -9704,88 +12098,28 @@ func (m *KeyValueFloatGet_Input) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthCalcapi - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthCalcapi - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Key = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipCalcapi(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthCalcapi - } - if (iNdEx + skippy) < 0 { - return ErrInvalidLengthCalcapi - } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *KeyValueFloatGet_Output) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowCalcapi - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break + if msglen < 0 { + return ErrInvalidLengthCalcapi } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Output: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Output: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 2: - if wireType != 1 { - return fmt.Errorf("proto: wrong wireType = %d for field Value", wireType) + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthCalcapi } - var v uint64 - if (iNdEx + 8) > l { + if postIndex > l { return io.ErrUnexpectedEOF } - v = uint64(encoding_binary.LittleEndian.Uint64(dAtA[iNdEx:])) - iNdEx += 8 - m.Value = float64(math.Float64frombits(v)) + if m.Playlists == nil { + m.Playlists = &soundcloud.Playlists{} + } + if err := m.Playlists.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipCalcapi(dAtA[iNdEx:]) @@ -9810,7 +12144,7 @@ func (m *KeyValueFloatGet_Output) Unmarshal(dAtA []byte) error { } return nil } -func (m *Dashboard) Unmarshal(dAtA []byte) error { +func (m *SoundcloudPlaylist) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -9833,10 +12167,10 @@ func (m *Dashboard) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: Dashboard: wiretype end group for non-group") + return fmt.Errorf("proto: SoundcloudPlaylist: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: Dashboard: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: SoundcloudPlaylist: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -9863,7 +12197,7 @@ func (m *Dashboard) Unmarshal(dAtA []byte) error { } return nil } -func (m *Dashboard_Input) Unmarshal(dAtA []byte) error { +func (m *SoundcloudPlaylist_Input) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -9892,6 +12226,25 @@ func (m *Dashboard_Input) Unmarshal(dAtA []byte) error { return fmt.Errorf("proto: Input: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field PlaylistId", wireType) + } + m.PlaylistId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCalcapi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.PlaylistId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } default: iNdEx = preIndex skippy, err := skipCalcapi(dAtA[iNdEx:]) @@ -9916,7 +12269,7 @@ func (m *Dashboard_Input) Unmarshal(dAtA []byte) error { } return nil } -func (m *Dashboard_Output) Unmarshal(dAtA []byte) error { +func (m *SoundcloudPlaylist_Output) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -9947,7 +12300,7 @@ func (m *Dashboard_Output) Unmarshal(dAtA []byte) error { switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Entries", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Playlist", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -9974,10 +12327,10 @@ func (m *Dashboard_Output) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Entries == nil { - m.Entries = &dashboard.Entries{} + if m.Playlist == nil { + m.Playlist = &soundcloud.Playlist{} } - if err := m.Entries.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Playlist.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -10005,7 +12358,7 @@ func (m *Dashboard_Output) Unmarshal(dAtA []byte) error { } return nil } -func (m *Hackz) Unmarshal(dAtA []byte) error { +func (m *SoundcloudTracks) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -10028,10 +12381,10 @@ func (m *Hackz) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: Hackz: wiretype end group for non-group") + return fmt.Errorf("proto: SoundcloudTracks: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: Hackz: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: SoundcloudTracks: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -10058,7 +12411,7 @@ func (m *Hackz) Unmarshal(dAtA []byte) error { } return nil } -func (m *Hackz_Input) Unmarshal(dAtA []byte) error { +func (m *SoundcloudTracks_Input) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -10111,7 +12464,7 @@ func (m *Hackz_Input) Unmarshal(dAtA []byte) error { } return nil } -func (m *Hackz_Output) Unmarshal(dAtA []byte) error { +func (m *SoundcloudTracks_Output) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -10142,7 +12495,7 @@ func (m *Hackz_Output) Unmarshal(dAtA []byte) error { switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Entries", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Tracks", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -10169,10 +12522,10 @@ func (m *Hackz_Output) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Entries == nil { - m.Entries = &dashboard.Entries{} + if m.Tracks == nil { + m.Tracks = &soundcloud.Tracks{} } - if err := m.Entries.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Tracks.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -10200,7 +12553,7 @@ func (m *Hackz_Output) Unmarshal(dAtA []byte) error { } return nil } -func (m *Crew) Unmarshal(dAtA []byte) error { +func (m *SoundcloudTrack) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -10223,10 +12576,10 @@ func (m *Crew) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: Crew: wiretype end group for non-group") + return fmt.Errorf("proto: SoundcloudTrack: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: Crew: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: SoundcloudTrack: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -10253,7 +12606,7 @@ func (m *Crew) Unmarshal(dAtA []byte) error { } return nil } -func (m *Crew_Input) Unmarshal(dAtA []byte) error { +func (m *SoundcloudTrack_Input) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -10282,6 +12635,25 @@ func (m *Crew_Input) Unmarshal(dAtA []byte) error { return fmt.Errorf("proto: Input: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TrackId", wireType) + } + m.TrackId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCalcapi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.TrackId |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } default: iNdEx = preIndex skippy, err := skipCalcapi(dAtA[iNdEx:]) @@ -10306,7 +12678,7 @@ func (m *Crew_Input) Unmarshal(dAtA []byte) error { } return nil } -func (m *Crew_Output) Unmarshal(dAtA []byte) error { +func (m *SoundcloudTrack_Output) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -10337,7 +12709,7 @@ func (m *Crew_Output) Unmarshal(dAtA []byte) error { switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Crew", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Track", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -10364,10 +12736,10 @@ func (m *Crew_Output) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if m.Crew == nil { - m.Crew = &crew.Crew{} + if m.Track == nil { + m.Track = &soundcloud.Track{} } - if err := m.Crew.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Track.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -10395,7 +12767,7 @@ func (m *Crew_Output) Unmarshal(dAtA []byte) error { } return nil } -func (m *SoundcloudMe) Unmarshal(dAtA []byte) error { +func (m *Metrics) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -10418,10 +12790,10 @@ func (m *SoundcloudMe) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: SoundcloudMe: wiretype end group for non-group") + return fmt.Errorf("proto: Metrics: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: SoundcloudMe: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: Metrics: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -10448,7 +12820,7 @@ func (m *SoundcloudMe) Unmarshal(dAtA []byte) error { } return nil } -func (m *SoundcloudMe_Input) Unmarshal(dAtA []byte) error { +func (m *Metrics_Input) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -10501,7 +12873,7 @@ func (m *SoundcloudMe_Input) Unmarshal(dAtA []byte) error { } return nil } -func (m *SoundcloudMe_Output) Unmarshal(dAtA []byte) error { +func (m *Metrics_Output) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -10531,10 +12903,29 @@ func (m *SoundcloudMe_Output) Unmarshal(dAtA []byte) error { } switch fieldNum { case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field StaticBoxSize", wireType) + } + m.StaticBoxSize = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCalcapi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.StaticBoxSize |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Me", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ServerStartTime", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowCalcapi @@ -10544,27 +12935,87 @@ func (m *SoundcloudMe_Output) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthCalcapi } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthCalcapi } if postIndex > l { return io.ErrUnexpectedEOF } - if m.Me == nil { - m.Me = &soundcloud.User{} + m.ServerStartTime = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ServerCurrentTime", wireType) } - if err := m.Me.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCalcapi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthCalcapi + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthCalcapi + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ServerCurrentTime = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ServerUptime", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCalcapi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthCalcapi + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthCalcapi + } + if postIndex > l { + return io.ErrUnexpectedEOF } + m.ServerUptime = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -10590,7 +13041,7 @@ func (m *SoundcloudMe_Output) Unmarshal(dAtA []byte) error { } return nil } -func (m *SoundcloudPlaylists) Unmarshal(dAtA []byte) error { +func (m *Ping) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -10613,10 +13064,10 @@ func (m *SoundcloudPlaylists) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: SoundcloudPlaylists: wiretype end group for non-group") + return fmt.Errorf("proto: Ping: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: SoundcloudPlaylists: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: Ping: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -10643,7 +13094,7 @@ func (m *SoundcloudPlaylists) Unmarshal(dAtA []byte) error { } return nil } -func (m *SoundcloudPlaylists_Input) Unmarshal(dAtA []byte) error { +func (m *Ping_Input) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -10696,7 +13147,7 @@ func (m *SoundcloudPlaylists_Input) Unmarshal(dAtA []byte) error { } return nil } -func (m *SoundcloudPlaylists_Output) Unmarshal(dAtA []byte) error { +func (m *Ping_Output) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -10727,9 +13178,9 @@ func (m *SoundcloudPlaylists_Output) Unmarshal(dAtA []byte) error { switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Playlists", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Pong", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowCalcapi @@ -10739,27 +13190,23 @@ func (m *SoundcloudPlaylists_Output) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthCalcapi } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthCalcapi } if postIndex > l { return io.ErrUnexpectedEOF } - if m.Playlists == nil { - m.Playlists = &soundcloud.Playlists{} - } - if err := m.Playlists.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.Pong = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -10785,7 +13232,7 @@ func (m *SoundcloudPlaylists_Output) Unmarshal(dAtA []byte) error { } return nil } -func (m *SoundcloudPlaylist) Unmarshal(dAtA []byte) error { +func (m *Kryptos) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -10808,10 +13255,10 @@ func (m *SoundcloudPlaylist) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: SoundcloudPlaylist: wiretype end group for non-group") + return fmt.Errorf("proto: Kryptos: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: SoundcloudPlaylist: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: Kryptos: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -10838,7 +13285,7 @@ func (m *SoundcloudPlaylist) Unmarshal(dAtA []byte) error { } return nil } -func (m *SoundcloudPlaylist_Input) Unmarshal(dAtA []byte) error { +func (m *Kryptos_Input) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -10868,10 +13315,10 @@ func (m *SoundcloudPlaylist_Input) Unmarshal(dAtA []byte) error { } switch fieldNum { case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field PlaylistId", wireType) + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field From", wireType) } - m.PlaylistId = 0 + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowCalcapi @@ -10881,11 +13328,24 @@ func (m *SoundcloudPlaylist_Input) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.PlaylistId |= uint64(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthCalcapi + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthCalcapi + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.From = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipCalcapi(dAtA[iNdEx:]) @@ -10910,7 +13370,7 @@ func (m *SoundcloudPlaylist_Input) Unmarshal(dAtA []byte) error { } return nil } -func (m *SoundcloudPlaylist_Output) Unmarshal(dAtA []byte) error { +func (m *Kryptos_Output) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -10941,9 +13401,9 @@ func (m *SoundcloudPlaylist_Output) Unmarshal(dAtA []byte) error { switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Playlist", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field To", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowCalcapi @@ -10953,27 +13413,23 @@ func (m *SoundcloudPlaylist_Output) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthCalcapi } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthCalcapi } if postIndex > l { return io.ErrUnexpectedEOF } - if m.Playlist == nil { - m.Playlist = &soundcloud.Playlist{} - } - if err := m.Playlist.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.To = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -10999,7 +13455,7 @@ func (m *SoundcloudPlaylist_Output) Unmarshal(dAtA []byte) error { } return nil } -func (m *SoundcloudTracks) Unmarshal(dAtA []byte) error { +func (m *TpyoEnocde) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -11022,10 +13478,10 @@ func (m *SoundcloudTracks) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: SoundcloudTracks: wiretype end group for non-group") + return fmt.Errorf("proto: TpyoEnocde: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: SoundcloudTracks: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: TpyoEnocde: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -11052,7 +13508,7 @@ func (m *SoundcloudTracks) Unmarshal(dAtA []byte) error { } return nil } -func (m *SoundcloudTracks_Input) Unmarshal(dAtA []byte) error { +func (m *TpyoEnocde_Ipunt) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -11075,12 +13531,44 @@ func (m *SoundcloudTracks_Input) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: Input: wiretype end group for non-group") + return fmt.Errorf("proto: Ipunt: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: Input: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: Ipunt: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Form", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCalcapi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthCalcapi + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthCalcapi + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Form = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipCalcapi(dAtA[iNdEx:]) @@ -11105,7 +13593,7 @@ func (m *SoundcloudTracks_Input) Unmarshal(dAtA []byte) error { } return nil } -func (m *SoundcloudTracks_Output) Unmarshal(dAtA []byte) error { +func (m *TpyoEnocde_Ouptut) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -11128,17 +13616,17 @@ func (m *SoundcloudTracks_Output) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: Output: wiretype end group for non-group") + return fmt.Errorf("proto: Ouptut: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: Output: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: Ouptut: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Tracks", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field To", wireType) } - var msglen int + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowCalcapi @@ -11148,27 +13636,23 @@ func (m *SoundcloudTracks_Output) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthCalcapi } - postIndex := iNdEx + msglen + postIndex := iNdEx + intStringLen if postIndex < 0 { return ErrInvalidLengthCalcapi } if postIndex > l { return io.ErrUnexpectedEOF } - if m.Tracks == nil { - m.Tracks = &soundcloud.Tracks{} - } - if err := m.Tracks.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + m.To = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -11194,7 +13678,7 @@ func (m *SoundcloudTracks_Output) Unmarshal(dAtA []byte) error { } return nil } -func (m *SoundcloudTrack) Unmarshal(dAtA []byte) error { +func (m *Numberinfo) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -11217,10 +13701,10 @@ func (m *SoundcloudTrack) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: SoundcloudTrack: wiretype end group for non-group") + return fmt.Errorf("proto: Numberinfo: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: SoundcloudTrack: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: Numberinfo: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -11247,7 +13731,7 @@ func (m *SoundcloudTrack) Unmarshal(dAtA []byte) error { } return nil } -func (m *SoundcloudTrack_Input) Unmarshal(dAtA []byte) error { +func (m *Numberinfo_Input) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -11277,24 +13761,16 @@ func (m *SoundcloudTrack_Input) Unmarshal(dAtA []byte) error { } switch fieldNum { case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field TrackId", wireType) + if wireType != 5 { + return fmt.Errorf("proto: wrong wireType = %d for field Number", wireType) } - m.TrackId = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowCalcapi - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.TrackId |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } + var v uint32 + if (iNdEx + 4) > l { + return io.ErrUnexpectedEOF } + v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) + iNdEx += 4 + m.Number = float32(math.Float32frombits(v)) default: iNdEx = preIndex skippy, err := skipCalcapi(dAtA[iNdEx:]) @@ -11319,7 +13795,7 @@ func (m *SoundcloudTrack_Input) Unmarshal(dAtA []byte) error { } return nil } -func (m *SoundcloudTrack_Output) Unmarshal(dAtA []byte) error { +func (m *Numberinfo_Output) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -11350,7 +13826,7 @@ func (m *SoundcloudTrack_Output) Unmarshal(dAtA []byte) error { switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Track", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Facts", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -11367,22 +13843,113 @@ func (m *SoundcloudTrack_Output) Unmarshal(dAtA []byte) error { break } } - if msglen < 0 { - return ErrInvalidLengthCalcapi - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthCalcapi - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Track == nil { - m.Track = &soundcloud.Track{} - } - if err := m.Track.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } + if msglen < 0 { + return ErrInvalidLengthCalcapi + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthCalcapi + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Facts == nil { + m.Facts = make(map[string]string) + } + var mapkey string + var mapvalue string + for iNdEx < postIndex { + entryPreIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCalcapi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + if fieldNum == 1 { + var stringLenmapkey uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCalcapi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapkey |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapkey := int(stringLenmapkey) + if intStringLenmapkey < 0 { + return ErrInvalidLengthCalcapi + } + postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLengthCalcapi + } + if postStringIndexmapkey > l { + return io.ErrUnexpectedEOF + } + mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) + iNdEx = postStringIndexmapkey + } else if fieldNum == 2 { + var stringLenmapvalue uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCalcapi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLenmapvalue |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLenmapvalue := int(stringLenmapvalue) + if intStringLenmapvalue < 0 { + return ErrInvalidLengthCalcapi + } + postStringIndexmapvalue := iNdEx + intStringLenmapvalue + if postStringIndexmapvalue < 0 { + return ErrInvalidLengthCalcapi + } + if postStringIndexmapvalue > l { + return io.ErrUnexpectedEOF + } + mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) + iNdEx = postStringIndexmapvalue + } else { + iNdEx = entryPreIndex + skippy, err := skipCalcapi(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthCalcapi + } + if (iNdEx + skippy) > postIndex { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + m.Facts[mapkey] = mapvalue iNdEx = postIndex default: iNdEx = preIndex @@ -11408,7 +13975,7 @@ func (m *SoundcloudTrack_Output) Unmarshal(dAtA []byte) error { } return nil } -func (m *Metrics) Unmarshal(dAtA []byte) error { +func (m *Moijaime) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -11431,10 +13998,10 @@ func (m *Metrics) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: Metrics: wiretype end group for non-group") + return fmt.Errorf("proto: Moijaime: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: Metrics: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: Moijaime: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -11461,7 +14028,7 @@ func (m *Metrics) Unmarshal(dAtA []byte) error { } return nil } -func (m *Metrics_Input) Unmarshal(dAtA []byte) error { +func (m *Moijaime_Input) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -11514,7 +14081,7 @@ func (m *Metrics_Input) Unmarshal(dAtA []byte) error { } return nil } -func (m *Metrics_Output) Unmarshal(dAtA []byte) error { +func (m *Moijaime_Output) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -11544,91 +14111,8 @@ func (m *Metrics_Output) Unmarshal(dAtA []byte) error { } switch fieldNum { case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field StaticBoxSize", wireType) - } - m.StaticBoxSize = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowCalcapi - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.StaticBoxSize |= int32(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ServerStartTime", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowCalcapi - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthCalcapi - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthCalcapi - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ServerStartTime = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ServerCurrentTime", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowCalcapi - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthCalcapi - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthCalcapi - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.ServerCurrentTime = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ServerUptime", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Kiffs", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -11656,7 +14140,7 @@ func (m *Metrics_Output) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ServerUptime = string(dAtA[iNdEx:postIndex]) + m.Kiffs = append(m.Kiffs, string(dAtA[iNdEx:postIndex])) iNdEx = postIndex default: iNdEx = preIndex @@ -11682,7 +14166,7 @@ func (m *Metrics_Output) Unmarshal(dAtA []byte) error { } return nil } -func (m *Ping) Unmarshal(dAtA []byte) error { +func (m *Wotd) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -11705,10 +14189,10 @@ func (m *Ping) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: Ping: wiretype end group for non-group") + return fmt.Errorf("proto: Wotd: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: Ping: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: Wotd: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -11735,7 +14219,7 @@ func (m *Ping) Unmarshal(dAtA []byte) error { } return nil } -func (m *Ping_Input) Unmarshal(dAtA []byte) error { +func (m *Wotd_Input) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -11788,7 +14272,7 @@ func (m *Ping_Input) Unmarshal(dAtA []byte) error { } return nil } -func (m *Ping_Output) Unmarshal(dAtA []byte) error { +func (m *Wotd_Output) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -11819,7 +14303,7 @@ func (m *Ping_Output) Unmarshal(dAtA []byte) error { switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Pong", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Word", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -11847,7 +14331,7 @@ func (m *Ping_Output) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Pong = string(dAtA[iNdEx:postIndex]) + m.Word = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -11873,7 +14357,7 @@ func (m *Ping_Output) Unmarshal(dAtA []byte) error { } return nil } -func (m *Kryptos) Unmarshal(dAtA []byte) error { +func (m *AlternateLogo) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -11896,10 +14380,10 @@ func (m *Kryptos) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: Kryptos: wiretype end group for non-group") + return fmt.Errorf("proto: AlternateLogo: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: Kryptos: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: AlternateLogo: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -11926,7 +14410,7 @@ func (m *Kryptos) Unmarshal(dAtA []byte) error { } return nil } -func (m *Kryptos_Input) Unmarshal(dAtA []byte) error { +func (m *AlternateLogo_Input) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -11955,9 +14439,62 @@ func (m *Kryptos_Input) Unmarshal(dAtA []byte) error { return fmt.Errorf("proto: Input: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipCalcapi(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthCalcapi + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthCalcapi + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *AlternateLogo_Output) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCalcapi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Output: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Output: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field From", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -11985,7 +14522,7 @@ func (m *Kryptos_Input) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.From = string(dAtA[iNdEx:postIndex]) + m.Path = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -12011,7 +14548,7 @@ func (m *Kryptos_Input) Unmarshal(dAtA []byte) error { } return nil } -func (m *Kryptos_Output) Unmarshal(dAtA []byte) error { +func (m *SpreadshirtRandom) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -12034,44 +14571,65 @@ func (m *Kryptos_Output) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: Output: wiretype end group for non-group") + return fmt.Errorf("proto: SpreadshirtRandom: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: Output: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: SpreadshirtRandom: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field To", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowCalcapi - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } + default: + iNdEx = preIndex + skippy, err := skipCalcapi(dAtA[iNdEx:]) + if err != nil { + return err } - intStringLen := int(stringLen) - if intStringLen < 0 { + if skippy < 0 { return ErrInvalidLengthCalcapi } - postIndex := iNdEx + intStringLen - if postIndex < 0 { + if (iNdEx + skippy) < 0 { return ErrInvalidLengthCalcapi } - if postIndex > l { + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *SpreadshirtRandom_Input) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCalcapi + } + if iNdEx >= l { return io.ErrUnexpectedEOF } - m.To = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Input: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Input: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { default: iNdEx = preIndex skippy, err := skipCalcapi(dAtA[iNdEx:]) @@ -12096,7 +14654,7 @@ func (m *Kryptos_Output) Unmarshal(dAtA []byte) error { } return nil } -func (m *TpyoEnocde) Unmarshal(dAtA []byte) error { +func (m *SpreadshirtRandom_Output) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -12119,10 +14677,10 @@ func (m *TpyoEnocde) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: TpyoEnocde: wiretype end group for non-group") + return fmt.Errorf("proto: Output: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: TpyoEnocde: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: Output: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -12149,7 +14707,7 @@ func (m *TpyoEnocde) Unmarshal(dAtA []byte) error { } return nil } -func (m *TpyoEnocde_Ipunt) Unmarshal(dAtA []byte) error { +func (m *SpreadshirtAll) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -12172,44 +14730,12 @@ func (m *TpyoEnocde_Ipunt) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: Ipunt: wiretype end group for non-group") + return fmt.Errorf("proto: SpreadshirtAll: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: Ipunt: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: SpreadshirtAll: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Form", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowCalcapi - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthCalcapi - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthCalcapi - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Form = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipCalcapi(dAtA[iNdEx:]) @@ -12234,7 +14760,7 @@ func (m *TpyoEnocde_Ipunt) Unmarshal(dAtA []byte) error { } return nil } -func (m *TpyoEnocde_Ouptut) Unmarshal(dAtA []byte) error { +func (m *SpreadshirtAll_Input) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -12257,44 +14783,12 @@ func (m *TpyoEnocde_Ouptut) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: Ouptut: wiretype end group for non-group") + return fmt.Errorf("proto: Input: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: Ouptut: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: Input: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field To", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowCalcapi - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthCalcapi - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthCalcapi - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.To = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipCalcapi(dAtA[iNdEx:]) @@ -12319,7 +14813,7 @@ func (m *TpyoEnocde_Ouptut) Unmarshal(dAtA []byte) error { } return nil } -func (m *Numberinfo) Unmarshal(dAtA []byte) error { +func (m *SpreadshirtAll_Output) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -12342,10 +14836,10 @@ func (m *Numberinfo) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: Numberinfo: wiretype end group for non-group") + return fmt.Errorf("proto: Output: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: Numberinfo: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: Output: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -12372,7 +14866,7 @@ func (m *Numberinfo) Unmarshal(dAtA []byte) error { } return nil } -func (m *Numberinfo_Input) Unmarshal(dAtA []byte) error { +func (m *Recettator) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -12395,23 +14889,12 @@ func (m *Numberinfo_Input) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: Input: wiretype end group for non-group") + return fmt.Errorf("proto: Recettator: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: Input: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: Recettator: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { - case 1: - if wireType != 5 { - return fmt.Errorf("proto: wrong wireType = %d for field Number", wireType) - } - var v uint32 - if (iNdEx + 4) > l { - return io.ErrUnexpectedEOF - } - v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) - iNdEx += 4 - m.Number = float32(math.Float32frombits(v)) default: iNdEx = preIndex skippy, err := skipCalcapi(dAtA[iNdEx:]) @@ -12436,7 +14919,7 @@ func (m *Numberinfo_Input) Unmarshal(dAtA []byte) error { } return nil } -func (m *Numberinfo_Output) Unmarshal(dAtA []byte) error { +func (m *Recettator_Input) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -12459,17 +14942,17 @@ func (m *Numberinfo_Output) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: Output: wiretype end group for non-group") + return fmt.Errorf("proto: Input: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: Output: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: Input: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Facts", wireType) + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Seed", wireType) } - var msglen int + m.Seed = 0 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowCalcapi @@ -12479,119 +14962,68 @@ func (m *Numberinfo_Output) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= int(b&0x7F) << shift + m.Seed |= int64(b&0x7F) << shift if b < 0x80 { break } } - if msglen < 0 { - return ErrInvalidLengthCalcapi - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthCalcapi - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - if m.Facts == nil { - m.Facts = make(map[string]string) + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field MainIngredients", wireType) } - var mapkey string - var mapvalue string - for iNdEx < postIndex { - entryPreIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowCalcapi - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } + m.MainIngredients = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCalcapi } - fieldNum := int32(wire >> 3) - if fieldNum == 1 { - var stringLenmapkey uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowCalcapi - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapkey |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapkey := int(stringLenmapkey) - if intStringLenmapkey < 0 { - return ErrInvalidLengthCalcapi - } - postStringIndexmapkey := iNdEx + intStringLenmapkey - if postStringIndexmapkey < 0 { - return ErrInvalidLengthCalcapi - } - if postStringIndexmapkey > l { - return io.ErrUnexpectedEOF - } - mapkey = string(dAtA[iNdEx:postStringIndexmapkey]) - iNdEx = postStringIndexmapkey - } else if fieldNum == 2 { - var stringLenmapvalue uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowCalcapi - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLenmapvalue |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLenmapvalue := int(stringLenmapvalue) - if intStringLenmapvalue < 0 { - return ErrInvalidLengthCalcapi - } - postStringIndexmapvalue := iNdEx + intStringLenmapvalue - if postStringIndexmapvalue < 0 { - return ErrInvalidLengthCalcapi - } - if postStringIndexmapvalue > l { - return io.ErrUnexpectedEOF - } - mapvalue = string(dAtA[iNdEx:postStringIndexmapvalue]) - iNdEx = postStringIndexmapvalue - } else { - iNdEx = entryPreIndex - skippy, err := skipCalcapi(dAtA[iNdEx:]) - if err != nil { - return err - } - if skippy < 0 { - return ErrInvalidLengthCalcapi - } - if (iNdEx + skippy) > postIndex { - return io.ErrUnexpectedEOF - } - iNdEx += skippy + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.MainIngredients |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field SecondaryIngredients", wireType) + } + m.SecondaryIngredients = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCalcapi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.SecondaryIngredients |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Steps", wireType) + } + m.Steps = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCalcapi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Steps |= uint64(b&0x7F) << shift + if b < 0x80 { + break } } - m.Facts[mapkey] = mapvalue - iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipCalcapi(dAtA[iNdEx:]) @@ -12616,7 +15048,7 @@ func (m *Numberinfo_Output) Unmarshal(dAtA []byte) error { } return nil } -func (m *Moijaime) Unmarshal(dAtA []byte) error { +func (m *Recettator_Output) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -12639,65 +15071,214 @@ func (m *Moijaime) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: Moijaime: wiretype end group for non-group") + return fmt.Errorf("proto: Output: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: Moijaime: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: Output: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipCalcapi(dAtA[iNdEx:]) - if err != nil { - return err + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Title", wireType) } - if skippy < 0 { + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCalcapi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthCalcapi } - if (iNdEx + skippy) < 0 { + postIndex := iNdEx + intStringLen + if postIndex < 0 { return ErrInvalidLengthCalcapi } - if (iNdEx + skippy) > l { + if postIndex > l { return io.ErrUnexpectedEOF } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Moijaime_Input) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowCalcapi + m.Title = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field People", wireType) } - if iNdEx >= l { + m.People = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCalcapi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.People |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Markdown", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCalcapi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthCalcapi + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthCalcapi + } + if postIndex > l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break + m.Markdown = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Steps", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCalcapi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthCalcapi + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthCalcapi + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Steps = append(m.Steps, string(dAtA[iNdEx:postIndex])) + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field MainIngredients", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCalcapi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthCalcapi + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthCalcapi + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.MainIngredients = append(m.MainIngredients, &Recettator_Ingredient{}) + if err := m.MainIngredients[len(m.MainIngredients)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field SecondaryIngredients", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCalcapi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthCalcapi + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthCalcapi + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.SecondaryIngredients = append(m.SecondaryIngredients, &Recettator_Ingredient{}) + if err := m.SecondaryIngredients[len(m.SecondaryIngredients)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 7: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Seed", wireType) + } + m.Seed = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCalcapi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Seed |= int64(b&0x7F) << shift + if b < 0x80 { + break + } } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Input: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Input: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { default: iNdEx = preIndex skippy, err := skipCalcapi(dAtA[iNdEx:]) @@ -12722,7 +15303,7 @@ func (m *Moijaime_Input) Unmarshal(dAtA []byte) error { } return nil } -func (m *Moijaime_Output) Unmarshal(dAtA []byte) error { +func (m *Recettator_Ingredient) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -12745,15 +15326,15 @@ func (m *Moijaime_Output) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: Output: wiretype end group for non-group") + return fmt.Errorf("proto: Ingredient: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: Output: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: Ingredient: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Kiffs", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -12781,170 +15362,159 @@ func (m *Moijaime_Output) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Kiffs = append(m.Kiffs, string(dAtA[iNdEx:postIndex])) + m.Name = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - default: - iNdEx = preIndex - skippy, err := skipCalcapi(dAtA[iNdEx:]) - if err != nil { - return err + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Quantity", wireType) } - if skippy < 0 { - return ErrInvalidLengthCalcapi + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCalcapi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } } - if (iNdEx + skippy) < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthCalcapi } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Wotd) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowCalcapi + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthCalcapi } - if iNdEx >= l { + if postIndex > l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break + m.Quantity = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Method", wireType) } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Wotd: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Wotd: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipCalcapi(dAtA[iNdEx:]) - if err != nil { - return err + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCalcapi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } } - if skippy < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthCalcapi } - if (iNdEx + skippy) < 0 { + postIndex := iNdEx + intStringLen + if postIndex < 0 { return ErrInvalidLengthCalcapi } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Wotd_Input) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowCalcapi - } - if iNdEx >= l { + if postIndex > l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break + m.Method = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Gender", wireType) } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Input: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Input: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipCalcapi(dAtA[iNdEx:]) - if err != nil { - return err + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCalcapi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } } - if skippy < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthCalcapi } - if (iNdEx + skippy) < 0 { + postIndex := iNdEx + intStringLen + if postIndex < 0 { return ErrInvalidLengthCalcapi } - if (iNdEx + skippy) > l { + if postIndex > l { return io.ErrUnexpectedEOF } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *Wotd_Output) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowCalcapi + m.Gender = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Multiple", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCalcapi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.Multiple = bool(v != 0) + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCalcapi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } } - if iNdEx >= l { - return io.ErrUnexpectedEOF + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthCalcapi } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthCalcapi } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Output: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Output: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Kind = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 7: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Word", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field NameAndQuantity", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -12972,7 +15542,7 @@ func (m *Wotd_Output) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Word = string(dAtA[iNdEx:postIndex]) + m.NameAndQuantity = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex @@ -12998,7 +15568,7 @@ func (m *Wotd_Output) Unmarshal(dAtA []byte) error { } return nil } -func (m *AlternateLogo) Unmarshal(dAtA []byte) error { +func (m *SIO) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -13021,10 +15591,10 @@ func (m *AlternateLogo) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: AlternateLogo: wiretype end group for non-group") + return fmt.Errorf("proto: SIO: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: AlternateLogo: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: SIO: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -13051,7 +15621,7 @@ func (m *AlternateLogo) Unmarshal(dAtA []byte) error { } return nil } -func (m *AlternateLogo_Input) Unmarshal(dAtA []byte) error { +func (m *SIO_Join) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -13074,10 +15644,10 @@ func (m *AlternateLogo_Input) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: Input: wiretype end group for non-group") + return fmt.Errorf("proto: Join: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: Input: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: Join: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -13104,7 +15674,7 @@ func (m *AlternateLogo_Input) Unmarshal(dAtA []byte) error { } return nil } -func (m *AlternateLogo_Output) Unmarshal(dAtA []byte) error { +func (m *SIO_Join_Input) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -13127,15 +15697,15 @@ func (m *AlternateLogo_Output) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: Output: wiretype end group for non-group") + return fmt.Errorf("proto: Input: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: Output: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: Input: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Path", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Room", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -13163,7 +15733,43 @@ func (m *AlternateLogo_Output) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Path = string(dAtA[iNdEx:postIndex]) + m.Room = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Peer", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCalcapi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthCalcapi + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthCalcapi + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Peer == nil { + m.Peer = &SIO_Peer{} + } + if err := m.Peer.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex default: iNdEx = preIndex @@ -13189,7 +15795,7 @@ func (m *AlternateLogo_Output) Unmarshal(dAtA []byte) error { } return nil } -func (m *SpreadshirtRandom) Unmarshal(dAtA []byte) error { +func (m *SIO_Join_Output) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -13212,12 +15818,46 @@ func (m *SpreadshirtRandom) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: SpreadshirtRandom: wiretype end group for non-group") + return fmt.Errorf("proto: Output: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: SpreadshirtRandom: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: Output: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Peers", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCalcapi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthCalcapi + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthCalcapi + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Peers = append(m.Peers, &SIO_Peer{}) + if err := m.Peers[len(m.Peers)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipCalcapi(dAtA[iNdEx:]) @@ -13242,7 +15882,7 @@ func (m *SpreadshirtRandom) Unmarshal(dAtA []byte) error { } return nil } -func (m *SpreadshirtRandom_Input) Unmarshal(dAtA []byte) error { +func (m *SIO_Join_Event) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -13265,65 +15905,80 @@ func (m *SpreadshirtRandom_Input) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: Input: wiretype end group for non-group") + return fmt.Errorf("proto: Event: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: Input: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: Event: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipCalcapi(dAtA[iNdEx:]) - if err != nil { - return err + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Room", wireType) } - if skippy < 0 { + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCalcapi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthCalcapi } - if (iNdEx + skippy) < 0 { + postIndex := iNdEx + intStringLen + if postIndex < 0 { return ErrInvalidLengthCalcapi } - if (iNdEx + skippy) > l { + if postIndex > l { return io.ErrUnexpectedEOF } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *SpreadshirtRandom_Output) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowCalcapi + m.Room = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Peer", wireType) } - if iNdEx >= l { + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCalcapi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthCalcapi + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthCalcapi + } + if postIndex > l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break + if m.Peer == nil { + m.Peer = &SIO_Peer{} } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Output: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Output: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { + if err := m.Peer.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipCalcapi(dAtA[iNdEx:]) @@ -13348,7 +16003,7 @@ func (m *SpreadshirtRandom_Output) Unmarshal(dAtA []byte) error { } return nil } -func (m *SpreadshirtAll) Unmarshal(dAtA []byte) error { +func (m *SIO_Broadcast) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -13371,10 +16026,10 @@ func (m *SpreadshirtAll) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: SpreadshirtAll: wiretype end group for non-group") + return fmt.Errorf("proto: Broadcast: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: SpreadshirtAll: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: Broadcast: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -13401,7 +16056,7 @@ func (m *SpreadshirtAll) Unmarshal(dAtA []byte) error { } return nil } -func (m *SpreadshirtAll_Input) Unmarshal(dAtA []byte) error { +func (m *SIO_Broadcast_Input) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -13430,59 +16085,70 @@ func (m *SpreadshirtAll_Input) Unmarshal(dAtA []byte) error { return fmt.Errorf("proto: Input: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { - default: - iNdEx = preIndex - skippy, err := skipCalcapi(dAtA[iNdEx:]) - if err != nil { - return err + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Room", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCalcapi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthCalcapi + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthCalcapi + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Room = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Msg", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCalcapi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } } - if skippy < 0 { + intStringLen := int(stringLen) + if intStringLen < 0 { return ErrInvalidLengthCalcapi } - if (iNdEx + skippy) < 0 { + postIndex := iNdEx + intStringLen + if postIndex < 0 { return ErrInvalidLengthCalcapi } - if (iNdEx + skippy) > l { - return io.ErrUnexpectedEOF - } - iNdEx += skippy - } - } - - if iNdEx > l { - return io.ErrUnexpectedEOF - } - return nil -} -func (m *SpreadshirtAll_Output) Unmarshal(dAtA []byte) error { - l := len(dAtA) - iNdEx := 0 - for iNdEx < l { - preIndex := iNdEx - var wire uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowCalcapi - } - if iNdEx >= l { + if postIndex > l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] - iNdEx++ - wire |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - fieldNum := int32(wire >> 3) - wireType := int(wire & 0x7) - if wireType == 4 { - return fmt.Errorf("proto: Output: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: Output: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { + m.Msg = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipCalcapi(dAtA[iNdEx:]) @@ -13507,7 +16173,7 @@ func (m *SpreadshirtAll_Output) Unmarshal(dAtA []byte) error { } return nil } -func (m *Recettator) Unmarshal(dAtA []byte) error { +func (m *SIO_Broadcast_Output) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -13530,10 +16196,10 @@ func (m *Recettator) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: Recettator: wiretype end group for non-group") + return fmt.Errorf("proto: Output: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: Recettator: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: Output: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { default: @@ -13560,7 +16226,7 @@ func (m *Recettator) Unmarshal(dAtA []byte) error { } return nil } -func (m *Recettator_Input) Unmarshal(dAtA []byte) error { +func (m *SIO_Broadcast_Event) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -13583,17 +16249,17 @@ func (m *Recettator_Input) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: Input: wiretype end group for non-group") + return fmt.Errorf("proto: Event: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: Input: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: Event: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Seed", wireType) + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Room", wireType) } - m.Seed = 0 + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowCalcapi @@ -13603,16 +16269,29 @@ func (m *Recettator_Input) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Seed |= int64(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthCalcapi + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthCalcapi + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Room = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field MainIngredients", wireType) + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Msg", wireType) } - m.MainIngredients = 0 + var stringLen uint64 for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowCalcapi @@ -13622,16 +16301,29 @@ func (m *Recettator_Input) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.MainIngredients |= uint64(b&0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthCalcapi + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthCalcapi + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Msg = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field SecondaryIngredients", wireType) + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Peer", wireType) } - m.SecondaryIngredients = 0 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowCalcapi @@ -13641,30 +16333,28 @@ func (m *Recettator_Input) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.SecondaryIngredients |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - case 4: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Steps", wireType) + if msglen < 0 { + return ErrInvalidLengthCalcapi } - m.Steps = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowCalcapi - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Steps |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthCalcapi + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Peer == nil { + m.Peer = &SIO_Peer{} + } + if err := m.Peer.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipCalcapi(dAtA[iNdEx:]) @@ -13689,7 +16379,7 @@ func (m *Recettator_Input) Unmarshal(dAtA []byte) error { } return nil } -func (m *Recettator_Output) Unmarshal(dAtA []byte) error { +func (m *SIO_Disconnect) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -13712,98 +16402,68 @@ func (m *Recettator_Output) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: Output: wiretype end group for non-group") + return fmt.Errorf("proto: Disconnect: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: Output: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: Disconnect: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Title", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowCalcapi - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } + default: + iNdEx = preIndex + skippy, err := skipCalcapi(dAtA[iNdEx:]) + if err != nil { + return err } - intStringLen := int(stringLen) - if intStringLen < 0 { + if skippy < 0 { return ErrInvalidLengthCalcapi } - postIndex := iNdEx + intStringLen - if postIndex < 0 { + if (iNdEx + skippy) < 0 { return ErrInvalidLengthCalcapi } - if postIndex > l { + if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } - m.Title = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field People", wireType) - } - m.People = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowCalcapi - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.People |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Markdown", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowCalcapi - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthCalcapi - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthCalcapi + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *SIO_Disconnect_Event) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCalcapi } - if postIndex > l { + if iNdEx >= l { return io.ErrUnexpectedEOF } - m.Markdown = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Event: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Event: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Steps", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Room", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -13831,11 +16491,11 @@ func (m *Recettator_Output) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Steps = append(m.Steps, string(dAtA[iNdEx:postIndex])) + m.Room = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 5: + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field MainIngredients", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Peer", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -13862,64 +16522,13 @@ func (m *Recettator_Output) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.MainIngredients = append(m.MainIngredients, &Recettator_Ingredient{}) - if err := m.MainIngredients[len(m.MainIngredients)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { - return err - } - iNdEx = postIndex - case 6: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field SecondaryIngredients", wireType) - } - var msglen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowCalcapi - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - msglen |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - if msglen < 0 { - return ErrInvalidLengthCalcapi - } - postIndex := iNdEx + msglen - if postIndex < 0 { - return ErrInvalidLengthCalcapi - } - if postIndex > l { - return io.ErrUnexpectedEOF + if m.Peer == nil { + m.Peer = &SIO_Peer{} } - m.SecondaryIngredients = append(m.SecondaryIngredients, &Recettator_Ingredient{}) - if err := m.SecondaryIngredients[len(m.SecondaryIngredients)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Peer.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex - case 7: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Seed", wireType) - } - m.Seed = 0 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowCalcapi - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - m.Seed |= int64(b&0x7F) << shift - if b < 0x80 { - break - } - } default: iNdEx = preIndex skippy, err := skipCalcapi(dAtA[iNdEx:]) @@ -13944,7 +16553,7 @@ func (m *Recettator_Output) Unmarshal(dAtA []byte) error { } return nil } -func (m *Recettator_Ingredient) Unmarshal(dAtA []byte) error { +func (m *SIO_Error) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -13967,17 +16576,17 @@ func (m *Recettator_Ingredient) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: Ingredient: wiretype end group for non-group") + return fmt.Errorf("proto: Error: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: Ingredient: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: Error: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field IsError", wireType) } - var stringLen uint64 + var v int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowCalcapi @@ -13987,27 +16596,15 @@ func (m *Recettator_Ingredient) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthCalcapi - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthCalcapi - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Name = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex + m.IsError = bool(v != 0) case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Quantity", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field ErrMsg", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -14035,11 +16632,64 @@ func (m *Recettator_Ingredient) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Quantity = string(dAtA[iNdEx:postIndex]) + m.ErrMsg = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 3: + default: + iNdEx = preIndex + skippy, err := skipCalcapi(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthCalcapi + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthCalcapi + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *SIO_Peer) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCalcapi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Peer: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Peer: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Method", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -14067,11 +16717,11 @@ func (m *Recettator_Ingredient) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Method = string(dAtA[iNdEx:postIndex]) + m.Name = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 4: + case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Gender", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Color", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -14099,33 +16749,66 @@ func (m *Recettator_Ingredient) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Gender = string(dAtA[iNdEx:postIndex]) + m.Color = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex - case 5: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Multiple", wireType) + default: + iNdEx = preIndex + skippy, err := skipCalcapi(dAtA[iNdEx:]) + if err != nil { + return err } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowCalcapi - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } + if skippy < 0 { + return ErrInvalidLengthCalcapi } - m.Multiple = bool(v != 0) - case 6: + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthCalcapi + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *SIO_Context) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowCalcapi + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Context: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Context: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Kind", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Peer", wireType) } - var stringLen uint64 + var msglen int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowCalcapi @@ -14135,29 +16818,33 @@ func (m *Recettator_Ingredient) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { + if msglen < 0 { return ErrInvalidLengthCalcapi } - postIndex := iNdEx + intStringLen + postIndex := iNdEx + msglen if postIndex < 0 { return ErrInvalidLengthCalcapi } if postIndex > l { return io.ErrUnexpectedEOF } - m.Kind = string(dAtA[iNdEx:postIndex]) + if m.Peer == nil { + m.Peer = &SIO_Peer{} + } + if err := m.Peer.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } iNdEx = postIndex - case 7: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field NameAndQuantity", wireType) + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field NoMetadata", wireType) } - var stringLen uint64 + var v int for shift := uint(0); ; shift += 7 { if shift >= 64 { return ErrIntOverflowCalcapi @@ -14167,24 +16854,12 @@ func (m *Recettator_Ingredient) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= uint64(b&0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthCalcapi - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthCalcapi - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.NameAndQuantity = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex + m.NoMetadata = bool(v != 0) default: iNdEx = preIndex skippy, err := skipCalcapi(dAtA[iNdEx:]) diff --git a/pkg/calcapi/socketio.go b/pkg/calcapi/socketio.go index 53ccd09b..f1a1486d 100644 --- a/pkg/calcapi/socketio.go +++ b/pkg/calcapi/socketio.go @@ -1,45 +1,154 @@ package calcapi import ( + "encoding/json" + "strings" + socketio "github.com/googollee/go-socket.io" "github.com/pkg/errors" "go.uber.org/zap" ) +func (svc *svc) sioOnConnect(s socketio.Conn) error { + s.SetContext(SIO_Context{NoMetadata: true}) + svc.sio.connectedPeers++ + svc.sio.logger.Info( + "connect", + zap.String("id", s.ID()), + zap.Int("peers", svc.sio.connectedPeers), + ) + return nil +} + +func (svc *svc) sioOnError(err error) { + svc.sio.logger.Warn("error", zap.Error(err)) +} + +func (svc *svc) sioOnDisconnect(s socketio.Conn, reason string) { + svc.sio.connectedPeers-- + svc.sio.logger.Info( + "disconnect", + zap.String("id", s.ID()), + zap.Int("peers", svc.sio.connectedPeers), + zap.String("reason", reason), + ) + + context := s.Context().(SIO_Context) + for _, room := range s.Rooms() { + broadcast := SIO_Disconnect_Event{Room: room, Peer: context.Peer} + out, _ := json.Marshal(broadcast) + svc.sio.server.BroadcastToRoom(room, "event:disconnet", string(out)) + } +} + +func (svc *svc) onEventPing(s socketio.Conn, msg string) string { + svc.sio.logger.Debug("ping requested", zap.String("msg", msg), zap.String("id", s.ID())) + return msg +} + +func (svc *svc) onEventRooms(s socketio.Conn) string { + svc.sio.logger.Debug("rooms requested", zap.String("id", s.ID())) + return strings.Join(s.Rooms(), ",") +} + +func (svc *svc) onEventJoin(s socketio.Conn, in *SIO_Join_Input) (*SIO_Join_Output, error) { + svc.sio.logger.Debug( + "join", + zap.String("room", in.Room), + zap.String("id", s.ID()), + ) + + s.Join(in.Room) + + context := s.Context().(SIO_Context) + context.NoMetadata = false + context.Peer = in.Peer + s.SetContext(context) + + broadcast := SIO_Join_Event{Room: in.Room, Peer: in.Peer} + out, _ := json.Marshal(broadcast) + svc.sio.server.BroadcastToRoom(in.Room, "event:join", string(out)) + + ret := SIO_Join_Output{ + Peers: []*SIO_Peer{{Name: "foo"}, {Name: "bar"}}, + } + return &ret, nil +} + +func (svc *svc) onEventBroadcast(s socketio.Conn, in *SIO_Broadcast_Input) (*SIO_Broadcast_Output, error) { + svc.sio.logger.Debug( + "broadcast", + zap.String("room", in.Room), + zap.String("msg", in.Msg), + zap.String("id", s.ID()), + ) + + context := s.Context().(SIO_Context) + + broadcast := SIO_Broadcast_Event{Room: in.Room, Msg: in.Msg, Peer: context.Peer} + out, _ := json.Marshal(broadcast) + svc.sio.server.BroadcastToRoom(in.Room, "event:broadcast", string(out)) + + ret := SIO_Broadcast_Output{} + return &ret, nil +} + func (svc *svc) SocketIOServer() (*socketio.Server, error) { server, err := socketio.NewServer(nil) if err != nil { return nil, errors.Wrap(err, "socketio.NewServer") } + svc.sio.logger = svc.opts.Logger.Named("sio") + svc.sio.server = server - logger := svc.opts.Logger.Named("sio") - - server.OnConnect("/", func(s socketio.Conn) error { - s.SetContext("") - logger.Info("connected", zap.String("id", s.ID())) - return nil - }) + // core events + server.OnConnect("/", svc.sioOnConnect) + server.OnError("/", svc.sioOnError) + server.OnDisconnect("/", svc.sioOnDisconnect) - server.OnEvent("/", "notice", func(s socketio.Conn, msg string) { - logger.Debug("notice", zap.String("msg", msg)) - s.Emit("reply", "have "+msg) - }) - server.OnEvent("/chat", "msg", func(s socketio.Conn, msg string) string { - s.SetContext(msg) - return "recv " + msg + // api + server.OnEvent("/", "ping", svc.onEventPing) + server.OnEvent("/", "rooms", svc.onEventRooms) + server.OnEvent("/", "join", func(s socketio.Conn, msg string) string { + var in SIO_Join_Input + err := json.Unmarshal([]byte(msg), &in) + if err != nil { + ret := sioErrToString(err) + s.Emit("error", ret) + return ret + } + ret, err := svc.onEventJoin(s, &in) + if err != nil { + ret := sioErrToString(err) + s.Emit("error", ret) + return ret + } + out, _ := json.Marshal(ret) + return string(out) }) - server.OnEvent("/", "bye", func(s socketio.Conn) string { - last := s.Context().(string) - s.Emit("bye", last) - s.Close() - return last - }) - server.OnError("/", func(err error) { - logger.Warn("error", zap.Error(err)) - }) - server.OnDisconnect("/", func(s socketio.Conn, reason string) { - logger.Info("closed", zap.String("reason", reason)) + server.OnEvent("/", "broadcast", func(s socketio.Conn, msg string) string { + var in SIO_Broadcast_Input + err := json.Unmarshal([]byte(msg), &in) + if err != nil { + ret := sioErrToString(err) + s.Emit("error", ret) + return ret + } + ret, err := svc.onEventBroadcast(s, &in) + if err != nil { + ret := sioErrToString(err) + s.Emit("error", ret) + return ret + } + out, _ := json.Marshal(ret) + return string(out) }) return server, nil } + +func sioErrToString(err error) string { + msg := SIO_Error{IsError: true, ErrMsg: err.Error()} + out, _ := json.Marshal(msg) + return string(out) +} diff --git a/pkg/calcapi/svc.go b/pkg/calcapi/svc.go index b05fd116..e6c9154a 100644 --- a/pkg/calcapi/svc.go +++ b/pkg/calcapi/svc.go @@ -24,6 +24,11 @@ type svc struct { dashboard *dashboard.Dashboard startTime time.Time db *gorm.DB + sio struct { + server *socketio.Server + logger *zap.Logger + connectedPeers int + } } type Service interface {