gomtm 0.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (80) hide show
  1. package/dist/esm/index.d.ts +1 -0
  2. package/dist/esm/index.js +5 -0
  3. package/dist/esm/lib/mtmclient/descriptions/mtm/conf/conf.d.ts +0 -0
  4. package/dist/esm/lib/mtmclient/descriptions/mtm/conf/conf.js +0 -0
  5. package/dist/esm/lib/mtmclient/descriptions/mtm/mtps/mtpspb/mtps.d.ts +0 -0
  6. package/dist/esm/lib/mtmclient/descriptions/mtm/mtps/mtpspb/mtps.js +0 -0
  7. package/dist/esm/lib/mtmclient/descriptions/mtm/sppb/ai.d.ts +0 -0
  8. package/dist/esm/lib/mtmclient/descriptions/mtm/sppb/ai.js +0 -0
  9. package/dist/esm/lib/mtmclient/descriptions/mtm/sppb/av.d.ts +0 -0
  10. package/dist/esm/lib/mtmclient/descriptions/mtm/sppb/av.js +0 -0
  11. package/dist/esm/lib/mtmclient/descriptions/mtm/sppb/bot.d.ts +0 -0
  12. package/dist/esm/lib/mtmclient/descriptions/mtm/sppb/bot.js +0 -0
  13. package/dist/esm/lib/mtmclient/descriptions/mtm/sppb/cx.d.ts +0 -0
  14. package/dist/esm/lib/mtmclient/descriptions/mtm/sppb/cx.js +0 -0
  15. package/dist/esm/lib/mtmclient/descriptions/mtm/sppb/events.d.ts +0 -0
  16. package/dist/esm/lib/mtmclient/descriptions/mtm/sppb/events.js +0 -0
  17. package/dist/esm/lib/mtmclient/descriptions/mtm/sppb/job.d.ts +0 -0
  18. package/dist/esm/lib/mtmclient/descriptions/mtm/sppb/job.js +0 -0
  19. package/dist/esm/lib/mtmclient/descriptions/mtm/sppb/mtm.d.ts +0 -0
  20. package/dist/esm/lib/mtmclient/descriptions/mtm/sppb/mtm.js +0 -0
  21. package/dist/esm/lib/mtmclient/descriptions/mtm/sppb/sp.d.ts +0 -0
  22. package/dist/esm/lib/mtmclient/descriptions/mtm/sppb/sp.js +0 -0
  23. package/dist/esm/lib/mtmclient/mtm/conf/conf-ConfService_connectquery.d.ts +53 -0
  24. package/dist/esm/lib/mtmclient/mtm/conf/conf-ConfService_connectquery.js +60 -0
  25. package/dist/esm/lib/mtmclient/mtm/conf/conf_connect.d.ts +38 -0
  26. package/dist/esm/lib/mtmclient/mtm/conf/conf_connect.js +56 -0
  27. package/dist/esm/lib/mtmclient/mtm/conf/conf_pb.d.ts +480 -0
  28. package/dist/esm/lib/mtmclient/mtm/conf/conf_pb.js +2360 -0
  29. package/dist/esm/lib/mtmclient/mtm/mtps/mtpspb/mtps-PsService_connectquery.d.ts +52 -0
  30. package/dist/esm/lib/mtmclient/mtm/mtps/mtpspb/mtps-PsService_connectquery.js +59 -0
  31. package/dist/esm/lib/mtmclient/mtm/mtps/mtpspb/mtps_connect.d.ts +37 -0
  32. package/dist/esm/lib/mtmclient/mtm/mtps/mtpspb/mtps_connect.js +55 -0
  33. package/dist/esm/lib/mtmclient/mtm/mtps/mtpspb/mtps_pb.d.ts +154 -0
  34. package/dist/esm/lib/mtmclient/mtm/mtps/mtpspb/mtps_pb.js +530 -0
  35. package/dist/esm/lib/mtmclient/mtm/sppb/ai-AiService_connectquery.d.ts +22 -0
  36. package/dist/esm/lib/mtmclient/mtm/sppb/ai-AiService_connectquery.js +26 -0
  37. package/dist/esm/lib/mtmclient/mtm/sppb/ai_connect.d.ts +19 -0
  38. package/dist/esm/lib/mtmclient/mtm/sppb/ai_connect.js +32 -0
  39. package/dist/esm/lib/mtmclient/mtm/sppb/ai_pb.d.ts +47 -0
  40. package/dist/esm/lib/mtmclient/mtm/sppb/ai_pb.js +149 -0
  41. package/dist/esm/lib/mtmclient/mtm/sppb/av-AvService_connectquery.d.ts +53 -0
  42. package/dist/esm/lib/mtmclient/mtm/sppb/av-AvService_connectquery.js +60 -0
  43. package/dist/esm/lib/mtmclient/mtm/sppb/av_connect.d.ts +38 -0
  44. package/dist/esm/lib/mtmclient/mtm/sppb/av_connect.js +56 -0
  45. package/dist/esm/lib/mtmclient/mtm/sppb/av_pb.d.ts +77 -0
  46. package/dist/esm/lib/mtmclient/mtm/sppb/av_pb.js +290 -0
  47. package/dist/esm/lib/mtmclient/mtm/sppb/bot-BotService_connectquery.d.ts +53 -0
  48. package/dist/esm/lib/mtmclient/mtm/sppb/bot-BotService_connectquery.js +60 -0
  49. package/dist/esm/lib/mtmclient/mtm/sppb/bot_connect.d.ts +38 -0
  50. package/dist/esm/lib/mtmclient/mtm/sppb/bot_connect.js +62 -0
  51. package/dist/esm/lib/mtmclient/mtm/sppb/bot_pb.d.ts +419 -0
  52. package/dist/esm/lib/mtmclient/mtm/sppb/bot_pb.js +1267 -0
  53. package/dist/esm/lib/mtmclient/mtm/sppb/cx-CxService_connectquery.d.ts +133 -0
  54. package/dist/esm/lib/mtmclient/mtm/sppb/cx-CxService_connectquery.js +148 -0
  55. package/dist/esm/lib/mtmclient/mtm/sppb/cx_connect.d.ts +86 -0
  56. package/dist/esm/lib/mtmclient/mtm/sppb/cx_connect.js +141 -0
  57. package/dist/esm/lib/mtmclient/mtm/sppb/cx_pb.d.ts +335 -0
  58. package/dist/esm/lib/mtmclient/mtm/sppb/cx_pb.js +1618 -0
  59. package/dist/esm/lib/mtmclient/mtm/sppb/events_pb.d.ts +231 -0
  60. package/dist/esm/lib/mtmclient/mtm/sppb/events_pb.js +874 -0
  61. package/dist/esm/lib/mtmclient/mtm/sppb/job-JobService_connectquery.d.ts +63 -0
  62. package/dist/esm/lib/mtmclient/mtm/sppb/job-JobService_connectquery.js +71 -0
  63. package/dist/esm/lib/mtmclient/mtm/sppb/job_connect.d.ts +44 -0
  64. package/dist/esm/lib/mtmclient/mtm/sppb/job_connect.js +71 -0
  65. package/dist/esm/lib/mtmclient/mtm/sppb/job_pb.d.ts +208 -0
  66. package/dist/esm/lib/mtmclient/mtm/sppb/job_pb.js +667 -0
  67. package/dist/esm/lib/mtmclient/mtm/sppb/mtm-MtmService_connectquery.d.ts +512 -0
  68. package/dist/esm/lib/mtmclient/mtm/sppb/mtm-MtmService_connectquery.js +565 -0
  69. package/dist/esm/lib/mtmclient/mtm/sppb/mtm_connect.d.ts +313 -0
  70. package/dist/esm/lib/mtmclient/mtm/sppb/mtm_connect.js +503 -0
  71. package/dist/esm/lib/mtmclient/mtm/sppb/mtm_pb.d.ts +1886 -0
  72. package/dist/esm/lib/mtmclient/mtm/sppb/mtm_pb.js +7664 -0
  73. package/dist/esm/lib/mtmclient/mtm/sppb/sp-SpService_connectquery.d.ts +213 -0
  74. package/dist/esm/lib/mtmclient/mtm/sppb/sp-SpService_connectquery.js +236 -0
  75. package/dist/esm/lib/mtmclient/mtm/sppb/sp_connect.d.ts +134 -0
  76. package/dist/esm/lib/mtmclient/mtm/sppb/sp_connect.js +208 -0
  77. package/dist/esm/lib/mtmclient/mtm/sppb/sp_pb.d.ts +684 -0
  78. package/dist/esm/lib/mtmclient/mtm/sppb/sp_pb.js +2905 -0
  79. package/dist/tsconfig.type.tsbuildinfo +1 -0
  80. package/package.json +95 -0
@@ -0,0 +1,1267 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3
+ var __publicField = (obj, key, value) => {
4
+ __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
5
+ return value;
6
+ };
7
+ import { Any, Message, proto3 } from "@bufbuild/protobuf";
8
+ import { Paging } from "./mtm_pb";
9
+ var MtBotConsumerType = /* @__PURE__ */ ((MtBotConsumerType2) => {
10
+ MtBotConsumerType2[MtBotConsumerType2["COMMON"] = 0] = "COMMON";
11
+ MtBotConsumerType2[MtBotConsumerType2["DEV"] = 1] = "DEV";
12
+ return MtBotConsumerType2;
13
+ })(MtBotConsumerType || {});
14
+ proto3.util.setEnumType(MtBotConsumerType, "sppb.MtBotConsumerType", [
15
+ { no: 0, name: "COMMON" },
16
+ { no: 1, name: "DEV" }
17
+ ]);
18
+ const _BotSiteTaskStartReq = class _BotSiteTaskStartReq extends Message {
19
+ constructor(data) {
20
+ super();
21
+ /**
22
+ * @generated from field: uint32 site_id = 1;
23
+ */
24
+ __publicField(this, "siteId", 0);
25
+ proto3.util.initPartial(data, this);
26
+ }
27
+ static fromBinary(bytes, options) {
28
+ return new _BotSiteTaskStartReq().fromBinary(bytes, options);
29
+ }
30
+ static fromJson(jsonValue, options) {
31
+ return new _BotSiteTaskStartReq().fromJson(jsonValue, options);
32
+ }
33
+ static fromJsonString(jsonString, options) {
34
+ return new _BotSiteTaskStartReq().fromJsonString(jsonString, options);
35
+ }
36
+ static equals(a, b) {
37
+ return proto3.util.equals(_BotSiteTaskStartReq, a, b);
38
+ }
39
+ };
40
+ __publicField(_BotSiteTaskStartReq, "runtime", proto3);
41
+ __publicField(_BotSiteTaskStartReq, "typeName", "sppb.BotSiteTaskStartReq");
42
+ __publicField(_BotSiteTaskStartReq, "fields", proto3.util.newFieldList(() => [
43
+ {
44
+ no: 1,
45
+ name: "site_id",
46
+ kind: "scalar",
47
+ T: 13
48
+ /* ScalarType.UINT32 */
49
+ }
50
+ ]));
51
+ let BotSiteTaskStartReq = _BotSiteTaskStartReq;
52
+ const _BotSiteTaskStartReply = class _BotSiteTaskStartReply extends Message {
53
+ constructor(data) {
54
+ super();
55
+ /**
56
+ * @generated from field: bool ok = 1;
57
+ */
58
+ __publicField(this, "ok", false);
59
+ proto3.util.initPartial(data, this);
60
+ }
61
+ static fromBinary(bytes, options) {
62
+ return new _BotSiteTaskStartReply().fromBinary(bytes, options);
63
+ }
64
+ static fromJson(jsonValue, options) {
65
+ return new _BotSiteTaskStartReply().fromJson(jsonValue, options);
66
+ }
67
+ static fromJsonString(jsonString, options) {
68
+ return new _BotSiteTaskStartReply().fromJsonString(jsonString, options);
69
+ }
70
+ static equals(a, b) {
71
+ return proto3.util.equals(_BotSiteTaskStartReply, a, b);
72
+ }
73
+ };
74
+ __publicField(_BotSiteTaskStartReply, "runtime", proto3);
75
+ __publicField(_BotSiteTaskStartReply, "typeName", "sppb.BotSiteTaskStartReply");
76
+ __publicField(_BotSiteTaskStartReply, "fields", proto3.util.newFieldList(() => [
77
+ {
78
+ no: 1,
79
+ name: "ok",
80
+ kind: "scalar",
81
+ T: 8
82
+ /* ScalarType.BOOL */
83
+ }
84
+ ]));
85
+ let BotSiteTaskStartReply = _BotSiteTaskStartReply;
86
+ const _BotNode = class _BotNode extends Message {
87
+ constructor(data) {
88
+ super();
89
+ /**
90
+ * @generated from field: uint32 id = 1;
91
+ */
92
+ __publicField(this, "id", 0);
93
+ /**
94
+ * @generated from field: string name = 2;
95
+ */
96
+ __publicField(this, "name", "");
97
+ proto3.util.initPartial(data, this);
98
+ }
99
+ static fromBinary(bytes, options) {
100
+ return new _BotNode().fromBinary(bytes, options);
101
+ }
102
+ static fromJson(jsonValue, options) {
103
+ return new _BotNode().fromJson(jsonValue, options);
104
+ }
105
+ static fromJsonString(jsonString, options) {
106
+ return new _BotNode().fromJsonString(jsonString, options);
107
+ }
108
+ static equals(a, b) {
109
+ return proto3.util.equals(_BotNode, a, b);
110
+ }
111
+ };
112
+ __publicField(_BotNode, "runtime", proto3);
113
+ __publicField(_BotNode, "typeName", "sppb.BotNode");
114
+ __publicField(_BotNode, "fields", proto3.util.newFieldList(() => [
115
+ {
116
+ no: 1,
117
+ name: "id",
118
+ kind: "scalar",
119
+ T: 13
120
+ /* ScalarType.UINT32 */
121
+ },
122
+ {
123
+ no: 2,
124
+ name: "name",
125
+ kind: "scalar",
126
+ T: 9
127
+ /* ScalarType.STRING */
128
+ }
129
+ ]));
130
+ let BotNode = _BotNode;
131
+ const _BotListReq = class _BotListReq extends Message {
132
+ constructor(data) {
133
+ super();
134
+ /**
135
+ * @generated from field: sppb.Paging Pagination = 1;
136
+ */
137
+ __publicField(this, "Pagination");
138
+ /**
139
+ * @generated from field: string q = 2;
140
+ */
141
+ __publicField(this, "q", "");
142
+ /**
143
+ * @generated from field: bool is_live = 3;
144
+ */
145
+ __publicField(this, "isLive", false);
146
+ proto3.util.initPartial(data, this);
147
+ }
148
+ static fromBinary(bytes, options) {
149
+ return new _BotListReq().fromBinary(bytes, options);
150
+ }
151
+ static fromJson(jsonValue, options) {
152
+ return new _BotListReq().fromJson(jsonValue, options);
153
+ }
154
+ static fromJsonString(jsonString, options) {
155
+ return new _BotListReq().fromJsonString(jsonString, options);
156
+ }
157
+ static equals(a, b) {
158
+ return proto3.util.equals(_BotListReq, a, b);
159
+ }
160
+ };
161
+ __publicField(_BotListReq, "runtime", proto3);
162
+ __publicField(_BotListReq, "typeName", "sppb.BotListReq");
163
+ __publicField(_BotListReq, "fields", proto3.util.newFieldList(() => [
164
+ { no: 1, name: "Pagination", kind: "message", T: Paging },
165
+ {
166
+ no: 2,
167
+ name: "q",
168
+ kind: "scalar",
169
+ T: 9
170
+ /* ScalarType.STRING */
171
+ },
172
+ {
173
+ no: 3,
174
+ name: "is_live",
175
+ kind: "scalar",
176
+ T: 8
177
+ /* ScalarType.BOOL */
178
+ }
179
+ ]));
180
+ let BotListReq = _BotListReq;
181
+ const _BotListRes = class _BotListRes extends Message {
182
+ constructor(data) {
183
+ super();
184
+ /**
185
+ * @generated from field: sppb.Paging Pagination = 1;
186
+ */
187
+ __publicField(this, "Pagination");
188
+ /**
189
+ * @generated from field: int32 Total = 2;
190
+ */
191
+ __publicField(this, "Total", 0);
192
+ /**
193
+ * @generated from field: repeated sppb.BotNode items = 3;
194
+ */
195
+ __publicField(this, "items", []);
196
+ proto3.util.initPartial(data, this);
197
+ }
198
+ static fromBinary(bytes, options) {
199
+ return new _BotListRes().fromBinary(bytes, options);
200
+ }
201
+ static fromJson(jsonValue, options) {
202
+ return new _BotListRes().fromJson(jsonValue, options);
203
+ }
204
+ static fromJsonString(jsonString, options) {
205
+ return new _BotListRes().fromJsonString(jsonString, options);
206
+ }
207
+ static equals(a, b) {
208
+ return proto3.util.equals(_BotListRes, a, b);
209
+ }
210
+ };
211
+ __publicField(_BotListRes, "runtime", proto3);
212
+ __publicField(_BotListRes, "typeName", "sppb.BotListRes");
213
+ __publicField(_BotListRes, "fields", proto3.util.newFieldList(() => [
214
+ { no: 1, name: "Pagination", kind: "message", T: Paging },
215
+ {
216
+ no: 2,
217
+ name: "Total",
218
+ kind: "scalar",
219
+ T: 5
220
+ /* ScalarType.INT32 */
221
+ },
222
+ { no: 3, name: "items", kind: "message", T: BotNode, repeated: true }
223
+ ]));
224
+ let BotListRes = _BotListRes;
225
+ const _BotGetReq = class _BotGetReq extends Message {
226
+ constructor(data) {
227
+ super();
228
+ /**
229
+ * @generated from field: uint32 id = 1;
230
+ */
231
+ __publicField(this, "id", 0);
232
+ proto3.util.initPartial(data, this);
233
+ }
234
+ static fromBinary(bytes, options) {
235
+ return new _BotGetReq().fromBinary(bytes, options);
236
+ }
237
+ static fromJson(jsonValue, options) {
238
+ return new _BotGetReq().fromJson(jsonValue, options);
239
+ }
240
+ static fromJsonString(jsonString, options) {
241
+ return new _BotGetReq().fromJsonString(jsonString, options);
242
+ }
243
+ static equals(a, b) {
244
+ return proto3.util.equals(_BotGetReq, a, b);
245
+ }
246
+ };
247
+ __publicField(_BotGetReq, "runtime", proto3);
248
+ __publicField(_BotGetReq, "typeName", "sppb.BotGetReq");
249
+ __publicField(_BotGetReq, "fields", proto3.util.newFieldList(() => [
250
+ {
251
+ no: 1,
252
+ name: "id",
253
+ kind: "scalar",
254
+ T: 13
255
+ /* ScalarType.UINT32 */
256
+ }
257
+ ]));
258
+ let BotGetReq = _BotGetReq;
259
+ const _JqGetReq = class _JqGetReq extends Message {
260
+ constructor(data) {
261
+ super();
262
+ proto3.util.initPartial(data, this);
263
+ }
264
+ static fromBinary(bytes, options) {
265
+ return new _JqGetReq().fromBinary(bytes, options);
266
+ }
267
+ static fromJson(jsonValue, options) {
268
+ return new _JqGetReq().fromJson(jsonValue, options);
269
+ }
270
+ static fromJsonString(jsonString, options) {
271
+ return new _JqGetReq().fromJsonString(jsonString, options);
272
+ }
273
+ static equals(a, b) {
274
+ return proto3.util.equals(_JqGetReq, a, b);
275
+ }
276
+ };
277
+ __publicField(_JqGetReq, "runtime", proto3);
278
+ __publicField(_JqGetReq, "typeName", "sppb.JqGetReq");
279
+ __publicField(_JqGetReq, "fields", proto3.util.newFieldList(() => []));
280
+ let JqGetReq = _JqGetReq;
281
+ const _JqGetReply = class _JqGetReply extends Message {
282
+ constructor(data) {
283
+ super();
284
+ /**
285
+ * @generated from field: bytes payload = 1;
286
+ */
287
+ __publicField(this, "payload", new Uint8Array(0));
288
+ proto3.util.initPartial(data, this);
289
+ }
290
+ static fromBinary(bytes, options) {
291
+ return new _JqGetReply().fromBinary(bytes, options);
292
+ }
293
+ static fromJson(jsonValue, options) {
294
+ return new _JqGetReply().fromJson(jsonValue, options);
295
+ }
296
+ static fromJsonString(jsonString, options) {
297
+ return new _JqGetReply().fromJsonString(jsonString, options);
298
+ }
299
+ static equals(a, b) {
300
+ return proto3.util.equals(_JqGetReply, a, b);
301
+ }
302
+ };
303
+ __publicField(_JqGetReply, "runtime", proto3);
304
+ __publicField(_JqGetReply, "typeName", "sppb.JqGetReply");
305
+ __publicField(_JqGetReply, "fields", proto3.util.newFieldList(() => [
306
+ {
307
+ no: 1,
308
+ name: "payload",
309
+ kind: "scalar",
310
+ T: 12
311
+ /* ScalarType.BYTES */
312
+ }
313
+ ]));
314
+ let JqGetReply = _JqGetReply;
315
+ const _Task = class _Task extends Message {
316
+ constructor(data) {
317
+ super();
318
+ /**
319
+ * @generated from field: bytes data = 1;
320
+ */
321
+ __publicField(this, "data", new Uint8Array(0));
322
+ proto3.util.initPartial(data, this);
323
+ }
324
+ static fromBinary(bytes, options) {
325
+ return new _Task().fromBinary(bytes, options);
326
+ }
327
+ static fromJson(jsonValue, options) {
328
+ return new _Task().fromJson(jsonValue, options);
329
+ }
330
+ static fromJsonString(jsonString, options) {
331
+ return new _Task().fromJsonString(jsonString, options);
332
+ }
333
+ static equals(a, b) {
334
+ return proto3.util.equals(_Task, a, b);
335
+ }
336
+ };
337
+ __publicField(_Task, "runtime", proto3);
338
+ __publicField(_Task, "typeName", "sppb.Task");
339
+ __publicField(_Task, "fields", proto3.util.newFieldList(() => [
340
+ {
341
+ no: 1,
342
+ name: "data",
343
+ kind: "scalar",
344
+ T: 12
345
+ /* ScalarType.BYTES */
346
+ }
347
+ ]));
348
+ let Task = _Task;
349
+ const _JqPullReply = class _JqPullReply extends Message {
350
+ constructor(data) {
351
+ super();
352
+ /**
353
+ * @generated from field: repeated sppb.Task items = 1;
354
+ */
355
+ __publicField(this, "items", []);
356
+ proto3.util.initPartial(data, this);
357
+ }
358
+ static fromBinary(bytes, options) {
359
+ return new _JqPullReply().fromBinary(bytes, options);
360
+ }
361
+ static fromJson(jsonValue, options) {
362
+ return new _JqPullReply().fromJson(jsonValue, options);
363
+ }
364
+ static fromJsonString(jsonString, options) {
365
+ return new _JqPullReply().fromJsonString(jsonString, options);
366
+ }
367
+ static equals(a, b) {
368
+ return proto3.util.equals(_JqPullReply, a, b);
369
+ }
370
+ };
371
+ __publicField(_JqPullReply, "runtime", proto3);
372
+ __publicField(_JqPullReply, "typeName", "sppb.JqPullReply");
373
+ __publicField(_JqPullReply, "fields", proto3.util.newFieldList(() => [
374
+ { no: 1, name: "items", kind: "message", T: Task, repeated: true }
375
+ ]));
376
+ let JqPullReply = _JqPullReply;
377
+ const _JqPullReq = class _JqPullReq extends Message {
378
+ constructor(data) {
379
+ super();
380
+ /**
381
+ * @generated from field: string bot_name = 1;
382
+ */
383
+ __publicField(this, "botName", "");
384
+ /**
385
+ * @generated from field: string topic = 2;
386
+ */
387
+ __publicField(this, "topic", "");
388
+ /**
389
+ * @generated from field: string filter = 3;
390
+ */
391
+ __publicField(this, "filter", "");
392
+ /**
393
+ * @generated from field: uint32 limit = 4;
394
+ */
395
+ __publicField(this, "limit", 0);
396
+ proto3.util.initPartial(data, this);
397
+ }
398
+ static fromBinary(bytes, options) {
399
+ return new _JqPullReq().fromBinary(bytes, options);
400
+ }
401
+ static fromJson(jsonValue, options) {
402
+ return new _JqPullReq().fromJson(jsonValue, options);
403
+ }
404
+ static fromJsonString(jsonString, options) {
405
+ return new _JqPullReq().fromJsonString(jsonString, options);
406
+ }
407
+ static equals(a, b) {
408
+ return proto3.util.equals(_JqPullReq, a, b);
409
+ }
410
+ };
411
+ __publicField(_JqPullReq, "runtime", proto3);
412
+ __publicField(_JqPullReq, "typeName", "sppb.JqPullReq");
413
+ __publicField(_JqPullReq, "fields", proto3.util.newFieldList(() => [
414
+ {
415
+ no: 1,
416
+ name: "bot_name",
417
+ kind: "scalar",
418
+ T: 9
419
+ /* ScalarType.STRING */
420
+ },
421
+ {
422
+ no: 2,
423
+ name: "topic",
424
+ kind: "scalar",
425
+ T: 9
426
+ /* ScalarType.STRING */
427
+ },
428
+ {
429
+ no: 3,
430
+ name: "filter",
431
+ kind: "scalar",
432
+ T: 9
433
+ /* ScalarType.STRING */
434
+ },
435
+ {
436
+ no: 4,
437
+ name: "limit",
438
+ kind: "scalar",
439
+ T: 13
440
+ /* ScalarType.UINT32 */
441
+ }
442
+ ]));
443
+ let JqPullReq = _JqPullReq;
444
+ const _JqPushReq = class _JqPushReq extends Message {
445
+ constructor(data) {
446
+ super();
447
+ proto3.util.initPartial(data, this);
448
+ }
449
+ static fromBinary(bytes, options) {
450
+ return new _JqPushReq().fromBinary(bytes, options);
451
+ }
452
+ static fromJson(jsonValue, options) {
453
+ return new _JqPushReq().fromJson(jsonValue, options);
454
+ }
455
+ static fromJsonString(jsonString, options) {
456
+ return new _JqPushReq().fromJsonString(jsonString, options);
457
+ }
458
+ static equals(a, b) {
459
+ return proto3.util.equals(_JqPushReq, a, b);
460
+ }
461
+ };
462
+ __publicField(_JqPushReq, "runtime", proto3);
463
+ __publicField(_JqPushReq, "typeName", "sppb.JqPushReq");
464
+ __publicField(_JqPushReq, "fields", proto3.util.newFieldList(() => []));
465
+ let JqPushReq = _JqPushReq;
466
+ const _JqPushReply = class _JqPushReply extends Message {
467
+ constructor(data) {
468
+ super();
469
+ proto3.util.initPartial(data, this);
470
+ }
471
+ static fromBinary(bytes, options) {
472
+ return new _JqPushReply().fromBinary(bytes, options);
473
+ }
474
+ static fromJson(jsonValue, options) {
475
+ return new _JqPushReply().fromJson(jsonValue, options);
476
+ }
477
+ static fromJsonString(jsonString, options) {
478
+ return new _JqPushReply().fromJsonString(jsonString, options);
479
+ }
480
+ static equals(a, b) {
481
+ return proto3.util.equals(_JqPushReply, a, b);
482
+ }
483
+ };
484
+ __publicField(_JqPushReply, "runtime", proto3);
485
+ __publicField(_JqPushReply, "typeName", "sppb.JqPushReply");
486
+ __publicField(_JqPushReply, "fields", proto3.util.newFieldList(() => []));
487
+ let JqPushReply = _JqPushReply;
488
+ const _BotPingPongStreamReq = class _BotPingPongStreamReq extends Message {
489
+ constructor(data) {
490
+ super();
491
+ /**
492
+ * @generated from field: bytes text = 1;
493
+ */
494
+ __publicField(this, "text", new Uint8Array(0));
495
+ proto3.util.initPartial(data, this);
496
+ }
497
+ static fromBinary(bytes, options) {
498
+ return new _BotPingPongStreamReq().fromBinary(bytes, options);
499
+ }
500
+ static fromJson(jsonValue, options) {
501
+ return new _BotPingPongStreamReq().fromJson(jsonValue, options);
502
+ }
503
+ static fromJsonString(jsonString, options) {
504
+ return new _BotPingPongStreamReq().fromJsonString(jsonString, options);
505
+ }
506
+ static equals(a, b) {
507
+ return proto3.util.equals(_BotPingPongStreamReq, a, b);
508
+ }
509
+ };
510
+ __publicField(_BotPingPongStreamReq, "runtime", proto3);
511
+ __publicField(_BotPingPongStreamReq, "typeName", "sppb.BotPingPongStreamReq");
512
+ __publicField(_BotPingPongStreamReq, "fields", proto3.util.newFieldList(() => [
513
+ {
514
+ no: 1,
515
+ name: "text",
516
+ kind: "scalar",
517
+ T: 12
518
+ /* ScalarType.BYTES */
519
+ }
520
+ ]));
521
+ let BotPingPongStreamReq = _BotPingPongStreamReq;
522
+ const _BotPingPongStreamReply = class _BotPingPongStreamReply extends Message {
523
+ constructor(data) {
524
+ super();
525
+ /**
526
+ * @generated from field: bytes text = 2;
527
+ */
528
+ __publicField(this, "text", new Uint8Array(0));
529
+ proto3.util.initPartial(data, this);
530
+ }
531
+ static fromBinary(bytes, options) {
532
+ return new _BotPingPongStreamReply().fromBinary(bytes, options);
533
+ }
534
+ static fromJson(jsonValue, options) {
535
+ return new _BotPingPongStreamReply().fromJson(jsonValue, options);
536
+ }
537
+ static fromJsonString(jsonString, options) {
538
+ return new _BotPingPongStreamReply().fromJsonString(jsonString, options);
539
+ }
540
+ static equals(a, b) {
541
+ return proto3.util.equals(_BotPingPongStreamReply, a, b);
542
+ }
543
+ };
544
+ __publicField(_BotPingPongStreamReply, "runtime", proto3);
545
+ __publicField(_BotPingPongStreamReply, "typeName", "sppb.BotPingPongStreamReply");
546
+ __publicField(_BotPingPongStreamReply, "fields", proto3.util.newFieldList(() => [
547
+ {
548
+ no: 2,
549
+ name: "text",
550
+ kind: "scalar",
551
+ T: 12
552
+ /* ScalarType.BYTES */
553
+ }
554
+ ]));
555
+ let BotPingPongStreamReply = _BotPingPongStreamReply;
556
+ const _BotPingPongReq = class _BotPingPongReq extends Message {
557
+ constructor(data) {
558
+ super();
559
+ proto3.util.initPartial(data, this);
560
+ }
561
+ static fromBinary(bytes, options) {
562
+ return new _BotPingPongReq().fromBinary(bytes, options);
563
+ }
564
+ static fromJson(jsonValue, options) {
565
+ return new _BotPingPongReq().fromJson(jsonValue, options);
566
+ }
567
+ static fromJsonString(jsonString, options) {
568
+ return new _BotPingPongReq().fromJsonString(jsonString, options);
569
+ }
570
+ static equals(a, b) {
571
+ return proto3.util.equals(_BotPingPongReq, a, b);
572
+ }
573
+ };
574
+ __publicField(_BotPingPongReq, "runtime", proto3);
575
+ __publicField(_BotPingPongReq, "typeName", "sppb.BotPingPongReq");
576
+ __publicField(_BotPingPongReq, "fields", proto3.util.newFieldList(() => []));
577
+ let BotPingPongReq = _BotPingPongReq;
578
+ const _BotPingPongReply = class _BotPingPongReply extends Message {
579
+ constructor(data) {
580
+ super();
581
+ proto3.util.initPartial(data, this);
582
+ }
583
+ static fromBinary(bytes, options) {
584
+ return new _BotPingPongReply().fromBinary(bytes, options);
585
+ }
586
+ static fromJson(jsonValue, options) {
587
+ return new _BotPingPongReply().fromJson(jsonValue, options);
588
+ }
589
+ static fromJsonString(jsonString, options) {
590
+ return new _BotPingPongReply().fromJsonString(jsonString, options);
591
+ }
592
+ static equals(a, b) {
593
+ return proto3.util.equals(_BotPingPongReply, a, b);
594
+ }
595
+ };
596
+ __publicField(_BotPingPongReply, "runtime", proto3);
597
+ __publicField(_BotPingPongReply, "typeName", "sppb.BotPingPongReply");
598
+ __publicField(_BotPingPongReply, "fields", proto3.util.newFieldList(() => []));
599
+ let BotPingPongReply = _BotPingPongReply;
600
+ const _BotSubscriberReq = class _BotSubscriberReq extends Message {
601
+ constructor(data) {
602
+ super();
603
+ /**
604
+ * @generated from field: string bot_name = 2;
605
+ */
606
+ __publicField(this, "botName", "");
607
+ proto3.util.initPartial(data, this);
608
+ }
609
+ static fromBinary(bytes, options) {
610
+ return new _BotSubscriberReq().fromBinary(bytes, options);
611
+ }
612
+ static fromJson(jsonValue, options) {
613
+ return new _BotSubscriberReq().fromJson(jsonValue, options);
614
+ }
615
+ static fromJsonString(jsonString, options) {
616
+ return new _BotSubscriberReq().fromJsonString(jsonString, options);
617
+ }
618
+ static equals(a, b) {
619
+ return proto3.util.equals(_BotSubscriberReq, a, b);
620
+ }
621
+ };
622
+ __publicField(_BotSubscriberReq, "runtime", proto3);
623
+ __publicField(_BotSubscriberReq, "typeName", "sppb.BotSubscriberReq");
624
+ __publicField(_BotSubscriberReq, "fields", proto3.util.newFieldList(() => [
625
+ {
626
+ no: 2,
627
+ name: "bot_name",
628
+ kind: "scalar",
629
+ T: 9
630
+ /* ScalarType.STRING */
631
+ }
632
+ ]));
633
+ let BotSubscriberReq = _BotSubscriberReq;
634
+ const _MtMessage = class _MtMessage extends Message {
635
+ constructor(data) {
636
+ super();
637
+ /**
638
+ * @generated from field: map<string, string> meta = 1;
639
+ */
640
+ __publicField(this, "meta", {});
641
+ /**
642
+ * @generated from field: google.protobuf.Any msg = 2;
643
+ */
644
+ __publicField(this, "msg");
645
+ proto3.util.initPartial(data, this);
646
+ }
647
+ static fromBinary(bytes, options) {
648
+ return new _MtMessage().fromBinary(bytes, options);
649
+ }
650
+ static fromJson(jsonValue, options) {
651
+ return new _MtMessage().fromJson(jsonValue, options);
652
+ }
653
+ static fromJsonString(jsonString, options) {
654
+ return new _MtMessage().fromJsonString(jsonString, options);
655
+ }
656
+ static equals(a, b) {
657
+ return proto3.util.equals(_MtMessage, a, b);
658
+ }
659
+ };
660
+ __publicField(_MtMessage, "runtime", proto3);
661
+ __publicField(_MtMessage, "typeName", "sppb.MtMessage");
662
+ __publicField(_MtMessage, "fields", proto3.util.newFieldList(() => [
663
+ { no: 1, name: "meta", kind: "map", K: 9, V: {
664
+ kind: "scalar",
665
+ T: 9
666
+ /* ScalarType.STRING */
667
+ } },
668
+ { no: 2, name: "msg", kind: "message", T: Any }
669
+ ]));
670
+ let MtMessage = _MtMessage;
671
+ const _BotSubscriberReply = class _BotSubscriberReply extends Message {
672
+ constructor(data) {
673
+ super();
674
+ /**
675
+ * @generated from field: repeated sppb.MtMessage messages = 1;
676
+ */
677
+ __publicField(this, "messages", []);
678
+ proto3.util.initPartial(data, this);
679
+ }
680
+ static fromBinary(bytes, options) {
681
+ return new _BotSubscriberReply().fromBinary(bytes, options);
682
+ }
683
+ static fromJson(jsonValue, options) {
684
+ return new _BotSubscriberReply().fromJson(jsonValue, options);
685
+ }
686
+ static fromJsonString(jsonString, options) {
687
+ return new _BotSubscriberReply().fromJsonString(jsonString, options);
688
+ }
689
+ static equals(a, b) {
690
+ return proto3.util.equals(_BotSubscriberReply, a, b);
691
+ }
692
+ };
693
+ __publicField(_BotSubscriberReply, "runtime", proto3);
694
+ __publicField(_BotSubscriberReply, "typeName", "sppb.BotSubscriberReply");
695
+ __publicField(_BotSubscriberReply, "fields", proto3.util.newFieldList(() => [
696
+ { no: 1, name: "messages", kind: "message", T: MtMessage, repeated: true }
697
+ ]));
698
+ let BotSubscriberReply = _BotSubscriberReply;
699
+ const _BotPubReq = class _BotPubReq extends Message {
700
+ constructor(data) {
701
+ super();
702
+ /**
703
+ * @generated from field: repeated sppb.MtMessage messages = 1;
704
+ */
705
+ __publicField(this, "messages", []);
706
+ proto3.util.initPartial(data, this);
707
+ }
708
+ static fromBinary(bytes, options) {
709
+ return new _BotPubReq().fromBinary(bytes, options);
710
+ }
711
+ static fromJson(jsonValue, options) {
712
+ return new _BotPubReq().fromJson(jsonValue, options);
713
+ }
714
+ static fromJsonString(jsonString, options) {
715
+ return new _BotPubReq().fromJsonString(jsonString, options);
716
+ }
717
+ static equals(a, b) {
718
+ return proto3.util.equals(_BotPubReq, a, b);
719
+ }
720
+ };
721
+ __publicField(_BotPubReq, "runtime", proto3);
722
+ __publicField(_BotPubReq, "typeName", "sppb.BotPubReq");
723
+ __publicField(_BotPubReq, "fields", proto3.util.newFieldList(() => [
724
+ { no: 1, name: "messages", kind: "message", T: MtMessage, repeated: true }
725
+ ]));
726
+ let BotPubReq = _BotPubReq;
727
+ const _BotPubReply = class _BotPubReply extends Message {
728
+ constructor(data) {
729
+ super();
730
+ proto3.util.initPartial(data, this);
731
+ }
732
+ static fromBinary(bytes, options) {
733
+ return new _BotPubReply().fromBinary(bytes, options);
734
+ }
735
+ static fromJson(jsonValue, options) {
736
+ return new _BotPubReply().fromJson(jsonValue, options);
737
+ }
738
+ static fromJsonString(jsonString, options) {
739
+ return new _BotPubReply().fromJsonString(jsonString, options);
740
+ }
741
+ static equals(a, b) {
742
+ return proto3.util.equals(_BotPubReply, a, b);
743
+ }
744
+ };
745
+ __publicField(_BotPubReply, "runtime", proto3);
746
+ __publicField(_BotPubReply, "typeName", "sppb.BotPubReply");
747
+ __publicField(_BotPubReply, "fields", proto3.util.newFieldList(() => []));
748
+ let BotPubReply = _BotPubReply;
749
+ const _P2pNode = class _P2pNode extends Message {
750
+ constructor(data) {
751
+ super();
752
+ /**
753
+ * @generated from field: string id = 1;
754
+ */
755
+ __publicField(this, "id", "");
756
+ /**
757
+ * @generated from field: string name = 2;
758
+ */
759
+ __publicField(this, "name", "");
760
+ proto3.util.initPartial(data, this);
761
+ }
762
+ static fromBinary(bytes, options) {
763
+ return new _P2pNode().fromBinary(bytes, options);
764
+ }
765
+ static fromJson(jsonValue, options) {
766
+ return new _P2pNode().fromJson(jsonValue, options);
767
+ }
768
+ static fromJsonString(jsonString, options) {
769
+ return new _P2pNode().fromJsonString(jsonString, options);
770
+ }
771
+ static equals(a, b) {
772
+ return proto3.util.equals(_P2pNode, a, b);
773
+ }
774
+ };
775
+ __publicField(_P2pNode, "runtime", proto3);
776
+ __publicField(_P2pNode, "typeName", "sppb.P2pNode");
777
+ __publicField(_P2pNode, "fields", proto3.util.newFieldList(() => [
778
+ {
779
+ no: 1,
780
+ name: "id",
781
+ kind: "scalar",
782
+ T: 9
783
+ /* ScalarType.STRING */
784
+ },
785
+ {
786
+ no: 2,
787
+ name: "name",
788
+ kind: "scalar",
789
+ T: 9
790
+ /* ScalarType.STRING */
791
+ }
792
+ ]));
793
+ let P2pNode = _P2pNode;
794
+ const _P2pListReq = class _P2pListReq extends Message {
795
+ constructor(data) {
796
+ super();
797
+ proto3.util.initPartial(data, this);
798
+ }
799
+ static fromBinary(bytes, options) {
800
+ return new _P2pListReq().fromBinary(bytes, options);
801
+ }
802
+ static fromJson(jsonValue, options) {
803
+ return new _P2pListReq().fromJson(jsonValue, options);
804
+ }
805
+ static fromJsonString(jsonString, options) {
806
+ return new _P2pListReq().fromJsonString(jsonString, options);
807
+ }
808
+ static equals(a, b) {
809
+ return proto3.util.equals(_P2pListReq, a, b);
810
+ }
811
+ };
812
+ __publicField(_P2pListReq, "runtime", proto3);
813
+ __publicField(_P2pListReq, "typeName", "sppb.P2pListReq");
814
+ __publicField(_P2pListReq, "fields", proto3.util.newFieldList(() => []));
815
+ let P2pListReq = _P2pListReq;
816
+ const _P2pListRes = class _P2pListRes extends Message {
817
+ constructor(data) {
818
+ super();
819
+ /**
820
+ * @generated from field: repeated sppb.P2pNode items = 1;
821
+ */
822
+ __publicField(this, "items", []);
823
+ proto3.util.initPartial(data, this);
824
+ }
825
+ static fromBinary(bytes, options) {
826
+ return new _P2pListRes().fromBinary(bytes, options);
827
+ }
828
+ static fromJson(jsonValue, options) {
829
+ return new _P2pListRes().fromJson(jsonValue, options);
830
+ }
831
+ static fromJsonString(jsonString, options) {
832
+ return new _P2pListRes().fromJsonString(jsonString, options);
833
+ }
834
+ static equals(a, b) {
835
+ return proto3.util.equals(_P2pListRes, a, b);
836
+ }
837
+ };
838
+ __publicField(_P2pListRes, "runtime", proto3);
839
+ __publicField(_P2pListRes, "typeName", "sppb.P2pListRes");
840
+ __publicField(_P2pListRes, "fields", proto3.util.newFieldList(() => [
841
+ { no: 1, name: "items", kind: "message", T: P2pNode, repeated: true }
842
+ ]));
843
+ let P2pListRes = _P2pListRes;
844
+ const _P2pInfoReq = class _P2pInfoReq extends Message {
845
+ constructor(data) {
846
+ super();
847
+ proto3.util.initPartial(data, this);
848
+ }
849
+ static fromBinary(bytes, options) {
850
+ return new _P2pInfoReq().fromBinary(bytes, options);
851
+ }
852
+ static fromJson(jsonValue, options) {
853
+ return new _P2pInfoReq().fromJson(jsonValue, options);
854
+ }
855
+ static fromJsonString(jsonString, options) {
856
+ return new _P2pInfoReq().fromJsonString(jsonString, options);
857
+ }
858
+ static equals(a, b) {
859
+ return proto3.util.equals(_P2pInfoReq, a, b);
860
+ }
861
+ };
862
+ __publicField(_P2pInfoReq, "runtime", proto3);
863
+ __publicField(_P2pInfoReq, "typeName", "sppb.P2pInfoReq");
864
+ __publicField(_P2pInfoReq, "fields", proto3.util.newFieldList(() => []));
865
+ let P2pInfoReq = _P2pInfoReq;
866
+ const _P2pInfoRes = class _P2pInfoRes extends Message {
867
+ constructor(data) {
868
+ super();
869
+ /**
870
+ * @generated from field: string host_name = 1;
871
+ */
872
+ __publicField(this, "hostName", "");
873
+ proto3.util.initPartial(data, this);
874
+ }
875
+ static fromBinary(bytes, options) {
876
+ return new _P2pInfoRes().fromBinary(bytes, options);
877
+ }
878
+ static fromJson(jsonValue, options) {
879
+ return new _P2pInfoRes().fromJson(jsonValue, options);
880
+ }
881
+ static fromJsonString(jsonString, options) {
882
+ return new _P2pInfoRes().fromJsonString(jsonString, options);
883
+ }
884
+ static equals(a, b) {
885
+ return proto3.util.equals(_P2pInfoRes, a, b);
886
+ }
887
+ };
888
+ __publicField(_P2pInfoRes, "runtime", proto3);
889
+ __publicField(_P2pInfoRes, "typeName", "sppb.P2pInfoRes");
890
+ __publicField(_P2pInfoRes, "fields", proto3.util.newFieldList(() => [
891
+ {
892
+ no: 1,
893
+ name: "host_name",
894
+ kind: "scalar",
895
+ T: 9
896
+ /* ScalarType.STRING */
897
+ }
898
+ ]));
899
+ let P2pInfoRes = _P2pInfoRes;
900
+ const _ConsumMessageReq = class _ConsumMessageReq extends Message {
901
+ constructor(data) {
902
+ super();
903
+ /**
904
+ * @generated from field: repeated sppb.MtMessage messages = 1;
905
+ */
906
+ __publicField(this, "messages", []);
907
+ proto3.util.initPartial(data, this);
908
+ }
909
+ static fromBinary(bytes, options) {
910
+ return new _ConsumMessageReq().fromBinary(bytes, options);
911
+ }
912
+ static fromJson(jsonValue, options) {
913
+ return new _ConsumMessageReq().fromJson(jsonValue, options);
914
+ }
915
+ static fromJsonString(jsonString, options) {
916
+ return new _ConsumMessageReq().fromJsonString(jsonString, options);
917
+ }
918
+ static equals(a, b) {
919
+ return proto3.util.equals(_ConsumMessageReq, a, b);
920
+ }
921
+ };
922
+ __publicField(_ConsumMessageReq, "runtime", proto3);
923
+ __publicField(_ConsumMessageReq, "typeName", "sppb.ConsumMessageReq");
924
+ __publicField(_ConsumMessageReq, "fields", proto3.util.newFieldList(() => [
925
+ { no: 1, name: "messages", kind: "message", T: MtMessage, repeated: true }
926
+ ]));
927
+ let ConsumMessageReq = _ConsumMessageReq;
928
+ const _ConsumMessageRes = class _ConsumMessageRes extends Message {
929
+ constructor(data) {
930
+ super();
931
+ /**
932
+ * @generated from field: string err = 1;
933
+ */
934
+ __publicField(this, "err", "");
935
+ /**
936
+ * TODO:处理结果
937
+ *
938
+ * @generated from field: google.protobuf.Any data = 2;
939
+ */
940
+ __publicField(this, "data");
941
+ proto3.util.initPartial(data, this);
942
+ }
943
+ static fromBinary(bytes, options) {
944
+ return new _ConsumMessageRes().fromBinary(bytes, options);
945
+ }
946
+ static fromJson(jsonValue, options) {
947
+ return new _ConsumMessageRes().fromJson(jsonValue, options);
948
+ }
949
+ static fromJsonString(jsonString, options) {
950
+ return new _ConsumMessageRes().fromJsonString(jsonString, options);
951
+ }
952
+ static equals(a, b) {
953
+ return proto3.util.equals(_ConsumMessageRes, a, b);
954
+ }
955
+ };
956
+ __publicField(_ConsumMessageRes, "runtime", proto3);
957
+ __publicField(_ConsumMessageRes, "typeName", "sppb.ConsumMessageRes");
958
+ __publicField(_ConsumMessageRes, "fields", proto3.util.newFieldList(() => [
959
+ {
960
+ no: 1,
961
+ name: "err",
962
+ kind: "scalar",
963
+ T: 9
964
+ /* ScalarType.STRING */
965
+ },
966
+ { no: 2, name: "data", kind: "message", T: Any }
967
+ ]));
968
+ let ConsumMessageRes = _ConsumMessageRes;
969
+ const _HelloBotMessage = class _HelloBotMessage extends Message {
970
+ constructor(data) {
971
+ super();
972
+ /**
973
+ * @generated from field: string name = 1;
974
+ */
975
+ __publicField(this, "name", "");
976
+ proto3.util.initPartial(data, this);
977
+ }
978
+ static fromBinary(bytes, options) {
979
+ return new _HelloBotMessage().fromBinary(bytes, options);
980
+ }
981
+ static fromJson(jsonValue, options) {
982
+ return new _HelloBotMessage().fromJson(jsonValue, options);
983
+ }
984
+ static fromJsonString(jsonString, options) {
985
+ return new _HelloBotMessage().fromJsonString(jsonString, options);
986
+ }
987
+ static equals(a, b) {
988
+ return proto3.util.equals(_HelloBotMessage, a, b);
989
+ }
990
+ };
991
+ __publicField(_HelloBotMessage, "runtime", proto3);
992
+ __publicField(_HelloBotMessage, "typeName", "sppb.HelloBotMessage");
993
+ __publicField(_HelloBotMessage, "fields", proto3.util.newFieldList(() => [
994
+ {
995
+ no: 1,
996
+ name: "name",
997
+ kind: "scalar",
998
+ T: 9
999
+ /* ScalarType.STRING */
1000
+ }
1001
+ ]));
1002
+ let HelloBotMessage = _HelloBotMessage;
1003
+ const _CxPageReq = class _CxPageReq extends Message {
1004
+ constructor(data) {
1005
+ super();
1006
+ /**
1007
+ * @generated from field: string url = 1;
1008
+ */
1009
+ __publicField(this, "url", "");
1010
+ proto3.util.initPartial(data, this);
1011
+ }
1012
+ static fromBinary(bytes, options) {
1013
+ return new _CxPageReq().fromBinary(bytes, options);
1014
+ }
1015
+ static fromJson(jsonValue, options) {
1016
+ return new _CxPageReq().fromJson(jsonValue, options);
1017
+ }
1018
+ static fromJsonString(jsonString, options) {
1019
+ return new _CxPageReq().fromJsonString(jsonString, options);
1020
+ }
1021
+ static equals(a, b) {
1022
+ return proto3.util.equals(_CxPageReq, a, b);
1023
+ }
1024
+ };
1025
+ __publicField(_CxPageReq, "runtime", proto3);
1026
+ __publicField(_CxPageReq, "typeName", "sppb.CxPageReq");
1027
+ __publicField(_CxPageReq, "fields", proto3.util.newFieldList(() => [
1028
+ {
1029
+ no: 1,
1030
+ name: "url",
1031
+ kind: "scalar",
1032
+ T: 9
1033
+ /* ScalarType.STRING */
1034
+ }
1035
+ ]));
1036
+ let CxPageReq = _CxPageReq;
1037
+ const _MtBotConsumerHandlerInfo = class _MtBotConsumerHandlerInfo extends Message {
1038
+ constructor(data) {
1039
+ super();
1040
+ /**
1041
+ * @generated from field: sppb.MtBotConsumerType type = 1;
1042
+ */
1043
+ __publicField(this, "type", 0 /* COMMON */);
1044
+ /**
1045
+ * @generated from field: string name = 2;
1046
+ */
1047
+ __publicField(this, "name", "");
1048
+ proto3.util.initPartial(data, this);
1049
+ }
1050
+ static fromBinary(bytes, options) {
1051
+ return new _MtBotConsumerHandlerInfo().fromBinary(bytes, options);
1052
+ }
1053
+ static fromJson(jsonValue, options) {
1054
+ return new _MtBotConsumerHandlerInfo().fromJson(jsonValue, options);
1055
+ }
1056
+ static fromJsonString(jsonString, options) {
1057
+ return new _MtBotConsumerHandlerInfo().fromJsonString(jsonString, options);
1058
+ }
1059
+ static equals(a, b) {
1060
+ return proto3.util.equals(_MtBotConsumerHandlerInfo, a, b);
1061
+ }
1062
+ };
1063
+ __publicField(_MtBotConsumerHandlerInfo, "runtime", proto3);
1064
+ __publicField(_MtBotConsumerHandlerInfo, "typeName", "sppb.MtBotConsumerHandlerInfo");
1065
+ __publicField(_MtBotConsumerHandlerInfo, "fields", proto3.util.newFieldList(() => [
1066
+ { no: 1, name: "type", kind: "enum", T: proto3.getEnumType(MtBotConsumerType) },
1067
+ {
1068
+ no: 2,
1069
+ name: "name",
1070
+ kind: "scalar",
1071
+ T: 9
1072
+ /* ScalarType.STRING */
1073
+ }
1074
+ ]));
1075
+ let MtBotConsumerHandlerInfo = _MtBotConsumerHandlerInfo;
1076
+ const _ConsumHandlerListReq = class _ConsumHandlerListReq extends Message {
1077
+ constructor(data) {
1078
+ super();
1079
+ proto3.util.initPartial(data, this);
1080
+ }
1081
+ static fromBinary(bytes, options) {
1082
+ return new _ConsumHandlerListReq().fromBinary(bytes, options);
1083
+ }
1084
+ static fromJson(jsonValue, options) {
1085
+ return new _ConsumHandlerListReq().fromJson(jsonValue, options);
1086
+ }
1087
+ static fromJsonString(jsonString, options) {
1088
+ return new _ConsumHandlerListReq().fromJsonString(jsonString, options);
1089
+ }
1090
+ static equals(a, b) {
1091
+ return proto3.util.equals(_ConsumHandlerListReq, a, b);
1092
+ }
1093
+ };
1094
+ __publicField(_ConsumHandlerListReq, "runtime", proto3);
1095
+ __publicField(_ConsumHandlerListReq, "typeName", "sppb.ConsumHandlerListReq");
1096
+ __publicField(_ConsumHandlerListReq, "fields", proto3.util.newFieldList(() => []));
1097
+ let ConsumHandlerListReq = _ConsumHandlerListReq;
1098
+ const _ConsumHandlerListRes = class _ConsumHandlerListRes extends Message {
1099
+ constructor(data) {
1100
+ super();
1101
+ /**
1102
+ * @generated from field: repeated sppb.MtBotConsumerHandlerInfo items = 1;
1103
+ */
1104
+ __publicField(this, "items", []);
1105
+ proto3.util.initPartial(data, this);
1106
+ }
1107
+ static fromBinary(bytes, options) {
1108
+ return new _ConsumHandlerListRes().fromBinary(bytes, options);
1109
+ }
1110
+ static fromJson(jsonValue, options) {
1111
+ return new _ConsumHandlerListRes().fromJson(jsonValue, options);
1112
+ }
1113
+ static fromJsonString(jsonString, options) {
1114
+ return new _ConsumHandlerListRes().fromJsonString(jsonString, options);
1115
+ }
1116
+ static equals(a, b) {
1117
+ return proto3.util.equals(_ConsumHandlerListRes, a, b);
1118
+ }
1119
+ };
1120
+ __publicField(_ConsumHandlerListRes, "runtime", proto3);
1121
+ __publicField(_ConsumHandlerListRes, "typeName", "sppb.ConsumHandlerListRes");
1122
+ __publicField(_ConsumHandlerListRes, "fields", proto3.util.newFieldList(() => [
1123
+ { no: 1, name: "items", kind: "message", T: MtBotConsumerHandlerInfo, repeated: true }
1124
+ ]));
1125
+ let ConsumHandlerListRes = _ConsumHandlerListRes;
1126
+ const _CmdStartNoVnc = class _CmdStartNoVnc extends Message {
1127
+ constructor(data) {
1128
+ super();
1129
+ /**
1130
+ * @generated from field: int32 port = 1;
1131
+ */
1132
+ __publicField(this, "port", 0);
1133
+ proto3.util.initPartial(data, this);
1134
+ }
1135
+ static fromBinary(bytes, options) {
1136
+ return new _CmdStartNoVnc().fromBinary(bytes, options);
1137
+ }
1138
+ static fromJson(jsonValue, options) {
1139
+ return new _CmdStartNoVnc().fromJson(jsonValue, options);
1140
+ }
1141
+ static fromJsonString(jsonString, options) {
1142
+ return new _CmdStartNoVnc().fromJsonString(jsonString, options);
1143
+ }
1144
+ static equals(a, b) {
1145
+ return proto3.util.equals(_CmdStartNoVnc, a, b);
1146
+ }
1147
+ };
1148
+ __publicField(_CmdStartNoVnc, "runtime", proto3);
1149
+ __publicField(_CmdStartNoVnc, "typeName", "sppb.CmdStartNoVnc");
1150
+ __publicField(_CmdStartNoVnc, "fields", proto3.util.newFieldList(() => [
1151
+ {
1152
+ no: 1,
1153
+ name: "port",
1154
+ kind: "scalar",
1155
+ T: 5
1156
+ /* ScalarType.INT32 */
1157
+ }
1158
+ ]));
1159
+ let CmdStartNoVnc = _CmdStartNoVnc;
1160
+ const _CmdStartBrowser = class _CmdStartBrowser extends Message {
1161
+ constructor(data) {
1162
+ super();
1163
+ /**
1164
+ * @generated from field: string url = 1;
1165
+ */
1166
+ __publicField(this, "url", "");
1167
+ proto3.util.initPartial(data, this);
1168
+ }
1169
+ static fromBinary(bytes, options) {
1170
+ return new _CmdStartBrowser().fromBinary(bytes, options);
1171
+ }
1172
+ static fromJson(jsonValue, options) {
1173
+ return new _CmdStartBrowser().fromJson(jsonValue, options);
1174
+ }
1175
+ static fromJsonString(jsonString, options) {
1176
+ return new _CmdStartBrowser().fromJsonString(jsonString, options);
1177
+ }
1178
+ static equals(a, b) {
1179
+ return proto3.util.equals(_CmdStartBrowser, a, b);
1180
+ }
1181
+ };
1182
+ __publicField(_CmdStartBrowser, "runtime", proto3);
1183
+ __publicField(_CmdStartBrowser, "typeName", "sppb.CmdStartBrowser");
1184
+ __publicField(_CmdStartBrowser, "fields", proto3.util.newFieldList(() => [
1185
+ {
1186
+ no: 1,
1187
+ name: "url",
1188
+ kind: "scalar",
1189
+ T: 9
1190
+ /* ScalarType.STRING */
1191
+ }
1192
+ ]));
1193
+ let CmdStartBrowser = _CmdStartBrowser;
1194
+ const _CmdStartSimpleCrawler = class _CmdStartSimpleCrawler extends Message {
1195
+ constructor(data) {
1196
+ super();
1197
+ /**
1198
+ * @generated from field: string url = 1;
1199
+ */
1200
+ __publicField(this, "url", "");
1201
+ proto3.util.initPartial(data, this);
1202
+ }
1203
+ static fromBinary(bytes, options) {
1204
+ return new _CmdStartSimpleCrawler().fromBinary(bytes, options);
1205
+ }
1206
+ static fromJson(jsonValue, options) {
1207
+ return new _CmdStartSimpleCrawler().fromJson(jsonValue, options);
1208
+ }
1209
+ static fromJsonString(jsonString, options) {
1210
+ return new _CmdStartSimpleCrawler().fromJsonString(jsonString, options);
1211
+ }
1212
+ static equals(a, b) {
1213
+ return proto3.util.equals(_CmdStartSimpleCrawler, a, b);
1214
+ }
1215
+ };
1216
+ __publicField(_CmdStartSimpleCrawler, "runtime", proto3);
1217
+ __publicField(_CmdStartSimpleCrawler, "typeName", "sppb.CmdStartSimpleCrawler");
1218
+ __publicField(_CmdStartSimpleCrawler, "fields", proto3.util.newFieldList(() => [
1219
+ {
1220
+ no: 1,
1221
+ name: "url",
1222
+ kind: "scalar",
1223
+ T: 9
1224
+ /* ScalarType.STRING */
1225
+ }
1226
+ ]));
1227
+ let CmdStartSimpleCrawler = _CmdStartSimpleCrawler;
1228
+ export {
1229
+ BotGetReq,
1230
+ BotListReq,
1231
+ BotListRes,
1232
+ BotNode,
1233
+ BotPingPongReply,
1234
+ BotPingPongReq,
1235
+ BotPingPongStreamReply,
1236
+ BotPingPongStreamReq,
1237
+ BotPubReply,
1238
+ BotPubReq,
1239
+ BotSiteTaskStartReply,
1240
+ BotSiteTaskStartReq,
1241
+ BotSubscriberReply,
1242
+ BotSubscriberReq,
1243
+ CmdStartBrowser,
1244
+ CmdStartNoVnc,
1245
+ CmdStartSimpleCrawler,
1246
+ ConsumHandlerListReq,
1247
+ ConsumHandlerListRes,
1248
+ ConsumMessageReq,
1249
+ ConsumMessageRes,
1250
+ CxPageReq,
1251
+ HelloBotMessage,
1252
+ JqGetReply,
1253
+ JqGetReq,
1254
+ JqPullReply,
1255
+ JqPullReq,
1256
+ JqPushReply,
1257
+ JqPushReq,
1258
+ MtBotConsumerHandlerInfo,
1259
+ MtBotConsumerType,
1260
+ MtMessage,
1261
+ P2pInfoReq,
1262
+ P2pInfoRes,
1263
+ P2pListReq,
1264
+ P2pListRes,
1265
+ P2pNode,
1266
+ Task
1267
+ };