@miradorlabs/web-grpc 2.13.0 → 2.15.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,6 @@ 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);
36
33
  goog.exportSymbol('proto.gateway.web.v1.DerivedMetricOutcome', null, global);
37
34
  goog.exportSymbol('proto.gateway.web.v1.DerivedMetricOutcomeCount', null, global);
38
35
  goog.exportSymbol('proto.gateway.web.v1.DerivedMetricProgram', null, global);
@@ -45,8 +42,6 @@ goog.exportSymbol('proto.gateway.web.v1.DryRunTraceResult', null, global);
45
42
  goog.exportSymbol('proto.gateway.web.v1.DryRunTraceResult.ResultCase', null, global);
46
43
  goog.exportSymbol('proto.gateway.web.v1.GetDerivedMetricRequest', null, global);
47
44
  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);
50
45
  goog.exportSymbol('proto.gateway.web.v1.ListDerivedMetricsRequest', null, global);
51
46
  goog.exportSymbol('proto.gateway.web.v1.ListDerivedMetricsResponse', null, global);
52
47
  goog.exportSymbol('proto.gateway.web.v1.UpdateDerivedMetricRequest', null, global);
@@ -451,90 +446,6 @@ if (goog.DEBUG && !COMPILED) {
451
446
  */
452
447
  proto.gateway.web.v1.DerivedMetricOutcomeCount.displayName = 'proto.gateway.web.v1.DerivedMetricOutcomeCount';
453
448
  }
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
- }
538
449
 
539
450
 
540
451
 
@@ -4965,1015 +4876,16 @@ proto.gateway.web.v1.DerivedMetricOutcomeCount.prototype.setCount = function(val
4965
4876
  };
4966
4877
 
4967
4878
 
4968
-
4969
-
4970
-
4971
- if (jspb.Message.GENERATE_TO_OBJECT) {
4972
- /**
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}
4983
- */
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
4879
  /**
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
4880
+ * @enum {number}
5164
4881
  */
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;
4882
+ proto.gateway.web.v1.DerivedMetricSource = {
4883
+ DERIVED_METRIC_SOURCE_UNSPECIFIED: 0,
4884
+ DERIVED_METRIC_SOURCE_TRACE: 1
5181
4885
  };
5182
- }
5183
-
5184
4886
 
5185
4887
  /**
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,3];
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
- selector: jspb.Message.getFieldWithDefault(msg, 1, ""),
5738
- attributesList: jspb.Message.toObjectList(msg.getAttributesList(),
5739
- proto.gateway.web.v1.DerivedMetricAttribute.toObject, includeInstance),
5740
- observedNamesList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
5741
- observedNamesTruncated: jspb.Message.getBooleanFieldWithDefault(msg, 4, false)
5742
- };
5743
-
5744
- if (includeInstance) {
5745
- obj.$jspbMessageInstance = msg;
5746
- }
5747
- return obj;
5748
- };
5749
- }
5750
-
5751
-
5752
- /**
5753
- * Deserializes binary data (in protobuf wire format).
5754
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
5755
- * @return {!proto.gateway.web.v1.DerivedMetricEventAttributes}
5756
- */
5757
- proto.gateway.web.v1.DerivedMetricEventAttributes.deserializeBinary = function(bytes) {
5758
- var reader = new jspb.BinaryReader(bytes);
5759
- var msg = new proto.gateway.web.v1.DerivedMetricEventAttributes;
5760
- return proto.gateway.web.v1.DerivedMetricEventAttributes.deserializeBinaryFromReader(msg, reader);
5761
- };
5762
-
5763
-
5764
- /**
5765
- * Deserializes binary data (in protobuf wire format) from the
5766
- * given reader into the given message object.
5767
- * @param {!proto.gateway.web.v1.DerivedMetricEventAttributes} msg The message object to deserialize into.
5768
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
5769
- * @return {!proto.gateway.web.v1.DerivedMetricEventAttributes}
5770
- */
5771
- proto.gateway.web.v1.DerivedMetricEventAttributes.deserializeBinaryFromReader = function(msg, reader) {
5772
- while (reader.nextField()) {
5773
- if (reader.isEndGroup()) {
5774
- break;
5775
- }
5776
- var field = reader.getFieldNumber();
5777
- switch (field) {
5778
- case 1:
5779
- var value = /** @type {string} */ (reader.readString());
5780
- msg.setSelector(value);
5781
- break;
5782
- case 2:
5783
- var value = new proto.gateway.web.v1.DerivedMetricAttribute;
5784
- reader.readMessage(value,proto.gateway.web.v1.DerivedMetricAttribute.deserializeBinaryFromReader);
5785
- msg.addAttributes(value);
5786
- break;
5787
- case 3:
5788
- var value = /** @type {string} */ (reader.readString());
5789
- msg.addObservedNames(value);
5790
- break;
5791
- case 4:
5792
- var value = /** @type {boolean} */ (reader.readBool());
5793
- msg.setObservedNamesTruncated(value);
5794
- break;
5795
- default:
5796
- reader.skipField();
5797
- break;
5798
- }
5799
- }
5800
- return msg;
5801
- };
5802
-
5803
-
5804
- /**
5805
- * Serializes the message to binary data (in protobuf wire format).
5806
- * @return {!Uint8Array}
5807
- */
5808
- proto.gateway.web.v1.DerivedMetricEventAttributes.prototype.serializeBinary = function() {
5809
- var writer = new jspb.BinaryWriter();
5810
- proto.gateway.web.v1.DerivedMetricEventAttributes.serializeBinaryToWriter(this, writer);
5811
- return writer.getResultBuffer();
5812
- };
5813
-
5814
-
5815
- /**
5816
- * Serializes the given message to binary data (in protobuf wire
5817
- * format), writing to the given BinaryWriter.
5818
- * @param {!proto.gateway.web.v1.DerivedMetricEventAttributes} message
5819
- * @param {!jspb.BinaryWriter} writer
5820
- * @suppress {unusedLocalVariables} f is only used for nested messages
5821
- */
5822
- proto.gateway.web.v1.DerivedMetricEventAttributes.serializeBinaryToWriter = function(message, writer) {
5823
- var f = undefined;
5824
- f = message.getSelector();
5825
- if (f.length > 0) {
5826
- writer.writeString(
5827
- 1,
5828
- f
5829
- );
5830
- }
5831
- f = message.getAttributesList();
5832
- if (f.length > 0) {
5833
- writer.writeRepeatedMessage(
5834
- 2,
5835
- f,
5836
- proto.gateway.web.v1.DerivedMetricAttribute.serializeBinaryToWriter
5837
- );
5838
- }
5839
- f = message.getObservedNamesList();
5840
- if (f.length > 0) {
5841
- writer.writeRepeatedString(
5842
- 3,
5843
- f
5844
- );
5845
- }
5846
- f = message.getObservedNamesTruncated();
5847
- if (f) {
5848
- writer.writeBool(
5849
- 4,
5850
- f
5851
- );
5852
- }
5853
- };
5854
-
5855
-
5856
- /**
5857
- * optional string selector = 1;
5858
- * @return {string}
5859
- */
5860
- proto.gateway.web.v1.DerivedMetricEventAttributes.prototype.getSelector = function() {
5861
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
5862
- };
5863
-
5864
-
5865
- /**
5866
- * @param {string} value
5867
- * @return {!proto.gateway.web.v1.DerivedMetricEventAttributes} returns this
5868
- */
5869
- proto.gateway.web.v1.DerivedMetricEventAttributes.prototype.setSelector = function(value) {
5870
- return jspb.Message.setProto3StringField(this, 1, value);
5871
- };
5872
-
5873
-
5874
- /**
5875
- * repeated DerivedMetricAttribute attributes = 2;
5876
- * @return {!Array<!proto.gateway.web.v1.DerivedMetricAttribute>}
5877
- */
5878
- proto.gateway.web.v1.DerivedMetricEventAttributes.prototype.getAttributesList = function() {
5879
- return /** @type{!Array<!proto.gateway.web.v1.DerivedMetricAttribute>} */ (
5880
- jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.DerivedMetricAttribute, 2));
5881
- };
5882
-
5883
-
5884
- /**
5885
- * @param {!Array<!proto.gateway.web.v1.DerivedMetricAttribute>} value
5886
- * @return {!proto.gateway.web.v1.DerivedMetricEventAttributes} returns this
5887
- */
5888
- proto.gateway.web.v1.DerivedMetricEventAttributes.prototype.setAttributesList = function(value) {
5889
- return jspb.Message.setRepeatedWrapperField(this, 2, value);
5890
- };
5891
-
5892
-
5893
- /**
5894
- * @param {!proto.gateway.web.v1.DerivedMetricAttribute=} opt_value
5895
- * @param {number=} opt_index
5896
- * @return {!proto.gateway.web.v1.DerivedMetricAttribute}
5897
- */
5898
- proto.gateway.web.v1.DerivedMetricEventAttributes.prototype.addAttributes = function(opt_value, opt_index) {
5899
- return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.gateway.web.v1.DerivedMetricAttribute, opt_index);
5900
- };
5901
-
5902
-
5903
- /**
5904
- * Clears the list making it empty but non-null.
5905
- * @return {!proto.gateway.web.v1.DerivedMetricEventAttributes} returns this
5906
- */
5907
- proto.gateway.web.v1.DerivedMetricEventAttributes.prototype.clearAttributesList = function() {
5908
- return this.setAttributesList([]);
5909
- };
5910
-
5911
-
5912
- /**
5913
- * repeated string observed_names = 3;
5914
- * @return {!Array<string>}
5915
- */
5916
- proto.gateway.web.v1.DerivedMetricEventAttributes.prototype.getObservedNamesList = function() {
5917
- return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
5918
- };
5919
-
5920
-
5921
- /**
5922
- * @param {!Array<string>} value
5923
- * @return {!proto.gateway.web.v1.DerivedMetricEventAttributes} returns this
5924
- */
5925
- proto.gateway.web.v1.DerivedMetricEventAttributes.prototype.setObservedNamesList = function(value) {
5926
- return jspb.Message.setField(this, 3, value || []);
5927
- };
5928
-
5929
-
5930
- /**
5931
- * @param {string} value
5932
- * @param {number=} opt_index
5933
- * @return {!proto.gateway.web.v1.DerivedMetricEventAttributes} returns this
5934
- */
5935
- proto.gateway.web.v1.DerivedMetricEventAttributes.prototype.addObservedNames = function(value, opt_index) {
5936
- return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
5937
- };
5938
-
5939
-
5940
- /**
5941
- * Clears the list making it empty but non-null.
5942
- * @return {!proto.gateway.web.v1.DerivedMetricEventAttributes} returns this
5943
- */
5944
- proto.gateway.web.v1.DerivedMetricEventAttributes.prototype.clearObservedNamesList = function() {
5945
- return this.setObservedNamesList([]);
5946
- };
5947
-
5948
-
5949
- /**
5950
- * optional bool observed_names_truncated = 4;
5951
- * @return {boolean}
5952
- */
5953
- proto.gateway.web.v1.DerivedMetricEventAttributes.prototype.getObservedNamesTruncated = function() {
5954
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
5955
- };
5956
-
5957
-
5958
- /**
5959
- * @param {boolean} value
5960
- * @return {!proto.gateway.web.v1.DerivedMetricEventAttributes} returns this
5961
- */
5962
- proto.gateway.web.v1.DerivedMetricEventAttributes.prototype.setObservedNamesTruncated = function(value) {
5963
- return jspb.Message.setProto3BooleanField(this, 4, value);
5964
- };
5965
-
5966
-
5967
- /**
5968
- * @enum {number}
5969
- */
5970
- proto.gateway.web.v1.DerivedMetricSource = {
5971
- DERIVED_METRIC_SOURCE_UNSPECIFIED: 0,
5972
- DERIVED_METRIC_SOURCE_TRACE: 1
5973
- };
5974
-
5975
- /**
5976
- * @enum {number}
4888
+ * @enum {number}
5977
4889
  */
5978
4890
  proto.gateway.web.v1.DerivedMetricOutcome = {
5979
4891
  DERIVED_METRIC_OUTCOME_UNSPECIFIED: 0,
@@ -5989,16 +4901,4 @@ proto.gateway.web.v1.DerivedMetricOutcome = {
5989
4901
  DERIVED_METRIC_OUTCOME_VALUE_OUT_OF_EXACT_RANGE: 10
5990
4902
  };
5991
4903
 
5992
- /**
5993
- * @enum {number}
5994
- */
5995
- proto.gateway.web.v1.DerivedMetricAttributeType = {
5996
- DERIVED_METRIC_ATTRIBUTE_TYPE_UNSPECIFIED: 0,
5997
- DERIVED_METRIC_ATTRIBUTE_TYPE_STRING: 1,
5998
- DERIVED_METRIC_ATTRIBUTE_TYPE_BOOL: 2,
5999
- DERIVED_METRIC_ATTRIBUTE_TYPE_INT: 3,
6000
- DERIVED_METRIC_ATTRIBUTE_TYPE_DOUBLE: 4,
6001
- DERIVED_METRIC_ATTRIBUTE_TYPE_MIXED: 5
6002
- };
6003
-
6004
4904
  goog.object.extend(exports, proto.gateway.web.v1);