@miradorlabs/web-grpc 2.9.0 → 2.11.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.
|
@@ -30,9 +30,13 @@ goog.exportSymbol('proto.gateway.web.v1.CreateDerivedMetricResponse', null, glob
|
|
|
30
30
|
goog.exportSymbol('proto.gateway.web.v1.DeleteDerivedMetricRequest', null, global);
|
|
31
31
|
goog.exportSymbol('proto.gateway.web.v1.DeleteDerivedMetricResponse', null, global);
|
|
32
32
|
goog.exportSymbol('proto.gateway.web.v1.DerivedMetric', null, global);
|
|
33
|
+
goog.exportSymbol('proto.gateway.web.v1.DerivedMetricAttribute', null, global);
|
|
34
|
+
goog.exportSymbol('proto.gateway.web.v1.DerivedMetricAttributeType', null, global);
|
|
35
|
+
goog.exportSymbol('proto.gateway.web.v1.DerivedMetricEventAttributes', null, global);
|
|
33
36
|
goog.exportSymbol('proto.gateway.web.v1.DerivedMetricOutcome', null, global);
|
|
34
37
|
goog.exportSymbol('proto.gateway.web.v1.DerivedMetricOutcomeCount', null, global);
|
|
35
38
|
goog.exportSymbol('proto.gateway.web.v1.DerivedMetricProgram', null, global);
|
|
39
|
+
goog.exportSymbol('proto.gateway.web.v1.DerivedMetricSource', null, global);
|
|
36
40
|
goog.exportSymbol('proto.gateway.web.v1.DryRunDerivedMetricRequest', null, global);
|
|
37
41
|
goog.exportSymbol('proto.gateway.web.v1.DryRunDerivedMetricResponse', null, global);
|
|
38
42
|
goog.exportSymbol('proto.gateway.web.v1.DryRunEmission', null, global);
|
|
@@ -41,6 +45,8 @@ goog.exportSymbol('proto.gateway.web.v1.DryRunTraceResult', null, global);
|
|
|
41
45
|
goog.exportSymbol('proto.gateway.web.v1.DryRunTraceResult.ResultCase', null, global);
|
|
42
46
|
goog.exportSymbol('proto.gateway.web.v1.GetDerivedMetricRequest', null, global);
|
|
43
47
|
goog.exportSymbol('proto.gateway.web.v1.GetDerivedMetricResponse', null, global);
|
|
48
|
+
goog.exportSymbol('proto.gateway.web.v1.ListDerivedMetricAttributesRequest', null, global);
|
|
49
|
+
goog.exportSymbol('proto.gateway.web.v1.ListDerivedMetricAttributesResponse', null, global);
|
|
44
50
|
goog.exportSymbol('proto.gateway.web.v1.ListDerivedMetricsRequest', null, global);
|
|
45
51
|
goog.exportSymbol('proto.gateway.web.v1.ListDerivedMetricsResponse', null, global);
|
|
46
52
|
goog.exportSymbol('proto.gateway.web.v1.UpdateDerivedMetricRequest', null, global);
|
|
@@ -78,7 +84,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
78
84
|
* @constructor
|
|
79
85
|
*/
|
|
80
86
|
proto.gateway.web.v1.DerivedMetricProgram = function(opt_data) {
|
|
81
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
87
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.DerivedMetricProgram.repeatedFields_, null);
|
|
82
88
|
};
|
|
83
89
|
goog.inherits(proto.gateway.web.v1.DerivedMetricProgram, jspb.Message);
|
|
84
90
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -445,6 +451,90 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
445
451
|
*/
|
|
446
452
|
proto.gateway.web.v1.DerivedMetricOutcomeCount.displayName = 'proto.gateway.web.v1.DerivedMetricOutcomeCount';
|
|
447
453
|
}
|
|
454
|
+
/**
|
|
455
|
+
* Generated by JsPbCodeGenerator.
|
|
456
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
457
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
458
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
459
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
460
|
+
* valid.
|
|
461
|
+
* @extends {jspb.Message}
|
|
462
|
+
* @constructor
|
|
463
|
+
*/
|
|
464
|
+
proto.gateway.web.v1.ListDerivedMetricAttributesRequest = function(opt_data) {
|
|
465
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
466
|
+
};
|
|
467
|
+
goog.inherits(proto.gateway.web.v1.ListDerivedMetricAttributesRequest, jspb.Message);
|
|
468
|
+
if (goog.DEBUG && !COMPILED) {
|
|
469
|
+
/**
|
|
470
|
+
* @public
|
|
471
|
+
* @override
|
|
472
|
+
*/
|
|
473
|
+
proto.gateway.web.v1.ListDerivedMetricAttributesRequest.displayName = 'proto.gateway.web.v1.ListDerivedMetricAttributesRequest';
|
|
474
|
+
}
|
|
475
|
+
/**
|
|
476
|
+
* Generated by JsPbCodeGenerator.
|
|
477
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
478
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
479
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
480
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
481
|
+
* valid.
|
|
482
|
+
* @extends {jspb.Message}
|
|
483
|
+
* @constructor
|
|
484
|
+
*/
|
|
485
|
+
proto.gateway.web.v1.ListDerivedMetricAttributesResponse = function(opt_data) {
|
|
486
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.ListDerivedMetricAttributesResponse.repeatedFields_, null);
|
|
487
|
+
};
|
|
488
|
+
goog.inherits(proto.gateway.web.v1.ListDerivedMetricAttributesResponse, jspb.Message);
|
|
489
|
+
if (goog.DEBUG && !COMPILED) {
|
|
490
|
+
/**
|
|
491
|
+
* @public
|
|
492
|
+
* @override
|
|
493
|
+
*/
|
|
494
|
+
proto.gateway.web.v1.ListDerivedMetricAttributesResponse.displayName = 'proto.gateway.web.v1.ListDerivedMetricAttributesResponse';
|
|
495
|
+
}
|
|
496
|
+
/**
|
|
497
|
+
* Generated by JsPbCodeGenerator.
|
|
498
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
499
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
500
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
501
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
502
|
+
* valid.
|
|
503
|
+
* @extends {jspb.Message}
|
|
504
|
+
* @constructor
|
|
505
|
+
*/
|
|
506
|
+
proto.gateway.web.v1.DerivedMetricAttribute = function(opt_data) {
|
|
507
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.DerivedMetricAttribute.repeatedFields_, null);
|
|
508
|
+
};
|
|
509
|
+
goog.inherits(proto.gateway.web.v1.DerivedMetricAttribute, jspb.Message);
|
|
510
|
+
if (goog.DEBUG && !COMPILED) {
|
|
511
|
+
/**
|
|
512
|
+
* @public
|
|
513
|
+
* @override
|
|
514
|
+
*/
|
|
515
|
+
proto.gateway.web.v1.DerivedMetricAttribute.displayName = 'proto.gateway.web.v1.DerivedMetricAttribute';
|
|
516
|
+
}
|
|
517
|
+
/**
|
|
518
|
+
* Generated by JsPbCodeGenerator.
|
|
519
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
520
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
521
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
522
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
523
|
+
* valid.
|
|
524
|
+
* @extends {jspb.Message}
|
|
525
|
+
* @constructor
|
|
526
|
+
*/
|
|
527
|
+
proto.gateway.web.v1.DerivedMetricEventAttributes = function(opt_data) {
|
|
528
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.DerivedMetricEventAttributes.repeatedFields_, null);
|
|
529
|
+
};
|
|
530
|
+
goog.inherits(proto.gateway.web.v1.DerivedMetricEventAttributes, jspb.Message);
|
|
531
|
+
if (goog.DEBUG && !COMPILED) {
|
|
532
|
+
/**
|
|
533
|
+
* @public
|
|
534
|
+
* @override
|
|
535
|
+
*/
|
|
536
|
+
proto.gateway.web.v1.DerivedMetricEventAttributes.displayName = 'proto.gateway.web.v1.DerivedMetricEventAttributes';
|
|
537
|
+
}
|
|
448
538
|
|
|
449
539
|
|
|
450
540
|
|
|
@@ -488,7 +578,8 @@ metricName: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
|
488
578
|
unit: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
489
579
|
program: (f = msg.getProgram()) && proto.gateway.web.v1.DerivedMetricProgram.toObject(includeInstance, f),
|
|
490
580
|
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
491
|
-
updatedAt: (f = msg.getUpdatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
|
|
581
|
+
updatedAt: (f = msg.getUpdatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
582
|
+
source: jspb.Message.getFieldWithDefault(msg, 13, 0)
|
|
492
583
|
};
|
|
493
584
|
|
|
494
585
|
if (includeInstance) {
|
|
@@ -576,6 +667,10 @@ proto.gateway.web.v1.DerivedMetric.deserializeBinaryFromReader = function(msg, r
|
|
|
576
667
|
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
577
668
|
msg.setUpdatedAt(value);
|
|
578
669
|
break;
|
|
670
|
+
case 13:
|
|
671
|
+
var value = /** @type {!proto.gateway.web.v1.DerivedMetricSource} */ (reader.readEnum());
|
|
672
|
+
msg.setSource(value);
|
|
673
|
+
break;
|
|
579
674
|
default:
|
|
580
675
|
reader.skipField();
|
|
581
676
|
break;
|
|
@@ -692,6 +787,13 @@ proto.gateway.web.v1.DerivedMetric.serializeBinaryToWriter = function(message, w
|
|
|
692
787
|
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
693
788
|
);
|
|
694
789
|
}
|
|
790
|
+
f = message.getSource();
|
|
791
|
+
if (f !== 0.0) {
|
|
792
|
+
writer.writeEnum(
|
|
793
|
+
13,
|
|
794
|
+
f
|
|
795
|
+
);
|
|
796
|
+
}
|
|
695
797
|
};
|
|
696
798
|
|
|
697
799
|
|
|
@@ -968,6 +1070,31 @@ proto.gateway.web.v1.DerivedMetric.prototype.hasUpdatedAt = function() {
|
|
|
968
1070
|
};
|
|
969
1071
|
|
|
970
1072
|
|
|
1073
|
+
/**
|
|
1074
|
+
* optional DerivedMetricSource source = 13;
|
|
1075
|
+
* @return {!proto.gateway.web.v1.DerivedMetricSource}
|
|
1076
|
+
*/
|
|
1077
|
+
proto.gateway.web.v1.DerivedMetric.prototype.getSource = function() {
|
|
1078
|
+
return /** @type {!proto.gateway.web.v1.DerivedMetricSource} */ (jspb.Message.getFieldWithDefault(this, 13, 0));
|
|
1079
|
+
};
|
|
1080
|
+
|
|
1081
|
+
|
|
1082
|
+
/**
|
|
1083
|
+
* @param {!proto.gateway.web.v1.DerivedMetricSource} value
|
|
1084
|
+
* @return {!proto.gateway.web.v1.DerivedMetric} returns this
|
|
1085
|
+
*/
|
|
1086
|
+
proto.gateway.web.v1.DerivedMetric.prototype.setSource = function(value) {
|
|
1087
|
+
return jspb.Message.setProto3EnumField(this, 13, value);
|
|
1088
|
+
};
|
|
1089
|
+
|
|
1090
|
+
|
|
1091
|
+
|
|
1092
|
+
/**
|
|
1093
|
+
* List of repeated fields within this message type.
|
|
1094
|
+
* @private {!Array<number>}
|
|
1095
|
+
* @const
|
|
1096
|
+
*/
|
|
1097
|
+
proto.gateway.web.v1.DerivedMetricProgram.repeatedFields_ = [4];
|
|
971
1098
|
|
|
972
1099
|
|
|
973
1100
|
|
|
@@ -1002,7 +1129,7 @@ proto.gateway.web.v1.DerivedMetricProgram.toObject = function(includeInstance, m
|
|
|
1002
1129
|
var f, obj = {
|
|
1003
1130
|
populationExpression: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1004
1131
|
valueExpression: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
1005
|
-
|
|
1132
|
+
dimensionsList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f
|
|
1006
1133
|
};
|
|
1007
1134
|
|
|
1008
1135
|
if (includeInstance) {
|
|
@@ -1047,9 +1174,9 @@ proto.gateway.web.v1.DerivedMetricProgram.deserializeBinaryFromReader = function
|
|
|
1047
1174
|
var value = /** @type {string} */ (reader.readString());
|
|
1048
1175
|
msg.setValueExpression(value);
|
|
1049
1176
|
break;
|
|
1050
|
-
case
|
|
1177
|
+
case 4:
|
|
1051
1178
|
var value = /** @type {string} */ (reader.readString());
|
|
1052
|
-
msg.
|
|
1179
|
+
msg.addDimensions(value);
|
|
1053
1180
|
break;
|
|
1054
1181
|
default:
|
|
1055
1182
|
reader.skipField();
|
|
@@ -1094,10 +1221,10 @@ proto.gateway.web.v1.DerivedMetricProgram.serializeBinaryToWriter = function(mes
|
|
|
1094
1221
|
f
|
|
1095
1222
|
);
|
|
1096
1223
|
}
|
|
1097
|
-
f = message.
|
|
1224
|
+
f = message.getDimensionsList();
|
|
1098
1225
|
if (f.length > 0) {
|
|
1099
|
-
writer.
|
|
1100
|
-
|
|
1226
|
+
writer.writeRepeatedString(
|
|
1227
|
+
4,
|
|
1101
1228
|
f
|
|
1102
1229
|
);
|
|
1103
1230
|
}
|
|
@@ -1141,20 +1268,39 @@ proto.gateway.web.v1.DerivedMetricProgram.prototype.setValueExpression = functio
|
|
|
1141
1268
|
|
|
1142
1269
|
|
|
1143
1270
|
/**
|
|
1144
|
-
*
|
|
1145
|
-
* @return {string}
|
|
1271
|
+
* repeated string dimensions = 4;
|
|
1272
|
+
* @return {!Array<string>}
|
|
1146
1273
|
*/
|
|
1147
|
-
proto.gateway.web.v1.DerivedMetricProgram.prototype.
|
|
1148
|
-
return /** @type {string} */ (jspb.Message.
|
|
1274
|
+
proto.gateway.web.v1.DerivedMetricProgram.prototype.getDimensionsList = function() {
|
|
1275
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 4));
|
|
1276
|
+
};
|
|
1277
|
+
|
|
1278
|
+
|
|
1279
|
+
/**
|
|
1280
|
+
* @param {!Array<string>} value
|
|
1281
|
+
* @return {!proto.gateway.web.v1.DerivedMetricProgram} returns this
|
|
1282
|
+
*/
|
|
1283
|
+
proto.gateway.web.v1.DerivedMetricProgram.prototype.setDimensionsList = function(value) {
|
|
1284
|
+
return jspb.Message.setField(this, 4, value || []);
|
|
1149
1285
|
};
|
|
1150
1286
|
|
|
1151
1287
|
|
|
1152
1288
|
/**
|
|
1153
1289
|
* @param {string} value
|
|
1290
|
+
* @param {number=} opt_index
|
|
1154
1291
|
* @return {!proto.gateway.web.v1.DerivedMetricProgram} returns this
|
|
1155
1292
|
*/
|
|
1156
|
-
proto.gateway.web.v1.DerivedMetricProgram.prototype.
|
|
1157
|
-
return jspb.Message.
|
|
1293
|
+
proto.gateway.web.v1.DerivedMetricProgram.prototype.addDimensions = function(value, opt_index) {
|
|
1294
|
+
return jspb.Message.addToRepeatedField(this, 4, value, opt_index);
|
|
1295
|
+
};
|
|
1296
|
+
|
|
1297
|
+
|
|
1298
|
+
/**
|
|
1299
|
+
* Clears the list making it empty but non-null.
|
|
1300
|
+
* @return {!proto.gateway.web.v1.DerivedMetricProgram} returns this
|
|
1301
|
+
*/
|
|
1302
|
+
proto.gateway.web.v1.DerivedMetricProgram.prototype.clearDimensionsList = function() {
|
|
1303
|
+
return this.setDimensionsList([]);
|
|
1158
1304
|
};
|
|
1159
1305
|
|
|
1160
1306
|
|
|
@@ -1197,7 +1343,8 @@ displayName: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
|
1197
1343
|
description: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
1198
1344
|
enabled: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
|
|
1199
1345
|
unit: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
1200
|
-
program: (f = msg.getProgram()) && proto.gateway.web.v1.DerivedMetricProgram.toObject(includeInstance, f)
|
|
1346
|
+
program: (f = msg.getProgram()) && proto.gateway.web.v1.DerivedMetricProgram.toObject(includeInstance, f),
|
|
1347
|
+
source: jspb.Message.getFieldWithDefault(msg, 9, 0)
|
|
1201
1348
|
};
|
|
1202
1349
|
|
|
1203
1350
|
if (includeInstance) {
|
|
@@ -1267,6 +1414,10 @@ proto.gateway.web.v1.CreateDerivedMetricRequest.deserializeBinaryFromReader = fu
|
|
|
1267
1414
|
reader.readMessage(value,proto.gateway.web.v1.DerivedMetricProgram.deserializeBinaryFromReader);
|
|
1268
1415
|
msg.setProgram(value);
|
|
1269
1416
|
break;
|
|
1417
|
+
case 9:
|
|
1418
|
+
var value = /** @type {!proto.gateway.web.v1.DerivedMetricSource} */ (reader.readEnum());
|
|
1419
|
+
msg.setSource(value);
|
|
1420
|
+
break;
|
|
1270
1421
|
default:
|
|
1271
1422
|
reader.skipField();
|
|
1272
1423
|
break;
|
|
@@ -1353,6 +1504,13 @@ proto.gateway.web.v1.CreateDerivedMetricRequest.serializeBinaryToWriter = functi
|
|
|
1353
1504
|
proto.gateway.web.v1.DerivedMetricProgram.serializeBinaryToWriter
|
|
1354
1505
|
);
|
|
1355
1506
|
}
|
|
1507
|
+
f = message.getSource();
|
|
1508
|
+
if (f !== 0.0) {
|
|
1509
|
+
writer.writeEnum(
|
|
1510
|
+
9,
|
|
1511
|
+
f
|
|
1512
|
+
);
|
|
1513
|
+
}
|
|
1356
1514
|
};
|
|
1357
1515
|
|
|
1358
1516
|
|
|
@@ -1519,6 +1677,24 @@ proto.gateway.web.v1.CreateDerivedMetricRequest.prototype.hasProgram = function(
|
|
|
1519
1677
|
};
|
|
1520
1678
|
|
|
1521
1679
|
|
|
1680
|
+
/**
|
|
1681
|
+
* optional DerivedMetricSource source = 9;
|
|
1682
|
+
* @return {!proto.gateway.web.v1.DerivedMetricSource}
|
|
1683
|
+
*/
|
|
1684
|
+
proto.gateway.web.v1.CreateDerivedMetricRequest.prototype.getSource = function() {
|
|
1685
|
+
return /** @type {!proto.gateway.web.v1.DerivedMetricSource} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
|
|
1686
|
+
};
|
|
1687
|
+
|
|
1688
|
+
|
|
1689
|
+
/**
|
|
1690
|
+
* @param {!proto.gateway.web.v1.DerivedMetricSource} value
|
|
1691
|
+
* @return {!proto.gateway.web.v1.CreateDerivedMetricRequest} returns this
|
|
1692
|
+
*/
|
|
1693
|
+
proto.gateway.web.v1.CreateDerivedMetricRequest.prototype.setSource = function(value) {
|
|
1694
|
+
return jspb.Message.setProto3EnumField(this, 9, value);
|
|
1695
|
+
};
|
|
1696
|
+
|
|
1697
|
+
|
|
1522
1698
|
|
|
1523
1699
|
|
|
1524
1700
|
|
|
@@ -4338,7 +4514,7 @@ proto.gateway.web.v1.DryRunEmission.prototype.toObject = function(opt_includeIns
|
|
|
4338
4514
|
proto.gateway.web.v1.DryRunEmission.toObject = function(includeInstance, msg) {
|
|
4339
4515
|
var f, obj = {
|
|
4340
4516
|
value: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0),
|
|
4341
|
-
|
|
4517
|
+
resolvedDimensionsMap: (f = msg.getResolvedDimensionsMap()) ? f.toObject(includeInstance, undefined) : []
|
|
4342
4518
|
};
|
|
4343
4519
|
|
|
4344
4520
|
if (includeInstance) {
|
|
@@ -4379,9 +4555,11 @@ proto.gateway.web.v1.DryRunEmission.deserializeBinaryFromReader = function(msg,
|
|
|
4379
4555
|
var value = /** @type {number} */ (reader.readDouble());
|
|
4380
4556
|
msg.setValue(value);
|
|
4381
4557
|
break;
|
|
4382
|
-
case
|
|
4383
|
-
var value =
|
|
4384
|
-
|
|
4558
|
+
case 3:
|
|
4559
|
+
var value = msg.getResolvedDimensionsMap();
|
|
4560
|
+
reader.readMessage(value, function(message, reader) {
|
|
4561
|
+
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
|
|
4562
|
+
});
|
|
4385
4563
|
break;
|
|
4386
4564
|
default:
|
|
4387
4565
|
reader.skipField();
|
|
@@ -4419,12 +4597,9 @@ proto.gateway.web.v1.DryRunEmission.serializeBinaryToWriter = function(message,
|
|
|
4419
4597
|
f
|
|
4420
4598
|
);
|
|
4421
4599
|
}
|
|
4422
|
-
f = message.
|
|
4423
|
-
if (f.
|
|
4424
|
-
writer.writeString
|
|
4425
|
-
2,
|
|
4426
|
-
f
|
|
4427
|
-
);
|
|
4600
|
+
f = message.getResolvedDimensionsMap(true);
|
|
4601
|
+
if (f && f.getLength() > 0) {
|
|
4602
|
+
f.serializeBinary(3, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
|
|
4428
4603
|
}
|
|
4429
4604
|
};
|
|
4430
4605
|
|
|
@@ -4448,20 +4623,25 @@ proto.gateway.web.v1.DryRunEmission.prototype.setValue = function(value) {
|
|
|
4448
4623
|
|
|
4449
4624
|
|
|
4450
4625
|
/**
|
|
4451
|
-
*
|
|
4452
|
-
* @
|
|
4626
|
+
* map<string, string> resolved_dimensions = 3;
|
|
4627
|
+
* @param {boolean=} opt_noLazyCreate Do not create the map if
|
|
4628
|
+
* empty, instead returning `undefined`
|
|
4629
|
+
* @return {!jspb.Map<string,string>}
|
|
4453
4630
|
*/
|
|
4454
|
-
proto.gateway.web.v1.DryRunEmission.prototype.
|
|
4455
|
-
return /** @type {string} */ (
|
|
4631
|
+
proto.gateway.web.v1.DryRunEmission.prototype.getResolvedDimensionsMap = function(opt_noLazyCreate) {
|
|
4632
|
+
return /** @type {!jspb.Map<string,string>} */ (
|
|
4633
|
+
jspb.Message.getMapField(this, 3, opt_noLazyCreate,
|
|
4634
|
+
null));
|
|
4456
4635
|
};
|
|
4457
4636
|
|
|
4458
4637
|
|
|
4459
4638
|
/**
|
|
4460
|
-
*
|
|
4639
|
+
* Clears values from the map. The map will be non-null.
|
|
4461
4640
|
* @return {!proto.gateway.web.v1.DryRunEmission} returns this
|
|
4462
4641
|
*/
|
|
4463
|
-
proto.gateway.web.v1.DryRunEmission.prototype.
|
|
4464
|
-
|
|
4642
|
+
proto.gateway.web.v1.DryRunEmission.prototype.clearResolvedDimensionsMap = function() {
|
|
4643
|
+
this.getResolvedDimensionsMap().clear();
|
|
4644
|
+
return this;
|
|
4465
4645
|
};
|
|
4466
4646
|
|
|
4467
4647
|
|
|
@@ -4785,21 +4965,961 @@ proto.gateway.web.v1.DerivedMetricOutcomeCount.prototype.setCount = function(val
|
|
|
4785
4965
|
};
|
|
4786
4966
|
|
|
4787
4967
|
|
|
4968
|
+
|
|
4969
|
+
|
|
4970
|
+
|
|
4971
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4788
4972
|
/**
|
|
4789
|
-
*
|
|
4973
|
+
* Creates an object representation of this proto.
|
|
4974
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4975
|
+
* Optional fields that are not set will be set to undefined.
|
|
4976
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4977
|
+
* For the list of reserved names please see:
|
|
4978
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
4979
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
4980
|
+
* JSPB instance for transitional soy proto support:
|
|
4981
|
+
* http://goto/soy-param-migration
|
|
4982
|
+
* @return {!Object}
|
|
4790
4983
|
*/
|
|
4791
|
-
proto.gateway.web.v1.
|
|
4792
|
-
|
|
4793
|
-
|
|
4794
|
-
|
|
4795
|
-
|
|
4796
|
-
|
|
4797
|
-
|
|
4798
|
-
|
|
4799
|
-
|
|
4800
|
-
|
|
4801
|
-
|
|
4802
|
-
|
|
4984
|
+
proto.gateway.web.v1.ListDerivedMetricAttributesRequest.prototype.toObject = function(opt_includeInstance) {
|
|
4985
|
+
return proto.gateway.web.v1.ListDerivedMetricAttributesRequest.toObject(opt_includeInstance, this);
|
|
4986
|
+
};
|
|
4987
|
+
|
|
4988
|
+
|
|
4989
|
+
/**
|
|
4990
|
+
* Static version of the {@see toObject} method.
|
|
4991
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4992
|
+
* the JSPB instance for transitional soy proto support:
|
|
4993
|
+
* http://goto/soy-param-migration
|
|
4994
|
+
* @param {!proto.gateway.web.v1.ListDerivedMetricAttributesRequest} msg The msg instance to transform.
|
|
4995
|
+
* @return {!Object}
|
|
4996
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4997
|
+
*/
|
|
4998
|
+
proto.gateway.web.v1.ListDerivedMetricAttributesRequest.toObject = function(includeInstance, msg) {
|
|
4999
|
+
var f, obj = {
|
|
5000
|
+
organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
5001
|
+
projectId: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
5002
|
+
};
|
|
5003
|
+
|
|
5004
|
+
if (includeInstance) {
|
|
5005
|
+
obj.$jspbMessageInstance = msg;
|
|
5006
|
+
}
|
|
5007
|
+
return obj;
|
|
5008
|
+
};
|
|
5009
|
+
}
|
|
5010
|
+
|
|
5011
|
+
|
|
5012
|
+
/**
|
|
5013
|
+
* Deserializes binary data (in protobuf wire format).
|
|
5014
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
5015
|
+
* @return {!proto.gateway.web.v1.ListDerivedMetricAttributesRequest}
|
|
5016
|
+
*/
|
|
5017
|
+
proto.gateway.web.v1.ListDerivedMetricAttributesRequest.deserializeBinary = function(bytes) {
|
|
5018
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
5019
|
+
var msg = new proto.gateway.web.v1.ListDerivedMetricAttributesRequest;
|
|
5020
|
+
return proto.gateway.web.v1.ListDerivedMetricAttributesRequest.deserializeBinaryFromReader(msg, reader);
|
|
5021
|
+
};
|
|
5022
|
+
|
|
5023
|
+
|
|
5024
|
+
/**
|
|
5025
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
5026
|
+
* given reader into the given message object.
|
|
5027
|
+
* @param {!proto.gateway.web.v1.ListDerivedMetricAttributesRequest} msg The message object to deserialize into.
|
|
5028
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
5029
|
+
* @return {!proto.gateway.web.v1.ListDerivedMetricAttributesRequest}
|
|
5030
|
+
*/
|
|
5031
|
+
proto.gateway.web.v1.ListDerivedMetricAttributesRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
5032
|
+
while (reader.nextField()) {
|
|
5033
|
+
if (reader.isEndGroup()) {
|
|
5034
|
+
break;
|
|
5035
|
+
}
|
|
5036
|
+
var field = reader.getFieldNumber();
|
|
5037
|
+
switch (field) {
|
|
5038
|
+
case 1:
|
|
5039
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5040
|
+
msg.setOrganizationId(value);
|
|
5041
|
+
break;
|
|
5042
|
+
case 2:
|
|
5043
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5044
|
+
msg.setProjectId(value);
|
|
5045
|
+
break;
|
|
5046
|
+
default:
|
|
5047
|
+
reader.skipField();
|
|
5048
|
+
break;
|
|
5049
|
+
}
|
|
5050
|
+
}
|
|
5051
|
+
return msg;
|
|
5052
|
+
};
|
|
5053
|
+
|
|
5054
|
+
|
|
5055
|
+
/**
|
|
5056
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
5057
|
+
* @return {!Uint8Array}
|
|
5058
|
+
*/
|
|
5059
|
+
proto.gateway.web.v1.ListDerivedMetricAttributesRequest.prototype.serializeBinary = function() {
|
|
5060
|
+
var writer = new jspb.BinaryWriter();
|
|
5061
|
+
proto.gateway.web.v1.ListDerivedMetricAttributesRequest.serializeBinaryToWriter(this, writer);
|
|
5062
|
+
return writer.getResultBuffer();
|
|
5063
|
+
};
|
|
5064
|
+
|
|
5065
|
+
|
|
5066
|
+
/**
|
|
5067
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
5068
|
+
* format), writing to the given BinaryWriter.
|
|
5069
|
+
* @param {!proto.gateway.web.v1.ListDerivedMetricAttributesRequest} message
|
|
5070
|
+
* @param {!jspb.BinaryWriter} writer
|
|
5071
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5072
|
+
*/
|
|
5073
|
+
proto.gateway.web.v1.ListDerivedMetricAttributesRequest.serializeBinaryToWriter = function(message, writer) {
|
|
5074
|
+
var f = undefined;
|
|
5075
|
+
f = message.getOrganizationId();
|
|
5076
|
+
if (f.length > 0) {
|
|
5077
|
+
writer.writeString(
|
|
5078
|
+
1,
|
|
5079
|
+
f
|
|
5080
|
+
);
|
|
5081
|
+
}
|
|
5082
|
+
f = message.getProjectId();
|
|
5083
|
+
if (f.length > 0) {
|
|
5084
|
+
writer.writeString(
|
|
5085
|
+
2,
|
|
5086
|
+
f
|
|
5087
|
+
);
|
|
5088
|
+
}
|
|
5089
|
+
};
|
|
5090
|
+
|
|
5091
|
+
|
|
5092
|
+
/**
|
|
5093
|
+
* optional string organization_id = 1;
|
|
5094
|
+
* @return {string}
|
|
5095
|
+
*/
|
|
5096
|
+
proto.gateway.web.v1.ListDerivedMetricAttributesRequest.prototype.getOrganizationId = function() {
|
|
5097
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
5098
|
+
};
|
|
5099
|
+
|
|
5100
|
+
|
|
5101
|
+
/**
|
|
5102
|
+
* @param {string} value
|
|
5103
|
+
* @return {!proto.gateway.web.v1.ListDerivedMetricAttributesRequest} returns this
|
|
5104
|
+
*/
|
|
5105
|
+
proto.gateway.web.v1.ListDerivedMetricAttributesRequest.prototype.setOrganizationId = function(value) {
|
|
5106
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
5107
|
+
};
|
|
5108
|
+
|
|
5109
|
+
|
|
5110
|
+
/**
|
|
5111
|
+
* optional string project_id = 2;
|
|
5112
|
+
* @return {string}
|
|
5113
|
+
*/
|
|
5114
|
+
proto.gateway.web.v1.ListDerivedMetricAttributesRequest.prototype.getProjectId = function() {
|
|
5115
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
5116
|
+
};
|
|
5117
|
+
|
|
5118
|
+
|
|
5119
|
+
/**
|
|
5120
|
+
* @param {string} value
|
|
5121
|
+
* @return {!proto.gateway.web.v1.ListDerivedMetricAttributesRequest} returns this
|
|
5122
|
+
*/
|
|
5123
|
+
proto.gateway.web.v1.ListDerivedMetricAttributesRequest.prototype.setProjectId = function(value) {
|
|
5124
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
5125
|
+
};
|
|
5126
|
+
|
|
5127
|
+
|
|
5128
|
+
|
|
5129
|
+
/**
|
|
5130
|
+
* List of repeated fields within this message type.
|
|
5131
|
+
* @private {!Array<number>}
|
|
5132
|
+
* @const
|
|
5133
|
+
*/
|
|
5134
|
+
proto.gateway.web.v1.ListDerivedMetricAttributesResponse.repeatedFields_ = [2,3];
|
|
5135
|
+
|
|
5136
|
+
|
|
5137
|
+
|
|
5138
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
5139
|
+
/**
|
|
5140
|
+
* Creates an object representation of this proto.
|
|
5141
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
5142
|
+
* Optional fields that are not set will be set to undefined.
|
|
5143
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
5144
|
+
* For the list of reserved names please see:
|
|
5145
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
5146
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
5147
|
+
* JSPB instance for transitional soy proto support:
|
|
5148
|
+
* http://goto/soy-param-migration
|
|
5149
|
+
* @return {!Object}
|
|
5150
|
+
*/
|
|
5151
|
+
proto.gateway.web.v1.ListDerivedMetricAttributesResponse.prototype.toObject = function(opt_includeInstance) {
|
|
5152
|
+
return proto.gateway.web.v1.ListDerivedMetricAttributesResponse.toObject(opt_includeInstance, this);
|
|
5153
|
+
};
|
|
5154
|
+
|
|
5155
|
+
|
|
5156
|
+
/**
|
|
5157
|
+
* Static version of the {@see toObject} method.
|
|
5158
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
5159
|
+
* the JSPB instance for transitional soy proto support:
|
|
5160
|
+
* http://goto/soy-param-migration
|
|
5161
|
+
* @param {!proto.gateway.web.v1.ListDerivedMetricAttributesResponse} msg The msg instance to transform.
|
|
5162
|
+
* @return {!Object}
|
|
5163
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5164
|
+
*/
|
|
5165
|
+
proto.gateway.web.v1.ListDerivedMetricAttributesResponse.toObject = function(includeInstance, msg) {
|
|
5166
|
+
var f, obj = {
|
|
5167
|
+
status: (f = msg.getStatus()) && proto_gateway_common_v1_status_pb.ResponseStatus.toObject(includeInstance, f),
|
|
5168
|
+
traceAttributesList: jspb.Message.toObjectList(msg.getTraceAttributesList(),
|
|
5169
|
+
proto.gateway.web.v1.DerivedMetricAttribute.toObject, includeInstance),
|
|
5170
|
+
eventsList: jspb.Message.toObjectList(msg.getEventsList(),
|
|
5171
|
+
proto.gateway.web.v1.DerivedMetricEventAttributes.toObject, includeInstance),
|
|
5172
|
+
tracesSampled: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
5173
|
+
tracesSelected: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
5174
|
+
catalogCapped: jspb.Message.getBooleanFieldWithDefault(msg, 6, false)
|
|
5175
|
+
};
|
|
5176
|
+
|
|
5177
|
+
if (includeInstance) {
|
|
5178
|
+
obj.$jspbMessageInstance = msg;
|
|
5179
|
+
}
|
|
5180
|
+
return obj;
|
|
5181
|
+
};
|
|
5182
|
+
}
|
|
5183
|
+
|
|
5184
|
+
|
|
5185
|
+
/**
|
|
5186
|
+
* Deserializes binary data (in protobuf wire format).
|
|
5187
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
5188
|
+
* @return {!proto.gateway.web.v1.ListDerivedMetricAttributesResponse}
|
|
5189
|
+
*/
|
|
5190
|
+
proto.gateway.web.v1.ListDerivedMetricAttributesResponse.deserializeBinary = function(bytes) {
|
|
5191
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
5192
|
+
var msg = new proto.gateway.web.v1.ListDerivedMetricAttributesResponse;
|
|
5193
|
+
return proto.gateway.web.v1.ListDerivedMetricAttributesResponse.deserializeBinaryFromReader(msg, reader);
|
|
5194
|
+
};
|
|
5195
|
+
|
|
5196
|
+
|
|
5197
|
+
/**
|
|
5198
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
5199
|
+
* given reader into the given message object.
|
|
5200
|
+
* @param {!proto.gateway.web.v1.ListDerivedMetricAttributesResponse} msg The message object to deserialize into.
|
|
5201
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
5202
|
+
* @return {!proto.gateway.web.v1.ListDerivedMetricAttributesResponse}
|
|
5203
|
+
*/
|
|
5204
|
+
proto.gateway.web.v1.ListDerivedMetricAttributesResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
5205
|
+
while (reader.nextField()) {
|
|
5206
|
+
if (reader.isEndGroup()) {
|
|
5207
|
+
break;
|
|
5208
|
+
}
|
|
5209
|
+
var field = reader.getFieldNumber();
|
|
5210
|
+
switch (field) {
|
|
5211
|
+
case 1:
|
|
5212
|
+
var value = new proto_gateway_common_v1_status_pb.ResponseStatus;
|
|
5213
|
+
reader.readMessage(value,proto_gateway_common_v1_status_pb.ResponseStatus.deserializeBinaryFromReader);
|
|
5214
|
+
msg.setStatus(value);
|
|
5215
|
+
break;
|
|
5216
|
+
case 2:
|
|
5217
|
+
var value = new proto.gateway.web.v1.DerivedMetricAttribute;
|
|
5218
|
+
reader.readMessage(value,proto.gateway.web.v1.DerivedMetricAttribute.deserializeBinaryFromReader);
|
|
5219
|
+
msg.addTraceAttributes(value);
|
|
5220
|
+
break;
|
|
5221
|
+
case 3:
|
|
5222
|
+
var value = new proto.gateway.web.v1.DerivedMetricEventAttributes;
|
|
5223
|
+
reader.readMessage(value,proto.gateway.web.v1.DerivedMetricEventAttributes.deserializeBinaryFromReader);
|
|
5224
|
+
msg.addEvents(value);
|
|
5225
|
+
break;
|
|
5226
|
+
case 4:
|
|
5227
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
5228
|
+
msg.setTracesSampled(value);
|
|
5229
|
+
break;
|
|
5230
|
+
case 5:
|
|
5231
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
5232
|
+
msg.setTracesSelected(value);
|
|
5233
|
+
break;
|
|
5234
|
+
case 6:
|
|
5235
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
5236
|
+
msg.setCatalogCapped(value);
|
|
5237
|
+
break;
|
|
5238
|
+
default:
|
|
5239
|
+
reader.skipField();
|
|
5240
|
+
break;
|
|
5241
|
+
}
|
|
5242
|
+
}
|
|
5243
|
+
return msg;
|
|
5244
|
+
};
|
|
5245
|
+
|
|
5246
|
+
|
|
5247
|
+
/**
|
|
5248
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
5249
|
+
* @return {!Uint8Array}
|
|
5250
|
+
*/
|
|
5251
|
+
proto.gateway.web.v1.ListDerivedMetricAttributesResponse.prototype.serializeBinary = function() {
|
|
5252
|
+
var writer = new jspb.BinaryWriter();
|
|
5253
|
+
proto.gateway.web.v1.ListDerivedMetricAttributesResponse.serializeBinaryToWriter(this, writer);
|
|
5254
|
+
return writer.getResultBuffer();
|
|
5255
|
+
};
|
|
5256
|
+
|
|
5257
|
+
|
|
5258
|
+
/**
|
|
5259
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
5260
|
+
* format), writing to the given BinaryWriter.
|
|
5261
|
+
* @param {!proto.gateway.web.v1.ListDerivedMetricAttributesResponse} message
|
|
5262
|
+
* @param {!jspb.BinaryWriter} writer
|
|
5263
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5264
|
+
*/
|
|
5265
|
+
proto.gateway.web.v1.ListDerivedMetricAttributesResponse.serializeBinaryToWriter = function(message, writer) {
|
|
5266
|
+
var f = undefined;
|
|
5267
|
+
f = message.getStatus();
|
|
5268
|
+
if (f != null) {
|
|
5269
|
+
writer.writeMessage(
|
|
5270
|
+
1,
|
|
5271
|
+
f,
|
|
5272
|
+
proto_gateway_common_v1_status_pb.ResponseStatus.serializeBinaryToWriter
|
|
5273
|
+
);
|
|
5274
|
+
}
|
|
5275
|
+
f = message.getTraceAttributesList();
|
|
5276
|
+
if (f.length > 0) {
|
|
5277
|
+
writer.writeRepeatedMessage(
|
|
5278
|
+
2,
|
|
5279
|
+
f,
|
|
5280
|
+
proto.gateway.web.v1.DerivedMetricAttribute.serializeBinaryToWriter
|
|
5281
|
+
);
|
|
5282
|
+
}
|
|
5283
|
+
f = message.getEventsList();
|
|
5284
|
+
if (f.length > 0) {
|
|
5285
|
+
writer.writeRepeatedMessage(
|
|
5286
|
+
3,
|
|
5287
|
+
f,
|
|
5288
|
+
proto.gateway.web.v1.DerivedMetricEventAttributes.serializeBinaryToWriter
|
|
5289
|
+
);
|
|
5290
|
+
}
|
|
5291
|
+
f = message.getTracesSampled();
|
|
5292
|
+
if (f !== 0) {
|
|
5293
|
+
writer.writeUint32(
|
|
5294
|
+
4,
|
|
5295
|
+
f
|
|
5296
|
+
);
|
|
5297
|
+
}
|
|
5298
|
+
f = message.getTracesSelected();
|
|
5299
|
+
if (f !== 0) {
|
|
5300
|
+
writer.writeUint32(
|
|
5301
|
+
5,
|
|
5302
|
+
f
|
|
5303
|
+
);
|
|
5304
|
+
}
|
|
5305
|
+
f = message.getCatalogCapped();
|
|
5306
|
+
if (f) {
|
|
5307
|
+
writer.writeBool(
|
|
5308
|
+
6,
|
|
5309
|
+
f
|
|
5310
|
+
);
|
|
5311
|
+
}
|
|
5312
|
+
};
|
|
5313
|
+
|
|
5314
|
+
|
|
5315
|
+
/**
|
|
5316
|
+
* optional gateway.common.v1.ResponseStatus status = 1;
|
|
5317
|
+
* @return {?proto.gateway.common.v1.ResponseStatus}
|
|
5318
|
+
*/
|
|
5319
|
+
proto.gateway.web.v1.ListDerivedMetricAttributesResponse.prototype.getStatus = function() {
|
|
5320
|
+
return /** @type{?proto.gateway.common.v1.ResponseStatus} */ (
|
|
5321
|
+
jspb.Message.getWrapperField(this, proto_gateway_common_v1_status_pb.ResponseStatus, 1));
|
|
5322
|
+
};
|
|
5323
|
+
|
|
5324
|
+
|
|
5325
|
+
/**
|
|
5326
|
+
* @param {?proto.gateway.common.v1.ResponseStatus|undefined} value
|
|
5327
|
+
* @return {!proto.gateway.web.v1.ListDerivedMetricAttributesResponse} returns this
|
|
5328
|
+
*/
|
|
5329
|
+
proto.gateway.web.v1.ListDerivedMetricAttributesResponse.prototype.setStatus = function(value) {
|
|
5330
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
5331
|
+
};
|
|
5332
|
+
|
|
5333
|
+
|
|
5334
|
+
/**
|
|
5335
|
+
* Clears the message field making it undefined.
|
|
5336
|
+
* @return {!proto.gateway.web.v1.ListDerivedMetricAttributesResponse} returns this
|
|
5337
|
+
*/
|
|
5338
|
+
proto.gateway.web.v1.ListDerivedMetricAttributesResponse.prototype.clearStatus = function() {
|
|
5339
|
+
return this.setStatus(undefined);
|
|
5340
|
+
};
|
|
5341
|
+
|
|
5342
|
+
|
|
5343
|
+
/**
|
|
5344
|
+
* Returns whether this field is set.
|
|
5345
|
+
* @return {boolean}
|
|
5346
|
+
*/
|
|
5347
|
+
proto.gateway.web.v1.ListDerivedMetricAttributesResponse.prototype.hasStatus = function() {
|
|
5348
|
+
return jspb.Message.getField(this, 1) != null;
|
|
5349
|
+
};
|
|
5350
|
+
|
|
5351
|
+
|
|
5352
|
+
/**
|
|
5353
|
+
* repeated DerivedMetricAttribute trace_attributes = 2;
|
|
5354
|
+
* @return {!Array<!proto.gateway.web.v1.DerivedMetricAttribute>}
|
|
5355
|
+
*/
|
|
5356
|
+
proto.gateway.web.v1.ListDerivedMetricAttributesResponse.prototype.getTraceAttributesList = function() {
|
|
5357
|
+
return /** @type{!Array<!proto.gateway.web.v1.DerivedMetricAttribute>} */ (
|
|
5358
|
+
jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.DerivedMetricAttribute, 2));
|
|
5359
|
+
};
|
|
5360
|
+
|
|
5361
|
+
|
|
5362
|
+
/**
|
|
5363
|
+
* @param {!Array<!proto.gateway.web.v1.DerivedMetricAttribute>} value
|
|
5364
|
+
* @return {!proto.gateway.web.v1.ListDerivedMetricAttributesResponse} returns this
|
|
5365
|
+
*/
|
|
5366
|
+
proto.gateway.web.v1.ListDerivedMetricAttributesResponse.prototype.setTraceAttributesList = function(value) {
|
|
5367
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
5368
|
+
};
|
|
5369
|
+
|
|
5370
|
+
|
|
5371
|
+
/**
|
|
5372
|
+
* @param {!proto.gateway.web.v1.DerivedMetricAttribute=} opt_value
|
|
5373
|
+
* @param {number=} opt_index
|
|
5374
|
+
* @return {!proto.gateway.web.v1.DerivedMetricAttribute}
|
|
5375
|
+
*/
|
|
5376
|
+
proto.gateway.web.v1.ListDerivedMetricAttributesResponse.prototype.addTraceAttributes = function(opt_value, opt_index) {
|
|
5377
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.gateway.web.v1.DerivedMetricAttribute, opt_index);
|
|
5378
|
+
};
|
|
5379
|
+
|
|
5380
|
+
|
|
5381
|
+
/**
|
|
5382
|
+
* Clears the list making it empty but non-null.
|
|
5383
|
+
* @return {!proto.gateway.web.v1.ListDerivedMetricAttributesResponse} returns this
|
|
5384
|
+
*/
|
|
5385
|
+
proto.gateway.web.v1.ListDerivedMetricAttributesResponse.prototype.clearTraceAttributesList = function() {
|
|
5386
|
+
return this.setTraceAttributesList([]);
|
|
5387
|
+
};
|
|
5388
|
+
|
|
5389
|
+
|
|
5390
|
+
/**
|
|
5391
|
+
* repeated DerivedMetricEventAttributes events = 3;
|
|
5392
|
+
* @return {!Array<!proto.gateway.web.v1.DerivedMetricEventAttributes>}
|
|
5393
|
+
*/
|
|
5394
|
+
proto.gateway.web.v1.ListDerivedMetricAttributesResponse.prototype.getEventsList = function() {
|
|
5395
|
+
return /** @type{!Array<!proto.gateway.web.v1.DerivedMetricEventAttributes>} */ (
|
|
5396
|
+
jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.DerivedMetricEventAttributes, 3));
|
|
5397
|
+
};
|
|
5398
|
+
|
|
5399
|
+
|
|
5400
|
+
/**
|
|
5401
|
+
* @param {!Array<!proto.gateway.web.v1.DerivedMetricEventAttributes>} value
|
|
5402
|
+
* @return {!proto.gateway.web.v1.ListDerivedMetricAttributesResponse} returns this
|
|
5403
|
+
*/
|
|
5404
|
+
proto.gateway.web.v1.ListDerivedMetricAttributesResponse.prototype.setEventsList = function(value) {
|
|
5405
|
+
return jspb.Message.setRepeatedWrapperField(this, 3, value);
|
|
5406
|
+
};
|
|
5407
|
+
|
|
5408
|
+
|
|
5409
|
+
/**
|
|
5410
|
+
* @param {!proto.gateway.web.v1.DerivedMetricEventAttributes=} opt_value
|
|
5411
|
+
* @param {number=} opt_index
|
|
5412
|
+
* @return {!proto.gateway.web.v1.DerivedMetricEventAttributes}
|
|
5413
|
+
*/
|
|
5414
|
+
proto.gateway.web.v1.ListDerivedMetricAttributesResponse.prototype.addEvents = function(opt_value, opt_index) {
|
|
5415
|
+
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.gateway.web.v1.DerivedMetricEventAttributes, opt_index);
|
|
5416
|
+
};
|
|
5417
|
+
|
|
5418
|
+
|
|
5419
|
+
/**
|
|
5420
|
+
* Clears the list making it empty but non-null.
|
|
5421
|
+
* @return {!proto.gateway.web.v1.ListDerivedMetricAttributesResponse} returns this
|
|
5422
|
+
*/
|
|
5423
|
+
proto.gateway.web.v1.ListDerivedMetricAttributesResponse.prototype.clearEventsList = function() {
|
|
5424
|
+
return this.setEventsList([]);
|
|
5425
|
+
};
|
|
5426
|
+
|
|
5427
|
+
|
|
5428
|
+
/**
|
|
5429
|
+
* optional uint32 traces_sampled = 4;
|
|
5430
|
+
* @return {number}
|
|
5431
|
+
*/
|
|
5432
|
+
proto.gateway.web.v1.ListDerivedMetricAttributesResponse.prototype.getTracesSampled = function() {
|
|
5433
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
5434
|
+
};
|
|
5435
|
+
|
|
5436
|
+
|
|
5437
|
+
/**
|
|
5438
|
+
* @param {number} value
|
|
5439
|
+
* @return {!proto.gateway.web.v1.ListDerivedMetricAttributesResponse} returns this
|
|
5440
|
+
*/
|
|
5441
|
+
proto.gateway.web.v1.ListDerivedMetricAttributesResponse.prototype.setTracesSampled = function(value) {
|
|
5442
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
5443
|
+
};
|
|
5444
|
+
|
|
5445
|
+
|
|
5446
|
+
/**
|
|
5447
|
+
* optional uint32 traces_selected = 5;
|
|
5448
|
+
* @return {number}
|
|
5449
|
+
*/
|
|
5450
|
+
proto.gateway.web.v1.ListDerivedMetricAttributesResponse.prototype.getTracesSelected = function() {
|
|
5451
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
5452
|
+
};
|
|
5453
|
+
|
|
5454
|
+
|
|
5455
|
+
/**
|
|
5456
|
+
* @param {number} value
|
|
5457
|
+
* @return {!proto.gateway.web.v1.ListDerivedMetricAttributesResponse} returns this
|
|
5458
|
+
*/
|
|
5459
|
+
proto.gateway.web.v1.ListDerivedMetricAttributesResponse.prototype.setTracesSelected = function(value) {
|
|
5460
|
+
return jspb.Message.setProto3IntField(this, 5, value);
|
|
5461
|
+
};
|
|
5462
|
+
|
|
5463
|
+
|
|
5464
|
+
/**
|
|
5465
|
+
* optional bool catalog_capped = 6;
|
|
5466
|
+
* @return {boolean}
|
|
5467
|
+
*/
|
|
5468
|
+
proto.gateway.web.v1.ListDerivedMetricAttributesResponse.prototype.getCatalogCapped = function() {
|
|
5469
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
|
|
5470
|
+
};
|
|
5471
|
+
|
|
5472
|
+
|
|
5473
|
+
/**
|
|
5474
|
+
* @param {boolean} value
|
|
5475
|
+
* @return {!proto.gateway.web.v1.ListDerivedMetricAttributesResponse} returns this
|
|
5476
|
+
*/
|
|
5477
|
+
proto.gateway.web.v1.ListDerivedMetricAttributesResponse.prototype.setCatalogCapped = function(value) {
|
|
5478
|
+
return jspb.Message.setProto3BooleanField(this, 6, value);
|
|
5479
|
+
};
|
|
5480
|
+
|
|
5481
|
+
|
|
5482
|
+
|
|
5483
|
+
/**
|
|
5484
|
+
* List of repeated fields within this message type.
|
|
5485
|
+
* @private {!Array<number>}
|
|
5486
|
+
* @const
|
|
5487
|
+
*/
|
|
5488
|
+
proto.gateway.web.v1.DerivedMetricAttribute.repeatedFields_ = [3];
|
|
5489
|
+
|
|
5490
|
+
|
|
5491
|
+
|
|
5492
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
5493
|
+
/**
|
|
5494
|
+
* Creates an object representation of this proto.
|
|
5495
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
5496
|
+
* Optional fields that are not set will be set to undefined.
|
|
5497
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
5498
|
+
* For the list of reserved names please see:
|
|
5499
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
5500
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
5501
|
+
* JSPB instance for transitional soy proto support:
|
|
5502
|
+
* http://goto/soy-param-migration
|
|
5503
|
+
* @return {!Object}
|
|
5504
|
+
*/
|
|
5505
|
+
proto.gateway.web.v1.DerivedMetricAttribute.prototype.toObject = function(opt_includeInstance) {
|
|
5506
|
+
return proto.gateway.web.v1.DerivedMetricAttribute.toObject(opt_includeInstance, this);
|
|
5507
|
+
};
|
|
5508
|
+
|
|
5509
|
+
|
|
5510
|
+
/**
|
|
5511
|
+
* Static version of the {@see toObject} method.
|
|
5512
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
5513
|
+
* the JSPB instance for transitional soy proto support:
|
|
5514
|
+
* http://goto/soy-param-migration
|
|
5515
|
+
* @param {!proto.gateway.web.v1.DerivedMetricAttribute} msg The msg instance to transform.
|
|
5516
|
+
* @return {!Object}
|
|
5517
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5518
|
+
*/
|
|
5519
|
+
proto.gateway.web.v1.DerivedMetricAttribute.toObject = function(includeInstance, msg) {
|
|
5520
|
+
var f, obj = {
|
|
5521
|
+
key: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
5522
|
+
type: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
5523
|
+
sampleValuesList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
|
|
5524
|
+
};
|
|
5525
|
+
|
|
5526
|
+
if (includeInstance) {
|
|
5527
|
+
obj.$jspbMessageInstance = msg;
|
|
5528
|
+
}
|
|
5529
|
+
return obj;
|
|
5530
|
+
};
|
|
5531
|
+
}
|
|
5532
|
+
|
|
5533
|
+
|
|
5534
|
+
/**
|
|
5535
|
+
* Deserializes binary data (in protobuf wire format).
|
|
5536
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
5537
|
+
* @return {!proto.gateway.web.v1.DerivedMetricAttribute}
|
|
5538
|
+
*/
|
|
5539
|
+
proto.gateway.web.v1.DerivedMetricAttribute.deserializeBinary = function(bytes) {
|
|
5540
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
5541
|
+
var msg = new proto.gateway.web.v1.DerivedMetricAttribute;
|
|
5542
|
+
return proto.gateway.web.v1.DerivedMetricAttribute.deserializeBinaryFromReader(msg, reader);
|
|
5543
|
+
};
|
|
5544
|
+
|
|
5545
|
+
|
|
5546
|
+
/**
|
|
5547
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
5548
|
+
* given reader into the given message object.
|
|
5549
|
+
* @param {!proto.gateway.web.v1.DerivedMetricAttribute} msg The message object to deserialize into.
|
|
5550
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
5551
|
+
* @return {!proto.gateway.web.v1.DerivedMetricAttribute}
|
|
5552
|
+
*/
|
|
5553
|
+
proto.gateway.web.v1.DerivedMetricAttribute.deserializeBinaryFromReader = function(msg, reader) {
|
|
5554
|
+
while (reader.nextField()) {
|
|
5555
|
+
if (reader.isEndGroup()) {
|
|
5556
|
+
break;
|
|
5557
|
+
}
|
|
5558
|
+
var field = reader.getFieldNumber();
|
|
5559
|
+
switch (field) {
|
|
5560
|
+
case 1:
|
|
5561
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5562
|
+
msg.setKey(value);
|
|
5563
|
+
break;
|
|
5564
|
+
case 2:
|
|
5565
|
+
var value = /** @type {!proto.gateway.web.v1.DerivedMetricAttributeType} */ (reader.readEnum());
|
|
5566
|
+
msg.setType(value);
|
|
5567
|
+
break;
|
|
5568
|
+
case 3:
|
|
5569
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5570
|
+
msg.addSampleValues(value);
|
|
5571
|
+
break;
|
|
5572
|
+
default:
|
|
5573
|
+
reader.skipField();
|
|
5574
|
+
break;
|
|
5575
|
+
}
|
|
5576
|
+
}
|
|
5577
|
+
return msg;
|
|
5578
|
+
};
|
|
5579
|
+
|
|
5580
|
+
|
|
5581
|
+
/**
|
|
5582
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
5583
|
+
* @return {!Uint8Array}
|
|
5584
|
+
*/
|
|
5585
|
+
proto.gateway.web.v1.DerivedMetricAttribute.prototype.serializeBinary = function() {
|
|
5586
|
+
var writer = new jspb.BinaryWriter();
|
|
5587
|
+
proto.gateway.web.v1.DerivedMetricAttribute.serializeBinaryToWriter(this, writer);
|
|
5588
|
+
return writer.getResultBuffer();
|
|
5589
|
+
};
|
|
5590
|
+
|
|
5591
|
+
|
|
5592
|
+
/**
|
|
5593
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
5594
|
+
* format), writing to the given BinaryWriter.
|
|
5595
|
+
* @param {!proto.gateway.web.v1.DerivedMetricAttribute} message
|
|
5596
|
+
* @param {!jspb.BinaryWriter} writer
|
|
5597
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5598
|
+
*/
|
|
5599
|
+
proto.gateway.web.v1.DerivedMetricAttribute.serializeBinaryToWriter = function(message, writer) {
|
|
5600
|
+
var f = undefined;
|
|
5601
|
+
f = message.getKey();
|
|
5602
|
+
if (f.length > 0) {
|
|
5603
|
+
writer.writeString(
|
|
5604
|
+
1,
|
|
5605
|
+
f
|
|
5606
|
+
);
|
|
5607
|
+
}
|
|
5608
|
+
f = message.getType();
|
|
5609
|
+
if (f !== 0.0) {
|
|
5610
|
+
writer.writeEnum(
|
|
5611
|
+
2,
|
|
5612
|
+
f
|
|
5613
|
+
);
|
|
5614
|
+
}
|
|
5615
|
+
f = message.getSampleValuesList();
|
|
5616
|
+
if (f.length > 0) {
|
|
5617
|
+
writer.writeRepeatedString(
|
|
5618
|
+
3,
|
|
5619
|
+
f
|
|
5620
|
+
);
|
|
5621
|
+
}
|
|
5622
|
+
};
|
|
5623
|
+
|
|
5624
|
+
|
|
5625
|
+
/**
|
|
5626
|
+
* optional string key = 1;
|
|
5627
|
+
* @return {string}
|
|
5628
|
+
*/
|
|
5629
|
+
proto.gateway.web.v1.DerivedMetricAttribute.prototype.getKey = function() {
|
|
5630
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
5631
|
+
};
|
|
5632
|
+
|
|
5633
|
+
|
|
5634
|
+
/**
|
|
5635
|
+
* @param {string} value
|
|
5636
|
+
* @return {!proto.gateway.web.v1.DerivedMetricAttribute} returns this
|
|
5637
|
+
*/
|
|
5638
|
+
proto.gateway.web.v1.DerivedMetricAttribute.prototype.setKey = function(value) {
|
|
5639
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
5640
|
+
};
|
|
5641
|
+
|
|
5642
|
+
|
|
5643
|
+
/**
|
|
5644
|
+
* optional DerivedMetricAttributeType type = 2;
|
|
5645
|
+
* @return {!proto.gateway.web.v1.DerivedMetricAttributeType}
|
|
5646
|
+
*/
|
|
5647
|
+
proto.gateway.web.v1.DerivedMetricAttribute.prototype.getType = function() {
|
|
5648
|
+
return /** @type {!proto.gateway.web.v1.DerivedMetricAttributeType} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
5649
|
+
};
|
|
5650
|
+
|
|
5651
|
+
|
|
5652
|
+
/**
|
|
5653
|
+
* @param {!proto.gateway.web.v1.DerivedMetricAttributeType} value
|
|
5654
|
+
* @return {!proto.gateway.web.v1.DerivedMetricAttribute} returns this
|
|
5655
|
+
*/
|
|
5656
|
+
proto.gateway.web.v1.DerivedMetricAttribute.prototype.setType = function(value) {
|
|
5657
|
+
return jspb.Message.setProto3EnumField(this, 2, value);
|
|
5658
|
+
};
|
|
5659
|
+
|
|
5660
|
+
|
|
5661
|
+
/**
|
|
5662
|
+
* repeated string sample_values = 3;
|
|
5663
|
+
* @return {!Array<string>}
|
|
5664
|
+
*/
|
|
5665
|
+
proto.gateway.web.v1.DerivedMetricAttribute.prototype.getSampleValuesList = function() {
|
|
5666
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
|
|
5667
|
+
};
|
|
5668
|
+
|
|
5669
|
+
|
|
5670
|
+
/**
|
|
5671
|
+
* @param {!Array<string>} value
|
|
5672
|
+
* @return {!proto.gateway.web.v1.DerivedMetricAttribute} returns this
|
|
5673
|
+
*/
|
|
5674
|
+
proto.gateway.web.v1.DerivedMetricAttribute.prototype.setSampleValuesList = function(value) {
|
|
5675
|
+
return jspb.Message.setField(this, 3, value || []);
|
|
5676
|
+
};
|
|
5677
|
+
|
|
5678
|
+
|
|
5679
|
+
/**
|
|
5680
|
+
* @param {string} value
|
|
5681
|
+
* @param {number=} opt_index
|
|
5682
|
+
* @return {!proto.gateway.web.v1.DerivedMetricAttribute} returns this
|
|
5683
|
+
*/
|
|
5684
|
+
proto.gateway.web.v1.DerivedMetricAttribute.prototype.addSampleValues = function(value, opt_index) {
|
|
5685
|
+
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
|
|
5686
|
+
};
|
|
5687
|
+
|
|
5688
|
+
|
|
5689
|
+
/**
|
|
5690
|
+
* Clears the list making it empty but non-null.
|
|
5691
|
+
* @return {!proto.gateway.web.v1.DerivedMetricAttribute} returns this
|
|
5692
|
+
*/
|
|
5693
|
+
proto.gateway.web.v1.DerivedMetricAttribute.prototype.clearSampleValuesList = function() {
|
|
5694
|
+
return this.setSampleValuesList([]);
|
|
5695
|
+
};
|
|
5696
|
+
|
|
5697
|
+
|
|
5698
|
+
|
|
5699
|
+
/**
|
|
5700
|
+
* List of repeated fields within this message type.
|
|
5701
|
+
* @private {!Array<number>}
|
|
5702
|
+
* @const
|
|
5703
|
+
*/
|
|
5704
|
+
proto.gateway.web.v1.DerivedMetricEventAttributes.repeatedFields_ = [2];
|
|
5705
|
+
|
|
5706
|
+
|
|
5707
|
+
|
|
5708
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
5709
|
+
/**
|
|
5710
|
+
* Creates an object representation of this proto.
|
|
5711
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
5712
|
+
* Optional fields that are not set will be set to undefined.
|
|
5713
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
5714
|
+
* For the list of reserved names please see:
|
|
5715
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
5716
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
5717
|
+
* JSPB instance for transitional soy proto support:
|
|
5718
|
+
* http://goto/soy-param-migration
|
|
5719
|
+
* @return {!Object}
|
|
5720
|
+
*/
|
|
5721
|
+
proto.gateway.web.v1.DerivedMetricEventAttributes.prototype.toObject = function(opt_includeInstance) {
|
|
5722
|
+
return proto.gateway.web.v1.DerivedMetricEventAttributes.toObject(opt_includeInstance, this);
|
|
5723
|
+
};
|
|
5724
|
+
|
|
5725
|
+
|
|
5726
|
+
/**
|
|
5727
|
+
* Static version of the {@see toObject} method.
|
|
5728
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
5729
|
+
* the JSPB instance for transitional soy proto support:
|
|
5730
|
+
* http://goto/soy-param-migration
|
|
5731
|
+
* @param {!proto.gateway.web.v1.DerivedMetricEventAttributes} msg The msg instance to transform.
|
|
5732
|
+
* @return {!Object}
|
|
5733
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5734
|
+
*/
|
|
5735
|
+
proto.gateway.web.v1.DerivedMetricEventAttributes.toObject = function(includeInstance, msg) {
|
|
5736
|
+
var f, obj = {
|
|
5737
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
5738
|
+
attributesList: jspb.Message.toObjectList(msg.getAttributesList(),
|
|
5739
|
+
proto.gateway.web.v1.DerivedMetricAttribute.toObject, includeInstance)
|
|
5740
|
+
};
|
|
5741
|
+
|
|
5742
|
+
if (includeInstance) {
|
|
5743
|
+
obj.$jspbMessageInstance = msg;
|
|
5744
|
+
}
|
|
5745
|
+
return obj;
|
|
5746
|
+
};
|
|
5747
|
+
}
|
|
5748
|
+
|
|
5749
|
+
|
|
5750
|
+
/**
|
|
5751
|
+
* Deserializes binary data (in protobuf wire format).
|
|
5752
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
5753
|
+
* @return {!proto.gateway.web.v1.DerivedMetricEventAttributes}
|
|
5754
|
+
*/
|
|
5755
|
+
proto.gateway.web.v1.DerivedMetricEventAttributes.deserializeBinary = function(bytes) {
|
|
5756
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
5757
|
+
var msg = new proto.gateway.web.v1.DerivedMetricEventAttributes;
|
|
5758
|
+
return proto.gateway.web.v1.DerivedMetricEventAttributes.deserializeBinaryFromReader(msg, reader);
|
|
5759
|
+
};
|
|
5760
|
+
|
|
5761
|
+
|
|
5762
|
+
/**
|
|
5763
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
5764
|
+
* given reader into the given message object.
|
|
5765
|
+
* @param {!proto.gateway.web.v1.DerivedMetricEventAttributes} msg The message object to deserialize into.
|
|
5766
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
5767
|
+
* @return {!proto.gateway.web.v1.DerivedMetricEventAttributes}
|
|
5768
|
+
*/
|
|
5769
|
+
proto.gateway.web.v1.DerivedMetricEventAttributes.deserializeBinaryFromReader = function(msg, reader) {
|
|
5770
|
+
while (reader.nextField()) {
|
|
5771
|
+
if (reader.isEndGroup()) {
|
|
5772
|
+
break;
|
|
5773
|
+
}
|
|
5774
|
+
var field = reader.getFieldNumber();
|
|
5775
|
+
switch (field) {
|
|
5776
|
+
case 1:
|
|
5777
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5778
|
+
msg.setName(value);
|
|
5779
|
+
break;
|
|
5780
|
+
case 2:
|
|
5781
|
+
var value = new proto.gateway.web.v1.DerivedMetricAttribute;
|
|
5782
|
+
reader.readMessage(value,proto.gateway.web.v1.DerivedMetricAttribute.deserializeBinaryFromReader);
|
|
5783
|
+
msg.addAttributes(value);
|
|
5784
|
+
break;
|
|
5785
|
+
default:
|
|
5786
|
+
reader.skipField();
|
|
5787
|
+
break;
|
|
5788
|
+
}
|
|
5789
|
+
}
|
|
5790
|
+
return msg;
|
|
5791
|
+
};
|
|
5792
|
+
|
|
5793
|
+
|
|
5794
|
+
/**
|
|
5795
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
5796
|
+
* @return {!Uint8Array}
|
|
5797
|
+
*/
|
|
5798
|
+
proto.gateway.web.v1.DerivedMetricEventAttributes.prototype.serializeBinary = function() {
|
|
5799
|
+
var writer = new jspb.BinaryWriter();
|
|
5800
|
+
proto.gateway.web.v1.DerivedMetricEventAttributes.serializeBinaryToWriter(this, writer);
|
|
5801
|
+
return writer.getResultBuffer();
|
|
5802
|
+
};
|
|
5803
|
+
|
|
5804
|
+
|
|
5805
|
+
/**
|
|
5806
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
5807
|
+
* format), writing to the given BinaryWriter.
|
|
5808
|
+
* @param {!proto.gateway.web.v1.DerivedMetricEventAttributes} message
|
|
5809
|
+
* @param {!jspb.BinaryWriter} writer
|
|
5810
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5811
|
+
*/
|
|
5812
|
+
proto.gateway.web.v1.DerivedMetricEventAttributes.serializeBinaryToWriter = function(message, writer) {
|
|
5813
|
+
var f = undefined;
|
|
5814
|
+
f = message.getName();
|
|
5815
|
+
if (f.length > 0) {
|
|
5816
|
+
writer.writeString(
|
|
5817
|
+
1,
|
|
5818
|
+
f
|
|
5819
|
+
);
|
|
5820
|
+
}
|
|
5821
|
+
f = message.getAttributesList();
|
|
5822
|
+
if (f.length > 0) {
|
|
5823
|
+
writer.writeRepeatedMessage(
|
|
5824
|
+
2,
|
|
5825
|
+
f,
|
|
5826
|
+
proto.gateway.web.v1.DerivedMetricAttribute.serializeBinaryToWriter
|
|
5827
|
+
);
|
|
5828
|
+
}
|
|
5829
|
+
};
|
|
5830
|
+
|
|
5831
|
+
|
|
5832
|
+
/**
|
|
5833
|
+
* optional string name = 1;
|
|
5834
|
+
* @return {string}
|
|
5835
|
+
*/
|
|
5836
|
+
proto.gateway.web.v1.DerivedMetricEventAttributes.prototype.getName = function() {
|
|
5837
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
5838
|
+
};
|
|
5839
|
+
|
|
5840
|
+
|
|
5841
|
+
/**
|
|
5842
|
+
* @param {string} value
|
|
5843
|
+
* @return {!proto.gateway.web.v1.DerivedMetricEventAttributes} returns this
|
|
5844
|
+
*/
|
|
5845
|
+
proto.gateway.web.v1.DerivedMetricEventAttributes.prototype.setName = function(value) {
|
|
5846
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
5847
|
+
};
|
|
5848
|
+
|
|
5849
|
+
|
|
5850
|
+
/**
|
|
5851
|
+
* repeated DerivedMetricAttribute attributes = 2;
|
|
5852
|
+
* @return {!Array<!proto.gateway.web.v1.DerivedMetricAttribute>}
|
|
5853
|
+
*/
|
|
5854
|
+
proto.gateway.web.v1.DerivedMetricEventAttributes.prototype.getAttributesList = function() {
|
|
5855
|
+
return /** @type{!Array<!proto.gateway.web.v1.DerivedMetricAttribute>} */ (
|
|
5856
|
+
jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.DerivedMetricAttribute, 2));
|
|
5857
|
+
};
|
|
5858
|
+
|
|
5859
|
+
|
|
5860
|
+
/**
|
|
5861
|
+
* @param {!Array<!proto.gateway.web.v1.DerivedMetricAttribute>} value
|
|
5862
|
+
* @return {!proto.gateway.web.v1.DerivedMetricEventAttributes} returns this
|
|
5863
|
+
*/
|
|
5864
|
+
proto.gateway.web.v1.DerivedMetricEventAttributes.prototype.setAttributesList = function(value) {
|
|
5865
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
5866
|
+
};
|
|
5867
|
+
|
|
5868
|
+
|
|
5869
|
+
/**
|
|
5870
|
+
* @param {!proto.gateway.web.v1.DerivedMetricAttribute=} opt_value
|
|
5871
|
+
* @param {number=} opt_index
|
|
5872
|
+
* @return {!proto.gateway.web.v1.DerivedMetricAttribute}
|
|
5873
|
+
*/
|
|
5874
|
+
proto.gateway.web.v1.DerivedMetricEventAttributes.prototype.addAttributes = function(opt_value, opt_index) {
|
|
5875
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.gateway.web.v1.DerivedMetricAttribute, opt_index);
|
|
5876
|
+
};
|
|
5877
|
+
|
|
5878
|
+
|
|
5879
|
+
/**
|
|
5880
|
+
* Clears the list making it empty but non-null.
|
|
5881
|
+
* @return {!proto.gateway.web.v1.DerivedMetricEventAttributes} returns this
|
|
5882
|
+
*/
|
|
5883
|
+
proto.gateway.web.v1.DerivedMetricEventAttributes.prototype.clearAttributesList = function() {
|
|
5884
|
+
return this.setAttributesList([]);
|
|
5885
|
+
};
|
|
5886
|
+
|
|
5887
|
+
|
|
5888
|
+
/**
|
|
5889
|
+
* @enum {number}
|
|
5890
|
+
*/
|
|
5891
|
+
proto.gateway.web.v1.DerivedMetricSource = {
|
|
5892
|
+
DERIVED_METRIC_SOURCE_UNSPECIFIED: 0,
|
|
5893
|
+
DERIVED_METRIC_SOURCE_TRACE: 1
|
|
5894
|
+
};
|
|
5895
|
+
|
|
5896
|
+
/**
|
|
5897
|
+
* @enum {number}
|
|
5898
|
+
*/
|
|
5899
|
+
proto.gateway.web.v1.DerivedMetricOutcome = {
|
|
5900
|
+
DERIVED_METRIC_OUTCOME_UNSPECIFIED: 0,
|
|
5901
|
+
DERIVED_METRIC_OUTCOME_EMITTED: 1,
|
|
5902
|
+
DERIVED_METRIC_OUTCOME_OUT_OF_POPULATION: 2,
|
|
5903
|
+
DERIVED_METRIC_OUTCOME_POPULATION_ERROR: 3,
|
|
5904
|
+
DERIVED_METRIC_OUTCOME_VALUE_MISSING: 4,
|
|
5905
|
+
DERIVED_METRIC_OUTCOME_VALUE_ERROR: 5,
|
|
5906
|
+
DERIVED_METRIC_OUTCOME_VALUE_NON_FINITE: 6,
|
|
5907
|
+
DERIVED_METRIC_OUTCOME_TRACE_TOO_LARGE: 7,
|
|
5908
|
+
DERIVED_METRIC_OUTCOME_CANCELLED: 8,
|
|
5909
|
+
DERIVED_METRIC_OUTCOME_TRACE_UNREADABLE: 9,
|
|
5910
|
+
DERIVED_METRIC_OUTCOME_VALUE_OUT_OF_EXACT_RANGE: 10
|
|
5911
|
+
};
|
|
5912
|
+
|
|
5913
|
+
/**
|
|
5914
|
+
* @enum {number}
|
|
5915
|
+
*/
|
|
5916
|
+
proto.gateway.web.v1.DerivedMetricAttributeType = {
|
|
5917
|
+
DERIVED_METRIC_ATTRIBUTE_TYPE_UNSPECIFIED: 0,
|
|
5918
|
+
DERIVED_METRIC_ATTRIBUTE_TYPE_STRING: 1,
|
|
5919
|
+
DERIVED_METRIC_ATTRIBUTE_TYPE_BOOL: 2,
|
|
5920
|
+
DERIVED_METRIC_ATTRIBUTE_TYPE_INT: 3,
|
|
5921
|
+
DERIVED_METRIC_ATTRIBUTE_TYPE_DOUBLE: 4,
|
|
5922
|
+
DERIVED_METRIC_ATTRIBUTE_TYPE_MIXED: 5
|
|
4803
5923
|
};
|
|
4804
5924
|
|
|
4805
5925
|
goog.object.extend(exports, proto.gateway.web.v1);
|