@miradorlabs/web-grpc 2.9.0 → 2.10.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,6 +30,9 @@ 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);
|
|
@@ -41,6 +44,8 @@ goog.exportSymbol('proto.gateway.web.v1.DryRunTraceResult', null, global);
|
|
|
41
44
|
goog.exportSymbol('proto.gateway.web.v1.DryRunTraceResult.ResultCase', null, global);
|
|
42
45
|
goog.exportSymbol('proto.gateway.web.v1.GetDerivedMetricRequest', null, global);
|
|
43
46
|
goog.exportSymbol('proto.gateway.web.v1.GetDerivedMetricResponse', null, global);
|
|
47
|
+
goog.exportSymbol('proto.gateway.web.v1.ListDerivedMetricAttributesRequest', null, global);
|
|
48
|
+
goog.exportSymbol('proto.gateway.web.v1.ListDerivedMetricAttributesResponse', null, global);
|
|
44
49
|
goog.exportSymbol('proto.gateway.web.v1.ListDerivedMetricsRequest', null, global);
|
|
45
50
|
goog.exportSymbol('proto.gateway.web.v1.ListDerivedMetricsResponse', null, global);
|
|
46
51
|
goog.exportSymbol('proto.gateway.web.v1.UpdateDerivedMetricRequest', null, global);
|
|
@@ -78,7 +83,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
78
83
|
* @constructor
|
|
79
84
|
*/
|
|
80
85
|
proto.gateway.web.v1.DerivedMetricProgram = function(opt_data) {
|
|
81
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
86
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.DerivedMetricProgram.repeatedFields_, null);
|
|
82
87
|
};
|
|
83
88
|
goog.inherits(proto.gateway.web.v1.DerivedMetricProgram, jspb.Message);
|
|
84
89
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -445,6 +450,90 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
445
450
|
*/
|
|
446
451
|
proto.gateway.web.v1.DerivedMetricOutcomeCount.displayName = 'proto.gateway.web.v1.DerivedMetricOutcomeCount';
|
|
447
452
|
}
|
|
453
|
+
/**
|
|
454
|
+
* Generated by JsPbCodeGenerator.
|
|
455
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
456
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
457
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
458
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
459
|
+
* valid.
|
|
460
|
+
* @extends {jspb.Message}
|
|
461
|
+
* @constructor
|
|
462
|
+
*/
|
|
463
|
+
proto.gateway.web.v1.ListDerivedMetricAttributesRequest = function(opt_data) {
|
|
464
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
465
|
+
};
|
|
466
|
+
goog.inherits(proto.gateway.web.v1.ListDerivedMetricAttributesRequest, jspb.Message);
|
|
467
|
+
if (goog.DEBUG && !COMPILED) {
|
|
468
|
+
/**
|
|
469
|
+
* @public
|
|
470
|
+
* @override
|
|
471
|
+
*/
|
|
472
|
+
proto.gateway.web.v1.ListDerivedMetricAttributesRequest.displayName = 'proto.gateway.web.v1.ListDerivedMetricAttributesRequest';
|
|
473
|
+
}
|
|
474
|
+
/**
|
|
475
|
+
* Generated by JsPbCodeGenerator.
|
|
476
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
477
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
478
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
479
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
480
|
+
* valid.
|
|
481
|
+
* @extends {jspb.Message}
|
|
482
|
+
* @constructor
|
|
483
|
+
*/
|
|
484
|
+
proto.gateway.web.v1.ListDerivedMetricAttributesResponse = function(opt_data) {
|
|
485
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.ListDerivedMetricAttributesResponse.repeatedFields_, null);
|
|
486
|
+
};
|
|
487
|
+
goog.inherits(proto.gateway.web.v1.ListDerivedMetricAttributesResponse, jspb.Message);
|
|
488
|
+
if (goog.DEBUG && !COMPILED) {
|
|
489
|
+
/**
|
|
490
|
+
* @public
|
|
491
|
+
* @override
|
|
492
|
+
*/
|
|
493
|
+
proto.gateway.web.v1.ListDerivedMetricAttributesResponse.displayName = 'proto.gateway.web.v1.ListDerivedMetricAttributesResponse';
|
|
494
|
+
}
|
|
495
|
+
/**
|
|
496
|
+
* Generated by JsPbCodeGenerator.
|
|
497
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
498
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
499
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
500
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
501
|
+
* valid.
|
|
502
|
+
* @extends {jspb.Message}
|
|
503
|
+
* @constructor
|
|
504
|
+
*/
|
|
505
|
+
proto.gateway.web.v1.DerivedMetricAttribute = function(opt_data) {
|
|
506
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.DerivedMetricAttribute.repeatedFields_, null);
|
|
507
|
+
};
|
|
508
|
+
goog.inherits(proto.gateway.web.v1.DerivedMetricAttribute, jspb.Message);
|
|
509
|
+
if (goog.DEBUG && !COMPILED) {
|
|
510
|
+
/**
|
|
511
|
+
* @public
|
|
512
|
+
* @override
|
|
513
|
+
*/
|
|
514
|
+
proto.gateway.web.v1.DerivedMetricAttribute.displayName = 'proto.gateway.web.v1.DerivedMetricAttribute';
|
|
515
|
+
}
|
|
516
|
+
/**
|
|
517
|
+
* Generated by JsPbCodeGenerator.
|
|
518
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
519
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
520
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
521
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
522
|
+
* valid.
|
|
523
|
+
* @extends {jspb.Message}
|
|
524
|
+
* @constructor
|
|
525
|
+
*/
|
|
526
|
+
proto.gateway.web.v1.DerivedMetricEventAttributes = function(opt_data) {
|
|
527
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.DerivedMetricEventAttributes.repeatedFields_, null);
|
|
528
|
+
};
|
|
529
|
+
goog.inherits(proto.gateway.web.v1.DerivedMetricEventAttributes, jspb.Message);
|
|
530
|
+
if (goog.DEBUG && !COMPILED) {
|
|
531
|
+
/**
|
|
532
|
+
* @public
|
|
533
|
+
* @override
|
|
534
|
+
*/
|
|
535
|
+
proto.gateway.web.v1.DerivedMetricEventAttributes.displayName = 'proto.gateway.web.v1.DerivedMetricEventAttributes';
|
|
536
|
+
}
|
|
448
537
|
|
|
449
538
|
|
|
450
539
|
|
|
@@ -969,6 +1058,13 @@ proto.gateway.web.v1.DerivedMetric.prototype.hasUpdatedAt = function() {
|
|
|
969
1058
|
|
|
970
1059
|
|
|
971
1060
|
|
|
1061
|
+
/**
|
|
1062
|
+
* List of repeated fields within this message type.
|
|
1063
|
+
* @private {!Array<number>}
|
|
1064
|
+
* @const
|
|
1065
|
+
*/
|
|
1066
|
+
proto.gateway.web.v1.DerivedMetricProgram.repeatedFields_ = [4];
|
|
1067
|
+
|
|
972
1068
|
|
|
973
1069
|
|
|
974
1070
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -1002,7 +1098,7 @@ proto.gateway.web.v1.DerivedMetricProgram.toObject = function(includeInstance, m
|
|
|
1002
1098
|
var f, obj = {
|
|
1003
1099
|
populationExpression: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1004
1100
|
valueExpression: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
1005
|
-
|
|
1101
|
+
dimensionsList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f
|
|
1006
1102
|
};
|
|
1007
1103
|
|
|
1008
1104
|
if (includeInstance) {
|
|
@@ -1047,9 +1143,9 @@ proto.gateway.web.v1.DerivedMetricProgram.deserializeBinaryFromReader = function
|
|
|
1047
1143
|
var value = /** @type {string} */ (reader.readString());
|
|
1048
1144
|
msg.setValueExpression(value);
|
|
1049
1145
|
break;
|
|
1050
|
-
case
|
|
1146
|
+
case 4:
|
|
1051
1147
|
var value = /** @type {string} */ (reader.readString());
|
|
1052
|
-
msg.
|
|
1148
|
+
msg.addDimensions(value);
|
|
1053
1149
|
break;
|
|
1054
1150
|
default:
|
|
1055
1151
|
reader.skipField();
|
|
@@ -1094,10 +1190,10 @@ proto.gateway.web.v1.DerivedMetricProgram.serializeBinaryToWriter = function(mes
|
|
|
1094
1190
|
f
|
|
1095
1191
|
);
|
|
1096
1192
|
}
|
|
1097
|
-
f = message.
|
|
1193
|
+
f = message.getDimensionsList();
|
|
1098
1194
|
if (f.length > 0) {
|
|
1099
|
-
writer.
|
|
1100
|
-
|
|
1195
|
+
writer.writeRepeatedString(
|
|
1196
|
+
4,
|
|
1101
1197
|
f
|
|
1102
1198
|
);
|
|
1103
1199
|
}
|
|
@@ -1141,20 +1237,39 @@ proto.gateway.web.v1.DerivedMetricProgram.prototype.setValueExpression = functio
|
|
|
1141
1237
|
|
|
1142
1238
|
|
|
1143
1239
|
/**
|
|
1144
|
-
*
|
|
1145
|
-
* @return {string}
|
|
1240
|
+
* repeated string dimensions = 4;
|
|
1241
|
+
* @return {!Array<string>}
|
|
1146
1242
|
*/
|
|
1147
|
-
proto.gateway.web.v1.DerivedMetricProgram.prototype.
|
|
1148
|
-
return /** @type {string} */ (jspb.Message.
|
|
1243
|
+
proto.gateway.web.v1.DerivedMetricProgram.prototype.getDimensionsList = function() {
|
|
1244
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 4));
|
|
1245
|
+
};
|
|
1246
|
+
|
|
1247
|
+
|
|
1248
|
+
/**
|
|
1249
|
+
* @param {!Array<string>} value
|
|
1250
|
+
* @return {!proto.gateway.web.v1.DerivedMetricProgram} returns this
|
|
1251
|
+
*/
|
|
1252
|
+
proto.gateway.web.v1.DerivedMetricProgram.prototype.setDimensionsList = function(value) {
|
|
1253
|
+
return jspb.Message.setField(this, 4, value || []);
|
|
1149
1254
|
};
|
|
1150
1255
|
|
|
1151
1256
|
|
|
1152
1257
|
/**
|
|
1153
1258
|
* @param {string} value
|
|
1259
|
+
* @param {number=} opt_index
|
|
1154
1260
|
* @return {!proto.gateway.web.v1.DerivedMetricProgram} returns this
|
|
1155
1261
|
*/
|
|
1156
|
-
proto.gateway.web.v1.DerivedMetricProgram.prototype.
|
|
1157
|
-
return jspb.Message.
|
|
1262
|
+
proto.gateway.web.v1.DerivedMetricProgram.prototype.addDimensions = function(value, opt_index) {
|
|
1263
|
+
return jspb.Message.addToRepeatedField(this, 4, value, opt_index);
|
|
1264
|
+
};
|
|
1265
|
+
|
|
1266
|
+
|
|
1267
|
+
/**
|
|
1268
|
+
* Clears the list making it empty but non-null.
|
|
1269
|
+
* @return {!proto.gateway.web.v1.DerivedMetricProgram} returns this
|
|
1270
|
+
*/
|
|
1271
|
+
proto.gateway.web.v1.DerivedMetricProgram.prototype.clearDimensionsList = function() {
|
|
1272
|
+
return this.setDimensionsList([]);
|
|
1158
1273
|
};
|
|
1159
1274
|
|
|
1160
1275
|
|
|
@@ -4338,7 +4453,7 @@ proto.gateway.web.v1.DryRunEmission.prototype.toObject = function(opt_includeIns
|
|
|
4338
4453
|
proto.gateway.web.v1.DryRunEmission.toObject = function(includeInstance, msg) {
|
|
4339
4454
|
var f, obj = {
|
|
4340
4455
|
value: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0),
|
|
4341
|
-
|
|
4456
|
+
resolvedDimensionsMap: (f = msg.getResolvedDimensionsMap()) ? f.toObject(includeInstance, undefined) : []
|
|
4342
4457
|
};
|
|
4343
4458
|
|
|
4344
4459
|
if (includeInstance) {
|
|
@@ -4379,9 +4494,11 @@ proto.gateway.web.v1.DryRunEmission.deserializeBinaryFromReader = function(msg,
|
|
|
4379
4494
|
var value = /** @type {number} */ (reader.readDouble());
|
|
4380
4495
|
msg.setValue(value);
|
|
4381
4496
|
break;
|
|
4382
|
-
case
|
|
4383
|
-
var value =
|
|
4384
|
-
|
|
4497
|
+
case 3:
|
|
4498
|
+
var value = msg.getResolvedDimensionsMap();
|
|
4499
|
+
reader.readMessage(value, function(message, reader) {
|
|
4500
|
+
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
|
|
4501
|
+
});
|
|
4385
4502
|
break;
|
|
4386
4503
|
default:
|
|
4387
4504
|
reader.skipField();
|
|
@@ -4419,12 +4536,9 @@ proto.gateway.web.v1.DryRunEmission.serializeBinaryToWriter = function(message,
|
|
|
4419
4536
|
f
|
|
4420
4537
|
);
|
|
4421
4538
|
}
|
|
4422
|
-
f = message.
|
|
4423
|
-
if (f.
|
|
4424
|
-
writer.writeString
|
|
4425
|
-
2,
|
|
4426
|
-
f
|
|
4427
|
-
);
|
|
4539
|
+
f = message.getResolvedDimensionsMap(true);
|
|
4540
|
+
if (f && f.getLength() > 0) {
|
|
4541
|
+
f.serializeBinary(3, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
|
|
4428
4542
|
}
|
|
4429
4543
|
};
|
|
4430
4544
|
|
|
@@ -4448,20 +4562,25 @@ proto.gateway.web.v1.DryRunEmission.prototype.setValue = function(value) {
|
|
|
4448
4562
|
|
|
4449
4563
|
|
|
4450
4564
|
/**
|
|
4451
|
-
*
|
|
4452
|
-
* @
|
|
4565
|
+
* map<string, string> resolved_dimensions = 3;
|
|
4566
|
+
* @param {boolean=} opt_noLazyCreate Do not create the map if
|
|
4567
|
+
* empty, instead returning `undefined`
|
|
4568
|
+
* @return {!jspb.Map<string,string>}
|
|
4453
4569
|
*/
|
|
4454
|
-
proto.gateway.web.v1.DryRunEmission.prototype.
|
|
4455
|
-
return /** @type {string} */ (
|
|
4570
|
+
proto.gateway.web.v1.DryRunEmission.prototype.getResolvedDimensionsMap = function(opt_noLazyCreate) {
|
|
4571
|
+
return /** @type {!jspb.Map<string,string>} */ (
|
|
4572
|
+
jspb.Message.getMapField(this, 3, opt_noLazyCreate,
|
|
4573
|
+
null));
|
|
4456
4574
|
};
|
|
4457
4575
|
|
|
4458
4576
|
|
|
4459
4577
|
/**
|
|
4460
|
-
*
|
|
4578
|
+
* Clears values from the map. The map will be non-null.
|
|
4461
4579
|
* @return {!proto.gateway.web.v1.DryRunEmission} returns this
|
|
4462
4580
|
*/
|
|
4463
|
-
proto.gateway.web.v1.DryRunEmission.prototype.
|
|
4464
|
-
|
|
4581
|
+
proto.gateway.web.v1.DryRunEmission.prototype.clearResolvedDimensionsMap = function() {
|
|
4582
|
+
this.getResolvedDimensionsMap().clear();
|
|
4583
|
+
return this;
|
|
4465
4584
|
};
|
|
4466
4585
|
|
|
4467
4586
|
|
|
@@ -4785,21 +4904,953 @@ proto.gateway.web.v1.DerivedMetricOutcomeCount.prototype.setCount = function(val
|
|
|
4785
4904
|
};
|
|
4786
4905
|
|
|
4787
4906
|
|
|
4907
|
+
|
|
4908
|
+
|
|
4909
|
+
|
|
4910
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4788
4911
|
/**
|
|
4789
|
-
*
|
|
4912
|
+
* Creates an object representation of this proto.
|
|
4913
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4914
|
+
* Optional fields that are not set will be set to undefined.
|
|
4915
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4916
|
+
* For the list of reserved names please see:
|
|
4917
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
4918
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
4919
|
+
* JSPB instance for transitional soy proto support:
|
|
4920
|
+
* http://goto/soy-param-migration
|
|
4921
|
+
* @return {!Object}
|
|
4790
4922
|
*/
|
|
4791
|
-
proto.gateway.web.v1.
|
|
4792
|
-
|
|
4793
|
-
|
|
4794
|
-
|
|
4795
|
-
|
|
4796
|
-
|
|
4797
|
-
|
|
4798
|
-
|
|
4799
|
-
|
|
4800
|
-
|
|
4801
|
-
|
|
4802
|
-
|
|
4923
|
+
proto.gateway.web.v1.ListDerivedMetricAttributesRequest.prototype.toObject = function(opt_includeInstance) {
|
|
4924
|
+
return proto.gateway.web.v1.ListDerivedMetricAttributesRequest.toObject(opt_includeInstance, this);
|
|
4925
|
+
};
|
|
4926
|
+
|
|
4927
|
+
|
|
4928
|
+
/**
|
|
4929
|
+
* Static version of the {@see toObject} method.
|
|
4930
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4931
|
+
* the JSPB instance for transitional soy proto support:
|
|
4932
|
+
* http://goto/soy-param-migration
|
|
4933
|
+
* @param {!proto.gateway.web.v1.ListDerivedMetricAttributesRequest} msg The msg instance to transform.
|
|
4934
|
+
* @return {!Object}
|
|
4935
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4936
|
+
*/
|
|
4937
|
+
proto.gateway.web.v1.ListDerivedMetricAttributesRequest.toObject = function(includeInstance, msg) {
|
|
4938
|
+
var f, obj = {
|
|
4939
|
+
organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
4940
|
+
projectId: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
4941
|
+
};
|
|
4942
|
+
|
|
4943
|
+
if (includeInstance) {
|
|
4944
|
+
obj.$jspbMessageInstance = msg;
|
|
4945
|
+
}
|
|
4946
|
+
return obj;
|
|
4947
|
+
};
|
|
4948
|
+
}
|
|
4949
|
+
|
|
4950
|
+
|
|
4951
|
+
/**
|
|
4952
|
+
* Deserializes binary data (in protobuf wire format).
|
|
4953
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4954
|
+
* @return {!proto.gateway.web.v1.ListDerivedMetricAttributesRequest}
|
|
4955
|
+
*/
|
|
4956
|
+
proto.gateway.web.v1.ListDerivedMetricAttributesRequest.deserializeBinary = function(bytes) {
|
|
4957
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
4958
|
+
var msg = new proto.gateway.web.v1.ListDerivedMetricAttributesRequest;
|
|
4959
|
+
return proto.gateway.web.v1.ListDerivedMetricAttributesRequest.deserializeBinaryFromReader(msg, reader);
|
|
4960
|
+
};
|
|
4961
|
+
|
|
4962
|
+
|
|
4963
|
+
/**
|
|
4964
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
4965
|
+
* given reader into the given message object.
|
|
4966
|
+
* @param {!proto.gateway.web.v1.ListDerivedMetricAttributesRequest} msg The message object to deserialize into.
|
|
4967
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4968
|
+
* @return {!proto.gateway.web.v1.ListDerivedMetricAttributesRequest}
|
|
4969
|
+
*/
|
|
4970
|
+
proto.gateway.web.v1.ListDerivedMetricAttributesRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
4971
|
+
while (reader.nextField()) {
|
|
4972
|
+
if (reader.isEndGroup()) {
|
|
4973
|
+
break;
|
|
4974
|
+
}
|
|
4975
|
+
var field = reader.getFieldNumber();
|
|
4976
|
+
switch (field) {
|
|
4977
|
+
case 1:
|
|
4978
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4979
|
+
msg.setOrganizationId(value);
|
|
4980
|
+
break;
|
|
4981
|
+
case 2:
|
|
4982
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4983
|
+
msg.setProjectId(value);
|
|
4984
|
+
break;
|
|
4985
|
+
default:
|
|
4986
|
+
reader.skipField();
|
|
4987
|
+
break;
|
|
4988
|
+
}
|
|
4989
|
+
}
|
|
4990
|
+
return msg;
|
|
4991
|
+
};
|
|
4992
|
+
|
|
4993
|
+
|
|
4994
|
+
/**
|
|
4995
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
4996
|
+
* @return {!Uint8Array}
|
|
4997
|
+
*/
|
|
4998
|
+
proto.gateway.web.v1.ListDerivedMetricAttributesRequest.prototype.serializeBinary = function() {
|
|
4999
|
+
var writer = new jspb.BinaryWriter();
|
|
5000
|
+
proto.gateway.web.v1.ListDerivedMetricAttributesRequest.serializeBinaryToWriter(this, writer);
|
|
5001
|
+
return writer.getResultBuffer();
|
|
5002
|
+
};
|
|
5003
|
+
|
|
5004
|
+
|
|
5005
|
+
/**
|
|
5006
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
5007
|
+
* format), writing to the given BinaryWriter.
|
|
5008
|
+
* @param {!proto.gateway.web.v1.ListDerivedMetricAttributesRequest} message
|
|
5009
|
+
* @param {!jspb.BinaryWriter} writer
|
|
5010
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5011
|
+
*/
|
|
5012
|
+
proto.gateway.web.v1.ListDerivedMetricAttributesRequest.serializeBinaryToWriter = function(message, writer) {
|
|
5013
|
+
var f = undefined;
|
|
5014
|
+
f = message.getOrganizationId();
|
|
5015
|
+
if (f.length > 0) {
|
|
5016
|
+
writer.writeString(
|
|
5017
|
+
1,
|
|
5018
|
+
f
|
|
5019
|
+
);
|
|
5020
|
+
}
|
|
5021
|
+
f = message.getProjectId();
|
|
5022
|
+
if (f.length > 0) {
|
|
5023
|
+
writer.writeString(
|
|
5024
|
+
2,
|
|
5025
|
+
f
|
|
5026
|
+
);
|
|
5027
|
+
}
|
|
5028
|
+
};
|
|
5029
|
+
|
|
5030
|
+
|
|
5031
|
+
/**
|
|
5032
|
+
* optional string organization_id = 1;
|
|
5033
|
+
* @return {string}
|
|
5034
|
+
*/
|
|
5035
|
+
proto.gateway.web.v1.ListDerivedMetricAttributesRequest.prototype.getOrganizationId = function() {
|
|
5036
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
5037
|
+
};
|
|
5038
|
+
|
|
5039
|
+
|
|
5040
|
+
/**
|
|
5041
|
+
* @param {string} value
|
|
5042
|
+
* @return {!proto.gateway.web.v1.ListDerivedMetricAttributesRequest} returns this
|
|
5043
|
+
*/
|
|
5044
|
+
proto.gateway.web.v1.ListDerivedMetricAttributesRequest.prototype.setOrganizationId = function(value) {
|
|
5045
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
5046
|
+
};
|
|
5047
|
+
|
|
5048
|
+
|
|
5049
|
+
/**
|
|
5050
|
+
* optional string project_id = 2;
|
|
5051
|
+
* @return {string}
|
|
5052
|
+
*/
|
|
5053
|
+
proto.gateway.web.v1.ListDerivedMetricAttributesRequest.prototype.getProjectId = function() {
|
|
5054
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
5055
|
+
};
|
|
5056
|
+
|
|
5057
|
+
|
|
5058
|
+
/**
|
|
5059
|
+
* @param {string} value
|
|
5060
|
+
* @return {!proto.gateway.web.v1.ListDerivedMetricAttributesRequest} returns this
|
|
5061
|
+
*/
|
|
5062
|
+
proto.gateway.web.v1.ListDerivedMetricAttributesRequest.prototype.setProjectId = function(value) {
|
|
5063
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
5064
|
+
};
|
|
5065
|
+
|
|
5066
|
+
|
|
5067
|
+
|
|
5068
|
+
/**
|
|
5069
|
+
* List of repeated fields within this message type.
|
|
5070
|
+
* @private {!Array<number>}
|
|
5071
|
+
* @const
|
|
5072
|
+
*/
|
|
5073
|
+
proto.gateway.web.v1.ListDerivedMetricAttributesResponse.repeatedFields_ = [2,3];
|
|
5074
|
+
|
|
5075
|
+
|
|
5076
|
+
|
|
5077
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
5078
|
+
/**
|
|
5079
|
+
* Creates an object representation of this proto.
|
|
5080
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
5081
|
+
* Optional fields that are not set will be set to undefined.
|
|
5082
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
5083
|
+
* For the list of reserved names please see:
|
|
5084
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
5085
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
5086
|
+
* JSPB instance for transitional soy proto support:
|
|
5087
|
+
* http://goto/soy-param-migration
|
|
5088
|
+
* @return {!Object}
|
|
5089
|
+
*/
|
|
5090
|
+
proto.gateway.web.v1.ListDerivedMetricAttributesResponse.prototype.toObject = function(opt_includeInstance) {
|
|
5091
|
+
return proto.gateway.web.v1.ListDerivedMetricAttributesResponse.toObject(opt_includeInstance, this);
|
|
5092
|
+
};
|
|
5093
|
+
|
|
5094
|
+
|
|
5095
|
+
/**
|
|
5096
|
+
* Static version of the {@see toObject} method.
|
|
5097
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
5098
|
+
* the JSPB instance for transitional soy proto support:
|
|
5099
|
+
* http://goto/soy-param-migration
|
|
5100
|
+
* @param {!proto.gateway.web.v1.ListDerivedMetricAttributesResponse} msg The msg instance to transform.
|
|
5101
|
+
* @return {!Object}
|
|
5102
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5103
|
+
*/
|
|
5104
|
+
proto.gateway.web.v1.ListDerivedMetricAttributesResponse.toObject = function(includeInstance, msg) {
|
|
5105
|
+
var f, obj = {
|
|
5106
|
+
status: (f = msg.getStatus()) && proto_gateway_common_v1_status_pb.ResponseStatus.toObject(includeInstance, f),
|
|
5107
|
+
traceAttributesList: jspb.Message.toObjectList(msg.getTraceAttributesList(),
|
|
5108
|
+
proto.gateway.web.v1.DerivedMetricAttribute.toObject, includeInstance),
|
|
5109
|
+
eventsList: jspb.Message.toObjectList(msg.getEventsList(),
|
|
5110
|
+
proto.gateway.web.v1.DerivedMetricEventAttributes.toObject, includeInstance),
|
|
5111
|
+
tracesSampled: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
5112
|
+
tracesSelected: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
5113
|
+
catalogCapped: jspb.Message.getBooleanFieldWithDefault(msg, 6, false)
|
|
5114
|
+
};
|
|
5115
|
+
|
|
5116
|
+
if (includeInstance) {
|
|
5117
|
+
obj.$jspbMessageInstance = msg;
|
|
5118
|
+
}
|
|
5119
|
+
return obj;
|
|
5120
|
+
};
|
|
5121
|
+
}
|
|
5122
|
+
|
|
5123
|
+
|
|
5124
|
+
/**
|
|
5125
|
+
* Deserializes binary data (in protobuf wire format).
|
|
5126
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
5127
|
+
* @return {!proto.gateway.web.v1.ListDerivedMetricAttributesResponse}
|
|
5128
|
+
*/
|
|
5129
|
+
proto.gateway.web.v1.ListDerivedMetricAttributesResponse.deserializeBinary = function(bytes) {
|
|
5130
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
5131
|
+
var msg = new proto.gateway.web.v1.ListDerivedMetricAttributesResponse;
|
|
5132
|
+
return proto.gateway.web.v1.ListDerivedMetricAttributesResponse.deserializeBinaryFromReader(msg, reader);
|
|
5133
|
+
};
|
|
5134
|
+
|
|
5135
|
+
|
|
5136
|
+
/**
|
|
5137
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
5138
|
+
* given reader into the given message object.
|
|
5139
|
+
* @param {!proto.gateway.web.v1.ListDerivedMetricAttributesResponse} msg The message object to deserialize into.
|
|
5140
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
5141
|
+
* @return {!proto.gateway.web.v1.ListDerivedMetricAttributesResponse}
|
|
5142
|
+
*/
|
|
5143
|
+
proto.gateway.web.v1.ListDerivedMetricAttributesResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
5144
|
+
while (reader.nextField()) {
|
|
5145
|
+
if (reader.isEndGroup()) {
|
|
5146
|
+
break;
|
|
5147
|
+
}
|
|
5148
|
+
var field = reader.getFieldNumber();
|
|
5149
|
+
switch (field) {
|
|
5150
|
+
case 1:
|
|
5151
|
+
var value = new proto_gateway_common_v1_status_pb.ResponseStatus;
|
|
5152
|
+
reader.readMessage(value,proto_gateway_common_v1_status_pb.ResponseStatus.deserializeBinaryFromReader);
|
|
5153
|
+
msg.setStatus(value);
|
|
5154
|
+
break;
|
|
5155
|
+
case 2:
|
|
5156
|
+
var value = new proto.gateway.web.v1.DerivedMetricAttribute;
|
|
5157
|
+
reader.readMessage(value,proto.gateway.web.v1.DerivedMetricAttribute.deserializeBinaryFromReader);
|
|
5158
|
+
msg.addTraceAttributes(value);
|
|
5159
|
+
break;
|
|
5160
|
+
case 3:
|
|
5161
|
+
var value = new proto.gateway.web.v1.DerivedMetricEventAttributes;
|
|
5162
|
+
reader.readMessage(value,proto.gateway.web.v1.DerivedMetricEventAttributes.deserializeBinaryFromReader);
|
|
5163
|
+
msg.addEvents(value);
|
|
5164
|
+
break;
|
|
5165
|
+
case 4:
|
|
5166
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
5167
|
+
msg.setTracesSampled(value);
|
|
5168
|
+
break;
|
|
5169
|
+
case 5:
|
|
5170
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
5171
|
+
msg.setTracesSelected(value);
|
|
5172
|
+
break;
|
|
5173
|
+
case 6:
|
|
5174
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
5175
|
+
msg.setCatalogCapped(value);
|
|
5176
|
+
break;
|
|
5177
|
+
default:
|
|
5178
|
+
reader.skipField();
|
|
5179
|
+
break;
|
|
5180
|
+
}
|
|
5181
|
+
}
|
|
5182
|
+
return msg;
|
|
5183
|
+
};
|
|
5184
|
+
|
|
5185
|
+
|
|
5186
|
+
/**
|
|
5187
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
5188
|
+
* @return {!Uint8Array}
|
|
5189
|
+
*/
|
|
5190
|
+
proto.gateway.web.v1.ListDerivedMetricAttributesResponse.prototype.serializeBinary = function() {
|
|
5191
|
+
var writer = new jspb.BinaryWriter();
|
|
5192
|
+
proto.gateway.web.v1.ListDerivedMetricAttributesResponse.serializeBinaryToWriter(this, writer);
|
|
5193
|
+
return writer.getResultBuffer();
|
|
5194
|
+
};
|
|
5195
|
+
|
|
5196
|
+
|
|
5197
|
+
/**
|
|
5198
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
5199
|
+
* format), writing to the given BinaryWriter.
|
|
5200
|
+
* @param {!proto.gateway.web.v1.ListDerivedMetricAttributesResponse} message
|
|
5201
|
+
* @param {!jspb.BinaryWriter} writer
|
|
5202
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5203
|
+
*/
|
|
5204
|
+
proto.gateway.web.v1.ListDerivedMetricAttributesResponse.serializeBinaryToWriter = function(message, writer) {
|
|
5205
|
+
var f = undefined;
|
|
5206
|
+
f = message.getStatus();
|
|
5207
|
+
if (f != null) {
|
|
5208
|
+
writer.writeMessage(
|
|
5209
|
+
1,
|
|
5210
|
+
f,
|
|
5211
|
+
proto_gateway_common_v1_status_pb.ResponseStatus.serializeBinaryToWriter
|
|
5212
|
+
);
|
|
5213
|
+
}
|
|
5214
|
+
f = message.getTraceAttributesList();
|
|
5215
|
+
if (f.length > 0) {
|
|
5216
|
+
writer.writeRepeatedMessage(
|
|
5217
|
+
2,
|
|
5218
|
+
f,
|
|
5219
|
+
proto.gateway.web.v1.DerivedMetricAttribute.serializeBinaryToWriter
|
|
5220
|
+
);
|
|
5221
|
+
}
|
|
5222
|
+
f = message.getEventsList();
|
|
5223
|
+
if (f.length > 0) {
|
|
5224
|
+
writer.writeRepeatedMessage(
|
|
5225
|
+
3,
|
|
5226
|
+
f,
|
|
5227
|
+
proto.gateway.web.v1.DerivedMetricEventAttributes.serializeBinaryToWriter
|
|
5228
|
+
);
|
|
5229
|
+
}
|
|
5230
|
+
f = message.getTracesSampled();
|
|
5231
|
+
if (f !== 0) {
|
|
5232
|
+
writer.writeUint32(
|
|
5233
|
+
4,
|
|
5234
|
+
f
|
|
5235
|
+
);
|
|
5236
|
+
}
|
|
5237
|
+
f = message.getTracesSelected();
|
|
5238
|
+
if (f !== 0) {
|
|
5239
|
+
writer.writeUint32(
|
|
5240
|
+
5,
|
|
5241
|
+
f
|
|
5242
|
+
);
|
|
5243
|
+
}
|
|
5244
|
+
f = message.getCatalogCapped();
|
|
5245
|
+
if (f) {
|
|
5246
|
+
writer.writeBool(
|
|
5247
|
+
6,
|
|
5248
|
+
f
|
|
5249
|
+
);
|
|
5250
|
+
}
|
|
5251
|
+
};
|
|
5252
|
+
|
|
5253
|
+
|
|
5254
|
+
/**
|
|
5255
|
+
* optional gateway.common.v1.ResponseStatus status = 1;
|
|
5256
|
+
* @return {?proto.gateway.common.v1.ResponseStatus}
|
|
5257
|
+
*/
|
|
5258
|
+
proto.gateway.web.v1.ListDerivedMetricAttributesResponse.prototype.getStatus = function() {
|
|
5259
|
+
return /** @type{?proto.gateway.common.v1.ResponseStatus} */ (
|
|
5260
|
+
jspb.Message.getWrapperField(this, proto_gateway_common_v1_status_pb.ResponseStatus, 1));
|
|
5261
|
+
};
|
|
5262
|
+
|
|
5263
|
+
|
|
5264
|
+
/**
|
|
5265
|
+
* @param {?proto.gateway.common.v1.ResponseStatus|undefined} value
|
|
5266
|
+
* @return {!proto.gateway.web.v1.ListDerivedMetricAttributesResponse} returns this
|
|
5267
|
+
*/
|
|
5268
|
+
proto.gateway.web.v1.ListDerivedMetricAttributesResponse.prototype.setStatus = function(value) {
|
|
5269
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
5270
|
+
};
|
|
5271
|
+
|
|
5272
|
+
|
|
5273
|
+
/**
|
|
5274
|
+
* Clears the message field making it undefined.
|
|
5275
|
+
* @return {!proto.gateway.web.v1.ListDerivedMetricAttributesResponse} returns this
|
|
5276
|
+
*/
|
|
5277
|
+
proto.gateway.web.v1.ListDerivedMetricAttributesResponse.prototype.clearStatus = function() {
|
|
5278
|
+
return this.setStatus(undefined);
|
|
5279
|
+
};
|
|
5280
|
+
|
|
5281
|
+
|
|
5282
|
+
/**
|
|
5283
|
+
* Returns whether this field is set.
|
|
5284
|
+
* @return {boolean}
|
|
5285
|
+
*/
|
|
5286
|
+
proto.gateway.web.v1.ListDerivedMetricAttributesResponse.prototype.hasStatus = function() {
|
|
5287
|
+
return jspb.Message.getField(this, 1) != null;
|
|
5288
|
+
};
|
|
5289
|
+
|
|
5290
|
+
|
|
5291
|
+
/**
|
|
5292
|
+
* repeated DerivedMetricAttribute trace_attributes = 2;
|
|
5293
|
+
* @return {!Array<!proto.gateway.web.v1.DerivedMetricAttribute>}
|
|
5294
|
+
*/
|
|
5295
|
+
proto.gateway.web.v1.ListDerivedMetricAttributesResponse.prototype.getTraceAttributesList = function() {
|
|
5296
|
+
return /** @type{!Array<!proto.gateway.web.v1.DerivedMetricAttribute>} */ (
|
|
5297
|
+
jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.DerivedMetricAttribute, 2));
|
|
5298
|
+
};
|
|
5299
|
+
|
|
5300
|
+
|
|
5301
|
+
/**
|
|
5302
|
+
* @param {!Array<!proto.gateway.web.v1.DerivedMetricAttribute>} value
|
|
5303
|
+
* @return {!proto.gateway.web.v1.ListDerivedMetricAttributesResponse} returns this
|
|
5304
|
+
*/
|
|
5305
|
+
proto.gateway.web.v1.ListDerivedMetricAttributesResponse.prototype.setTraceAttributesList = function(value) {
|
|
5306
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
5307
|
+
};
|
|
5308
|
+
|
|
5309
|
+
|
|
5310
|
+
/**
|
|
5311
|
+
* @param {!proto.gateway.web.v1.DerivedMetricAttribute=} opt_value
|
|
5312
|
+
* @param {number=} opt_index
|
|
5313
|
+
* @return {!proto.gateway.web.v1.DerivedMetricAttribute}
|
|
5314
|
+
*/
|
|
5315
|
+
proto.gateway.web.v1.ListDerivedMetricAttributesResponse.prototype.addTraceAttributes = function(opt_value, opt_index) {
|
|
5316
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.gateway.web.v1.DerivedMetricAttribute, opt_index);
|
|
5317
|
+
};
|
|
5318
|
+
|
|
5319
|
+
|
|
5320
|
+
/**
|
|
5321
|
+
* Clears the list making it empty but non-null.
|
|
5322
|
+
* @return {!proto.gateway.web.v1.ListDerivedMetricAttributesResponse} returns this
|
|
5323
|
+
*/
|
|
5324
|
+
proto.gateway.web.v1.ListDerivedMetricAttributesResponse.prototype.clearTraceAttributesList = function() {
|
|
5325
|
+
return this.setTraceAttributesList([]);
|
|
5326
|
+
};
|
|
5327
|
+
|
|
5328
|
+
|
|
5329
|
+
/**
|
|
5330
|
+
* repeated DerivedMetricEventAttributes events = 3;
|
|
5331
|
+
* @return {!Array<!proto.gateway.web.v1.DerivedMetricEventAttributes>}
|
|
5332
|
+
*/
|
|
5333
|
+
proto.gateway.web.v1.ListDerivedMetricAttributesResponse.prototype.getEventsList = function() {
|
|
5334
|
+
return /** @type{!Array<!proto.gateway.web.v1.DerivedMetricEventAttributes>} */ (
|
|
5335
|
+
jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.DerivedMetricEventAttributes, 3));
|
|
5336
|
+
};
|
|
5337
|
+
|
|
5338
|
+
|
|
5339
|
+
/**
|
|
5340
|
+
* @param {!Array<!proto.gateway.web.v1.DerivedMetricEventAttributes>} value
|
|
5341
|
+
* @return {!proto.gateway.web.v1.ListDerivedMetricAttributesResponse} returns this
|
|
5342
|
+
*/
|
|
5343
|
+
proto.gateway.web.v1.ListDerivedMetricAttributesResponse.prototype.setEventsList = function(value) {
|
|
5344
|
+
return jspb.Message.setRepeatedWrapperField(this, 3, value);
|
|
5345
|
+
};
|
|
5346
|
+
|
|
5347
|
+
|
|
5348
|
+
/**
|
|
5349
|
+
* @param {!proto.gateway.web.v1.DerivedMetricEventAttributes=} opt_value
|
|
5350
|
+
* @param {number=} opt_index
|
|
5351
|
+
* @return {!proto.gateway.web.v1.DerivedMetricEventAttributes}
|
|
5352
|
+
*/
|
|
5353
|
+
proto.gateway.web.v1.ListDerivedMetricAttributesResponse.prototype.addEvents = function(opt_value, opt_index) {
|
|
5354
|
+
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.gateway.web.v1.DerivedMetricEventAttributes, opt_index);
|
|
5355
|
+
};
|
|
5356
|
+
|
|
5357
|
+
|
|
5358
|
+
/**
|
|
5359
|
+
* Clears the list making it empty but non-null.
|
|
5360
|
+
* @return {!proto.gateway.web.v1.ListDerivedMetricAttributesResponse} returns this
|
|
5361
|
+
*/
|
|
5362
|
+
proto.gateway.web.v1.ListDerivedMetricAttributesResponse.prototype.clearEventsList = function() {
|
|
5363
|
+
return this.setEventsList([]);
|
|
5364
|
+
};
|
|
5365
|
+
|
|
5366
|
+
|
|
5367
|
+
/**
|
|
5368
|
+
* optional uint32 traces_sampled = 4;
|
|
5369
|
+
* @return {number}
|
|
5370
|
+
*/
|
|
5371
|
+
proto.gateway.web.v1.ListDerivedMetricAttributesResponse.prototype.getTracesSampled = function() {
|
|
5372
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
5373
|
+
};
|
|
5374
|
+
|
|
5375
|
+
|
|
5376
|
+
/**
|
|
5377
|
+
* @param {number} value
|
|
5378
|
+
* @return {!proto.gateway.web.v1.ListDerivedMetricAttributesResponse} returns this
|
|
5379
|
+
*/
|
|
5380
|
+
proto.gateway.web.v1.ListDerivedMetricAttributesResponse.prototype.setTracesSampled = function(value) {
|
|
5381
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
5382
|
+
};
|
|
5383
|
+
|
|
5384
|
+
|
|
5385
|
+
/**
|
|
5386
|
+
* optional uint32 traces_selected = 5;
|
|
5387
|
+
* @return {number}
|
|
5388
|
+
*/
|
|
5389
|
+
proto.gateway.web.v1.ListDerivedMetricAttributesResponse.prototype.getTracesSelected = function() {
|
|
5390
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
5391
|
+
};
|
|
5392
|
+
|
|
5393
|
+
|
|
5394
|
+
/**
|
|
5395
|
+
* @param {number} value
|
|
5396
|
+
* @return {!proto.gateway.web.v1.ListDerivedMetricAttributesResponse} returns this
|
|
5397
|
+
*/
|
|
5398
|
+
proto.gateway.web.v1.ListDerivedMetricAttributesResponse.prototype.setTracesSelected = function(value) {
|
|
5399
|
+
return jspb.Message.setProto3IntField(this, 5, value);
|
|
5400
|
+
};
|
|
5401
|
+
|
|
5402
|
+
|
|
5403
|
+
/**
|
|
5404
|
+
* optional bool catalog_capped = 6;
|
|
5405
|
+
* @return {boolean}
|
|
5406
|
+
*/
|
|
5407
|
+
proto.gateway.web.v1.ListDerivedMetricAttributesResponse.prototype.getCatalogCapped = function() {
|
|
5408
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
|
|
5409
|
+
};
|
|
5410
|
+
|
|
5411
|
+
|
|
5412
|
+
/**
|
|
5413
|
+
* @param {boolean} value
|
|
5414
|
+
* @return {!proto.gateway.web.v1.ListDerivedMetricAttributesResponse} returns this
|
|
5415
|
+
*/
|
|
5416
|
+
proto.gateway.web.v1.ListDerivedMetricAttributesResponse.prototype.setCatalogCapped = function(value) {
|
|
5417
|
+
return jspb.Message.setProto3BooleanField(this, 6, value);
|
|
5418
|
+
};
|
|
5419
|
+
|
|
5420
|
+
|
|
5421
|
+
|
|
5422
|
+
/**
|
|
5423
|
+
* List of repeated fields within this message type.
|
|
5424
|
+
* @private {!Array<number>}
|
|
5425
|
+
* @const
|
|
5426
|
+
*/
|
|
5427
|
+
proto.gateway.web.v1.DerivedMetricAttribute.repeatedFields_ = [3];
|
|
5428
|
+
|
|
5429
|
+
|
|
5430
|
+
|
|
5431
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
5432
|
+
/**
|
|
5433
|
+
* Creates an object representation of this proto.
|
|
5434
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
5435
|
+
* Optional fields that are not set will be set to undefined.
|
|
5436
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
5437
|
+
* For the list of reserved names please see:
|
|
5438
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
5439
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
5440
|
+
* JSPB instance for transitional soy proto support:
|
|
5441
|
+
* http://goto/soy-param-migration
|
|
5442
|
+
* @return {!Object}
|
|
5443
|
+
*/
|
|
5444
|
+
proto.gateway.web.v1.DerivedMetricAttribute.prototype.toObject = function(opt_includeInstance) {
|
|
5445
|
+
return proto.gateway.web.v1.DerivedMetricAttribute.toObject(opt_includeInstance, this);
|
|
5446
|
+
};
|
|
5447
|
+
|
|
5448
|
+
|
|
5449
|
+
/**
|
|
5450
|
+
* Static version of the {@see toObject} method.
|
|
5451
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
5452
|
+
* the JSPB instance for transitional soy proto support:
|
|
5453
|
+
* http://goto/soy-param-migration
|
|
5454
|
+
* @param {!proto.gateway.web.v1.DerivedMetricAttribute} msg The msg instance to transform.
|
|
5455
|
+
* @return {!Object}
|
|
5456
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5457
|
+
*/
|
|
5458
|
+
proto.gateway.web.v1.DerivedMetricAttribute.toObject = function(includeInstance, msg) {
|
|
5459
|
+
var f, obj = {
|
|
5460
|
+
key: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
5461
|
+
type: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
5462
|
+
sampleValuesList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
|
|
5463
|
+
};
|
|
5464
|
+
|
|
5465
|
+
if (includeInstance) {
|
|
5466
|
+
obj.$jspbMessageInstance = msg;
|
|
5467
|
+
}
|
|
5468
|
+
return obj;
|
|
5469
|
+
};
|
|
5470
|
+
}
|
|
5471
|
+
|
|
5472
|
+
|
|
5473
|
+
/**
|
|
5474
|
+
* Deserializes binary data (in protobuf wire format).
|
|
5475
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
5476
|
+
* @return {!proto.gateway.web.v1.DerivedMetricAttribute}
|
|
5477
|
+
*/
|
|
5478
|
+
proto.gateway.web.v1.DerivedMetricAttribute.deserializeBinary = function(bytes) {
|
|
5479
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
5480
|
+
var msg = new proto.gateway.web.v1.DerivedMetricAttribute;
|
|
5481
|
+
return proto.gateway.web.v1.DerivedMetricAttribute.deserializeBinaryFromReader(msg, reader);
|
|
5482
|
+
};
|
|
5483
|
+
|
|
5484
|
+
|
|
5485
|
+
/**
|
|
5486
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
5487
|
+
* given reader into the given message object.
|
|
5488
|
+
* @param {!proto.gateway.web.v1.DerivedMetricAttribute} msg The message object to deserialize into.
|
|
5489
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
5490
|
+
* @return {!proto.gateway.web.v1.DerivedMetricAttribute}
|
|
5491
|
+
*/
|
|
5492
|
+
proto.gateway.web.v1.DerivedMetricAttribute.deserializeBinaryFromReader = function(msg, reader) {
|
|
5493
|
+
while (reader.nextField()) {
|
|
5494
|
+
if (reader.isEndGroup()) {
|
|
5495
|
+
break;
|
|
5496
|
+
}
|
|
5497
|
+
var field = reader.getFieldNumber();
|
|
5498
|
+
switch (field) {
|
|
5499
|
+
case 1:
|
|
5500
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5501
|
+
msg.setKey(value);
|
|
5502
|
+
break;
|
|
5503
|
+
case 2:
|
|
5504
|
+
var value = /** @type {!proto.gateway.web.v1.DerivedMetricAttributeType} */ (reader.readEnum());
|
|
5505
|
+
msg.setType(value);
|
|
5506
|
+
break;
|
|
5507
|
+
case 3:
|
|
5508
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5509
|
+
msg.addSampleValues(value);
|
|
5510
|
+
break;
|
|
5511
|
+
default:
|
|
5512
|
+
reader.skipField();
|
|
5513
|
+
break;
|
|
5514
|
+
}
|
|
5515
|
+
}
|
|
5516
|
+
return msg;
|
|
5517
|
+
};
|
|
5518
|
+
|
|
5519
|
+
|
|
5520
|
+
/**
|
|
5521
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
5522
|
+
* @return {!Uint8Array}
|
|
5523
|
+
*/
|
|
5524
|
+
proto.gateway.web.v1.DerivedMetricAttribute.prototype.serializeBinary = function() {
|
|
5525
|
+
var writer = new jspb.BinaryWriter();
|
|
5526
|
+
proto.gateway.web.v1.DerivedMetricAttribute.serializeBinaryToWriter(this, writer);
|
|
5527
|
+
return writer.getResultBuffer();
|
|
5528
|
+
};
|
|
5529
|
+
|
|
5530
|
+
|
|
5531
|
+
/**
|
|
5532
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
5533
|
+
* format), writing to the given BinaryWriter.
|
|
5534
|
+
* @param {!proto.gateway.web.v1.DerivedMetricAttribute} message
|
|
5535
|
+
* @param {!jspb.BinaryWriter} writer
|
|
5536
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5537
|
+
*/
|
|
5538
|
+
proto.gateway.web.v1.DerivedMetricAttribute.serializeBinaryToWriter = function(message, writer) {
|
|
5539
|
+
var f = undefined;
|
|
5540
|
+
f = message.getKey();
|
|
5541
|
+
if (f.length > 0) {
|
|
5542
|
+
writer.writeString(
|
|
5543
|
+
1,
|
|
5544
|
+
f
|
|
5545
|
+
);
|
|
5546
|
+
}
|
|
5547
|
+
f = message.getType();
|
|
5548
|
+
if (f !== 0.0) {
|
|
5549
|
+
writer.writeEnum(
|
|
5550
|
+
2,
|
|
5551
|
+
f
|
|
5552
|
+
);
|
|
5553
|
+
}
|
|
5554
|
+
f = message.getSampleValuesList();
|
|
5555
|
+
if (f.length > 0) {
|
|
5556
|
+
writer.writeRepeatedString(
|
|
5557
|
+
3,
|
|
5558
|
+
f
|
|
5559
|
+
);
|
|
5560
|
+
}
|
|
5561
|
+
};
|
|
5562
|
+
|
|
5563
|
+
|
|
5564
|
+
/**
|
|
5565
|
+
* optional string key = 1;
|
|
5566
|
+
* @return {string}
|
|
5567
|
+
*/
|
|
5568
|
+
proto.gateway.web.v1.DerivedMetricAttribute.prototype.getKey = function() {
|
|
5569
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
5570
|
+
};
|
|
5571
|
+
|
|
5572
|
+
|
|
5573
|
+
/**
|
|
5574
|
+
* @param {string} value
|
|
5575
|
+
* @return {!proto.gateway.web.v1.DerivedMetricAttribute} returns this
|
|
5576
|
+
*/
|
|
5577
|
+
proto.gateway.web.v1.DerivedMetricAttribute.prototype.setKey = function(value) {
|
|
5578
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
5579
|
+
};
|
|
5580
|
+
|
|
5581
|
+
|
|
5582
|
+
/**
|
|
5583
|
+
* optional DerivedMetricAttributeType type = 2;
|
|
5584
|
+
* @return {!proto.gateway.web.v1.DerivedMetricAttributeType}
|
|
5585
|
+
*/
|
|
5586
|
+
proto.gateway.web.v1.DerivedMetricAttribute.prototype.getType = function() {
|
|
5587
|
+
return /** @type {!proto.gateway.web.v1.DerivedMetricAttributeType} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
5588
|
+
};
|
|
5589
|
+
|
|
5590
|
+
|
|
5591
|
+
/**
|
|
5592
|
+
* @param {!proto.gateway.web.v1.DerivedMetricAttributeType} value
|
|
5593
|
+
* @return {!proto.gateway.web.v1.DerivedMetricAttribute} returns this
|
|
5594
|
+
*/
|
|
5595
|
+
proto.gateway.web.v1.DerivedMetricAttribute.prototype.setType = function(value) {
|
|
5596
|
+
return jspb.Message.setProto3EnumField(this, 2, value);
|
|
5597
|
+
};
|
|
5598
|
+
|
|
5599
|
+
|
|
5600
|
+
/**
|
|
5601
|
+
* repeated string sample_values = 3;
|
|
5602
|
+
* @return {!Array<string>}
|
|
5603
|
+
*/
|
|
5604
|
+
proto.gateway.web.v1.DerivedMetricAttribute.prototype.getSampleValuesList = function() {
|
|
5605
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
|
|
5606
|
+
};
|
|
5607
|
+
|
|
5608
|
+
|
|
5609
|
+
/**
|
|
5610
|
+
* @param {!Array<string>} value
|
|
5611
|
+
* @return {!proto.gateway.web.v1.DerivedMetricAttribute} returns this
|
|
5612
|
+
*/
|
|
5613
|
+
proto.gateway.web.v1.DerivedMetricAttribute.prototype.setSampleValuesList = function(value) {
|
|
5614
|
+
return jspb.Message.setField(this, 3, value || []);
|
|
5615
|
+
};
|
|
5616
|
+
|
|
5617
|
+
|
|
5618
|
+
/**
|
|
5619
|
+
* @param {string} value
|
|
5620
|
+
* @param {number=} opt_index
|
|
5621
|
+
* @return {!proto.gateway.web.v1.DerivedMetricAttribute} returns this
|
|
5622
|
+
*/
|
|
5623
|
+
proto.gateway.web.v1.DerivedMetricAttribute.prototype.addSampleValues = function(value, opt_index) {
|
|
5624
|
+
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
|
|
5625
|
+
};
|
|
5626
|
+
|
|
5627
|
+
|
|
5628
|
+
/**
|
|
5629
|
+
* Clears the list making it empty but non-null.
|
|
5630
|
+
* @return {!proto.gateway.web.v1.DerivedMetricAttribute} returns this
|
|
5631
|
+
*/
|
|
5632
|
+
proto.gateway.web.v1.DerivedMetricAttribute.prototype.clearSampleValuesList = function() {
|
|
5633
|
+
return this.setSampleValuesList([]);
|
|
5634
|
+
};
|
|
5635
|
+
|
|
5636
|
+
|
|
5637
|
+
|
|
5638
|
+
/**
|
|
5639
|
+
* List of repeated fields within this message type.
|
|
5640
|
+
* @private {!Array<number>}
|
|
5641
|
+
* @const
|
|
5642
|
+
*/
|
|
5643
|
+
proto.gateway.web.v1.DerivedMetricEventAttributes.repeatedFields_ = [2];
|
|
5644
|
+
|
|
5645
|
+
|
|
5646
|
+
|
|
5647
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
5648
|
+
/**
|
|
5649
|
+
* Creates an object representation of this proto.
|
|
5650
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
5651
|
+
* Optional fields that are not set will be set to undefined.
|
|
5652
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
5653
|
+
* For the list of reserved names please see:
|
|
5654
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
5655
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
5656
|
+
* JSPB instance for transitional soy proto support:
|
|
5657
|
+
* http://goto/soy-param-migration
|
|
5658
|
+
* @return {!Object}
|
|
5659
|
+
*/
|
|
5660
|
+
proto.gateway.web.v1.DerivedMetricEventAttributes.prototype.toObject = function(opt_includeInstance) {
|
|
5661
|
+
return proto.gateway.web.v1.DerivedMetricEventAttributes.toObject(opt_includeInstance, this);
|
|
5662
|
+
};
|
|
5663
|
+
|
|
5664
|
+
|
|
5665
|
+
/**
|
|
5666
|
+
* Static version of the {@see toObject} method.
|
|
5667
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
5668
|
+
* the JSPB instance for transitional soy proto support:
|
|
5669
|
+
* http://goto/soy-param-migration
|
|
5670
|
+
* @param {!proto.gateway.web.v1.DerivedMetricEventAttributes} msg The msg instance to transform.
|
|
5671
|
+
* @return {!Object}
|
|
5672
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5673
|
+
*/
|
|
5674
|
+
proto.gateway.web.v1.DerivedMetricEventAttributes.toObject = function(includeInstance, msg) {
|
|
5675
|
+
var f, obj = {
|
|
5676
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
5677
|
+
attributesList: jspb.Message.toObjectList(msg.getAttributesList(),
|
|
5678
|
+
proto.gateway.web.v1.DerivedMetricAttribute.toObject, includeInstance)
|
|
5679
|
+
};
|
|
5680
|
+
|
|
5681
|
+
if (includeInstance) {
|
|
5682
|
+
obj.$jspbMessageInstance = msg;
|
|
5683
|
+
}
|
|
5684
|
+
return obj;
|
|
5685
|
+
};
|
|
5686
|
+
}
|
|
5687
|
+
|
|
5688
|
+
|
|
5689
|
+
/**
|
|
5690
|
+
* Deserializes binary data (in protobuf wire format).
|
|
5691
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
5692
|
+
* @return {!proto.gateway.web.v1.DerivedMetricEventAttributes}
|
|
5693
|
+
*/
|
|
5694
|
+
proto.gateway.web.v1.DerivedMetricEventAttributes.deserializeBinary = function(bytes) {
|
|
5695
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
5696
|
+
var msg = new proto.gateway.web.v1.DerivedMetricEventAttributes;
|
|
5697
|
+
return proto.gateway.web.v1.DerivedMetricEventAttributes.deserializeBinaryFromReader(msg, reader);
|
|
5698
|
+
};
|
|
5699
|
+
|
|
5700
|
+
|
|
5701
|
+
/**
|
|
5702
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
5703
|
+
* given reader into the given message object.
|
|
5704
|
+
* @param {!proto.gateway.web.v1.DerivedMetricEventAttributes} msg The message object to deserialize into.
|
|
5705
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
5706
|
+
* @return {!proto.gateway.web.v1.DerivedMetricEventAttributes}
|
|
5707
|
+
*/
|
|
5708
|
+
proto.gateway.web.v1.DerivedMetricEventAttributes.deserializeBinaryFromReader = function(msg, reader) {
|
|
5709
|
+
while (reader.nextField()) {
|
|
5710
|
+
if (reader.isEndGroup()) {
|
|
5711
|
+
break;
|
|
5712
|
+
}
|
|
5713
|
+
var field = reader.getFieldNumber();
|
|
5714
|
+
switch (field) {
|
|
5715
|
+
case 1:
|
|
5716
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5717
|
+
msg.setName(value);
|
|
5718
|
+
break;
|
|
5719
|
+
case 2:
|
|
5720
|
+
var value = new proto.gateway.web.v1.DerivedMetricAttribute;
|
|
5721
|
+
reader.readMessage(value,proto.gateway.web.v1.DerivedMetricAttribute.deserializeBinaryFromReader);
|
|
5722
|
+
msg.addAttributes(value);
|
|
5723
|
+
break;
|
|
5724
|
+
default:
|
|
5725
|
+
reader.skipField();
|
|
5726
|
+
break;
|
|
5727
|
+
}
|
|
5728
|
+
}
|
|
5729
|
+
return msg;
|
|
5730
|
+
};
|
|
5731
|
+
|
|
5732
|
+
|
|
5733
|
+
/**
|
|
5734
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
5735
|
+
* @return {!Uint8Array}
|
|
5736
|
+
*/
|
|
5737
|
+
proto.gateway.web.v1.DerivedMetricEventAttributes.prototype.serializeBinary = function() {
|
|
5738
|
+
var writer = new jspb.BinaryWriter();
|
|
5739
|
+
proto.gateway.web.v1.DerivedMetricEventAttributes.serializeBinaryToWriter(this, writer);
|
|
5740
|
+
return writer.getResultBuffer();
|
|
5741
|
+
};
|
|
5742
|
+
|
|
5743
|
+
|
|
5744
|
+
/**
|
|
5745
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
5746
|
+
* format), writing to the given BinaryWriter.
|
|
5747
|
+
* @param {!proto.gateway.web.v1.DerivedMetricEventAttributes} message
|
|
5748
|
+
* @param {!jspb.BinaryWriter} writer
|
|
5749
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5750
|
+
*/
|
|
5751
|
+
proto.gateway.web.v1.DerivedMetricEventAttributes.serializeBinaryToWriter = function(message, writer) {
|
|
5752
|
+
var f = undefined;
|
|
5753
|
+
f = message.getName();
|
|
5754
|
+
if (f.length > 0) {
|
|
5755
|
+
writer.writeString(
|
|
5756
|
+
1,
|
|
5757
|
+
f
|
|
5758
|
+
);
|
|
5759
|
+
}
|
|
5760
|
+
f = message.getAttributesList();
|
|
5761
|
+
if (f.length > 0) {
|
|
5762
|
+
writer.writeRepeatedMessage(
|
|
5763
|
+
2,
|
|
5764
|
+
f,
|
|
5765
|
+
proto.gateway.web.v1.DerivedMetricAttribute.serializeBinaryToWriter
|
|
5766
|
+
);
|
|
5767
|
+
}
|
|
5768
|
+
};
|
|
5769
|
+
|
|
5770
|
+
|
|
5771
|
+
/**
|
|
5772
|
+
* optional string name = 1;
|
|
5773
|
+
* @return {string}
|
|
5774
|
+
*/
|
|
5775
|
+
proto.gateway.web.v1.DerivedMetricEventAttributes.prototype.getName = function() {
|
|
5776
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
5777
|
+
};
|
|
5778
|
+
|
|
5779
|
+
|
|
5780
|
+
/**
|
|
5781
|
+
* @param {string} value
|
|
5782
|
+
* @return {!proto.gateway.web.v1.DerivedMetricEventAttributes} returns this
|
|
5783
|
+
*/
|
|
5784
|
+
proto.gateway.web.v1.DerivedMetricEventAttributes.prototype.setName = function(value) {
|
|
5785
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
5786
|
+
};
|
|
5787
|
+
|
|
5788
|
+
|
|
5789
|
+
/**
|
|
5790
|
+
* repeated DerivedMetricAttribute attributes = 2;
|
|
5791
|
+
* @return {!Array<!proto.gateway.web.v1.DerivedMetricAttribute>}
|
|
5792
|
+
*/
|
|
5793
|
+
proto.gateway.web.v1.DerivedMetricEventAttributes.prototype.getAttributesList = function() {
|
|
5794
|
+
return /** @type{!Array<!proto.gateway.web.v1.DerivedMetricAttribute>} */ (
|
|
5795
|
+
jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.DerivedMetricAttribute, 2));
|
|
5796
|
+
};
|
|
5797
|
+
|
|
5798
|
+
|
|
5799
|
+
/**
|
|
5800
|
+
* @param {!Array<!proto.gateway.web.v1.DerivedMetricAttribute>} value
|
|
5801
|
+
* @return {!proto.gateway.web.v1.DerivedMetricEventAttributes} returns this
|
|
5802
|
+
*/
|
|
5803
|
+
proto.gateway.web.v1.DerivedMetricEventAttributes.prototype.setAttributesList = function(value) {
|
|
5804
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
5805
|
+
};
|
|
5806
|
+
|
|
5807
|
+
|
|
5808
|
+
/**
|
|
5809
|
+
* @param {!proto.gateway.web.v1.DerivedMetricAttribute=} opt_value
|
|
5810
|
+
* @param {number=} opt_index
|
|
5811
|
+
* @return {!proto.gateway.web.v1.DerivedMetricAttribute}
|
|
5812
|
+
*/
|
|
5813
|
+
proto.gateway.web.v1.DerivedMetricEventAttributes.prototype.addAttributes = function(opt_value, opt_index) {
|
|
5814
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.gateway.web.v1.DerivedMetricAttribute, opt_index);
|
|
5815
|
+
};
|
|
5816
|
+
|
|
5817
|
+
|
|
5818
|
+
/**
|
|
5819
|
+
* Clears the list making it empty but non-null.
|
|
5820
|
+
* @return {!proto.gateway.web.v1.DerivedMetricEventAttributes} returns this
|
|
5821
|
+
*/
|
|
5822
|
+
proto.gateway.web.v1.DerivedMetricEventAttributes.prototype.clearAttributesList = function() {
|
|
5823
|
+
return this.setAttributesList([]);
|
|
5824
|
+
};
|
|
5825
|
+
|
|
5826
|
+
|
|
5827
|
+
/**
|
|
5828
|
+
* @enum {number}
|
|
5829
|
+
*/
|
|
5830
|
+
proto.gateway.web.v1.DerivedMetricOutcome = {
|
|
5831
|
+
DERIVED_METRIC_OUTCOME_UNSPECIFIED: 0,
|
|
5832
|
+
DERIVED_METRIC_OUTCOME_EMITTED: 1,
|
|
5833
|
+
DERIVED_METRIC_OUTCOME_OUT_OF_POPULATION: 2,
|
|
5834
|
+
DERIVED_METRIC_OUTCOME_POPULATION_ERROR: 3,
|
|
5835
|
+
DERIVED_METRIC_OUTCOME_VALUE_MISSING: 4,
|
|
5836
|
+
DERIVED_METRIC_OUTCOME_VALUE_ERROR: 5,
|
|
5837
|
+
DERIVED_METRIC_OUTCOME_VALUE_NON_FINITE: 6,
|
|
5838
|
+
DERIVED_METRIC_OUTCOME_TRACE_TOO_LARGE: 7,
|
|
5839
|
+
DERIVED_METRIC_OUTCOME_CANCELLED: 8,
|
|
5840
|
+
DERIVED_METRIC_OUTCOME_TRACE_UNREADABLE: 9,
|
|
5841
|
+
DERIVED_METRIC_OUTCOME_VALUE_OUT_OF_EXACT_RANGE: 10
|
|
5842
|
+
};
|
|
5843
|
+
|
|
5844
|
+
/**
|
|
5845
|
+
* @enum {number}
|
|
5846
|
+
*/
|
|
5847
|
+
proto.gateway.web.v1.DerivedMetricAttributeType = {
|
|
5848
|
+
DERIVED_METRIC_ATTRIBUTE_TYPE_UNSPECIFIED: 0,
|
|
5849
|
+
DERIVED_METRIC_ATTRIBUTE_TYPE_STRING: 1,
|
|
5850
|
+
DERIVED_METRIC_ATTRIBUTE_TYPE_BOOL: 2,
|
|
5851
|
+
DERIVED_METRIC_ATTRIBUTE_TYPE_INT: 3,
|
|
5852
|
+
DERIVED_METRIC_ATTRIBUTE_TYPE_DOUBLE: 4,
|
|
5853
|
+
DERIVED_METRIC_ATTRIBUTE_TYPE_MIXED: 5
|
|
4803
5854
|
};
|
|
4804
5855
|
|
|
4805
5856
|
goog.object.extend(exports, proto.gateway.web.v1);
|