@miradorlabs/web-grpc 4.23.0 → 4.24.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.
Files changed (34) hide show
  1. package/google/api/field_behavior.ts +1 -1
  2. package/google/protobuf/descriptor.ts +1 -1
  3. package/google/protobuf/duration.ts +1 -1
  4. package/google/protobuf/timestamp.ts +1 -1
  5. package/package.json +1 -1
  6. package/proto/gateway/common/v1/attribute_value.ts +1 -1
  7. package/proto/gateway/common/v1/status.ts +1 -1
  8. package/proto/gateway/common/v1/types.ts +1 -1
  9. package/proto/gateway/web/v1/account_gateway.ts +1 -1
  10. package/proto/gateway/web/v1/admin_gateway.ts +1 -1
  11. package/proto/gateway/web/v1/ai_gateway.ts +495 -752
  12. package/proto/gateway/web/v1/ai_gateway_grpc_pb.js +4 -4
  13. package/proto/gateway/web/v1/ai_gateway_pb.js +830 -778
  14. package/proto/gateway/web/v1/attribute_value.ts +1 -1
  15. package/proto/gateway/web/v1/beta_gateway.ts +1 -1
  16. package/proto/gateway/web/v1/chain_gateway.ts +1 -1
  17. package/proto/gateway/web/v1/claude_enterprise_gateway.ts +1 -1
  18. package/proto/gateway/web/v1/common.ts +1 -1
  19. package/proto/gateway/web/v1/derived_metric_gateway.ts +1 -1
  20. package/proto/gateway/web/v1/desktop_auth_gateway.ts +1 -1
  21. package/proto/gateway/web/v1/github_connector.ts +1 -1
  22. package/proto/gateway/web/v1/integration_gateway.ts +1 -1
  23. package/proto/gateway/web/v1/log_gateway.ts +1 -1
  24. package/proto/gateway/web/v1/market_gateway.ts +1 -1
  25. package/proto/gateway/web/v1/metric_gateway.ts +1 -1
  26. package/proto/gateway/web/v1/notification_gateway.ts +1 -1
  27. package/proto/gateway/web/v1/oauth_gateway.ts +1 -1
  28. package/proto/gateway/web/v1/plan_gateway.ts +1 -1
  29. package/proto/gateway/web/v1/policy_gateway.ts +1 -1
  30. package/proto/gateway/web/v1/reference_gateway.ts +1 -1
  31. package/proto/gateway/web/v1/rule_gateway.ts +1 -1
  32. package/proto/gateway/web/v1/slo_gateway.ts +1 -1
  33. package/proto/gateway/web/v1/trace_gateway.ts +1 -1
  34. package/proto/gateway/web/v1/trace_measure_gateway.ts +1 -1
@@ -68,30 +68,26 @@ goog.exportSymbol('proto.gateway.web.v1.AIPromptSteering', null, global);
68
68
  goog.exportSymbol('proto.gateway.web.v1.AIPromptSteeringCount', null, global);
69
69
  goog.exportSymbol('proto.gateway.web.v1.AIResourceDimension', null, global);
70
70
  goog.exportSymbol('proto.gateway.web.v1.AIResourceRankingGroupBy', null, global);
71
- goog.exportSymbol('proto.gateway.web.v1.AISessionAgentReliability', null, global);
72
71
  goog.exportSymbol('proto.gateway.web.v1.AISessionComplexity', null, global);
72
+ goog.exportSymbol('proto.gateway.web.v1.AISessionCriterionMean', null, global);
73
73
  goog.exportSymbol('proto.gateway.web.v1.AISessionEvent', null, global);
74
74
  goog.exportSymbol('proto.gateway.web.v1.AISessionEventEnvelope', null, global);
75
75
  goog.exportSymbol('proto.gateway.web.v1.AISessionEventEnvelope.FrameCase', null, global);
76
76
  goog.exportSymbol('proto.gateway.web.v1.AISessionEventRef', null, global);
77
77
  goog.exportSymbol('proto.gateway.web.v1.AISessionEventType', null, global);
78
78
  goog.exportSymbol('proto.gateway.web.v1.AISessionFilter', null, global);
79
- goog.exportSymbol('proto.gateway.web.v1.AISessionGrades', null, global);
80
79
  goog.exportSymbol('proto.gateway.web.v1.AISessionInsight', null, global);
81
80
  goog.exportSymbol('proto.gateway.web.v1.AISessionInsightActionType', null, global);
82
81
  goog.exportSymbol('proto.gateway.web.v1.AISessionInsightCategory', null, global);
83
82
  goog.exportSymbol('proto.gateway.web.v1.AISessionInsightSeverity', null, global);
84
83
  goog.exportSymbol('proto.gateway.web.v1.AISessionInsights', null, global);
85
- goog.exportSymbol('proto.gateway.web.v1.AISessionOutcome', null, global);
86
84
  goog.exportSymbol('proto.gateway.web.v1.AISessionRef', null, global);
85
+ goog.exportSymbol('proto.gateway.web.v1.AISessionRubricResult', null, global);
87
86
  goog.exportSymbol('proto.gateway.web.v1.AISessionScore', null, global);
88
- goog.exportSymbol('proto.gateway.web.v1.AISessionScoreComponent', null, global);
89
- goog.exportSymbol('proto.gateway.web.v1.AISessionScoreComponentKind', null, global);
87
+ goog.exportSymbol('proto.gateway.web.v1.AISessionScoreSummary', null, global);
90
88
  goog.exportSymbol('proto.gateway.web.v1.AISessionScoreTrendFilter', null, global);
91
89
  goog.exportSymbol('proto.gateway.web.v1.AISessionScoreWeek', null, global);
92
- goog.exportSymbol('proto.gateway.web.v1.AISessionSteeringLoad', null, global);
93
90
  goog.exportSymbol('proto.gateway.web.v1.AISessionSummary', null, global);
94
- goog.exportSymbol('proto.gateway.web.v1.AISessionVerification', null, global);
95
91
  goog.exportSymbol('proto.gateway.web.v1.AISessionWorkType', null, global);
96
92
  goog.exportSymbol('proto.gateway.web.v1.AISkillMetadata', null, global);
97
93
  goog.exportSymbol('proto.gateway.web.v1.AISkillSuggestion', null, global);
@@ -2604,27 +2600,6 @@ if (goog.DEBUG && !COMPILED) {
2604
2600
  */
2605
2601
  proto.gateway.web.v1.GetSessionAnalysisResponse.displayName = 'proto.gateway.web.v1.GetSessionAnalysisResponse';
2606
2602
  }
2607
- /**
2608
- * Generated by JsPbCodeGenerator.
2609
- * @param {Array=} opt_data Optional initial data array, typically from a
2610
- * server response, or constructed directly in Javascript. The array is used
2611
- * in place and becomes part of the constructed object. It is not cloned.
2612
- * If no data is provided, the constructed object will be empty, but still
2613
- * valid.
2614
- * @extends {jspb.Message}
2615
- * @constructor
2616
- */
2617
- proto.gateway.web.v1.AISessionGrades = function(opt_data) {
2618
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2619
- };
2620
- goog.inherits(proto.gateway.web.v1.AISessionGrades, jspb.Message);
2621
- if (goog.DEBUG && !COMPILED) {
2622
- /**
2623
- * @public
2624
- * @override
2625
- */
2626
- proto.gateway.web.v1.AISessionGrades.displayName = 'proto.gateway.web.v1.AISessionGrades';
2627
- }
2628
2603
  /**
2629
2604
  * Generated by JsPbCodeGenerator.
2630
2605
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -2761,16 +2736,37 @@ if (goog.DEBUG && !COMPILED) {
2761
2736
  * @extends {jspb.Message}
2762
2737
  * @constructor
2763
2738
  */
2764
- proto.gateway.web.v1.AISessionScoreComponent = function(opt_data) {
2739
+ proto.gateway.web.v1.AISessionRubricResult = function(opt_data) {
2740
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.AISessionRubricResult.repeatedFields_, null);
2741
+ };
2742
+ goog.inherits(proto.gateway.web.v1.AISessionRubricResult, jspb.Message);
2743
+ if (goog.DEBUG && !COMPILED) {
2744
+ /**
2745
+ * @public
2746
+ * @override
2747
+ */
2748
+ proto.gateway.web.v1.AISessionRubricResult.displayName = 'proto.gateway.web.v1.AISessionRubricResult';
2749
+ }
2750
+ /**
2751
+ * Generated by JsPbCodeGenerator.
2752
+ * @param {Array=} opt_data Optional initial data array, typically from a
2753
+ * server response, or constructed directly in Javascript. The array is used
2754
+ * in place and becomes part of the constructed object. It is not cloned.
2755
+ * If no data is provided, the constructed object will be empty, but still
2756
+ * valid.
2757
+ * @extends {jspb.Message}
2758
+ * @constructor
2759
+ */
2760
+ proto.gateway.web.v1.AISessionScoreSummary = function(opt_data) {
2765
2761
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2766
2762
  };
2767
- goog.inherits(proto.gateway.web.v1.AISessionScoreComponent, jspb.Message);
2763
+ goog.inherits(proto.gateway.web.v1.AISessionScoreSummary, jspb.Message);
2768
2764
  if (goog.DEBUG && !COMPILED) {
2769
2765
  /**
2770
2766
  * @public
2771
2767
  * @override
2772
2768
  */
2773
- proto.gateway.web.v1.AISessionScoreComponent.displayName = 'proto.gateway.web.v1.AISessionScoreComponent';
2769
+ proto.gateway.web.v1.AISessionScoreSummary.displayName = 'proto.gateway.web.v1.AISessionScoreSummary';
2774
2770
  }
2775
2771
  /**
2776
2772
  * Generated by JsPbCodeGenerator.
@@ -2846,7 +2842,7 @@ if (goog.DEBUG && !COMPILED) {
2846
2842
  * @constructor
2847
2843
  */
2848
2844
  proto.gateway.web.v1.AISessionScoreWeek = function(opt_data) {
2849
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2845
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.AISessionScoreWeek.repeatedFields_, null);
2850
2846
  };
2851
2847
  goog.inherits(proto.gateway.web.v1.AISessionScoreWeek, jspb.Message);
2852
2848
  if (goog.DEBUG && !COMPILED) {
@@ -2856,6 +2852,27 @@ if (goog.DEBUG && !COMPILED) {
2856
2852
  */
2857
2853
  proto.gateway.web.v1.AISessionScoreWeek.displayName = 'proto.gateway.web.v1.AISessionScoreWeek';
2858
2854
  }
2855
+ /**
2856
+ * Generated by JsPbCodeGenerator.
2857
+ * @param {Array=} opt_data Optional initial data array, typically from a
2858
+ * server response, or constructed directly in Javascript. The array is used
2859
+ * in place and becomes part of the constructed object. It is not cloned.
2860
+ * If no data is provided, the constructed object will be empty, but still
2861
+ * valid.
2862
+ * @extends {jspb.Message}
2863
+ * @constructor
2864
+ */
2865
+ proto.gateway.web.v1.AISessionCriterionMean = function(opt_data) {
2866
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2867
+ };
2868
+ goog.inherits(proto.gateway.web.v1.AISessionCriterionMean, jspb.Message);
2869
+ if (goog.DEBUG && !COMPILED) {
2870
+ /**
2871
+ * @public
2872
+ * @override
2873
+ */
2874
+ proto.gateway.web.v1.AISessionCriterionMean.displayName = 'proto.gateway.web.v1.AISessionCriterionMean';
2875
+ }
2859
2876
  /**
2860
2877
  * Generated by JsPbCodeGenerator.
2861
2878
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -6006,7 +6023,6 @@ recap: jspb.Message.getFieldWithDefault(msg, 34, ""),
6006
6023
  workType: jspb.Message.getFieldWithDefault(msg, 36, 0),
6007
6024
  complexity: jspb.Message.getFieldWithDefault(msg, 37, 0),
6008
6025
  sessionScore: (f = jspb.Message.getField(msg, 38)) == null ? undefined : f,
6009
- outcome: jspb.Message.getFieldWithDefault(msg, 39, 0),
6010
6026
  promptLabelSummary: (f = msg.getPromptLabelSummary()) && proto.gateway.web.v1.AIPromptLabelSummary.toObject(includeInstance, f)
6011
6027
  };
6012
6028
 
@@ -6200,10 +6216,6 @@ proto.gateway.web.v1.AISessionSummary.deserializeBinaryFromReader = function(msg
6200
6216
  msg.setSessionScore(value);
6201
6217
  break;
6202
6218
  case 39:
6203
- var value = /** @type {!proto.gateway.web.v1.AISessionOutcome} */ (reader.readEnum());
6204
- msg.setOutcome(value);
6205
- break;
6206
- case 40:
6207
6219
  var value = new proto.gateway.web.v1.AIPromptLabelSummary;
6208
6220
  reader.readMessage(value,proto.gateway.web.v1.AIPromptLabelSummary.deserializeBinaryFromReader);
6209
6221
  msg.setPromptLabelSummary(value);
@@ -6506,17 +6518,10 @@ proto.gateway.web.v1.AISessionSummary.serializeBinaryToWriter = function(message
6506
6518
  f
6507
6519
  );
6508
6520
  }
6509
- f = message.getOutcome();
6510
- if (f !== 0.0) {
6511
- writer.writeEnum(
6512
- 39,
6513
- f
6514
- );
6515
- }
6516
6521
  f = message.getPromptLabelSummary();
6517
6522
  if (f != null) {
6518
6523
  writer.writeMessage(
6519
- 40,
6524
+ 39,
6520
6525
  f,
6521
6526
  proto.gateway.web.v1.AIPromptLabelSummary.serializeBinaryToWriter
6522
6527
  );
@@ -7493,30 +7498,12 @@ proto.gateway.web.v1.AISessionSummary.prototype.hasSessionScore = function() {
7493
7498
 
7494
7499
 
7495
7500
  /**
7496
- * optional AISessionOutcome outcome = 39;
7497
- * @return {!proto.gateway.web.v1.AISessionOutcome}
7498
- */
7499
- proto.gateway.web.v1.AISessionSummary.prototype.getOutcome = function() {
7500
- return /** @type {!proto.gateway.web.v1.AISessionOutcome} */ (jspb.Message.getFieldWithDefault(this, 39, 0));
7501
- };
7502
-
7503
-
7504
- /**
7505
- * @param {!proto.gateway.web.v1.AISessionOutcome} value
7506
- * @return {!proto.gateway.web.v1.AISessionSummary} returns this
7507
- */
7508
- proto.gateway.web.v1.AISessionSummary.prototype.setOutcome = function(value) {
7509
- return jspb.Message.setProto3EnumField(this, 39, value);
7510
- };
7511
-
7512
-
7513
- /**
7514
- * optional AIPromptLabelSummary prompt_label_summary = 40;
7501
+ * optional AIPromptLabelSummary prompt_label_summary = 39;
7515
7502
  * @return {?proto.gateway.web.v1.AIPromptLabelSummary}
7516
7503
  */
7517
7504
  proto.gateway.web.v1.AISessionSummary.prototype.getPromptLabelSummary = function() {
7518
7505
  return /** @type{?proto.gateway.web.v1.AIPromptLabelSummary} */ (
7519
- jspb.Message.getWrapperField(this, proto.gateway.web.v1.AIPromptLabelSummary, 40));
7506
+ jspb.Message.getWrapperField(this, proto.gateway.web.v1.AIPromptLabelSummary, 39));
7520
7507
  };
7521
7508
 
7522
7509
 
@@ -7525,7 +7512,7 @@ proto.gateway.web.v1.AISessionSummary.prototype.getPromptLabelSummary = function
7525
7512
  * @return {!proto.gateway.web.v1.AISessionSummary} returns this
7526
7513
  */
7527
7514
  proto.gateway.web.v1.AISessionSummary.prototype.setPromptLabelSummary = function(value) {
7528
- return jspb.Message.setWrapperField(this, 40, value);
7515
+ return jspb.Message.setWrapperField(this, 39, value);
7529
7516
  };
7530
7517
 
7531
7518
 
@@ -7543,7 +7530,7 @@ proto.gateway.web.v1.AISessionSummary.prototype.clearPromptLabelSummary = functi
7543
7530
  * @return {boolean}
7544
7531
  */
7545
7532
  proto.gateway.web.v1.AISessionSummary.prototype.hasPromptLabelSummary = function() {
7546
- return jspb.Message.getField(this, 40) != null;
7533
+ return jspb.Message.getField(this, 39) != null;
7547
7534
  };
7548
7535
 
7549
7536
 
@@ -38501,10 +38488,9 @@ proto.gateway.web.v1.GetSessionAnalysisResponse.prototype.toObject = function(op
38501
38488
  proto.gateway.web.v1.GetSessionAnalysisResponse.toObject = function(includeInstance, msg) {
38502
38489
  var f, obj = {
38503
38490
  status: (f = msg.getStatus()) && proto_gateway_common_v1_status_pb.ResponseStatus.toObject(includeInstance, f),
38504
- grades: (f = msg.getGrades()) && proto.gateway.web.v1.AISessionGrades.toObject(includeInstance, f),
38505
38491
  score: (f = msg.getScore()) && proto.gateway.web.v1.AISessionScore.toObject(includeInstance, f),
38506
38492
  insights: (f = msg.getInsights()) && proto.gateway.web.v1.AISessionInsights.toObject(includeInstance, f),
38507
- sessionVersion: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f
38493
+ sessionVersion: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f
38508
38494
  };
38509
38495
 
38510
38496
  if (includeInstance) {
@@ -38547,21 +38533,16 @@ proto.gateway.web.v1.GetSessionAnalysisResponse.deserializeBinaryFromReader = fu
38547
38533
  msg.setStatus(value);
38548
38534
  break;
38549
38535
  case 2:
38550
- var value = new proto.gateway.web.v1.AISessionGrades;
38551
- reader.readMessage(value,proto.gateway.web.v1.AISessionGrades.deserializeBinaryFromReader);
38552
- msg.setGrades(value);
38553
- break;
38554
- case 3:
38555
38536
  var value = new proto.gateway.web.v1.AISessionScore;
38556
38537
  reader.readMessage(value,proto.gateway.web.v1.AISessionScore.deserializeBinaryFromReader);
38557
38538
  msg.setScore(value);
38558
38539
  break;
38559
- case 4:
38540
+ case 3:
38560
38541
  var value = new proto.gateway.web.v1.AISessionInsights;
38561
38542
  reader.readMessage(value,proto.gateway.web.v1.AISessionInsights.deserializeBinaryFromReader);
38562
38543
  msg.setInsights(value);
38563
38544
  break;
38564
- case 5:
38545
+ case 4:
38565
38546
  var value = /** @type {number} */ (reader.readUint64());
38566
38547
  msg.setSessionVersion(value);
38567
38548
  break;
@@ -38602,18 +38583,10 @@ proto.gateway.web.v1.GetSessionAnalysisResponse.serializeBinaryToWriter = functi
38602
38583
  proto_gateway_common_v1_status_pb.ResponseStatus.serializeBinaryToWriter
38603
38584
  );
38604
38585
  }
38605
- f = message.getGrades();
38606
- if (f != null) {
38607
- writer.writeMessage(
38608
- 2,
38609
- f,
38610
- proto.gateway.web.v1.AISessionGrades.serializeBinaryToWriter
38611
- );
38612
- }
38613
38586
  f = message.getScore();
38614
38587
  if (f != null) {
38615
38588
  writer.writeMessage(
38616
- 3,
38589
+ 2,
38617
38590
  f,
38618
38591
  proto.gateway.web.v1.AISessionScore.serializeBinaryToWriter
38619
38592
  );
@@ -38621,15 +38594,15 @@ proto.gateway.web.v1.GetSessionAnalysisResponse.serializeBinaryToWriter = functi
38621
38594
  f = message.getInsights();
38622
38595
  if (f != null) {
38623
38596
  writer.writeMessage(
38624
- 4,
38597
+ 3,
38625
38598
  f,
38626
38599
  proto.gateway.web.v1.AISessionInsights.serializeBinaryToWriter
38627
38600
  );
38628
38601
  }
38629
- f = /** @type {number} */ (jspb.Message.getField(message, 5));
38602
+ f = /** @type {number} */ (jspb.Message.getField(message, 4));
38630
38603
  if (f != null) {
38631
38604
  writer.writeUint64(
38632
- 5,
38605
+ 4,
38633
38606
  f
38634
38607
  );
38635
38608
  }
@@ -38674,49 +38647,12 @@ proto.gateway.web.v1.GetSessionAnalysisResponse.prototype.hasStatus = function()
38674
38647
 
38675
38648
 
38676
38649
  /**
38677
- * optional AISessionGrades grades = 2;
38678
- * @return {?proto.gateway.web.v1.AISessionGrades}
38679
- */
38680
- proto.gateway.web.v1.GetSessionAnalysisResponse.prototype.getGrades = function() {
38681
- return /** @type{?proto.gateway.web.v1.AISessionGrades} */ (
38682
- jspb.Message.getWrapperField(this, proto.gateway.web.v1.AISessionGrades, 2));
38683
- };
38684
-
38685
-
38686
- /**
38687
- * @param {?proto.gateway.web.v1.AISessionGrades|undefined} value
38688
- * @return {!proto.gateway.web.v1.GetSessionAnalysisResponse} returns this
38689
- */
38690
- proto.gateway.web.v1.GetSessionAnalysisResponse.prototype.setGrades = function(value) {
38691
- return jspb.Message.setWrapperField(this, 2, value);
38692
- };
38693
-
38694
-
38695
- /**
38696
- * Clears the message field making it undefined.
38697
- * @return {!proto.gateway.web.v1.GetSessionAnalysisResponse} returns this
38698
- */
38699
- proto.gateway.web.v1.GetSessionAnalysisResponse.prototype.clearGrades = function() {
38700
- return this.setGrades(undefined);
38701
- };
38702
-
38703
-
38704
- /**
38705
- * Returns whether this field is set.
38706
- * @return {boolean}
38707
- */
38708
- proto.gateway.web.v1.GetSessionAnalysisResponse.prototype.hasGrades = function() {
38709
- return jspb.Message.getField(this, 2) != null;
38710
- };
38711
-
38712
-
38713
- /**
38714
- * optional AISessionScore score = 3;
38650
+ * optional AISessionScore score = 2;
38715
38651
  * @return {?proto.gateway.web.v1.AISessionScore}
38716
38652
  */
38717
38653
  proto.gateway.web.v1.GetSessionAnalysisResponse.prototype.getScore = function() {
38718
38654
  return /** @type{?proto.gateway.web.v1.AISessionScore} */ (
38719
- jspb.Message.getWrapperField(this, proto.gateway.web.v1.AISessionScore, 3));
38655
+ jspb.Message.getWrapperField(this, proto.gateway.web.v1.AISessionScore, 2));
38720
38656
  };
38721
38657
 
38722
38658
 
@@ -38725,7 +38661,7 @@ proto.gateway.web.v1.GetSessionAnalysisResponse.prototype.getScore = function()
38725
38661
  * @return {!proto.gateway.web.v1.GetSessionAnalysisResponse} returns this
38726
38662
  */
38727
38663
  proto.gateway.web.v1.GetSessionAnalysisResponse.prototype.setScore = function(value) {
38728
- return jspb.Message.setWrapperField(this, 3, value);
38664
+ return jspb.Message.setWrapperField(this, 2, value);
38729
38665
  };
38730
38666
 
38731
38667
 
@@ -38743,17 +38679,17 @@ proto.gateway.web.v1.GetSessionAnalysisResponse.prototype.clearScore = function(
38743
38679
  * @return {boolean}
38744
38680
  */
38745
38681
  proto.gateway.web.v1.GetSessionAnalysisResponse.prototype.hasScore = function() {
38746
- return jspb.Message.getField(this, 3) != null;
38682
+ return jspb.Message.getField(this, 2) != null;
38747
38683
  };
38748
38684
 
38749
38685
 
38750
38686
  /**
38751
- * optional AISessionInsights insights = 4;
38687
+ * optional AISessionInsights insights = 3;
38752
38688
  * @return {?proto.gateway.web.v1.AISessionInsights}
38753
38689
  */
38754
38690
  proto.gateway.web.v1.GetSessionAnalysisResponse.prototype.getInsights = function() {
38755
38691
  return /** @type{?proto.gateway.web.v1.AISessionInsights} */ (
38756
- jspb.Message.getWrapperField(this, proto.gateway.web.v1.AISessionInsights, 4));
38692
+ jspb.Message.getWrapperField(this, proto.gateway.web.v1.AISessionInsights, 3));
38757
38693
  };
38758
38694
 
38759
38695
 
@@ -38762,7 +38698,7 @@ proto.gateway.web.v1.GetSessionAnalysisResponse.prototype.getInsights = function
38762
38698
  * @return {!proto.gateway.web.v1.GetSessionAnalysisResponse} returns this
38763
38699
  */
38764
38700
  proto.gateway.web.v1.GetSessionAnalysisResponse.prototype.setInsights = function(value) {
38765
- return jspb.Message.setWrapperField(this, 4, value);
38701
+ return jspb.Message.setWrapperField(this, 3, value);
38766
38702
  };
38767
38703
 
38768
38704
 
@@ -38780,16 +38716,16 @@ proto.gateway.web.v1.GetSessionAnalysisResponse.prototype.clearInsights = functi
38780
38716
  * @return {boolean}
38781
38717
  */
38782
38718
  proto.gateway.web.v1.GetSessionAnalysisResponse.prototype.hasInsights = function() {
38783
- return jspb.Message.getField(this, 4) != null;
38719
+ return jspb.Message.getField(this, 3) != null;
38784
38720
  };
38785
38721
 
38786
38722
 
38787
38723
  /**
38788
- * optional uint64 session_version = 5;
38724
+ * optional uint64 session_version = 4;
38789
38725
  * @return {number}
38790
38726
  */
38791
38727
  proto.gateway.web.v1.GetSessionAnalysisResponse.prototype.getSessionVersion = function() {
38792
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
38728
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
38793
38729
  };
38794
38730
 
38795
38731
 
@@ -38798,7 +38734,7 @@ proto.gateway.web.v1.GetSessionAnalysisResponse.prototype.getSessionVersion = fu
38798
38734
  * @return {!proto.gateway.web.v1.GetSessionAnalysisResponse} returns this
38799
38735
  */
38800
38736
  proto.gateway.web.v1.GetSessionAnalysisResponse.prototype.setSessionVersion = function(value) {
38801
- return jspb.Message.setField(this, 5, value);
38737
+ return jspb.Message.setField(this, 4, value);
38802
38738
  };
38803
38739
 
38804
38740
 
@@ -38807,7 +38743,7 @@ proto.gateway.web.v1.GetSessionAnalysisResponse.prototype.setSessionVersion = fu
38807
38743
  * @return {!proto.gateway.web.v1.GetSessionAnalysisResponse} returns this
38808
38744
  */
38809
38745
  proto.gateway.web.v1.GetSessionAnalysisResponse.prototype.clearSessionVersion = function() {
38810
- return jspb.Message.setField(this, 5, undefined);
38746
+ return jspb.Message.setField(this, 4, undefined);
38811
38747
  };
38812
38748
 
38813
38749
 
@@ -38816,368 +38752,7 @@ proto.gateway.web.v1.GetSessionAnalysisResponse.prototype.clearSessionVersion =
38816
38752
  * @return {boolean}
38817
38753
  */
38818
38754
  proto.gateway.web.v1.GetSessionAnalysisResponse.prototype.hasSessionVersion = function() {
38819
- return jspb.Message.getField(this, 5) != null;
38820
- };
38821
-
38822
-
38823
-
38824
-
38825
-
38826
- if (jspb.Message.GENERATE_TO_OBJECT) {
38827
- /**
38828
- * Creates an object representation of this proto.
38829
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
38830
- * Optional fields that are not set will be set to undefined.
38831
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
38832
- * For the list of reserved names please see:
38833
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
38834
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
38835
- * JSPB instance for transitional soy proto support:
38836
- * http://goto/soy-param-migration
38837
- * @return {!Object}
38838
- */
38839
- proto.gateway.web.v1.AISessionGrades.prototype.toObject = function(opt_includeInstance) {
38840
- return proto.gateway.web.v1.AISessionGrades.toObject(opt_includeInstance, this);
38841
- };
38842
-
38843
-
38844
- /**
38845
- * Static version of the {@see toObject} method.
38846
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
38847
- * the JSPB instance for transitional soy proto support:
38848
- * http://goto/soy-param-migration
38849
- * @param {!proto.gateway.web.v1.AISessionGrades} msg The msg instance to transform.
38850
- * @return {!Object}
38851
- * @suppress {unusedLocalVariables} f is only used for nested messages
38852
- */
38853
- proto.gateway.web.v1.AISessionGrades.toObject = function(includeInstance, msg) {
38854
- var f, obj = {
38855
- outcome: jspb.Message.getFieldWithDefault(msg, 1, 0),
38856
- steeringLoad: jspb.Message.getFieldWithDefault(msg, 2, 0),
38857
- agentReliability: jspb.Message.getFieldWithDefault(msg, 3, 0),
38858
- verification: jspb.Message.getFieldWithDefault(msg, 4, 0),
38859
- model: jspb.Message.getFieldWithDefault(msg, 5, ""),
38860
- version: jspb.Message.getFieldWithDefault(msg, 6, ""),
38861
- inputSessionVersion: jspb.Message.getFieldWithDefault(msg, 7, 0),
38862
- scoredAt: (f = msg.getScoredAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
38863
- };
38864
-
38865
- if (includeInstance) {
38866
- obj.$jspbMessageInstance = msg;
38867
- }
38868
- return obj;
38869
- };
38870
- }
38871
-
38872
-
38873
- /**
38874
- * Deserializes binary data (in protobuf wire format).
38875
- * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
38876
- * @return {!proto.gateway.web.v1.AISessionGrades}
38877
- */
38878
- proto.gateway.web.v1.AISessionGrades.deserializeBinary = function(bytes) {
38879
- var reader = new jspb.BinaryReader(bytes);
38880
- var msg = new proto.gateway.web.v1.AISessionGrades;
38881
- return proto.gateway.web.v1.AISessionGrades.deserializeBinaryFromReader(msg, reader);
38882
- };
38883
-
38884
-
38885
- /**
38886
- * Deserializes binary data (in protobuf wire format) from the
38887
- * given reader into the given message object.
38888
- * @param {!proto.gateway.web.v1.AISessionGrades} msg The message object to deserialize into.
38889
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
38890
- * @return {!proto.gateway.web.v1.AISessionGrades}
38891
- */
38892
- proto.gateway.web.v1.AISessionGrades.deserializeBinaryFromReader = function(msg, reader) {
38893
- while (reader.nextField()) {
38894
- if (reader.isEndGroup()) {
38895
- break;
38896
- }
38897
- var field = reader.getFieldNumber();
38898
- switch (field) {
38899
- case 1:
38900
- var value = /** @type {!proto.gateway.web.v1.AISessionOutcome} */ (reader.readEnum());
38901
- msg.setOutcome(value);
38902
- break;
38903
- case 2:
38904
- var value = /** @type {!proto.gateway.web.v1.AISessionSteeringLoad} */ (reader.readEnum());
38905
- msg.setSteeringLoad(value);
38906
- break;
38907
- case 3:
38908
- var value = /** @type {!proto.gateway.web.v1.AISessionAgentReliability} */ (reader.readEnum());
38909
- msg.setAgentReliability(value);
38910
- break;
38911
- case 4:
38912
- var value = /** @type {!proto.gateway.web.v1.AISessionVerification} */ (reader.readEnum());
38913
- msg.setVerification(value);
38914
- break;
38915
- case 5:
38916
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
38917
- msg.setModel(value);
38918
- break;
38919
- case 6:
38920
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
38921
- msg.setVersion(value);
38922
- break;
38923
- case 7:
38924
- var value = /** @type {number} */ (reader.readUint64());
38925
- msg.setInputSessionVersion(value);
38926
- break;
38927
- case 8:
38928
- var value = new google_protobuf_timestamp_pb.Timestamp;
38929
- reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
38930
- msg.setScoredAt(value);
38931
- break;
38932
- default:
38933
- reader.skipField();
38934
- break;
38935
- }
38936
- }
38937
- return msg;
38938
- };
38939
-
38940
-
38941
- /**
38942
- * Serializes the message to binary data (in protobuf wire format).
38943
- * @return {!Uint8Array}
38944
- */
38945
- proto.gateway.web.v1.AISessionGrades.prototype.serializeBinary = function() {
38946
- var writer = new jspb.BinaryWriter();
38947
- proto.gateway.web.v1.AISessionGrades.serializeBinaryToWriter(this, writer);
38948
- return writer.getResultBuffer();
38949
- };
38950
-
38951
-
38952
- /**
38953
- * Serializes the given message to binary data (in protobuf wire
38954
- * format), writing to the given BinaryWriter.
38955
- * @param {!proto.gateway.web.v1.AISessionGrades} message
38956
- * @param {!jspb.BinaryWriter} writer
38957
- * @suppress {unusedLocalVariables} f is only used for nested messages
38958
- */
38959
- proto.gateway.web.v1.AISessionGrades.serializeBinaryToWriter = function(message, writer) {
38960
- var f = undefined;
38961
- f = message.getOutcome();
38962
- if (f !== 0.0) {
38963
- writer.writeEnum(
38964
- 1,
38965
- f
38966
- );
38967
- }
38968
- f = message.getSteeringLoad();
38969
- if (f !== 0.0) {
38970
- writer.writeEnum(
38971
- 2,
38972
- f
38973
- );
38974
- }
38975
- f = message.getAgentReliability();
38976
- if (f !== 0.0) {
38977
- writer.writeEnum(
38978
- 3,
38979
- f
38980
- );
38981
- }
38982
- f = message.getVerification();
38983
- if (f !== 0.0) {
38984
- writer.writeEnum(
38985
- 4,
38986
- f
38987
- );
38988
- }
38989
- f = message.getModel();
38990
- if (f.length > 0) {
38991
- writer.writeString(
38992
- 5,
38993
- f
38994
- );
38995
- }
38996
- f = message.getVersion();
38997
- if (f.length > 0) {
38998
- writer.writeString(
38999
- 6,
39000
- f
39001
- );
39002
- }
39003
- f = message.getInputSessionVersion();
39004
- if (f !== 0) {
39005
- writer.writeUint64(
39006
- 7,
39007
- f
39008
- );
39009
- }
39010
- f = message.getScoredAt();
39011
- if (f != null) {
39012
- writer.writeMessage(
39013
- 8,
39014
- f,
39015
- google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
39016
- );
39017
- }
39018
- };
39019
-
39020
-
39021
- /**
39022
- * optional AISessionOutcome outcome = 1;
39023
- * @return {!proto.gateway.web.v1.AISessionOutcome}
39024
- */
39025
- proto.gateway.web.v1.AISessionGrades.prototype.getOutcome = function() {
39026
- return /** @type {!proto.gateway.web.v1.AISessionOutcome} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
39027
- };
39028
-
39029
-
39030
- /**
39031
- * @param {!proto.gateway.web.v1.AISessionOutcome} value
39032
- * @return {!proto.gateway.web.v1.AISessionGrades} returns this
39033
- */
39034
- proto.gateway.web.v1.AISessionGrades.prototype.setOutcome = function(value) {
39035
- return jspb.Message.setProto3EnumField(this, 1, value);
39036
- };
39037
-
39038
-
39039
- /**
39040
- * optional AISessionSteeringLoad steering_load = 2;
39041
- * @return {!proto.gateway.web.v1.AISessionSteeringLoad}
39042
- */
39043
- proto.gateway.web.v1.AISessionGrades.prototype.getSteeringLoad = function() {
39044
- return /** @type {!proto.gateway.web.v1.AISessionSteeringLoad} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
39045
- };
39046
-
39047
-
39048
- /**
39049
- * @param {!proto.gateway.web.v1.AISessionSteeringLoad} value
39050
- * @return {!proto.gateway.web.v1.AISessionGrades} returns this
39051
- */
39052
- proto.gateway.web.v1.AISessionGrades.prototype.setSteeringLoad = function(value) {
39053
- return jspb.Message.setProto3EnumField(this, 2, value);
39054
- };
39055
-
39056
-
39057
- /**
39058
- * optional AISessionAgentReliability agent_reliability = 3;
39059
- * @return {!proto.gateway.web.v1.AISessionAgentReliability}
39060
- */
39061
- proto.gateway.web.v1.AISessionGrades.prototype.getAgentReliability = function() {
39062
- return /** @type {!proto.gateway.web.v1.AISessionAgentReliability} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
39063
- };
39064
-
39065
-
39066
- /**
39067
- * @param {!proto.gateway.web.v1.AISessionAgentReliability} value
39068
- * @return {!proto.gateway.web.v1.AISessionGrades} returns this
39069
- */
39070
- proto.gateway.web.v1.AISessionGrades.prototype.setAgentReliability = function(value) {
39071
- return jspb.Message.setProto3EnumField(this, 3, value);
39072
- };
39073
-
39074
-
39075
- /**
39076
- * optional AISessionVerification verification = 4;
39077
- * @return {!proto.gateway.web.v1.AISessionVerification}
39078
- */
39079
- proto.gateway.web.v1.AISessionGrades.prototype.getVerification = function() {
39080
- return /** @type {!proto.gateway.web.v1.AISessionVerification} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
39081
- };
39082
-
39083
-
39084
- /**
39085
- * @param {!proto.gateway.web.v1.AISessionVerification} value
39086
- * @return {!proto.gateway.web.v1.AISessionGrades} returns this
39087
- */
39088
- proto.gateway.web.v1.AISessionGrades.prototype.setVerification = function(value) {
39089
- return jspb.Message.setProto3EnumField(this, 4, value);
39090
- };
39091
-
39092
-
39093
- /**
39094
- * optional string model = 5;
39095
- * @return {string}
39096
- */
39097
- proto.gateway.web.v1.AISessionGrades.prototype.getModel = function() {
39098
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
39099
- };
39100
-
39101
-
39102
- /**
39103
- * @param {string} value
39104
- * @return {!proto.gateway.web.v1.AISessionGrades} returns this
39105
- */
39106
- proto.gateway.web.v1.AISessionGrades.prototype.setModel = function(value) {
39107
- return jspb.Message.setProto3StringField(this, 5, value);
39108
- };
39109
-
39110
-
39111
- /**
39112
- * optional string version = 6;
39113
- * @return {string}
39114
- */
39115
- proto.gateway.web.v1.AISessionGrades.prototype.getVersion = function() {
39116
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
39117
- };
39118
-
39119
-
39120
- /**
39121
- * @param {string} value
39122
- * @return {!proto.gateway.web.v1.AISessionGrades} returns this
39123
- */
39124
- proto.gateway.web.v1.AISessionGrades.prototype.setVersion = function(value) {
39125
- return jspb.Message.setProto3StringField(this, 6, value);
39126
- };
39127
-
39128
-
39129
- /**
39130
- * optional uint64 input_session_version = 7;
39131
- * @return {number}
39132
- */
39133
- proto.gateway.web.v1.AISessionGrades.prototype.getInputSessionVersion = function() {
39134
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
39135
- };
39136
-
39137
-
39138
- /**
39139
- * @param {number} value
39140
- * @return {!proto.gateway.web.v1.AISessionGrades} returns this
39141
- */
39142
- proto.gateway.web.v1.AISessionGrades.prototype.setInputSessionVersion = function(value) {
39143
- return jspb.Message.setProto3IntField(this, 7, value);
39144
- };
39145
-
39146
-
39147
- /**
39148
- * optional google.protobuf.Timestamp scored_at = 8;
39149
- * @return {?proto.google.protobuf.Timestamp}
39150
- */
39151
- proto.gateway.web.v1.AISessionGrades.prototype.getScoredAt = function() {
39152
- return /** @type{?proto.google.protobuf.Timestamp} */ (
39153
- jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 8));
39154
- };
39155
-
39156
-
39157
- /**
39158
- * @param {?proto.google.protobuf.Timestamp|undefined} value
39159
- * @return {!proto.gateway.web.v1.AISessionGrades} returns this
39160
- */
39161
- proto.gateway.web.v1.AISessionGrades.prototype.setScoredAt = function(value) {
39162
- return jspb.Message.setWrapperField(this, 8, value);
39163
- };
39164
-
39165
-
39166
- /**
39167
- * Clears the message field making it undefined.
39168
- * @return {!proto.gateway.web.v1.AISessionGrades} returns this
39169
- */
39170
- proto.gateway.web.v1.AISessionGrades.prototype.clearScoredAt = function() {
39171
- return this.setScoredAt(undefined);
39172
- };
39173
-
39174
-
39175
- /**
39176
- * Returns whether this field is set.
39177
- * @return {boolean}
39178
- */
39179
- proto.gateway.web.v1.AISessionGrades.prototype.hasScoredAt = function() {
39180
- return jspb.Message.getField(this, 8) != null;
38755
+ return jspb.Message.getField(this, 4) != null;
39181
38756
  };
39182
38757
 
39183
38758
 
@@ -40473,12 +40048,14 @@ proto.gateway.web.v1.AISessionScore.prototype.toObject = function(opt_includeIns
40473
40048
  */
40474
40049
  proto.gateway.web.v1.AISessionScore.toObject = function(includeInstance, msg) {
40475
40050
  var f, obj = {
40476
- formulaVersion: jspb.Message.getFieldWithDefault(msg, 1, ""),
40477
- score: jspb.Message.getFieldWithDefault(msg, 2, 0),
40478
- componentsList: jspb.Message.toObjectList(msg.getComponentsList(),
40479
- proto.gateway.web.v1.AISessionScoreComponent.toObject, includeInstance),
40480
- scoreVersion: jspb.Message.getFieldWithDefault(msg, 4, ""),
40481
- inputSessionVersion: jspb.Message.getFieldWithDefault(msg, 5, 0),
40051
+ score: jspb.Message.getFieldWithDefault(msg, 1, 0),
40052
+ rubricVersion: jspb.Message.getFieldWithDefault(msg, 2, ""),
40053
+ resultsList: jspb.Message.toObjectList(msg.getResultsList(),
40054
+ proto.gateway.web.v1.AISessionRubricResult.toObject, includeInstance),
40055
+ summary: (f = msg.getSummary()) && proto.gateway.web.v1.AISessionScoreSummary.toObject(includeInstance, f),
40056
+ model: jspb.Message.getFieldWithDefault(msg, 5, ""),
40057
+ scoreVersion: jspb.Message.getFieldWithDefault(msg, 6, ""),
40058
+ inputSessionVersion: jspb.Message.getFieldWithDefault(msg, 7, 0),
40482
40059
  scoredAt: (f = msg.getScoredAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
40483
40060
  };
40484
40061
 
@@ -40517,27 +40094,36 @@ proto.gateway.web.v1.AISessionScore.deserializeBinaryFromReader = function(msg,
40517
40094
  var field = reader.getFieldNumber();
40518
40095
  switch (field) {
40519
40096
  case 1:
40520
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
40521
- msg.setFormulaVersion(value);
40522
- break;
40523
- case 2:
40524
40097
  var value = /** @type {number} */ (reader.readInt32());
40525
40098
  msg.setScore(value);
40526
40099
  break;
40100
+ case 2:
40101
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
40102
+ msg.setRubricVersion(value);
40103
+ break;
40527
40104
  case 3:
40528
- var value = new proto.gateway.web.v1.AISessionScoreComponent;
40529
- reader.readMessage(value,proto.gateway.web.v1.AISessionScoreComponent.deserializeBinaryFromReader);
40530
- msg.addComponents(value);
40105
+ var value = new proto.gateway.web.v1.AISessionRubricResult;
40106
+ reader.readMessage(value,proto.gateway.web.v1.AISessionRubricResult.deserializeBinaryFromReader);
40107
+ msg.addResults(value);
40531
40108
  break;
40532
40109
  case 4:
40110
+ var value = new proto.gateway.web.v1.AISessionScoreSummary;
40111
+ reader.readMessage(value,proto.gateway.web.v1.AISessionScoreSummary.deserializeBinaryFromReader);
40112
+ msg.setSummary(value);
40113
+ break;
40114
+ case 5:
40115
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
40116
+ msg.setModel(value);
40117
+ break;
40118
+ case 6:
40533
40119
  var value = /** @type {string} */ (reader.readStringRequireUtf8());
40534
40120
  msg.setScoreVersion(value);
40535
40121
  break;
40536
- case 5:
40122
+ case 7:
40537
40123
  var value = /** @type {number} */ (reader.readUint64());
40538
40124
  msg.setInputSessionVersion(value);
40539
40125
  break;
40540
- case 6:
40126
+ case 8:
40541
40127
  var value = new google_protobuf_timestamp_pb.Timestamp;
40542
40128
  reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
40543
40129
  msg.setScoredAt(value);
@@ -40571,46 +40157,61 @@ proto.gateway.web.v1.AISessionScore.prototype.serializeBinary = function() {
40571
40157
  */
40572
40158
  proto.gateway.web.v1.AISessionScore.serializeBinaryToWriter = function(message, writer) {
40573
40159
  var f = undefined;
40574
- f = message.getFormulaVersion();
40575
- if (f.length > 0) {
40576
- writer.writeString(
40160
+ f = message.getScore();
40161
+ if (f !== 0) {
40162
+ writer.writeInt32(
40577
40163
  1,
40578
40164
  f
40579
40165
  );
40580
40166
  }
40581
- f = message.getScore();
40582
- if (f !== 0) {
40583
- writer.writeInt32(
40167
+ f = message.getRubricVersion();
40168
+ if (f.length > 0) {
40169
+ writer.writeString(
40584
40170
  2,
40585
40171
  f
40586
40172
  );
40587
40173
  }
40588
- f = message.getComponentsList();
40174
+ f = message.getResultsList();
40589
40175
  if (f.length > 0) {
40590
40176
  writer.writeRepeatedMessage(
40591
40177
  3,
40592
40178
  f,
40593
- proto.gateway.web.v1.AISessionScoreComponent.serializeBinaryToWriter
40179
+ proto.gateway.web.v1.AISessionRubricResult.serializeBinaryToWriter
40180
+ );
40181
+ }
40182
+ f = message.getSummary();
40183
+ if (f != null) {
40184
+ writer.writeMessage(
40185
+ 4,
40186
+ f,
40187
+ proto.gateway.web.v1.AISessionScoreSummary.serializeBinaryToWriter
40188
+ );
40189
+ }
40190
+ f = message.getModel();
40191
+ if (f.length > 0) {
40192
+ writer.writeString(
40193
+ 5,
40194
+ f
40594
40195
  );
40595
40196
  }
40596
40197
  f = message.getScoreVersion();
40597
40198
  if (f.length > 0) {
40598
40199
  writer.writeString(
40599
- 4,
40200
+ 6,
40600
40201
  f
40601
40202
  );
40602
40203
  }
40603
40204
  f = message.getInputSessionVersion();
40604
40205
  if (f !== 0) {
40605
40206
  writer.writeUint64(
40606
- 5,
40207
+ 7,
40607
40208
  f
40608
40209
  );
40609
40210
  }
40610
40211
  f = message.getScoredAt();
40611
40212
  if (f != null) {
40612
40213
  writer.writeMessage(
40613
- 6,
40214
+ 8,
40614
40215
  f,
40615
40216
  google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
40616
40217
  );
@@ -40619,67 +40220,67 @@ proto.gateway.web.v1.AISessionScore.serializeBinaryToWriter = function(message,
40619
40220
 
40620
40221
 
40621
40222
  /**
40622
- * optional string formula_version = 1;
40623
- * @return {string}
40223
+ * optional int32 score = 1;
40224
+ * @return {number}
40624
40225
  */
40625
- proto.gateway.web.v1.AISessionScore.prototype.getFormulaVersion = function() {
40626
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
40226
+ proto.gateway.web.v1.AISessionScore.prototype.getScore = function() {
40227
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
40627
40228
  };
40628
40229
 
40629
40230
 
40630
40231
  /**
40631
- * @param {string} value
40232
+ * @param {number} value
40632
40233
  * @return {!proto.gateway.web.v1.AISessionScore} returns this
40633
40234
  */
40634
- proto.gateway.web.v1.AISessionScore.prototype.setFormulaVersion = function(value) {
40635
- return jspb.Message.setProto3StringField(this, 1, value);
40235
+ proto.gateway.web.v1.AISessionScore.prototype.setScore = function(value) {
40236
+ return jspb.Message.setProto3IntField(this, 1, value);
40636
40237
  };
40637
40238
 
40638
40239
 
40639
40240
  /**
40640
- * optional int32 score = 2;
40641
- * @return {number}
40241
+ * optional string rubric_version = 2;
40242
+ * @return {string}
40642
40243
  */
40643
- proto.gateway.web.v1.AISessionScore.prototype.getScore = function() {
40644
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
40244
+ proto.gateway.web.v1.AISessionScore.prototype.getRubricVersion = function() {
40245
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
40645
40246
  };
40646
40247
 
40647
40248
 
40648
40249
  /**
40649
- * @param {number} value
40250
+ * @param {string} value
40650
40251
  * @return {!proto.gateway.web.v1.AISessionScore} returns this
40651
40252
  */
40652
- proto.gateway.web.v1.AISessionScore.prototype.setScore = function(value) {
40653
- return jspb.Message.setProto3IntField(this, 2, value);
40253
+ proto.gateway.web.v1.AISessionScore.prototype.setRubricVersion = function(value) {
40254
+ return jspb.Message.setProto3StringField(this, 2, value);
40654
40255
  };
40655
40256
 
40656
40257
 
40657
40258
  /**
40658
- * repeated AISessionScoreComponent components = 3;
40659
- * @return {!Array<!proto.gateway.web.v1.AISessionScoreComponent>}
40259
+ * repeated AISessionRubricResult results = 3;
40260
+ * @return {!Array<!proto.gateway.web.v1.AISessionRubricResult>}
40660
40261
  */
40661
- proto.gateway.web.v1.AISessionScore.prototype.getComponentsList = function() {
40662
- return /** @type{!Array<!proto.gateway.web.v1.AISessionScoreComponent>} */ (
40663
- jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.AISessionScoreComponent, 3));
40262
+ proto.gateway.web.v1.AISessionScore.prototype.getResultsList = function() {
40263
+ return /** @type{!Array<!proto.gateway.web.v1.AISessionRubricResult>} */ (
40264
+ jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.AISessionRubricResult, 3));
40664
40265
  };
40665
40266
 
40666
40267
 
40667
40268
  /**
40668
- * @param {!Array<!proto.gateway.web.v1.AISessionScoreComponent>} value
40269
+ * @param {!Array<!proto.gateway.web.v1.AISessionRubricResult>} value
40669
40270
  * @return {!proto.gateway.web.v1.AISessionScore} returns this
40670
40271
  */
40671
- proto.gateway.web.v1.AISessionScore.prototype.setComponentsList = function(value) {
40272
+ proto.gateway.web.v1.AISessionScore.prototype.setResultsList = function(value) {
40672
40273
  return jspb.Message.setRepeatedWrapperField(this, 3, value);
40673
40274
  };
40674
40275
 
40675
40276
 
40676
40277
  /**
40677
- * @param {!proto.gateway.web.v1.AISessionScoreComponent=} opt_value
40278
+ * @param {!proto.gateway.web.v1.AISessionRubricResult=} opt_value
40678
40279
  * @param {number=} opt_index
40679
- * @return {!proto.gateway.web.v1.AISessionScoreComponent}
40280
+ * @return {!proto.gateway.web.v1.AISessionRubricResult}
40680
40281
  */
40681
- proto.gateway.web.v1.AISessionScore.prototype.addComponents = function(opt_value, opt_index) {
40682
- return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.gateway.web.v1.AISessionScoreComponent, opt_index);
40282
+ proto.gateway.web.v1.AISessionScore.prototype.addResults = function(opt_value, opt_index) {
40283
+ return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.gateway.web.v1.AISessionRubricResult, opt_index);
40683
40284
  };
40684
40285
 
40685
40286
 
@@ -40687,17 +40288,72 @@ proto.gateway.web.v1.AISessionScore.prototype.addComponents = function(opt_value
40687
40288
  * Clears the list making it empty but non-null.
40688
40289
  * @return {!proto.gateway.web.v1.AISessionScore} returns this
40689
40290
  */
40690
- proto.gateway.web.v1.AISessionScore.prototype.clearComponentsList = function() {
40691
- return this.setComponentsList([]);
40291
+ proto.gateway.web.v1.AISessionScore.prototype.clearResultsList = function() {
40292
+ return this.setResultsList([]);
40293
+ };
40294
+
40295
+
40296
+ /**
40297
+ * optional AISessionScoreSummary summary = 4;
40298
+ * @return {?proto.gateway.web.v1.AISessionScoreSummary}
40299
+ */
40300
+ proto.gateway.web.v1.AISessionScore.prototype.getSummary = function() {
40301
+ return /** @type{?proto.gateway.web.v1.AISessionScoreSummary} */ (
40302
+ jspb.Message.getWrapperField(this, proto.gateway.web.v1.AISessionScoreSummary, 4));
40303
+ };
40304
+
40305
+
40306
+ /**
40307
+ * @param {?proto.gateway.web.v1.AISessionScoreSummary|undefined} value
40308
+ * @return {!proto.gateway.web.v1.AISessionScore} returns this
40309
+ */
40310
+ proto.gateway.web.v1.AISessionScore.prototype.setSummary = function(value) {
40311
+ return jspb.Message.setWrapperField(this, 4, value);
40312
+ };
40313
+
40314
+
40315
+ /**
40316
+ * Clears the message field making it undefined.
40317
+ * @return {!proto.gateway.web.v1.AISessionScore} returns this
40318
+ */
40319
+ proto.gateway.web.v1.AISessionScore.prototype.clearSummary = function() {
40320
+ return this.setSummary(undefined);
40321
+ };
40322
+
40323
+
40324
+ /**
40325
+ * Returns whether this field is set.
40326
+ * @return {boolean}
40327
+ */
40328
+ proto.gateway.web.v1.AISessionScore.prototype.hasSummary = function() {
40329
+ return jspb.Message.getField(this, 4) != null;
40692
40330
  };
40693
40331
 
40694
40332
 
40695
40333
  /**
40696
- * optional string score_version = 4;
40334
+ * optional string model = 5;
40335
+ * @return {string}
40336
+ */
40337
+ proto.gateway.web.v1.AISessionScore.prototype.getModel = function() {
40338
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
40339
+ };
40340
+
40341
+
40342
+ /**
40343
+ * @param {string} value
40344
+ * @return {!proto.gateway.web.v1.AISessionScore} returns this
40345
+ */
40346
+ proto.gateway.web.v1.AISessionScore.prototype.setModel = function(value) {
40347
+ return jspb.Message.setProto3StringField(this, 5, value);
40348
+ };
40349
+
40350
+
40351
+ /**
40352
+ * optional string score_version = 6;
40697
40353
  * @return {string}
40698
40354
  */
40699
40355
  proto.gateway.web.v1.AISessionScore.prototype.getScoreVersion = function() {
40700
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
40356
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
40701
40357
  };
40702
40358
 
40703
40359
 
@@ -40706,16 +40362,16 @@ proto.gateway.web.v1.AISessionScore.prototype.getScoreVersion = function() {
40706
40362
  * @return {!proto.gateway.web.v1.AISessionScore} returns this
40707
40363
  */
40708
40364
  proto.gateway.web.v1.AISessionScore.prototype.setScoreVersion = function(value) {
40709
- return jspb.Message.setProto3StringField(this, 4, value);
40365
+ return jspb.Message.setProto3StringField(this, 6, value);
40710
40366
  };
40711
40367
 
40712
40368
 
40713
40369
  /**
40714
- * optional uint64 input_session_version = 5;
40370
+ * optional uint64 input_session_version = 7;
40715
40371
  * @return {number}
40716
40372
  */
40717
40373
  proto.gateway.web.v1.AISessionScore.prototype.getInputSessionVersion = function() {
40718
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
40374
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
40719
40375
  };
40720
40376
 
40721
40377
 
@@ -40724,17 +40380,17 @@ proto.gateway.web.v1.AISessionScore.prototype.getInputSessionVersion = function(
40724
40380
  * @return {!proto.gateway.web.v1.AISessionScore} returns this
40725
40381
  */
40726
40382
  proto.gateway.web.v1.AISessionScore.prototype.setInputSessionVersion = function(value) {
40727
- return jspb.Message.setProto3IntField(this, 5, value);
40383
+ return jspb.Message.setProto3IntField(this, 7, value);
40728
40384
  };
40729
40385
 
40730
40386
 
40731
40387
  /**
40732
- * optional google.protobuf.Timestamp scored_at = 6;
40388
+ * optional google.protobuf.Timestamp scored_at = 8;
40733
40389
  * @return {?proto.google.protobuf.Timestamp}
40734
40390
  */
40735
40391
  proto.gateway.web.v1.AISessionScore.prototype.getScoredAt = function() {
40736
40392
  return /** @type{?proto.google.protobuf.Timestamp} */ (
40737
- jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 6));
40393
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 8));
40738
40394
  };
40739
40395
 
40740
40396
 
@@ -40743,7 +40399,7 @@ proto.gateway.web.v1.AISessionScore.prototype.getScoredAt = function() {
40743
40399
  * @return {!proto.gateway.web.v1.AISessionScore} returns this
40744
40400
  */
40745
40401
  proto.gateway.web.v1.AISessionScore.prototype.setScoredAt = function(value) {
40746
- return jspb.Message.setWrapperField(this, 6, value);
40402
+ return jspb.Message.setWrapperField(this, 8, value);
40747
40403
  };
40748
40404
 
40749
40405
 
@@ -40761,11 +40417,18 @@ proto.gateway.web.v1.AISessionScore.prototype.clearScoredAt = function() {
40761
40417
  * @return {boolean}
40762
40418
  */
40763
40419
  proto.gateway.web.v1.AISessionScore.prototype.hasScoredAt = function() {
40764
- return jspb.Message.getField(this, 6) != null;
40420
+ return jspb.Message.getField(this, 8) != null;
40765
40421
  };
40766
40422
 
40767
40423
 
40768
40424
 
40425
+ /**
40426
+ * List of repeated fields within this message type.
40427
+ * @private {!Array<number>}
40428
+ * @const
40429
+ */
40430
+ proto.gateway.web.v1.AISessionRubricResult.repeatedFields_ = [9];
40431
+
40769
40432
 
40770
40433
 
40771
40434
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -40781,8 +40444,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
40781
40444
  * http://goto/soy-param-migration
40782
40445
  * @return {!Object}
40783
40446
  */
40784
- proto.gateway.web.v1.AISessionScoreComponent.prototype.toObject = function(opt_includeInstance) {
40785
- return proto.gateway.web.v1.AISessionScoreComponent.toObject(opt_includeInstance, this);
40447
+ proto.gateway.web.v1.AISessionRubricResult.prototype.toObject = function(opt_includeInstance) {
40448
+ return proto.gateway.web.v1.AISessionRubricResult.toObject(opt_includeInstance, this);
40786
40449
  };
40787
40450
 
40788
40451
 
@@ -40791,18 +40454,22 @@ proto.gateway.web.v1.AISessionScoreComponent.prototype.toObject = function(opt_i
40791
40454
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
40792
40455
  * the JSPB instance for transitional soy proto support:
40793
40456
  * http://goto/soy-param-migration
40794
- * @param {!proto.gateway.web.v1.AISessionScoreComponent} msg The msg instance to transform.
40457
+ * @param {!proto.gateway.web.v1.AISessionRubricResult} msg The msg instance to transform.
40795
40458
  * @return {!Object}
40796
40459
  * @suppress {unusedLocalVariables} f is only used for nested messages
40797
40460
  */
40798
- proto.gateway.web.v1.AISessionScoreComponent.toObject = function(includeInstance, msg) {
40461
+ proto.gateway.web.v1.AISessionRubricResult.toObject = function(includeInstance, msg) {
40799
40462
  var f, obj = {
40800
- kind: jspb.Message.getFieldWithDefault(msg, 1, 0),
40801
- available: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
40802
- baseWeight: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
40803
- weight: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
40804
- value: (f = jspb.Message.getOptionalFloatingPointField(msg, 5)) == null ? undefined : f,
40805
- contribution: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0)
40463
+ criterionKey: jspb.Message.getFieldWithDefault(msg, 1, ""),
40464
+ name: jspb.Message.getFieldWithDefault(msg, 2, ""),
40465
+ weight: jspb.Message.getFieldWithDefault(msg, 3, 0),
40466
+ grade: jspb.Message.getFieldWithDefault(msg, 4, ""),
40467
+ value: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
40468
+ contribution: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
40469
+ assessment: jspb.Message.getFieldWithDefault(msg, 7, ""),
40470
+ improvement: jspb.Message.getFieldWithDefault(msg, 8, ""),
40471
+ evidenceRefsList: jspb.Message.toObjectList(msg.getEvidenceRefsList(),
40472
+ proto.gateway.web.v1.AISessionEventRef.toObject, includeInstance)
40806
40473
  };
40807
40474
 
40808
40475
  if (includeInstance) {
@@ -40816,23 +40483,23 @@ contribution: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0)
40816
40483
  /**
40817
40484
  * Deserializes binary data (in protobuf wire format).
40818
40485
  * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
40819
- * @return {!proto.gateway.web.v1.AISessionScoreComponent}
40486
+ * @return {!proto.gateway.web.v1.AISessionRubricResult}
40820
40487
  */
40821
- proto.gateway.web.v1.AISessionScoreComponent.deserializeBinary = function(bytes) {
40488
+ proto.gateway.web.v1.AISessionRubricResult.deserializeBinary = function(bytes) {
40822
40489
  var reader = new jspb.BinaryReader(bytes);
40823
- var msg = new proto.gateway.web.v1.AISessionScoreComponent;
40824
- return proto.gateway.web.v1.AISessionScoreComponent.deserializeBinaryFromReader(msg, reader);
40490
+ var msg = new proto.gateway.web.v1.AISessionRubricResult;
40491
+ return proto.gateway.web.v1.AISessionRubricResult.deserializeBinaryFromReader(msg, reader);
40825
40492
  };
40826
40493
 
40827
40494
 
40828
40495
  /**
40829
40496
  * Deserializes binary data (in protobuf wire format) from the
40830
40497
  * given reader into the given message object.
40831
- * @param {!proto.gateway.web.v1.AISessionScoreComponent} msg The message object to deserialize into.
40498
+ * @param {!proto.gateway.web.v1.AISessionRubricResult} msg The message object to deserialize into.
40832
40499
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
40833
- * @return {!proto.gateway.web.v1.AISessionScoreComponent}
40500
+ * @return {!proto.gateway.web.v1.AISessionRubricResult}
40834
40501
  */
40835
- proto.gateway.web.v1.AISessionScoreComponent.deserializeBinaryFromReader = function(msg, reader) {
40502
+ proto.gateway.web.v1.AISessionRubricResult.deserializeBinaryFromReader = function(msg, reader) {
40836
40503
  while (reader.nextField()) {
40837
40504
  if (reader.isEndGroup()) {
40838
40505
  break;
@@ -40840,20 +40507,20 @@ proto.gateway.web.v1.AISessionScoreComponent.deserializeBinaryFromReader = funct
40840
40507
  var field = reader.getFieldNumber();
40841
40508
  switch (field) {
40842
40509
  case 1:
40843
- var value = /** @type {!proto.gateway.web.v1.AISessionScoreComponentKind} */ (reader.readEnum());
40844
- msg.setKind(value);
40510
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
40511
+ msg.setCriterionKey(value);
40845
40512
  break;
40846
40513
  case 2:
40847
- var value = /** @type {boolean} */ (reader.readBool());
40848
- msg.setAvailable(value);
40514
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
40515
+ msg.setName(value);
40849
40516
  break;
40850
40517
  case 3:
40851
- var value = /** @type {number} */ (reader.readDouble());
40852
- msg.setBaseWeight(value);
40518
+ var value = /** @type {number} */ (reader.readUint32());
40519
+ msg.setWeight(value);
40853
40520
  break;
40854
40521
  case 4:
40855
- var value = /** @type {number} */ (reader.readDouble());
40856
- msg.setWeight(value);
40522
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
40523
+ msg.setGrade(value);
40857
40524
  break;
40858
40525
  case 5:
40859
40526
  var value = /** @type {number} */ (reader.readDouble());
@@ -40863,6 +40530,19 @@ proto.gateway.web.v1.AISessionScoreComponent.deserializeBinaryFromReader = funct
40863
40530
  var value = /** @type {number} */ (reader.readDouble());
40864
40531
  msg.setContribution(value);
40865
40532
  break;
40533
+ case 7:
40534
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
40535
+ msg.setAssessment(value);
40536
+ break;
40537
+ case 8:
40538
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
40539
+ msg.setImprovement(value);
40540
+ break;
40541
+ case 9:
40542
+ var value = new proto.gateway.web.v1.AISessionEventRef;
40543
+ reader.readMessage(value,proto.gateway.web.v1.AISessionEventRef.deserializeBinaryFromReader);
40544
+ msg.addEvidenceRefs(value);
40545
+ break;
40866
40546
  default:
40867
40547
  reader.skipField();
40868
40548
  break;
@@ -40876,9 +40556,9 @@ proto.gateway.web.v1.AISessionScoreComponent.deserializeBinaryFromReader = funct
40876
40556
  * Serializes the message to binary data (in protobuf wire format).
40877
40557
  * @return {!Uint8Array}
40878
40558
  */
40879
- proto.gateway.web.v1.AISessionScoreComponent.prototype.serializeBinary = function() {
40559
+ proto.gateway.web.v1.AISessionRubricResult.prototype.serializeBinary = function() {
40880
40560
  var writer = new jspb.BinaryWriter();
40881
- proto.gateway.web.v1.AISessionScoreComponent.serializeBinaryToWriter(this, writer);
40561
+ proto.gateway.web.v1.AISessionRubricResult.serializeBinaryToWriter(this, writer);
40882
40562
  return writer.getResultBuffer();
40883
40563
  };
40884
40564
 
@@ -40886,42 +40566,42 @@ proto.gateway.web.v1.AISessionScoreComponent.prototype.serializeBinary = functio
40886
40566
  /**
40887
40567
  * Serializes the given message to binary data (in protobuf wire
40888
40568
  * format), writing to the given BinaryWriter.
40889
- * @param {!proto.gateway.web.v1.AISessionScoreComponent} message
40569
+ * @param {!proto.gateway.web.v1.AISessionRubricResult} message
40890
40570
  * @param {!jspb.BinaryWriter} writer
40891
40571
  * @suppress {unusedLocalVariables} f is only used for nested messages
40892
40572
  */
40893
- proto.gateway.web.v1.AISessionScoreComponent.serializeBinaryToWriter = function(message, writer) {
40573
+ proto.gateway.web.v1.AISessionRubricResult.serializeBinaryToWriter = function(message, writer) {
40894
40574
  var f = undefined;
40895
- f = message.getKind();
40896
- if (f !== 0.0) {
40897
- writer.writeEnum(
40575
+ f = message.getCriterionKey();
40576
+ if (f.length > 0) {
40577
+ writer.writeString(
40898
40578
  1,
40899
40579
  f
40900
40580
  );
40901
40581
  }
40902
- f = message.getAvailable();
40903
- if (f) {
40904
- writer.writeBool(
40582
+ f = message.getName();
40583
+ if (f.length > 0) {
40584
+ writer.writeString(
40905
40585
  2,
40906
40586
  f
40907
40587
  );
40908
40588
  }
40909
- f = message.getBaseWeight();
40910
- if (f !== 0.0) {
40911
- writer.writeDouble(
40589
+ f = message.getWeight();
40590
+ if (f !== 0) {
40591
+ writer.writeUint32(
40912
40592
  3,
40913
40593
  f
40914
40594
  );
40915
40595
  }
40916
- f = message.getWeight();
40917
- if (f !== 0.0) {
40918
- writer.writeDouble(
40596
+ f = message.getGrade();
40597
+ if (f.length > 0) {
40598
+ writer.writeString(
40919
40599
  4,
40920
40600
  f
40921
40601
  );
40922
40602
  }
40923
- f = /** @type {number} */ (jspb.Message.getField(message, 5));
40924
- if (f != null) {
40603
+ f = message.getValue();
40604
+ if (f !== 0.0) {
40925
40605
  writer.writeDouble(
40926
40606
  5,
40927
40607
  f
@@ -40934,78 +40614,100 @@ proto.gateway.web.v1.AISessionScoreComponent.serializeBinaryToWriter = function(
40934
40614
  f
40935
40615
  );
40936
40616
  }
40617
+ f = message.getAssessment();
40618
+ if (f.length > 0) {
40619
+ writer.writeString(
40620
+ 7,
40621
+ f
40622
+ );
40623
+ }
40624
+ f = message.getImprovement();
40625
+ if (f.length > 0) {
40626
+ writer.writeString(
40627
+ 8,
40628
+ f
40629
+ );
40630
+ }
40631
+ f = message.getEvidenceRefsList();
40632
+ if (f.length > 0) {
40633
+ writer.writeRepeatedMessage(
40634
+ 9,
40635
+ f,
40636
+ proto.gateway.web.v1.AISessionEventRef.serializeBinaryToWriter
40637
+ );
40638
+ }
40937
40639
  };
40938
40640
 
40939
40641
 
40940
40642
  /**
40941
- * optional AISessionScoreComponentKind kind = 1;
40942
- * @return {!proto.gateway.web.v1.AISessionScoreComponentKind}
40643
+ * optional string criterion_key = 1;
40644
+ * @return {string}
40943
40645
  */
40944
- proto.gateway.web.v1.AISessionScoreComponent.prototype.getKind = function() {
40945
- return /** @type {!proto.gateway.web.v1.AISessionScoreComponentKind} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
40646
+ proto.gateway.web.v1.AISessionRubricResult.prototype.getCriterionKey = function() {
40647
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
40946
40648
  };
40947
40649
 
40948
40650
 
40949
40651
  /**
40950
- * @param {!proto.gateway.web.v1.AISessionScoreComponentKind} value
40951
- * @return {!proto.gateway.web.v1.AISessionScoreComponent} returns this
40652
+ * @param {string} value
40653
+ * @return {!proto.gateway.web.v1.AISessionRubricResult} returns this
40952
40654
  */
40953
- proto.gateway.web.v1.AISessionScoreComponent.prototype.setKind = function(value) {
40954
- return jspb.Message.setProto3EnumField(this, 1, value);
40655
+ proto.gateway.web.v1.AISessionRubricResult.prototype.setCriterionKey = function(value) {
40656
+ return jspb.Message.setProto3StringField(this, 1, value);
40955
40657
  };
40956
40658
 
40957
40659
 
40958
40660
  /**
40959
- * optional bool available = 2;
40960
- * @return {boolean}
40661
+ * optional string name = 2;
40662
+ * @return {string}
40961
40663
  */
40962
- proto.gateway.web.v1.AISessionScoreComponent.prototype.getAvailable = function() {
40963
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
40664
+ proto.gateway.web.v1.AISessionRubricResult.prototype.getName = function() {
40665
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
40964
40666
  };
40965
40667
 
40966
40668
 
40967
40669
  /**
40968
- * @param {boolean} value
40969
- * @return {!proto.gateway.web.v1.AISessionScoreComponent} returns this
40670
+ * @param {string} value
40671
+ * @return {!proto.gateway.web.v1.AISessionRubricResult} returns this
40970
40672
  */
40971
- proto.gateway.web.v1.AISessionScoreComponent.prototype.setAvailable = function(value) {
40972
- return jspb.Message.setProto3BooleanField(this, 2, value);
40673
+ proto.gateway.web.v1.AISessionRubricResult.prototype.setName = function(value) {
40674
+ return jspb.Message.setProto3StringField(this, 2, value);
40973
40675
  };
40974
40676
 
40975
40677
 
40976
40678
  /**
40977
- * optional double base_weight = 3;
40679
+ * optional uint32 weight = 3;
40978
40680
  * @return {number}
40979
40681
  */
40980
- proto.gateway.web.v1.AISessionScoreComponent.prototype.getBaseWeight = function() {
40981
- return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0));
40682
+ proto.gateway.web.v1.AISessionRubricResult.prototype.getWeight = function() {
40683
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
40982
40684
  };
40983
40685
 
40984
40686
 
40985
40687
  /**
40986
40688
  * @param {number} value
40987
- * @return {!proto.gateway.web.v1.AISessionScoreComponent} returns this
40689
+ * @return {!proto.gateway.web.v1.AISessionRubricResult} returns this
40988
40690
  */
40989
- proto.gateway.web.v1.AISessionScoreComponent.prototype.setBaseWeight = function(value) {
40990
- return jspb.Message.setProto3FloatField(this, 3, value);
40691
+ proto.gateway.web.v1.AISessionRubricResult.prototype.setWeight = function(value) {
40692
+ return jspb.Message.setProto3IntField(this, 3, value);
40991
40693
  };
40992
40694
 
40993
40695
 
40994
40696
  /**
40995
- * optional double weight = 4;
40996
- * @return {number}
40697
+ * optional string grade = 4;
40698
+ * @return {string}
40997
40699
  */
40998
- proto.gateway.web.v1.AISessionScoreComponent.prototype.getWeight = function() {
40999
- return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
40700
+ proto.gateway.web.v1.AISessionRubricResult.prototype.getGrade = function() {
40701
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
41000
40702
  };
41001
40703
 
41002
40704
 
41003
40705
  /**
41004
- * @param {number} value
41005
- * @return {!proto.gateway.web.v1.AISessionScoreComponent} returns this
40706
+ * @param {string} value
40707
+ * @return {!proto.gateway.web.v1.AISessionRubricResult} returns this
41006
40708
  */
41007
- proto.gateway.web.v1.AISessionScoreComponent.prototype.setWeight = function(value) {
41008
- return jspb.Message.setProto3FloatField(this, 4, value);
40709
+ proto.gateway.web.v1.AISessionRubricResult.prototype.setGrade = function(value) {
40710
+ return jspb.Message.setProto3StringField(this, 4, value);
41009
40711
  };
41010
40712
 
41011
40713
 
@@ -41013,53 +40715,269 @@ proto.gateway.web.v1.AISessionScoreComponent.prototype.setWeight = function(valu
41013
40715
  * optional double value = 5;
41014
40716
  * @return {number}
41015
40717
  */
41016
- proto.gateway.web.v1.AISessionScoreComponent.prototype.getValue = function() {
40718
+ proto.gateway.web.v1.AISessionRubricResult.prototype.getValue = function() {
41017
40719
  return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
41018
40720
  };
41019
40721
 
41020
40722
 
41021
40723
  /**
41022
40724
  * @param {number} value
41023
- * @return {!proto.gateway.web.v1.AISessionScoreComponent} returns this
40725
+ * @return {!proto.gateway.web.v1.AISessionRubricResult} returns this
41024
40726
  */
41025
- proto.gateway.web.v1.AISessionScoreComponent.prototype.setValue = function(value) {
41026
- return jspb.Message.setField(this, 5, value);
40727
+ proto.gateway.web.v1.AISessionRubricResult.prototype.setValue = function(value) {
40728
+ return jspb.Message.setProto3FloatField(this, 5, value);
41027
40729
  };
41028
40730
 
41029
40731
 
41030
40732
  /**
41031
- * Clears the field making it undefined.
41032
- * @return {!proto.gateway.web.v1.AISessionScoreComponent} returns this
40733
+ * optional double contribution = 6;
40734
+ * @return {number}
41033
40735
  */
41034
- proto.gateway.web.v1.AISessionScoreComponent.prototype.clearValue = function() {
41035
- return jspb.Message.setField(this, 5, undefined);
40736
+ proto.gateway.web.v1.AISessionRubricResult.prototype.getContribution = function() {
40737
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 6, 0.0));
41036
40738
  };
41037
40739
 
41038
40740
 
41039
40741
  /**
41040
- * Returns whether this field is set.
41041
- * @return {boolean}
40742
+ * @param {number} value
40743
+ * @return {!proto.gateway.web.v1.AISessionRubricResult} returns this
41042
40744
  */
41043
- proto.gateway.web.v1.AISessionScoreComponent.prototype.hasValue = function() {
41044
- return jspb.Message.getField(this, 5) != null;
40745
+ proto.gateway.web.v1.AISessionRubricResult.prototype.setContribution = function(value) {
40746
+ return jspb.Message.setProto3FloatField(this, 6, value);
41045
40747
  };
41046
40748
 
41047
40749
 
41048
40750
  /**
41049
- * optional double contribution = 6;
41050
- * @return {number}
40751
+ * optional string assessment = 7;
40752
+ * @return {string}
41051
40753
  */
41052
- proto.gateway.web.v1.AISessionScoreComponent.prototype.getContribution = function() {
41053
- return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 6, 0.0));
40754
+ proto.gateway.web.v1.AISessionRubricResult.prototype.getAssessment = function() {
40755
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
41054
40756
  };
41055
40757
 
41056
40758
 
41057
40759
  /**
41058
- * @param {number} value
41059
- * @return {!proto.gateway.web.v1.AISessionScoreComponent} returns this
40760
+ * @param {string} value
40761
+ * @return {!proto.gateway.web.v1.AISessionRubricResult} returns this
41060
40762
  */
41061
- proto.gateway.web.v1.AISessionScoreComponent.prototype.setContribution = function(value) {
41062
- return jspb.Message.setProto3FloatField(this, 6, value);
40763
+ proto.gateway.web.v1.AISessionRubricResult.prototype.setAssessment = function(value) {
40764
+ return jspb.Message.setProto3StringField(this, 7, value);
40765
+ };
40766
+
40767
+
40768
+ /**
40769
+ * optional string improvement = 8;
40770
+ * @return {string}
40771
+ */
40772
+ proto.gateway.web.v1.AISessionRubricResult.prototype.getImprovement = function() {
40773
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
40774
+ };
40775
+
40776
+
40777
+ /**
40778
+ * @param {string} value
40779
+ * @return {!proto.gateway.web.v1.AISessionRubricResult} returns this
40780
+ */
40781
+ proto.gateway.web.v1.AISessionRubricResult.prototype.setImprovement = function(value) {
40782
+ return jspb.Message.setProto3StringField(this, 8, value);
40783
+ };
40784
+
40785
+
40786
+ /**
40787
+ * repeated AISessionEventRef evidence_refs = 9;
40788
+ * @return {!Array<!proto.gateway.web.v1.AISessionEventRef>}
40789
+ */
40790
+ proto.gateway.web.v1.AISessionRubricResult.prototype.getEvidenceRefsList = function() {
40791
+ return /** @type{!Array<!proto.gateway.web.v1.AISessionEventRef>} */ (
40792
+ jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.AISessionEventRef, 9));
40793
+ };
40794
+
40795
+
40796
+ /**
40797
+ * @param {!Array<!proto.gateway.web.v1.AISessionEventRef>} value
40798
+ * @return {!proto.gateway.web.v1.AISessionRubricResult} returns this
40799
+ */
40800
+ proto.gateway.web.v1.AISessionRubricResult.prototype.setEvidenceRefsList = function(value) {
40801
+ return jspb.Message.setRepeatedWrapperField(this, 9, value);
40802
+ };
40803
+
40804
+
40805
+ /**
40806
+ * @param {!proto.gateway.web.v1.AISessionEventRef=} opt_value
40807
+ * @param {number=} opt_index
40808
+ * @return {!proto.gateway.web.v1.AISessionEventRef}
40809
+ */
40810
+ proto.gateway.web.v1.AISessionRubricResult.prototype.addEvidenceRefs = function(opt_value, opt_index) {
40811
+ return jspb.Message.addToRepeatedWrapperField(this, 9, opt_value, proto.gateway.web.v1.AISessionEventRef, opt_index);
40812
+ };
40813
+
40814
+
40815
+ /**
40816
+ * Clears the list making it empty but non-null.
40817
+ * @return {!proto.gateway.web.v1.AISessionRubricResult} returns this
40818
+ */
40819
+ proto.gateway.web.v1.AISessionRubricResult.prototype.clearEvidenceRefsList = function() {
40820
+ return this.setEvidenceRefsList([]);
40821
+ };
40822
+
40823
+
40824
+
40825
+
40826
+
40827
+ if (jspb.Message.GENERATE_TO_OBJECT) {
40828
+ /**
40829
+ * Creates an object representation of this proto.
40830
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
40831
+ * Optional fields that are not set will be set to undefined.
40832
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
40833
+ * For the list of reserved names please see:
40834
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
40835
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
40836
+ * JSPB instance for transitional soy proto support:
40837
+ * http://goto/soy-param-migration
40838
+ * @return {!Object}
40839
+ */
40840
+ proto.gateway.web.v1.AISessionScoreSummary.prototype.toObject = function(opt_includeInstance) {
40841
+ return proto.gateway.web.v1.AISessionScoreSummary.toObject(opt_includeInstance, this);
40842
+ };
40843
+
40844
+
40845
+ /**
40846
+ * Static version of the {@see toObject} method.
40847
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
40848
+ * the JSPB instance for transitional soy proto support:
40849
+ * http://goto/soy-param-migration
40850
+ * @param {!proto.gateway.web.v1.AISessionScoreSummary} msg The msg instance to transform.
40851
+ * @return {!Object}
40852
+ * @suppress {unusedLocalVariables} f is only used for nested messages
40853
+ */
40854
+ proto.gateway.web.v1.AISessionScoreSummary.toObject = function(includeInstance, msg) {
40855
+ var f, obj = {
40856
+ wentWell: jspb.Message.getFieldWithDefault(msg, 1, ""),
40857
+ doNext: jspb.Message.getFieldWithDefault(msg, 2, "")
40858
+ };
40859
+
40860
+ if (includeInstance) {
40861
+ obj.$jspbMessageInstance = msg;
40862
+ }
40863
+ return obj;
40864
+ };
40865
+ }
40866
+
40867
+
40868
+ /**
40869
+ * Deserializes binary data (in protobuf wire format).
40870
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
40871
+ * @return {!proto.gateway.web.v1.AISessionScoreSummary}
40872
+ */
40873
+ proto.gateway.web.v1.AISessionScoreSummary.deserializeBinary = function(bytes) {
40874
+ var reader = new jspb.BinaryReader(bytes);
40875
+ var msg = new proto.gateway.web.v1.AISessionScoreSummary;
40876
+ return proto.gateway.web.v1.AISessionScoreSummary.deserializeBinaryFromReader(msg, reader);
40877
+ };
40878
+
40879
+
40880
+ /**
40881
+ * Deserializes binary data (in protobuf wire format) from the
40882
+ * given reader into the given message object.
40883
+ * @param {!proto.gateway.web.v1.AISessionScoreSummary} msg The message object to deserialize into.
40884
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
40885
+ * @return {!proto.gateway.web.v1.AISessionScoreSummary}
40886
+ */
40887
+ proto.gateway.web.v1.AISessionScoreSummary.deserializeBinaryFromReader = function(msg, reader) {
40888
+ while (reader.nextField()) {
40889
+ if (reader.isEndGroup()) {
40890
+ break;
40891
+ }
40892
+ var field = reader.getFieldNumber();
40893
+ switch (field) {
40894
+ case 1:
40895
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
40896
+ msg.setWentWell(value);
40897
+ break;
40898
+ case 2:
40899
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
40900
+ msg.setDoNext(value);
40901
+ break;
40902
+ default:
40903
+ reader.skipField();
40904
+ break;
40905
+ }
40906
+ }
40907
+ return msg;
40908
+ };
40909
+
40910
+
40911
+ /**
40912
+ * Serializes the message to binary data (in protobuf wire format).
40913
+ * @return {!Uint8Array}
40914
+ */
40915
+ proto.gateway.web.v1.AISessionScoreSummary.prototype.serializeBinary = function() {
40916
+ var writer = new jspb.BinaryWriter();
40917
+ proto.gateway.web.v1.AISessionScoreSummary.serializeBinaryToWriter(this, writer);
40918
+ return writer.getResultBuffer();
40919
+ };
40920
+
40921
+
40922
+ /**
40923
+ * Serializes the given message to binary data (in protobuf wire
40924
+ * format), writing to the given BinaryWriter.
40925
+ * @param {!proto.gateway.web.v1.AISessionScoreSummary} message
40926
+ * @param {!jspb.BinaryWriter} writer
40927
+ * @suppress {unusedLocalVariables} f is only used for nested messages
40928
+ */
40929
+ proto.gateway.web.v1.AISessionScoreSummary.serializeBinaryToWriter = function(message, writer) {
40930
+ var f = undefined;
40931
+ f = message.getWentWell();
40932
+ if (f.length > 0) {
40933
+ writer.writeString(
40934
+ 1,
40935
+ f
40936
+ );
40937
+ }
40938
+ f = message.getDoNext();
40939
+ if (f.length > 0) {
40940
+ writer.writeString(
40941
+ 2,
40942
+ f
40943
+ );
40944
+ }
40945
+ };
40946
+
40947
+
40948
+ /**
40949
+ * optional string went_well = 1;
40950
+ * @return {string}
40951
+ */
40952
+ proto.gateway.web.v1.AISessionScoreSummary.prototype.getWentWell = function() {
40953
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
40954
+ };
40955
+
40956
+
40957
+ /**
40958
+ * @param {string} value
40959
+ * @return {!proto.gateway.web.v1.AISessionScoreSummary} returns this
40960
+ */
40961
+ proto.gateway.web.v1.AISessionScoreSummary.prototype.setWentWell = function(value) {
40962
+ return jspb.Message.setProto3StringField(this, 1, value);
40963
+ };
40964
+
40965
+
40966
+ /**
40967
+ * optional string do_next = 2;
40968
+ * @return {string}
40969
+ */
40970
+ proto.gateway.web.v1.AISessionScoreSummary.prototype.getDoNext = function() {
40971
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
40972
+ };
40973
+
40974
+
40975
+ /**
40976
+ * @param {string} value
40977
+ * @return {!proto.gateway.web.v1.AISessionScoreSummary} returns this
40978
+ */
40979
+ proto.gateway.web.v1.AISessionScoreSummary.prototype.setDoNext = function(value) {
40980
+ return jspb.Message.setProto3StringField(this, 2, value);
41063
40981
  };
41064
40982
 
41065
40983
 
@@ -41732,6 +41650,13 @@ proto.gateway.web.v1.GetSessionScoreTrendResponse.prototype.clearWeeksList = fun
41732
41650
 
41733
41651
 
41734
41652
 
41653
+ /**
41654
+ * List of repeated fields within this message type.
41655
+ * @private {!Array<number>}
41656
+ * @const
41657
+ */
41658
+ proto.gateway.web.v1.AISessionScoreWeek.repeatedFields_ = [4];
41659
+
41735
41660
 
41736
41661
 
41737
41662
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -41765,10 +41690,9 @@ proto.gateway.web.v1.AISessionScoreWeek.toObject = function(includeInstance, msg
41765
41690
  var f, obj = {
41766
41691
  weekStart: jspb.Message.getFieldWithDefault(msg, 1, ""),
41767
41692
  gradedSessions: jspb.Message.getFieldWithDefault(msg, 2, 0),
41768
- scoredSessions: jspb.Message.getFieldWithDefault(msg, 3, 0),
41769
- meanScore: (f = jspb.Message.getOptionalFloatingPointField(msg, 4)) == null ? undefined : f,
41770
- knownOutcomeSessions: jspb.Message.getFieldWithDefault(msg, 5, 0),
41771
- deliveredSessions: jspb.Message.getFieldWithDefault(msg, 6, 0)
41693
+ meanScore: (f = jspb.Message.getOptionalFloatingPointField(msg, 3)) == null ? undefined : f,
41694
+ criterionMeansList: jspb.Message.toObjectList(msg.getCriterionMeansList(),
41695
+ proto.gateway.web.v1.AISessionCriterionMean.toObject, includeInstance)
41772
41696
  };
41773
41697
 
41774
41698
  if (includeInstance) {
@@ -41814,20 +41738,13 @@ proto.gateway.web.v1.AISessionScoreWeek.deserializeBinaryFromReader = function(m
41814
41738
  msg.setGradedSessions(value);
41815
41739
  break;
41816
41740
  case 3:
41817
- var value = /** @type {number} */ (reader.readUint64());
41818
- msg.setScoredSessions(value);
41819
- break;
41820
- case 4:
41821
41741
  var value = /** @type {number} */ (reader.readDouble());
41822
41742
  msg.setMeanScore(value);
41823
41743
  break;
41824
- case 5:
41825
- var value = /** @type {number} */ (reader.readUint64());
41826
- msg.setKnownOutcomeSessions(value);
41827
- break;
41828
- case 6:
41829
- var value = /** @type {number} */ (reader.readUint64());
41830
- msg.setDeliveredSessions(value);
41744
+ case 4:
41745
+ var value = new proto.gateway.web.v1.AISessionCriterionMean;
41746
+ reader.readMessage(value,proto.gateway.web.v1.AISessionCriterionMean.deserializeBinaryFromReader);
41747
+ msg.addCriterionMeans(value);
41831
41748
  break;
41832
41749
  default:
41833
41750
  reader.skipField();
@@ -41872,32 +41789,19 @@ proto.gateway.web.v1.AISessionScoreWeek.serializeBinaryToWriter = function(messa
41872
41789
  f
41873
41790
  );
41874
41791
  }
41875
- f = message.getScoredSessions();
41876
- if (f !== 0) {
41877
- writer.writeUint64(
41878
- 3,
41879
- f
41880
- );
41881
- }
41882
- f = /** @type {number} */ (jspb.Message.getField(message, 4));
41792
+ f = /** @type {number} */ (jspb.Message.getField(message, 3));
41883
41793
  if (f != null) {
41884
41794
  writer.writeDouble(
41885
- 4,
41886
- f
41887
- );
41888
- }
41889
- f = message.getKnownOutcomeSessions();
41890
- if (f !== 0) {
41891
- writer.writeUint64(
41892
- 5,
41795
+ 3,
41893
41796
  f
41894
41797
  );
41895
41798
  }
41896
- f = message.getDeliveredSessions();
41897
- if (f !== 0) {
41898
- writer.writeUint64(
41899
- 6,
41900
- f
41799
+ f = message.getCriterionMeansList();
41800
+ if (f.length > 0) {
41801
+ writer.writeRepeatedMessage(
41802
+ 4,
41803
+ f,
41804
+ proto.gateway.web.v1.AISessionCriterionMean.serializeBinaryToWriter
41901
41805
  );
41902
41806
  }
41903
41807
  };
@@ -41940,11 +41844,11 @@ proto.gateway.web.v1.AISessionScoreWeek.prototype.setGradedSessions = function(v
41940
41844
 
41941
41845
 
41942
41846
  /**
41943
- * optional uint64 scored_sessions = 3;
41847
+ * optional double mean_score = 3;
41944
41848
  * @return {number}
41945
41849
  */
41946
- proto.gateway.web.v1.AISessionScoreWeek.prototype.getScoredSessions = function() {
41947
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
41850
+ proto.gateway.web.v1.AISessionScoreWeek.prototype.getMeanScore = function() {
41851
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0));
41948
41852
  };
41949
41853
 
41950
41854
 
@@ -41952,80 +41856,284 @@ proto.gateway.web.v1.AISessionScoreWeek.prototype.getScoredSessions = function()
41952
41856
  * @param {number} value
41953
41857
  * @return {!proto.gateway.web.v1.AISessionScoreWeek} returns this
41954
41858
  */
41955
- proto.gateway.web.v1.AISessionScoreWeek.prototype.setScoredSessions = function(value) {
41956
- return jspb.Message.setProto3IntField(this, 3, value);
41859
+ proto.gateway.web.v1.AISessionScoreWeek.prototype.setMeanScore = function(value) {
41860
+ return jspb.Message.setField(this, 3, value);
41957
41861
  };
41958
41862
 
41959
41863
 
41960
41864
  /**
41961
- * optional double mean_score = 4;
41962
- * @return {number}
41865
+ * Clears the field making it undefined.
41866
+ * @return {!proto.gateway.web.v1.AISessionScoreWeek} returns this
41963
41867
  */
41964
- proto.gateway.web.v1.AISessionScoreWeek.prototype.getMeanScore = function() {
41965
- return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
41868
+ proto.gateway.web.v1.AISessionScoreWeek.prototype.clearMeanScore = function() {
41869
+ return jspb.Message.setField(this, 3, undefined);
41966
41870
  };
41967
41871
 
41968
41872
 
41969
41873
  /**
41970
- * @param {number} value
41874
+ * Returns whether this field is set.
41875
+ * @return {boolean}
41876
+ */
41877
+ proto.gateway.web.v1.AISessionScoreWeek.prototype.hasMeanScore = function() {
41878
+ return jspb.Message.getField(this, 3) != null;
41879
+ };
41880
+
41881
+
41882
+ /**
41883
+ * repeated AISessionCriterionMean criterion_means = 4;
41884
+ * @return {!Array<!proto.gateway.web.v1.AISessionCriterionMean>}
41885
+ */
41886
+ proto.gateway.web.v1.AISessionScoreWeek.prototype.getCriterionMeansList = function() {
41887
+ return /** @type{!Array<!proto.gateway.web.v1.AISessionCriterionMean>} */ (
41888
+ jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.AISessionCriterionMean, 4));
41889
+ };
41890
+
41891
+
41892
+ /**
41893
+ * @param {!Array<!proto.gateway.web.v1.AISessionCriterionMean>} value
41971
41894
  * @return {!proto.gateway.web.v1.AISessionScoreWeek} returns this
41895
+ */
41896
+ proto.gateway.web.v1.AISessionScoreWeek.prototype.setCriterionMeansList = function(value) {
41897
+ return jspb.Message.setRepeatedWrapperField(this, 4, value);
41898
+ };
41899
+
41900
+
41901
+ /**
41902
+ * @param {!proto.gateway.web.v1.AISessionCriterionMean=} opt_value
41903
+ * @param {number=} opt_index
41904
+ * @return {!proto.gateway.web.v1.AISessionCriterionMean}
41972
41905
  */
41973
- proto.gateway.web.v1.AISessionScoreWeek.prototype.setMeanScore = function(value) {
41974
- return jspb.Message.setField(this, 4, value);
41906
+ proto.gateway.web.v1.AISessionScoreWeek.prototype.addCriterionMeans = function(opt_value, opt_index) {
41907
+ return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.gateway.web.v1.AISessionCriterionMean, opt_index);
41975
41908
  };
41976
41909
 
41977
41910
 
41978
41911
  /**
41979
- * Clears the field making it undefined.
41912
+ * Clears the list making it empty but non-null.
41980
41913
  * @return {!proto.gateway.web.v1.AISessionScoreWeek} returns this
41981
41914
  */
41982
- proto.gateway.web.v1.AISessionScoreWeek.prototype.clearMeanScore = function() {
41983
- return jspb.Message.setField(this, 4, undefined);
41915
+ proto.gateway.web.v1.AISessionScoreWeek.prototype.clearCriterionMeansList = function() {
41916
+ return this.setCriterionMeansList([]);
41984
41917
  };
41985
41918
 
41986
41919
 
41920
+
41921
+
41922
+
41923
+ if (jspb.Message.GENERATE_TO_OBJECT) {
41987
41924
  /**
41988
- * Returns whether this field is set.
41989
- * @return {boolean}
41925
+ * Creates an object representation of this proto.
41926
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
41927
+ * Optional fields that are not set will be set to undefined.
41928
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
41929
+ * For the list of reserved names please see:
41930
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
41931
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
41932
+ * JSPB instance for transitional soy proto support:
41933
+ * http://goto/soy-param-migration
41934
+ * @return {!Object}
41990
41935
  */
41991
- proto.gateway.web.v1.AISessionScoreWeek.prototype.hasMeanScore = function() {
41992
- return jspb.Message.getField(this, 4) != null;
41936
+ proto.gateway.web.v1.AISessionCriterionMean.prototype.toObject = function(opt_includeInstance) {
41937
+ return proto.gateway.web.v1.AISessionCriterionMean.toObject(opt_includeInstance, this);
41938
+ };
41939
+
41940
+
41941
+ /**
41942
+ * Static version of the {@see toObject} method.
41943
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
41944
+ * the JSPB instance for transitional soy proto support:
41945
+ * http://goto/soy-param-migration
41946
+ * @param {!proto.gateway.web.v1.AISessionCriterionMean} msg The msg instance to transform.
41947
+ * @return {!Object}
41948
+ * @suppress {unusedLocalVariables} f is only used for nested messages
41949
+ */
41950
+ proto.gateway.web.v1.AISessionCriterionMean.toObject = function(includeInstance, msg) {
41951
+ var f, obj = {
41952
+ criterionKey: jspb.Message.getFieldWithDefault(msg, 1, ""),
41953
+ name: jspb.Message.getFieldWithDefault(msg, 4, ""),
41954
+ sessions: jspb.Message.getFieldWithDefault(msg, 2, 0),
41955
+ meanValue: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0)
41956
+ };
41957
+
41958
+ if (includeInstance) {
41959
+ obj.$jspbMessageInstance = msg;
41960
+ }
41961
+ return obj;
41993
41962
  };
41963
+ }
41994
41964
 
41995
41965
 
41996
41966
  /**
41997
- * optional uint64 known_outcome_sessions = 5;
41967
+ * Deserializes binary data (in protobuf wire format).
41968
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
41969
+ * @return {!proto.gateway.web.v1.AISessionCriterionMean}
41970
+ */
41971
+ proto.gateway.web.v1.AISessionCriterionMean.deserializeBinary = function(bytes) {
41972
+ var reader = new jspb.BinaryReader(bytes);
41973
+ var msg = new proto.gateway.web.v1.AISessionCriterionMean;
41974
+ return proto.gateway.web.v1.AISessionCriterionMean.deserializeBinaryFromReader(msg, reader);
41975
+ };
41976
+
41977
+
41978
+ /**
41979
+ * Deserializes binary data (in protobuf wire format) from the
41980
+ * given reader into the given message object.
41981
+ * @param {!proto.gateway.web.v1.AISessionCriterionMean} msg The message object to deserialize into.
41982
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
41983
+ * @return {!proto.gateway.web.v1.AISessionCriterionMean}
41984
+ */
41985
+ proto.gateway.web.v1.AISessionCriterionMean.deserializeBinaryFromReader = function(msg, reader) {
41986
+ while (reader.nextField()) {
41987
+ if (reader.isEndGroup()) {
41988
+ break;
41989
+ }
41990
+ var field = reader.getFieldNumber();
41991
+ switch (field) {
41992
+ case 1:
41993
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
41994
+ msg.setCriterionKey(value);
41995
+ break;
41996
+ case 4:
41997
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
41998
+ msg.setName(value);
41999
+ break;
42000
+ case 2:
42001
+ var value = /** @type {number} */ (reader.readUint64());
42002
+ msg.setSessions(value);
42003
+ break;
42004
+ case 3:
42005
+ var value = /** @type {number} */ (reader.readDouble());
42006
+ msg.setMeanValue(value);
42007
+ break;
42008
+ default:
42009
+ reader.skipField();
42010
+ break;
42011
+ }
42012
+ }
42013
+ return msg;
42014
+ };
42015
+
42016
+
42017
+ /**
42018
+ * Serializes the message to binary data (in protobuf wire format).
42019
+ * @return {!Uint8Array}
42020
+ */
42021
+ proto.gateway.web.v1.AISessionCriterionMean.prototype.serializeBinary = function() {
42022
+ var writer = new jspb.BinaryWriter();
42023
+ proto.gateway.web.v1.AISessionCriterionMean.serializeBinaryToWriter(this, writer);
42024
+ return writer.getResultBuffer();
42025
+ };
42026
+
42027
+
42028
+ /**
42029
+ * Serializes the given message to binary data (in protobuf wire
42030
+ * format), writing to the given BinaryWriter.
42031
+ * @param {!proto.gateway.web.v1.AISessionCriterionMean} message
42032
+ * @param {!jspb.BinaryWriter} writer
42033
+ * @suppress {unusedLocalVariables} f is only used for nested messages
42034
+ */
42035
+ proto.gateway.web.v1.AISessionCriterionMean.serializeBinaryToWriter = function(message, writer) {
42036
+ var f = undefined;
42037
+ f = message.getCriterionKey();
42038
+ if (f.length > 0) {
42039
+ writer.writeString(
42040
+ 1,
42041
+ f
42042
+ );
42043
+ }
42044
+ f = message.getName();
42045
+ if (f.length > 0) {
42046
+ writer.writeString(
42047
+ 4,
42048
+ f
42049
+ );
42050
+ }
42051
+ f = message.getSessions();
42052
+ if (f !== 0) {
42053
+ writer.writeUint64(
42054
+ 2,
42055
+ f
42056
+ );
42057
+ }
42058
+ f = message.getMeanValue();
42059
+ if (f !== 0.0) {
42060
+ writer.writeDouble(
42061
+ 3,
42062
+ f
42063
+ );
42064
+ }
42065
+ };
42066
+
42067
+
42068
+ /**
42069
+ * optional string criterion_key = 1;
42070
+ * @return {string}
42071
+ */
42072
+ proto.gateway.web.v1.AISessionCriterionMean.prototype.getCriterionKey = function() {
42073
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
42074
+ };
42075
+
42076
+
42077
+ /**
42078
+ * @param {string} value
42079
+ * @return {!proto.gateway.web.v1.AISessionCriterionMean} returns this
42080
+ */
42081
+ proto.gateway.web.v1.AISessionCriterionMean.prototype.setCriterionKey = function(value) {
42082
+ return jspb.Message.setProto3StringField(this, 1, value);
42083
+ };
42084
+
42085
+
42086
+ /**
42087
+ * optional string name = 4;
42088
+ * @return {string}
42089
+ */
42090
+ proto.gateway.web.v1.AISessionCriterionMean.prototype.getName = function() {
42091
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
42092
+ };
42093
+
42094
+
42095
+ /**
42096
+ * @param {string} value
42097
+ * @return {!proto.gateway.web.v1.AISessionCriterionMean} returns this
42098
+ */
42099
+ proto.gateway.web.v1.AISessionCriterionMean.prototype.setName = function(value) {
42100
+ return jspb.Message.setProto3StringField(this, 4, value);
42101
+ };
42102
+
42103
+
42104
+ /**
42105
+ * optional uint64 sessions = 2;
41998
42106
  * @return {number}
41999
42107
  */
42000
- proto.gateway.web.v1.AISessionScoreWeek.prototype.getKnownOutcomeSessions = function() {
42001
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
42108
+ proto.gateway.web.v1.AISessionCriterionMean.prototype.getSessions = function() {
42109
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
42002
42110
  };
42003
42111
 
42004
42112
 
42005
42113
  /**
42006
42114
  * @param {number} value
42007
- * @return {!proto.gateway.web.v1.AISessionScoreWeek} returns this
42115
+ * @return {!proto.gateway.web.v1.AISessionCriterionMean} returns this
42008
42116
  */
42009
- proto.gateway.web.v1.AISessionScoreWeek.prototype.setKnownOutcomeSessions = function(value) {
42010
- return jspb.Message.setProto3IntField(this, 5, value);
42117
+ proto.gateway.web.v1.AISessionCriterionMean.prototype.setSessions = function(value) {
42118
+ return jspb.Message.setProto3IntField(this, 2, value);
42011
42119
  };
42012
42120
 
42013
42121
 
42014
42122
  /**
42015
- * optional uint64 delivered_sessions = 6;
42123
+ * optional double mean_value = 3;
42016
42124
  * @return {number}
42017
42125
  */
42018
- proto.gateway.web.v1.AISessionScoreWeek.prototype.getDeliveredSessions = function() {
42019
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
42126
+ proto.gateway.web.v1.AISessionCriterionMean.prototype.getMeanValue = function() {
42127
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0));
42020
42128
  };
42021
42129
 
42022
42130
 
42023
42131
  /**
42024
42132
  * @param {number} value
42025
- * @return {!proto.gateway.web.v1.AISessionScoreWeek} returns this
42133
+ * @return {!proto.gateway.web.v1.AISessionCriterionMean} returns this
42026
42134
  */
42027
- proto.gateway.web.v1.AISessionScoreWeek.prototype.setDeliveredSessions = function(value) {
42028
- return jspb.Message.setProto3IntField(this, 6, value);
42135
+ proto.gateway.web.v1.AISessionCriterionMean.prototype.setMeanValue = function(value) {
42136
+ return jspb.Message.setProto3FloatField(this, 3, value);
42029
42137
  };
42030
42138
 
42031
42139
 
@@ -60157,49 +60265,6 @@ proto.gateway.web.v1.AISessionComplexity = {
60157
60265
  AI_SESSION_COMPLEXITY_LARGE: 3
60158
60266
  };
60159
60267
 
60160
- /**
60161
- * @enum {number}
60162
- */
60163
- proto.gateway.web.v1.AISessionOutcome = {
60164
- AI_SESSION_OUTCOME_UNSPECIFIED: 0,
60165
- AI_SESSION_OUTCOME_DELIVERED: 1,
60166
- AI_SESSION_OUTCOME_PARTIAL: 2,
60167
- AI_SESSION_OUTCOME_ABANDONED: 3,
60168
- AI_SESSION_OUTCOME_UNCLEAR: 4
60169
- };
60170
-
60171
- /**
60172
- * @enum {number}
60173
- */
60174
- proto.gateway.web.v1.AISessionSteeringLoad = {
60175
- AI_SESSION_STEERING_LOAD_UNSPECIFIED: 0,
60176
- AI_SESSION_STEERING_LOAD_NONE: 1,
60177
- AI_SESSION_STEERING_LOAD_LIGHT: 2,
60178
- AI_SESSION_STEERING_LOAD_HEAVY: 3
60179
- };
60180
-
60181
- /**
60182
- * @enum {number}
60183
- */
60184
- proto.gateway.web.v1.AISessionAgentReliability = {
60185
- AI_SESSION_AGENT_RELIABILITY_UNSPECIFIED: 0,
60186
- AI_SESSION_AGENT_RELIABILITY_CLEAN: 1,
60187
- AI_SESSION_AGENT_RELIABILITY_MINOR_ISSUES: 2,
60188
- AI_SESSION_AGENT_RELIABILITY_CONSTRAINT_VIOLATION: 3,
60189
- AI_SESSION_AGENT_RELIABILITY_MAJOR_FAILURE: 4
60190
- };
60191
-
60192
- /**
60193
- * @enum {number}
60194
- */
60195
- proto.gateway.web.v1.AISessionVerification = {
60196
- AI_SESSION_VERIFICATION_UNSPECIFIED: 0,
60197
- AI_SESSION_VERIFICATION_VERIFIED: 1,
60198
- AI_SESSION_VERIFICATION_CLAIMED_ONLY: 2,
60199
- AI_SESSION_VERIFICATION_NOT_APPLICABLE: 3,
60200
- AI_SESSION_VERIFICATION_UNOBSERVED: 4
60201
- };
60202
-
60203
60268
  /**
60204
60269
  * @enum {number}
60205
60270
  */
@@ -60239,19 +60304,6 @@ proto.gateway.web.v1.AISessionInsightSeverity = {
60239
60304
  AI_SESSION_INSIGHT_SEVERITY_HIGH: 3
60240
60305
  };
60241
60306
 
60242
- /**
60243
- * @enum {number}
60244
- */
60245
- proto.gateway.web.v1.AISessionScoreComponentKind = {
60246
- AI_SESSION_SCORE_COMPONENT_KIND_UNSPECIFIED: 0,
60247
- AI_SESSION_SCORE_COMPONENT_KIND_OUTCOME: 1,
60248
- AI_SESSION_SCORE_COMPONENT_KIND_STEERING_LOAD: 2,
60249
- AI_SESSION_SCORE_COMPONENT_KIND_AGENT_RELIABILITY: 3,
60250
- AI_SESSION_SCORE_COMPONENT_KIND_VERIFICATION: 4,
60251
- AI_SESSION_SCORE_COMPONENT_KIND_REWORK_SPEND: 5,
60252
- AI_SESSION_SCORE_COMPONENT_KIND_PROMPT_CLARITY: 6
60253
- };
60254
-
60255
60307
  /**
60256
60308
  * @enum {number}
60257
60309
  */