@miradorlabs/web-grpc 4.27.0 → 4.28.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.
@@ -55,13 +55,9 @@ goog.exportSymbol('proto.gateway.web.v1.AILabelValue', null, global);
55
55
  goog.exportSymbol('proto.gateway.web.v1.AIModelPrice', null, global);
56
56
  goog.exportSymbol('proto.gateway.web.v1.AIModelPriceFilter', null, global);
57
57
  goog.exportSymbol('proto.gateway.web.v1.AIProjectInsight', null, global);
58
- goog.exportSymbol('proto.gateway.web.v1.AIProjectInsightAvailability', null, global);
58
+ goog.exportSymbol('proto.gateway.web.v1.AIProjectInsightCard', null, global);
59
59
  goog.exportSymbol('proto.gateway.web.v1.AIProjectInsightCitation', null, global);
60
- goog.exportSymbol('proto.gateway.web.v1.AIProjectInsightCoverage', null, global);
61
- goog.exportSymbol('proto.gateway.web.v1.AIProjectInsightCoverageStatus', null, global);
62
60
  goog.exportSymbol('proto.gateway.web.v1.AIProjectInsightKind', null, global);
63
- goog.exportSymbol('proto.gateway.web.v1.AIProjectInsightRun', null, global);
64
- goog.exportSymbol('proto.gateway.web.v1.AIProjectInsightStopReason', null, global);
65
61
  goog.exportSymbol('proto.gateway.web.v1.AIPromptLabelSummary', null, global);
66
62
  goog.exportSymbol('proto.gateway.web.v1.AIPromptLabelWeek', null, global);
67
63
  goog.exportSymbol('proto.gateway.web.v1.AIPromptLabels', null, global);
@@ -163,8 +159,8 @@ goog.exportSymbol('proto.gateway.web.v1.ListModelReasoningRequest', null, global
163
159
  goog.exportSymbol('proto.gateway.web.v1.ListModelReasoningResponse', null, global);
164
160
  goog.exportSymbol('proto.gateway.web.v1.ListModelReasoningTrendRequest', null, global);
165
161
  goog.exportSymbol('proto.gateway.web.v1.ListModelReasoningTrendResponse', null, global);
166
- goog.exportSymbol('proto.gateway.web.v1.ListProjectInsightsRequest', null, global);
167
- goog.exportSymbol('proto.gateway.web.v1.ListProjectInsightsResponse', null, global);
162
+ goog.exportSymbol('proto.gateway.web.v1.ListProjectInsightCardsRequest', null, global);
163
+ goog.exportSymbol('proto.gateway.web.v1.ListProjectInsightCardsResponse', null, global);
168
164
  goog.exportSymbol('proto.gateway.web.v1.ListRelayHeartbeatsRequest', null, global);
169
165
  goog.exportSymbol('proto.gateway.web.v1.ListRelayHeartbeatsResponse', null, global);
170
166
  goog.exportSymbol('proto.gateway.web.v1.ListSessionEventsRequest', null, global);
@@ -4125,16 +4121,16 @@ if (goog.DEBUG && !COMPILED) {
4125
4121
  * @extends {jspb.Message}
4126
4122
  * @constructor
4127
4123
  */
4128
- proto.gateway.web.v1.ListProjectInsightsRequest = function(opt_data) {
4124
+ proto.gateway.web.v1.ListProjectInsightCardsRequest = function(opt_data) {
4129
4125
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
4130
4126
  };
4131
- goog.inherits(proto.gateway.web.v1.ListProjectInsightsRequest, jspb.Message);
4127
+ goog.inherits(proto.gateway.web.v1.ListProjectInsightCardsRequest, jspb.Message);
4132
4128
  if (goog.DEBUG && !COMPILED) {
4133
4129
  /**
4134
4130
  * @public
4135
4131
  * @override
4136
4132
  */
4137
- proto.gateway.web.v1.ListProjectInsightsRequest.displayName = 'proto.gateway.web.v1.ListProjectInsightsRequest';
4133
+ proto.gateway.web.v1.ListProjectInsightCardsRequest.displayName = 'proto.gateway.web.v1.ListProjectInsightCardsRequest';
4138
4134
  }
4139
4135
  /**
4140
4136
  * Generated by JsPbCodeGenerator.
@@ -4146,16 +4142,16 @@ if (goog.DEBUG && !COMPILED) {
4146
4142
  * @extends {jspb.Message}
4147
4143
  * @constructor
4148
4144
  */
4149
- proto.gateway.web.v1.ListProjectInsightsResponse = function(opt_data) {
4150
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
4145
+ proto.gateway.web.v1.ListProjectInsightCardsResponse = function(opt_data) {
4146
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.ListProjectInsightCardsResponse.repeatedFields_, null);
4151
4147
  };
4152
- goog.inherits(proto.gateway.web.v1.ListProjectInsightsResponse, jspb.Message);
4148
+ goog.inherits(proto.gateway.web.v1.ListProjectInsightCardsResponse, jspb.Message);
4153
4149
  if (goog.DEBUG && !COMPILED) {
4154
4150
  /**
4155
4151
  * @public
4156
4152
  * @override
4157
4153
  */
4158
- proto.gateway.web.v1.ListProjectInsightsResponse.displayName = 'proto.gateway.web.v1.ListProjectInsightsResponse';
4154
+ proto.gateway.web.v1.ListProjectInsightCardsResponse.displayName = 'proto.gateway.web.v1.ListProjectInsightCardsResponse';
4159
4155
  }
4160
4156
  /**
4161
4157
  * Generated by JsPbCodeGenerator.
@@ -4167,37 +4163,16 @@ if (goog.DEBUG && !COMPILED) {
4167
4163
  * @extends {jspb.Message}
4168
4164
  * @constructor
4169
4165
  */
4170
- proto.gateway.web.v1.AIProjectInsightRun = function(opt_data) {
4171
- jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.AIProjectInsightRun.repeatedFields_, null);
4172
- };
4173
- goog.inherits(proto.gateway.web.v1.AIProjectInsightRun, jspb.Message);
4174
- if (goog.DEBUG && !COMPILED) {
4175
- /**
4176
- * @public
4177
- * @override
4178
- */
4179
- proto.gateway.web.v1.AIProjectInsightRun.displayName = 'proto.gateway.web.v1.AIProjectInsightRun';
4180
- }
4181
- /**
4182
- * Generated by JsPbCodeGenerator.
4183
- * @param {Array=} opt_data Optional initial data array, typically from a
4184
- * server response, or constructed directly in Javascript. The array is used
4185
- * in place and becomes part of the constructed object. It is not cloned.
4186
- * If no data is provided, the constructed object will be empty, but still
4187
- * valid.
4188
- * @extends {jspb.Message}
4189
- * @constructor
4190
- */
4191
- proto.gateway.web.v1.AIProjectInsightCoverage = function(opt_data) {
4166
+ proto.gateway.web.v1.AIProjectInsightCard = function(opt_data) {
4192
4167
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
4193
4168
  };
4194
- goog.inherits(proto.gateway.web.v1.AIProjectInsightCoverage, jspb.Message);
4169
+ goog.inherits(proto.gateway.web.v1.AIProjectInsightCard, jspb.Message);
4195
4170
  if (goog.DEBUG && !COMPILED) {
4196
4171
  /**
4197
4172
  * @public
4198
4173
  * @override
4199
4174
  */
4200
- proto.gateway.web.v1.AIProjectInsightCoverage.displayName = 'proto.gateway.web.v1.AIProjectInsightCoverage';
4175
+ proto.gateway.web.v1.AIProjectInsightCard.displayName = 'proto.gateway.web.v1.AIProjectInsightCard';
4201
4176
  }
4202
4177
  /**
4203
4178
  * Generated by JsPbCodeGenerator.
@@ -60374,8 +60349,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
60374
60349
  * http://goto/soy-param-migration
60375
60350
  * @return {!Object}
60376
60351
  */
60377
- proto.gateway.web.v1.ListProjectInsightsRequest.prototype.toObject = function(opt_includeInstance) {
60378
- return proto.gateway.web.v1.ListProjectInsightsRequest.toObject(opt_includeInstance, this);
60352
+ proto.gateway.web.v1.ListProjectInsightCardsRequest.prototype.toObject = function(opt_includeInstance) {
60353
+ return proto.gateway.web.v1.ListProjectInsightCardsRequest.toObject(opt_includeInstance, this);
60379
60354
  };
60380
60355
 
60381
60356
 
@@ -60384,15 +60359,16 @@ proto.gateway.web.v1.ListProjectInsightsRequest.prototype.toObject = function(op
60384
60359
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
60385
60360
  * the JSPB instance for transitional soy proto support:
60386
60361
  * http://goto/soy-param-migration
60387
- * @param {!proto.gateway.web.v1.ListProjectInsightsRequest} msg The msg instance to transform.
60362
+ * @param {!proto.gateway.web.v1.ListProjectInsightCardsRequest} msg The msg instance to transform.
60388
60363
  * @return {!Object}
60389
60364
  * @suppress {unusedLocalVariables} f is only used for nested messages
60390
60365
  */
60391
- proto.gateway.web.v1.ListProjectInsightsRequest.toObject = function(includeInstance, msg) {
60366
+ proto.gateway.web.v1.ListProjectInsightCardsRequest.toObject = function(includeInstance, msg) {
60392
60367
  var f, obj = {
60393
60368
  organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""),
60394
60369
  projectId: jspb.Message.getFieldWithDefault(msg, 2, ""),
60395
- limit: jspb.Message.getFieldWithDefault(msg, 3, 0)
60370
+ pageSize: jspb.Message.getFieldWithDefault(msg, 3, 0),
60371
+ pageToken: jspb.Message.getFieldWithDefault(msg, 4, "")
60396
60372
  };
60397
60373
 
60398
60374
  if (includeInstance) {
@@ -60406,23 +60382,23 @@ limit: jspb.Message.getFieldWithDefault(msg, 3, 0)
60406
60382
  /**
60407
60383
  * Deserializes binary data (in protobuf wire format).
60408
60384
  * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
60409
- * @return {!proto.gateway.web.v1.ListProjectInsightsRequest}
60385
+ * @return {!proto.gateway.web.v1.ListProjectInsightCardsRequest}
60410
60386
  */
60411
- proto.gateway.web.v1.ListProjectInsightsRequest.deserializeBinary = function(bytes) {
60387
+ proto.gateway.web.v1.ListProjectInsightCardsRequest.deserializeBinary = function(bytes) {
60412
60388
  var reader = new jspb.BinaryReader(bytes);
60413
- var msg = new proto.gateway.web.v1.ListProjectInsightsRequest;
60414
- return proto.gateway.web.v1.ListProjectInsightsRequest.deserializeBinaryFromReader(msg, reader);
60389
+ var msg = new proto.gateway.web.v1.ListProjectInsightCardsRequest;
60390
+ return proto.gateway.web.v1.ListProjectInsightCardsRequest.deserializeBinaryFromReader(msg, reader);
60415
60391
  };
60416
60392
 
60417
60393
 
60418
60394
  /**
60419
60395
  * Deserializes binary data (in protobuf wire format) from the
60420
60396
  * given reader into the given message object.
60421
- * @param {!proto.gateway.web.v1.ListProjectInsightsRequest} msg The message object to deserialize into.
60397
+ * @param {!proto.gateway.web.v1.ListProjectInsightCardsRequest} msg The message object to deserialize into.
60422
60398
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
60423
- * @return {!proto.gateway.web.v1.ListProjectInsightsRequest}
60399
+ * @return {!proto.gateway.web.v1.ListProjectInsightCardsRequest}
60424
60400
  */
60425
- proto.gateway.web.v1.ListProjectInsightsRequest.deserializeBinaryFromReader = function(msg, reader) {
60401
+ proto.gateway.web.v1.ListProjectInsightCardsRequest.deserializeBinaryFromReader = function(msg, reader) {
60426
60402
  while (reader.nextField()) {
60427
60403
  if (reader.isEndGroup()) {
60428
60404
  break;
@@ -60439,7 +60415,11 @@ proto.gateway.web.v1.ListProjectInsightsRequest.deserializeBinaryFromReader = fu
60439
60415
  break;
60440
60416
  case 3:
60441
60417
  var value = /** @type {number} */ (reader.readInt32());
60442
- msg.setLimit(value);
60418
+ msg.setPageSize(value);
60419
+ break;
60420
+ case 4:
60421
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
60422
+ msg.setPageToken(value);
60443
60423
  break;
60444
60424
  default:
60445
60425
  reader.skipField();
@@ -60454,9 +60434,9 @@ proto.gateway.web.v1.ListProjectInsightsRequest.deserializeBinaryFromReader = fu
60454
60434
  * Serializes the message to binary data (in protobuf wire format).
60455
60435
  * @return {!Uint8Array}
60456
60436
  */
60457
- proto.gateway.web.v1.ListProjectInsightsRequest.prototype.serializeBinary = function() {
60437
+ proto.gateway.web.v1.ListProjectInsightCardsRequest.prototype.serializeBinary = function() {
60458
60438
  var writer = new jspb.BinaryWriter();
60459
- proto.gateway.web.v1.ListProjectInsightsRequest.serializeBinaryToWriter(this, writer);
60439
+ proto.gateway.web.v1.ListProjectInsightCardsRequest.serializeBinaryToWriter(this, writer);
60460
60440
  return writer.getResultBuffer();
60461
60441
  };
60462
60442
 
@@ -60464,11 +60444,11 @@ proto.gateway.web.v1.ListProjectInsightsRequest.prototype.serializeBinary = func
60464
60444
  /**
60465
60445
  * Serializes the given message to binary data (in protobuf wire
60466
60446
  * format), writing to the given BinaryWriter.
60467
- * @param {!proto.gateway.web.v1.ListProjectInsightsRequest} message
60447
+ * @param {!proto.gateway.web.v1.ListProjectInsightCardsRequest} message
60468
60448
  * @param {!jspb.BinaryWriter} writer
60469
60449
  * @suppress {unusedLocalVariables} f is only used for nested messages
60470
60450
  */
60471
- proto.gateway.web.v1.ListProjectInsightsRequest.serializeBinaryToWriter = function(message, writer) {
60451
+ proto.gateway.web.v1.ListProjectInsightCardsRequest.serializeBinaryToWriter = function(message, writer) {
60472
60452
  var f = undefined;
60473
60453
  f = message.getOrganizationId();
60474
60454
  if (f.length > 0) {
@@ -60484,13 +60464,20 @@ proto.gateway.web.v1.ListProjectInsightsRequest.serializeBinaryToWriter = functi
60484
60464
  f
60485
60465
  );
60486
60466
  }
60487
- f = message.getLimit();
60467
+ f = message.getPageSize();
60488
60468
  if (f !== 0) {
60489
60469
  writer.writeInt32(
60490
60470
  3,
60491
60471
  f
60492
60472
  );
60493
60473
  }
60474
+ f = message.getPageToken();
60475
+ if (f.length > 0) {
60476
+ writer.writeString(
60477
+ 4,
60478
+ f
60479
+ );
60480
+ }
60494
60481
  };
60495
60482
 
60496
60483
 
@@ -60498,16 +60485,16 @@ proto.gateway.web.v1.ListProjectInsightsRequest.serializeBinaryToWriter = functi
60498
60485
  * optional string organization_id = 1;
60499
60486
  * @return {string}
60500
60487
  */
60501
- proto.gateway.web.v1.ListProjectInsightsRequest.prototype.getOrganizationId = function() {
60488
+ proto.gateway.web.v1.ListProjectInsightCardsRequest.prototype.getOrganizationId = function() {
60502
60489
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
60503
60490
  };
60504
60491
 
60505
60492
 
60506
60493
  /**
60507
60494
  * @param {string} value
60508
- * @return {!proto.gateway.web.v1.ListProjectInsightsRequest} returns this
60495
+ * @return {!proto.gateway.web.v1.ListProjectInsightCardsRequest} returns this
60509
60496
  */
60510
- proto.gateway.web.v1.ListProjectInsightsRequest.prototype.setOrganizationId = function(value) {
60497
+ proto.gateway.web.v1.ListProjectInsightCardsRequest.prototype.setOrganizationId = function(value) {
60511
60498
  return jspb.Message.setProto3StringField(this, 1, value);
60512
60499
  };
60513
60500
 
@@ -60516,38 +60503,63 @@ proto.gateway.web.v1.ListProjectInsightsRequest.prototype.setOrganizationId = fu
60516
60503
  * optional string project_id = 2;
60517
60504
  * @return {string}
60518
60505
  */
60519
- proto.gateway.web.v1.ListProjectInsightsRequest.prototype.getProjectId = function() {
60506
+ proto.gateway.web.v1.ListProjectInsightCardsRequest.prototype.getProjectId = function() {
60520
60507
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
60521
60508
  };
60522
60509
 
60523
60510
 
60524
60511
  /**
60525
60512
  * @param {string} value
60526
- * @return {!proto.gateway.web.v1.ListProjectInsightsRequest} returns this
60513
+ * @return {!proto.gateway.web.v1.ListProjectInsightCardsRequest} returns this
60527
60514
  */
60528
- proto.gateway.web.v1.ListProjectInsightsRequest.prototype.setProjectId = function(value) {
60515
+ proto.gateway.web.v1.ListProjectInsightCardsRequest.prototype.setProjectId = function(value) {
60529
60516
  return jspb.Message.setProto3StringField(this, 2, value);
60530
60517
  };
60531
60518
 
60532
60519
 
60533
60520
  /**
60534
- * optional int32 limit = 3;
60521
+ * optional int32 page_size = 3;
60535
60522
  * @return {number}
60536
60523
  */
60537
- proto.gateway.web.v1.ListProjectInsightsRequest.prototype.getLimit = function() {
60524
+ proto.gateway.web.v1.ListProjectInsightCardsRequest.prototype.getPageSize = function() {
60538
60525
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
60539
60526
  };
60540
60527
 
60541
60528
 
60542
60529
  /**
60543
60530
  * @param {number} value
60544
- * @return {!proto.gateway.web.v1.ListProjectInsightsRequest} returns this
60531
+ * @return {!proto.gateway.web.v1.ListProjectInsightCardsRequest} returns this
60545
60532
  */
60546
- proto.gateway.web.v1.ListProjectInsightsRequest.prototype.setLimit = function(value) {
60533
+ proto.gateway.web.v1.ListProjectInsightCardsRequest.prototype.setPageSize = function(value) {
60547
60534
  return jspb.Message.setProto3IntField(this, 3, value);
60548
60535
  };
60549
60536
 
60550
60537
 
60538
+ /**
60539
+ * optional string page_token = 4;
60540
+ * @return {string}
60541
+ */
60542
+ proto.gateway.web.v1.ListProjectInsightCardsRequest.prototype.getPageToken = function() {
60543
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
60544
+ };
60545
+
60546
+
60547
+ /**
60548
+ * @param {string} value
60549
+ * @return {!proto.gateway.web.v1.ListProjectInsightCardsRequest} returns this
60550
+ */
60551
+ proto.gateway.web.v1.ListProjectInsightCardsRequest.prototype.setPageToken = function(value) {
60552
+ return jspb.Message.setProto3StringField(this, 4, value);
60553
+ };
60554
+
60555
+
60556
+
60557
+ /**
60558
+ * List of repeated fields within this message type.
60559
+ * @private {!Array<number>}
60560
+ * @const
60561
+ */
60562
+ proto.gateway.web.v1.ListProjectInsightCardsResponse.repeatedFields_ = [2];
60551
60563
 
60552
60564
 
60553
60565
 
@@ -60564,8 +60576,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
60564
60576
  * http://goto/soy-param-migration
60565
60577
  * @return {!Object}
60566
60578
  */
60567
- proto.gateway.web.v1.ListProjectInsightsResponse.prototype.toObject = function(opt_includeInstance) {
60568
- return proto.gateway.web.v1.ListProjectInsightsResponse.toObject(opt_includeInstance, this);
60579
+ proto.gateway.web.v1.ListProjectInsightCardsResponse.prototype.toObject = function(opt_includeInstance) {
60580
+ return proto.gateway.web.v1.ListProjectInsightCardsResponse.toObject(opt_includeInstance, this);
60569
60581
  };
60570
60582
 
60571
60583
 
@@ -60574,16 +60586,16 @@ proto.gateway.web.v1.ListProjectInsightsResponse.prototype.toObject = function(o
60574
60586
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
60575
60587
  * the JSPB instance for transitional soy proto support:
60576
60588
  * http://goto/soy-param-migration
60577
- * @param {!proto.gateway.web.v1.ListProjectInsightsResponse} msg The msg instance to transform.
60589
+ * @param {!proto.gateway.web.v1.ListProjectInsightCardsResponse} msg The msg instance to transform.
60578
60590
  * @return {!Object}
60579
60591
  * @suppress {unusedLocalVariables} f is only used for nested messages
60580
60592
  */
60581
- proto.gateway.web.v1.ListProjectInsightsResponse.toObject = function(includeInstance, msg) {
60593
+ proto.gateway.web.v1.ListProjectInsightCardsResponse.toObject = function(includeInstance, msg) {
60582
60594
  var f, obj = {
60583
60595
  status: (f = msg.getStatus()) && proto_gateway_common_v1_status_pb.ResponseStatus.toObject(includeInstance, f),
60584
- availability: jspb.Message.getFieldWithDefault(msg, 2, 0),
60585
- current: (f = msg.getCurrent()) && proto.gateway.web.v1.AIProjectInsightRun.toObject(includeInstance, f),
60586
- previous: (f = msg.getPrevious()) && proto.gateway.web.v1.AIProjectInsightRun.toObject(includeInstance, f)
60596
+ cardsList: jspb.Message.toObjectList(msg.getCardsList(),
60597
+ proto.gateway.web.v1.AIProjectInsightCard.toObject, includeInstance),
60598
+ nextPageToken: jspb.Message.getFieldWithDefault(msg, 3, "")
60587
60599
  };
60588
60600
 
60589
60601
  if (includeInstance) {
@@ -60597,23 +60609,23 @@ previous: (f = msg.getPrevious()) && proto.gateway.web.v1.AIProjectInsightRun.to
60597
60609
  /**
60598
60610
  * Deserializes binary data (in protobuf wire format).
60599
60611
  * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
60600
- * @return {!proto.gateway.web.v1.ListProjectInsightsResponse}
60612
+ * @return {!proto.gateway.web.v1.ListProjectInsightCardsResponse}
60601
60613
  */
60602
- proto.gateway.web.v1.ListProjectInsightsResponse.deserializeBinary = function(bytes) {
60614
+ proto.gateway.web.v1.ListProjectInsightCardsResponse.deserializeBinary = function(bytes) {
60603
60615
  var reader = new jspb.BinaryReader(bytes);
60604
- var msg = new proto.gateway.web.v1.ListProjectInsightsResponse;
60605
- return proto.gateway.web.v1.ListProjectInsightsResponse.deserializeBinaryFromReader(msg, reader);
60616
+ var msg = new proto.gateway.web.v1.ListProjectInsightCardsResponse;
60617
+ return proto.gateway.web.v1.ListProjectInsightCardsResponse.deserializeBinaryFromReader(msg, reader);
60606
60618
  };
60607
60619
 
60608
60620
 
60609
60621
  /**
60610
60622
  * Deserializes binary data (in protobuf wire format) from the
60611
60623
  * given reader into the given message object.
60612
- * @param {!proto.gateway.web.v1.ListProjectInsightsResponse} msg The message object to deserialize into.
60624
+ * @param {!proto.gateway.web.v1.ListProjectInsightCardsResponse} msg The message object to deserialize into.
60613
60625
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
60614
- * @return {!proto.gateway.web.v1.ListProjectInsightsResponse}
60626
+ * @return {!proto.gateway.web.v1.ListProjectInsightCardsResponse}
60615
60627
  */
60616
- proto.gateway.web.v1.ListProjectInsightsResponse.deserializeBinaryFromReader = function(msg, reader) {
60628
+ proto.gateway.web.v1.ListProjectInsightCardsResponse.deserializeBinaryFromReader = function(msg, reader) {
60617
60629
  while (reader.nextField()) {
60618
60630
  if (reader.isEndGroup()) {
60619
60631
  break;
@@ -60626,18 +60638,261 @@ proto.gateway.web.v1.ListProjectInsightsResponse.deserializeBinaryFromReader = f
60626
60638
  msg.setStatus(value);
60627
60639
  break;
60628
60640
  case 2:
60629
- var value = /** @type {!proto.gateway.web.v1.AIProjectInsightAvailability} */ (reader.readEnum());
60630
- msg.setAvailability(value);
60641
+ var value = new proto.gateway.web.v1.AIProjectInsightCard;
60642
+ reader.readMessage(value,proto.gateway.web.v1.AIProjectInsightCard.deserializeBinaryFromReader);
60643
+ msg.addCards(value);
60631
60644
  break;
60632
60645
  case 3:
60633
- var value = new proto.gateway.web.v1.AIProjectInsightRun;
60634
- reader.readMessage(value,proto.gateway.web.v1.AIProjectInsightRun.deserializeBinaryFromReader);
60635
- msg.setCurrent(value);
60646
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
60647
+ msg.setNextPageToken(value);
60648
+ break;
60649
+ default:
60650
+ reader.skipField();
60651
+ break;
60652
+ }
60653
+ }
60654
+ return msg;
60655
+ };
60656
+
60657
+
60658
+ /**
60659
+ * Serializes the message to binary data (in protobuf wire format).
60660
+ * @return {!Uint8Array}
60661
+ */
60662
+ proto.gateway.web.v1.ListProjectInsightCardsResponse.prototype.serializeBinary = function() {
60663
+ var writer = new jspb.BinaryWriter();
60664
+ proto.gateway.web.v1.ListProjectInsightCardsResponse.serializeBinaryToWriter(this, writer);
60665
+ return writer.getResultBuffer();
60666
+ };
60667
+
60668
+
60669
+ /**
60670
+ * Serializes the given message to binary data (in protobuf wire
60671
+ * format), writing to the given BinaryWriter.
60672
+ * @param {!proto.gateway.web.v1.ListProjectInsightCardsResponse} message
60673
+ * @param {!jspb.BinaryWriter} writer
60674
+ * @suppress {unusedLocalVariables} f is only used for nested messages
60675
+ */
60676
+ proto.gateway.web.v1.ListProjectInsightCardsResponse.serializeBinaryToWriter = function(message, writer) {
60677
+ var f = undefined;
60678
+ f = message.getStatus();
60679
+ if (f != null) {
60680
+ writer.writeMessage(
60681
+ 1,
60682
+ f,
60683
+ proto_gateway_common_v1_status_pb.ResponseStatus.serializeBinaryToWriter
60684
+ );
60685
+ }
60686
+ f = message.getCardsList();
60687
+ if (f.length > 0) {
60688
+ writer.writeRepeatedMessage(
60689
+ 2,
60690
+ f,
60691
+ proto.gateway.web.v1.AIProjectInsightCard.serializeBinaryToWriter
60692
+ );
60693
+ }
60694
+ f = message.getNextPageToken();
60695
+ if (f.length > 0) {
60696
+ writer.writeString(
60697
+ 3,
60698
+ f
60699
+ );
60700
+ }
60701
+ };
60702
+
60703
+
60704
+ /**
60705
+ * optional gateway.common.v1.ResponseStatus status = 1;
60706
+ * @return {?proto.gateway.common.v1.ResponseStatus}
60707
+ */
60708
+ proto.gateway.web.v1.ListProjectInsightCardsResponse.prototype.getStatus = function() {
60709
+ return /** @type{?proto.gateway.common.v1.ResponseStatus} */ (
60710
+ jspb.Message.getWrapperField(this, proto_gateway_common_v1_status_pb.ResponseStatus, 1));
60711
+ };
60712
+
60713
+
60714
+ /**
60715
+ * @param {?proto.gateway.common.v1.ResponseStatus|undefined} value
60716
+ * @return {!proto.gateway.web.v1.ListProjectInsightCardsResponse} returns this
60717
+ */
60718
+ proto.gateway.web.v1.ListProjectInsightCardsResponse.prototype.setStatus = function(value) {
60719
+ return jspb.Message.setWrapperField(this, 1, value);
60720
+ };
60721
+
60722
+
60723
+ /**
60724
+ * Clears the message field making it undefined.
60725
+ * @return {!proto.gateway.web.v1.ListProjectInsightCardsResponse} returns this
60726
+ */
60727
+ proto.gateway.web.v1.ListProjectInsightCardsResponse.prototype.clearStatus = function() {
60728
+ return this.setStatus(undefined);
60729
+ };
60730
+
60731
+
60732
+ /**
60733
+ * Returns whether this field is set.
60734
+ * @return {boolean}
60735
+ */
60736
+ proto.gateway.web.v1.ListProjectInsightCardsResponse.prototype.hasStatus = function() {
60737
+ return jspb.Message.getField(this, 1) != null;
60738
+ };
60739
+
60740
+
60741
+ /**
60742
+ * repeated AIProjectInsightCard cards = 2;
60743
+ * @return {!Array<!proto.gateway.web.v1.AIProjectInsightCard>}
60744
+ */
60745
+ proto.gateway.web.v1.ListProjectInsightCardsResponse.prototype.getCardsList = function() {
60746
+ return /** @type{!Array<!proto.gateway.web.v1.AIProjectInsightCard>} */ (
60747
+ jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.AIProjectInsightCard, 2));
60748
+ };
60749
+
60750
+
60751
+ /**
60752
+ * @param {!Array<!proto.gateway.web.v1.AIProjectInsightCard>} value
60753
+ * @return {!proto.gateway.web.v1.ListProjectInsightCardsResponse} returns this
60754
+ */
60755
+ proto.gateway.web.v1.ListProjectInsightCardsResponse.prototype.setCardsList = function(value) {
60756
+ return jspb.Message.setRepeatedWrapperField(this, 2, value);
60757
+ };
60758
+
60759
+
60760
+ /**
60761
+ * @param {!proto.gateway.web.v1.AIProjectInsightCard=} opt_value
60762
+ * @param {number=} opt_index
60763
+ * @return {!proto.gateway.web.v1.AIProjectInsightCard}
60764
+ */
60765
+ proto.gateway.web.v1.ListProjectInsightCardsResponse.prototype.addCards = function(opt_value, opt_index) {
60766
+ return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.gateway.web.v1.AIProjectInsightCard, opt_index);
60767
+ };
60768
+
60769
+
60770
+ /**
60771
+ * Clears the list making it empty but non-null.
60772
+ * @return {!proto.gateway.web.v1.ListProjectInsightCardsResponse} returns this
60773
+ */
60774
+ proto.gateway.web.v1.ListProjectInsightCardsResponse.prototype.clearCardsList = function() {
60775
+ return this.setCardsList([]);
60776
+ };
60777
+
60778
+
60779
+ /**
60780
+ * optional string next_page_token = 3;
60781
+ * @return {string}
60782
+ */
60783
+ proto.gateway.web.v1.ListProjectInsightCardsResponse.prototype.getNextPageToken = function() {
60784
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
60785
+ };
60786
+
60787
+
60788
+ /**
60789
+ * @param {string} value
60790
+ * @return {!proto.gateway.web.v1.ListProjectInsightCardsResponse} returns this
60791
+ */
60792
+ proto.gateway.web.v1.ListProjectInsightCardsResponse.prototype.setNextPageToken = function(value) {
60793
+ return jspb.Message.setProto3StringField(this, 3, value);
60794
+ };
60795
+
60796
+
60797
+
60798
+
60799
+
60800
+ if (jspb.Message.GENERATE_TO_OBJECT) {
60801
+ /**
60802
+ * Creates an object representation of this proto.
60803
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
60804
+ * Optional fields that are not set will be set to undefined.
60805
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
60806
+ * For the list of reserved names please see:
60807
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
60808
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
60809
+ * JSPB instance for transitional soy proto support:
60810
+ * http://goto/soy-param-migration
60811
+ * @return {!Object}
60812
+ */
60813
+ proto.gateway.web.v1.AIProjectInsightCard.prototype.toObject = function(opt_includeInstance) {
60814
+ return proto.gateway.web.v1.AIProjectInsightCard.toObject(opt_includeInstance, this);
60815
+ };
60816
+
60817
+
60818
+ /**
60819
+ * Static version of the {@see toObject} method.
60820
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
60821
+ * the JSPB instance for transitional soy proto support:
60822
+ * http://goto/soy-param-migration
60823
+ * @param {!proto.gateway.web.v1.AIProjectInsightCard} msg The msg instance to transform.
60824
+ * @return {!Object}
60825
+ * @suppress {unusedLocalVariables} f is only used for nested messages
60826
+ */
60827
+ proto.gateway.web.v1.AIProjectInsightCard.toObject = function(includeInstance, msg) {
60828
+ var f, obj = {
60829
+ insight: (f = msg.getInsight()) && proto.gateway.web.v1.AIProjectInsight.toObject(includeInstance, f),
60830
+ runId: jspb.Message.getFieldWithDefault(msg, 2, ""),
60831
+ localDate: jspb.Message.getFieldWithDefault(msg, 3, ""),
60832
+ timeZone: jspb.Message.getFieldWithDefault(msg, 4, ""),
60833
+ windowClosed: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
60834
+ analyzedAt: (f = msg.getAnalyzedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
60835
+ };
60836
+
60837
+ if (includeInstance) {
60838
+ obj.$jspbMessageInstance = msg;
60839
+ }
60840
+ return obj;
60841
+ };
60842
+ }
60843
+
60844
+
60845
+ /**
60846
+ * Deserializes binary data (in protobuf wire format).
60847
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
60848
+ * @return {!proto.gateway.web.v1.AIProjectInsightCard}
60849
+ */
60850
+ proto.gateway.web.v1.AIProjectInsightCard.deserializeBinary = function(bytes) {
60851
+ var reader = new jspb.BinaryReader(bytes);
60852
+ var msg = new proto.gateway.web.v1.AIProjectInsightCard;
60853
+ return proto.gateway.web.v1.AIProjectInsightCard.deserializeBinaryFromReader(msg, reader);
60854
+ };
60855
+
60856
+
60857
+ /**
60858
+ * Deserializes binary data (in protobuf wire format) from the
60859
+ * given reader into the given message object.
60860
+ * @param {!proto.gateway.web.v1.AIProjectInsightCard} msg The message object to deserialize into.
60861
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
60862
+ * @return {!proto.gateway.web.v1.AIProjectInsightCard}
60863
+ */
60864
+ proto.gateway.web.v1.AIProjectInsightCard.deserializeBinaryFromReader = function(msg, reader) {
60865
+ while (reader.nextField()) {
60866
+ if (reader.isEndGroup()) {
60867
+ break;
60868
+ }
60869
+ var field = reader.getFieldNumber();
60870
+ switch (field) {
60871
+ case 1:
60872
+ var value = new proto.gateway.web.v1.AIProjectInsight;
60873
+ reader.readMessage(value,proto.gateway.web.v1.AIProjectInsight.deserializeBinaryFromReader);
60874
+ msg.setInsight(value);
60875
+ break;
60876
+ case 2:
60877
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
60878
+ msg.setRunId(value);
60879
+ break;
60880
+ case 3:
60881
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
60882
+ msg.setLocalDate(value);
60636
60883
  break;
60637
60884
  case 4:
60638
- var value = new proto.gateway.web.v1.AIProjectInsightRun;
60639
- reader.readMessage(value,proto.gateway.web.v1.AIProjectInsightRun.deserializeBinaryFromReader);
60640
- msg.setPrevious(value);
60885
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
60886
+ msg.setTimeZone(value);
60887
+ break;
60888
+ case 5:
60889
+ var value = /** @type {boolean} */ (reader.readBool());
60890
+ msg.setWindowClosed(value);
60891
+ break;
60892
+ case 6:
60893
+ var value = new google_protobuf_timestamp_pb.Timestamp;
60894
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
60895
+ msg.setAnalyzedAt(value);
60641
60896
  break;
60642
60897
  default:
60643
60898
  reader.skipField();
@@ -60652,9 +60907,9 @@ proto.gateway.web.v1.ListProjectInsightsResponse.deserializeBinaryFromReader = f
60652
60907
  * Serializes the message to binary data (in protobuf wire format).
60653
60908
  * @return {!Uint8Array}
60654
60909
  */
60655
- proto.gateway.web.v1.ListProjectInsightsResponse.prototype.serializeBinary = function() {
60910
+ proto.gateway.web.v1.AIProjectInsightCard.prototype.serializeBinary = function() {
60656
60911
  var writer = new jspb.BinaryWriter();
60657
- proto.gateway.web.v1.ListProjectInsightsResponse.serializeBinaryToWriter(this, writer);
60912
+ proto.gateway.web.v1.AIProjectInsightCard.serializeBinaryToWriter(this, writer);
60658
60913
  return writer.getResultBuffer();
60659
60914
  };
60660
60915
 
@@ -60662,380 +60917,23 @@ proto.gateway.web.v1.ListProjectInsightsResponse.prototype.serializeBinary = fun
60662
60917
  /**
60663
60918
  * Serializes the given message to binary data (in protobuf wire
60664
60919
  * format), writing to the given BinaryWriter.
60665
- * @param {!proto.gateway.web.v1.ListProjectInsightsResponse} message
60920
+ * @param {!proto.gateway.web.v1.AIProjectInsightCard} message
60666
60921
  * @param {!jspb.BinaryWriter} writer
60667
60922
  * @suppress {unusedLocalVariables} f is only used for nested messages
60668
60923
  */
60669
- proto.gateway.web.v1.ListProjectInsightsResponse.serializeBinaryToWriter = function(message, writer) {
60924
+ proto.gateway.web.v1.AIProjectInsightCard.serializeBinaryToWriter = function(message, writer) {
60670
60925
  var f = undefined;
60671
- f = message.getStatus();
60926
+ f = message.getInsight();
60672
60927
  if (f != null) {
60673
60928
  writer.writeMessage(
60674
60929
  1,
60675
60930
  f,
60676
- proto_gateway_common_v1_status_pb.ResponseStatus.serializeBinaryToWriter
60677
- );
60678
- }
60679
- f = message.getAvailability();
60680
- if (f !== 0.0) {
60681
- writer.writeEnum(
60682
- 2,
60683
- f
60684
- );
60685
- }
60686
- f = message.getCurrent();
60687
- if (f != null) {
60688
- writer.writeMessage(
60689
- 3,
60690
- f,
60691
- proto.gateway.web.v1.AIProjectInsightRun.serializeBinaryToWriter
60692
- );
60693
- }
60694
- f = message.getPrevious();
60695
- if (f != null) {
60696
- writer.writeMessage(
60697
- 4,
60698
- f,
60699
- proto.gateway.web.v1.AIProjectInsightRun.serializeBinaryToWriter
60931
+ proto.gateway.web.v1.AIProjectInsight.serializeBinaryToWriter
60700
60932
  );
60701
60933
  }
60702
- };
60703
-
60704
-
60705
- /**
60706
- * optional gateway.common.v1.ResponseStatus status = 1;
60707
- * @return {?proto.gateway.common.v1.ResponseStatus}
60708
- */
60709
- proto.gateway.web.v1.ListProjectInsightsResponse.prototype.getStatus = function() {
60710
- return /** @type{?proto.gateway.common.v1.ResponseStatus} */ (
60711
- jspb.Message.getWrapperField(this, proto_gateway_common_v1_status_pb.ResponseStatus, 1));
60712
- };
60713
-
60714
-
60715
- /**
60716
- * @param {?proto.gateway.common.v1.ResponseStatus|undefined} value
60717
- * @return {!proto.gateway.web.v1.ListProjectInsightsResponse} returns this
60718
- */
60719
- proto.gateway.web.v1.ListProjectInsightsResponse.prototype.setStatus = function(value) {
60720
- return jspb.Message.setWrapperField(this, 1, value);
60721
- };
60722
-
60723
-
60724
- /**
60725
- * Clears the message field making it undefined.
60726
- * @return {!proto.gateway.web.v1.ListProjectInsightsResponse} returns this
60727
- */
60728
- proto.gateway.web.v1.ListProjectInsightsResponse.prototype.clearStatus = function() {
60729
- return this.setStatus(undefined);
60730
- };
60731
-
60732
-
60733
- /**
60734
- * Returns whether this field is set.
60735
- * @return {boolean}
60736
- */
60737
- proto.gateway.web.v1.ListProjectInsightsResponse.prototype.hasStatus = function() {
60738
- return jspb.Message.getField(this, 1) != null;
60739
- };
60740
-
60741
-
60742
- /**
60743
- * optional AIProjectInsightAvailability availability = 2;
60744
- * @return {!proto.gateway.web.v1.AIProjectInsightAvailability}
60745
- */
60746
- proto.gateway.web.v1.ListProjectInsightsResponse.prototype.getAvailability = function() {
60747
- return /** @type {!proto.gateway.web.v1.AIProjectInsightAvailability} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
60748
- };
60749
-
60750
-
60751
- /**
60752
- * @param {!proto.gateway.web.v1.AIProjectInsightAvailability} value
60753
- * @return {!proto.gateway.web.v1.ListProjectInsightsResponse} returns this
60754
- */
60755
- proto.gateway.web.v1.ListProjectInsightsResponse.prototype.setAvailability = function(value) {
60756
- return jspb.Message.setProto3EnumField(this, 2, value);
60757
- };
60758
-
60759
-
60760
- /**
60761
- * optional AIProjectInsightRun current = 3;
60762
- * @return {?proto.gateway.web.v1.AIProjectInsightRun}
60763
- */
60764
- proto.gateway.web.v1.ListProjectInsightsResponse.prototype.getCurrent = function() {
60765
- return /** @type{?proto.gateway.web.v1.AIProjectInsightRun} */ (
60766
- jspb.Message.getWrapperField(this, proto.gateway.web.v1.AIProjectInsightRun, 3));
60767
- };
60768
-
60769
-
60770
- /**
60771
- * @param {?proto.gateway.web.v1.AIProjectInsightRun|undefined} value
60772
- * @return {!proto.gateway.web.v1.ListProjectInsightsResponse} returns this
60773
- */
60774
- proto.gateway.web.v1.ListProjectInsightsResponse.prototype.setCurrent = function(value) {
60775
- return jspb.Message.setWrapperField(this, 3, value);
60776
- };
60777
-
60778
-
60779
- /**
60780
- * Clears the message field making it undefined.
60781
- * @return {!proto.gateway.web.v1.ListProjectInsightsResponse} returns this
60782
- */
60783
- proto.gateway.web.v1.ListProjectInsightsResponse.prototype.clearCurrent = function() {
60784
- return this.setCurrent(undefined);
60785
- };
60786
-
60787
-
60788
- /**
60789
- * Returns whether this field is set.
60790
- * @return {boolean}
60791
- */
60792
- proto.gateway.web.v1.ListProjectInsightsResponse.prototype.hasCurrent = function() {
60793
- return jspb.Message.getField(this, 3) != null;
60794
- };
60795
-
60796
-
60797
- /**
60798
- * optional AIProjectInsightRun previous = 4;
60799
- * @return {?proto.gateway.web.v1.AIProjectInsightRun}
60800
- */
60801
- proto.gateway.web.v1.ListProjectInsightsResponse.prototype.getPrevious = function() {
60802
- return /** @type{?proto.gateway.web.v1.AIProjectInsightRun} */ (
60803
- jspb.Message.getWrapperField(this, proto.gateway.web.v1.AIProjectInsightRun, 4));
60804
- };
60805
-
60806
-
60807
- /**
60808
- * @param {?proto.gateway.web.v1.AIProjectInsightRun|undefined} value
60809
- * @return {!proto.gateway.web.v1.ListProjectInsightsResponse} returns this
60810
- */
60811
- proto.gateway.web.v1.ListProjectInsightsResponse.prototype.setPrevious = function(value) {
60812
- return jspb.Message.setWrapperField(this, 4, value);
60813
- };
60814
-
60815
-
60816
- /**
60817
- * Clears the message field making it undefined.
60818
- * @return {!proto.gateway.web.v1.ListProjectInsightsResponse} returns this
60819
- */
60820
- proto.gateway.web.v1.ListProjectInsightsResponse.prototype.clearPrevious = function() {
60821
- return this.setPrevious(undefined);
60822
- };
60823
-
60824
-
60825
- /**
60826
- * Returns whether this field is set.
60827
- * @return {boolean}
60828
- */
60829
- proto.gateway.web.v1.ListProjectInsightsResponse.prototype.hasPrevious = function() {
60830
- return jspb.Message.getField(this, 4) != null;
60831
- };
60832
-
60833
-
60834
-
60835
- /**
60836
- * List of repeated fields within this message type.
60837
- * @private {!Array<number>}
60838
- * @const
60839
- */
60840
- proto.gateway.web.v1.AIProjectInsightRun.repeatedFields_ = [16];
60841
-
60842
-
60843
-
60844
- if (jspb.Message.GENERATE_TO_OBJECT) {
60845
- /**
60846
- * Creates an object representation of this proto.
60847
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
60848
- * Optional fields that are not set will be set to undefined.
60849
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
60850
- * For the list of reserved names please see:
60851
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
60852
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
60853
- * JSPB instance for transitional soy proto support:
60854
- * http://goto/soy-param-migration
60855
- * @return {!Object}
60856
- */
60857
- proto.gateway.web.v1.AIProjectInsightRun.prototype.toObject = function(opt_includeInstance) {
60858
- return proto.gateway.web.v1.AIProjectInsightRun.toObject(opt_includeInstance, this);
60859
- };
60860
-
60861
-
60862
- /**
60863
- * Static version of the {@see toObject} method.
60864
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
60865
- * the JSPB instance for transitional soy proto support:
60866
- * http://goto/soy-param-migration
60867
- * @param {!proto.gateway.web.v1.AIProjectInsightRun} msg The msg instance to transform.
60868
- * @return {!Object}
60869
- * @suppress {unusedLocalVariables} f is only used for nested messages
60870
- */
60871
- proto.gateway.web.v1.AIProjectInsightRun.toObject = function(includeInstance, msg) {
60872
- var f, obj = {
60873
- runId: jspb.Message.getFieldWithDefault(msg, 1, ""),
60874
- availability: jspb.Message.getFieldWithDefault(msg, 2, 0),
60875
- localDate: jspb.Message.getFieldWithDefault(msg, 3, ""),
60876
- timeZone: jspb.Message.getFieldWithDefault(msg, 4, ""),
60877
- timeZoneSet: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
60878
- windowClosed: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
60879
- windowStart: (f = msg.getWindowStart()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
60880
- windowEnd: (f = msg.getWindowEnd()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
60881
- analyzedAt: (f = msg.getAnalyzedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
60882
- model: jspb.Message.getFieldWithDefault(msg, 10, ""),
60883
- analysisVersion: jspb.Message.getFieldWithDefault(msg, 11, ""),
60884
- eligibleSessionCount: jspb.Message.getFieldWithDefault(msg, 12, 0),
60885
- unresolvedSessionCount: jspb.Message.getFieldWithDefault(msg, 13, 0),
60886
- linkedPersonCount: jspb.Message.getFieldWithDefault(msg, 14, 0),
60887
- coverage: (f = msg.getCoverage()) && proto.gateway.web.v1.AIProjectInsightCoverage.toObject(includeInstance, f),
60888
- insightsList: jspb.Message.toObjectList(msg.getInsightsList(),
60889
- proto.gateway.web.v1.AIProjectInsight.toObject, includeInstance),
60890
- totalCount: jspb.Message.getFieldWithDefault(msg, 17, 0)
60891
- };
60892
-
60893
- if (includeInstance) {
60894
- obj.$jspbMessageInstance = msg;
60895
- }
60896
- return obj;
60897
- };
60898
- }
60899
-
60900
-
60901
- /**
60902
- * Deserializes binary data (in protobuf wire format).
60903
- * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
60904
- * @return {!proto.gateway.web.v1.AIProjectInsightRun}
60905
- */
60906
- proto.gateway.web.v1.AIProjectInsightRun.deserializeBinary = function(bytes) {
60907
- var reader = new jspb.BinaryReader(bytes);
60908
- var msg = new proto.gateway.web.v1.AIProjectInsightRun;
60909
- return proto.gateway.web.v1.AIProjectInsightRun.deserializeBinaryFromReader(msg, reader);
60910
- };
60911
-
60912
-
60913
- /**
60914
- * Deserializes binary data (in protobuf wire format) from the
60915
- * given reader into the given message object.
60916
- * @param {!proto.gateway.web.v1.AIProjectInsightRun} msg The message object to deserialize into.
60917
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
60918
- * @return {!proto.gateway.web.v1.AIProjectInsightRun}
60919
- */
60920
- proto.gateway.web.v1.AIProjectInsightRun.deserializeBinaryFromReader = function(msg, reader) {
60921
- while (reader.nextField()) {
60922
- if (reader.isEndGroup()) {
60923
- break;
60924
- }
60925
- var field = reader.getFieldNumber();
60926
- switch (field) {
60927
- case 1:
60928
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
60929
- msg.setRunId(value);
60930
- break;
60931
- case 2:
60932
- var value = /** @type {!proto.gateway.web.v1.AIProjectInsightAvailability} */ (reader.readEnum());
60933
- msg.setAvailability(value);
60934
- break;
60935
- case 3:
60936
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
60937
- msg.setLocalDate(value);
60938
- break;
60939
- case 4:
60940
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
60941
- msg.setTimeZone(value);
60942
- break;
60943
- case 5:
60944
- var value = /** @type {boolean} */ (reader.readBool());
60945
- msg.setTimeZoneSet(value);
60946
- break;
60947
- case 6:
60948
- var value = /** @type {boolean} */ (reader.readBool());
60949
- msg.setWindowClosed(value);
60950
- break;
60951
- case 7:
60952
- var value = new google_protobuf_timestamp_pb.Timestamp;
60953
- reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
60954
- msg.setWindowStart(value);
60955
- break;
60956
- case 8:
60957
- var value = new google_protobuf_timestamp_pb.Timestamp;
60958
- reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
60959
- msg.setWindowEnd(value);
60960
- break;
60961
- case 9:
60962
- var value = new google_protobuf_timestamp_pb.Timestamp;
60963
- reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
60964
- msg.setAnalyzedAt(value);
60965
- break;
60966
- case 10:
60967
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
60968
- msg.setModel(value);
60969
- break;
60970
- case 11:
60971
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
60972
- msg.setAnalysisVersion(value);
60973
- break;
60974
- case 12:
60975
- var value = /** @type {number} */ (reader.readUint32());
60976
- msg.setEligibleSessionCount(value);
60977
- break;
60978
- case 13:
60979
- var value = /** @type {number} */ (reader.readUint32());
60980
- msg.setUnresolvedSessionCount(value);
60981
- break;
60982
- case 14:
60983
- var value = /** @type {number} */ (reader.readUint32());
60984
- msg.setLinkedPersonCount(value);
60985
- break;
60986
- case 15:
60987
- var value = new proto.gateway.web.v1.AIProjectInsightCoverage;
60988
- reader.readMessage(value,proto.gateway.web.v1.AIProjectInsightCoverage.deserializeBinaryFromReader);
60989
- msg.setCoverage(value);
60990
- break;
60991
- case 16:
60992
- var value = new proto.gateway.web.v1.AIProjectInsight;
60993
- reader.readMessage(value,proto.gateway.web.v1.AIProjectInsight.deserializeBinaryFromReader);
60994
- msg.addInsights(value);
60995
- break;
60996
- case 17:
60997
- var value = /** @type {number} */ (reader.readUint32());
60998
- msg.setTotalCount(value);
60999
- break;
61000
- default:
61001
- reader.skipField();
61002
- break;
61003
- }
61004
- }
61005
- return msg;
61006
- };
61007
-
61008
-
61009
- /**
61010
- * Serializes the message to binary data (in protobuf wire format).
61011
- * @return {!Uint8Array}
61012
- */
61013
- proto.gateway.web.v1.AIProjectInsightRun.prototype.serializeBinary = function() {
61014
- var writer = new jspb.BinaryWriter();
61015
- proto.gateway.web.v1.AIProjectInsightRun.serializeBinaryToWriter(this, writer);
61016
- return writer.getResultBuffer();
61017
- };
61018
-
61019
-
61020
- /**
61021
- * Serializes the given message to binary data (in protobuf wire
61022
- * format), writing to the given BinaryWriter.
61023
- * @param {!proto.gateway.web.v1.AIProjectInsightRun} message
61024
- * @param {!jspb.BinaryWriter} writer
61025
- * @suppress {unusedLocalVariables} f is only used for nested messages
61026
- */
61027
- proto.gateway.web.v1.AIProjectInsightRun.serializeBinaryToWriter = function(message, writer) {
61028
- var f = undefined;
61029
60934
  f = message.getRunId();
61030
60935
  if (f.length > 0) {
61031
60936
  writer.writeString(
61032
- 1,
61033
- f
61034
- );
61035
- }
61036
- f = message.getAvailability();
61037
- if (f !== 0.0) {
61038
- writer.writeEnum(
61039
60937
  2,
61040
60938
  f
61041
60939
  );
@@ -61054,311 +60952,157 @@ proto.gateway.web.v1.AIProjectInsightRun.serializeBinaryToWriter = function(mess
61054
60952
  f
61055
60953
  );
61056
60954
  }
61057
- f = message.getTimeZoneSet();
61058
- if (f) {
61059
- writer.writeBool(
61060
- 5,
61061
- f
61062
- );
61063
- }
61064
60955
  f = message.getWindowClosed();
61065
60956
  if (f) {
61066
60957
  writer.writeBool(
61067
- 6,
60958
+ 5,
61068
60959
  f
61069
60960
  );
61070
60961
  }
61071
- f = message.getWindowStart();
61072
- if (f != null) {
61073
- writer.writeMessage(
61074
- 7,
61075
- f,
61076
- google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
61077
- );
61078
- }
61079
- f = message.getWindowEnd();
61080
- if (f != null) {
61081
- writer.writeMessage(
61082
- 8,
61083
- f,
61084
- google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
61085
- );
61086
- }
61087
60962
  f = message.getAnalyzedAt();
61088
60963
  if (f != null) {
61089
60964
  writer.writeMessage(
61090
- 9,
60965
+ 6,
61091
60966
  f,
61092
60967
  google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
61093
60968
  );
61094
60969
  }
61095
- f = message.getModel();
61096
- if (f.length > 0) {
61097
- writer.writeString(
61098
- 10,
61099
- f
61100
- );
61101
- }
61102
- f = message.getAnalysisVersion();
61103
- if (f.length > 0) {
61104
- writer.writeString(
61105
- 11,
61106
- f
61107
- );
61108
- }
61109
- f = message.getEligibleSessionCount();
61110
- if (f !== 0) {
61111
- writer.writeUint32(
61112
- 12,
61113
- f
61114
- );
61115
- }
61116
- f = message.getUnresolvedSessionCount();
61117
- if (f !== 0) {
61118
- writer.writeUint32(
61119
- 13,
61120
- f
61121
- );
61122
- }
61123
- f = message.getLinkedPersonCount();
61124
- if (f !== 0) {
61125
- writer.writeUint32(
61126
- 14,
61127
- f
61128
- );
61129
- }
61130
- f = message.getCoverage();
61131
- if (f != null) {
61132
- writer.writeMessage(
61133
- 15,
61134
- f,
61135
- proto.gateway.web.v1.AIProjectInsightCoverage.serializeBinaryToWriter
61136
- );
61137
- }
61138
- f = message.getInsightsList();
61139
- if (f.length > 0) {
61140
- writer.writeRepeatedMessage(
61141
- 16,
61142
- f,
61143
- proto.gateway.web.v1.AIProjectInsight.serializeBinaryToWriter
61144
- );
61145
- }
61146
- f = message.getTotalCount();
61147
- if (f !== 0) {
61148
- writer.writeUint32(
61149
- 17,
61150
- f
61151
- );
61152
- }
61153
60970
  };
61154
60971
 
61155
60972
 
61156
60973
  /**
61157
- * optional string run_id = 1;
61158
- * @return {string}
60974
+ * optional AIProjectInsight insight = 1;
60975
+ * @return {?proto.gateway.web.v1.AIProjectInsight}
61159
60976
  */
61160
- proto.gateway.web.v1.AIProjectInsightRun.prototype.getRunId = function() {
61161
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
60977
+ proto.gateway.web.v1.AIProjectInsightCard.prototype.getInsight = function() {
60978
+ return /** @type{?proto.gateway.web.v1.AIProjectInsight} */ (
60979
+ jspb.Message.getWrapperField(this, proto.gateway.web.v1.AIProjectInsight, 1));
61162
60980
  };
61163
60981
 
61164
60982
 
61165
60983
  /**
61166
- * @param {string} value
61167
- * @return {!proto.gateway.web.v1.AIProjectInsightRun} returns this
61168
- */
61169
- proto.gateway.web.v1.AIProjectInsightRun.prototype.setRunId = function(value) {
61170
- return jspb.Message.setProto3StringField(this, 1, value);
60984
+ * @param {?proto.gateway.web.v1.AIProjectInsight|undefined} value
60985
+ * @return {!proto.gateway.web.v1.AIProjectInsightCard} returns this
60986
+ */
60987
+ proto.gateway.web.v1.AIProjectInsightCard.prototype.setInsight = function(value) {
60988
+ return jspb.Message.setWrapperField(this, 1, value);
61171
60989
  };
61172
60990
 
61173
60991
 
61174
60992
  /**
61175
- * optional AIProjectInsightAvailability availability = 2;
61176
- * @return {!proto.gateway.web.v1.AIProjectInsightAvailability}
60993
+ * Clears the message field making it undefined.
60994
+ * @return {!proto.gateway.web.v1.AIProjectInsightCard} returns this
61177
60995
  */
61178
- proto.gateway.web.v1.AIProjectInsightRun.prototype.getAvailability = function() {
61179
- return /** @type {!proto.gateway.web.v1.AIProjectInsightAvailability} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
60996
+ proto.gateway.web.v1.AIProjectInsightCard.prototype.clearInsight = function() {
60997
+ return this.setInsight(undefined);
61180
60998
  };
61181
60999
 
61182
61000
 
61183
61001
  /**
61184
- * @param {!proto.gateway.web.v1.AIProjectInsightAvailability} value
61185
- * @return {!proto.gateway.web.v1.AIProjectInsightRun} returns this
61002
+ * Returns whether this field is set.
61003
+ * @return {boolean}
61186
61004
  */
61187
- proto.gateway.web.v1.AIProjectInsightRun.prototype.setAvailability = function(value) {
61188
- return jspb.Message.setProto3EnumField(this, 2, value);
61005
+ proto.gateway.web.v1.AIProjectInsightCard.prototype.hasInsight = function() {
61006
+ return jspb.Message.getField(this, 1) != null;
61189
61007
  };
61190
61008
 
61191
61009
 
61192
61010
  /**
61193
- * optional string local_date = 3;
61011
+ * optional string run_id = 2;
61194
61012
  * @return {string}
61195
61013
  */
61196
- proto.gateway.web.v1.AIProjectInsightRun.prototype.getLocalDate = function() {
61197
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
61014
+ proto.gateway.web.v1.AIProjectInsightCard.prototype.getRunId = function() {
61015
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
61198
61016
  };
61199
61017
 
61200
61018
 
61201
61019
  /**
61202
61020
  * @param {string} value
61203
- * @return {!proto.gateway.web.v1.AIProjectInsightRun} returns this
61021
+ * @return {!proto.gateway.web.v1.AIProjectInsightCard} returns this
61204
61022
  */
61205
- proto.gateway.web.v1.AIProjectInsightRun.prototype.setLocalDate = function(value) {
61206
- return jspb.Message.setProto3StringField(this, 3, value);
61023
+ proto.gateway.web.v1.AIProjectInsightCard.prototype.setRunId = function(value) {
61024
+ return jspb.Message.setProto3StringField(this, 2, value);
61207
61025
  };
61208
61026
 
61209
61027
 
61210
61028
  /**
61211
- * optional string time_zone = 4;
61029
+ * optional string local_date = 3;
61212
61030
  * @return {string}
61213
61031
  */
61214
- proto.gateway.web.v1.AIProjectInsightRun.prototype.getTimeZone = function() {
61215
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
61032
+ proto.gateway.web.v1.AIProjectInsightCard.prototype.getLocalDate = function() {
61033
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
61216
61034
  };
61217
61035
 
61218
61036
 
61219
61037
  /**
61220
61038
  * @param {string} value
61221
- * @return {!proto.gateway.web.v1.AIProjectInsightRun} returns this
61039
+ * @return {!proto.gateway.web.v1.AIProjectInsightCard} returns this
61222
61040
  */
61223
- proto.gateway.web.v1.AIProjectInsightRun.prototype.setTimeZone = function(value) {
61224
- return jspb.Message.setProto3StringField(this, 4, value);
61041
+ proto.gateway.web.v1.AIProjectInsightCard.prototype.setLocalDate = function(value) {
61042
+ return jspb.Message.setProto3StringField(this, 3, value);
61225
61043
  };
61226
61044
 
61227
61045
 
61228
61046
  /**
61229
- * optional bool time_zone_set = 5;
61230
- * @return {boolean}
61047
+ * optional string time_zone = 4;
61048
+ * @return {string}
61231
61049
  */
61232
- proto.gateway.web.v1.AIProjectInsightRun.prototype.getTimeZoneSet = function() {
61233
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
61050
+ proto.gateway.web.v1.AIProjectInsightCard.prototype.getTimeZone = function() {
61051
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
61234
61052
  };
61235
61053
 
61236
61054
 
61237
61055
  /**
61238
- * @param {boolean} value
61239
- * @return {!proto.gateway.web.v1.AIProjectInsightRun} returns this
61056
+ * @param {string} value
61057
+ * @return {!proto.gateway.web.v1.AIProjectInsightCard} returns this
61240
61058
  */
61241
- proto.gateway.web.v1.AIProjectInsightRun.prototype.setTimeZoneSet = function(value) {
61242
- return jspb.Message.setProto3BooleanField(this, 5, value);
61059
+ proto.gateway.web.v1.AIProjectInsightCard.prototype.setTimeZone = function(value) {
61060
+ return jspb.Message.setProto3StringField(this, 4, value);
61243
61061
  };
61244
61062
 
61245
61063
 
61246
61064
  /**
61247
- * optional bool window_closed = 6;
61065
+ * optional bool window_closed = 5;
61248
61066
  * @return {boolean}
61249
61067
  */
61250
- proto.gateway.web.v1.AIProjectInsightRun.prototype.getWindowClosed = function() {
61251
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
61068
+ proto.gateway.web.v1.AIProjectInsightCard.prototype.getWindowClosed = function() {
61069
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
61252
61070
  };
61253
61071
 
61254
61072
 
61255
61073
  /**
61256
61074
  * @param {boolean} value
61257
- * @return {!proto.gateway.web.v1.AIProjectInsightRun} returns this
61258
- */
61259
- proto.gateway.web.v1.AIProjectInsightRun.prototype.setWindowClosed = function(value) {
61260
- return jspb.Message.setProto3BooleanField(this, 6, value);
61261
- };
61262
-
61263
-
61264
- /**
61265
- * optional google.protobuf.Timestamp window_start = 7;
61266
- * @return {?proto.google.protobuf.Timestamp}
61267
- */
61268
- proto.gateway.web.v1.AIProjectInsightRun.prototype.getWindowStart = function() {
61269
- return /** @type{?proto.google.protobuf.Timestamp} */ (
61270
- jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 7));
61271
- };
61272
-
61273
-
61274
- /**
61275
- * @param {?proto.google.protobuf.Timestamp|undefined} value
61276
- * @return {!proto.gateway.web.v1.AIProjectInsightRun} returns this
61277
- */
61278
- proto.gateway.web.v1.AIProjectInsightRun.prototype.setWindowStart = function(value) {
61279
- return jspb.Message.setWrapperField(this, 7, value);
61280
- };
61281
-
61282
-
61283
- /**
61284
- * Clears the message field making it undefined.
61285
- * @return {!proto.gateway.web.v1.AIProjectInsightRun} returns this
61286
- */
61287
- proto.gateway.web.v1.AIProjectInsightRun.prototype.clearWindowStart = function() {
61288
- return this.setWindowStart(undefined);
61289
- };
61290
-
61291
-
61292
- /**
61293
- * Returns whether this field is set.
61294
- * @return {boolean}
61075
+ * @return {!proto.gateway.web.v1.AIProjectInsightCard} returns this
61295
61076
  */
61296
- proto.gateway.web.v1.AIProjectInsightRun.prototype.hasWindowStart = function() {
61297
- return jspb.Message.getField(this, 7) != null;
61298
- };
61299
-
61300
-
61301
- /**
61302
- * optional google.protobuf.Timestamp window_end = 8;
61303
- * @return {?proto.google.protobuf.Timestamp}
61304
- */
61305
- proto.gateway.web.v1.AIProjectInsightRun.prototype.getWindowEnd = function() {
61306
- return /** @type{?proto.google.protobuf.Timestamp} */ (
61307
- jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 8));
61308
- };
61309
-
61310
-
61311
- /**
61312
- * @param {?proto.google.protobuf.Timestamp|undefined} value
61313
- * @return {!proto.gateway.web.v1.AIProjectInsightRun} returns this
61314
- */
61315
- proto.gateway.web.v1.AIProjectInsightRun.prototype.setWindowEnd = function(value) {
61316
- return jspb.Message.setWrapperField(this, 8, value);
61317
- };
61318
-
61319
-
61320
- /**
61321
- * Clears the message field making it undefined.
61322
- * @return {!proto.gateway.web.v1.AIProjectInsightRun} returns this
61323
- */
61324
- proto.gateway.web.v1.AIProjectInsightRun.prototype.clearWindowEnd = function() {
61325
- return this.setWindowEnd(undefined);
61326
- };
61327
-
61328
-
61329
- /**
61330
- * Returns whether this field is set.
61331
- * @return {boolean}
61332
- */
61333
- proto.gateway.web.v1.AIProjectInsightRun.prototype.hasWindowEnd = function() {
61334
- return jspb.Message.getField(this, 8) != null;
61077
+ proto.gateway.web.v1.AIProjectInsightCard.prototype.setWindowClosed = function(value) {
61078
+ return jspb.Message.setProto3BooleanField(this, 5, value);
61335
61079
  };
61336
61080
 
61337
61081
 
61338
61082
  /**
61339
- * optional google.protobuf.Timestamp analyzed_at = 9;
61083
+ * optional google.protobuf.Timestamp analyzed_at = 6;
61340
61084
  * @return {?proto.google.protobuf.Timestamp}
61341
61085
  */
61342
- proto.gateway.web.v1.AIProjectInsightRun.prototype.getAnalyzedAt = function() {
61086
+ proto.gateway.web.v1.AIProjectInsightCard.prototype.getAnalyzedAt = function() {
61343
61087
  return /** @type{?proto.google.protobuf.Timestamp} */ (
61344
- jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 9));
61088
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 6));
61345
61089
  };
61346
61090
 
61347
61091
 
61348
61092
  /**
61349
61093
  * @param {?proto.google.protobuf.Timestamp|undefined} value
61350
- * @return {!proto.gateway.web.v1.AIProjectInsightRun} returns this
61094
+ * @return {!proto.gateway.web.v1.AIProjectInsightCard} returns this
61351
61095
  */
61352
- proto.gateway.web.v1.AIProjectInsightRun.prototype.setAnalyzedAt = function(value) {
61353
- return jspb.Message.setWrapperField(this, 9, value);
61096
+ proto.gateway.web.v1.AIProjectInsightCard.prototype.setAnalyzedAt = function(value) {
61097
+ return jspb.Message.setWrapperField(this, 6, value);
61354
61098
  };
61355
61099
 
61356
61100
 
61357
61101
  /**
61358
61102
  * Clears the message field making it undefined.
61359
- * @return {!proto.gateway.web.v1.AIProjectInsightRun} returns this
61103
+ * @return {!proto.gateway.web.v1.AIProjectInsightCard} returns this
61360
61104
  */
61361
- proto.gateway.web.v1.AIProjectInsightRun.prototype.clearAnalyzedAt = function() {
61105
+ proto.gateway.web.v1.AIProjectInsightCard.prototype.clearAnalyzedAt = function() {
61362
61106
  return this.setAnalyzedAt(undefined);
61363
61107
  };
61364
61108
 
@@ -61367,501 +61111,8 @@ proto.gateway.web.v1.AIProjectInsightRun.prototype.clearAnalyzedAt = function()
61367
61111
  * Returns whether this field is set.
61368
61112
  * @return {boolean}
61369
61113
  */
61370
- proto.gateway.web.v1.AIProjectInsightRun.prototype.hasAnalyzedAt = function() {
61371
- return jspb.Message.getField(this, 9) != null;
61372
- };
61373
-
61374
-
61375
- /**
61376
- * optional string model = 10;
61377
- * @return {string}
61378
- */
61379
- proto.gateway.web.v1.AIProjectInsightRun.prototype.getModel = function() {
61380
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
61381
- };
61382
-
61383
-
61384
- /**
61385
- * @param {string} value
61386
- * @return {!proto.gateway.web.v1.AIProjectInsightRun} returns this
61387
- */
61388
- proto.gateway.web.v1.AIProjectInsightRun.prototype.setModel = function(value) {
61389
- return jspb.Message.setProto3StringField(this, 10, value);
61390
- };
61391
-
61392
-
61393
- /**
61394
- * optional string analysis_version = 11;
61395
- * @return {string}
61396
- */
61397
- proto.gateway.web.v1.AIProjectInsightRun.prototype.getAnalysisVersion = function() {
61398
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
61399
- };
61400
-
61401
-
61402
- /**
61403
- * @param {string} value
61404
- * @return {!proto.gateway.web.v1.AIProjectInsightRun} returns this
61405
- */
61406
- proto.gateway.web.v1.AIProjectInsightRun.prototype.setAnalysisVersion = function(value) {
61407
- return jspb.Message.setProto3StringField(this, 11, value);
61408
- };
61409
-
61410
-
61411
- /**
61412
- * optional uint32 eligible_session_count = 12;
61413
- * @return {number}
61414
- */
61415
- proto.gateway.web.v1.AIProjectInsightRun.prototype.getEligibleSessionCount = function() {
61416
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 12, 0));
61417
- };
61418
-
61419
-
61420
- /**
61421
- * @param {number} value
61422
- * @return {!proto.gateway.web.v1.AIProjectInsightRun} returns this
61423
- */
61424
- proto.gateway.web.v1.AIProjectInsightRun.prototype.setEligibleSessionCount = function(value) {
61425
- return jspb.Message.setProto3IntField(this, 12, value);
61426
- };
61427
-
61428
-
61429
- /**
61430
- * optional uint32 unresolved_session_count = 13;
61431
- * @return {number}
61432
- */
61433
- proto.gateway.web.v1.AIProjectInsightRun.prototype.getUnresolvedSessionCount = function() {
61434
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 13, 0));
61435
- };
61436
-
61437
-
61438
- /**
61439
- * @param {number} value
61440
- * @return {!proto.gateway.web.v1.AIProjectInsightRun} returns this
61441
- */
61442
- proto.gateway.web.v1.AIProjectInsightRun.prototype.setUnresolvedSessionCount = function(value) {
61443
- return jspb.Message.setProto3IntField(this, 13, value);
61444
- };
61445
-
61446
-
61447
- /**
61448
- * optional uint32 linked_person_count = 14;
61449
- * @return {number}
61450
- */
61451
- proto.gateway.web.v1.AIProjectInsightRun.prototype.getLinkedPersonCount = function() {
61452
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 14, 0));
61453
- };
61454
-
61455
-
61456
- /**
61457
- * @param {number} value
61458
- * @return {!proto.gateway.web.v1.AIProjectInsightRun} returns this
61459
- */
61460
- proto.gateway.web.v1.AIProjectInsightRun.prototype.setLinkedPersonCount = function(value) {
61461
- return jspb.Message.setProto3IntField(this, 14, value);
61462
- };
61463
-
61464
-
61465
- /**
61466
- * optional AIProjectInsightCoverage coverage = 15;
61467
- * @return {?proto.gateway.web.v1.AIProjectInsightCoverage}
61468
- */
61469
- proto.gateway.web.v1.AIProjectInsightRun.prototype.getCoverage = function() {
61470
- return /** @type{?proto.gateway.web.v1.AIProjectInsightCoverage} */ (
61471
- jspb.Message.getWrapperField(this, proto.gateway.web.v1.AIProjectInsightCoverage, 15));
61472
- };
61473
-
61474
-
61475
- /**
61476
- * @param {?proto.gateway.web.v1.AIProjectInsightCoverage|undefined} value
61477
- * @return {!proto.gateway.web.v1.AIProjectInsightRun} returns this
61478
- */
61479
- proto.gateway.web.v1.AIProjectInsightRun.prototype.setCoverage = function(value) {
61480
- return jspb.Message.setWrapperField(this, 15, value);
61481
- };
61482
-
61483
-
61484
- /**
61485
- * Clears the message field making it undefined.
61486
- * @return {!proto.gateway.web.v1.AIProjectInsightRun} returns this
61487
- */
61488
- proto.gateway.web.v1.AIProjectInsightRun.prototype.clearCoverage = function() {
61489
- return this.setCoverage(undefined);
61490
- };
61491
-
61492
-
61493
- /**
61494
- * Returns whether this field is set.
61495
- * @return {boolean}
61496
- */
61497
- proto.gateway.web.v1.AIProjectInsightRun.prototype.hasCoverage = function() {
61498
- return jspb.Message.getField(this, 15) != null;
61499
- };
61500
-
61501
-
61502
- /**
61503
- * repeated AIProjectInsight insights = 16;
61504
- * @return {!Array<!proto.gateway.web.v1.AIProjectInsight>}
61505
- */
61506
- proto.gateway.web.v1.AIProjectInsightRun.prototype.getInsightsList = function() {
61507
- return /** @type{!Array<!proto.gateway.web.v1.AIProjectInsight>} */ (
61508
- jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.AIProjectInsight, 16));
61509
- };
61510
-
61511
-
61512
- /**
61513
- * @param {!Array<!proto.gateway.web.v1.AIProjectInsight>} value
61514
- * @return {!proto.gateway.web.v1.AIProjectInsightRun} returns this
61515
- */
61516
- proto.gateway.web.v1.AIProjectInsightRun.prototype.setInsightsList = function(value) {
61517
- return jspb.Message.setRepeatedWrapperField(this, 16, value);
61518
- };
61519
-
61520
-
61521
- /**
61522
- * @param {!proto.gateway.web.v1.AIProjectInsight=} opt_value
61523
- * @param {number=} opt_index
61524
- * @return {!proto.gateway.web.v1.AIProjectInsight}
61525
- */
61526
- proto.gateway.web.v1.AIProjectInsightRun.prototype.addInsights = function(opt_value, opt_index) {
61527
- return jspb.Message.addToRepeatedWrapperField(this, 16, opt_value, proto.gateway.web.v1.AIProjectInsight, opt_index);
61528
- };
61529
-
61530
-
61531
- /**
61532
- * Clears the list making it empty but non-null.
61533
- * @return {!proto.gateway.web.v1.AIProjectInsightRun} returns this
61534
- */
61535
- proto.gateway.web.v1.AIProjectInsightRun.prototype.clearInsightsList = function() {
61536
- return this.setInsightsList([]);
61537
- };
61538
-
61539
-
61540
- /**
61541
- * optional uint32 total_count = 17;
61542
- * @return {number}
61543
- */
61544
- proto.gateway.web.v1.AIProjectInsightRun.prototype.getTotalCount = function() {
61545
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 17, 0));
61546
- };
61547
-
61548
-
61549
- /**
61550
- * @param {number} value
61551
- * @return {!proto.gateway.web.v1.AIProjectInsightRun} returns this
61552
- */
61553
- proto.gateway.web.v1.AIProjectInsightRun.prototype.setTotalCount = function(value) {
61554
- return jspb.Message.setProto3IntField(this, 17, value);
61555
- };
61556
-
61557
-
61558
-
61559
-
61560
-
61561
- if (jspb.Message.GENERATE_TO_OBJECT) {
61562
- /**
61563
- * Creates an object representation of this proto.
61564
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
61565
- * Optional fields that are not set will be set to undefined.
61566
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
61567
- * For the list of reserved names please see:
61568
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
61569
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
61570
- * JSPB instance for transitional soy proto support:
61571
- * http://goto/soy-param-migration
61572
- * @return {!Object}
61573
- */
61574
- proto.gateway.web.v1.AIProjectInsightCoverage.prototype.toObject = function(opt_includeInstance) {
61575
- return proto.gateway.web.v1.AIProjectInsightCoverage.toObject(opt_includeInstance, this);
61576
- };
61577
-
61578
-
61579
- /**
61580
- * Static version of the {@see toObject} method.
61581
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
61582
- * the JSPB instance for transitional soy proto support:
61583
- * http://goto/soy-param-migration
61584
- * @param {!proto.gateway.web.v1.AIProjectInsightCoverage} msg The msg instance to transform.
61585
- * @return {!Object}
61586
- * @suppress {unusedLocalVariables} f is only used for nested messages
61587
- */
61588
- proto.gateway.web.v1.AIProjectInsightCoverage.toObject = function(includeInstance, msg) {
61589
- var f, obj = {
61590
- status: jspb.Message.getFieldWithDefault(msg, 1, 0),
61591
- stopReason: jspb.Message.getFieldWithDefault(msg, 2, 0),
61592
- overviewSessionCount: jspb.Message.getFieldWithDefault(msg, 3, 0),
61593
- evidenceSessionCount: jspb.Message.getFieldWithDefault(msg, 4, 0),
61594
- evidencePersonCount: jspb.Message.getFieldWithDefault(msg, 5, 0),
61595
- withheldEvidenceCount: jspb.Message.getFieldWithDefault(msg, 6, 0),
61596
- truncatedEvidenceCount: jspb.Message.getFieldWithDefault(msg, 7, 0)
61597
- };
61598
-
61599
- if (includeInstance) {
61600
- obj.$jspbMessageInstance = msg;
61601
- }
61602
- return obj;
61603
- };
61604
- }
61605
-
61606
-
61607
- /**
61608
- * Deserializes binary data (in protobuf wire format).
61609
- * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
61610
- * @return {!proto.gateway.web.v1.AIProjectInsightCoverage}
61611
- */
61612
- proto.gateway.web.v1.AIProjectInsightCoverage.deserializeBinary = function(bytes) {
61613
- var reader = new jspb.BinaryReader(bytes);
61614
- var msg = new proto.gateway.web.v1.AIProjectInsightCoverage;
61615
- return proto.gateway.web.v1.AIProjectInsightCoverage.deserializeBinaryFromReader(msg, reader);
61616
- };
61617
-
61618
-
61619
- /**
61620
- * Deserializes binary data (in protobuf wire format) from the
61621
- * given reader into the given message object.
61622
- * @param {!proto.gateway.web.v1.AIProjectInsightCoverage} msg The message object to deserialize into.
61623
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
61624
- * @return {!proto.gateway.web.v1.AIProjectInsightCoverage}
61625
- */
61626
- proto.gateway.web.v1.AIProjectInsightCoverage.deserializeBinaryFromReader = function(msg, reader) {
61627
- while (reader.nextField()) {
61628
- if (reader.isEndGroup()) {
61629
- break;
61630
- }
61631
- var field = reader.getFieldNumber();
61632
- switch (field) {
61633
- case 1:
61634
- var value = /** @type {!proto.gateway.web.v1.AIProjectInsightCoverageStatus} */ (reader.readEnum());
61635
- msg.setStatus(value);
61636
- break;
61637
- case 2:
61638
- var value = /** @type {!proto.gateway.web.v1.AIProjectInsightStopReason} */ (reader.readEnum());
61639
- msg.setStopReason(value);
61640
- break;
61641
- case 3:
61642
- var value = /** @type {number} */ (reader.readUint32());
61643
- msg.setOverviewSessionCount(value);
61644
- break;
61645
- case 4:
61646
- var value = /** @type {number} */ (reader.readUint32());
61647
- msg.setEvidenceSessionCount(value);
61648
- break;
61649
- case 5:
61650
- var value = /** @type {number} */ (reader.readUint32());
61651
- msg.setEvidencePersonCount(value);
61652
- break;
61653
- case 6:
61654
- var value = /** @type {number} */ (reader.readUint32());
61655
- msg.setWithheldEvidenceCount(value);
61656
- break;
61657
- case 7:
61658
- var value = /** @type {number} */ (reader.readUint32());
61659
- msg.setTruncatedEvidenceCount(value);
61660
- break;
61661
- default:
61662
- reader.skipField();
61663
- break;
61664
- }
61665
- }
61666
- return msg;
61667
- };
61668
-
61669
-
61670
- /**
61671
- * Serializes the message to binary data (in protobuf wire format).
61672
- * @return {!Uint8Array}
61673
- */
61674
- proto.gateway.web.v1.AIProjectInsightCoverage.prototype.serializeBinary = function() {
61675
- var writer = new jspb.BinaryWriter();
61676
- proto.gateway.web.v1.AIProjectInsightCoverage.serializeBinaryToWriter(this, writer);
61677
- return writer.getResultBuffer();
61678
- };
61679
-
61680
-
61681
- /**
61682
- * Serializes the given message to binary data (in protobuf wire
61683
- * format), writing to the given BinaryWriter.
61684
- * @param {!proto.gateway.web.v1.AIProjectInsightCoverage} message
61685
- * @param {!jspb.BinaryWriter} writer
61686
- * @suppress {unusedLocalVariables} f is only used for nested messages
61687
- */
61688
- proto.gateway.web.v1.AIProjectInsightCoverage.serializeBinaryToWriter = function(message, writer) {
61689
- var f = undefined;
61690
- f = message.getStatus();
61691
- if (f !== 0.0) {
61692
- writer.writeEnum(
61693
- 1,
61694
- f
61695
- );
61696
- }
61697
- f = message.getStopReason();
61698
- if (f !== 0.0) {
61699
- writer.writeEnum(
61700
- 2,
61701
- f
61702
- );
61703
- }
61704
- f = message.getOverviewSessionCount();
61705
- if (f !== 0) {
61706
- writer.writeUint32(
61707
- 3,
61708
- f
61709
- );
61710
- }
61711
- f = message.getEvidenceSessionCount();
61712
- if (f !== 0) {
61713
- writer.writeUint32(
61714
- 4,
61715
- f
61716
- );
61717
- }
61718
- f = message.getEvidencePersonCount();
61719
- if (f !== 0) {
61720
- writer.writeUint32(
61721
- 5,
61722
- f
61723
- );
61724
- }
61725
- f = message.getWithheldEvidenceCount();
61726
- if (f !== 0) {
61727
- writer.writeUint32(
61728
- 6,
61729
- f
61730
- );
61731
- }
61732
- f = message.getTruncatedEvidenceCount();
61733
- if (f !== 0) {
61734
- writer.writeUint32(
61735
- 7,
61736
- f
61737
- );
61738
- }
61739
- };
61740
-
61741
-
61742
- /**
61743
- * optional AIProjectInsightCoverageStatus status = 1;
61744
- * @return {!proto.gateway.web.v1.AIProjectInsightCoverageStatus}
61745
- */
61746
- proto.gateway.web.v1.AIProjectInsightCoverage.prototype.getStatus = function() {
61747
- return /** @type {!proto.gateway.web.v1.AIProjectInsightCoverageStatus} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
61748
- };
61749
-
61750
-
61751
- /**
61752
- * @param {!proto.gateway.web.v1.AIProjectInsightCoverageStatus} value
61753
- * @return {!proto.gateway.web.v1.AIProjectInsightCoverage} returns this
61754
- */
61755
- proto.gateway.web.v1.AIProjectInsightCoverage.prototype.setStatus = function(value) {
61756
- return jspb.Message.setProto3EnumField(this, 1, value);
61757
- };
61758
-
61759
-
61760
- /**
61761
- * optional AIProjectInsightStopReason stop_reason = 2;
61762
- * @return {!proto.gateway.web.v1.AIProjectInsightStopReason}
61763
- */
61764
- proto.gateway.web.v1.AIProjectInsightCoverage.prototype.getStopReason = function() {
61765
- return /** @type {!proto.gateway.web.v1.AIProjectInsightStopReason} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
61766
- };
61767
-
61768
-
61769
- /**
61770
- * @param {!proto.gateway.web.v1.AIProjectInsightStopReason} value
61771
- * @return {!proto.gateway.web.v1.AIProjectInsightCoverage} returns this
61772
- */
61773
- proto.gateway.web.v1.AIProjectInsightCoverage.prototype.setStopReason = function(value) {
61774
- return jspb.Message.setProto3EnumField(this, 2, value);
61775
- };
61776
-
61777
-
61778
- /**
61779
- * optional uint32 overview_session_count = 3;
61780
- * @return {number}
61781
- */
61782
- proto.gateway.web.v1.AIProjectInsightCoverage.prototype.getOverviewSessionCount = function() {
61783
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
61784
- };
61785
-
61786
-
61787
- /**
61788
- * @param {number} value
61789
- * @return {!proto.gateway.web.v1.AIProjectInsightCoverage} returns this
61790
- */
61791
- proto.gateway.web.v1.AIProjectInsightCoverage.prototype.setOverviewSessionCount = function(value) {
61792
- return jspb.Message.setProto3IntField(this, 3, value);
61793
- };
61794
-
61795
-
61796
- /**
61797
- * optional uint32 evidence_session_count = 4;
61798
- * @return {number}
61799
- */
61800
- proto.gateway.web.v1.AIProjectInsightCoverage.prototype.getEvidenceSessionCount = function() {
61801
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
61802
- };
61803
-
61804
-
61805
- /**
61806
- * @param {number} value
61807
- * @return {!proto.gateway.web.v1.AIProjectInsightCoverage} returns this
61808
- */
61809
- proto.gateway.web.v1.AIProjectInsightCoverage.prototype.setEvidenceSessionCount = function(value) {
61810
- return jspb.Message.setProto3IntField(this, 4, value);
61811
- };
61812
-
61813
-
61814
- /**
61815
- * optional uint32 evidence_person_count = 5;
61816
- * @return {number}
61817
- */
61818
- proto.gateway.web.v1.AIProjectInsightCoverage.prototype.getEvidencePersonCount = function() {
61819
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
61820
- };
61821
-
61822
-
61823
- /**
61824
- * @param {number} value
61825
- * @return {!proto.gateway.web.v1.AIProjectInsightCoverage} returns this
61826
- */
61827
- proto.gateway.web.v1.AIProjectInsightCoverage.prototype.setEvidencePersonCount = function(value) {
61828
- return jspb.Message.setProto3IntField(this, 5, value);
61829
- };
61830
-
61831
-
61832
- /**
61833
- * optional uint32 withheld_evidence_count = 6;
61834
- * @return {number}
61835
- */
61836
- proto.gateway.web.v1.AIProjectInsightCoverage.prototype.getWithheldEvidenceCount = function() {
61837
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
61838
- };
61839
-
61840
-
61841
- /**
61842
- * @param {number} value
61843
- * @return {!proto.gateway.web.v1.AIProjectInsightCoverage} returns this
61844
- */
61845
- proto.gateway.web.v1.AIProjectInsightCoverage.prototype.setWithheldEvidenceCount = function(value) {
61846
- return jspb.Message.setProto3IntField(this, 6, value);
61847
- };
61848
-
61849
-
61850
- /**
61851
- * optional uint32 truncated_evidence_count = 7;
61852
- * @return {number}
61853
- */
61854
- proto.gateway.web.v1.AIProjectInsightCoverage.prototype.getTruncatedEvidenceCount = function() {
61855
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
61856
- };
61857
-
61858
-
61859
- /**
61860
- * @param {number} value
61861
- * @return {!proto.gateway.web.v1.AIProjectInsightCoverage} returns this
61862
- */
61863
- proto.gateway.web.v1.AIProjectInsightCoverage.prototype.setTruncatedEvidenceCount = function(value) {
61864
- return jspb.Message.setProto3IntField(this, 7, value);
61114
+ proto.gateway.web.v1.AIProjectInsightCard.prototype.hasAnalyzedAt = function() {
61115
+ return jspb.Message.getField(this, 6) != null;
61865
61116
  };
61866
61117
 
61867
61118
 
@@ -62934,35 +62185,6 @@ proto.gateway.web.v1.TrackerSyncError = {
62934
62185
  TRACKER_SYNC_ERROR_INTERNAL: 7
62935
62186
  };
62936
62187
 
62937
- /**
62938
- * @enum {number}
62939
- */
62940
- proto.gateway.web.v1.AIProjectInsightAvailability = {
62941
- AI_PROJECT_INSIGHT_AVAILABILITY_UNSPECIFIED: 0,
62942
- AI_PROJECT_INSIGHT_AVAILABILITY_NOT_COMPUTED: 1,
62943
- AI_PROJECT_INSIGHT_AVAILABILITY_INSUFFICIENT_DATA: 2,
62944
- AI_PROJECT_INSIGHT_AVAILABILITY_READY: 3
62945
- };
62946
-
62947
- /**
62948
- * @enum {number}
62949
- */
62950
- proto.gateway.web.v1.AIProjectInsightCoverageStatus = {
62951
- AI_PROJECT_INSIGHT_COVERAGE_STATUS_UNSPECIFIED: 0,
62952
- AI_PROJECT_INSIGHT_COVERAGE_STATUS_COMPLETE: 1,
62953
- AI_PROJECT_INSIGHT_COVERAGE_STATUS_PARTIAL: 2
62954
- };
62955
-
62956
- /**
62957
- * @enum {number}
62958
- */
62959
- proto.gateway.web.v1.AIProjectInsightStopReason = {
62960
- AI_PROJECT_INSIGHT_STOP_REASON_UNSPECIFIED: 0,
62961
- AI_PROJECT_INSIGHT_STOP_REASON_OVERVIEW_PAGES: 1,
62962
- AI_PROJECT_INSIGHT_STOP_REASON_EVIDENCE_PAGES: 2,
62963
- AI_PROJECT_INSIGHT_STOP_REASON_EVIDENCE_BUDGET: 3
62964
- };
62965
-
62966
62188
  /**
62967
62189
  * @enum {number}
62968
62190
  */