@miradorlabs/web-grpc 3.47.0 → 3.49.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.
@@ -48,6 +48,14 @@ goog.exportSymbol('proto.gateway.web.v1.AIGitActivityFilter', null, global);
48
48
  goog.exportSymbol('proto.gateway.web.v1.AIGitOutcome', null, global);
49
49
  goog.exportSymbol('proto.gateway.web.v1.AIModelPrice', null, global);
50
50
  goog.exportSymbol('proto.gateway.web.v1.AIModelPriceFilter', null, global);
51
+ goog.exportSymbol('proto.gateway.web.v1.AIPromptComplexity', null, global);
52
+ goog.exportSymbol('proto.gateway.web.v1.AIPromptFrustration', null, global);
53
+ goog.exportSymbol('proto.gateway.web.v1.AIPromptScore', null, global);
54
+ goog.exportSymbol('proto.gateway.web.v1.AIPromptScoreSummary', null, global);
55
+ goog.exportSymbol('proto.gateway.web.v1.AIPromptScoreWeek', null, global);
56
+ goog.exportSymbol('proto.gateway.web.v1.AIPromptSentiment', null, global);
57
+ goog.exportSymbol('proto.gateway.web.v1.AIPromptSteering', null, global);
58
+ goog.exportSymbol('proto.gateway.web.v1.AIPromptSteeringCount', null, global);
51
59
  goog.exportSymbol('proto.gateway.web.v1.AIResourceDimension', null, global);
52
60
  goog.exportSymbol('proto.gateway.web.v1.AIResourceRankingGroupBy', null, global);
53
61
  goog.exportSymbol('proto.gateway.web.v1.AISessionAgentReliability', null, global);
@@ -99,6 +107,8 @@ goog.exportSymbol('proto.gateway.web.v1.FileTierBucket', null, global);
99
107
  goog.exportSymbol('proto.gateway.web.v1.FileTiers', null, global);
100
108
  goog.exportSymbol('proto.gateway.web.v1.FilesSummary', null, global);
101
109
  goog.exportSymbol('proto.gateway.web.v1.FilesSummaryRequest', null, global);
110
+ goog.exportSymbol('proto.gateway.web.v1.GetPromptScoreTrendRequest', null, global);
111
+ goog.exportSymbol('proto.gateway.web.v1.GetPromptScoreTrendResponse', null, global);
102
112
  goog.exportSymbol('proto.gateway.web.v1.GetSessionAnalysisRequest', null, global);
103
113
  goog.exportSymbol('proto.gateway.web.v1.GetSessionAnalysisResponse', null, global);
104
114
  goog.exportSymbol('proto.gateway.web.v1.GetSessionScoreTrendRequest', null, global);
@@ -143,6 +153,7 @@ goog.exportSymbol('proto.gateway.web.v1.ProjectSummariesRequest', null, global);
143
153
  goog.exportSymbol('proto.gateway.web.v1.ProjectSummary', null, global);
144
154
  goog.exportSymbol('proto.gateway.web.v1.ProjectSummaryActor', null, global);
145
155
  goog.exportSymbol('proto.gateway.web.v1.ProjectUsageBucket', null, global);
156
+ goog.exportSymbol('proto.gateway.web.v1.PromptScoreTrendFilter', null, global);
146
157
  goog.exportSymbol('proto.gateway.web.v1.RelayHeartbeat', null, global);
147
158
  goog.exportSymbol('proto.gateway.web.v1.RelayHeartbeatFilter', null, global);
148
159
  goog.exportSymbol('proto.gateway.web.v1.RelayHeartbeatSort', null, global);
@@ -542,6 +553,153 @@ if (goog.DEBUG && !COMPILED) {
542
553
  */
543
554
  proto.gateway.web.v1.AIContentPart.displayName = 'proto.gateway.web.v1.AIContentPart';
544
555
  }
556
+ /**
557
+ * Generated by JsPbCodeGenerator.
558
+ * @param {Array=} opt_data Optional initial data array, typically from a
559
+ * server response, or constructed directly in Javascript. The array is used
560
+ * in place and becomes part of the constructed object. It is not cloned.
561
+ * If no data is provided, the constructed object will be empty, but still
562
+ * valid.
563
+ * @extends {jspb.Message}
564
+ * @constructor
565
+ */
566
+ proto.gateway.web.v1.AIPromptScore = function(opt_data) {
567
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
568
+ };
569
+ goog.inherits(proto.gateway.web.v1.AIPromptScore, jspb.Message);
570
+ if (goog.DEBUG && !COMPILED) {
571
+ /**
572
+ * @public
573
+ * @override
574
+ */
575
+ proto.gateway.web.v1.AIPromptScore.displayName = 'proto.gateway.web.v1.AIPromptScore';
576
+ }
577
+ /**
578
+ * Generated by JsPbCodeGenerator.
579
+ * @param {Array=} opt_data Optional initial data array, typically from a
580
+ * server response, or constructed directly in Javascript. The array is used
581
+ * in place and becomes part of the constructed object. It is not cloned.
582
+ * If no data is provided, the constructed object will be empty, but still
583
+ * valid.
584
+ * @extends {jspb.Message}
585
+ * @constructor
586
+ */
587
+ proto.gateway.web.v1.AIPromptScoreSummary = function(opt_data) {
588
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.AIPromptScoreSummary.repeatedFields_, null);
589
+ };
590
+ goog.inherits(proto.gateway.web.v1.AIPromptScoreSummary, jspb.Message);
591
+ if (goog.DEBUG && !COMPILED) {
592
+ /**
593
+ * @public
594
+ * @override
595
+ */
596
+ proto.gateway.web.v1.AIPromptScoreSummary.displayName = 'proto.gateway.web.v1.AIPromptScoreSummary';
597
+ }
598
+ /**
599
+ * Generated by JsPbCodeGenerator.
600
+ * @param {Array=} opt_data Optional initial data array, typically from a
601
+ * server response, or constructed directly in Javascript. The array is used
602
+ * in place and becomes part of the constructed object. It is not cloned.
603
+ * If no data is provided, the constructed object will be empty, but still
604
+ * valid.
605
+ * @extends {jspb.Message}
606
+ * @constructor
607
+ */
608
+ proto.gateway.web.v1.AIPromptSteeringCount = function(opt_data) {
609
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
610
+ };
611
+ goog.inherits(proto.gateway.web.v1.AIPromptSteeringCount, jspb.Message);
612
+ if (goog.DEBUG && !COMPILED) {
613
+ /**
614
+ * @public
615
+ * @override
616
+ */
617
+ proto.gateway.web.v1.AIPromptSteeringCount.displayName = 'proto.gateway.web.v1.AIPromptSteeringCount';
618
+ }
619
+ /**
620
+ * Generated by JsPbCodeGenerator.
621
+ * @param {Array=} opt_data Optional initial data array, typically from a
622
+ * server response, or constructed directly in Javascript. The array is used
623
+ * in place and becomes part of the constructed object. It is not cloned.
624
+ * If no data is provided, the constructed object will be empty, but still
625
+ * valid.
626
+ * @extends {jspb.Message}
627
+ * @constructor
628
+ */
629
+ proto.gateway.web.v1.GetPromptScoreTrendRequest = function(opt_data) {
630
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
631
+ };
632
+ goog.inherits(proto.gateway.web.v1.GetPromptScoreTrendRequest, jspb.Message);
633
+ if (goog.DEBUG && !COMPILED) {
634
+ /**
635
+ * @public
636
+ * @override
637
+ */
638
+ proto.gateway.web.v1.GetPromptScoreTrendRequest.displayName = 'proto.gateway.web.v1.GetPromptScoreTrendRequest';
639
+ }
640
+ /**
641
+ * Generated by JsPbCodeGenerator.
642
+ * @param {Array=} opt_data Optional initial data array, typically from a
643
+ * server response, or constructed directly in Javascript. The array is used
644
+ * in place and becomes part of the constructed object. It is not cloned.
645
+ * If no data is provided, the constructed object will be empty, but still
646
+ * valid.
647
+ * @extends {jspb.Message}
648
+ * @constructor
649
+ */
650
+ proto.gateway.web.v1.PromptScoreTrendFilter = function(opt_data) {
651
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.PromptScoreTrendFilter.repeatedFields_, null);
652
+ };
653
+ goog.inherits(proto.gateway.web.v1.PromptScoreTrendFilter, jspb.Message);
654
+ if (goog.DEBUG && !COMPILED) {
655
+ /**
656
+ * @public
657
+ * @override
658
+ */
659
+ proto.gateway.web.v1.PromptScoreTrendFilter.displayName = 'proto.gateway.web.v1.PromptScoreTrendFilter';
660
+ }
661
+ /**
662
+ * Generated by JsPbCodeGenerator.
663
+ * @param {Array=} opt_data Optional initial data array, typically from a
664
+ * server response, or constructed directly in Javascript. The array is used
665
+ * in place and becomes part of the constructed object. It is not cloned.
666
+ * If no data is provided, the constructed object will be empty, but still
667
+ * valid.
668
+ * @extends {jspb.Message}
669
+ * @constructor
670
+ */
671
+ proto.gateway.web.v1.GetPromptScoreTrendResponse = function(opt_data) {
672
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.GetPromptScoreTrendResponse.repeatedFields_, null);
673
+ };
674
+ goog.inherits(proto.gateway.web.v1.GetPromptScoreTrendResponse, jspb.Message);
675
+ if (goog.DEBUG && !COMPILED) {
676
+ /**
677
+ * @public
678
+ * @override
679
+ */
680
+ proto.gateway.web.v1.GetPromptScoreTrendResponse.displayName = 'proto.gateway.web.v1.GetPromptScoreTrendResponse';
681
+ }
682
+ /**
683
+ * Generated by JsPbCodeGenerator.
684
+ * @param {Array=} opt_data Optional initial data array, typically from a
685
+ * server response, or constructed directly in Javascript. The array is used
686
+ * in place and becomes part of the constructed object. It is not cloned.
687
+ * If no data is provided, the constructed object will be empty, but still
688
+ * valid.
689
+ * @extends {jspb.Message}
690
+ * @constructor
691
+ */
692
+ proto.gateway.web.v1.AIPromptScoreWeek = function(opt_data) {
693
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
694
+ };
695
+ goog.inherits(proto.gateway.web.v1.AIPromptScoreWeek, jspb.Message);
696
+ if (goog.DEBUG && !COMPILED) {
697
+ /**
698
+ * @public
699
+ * @override
700
+ */
701
+ proto.gateway.web.v1.AIPromptScoreWeek.displayName = 'proto.gateway.web.v1.AIPromptScoreWeek';
702
+ }
545
703
  /**
546
704
  * Generated by JsPbCodeGenerator.
547
705
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -4931,7 +5089,8 @@ recap: jspb.Message.getFieldWithDefault(msg, 34, ""),
4931
5089
  workType: jspb.Message.getFieldWithDefault(msg, 36, 0),
4932
5090
  complexity: jspb.Message.getFieldWithDefault(msg, 37, 0),
4933
5091
  sessionScore: (f = jspb.Message.getField(msg, 38)) == null ? undefined : f,
4934
- outcome: jspb.Message.getFieldWithDefault(msg, 39, 0)
5092
+ outcome: jspb.Message.getFieldWithDefault(msg, 39, 0),
5093
+ promptScoreSummary: (f = msg.getPromptScoreSummary()) && proto.gateway.web.v1.AIPromptScoreSummary.toObject(includeInstance, f)
4935
5094
  };
4936
5095
 
4937
5096
  if (includeInstance) {
@@ -5127,6 +5286,11 @@ proto.gateway.web.v1.AISessionSummary.deserializeBinaryFromReader = function(msg
5127
5286
  var value = /** @type {!proto.gateway.web.v1.AISessionOutcome} */ (reader.readEnum());
5128
5287
  msg.setOutcome(value);
5129
5288
  break;
5289
+ case 40:
5290
+ var value = new proto.gateway.web.v1.AIPromptScoreSummary;
5291
+ reader.readMessage(value,proto.gateway.web.v1.AIPromptScoreSummary.deserializeBinaryFromReader);
5292
+ msg.setPromptScoreSummary(value);
5293
+ break;
5130
5294
  default:
5131
5295
  reader.skipField();
5132
5296
  break;
@@ -5432,6 +5596,14 @@ proto.gateway.web.v1.AISessionSummary.serializeBinaryToWriter = function(message
5432
5596
  f
5433
5597
  );
5434
5598
  }
5599
+ f = message.getPromptScoreSummary();
5600
+ if (f != null) {
5601
+ writer.writeMessage(
5602
+ 40,
5603
+ f,
5604
+ proto.gateway.web.v1.AIPromptScoreSummary.serializeBinaryToWriter
5605
+ );
5606
+ }
5435
5607
  };
5436
5608
 
5437
5609
 
@@ -6421,6 +6593,43 @@ proto.gateway.web.v1.AISessionSummary.prototype.setOutcome = function(value) {
6421
6593
  };
6422
6594
 
6423
6595
 
6596
+ /**
6597
+ * optional AIPromptScoreSummary prompt_score_summary = 40;
6598
+ * @return {?proto.gateway.web.v1.AIPromptScoreSummary}
6599
+ */
6600
+ proto.gateway.web.v1.AISessionSummary.prototype.getPromptScoreSummary = function() {
6601
+ return /** @type{?proto.gateway.web.v1.AIPromptScoreSummary} */ (
6602
+ jspb.Message.getWrapperField(this, proto.gateway.web.v1.AIPromptScoreSummary, 40));
6603
+ };
6604
+
6605
+
6606
+ /**
6607
+ * @param {?proto.gateway.web.v1.AIPromptScoreSummary|undefined} value
6608
+ * @return {!proto.gateway.web.v1.AISessionSummary} returns this
6609
+ */
6610
+ proto.gateway.web.v1.AISessionSummary.prototype.setPromptScoreSummary = function(value) {
6611
+ return jspb.Message.setWrapperField(this, 40, value);
6612
+ };
6613
+
6614
+
6615
+ /**
6616
+ * Clears the message field making it undefined.
6617
+ * @return {!proto.gateway.web.v1.AISessionSummary} returns this
6618
+ */
6619
+ proto.gateway.web.v1.AISessionSummary.prototype.clearPromptScoreSummary = function() {
6620
+ return this.setPromptScoreSummary(undefined);
6621
+ };
6622
+
6623
+
6624
+ /**
6625
+ * Returns whether this field is set.
6626
+ * @return {boolean}
6627
+ */
6628
+ proto.gateway.web.v1.AISessionSummary.prototype.hasPromptScoreSummary = function() {
6629
+ return jspb.Message.getField(this, 40) != null;
6630
+ };
6631
+
6632
+
6424
6633
 
6425
6634
 
6426
6635
 
@@ -8574,7 +8783,8 @@ subtype: jspb.Message.getFieldWithDefault(msg, 25, ""),
8574
8783
  context: jspb.Message.getFieldWithDefault(msg, 26, ""),
8575
8784
  callCategory: jspb.Message.getFieldWithDefault(msg, 27, ""),
8576
8785
  replyPhase: jspb.Message.getFieldWithDefault(msg, 28, ""),
8577
- subjectAgentId: jspb.Message.getFieldWithDefault(msg, 29, "")
8786
+ subjectAgentId: jspb.Message.getFieldWithDefault(msg, 29, ""),
8787
+ promptScore: (f = msg.getPromptScore()) && proto.gateway.web.v1.AIPromptScore.toObject(includeInstance, f)
8578
8788
  };
8579
8789
 
8580
8790
  if (includeInstance) {
@@ -8730,6 +8940,11 @@ proto.gateway.web.v1.AISessionEvent.deserializeBinaryFromReader = function(msg,
8730
8940
  var value = /** @type {string} */ (reader.readStringRequireUtf8());
8731
8941
  msg.setSubjectAgentId(value);
8732
8942
  break;
8943
+ case 30:
8944
+ var value = new proto.gateway.web.v1.AIPromptScore;
8945
+ reader.readMessage(value,proto.gateway.web.v1.AIPromptScore.deserializeBinaryFromReader);
8946
+ msg.setPromptScore(value);
8947
+ break;
8733
8948
  default:
8734
8949
  reader.skipField();
8735
8950
  break;
@@ -8965,6 +9180,14 @@ proto.gateway.web.v1.AISessionEvent.serializeBinaryToWriter = function(message,
8965
9180
  f
8966
9181
  );
8967
9182
  }
9183
+ f = message.getPromptScore();
9184
+ if (f != null) {
9185
+ writer.writeMessage(
9186
+ 30,
9187
+ f,
9188
+ proto.gateway.web.v1.AIPromptScore.serializeBinaryToWriter
9189
+ );
9190
+ }
8968
9191
  };
8969
9192
 
8970
9193
 
@@ -9270,335 +9493,1913 @@ proto.gateway.web.v1.AISessionEvent.prototype.clearDurationMs = function() {
9270
9493
 
9271
9494
 
9272
9495
  /**
9273
- * Returns whether this field is set.
9274
- * @return {boolean}
9496
+ * Returns whether this field is set.
9497
+ * @return {boolean}
9498
+ */
9499
+ proto.gateway.web.v1.AISessionEvent.prototype.hasDurationMs = function() {
9500
+ return jspb.Message.getField(this, 12) != null;
9501
+ };
9502
+
9503
+
9504
+ /**
9505
+ * optional uint64 ttft_ms = 13;
9506
+ * @return {number}
9507
+ */
9508
+ proto.gateway.web.v1.AISessionEvent.prototype.getTtftMs = function() {
9509
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 13, 0));
9510
+ };
9511
+
9512
+
9513
+ /**
9514
+ * @param {number} value
9515
+ * @return {!proto.gateway.web.v1.AISessionEvent} returns this
9516
+ */
9517
+ proto.gateway.web.v1.AISessionEvent.prototype.setTtftMs = function(value) {
9518
+ return jspb.Message.setField(this, 13, value);
9519
+ };
9520
+
9521
+
9522
+ /**
9523
+ * Clears the field making it undefined.
9524
+ * @return {!proto.gateway.web.v1.AISessionEvent} returns this
9525
+ */
9526
+ proto.gateway.web.v1.AISessionEvent.prototype.clearTtftMs = function() {
9527
+ return jspb.Message.setField(this, 13, undefined);
9528
+ };
9529
+
9530
+
9531
+ /**
9532
+ * Returns whether this field is set.
9533
+ * @return {boolean}
9534
+ */
9535
+ proto.gateway.web.v1.AISessionEvent.prototype.hasTtftMs = function() {
9536
+ return jspb.Message.getField(this, 13) != null;
9537
+ };
9538
+
9539
+
9540
+ /**
9541
+ * optional string model_call_id = 14;
9542
+ * @return {string}
9543
+ */
9544
+ proto.gateway.web.v1.AISessionEvent.prototype.getModelCallId = function() {
9545
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
9546
+ };
9547
+
9548
+
9549
+ /**
9550
+ * @param {string} value
9551
+ * @return {!proto.gateway.web.v1.AISessionEvent} returns this
9552
+ */
9553
+ proto.gateway.web.v1.AISessionEvent.prototype.setModelCallId = function(value) {
9554
+ return jspb.Message.setProto3StringField(this, 14, value);
9555
+ };
9556
+
9557
+
9558
+ /**
9559
+ * optional string tool_call_id = 15;
9560
+ * @return {string}
9561
+ */
9562
+ proto.gateway.web.v1.AISessionEvent.prototype.getToolCallId = function() {
9563
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
9564
+ };
9565
+
9566
+
9567
+ /**
9568
+ * @param {string} value
9569
+ * @return {!proto.gateway.web.v1.AISessionEvent} returns this
9570
+ */
9571
+ proto.gateway.web.v1.AISessionEvent.prototype.setToolCallId = function(value) {
9572
+ return jspb.Message.setProto3StringField(this, 15, value);
9573
+ };
9574
+
9575
+
9576
+ /**
9577
+ * optional string logical_event_id = 16;
9578
+ * @return {string}
9579
+ */
9580
+ proto.gateway.web.v1.AISessionEvent.prototype.getLogicalEventId = function() {
9581
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
9582
+ };
9583
+
9584
+
9585
+ /**
9586
+ * @param {string} value
9587
+ * @return {!proto.gateway.web.v1.AISessionEvent} returns this
9588
+ */
9589
+ proto.gateway.web.v1.AISessionEvent.prototype.setLogicalEventId = function(value) {
9590
+ return jspb.Message.setProto3StringField(this, 16, value);
9591
+ };
9592
+
9593
+
9594
+ /**
9595
+ * optional uint32 version = 17;
9596
+ * @return {number}
9597
+ */
9598
+ proto.gateway.web.v1.AISessionEvent.prototype.getVersion = function() {
9599
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 17, 0));
9600
+ };
9601
+
9602
+
9603
+ /**
9604
+ * @param {number} value
9605
+ * @return {!proto.gateway.web.v1.AISessionEvent} returns this
9606
+ */
9607
+ proto.gateway.web.v1.AISessionEvent.prototype.setVersion = function(value) {
9608
+ return jspb.Message.setProto3IntField(this, 17, value);
9609
+ };
9610
+
9611
+
9612
+ /**
9613
+ * optional string cursor = 18;
9614
+ * @return {string}
9615
+ */
9616
+ proto.gateway.web.v1.AISessionEvent.prototype.getCursor = function() {
9617
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
9618
+ };
9619
+
9620
+
9621
+ /**
9622
+ * @param {string} value
9623
+ * @return {!proto.gateway.web.v1.AISessionEvent} returns this
9624
+ */
9625
+ proto.gateway.web.v1.AISessionEvent.prototype.setCursor = function(value) {
9626
+ return jspb.Message.setProto3StringField(this, 18, value);
9627
+ };
9628
+
9629
+
9630
+ /**
9631
+ * optional AIFundingMode funding_mode = 19;
9632
+ * @return {!proto.gateway.web.v1.AIFundingMode}
9633
+ */
9634
+ proto.gateway.web.v1.AISessionEvent.prototype.getFundingMode = function() {
9635
+ return /** @type {!proto.gateway.web.v1.AIFundingMode} */ (jspb.Message.getFieldWithDefault(this, 19, 0));
9636
+ };
9637
+
9638
+
9639
+ /**
9640
+ * @param {!proto.gateway.web.v1.AIFundingMode} value
9641
+ * @return {!proto.gateway.web.v1.AISessionEvent} returns this
9642
+ */
9643
+ proto.gateway.web.v1.AISessionEvent.prototype.setFundingMode = function(value) {
9644
+ return jspb.Message.setProto3EnumField(this, 19, value);
9645
+ };
9646
+
9647
+
9648
+ /**
9649
+ * optional string agent_id = 20;
9650
+ * @return {string}
9651
+ */
9652
+ proto.gateway.web.v1.AISessionEvent.prototype.getAgentId = function() {
9653
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 20, ""));
9654
+ };
9655
+
9656
+
9657
+ /**
9658
+ * @param {string} value
9659
+ * @return {!proto.gateway.web.v1.AISessionEvent} returns this
9660
+ */
9661
+ proto.gateway.web.v1.AISessionEvent.prototype.setAgentId = function(value) {
9662
+ return jspb.Message.setProto3StringField(this, 20, value);
9663
+ };
9664
+
9665
+
9666
+ /**
9667
+ * optional string parent_agent_id = 21;
9668
+ * @return {string}
9669
+ */
9670
+ proto.gateway.web.v1.AISessionEvent.prototype.getParentAgentId = function() {
9671
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 21, ""));
9672
+ };
9673
+
9674
+
9675
+ /**
9676
+ * @param {string} value
9677
+ * @return {!proto.gateway.web.v1.AISessionEvent} returns this
9678
+ */
9679
+ proto.gateway.web.v1.AISessionEvent.prototype.setParentAgentId = function(value) {
9680
+ return jspb.Message.setProto3StringField(this, 21, value);
9681
+ };
9682
+
9683
+
9684
+ /**
9685
+ * optional bool is_subagent = 22;
9686
+ * @return {boolean}
9687
+ */
9688
+ proto.gateway.web.v1.AISessionEvent.prototype.getIsSubagent = function() {
9689
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 22, false));
9690
+ };
9691
+
9692
+
9693
+ /**
9694
+ * @param {boolean} value
9695
+ * @return {!proto.gateway.web.v1.AISessionEvent} returns this
9696
+ */
9697
+ proto.gateway.web.v1.AISessionEvent.prototype.setIsSubagent = function(value) {
9698
+ return jspb.Message.setProto3BooleanField(this, 22, value);
9699
+ };
9700
+
9701
+
9702
+ /**
9703
+ * optional string agent_name = 23;
9704
+ * @return {string}
9705
+ */
9706
+ proto.gateway.web.v1.AISessionEvent.prototype.getAgentName = function() {
9707
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 23, ""));
9708
+ };
9709
+
9710
+
9711
+ /**
9712
+ * @param {string} value
9713
+ * @return {!proto.gateway.web.v1.AISessionEvent} returns this
9714
+ */
9715
+ proto.gateway.web.v1.AISessionEvent.prototype.setAgentName = function(value) {
9716
+ return jspb.Message.setProto3StringField(this, 23, value);
9717
+ };
9718
+
9719
+
9720
+ /**
9721
+ * optional string effort = 24;
9722
+ * @return {string}
9723
+ */
9724
+ proto.gateway.web.v1.AISessionEvent.prototype.getEffort = function() {
9725
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 24, ""));
9726
+ };
9727
+
9728
+
9729
+ /**
9730
+ * @param {string} value
9731
+ * @return {!proto.gateway.web.v1.AISessionEvent} returns this
9732
+ */
9733
+ proto.gateway.web.v1.AISessionEvent.prototype.setEffort = function(value) {
9734
+ return jspb.Message.setProto3StringField(this, 24, value);
9735
+ };
9736
+
9737
+
9738
+ /**
9739
+ * optional string subtype = 25;
9740
+ * @return {string}
9741
+ */
9742
+ proto.gateway.web.v1.AISessionEvent.prototype.getSubtype = function() {
9743
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 25, ""));
9744
+ };
9745
+
9746
+
9747
+ /**
9748
+ * @param {string} value
9749
+ * @return {!proto.gateway.web.v1.AISessionEvent} returns this
9750
+ */
9751
+ proto.gateway.web.v1.AISessionEvent.prototype.setSubtype = function(value) {
9752
+ return jspb.Message.setProto3StringField(this, 25, value);
9753
+ };
9754
+
9755
+
9756
+ /**
9757
+ * optional string context = 26;
9758
+ * @return {string}
9759
+ */
9760
+ proto.gateway.web.v1.AISessionEvent.prototype.getContext = function() {
9761
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 26, ""));
9762
+ };
9763
+
9764
+
9765
+ /**
9766
+ * @param {string} value
9767
+ * @return {!proto.gateway.web.v1.AISessionEvent} returns this
9768
+ */
9769
+ proto.gateway.web.v1.AISessionEvent.prototype.setContext = function(value) {
9770
+ return jspb.Message.setProto3StringField(this, 26, value);
9771
+ };
9772
+
9773
+
9774
+ /**
9775
+ * optional string call_category = 27;
9776
+ * @return {string}
9777
+ */
9778
+ proto.gateway.web.v1.AISessionEvent.prototype.getCallCategory = function() {
9779
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 27, ""));
9780
+ };
9781
+
9782
+
9783
+ /**
9784
+ * @param {string} value
9785
+ * @return {!proto.gateway.web.v1.AISessionEvent} returns this
9786
+ */
9787
+ proto.gateway.web.v1.AISessionEvent.prototype.setCallCategory = function(value) {
9788
+ return jspb.Message.setProto3StringField(this, 27, value);
9789
+ };
9790
+
9791
+
9792
+ /**
9793
+ * optional string reply_phase = 28;
9794
+ * @return {string}
9795
+ */
9796
+ proto.gateway.web.v1.AISessionEvent.prototype.getReplyPhase = function() {
9797
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 28, ""));
9798
+ };
9799
+
9800
+
9801
+ /**
9802
+ * @param {string} value
9803
+ * @return {!proto.gateway.web.v1.AISessionEvent} returns this
9804
+ */
9805
+ proto.gateway.web.v1.AISessionEvent.prototype.setReplyPhase = function(value) {
9806
+ return jspb.Message.setProto3StringField(this, 28, value);
9807
+ };
9808
+
9809
+
9810
+ /**
9811
+ * optional string subject_agent_id = 29;
9812
+ * @return {string}
9813
+ */
9814
+ proto.gateway.web.v1.AISessionEvent.prototype.getSubjectAgentId = function() {
9815
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 29, ""));
9816
+ };
9817
+
9818
+
9819
+ /**
9820
+ * @param {string} value
9821
+ * @return {!proto.gateway.web.v1.AISessionEvent} returns this
9822
+ */
9823
+ proto.gateway.web.v1.AISessionEvent.prototype.setSubjectAgentId = function(value) {
9824
+ return jspb.Message.setProto3StringField(this, 29, value);
9825
+ };
9826
+
9827
+
9828
+ /**
9829
+ * optional AIPromptScore prompt_score = 30;
9830
+ * @return {?proto.gateway.web.v1.AIPromptScore}
9831
+ */
9832
+ proto.gateway.web.v1.AISessionEvent.prototype.getPromptScore = function() {
9833
+ return /** @type{?proto.gateway.web.v1.AIPromptScore} */ (
9834
+ jspb.Message.getWrapperField(this, proto.gateway.web.v1.AIPromptScore, 30));
9835
+ };
9836
+
9837
+
9838
+ /**
9839
+ * @param {?proto.gateway.web.v1.AIPromptScore|undefined} value
9840
+ * @return {!proto.gateway.web.v1.AISessionEvent} returns this
9841
+ */
9842
+ proto.gateway.web.v1.AISessionEvent.prototype.setPromptScore = function(value) {
9843
+ return jspb.Message.setWrapperField(this, 30, value);
9844
+ };
9845
+
9846
+
9847
+ /**
9848
+ * Clears the message field making it undefined.
9849
+ * @return {!proto.gateway.web.v1.AISessionEvent} returns this
9850
+ */
9851
+ proto.gateway.web.v1.AISessionEvent.prototype.clearPromptScore = function() {
9852
+ return this.setPromptScore(undefined);
9853
+ };
9854
+
9855
+
9856
+ /**
9857
+ * Returns whether this field is set.
9858
+ * @return {boolean}
9859
+ */
9860
+ proto.gateway.web.v1.AISessionEvent.prototype.hasPromptScore = function() {
9861
+ return jspb.Message.getField(this, 30) != null;
9862
+ };
9863
+
9864
+
9865
+
9866
+
9867
+
9868
+ if (jspb.Message.GENERATE_TO_OBJECT) {
9869
+ /**
9870
+ * Creates an object representation of this proto.
9871
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
9872
+ * Optional fields that are not set will be set to undefined.
9873
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
9874
+ * For the list of reserved names please see:
9875
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
9876
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
9877
+ * JSPB instance for transitional soy proto support:
9878
+ * http://goto/soy-param-migration
9879
+ * @return {!Object}
9880
+ */
9881
+ proto.gateway.web.v1.AIContentPart.prototype.toObject = function(opt_includeInstance) {
9882
+ return proto.gateway.web.v1.AIContentPart.toObject(opt_includeInstance, this);
9883
+ };
9884
+
9885
+
9886
+ /**
9887
+ * Static version of the {@see toObject} method.
9888
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
9889
+ * the JSPB instance for transitional soy proto support:
9890
+ * http://goto/soy-param-migration
9891
+ * @param {!proto.gateway.web.v1.AIContentPart} msg The msg instance to transform.
9892
+ * @return {!Object}
9893
+ * @suppress {unusedLocalVariables} f is only used for nested messages
9894
+ */
9895
+ proto.gateway.web.v1.AIContentPart.toObject = function(includeInstance, msg) {
9896
+ var f, obj = {
9897
+ partIndex: jspb.Message.getFieldWithDefault(msg, 1, 0),
9898
+ contentType: jspb.Message.getFieldWithDefault(msg, 2, ""),
9899
+ content: jspb.Message.getFieldWithDefault(msg, 3, "")
9900
+ };
9901
+
9902
+ if (includeInstance) {
9903
+ obj.$jspbMessageInstance = msg;
9904
+ }
9905
+ return obj;
9906
+ };
9907
+ }
9908
+
9909
+
9910
+ /**
9911
+ * Deserializes binary data (in protobuf wire format).
9912
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
9913
+ * @return {!proto.gateway.web.v1.AIContentPart}
9914
+ */
9915
+ proto.gateway.web.v1.AIContentPart.deserializeBinary = function(bytes) {
9916
+ var reader = new jspb.BinaryReader(bytes);
9917
+ var msg = new proto.gateway.web.v1.AIContentPart;
9918
+ return proto.gateway.web.v1.AIContentPart.deserializeBinaryFromReader(msg, reader);
9919
+ };
9920
+
9921
+
9922
+ /**
9923
+ * Deserializes binary data (in protobuf wire format) from the
9924
+ * given reader into the given message object.
9925
+ * @param {!proto.gateway.web.v1.AIContentPart} msg The message object to deserialize into.
9926
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
9927
+ * @return {!proto.gateway.web.v1.AIContentPart}
9928
+ */
9929
+ proto.gateway.web.v1.AIContentPart.deserializeBinaryFromReader = function(msg, reader) {
9930
+ while (reader.nextField()) {
9931
+ if (reader.isEndGroup()) {
9932
+ break;
9933
+ }
9934
+ var field = reader.getFieldNumber();
9935
+ switch (field) {
9936
+ case 1:
9937
+ var value = /** @type {number} */ (reader.readUint32());
9938
+ msg.setPartIndex(value);
9939
+ break;
9940
+ case 2:
9941
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
9942
+ msg.setContentType(value);
9943
+ break;
9944
+ case 3:
9945
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
9946
+ msg.setContent(value);
9947
+ break;
9948
+ default:
9949
+ reader.skipField();
9950
+ break;
9951
+ }
9952
+ }
9953
+ return msg;
9954
+ };
9955
+
9956
+
9957
+ /**
9958
+ * Serializes the message to binary data (in protobuf wire format).
9959
+ * @return {!Uint8Array}
9960
+ */
9961
+ proto.gateway.web.v1.AIContentPart.prototype.serializeBinary = function() {
9962
+ var writer = new jspb.BinaryWriter();
9963
+ proto.gateway.web.v1.AIContentPart.serializeBinaryToWriter(this, writer);
9964
+ return writer.getResultBuffer();
9965
+ };
9966
+
9967
+
9968
+ /**
9969
+ * Serializes the given message to binary data (in protobuf wire
9970
+ * format), writing to the given BinaryWriter.
9971
+ * @param {!proto.gateway.web.v1.AIContentPart} message
9972
+ * @param {!jspb.BinaryWriter} writer
9973
+ * @suppress {unusedLocalVariables} f is only used for nested messages
9974
+ */
9975
+ proto.gateway.web.v1.AIContentPart.serializeBinaryToWriter = function(message, writer) {
9976
+ var f = undefined;
9977
+ f = message.getPartIndex();
9978
+ if (f !== 0) {
9979
+ writer.writeUint32(
9980
+ 1,
9981
+ f
9982
+ );
9983
+ }
9984
+ f = message.getContentType();
9985
+ if (f.length > 0) {
9986
+ writer.writeString(
9987
+ 2,
9988
+ f
9989
+ );
9990
+ }
9991
+ f = message.getContent();
9992
+ if (f.length > 0) {
9993
+ writer.writeString(
9994
+ 3,
9995
+ f
9996
+ );
9997
+ }
9998
+ };
9999
+
10000
+
10001
+ /**
10002
+ * optional uint32 part_index = 1;
10003
+ * @return {number}
10004
+ */
10005
+ proto.gateway.web.v1.AIContentPart.prototype.getPartIndex = function() {
10006
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
10007
+ };
10008
+
10009
+
10010
+ /**
10011
+ * @param {number} value
10012
+ * @return {!proto.gateway.web.v1.AIContentPart} returns this
10013
+ */
10014
+ proto.gateway.web.v1.AIContentPart.prototype.setPartIndex = function(value) {
10015
+ return jspb.Message.setProto3IntField(this, 1, value);
10016
+ };
10017
+
10018
+
10019
+ /**
10020
+ * optional string content_type = 2;
10021
+ * @return {string}
10022
+ */
10023
+ proto.gateway.web.v1.AIContentPart.prototype.getContentType = function() {
10024
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
10025
+ };
10026
+
10027
+
10028
+ /**
10029
+ * @param {string} value
10030
+ * @return {!proto.gateway.web.v1.AIContentPart} returns this
10031
+ */
10032
+ proto.gateway.web.v1.AIContentPart.prototype.setContentType = function(value) {
10033
+ return jspb.Message.setProto3StringField(this, 2, value);
10034
+ };
10035
+
10036
+
10037
+ /**
10038
+ * optional string content = 3;
10039
+ * @return {string}
10040
+ */
10041
+ proto.gateway.web.v1.AIContentPart.prototype.getContent = function() {
10042
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
10043
+ };
10044
+
10045
+
10046
+ /**
10047
+ * @param {string} value
10048
+ * @return {!proto.gateway.web.v1.AIContentPart} returns this
10049
+ */
10050
+ proto.gateway.web.v1.AIContentPart.prototype.setContent = function(value) {
10051
+ return jspb.Message.setProto3StringField(this, 3, value);
10052
+ };
10053
+
10054
+
10055
+
10056
+
10057
+
10058
+ if (jspb.Message.GENERATE_TO_OBJECT) {
10059
+ /**
10060
+ * Creates an object representation of this proto.
10061
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
10062
+ * Optional fields that are not set will be set to undefined.
10063
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
10064
+ * For the list of reserved names please see:
10065
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
10066
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
10067
+ * JSPB instance for transitional soy proto support:
10068
+ * http://goto/soy-param-migration
10069
+ * @return {!Object}
10070
+ */
10071
+ proto.gateway.web.v1.AIPromptScore.prototype.toObject = function(opt_includeInstance) {
10072
+ return proto.gateway.web.v1.AIPromptScore.toObject(opt_includeInstance, this);
10073
+ };
10074
+
10075
+
10076
+ /**
10077
+ * Static version of the {@see toObject} method.
10078
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
10079
+ * the JSPB instance for transitional soy proto support:
10080
+ * http://goto/soy-param-migration
10081
+ * @param {!proto.gateway.web.v1.AIPromptScore} msg The msg instance to transform.
10082
+ * @return {!Object}
10083
+ * @suppress {unusedLocalVariables} f is only used for nested messages
10084
+ */
10085
+ proto.gateway.web.v1.AIPromptScore.toObject = function(includeInstance, msg) {
10086
+ var f, obj = {
10087
+ complexity: jspb.Message.getFieldWithDefault(msg, 1, 0),
10088
+ clarity: jspb.Message.getFieldWithDefault(msg, 2, 0),
10089
+ steering: jspb.Message.getFieldWithDefault(msg, 3, 0),
10090
+ frustration: jspb.Message.getFieldWithDefault(msg, 4, 0),
10091
+ sentiment: jspb.Message.getFieldWithDefault(msg, 5, 0)
10092
+ };
10093
+
10094
+ if (includeInstance) {
10095
+ obj.$jspbMessageInstance = msg;
10096
+ }
10097
+ return obj;
10098
+ };
10099
+ }
10100
+
10101
+
10102
+ /**
10103
+ * Deserializes binary data (in protobuf wire format).
10104
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
10105
+ * @return {!proto.gateway.web.v1.AIPromptScore}
10106
+ */
10107
+ proto.gateway.web.v1.AIPromptScore.deserializeBinary = function(bytes) {
10108
+ var reader = new jspb.BinaryReader(bytes);
10109
+ var msg = new proto.gateway.web.v1.AIPromptScore;
10110
+ return proto.gateway.web.v1.AIPromptScore.deserializeBinaryFromReader(msg, reader);
10111
+ };
10112
+
10113
+
10114
+ /**
10115
+ * Deserializes binary data (in protobuf wire format) from the
10116
+ * given reader into the given message object.
10117
+ * @param {!proto.gateway.web.v1.AIPromptScore} msg The message object to deserialize into.
10118
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
10119
+ * @return {!proto.gateway.web.v1.AIPromptScore}
10120
+ */
10121
+ proto.gateway.web.v1.AIPromptScore.deserializeBinaryFromReader = function(msg, reader) {
10122
+ while (reader.nextField()) {
10123
+ if (reader.isEndGroup()) {
10124
+ break;
10125
+ }
10126
+ var field = reader.getFieldNumber();
10127
+ switch (field) {
10128
+ case 1:
10129
+ var value = /** @type {!proto.gateway.web.v1.AIPromptComplexity} */ (reader.readEnum());
10130
+ msg.setComplexity(value);
10131
+ break;
10132
+ case 2:
10133
+ var value = /** @type {number} */ (reader.readUint32());
10134
+ msg.setClarity(value);
10135
+ break;
10136
+ case 3:
10137
+ var value = /** @type {!proto.gateway.web.v1.AIPromptSteering} */ (reader.readEnum());
10138
+ msg.setSteering(value);
10139
+ break;
10140
+ case 4:
10141
+ var value = /** @type {!proto.gateway.web.v1.AIPromptFrustration} */ (reader.readEnum());
10142
+ msg.setFrustration(value);
10143
+ break;
10144
+ case 5:
10145
+ var value = /** @type {!proto.gateway.web.v1.AIPromptSentiment} */ (reader.readEnum());
10146
+ msg.setSentiment(value);
10147
+ break;
10148
+ default:
10149
+ reader.skipField();
10150
+ break;
10151
+ }
10152
+ }
10153
+ return msg;
10154
+ };
10155
+
10156
+
10157
+ /**
10158
+ * Serializes the message to binary data (in protobuf wire format).
10159
+ * @return {!Uint8Array}
10160
+ */
10161
+ proto.gateway.web.v1.AIPromptScore.prototype.serializeBinary = function() {
10162
+ var writer = new jspb.BinaryWriter();
10163
+ proto.gateway.web.v1.AIPromptScore.serializeBinaryToWriter(this, writer);
10164
+ return writer.getResultBuffer();
10165
+ };
10166
+
10167
+
10168
+ /**
10169
+ * Serializes the given message to binary data (in protobuf wire
10170
+ * format), writing to the given BinaryWriter.
10171
+ * @param {!proto.gateway.web.v1.AIPromptScore} message
10172
+ * @param {!jspb.BinaryWriter} writer
10173
+ * @suppress {unusedLocalVariables} f is only used for nested messages
10174
+ */
10175
+ proto.gateway.web.v1.AIPromptScore.serializeBinaryToWriter = function(message, writer) {
10176
+ var f = undefined;
10177
+ f = message.getComplexity();
10178
+ if (f !== 0.0) {
10179
+ writer.writeEnum(
10180
+ 1,
10181
+ f
10182
+ );
10183
+ }
10184
+ f = message.getClarity();
10185
+ if (f !== 0) {
10186
+ writer.writeUint32(
10187
+ 2,
10188
+ f
10189
+ );
10190
+ }
10191
+ f = message.getSteering();
10192
+ if (f !== 0.0) {
10193
+ writer.writeEnum(
10194
+ 3,
10195
+ f
10196
+ );
10197
+ }
10198
+ f = message.getFrustration();
10199
+ if (f !== 0.0) {
10200
+ writer.writeEnum(
10201
+ 4,
10202
+ f
10203
+ );
10204
+ }
10205
+ f = message.getSentiment();
10206
+ if (f !== 0.0) {
10207
+ writer.writeEnum(
10208
+ 5,
10209
+ f
10210
+ );
10211
+ }
10212
+ };
10213
+
10214
+
10215
+ /**
10216
+ * optional AIPromptComplexity complexity = 1;
10217
+ * @return {!proto.gateway.web.v1.AIPromptComplexity}
10218
+ */
10219
+ proto.gateway.web.v1.AIPromptScore.prototype.getComplexity = function() {
10220
+ return /** @type {!proto.gateway.web.v1.AIPromptComplexity} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
10221
+ };
10222
+
10223
+
10224
+ /**
10225
+ * @param {!proto.gateway.web.v1.AIPromptComplexity} value
10226
+ * @return {!proto.gateway.web.v1.AIPromptScore} returns this
10227
+ */
10228
+ proto.gateway.web.v1.AIPromptScore.prototype.setComplexity = function(value) {
10229
+ return jspb.Message.setProto3EnumField(this, 1, value);
10230
+ };
10231
+
10232
+
10233
+ /**
10234
+ * optional uint32 clarity = 2;
10235
+ * @return {number}
10236
+ */
10237
+ proto.gateway.web.v1.AIPromptScore.prototype.getClarity = function() {
10238
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
10239
+ };
10240
+
10241
+
10242
+ /**
10243
+ * @param {number} value
10244
+ * @return {!proto.gateway.web.v1.AIPromptScore} returns this
10245
+ */
10246
+ proto.gateway.web.v1.AIPromptScore.prototype.setClarity = function(value) {
10247
+ return jspb.Message.setProto3IntField(this, 2, value);
10248
+ };
10249
+
10250
+
10251
+ /**
10252
+ * optional AIPromptSteering steering = 3;
10253
+ * @return {!proto.gateway.web.v1.AIPromptSteering}
10254
+ */
10255
+ proto.gateway.web.v1.AIPromptScore.prototype.getSteering = function() {
10256
+ return /** @type {!proto.gateway.web.v1.AIPromptSteering} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
10257
+ };
10258
+
10259
+
10260
+ /**
10261
+ * @param {!proto.gateway.web.v1.AIPromptSteering} value
10262
+ * @return {!proto.gateway.web.v1.AIPromptScore} returns this
10263
+ */
10264
+ proto.gateway.web.v1.AIPromptScore.prototype.setSteering = function(value) {
10265
+ return jspb.Message.setProto3EnumField(this, 3, value);
10266
+ };
10267
+
10268
+
10269
+ /**
10270
+ * optional AIPromptFrustration frustration = 4;
10271
+ * @return {!proto.gateway.web.v1.AIPromptFrustration}
10272
+ */
10273
+ proto.gateway.web.v1.AIPromptScore.prototype.getFrustration = function() {
10274
+ return /** @type {!proto.gateway.web.v1.AIPromptFrustration} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
10275
+ };
10276
+
10277
+
10278
+ /**
10279
+ * @param {!proto.gateway.web.v1.AIPromptFrustration} value
10280
+ * @return {!proto.gateway.web.v1.AIPromptScore} returns this
10281
+ */
10282
+ proto.gateway.web.v1.AIPromptScore.prototype.setFrustration = function(value) {
10283
+ return jspb.Message.setProto3EnumField(this, 4, value);
10284
+ };
10285
+
10286
+
10287
+ /**
10288
+ * optional AIPromptSentiment sentiment = 5;
10289
+ * @return {!proto.gateway.web.v1.AIPromptSentiment}
10290
+ */
10291
+ proto.gateway.web.v1.AIPromptScore.prototype.getSentiment = function() {
10292
+ return /** @type {!proto.gateway.web.v1.AIPromptSentiment} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
10293
+ };
10294
+
10295
+
10296
+ /**
10297
+ * @param {!proto.gateway.web.v1.AIPromptSentiment} value
10298
+ * @return {!proto.gateway.web.v1.AIPromptScore} returns this
10299
+ */
10300
+ proto.gateway.web.v1.AIPromptScore.prototype.setSentiment = function(value) {
10301
+ return jspb.Message.setProto3EnumField(this, 5, value);
10302
+ };
10303
+
10304
+
10305
+
10306
+ /**
10307
+ * List of repeated fields within this message type.
10308
+ * @private {!Array<number>}
10309
+ * @const
10310
+ */
10311
+ proto.gateway.web.v1.AIPromptScoreSummary.repeatedFields_ = [2];
10312
+
10313
+
10314
+
10315
+ if (jspb.Message.GENERATE_TO_OBJECT) {
10316
+ /**
10317
+ * Creates an object representation of this proto.
10318
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
10319
+ * Optional fields that are not set will be set to undefined.
10320
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
10321
+ * For the list of reserved names please see:
10322
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
10323
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
10324
+ * JSPB instance for transitional soy proto support:
10325
+ * http://goto/soy-param-migration
10326
+ * @return {!Object}
10327
+ */
10328
+ proto.gateway.web.v1.AIPromptScoreSummary.prototype.toObject = function(opt_includeInstance) {
10329
+ return proto.gateway.web.v1.AIPromptScoreSummary.toObject(opt_includeInstance, this);
10330
+ };
10331
+
10332
+
10333
+ /**
10334
+ * Static version of the {@see toObject} method.
10335
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
10336
+ * the JSPB instance for transitional soy proto support:
10337
+ * http://goto/soy-param-migration
10338
+ * @param {!proto.gateway.web.v1.AIPromptScoreSummary} msg The msg instance to transform.
10339
+ * @return {!Object}
10340
+ * @suppress {unusedLocalVariables} f is only used for nested messages
10341
+ */
10342
+ proto.gateway.web.v1.AIPromptScoreSummary.toObject = function(includeInstance, msg) {
10343
+ var f, obj = {
10344
+ scoredPrompts: jspb.Message.getFieldWithDefault(msg, 1, 0),
10345
+ steeringCountsList: jspb.Message.toObjectList(msg.getSteeringCountsList(),
10346
+ proto.gateway.web.v1.AIPromptSteeringCount.toObject, includeInstance),
10347
+ peakFrustration: jspb.Message.getFieldWithDefault(msg, 3, 0),
10348
+ meanClarity: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0)
10349
+ };
10350
+
10351
+ if (includeInstance) {
10352
+ obj.$jspbMessageInstance = msg;
10353
+ }
10354
+ return obj;
10355
+ };
10356
+ }
10357
+
10358
+
10359
+ /**
10360
+ * Deserializes binary data (in protobuf wire format).
10361
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
10362
+ * @return {!proto.gateway.web.v1.AIPromptScoreSummary}
10363
+ */
10364
+ proto.gateway.web.v1.AIPromptScoreSummary.deserializeBinary = function(bytes) {
10365
+ var reader = new jspb.BinaryReader(bytes);
10366
+ var msg = new proto.gateway.web.v1.AIPromptScoreSummary;
10367
+ return proto.gateway.web.v1.AIPromptScoreSummary.deserializeBinaryFromReader(msg, reader);
10368
+ };
10369
+
10370
+
10371
+ /**
10372
+ * Deserializes binary data (in protobuf wire format) from the
10373
+ * given reader into the given message object.
10374
+ * @param {!proto.gateway.web.v1.AIPromptScoreSummary} msg The message object to deserialize into.
10375
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
10376
+ * @return {!proto.gateway.web.v1.AIPromptScoreSummary}
10377
+ */
10378
+ proto.gateway.web.v1.AIPromptScoreSummary.deserializeBinaryFromReader = function(msg, reader) {
10379
+ while (reader.nextField()) {
10380
+ if (reader.isEndGroup()) {
10381
+ break;
10382
+ }
10383
+ var field = reader.getFieldNumber();
10384
+ switch (field) {
10385
+ case 1:
10386
+ var value = /** @type {number} */ (reader.readUint64());
10387
+ msg.setScoredPrompts(value);
10388
+ break;
10389
+ case 2:
10390
+ var value = new proto.gateway.web.v1.AIPromptSteeringCount;
10391
+ reader.readMessage(value,proto.gateway.web.v1.AIPromptSteeringCount.deserializeBinaryFromReader);
10392
+ msg.addSteeringCounts(value);
10393
+ break;
10394
+ case 3:
10395
+ var value = /** @type {!proto.gateway.web.v1.AIPromptFrustration} */ (reader.readEnum());
10396
+ msg.setPeakFrustration(value);
10397
+ break;
10398
+ case 4:
10399
+ var value = /** @type {number} */ (reader.readDouble());
10400
+ msg.setMeanClarity(value);
10401
+ break;
10402
+ default:
10403
+ reader.skipField();
10404
+ break;
10405
+ }
10406
+ }
10407
+ return msg;
10408
+ };
10409
+
10410
+
10411
+ /**
10412
+ * Serializes the message to binary data (in protobuf wire format).
10413
+ * @return {!Uint8Array}
10414
+ */
10415
+ proto.gateway.web.v1.AIPromptScoreSummary.prototype.serializeBinary = function() {
10416
+ var writer = new jspb.BinaryWriter();
10417
+ proto.gateway.web.v1.AIPromptScoreSummary.serializeBinaryToWriter(this, writer);
10418
+ return writer.getResultBuffer();
10419
+ };
10420
+
10421
+
10422
+ /**
10423
+ * Serializes the given message to binary data (in protobuf wire
10424
+ * format), writing to the given BinaryWriter.
10425
+ * @param {!proto.gateway.web.v1.AIPromptScoreSummary} message
10426
+ * @param {!jspb.BinaryWriter} writer
10427
+ * @suppress {unusedLocalVariables} f is only used for nested messages
10428
+ */
10429
+ proto.gateway.web.v1.AIPromptScoreSummary.serializeBinaryToWriter = function(message, writer) {
10430
+ var f = undefined;
10431
+ f = message.getScoredPrompts();
10432
+ if (f !== 0) {
10433
+ writer.writeUint64(
10434
+ 1,
10435
+ f
10436
+ );
10437
+ }
10438
+ f = message.getSteeringCountsList();
10439
+ if (f.length > 0) {
10440
+ writer.writeRepeatedMessage(
10441
+ 2,
10442
+ f,
10443
+ proto.gateway.web.v1.AIPromptSteeringCount.serializeBinaryToWriter
10444
+ );
10445
+ }
10446
+ f = message.getPeakFrustration();
10447
+ if (f !== 0.0) {
10448
+ writer.writeEnum(
10449
+ 3,
10450
+ f
10451
+ );
10452
+ }
10453
+ f = message.getMeanClarity();
10454
+ if (f !== 0.0) {
10455
+ writer.writeDouble(
10456
+ 4,
10457
+ f
10458
+ );
10459
+ }
10460
+ };
10461
+
10462
+
10463
+ /**
10464
+ * optional uint64 scored_prompts = 1;
10465
+ * @return {number}
10466
+ */
10467
+ proto.gateway.web.v1.AIPromptScoreSummary.prototype.getScoredPrompts = function() {
10468
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
10469
+ };
10470
+
10471
+
10472
+ /**
10473
+ * @param {number} value
10474
+ * @return {!proto.gateway.web.v1.AIPromptScoreSummary} returns this
10475
+ */
10476
+ proto.gateway.web.v1.AIPromptScoreSummary.prototype.setScoredPrompts = function(value) {
10477
+ return jspb.Message.setProto3IntField(this, 1, value);
10478
+ };
10479
+
10480
+
10481
+ /**
10482
+ * repeated AIPromptSteeringCount steering_counts = 2;
10483
+ * @return {!Array<!proto.gateway.web.v1.AIPromptSteeringCount>}
10484
+ */
10485
+ proto.gateway.web.v1.AIPromptScoreSummary.prototype.getSteeringCountsList = function() {
10486
+ return /** @type{!Array<!proto.gateway.web.v1.AIPromptSteeringCount>} */ (
10487
+ jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.AIPromptSteeringCount, 2));
10488
+ };
10489
+
10490
+
10491
+ /**
10492
+ * @param {!Array<!proto.gateway.web.v1.AIPromptSteeringCount>} value
10493
+ * @return {!proto.gateway.web.v1.AIPromptScoreSummary} returns this
10494
+ */
10495
+ proto.gateway.web.v1.AIPromptScoreSummary.prototype.setSteeringCountsList = function(value) {
10496
+ return jspb.Message.setRepeatedWrapperField(this, 2, value);
10497
+ };
10498
+
10499
+
10500
+ /**
10501
+ * @param {!proto.gateway.web.v1.AIPromptSteeringCount=} opt_value
10502
+ * @param {number=} opt_index
10503
+ * @return {!proto.gateway.web.v1.AIPromptSteeringCount}
10504
+ */
10505
+ proto.gateway.web.v1.AIPromptScoreSummary.prototype.addSteeringCounts = function(opt_value, opt_index) {
10506
+ return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.gateway.web.v1.AIPromptSteeringCount, opt_index);
10507
+ };
10508
+
10509
+
10510
+ /**
10511
+ * Clears the list making it empty but non-null.
10512
+ * @return {!proto.gateway.web.v1.AIPromptScoreSummary} returns this
10513
+ */
10514
+ proto.gateway.web.v1.AIPromptScoreSummary.prototype.clearSteeringCountsList = function() {
10515
+ return this.setSteeringCountsList([]);
10516
+ };
10517
+
10518
+
10519
+ /**
10520
+ * optional AIPromptFrustration peak_frustration = 3;
10521
+ * @return {!proto.gateway.web.v1.AIPromptFrustration}
10522
+ */
10523
+ proto.gateway.web.v1.AIPromptScoreSummary.prototype.getPeakFrustration = function() {
10524
+ return /** @type {!proto.gateway.web.v1.AIPromptFrustration} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
10525
+ };
10526
+
10527
+
10528
+ /**
10529
+ * @param {!proto.gateway.web.v1.AIPromptFrustration} value
10530
+ * @return {!proto.gateway.web.v1.AIPromptScoreSummary} returns this
10531
+ */
10532
+ proto.gateway.web.v1.AIPromptScoreSummary.prototype.setPeakFrustration = function(value) {
10533
+ return jspb.Message.setProto3EnumField(this, 3, value);
10534
+ };
10535
+
10536
+
10537
+ /**
10538
+ * optional double mean_clarity = 4;
10539
+ * @return {number}
10540
+ */
10541
+ proto.gateway.web.v1.AIPromptScoreSummary.prototype.getMeanClarity = function() {
10542
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
10543
+ };
10544
+
10545
+
10546
+ /**
10547
+ * @param {number} value
10548
+ * @return {!proto.gateway.web.v1.AIPromptScoreSummary} returns this
10549
+ */
10550
+ proto.gateway.web.v1.AIPromptScoreSummary.prototype.setMeanClarity = function(value) {
10551
+ return jspb.Message.setProto3FloatField(this, 4, value);
10552
+ };
10553
+
10554
+
10555
+
10556
+
10557
+
10558
+ if (jspb.Message.GENERATE_TO_OBJECT) {
10559
+ /**
10560
+ * Creates an object representation of this proto.
10561
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
10562
+ * Optional fields that are not set will be set to undefined.
10563
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
10564
+ * For the list of reserved names please see:
10565
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
10566
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
10567
+ * JSPB instance for transitional soy proto support:
10568
+ * http://goto/soy-param-migration
10569
+ * @return {!Object}
10570
+ */
10571
+ proto.gateway.web.v1.AIPromptSteeringCount.prototype.toObject = function(opt_includeInstance) {
10572
+ return proto.gateway.web.v1.AIPromptSteeringCount.toObject(opt_includeInstance, this);
10573
+ };
10574
+
10575
+
10576
+ /**
10577
+ * Static version of the {@see toObject} method.
10578
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
10579
+ * the JSPB instance for transitional soy proto support:
10580
+ * http://goto/soy-param-migration
10581
+ * @param {!proto.gateway.web.v1.AIPromptSteeringCount} msg The msg instance to transform.
10582
+ * @return {!Object}
10583
+ * @suppress {unusedLocalVariables} f is only used for nested messages
10584
+ */
10585
+ proto.gateway.web.v1.AIPromptSteeringCount.toObject = function(includeInstance, msg) {
10586
+ var f, obj = {
10587
+ steering: jspb.Message.getFieldWithDefault(msg, 1, 0),
10588
+ prompts: jspb.Message.getFieldWithDefault(msg, 2, 0)
10589
+ };
10590
+
10591
+ if (includeInstance) {
10592
+ obj.$jspbMessageInstance = msg;
10593
+ }
10594
+ return obj;
10595
+ };
10596
+ }
10597
+
10598
+
10599
+ /**
10600
+ * Deserializes binary data (in protobuf wire format).
10601
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
10602
+ * @return {!proto.gateway.web.v1.AIPromptSteeringCount}
10603
+ */
10604
+ proto.gateway.web.v1.AIPromptSteeringCount.deserializeBinary = function(bytes) {
10605
+ var reader = new jspb.BinaryReader(bytes);
10606
+ var msg = new proto.gateway.web.v1.AIPromptSteeringCount;
10607
+ return proto.gateway.web.v1.AIPromptSteeringCount.deserializeBinaryFromReader(msg, reader);
10608
+ };
10609
+
10610
+
10611
+ /**
10612
+ * Deserializes binary data (in protobuf wire format) from the
10613
+ * given reader into the given message object.
10614
+ * @param {!proto.gateway.web.v1.AIPromptSteeringCount} msg The message object to deserialize into.
10615
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
10616
+ * @return {!proto.gateway.web.v1.AIPromptSteeringCount}
10617
+ */
10618
+ proto.gateway.web.v1.AIPromptSteeringCount.deserializeBinaryFromReader = function(msg, reader) {
10619
+ while (reader.nextField()) {
10620
+ if (reader.isEndGroup()) {
10621
+ break;
10622
+ }
10623
+ var field = reader.getFieldNumber();
10624
+ switch (field) {
10625
+ case 1:
10626
+ var value = /** @type {!proto.gateway.web.v1.AIPromptSteering} */ (reader.readEnum());
10627
+ msg.setSteering(value);
10628
+ break;
10629
+ case 2:
10630
+ var value = /** @type {number} */ (reader.readUint64());
10631
+ msg.setPrompts(value);
10632
+ break;
10633
+ default:
10634
+ reader.skipField();
10635
+ break;
10636
+ }
10637
+ }
10638
+ return msg;
10639
+ };
10640
+
10641
+
10642
+ /**
10643
+ * Serializes the message to binary data (in protobuf wire format).
10644
+ * @return {!Uint8Array}
10645
+ */
10646
+ proto.gateway.web.v1.AIPromptSteeringCount.prototype.serializeBinary = function() {
10647
+ var writer = new jspb.BinaryWriter();
10648
+ proto.gateway.web.v1.AIPromptSteeringCount.serializeBinaryToWriter(this, writer);
10649
+ return writer.getResultBuffer();
10650
+ };
10651
+
10652
+
10653
+ /**
10654
+ * Serializes the given message to binary data (in protobuf wire
10655
+ * format), writing to the given BinaryWriter.
10656
+ * @param {!proto.gateway.web.v1.AIPromptSteeringCount} message
10657
+ * @param {!jspb.BinaryWriter} writer
10658
+ * @suppress {unusedLocalVariables} f is only used for nested messages
10659
+ */
10660
+ proto.gateway.web.v1.AIPromptSteeringCount.serializeBinaryToWriter = function(message, writer) {
10661
+ var f = undefined;
10662
+ f = message.getSteering();
10663
+ if (f !== 0.0) {
10664
+ writer.writeEnum(
10665
+ 1,
10666
+ f
10667
+ );
10668
+ }
10669
+ f = message.getPrompts();
10670
+ if (f !== 0) {
10671
+ writer.writeUint64(
10672
+ 2,
10673
+ f
10674
+ );
10675
+ }
10676
+ };
10677
+
10678
+
10679
+ /**
10680
+ * optional AIPromptSteering steering = 1;
10681
+ * @return {!proto.gateway.web.v1.AIPromptSteering}
10682
+ */
10683
+ proto.gateway.web.v1.AIPromptSteeringCount.prototype.getSteering = function() {
10684
+ return /** @type {!proto.gateway.web.v1.AIPromptSteering} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
10685
+ };
10686
+
10687
+
10688
+ /**
10689
+ * @param {!proto.gateway.web.v1.AIPromptSteering} value
10690
+ * @return {!proto.gateway.web.v1.AIPromptSteeringCount} returns this
10691
+ */
10692
+ proto.gateway.web.v1.AIPromptSteeringCount.prototype.setSteering = function(value) {
10693
+ return jspb.Message.setProto3EnumField(this, 1, value);
10694
+ };
10695
+
10696
+
10697
+ /**
10698
+ * optional uint64 prompts = 2;
10699
+ * @return {number}
10700
+ */
10701
+ proto.gateway.web.v1.AIPromptSteeringCount.prototype.getPrompts = function() {
10702
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
10703
+ };
10704
+
10705
+
10706
+ /**
10707
+ * @param {number} value
10708
+ * @return {!proto.gateway.web.v1.AIPromptSteeringCount} returns this
10709
+ */
10710
+ proto.gateway.web.v1.AIPromptSteeringCount.prototype.setPrompts = function(value) {
10711
+ return jspb.Message.setProto3IntField(this, 2, value);
10712
+ };
10713
+
10714
+
10715
+
10716
+
10717
+
10718
+ if (jspb.Message.GENERATE_TO_OBJECT) {
10719
+ /**
10720
+ * Creates an object representation of this proto.
10721
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
10722
+ * Optional fields that are not set will be set to undefined.
10723
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
10724
+ * For the list of reserved names please see:
10725
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
10726
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
10727
+ * JSPB instance for transitional soy proto support:
10728
+ * http://goto/soy-param-migration
10729
+ * @return {!Object}
10730
+ */
10731
+ proto.gateway.web.v1.GetPromptScoreTrendRequest.prototype.toObject = function(opt_includeInstance) {
10732
+ return proto.gateway.web.v1.GetPromptScoreTrendRequest.toObject(opt_includeInstance, this);
10733
+ };
10734
+
10735
+
10736
+ /**
10737
+ * Static version of the {@see toObject} method.
10738
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
10739
+ * the JSPB instance for transitional soy proto support:
10740
+ * http://goto/soy-param-migration
10741
+ * @param {!proto.gateway.web.v1.GetPromptScoreTrendRequest} msg The msg instance to transform.
10742
+ * @return {!Object}
10743
+ * @suppress {unusedLocalVariables} f is only used for nested messages
10744
+ */
10745
+ proto.gateway.web.v1.GetPromptScoreTrendRequest.toObject = function(includeInstance, msg) {
10746
+ var f, obj = {
10747
+ organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""),
10748
+ projectId: jspb.Message.getFieldWithDefault(msg, 2, ""),
10749
+ startDate: jspb.Message.getFieldWithDefault(msg, 3, ""),
10750
+ endDate: jspb.Message.getFieldWithDefault(msg, 4, ""),
10751
+ filter: (f = msg.getFilter()) && proto.gateway.web.v1.PromptScoreTrendFilter.toObject(includeInstance, f)
10752
+ };
10753
+
10754
+ if (includeInstance) {
10755
+ obj.$jspbMessageInstance = msg;
10756
+ }
10757
+ return obj;
10758
+ };
10759
+ }
10760
+
10761
+
10762
+ /**
10763
+ * Deserializes binary data (in protobuf wire format).
10764
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
10765
+ * @return {!proto.gateway.web.v1.GetPromptScoreTrendRequest}
10766
+ */
10767
+ proto.gateway.web.v1.GetPromptScoreTrendRequest.deserializeBinary = function(bytes) {
10768
+ var reader = new jspb.BinaryReader(bytes);
10769
+ var msg = new proto.gateway.web.v1.GetPromptScoreTrendRequest;
10770
+ return proto.gateway.web.v1.GetPromptScoreTrendRequest.deserializeBinaryFromReader(msg, reader);
10771
+ };
10772
+
10773
+
10774
+ /**
10775
+ * Deserializes binary data (in protobuf wire format) from the
10776
+ * given reader into the given message object.
10777
+ * @param {!proto.gateway.web.v1.GetPromptScoreTrendRequest} msg The message object to deserialize into.
10778
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
10779
+ * @return {!proto.gateway.web.v1.GetPromptScoreTrendRequest}
10780
+ */
10781
+ proto.gateway.web.v1.GetPromptScoreTrendRequest.deserializeBinaryFromReader = function(msg, reader) {
10782
+ while (reader.nextField()) {
10783
+ if (reader.isEndGroup()) {
10784
+ break;
10785
+ }
10786
+ var field = reader.getFieldNumber();
10787
+ switch (field) {
10788
+ case 1:
10789
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
10790
+ msg.setOrganizationId(value);
10791
+ break;
10792
+ case 2:
10793
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
10794
+ msg.setProjectId(value);
10795
+ break;
10796
+ case 3:
10797
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
10798
+ msg.setStartDate(value);
10799
+ break;
10800
+ case 4:
10801
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
10802
+ msg.setEndDate(value);
10803
+ break;
10804
+ case 5:
10805
+ var value = new proto.gateway.web.v1.PromptScoreTrendFilter;
10806
+ reader.readMessage(value,proto.gateway.web.v1.PromptScoreTrendFilter.deserializeBinaryFromReader);
10807
+ msg.setFilter(value);
10808
+ break;
10809
+ default:
10810
+ reader.skipField();
10811
+ break;
10812
+ }
10813
+ }
10814
+ return msg;
10815
+ };
10816
+
10817
+
10818
+ /**
10819
+ * Serializes the message to binary data (in protobuf wire format).
10820
+ * @return {!Uint8Array}
10821
+ */
10822
+ proto.gateway.web.v1.GetPromptScoreTrendRequest.prototype.serializeBinary = function() {
10823
+ var writer = new jspb.BinaryWriter();
10824
+ proto.gateway.web.v1.GetPromptScoreTrendRequest.serializeBinaryToWriter(this, writer);
10825
+ return writer.getResultBuffer();
10826
+ };
10827
+
10828
+
10829
+ /**
10830
+ * Serializes the given message to binary data (in protobuf wire
10831
+ * format), writing to the given BinaryWriter.
10832
+ * @param {!proto.gateway.web.v1.GetPromptScoreTrendRequest} message
10833
+ * @param {!jspb.BinaryWriter} writer
10834
+ * @suppress {unusedLocalVariables} f is only used for nested messages
10835
+ */
10836
+ proto.gateway.web.v1.GetPromptScoreTrendRequest.serializeBinaryToWriter = function(message, writer) {
10837
+ var f = undefined;
10838
+ f = message.getOrganizationId();
10839
+ if (f.length > 0) {
10840
+ writer.writeString(
10841
+ 1,
10842
+ f
10843
+ );
10844
+ }
10845
+ f = message.getProjectId();
10846
+ if (f.length > 0) {
10847
+ writer.writeString(
10848
+ 2,
10849
+ f
10850
+ );
10851
+ }
10852
+ f = message.getStartDate();
10853
+ if (f.length > 0) {
10854
+ writer.writeString(
10855
+ 3,
10856
+ f
10857
+ );
10858
+ }
10859
+ f = message.getEndDate();
10860
+ if (f.length > 0) {
10861
+ writer.writeString(
10862
+ 4,
10863
+ f
10864
+ );
10865
+ }
10866
+ f = message.getFilter();
10867
+ if (f != null) {
10868
+ writer.writeMessage(
10869
+ 5,
10870
+ f,
10871
+ proto.gateway.web.v1.PromptScoreTrendFilter.serializeBinaryToWriter
10872
+ );
10873
+ }
10874
+ };
10875
+
10876
+
10877
+ /**
10878
+ * optional string organization_id = 1;
10879
+ * @return {string}
10880
+ */
10881
+ proto.gateway.web.v1.GetPromptScoreTrendRequest.prototype.getOrganizationId = function() {
10882
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
10883
+ };
10884
+
10885
+
10886
+ /**
10887
+ * @param {string} value
10888
+ * @return {!proto.gateway.web.v1.GetPromptScoreTrendRequest} returns this
10889
+ */
10890
+ proto.gateway.web.v1.GetPromptScoreTrendRequest.prototype.setOrganizationId = function(value) {
10891
+ return jspb.Message.setProto3StringField(this, 1, value);
10892
+ };
10893
+
10894
+
10895
+ /**
10896
+ * optional string project_id = 2;
10897
+ * @return {string}
10898
+ */
10899
+ proto.gateway.web.v1.GetPromptScoreTrendRequest.prototype.getProjectId = function() {
10900
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
10901
+ };
10902
+
10903
+
10904
+ /**
10905
+ * @param {string} value
10906
+ * @return {!proto.gateway.web.v1.GetPromptScoreTrendRequest} returns this
10907
+ */
10908
+ proto.gateway.web.v1.GetPromptScoreTrendRequest.prototype.setProjectId = function(value) {
10909
+ return jspb.Message.setProto3StringField(this, 2, value);
10910
+ };
10911
+
10912
+
10913
+ /**
10914
+ * optional string start_date = 3;
10915
+ * @return {string}
10916
+ */
10917
+ proto.gateway.web.v1.GetPromptScoreTrendRequest.prototype.getStartDate = function() {
10918
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
10919
+ };
10920
+
10921
+
10922
+ /**
10923
+ * @param {string} value
10924
+ * @return {!proto.gateway.web.v1.GetPromptScoreTrendRequest} returns this
9275
10925
  */
9276
- proto.gateway.web.v1.AISessionEvent.prototype.hasDurationMs = function() {
9277
- return jspb.Message.getField(this, 12) != null;
10926
+ proto.gateway.web.v1.GetPromptScoreTrendRequest.prototype.setStartDate = function(value) {
10927
+ return jspb.Message.setProto3StringField(this, 3, value);
9278
10928
  };
9279
10929
 
9280
10930
 
9281
10931
  /**
9282
- * optional uint64 ttft_ms = 13;
9283
- * @return {number}
10932
+ * optional string end_date = 4;
10933
+ * @return {string}
9284
10934
  */
9285
- proto.gateway.web.v1.AISessionEvent.prototype.getTtftMs = function() {
9286
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 13, 0));
10935
+ proto.gateway.web.v1.GetPromptScoreTrendRequest.prototype.getEndDate = function() {
10936
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
9287
10937
  };
9288
10938
 
9289
10939
 
9290
10940
  /**
9291
- * @param {number} value
9292
- * @return {!proto.gateway.web.v1.AISessionEvent} returns this
10941
+ * @param {string} value
10942
+ * @return {!proto.gateway.web.v1.GetPromptScoreTrendRequest} returns this
9293
10943
  */
9294
- proto.gateway.web.v1.AISessionEvent.prototype.setTtftMs = function(value) {
9295
- return jspb.Message.setField(this, 13, value);
10944
+ proto.gateway.web.v1.GetPromptScoreTrendRequest.prototype.setEndDate = function(value) {
10945
+ return jspb.Message.setProto3StringField(this, 4, value);
9296
10946
  };
9297
10947
 
9298
10948
 
9299
10949
  /**
9300
- * Clears the field making it undefined.
9301
- * @return {!proto.gateway.web.v1.AISessionEvent} returns this
10950
+ * optional PromptScoreTrendFilter filter = 5;
10951
+ * @return {?proto.gateway.web.v1.PromptScoreTrendFilter}
9302
10952
  */
9303
- proto.gateway.web.v1.AISessionEvent.prototype.clearTtftMs = function() {
9304
- return jspb.Message.setField(this, 13, undefined);
10953
+ proto.gateway.web.v1.GetPromptScoreTrendRequest.prototype.getFilter = function() {
10954
+ return /** @type{?proto.gateway.web.v1.PromptScoreTrendFilter} */ (
10955
+ jspb.Message.getWrapperField(this, proto.gateway.web.v1.PromptScoreTrendFilter, 5));
9305
10956
  };
9306
10957
 
9307
10958
 
9308
10959
  /**
9309
- * Returns whether this field is set.
9310
- * @return {boolean}
9311
- */
9312
- proto.gateway.web.v1.AISessionEvent.prototype.hasTtftMs = function() {
9313
- return jspb.Message.getField(this, 13) != null;
10960
+ * @param {?proto.gateway.web.v1.PromptScoreTrendFilter|undefined} value
10961
+ * @return {!proto.gateway.web.v1.GetPromptScoreTrendRequest} returns this
10962
+ */
10963
+ proto.gateway.web.v1.GetPromptScoreTrendRequest.prototype.setFilter = function(value) {
10964
+ return jspb.Message.setWrapperField(this, 5, value);
9314
10965
  };
9315
10966
 
9316
10967
 
9317
10968
  /**
9318
- * optional string model_call_id = 14;
9319
- * @return {string}
10969
+ * Clears the message field making it undefined.
10970
+ * @return {!proto.gateway.web.v1.GetPromptScoreTrendRequest} returns this
9320
10971
  */
9321
- proto.gateway.web.v1.AISessionEvent.prototype.getModelCallId = function() {
9322
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
10972
+ proto.gateway.web.v1.GetPromptScoreTrendRequest.prototype.clearFilter = function() {
10973
+ return this.setFilter(undefined);
9323
10974
  };
9324
10975
 
9325
10976
 
9326
10977
  /**
9327
- * @param {string} value
9328
- * @return {!proto.gateway.web.v1.AISessionEvent} returns this
10978
+ * Returns whether this field is set.
10979
+ * @return {boolean}
9329
10980
  */
9330
- proto.gateway.web.v1.AISessionEvent.prototype.setModelCallId = function(value) {
9331
- return jspb.Message.setProto3StringField(this, 14, value);
10981
+ proto.gateway.web.v1.GetPromptScoreTrendRequest.prototype.hasFilter = function() {
10982
+ return jspb.Message.getField(this, 5) != null;
9332
10983
  };
9333
10984
 
9334
10985
 
10986
+
9335
10987
  /**
9336
- * optional string tool_call_id = 15;
9337
- * @return {string}
10988
+ * List of repeated fields within this message type.
10989
+ * @private {!Array<number>}
10990
+ * @const
9338
10991
  */
9339
- proto.gateway.web.v1.AISessionEvent.prototype.getToolCallId = function() {
9340
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
9341
- };
10992
+ proto.gateway.web.v1.PromptScoreTrendFilter.repeatedFields_ = [1,2];
9342
10993
 
9343
10994
 
10995
+
10996
+ if (jspb.Message.GENERATE_TO_OBJECT) {
9344
10997
  /**
9345
- * @param {string} value
9346
- * @return {!proto.gateway.web.v1.AISessionEvent} returns this
10998
+ * Creates an object representation of this proto.
10999
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
11000
+ * Optional fields that are not set will be set to undefined.
11001
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
11002
+ * For the list of reserved names please see:
11003
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
11004
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
11005
+ * JSPB instance for transitional soy proto support:
11006
+ * http://goto/soy-param-migration
11007
+ * @return {!Object}
9347
11008
  */
9348
- proto.gateway.web.v1.AISessionEvent.prototype.setToolCallId = function(value) {
9349
- return jspb.Message.setProto3StringField(this, 15, value);
11009
+ proto.gateway.web.v1.PromptScoreTrendFilter.prototype.toObject = function(opt_includeInstance) {
11010
+ return proto.gateway.web.v1.PromptScoreTrendFilter.toObject(opt_includeInstance, this);
9350
11011
  };
9351
11012
 
9352
11013
 
9353
11014
  /**
9354
- * optional string logical_event_id = 16;
9355
- * @return {string}
11015
+ * Static version of the {@see toObject} method.
11016
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
11017
+ * the JSPB instance for transitional soy proto support:
11018
+ * http://goto/soy-param-migration
11019
+ * @param {!proto.gateway.web.v1.PromptScoreTrendFilter} msg The msg instance to transform.
11020
+ * @return {!Object}
11021
+ * @suppress {unusedLocalVariables} f is only used for nested messages
9356
11022
  */
9357
- proto.gateway.web.v1.AISessionEvent.prototype.getLogicalEventId = function() {
9358
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
11023
+ proto.gateway.web.v1.PromptScoreTrendFilter.toObject = function(includeInstance, msg) {
11024
+ var f, obj = {
11025
+ principalsList: jspb.Message.toObjectList(msg.getPrincipalsList(),
11026
+ proto.gateway.web.v1.DailyActivityPrincipal.toObject, includeInstance),
11027
+ sourceSystemsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f
11028
+ };
11029
+
11030
+ if (includeInstance) {
11031
+ obj.$jspbMessageInstance = msg;
11032
+ }
11033
+ return obj;
9359
11034
  };
11035
+ }
9360
11036
 
9361
11037
 
9362
11038
  /**
9363
- * @param {string} value
9364
- * @return {!proto.gateway.web.v1.AISessionEvent} returns this
11039
+ * Deserializes binary data (in protobuf wire format).
11040
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
11041
+ * @return {!proto.gateway.web.v1.PromptScoreTrendFilter}
9365
11042
  */
9366
- proto.gateway.web.v1.AISessionEvent.prototype.setLogicalEventId = function(value) {
9367
- return jspb.Message.setProto3StringField(this, 16, value);
11043
+ proto.gateway.web.v1.PromptScoreTrendFilter.deserializeBinary = function(bytes) {
11044
+ var reader = new jspb.BinaryReader(bytes);
11045
+ var msg = new proto.gateway.web.v1.PromptScoreTrendFilter;
11046
+ return proto.gateway.web.v1.PromptScoreTrendFilter.deserializeBinaryFromReader(msg, reader);
9368
11047
  };
9369
11048
 
9370
11049
 
9371
11050
  /**
9372
- * optional uint32 version = 17;
9373
- * @return {number}
11051
+ * Deserializes binary data (in protobuf wire format) from the
11052
+ * given reader into the given message object.
11053
+ * @param {!proto.gateway.web.v1.PromptScoreTrendFilter} msg The message object to deserialize into.
11054
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
11055
+ * @return {!proto.gateway.web.v1.PromptScoreTrendFilter}
9374
11056
  */
9375
- proto.gateway.web.v1.AISessionEvent.prototype.getVersion = function() {
9376
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 17, 0));
11057
+ proto.gateway.web.v1.PromptScoreTrendFilter.deserializeBinaryFromReader = function(msg, reader) {
11058
+ while (reader.nextField()) {
11059
+ if (reader.isEndGroup()) {
11060
+ break;
11061
+ }
11062
+ var field = reader.getFieldNumber();
11063
+ switch (field) {
11064
+ case 1:
11065
+ var value = new proto.gateway.web.v1.DailyActivityPrincipal;
11066
+ reader.readMessage(value,proto.gateway.web.v1.DailyActivityPrincipal.deserializeBinaryFromReader);
11067
+ msg.addPrincipals(value);
11068
+ break;
11069
+ case 2:
11070
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
11071
+ msg.addSourceSystems(value);
11072
+ break;
11073
+ default:
11074
+ reader.skipField();
11075
+ break;
11076
+ }
11077
+ }
11078
+ return msg;
9377
11079
  };
9378
11080
 
9379
11081
 
9380
11082
  /**
9381
- * @param {number} value
9382
- * @return {!proto.gateway.web.v1.AISessionEvent} returns this
11083
+ * Serializes the message to binary data (in protobuf wire format).
11084
+ * @return {!Uint8Array}
9383
11085
  */
9384
- proto.gateway.web.v1.AISessionEvent.prototype.setVersion = function(value) {
9385
- return jspb.Message.setProto3IntField(this, 17, value);
11086
+ proto.gateway.web.v1.PromptScoreTrendFilter.prototype.serializeBinary = function() {
11087
+ var writer = new jspb.BinaryWriter();
11088
+ proto.gateway.web.v1.PromptScoreTrendFilter.serializeBinaryToWriter(this, writer);
11089
+ return writer.getResultBuffer();
9386
11090
  };
9387
11091
 
9388
11092
 
9389
11093
  /**
9390
- * optional string cursor = 18;
9391
- * @return {string}
11094
+ * Serializes the given message to binary data (in protobuf wire
11095
+ * format), writing to the given BinaryWriter.
11096
+ * @param {!proto.gateway.web.v1.PromptScoreTrendFilter} message
11097
+ * @param {!jspb.BinaryWriter} writer
11098
+ * @suppress {unusedLocalVariables} f is only used for nested messages
9392
11099
  */
9393
- proto.gateway.web.v1.AISessionEvent.prototype.getCursor = function() {
9394
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
11100
+ proto.gateway.web.v1.PromptScoreTrendFilter.serializeBinaryToWriter = function(message, writer) {
11101
+ var f = undefined;
11102
+ f = message.getPrincipalsList();
11103
+ if (f.length > 0) {
11104
+ writer.writeRepeatedMessage(
11105
+ 1,
11106
+ f,
11107
+ proto.gateway.web.v1.DailyActivityPrincipal.serializeBinaryToWriter
11108
+ );
11109
+ }
11110
+ f = message.getSourceSystemsList();
11111
+ if (f.length > 0) {
11112
+ writer.writeRepeatedString(
11113
+ 2,
11114
+ f
11115
+ );
11116
+ }
9395
11117
  };
9396
11118
 
9397
11119
 
9398
11120
  /**
9399
- * @param {string} value
9400
- * @return {!proto.gateway.web.v1.AISessionEvent} returns this
11121
+ * repeated DailyActivityPrincipal principals = 1;
11122
+ * @return {!Array<!proto.gateway.web.v1.DailyActivityPrincipal>}
9401
11123
  */
9402
- proto.gateway.web.v1.AISessionEvent.prototype.setCursor = function(value) {
9403
- return jspb.Message.setProto3StringField(this, 18, value);
11124
+ proto.gateway.web.v1.PromptScoreTrendFilter.prototype.getPrincipalsList = function() {
11125
+ return /** @type{!Array<!proto.gateway.web.v1.DailyActivityPrincipal>} */ (
11126
+ jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.DailyActivityPrincipal, 1));
9404
11127
  };
9405
11128
 
9406
11129
 
9407
11130
  /**
9408
- * optional AIFundingMode funding_mode = 19;
9409
- * @return {!proto.gateway.web.v1.AIFundingMode}
9410
- */
9411
- proto.gateway.web.v1.AISessionEvent.prototype.getFundingMode = function() {
9412
- return /** @type {!proto.gateway.web.v1.AIFundingMode} */ (jspb.Message.getFieldWithDefault(this, 19, 0));
11131
+ * @param {!Array<!proto.gateway.web.v1.DailyActivityPrincipal>} value
11132
+ * @return {!proto.gateway.web.v1.PromptScoreTrendFilter} returns this
11133
+ */
11134
+ proto.gateway.web.v1.PromptScoreTrendFilter.prototype.setPrincipalsList = function(value) {
11135
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
9413
11136
  };
9414
11137
 
9415
11138
 
9416
11139
  /**
9417
- * @param {!proto.gateway.web.v1.AIFundingMode} value
9418
- * @return {!proto.gateway.web.v1.AISessionEvent} returns this
11140
+ * @param {!proto.gateway.web.v1.DailyActivityPrincipal=} opt_value
11141
+ * @param {number=} opt_index
11142
+ * @return {!proto.gateway.web.v1.DailyActivityPrincipal}
9419
11143
  */
9420
- proto.gateway.web.v1.AISessionEvent.prototype.setFundingMode = function(value) {
9421
- return jspb.Message.setProto3EnumField(this, 19, value);
11144
+ proto.gateway.web.v1.PromptScoreTrendFilter.prototype.addPrincipals = function(opt_value, opt_index) {
11145
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.gateway.web.v1.DailyActivityPrincipal, opt_index);
9422
11146
  };
9423
11147
 
9424
11148
 
9425
11149
  /**
9426
- * optional string agent_id = 20;
9427
- * @return {string}
11150
+ * Clears the list making it empty but non-null.
11151
+ * @return {!proto.gateway.web.v1.PromptScoreTrendFilter} returns this
9428
11152
  */
9429
- proto.gateway.web.v1.AISessionEvent.prototype.getAgentId = function() {
9430
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 20, ""));
11153
+ proto.gateway.web.v1.PromptScoreTrendFilter.prototype.clearPrincipalsList = function() {
11154
+ return this.setPrincipalsList([]);
9431
11155
  };
9432
11156
 
9433
11157
 
9434
11158
  /**
9435
- * @param {string} value
9436
- * @return {!proto.gateway.web.v1.AISessionEvent} returns this
11159
+ * repeated string source_systems = 2;
11160
+ * @return {!Array<string>}
9437
11161
  */
9438
- proto.gateway.web.v1.AISessionEvent.prototype.setAgentId = function(value) {
9439
- return jspb.Message.setProto3StringField(this, 20, value);
11162
+ proto.gateway.web.v1.PromptScoreTrendFilter.prototype.getSourceSystemsList = function() {
11163
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
9440
11164
  };
9441
11165
 
9442
11166
 
9443
11167
  /**
9444
- * optional string parent_agent_id = 21;
9445
- * @return {string}
11168
+ * @param {!Array<string>} value
11169
+ * @return {!proto.gateway.web.v1.PromptScoreTrendFilter} returns this
9446
11170
  */
9447
- proto.gateway.web.v1.AISessionEvent.prototype.getParentAgentId = function() {
9448
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 21, ""));
11171
+ proto.gateway.web.v1.PromptScoreTrendFilter.prototype.setSourceSystemsList = function(value) {
11172
+ return jspb.Message.setField(this, 2, value || []);
9449
11173
  };
9450
11174
 
9451
11175
 
9452
11176
  /**
9453
11177
  * @param {string} value
9454
- * @return {!proto.gateway.web.v1.AISessionEvent} returns this
11178
+ * @param {number=} opt_index
11179
+ * @return {!proto.gateway.web.v1.PromptScoreTrendFilter} returns this
9455
11180
  */
9456
- proto.gateway.web.v1.AISessionEvent.prototype.setParentAgentId = function(value) {
9457
- return jspb.Message.setProto3StringField(this, 21, value);
11181
+ proto.gateway.web.v1.PromptScoreTrendFilter.prototype.addSourceSystems = function(value, opt_index) {
11182
+ return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
9458
11183
  };
9459
11184
 
9460
11185
 
9461
11186
  /**
9462
- * optional bool is_subagent = 22;
9463
- * @return {boolean}
11187
+ * Clears the list making it empty but non-null.
11188
+ * @return {!proto.gateway.web.v1.PromptScoreTrendFilter} returns this
9464
11189
  */
9465
- proto.gateway.web.v1.AISessionEvent.prototype.getIsSubagent = function() {
9466
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 22, false));
11190
+ proto.gateway.web.v1.PromptScoreTrendFilter.prototype.clearSourceSystemsList = function() {
11191
+ return this.setSourceSystemsList([]);
9467
11192
  };
9468
11193
 
9469
11194
 
11195
+
9470
11196
  /**
9471
- * @param {boolean} value
9472
- * @return {!proto.gateway.web.v1.AISessionEvent} returns this
11197
+ * List of repeated fields within this message type.
11198
+ * @private {!Array<number>}
11199
+ * @const
9473
11200
  */
9474
- proto.gateway.web.v1.AISessionEvent.prototype.setIsSubagent = function(value) {
9475
- return jspb.Message.setProto3BooleanField(this, 22, value);
9476
- };
11201
+ proto.gateway.web.v1.GetPromptScoreTrendResponse.repeatedFields_ = [2];
11202
+
9477
11203
 
9478
11204
 
11205
+ if (jspb.Message.GENERATE_TO_OBJECT) {
9479
11206
  /**
9480
- * optional string agent_name = 23;
9481
- * @return {string}
11207
+ * Creates an object representation of this proto.
11208
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
11209
+ * Optional fields that are not set will be set to undefined.
11210
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
11211
+ * For the list of reserved names please see:
11212
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
11213
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
11214
+ * JSPB instance for transitional soy proto support:
11215
+ * http://goto/soy-param-migration
11216
+ * @return {!Object}
9482
11217
  */
9483
- proto.gateway.web.v1.AISessionEvent.prototype.getAgentName = function() {
9484
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 23, ""));
11218
+ proto.gateway.web.v1.GetPromptScoreTrendResponse.prototype.toObject = function(opt_includeInstance) {
11219
+ return proto.gateway.web.v1.GetPromptScoreTrendResponse.toObject(opt_includeInstance, this);
9485
11220
  };
9486
11221
 
9487
11222
 
9488
11223
  /**
9489
- * @param {string} value
9490
- * @return {!proto.gateway.web.v1.AISessionEvent} returns this
11224
+ * Static version of the {@see toObject} method.
11225
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
11226
+ * the JSPB instance for transitional soy proto support:
11227
+ * http://goto/soy-param-migration
11228
+ * @param {!proto.gateway.web.v1.GetPromptScoreTrendResponse} msg The msg instance to transform.
11229
+ * @return {!Object}
11230
+ * @suppress {unusedLocalVariables} f is only used for nested messages
9491
11231
  */
9492
- proto.gateway.web.v1.AISessionEvent.prototype.setAgentName = function(value) {
9493
- return jspb.Message.setProto3StringField(this, 23, value);
11232
+ proto.gateway.web.v1.GetPromptScoreTrendResponse.toObject = function(includeInstance, msg) {
11233
+ var f, obj = {
11234
+ status: (f = msg.getStatus()) && proto_gateway_common_v1_status_pb.ResponseStatus.toObject(includeInstance, f),
11235
+ weeksList: jspb.Message.toObjectList(msg.getWeeksList(),
11236
+ proto.gateway.web.v1.AIPromptScoreWeek.toObject, includeInstance)
11237
+ };
11238
+
11239
+ if (includeInstance) {
11240
+ obj.$jspbMessageInstance = msg;
11241
+ }
11242
+ return obj;
9494
11243
  };
11244
+ }
9495
11245
 
9496
11246
 
9497
11247
  /**
9498
- * optional string effort = 24;
9499
- * @return {string}
11248
+ * Deserializes binary data (in protobuf wire format).
11249
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
11250
+ * @return {!proto.gateway.web.v1.GetPromptScoreTrendResponse}
9500
11251
  */
9501
- proto.gateway.web.v1.AISessionEvent.prototype.getEffort = function() {
9502
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 24, ""));
11252
+ proto.gateway.web.v1.GetPromptScoreTrendResponse.deserializeBinary = function(bytes) {
11253
+ var reader = new jspb.BinaryReader(bytes);
11254
+ var msg = new proto.gateway.web.v1.GetPromptScoreTrendResponse;
11255
+ return proto.gateway.web.v1.GetPromptScoreTrendResponse.deserializeBinaryFromReader(msg, reader);
9503
11256
  };
9504
11257
 
9505
11258
 
9506
11259
  /**
9507
- * @param {string} value
9508
- * @return {!proto.gateway.web.v1.AISessionEvent} returns this
11260
+ * Deserializes binary data (in protobuf wire format) from the
11261
+ * given reader into the given message object.
11262
+ * @param {!proto.gateway.web.v1.GetPromptScoreTrendResponse} msg The message object to deserialize into.
11263
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
11264
+ * @return {!proto.gateway.web.v1.GetPromptScoreTrendResponse}
9509
11265
  */
9510
- proto.gateway.web.v1.AISessionEvent.prototype.setEffort = function(value) {
9511
- return jspb.Message.setProto3StringField(this, 24, value);
11266
+ proto.gateway.web.v1.GetPromptScoreTrendResponse.deserializeBinaryFromReader = function(msg, reader) {
11267
+ while (reader.nextField()) {
11268
+ if (reader.isEndGroup()) {
11269
+ break;
11270
+ }
11271
+ var field = reader.getFieldNumber();
11272
+ switch (field) {
11273
+ case 1:
11274
+ var value = new proto_gateway_common_v1_status_pb.ResponseStatus;
11275
+ reader.readMessage(value,proto_gateway_common_v1_status_pb.ResponseStatus.deserializeBinaryFromReader);
11276
+ msg.setStatus(value);
11277
+ break;
11278
+ case 2:
11279
+ var value = new proto.gateway.web.v1.AIPromptScoreWeek;
11280
+ reader.readMessage(value,proto.gateway.web.v1.AIPromptScoreWeek.deserializeBinaryFromReader);
11281
+ msg.addWeeks(value);
11282
+ break;
11283
+ default:
11284
+ reader.skipField();
11285
+ break;
11286
+ }
11287
+ }
11288
+ return msg;
9512
11289
  };
9513
11290
 
9514
11291
 
9515
11292
  /**
9516
- * optional string subtype = 25;
9517
- * @return {string}
11293
+ * Serializes the message to binary data (in protobuf wire format).
11294
+ * @return {!Uint8Array}
9518
11295
  */
9519
- proto.gateway.web.v1.AISessionEvent.prototype.getSubtype = function() {
9520
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 25, ""));
11296
+ proto.gateway.web.v1.GetPromptScoreTrendResponse.prototype.serializeBinary = function() {
11297
+ var writer = new jspb.BinaryWriter();
11298
+ proto.gateway.web.v1.GetPromptScoreTrendResponse.serializeBinaryToWriter(this, writer);
11299
+ return writer.getResultBuffer();
9521
11300
  };
9522
11301
 
9523
11302
 
9524
11303
  /**
9525
- * @param {string} value
9526
- * @return {!proto.gateway.web.v1.AISessionEvent} returns this
11304
+ * Serializes the given message to binary data (in protobuf wire
11305
+ * format), writing to the given BinaryWriter.
11306
+ * @param {!proto.gateway.web.v1.GetPromptScoreTrendResponse} message
11307
+ * @param {!jspb.BinaryWriter} writer
11308
+ * @suppress {unusedLocalVariables} f is only used for nested messages
9527
11309
  */
9528
- proto.gateway.web.v1.AISessionEvent.prototype.setSubtype = function(value) {
9529
- return jspb.Message.setProto3StringField(this, 25, value);
11310
+ proto.gateway.web.v1.GetPromptScoreTrendResponse.serializeBinaryToWriter = function(message, writer) {
11311
+ var f = undefined;
11312
+ f = message.getStatus();
11313
+ if (f != null) {
11314
+ writer.writeMessage(
11315
+ 1,
11316
+ f,
11317
+ proto_gateway_common_v1_status_pb.ResponseStatus.serializeBinaryToWriter
11318
+ );
11319
+ }
11320
+ f = message.getWeeksList();
11321
+ if (f.length > 0) {
11322
+ writer.writeRepeatedMessage(
11323
+ 2,
11324
+ f,
11325
+ proto.gateway.web.v1.AIPromptScoreWeek.serializeBinaryToWriter
11326
+ );
11327
+ }
9530
11328
  };
9531
11329
 
9532
11330
 
9533
11331
  /**
9534
- * optional string context = 26;
9535
- * @return {string}
11332
+ * optional gateway.common.v1.ResponseStatus status = 1;
11333
+ * @return {?proto.gateway.common.v1.ResponseStatus}
9536
11334
  */
9537
- proto.gateway.web.v1.AISessionEvent.prototype.getContext = function() {
9538
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 26, ""));
11335
+ proto.gateway.web.v1.GetPromptScoreTrendResponse.prototype.getStatus = function() {
11336
+ return /** @type{?proto.gateway.common.v1.ResponseStatus} */ (
11337
+ jspb.Message.getWrapperField(this, proto_gateway_common_v1_status_pb.ResponseStatus, 1));
9539
11338
  };
9540
11339
 
9541
11340
 
9542
11341
  /**
9543
- * @param {string} value
9544
- * @return {!proto.gateway.web.v1.AISessionEvent} returns this
9545
- */
9546
- proto.gateway.web.v1.AISessionEvent.prototype.setContext = function(value) {
9547
- return jspb.Message.setProto3StringField(this, 26, value);
11342
+ * @param {?proto.gateway.common.v1.ResponseStatus|undefined} value
11343
+ * @return {!proto.gateway.web.v1.GetPromptScoreTrendResponse} returns this
11344
+ */
11345
+ proto.gateway.web.v1.GetPromptScoreTrendResponse.prototype.setStatus = function(value) {
11346
+ return jspb.Message.setWrapperField(this, 1, value);
9548
11347
  };
9549
11348
 
9550
11349
 
9551
11350
  /**
9552
- * optional string call_category = 27;
9553
- * @return {string}
11351
+ * Clears the message field making it undefined.
11352
+ * @return {!proto.gateway.web.v1.GetPromptScoreTrendResponse} returns this
9554
11353
  */
9555
- proto.gateway.web.v1.AISessionEvent.prototype.getCallCategory = function() {
9556
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 27, ""));
11354
+ proto.gateway.web.v1.GetPromptScoreTrendResponse.prototype.clearStatus = function() {
11355
+ return this.setStatus(undefined);
9557
11356
  };
9558
11357
 
9559
11358
 
9560
11359
  /**
9561
- * @param {string} value
9562
- * @return {!proto.gateway.web.v1.AISessionEvent} returns this
11360
+ * Returns whether this field is set.
11361
+ * @return {boolean}
9563
11362
  */
9564
- proto.gateway.web.v1.AISessionEvent.prototype.setCallCategory = function(value) {
9565
- return jspb.Message.setProto3StringField(this, 27, value);
11363
+ proto.gateway.web.v1.GetPromptScoreTrendResponse.prototype.hasStatus = function() {
11364
+ return jspb.Message.getField(this, 1) != null;
9566
11365
  };
9567
11366
 
9568
11367
 
9569
11368
  /**
9570
- * optional string reply_phase = 28;
9571
- * @return {string}
11369
+ * repeated AIPromptScoreWeek weeks = 2;
11370
+ * @return {!Array<!proto.gateway.web.v1.AIPromptScoreWeek>}
9572
11371
  */
9573
- proto.gateway.web.v1.AISessionEvent.prototype.getReplyPhase = function() {
9574
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 28, ""));
11372
+ proto.gateway.web.v1.GetPromptScoreTrendResponse.prototype.getWeeksList = function() {
11373
+ return /** @type{!Array<!proto.gateway.web.v1.AIPromptScoreWeek>} */ (
11374
+ jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.AIPromptScoreWeek, 2));
9575
11375
  };
9576
11376
 
9577
11377
 
9578
11378
  /**
9579
- * @param {string} value
9580
- * @return {!proto.gateway.web.v1.AISessionEvent} returns this
9581
- */
9582
- proto.gateway.web.v1.AISessionEvent.prototype.setReplyPhase = function(value) {
9583
- return jspb.Message.setProto3StringField(this, 28, value);
11379
+ * @param {!Array<!proto.gateway.web.v1.AIPromptScoreWeek>} value
11380
+ * @return {!proto.gateway.web.v1.GetPromptScoreTrendResponse} returns this
11381
+ */
11382
+ proto.gateway.web.v1.GetPromptScoreTrendResponse.prototype.setWeeksList = function(value) {
11383
+ return jspb.Message.setRepeatedWrapperField(this, 2, value);
9584
11384
  };
9585
11385
 
9586
11386
 
9587
11387
  /**
9588
- * optional string subject_agent_id = 29;
9589
- * @return {string}
11388
+ * @param {!proto.gateway.web.v1.AIPromptScoreWeek=} opt_value
11389
+ * @param {number=} opt_index
11390
+ * @return {!proto.gateway.web.v1.AIPromptScoreWeek}
9590
11391
  */
9591
- proto.gateway.web.v1.AISessionEvent.prototype.getSubjectAgentId = function() {
9592
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 29, ""));
11392
+ proto.gateway.web.v1.GetPromptScoreTrendResponse.prototype.addWeeks = function(opt_value, opt_index) {
11393
+ return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.gateway.web.v1.AIPromptScoreWeek, opt_index);
9593
11394
  };
9594
11395
 
9595
11396
 
9596
11397
  /**
9597
- * @param {string} value
9598
- * @return {!proto.gateway.web.v1.AISessionEvent} returns this
11398
+ * Clears the list making it empty but non-null.
11399
+ * @return {!proto.gateway.web.v1.GetPromptScoreTrendResponse} returns this
9599
11400
  */
9600
- proto.gateway.web.v1.AISessionEvent.prototype.setSubjectAgentId = function(value) {
9601
- return jspb.Message.setProto3StringField(this, 29, value);
11401
+ proto.gateway.web.v1.GetPromptScoreTrendResponse.prototype.clearWeeksList = function() {
11402
+ return this.setWeeksList([]);
9602
11403
  };
9603
11404
 
9604
11405
 
@@ -9618,8 +11419,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
9618
11419
  * http://goto/soy-param-migration
9619
11420
  * @return {!Object}
9620
11421
  */
9621
- proto.gateway.web.v1.AIContentPart.prototype.toObject = function(opt_includeInstance) {
9622
- return proto.gateway.web.v1.AIContentPart.toObject(opt_includeInstance, this);
11422
+ proto.gateway.web.v1.AIPromptScoreWeek.prototype.toObject = function(opt_includeInstance) {
11423
+ return proto.gateway.web.v1.AIPromptScoreWeek.toObject(opt_includeInstance, this);
9623
11424
  };
9624
11425
 
9625
11426
 
@@ -9628,15 +11429,17 @@ proto.gateway.web.v1.AIContentPart.prototype.toObject = function(opt_includeInst
9628
11429
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
9629
11430
  * the JSPB instance for transitional soy proto support:
9630
11431
  * http://goto/soy-param-migration
9631
- * @param {!proto.gateway.web.v1.AIContentPart} msg The msg instance to transform.
11432
+ * @param {!proto.gateway.web.v1.AIPromptScoreWeek} msg The msg instance to transform.
9632
11433
  * @return {!Object}
9633
11434
  * @suppress {unusedLocalVariables} f is only used for nested messages
9634
11435
  */
9635
- proto.gateway.web.v1.AIContentPart.toObject = function(includeInstance, msg) {
11436
+ proto.gateway.web.v1.AIPromptScoreWeek.toObject = function(includeInstance, msg) {
9636
11437
  var f, obj = {
9637
- partIndex: jspb.Message.getFieldWithDefault(msg, 1, 0),
9638
- contentType: jspb.Message.getFieldWithDefault(msg, 2, ""),
9639
- content: jspb.Message.getFieldWithDefault(msg, 3, "")
11438
+ weekStart: jspb.Message.getFieldWithDefault(msg, 1, ""),
11439
+ scoredPrompts: jspb.Message.getFieldWithDefault(msg, 2, 0),
11440
+ claritySum: jspb.Message.getFieldWithDefault(msg, 3, 0),
11441
+ corrections: jspb.Message.getFieldWithDefault(msg, 4, 0),
11442
+ frustratedPrompts: jspb.Message.getFieldWithDefault(msg, 5, 0)
9640
11443
  };
9641
11444
 
9642
11445
  if (includeInstance) {
@@ -9650,23 +11453,23 @@ content: jspb.Message.getFieldWithDefault(msg, 3, "")
9650
11453
  /**
9651
11454
  * Deserializes binary data (in protobuf wire format).
9652
11455
  * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
9653
- * @return {!proto.gateway.web.v1.AIContentPart}
11456
+ * @return {!proto.gateway.web.v1.AIPromptScoreWeek}
9654
11457
  */
9655
- proto.gateway.web.v1.AIContentPart.deserializeBinary = function(bytes) {
11458
+ proto.gateway.web.v1.AIPromptScoreWeek.deserializeBinary = function(bytes) {
9656
11459
  var reader = new jspb.BinaryReader(bytes);
9657
- var msg = new proto.gateway.web.v1.AIContentPart;
9658
- return proto.gateway.web.v1.AIContentPart.deserializeBinaryFromReader(msg, reader);
11460
+ var msg = new proto.gateway.web.v1.AIPromptScoreWeek;
11461
+ return proto.gateway.web.v1.AIPromptScoreWeek.deserializeBinaryFromReader(msg, reader);
9659
11462
  };
9660
11463
 
9661
11464
 
9662
11465
  /**
9663
11466
  * Deserializes binary data (in protobuf wire format) from the
9664
11467
  * given reader into the given message object.
9665
- * @param {!proto.gateway.web.v1.AIContentPart} msg The message object to deserialize into.
11468
+ * @param {!proto.gateway.web.v1.AIPromptScoreWeek} msg The message object to deserialize into.
9666
11469
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
9667
- * @return {!proto.gateway.web.v1.AIContentPart}
11470
+ * @return {!proto.gateway.web.v1.AIPromptScoreWeek}
9668
11471
  */
9669
- proto.gateway.web.v1.AIContentPart.deserializeBinaryFromReader = function(msg, reader) {
11472
+ proto.gateway.web.v1.AIPromptScoreWeek.deserializeBinaryFromReader = function(msg, reader) {
9670
11473
  while (reader.nextField()) {
9671
11474
  if (reader.isEndGroup()) {
9672
11475
  break;
@@ -9674,16 +11477,24 @@ proto.gateway.web.v1.AIContentPart.deserializeBinaryFromReader = function(msg, r
9674
11477
  var field = reader.getFieldNumber();
9675
11478
  switch (field) {
9676
11479
  case 1:
9677
- var value = /** @type {number} */ (reader.readUint32());
9678
- msg.setPartIndex(value);
11480
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
11481
+ msg.setWeekStart(value);
9679
11482
  break;
9680
11483
  case 2:
9681
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
9682
- msg.setContentType(value);
11484
+ var value = /** @type {number} */ (reader.readUint64());
11485
+ msg.setScoredPrompts(value);
9683
11486
  break;
9684
11487
  case 3:
9685
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
9686
- msg.setContent(value);
11488
+ var value = /** @type {number} */ (reader.readUint64());
11489
+ msg.setClaritySum(value);
11490
+ break;
11491
+ case 4:
11492
+ var value = /** @type {number} */ (reader.readUint64());
11493
+ msg.setCorrections(value);
11494
+ break;
11495
+ case 5:
11496
+ var value = /** @type {number} */ (reader.readUint64());
11497
+ msg.setFrustratedPrompts(value);
9687
11498
  break;
9688
11499
  default:
9689
11500
  reader.skipField();
@@ -9698,9 +11509,9 @@ proto.gateway.web.v1.AIContentPart.deserializeBinaryFromReader = function(msg, r
9698
11509
  * Serializes the message to binary data (in protobuf wire format).
9699
11510
  * @return {!Uint8Array}
9700
11511
  */
9701
- proto.gateway.web.v1.AIContentPart.prototype.serializeBinary = function() {
11512
+ proto.gateway.web.v1.AIPromptScoreWeek.prototype.serializeBinary = function() {
9702
11513
  var writer = new jspb.BinaryWriter();
9703
- proto.gateway.web.v1.AIContentPart.serializeBinaryToWriter(this, writer);
11514
+ proto.gateway.web.v1.AIPromptScoreWeek.serializeBinaryToWriter(this, writer);
9704
11515
  return writer.getResultBuffer();
9705
11516
  };
9706
11517
 
@@ -9708,87 +11519,137 @@ proto.gateway.web.v1.AIContentPart.prototype.serializeBinary = function() {
9708
11519
  /**
9709
11520
  * Serializes the given message to binary data (in protobuf wire
9710
11521
  * format), writing to the given BinaryWriter.
9711
- * @param {!proto.gateway.web.v1.AIContentPart} message
11522
+ * @param {!proto.gateway.web.v1.AIPromptScoreWeek} message
9712
11523
  * @param {!jspb.BinaryWriter} writer
9713
11524
  * @suppress {unusedLocalVariables} f is only used for nested messages
9714
11525
  */
9715
- proto.gateway.web.v1.AIContentPart.serializeBinaryToWriter = function(message, writer) {
11526
+ proto.gateway.web.v1.AIPromptScoreWeek.serializeBinaryToWriter = function(message, writer) {
9716
11527
  var f = undefined;
9717
- f = message.getPartIndex();
9718
- if (f !== 0) {
9719
- writer.writeUint32(
11528
+ f = message.getWeekStart();
11529
+ if (f.length > 0) {
11530
+ writer.writeString(
9720
11531
  1,
9721
11532
  f
9722
11533
  );
9723
11534
  }
9724
- f = message.getContentType();
9725
- if (f.length > 0) {
9726
- writer.writeString(
11535
+ f = message.getScoredPrompts();
11536
+ if (f !== 0) {
11537
+ writer.writeUint64(
9727
11538
  2,
9728
11539
  f
9729
11540
  );
9730
11541
  }
9731
- f = message.getContent();
9732
- if (f.length > 0) {
9733
- writer.writeString(
11542
+ f = message.getClaritySum();
11543
+ if (f !== 0) {
11544
+ writer.writeUint64(
9734
11545
  3,
9735
11546
  f
9736
11547
  );
9737
11548
  }
11549
+ f = message.getCorrections();
11550
+ if (f !== 0) {
11551
+ writer.writeUint64(
11552
+ 4,
11553
+ f
11554
+ );
11555
+ }
11556
+ f = message.getFrustratedPrompts();
11557
+ if (f !== 0) {
11558
+ writer.writeUint64(
11559
+ 5,
11560
+ f
11561
+ );
11562
+ }
9738
11563
  };
9739
11564
 
9740
11565
 
9741
11566
  /**
9742
- * optional uint32 part_index = 1;
11567
+ * optional string week_start = 1;
11568
+ * @return {string}
11569
+ */
11570
+ proto.gateway.web.v1.AIPromptScoreWeek.prototype.getWeekStart = function() {
11571
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
11572
+ };
11573
+
11574
+
11575
+ /**
11576
+ * @param {string} value
11577
+ * @return {!proto.gateway.web.v1.AIPromptScoreWeek} returns this
11578
+ */
11579
+ proto.gateway.web.v1.AIPromptScoreWeek.prototype.setWeekStart = function(value) {
11580
+ return jspb.Message.setProto3StringField(this, 1, value);
11581
+ };
11582
+
11583
+
11584
+ /**
11585
+ * optional uint64 scored_prompts = 2;
9743
11586
  * @return {number}
9744
11587
  */
9745
- proto.gateway.web.v1.AIContentPart.prototype.getPartIndex = function() {
9746
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
11588
+ proto.gateway.web.v1.AIPromptScoreWeek.prototype.getScoredPrompts = function() {
11589
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
9747
11590
  };
9748
11591
 
9749
11592
 
9750
11593
  /**
9751
11594
  * @param {number} value
9752
- * @return {!proto.gateway.web.v1.AIContentPart} returns this
11595
+ * @return {!proto.gateway.web.v1.AIPromptScoreWeek} returns this
9753
11596
  */
9754
- proto.gateway.web.v1.AIContentPart.prototype.setPartIndex = function(value) {
9755
- return jspb.Message.setProto3IntField(this, 1, value);
11597
+ proto.gateway.web.v1.AIPromptScoreWeek.prototype.setScoredPrompts = function(value) {
11598
+ return jspb.Message.setProto3IntField(this, 2, value);
9756
11599
  };
9757
11600
 
9758
11601
 
9759
11602
  /**
9760
- * optional string content_type = 2;
9761
- * @return {string}
11603
+ * optional uint64 clarity_sum = 3;
11604
+ * @return {number}
9762
11605
  */
9763
- proto.gateway.web.v1.AIContentPart.prototype.getContentType = function() {
9764
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
11606
+ proto.gateway.web.v1.AIPromptScoreWeek.prototype.getClaritySum = function() {
11607
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
9765
11608
  };
9766
11609
 
9767
11610
 
9768
11611
  /**
9769
- * @param {string} value
9770
- * @return {!proto.gateway.web.v1.AIContentPart} returns this
11612
+ * @param {number} value
11613
+ * @return {!proto.gateway.web.v1.AIPromptScoreWeek} returns this
9771
11614
  */
9772
- proto.gateway.web.v1.AIContentPart.prototype.setContentType = function(value) {
9773
- return jspb.Message.setProto3StringField(this, 2, value);
11615
+ proto.gateway.web.v1.AIPromptScoreWeek.prototype.setClaritySum = function(value) {
11616
+ return jspb.Message.setProto3IntField(this, 3, value);
9774
11617
  };
9775
11618
 
9776
11619
 
9777
11620
  /**
9778
- * optional string content = 3;
9779
- * @return {string}
11621
+ * optional uint64 corrections = 4;
11622
+ * @return {number}
9780
11623
  */
9781
- proto.gateway.web.v1.AIContentPart.prototype.getContent = function() {
9782
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
11624
+ proto.gateway.web.v1.AIPromptScoreWeek.prototype.getCorrections = function() {
11625
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
9783
11626
  };
9784
11627
 
9785
11628
 
9786
11629
  /**
9787
- * @param {string} value
9788
- * @return {!proto.gateway.web.v1.AIContentPart} returns this
11630
+ * @param {number} value
11631
+ * @return {!proto.gateway.web.v1.AIPromptScoreWeek} returns this
9789
11632
  */
9790
- proto.gateway.web.v1.AIContentPart.prototype.setContent = function(value) {
9791
- return jspb.Message.setProto3StringField(this, 3, value);
11633
+ proto.gateway.web.v1.AIPromptScoreWeek.prototype.setCorrections = function(value) {
11634
+ return jspb.Message.setProto3IntField(this, 4, value);
11635
+ };
11636
+
11637
+
11638
+ /**
11639
+ * optional uint64 frustrated_prompts = 5;
11640
+ * @return {number}
11641
+ */
11642
+ proto.gateway.web.v1.AIPromptScoreWeek.prototype.getFrustratedPrompts = function() {
11643
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
11644
+ };
11645
+
11646
+
11647
+ /**
11648
+ * @param {number} value
11649
+ * @return {!proto.gateway.web.v1.AIPromptScoreWeek} returns this
11650
+ */
11651
+ proto.gateway.web.v1.AIPromptScoreWeek.prototype.setFrustratedPrompts = function(value) {
11652
+ return jspb.Message.setProto3IntField(this, 5, value);
9792
11653
  };
9793
11654
 
9794
11655
 
@@ -45186,6 +47047,48 @@ proto.gateway.web.v1.AISessionEventType = {
45186
47047
  AI_SESSION_EVENT_TYPE_SUMMARY: 15
45187
47048
  };
45188
47049
 
47050
+ /**
47051
+ * @enum {number}
47052
+ */
47053
+ proto.gateway.web.v1.AIPromptComplexity = {
47054
+ AI_PROMPT_COMPLEXITY_UNSPECIFIED: 0,
47055
+ AI_PROMPT_COMPLEXITY_SIMPLE: 1,
47056
+ AI_PROMPT_COMPLEXITY_MODERATE: 2,
47057
+ AI_PROMPT_COMPLEXITY_COMPLEX: 3
47058
+ };
47059
+
47060
+ /**
47061
+ * @enum {number}
47062
+ */
47063
+ proto.gateway.web.v1.AIPromptSteering = {
47064
+ AI_PROMPT_STEERING_UNSPECIFIED: 0,
47065
+ AI_PROMPT_STEERING_NEW_TASK: 1,
47066
+ AI_PROMPT_STEERING_FOLLOW_UP: 2,
47067
+ AI_PROMPT_STEERING_CORRECTION: 3,
47068
+ AI_PROMPT_STEERING_REDIRECT: 4,
47069
+ AI_PROMPT_STEERING_APPROVAL: 5
47070
+ };
47071
+
47072
+ /**
47073
+ * @enum {number}
47074
+ */
47075
+ proto.gateway.web.v1.AIPromptFrustration = {
47076
+ AI_PROMPT_FRUSTRATION_UNSPECIFIED: 0,
47077
+ AI_PROMPT_FRUSTRATION_NONE: 1,
47078
+ AI_PROMPT_FRUSTRATION_MILD: 2,
47079
+ AI_PROMPT_FRUSTRATION_STRONG: 3
47080
+ };
47081
+
47082
+ /**
47083
+ * @enum {number}
47084
+ */
47085
+ proto.gateway.web.v1.AIPromptSentiment = {
47086
+ AI_PROMPT_SENTIMENT_UNSPECIFIED: 0,
47087
+ AI_PROMPT_SENTIMENT_NEGATIVE: 1,
47088
+ AI_PROMPT_SENTIMENT_NEUTRAL: 2,
47089
+ AI_PROMPT_SENTIMENT_POSITIVE: 3
47090
+ };
47091
+
45189
47092
  /**
45190
47093
  * @enum {number}
45191
47094
  */