@wundergraph/cosmo-connect 0.2.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.
@@ -0,0 +1,3367 @@
1
+ // https://protobuf.dev/programming-guides/style/
2
+ import { Message, proto3, protoInt64 } from "@bufbuild/protobuf";
3
+ import { EnumStatusCode } from "../../common_pb.js";
4
+ /**
5
+ * @generated from enum wg.cosmo.platform.v1.AnalyticsViewGroupName
6
+ */
7
+ export var AnalyticsViewGroupName;
8
+ (function (AnalyticsViewGroupName) {
9
+ /**
10
+ * @generated from enum value: None = 0;
11
+ */
12
+ AnalyticsViewGroupName[AnalyticsViewGroupName["None"] = 0] = "None";
13
+ /**
14
+ * @generated from enum value: OperationName = 1;
15
+ */
16
+ AnalyticsViewGroupName[AnalyticsViewGroupName["OperationName"] = 1] = "OperationName";
17
+ /**
18
+ * @generated from enum value: Client = 2;
19
+ */
20
+ AnalyticsViewGroupName[AnalyticsViewGroupName["Client"] = 2] = "Client";
21
+ /**
22
+ * @generated from enum value: HttpStatusCode = 3;
23
+ */
24
+ AnalyticsViewGroupName[AnalyticsViewGroupName["HttpStatusCode"] = 3] = "HttpStatusCode";
25
+ })(AnalyticsViewGroupName || (AnalyticsViewGroupName = {}));
26
+ // Retrieve enum metadata with: proto3.getEnumType(AnalyticsViewGroupName)
27
+ proto3.util.setEnumType(AnalyticsViewGroupName, "wg.cosmo.platform.v1.AnalyticsViewGroupName", [
28
+ { no: 0, name: "None" },
29
+ { no: 1, name: "OperationName" },
30
+ { no: 2, name: "Client" },
31
+ { no: 3, name: "HttpStatusCode" },
32
+ ]);
33
+ /**
34
+ * @generated from enum wg.cosmo.platform.v1.Unit
35
+ */
36
+ export var Unit;
37
+ (function (Unit) {
38
+ /**
39
+ * @generated from enum value: Unspecified = 0;
40
+ */
41
+ Unit[Unit["Unspecified"] = 0] = "Unspecified";
42
+ /**
43
+ * @generated from enum value: Nanoseconds = 1;
44
+ */
45
+ Unit[Unit["Nanoseconds"] = 1] = "Nanoseconds";
46
+ /**
47
+ * @generated from enum value: UnixTimestamp = 2;
48
+ */
49
+ Unit[Unit["UnixTimestamp"] = 2] = "UnixTimestamp";
50
+ /**
51
+ * @generated from enum value: Bytes = 3;
52
+ */
53
+ Unit[Unit["Bytes"] = 3] = "Bytes";
54
+ /**
55
+ * @generated from enum value: CodeBlock = 4;
56
+ */
57
+ Unit[Unit["CodeBlock"] = 4] = "CodeBlock";
58
+ /**
59
+ * @generated from enum value: StatusCode = 5;
60
+ */
61
+ Unit[Unit["StatusCode"] = 5] = "StatusCode";
62
+ /**
63
+ * @generated from enum value: TraceID = 6;
64
+ */
65
+ Unit[Unit["TraceID"] = 6] = "TraceID";
66
+ })(Unit || (Unit = {}));
67
+ // Retrieve enum metadata with: proto3.getEnumType(Unit)
68
+ proto3.util.setEnumType(Unit, "wg.cosmo.platform.v1.Unit", [
69
+ { no: 0, name: "Unspecified" },
70
+ { no: 1, name: "Nanoseconds" },
71
+ { no: 2, name: "UnixTimestamp" },
72
+ { no: 3, name: "Bytes" },
73
+ { no: 4, name: "CodeBlock" },
74
+ { no: 5, name: "StatusCode" },
75
+ { no: 6, name: "TraceID" },
76
+ ]);
77
+ /**
78
+ * @generated from enum wg.cosmo.platform.v1.AnalyticsViewFilterOperator
79
+ */
80
+ export var AnalyticsViewFilterOperator;
81
+ (function (AnalyticsViewFilterOperator) {
82
+ /**
83
+ * @generated from enum value: EQUALS = 0;
84
+ */
85
+ AnalyticsViewFilterOperator[AnalyticsViewFilterOperator["EQUALS"] = 0] = "EQUALS";
86
+ /**
87
+ * @generated from enum value: NOT_EQUALS = 1;
88
+ */
89
+ AnalyticsViewFilterOperator[AnalyticsViewFilterOperator["NOT_EQUALS"] = 1] = "NOT_EQUALS";
90
+ /**
91
+ * @generated from enum value: GREATER_THAN = 2;
92
+ */
93
+ AnalyticsViewFilterOperator[AnalyticsViewFilterOperator["GREATER_THAN"] = 2] = "GREATER_THAN";
94
+ /**
95
+ * @generated from enum value: LESS_THAN = 3;
96
+ */
97
+ AnalyticsViewFilterOperator[AnalyticsViewFilterOperator["LESS_THAN"] = 3] = "LESS_THAN";
98
+ /**
99
+ * @generated from enum value: GREATER_THAN_OR_EQUAL = 4;
100
+ */
101
+ AnalyticsViewFilterOperator[AnalyticsViewFilterOperator["GREATER_THAN_OR_EQUAL"] = 4] = "GREATER_THAN_OR_EQUAL";
102
+ /**
103
+ * @generated from enum value: LESS_THAN_OR_EQUAL = 5;
104
+ */
105
+ AnalyticsViewFilterOperator[AnalyticsViewFilterOperator["LESS_THAN_OR_EQUAL"] = 5] = "LESS_THAN_OR_EQUAL";
106
+ /**
107
+ * @generated from enum value: CONTAINS = 6;
108
+ */
109
+ AnalyticsViewFilterOperator[AnalyticsViewFilterOperator["CONTAINS"] = 6] = "CONTAINS";
110
+ /**
111
+ * @generated from enum value: NOT_CONTAINS = 7;
112
+ */
113
+ AnalyticsViewFilterOperator[AnalyticsViewFilterOperator["NOT_CONTAINS"] = 7] = "NOT_CONTAINS";
114
+ /**
115
+ * @generated from enum value: IN = 8;
116
+ */
117
+ AnalyticsViewFilterOperator[AnalyticsViewFilterOperator["IN"] = 8] = "IN";
118
+ /**
119
+ * @generated from enum value: NOT_IN = 9;
120
+ */
121
+ AnalyticsViewFilterOperator[AnalyticsViewFilterOperator["NOT_IN"] = 9] = "NOT_IN";
122
+ /**
123
+ * @generated from enum value: BETWEEN = 10;
124
+ */
125
+ AnalyticsViewFilterOperator[AnalyticsViewFilterOperator["BETWEEN"] = 10] = "BETWEEN";
126
+ /**
127
+ * @generated from enum value: NOT_BETWEEN = 11;
128
+ */
129
+ AnalyticsViewFilterOperator[AnalyticsViewFilterOperator["NOT_BETWEEN"] = 11] = "NOT_BETWEEN";
130
+ /**
131
+ * @generated from enum value: IS_NULL = 12;
132
+ */
133
+ AnalyticsViewFilterOperator[AnalyticsViewFilterOperator["IS_NULL"] = 12] = "IS_NULL";
134
+ /**
135
+ * @generated from enum value: IS_NOT_NULL = 13;
136
+ */
137
+ AnalyticsViewFilterOperator[AnalyticsViewFilterOperator["IS_NOT_NULL"] = 13] = "IS_NOT_NULL";
138
+ })(AnalyticsViewFilterOperator || (AnalyticsViewFilterOperator = {}));
139
+ // Retrieve enum metadata with: proto3.getEnumType(AnalyticsViewFilterOperator)
140
+ proto3.util.setEnumType(AnalyticsViewFilterOperator, "wg.cosmo.platform.v1.AnalyticsViewFilterOperator", [
141
+ { no: 0, name: "EQUALS" },
142
+ { no: 1, name: "NOT_EQUALS" },
143
+ { no: 2, name: "GREATER_THAN" },
144
+ { no: 3, name: "LESS_THAN" },
145
+ { no: 4, name: "GREATER_THAN_OR_EQUAL" },
146
+ { no: 5, name: "LESS_THAN_OR_EQUAL" },
147
+ { no: 6, name: "CONTAINS" },
148
+ { no: 7, name: "NOT_CONTAINS" },
149
+ { no: 8, name: "IN" },
150
+ { no: 9, name: "NOT_IN" },
151
+ { no: 10, name: "BETWEEN" },
152
+ { no: 11, name: "NOT_BETWEEN" },
153
+ { no: 12, name: "IS_NULL" },
154
+ { no: 13, name: "IS_NOT_NULL" },
155
+ ]);
156
+ /**
157
+ * @generated from enum wg.cosmo.platform.v1.ExpiresAt
158
+ */
159
+ export var ExpiresAt;
160
+ (function (ExpiresAt) {
161
+ /**
162
+ * @generated from enum value: NEVER = 0;
163
+ */
164
+ ExpiresAt[ExpiresAt["NEVER"] = 0] = "NEVER";
165
+ /**
166
+ * @generated from enum value: THIRTY_DAYS = 1;
167
+ */
168
+ ExpiresAt[ExpiresAt["THIRTY_DAYS"] = 1] = "THIRTY_DAYS";
169
+ /**
170
+ * @generated from enum value: SIX_MONTHS = 2;
171
+ */
172
+ ExpiresAt[ExpiresAt["SIX_MONTHS"] = 2] = "SIX_MONTHS";
173
+ /**
174
+ * @generated from enum value: ONE_YEAR = 3;
175
+ */
176
+ ExpiresAt[ExpiresAt["ONE_YEAR"] = 3] = "ONE_YEAR";
177
+ })(ExpiresAt || (ExpiresAt = {}));
178
+ // Retrieve enum metadata with: proto3.getEnumType(ExpiresAt)
179
+ proto3.util.setEnumType(ExpiresAt, "wg.cosmo.platform.v1.ExpiresAt", [
180
+ { no: 0, name: "NEVER" },
181
+ { no: 1, name: "THIRTY_DAYS" },
182
+ { no: 2, name: "SIX_MONTHS" },
183
+ { no: 3, name: "ONE_YEAR" },
184
+ ]);
185
+ /**
186
+ * @generated from message wg.cosmo.platform.v1.Label
187
+ */
188
+ export class Label extends Message {
189
+ /**
190
+ * @generated from field: string key = 1;
191
+ */
192
+ key = "";
193
+ /**
194
+ * @generated from field: string value = 2;
195
+ */
196
+ value = "";
197
+ constructor(data) {
198
+ super();
199
+ proto3.util.initPartial(data, this);
200
+ }
201
+ static runtime = proto3;
202
+ static typeName = "wg.cosmo.platform.v1.Label";
203
+ static fields = proto3.util.newFieldList(() => [
204
+ { no: 1, name: "key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
205
+ { no: 2, name: "value", kind: "scalar", T: 9 /* ScalarType.STRING */ },
206
+ ]);
207
+ static fromBinary(bytes, options) {
208
+ return new Label().fromBinary(bytes, options);
209
+ }
210
+ static fromJson(jsonValue, options) {
211
+ return new Label().fromJson(jsonValue, options);
212
+ }
213
+ static fromJsonString(jsonString, options) {
214
+ return new Label().fromJsonString(jsonString, options);
215
+ }
216
+ static equals(a, b) {
217
+ return proto3.util.equals(Label, a, b);
218
+ }
219
+ }
220
+ /**
221
+ * @generated from message wg.cosmo.platform.v1.Response
222
+ */
223
+ export class Response extends Message {
224
+ /**
225
+ * @generated from field: wg.cosmo.common.EnumStatusCode code = 1;
226
+ */
227
+ code = EnumStatusCode.OK;
228
+ /**
229
+ * details is an optional field which can be used to provide more details about the error.
230
+ *
231
+ * @generated from field: optional string details = 2;
232
+ */
233
+ details;
234
+ constructor(data) {
235
+ super();
236
+ proto3.util.initPartial(data, this);
237
+ }
238
+ static runtime = proto3;
239
+ static typeName = "wg.cosmo.platform.v1.Response";
240
+ static fields = proto3.util.newFieldList(() => [
241
+ { no: 1, name: "code", kind: "enum", T: proto3.getEnumType(EnumStatusCode) },
242
+ { no: 2, name: "details", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
243
+ ]);
244
+ static fromBinary(bytes, options) {
245
+ return new Response().fromBinary(bytes, options);
246
+ }
247
+ static fromJson(jsonValue, options) {
248
+ return new Response().fromJson(jsonValue, options);
249
+ }
250
+ static fromJsonString(jsonString, options) {
251
+ return new Response().fromJsonString(jsonString, options);
252
+ }
253
+ static equals(a, b) {
254
+ return proto3.util.equals(Response, a, b);
255
+ }
256
+ }
257
+ /**
258
+ * @generated from message wg.cosmo.platform.v1.ResponseStatus
259
+ */
260
+ export class ResponseStatus extends Message {
261
+ /**
262
+ * @generated from field: int32 code = 1;
263
+ */
264
+ code = 0;
265
+ /**
266
+ * @generated from field: string message = 2;
267
+ */
268
+ message = "";
269
+ constructor(data) {
270
+ super();
271
+ proto3.util.initPartial(data, this);
272
+ }
273
+ static runtime = proto3;
274
+ static typeName = "wg.cosmo.platform.v1.ResponseStatus";
275
+ static fields = proto3.util.newFieldList(() => [
276
+ { no: 1, name: "code", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
277
+ { no: 2, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
278
+ ]);
279
+ static fromBinary(bytes, options) {
280
+ return new ResponseStatus().fromBinary(bytes, options);
281
+ }
282
+ static fromJson(jsonValue, options) {
283
+ return new ResponseStatus().fromJson(jsonValue, options);
284
+ }
285
+ static fromJsonString(jsonString, options) {
286
+ return new ResponseStatus().fromJsonString(jsonString, options);
287
+ }
288
+ static equals(a, b) {
289
+ return proto3.util.equals(ResponseStatus, a, b);
290
+ }
291
+ }
292
+ /**
293
+ * @generated from message wg.cosmo.platform.v1.PublishFederatedSubgraphRequest
294
+ */
295
+ export class PublishFederatedSubgraphRequest extends Message {
296
+ /**
297
+ * The FQDN of the subgraph to be published e.g. "wg.team1.orders"
298
+ *
299
+ * @generated from field: string name = 1;
300
+ */
301
+ name = "";
302
+ /**
303
+ * The binary representation of the schema, the content of the file
304
+ *
305
+ * @generated from field: bytes schema = 2;
306
+ */
307
+ schema = new Uint8Array(0);
308
+ constructor(data) {
309
+ super();
310
+ proto3.util.initPartial(data, this);
311
+ }
312
+ static runtime = proto3;
313
+ static typeName = "wg.cosmo.platform.v1.PublishFederatedSubgraphRequest";
314
+ static fields = proto3.util.newFieldList(() => [
315
+ { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
316
+ { no: 2, name: "schema", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
317
+ ]);
318
+ static fromBinary(bytes, options) {
319
+ return new PublishFederatedSubgraphRequest().fromBinary(bytes, options);
320
+ }
321
+ static fromJson(jsonValue, options) {
322
+ return new PublishFederatedSubgraphRequest().fromJson(jsonValue, options);
323
+ }
324
+ static fromJsonString(jsonString, options) {
325
+ return new PublishFederatedSubgraphRequest().fromJsonString(jsonString, options);
326
+ }
327
+ static equals(a, b) {
328
+ return proto3.util.equals(PublishFederatedSubgraphRequest, a, b);
329
+ }
330
+ }
331
+ /**
332
+ * @generated from message wg.cosmo.platform.v1.PublishFederatedSubgraphResponse
333
+ */
334
+ export class PublishFederatedSubgraphResponse extends Message {
335
+ /**
336
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
337
+ */
338
+ response;
339
+ /**
340
+ * @generated from field: repeated wg.cosmo.platform.v1.CompositionError compositionErrors = 2;
341
+ */
342
+ compositionErrors = [];
343
+ constructor(data) {
344
+ super();
345
+ proto3.util.initPartial(data, this);
346
+ }
347
+ static runtime = proto3;
348
+ static typeName = "wg.cosmo.platform.v1.PublishFederatedSubgraphResponse";
349
+ static fields = proto3.util.newFieldList(() => [
350
+ { no: 1, name: "response", kind: "message", T: Response },
351
+ { no: 2, name: "compositionErrors", kind: "message", T: CompositionError, repeated: true },
352
+ ]);
353
+ static fromBinary(bytes, options) {
354
+ return new PublishFederatedSubgraphResponse().fromBinary(bytes, options);
355
+ }
356
+ static fromJson(jsonValue, options) {
357
+ return new PublishFederatedSubgraphResponse().fromJson(jsonValue, options);
358
+ }
359
+ static fromJsonString(jsonString, options) {
360
+ return new PublishFederatedSubgraphResponse().fromJsonString(jsonString, options);
361
+ }
362
+ static equals(a, b) {
363
+ return proto3.util.equals(PublishFederatedSubgraphResponse, a, b);
364
+ }
365
+ }
366
+ /**
367
+ * @generated from message wg.cosmo.platform.v1.CheckSubgraphSchemaRequest
368
+ */
369
+ export class CheckSubgraphSchemaRequest extends Message {
370
+ /**
371
+ * The FQDN of the subgraph to be checked e.g. "wg.team1.orders"
372
+ *
373
+ * @generated from field: string subgraph_name = 1;
374
+ */
375
+ subgraphName = "";
376
+ /**
377
+ * The binary representation of the schema, the content of the file
378
+ *
379
+ * @generated from field: bytes schema = 2;
380
+ */
381
+ schema = new Uint8Array(0);
382
+ constructor(data) {
383
+ super();
384
+ proto3.util.initPartial(data, this);
385
+ }
386
+ static runtime = proto3;
387
+ static typeName = "wg.cosmo.platform.v1.CheckSubgraphSchemaRequest";
388
+ static fields = proto3.util.newFieldList(() => [
389
+ { no: 1, name: "subgraph_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
390
+ { no: 2, name: "schema", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
391
+ ]);
392
+ static fromBinary(bytes, options) {
393
+ return new CheckSubgraphSchemaRequest().fromBinary(bytes, options);
394
+ }
395
+ static fromJson(jsonValue, options) {
396
+ return new CheckSubgraphSchemaRequest().fromJson(jsonValue, options);
397
+ }
398
+ static fromJsonString(jsonString, options) {
399
+ return new CheckSubgraphSchemaRequest().fromJsonString(jsonString, options);
400
+ }
401
+ static equals(a, b) {
402
+ return proto3.util.equals(CheckSubgraphSchemaRequest, a, b);
403
+ }
404
+ }
405
+ /**
406
+ * @generated from message wg.cosmo.platform.v1.FixSubgraphSchemaRequest
407
+ */
408
+ export class FixSubgraphSchemaRequest extends Message {
409
+ /**
410
+ * The FQDN of the subgraph to be checked e.g. "wg.team1.orders"
411
+ *
412
+ * @generated from field: string subgraph_name = 1;
413
+ */
414
+ subgraphName = "";
415
+ /**
416
+ * The binary representation of the schema, the content of the file
417
+ *
418
+ * @generated from field: bytes schema = 2;
419
+ */
420
+ schema = new Uint8Array(0);
421
+ constructor(data) {
422
+ super();
423
+ proto3.util.initPartial(data, this);
424
+ }
425
+ static runtime = proto3;
426
+ static typeName = "wg.cosmo.platform.v1.FixSubgraphSchemaRequest";
427
+ static fields = proto3.util.newFieldList(() => [
428
+ { no: 1, name: "subgraph_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
429
+ { no: 2, name: "schema", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
430
+ ]);
431
+ static fromBinary(bytes, options) {
432
+ return new FixSubgraphSchemaRequest().fromBinary(bytes, options);
433
+ }
434
+ static fromJson(jsonValue, options) {
435
+ return new FixSubgraphSchemaRequest().fromJson(jsonValue, options);
436
+ }
437
+ static fromJsonString(jsonString, options) {
438
+ return new FixSubgraphSchemaRequest().fromJsonString(jsonString, options);
439
+ }
440
+ static equals(a, b) {
441
+ return proto3.util.equals(FixSubgraphSchemaRequest, a, b);
442
+ }
443
+ }
444
+ /**
445
+ * @generated from message wg.cosmo.platform.v1.CreateFederatedGraphRequest
446
+ */
447
+ export class CreateFederatedGraphRequest extends Message {
448
+ /**
449
+ * name is the FQDN of the federated graph e.g. "wg.main"
450
+ *
451
+ * @generated from field: string name = 1;
452
+ */
453
+ name = "";
454
+ /**
455
+ * routing_url is the URL of the service which will be used to route the requests to the subgraph.
456
+ *
457
+ * @generated from field: string routing_url = 2;
458
+ */
459
+ routingUrl = "";
460
+ /**
461
+ * label_matchers match the labels of the services which will form the federated graph. If the proposed schema composition is invalid, it will be rejected.
462
+ *
463
+ * @generated from field: repeated string label_matchers = 3;
464
+ */
465
+ labelMatchers = [];
466
+ constructor(data) {
467
+ super();
468
+ proto3.util.initPartial(data, this);
469
+ }
470
+ static runtime = proto3;
471
+ static typeName = "wg.cosmo.platform.v1.CreateFederatedGraphRequest";
472
+ static fields = proto3.util.newFieldList(() => [
473
+ { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
474
+ { no: 2, name: "routing_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
475
+ { no: 3, name: "label_matchers", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
476
+ ]);
477
+ static fromBinary(bytes, options) {
478
+ return new CreateFederatedGraphRequest().fromBinary(bytes, options);
479
+ }
480
+ static fromJson(jsonValue, options) {
481
+ return new CreateFederatedGraphRequest().fromJson(jsonValue, options);
482
+ }
483
+ static fromJsonString(jsonString, options) {
484
+ return new CreateFederatedGraphRequest().fromJsonString(jsonString, options);
485
+ }
486
+ static equals(a, b) {
487
+ return proto3.util.equals(CreateFederatedGraphRequest, a, b);
488
+ }
489
+ }
490
+ /**
491
+ * @generated from message wg.cosmo.platform.v1.CreateFederatedSubgraphRequest
492
+ */
493
+ export class CreateFederatedSubgraphRequest extends Message {
494
+ /**
495
+ * The FQDN of the subgraph to be published e.g. "wg.team1.orders"
496
+ *
497
+ * @generated from field: string name = 1;
498
+ */
499
+ name = "";
500
+ /**
501
+ * routing_url is the URL of the service which will be used to route the requests to the subgraph.
502
+ *
503
+ * @generated from field: string routing_url = 2;
504
+ */
505
+ routingUrl = "";
506
+ /**
507
+ * labels are the labels of the services which will form the federated graph. If the proposed is not valid, the service will be rejected.
508
+ *
509
+ * @generated from field: repeated wg.cosmo.platform.v1.Label labels = 3;
510
+ */
511
+ labels = [];
512
+ /**
513
+ * headers are the headers which will be used to route the requests to the subgraph.
514
+ *
515
+ * @generated from field: repeated string headers = 4;
516
+ */
517
+ headers = [];
518
+ constructor(data) {
519
+ super();
520
+ proto3.util.initPartial(data, this);
521
+ }
522
+ static runtime = proto3;
523
+ static typeName = "wg.cosmo.platform.v1.CreateFederatedSubgraphRequest";
524
+ static fields = proto3.util.newFieldList(() => [
525
+ { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
526
+ { no: 2, name: "routing_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
527
+ { no: 3, name: "labels", kind: "message", T: Label, repeated: true },
528
+ { no: 4, name: "headers", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
529
+ ]);
530
+ static fromBinary(bytes, options) {
531
+ return new CreateFederatedSubgraphRequest().fromBinary(bytes, options);
532
+ }
533
+ static fromJson(jsonValue, options) {
534
+ return new CreateFederatedSubgraphRequest().fromJson(jsonValue, options);
535
+ }
536
+ static fromJsonString(jsonString, options) {
537
+ return new CreateFederatedSubgraphRequest().fromJsonString(jsonString, options);
538
+ }
539
+ static equals(a, b) {
540
+ return proto3.util.equals(CreateFederatedSubgraphRequest, a, b);
541
+ }
542
+ }
543
+ /**
544
+ * @generated from message wg.cosmo.platform.v1.DeleteFederatedGraphRequest
545
+ */
546
+ export class DeleteFederatedGraphRequest extends Message {
547
+ /**
548
+ * @generated from field: string name = 1;
549
+ */
550
+ name = "";
551
+ constructor(data) {
552
+ super();
553
+ proto3.util.initPartial(data, this);
554
+ }
555
+ static runtime = proto3;
556
+ static typeName = "wg.cosmo.platform.v1.DeleteFederatedGraphRequest";
557
+ static fields = proto3.util.newFieldList(() => [
558
+ { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
559
+ ]);
560
+ static fromBinary(bytes, options) {
561
+ return new DeleteFederatedGraphRequest().fromBinary(bytes, options);
562
+ }
563
+ static fromJson(jsonValue, options) {
564
+ return new DeleteFederatedGraphRequest().fromJson(jsonValue, options);
565
+ }
566
+ static fromJsonString(jsonString, options) {
567
+ return new DeleteFederatedGraphRequest().fromJsonString(jsonString, options);
568
+ }
569
+ static equals(a, b) {
570
+ return proto3.util.equals(DeleteFederatedGraphRequest, a, b);
571
+ }
572
+ }
573
+ /**
574
+ * @generated from message wg.cosmo.platform.v1.DeleteFederatedSubgraphRequest
575
+ */
576
+ export class DeleteFederatedSubgraphRequest extends Message {
577
+ /**
578
+ * The FQDN of the subgraph to be checked e.g. "wg.team1.orders"
579
+ *
580
+ * @generated from field: string subgraph_name = 1;
581
+ */
582
+ subgraphName = "";
583
+ constructor(data) {
584
+ super();
585
+ proto3.util.initPartial(data, this);
586
+ }
587
+ static runtime = proto3;
588
+ static typeName = "wg.cosmo.platform.v1.DeleteFederatedSubgraphRequest";
589
+ static fields = proto3.util.newFieldList(() => [
590
+ { no: 1, name: "subgraph_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
591
+ ]);
592
+ static fromBinary(bytes, options) {
593
+ return new DeleteFederatedSubgraphRequest().fromBinary(bytes, options);
594
+ }
595
+ static fromJson(jsonValue, options) {
596
+ return new DeleteFederatedSubgraphRequest().fromJson(jsonValue, options);
597
+ }
598
+ static fromJsonString(jsonString, options) {
599
+ return new DeleteFederatedSubgraphRequest().fromJsonString(jsonString, options);
600
+ }
601
+ static equals(a, b) {
602
+ return proto3.util.equals(DeleteFederatedSubgraphRequest, a, b);
603
+ }
604
+ }
605
+ /**
606
+ * @generated from message wg.cosmo.platform.v1.SchemaChange
607
+ */
608
+ export class SchemaChange extends Message {
609
+ /**
610
+ * @generated from field: string message = 1;
611
+ */
612
+ message = "";
613
+ /**
614
+ * @generated from field: string changeType = 2;
615
+ */
616
+ changeType = "";
617
+ /**
618
+ * @generated from field: optional string path = 3;
619
+ */
620
+ path;
621
+ /**
622
+ * @generated from field: bool isBreaking = 4;
623
+ */
624
+ isBreaking = false;
625
+ constructor(data) {
626
+ super();
627
+ proto3.util.initPartial(data, this);
628
+ }
629
+ static runtime = proto3;
630
+ static typeName = "wg.cosmo.platform.v1.SchemaChange";
631
+ static fields = proto3.util.newFieldList(() => [
632
+ { no: 1, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
633
+ { no: 2, name: "changeType", kind: "scalar", T: 9 /* ScalarType.STRING */ },
634
+ { no: 3, name: "path", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
635
+ { no: 4, name: "isBreaking", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
636
+ ]);
637
+ static fromBinary(bytes, options) {
638
+ return new SchemaChange().fromBinary(bytes, options);
639
+ }
640
+ static fromJson(jsonValue, options) {
641
+ return new SchemaChange().fromJson(jsonValue, options);
642
+ }
643
+ static fromJsonString(jsonString, options) {
644
+ return new SchemaChange().fromJsonString(jsonString, options);
645
+ }
646
+ static equals(a, b) {
647
+ return proto3.util.equals(SchemaChange, a, b);
648
+ }
649
+ }
650
+ /**
651
+ * @generated from message wg.cosmo.platform.v1.CompositionError
652
+ */
653
+ export class CompositionError extends Message {
654
+ /**
655
+ * @generated from field: string message = 1;
656
+ */
657
+ message = "";
658
+ /**
659
+ * @generated from field: string federatedGraphName = 2;
660
+ */
661
+ federatedGraphName = "";
662
+ constructor(data) {
663
+ super();
664
+ proto3.util.initPartial(data, this);
665
+ }
666
+ static runtime = proto3;
667
+ static typeName = "wg.cosmo.platform.v1.CompositionError";
668
+ static fields = proto3.util.newFieldList(() => [
669
+ { no: 1, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
670
+ { no: 2, name: "federatedGraphName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
671
+ ]);
672
+ static fromBinary(bytes, options) {
673
+ return new CompositionError().fromBinary(bytes, options);
674
+ }
675
+ static fromJson(jsonValue, options) {
676
+ return new CompositionError().fromJson(jsonValue, options);
677
+ }
678
+ static fromJsonString(jsonString, options) {
679
+ return new CompositionError().fromJsonString(jsonString, options);
680
+ }
681
+ static equals(a, b) {
682
+ return proto3.util.equals(CompositionError, a, b);
683
+ }
684
+ }
685
+ /**
686
+ * @generated from message wg.cosmo.platform.v1.CheckSubgraphSchemaResponse
687
+ */
688
+ export class CheckSubgraphSchemaResponse extends Message {
689
+ /**
690
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
691
+ */
692
+ response;
693
+ /**
694
+ * @generated from field: repeated wg.cosmo.platform.v1.SchemaChange breakingChanges = 2;
695
+ */
696
+ breakingChanges = [];
697
+ /**
698
+ * @generated from field: repeated wg.cosmo.platform.v1.SchemaChange nonBreakingChanges = 3;
699
+ */
700
+ nonBreakingChanges = [];
701
+ /**
702
+ * @generated from field: repeated wg.cosmo.platform.v1.CompositionError compositionErrors = 4;
703
+ */
704
+ compositionErrors = [];
705
+ constructor(data) {
706
+ super();
707
+ proto3.util.initPartial(data, this);
708
+ }
709
+ static runtime = proto3;
710
+ static typeName = "wg.cosmo.platform.v1.CheckSubgraphSchemaResponse";
711
+ static fields = proto3.util.newFieldList(() => [
712
+ { no: 1, name: "response", kind: "message", T: Response },
713
+ { no: 2, name: "breakingChanges", kind: "message", T: SchemaChange, repeated: true },
714
+ { no: 3, name: "nonBreakingChanges", kind: "message", T: SchemaChange, repeated: true },
715
+ { no: 4, name: "compositionErrors", kind: "message", T: CompositionError, repeated: true },
716
+ ]);
717
+ static fromBinary(bytes, options) {
718
+ return new CheckSubgraphSchemaResponse().fromBinary(bytes, options);
719
+ }
720
+ static fromJson(jsonValue, options) {
721
+ return new CheckSubgraphSchemaResponse().fromJson(jsonValue, options);
722
+ }
723
+ static fromJsonString(jsonString, options) {
724
+ return new CheckSubgraphSchemaResponse().fromJsonString(jsonString, options);
725
+ }
726
+ static equals(a, b) {
727
+ return proto3.util.equals(CheckSubgraphSchemaResponse, a, b);
728
+ }
729
+ }
730
+ /**
731
+ * @generated from message wg.cosmo.platform.v1.FixSubgraphSchemaResponse
732
+ */
733
+ export class FixSubgraphSchemaResponse extends Message {
734
+ /**
735
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
736
+ */
737
+ response;
738
+ /**
739
+ * @generated from field: bool modified = 2;
740
+ */
741
+ modified = false;
742
+ /**
743
+ * @generated from field: string schema = 3;
744
+ */
745
+ schema = "";
746
+ constructor(data) {
747
+ super();
748
+ proto3.util.initPartial(data, this);
749
+ }
750
+ static runtime = proto3;
751
+ static typeName = "wg.cosmo.platform.v1.FixSubgraphSchemaResponse";
752
+ static fields = proto3.util.newFieldList(() => [
753
+ { no: 1, name: "response", kind: "message", T: Response },
754
+ { no: 2, name: "modified", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
755
+ { no: 3, name: "schema", kind: "scalar", T: 9 /* ScalarType.STRING */ },
756
+ ]);
757
+ static fromBinary(bytes, options) {
758
+ return new FixSubgraphSchemaResponse().fromBinary(bytes, options);
759
+ }
760
+ static fromJson(jsonValue, options) {
761
+ return new FixSubgraphSchemaResponse().fromJson(jsonValue, options);
762
+ }
763
+ static fromJsonString(jsonString, options) {
764
+ return new FixSubgraphSchemaResponse().fromJsonString(jsonString, options);
765
+ }
766
+ static equals(a, b) {
767
+ return proto3.util.equals(FixSubgraphSchemaResponse, a, b);
768
+ }
769
+ }
770
+ /**
771
+ * @generated from message wg.cosmo.platform.v1.CreateFederatedGraphResponse
772
+ */
773
+ export class CreateFederatedGraphResponse extends Message {
774
+ /**
775
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
776
+ */
777
+ response;
778
+ /**
779
+ * @generated from field: repeated wg.cosmo.platform.v1.CompositionError compositionErrors = 2;
780
+ */
781
+ compositionErrors = [];
782
+ constructor(data) {
783
+ super();
784
+ proto3.util.initPartial(data, this);
785
+ }
786
+ static runtime = proto3;
787
+ static typeName = "wg.cosmo.platform.v1.CreateFederatedGraphResponse";
788
+ static fields = proto3.util.newFieldList(() => [
789
+ { no: 1, name: "response", kind: "message", T: Response },
790
+ { no: 2, name: "compositionErrors", kind: "message", T: CompositionError, repeated: true },
791
+ ]);
792
+ static fromBinary(bytes, options) {
793
+ return new CreateFederatedGraphResponse().fromBinary(bytes, options);
794
+ }
795
+ static fromJson(jsonValue, options) {
796
+ return new CreateFederatedGraphResponse().fromJson(jsonValue, options);
797
+ }
798
+ static fromJsonString(jsonString, options) {
799
+ return new CreateFederatedGraphResponse().fromJsonString(jsonString, options);
800
+ }
801
+ static equals(a, b) {
802
+ return proto3.util.equals(CreateFederatedGraphResponse, a, b);
803
+ }
804
+ }
805
+ /**
806
+ * @generated from message wg.cosmo.platform.v1.CreateFederatedSubgraphResponse
807
+ */
808
+ export class CreateFederatedSubgraphResponse extends Message {
809
+ /**
810
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
811
+ */
812
+ response;
813
+ constructor(data) {
814
+ super();
815
+ proto3.util.initPartial(data, this);
816
+ }
817
+ static runtime = proto3;
818
+ static typeName = "wg.cosmo.platform.v1.CreateFederatedSubgraphResponse";
819
+ static fields = proto3.util.newFieldList(() => [
820
+ { no: 1, name: "response", kind: "message", T: Response },
821
+ ]);
822
+ static fromBinary(bytes, options) {
823
+ return new CreateFederatedSubgraphResponse().fromBinary(bytes, options);
824
+ }
825
+ static fromJson(jsonValue, options) {
826
+ return new CreateFederatedSubgraphResponse().fromJson(jsonValue, options);
827
+ }
828
+ static fromJsonString(jsonString, options) {
829
+ return new CreateFederatedSubgraphResponse().fromJsonString(jsonString, options);
830
+ }
831
+ static equals(a, b) {
832
+ return proto3.util.equals(CreateFederatedSubgraphResponse, a, b);
833
+ }
834
+ }
835
+ /**
836
+ * @generated from message wg.cosmo.platform.v1.DeleteFederatedSubgraphResponse
837
+ */
838
+ export class DeleteFederatedSubgraphResponse extends Message {
839
+ /**
840
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
841
+ */
842
+ response;
843
+ constructor(data) {
844
+ super();
845
+ proto3.util.initPartial(data, this);
846
+ }
847
+ static runtime = proto3;
848
+ static typeName = "wg.cosmo.platform.v1.DeleteFederatedSubgraphResponse";
849
+ static fields = proto3.util.newFieldList(() => [
850
+ { no: 1, name: "response", kind: "message", T: Response },
851
+ ]);
852
+ static fromBinary(bytes, options) {
853
+ return new DeleteFederatedSubgraphResponse().fromBinary(bytes, options);
854
+ }
855
+ static fromJson(jsonValue, options) {
856
+ return new DeleteFederatedSubgraphResponse().fromJson(jsonValue, options);
857
+ }
858
+ static fromJsonString(jsonString, options) {
859
+ return new DeleteFederatedSubgraphResponse().fromJsonString(jsonString, options);
860
+ }
861
+ static equals(a, b) {
862
+ return proto3.util.equals(DeleteFederatedSubgraphResponse, a, b);
863
+ }
864
+ }
865
+ /**
866
+ * @generated from message wg.cosmo.platform.v1.DeleteFederatedGraphResponse
867
+ */
868
+ export class DeleteFederatedGraphResponse extends Message {
869
+ /**
870
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
871
+ */
872
+ response;
873
+ constructor(data) {
874
+ super();
875
+ proto3.util.initPartial(data, this);
876
+ }
877
+ static runtime = proto3;
878
+ static typeName = "wg.cosmo.platform.v1.DeleteFederatedGraphResponse";
879
+ static fields = proto3.util.newFieldList(() => [
880
+ { no: 1, name: "response", kind: "message", T: Response },
881
+ ]);
882
+ static fromBinary(bytes, options) {
883
+ return new DeleteFederatedGraphResponse().fromBinary(bytes, options);
884
+ }
885
+ static fromJson(jsonValue, options) {
886
+ return new DeleteFederatedGraphResponse().fromJson(jsonValue, options);
887
+ }
888
+ static fromJsonString(jsonString, options) {
889
+ return new DeleteFederatedGraphResponse().fromJsonString(jsonString, options);
890
+ }
891
+ static equals(a, b) {
892
+ return proto3.util.equals(DeleteFederatedGraphResponse, a, b);
893
+ }
894
+ }
895
+ /**
896
+ * @generated from message wg.cosmo.platform.v1.GetFederatedGraphsRequest
897
+ */
898
+ export class GetFederatedGraphsRequest extends Message {
899
+ /**
900
+ * @generated from field: int32 limit = 1;
901
+ */
902
+ limit = 0;
903
+ /**
904
+ * @generated from field: int32 offset = 2;
905
+ */
906
+ offset = 0;
907
+ /**
908
+ * @generated from field: bool includeMetrics = 3;
909
+ */
910
+ includeMetrics = false;
911
+ constructor(data) {
912
+ super();
913
+ proto3.util.initPartial(data, this);
914
+ }
915
+ static runtime = proto3;
916
+ static typeName = "wg.cosmo.platform.v1.GetFederatedGraphsRequest";
917
+ static fields = proto3.util.newFieldList(() => [
918
+ { no: 1, name: "limit", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
919
+ { no: 2, name: "offset", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
920
+ { no: 3, name: "includeMetrics", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
921
+ ]);
922
+ static fromBinary(bytes, options) {
923
+ return new GetFederatedGraphsRequest().fromBinary(bytes, options);
924
+ }
925
+ static fromJson(jsonValue, options) {
926
+ return new GetFederatedGraphsRequest().fromJson(jsonValue, options);
927
+ }
928
+ static fromJsonString(jsonString, options) {
929
+ return new GetFederatedGraphsRequest().fromJsonString(jsonString, options);
930
+ }
931
+ static equals(a, b) {
932
+ return proto3.util.equals(GetFederatedGraphsRequest, a, b);
933
+ }
934
+ }
935
+ /**
936
+ * @generated from message wg.cosmo.platform.v1.FederatedGraph
937
+ */
938
+ export class FederatedGraph extends Message {
939
+ /**
940
+ * @generated from field: string name = 1;
941
+ */
942
+ name = "";
943
+ /**
944
+ * @generated from field: string routingURL = 2;
945
+ */
946
+ routingURL = "";
947
+ /**
948
+ * @generated from field: repeated string label_matchers = 3;
949
+ */
950
+ labelMatchers = [];
951
+ /**
952
+ * @generated from field: string lastUpdatedAt = 4;
953
+ */
954
+ lastUpdatedAt = "";
955
+ /**
956
+ * @generated from field: bool isComposable = 5;
957
+ */
958
+ isComposable = false;
959
+ /**
960
+ * @generated from field: string compositionErrors = 6;
961
+ */
962
+ compositionErrors = "";
963
+ /**
964
+ * @generated from field: int32 connectedSubgraphs = 7;
965
+ */
966
+ connectedSubgraphs = 0;
967
+ /**
968
+ * @generated from field: repeated wg.cosmo.platform.v1.RequestSeriesItem requestSeries = 8;
969
+ */
970
+ requestSeries = [];
971
+ constructor(data) {
972
+ super();
973
+ proto3.util.initPartial(data, this);
974
+ }
975
+ static runtime = proto3;
976
+ static typeName = "wg.cosmo.platform.v1.FederatedGraph";
977
+ static fields = proto3.util.newFieldList(() => [
978
+ { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
979
+ { no: 2, name: "routingURL", kind: "scalar", T: 9 /* ScalarType.STRING */ },
980
+ { no: 3, name: "label_matchers", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
981
+ { no: 4, name: "lastUpdatedAt", kind: "scalar", T: 9 /* ScalarType.STRING */ },
982
+ { no: 5, name: "isComposable", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
983
+ { no: 6, name: "compositionErrors", kind: "scalar", T: 9 /* ScalarType.STRING */ },
984
+ { no: 7, name: "connectedSubgraphs", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
985
+ { no: 8, name: "requestSeries", kind: "message", T: RequestSeriesItem, repeated: true },
986
+ ]);
987
+ static fromBinary(bytes, options) {
988
+ return new FederatedGraph().fromBinary(bytes, options);
989
+ }
990
+ static fromJson(jsonValue, options) {
991
+ return new FederatedGraph().fromJson(jsonValue, options);
992
+ }
993
+ static fromJsonString(jsonString, options) {
994
+ return new FederatedGraph().fromJsonString(jsonString, options);
995
+ }
996
+ static equals(a, b) {
997
+ return proto3.util.equals(FederatedGraph, a, b);
998
+ }
999
+ }
1000
+ /**
1001
+ * @generated from message wg.cosmo.platform.v1.FederatedGraphChangelog
1002
+ */
1003
+ export class FederatedGraphChangelog extends Message {
1004
+ /**
1005
+ * @generated from field: string id = 1;
1006
+ */
1007
+ id = "";
1008
+ /**
1009
+ * @generated from field: string path = 2;
1010
+ */
1011
+ path = "";
1012
+ /**
1013
+ * @generated from field: string changeType = 3;
1014
+ */
1015
+ changeType = "";
1016
+ /**
1017
+ * @generated from field: string changeMessage = 4;
1018
+ */
1019
+ changeMessage = "";
1020
+ /**
1021
+ * @generated from field: string createdAt = 5;
1022
+ */
1023
+ createdAt = "";
1024
+ constructor(data) {
1025
+ super();
1026
+ proto3.util.initPartial(data, this);
1027
+ }
1028
+ static runtime = proto3;
1029
+ static typeName = "wg.cosmo.platform.v1.FederatedGraphChangelog";
1030
+ static fields = proto3.util.newFieldList(() => [
1031
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1032
+ { no: 2, name: "path", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1033
+ { no: 3, name: "changeType", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1034
+ { no: 4, name: "changeMessage", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1035
+ { no: 5, name: "createdAt", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1036
+ ]);
1037
+ static fromBinary(bytes, options) {
1038
+ return new FederatedGraphChangelog().fromBinary(bytes, options);
1039
+ }
1040
+ static fromJson(jsonValue, options) {
1041
+ return new FederatedGraphChangelog().fromJson(jsonValue, options);
1042
+ }
1043
+ static fromJsonString(jsonString, options) {
1044
+ return new FederatedGraphChangelog().fromJsonString(jsonString, options);
1045
+ }
1046
+ static equals(a, b) {
1047
+ return proto3.util.equals(FederatedGraphChangelog, a, b);
1048
+ }
1049
+ }
1050
+ /**
1051
+ * @generated from message wg.cosmo.platform.v1.FederatedGraphChangelogOutput
1052
+ */
1053
+ export class FederatedGraphChangelogOutput extends Message {
1054
+ /**
1055
+ * @generated from field: string createdAt = 1;
1056
+ */
1057
+ createdAt = "";
1058
+ /**
1059
+ * @generated from field: string schemaVersionId = 2;
1060
+ */
1061
+ schemaVersionId = "";
1062
+ /**
1063
+ * @generated from field: repeated wg.cosmo.platform.v1.FederatedGraphChangelog changelogs = 3;
1064
+ */
1065
+ changelogs = [];
1066
+ constructor(data) {
1067
+ super();
1068
+ proto3.util.initPartial(data, this);
1069
+ }
1070
+ static runtime = proto3;
1071
+ static typeName = "wg.cosmo.platform.v1.FederatedGraphChangelogOutput";
1072
+ static fields = proto3.util.newFieldList(() => [
1073
+ { no: 1, name: "createdAt", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1074
+ { no: 2, name: "schemaVersionId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1075
+ { no: 3, name: "changelogs", kind: "message", T: FederatedGraphChangelog, repeated: true },
1076
+ ]);
1077
+ static fromBinary(bytes, options) {
1078
+ return new FederatedGraphChangelogOutput().fromBinary(bytes, options);
1079
+ }
1080
+ static fromJson(jsonValue, options) {
1081
+ return new FederatedGraphChangelogOutput().fromJson(jsonValue, options);
1082
+ }
1083
+ static fromJsonString(jsonString, options) {
1084
+ return new FederatedGraphChangelogOutput().fromJsonString(jsonString, options);
1085
+ }
1086
+ static equals(a, b) {
1087
+ return proto3.util.equals(FederatedGraphChangelogOutput, a, b);
1088
+ }
1089
+ }
1090
+ /**
1091
+ * @generated from message wg.cosmo.platform.v1.GetFederatedGraphsResponse
1092
+ */
1093
+ export class GetFederatedGraphsResponse extends Message {
1094
+ /**
1095
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
1096
+ */
1097
+ response;
1098
+ /**
1099
+ * @generated from field: repeated wg.cosmo.platform.v1.FederatedGraph graphs = 2;
1100
+ */
1101
+ graphs = [];
1102
+ constructor(data) {
1103
+ super();
1104
+ proto3.util.initPartial(data, this);
1105
+ }
1106
+ static runtime = proto3;
1107
+ static typeName = "wg.cosmo.platform.v1.GetFederatedGraphsResponse";
1108
+ static fields = proto3.util.newFieldList(() => [
1109
+ { no: 1, name: "response", kind: "message", T: Response },
1110
+ { no: 2, name: "graphs", kind: "message", T: FederatedGraph, repeated: true },
1111
+ ]);
1112
+ static fromBinary(bytes, options) {
1113
+ return new GetFederatedGraphsResponse().fromBinary(bytes, options);
1114
+ }
1115
+ static fromJson(jsonValue, options) {
1116
+ return new GetFederatedGraphsResponse().fromJson(jsonValue, options);
1117
+ }
1118
+ static fromJsonString(jsonString, options) {
1119
+ return new GetFederatedGraphsResponse().fromJsonString(jsonString, options);
1120
+ }
1121
+ static equals(a, b) {
1122
+ return proto3.util.equals(GetFederatedGraphsResponse, a, b);
1123
+ }
1124
+ }
1125
+ /**
1126
+ * @generated from message wg.cosmo.platform.v1.GetSubgraphsRequest
1127
+ */
1128
+ export class GetSubgraphsRequest extends Message {
1129
+ /**
1130
+ * @generated from field: int32 limit = 1;
1131
+ */
1132
+ limit = 0;
1133
+ /**
1134
+ * @generated from field: int32 offset = 2;
1135
+ */
1136
+ offset = 0;
1137
+ constructor(data) {
1138
+ super();
1139
+ proto3.util.initPartial(data, this);
1140
+ }
1141
+ static runtime = proto3;
1142
+ static typeName = "wg.cosmo.platform.v1.GetSubgraphsRequest";
1143
+ static fields = proto3.util.newFieldList(() => [
1144
+ { no: 1, name: "limit", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
1145
+ { no: 2, name: "offset", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
1146
+ ]);
1147
+ static fromBinary(bytes, options) {
1148
+ return new GetSubgraphsRequest().fromBinary(bytes, options);
1149
+ }
1150
+ static fromJson(jsonValue, options) {
1151
+ return new GetSubgraphsRequest().fromJson(jsonValue, options);
1152
+ }
1153
+ static fromJsonString(jsonString, options) {
1154
+ return new GetSubgraphsRequest().fromJsonString(jsonString, options);
1155
+ }
1156
+ static equals(a, b) {
1157
+ return proto3.util.equals(GetSubgraphsRequest, a, b);
1158
+ }
1159
+ }
1160
+ /**
1161
+ * @generated from message wg.cosmo.platform.v1.Subgraph
1162
+ */
1163
+ export class Subgraph extends Message {
1164
+ /**
1165
+ * @generated from field: string name = 1;
1166
+ */
1167
+ name = "";
1168
+ /**
1169
+ * @generated from field: string routingURL = 2;
1170
+ */
1171
+ routingURL = "";
1172
+ /**
1173
+ * @generated from field: string lastUpdatedAt = 3;
1174
+ */
1175
+ lastUpdatedAt = "";
1176
+ /**
1177
+ * @generated from field: repeated wg.cosmo.platform.v1.Label labels = 4;
1178
+ */
1179
+ labels = [];
1180
+ constructor(data) {
1181
+ super();
1182
+ proto3.util.initPartial(data, this);
1183
+ }
1184
+ static runtime = proto3;
1185
+ static typeName = "wg.cosmo.platform.v1.Subgraph";
1186
+ static fields = proto3.util.newFieldList(() => [
1187
+ { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1188
+ { no: 2, name: "routingURL", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1189
+ { no: 3, name: "lastUpdatedAt", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1190
+ { no: 4, name: "labels", kind: "message", T: Label, repeated: true },
1191
+ ]);
1192
+ static fromBinary(bytes, options) {
1193
+ return new Subgraph().fromBinary(bytes, options);
1194
+ }
1195
+ static fromJson(jsonValue, options) {
1196
+ return new Subgraph().fromJson(jsonValue, options);
1197
+ }
1198
+ static fromJsonString(jsonString, options) {
1199
+ return new Subgraph().fromJsonString(jsonString, options);
1200
+ }
1201
+ static equals(a, b) {
1202
+ return proto3.util.equals(Subgraph, a, b);
1203
+ }
1204
+ }
1205
+ /**
1206
+ * @generated from message wg.cosmo.platform.v1.GetSubgraphsResponse
1207
+ */
1208
+ export class GetSubgraphsResponse extends Message {
1209
+ /**
1210
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
1211
+ */
1212
+ response;
1213
+ /**
1214
+ * @generated from field: repeated wg.cosmo.platform.v1.Subgraph graphs = 2;
1215
+ */
1216
+ graphs = [];
1217
+ constructor(data) {
1218
+ super();
1219
+ proto3.util.initPartial(data, this);
1220
+ }
1221
+ static runtime = proto3;
1222
+ static typeName = "wg.cosmo.platform.v1.GetSubgraphsResponse";
1223
+ static fields = proto3.util.newFieldList(() => [
1224
+ { no: 1, name: "response", kind: "message", T: Response },
1225
+ { no: 2, name: "graphs", kind: "message", T: Subgraph, repeated: true },
1226
+ ]);
1227
+ static fromBinary(bytes, options) {
1228
+ return new GetSubgraphsResponse().fromBinary(bytes, options);
1229
+ }
1230
+ static fromJson(jsonValue, options) {
1231
+ return new GetSubgraphsResponse().fromJson(jsonValue, options);
1232
+ }
1233
+ static fromJsonString(jsonString, options) {
1234
+ return new GetSubgraphsResponse().fromJsonString(jsonString, options);
1235
+ }
1236
+ static equals(a, b) {
1237
+ return proto3.util.equals(GetSubgraphsResponse, a, b);
1238
+ }
1239
+ }
1240
+ /**
1241
+ * @generated from message wg.cosmo.platform.v1.GetFederatedGraphByNameRequest
1242
+ */
1243
+ export class GetFederatedGraphByNameRequest extends Message {
1244
+ /**
1245
+ * @generated from field: string name = 1;
1246
+ */
1247
+ name = "";
1248
+ /**
1249
+ * @generated from field: bool includeMetrics = 3;
1250
+ */
1251
+ includeMetrics = false;
1252
+ constructor(data) {
1253
+ super();
1254
+ proto3.util.initPartial(data, this);
1255
+ }
1256
+ static runtime = proto3;
1257
+ static typeName = "wg.cosmo.platform.v1.GetFederatedGraphByNameRequest";
1258
+ static fields = proto3.util.newFieldList(() => [
1259
+ { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1260
+ { no: 3, name: "includeMetrics", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
1261
+ ]);
1262
+ static fromBinary(bytes, options) {
1263
+ return new GetFederatedGraphByNameRequest().fromBinary(bytes, options);
1264
+ }
1265
+ static fromJson(jsonValue, options) {
1266
+ return new GetFederatedGraphByNameRequest().fromJson(jsonValue, options);
1267
+ }
1268
+ static fromJsonString(jsonString, options) {
1269
+ return new GetFederatedGraphByNameRequest().fromJsonString(jsonString, options);
1270
+ }
1271
+ static equals(a, b) {
1272
+ return proto3.util.equals(GetFederatedGraphByNameRequest, a, b);
1273
+ }
1274
+ }
1275
+ /**
1276
+ * @generated from message wg.cosmo.platform.v1.GetFederatedGraphByNameResponse
1277
+ */
1278
+ export class GetFederatedGraphByNameResponse extends Message {
1279
+ /**
1280
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
1281
+ */
1282
+ response;
1283
+ /**
1284
+ * @generated from field: wg.cosmo.platform.v1.FederatedGraph graph = 2;
1285
+ */
1286
+ graph;
1287
+ /**
1288
+ * @generated from field: repeated wg.cosmo.platform.v1.Subgraph subgraphs = 3;
1289
+ */
1290
+ subgraphs = [];
1291
+ constructor(data) {
1292
+ super();
1293
+ proto3.util.initPartial(data, this);
1294
+ }
1295
+ static runtime = proto3;
1296
+ static typeName = "wg.cosmo.platform.v1.GetFederatedGraphByNameResponse";
1297
+ static fields = proto3.util.newFieldList(() => [
1298
+ { no: 1, name: "response", kind: "message", T: Response },
1299
+ { no: 2, name: "graph", kind: "message", T: FederatedGraph },
1300
+ { no: 3, name: "subgraphs", kind: "message", T: Subgraph, repeated: true },
1301
+ ]);
1302
+ static fromBinary(bytes, options) {
1303
+ return new GetFederatedGraphByNameResponse().fromBinary(bytes, options);
1304
+ }
1305
+ static fromJson(jsonValue, options) {
1306
+ return new GetFederatedGraphByNameResponse().fromJson(jsonValue, options);
1307
+ }
1308
+ static fromJsonString(jsonString, options) {
1309
+ return new GetFederatedGraphByNameResponse().fromJsonString(jsonString, options);
1310
+ }
1311
+ static equals(a, b) {
1312
+ return proto3.util.equals(GetFederatedGraphByNameResponse, a, b);
1313
+ }
1314
+ }
1315
+ /**
1316
+ * @generated from message wg.cosmo.platform.v1.GetFederatedGraphSDLByNameRequest
1317
+ */
1318
+ export class GetFederatedGraphSDLByNameRequest extends Message {
1319
+ /**
1320
+ * @generated from field: string name = 1;
1321
+ */
1322
+ name = "";
1323
+ constructor(data) {
1324
+ super();
1325
+ proto3.util.initPartial(data, this);
1326
+ }
1327
+ static runtime = proto3;
1328
+ static typeName = "wg.cosmo.platform.v1.GetFederatedGraphSDLByNameRequest";
1329
+ static fields = proto3.util.newFieldList(() => [
1330
+ { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1331
+ ]);
1332
+ static fromBinary(bytes, options) {
1333
+ return new GetFederatedGraphSDLByNameRequest().fromBinary(bytes, options);
1334
+ }
1335
+ static fromJson(jsonValue, options) {
1336
+ return new GetFederatedGraphSDLByNameRequest().fromJson(jsonValue, options);
1337
+ }
1338
+ static fromJsonString(jsonString, options) {
1339
+ return new GetFederatedGraphSDLByNameRequest().fromJsonString(jsonString, options);
1340
+ }
1341
+ static equals(a, b) {
1342
+ return proto3.util.equals(GetFederatedGraphSDLByNameRequest, a, b);
1343
+ }
1344
+ }
1345
+ /**
1346
+ * @generated from message wg.cosmo.platform.v1.GetFederatedGraphSDLByNameResponse
1347
+ */
1348
+ export class GetFederatedGraphSDLByNameResponse extends Message {
1349
+ /**
1350
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
1351
+ */
1352
+ response;
1353
+ /**
1354
+ * @generated from field: optional string sdl = 2;
1355
+ */
1356
+ sdl;
1357
+ constructor(data) {
1358
+ super();
1359
+ proto3.util.initPartial(data, this);
1360
+ }
1361
+ static runtime = proto3;
1362
+ static typeName = "wg.cosmo.platform.v1.GetFederatedGraphSDLByNameResponse";
1363
+ static fields = proto3.util.newFieldList(() => [
1364
+ { no: 1, name: "response", kind: "message", T: Response },
1365
+ { no: 2, name: "sdl", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1366
+ ]);
1367
+ static fromBinary(bytes, options) {
1368
+ return new GetFederatedGraphSDLByNameResponse().fromBinary(bytes, options);
1369
+ }
1370
+ static fromJson(jsonValue, options) {
1371
+ return new GetFederatedGraphSDLByNameResponse().fromJson(jsonValue, options);
1372
+ }
1373
+ static fromJsonString(jsonString, options) {
1374
+ return new GetFederatedGraphSDLByNameResponse().fromJsonString(jsonString, options);
1375
+ }
1376
+ static equals(a, b) {
1377
+ return proto3.util.equals(GetFederatedGraphSDLByNameResponse, a, b);
1378
+ }
1379
+ }
1380
+ /**
1381
+ * @generated from message wg.cosmo.platform.v1.GetSubgraphByNameRequest
1382
+ */
1383
+ export class GetSubgraphByNameRequest extends Message {
1384
+ /**
1385
+ * @generated from field: string name = 1;
1386
+ */
1387
+ name = "";
1388
+ constructor(data) {
1389
+ super();
1390
+ proto3.util.initPartial(data, this);
1391
+ }
1392
+ static runtime = proto3;
1393
+ static typeName = "wg.cosmo.platform.v1.GetSubgraphByNameRequest";
1394
+ static fields = proto3.util.newFieldList(() => [
1395
+ { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1396
+ ]);
1397
+ static fromBinary(bytes, options) {
1398
+ return new GetSubgraphByNameRequest().fromBinary(bytes, options);
1399
+ }
1400
+ static fromJson(jsonValue, options) {
1401
+ return new GetSubgraphByNameRequest().fromJson(jsonValue, options);
1402
+ }
1403
+ static fromJsonString(jsonString, options) {
1404
+ return new GetSubgraphByNameRequest().fromJsonString(jsonString, options);
1405
+ }
1406
+ static equals(a, b) {
1407
+ return proto3.util.equals(GetSubgraphByNameRequest, a, b);
1408
+ }
1409
+ }
1410
+ /**
1411
+ * @generated from message wg.cosmo.platform.v1.GetSubgraphByNameResponse
1412
+ */
1413
+ export class GetSubgraphByNameResponse extends Message {
1414
+ /**
1415
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
1416
+ */
1417
+ response;
1418
+ /**
1419
+ * @generated from field: wg.cosmo.platform.v1.Subgraph graph = 2;
1420
+ */
1421
+ graph;
1422
+ constructor(data) {
1423
+ super();
1424
+ proto3.util.initPartial(data, this);
1425
+ }
1426
+ static runtime = proto3;
1427
+ static typeName = "wg.cosmo.platform.v1.GetSubgraphByNameResponse";
1428
+ static fields = proto3.util.newFieldList(() => [
1429
+ { no: 1, name: "response", kind: "message", T: Response },
1430
+ { no: 2, name: "graph", kind: "message", T: Subgraph },
1431
+ ]);
1432
+ static fromBinary(bytes, options) {
1433
+ return new GetSubgraphByNameResponse().fromBinary(bytes, options);
1434
+ }
1435
+ static fromJson(jsonValue, options) {
1436
+ return new GetSubgraphByNameResponse().fromJson(jsonValue, options);
1437
+ }
1438
+ static fromJsonString(jsonString, options) {
1439
+ return new GetSubgraphByNameResponse().fromJsonString(jsonString, options);
1440
+ }
1441
+ static equals(a, b) {
1442
+ return proto3.util.equals(GetSubgraphByNameResponse, a, b);
1443
+ }
1444
+ }
1445
+ /**
1446
+ * @generated from message wg.cosmo.platform.v1.GetFederatedSubgraphSDLByNameRequest
1447
+ */
1448
+ export class GetFederatedSubgraphSDLByNameRequest extends Message {
1449
+ /**
1450
+ * @generated from field: string name = 1;
1451
+ */
1452
+ name = "";
1453
+ constructor(data) {
1454
+ super();
1455
+ proto3.util.initPartial(data, this);
1456
+ }
1457
+ static runtime = proto3;
1458
+ static typeName = "wg.cosmo.platform.v1.GetFederatedSubgraphSDLByNameRequest";
1459
+ static fields = proto3.util.newFieldList(() => [
1460
+ { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1461
+ ]);
1462
+ static fromBinary(bytes, options) {
1463
+ return new GetFederatedSubgraphSDLByNameRequest().fromBinary(bytes, options);
1464
+ }
1465
+ static fromJson(jsonValue, options) {
1466
+ return new GetFederatedSubgraphSDLByNameRequest().fromJson(jsonValue, options);
1467
+ }
1468
+ static fromJsonString(jsonString, options) {
1469
+ return new GetFederatedSubgraphSDLByNameRequest().fromJsonString(jsonString, options);
1470
+ }
1471
+ static equals(a, b) {
1472
+ return proto3.util.equals(GetFederatedSubgraphSDLByNameRequest, a, b);
1473
+ }
1474
+ }
1475
+ /**
1476
+ * @generated from message wg.cosmo.platform.v1.GetFederatedSubgraphSDLByNameResponse
1477
+ */
1478
+ export class GetFederatedSubgraphSDLByNameResponse extends Message {
1479
+ /**
1480
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
1481
+ */
1482
+ response;
1483
+ /**
1484
+ * @generated from field: optional string sdl = 2;
1485
+ */
1486
+ sdl;
1487
+ constructor(data) {
1488
+ super();
1489
+ proto3.util.initPartial(data, this);
1490
+ }
1491
+ static runtime = proto3;
1492
+ static typeName = "wg.cosmo.platform.v1.GetFederatedSubgraphSDLByNameResponse";
1493
+ static fields = proto3.util.newFieldList(() => [
1494
+ { no: 1, name: "response", kind: "message", T: Response },
1495
+ { no: 2, name: "sdl", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1496
+ ]);
1497
+ static fromBinary(bytes, options) {
1498
+ return new GetFederatedSubgraphSDLByNameResponse().fromBinary(bytes, options);
1499
+ }
1500
+ static fromJson(jsonValue, options) {
1501
+ return new GetFederatedSubgraphSDLByNameResponse().fromJson(jsonValue, options);
1502
+ }
1503
+ static fromJsonString(jsonString, options) {
1504
+ return new GetFederatedSubgraphSDLByNameResponse().fromJsonString(jsonString, options);
1505
+ }
1506
+ static equals(a, b) {
1507
+ return proto3.util.equals(GetFederatedSubgraphSDLByNameResponse, a, b);
1508
+ }
1509
+ }
1510
+ /**
1511
+ * @generated from message wg.cosmo.platform.v1.GetChecksByFederatedGraphNameRequest
1512
+ */
1513
+ export class GetChecksByFederatedGraphNameRequest extends Message {
1514
+ /**
1515
+ * @generated from field: string name = 1;
1516
+ */
1517
+ name = "";
1518
+ constructor(data) {
1519
+ super();
1520
+ proto3.util.initPartial(data, this);
1521
+ }
1522
+ static runtime = proto3;
1523
+ static typeName = "wg.cosmo.platform.v1.GetChecksByFederatedGraphNameRequest";
1524
+ static fields = proto3.util.newFieldList(() => [
1525
+ { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1526
+ ]);
1527
+ static fromBinary(bytes, options) {
1528
+ return new GetChecksByFederatedGraphNameRequest().fromBinary(bytes, options);
1529
+ }
1530
+ static fromJson(jsonValue, options) {
1531
+ return new GetChecksByFederatedGraphNameRequest().fromJson(jsonValue, options);
1532
+ }
1533
+ static fromJsonString(jsonString, options) {
1534
+ return new GetChecksByFederatedGraphNameRequest().fromJsonString(jsonString, options);
1535
+ }
1536
+ static equals(a, b) {
1537
+ return proto3.util.equals(GetChecksByFederatedGraphNameRequest, a, b);
1538
+ }
1539
+ }
1540
+ /**
1541
+ * @generated from message wg.cosmo.platform.v1.SchemaCheck
1542
+ */
1543
+ export class SchemaCheck extends Message {
1544
+ /**
1545
+ * @generated from field: string id = 1;
1546
+ */
1547
+ id = "";
1548
+ /**
1549
+ * @generated from field: string targetID = 2;
1550
+ */
1551
+ targetID = "";
1552
+ /**
1553
+ * @generated from field: string subgraphName = 3;
1554
+ */
1555
+ subgraphName = "";
1556
+ /**
1557
+ * @generated from field: string timestamp = 4;
1558
+ */
1559
+ timestamp = "";
1560
+ /**
1561
+ * @generated from field: bool isComposable = 5;
1562
+ */
1563
+ isComposable = false;
1564
+ /**
1565
+ * @generated from field: bool isBreaking = 6;
1566
+ */
1567
+ isBreaking = false;
1568
+ /**
1569
+ * @generated from field: optional string proposedSubgraphSchemaSDL = 7;
1570
+ */
1571
+ proposedSubgraphSchemaSDL;
1572
+ constructor(data) {
1573
+ super();
1574
+ proto3.util.initPartial(data, this);
1575
+ }
1576
+ static runtime = proto3;
1577
+ static typeName = "wg.cosmo.platform.v1.SchemaCheck";
1578
+ static fields = proto3.util.newFieldList(() => [
1579
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1580
+ { no: 2, name: "targetID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1581
+ { no: 3, name: "subgraphName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1582
+ { no: 4, name: "timestamp", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1583
+ { no: 5, name: "isComposable", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
1584
+ { no: 6, name: "isBreaking", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
1585
+ { no: 7, name: "proposedSubgraphSchemaSDL", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1586
+ ]);
1587
+ static fromBinary(bytes, options) {
1588
+ return new SchemaCheck().fromBinary(bytes, options);
1589
+ }
1590
+ static fromJson(jsonValue, options) {
1591
+ return new SchemaCheck().fromJson(jsonValue, options);
1592
+ }
1593
+ static fromJsonString(jsonString, options) {
1594
+ return new SchemaCheck().fromJsonString(jsonString, options);
1595
+ }
1596
+ static equals(a, b) {
1597
+ return proto3.util.equals(SchemaCheck, a, b);
1598
+ }
1599
+ }
1600
+ /**
1601
+ * @generated from message wg.cosmo.platform.v1.GetChecksByFederatedGraphNameResponse
1602
+ */
1603
+ export class GetChecksByFederatedGraphNameResponse extends Message {
1604
+ /**
1605
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
1606
+ */
1607
+ response;
1608
+ /**
1609
+ * @generated from field: repeated wg.cosmo.platform.v1.SchemaCheck checks = 2;
1610
+ */
1611
+ checks = [];
1612
+ constructor(data) {
1613
+ super();
1614
+ proto3.util.initPartial(data, this);
1615
+ }
1616
+ static runtime = proto3;
1617
+ static typeName = "wg.cosmo.platform.v1.GetChecksByFederatedGraphNameResponse";
1618
+ static fields = proto3.util.newFieldList(() => [
1619
+ { no: 1, name: "response", kind: "message", T: Response },
1620
+ { no: 2, name: "checks", kind: "message", T: SchemaCheck, repeated: true },
1621
+ ]);
1622
+ static fromBinary(bytes, options) {
1623
+ return new GetChecksByFederatedGraphNameResponse().fromBinary(bytes, options);
1624
+ }
1625
+ static fromJson(jsonValue, options) {
1626
+ return new GetChecksByFederatedGraphNameResponse().fromJson(jsonValue, options);
1627
+ }
1628
+ static fromJsonString(jsonString, options) {
1629
+ return new GetChecksByFederatedGraphNameResponse().fromJsonString(jsonString, options);
1630
+ }
1631
+ static equals(a, b) {
1632
+ return proto3.util.equals(GetChecksByFederatedGraphNameResponse, a, b);
1633
+ }
1634
+ }
1635
+ /**
1636
+ * @generated from message wg.cosmo.platform.v1.GetCheckDetailsRequest
1637
+ */
1638
+ export class GetCheckDetailsRequest extends Message {
1639
+ /**
1640
+ * @generated from field: string checkID = 1;
1641
+ */
1642
+ checkID = "";
1643
+ /**
1644
+ * @generated from field: string graphName = 2;
1645
+ */
1646
+ graphName = "";
1647
+ constructor(data) {
1648
+ super();
1649
+ proto3.util.initPartial(data, this);
1650
+ }
1651
+ static runtime = proto3;
1652
+ static typeName = "wg.cosmo.platform.v1.GetCheckDetailsRequest";
1653
+ static fields = proto3.util.newFieldList(() => [
1654
+ { no: 1, name: "checkID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1655
+ { no: 2, name: "graphName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1656
+ ]);
1657
+ static fromBinary(bytes, options) {
1658
+ return new GetCheckDetailsRequest().fromBinary(bytes, options);
1659
+ }
1660
+ static fromJson(jsonValue, options) {
1661
+ return new GetCheckDetailsRequest().fromJson(jsonValue, options);
1662
+ }
1663
+ static fromJsonString(jsonString, options) {
1664
+ return new GetCheckDetailsRequest().fromJsonString(jsonString, options);
1665
+ }
1666
+ static equals(a, b) {
1667
+ return proto3.util.equals(GetCheckDetailsRequest, a, b);
1668
+ }
1669
+ }
1670
+ /**
1671
+ * @generated from message wg.cosmo.platform.v1.GetCheckDetailsResponse
1672
+ */
1673
+ export class GetCheckDetailsResponse extends Message {
1674
+ /**
1675
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
1676
+ */
1677
+ response;
1678
+ /**
1679
+ * @generated from field: repeated wg.cosmo.platform.v1.SchemaChange changes = 2;
1680
+ */
1681
+ changes = [];
1682
+ /**
1683
+ * @generated from field: repeated string compositionErrors = 3;
1684
+ */
1685
+ compositionErrors = [];
1686
+ constructor(data) {
1687
+ super();
1688
+ proto3.util.initPartial(data, this);
1689
+ }
1690
+ static runtime = proto3;
1691
+ static typeName = "wg.cosmo.platform.v1.GetCheckDetailsResponse";
1692
+ static fields = proto3.util.newFieldList(() => [
1693
+ { no: 1, name: "response", kind: "message", T: Response },
1694
+ { no: 2, name: "changes", kind: "message", T: SchemaChange, repeated: true },
1695
+ { no: 3, name: "compositionErrors", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
1696
+ ]);
1697
+ static fromBinary(bytes, options) {
1698
+ return new GetCheckDetailsResponse().fromBinary(bytes, options);
1699
+ }
1700
+ static fromJson(jsonValue, options) {
1701
+ return new GetCheckDetailsResponse().fromJson(jsonValue, options);
1702
+ }
1703
+ static fromJsonString(jsonString, options) {
1704
+ return new GetCheckDetailsResponse().fromJsonString(jsonString, options);
1705
+ }
1706
+ static equals(a, b) {
1707
+ return proto3.util.equals(GetCheckDetailsResponse, a, b);
1708
+ }
1709
+ }
1710
+ /**
1711
+ * @generated from message wg.cosmo.platform.v1.GetFederatedGraphChangelogRequest
1712
+ */
1713
+ export class GetFederatedGraphChangelogRequest extends Message {
1714
+ /**
1715
+ * @generated from field: string name = 1;
1716
+ */
1717
+ name = "";
1718
+ constructor(data) {
1719
+ super();
1720
+ proto3.util.initPartial(data, this);
1721
+ }
1722
+ static runtime = proto3;
1723
+ static typeName = "wg.cosmo.platform.v1.GetFederatedGraphChangelogRequest";
1724
+ static fields = proto3.util.newFieldList(() => [
1725
+ { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1726
+ ]);
1727
+ static fromBinary(bytes, options) {
1728
+ return new GetFederatedGraphChangelogRequest().fromBinary(bytes, options);
1729
+ }
1730
+ static fromJson(jsonValue, options) {
1731
+ return new GetFederatedGraphChangelogRequest().fromJson(jsonValue, options);
1732
+ }
1733
+ static fromJsonString(jsonString, options) {
1734
+ return new GetFederatedGraphChangelogRequest().fromJsonString(jsonString, options);
1735
+ }
1736
+ static equals(a, b) {
1737
+ return proto3.util.equals(GetFederatedGraphChangelogRequest, a, b);
1738
+ }
1739
+ }
1740
+ /**
1741
+ * @generated from message wg.cosmo.platform.v1.GetFederatedGraphChangelogResponse
1742
+ */
1743
+ export class GetFederatedGraphChangelogResponse extends Message {
1744
+ /**
1745
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
1746
+ */
1747
+ response;
1748
+ /**
1749
+ * @generated from field: repeated wg.cosmo.platform.v1.FederatedGraphChangelogOutput federatedGraphChangelogOutput = 2;
1750
+ */
1751
+ federatedGraphChangelogOutput = [];
1752
+ constructor(data) {
1753
+ super();
1754
+ proto3.util.initPartial(data, this);
1755
+ }
1756
+ static runtime = proto3;
1757
+ static typeName = "wg.cosmo.platform.v1.GetFederatedGraphChangelogResponse";
1758
+ static fields = proto3.util.newFieldList(() => [
1759
+ { no: 1, name: "response", kind: "message", T: Response },
1760
+ { no: 2, name: "federatedGraphChangelogOutput", kind: "message", T: FederatedGraphChangelogOutput, repeated: true },
1761
+ ]);
1762
+ static fromBinary(bytes, options) {
1763
+ return new GetFederatedGraphChangelogResponse().fromBinary(bytes, options);
1764
+ }
1765
+ static fromJson(jsonValue, options) {
1766
+ return new GetFederatedGraphChangelogResponse().fromJson(jsonValue, options);
1767
+ }
1768
+ static fromJsonString(jsonString, options) {
1769
+ return new GetFederatedGraphChangelogResponse().fromJsonString(jsonString, options);
1770
+ }
1771
+ static equals(a, b) {
1772
+ return proto3.util.equals(GetFederatedGraphChangelogResponse, a, b);
1773
+ }
1774
+ }
1775
+ /**
1776
+ * @generated from message wg.cosmo.platform.v1.GetFederatedResponse
1777
+ */
1778
+ export class GetFederatedResponse extends Message {
1779
+ /**
1780
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
1781
+ */
1782
+ response;
1783
+ /**
1784
+ * @generated from field: string FederatedSchemaSDL = 2;
1785
+ */
1786
+ FederatedSchemaSDL = "";
1787
+ constructor(data) {
1788
+ super();
1789
+ proto3.util.initPartial(data, this);
1790
+ }
1791
+ static runtime = proto3;
1792
+ static typeName = "wg.cosmo.platform.v1.GetFederatedResponse";
1793
+ static fields = proto3.util.newFieldList(() => [
1794
+ { no: 1, name: "response", kind: "message", T: Response },
1795
+ { no: 2, name: "FederatedSchemaSDL", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1796
+ ]);
1797
+ static fromBinary(bytes, options) {
1798
+ return new GetFederatedResponse().fromBinary(bytes, options);
1799
+ }
1800
+ static fromJson(jsonValue, options) {
1801
+ return new GetFederatedResponse().fromJson(jsonValue, options);
1802
+ }
1803
+ static fromJsonString(jsonString, options) {
1804
+ return new GetFederatedResponse().fromJsonString(jsonString, options);
1805
+ }
1806
+ static equals(a, b) {
1807
+ return proto3.util.equals(GetFederatedResponse, a, b);
1808
+ }
1809
+ }
1810
+ /**
1811
+ * @generated from message wg.cosmo.platform.v1.UpdateSubgraphRequest
1812
+ */
1813
+ export class UpdateSubgraphRequest extends Message {
1814
+ /**
1815
+ * @generated from field: string name = 1;
1816
+ */
1817
+ name = "";
1818
+ /**
1819
+ * @generated from field: string routing_url = 2;
1820
+ */
1821
+ routingUrl = "";
1822
+ /**
1823
+ * @generated from field: repeated wg.cosmo.platform.v1.Label labels = 3;
1824
+ */
1825
+ labels = [];
1826
+ /**
1827
+ * @generated from field: repeated string headers = 4;
1828
+ */
1829
+ headers = [];
1830
+ constructor(data) {
1831
+ super();
1832
+ proto3.util.initPartial(data, this);
1833
+ }
1834
+ static runtime = proto3;
1835
+ static typeName = "wg.cosmo.platform.v1.UpdateSubgraphRequest";
1836
+ static fields = proto3.util.newFieldList(() => [
1837
+ { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1838
+ { no: 2, name: "routing_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1839
+ { no: 3, name: "labels", kind: "message", T: Label, repeated: true },
1840
+ { no: 4, name: "headers", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
1841
+ ]);
1842
+ static fromBinary(bytes, options) {
1843
+ return new UpdateSubgraphRequest().fromBinary(bytes, options);
1844
+ }
1845
+ static fromJson(jsonValue, options) {
1846
+ return new UpdateSubgraphRequest().fromJson(jsonValue, options);
1847
+ }
1848
+ static fromJsonString(jsonString, options) {
1849
+ return new UpdateSubgraphRequest().fromJsonString(jsonString, options);
1850
+ }
1851
+ static equals(a, b) {
1852
+ return proto3.util.equals(UpdateSubgraphRequest, a, b);
1853
+ }
1854
+ }
1855
+ /**
1856
+ * @generated from message wg.cosmo.platform.v1.UpdateSubgraphResponse
1857
+ */
1858
+ export class UpdateSubgraphResponse extends Message {
1859
+ /**
1860
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
1861
+ */
1862
+ response;
1863
+ /**
1864
+ * @generated from field: repeated wg.cosmo.platform.v1.CompositionError compositionErrors = 2;
1865
+ */
1866
+ compositionErrors = [];
1867
+ constructor(data) {
1868
+ super();
1869
+ proto3.util.initPartial(data, this);
1870
+ }
1871
+ static runtime = proto3;
1872
+ static typeName = "wg.cosmo.platform.v1.UpdateSubgraphResponse";
1873
+ static fields = proto3.util.newFieldList(() => [
1874
+ { no: 1, name: "response", kind: "message", T: Response },
1875
+ { no: 2, name: "compositionErrors", kind: "message", T: CompositionError, repeated: true },
1876
+ ]);
1877
+ static fromBinary(bytes, options) {
1878
+ return new UpdateSubgraphResponse().fromBinary(bytes, options);
1879
+ }
1880
+ static fromJson(jsonValue, options) {
1881
+ return new UpdateSubgraphResponse().fromJson(jsonValue, options);
1882
+ }
1883
+ static fromJsonString(jsonString, options) {
1884
+ return new UpdateSubgraphResponse().fromJsonString(jsonString, options);
1885
+ }
1886
+ static equals(a, b) {
1887
+ return proto3.util.equals(UpdateSubgraphResponse, a, b);
1888
+ }
1889
+ }
1890
+ /**
1891
+ * @generated from message wg.cosmo.platform.v1.UpdateFederatedGraphRequest
1892
+ */
1893
+ export class UpdateFederatedGraphRequest extends Message {
1894
+ /**
1895
+ * @generated from field: string name = 1;
1896
+ */
1897
+ name = "";
1898
+ /**
1899
+ * @generated from field: string routing_url = 2;
1900
+ */
1901
+ routingUrl = "";
1902
+ /**
1903
+ * @generated from field: repeated string label_matchers = 3;
1904
+ */
1905
+ labelMatchers = [];
1906
+ constructor(data) {
1907
+ super();
1908
+ proto3.util.initPartial(data, this);
1909
+ }
1910
+ static runtime = proto3;
1911
+ static typeName = "wg.cosmo.platform.v1.UpdateFederatedGraphRequest";
1912
+ static fields = proto3.util.newFieldList(() => [
1913
+ { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1914
+ { no: 2, name: "routing_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1915
+ { no: 3, name: "label_matchers", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
1916
+ ]);
1917
+ static fromBinary(bytes, options) {
1918
+ return new UpdateFederatedGraphRequest().fromBinary(bytes, options);
1919
+ }
1920
+ static fromJson(jsonValue, options) {
1921
+ return new UpdateFederatedGraphRequest().fromJson(jsonValue, options);
1922
+ }
1923
+ static fromJsonString(jsonString, options) {
1924
+ return new UpdateFederatedGraphRequest().fromJsonString(jsonString, options);
1925
+ }
1926
+ static equals(a, b) {
1927
+ return proto3.util.equals(UpdateFederatedGraphRequest, a, b);
1928
+ }
1929
+ }
1930
+ /**
1931
+ * @generated from message wg.cosmo.platform.v1.UpdateFederatedGraphResponse
1932
+ */
1933
+ export class UpdateFederatedGraphResponse extends Message {
1934
+ /**
1935
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
1936
+ */
1937
+ response;
1938
+ /**
1939
+ * @generated from field: repeated wg.cosmo.platform.v1.CompositionError compositionErrors = 2;
1940
+ */
1941
+ compositionErrors = [];
1942
+ constructor(data) {
1943
+ super();
1944
+ proto3.util.initPartial(data, this);
1945
+ }
1946
+ static runtime = proto3;
1947
+ static typeName = "wg.cosmo.platform.v1.UpdateFederatedGraphResponse";
1948
+ static fields = proto3.util.newFieldList(() => [
1949
+ { no: 1, name: "response", kind: "message", T: Response },
1950
+ { no: 2, name: "compositionErrors", kind: "message", T: CompositionError, repeated: true },
1951
+ ]);
1952
+ static fromBinary(bytes, options) {
1953
+ return new UpdateFederatedGraphResponse().fromBinary(bytes, options);
1954
+ }
1955
+ static fromJson(jsonValue, options) {
1956
+ return new UpdateFederatedGraphResponse().fromJson(jsonValue, options);
1957
+ }
1958
+ static fromJsonString(jsonString, options) {
1959
+ return new UpdateFederatedGraphResponse().fromJsonString(jsonString, options);
1960
+ }
1961
+ static equals(a, b) {
1962
+ return proto3.util.equals(UpdateFederatedGraphResponse, a, b);
1963
+ }
1964
+ }
1965
+ /**
1966
+ * @generated from message wg.cosmo.platform.v1.CheckFederatedGraphRequest
1967
+ */
1968
+ export class CheckFederatedGraphRequest extends Message {
1969
+ /**
1970
+ * @generated from field: string name = 1;
1971
+ */
1972
+ name = "";
1973
+ /**
1974
+ * @generated from field: repeated string label_matchers = 2;
1975
+ */
1976
+ labelMatchers = [];
1977
+ constructor(data) {
1978
+ super();
1979
+ proto3.util.initPartial(data, this);
1980
+ }
1981
+ static runtime = proto3;
1982
+ static typeName = "wg.cosmo.platform.v1.CheckFederatedGraphRequest";
1983
+ static fields = proto3.util.newFieldList(() => [
1984
+ { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1985
+ { no: 2, name: "label_matchers", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
1986
+ ]);
1987
+ static fromBinary(bytes, options) {
1988
+ return new CheckFederatedGraphRequest().fromBinary(bytes, options);
1989
+ }
1990
+ static fromJson(jsonValue, options) {
1991
+ return new CheckFederatedGraphRequest().fromJson(jsonValue, options);
1992
+ }
1993
+ static fromJsonString(jsonString, options) {
1994
+ return new CheckFederatedGraphRequest().fromJsonString(jsonString, options);
1995
+ }
1996
+ static equals(a, b) {
1997
+ return proto3.util.equals(CheckFederatedGraphRequest, a, b);
1998
+ }
1999
+ }
2000
+ /**
2001
+ * @generated from message wg.cosmo.platform.v1.CheckFederatedGraphResponse
2002
+ */
2003
+ export class CheckFederatedGraphResponse extends Message {
2004
+ /**
2005
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
2006
+ */
2007
+ response;
2008
+ /**
2009
+ * @generated from field: repeated wg.cosmo.platform.v1.CompositionError compositionErrors = 2;
2010
+ */
2011
+ compositionErrors = [];
2012
+ /**
2013
+ * @generated from field: repeated wg.cosmo.platform.v1.Subgraph subgraphs = 3;
2014
+ */
2015
+ subgraphs = [];
2016
+ constructor(data) {
2017
+ super();
2018
+ proto3.util.initPartial(data, this);
2019
+ }
2020
+ static runtime = proto3;
2021
+ static typeName = "wg.cosmo.platform.v1.CheckFederatedGraphResponse";
2022
+ static fields = proto3.util.newFieldList(() => [
2023
+ { no: 1, name: "response", kind: "message", T: Response },
2024
+ { no: 2, name: "compositionErrors", kind: "message", T: CompositionError, repeated: true },
2025
+ { no: 3, name: "subgraphs", kind: "message", T: Subgraph, repeated: true },
2026
+ ]);
2027
+ static fromBinary(bytes, options) {
2028
+ return new CheckFederatedGraphResponse().fromBinary(bytes, options);
2029
+ }
2030
+ static fromJson(jsonValue, options) {
2031
+ return new CheckFederatedGraphResponse().fromJson(jsonValue, options);
2032
+ }
2033
+ static fromJsonString(jsonString, options) {
2034
+ return new CheckFederatedGraphResponse().fromJsonString(jsonString, options);
2035
+ }
2036
+ static equals(a, b) {
2037
+ return proto3.util.equals(CheckFederatedGraphResponse, a, b);
2038
+ }
2039
+ }
2040
+ /**
2041
+ * @generated from message wg.cosmo.platform.v1.Pagination
2042
+ */
2043
+ export class Pagination extends Message {
2044
+ /**
2045
+ * @generated from field: int32 limit = 1;
2046
+ */
2047
+ limit = 0;
2048
+ /**
2049
+ * @generated from field: int32 offset = 2;
2050
+ */
2051
+ offset = 0;
2052
+ constructor(data) {
2053
+ super();
2054
+ proto3.util.initPartial(data, this);
2055
+ }
2056
+ static runtime = proto3;
2057
+ static typeName = "wg.cosmo.platform.v1.Pagination";
2058
+ static fields = proto3.util.newFieldList(() => [
2059
+ { no: 1, name: "limit", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
2060
+ { no: 2, name: "offset", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
2061
+ ]);
2062
+ static fromBinary(bytes, options) {
2063
+ return new Pagination().fromBinary(bytes, options);
2064
+ }
2065
+ static fromJson(jsonValue, options) {
2066
+ return new Pagination().fromJson(jsonValue, options);
2067
+ }
2068
+ static fromJsonString(jsonString, options) {
2069
+ return new Pagination().fromJsonString(jsonString, options);
2070
+ }
2071
+ static equals(a, b) {
2072
+ return proto3.util.equals(Pagination, a, b);
2073
+ }
2074
+ }
2075
+ /**
2076
+ * @generated from message wg.cosmo.platform.v1.AnalyticsConfig
2077
+ */
2078
+ export class AnalyticsConfig extends Message {
2079
+ /**
2080
+ * @generated from field: wg.cosmo.platform.v1.AnalyticsDateRange date_range = 1;
2081
+ */
2082
+ dateRange;
2083
+ /**
2084
+ * @generated from field: repeated wg.cosmo.platform.v1.AnalyticsFilter filters = 2;
2085
+ */
2086
+ filters = [];
2087
+ /**
2088
+ * @generated from field: wg.cosmo.platform.v1.Pagination pagination = 3;
2089
+ */
2090
+ pagination;
2091
+ constructor(data) {
2092
+ super();
2093
+ proto3.util.initPartial(data, this);
2094
+ }
2095
+ static runtime = proto3;
2096
+ static typeName = "wg.cosmo.platform.v1.AnalyticsConfig";
2097
+ static fields = proto3.util.newFieldList(() => [
2098
+ { no: 1, name: "date_range", kind: "message", T: AnalyticsDateRange },
2099
+ { no: 2, name: "filters", kind: "message", T: AnalyticsFilter, repeated: true },
2100
+ { no: 3, name: "pagination", kind: "message", T: Pagination },
2101
+ ]);
2102
+ static fromBinary(bytes, options) {
2103
+ return new AnalyticsConfig().fromBinary(bytes, options);
2104
+ }
2105
+ static fromJson(jsonValue, options) {
2106
+ return new AnalyticsConfig().fromJson(jsonValue, options);
2107
+ }
2108
+ static fromJsonString(jsonString, options) {
2109
+ return new AnalyticsConfig().fromJsonString(jsonString, options);
2110
+ }
2111
+ static equals(a, b) {
2112
+ return proto3.util.equals(AnalyticsConfig, a, b);
2113
+ }
2114
+ }
2115
+ /**
2116
+ * @generated from message wg.cosmo.platform.v1.AnalyticsFilter
2117
+ */
2118
+ export class AnalyticsFilter extends Message {
2119
+ /**
2120
+ * The name of the column / attribute to filter on.
2121
+ *
2122
+ * @generated from field: string field = 1;
2123
+ */
2124
+ field = "";
2125
+ /**
2126
+ * The value to filter on.
2127
+ *
2128
+ * @generated from field: string value = 2;
2129
+ */
2130
+ value = "";
2131
+ /**
2132
+ * The operator to use for the filter.
2133
+ *
2134
+ * @generated from field: wg.cosmo.platform.v1.AnalyticsViewFilterOperator operator = 3;
2135
+ */
2136
+ operator = AnalyticsViewFilterOperator.EQUALS;
2137
+ constructor(data) {
2138
+ super();
2139
+ proto3.util.initPartial(data, this);
2140
+ }
2141
+ static runtime = proto3;
2142
+ static typeName = "wg.cosmo.platform.v1.AnalyticsFilter";
2143
+ static fields = proto3.util.newFieldList(() => [
2144
+ { no: 1, name: "field", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2145
+ { no: 2, name: "value", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2146
+ { no: 3, name: "operator", kind: "enum", T: proto3.getEnumType(AnalyticsViewFilterOperator) },
2147
+ ]);
2148
+ static fromBinary(bytes, options) {
2149
+ return new AnalyticsFilter().fromBinary(bytes, options);
2150
+ }
2151
+ static fromJson(jsonValue, options) {
2152
+ return new AnalyticsFilter().fromJson(jsonValue, options);
2153
+ }
2154
+ static fromJsonString(jsonString, options) {
2155
+ return new AnalyticsFilter().fromJsonString(jsonString, options);
2156
+ }
2157
+ static equals(a, b) {
2158
+ return proto3.util.equals(AnalyticsFilter, a, b);
2159
+ }
2160
+ }
2161
+ /**
2162
+ * @generated from message wg.cosmo.platform.v1.AnalyticsDateRange
2163
+ */
2164
+ export class AnalyticsDateRange extends Message {
2165
+ /**
2166
+ * The start date of the date range in ISO 8601 format.
2167
+ *
2168
+ * @generated from field: string start = 1;
2169
+ */
2170
+ start = "";
2171
+ /**
2172
+ * The end date of the date range in ISO 8601 format.
2173
+ *
2174
+ * @generated from field: string end = 2;
2175
+ */
2176
+ end = "";
2177
+ constructor(data) {
2178
+ super();
2179
+ proto3.util.initPartial(data, this);
2180
+ }
2181
+ static runtime = proto3;
2182
+ static typeName = "wg.cosmo.platform.v1.AnalyticsDateRange";
2183
+ static fields = proto3.util.newFieldList(() => [
2184
+ { no: 1, name: "start", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2185
+ { no: 2, name: "end", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2186
+ ]);
2187
+ static fromBinary(bytes, options) {
2188
+ return new AnalyticsDateRange().fromBinary(bytes, options);
2189
+ }
2190
+ static fromJson(jsonValue, options) {
2191
+ return new AnalyticsDateRange().fromJson(jsonValue, options);
2192
+ }
2193
+ static fromJsonString(jsonString, options) {
2194
+ return new AnalyticsDateRange().fromJsonString(jsonString, options);
2195
+ }
2196
+ static equals(a, b) {
2197
+ return proto3.util.equals(AnalyticsDateRange, a, b);
2198
+ }
2199
+ }
2200
+ /**
2201
+ * @generated from message wg.cosmo.platform.v1.GetAnalyticsViewRequest
2202
+ */
2203
+ export class GetAnalyticsViewRequest extends Message {
2204
+ /**
2205
+ * @generated from field: string federatedGraphName = 1;
2206
+ */
2207
+ federatedGraphName = "";
2208
+ /**
2209
+ * @generated from field: wg.cosmo.platform.v1.AnalyticsViewGroupName name = 2;
2210
+ */
2211
+ name = AnalyticsViewGroupName.None;
2212
+ /**
2213
+ * @generated from field: wg.cosmo.platform.v1.AnalyticsConfig config = 3;
2214
+ */
2215
+ config;
2216
+ constructor(data) {
2217
+ super();
2218
+ proto3.util.initPartial(data, this);
2219
+ }
2220
+ static runtime = proto3;
2221
+ static typeName = "wg.cosmo.platform.v1.GetAnalyticsViewRequest";
2222
+ static fields = proto3.util.newFieldList(() => [
2223
+ { no: 1, name: "federatedGraphName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2224
+ { no: 2, name: "name", kind: "enum", T: proto3.getEnumType(AnalyticsViewGroupName) },
2225
+ { no: 3, name: "config", kind: "message", T: AnalyticsConfig },
2226
+ ]);
2227
+ static fromBinary(bytes, options) {
2228
+ return new GetAnalyticsViewRequest().fromBinary(bytes, options);
2229
+ }
2230
+ static fromJson(jsonValue, options) {
2231
+ return new GetAnalyticsViewRequest().fromJson(jsonValue, options);
2232
+ }
2233
+ static fromJsonString(jsonString, options) {
2234
+ return new GetAnalyticsViewRequest().fromJsonString(jsonString, options);
2235
+ }
2236
+ static equals(a, b) {
2237
+ return proto3.util.equals(GetAnalyticsViewRequest, a, b);
2238
+ }
2239
+ }
2240
+ /**
2241
+ * @generated from message wg.cosmo.platform.v1.AnalyticsViewResult
2242
+ */
2243
+ export class AnalyticsViewResult extends Message {
2244
+ /**
2245
+ * @generated from field: repeated wg.cosmo.platform.v1.AnalyticsViewColumn columns = 1;
2246
+ */
2247
+ columns = [];
2248
+ /**
2249
+ * @generated from field: repeated wg.cosmo.platform.v1.AnalyticsViewRow rows = 2;
2250
+ */
2251
+ rows = [];
2252
+ /**
2253
+ * @generated from field: repeated wg.cosmo.platform.v1.AnalyticsViewResultFilter filters = 3;
2254
+ */
2255
+ filters = [];
2256
+ /**
2257
+ * @generated from field: int32 pages = 4;
2258
+ */
2259
+ pages = 0;
2260
+ constructor(data) {
2261
+ super();
2262
+ proto3.util.initPartial(data, this);
2263
+ }
2264
+ static runtime = proto3;
2265
+ static typeName = "wg.cosmo.platform.v1.AnalyticsViewResult";
2266
+ static fields = proto3.util.newFieldList(() => [
2267
+ { no: 1, name: "columns", kind: "message", T: AnalyticsViewColumn, repeated: true },
2268
+ { no: 2, name: "rows", kind: "message", T: AnalyticsViewRow, repeated: true },
2269
+ { no: 3, name: "filters", kind: "message", T: AnalyticsViewResultFilter, repeated: true },
2270
+ { no: 4, name: "pages", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
2271
+ ]);
2272
+ static fromBinary(bytes, options) {
2273
+ return new AnalyticsViewResult().fromBinary(bytes, options);
2274
+ }
2275
+ static fromJson(jsonValue, options) {
2276
+ return new AnalyticsViewResult().fromJson(jsonValue, options);
2277
+ }
2278
+ static fromJsonString(jsonString, options) {
2279
+ return new AnalyticsViewResult().fromJsonString(jsonString, options);
2280
+ }
2281
+ static equals(a, b) {
2282
+ return proto3.util.equals(AnalyticsViewResult, a, b);
2283
+ }
2284
+ }
2285
+ /**
2286
+ * @generated from message wg.cosmo.platform.v1.AnalyticsViewColumn
2287
+ */
2288
+ export class AnalyticsViewColumn extends Message {
2289
+ /**
2290
+ * @generated from field: string name = 1;
2291
+ */
2292
+ name = "";
2293
+ /**
2294
+ * @generated from field: string title = 2;
2295
+ */
2296
+ title = "";
2297
+ /**
2298
+ * @generated from field: string type = 3;
2299
+ */
2300
+ type = "";
2301
+ /**
2302
+ * @generated from field: optional wg.cosmo.platform.v1.Unit unit = 4;
2303
+ */
2304
+ unit;
2305
+ /**
2306
+ * @generated from field: optional bool is_hidden = 5;
2307
+ */
2308
+ isHidden;
2309
+ /**
2310
+ * @generated from field: optional bool is_cta = 6;
2311
+ */
2312
+ isCta;
2313
+ constructor(data) {
2314
+ super();
2315
+ proto3.util.initPartial(data, this);
2316
+ }
2317
+ static runtime = proto3;
2318
+ static typeName = "wg.cosmo.platform.v1.AnalyticsViewColumn";
2319
+ static fields = proto3.util.newFieldList(() => [
2320
+ { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2321
+ { no: 2, name: "title", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2322
+ { no: 3, name: "type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2323
+ { no: 4, name: "unit", kind: "enum", T: proto3.getEnumType(Unit), opt: true },
2324
+ { no: 5, name: "is_hidden", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
2325
+ { no: 6, name: "is_cta", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
2326
+ ]);
2327
+ static fromBinary(bytes, options) {
2328
+ return new AnalyticsViewColumn().fromBinary(bytes, options);
2329
+ }
2330
+ static fromJson(jsonValue, options) {
2331
+ return new AnalyticsViewColumn().fromJson(jsonValue, options);
2332
+ }
2333
+ static fromJsonString(jsonString, options) {
2334
+ return new AnalyticsViewColumn().fromJsonString(jsonString, options);
2335
+ }
2336
+ static equals(a, b) {
2337
+ return proto3.util.equals(AnalyticsViewColumn, a, b);
2338
+ }
2339
+ }
2340
+ /**
2341
+ * @generated from message wg.cosmo.platform.v1.AnalyticsViewResultFilter
2342
+ */
2343
+ export class AnalyticsViewResultFilter extends Message {
2344
+ /**
2345
+ * @generated from field: string columnName = 1;
2346
+ */
2347
+ columnName = "";
2348
+ /**
2349
+ * @generated from field: string title = 2;
2350
+ */
2351
+ title = "";
2352
+ /**
2353
+ * @generated from field: repeated wg.cosmo.platform.v1.AnalyticsViewResultFilterOption options = 3;
2354
+ */
2355
+ options = [];
2356
+ constructor(data) {
2357
+ super();
2358
+ proto3.util.initPartial(data, this);
2359
+ }
2360
+ static runtime = proto3;
2361
+ static typeName = "wg.cosmo.platform.v1.AnalyticsViewResultFilter";
2362
+ static fields = proto3.util.newFieldList(() => [
2363
+ { no: 1, name: "columnName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2364
+ { no: 2, name: "title", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2365
+ { no: 3, name: "options", kind: "message", T: AnalyticsViewResultFilterOption, repeated: true },
2366
+ ]);
2367
+ static fromBinary(bytes, options) {
2368
+ return new AnalyticsViewResultFilter().fromBinary(bytes, options);
2369
+ }
2370
+ static fromJson(jsonValue, options) {
2371
+ return new AnalyticsViewResultFilter().fromJson(jsonValue, options);
2372
+ }
2373
+ static fromJsonString(jsonString, options) {
2374
+ return new AnalyticsViewResultFilter().fromJsonString(jsonString, options);
2375
+ }
2376
+ static equals(a, b) {
2377
+ return proto3.util.equals(AnalyticsViewResultFilter, a, b);
2378
+ }
2379
+ }
2380
+ /**
2381
+ * @generated from message wg.cosmo.platform.v1.AnalyticsViewResultFilterOption
2382
+ */
2383
+ export class AnalyticsViewResultFilterOption extends Message {
2384
+ /**
2385
+ * @generated from field: string label = 1;
2386
+ */
2387
+ label = "";
2388
+ /**
2389
+ * @generated from field: optional string value = 2;
2390
+ */
2391
+ value;
2392
+ /**
2393
+ * @generated from field: wg.cosmo.platform.v1.AnalyticsViewFilterOperator operator = 3;
2394
+ */
2395
+ operator = AnalyticsViewFilterOperator.EQUALS;
2396
+ constructor(data) {
2397
+ super();
2398
+ proto3.util.initPartial(data, this);
2399
+ }
2400
+ static runtime = proto3;
2401
+ static typeName = "wg.cosmo.platform.v1.AnalyticsViewResultFilterOption";
2402
+ static fields = proto3.util.newFieldList(() => [
2403
+ { no: 1, name: "label", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2404
+ { no: 2, name: "value", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
2405
+ { no: 3, name: "operator", kind: "enum", T: proto3.getEnumType(AnalyticsViewFilterOperator) },
2406
+ ]);
2407
+ static fromBinary(bytes, options) {
2408
+ return new AnalyticsViewResultFilterOption().fromBinary(bytes, options);
2409
+ }
2410
+ static fromJson(jsonValue, options) {
2411
+ return new AnalyticsViewResultFilterOption().fromJson(jsonValue, options);
2412
+ }
2413
+ static fromJsonString(jsonString, options) {
2414
+ return new AnalyticsViewResultFilterOption().fromJsonString(jsonString, options);
2415
+ }
2416
+ static equals(a, b) {
2417
+ return proto3.util.equals(AnalyticsViewResultFilterOption, a, b);
2418
+ }
2419
+ }
2420
+ /**
2421
+ * @generated from message wg.cosmo.platform.v1.AnalyticsViewRow
2422
+ */
2423
+ export class AnalyticsViewRow extends Message {
2424
+ /**
2425
+ * @generated from field: map<string, wg.cosmo.platform.v1.AnalyticsViewRowValue> value = 1;
2426
+ */
2427
+ value = {};
2428
+ constructor(data) {
2429
+ super();
2430
+ proto3.util.initPartial(data, this);
2431
+ }
2432
+ static runtime = proto3;
2433
+ static typeName = "wg.cosmo.platform.v1.AnalyticsViewRow";
2434
+ static fields = proto3.util.newFieldList(() => [
2435
+ { no: 1, name: "value", kind: "map", K: 9 /* ScalarType.STRING */, V: { kind: "message", T: AnalyticsViewRowValue } },
2436
+ ]);
2437
+ static fromBinary(bytes, options) {
2438
+ return new AnalyticsViewRow().fromBinary(bytes, options);
2439
+ }
2440
+ static fromJson(jsonValue, options) {
2441
+ return new AnalyticsViewRow().fromJson(jsonValue, options);
2442
+ }
2443
+ static fromJsonString(jsonString, options) {
2444
+ return new AnalyticsViewRow().fromJsonString(jsonString, options);
2445
+ }
2446
+ static equals(a, b) {
2447
+ return proto3.util.equals(AnalyticsViewRow, a, b);
2448
+ }
2449
+ }
2450
+ /**
2451
+ * @generated from message wg.cosmo.platform.v1.AnalyticsViewRowValue
2452
+ */
2453
+ export class AnalyticsViewRowValue extends Message {
2454
+ /**
2455
+ * The kind of value.
2456
+ *
2457
+ * @generated from oneof wg.cosmo.platform.v1.AnalyticsViewRowValue.kind
2458
+ */
2459
+ kind = { case: undefined };
2460
+ constructor(data) {
2461
+ super();
2462
+ proto3.util.initPartial(data, this);
2463
+ }
2464
+ static runtime = proto3;
2465
+ static typeName = "wg.cosmo.platform.v1.AnalyticsViewRowValue";
2466
+ static fields = proto3.util.newFieldList(() => [
2467
+ { no: 1, name: "number_value", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, oneof: "kind" },
2468
+ { no: 2, name: "string_value", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "kind" },
2469
+ { no: 3, name: "bool_value", kind: "scalar", T: 8 /* ScalarType.BOOL */, oneof: "kind" },
2470
+ ]);
2471
+ static fromBinary(bytes, options) {
2472
+ return new AnalyticsViewRowValue().fromBinary(bytes, options);
2473
+ }
2474
+ static fromJson(jsonValue, options) {
2475
+ return new AnalyticsViewRowValue().fromJson(jsonValue, options);
2476
+ }
2477
+ static fromJsonString(jsonString, options) {
2478
+ return new AnalyticsViewRowValue().fromJsonString(jsonString, options);
2479
+ }
2480
+ static equals(a, b) {
2481
+ return proto3.util.equals(AnalyticsViewRowValue, a, b);
2482
+ }
2483
+ }
2484
+ /**
2485
+ * @generated from message wg.cosmo.platform.v1.GetAnalyticsViewResponse
2486
+ */
2487
+ export class GetAnalyticsViewResponse extends Message {
2488
+ /**
2489
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
2490
+ */
2491
+ response;
2492
+ /**
2493
+ * @generated from field: wg.cosmo.platform.v1.AnalyticsViewResult view = 2;
2494
+ */
2495
+ view;
2496
+ constructor(data) {
2497
+ super();
2498
+ proto3.util.initPartial(data, this);
2499
+ }
2500
+ static runtime = proto3;
2501
+ static typeName = "wg.cosmo.platform.v1.GetAnalyticsViewResponse";
2502
+ static fields = proto3.util.newFieldList(() => [
2503
+ { no: 1, name: "response", kind: "message", T: Response },
2504
+ { no: 2, name: "view", kind: "message", T: AnalyticsViewResult },
2505
+ ]);
2506
+ static fromBinary(bytes, options) {
2507
+ return new GetAnalyticsViewResponse().fromBinary(bytes, options);
2508
+ }
2509
+ static fromJson(jsonValue, options) {
2510
+ return new GetAnalyticsViewResponse().fromJson(jsonValue, options);
2511
+ }
2512
+ static fromJsonString(jsonString, options) {
2513
+ return new GetAnalyticsViewResponse().fromJsonString(jsonString, options);
2514
+ }
2515
+ static equals(a, b) {
2516
+ return proto3.util.equals(GetAnalyticsViewResponse, a, b);
2517
+ }
2518
+ }
2519
+ /**
2520
+ * @generated from message wg.cosmo.platform.v1.GetDashboardAnalyticsViewRequest
2521
+ */
2522
+ export class GetDashboardAnalyticsViewRequest extends Message {
2523
+ /**
2524
+ * @generated from field: string federatedGraphName = 1;
2525
+ */
2526
+ federatedGraphName = "";
2527
+ constructor(data) {
2528
+ super();
2529
+ proto3.util.initPartial(data, this);
2530
+ }
2531
+ static runtime = proto3;
2532
+ static typeName = "wg.cosmo.platform.v1.GetDashboardAnalyticsViewRequest";
2533
+ static fields = proto3.util.newFieldList(() => [
2534
+ { no: 1, name: "federatedGraphName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2535
+ ]);
2536
+ static fromBinary(bytes, options) {
2537
+ return new GetDashboardAnalyticsViewRequest().fromBinary(bytes, options);
2538
+ }
2539
+ static fromJson(jsonValue, options) {
2540
+ return new GetDashboardAnalyticsViewRequest().fromJson(jsonValue, options);
2541
+ }
2542
+ static fromJsonString(jsonString, options) {
2543
+ return new GetDashboardAnalyticsViewRequest().fromJsonString(jsonString, options);
2544
+ }
2545
+ static equals(a, b) {
2546
+ return proto3.util.equals(GetDashboardAnalyticsViewRequest, a, b);
2547
+ }
2548
+ }
2549
+ /**
2550
+ * @generated from message wg.cosmo.platform.v1.RequestSeriesItem
2551
+ */
2552
+ export class RequestSeriesItem extends Message {
2553
+ /**
2554
+ * @generated from field: string timestamp = 1;
2555
+ */
2556
+ timestamp = "";
2557
+ /**
2558
+ * @generated from field: int32 totalRequests = 2;
2559
+ */
2560
+ totalRequests = 0;
2561
+ /**
2562
+ * @generated from field: int32 erroredRequests = 3;
2563
+ */
2564
+ erroredRequests = 0;
2565
+ constructor(data) {
2566
+ super();
2567
+ proto3.util.initPartial(data, this);
2568
+ }
2569
+ static runtime = proto3;
2570
+ static typeName = "wg.cosmo.platform.v1.RequestSeriesItem";
2571
+ static fields = proto3.util.newFieldList(() => [
2572
+ { no: 1, name: "timestamp", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2573
+ { no: 2, name: "totalRequests", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
2574
+ { no: 3, name: "erroredRequests", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
2575
+ ]);
2576
+ static fromBinary(bytes, options) {
2577
+ return new RequestSeriesItem().fromBinary(bytes, options);
2578
+ }
2579
+ static fromJson(jsonValue, options) {
2580
+ return new RequestSeriesItem().fromJson(jsonValue, options);
2581
+ }
2582
+ static fromJsonString(jsonString, options) {
2583
+ return new RequestSeriesItem().fromJsonString(jsonString, options);
2584
+ }
2585
+ static equals(a, b) {
2586
+ return proto3.util.equals(RequestSeriesItem, a, b);
2587
+ }
2588
+ }
2589
+ /**
2590
+ * @generated from message wg.cosmo.platform.v1.OperationRequestCount
2591
+ */
2592
+ export class OperationRequestCount extends Message {
2593
+ /**
2594
+ * @generated from field: string operationName = 1;
2595
+ */
2596
+ operationName = "";
2597
+ /**
2598
+ * @generated from field: int32 totalRequests = 2;
2599
+ */
2600
+ totalRequests = 0;
2601
+ constructor(data) {
2602
+ super();
2603
+ proto3.util.initPartial(data, this);
2604
+ }
2605
+ static runtime = proto3;
2606
+ static typeName = "wg.cosmo.platform.v1.OperationRequestCount";
2607
+ static fields = proto3.util.newFieldList(() => [
2608
+ { no: 1, name: "operationName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2609
+ { no: 2, name: "totalRequests", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
2610
+ ]);
2611
+ static fromBinary(bytes, options) {
2612
+ return new OperationRequestCount().fromBinary(bytes, options);
2613
+ }
2614
+ static fromJson(jsonValue, options) {
2615
+ return new OperationRequestCount().fromJson(jsonValue, options);
2616
+ }
2617
+ static fromJsonString(jsonString, options) {
2618
+ return new OperationRequestCount().fromJsonString(jsonString, options);
2619
+ }
2620
+ static equals(a, b) {
2621
+ return proto3.util.equals(OperationRequestCount, a, b);
2622
+ }
2623
+ }
2624
+ /**
2625
+ * @generated from message wg.cosmo.platform.v1.GetDashboardAnalyticsViewResponse
2626
+ */
2627
+ export class GetDashboardAnalyticsViewResponse extends Message {
2628
+ /**
2629
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
2630
+ */
2631
+ response;
2632
+ /**
2633
+ * @generated from field: repeated wg.cosmo.platform.v1.RequestSeriesItem requestSeries = 2;
2634
+ */
2635
+ requestSeries = [];
2636
+ /**
2637
+ * @generated from field: repeated wg.cosmo.platform.v1.OperationRequestCount mostRequestedOperations = 3;
2638
+ */
2639
+ mostRequestedOperations = [];
2640
+ constructor(data) {
2641
+ super();
2642
+ proto3.util.initPartial(data, this);
2643
+ }
2644
+ static runtime = proto3;
2645
+ static typeName = "wg.cosmo.platform.v1.GetDashboardAnalyticsViewResponse";
2646
+ static fields = proto3.util.newFieldList(() => [
2647
+ { no: 1, name: "response", kind: "message", T: Response },
2648
+ { no: 2, name: "requestSeries", kind: "message", T: RequestSeriesItem, repeated: true },
2649
+ { no: 3, name: "mostRequestedOperations", kind: "message", T: OperationRequestCount, repeated: true },
2650
+ ]);
2651
+ static fromBinary(bytes, options) {
2652
+ return new GetDashboardAnalyticsViewResponse().fromBinary(bytes, options);
2653
+ }
2654
+ static fromJson(jsonValue, options) {
2655
+ return new GetDashboardAnalyticsViewResponse().fromJson(jsonValue, options);
2656
+ }
2657
+ static fromJsonString(jsonString, options) {
2658
+ return new GetDashboardAnalyticsViewResponse().fromJsonString(jsonString, options);
2659
+ }
2660
+ static equals(a, b) {
2661
+ return proto3.util.equals(GetDashboardAnalyticsViewResponse, a, b);
2662
+ }
2663
+ }
2664
+ /**
2665
+ * @generated from message wg.cosmo.platform.v1.CreateFederatedGraphTokenRequest
2666
+ */
2667
+ export class CreateFederatedGraphTokenRequest extends Message {
2668
+ /**
2669
+ * @generated from field: string graphName = 1;
2670
+ */
2671
+ graphName = "";
2672
+ /**
2673
+ * @generated from field: string tokenName = 2;
2674
+ */
2675
+ tokenName = "";
2676
+ constructor(data) {
2677
+ super();
2678
+ proto3.util.initPartial(data, this);
2679
+ }
2680
+ static runtime = proto3;
2681
+ static typeName = "wg.cosmo.platform.v1.CreateFederatedGraphTokenRequest";
2682
+ static fields = proto3.util.newFieldList(() => [
2683
+ { no: 1, name: "graphName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2684
+ { no: 2, name: "tokenName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2685
+ ]);
2686
+ static fromBinary(bytes, options) {
2687
+ return new CreateFederatedGraphTokenRequest().fromBinary(bytes, options);
2688
+ }
2689
+ static fromJson(jsonValue, options) {
2690
+ return new CreateFederatedGraphTokenRequest().fromJson(jsonValue, options);
2691
+ }
2692
+ static fromJsonString(jsonString, options) {
2693
+ return new CreateFederatedGraphTokenRequest().fromJsonString(jsonString, options);
2694
+ }
2695
+ static equals(a, b) {
2696
+ return proto3.util.equals(CreateFederatedGraphTokenRequest, a, b);
2697
+ }
2698
+ }
2699
+ /**
2700
+ * @generated from message wg.cosmo.platform.v1.CreateFederatedGraphTokenResponse
2701
+ */
2702
+ export class CreateFederatedGraphTokenResponse extends Message {
2703
+ /**
2704
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
2705
+ */
2706
+ response;
2707
+ /**
2708
+ * @generated from field: string token = 2;
2709
+ */
2710
+ token = "";
2711
+ constructor(data) {
2712
+ super();
2713
+ proto3.util.initPartial(data, this);
2714
+ }
2715
+ static runtime = proto3;
2716
+ static typeName = "wg.cosmo.platform.v1.CreateFederatedGraphTokenResponse";
2717
+ static fields = proto3.util.newFieldList(() => [
2718
+ { no: 1, name: "response", kind: "message", T: Response },
2719
+ { no: 2, name: "token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2720
+ ]);
2721
+ static fromBinary(bytes, options) {
2722
+ return new CreateFederatedGraphTokenResponse().fromBinary(bytes, options);
2723
+ }
2724
+ static fromJson(jsonValue, options) {
2725
+ return new CreateFederatedGraphTokenResponse().fromJson(jsonValue, options);
2726
+ }
2727
+ static fromJsonString(jsonString, options) {
2728
+ return new CreateFederatedGraphTokenResponse().fromJsonString(jsonString, options);
2729
+ }
2730
+ static equals(a, b) {
2731
+ return proto3.util.equals(CreateFederatedGraphTokenResponse, a, b);
2732
+ }
2733
+ }
2734
+ /**
2735
+ * @generated from message wg.cosmo.platform.v1.User
2736
+ */
2737
+ export class User extends Message {
2738
+ /**
2739
+ * @generated from field: string id = 1;
2740
+ */
2741
+ id = "";
2742
+ /**
2743
+ * @generated from field: string email = 2;
2744
+ */
2745
+ email = "";
2746
+ /**
2747
+ * @generated from field: bool acceptedInvite = 3;
2748
+ */
2749
+ acceptedInvite = false;
2750
+ /**
2751
+ * @generated from field: repeated string roles = 4;
2752
+ */
2753
+ roles = [];
2754
+ constructor(data) {
2755
+ super();
2756
+ proto3.util.initPartial(data, this);
2757
+ }
2758
+ static runtime = proto3;
2759
+ static typeName = "wg.cosmo.platform.v1.User";
2760
+ static fields = proto3.util.newFieldList(() => [
2761
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2762
+ { no: 2, name: "email", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2763
+ { no: 3, name: "acceptedInvite", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
2764
+ { no: 4, name: "roles", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
2765
+ ]);
2766
+ static fromBinary(bytes, options) {
2767
+ return new User().fromBinary(bytes, options);
2768
+ }
2769
+ static fromJson(jsonValue, options) {
2770
+ return new User().fromJson(jsonValue, options);
2771
+ }
2772
+ static fromJsonString(jsonString, options) {
2773
+ return new User().fromJsonString(jsonString, options);
2774
+ }
2775
+ static equals(a, b) {
2776
+ return proto3.util.equals(User, a, b);
2777
+ }
2778
+ }
2779
+ /**
2780
+ * @generated from message wg.cosmo.platform.v1.GetOrganizationMembersRequest
2781
+ */
2782
+ export class GetOrganizationMembersRequest extends Message {
2783
+ constructor(data) {
2784
+ super();
2785
+ proto3.util.initPartial(data, this);
2786
+ }
2787
+ static runtime = proto3;
2788
+ static typeName = "wg.cosmo.platform.v1.GetOrganizationMembersRequest";
2789
+ static fields = proto3.util.newFieldList(() => []);
2790
+ static fromBinary(bytes, options) {
2791
+ return new GetOrganizationMembersRequest().fromBinary(bytes, options);
2792
+ }
2793
+ static fromJson(jsonValue, options) {
2794
+ return new GetOrganizationMembersRequest().fromJson(jsonValue, options);
2795
+ }
2796
+ static fromJsonString(jsonString, options) {
2797
+ return new GetOrganizationMembersRequest().fromJsonString(jsonString, options);
2798
+ }
2799
+ static equals(a, b) {
2800
+ return proto3.util.equals(GetOrganizationMembersRequest, a, b);
2801
+ }
2802
+ }
2803
+ /**
2804
+ * @generated from message wg.cosmo.platform.v1.GetOrganizationMembersResponse
2805
+ */
2806
+ export class GetOrganizationMembersResponse extends Message {
2807
+ /**
2808
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
2809
+ */
2810
+ response;
2811
+ /**
2812
+ * @generated from field: repeated wg.cosmo.platform.v1.User members = 2;
2813
+ */
2814
+ members = [];
2815
+ constructor(data) {
2816
+ super();
2817
+ proto3.util.initPartial(data, this);
2818
+ }
2819
+ static runtime = proto3;
2820
+ static typeName = "wg.cosmo.platform.v1.GetOrganizationMembersResponse";
2821
+ static fields = proto3.util.newFieldList(() => [
2822
+ { no: 1, name: "response", kind: "message", T: Response },
2823
+ { no: 2, name: "members", kind: "message", T: User, repeated: true },
2824
+ ]);
2825
+ static fromBinary(bytes, options) {
2826
+ return new GetOrganizationMembersResponse().fromBinary(bytes, options);
2827
+ }
2828
+ static fromJson(jsonValue, options) {
2829
+ return new GetOrganizationMembersResponse().fromJson(jsonValue, options);
2830
+ }
2831
+ static fromJsonString(jsonString, options) {
2832
+ return new GetOrganizationMembersResponse().fromJsonString(jsonString, options);
2833
+ }
2834
+ static equals(a, b) {
2835
+ return proto3.util.equals(GetOrganizationMembersResponse, a, b);
2836
+ }
2837
+ }
2838
+ /**
2839
+ * @generated from message wg.cosmo.platform.v1.InviteUserRequest
2840
+ */
2841
+ export class InviteUserRequest extends Message {
2842
+ /**
2843
+ * @generated from field: string email = 1;
2844
+ */
2845
+ email = "";
2846
+ constructor(data) {
2847
+ super();
2848
+ proto3.util.initPartial(data, this);
2849
+ }
2850
+ static runtime = proto3;
2851
+ static typeName = "wg.cosmo.platform.v1.InviteUserRequest";
2852
+ static fields = proto3.util.newFieldList(() => [
2853
+ { no: 1, name: "email", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2854
+ ]);
2855
+ static fromBinary(bytes, options) {
2856
+ return new InviteUserRequest().fromBinary(bytes, options);
2857
+ }
2858
+ static fromJson(jsonValue, options) {
2859
+ return new InviteUserRequest().fromJson(jsonValue, options);
2860
+ }
2861
+ static fromJsonString(jsonString, options) {
2862
+ return new InviteUserRequest().fromJsonString(jsonString, options);
2863
+ }
2864
+ static equals(a, b) {
2865
+ return proto3.util.equals(InviteUserRequest, a, b);
2866
+ }
2867
+ }
2868
+ /**
2869
+ * @generated from message wg.cosmo.platform.v1.InviteUserResponse
2870
+ */
2871
+ export class InviteUserResponse extends Message {
2872
+ /**
2873
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
2874
+ */
2875
+ response;
2876
+ constructor(data) {
2877
+ super();
2878
+ proto3.util.initPartial(data, this);
2879
+ }
2880
+ static runtime = proto3;
2881
+ static typeName = "wg.cosmo.platform.v1.InviteUserResponse";
2882
+ static fields = proto3.util.newFieldList(() => [
2883
+ { no: 1, name: "response", kind: "message", T: Response },
2884
+ ]);
2885
+ static fromBinary(bytes, options) {
2886
+ return new InviteUserResponse().fromBinary(bytes, options);
2887
+ }
2888
+ static fromJson(jsonValue, options) {
2889
+ return new InviteUserResponse().fromJson(jsonValue, options);
2890
+ }
2891
+ static fromJsonString(jsonString, options) {
2892
+ return new InviteUserResponse().fromJsonString(jsonString, options);
2893
+ }
2894
+ static equals(a, b) {
2895
+ return proto3.util.equals(InviteUserResponse, a, b);
2896
+ }
2897
+ }
2898
+ /**
2899
+ * @generated from message wg.cosmo.platform.v1.APIKey
2900
+ */
2901
+ export class APIKey extends Message {
2902
+ /**
2903
+ * @generated from field: string id = 1;
2904
+ */
2905
+ id = "";
2906
+ /**
2907
+ * @generated from field: string name = 2;
2908
+ */
2909
+ name = "";
2910
+ /**
2911
+ * @generated from field: string createdBy = 3;
2912
+ */
2913
+ createdBy = "";
2914
+ /**
2915
+ * @generated from field: string createdAt = 4;
2916
+ */
2917
+ createdAt = "";
2918
+ /**
2919
+ * @generated from field: string lastUsedAt = 5;
2920
+ */
2921
+ lastUsedAt = "";
2922
+ /**
2923
+ * @generated from field: string expiresAt = 6;
2924
+ */
2925
+ expiresAt = "";
2926
+ constructor(data) {
2927
+ super();
2928
+ proto3.util.initPartial(data, this);
2929
+ }
2930
+ static runtime = proto3;
2931
+ static typeName = "wg.cosmo.platform.v1.APIKey";
2932
+ static fields = proto3.util.newFieldList(() => [
2933
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2934
+ { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2935
+ { no: 3, name: "createdBy", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2936
+ { no: 4, name: "createdAt", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2937
+ { no: 5, name: "lastUsedAt", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2938
+ { no: 6, name: "expiresAt", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2939
+ ]);
2940
+ static fromBinary(bytes, options) {
2941
+ return new APIKey().fromBinary(bytes, options);
2942
+ }
2943
+ static fromJson(jsonValue, options) {
2944
+ return new APIKey().fromJson(jsonValue, options);
2945
+ }
2946
+ static fromJsonString(jsonString, options) {
2947
+ return new APIKey().fromJsonString(jsonString, options);
2948
+ }
2949
+ static equals(a, b) {
2950
+ return proto3.util.equals(APIKey, a, b);
2951
+ }
2952
+ }
2953
+ /**
2954
+ * @generated from message wg.cosmo.platform.v1.GetAPIKeysRequest
2955
+ */
2956
+ export class GetAPIKeysRequest extends Message {
2957
+ constructor(data) {
2958
+ super();
2959
+ proto3.util.initPartial(data, this);
2960
+ }
2961
+ static runtime = proto3;
2962
+ static typeName = "wg.cosmo.platform.v1.GetAPIKeysRequest";
2963
+ static fields = proto3.util.newFieldList(() => []);
2964
+ static fromBinary(bytes, options) {
2965
+ return new GetAPIKeysRequest().fromBinary(bytes, options);
2966
+ }
2967
+ static fromJson(jsonValue, options) {
2968
+ return new GetAPIKeysRequest().fromJson(jsonValue, options);
2969
+ }
2970
+ static fromJsonString(jsonString, options) {
2971
+ return new GetAPIKeysRequest().fromJsonString(jsonString, options);
2972
+ }
2973
+ static equals(a, b) {
2974
+ return proto3.util.equals(GetAPIKeysRequest, a, b);
2975
+ }
2976
+ }
2977
+ /**
2978
+ * @generated from message wg.cosmo.platform.v1.GetAPIKeysResponse
2979
+ */
2980
+ export class GetAPIKeysResponse extends Message {
2981
+ /**
2982
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
2983
+ */
2984
+ response;
2985
+ /**
2986
+ * @generated from field: repeated wg.cosmo.platform.v1.APIKey apiKeys = 2;
2987
+ */
2988
+ apiKeys = [];
2989
+ constructor(data) {
2990
+ super();
2991
+ proto3.util.initPartial(data, this);
2992
+ }
2993
+ static runtime = proto3;
2994
+ static typeName = "wg.cosmo.platform.v1.GetAPIKeysResponse";
2995
+ static fields = proto3.util.newFieldList(() => [
2996
+ { no: 1, name: "response", kind: "message", T: Response },
2997
+ { no: 2, name: "apiKeys", kind: "message", T: APIKey, repeated: true },
2998
+ ]);
2999
+ static fromBinary(bytes, options) {
3000
+ return new GetAPIKeysResponse().fromBinary(bytes, options);
3001
+ }
3002
+ static fromJson(jsonValue, options) {
3003
+ return new GetAPIKeysResponse().fromJson(jsonValue, options);
3004
+ }
3005
+ static fromJsonString(jsonString, options) {
3006
+ return new GetAPIKeysResponse().fromJsonString(jsonString, options);
3007
+ }
3008
+ static equals(a, b) {
3009
+ return proto3.util.equals(GetAPIKeysResponse, a, b);
3010
+ }
3011
+ }
3012
+ /**
3013
+ * @generated from message wg.cosmo.platform.v1.CreateAPIKeyRequest
3014
+ */
3015
+ export class CreateAPIKeyRequest extends Message {
3016
+ /**
3017
+ * @generated from field: string name = 1;
3018
+ */
3019
+ name = "";
3020
+ /**
3021
+ * @generated from field: string userID = 2;
3022
+ */
3023
+ userID = "";
3024
+ /**
3025
+ * @generated from field: wg.cosmo.platform.v1.ExpiresAt expires = 3;
3026
+ */
3027
+ expires = ExpiresAt.NEVER;
3028
+ constructor(data) {
3029
+ super();
3030
+ proto3.util.initPartial(data, this);
3031
+ }
3032
+ static runtime = proto3;
3033
+ static typeName = "wg.cosmo.platform.v1.CreateAPIKeyRequest";
3034
+ static fields = proto3.util.newFieldList(() => [
3035
+ { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3036
+ { no: 2, name: "userID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3037
+ { no: 3, name: "expires", kind: "enum", T: proto3.getEnumType(ExpiresAt) },
3038
+ ]);
3039
+ static fromBinary(bytes, options) {
3040
+ return new CreateAPIKeyRequest().fromBinary(bytes, options);
3041
+ }
3042
+ static fromJson(jsonValue, options) {
3043
+ return new CreateAPIKeyRequest().fromJson(jsonValue, options);
3044
+ }
3045
+ static fromJsonString(jsonString, options) {
3046
+ return new CreateAPIKeyRequest().fromJsonString(jsonString, options);
3047
+ }
3048
+ static equals(a, b) {
3049
+ return proto3.util.equals(CreateAPIKeyRequest, a, b);
3050
+ }
3051
+ }
3052
+ /**
3053
+ * @generated from message wg.cosmo.platform.v1.CreateAPIKeyResponse
3054
+ */
3055
+ export class CreateAPIKeyResponse extends Message {
3056
+ /**
3057
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
3058
+ */
3059
+ response;
3060
+ /**
3061
+ * @generated from field: string apiKey = 2;
3062
+ */
3063
+ apiKey = "";
3064
+ constructor(data) {
3065
+ super();
3066
+ proto3.util.initPartial(data, this);
3067
+ }
3068
+ static runtime = proto3;
3069
+ static typeName = "wg.cosmo.platform.v1.CreateAPIKeyResponse";
3070
+ static fields = proto3.util.newFieldList(() => [
3071
+ { no: 1, name: "response", kind: "message", T: Response },
3072
+ { no: 2, name: "apiKey", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3073
+ ]);
3074
+ static fromBinary(bytes, options) {
3075
+ return new CreateAPIKeyResponse().fromBinary(bytes, options);
3076
+ }
3077
+ static fromJson(jsonValue, options) {
3078
+ return new CreateAPIKeyResponse().fromJson(jsonValue, options);
3079
+ }
3080
+ static fromJsonString(jsonString, options) {
3081
+ return new CreateAPIKeyResponse().fromJsonString(jsonString, options);
3082
+ }
3083
+ static equals(a, b) {
3084
+ return proto3.util.equals(CreateAPIKeyResponse, a, b);
3085
+ }
3086
+ }
3087
+ /**
3088
+ * @generated from message wg.cosmo.platform.v1.DeleteAPIKeyRequest
3089
+ */
3090
+ export class DeleteAPIKeyRequest extends Message {
3091
+ /**
3092
+ * @generated from field: string name = 1;
3093
+ */
3094
+ name = "";
3095
+ constructor(data) {
3096
+ super();
3097
+ proto3.util.initPartial(data, this);
3098
+ }
3099
+ static runtime = proto3;
3100
+ static typeName = "wg.cosmo.platform.v1.DeleteAPIKeyRequest";
3101
+ static fields = proto3.util.newFieldList(() => [
3102
+ { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3103
+ ]);
3104
+ static fromBinary(bytes, options) {
3105
+ return new DeleteAPIKeyRequest().fromBinary(bytes, options);
3106
+ }
3107
+ static fromJson(jsonValue, options) {
3108
+ return new DeleteAPIKeyRequest().fromJson(jsonValue, options);
3109
+ }
3110
+ static fromJsonString(jsonString, options) {
3111
+ return new DeleteAPIKeyRequest().fromJsonString(jsonString, options);
3112
+ }
3113
+ static equals(a, b) {
3114
+ return proto3.util.equals(DeleteAPIKeyRequest, a, b);
3115
+ }
3116
+ }
3117
+ /**
3118
+ * @generated from message wg.cosmo.platform.v1.DeleteAPIKeyResponse
3119
+ */
3120
+ export class DeleteAPIKeyResponse extends Message {
3121
+ /**
3122
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
3123
+ */
3124
+ response;
3125
+ constructor(data) {
3126
+ super();
3127
+ proto3.util.initPartial(data, this);
3128
+ }
3129
+ static runtime = proto3;
3130
+ static typeName = "wg.cosmo.platform.v1.DeleteAPIKeyResponse";
3131
+ static fields = proto3.util.newFieldList(() => [
3132
+ { no: 1, name: "response", kind: "message", T: Response },
3133
+ ]);
3134
+ static fromBinary(bytes, options) {
3135
+ return new DeleteAPIKeyResponse().fromBinary(bytes, options);
3136
+ }
3137
+ static fromJson(jsonValue, options) {
3138
+ return new DeleteAPIKeyResponse().fromJson(jsonValue, options);
3139
+ }
3140
+ static fromJsonString(jsonString, options) {
3141
+ return new DeleteAPIKeyResponse().fromJsonString(jsonString, options);
3142
+ }
3143
+ static equals(a, b) {
3144
+ return proto3.util.equals(DeleteAPIKeyResponse, a, b);
3145
+ }
3146
+ }
3147
+ /**
3148
+ * @generated from message wg.cosmo.platform.v1.SpanAttributes
3149
+ */
3150
+ export class SpanAttributes extends Message {
3151
+ /**
3152
+ * @generated from field: string httpStatusCode = 1;
3153
+ */
3154
+ httpStatusCode = "";
3155
+ /**
3156
+ * @generated from field: string componentName = 2;
3157
+ */
3158
+ componentName = "";
3159
+ /**
3160
+ * @generated from field: string operationName = 3;
3161
+ */
3162
+ operationName = "";
3163
+ /**
3164
+ * @generated from field: string operationType = 4;
3165
+ */
3166
+ operationType = "";
3167
+ /**
3168
+ * @generated from field: string operationContent = 5;
3169
+ */
3170
+ operationContent = "";
3171
+ /**
3172
+ * @generated from field: string httpURL = 6;
3173
+ */
3174
+ httpURL = "";
3175
+ /**
3176
+ * @generated from field: string httpHost = 7;
3177
+ */
3178
+ httpHost = "";
3179
+ /**
3180
+ * @generated from field: string httpUserAgent = 8;
3181
+ */
3182
+ httpUserAgent = "";
3183
+ /**
3184
+ * @generated from field: string httpMethod = 9;
3185
+ */
3186
+ httpMethod = "";
3187
+ /**
3188
+ * @generated from field: string httpTarget = 10;
3189
+ */
3190
+ httpTarget = "";
3191
+ constructor(data) {
3192
+ super();
3193
+ proto3.util.initPartial(data, this);
3194
+ }
3195
+ static runtime = proto3;
3196
+ static typeName = "wg.cosmo.platform.v1.SpanAttributes";
3197
+ static fields = proto3.util.newFieldList(() => [
3198
+ { no: 1, name: "httpStatusCode", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3199
+ { no: 2, name: "componentName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3200
+ { no: 3, name: "operationName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3201
+ { no: 4, name: "operationType", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3202
+ { no: 5, name: "operationContent", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3203
+ { no: 6, name: "httpURL", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3204
+ { no: 7, name: "httpHost", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3205
+ { no: 8, name: "httpUserAgent", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3206
+ { no: 9, name: "httpMethod", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3207
+ { no: 10, name: "httpTarget", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3208
+ ]);
3209
+ static fromBinary(bytes, options) {
3210
+ return new SpanAttributes().fromBinary(bytes, options);
3211
+ }
3212
+ static fromJson(jsonValue, options) {
3213
+ return new SpanAttributes().fromJson(jsonValue, options);
3214
+ }
3215
+ static fromJsonString(jsonString, options) {
3216
+ return new SpanAttributes().fromJsonString(jsonString, options);
3217
+ }
3218
+ static equals(a, b) {
3219
+ return proto3.util.equals(SpanAttributes, a, b);
3220
+ }
3221
+ }
3222
+ /**
3223
+ * @generated from message wg.cosmo.platform.v1.Span
3224
+ */
3225
+ export class Span extends Message {
3226
+ /**
3227
+ * @generated from field: int64 timestamp = 1;
3228
+ */
3229
+ timestamp = protoInt64.zero;
3230
+ /**
3231
+ * @generated from field: string traceID = 2;
3232
+ */
3233
+ traceID = "";
3234
+ /**
3235
+ * @generated from field: string spanID = 3;
3236
+ */
3237
+ spanID = "";
3238
+ /**
3239
+ * @generated from field: string parentSpanID = 4;
3240
+ */
3241
+ parentSpanID = "";
3242
+ /**
3243
+ * @generated from field: string spanName = 5;
3244
+ */
3245
+ spanName = "";
3246
+ /**
3247
+ * @generated from field: string spanKind = 6;
3248
+ */
3249
+ spanKind = "";
3250
+ /**
3251
+ * @generated from field: int64 duration = 7;
3252
+ */
3253
+ duration = protoInt64.zero;
3254
+ /**
3255
+ * @generated from field: string serviceName = 8;
3256
+ */
3257
+ serviceName = "";
3258
+ /**
3259
+ * @generated from field: string statusCode = 9;
3260
+ */
3261
+ statusCode = "";
3262
+ /**
3263
+ * @generated from field: string statusMessage = 10;
3264
+ */
3265
+ statusMessage = "";
3266
+ /**
3267
+ * @generated from field: wg.cosmo.platform.v1.SpanAttributes attributes = 11;
3268
+ */
3269
+ attributes;
3270
+ constructor(data) {
3271
+ super();
3272
+ proto3.util.initPartial(data, this);
3273
+ }
3274
+ static runtime = proto3;
3275
+ static typeName = "wg.cosmo.platform.v1.Span";
3276
+ static fields = proto3.util.newFieldList(() => [
3277
+ { no: 1, name: "timestamp", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
3278
+ { no: 2, name: "traceID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3279
+ { no: 3, name: "spanID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3280
+ { no: 4, name: "parentSpanID", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3281
+ { no: 5, name: "spanName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3282
+ { no: 6, name: "spanKind", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3283
+ { no: 7, name: "duration", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
3284
+ { no: 8, name: "serviceName", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3285
+ { no: 9, name: "statusCode", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3286
+ { no: 10, name: "statusMessage", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3287
+ { no: 11, name: "attributes", kind: "message", T: SpanAttributes },
3288
+ ]);
3289
+ static fromBinary(bytes, options) {
3290
+ return new Span().fromBinary(bytes, options);
3291
+ }
3292
+ static fromJson(jsonValue, options) {
3293
+ return new Span().fromJson(jsonValue, options);
3294
+ }
3295
+ static fromJsonString(jsonString, options) {
3296
+ return new Span().fromJsonString(jsonString, options);
3297
+ }
3298
+ static equals(a, b) {
3299
+ return proto3.util.equals(Span, a, b);
3300
+ }
3301
+ }
3302
+ /**
3303
+ * @generated from message wg.cosmo.platform.v1.GetTraceRequest
3304
+ */
3305
+ export class GetTraceRequest extends Message {
3306
+ /**
3307
+ * @generated from field: string id = 1;
3308
+ */
3309
+ id = "";
3310
+ constructor(data) {
3311
+ super();
3312
+ proto3.util.initPartial(data, this);
3313
+ }
3314
+ static runtime = proto3;
3315
+ static typeName = "wg.cosmo.platform.v1.GetTraceRequest";
3316
+ static fields = proto3.util.newFieldList(() => [
3317
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
3318
+ ]);
3319
+ static fromBinary(bytes, options) {
3320
+ return new GetTraceRequest().fromBinary(bytes, options);
3321
+ }
3322
+ static fromJson(jsonValue, options) {
3323
+ return new GetTraceRequest().fromJson(jsonValue, options);
3324
+ }
3325
+ static fromJsonString(jsonString, options) {
3326
+ return new GetTraceRequest().fromJsonString(jsonString, options);
3327
+ }
3328
+ static equals(a, b) {
3329
+ return proto3.util.equals(GetTraceRequest, a, b);
3330
+ }
3331
+ }
3332
+ /**
3333
+ * @generated from message wg.cosmo.platform.v1.GetTraceResponse
3334
+ */
3335
+ export class GetTraceResponse extends Message {
3336
+ /**
3337
+ * @generated from field: wg.cosmo.platform.v1.Response response = 1;
3338
+ */
3339
+ response;
3340
+ /**
3341
+ * @generated from field: repeated wg.cosmo.platform.v1.Span spans = 2;
3342
+ */
3343
+ spans = [];
3344
+ constructor(data) {
3345
+ super();
3346
+ proto3.util.initPartial(data, this);
3347
+ }
3348
+ static runtime = proto3;
3349
+ static typeName = "wg.cosmo.platform.v1.GetTraceResponse";
3350
+ static fields = proto3.util.newFieldList(() => [
3351
+ { no: 1, name: "response", kind: "message", T: Response },
3352
+ { no: 2, name: "spans", kind: "message", T: Span, repeated: true },
3353
+ ]);
3354
+ static fromBinary(bytes, options) {
3355
+ return new GetTraceResponse().fromBinary(bytes, options);
3356
+ }
3357
+ static fromJson(jsonValue, options) {
3358
+ return new GetTraceResponse().fromJson(jsonValue, options);
3359
+ }
3360
+ static fromJsonString(jsonString, options) {
3361
+ return new GetTraceResponse().fromJsonString(jsonString, options);
3362
+ }
3363
+ static equals(a, b) {
3364
+ return proto3.util.equals(GetTraceResponse, a, b);
3365
+ }
3366
+ }
3367
+ //# sourceMappingURL=platform_pb.js.map