@miradorlabs/web-grpc 3.7.0 → 3.8.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.
@@ -64,7 +64,9 @@ goog.exportSymbol('proto.gateway.web.v1.BurnRateSparkPoint', null, global);
64
64
  goog.exportSymbol('proto.gateway.web.v1.DailyActivity', null, global);
65
65
  goog.exportSymbol('proto.gateway.web.v1.DailyActivityDay', null, global);
66
66
  goog.exportSymbol('proto.gateway.web.v1.DailyActivityMeasures', null, global);
67
+ goog.exportSymbol('proto.gateway.web.v1.DailyActivityPrincipal', null, global);
67
68
  goog.exportSymbol('proto.gateway.web.v1.DailyActivityRequest', null, global);
69
+ goog.exportSymbol('proto.gateway.web.v1.DailyActivityRequest.Filter', null, global);
68
70
  goog.exportSymbol('proto.gateway.web.v1.EntitlementWindow', null, global);
69
71
  goog.exportSymbol('proto.gateway.web.v1.EntitlementsSnapshot', null, global);
70
72
  goog.exportSymbol('proto.gateway.web.v1.FileGroup', null, global);
@@ -1119,6 +1121,48 @@ if (goog.DEBUG && !COMPILED) {
1119
1121
  */
1120
1122
  proto.gateway.web.v1.DailyActivityRequest.displayName = 'proto.gateway.web.v1.DailyActivityRequest';
1121
1123
  }
1124
+ /**
1125
+ * Generated by JsPbCodeGenerator.
1126
+ * @param {Array=} opt_data Optional initial data array, typically from a
1127
+ * server response, or constructed directly in Javascript. The array is used
1128
+ * in place and becomes part of the constructed object. It is not cloned.
1129
+ * If no data is provided, the constructed object will be empty, but still
1130
+ * valid.
1131
+ * @extends {jspb.Message}
1132
+ * @constructor
1133
+ */
1134
+ proto.gateway.web.v1.DailyActivityRequest.Filter = function(opt_data) {
1135
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.DailyActivityRequest.Filter.repeatedFields_, null);
1136
+ };
1137
+ goog.inherits(proto.gateway.web.v1.DailyActivityRequest.Filter, jspb.Message);
1138
+ if (goog.DEBUG && !COMPILED) {
1139
+ /**
1140
+ * @public
1141
+ * @override
1142
+ */
1143
+ proto.gateway.web.v1.DailyActivityRequest.Filter.displayName = 'proto.gateway.web.v1.DailyActivityRequest.Filter';
1144
+ }
1145
+ /**
1146
+ * Generated by JsPbCodeGenerator.
1147
+ * @param {Array=} opt_data Optional initial data array, typically from a
1148
+ * server response, or constructed directly in Javascript. The array is used
1149
+ * in place and becomes part of the constructed object. It is not cloned.
1150
+ * If no data is provided, the constructed object will be empty, but still
1151
+ * valid.
1152
+ * @extends {jspb.Message}
1153
+ * @constructor
1154
+ */
1155
+ proto.gateway.web.v1.DailyActivityPrincipal = function(opt_data) {
1156
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1157
+ };
1158
+ goog.inherits(proto.gateway.web.v1.DailyActivityPrincipal, jspb.Message);
1159
+ if (goog.DEBUG && !COMPILED) {
1160
+ /**
1161
+ * @public
1162
+ * @override
1163
+ */
1164
+ proto.gateway.web.v1.DailyActivityPrincipal.displayName = 'proto.gateway.web.v1.DailyActivityPrincipal';
1165
+ }
1122
1166
  /**
1123
1167
  * Generated by JsPbCodeGenerator.
1124
1168
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -1151,7 +1195,7 @@ if (goog.DEBUG && !COMPILED) {
1151
1195
  * @constructor
1152
1196
  */
1153
1197
  proto.gateway.web.v1.DailyActivityDay = function(opt_data) {
1154
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1198
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.DailyActivityDay.repeatedFields_, null);
1155
1199
  };
1156
1200
  goog.inherits(proto.gateway.web.v1.DailyActivityDay, jspb.Message);
1157
1201
  if (goog.DEBUG && !COMPILED) {
@@ -17263,7 +17307,8 @@ proto.gateway.web.v1.DailyActivityRequest.toObject = function(includeInstance, m
17263
17307
  organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""),
17264
17308
  projectId: jspb.Message.getFieldWithDefault(msg, 2, ""),
17265
17309
  startDate: jspb.Message.getFieldWithDefault(msg, 3, ""),
17266
- endDate: jspb.Message.getFieldWithDefault(msg, 4, "")
17310
+ endDate: jspb.Message.getFieldWithDefault(msg, 4, ""),
17311
+ filter: (f = msg.getFilter()) && proto.gateway.web.v1.DailyActivityRequest.Filter.toObject(includeInstance, f)
17267
17312
  };
17268
17313
 
17269
17314
  if (includeInstance) {
@@ -17316,6 +17361,11 @@ proto.gateway.web.v1.DailyActivityRequest.deserializeBinaryFromReader = function
17316
17361
  var value = /** @type {string} */ (reader.readStringRequireUtf8());
17317
17362
  msg.setEndDate(value);
17318
17363
  break;
17364
+ case 5:
17365
+ var value = new proto.gateway.web.v1.DailyActivityRequest.Filter;
17366
+ reader.readMessage(value,proto.gateway.web.v1.DailyActivityRequest.Filter.deserializeBinaryFromReader);
17367
+ msg.setFilter(value);
17368
+ break;
17319
17369
  default:
17320
17370
  reader.skipField();
17321
17371
  break;
@@ -17373,78 +17423,14 @@ proto.gateway.web.v1.DailyActivityRequest.serializeBinaryToWriter = function(mes
17373
17423
  f
17374
17424
  );
17375
17425
  }
17376
- };
17377
-
17378
-
17379
- /**
17380
- * optional string organization_id = 1;
17381
- * @return {string}
17382
- */
17383
- proto.gateway.web.v1.DailyActivityRequest.prototype.getOrganizationId = function() {
17384
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
17385
- };
17386
-
17387
-
17388
- /**
17389
- * @param {string} value
17390
- * @return {!proto.gateway.web.v1.DailyActivityRequest} returns this
17391
- */
17392
- proto.gateway.web.v1.DailyActivityRequest.prototype.setOrganizationId = function(value) {
17393
- return jspb.Message.setProto3StringField(this, 1, value);
17394
- };
17395
-
17396
-
17397
- /**
17398
- * optional string project_id = 2;
17399
- * @return {string}
17400
- */
17401
- proto.gateway.web.v1.DailyActivityRequest.prototype.getProjectId = function() {
17402
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
17403
- };
17404
-
17405
-
17406
- /**
17407
- * @param {string} value
17408
- * @return {!proto.gateway.web.v1.DailyActivityRequest} returns this
17409
- */
17410
- proto.gateway.web.v1.DailyActivityRequest.prototype.setProjectId = function(value) {
17411
- return jspb.Message.setProto3StringField(this, 2, value);
17412
- };
17413
-
17414
-
17415
- /**
17416
- * optional string start_date = 3;
17417
- * @return {string}
17418
- */
17419
- proto.gateway.web.v1.DailyActivityRequest.prototype.getStartDate = function() {
17420
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
17421
- };
17422
-
17423
-
17424
- /**
17425
- * @param {string} value
17426
- * @return {!proto.gateway.web.v1.DailyActivityRequest} returns this
17427
- */
17428
- proto.gateway.web.v1.DailyActivityRequest.prototype.setStartDate = function(value) {
17429
- return jspb.Message.setProto3StringField(this, 3, value);
17430
- };
17431
-
17432
-
17433
- /**
17434
- * optional string end_date = 4;
17435
- * @return {string}
17436
- */
17437
- proto.gateway.web.v1.DailyActivityRequest.prototype.getEndDate = function() {
17438
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
17439
- };
17440
-
17441
-
17442
- /**
17443
- * @param {string} value
17444
- * @return {!proto.gateway.web.v1.DailyActivityRequest} returns this
17445
- */
17446
- proto.gateway.web.v1.DailyActivityRequest.prototype.setEndDate = function(value) {
17447
- return jspb.Message.setProto3StringField(this, 4, value);
17426
+ f = message.getFilter();
17427
+ if (f != null) {
17428
+ writer.writeMessage(
17429
+ 5,
17430
+ f,
17431
+ proto.gateway.web.v1.DailyActivityRequest.Filter.serializeBinaryToWriter
17432
+ );
17433
+ }
17448
17434
  };
17449
17435
 
17450
17436
 
@@ -17454,7 +17440,7 @@ proto.gateway.web.v1.DailyActivityRequest.prototype.setEndDate = function(value)
17454
17440
  * @private {!Array<number>}
17455
17441
  * @const
17456
17442
  */
17457
- proto.gateway.web.v1.DailyActivity.repeatedFields_ = [1];
17443
+ proto.gateway.web.v1.DailyActivityRequest.Filter.repeatedFields_ = [1,2,3,4];
17458
17444
 
17459
17445
 
17460
17446
 
@@ -17471,8 +17457,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
17471
17457
  * http://goto/soy-param-migration
17472
17458
  * @return {!Object}
17473
17459
  */
17474
- proto.gateway.web.v1.DailyActivity.prototype.toObject = function(opt_includeInstance) {
17475
- return proto.gateway.web.v1.DailyActivity.toObject(opt_includeInstance, this);
17460
+ proto.gateway.web.v1.DailyActivityRequest.Filter.prototype.toObject = function(opt_includeInstance) {
17461
+ return proto.gateway.web.v1.DailyActivityRequest.Filter.toObject(opt_includeInstance, this);
17476
17462
  };
17477
17463
 
17478
17464
 
@@ -17481,19 +17467,17 @@ proto.gateway.web.v1.DailyActivity.prototype.toObject = function(opt_includeInst
17481
17467
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
17482
17468
  * the JSPB instance for transitional soy proto support:
17483
17469
  * http://goto/soy-param-migration
17484
- * @param {!proto.gateway.web.v1.DailyActivity} msg The msg instance to transform.
17470
+ * @param {!proto.gateway.web.v1.DailyActivityRequest.Filter} msg The msg instance to transform.
17485
17471
  * @return {!Object}
17486
17472
  * @suppress {unusedLocalVariables} f is only used for nested messages
17487
17473
  */
17488
- proto.gateway.web.v1.DailyActivity.toObject = function(includeInstance, msg) {
17474
+ proto.gateway.web.v1.DailyActivityRequest.Filter.toObject = function(includeInstance, msg) {
17489
17475
  var f, obj = {
17490
- daysList: jspb.Message.toObjectList(msg.getDaysList(),
17491
- proto.gateway.web.v1.DailyActivityDay.toObject, includeInstance),
17492
- startDate: jspb.Message.getFieldWithDefault(msg, 2, ""),
17493
- endDate: jspb.Message.getFieldWithDefault(msg, 3, ""),
17494
- coverageStart: jspb.Message.getFieldWithDefault(msg, 4, ""),
17495
- today: jspb.Message.getFieldWithDefault(msg, 5, ""),
17496
- asOf: (f = msg.getAsOf()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
17476
+ sourceSystemsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
17477
+ modelsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
17478
+ providersList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
17479
+ principalsList: jspb.Message.toObjectList(msg.getPrincipalsList(),
17480
+ proto.gateway.web.v1.DailyActivityPrincipal.toObject, includeInstance)
17497
17481
  };
17498
17482
 
17499
17483
  if (includeInstance) {
@@ -17507,23 +17491,23 @@ asOf: (f = msg.getAsOf()) && google_protobuf_timestamp_pb.Timestamp.toObject(inc
17507
17491
  /**
17508
17492
  * Deserializes binary data (in protobuf wire format).
17509
17493
  * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
17510
- * @return {!proto.gateway.web.v1.DailyActivity}
17494
+ * @return {!proto.gateway.web.v1.DailyActivityRequest.Filter}
17511
17495
  */
17512
- proto.gateway.web.v1.DailyActivity.deserializeBinary = function(bytes) {
17496
+ proto.gateway.web.v1.DailyActivityRequest.Filter.deserializeBinary = function(bytes) {
17513
17497
  var reader = new jspb.BinaryReader(bytes);
17514
- var msg = new proto.gateway.web.v1.DailyActivity;
17515
- return proto.gateway.web.v1.DailyActivity.deserializeBinaryFromReader(msg, reader);
17498
+ var msg = new proto.gateway.web.v1.DailyActivityRequest.Filter;
17499
+ return proto.gateway.web.v1.DailyActivityRequest.Filter.deserializeBinaryFromReader(msg, reader);
17516
17500
  };
17517
17501
 
17518
17502
 
17519
17503
  /**
17520
17504
  * Deserializes binary data (in protobuf wire format) from the
17521
17505
  * given reader into the given message object.
17522
- * @param {!proto.gateway.web.v1.DailyActivity} msg The message object to deserialize into.
17506
+ * @param {!proto.gateway.web.v1.DailyActivityRequest.Filter} msg The message object to deserialize into.
17523
17507
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
17524
- * @return {!proto.gateway.web.v1.DailyActivity}
17508
+ * @return {!proto.gateway.web.v1.DailyActivityRequest.Filter}
17525
17509
  */
17526
- proto.gateway.web.v1.DailyActivity.deserializeBinaryFromReader = function(msg, reader) {
17510
+ proto.gateway.web.v1.DailyActivityRequest.Filter.deserializeBinaryFromReader = function(msg, reader) {
17527
17511
  while (reader.nextField()) {
17528
17512
  if (reader.isEndGroup()) {
17529
17513
  break;
@@ -17531,30 +17515,21 @@ proto.gateway.web.v1.DailyActivity.deserializeBinaryFromReader = function(msg, r
17531
17515
  var field = reader.getFieldNumber();
17532
17516
  switch (field) {
17533
17517
  case 1:
17534
- var value = new proto.gateway.web.v1.DailyActivityDay;
17535
- reader.readMessage(value,proto.gateway.web.v1.DailyActivityDay.deserializeBinaryFromReader);
17536
- msg.addDays(value);
17518
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
17519
+ msg.addSourceSystems(value);
17537
17520
  break;
17538
17521
  case 2:
17539
17522
  var value = /** @type {string} */ (reader.readStringRequireUtf8());
17540
- msg.setStartDate(value);
17523
+ msg.addModels(value);
17541
17524
  break;
17542
17525
  case 3:
17543
17526
  var value = /** @type {string} */ (reader.readStringRequireUtf8());
17544
- msg.setEndDate(value);
17527
+ msg.addProviders(value);
17545
17528
  break;
17546
17529
  case 4:
17547
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
17548
- msg.setCoverageStart(value);
17549
- break;
17550
- case 5:
17551
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
17552
- msg.setToday(value);
17553
- break;
17554
- case 6:
17555
- var value = new google_protobuf_timestamp_pb.Timestamp;
17556
- reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
17557
- msg.setAsOf(value);
17530
+ var value = new proto.gateway.web.v1.DailyActivityPrincipal;
17531
+ reader.readMessage(value,proto.gateway.web.v1.DailyActivityPrincipal.deserializeBinaryFromReader);
17532
+ msg.addPrincipals(value);
17558
17533
  break;
17559
17534
  default:
17560
17535
  reader.skipField();
@@ -17569,9 +17544,9 @@ proto.gateway.web.v1.DailyActivity.deserializeBinaryFromReader = function(msg, r
17569
17544
  * Serializes the message to binary data (in protobuf wire format).
17570
17545
  * @return {!Uint8Array}
17571
17546
  */
17572
- proto.gateway.web.v1.DailyActivity.prototype.serializeBinary = function() {
17547
+ proto.gateway.web.v1.DailyActivityRequest.Filter.prototype.serializeBinary = function() {
17573
17548
  var writer = new jspb.BinaryWriter();
17574
- proto.gateway.web.v1.DailyActivity.serializeBinaryToWriter(this, writer);
17549
+ proto.gateway.web.v1.DailyActivityRequest.Filter.serializeBinaryToWriter(this, writer);
17575
17550
  return writer.getResultBuffer();
17576
17551
  };
17577
17552
 
@@ -17579,145 +17554,762 @@ proto.gateway.web.v1.DailyActivity.prototype.serializeBinary = function() {
17579
17554
  /**
17580
17555
  * Serializes the given message to binary data (in protobuf wire
17581
17556
  * format), writing to the given BinaryWriter.
17582
- * @param {!proto.gateway.web.v1.DailyActivity} message
17557
+ * @param {!proto.gateway.web.v1.DailyActivityRequest.Filter} message
17583
17558
  * @param {!jspb.BinaryWriter} writer
17584
17559
  * @suppress {unusedLocalVariables} f is only used for nested messages
17585
17560
  */
17586
- proto.gateway.web.v1.DailyActivity.serializeBinaryToWriter = function(message, writer) {
17561
+ proto.gateway.web.v1.DailyActivityRequest.Filter.serializeBinaryToWriter = function(message, writer) {
17587
17562
  var f = undefined;
17588
- f = message.getDaysList();
17563
+ f = message.getSourceSystemsList();
17589
17564
  if (f.length > 0) {
17590
- writer.writeRepeatedMessage(
17565
+ writer.writeRepeatedString(
17591
17566
  1,
17592
- f,
17593
- proto.gateway.web.v1.DailyActivityDay.serializeBinaryToWriter
17567
+ f
17594
17568
  );
17595
17569
  }
17596
- f = message.getStartDate();
17570
+ f = message.getModelsList();
17597
17571
  if (f.length > 0) {
17598
- writer.writeString(
17572
+ writer.writeRepeatedString(
17599
17573
  2,
17600
17574
  f
17601
17575
  );
17602
17576
  }
17603
- f = message.getEndDate();
17577
+ f = message.getProvidersList();
17604
17578
  if (f.length > 0) {
17605
- writer.writeString(
17579
+ writer.writeRepeatedString(
17606
17580
  3,
17607
17581
  f
17608
17582
  );
17609
17583
  }
17610
- f = message.getCoverageStart();
17584
+ f = message.getPrincipalsList();
17611
17585
  if (f.length > 0) {
17612
- writer.writeString(
17586
+ writer.writeRepeatedMessage(
17613
17587
  4,
17614
- f
17615
- );
17616
- }
17617
- f = message.getToday();
17618
- if (f.length > 0) {
17619
- writer.writeString(
17620
- 5,
17621
- f
17622
- );
17623
- }
17624
- f = message.getAsOf();
17625
- if (f != null) {
17626
- writer.writeMessage(
17627
- 6,
17628
17588
  f,
17629
- google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
17589
+ proto.gateway.web.v1.DailyActivityPrincipal.serializeBinaryToWriter
17630
17590
  );
17631
17591
  }
17632
17592
  };
17633
17593
 
17634
17594
 
17635
17595
  /**
17636
- * repeated DailyActivityDay days = 1;
17637
- * @return {!Array<!proto.gateway.web.v1.DailyActivityDay>}
17596
+ * repeated string source_systems = 1;
17597
+ * @return {!Array<string>}
17638
17598
  */
17639
- proto.gateway.web.v1.DailyActivity.prototype.getDaysList = function() {
17640
- return /** @type{!Array<!proto.gateway.web.v1.DailyActivityDay>} */ (
17641
- jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.DailyActivityDay, 1));
17599
+ proto.gateway.web.v1.DailyActivityRequest.Filter.prototype.getSourceSystemsList = function() {
17600
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
17642
17601
  };
17643
17602
 
17644
17603
 
17645
17604
  /**
17646
- * @param {!Array<!proto.gateway.web.v1.DailyActivityDay>} value
17647
- * @return {!proto.gateway.web.v1.DailyActivity} returns this
17648
- */
17649
- proto.gateway.web.v1.DailyActivity.prototype.setDaysList = function(value) {
17650
- return jspb.Message.setRepeatedWrapperField(this, 1, value);
17605
+ * @param {!Array<string>} value
17606
+ * @return {!proto.gateway.web.v1.DailyActivityRequest.Filter} returns this
17607
+ */
17608
+ proto.gateway.web.v1.DailyActivityRequest.Filter.prototype.setSourceSystemsList = function(value) {
17609
+ return jspb.Message.setField(this, 1, value || []);
17651
17610
  };
17652
17611
 
17653
17612
 
17654
17613
  /**
17655
- * @param {!proto.gateway.web.v1.DailyActivityDay=} opt_value
17614
+ * @param {string} value
17656
17615
  * @param {number=} opt_index
17657
- * @return {!proto.gateway.web.v1.DailyActivityDay}
17616
+ * @return {!proto.gateway.web.v1.DailyActivityRequest.Filter} returns this
17658
17617
  */
17659
- proto.gateway.web.v1.DailyActivity.prototype.addDays = function(opt_value, opt_index) {
17660
- return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.gateway.web.v1.DailyActivityDay, opt_index);
17618
+ proto.gateway.web.v1.DailyActivityRequest.Filter.prototype.addSourceSystems = function(value, opt_index) {
17619
+ return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
17661
17620
  };
17662
17621
 
17663
17622
 
17664
17623
  /**
17665
17624
  * Clears the list making it empty but non-null.
17666
- * @return {!proto.gateway.web.v1.DailyActivity} returns this
17625
+ * @return {!proto.gateway.web.v1.DailyActivityRequest.Filter} returns this
17667
17626
  */
17668
- proto.gateway.web.v1.DailyActivity.prototype.clearDaysList = function() {
17669
- return this.setDaysList([]);
17627
+ proto.gateway.web.v1.DailyActivityRequest.Filter.prototype.clearSourceSystemsList = function() {
17628
+ return this.setSourceSystemsList([]);
17670
17629
  };
17671
17630
 
17672
17631
 
17673
17632
  /**
17674
- * optional string start_date = 2;
17675
- * @return {string}
17633
+ * repeated string models = 2;
17634
+ * @return {!Array<string>}
17676
17635
  */
17677
- proto.gateway.web.v1.DailyActivity.prototype.getStartDate = function() {
17678
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
17636
+ proto.gateway.web.v1.DailyActivityRequest.Filter.prototype.getModelsList = function() {
17637
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
17679
17638
  };
17680
17639
 
17681
17640
 
17682
17641
  /**
17683
- * @param {string} value
17684
- * @return {!proto.gateway.web.v1.DailyActivity} returns this
17642
+ * @param {!Array<string>} value
17643
+ * @return {!proto.gateway.web.v1.DailyActivityRequest.Filter} returns this
17685
17644
  */
17686
- proto.gateway.web.v1.DailyActivity.prototype.setStartDate = function(value) {
17687
- return jspb.Message.setProto3StringField(this, 2, value);
17645
+ proto.gateway.web.v1.DailyActivityRequest.Filter.prototype.setModelsList = function(value) {
17646
+ return jspb.Message.setField(this, 2, value || []);
17688
17647
  };
17689
17648
 
17690
17649
 
17691
17650
  /**
17692
- * optional string end_date = 3;
17693
- * @return {string}
17651
+ * @param {string} value
17652
+ * @param {number=} opt_index
17653
+ * @return {!proto.gateway.web.v1.DailyActivityRequest.Filter} returns this
17694
17654
  */
17695
- proto.gateway.web.v1.DailyActivity.prototype.getEndDate = function() {
17696
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
17655
+ proto.gateway.web.v1.DailyActivityRequest.Filter.prototype.addModels = function(value, opt_index) {
17656
+ return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
17697
17657
  };
17698
17658
 
17699
17659
 
17700
17660
  /**
17701
- * @param {string} value
17702
- * @return {!proto.gateway.web.v1.DailyActivity} returns this
17661
+ * Clears the list making it empty but non-null.
17662
+ * @return {!proto.gateway.web.v1.DailyActivityRequest.Filter} returns this
17703
17663
  */
17704
- proto.gateway.web.v1.DailyActivity.prototype.setEndDate = function(value) {
17705
- return jspb.Message.setProto3StringField(this, 3, value);
17664
+ proto.gateway.web.v1.DailyActivityRequest.Filter.prototype.clearModelsList = function() {
17665
+ return this.setModelsList([]);
17706
17666
  };
17707
17667
 
17708
17668
 
17709
17669
  /**
17710
- * optional string coverage_start = 4;
17711
- * @return {string}
17670
+ * repeated string providers = 3;
17671
+ * @return {!Array<string>}
17712
17672
  */
17713
- proto.gateway.web.v1.DailyActivity.prototype.getCoverageStart = function() {
17714
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
17673
+ proto.gateway.web.v1.DailyActivityRequest.Filter.prototype.getProvidersList = function() {
17674
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
17715
17675
  };
17716
17676
 
17717
17677
 
17718
17678
  /**
17719
- * @param {string} value
17720
- * @return {!proto.gateway.web.v1.DailyActivity} returns this
17679
+ * @param {!Array<string>} value
17680
+ * @return {!proto.gateway.web.v1.DailyActivityRequest.Filter} returns this
17681
+ */
17682
+ proto.gateway.web.v1.DailyActivityRequest.Filter.prototype.setProvidersList = function(value) {
17683
+ return jspb.Message.setField(this, 3, value || []);
17684
+ };
17685
+
17686
+
17687
+ /**
17688
+ * @param {string} value
17689
+ * @param {number=} opt_index
17690
+ * @return {!proto.gateway.web.v1.DailyActivityRequest.Filter} returns this
17691
+ */
17692
+ proto.gateway.web.v1.DailyActivityRequest.Filter.prototype.addProviders = function(value, opt_index) {
17693
+ return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
17694
+ };
17695
+
17696
+
17697
+ /**
17698
+ * Clears the list making it empty but non-null.
17699
+ * @return {!proto.gateway.web.v1.DailyActivityRequest.Filter} returns this
17700
+ */
17701
+ proto.gateway.web.v1.DailyActivityRequest.Filter.prototype.clearProvidersList = function() {
17702
+ return this.setProvidersList([]);
17703
+ };
17704
+
17705
+
17706
+ /**
17707
+ * repeated DailyActivityPrincipal principals = 4;
17708
+ * @return {!Array<!proto.gateway.web.v1.DailyActivityPrincipal>}
17709
+ */
17710
+ proto.gateway.web.v1.DailyActivityRequest.Filter.prototype.getPrincipalsList = function() {
17711
+ return /** @type{!Array<!proto.gateway.web.v1.DailyActivityPrincipal>} */ (
17712
+ jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.DailyActivityPrincipal, 4));
17713
+ };
17714
+
17715
+
17716
+ /**
17717
+ * @param {!Array<!proto.gateway.web.v1.DailyActivityPrincipal>} value
17718
+ * @return {!proto.gateway.web.v1.DailyActivityRequest.Filter} returns this
17719
+ */
17720
+ proto.gateway.web.v1.DailyActivityRequest.Filter.prototype.setPrincipalsList = function(value) {
17721
+ return jspb.Message.setRepeatedWrapperField(this, 4, value);
17722
+ };
17723
+
17724
+
17725
+ /**
17726
+ * @param {!proto.gateway.web.v1.DailyActivityPrincipal=} opt_value
17727
+ * @param {number=} opt_index
17728
+ * @return {!proto.gateway.web.v1.DailyActivityPrincipal}
17729
+ */
17730
+ proto.gateway.web.v1.DailyActivityRequest.Filter.prototype.addPrincipals = function(opt_value, opt_index) {
17731
+ return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.gateway.web.v1.DailyActivityPrincipal, opt_index);
17732
+ };
17733
+
17734
+
17735
+ /**
17736
+ * Clears the list making it empty but non-null.
17737
+ * @return {!proto.gateway.web.v1.DailyActivityRequest.Filter} returns this
17738
+ */
17739
+ proto.gateway.web.v1.DailyActivityRequest.Filter.prototype.clearPrincipalsList = function() {
17740
+ return this.setPrincipalsList([]);
17741
+ };
17742
+
17743
+
17744
+ /**
17745
+ * optional string organization_id = 1;
17746
+ * @return {string}
17747
+ */
17748
+ proto.gateway.web.v1.DailyActivityRequest.prototype.getOrganizationId = function() {
17749
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
17750
+ };
17751
+
17752
+
17753
+ /**
17754
+ * @param {string} value
17755
+ * @return {!proto.gateway.web.v1.DailyActivityRequest} returns this
17756
+ */
17757
+ proto.gateway.web.v1.DailyActivityRequest.prototype.setOrganizationId = function(value) {
17758
+ return jspb.Message.setProto3StringField(this, 1, value);
17759
+ };
17760
+
17761
+
17762
+ /**
17763
+ * optional string project_id = 2;
17764
+ * @return {string}
17765
+ */
17766
+ proto.gateway.web.v1.DailyActivityRequest.prototype.getProjectId = function() {
17767
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
17768
+ };
17769
+
17770
+
17771
+ /**
17772
+ * @param {string} value
17773
+ * @return {!proto.gateway.web.v1.DailyActivityRequest} returns this
17774
+ */
17775
+ proto.gateway.web.v1.DailyActivityRequest.prototype.setProjectId = function(value) {
17776
+ return jspb.Message.setProto3StringField(this, 2, value);
17777
+ };
17778
+
17779
+
17780
+ /**
17781
+ * optional string start_date = 3;
17782
+ * @return {string}
17783
+ */
17784
+ proto.gateway.web.v1.DailyActivityRequest.prototype.getStartDate = function() {
17785
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
17786
+ };
17787
+
17788
+
17789
+ /**
17790
+ * @param {string} value
17791
+ * @return {!proto.gateway.web.v1.DailyActivityRequest} returns this
17792
+ */
17793
+ proto.gateway.web.v1.DailyActivityRequest.prototype.setStartDate = function(value) {
17794
+ return jspb.Message.setProto3StringField(this, 3, value);
17795
+ };
17796
+
17797
+
17798
+ /**
17799
+ * optional string end_date = 4;
17800
+ * @return {string}
17801
+ */
17802
+ proto.gateway.web.v1.DailyActivityRequest.prototype.getEndDate = function() {
17803
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
17804
+ };
17805
+
17806
+
17807
+ /**
17808
+ * @param {string} value
17809
+ * @return {!proto.gateway.web.v1.DailyActivityRequest} returns this
17810
+ */
17811
+ proto.gateway.web.v1.DailyActivityRequest.prototype.setEndDate = function(value) {
17812
+ return jspb.Message.setProto3StringField(this, 4, value);
17813
+ };
17814
+
17815
+
17816
+ /**
17817
+ * optional Filter filter = 5;
17818
+ * @return {?proto.gateway.web.v1.DailyActivityRequest.Filter}
17819
+ */
17820
+ proto.gateway.web.v1.DailyActivityRequest.prototype.getFilter = function() {
17821
+ return /** @type{?proto.gateway.web.v1.DailyActivityRequest.Filter} */ (
17822
+ jspb.Message.getWrapperField(this, proto.gateway.web.v1.DailyActivityRequest.Filter, 5));
17823
+ };
17824
+
17825
+
17826
+ /**
17827
+ * @param {?proto.gateway.web.v1.DailyActivityRequest.Filter|undefined} value
17828
+ * @return {!proto.gateway.web.v1.DailyActivityRequest} returns this
17829
+ */
17830
+ proto.gateway.web.v1.DailyActivityRequest.prototype.setFilter = function(value) {
17831
+ return jspb.Message.setWrapperField(this, 5, value);
17832
+ };
17833
+
17834
+
17835
+ /**
17836
+ * Clears the message field making it undefined.
17837
+ * @return {!proto.gateway.web.v1.DailyActivityRequest} returns this
17838
+ */
17839
+ proto.gateway.web.v1.DailyActivityRequest.prototype.clearFilter = function() {
17840
+ return this.setFilter(undefined);
17841
+ };
17842
+
17843
+
17844
+ /**
17845
+ * Returns whether this field is set.
17846
+ * @return {boolean}
17847
+ */
17848
+ proto.gateway.web.v1.DailyActivityRequest.prototype.hasFilter = function() {
17849
+ return jspb.Message.getField(this, 5) != null;
17850
+ };
17851
+
17852
+
17853
+
17854
+
17855
+
17856
+ if (jspb.Message.GENERATE_TO_OBJECT) {
17857
+ /**
17858
+ * Creates an object representation of this proto.
17859
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
17860
+ * Optional fields that are not set will be set to undefined.
17861
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
17862
+ * For the list of reserved names please see:
17863
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
17864
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
17865
+ * JSPB instance for transitional soy proto support:
17866
+ * http://goto/soy-param-migration
17867
+ * @return {!Object}
17868
+ */
17869
+ proto.gateway.web.v1.DailyActivityPrincipal.prototype.toObject = function(opt_includeInstance) {
17870
+ return proto.gateway.web.v1.DailyActivityPrincipal.toObject(opt_includeInstance, this);
17871
+ };
17872
+
17873
+
17874
+ /**
17875
+ * Static version of the {@see toObject} method.
17876
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
17877
+ * the JSPB instance for transitional soy proto support:
17878
+ * http://goto/soy-param-migration
17879
+ * @param {!proto.gateway.web.v1.DailyActivityPrincipal} msg The msg instance to transform.
17880
+ * @return {!Object}
17881
+ * @suppress {unusedLocalVariables} f is only used for nested messages
17882
+ */
17883
+ proto.gateway.web.v1.DailyActivityPrincipal.toObject = function(includeInstance, msg) {
17884
+ var f, obj = {
17885
+ kind: jspb.Message.getFieldWithDefault(msg, 1, 0),
17886
+ id: jspb.Message.getFieldWithDefault(msg, 2, ""),
17887
+ sourceSystem: jspb.Message.getFieldWithDefault(msg, 3, "")
17888
+ };
17889
+
17890
+ if (includeInstance) {
17891
+ obj.$jspbMessageInstance = msg;
17892
+ }
17893
+ return obj;
17894
+ };
17895
+ }
17896
+
17897
+
17898
+ /**
17899
+ * Deserializes binary data (in protobuf wire format).
17900
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
17901
+ * @return {!proto.gateway.web.v1.DailyActivityPrincipal}
17902
+ */
17903
+ proto.gateway.web.v1.DailyActivityPrincipal.deserializeBinary = function(bytes) {
17904
+ var reader = new jspb.BinaryReader(bytes);
17905
+ var msg = new proto.gateway.web.v1.DailyActivityPrincipal;
17906
+ return proto.gateway.web.v1.DailyActivityPrincipal.deserializeBinaryFromReader(msg, reader);
17907
+ };
17908
+
17909
+
17910
+ /**
17911
+ * Deserializes binary data (in protobuf wire format) from the
17912
+ * given reader into the given message object.
17913
+ * @param {!proto.gateway.web.v1.DailyActivityPrincipal} msg The message object to deserialize into.
17914
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
17915
+ * @return {!proto.gateway.web.v1.DailyActivityPrincipal}
17916
+ */
17917
+ proto.gateway.web.v1.DailyActivityPrincipal.deserializeBinaryFromReader = function(msg, reader) {
17918
+ while (reader.nextField()) {
17919
+ if (reader.isEndGroup()) {
17920
+ break;
17921
+ }
17922
+ var field = reader.getFieldNumber();
17923
+ switch (field) {
17924
+ case 1:
17925
+ var value = /** @type {!proto.gateway.web.v1.AIPrincipalKind} */ (reader.readEnum());
17926
+ msg.setKind(value);
17927
+ break;
17928
+ case 2:
17929
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
17930
+ msg.setId(value);
17931
+ break;
17932
+ case 3:
17933
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
17934
+ msg.setSourceSystem(value);
17935
+ break;
17936
+ default:
17937
+ reader.skipField();
17938
+ break;
17939
+ }
17940
+ }
17941
+ return msg;
17942
+ };
17943
+
17944
+
17945
+ /**
17946
+ * Serializes the message to binary data (in protobuf wire format).
17947
+ * @return {!Uint8Array}
17948
+ */
17949
+ proto.gateway.web.v1.DailyActivityPrincipal.prototype.serializeBinary = function() {
17950
+ var writer = new jspb.BinaryWriter();
17951
+ proto.gateway.web.v1.DailyActivityPrincipal.serializeBinaryToWriter(this, writer);
17952
+ return writer.getResultBuffer();
17953
+ };
17954
+
17955
+
17956
+ /**
17957
+ * Serializes the given message to binary data (in protobuf wire
17958
+ * format), writing to the given BinaryWriter.
17959
+ * @param {!proto.gateway.web.v1.DailyActivityPrincipal} message
17960
+ * @param {!jspb.BinaryWriter} writer
17961
+ * @suppress {unusedLocalVariables} f is only used for nested messages
17962
+ */
17963
+ proto.gateway.web.v1.DailyActivityPrincipal.serializeBinaryToWriter = function(message, writer) {
17964
+ var f = undefined;
17965
+ f = message.getKind();
17966
+ if (f !== 0.0) {
17967
+ writer.writeEnum(
17968
+ 1,
17969
+ f
17970
+ );
17971
+ }
17972
+ f = message.getId();
17973
+ if (f.length > 0) {
17974
+ writer.writeString(
17975
+ 2,
17976
+ f
17977
+ );
17978
+ }
17979
+ f = message.getSourceSystem();
17980
+ if (f.length > 0) {
17981
+ writer.writeString(
17982
+ 3,
17983
+ f
17984
+ );
17985
+ }
17986
+ };
17987
+
17988
+
17989
+ /**
17990
+ * optional AIPrincipalKind kind = 1;
17991
+ * @return {!proto.gateway.web.v1.AIPrincipalKind}
17992
+ */
17993
+ proto.gateway.web.v1.DailyActivityPrincipal.prototype.getKind = function() {
17994
+ return /** @type {!proto.gateway.web.v1.AIPrincipalKind} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
17995
+ };
17996
+
17997
+
17998
+ /**
17999
+ * @param {!proto.gateway.web.v1.AIPrincipalKind} value
18000
+ * @return {!proto.gateway.web.v1.DailyActivityPrincipal} returns this
18001
+ */
18002
+ proto.gateway.web.v1.DailyActivityPrincipal.prototype.setKind = function(value) {
18003
+ return jspb.Message.setProto3EnumField(this, 1, value);
18004
+ };
18005
+
18006
+
18007
+ /**
18008
+ * optional string id = 2;
18009
+ * @return {string}
18010
+ */
18011
+ proto.gateway.web.v1.DailyActivityPrincipal.prototype.getId = function() {
18012
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
18013
+ };
18014
+
18015
+
18016
+ /**
18017
+ * @param {string} value
18018
+ * @return {!proto.gateway.web.v1.DailyActivityPrincipal} returns this
18019
+ */
18020
+ proto.gateway.web.v1.DailyActivityPrincipal.prototype.setId = function(value) {
18021
+ return jspb.Message.setProto3StringField(this, 2, value);
18022
+ };
18023
+
18024
+
18025
+ /**
18026
+ * optional string source_system = 3;
18027
+ * @return {string}
18028
+ */
18029
+ proto.gateway.web.v1.DailyActivityPrincipal.prototype.getSourceSystem = function() {
18030
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
18031
+ };
18032
+
18033
+
18034
+ /**
18035
+ * @param {string} value
18036
+ * @return {!proto.gateway.web.v1.DailyActivityPrincipal} returns this
18037
+ */
18038
+ proto.gateway.web.v1.DailyActivityPrincipal.prototype.setSourceSystem = function(value) {
18039
+ return jspb.Message.setProto3StringField(this, 3, value);
18040
+ };
18041
+
18042
+
18043
+
18044
+ /**
18045
+ * List of repeated fields within this message type.
18046
+ * @private {!Array<number>}
18047
+ * @const
18048
+ */
18049
+ proto.gateway.web.v1.DailyActivity.repeatedFields_ = [1];
18050
+
18051
+
18052
+
18053
+ if (jspb.Message.GENERATE_TO_OBJECT) {
18054
+ /**
18055
+ * Creates an object representation of this proto.
18056
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
18057
+ * Optional fields that are not set will be set to undefined.
18058
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
18059
+ * For the list of reserved names please see:
18060
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
18061
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
18062
+ * JSPB instance for transitional soy proto support:
18063
+ * http://goto/soy-param-migration
18064
+ * @return {!Object}
18065
+ */
18066
+ proto.gateway.web.v1.DailyActivity.prototype.toObject = function(opt_includeInstance) {
18067
+ return proto.gateway.web.v1.DailyActivity.toObject(opt_includeInstance, this);
18068
+ };
18069
+
18070
+
18071
+ /**
18072
+ * Static version of the {@see toObject} method.
18073
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
18074
+ * the JSPB instance for transitional soy proto support:
18075
+ * http://goto/soy-param-migration
18076
+ * @param {!proto.gateway.web.v1.DailyActivity} msg The msg instance to transform.
18077
+ * @return {!Object}
18078
+ * @suppress {unusedLocalVariables} f is only used for nested messages
18079
+ */
18080
+ proto.gateway.web.v1.DailyActivity.toObject = function(includeInstance, msg) {
18081
+ var f, obj = {
18082
+ daysList: jspb.Message.toObjectList(msg.getDaysList(),
18083
+ proto.gateway.web.v1.DailyActivityDay.toObject, includeInstance),
18084
+ startDate: jspb.Message.getFieldWithDefault(msg, 2, ""),
18085
+ endDate: jspb.Message.getFieldWithDefault(msg, 3, ""),
18086
+ coverageStart: jspb.Message.getFieldWithDefault(msg, 4, ""),
18087
+ today: jspb.Message.getFieldWithDefault(msg, 5, ""),
18088
+ asOf: (f = msg.getAsOf()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
18089
+ };
18090
+
18091
+ if (includeInstance) {
18092
+ obj.$jspbMessageInstance = msg;
18093
+ }
18094
+ return obj;
18095
+ };
18096
+ }
18097
+
18098
+
18099
+ /**
18100
+ * Deserializes binary data (in protobuf wire format).
18101
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
18102
+ * @return {!proto.gateway.web.v1.DailyActivity}
18103
+ */
18104
+ proto.gateway.web.v1.DailyActivity.deserializeBinary = function(bytes) {
18105
+ var reader = new jspb.BinaryReader(bytes);
18106
+ var msg = new proto.gateway.web.v1.DailyActivity;
18107
+ return proto.gateway.web.v1.DailyActivity.deserializeBinaryFromReader(msg, reader);
18108
+ };
18109
+
18110
+
18111
+ /**
18112
+ * Deserializes binary data (in protobuf wire format) from the
18113
+ * given reader into the given message object.
18114
+ * @param {!proto.gateway.web.v1.DailyActivity} msg The message object to deserialize into.
18115
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
18116
+ * @return {!proto.gateway.web.v1.DailyActivity}
18117
+ */
18118
+ proto.gateway.web.v1.DailyActivity.deserializeBinaryFromReader = function(msg, reader) {
18119
+ while (reader.nextField()) {
18120
+ if (reader.isEndGroup()) {
18121
+ break;
18122
+ }
18123
+ var field = reader.getFieldNumber();
18124
+ switch (field) {
18125
+ case 1:
18126
+ var value = new proto.gateway.web.v1.DailyActivityDay;
18127
+ reader.readMessage(value,proto.gateway.web.v1.DailyActivityDay.deserializeBinaryFromReader);
18128
+ msg.addDays(value);
18129
+ break;
18130
+ case 2:
18131
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
18132
+ msg.setStartDate(value);
18133
+ break;
18134
+ case 3:
18135
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
18136
+ msg.setEndDate(value);
18137
+ break;
18138
+ case 4:
18139
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
18140
+ msg.setCoverageStart(value);
18141
+ break;
18142
+ case 5:
18143
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
18144
+ msg.setToday(value);
18145
+ break;
18146
+ case 6:
18147
+ var value = new google_protobuf_timestamp_pb.Timestamp;
18148
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
18149
+ msg.setAsOf(value);
18150
+ break;
18151
+ default:
18152
+ reader.skipField();
18153
+ break;
18154
+ }
18155
+ }
18156
+ return msg;
18157
+ };
18158
+
18159
+
18160
+ /**
18161
+ * Serializes the message to binary data (in protobuf wire format).
18162
+ * @return {!Uint8Array}
18163
+ */
18164
+ proto.gateway.web.v1.DailyActivity.prototype.serializeBinary = function() {
18165
+ var writer = new jspb.BinaryWriter();
18166
+ proto.gateway.web.v1.DailyActivity.serializeBinaryToWriter(this, writer);
18167
+ return writer.getResultBuffer();
18168
+ };
18169
+
18170
+
18171
+ /**
18172
+ * Serializes the given message to binary data (in protobuf wire
18173
+ * format), writing to the given BinaryWriter.
18174
+ * @param {!proto.gateway.web.v1.DailyActivity} message
18175
+ * @param {!jspb.BinaryWriter} writer
18176
+ * @suppress {unusedLocalVariables} f is only used for nested messages
18177
+ */
18178
+ proto.gateway.web.v1.DailyActivity.serializeBinaryToWriter = function(message, writer) {
18179
+ var f = undefined;
18180
+ f = message.getDaysList();
18181
+ if (f.length > 0) {
18182
+ writer.writeRepeatedMessage(
18183
+ 1,
18184
+ f,
18185
+ proto.gateway.web.v1.DailyActivityDay.serializeBinaryToWriter
18186
+ );
18187
+ }
18188
+ f = message.getStartDate();
18189
+ if (f.length > 0) {
18190
+ writer.writeString(
18191
+ 2,
18192
+ f
18193
+ );
18194
+ }
18195
+ f = message.getEndDate();
18196
+ if (f.length > 0) {
18197
+ writer.writeString(
18198
+ 3,
18199
+ f
18200
+ );
18201
+ }
18202
+ f = message.getCoverageStart();
18203
+ if (f.length > 0) {
18204
+ writer.writeString(
18205
+ 4,
18206
+ f
18207
+ );
18208
+ }
18209
+ f = message.getToday();
18210
+ if (f.length > 0) {
18211
+ writer.writeString(
18212
+ 5,
18213
+ f
18214
+ );
18215
+ }
18216
+ f = message.getAsOf();
18217
+ if (f != null) {
18218
+ writer.writeMessage(
18219
+ 6,
18220
+ f,
18221
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
18222
+ );
18223
+ }
18224
+ };
18225
+
18226
+
18227
+ /**
18228
+ * repeated DailyActivityDay days = 1;
18229
+ * @return {!Array<!proto.gateway.web.v1.DailyActivityDay>}
18230
+ */
18231
+ proto.gateway.web.v1.DailyActivity.prototype.getDaysList = function() {
18232
+ return /** @type{!Array<!proto.gateway.web.v1.DailyActivityDay>} */ (
18233
+ jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.DailyActivityDay, 1));
18234
+ };
18235
+
18236
+
18237
+ /**
18238
+ * @param {!Array<!proto.gateway.web.v1.DailyActivityDay>} value
18239
+ * @return {!proto.gateway.web.v1.DailyActivity} returns this
18240
+ */
18241
+ proto.gateway.web.v1.DailyActivity.prototype.setDaysList = function(value) {
18242
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
18243
+ };
18244
+
18245
+
18246
+ /**
18247
+ * @param {!proto.gateway.web.v1.DailyActivityDay=} opt_value
18248
+ * @param {number=} opt_index
18249
+ * @return {!proto.gateway.web.v1.DailyActivityDay}
18250
+ */
18251
+ proto.gateway.web.v1.DailyActivity.prototype.addDays = function(opt_value, opt_index) {
18252
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.gateway.web.v1.DailyActivityDay, opt_index);
18253
+ };
18254
+
18255
+
18256
+ /**
18257
+ * Clears the list making it empty but non-null.
18258
+ * @return {!proto.gateway.web.v1.DailyActivity} returns this
18259
+ */
18260
+ proto.gateway.web.v1.DailyActivity.prototype.clearDaysList = function() {
18261
+ return this.setDaysList([]);
18262
+ };
18263
+
18264
+
18265
+ /**
18266
+ * optional string start_date = 2;
18267
+ * @return {string}
18268
+ */
18269
+ proto.gateway.web.v1.DailyActivity.prototype.getStartDate = function() {
18270
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
18271
+ };
18272
+
18273
+
18274
+ /**
18275
+ * @param {string} value
18276
+ * @return {!proto.gateway.web.v1.DailyActivity} returns this
18277
+ */
18278
+ proto.gateway.web.v1.DailyActivity.prototype.setStartDate = function(value) {
18279
+ return jspb.Message.setProto3StringField(this, 2, value);
18280
+ };
18281
+
18282
+
18283
+ /**
18284
+ * optional string end_date = 3;
18285
+ * @return {string}
18286
+ */
18287
+ proto.gateway.web.v1.DailyActivity.prototype.getEndDate = function() {
18288
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
18289
+ };
18290
+
18291
+
18292
+ /**
18293
+ * @param {string} value
18294
+ * @return {!proto.gateway.web.v1.DailyActivity} returns this
18295
+ */
18296
+ proto.gateway.web.v1.DailyActivity.prototype.setEndDate = function(value) {
18297
+ return jspb.Message.setProto3StringField(this, 3, value);
18298
+ };
18299
+
18300
+
18301
+ /**
18302
+ * optional string coverage_start = 4;
18303
+ * @return {string}
18304
+ */
18305
+ proto.gateway.web.v1.DailyActivity.prototype.getCoverageStart = function() {
18306
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
18307
+ };
18308
+
18309
+
18310
+ /**
18311
+ * @param {string} value
18312
+ * @return {!proto.gateway.web.v1.DailyActivity} returns this
17721
18313
  */
17722
18314
  proto.gateway.web.v1.DailyActivity.prototype.setCoverageStart = function(value) {
17723
18315
  return jspb.Message.setProto3StringField(this, 4, value);
@@ -17780,6 +18372,13 @@ proto.gateway.web.v1.DailyActivity.prototype.hasAsOf = function() {
17780
18372
 
17781
18373
 
17782
18374
 
18375
+ /**
18376
+ * List of repeated fields within this message type.
18377
+ * @private {!Array<number>}
18378
+ * @const
18379
+ */
18380
+ proto.gateway.web.v1.DailyActivityDay.repeatedFields_ = [4];
18381
+
17783
18382
 
17784
18383
 
17785
18384
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -17813,7 +18412,9 @@ proto.gateway.web.v1.DailyActivityDay.toObject = function(includeInstance, msg)
17813
18412
  var f, obj = {
17814
18413
  day: jspb.Message.getFieldWithDefault(msg, 1, ""),
17815
18414
  measures: (f = msg.getMeasures()) && proto.gateway.web.v1.DailyActivityMeasures.toObject(includeInstance, f),
17816
- provisional: jspb.Message.getBooleanFieldWithDefault(msg, 3, false)
18415
+ provisional: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
18416
+ principalsList: jspb.Message.toObjectList(msg.getPrincipalsList(),
18417
+ proto.gateway.web.v1.DailyActivityPrincipal.toObject, includeInstance)
17817
18418
  };
17818
18419
 
17819
18420
  if (includeInstance) {
@@ -17863,6 +18464,11 @@ proto.gateway.web.v1.DailyActivityDay.deserializeBinaryFromReader = function(msg
17863
18464
  var value = /** @type {boolean} */ (reader.readBool());
17864
18465
  msg.setProvisional(value);
17865
18466
  break;
18467
+ case 4:
18468
+ var value = new proto.gateway.web.v1.DailyActivityPrincipal;
18469
+ reader.readMessage(value,proto.gateway.web.v1.DailyActivityPrincipal.deserializeBinaryFromReader);
18470
+ msg.addPrincipals(value);
18471
+ break;
17866
18472
  default:
17867
18473
  reader.skipField();
17868
18474
  break;
@@ -17914,6 +18520,14 @@ proto.gateway.web.v1.DailyActivityDay.serializeBinaryToWriter = function(message
17914
18520
  f
17915
18521
  );
17916
18522
  }
18523
+ f = message.getPrincipalsList();
18524
+ if (f.length > 0) {
18525
+ writer.writeRepeatedMessage(
18526
+ 4,
18527
+ f,
18528
+ proto.gateway.web.v1.DailyActivityPrincipal.serializeBinaryToWriter
18529
+ );
18530
+ }
17917
18531
  };
17918
18532
 
17919
18533
 
@@ -17990,6 +18604,44 @@ proto.gateway.web.v1.DailyActivityDay.prototype.setProvisional = function(value)
17990
18604
  };
17991
18605
 
17992
18606
 
18607
+ /**
18608
+ * repeated DailyActivityPrincipal principals = 4;
18609
+ * @return {!Array<!proto.gateway.web.v1.DailyActivityPrincipal>}
18610
+ */
18611
+ proto.gateway.web.v1.DailyActivityDay.prototype.getPrincipalsList = function() {
18612
+ return /** @type{!Array<!proto.gateway.web.v1.DailyActivityPrincipal>} */ (
18613
+ jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.DailyActivityPrincipal, 4));
18614
+ };
18615
+
18616
+
18617
+ /**
18618
+ * @param {!Array<!proto.gateway.web.v1.DailyActivityPrincipal>} value
18619
+ * @return {!proto.gateway.web.v1.DailyActivityDay} returns this
18620
+ */
18621
+ proto.gateway.web.v1.DailyActivityDay.prototype.setPrincipalsList = function(value) {
18622
+ return jspb.Message.setRepeatedWrapperField(this, 4, value);
18623
+ };
18624
+
18625
+
18626
+ /**
18627
+ * @param {!proto.gateway.web.v1.DailyActivityPrincipal=} opt_value
18628
+ * @param {number=} opt_index
18629
+ * @return {!proto.gateway.web.v1.DailyActivityPrincipal}
18630
+ */
18631
+ proto.gateway.web.v1.DailyActivityDay.prototype.addPrincipals = function(opt_value, opt_index) {
18632
+ return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.gateway.web.v1.DailyActivityPrincipal, opt_index);
18633
+ };
18634
+
18635
+
18636
+ /**
18637
+ * Clears the list making it empty but non-null.
18638
+ * @return {!proto.gateway.web.v1.DailyActivityDay} returns this
18639
+ */
18640
+ proto.gateway.web.v1.DailyActivityDay.prototype.clearPrincipalsList = function() {
18641
+ return this.setPrincipalsList([]);
18642
+ };
18643
+
18644
+
17993
18645
 
17994
18646
 
17995
18647
 
@@ -18040,7 +18692,8 @@ subscriptionFacilityInputTokens: jspb.Message.getFieldWithDefault(msg, 15, 0),
18040
18692
  subscriptionFacilityOutputTokens: jspb.Message.getFieldWithDefault(msg, 16, 0),
18041
18693
  subscriptionFacilityCacheReadTokens: jspb.Message.getFieldWithDefault(msg, 17, 0),
18042
18694
  subscriptionFacilityCacheWriteTokens: jspb.Message.getFieldWithDefault(msg, 18, 0),
18043
- subscriptionFacilityUsd: jspb.Message.getFloatingPointFieldWithDefault(msg, 19, 0.0)
18695
+ subscriptionFacilityUsd: jspb.Message.getFloatingPointFieldWithDefault(msg, 19, 0.0),
18696
+ sessions: jspb.Message.getFieldWithDefault(msg, 20, 0)
18044
18697
  };
18045
18698
 
18046
18699
  if (includeInstance) {
@@ -18153,6 +18806,10 @@ proto.gateway.web.v1.DailyActivityMeasures.deserializeBinaryFromReader = functio
18153
18806
  var value = /** @type {number} */ (reader.readDouble());
18154
18807
  msg.setSubscriptionFacilityUsd(value);
18155
18808
  break;
18809
+ case 20:
18810
+ var value = /** @type {number} */ (reader.readUint64());
18811
+ msg.setSessions(value);
18812
+ break;
18156
18813
  default:
18157
18814
  reader.skipField();
18158
18815
  break;
@@ -18315,6 +18972,13 @@ proto.gateway.web.v1.DailyActivityMeasures.serializeBinaryToWriter = function(me
18315
18972
  f
18316
18973
  );
18317
18974
  }
18975
+ f = message.getSessions();
18976
+ if (f !== 0) {
18977
+ writer.writeUint64(
18978
+ 20,
18979
+ f
18980
+ );
18981
+ }
18318
18982
  };
18319
18983
 
18320
18984
 
@@ -18660,6 +19324,24 @@ proto.gateway.web.v1.DailyActivityMeasures.prototype.setSubscriptionFacilityUsd
18660
19324
  };
18661
19325
 
18662
19326
 
19327
+ /**
19328
+ * optional uint64 sessions = 20;
19329
+ * @return {number}
19330
+ */
19331
+ proto.gateway.web.v1.DailyActivityMeasures.prototype.getSessions = function() {
19332
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 20, 0));
19333
+ };
19334
+
19335
+
19336
+ /**
19337
+ * @param {number} value
19338
+ * @return {!proto.gateway.web.v1.DailyActivityMeasures} returns this
19339
+ */
19340
+ proto.gateway.web.v1.DailyActivityMeasures.prototype.setSessions = function(value) {
19341
+ return jspb.Message.setProto3IntField(this, 20, value);
19342
+ };
19343
+
19344
+
18663
19345
 
18664
19346
 
18665
19347