@miradorlabs/web-grpc 4.26.0 → 4.27.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 +819 -681
  12. package/proto/gateway/web/v1/ai_gateway_grpc_pb.js +36 -0
  13. package/proto/gateway/web/v1/ai_gateway_pb.js +1502 -495
  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
@@ -47,6 +47,11 @@ goog.exportSymbol('proto.gateway.web.v1.AIGitActivity', null, global);
47
47
  goog.exportSymbol('proto.gateway.web.v1.AIGitActivityDimension', null, global);
48
48
  goog.exportSymbol('proto.gateway.web.v1.AIGitActivityFilter', null, global);
49
49
  goog.exportSymbol('proto.gateway.web.v1.AIGitOutcome', null, global);
50
+ goog.exportSymbol('proto.gateway.web.v1.AILabelCount', null, global);
51
+ goog.exportSymbol('proto.gateway.web.v1.AILabelDimension', null, global);
52
+ goog.exportSymbol('proto.gateway.web.v1.AILabelRating', null, global);
53
+ goog.exportSymbol('proto.gateway.web.v1.AILabelSet', null, global);
54
+ goog.exportSymbol('proto.gateway.web.v1.AILabelValue', null, global);
50
55
  goog.exportSymbol('proto.gateway.web.v1.AIModelPrice', null, global);
51
56
  goog.exportSymbol('proto.gateway.web.v1.AIModelPriceFilter', null, global);
52
57
  goog.exportSymbol('proto.gateway.web.v1.AIProjectInsight', null, global);
@@ -57,18 +62,11 @@ goog.exportSymbol('proto.gateway.web.v1.AIProjectInsightCoverageStatus', null, g
57
62
  goog.exportSymbol('proto.gateway.web.v1.AIProjectInsightKind', null, global);
58
63
  goog.exportSymbol('proto.gateway.web.v1.AIProjectInsightRun', null, global);
59
64
  goog.exportSymbol('proto.gateway.web.v1.AIProjectInsightStopReason', null, global);
60
- goog.exportSymbol('proto.gateway.web.v1.AIPromptClarity', null, global);
61
- goog.exportSymbol('proto.gateway.web.v1.AIPromptComplexity', null, global);
62
- goog.exportSymbol('proto.gateway.web.v1.AIPromptFrustration', null, global);
63
65
  goog.exportSymbol('proto.gateway.web.v1.AIPromptLabelSummary', null, global);
64
66
  goog.exportSymbol('proto.gateway.web.v1.AIPromptLabelWeek', null, global);
65
67
  goog.exportSymbol('proto.gateway.web.v1.AIPromptLabels', null, global);
66
- goog.exportSymbol('proto.gateway.web.v1.AIPromptSentiment', null, global);
67
- goog.exportSymbol('proto.gateway.web.v1.AIPromptSteering', null, global);
68
- goog.exportSymbol('proto.gateway.web.v1.AIPromptSteeringCount', null, global);
69
68
  goog.exportSymbol('proto.gateway.web.v1.AIResourceDimension', null, global);
70
69
  goog.exportSymbol('proto.gateway.web.v1.AIResourceRankingGroupBy', null, global);
71
- goog.exportSymbol('proto.gateway.web.v1.AISessionComplexity', null, global);
72
70
  goog.exportSymbol('proto.gateway.web.v1.AISessionCriterionMean', null, global);
73
71
  goog.exportSymbol('proto.gateway.web.v1.AISessionEvent', null, global);
74
72
  goog.exportSymbol('proto.gateway.web.v1.AISessionEventEnvelope', null, global);
@@ -87,7 +85,6 @@ goog.exportSymbol('proto.gateway.web.v1.AISessionScoreSummary', null, global);
87
85
  goog.exportSymbol('proto.gateway.web.v1.AISessionScoreTrendFilter', null, global);
88
86
  goog.exportSymbol('proto.gateway.web.v1.AISessionScoreWeek', null, global);
89
87
  goog.exportSymbol('proto.gateway.web.v1.AISessionSummary', null, global);
90
- goog.exportSymbol('proto.gateway.web.v1.AISessionWorkType', null, global);
91
88
  goog.exportSymbol('proto.gateway.web.v1.AISkillMetadata', null, global);
92
89
  goog.exportSymbol('proto.gateway.web.v1.AISkillSuggestion', null, global);
93
90
  goog.exportSymbol('proto.gateway.web.v1.AISpendForecastDimension', null, global);
@@ -116,6 +113,8 @@ goog.exportSymbol('proto.gateway.web.v1.FileTierBucket', null, global);
116
113
  goog.exportSymbol('proto.gateway.web.v1.FileTiers', null, global);
117
114
  goog.exportSymbol('proto.gateway.web.v1.FilesSummary', null, global);
118
115
  goog.exportSymbol('proto.gateway.web.v1.FilesSummaryRequest', null, global);
116
+ goog.exportSymbol('proto.gateway.web.v1.GetLabelCatalogRequest', null, global);
117
+ goog.exportSymbol('proto.gateway.web.v1.GetLabelCatalogResponse', null, global);
119
118
  goog.exportSymbol('proto.gateway.web.v1.GetPromptLabelTrendRequest', null, global);
120
119
  goog.exportSymbol('proto.gateway.web.v1.GetPromptLabelTrendResponse', null, global);
121
120
  goog.exportSymbol('proto.gateway.web.v1.GetReasoningTrendContributionRequest', null, global);
@@ -619,16 +618,16 @@ if (goog.DEBUG && !COMPILED) {
619
618
  * @extends {jspb.Message}
620
619
  * @constructor
621
620
  */
622
- proto.gateway.web.v1.AIPromptLabels = function(opt_data) {
621
+ proto.gateway.web.v1.AILabelCount = function(opt_data) {
623
622
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
624
623
  };
625
- goog.inherits(proto.gateway.web.v1.AIPromptLabels, jspb.Message);
624
+ goog.inherits(proto.gateway.web.v1.AILabelCount, jspb.Message);
626
625
  if (goog.DEBUG && !COMPILED) {
627
626
  /**
628
627
  * @public
629
628
  * @override
630
629
  */
631
- proto.gateway.web.v1.AIPromptLabels.displayName = 'proto.gateway.web.v1.AIPromptLabels';
630
+ proto.gateway.web.v1.AILabelCount.displayName = 'proto.gateway.web.v1.AILabelCount';
632
631
  }
633
632
  /**
634
633
  * Generated by JsPbCodeGenerator.
@@ -640,16 +639,16 @@ if (goog.DEBUG && !COMPILED) {
640
639
  * @extends {jspb.Message}
641
640
  * @constructor
642
641
  */
643
- proto.gateway.web.v1.AIPromptLabelSummary = function(opt_data) {
644
- jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.AIPromptLabelSummary.repeatedFields_, null);
642
+ proto.gateway.web.v1.AIPromptLabels = function(opt_data) {
643
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
645
644
  };
646
- goog.inherits(proto.gateway.web.v1.AIPromptLabelSummary, jspb.Message);
645
+ goog.inherits(proto.gateway.web.v1.AIPromptLabels, jspb.Message);
647
646
  if (goog.DEBUG && !COMPILED) {
648
647
  /**
649
648
  * @public
650
649
  * @override
651
650
  */
652
- proto.gateway.web.v1.AIPromptLabelSummary.displayName = 'proto.gateway.web.v1.AIPromptLabelSummary';
651
+ proto.gateway.web.v1.AIPromptLabels.displayName = 'proto.gateway.web.v1.AIPromptLabels';
653
652
  }
654
653
  /**
655
654
  * Generated by JsPbCodeGenerator.
@@ -661,16 +660,16 @@ if (goog.DEBUG && !COMPILED) {
661
660
  * @extends {jspb.Message}
662
661
  * @constructor
663
662
  */
664
- proto.gateway.web.v1.AIPromptSteeringCount = function(opt_data) {
665
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
663
+ proto.gateway.web.v1.AIPromptLabelSummary = function(opt_data) {
664
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.AIPromptLabelSummary.repeatedFields_, null);
666
665
  };
667
- goog.inherits(proto.gateway.web.v1.AIPromptSteeringCount, jspb.Message);
666
+ goog.inherits(proto.gateway.web.v1.AIPromptLabelSummary, jspb.Message);
668
667
  if (goog.DEBUG && !COMPILED) {
669
668
  /**
670
669
  * @public
671
670
  * @override
672
671
  */
673
- proto.gateway.web.v1.AIPromptSteeringCount.displayName = 'proto.gateway.web.v1.AIPromptSteeringCount';
672
+ proto.gateway.web.v1.AIPromptLabelSummary.displayName = 'proto.gateway.web.v1.AIPromptLabelSummary';
674
673
  }
675
674
  /**
676
675
  * Generated by JsPbCodeGenerator.
@@ -746,7 +745,7 @@ if (goog.DEBUG && !COMPILED) {
746
745
  * @constructor
747
746
  */
748
747
  proto.gateway.web.v1.AIPromptLabelWeek = function(opt_data) {
749
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
748
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.AIPromptLabelWeek.repeatedFields_, null);
750
749
  };
751
750
  goog.inherits(proto.gateway.web.v1.AIPromptLabelWeek, jspb.Message);
752
751
  if (goog.DEBUG && !COMPILED) {
@@ -756,6 +755,111 @@ if (goog.DEBUG && !COMPILED) {
756
755
  */
757
756
  proto.gateway.web.v1.AIPromptLabelWeek.displayName = 'proto.gateway.web.v1.AIPromptLabelWeek';
758
757
  }
758
+ /**
759
+ * Generated by JsPbCodeGenerator.
760
+ * @param {Array=} opt_data Optional initial data array, typically from a
761
+ * server response, or constructed directly in Javascript. The array is used
762
+ * in place and becomes part of the constructed object. It is not cloned.
763
+ * If no data is provided, the constructed object will be empty, but still
764
+ * valid.
765
+ * @extends {jspb.Message}
766
+ * @constructor
767
+ */
768
+ proto.gateway.web.v1.GetLabelCatalogRequest = function(opt_data) {
769
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
770
+ };
771
+ goog.inherits(proto.gateway.web.v1.GetLabelCatalogRequest, jspb.Message);
772
+ if (goog.DEBUG && !COMPILED) {
773
+ /**
774
+ * @public
775
+ * @override
776
+ */
777
+ proto.gateway.web.v1.GetLabelCatalogRequest.displayName = 'proto.gateway.web.v1.GetLabelCatalogRequest';
778
+ }
779
+ /**
780
+ * Generated by JsPbCodeGenerator.
781
+ * @param {Array=} opt_data Optional initial data array, typically from a
782
+ * server response, or constructed directly in Javascript. The array is used
783
+ * in place and becomes part of the constructed object. It is not cloned.
784
+ * If no data is provided, the constructed object will be empty, but still
785
+ * valid.
786
+ * @extends {jspb.Message}
787
+ * @constructor
788
+ */
789
+ proto.gateway.web.v1.GetLabelCatalogResponse = function(opt_data) {
790
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
791
+ };
792
+ goog.inherits(proto.gateway.web.v1.GetLabelCatalogResponse, jspb.Message);
793
+ if (goog.DEBUG && !COMPILED) {
794
+ /**
795
+ * @public
796
+ * @override
797
+ */
798
+ proto.gateway.web.v1.GetLabelCatalogResponse.displayName = 'proto.gateway.web.v1.GetLabelCatalogResponse';
799
+ }
800
+ /**
801
+ * Generated by JsPbCodeGenerator.
802
+ * @param {Array=} opt_data Optional initial data array, typically from a
803
+ * server response, or constructed directly in Javascript. The array is used
804
+ * in place and becomes part of the constructed object. It is not cloned.
805
+ * If no data is provided, the constructed object will be empty, but still
806
+ * valid.
807
+ * @extends {jspb.Message}
808
+ * @constructor
809
+ */
810
+ proto.gateway.web.v1.AILabelSet = function(opt_data) {
811
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.AILabelSet.repeatedFields_, null);
812
+ };
813
+ goog.inherits(proto.gateway.web.v1.AILabelSet, jspb.Message);
814
+ if (goog.DEBUG && !COMPILED) {
815
+ /**
816
+ * @public
817
+ * @override
818
+ */
819
+ proto.gateway.web.v1.AILabelSet.displayName = 'proto.gateway.web.v1.AILabelSet';
820
+ }
821
+ /**
822
+ * Generated by JsPbCodeGenerator.
823
+ * @param {Array=} opt_data Optional initial data array, typically from a
824
+ * server response, or constructed directly in Javascript. The array is used
825
+ * in place and becomes part of the constructed object. It is not cloned.
826
+ * If no data is provided, the constructed object will be empty, but still
827
+ * valid.
828
+ * @extends {jspb.Message}
829
+ * @constructor
830
+ */
831
+ proto.gateway.web.v1.AILabelDimension = function(opt_data) {
832
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.AILabelDimension.repeatedFields_, null);
833
+ };
834
+ goog.inherits(proto.gateway.web.v1.AILabelDimension, jspb.Message);
835
+ if (goog.DEBUG && !COMPILED) {
836
+ /**
837
+ * @public
838
+ * @override
839
+ */
840
+ proto.gateway.web.v1.AILabelDimension.displayName = 'proto.gateway.web.v1.AILabelDimension';
841
+ }
842
+ /**
843
+ * Generated by JsPbCodeGenerator.
844
+ * @param {Array=} opt_data Optional initial data array, typically from a
845
+ * server response, or constructed directly in Javascript. The array is used
846
+ * in place and becomes part of the constructed object. It is not cloned.
847
+ * If no data is provided, the constructed object will be empty, but still
848
+ * valid.
849
+ * @extends {jspb.Message}
850
+ * @constructor
851
+ */
852
+ proto.gateway.web.v1.AILabelValue = function(opt_data) {
853
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
854
+ };
855
+ goog.inherits(proto.gateway.web.v1.AILabelValue, jspb.Message);
856
+ if (goog.DEBUG && !COMPILED) {
857
+ /**
858
+ * @public
859
+ * @override
860
+ */
861
+ proto.gateway.web.v1.AILabelValue.displayName = 'proto.gateway.web.v1.AILabelValue';
862
+ }
759
863
  /**
760
864
  * Generated by JsPbCodeGenerator.
761
865
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -4580,7 +4684,8 @@ proto.gateway.web.v1.SessionFilter.deserializeBinaryFromReader = function(msg, r
4580
4684
  msg.addSearchStoredNames(value);
4581
4685
  break;
4582
4686
  case 13:
4583
- reader.readPackableEnumInto(msg.getWorkTypesList());
4687
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
4688
+ msg.addWorkTypes(value);
4584
4689
  break;
4585
4690
  default:
4586
4691
  reader.skipField();
@@ -4700,7 +4805,7 @@ proto.gateway.web.v1.SessionFilter.serializeBinaryToWriter = function(message, w
4700
4805
  }
4701
4806
  f = message.getWorkTypesList();
4702
4807
  if (f.length > 0) {
4703
- writer.writePackedEnum(
4808
+ writer.writeRepeatedString(
4704
4809
  13,
4705
4810
  f
4706
4811
  );
@@ -5136,16 +5241,16 @@ proto.gateway.web.v1.SessionFilter.prototype.clearSearchStoredNamesList = functi
5136
5241
 
5137
5242
 
5138
5243
  /**
5139
- * repeated AISessionWorkType work_types = 13;
5140
- * @return {!Array<!proto.gateway.web.v1.AISessionWorkType>}
5244
+ * repeated string work_types = 13;
5245
+ * @return {!Array<string>}
5141
5246
  */
5142
5247
  proto.gateway.web.v1.SessionFilter.prototype.getWorkTypesList = function() {
5143
- return /** @type {!Array<!proto.gateway.web.v1.AISessionWorkType>} */ (jspb.Message.getRepeatedField(this, 13));
5248
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 13));
5144
5249
  };
5145
5250
 
5146
5251
 
5147
5252
  /**
5148
- * @param {!Array<!proto.gateway.web.v1.AISessionWorkType>} value
5253
+ * @param {!Array<string>} value
5149
5254
  * @return {!proto.gateway.web.v1.SessionFilter} returns this
5150
5255
  */
5151
5256
  proto.gateway.web.v1.SessionFilter.prototype.setWorkTypesList = function(value) {
@@ -5154,7 +5259,7 @@ proto.gateway.web.v1.SessionFilter.prototype.setWorkTypesList = function(value)
5154
5259
 
5155
5260
 
5156
5261
  /**
5157
- * @param {!proto.gateway.web.v1.AISessionWorkType} value
5262
+ * @param {string} value
5158
5263
  * @param {number=} opt_index
5159
5264
  * @return {!proto.gateway.web.v1.SessionFilter} returns this
5160
5265
  */
@@ -6129,8 +6234,8 @@ clientVersionsList: (f = jspb.Message.getRepeatedField(msg, 32)) == null ? undef
6129
6234
  termaVersionsList: (f = jspb.Message.getRepeatedField(msg, 35)) == null ? undefined : f,
6130
6235
  title: jspb.Message.getFieldWithDefault(msg, 33, ""),
6131
6236
  recap: jspb.Message.getFieldWithDefault(msg, 34, ""),
6132
- workType: jspb.Message.getFieldWithDefault(msg, 36, 0),
6133
- complexity: jspb.Message.getFieldWithDefault(msg, 37, 0),
6237
+ workType: jspb.Message.getFieldWithDefault(msg, 36, ""),
6238
+ workSize: jspb.Message.getFieldWithDefault(msg, 37, ""),
6134
6239
  sessionScore: (f = jspb.Message.getField(msg, 38)) == null ? undefined : f,
6135
6240
  promptLabelSummary: (f = msg.getPromptLabelSummary()) && proto.gateway.web.v1.AIPromptLabelSummary.toObject(includeInstance, f)
6136
6241
  };
@@ -6313,12 +6418,12 @@ proto.gateway.web.v1.AISessionSummary.deserializeBinaryFromReader = function(msg
6313
6418
  msg.setRecap(value);
6314
6419
  break;
6315
6420
  case 36:
6316
- var value = /** @type {!proto.gateway.web.v1.AISessionWorkType} */ (reader.readEnum());
6421
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
6317
6422
  msg.setWorkType(value);
6318
6423
  break;
6319
6424
  case 37:
6320
- var value = /** @type {!proto.gateway.web.v1.AISessionComplexity} */ (reader.readEnum());
6321
- msg.setComplexity(value);
6425
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
6426
+ msg.setWorkSize(value);
6322
6427
  break;
6323
6428
  case 38:
6324
6429
  var value = /** @type {number} */ (reader.readInt32());
@@ -6607,15 +6712,15 @@ proto.gateway.web.v1.AISessionSummary.serializeBinaryToWriter = function(message
6607
6712
  );
6608
6713
  }
6609
6714
  f = message.getWorkType();
6610
- if (f !== 0.0) {
6611
- writer.writeEnum(
6715
+ if (f.length > 0) {
6716
+ writer.writeString(
6612
6717
  36,
6613
6718
  f
6614
6719
  );
6615
6720
  }
6616
- f = message.getComplexity();
6617
- if (f !== 0.0) {
6618
- writer.writeEnum(
6721
+ f = message.getWorkSize();
6722
+ if (f.length > 0) {
6723
+ writer.writeString(
6619
6724
  37,
6620
6725
  f
6621
6726
  );
@@ -7535,38 +7640,38 @@ proto.gateway.web.v1.AISessionSummary.prototype.setRecap = function(value) {
7535
7640
 
7536
7641
 
7537
7642
  /**
7538
- * optional AISessionWorkType work_type = 36;
7539
- * @return {!proto.gateway.web.v1.AISessionWorkType}
7643
+ * optional string work_type = 36;
7644
+ * @return {string}
7540
7645
  */
7541
7646
  proto.gateway.web.v1.AISessionSummary.prototype.getWorkType = function() {
7542
- return /** @type {!proto.gateway.web.v1.AISessionWorkType} */ (jspb.Message.getFieldWithDefault(this, 36, 0));
7647
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 36, ""));
7543
7648
  };
7544
7649
 
7545
7650
 
7546
7651
  /**
7547
- * @param {!proto.gateway.web.v1.AISessionWorkType} value
7652
+ * @param {string} value
7548
7653
  * @return {!proto.gateway.web.v1.AISessionSummary} returns this
7549
7654
  */
7550
7655
  proto.gateway.web.v1.AISessionSummary.prototype.setWorkType = function(value) {
7551
- return jspb.Message.setProto3EnumField(this, 36, value);
7656
+ return jspb.Message.setProto3StringField(this, 36, value);
7552
7657
  };
7553
7658
 
7554
7659
 
7555
7660
  /**
7556
- * optional AISessionComplexity complexity = 37;
7557
- * @return {!proto.gateway.web.v1.AISessionComplexity}
7661
+ * optional string work_size = 37;
7662
+ * @return {string}
7558
7663
  */
7559
- proto.gateway.web.v1.AISessionSummary.prototype.getComplexity = function() {
7560
- return /** @type {!proto.gateway.web.v1.AISessionComplexity} */ (jspb.Message.getFieldWithDefault(this, 37, 0));
7664
+ proto.gateway.web.v1.AISessionSummary.prototype.getWorkSize = function() {
7665
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 37, ""));
7561
7666
  };
7562
7667
 
7563
7668
 
7564
7669
  /**
7565
- * @param {!proto.gateway.web.v1.AISessionComplexity} value
7670
+ * @param {string} value
7566
7671
  * @return {!proto.gateway.web.v1.AISessionSummary} returns this
7567
7672
  */
7568
- proto.gateway.web.v1.AISessionSummary.prototype.setComplexity = function(value) {
7569
- return jspb.Message.setProto3EnumField(this, 37, value);
7673
+ proto.gateway.web.v1.AISessionSummary.prototype.setWorkSize = function(value) {
7674
+ return jspb.Message.setProto3StringField(this, 37, value);
7570
7675
  };
7571
7676
 
7572
7677
 
@@ -11068,6 +11173,166 @@ proto.gateway.web.v1.AIContentPart.prototype.setContent = function(value) {
11068
11173
 
11069
11174
 
11070
11175
 
11176
+ if (jspb.Message.GENERATE_TO_OBJECT) {
11177
+ /**
11178
+ * Creates an object representation of this proto.
11179
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
11180
+ * Optional fields that are not set will be set to undefined.
11181
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
11182
+ * For the list of reserved names please see:
11183
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
11184
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
11185
+ * JSPB instance for transitional soy proto support:
11186
+ * http://goto/soy-param-migration
11187
+ * @return {!Object}
11188
+ */
11189
+ proto.gateway.web.v1.AILabelCount.prototype.toObject = function(opt_includeInstance) {
11190
+ return proto.gateway.web.v1.AILabelCount.toObject(opt_includeInstance, this);
11191
+ };
11192
+
11193
+
11194
+ /**
11195
+ * Static version of the {@see toObject} method.
11196
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
11197
+ * the JSPB instance for transitional soy proto support:
11198
+ * http://goto/soy-param-migration
11199
+ * @param {!proto.gateway.web.v1.AILabelCount} msg The msg instance to transform.
11200
+ * @return {!Object}
11201
+ * @suppress {unusedLocalVariables} f is only used for nested messages
11202
+ */
11203
+ proto.gateway.web.v1.AILabelCount.toObject = function(includeInstance, msg) {
11204
+ var f, obj = {
11205
+ key: jspb.Message.getFieldWithDefault(msg, 1, ""),
11206
+ prompts: jspb.Message.getFieldWithDefault(msg, 2, 0)
11207
+ };
11208
+
11209
+ if (includeInstance) {
11210
+ obj.$jspbMessageInstance = msg;
11211
+ }
11212
+ return obj;
11213
+ };
11214
+ }
11215
+
11216
+
11217
+ /**
11218
+ * Deserializes binary data (in protobuf wire format).
11219
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
11220
+ * @return {!proto.gateway.web.v1.AILabelCount}
11221
+ */
11222
+ proto.gateway.web.v1.AILabelCount.deserializeBinary = function(bytes) {
11223
+ var reader = new jspb.BinaryReader(bytes);
11224
+ var msg = new proto.gateway.web.v1.AILabelCount;
11225
+ return proto.gateway.web.v1.AILabelCount.deserializeBinaryFromReader(msg, reader);
11226
+ };
11227
+
11228
+
11229
+ /**
11230
+ * Deserializes binary data (in protobuf wire format) from the
11231
+ * given reader into the given message object.
11232
+ * @param {!proto.gateway.web.v1.AILabelCount} msg The message object to deserialize into.
11233
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
11234
+ * @return {!proto.gateway.web.v1.AILabelCount}
11235
+ */
11236
+ proto.gateway.web.v1.AILabelCount.deserializeBinaryFromReader = function(msg, reader) {
11237
+ while (reader.nextField()) {
11238
+ if (reader.isEndGroup()) {
11239
+ break;
11240
+ }
11241
+ var field = reader.getFieldNumber();
11242
+ switch (field) {
11243
+ case 1:
11244
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
11245
+ msg.setKey(value);
11246
+ break;
11247
+ case 2:
11248
+ var value = /** @type {number} */ (reader.readUint64());
11249
+ msg.setPrompts(value);
11250
+ break;
11251
+ default:
11252
+ reader.skipField();
11253
+ break;
11254
+ }
11255
+ }
11256
+ return msg;
11257
+ };
11258
+
11259
+
11260
+ /**
11261
+ * Serializes the message to binary data (in protobuf wire format).
11262
+ * @return {!Uint8Array}
11263
+ */
11264
+ proto.gateway.web.v1.AILabelCount.prototype.serializeBinary = function() {
11265
+ var writer = new jspb.BinaryWriter();
11266
+ proto.gateway.web.v1.AILabelCount.serializeBinaryToWriter(this, writer);
11267
+ return writer.getResultBuffer();
11268
+ };
11269
+
11270
+
11271
+ /**
11272
+ * Serializes the given message to binary data (in protobuf wire
11273
+ * format), writing to the given BinaryWriter.
11274
+ * @param {!proto.gateway.web.v1.AILabelCount} message
11275
+ * @param {!jspb.BinaryWriter} writer
11276
+ * @suppress {unusedLocalVariables} f is only used for nested messages
11277
+ */
11278
+ proto.gateway.web.v1.AILabelCount.serializeBinaryToWriter = function(message, writer) {
11279
+ var f = undefined;
11280
+ f = message.getKey();
11281
+ if (f.length > 0) {
11282
+ writer.writeString(
11283
+ 1,
11284
+ f
11285
+ );
11286
+ }
11287
+ f = message.getPrompts();
11288
+ if (f !== 0) {
11289
+ writer.writeUint64(
11290
+ 2,
11291
+ f
11292
+ );
11293
+ }
11294
+ };
11295
+
11296
+
11297
+ /**
11298
+ * optional string key = 1;
11299
+ * @return {string}
11300
+ */
11301
+ proto.gateway.web.v1.AILabelCount.prototype.getKey = function() {
11302
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
11303
+ };
11304
+
11305
+
11306
+ /**
11307
+ * @param {string} value
11308
+ * @return {!proto.gateway.web.v1.AILabelCount} returns this
11309
+ */
11310
+ proto.gateway.web.v1.AILabelCount.prototype.setKey = function(value) {
11311
+ return jspb.Message.setProto3StringField(this, 1, value);
11312
+ };
11313
+
11314
+
11315
+ /**
11316
+ * optional uint64 prompts = 2;
11317
+ * @return {number}
11318
+ */
11319
+ proto.gateway.web.v1.AILabelCount.prototype.getPrompts = function() {
11320
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
11321
+ };
11322
+
11323
+
11324
+ /**
11325
+ * @param {number} value
11326
+ * @return {!proto.gateway.web.v1.AILabelCount} returns this
11327
+ */
11328
+ proto.gateway.web.v1.AILabelCount.prototype.setPrompts = function(value) {
11329
+ return jspb.Message.setProto3IntField(this, 2, value);
11330
+ };
11331
+
11332
+
11333
+
11334
+
11335
+
11071
11336
  if (jspb.Message.GENERATE_TO_OBJECT) {
11072
11337
  /**
11073
11338
  * Creates an object representation of this proto.
@@ -11097,11 +11362,8 @@ proto.gateway.web.v1.AIPromptLabels.prototype.toObject = function(opt_includeIns
11097
11362
  */
11098
11363
  proto.gateway.web.v1.AIPromptLabels.toObject = function(includeInstance, msg) {
11099
11364
  var f, obj = {
11100
- complexity: jspb.Message.getFieldWithDefault(msg, 1, 0),
11101
- clarity: jspb.Message.getFieldWithDefault(msg, 2, 0),
11102
- steering: jspb.Message.getFieldWithDefault(msg, 3, 0),
11103
- frustration: jspb.Message.getFieldWithDefault(msg, 4, 0),
11104
- sentiment: jspb.Message.getFieldWithDefault(msg, 5, 0)
11365
+ steering: jspb.Message.getFieldWithDefault(msg, 1, ""),
11366
+ tone: jspb.Message.getFieldWithDefault(msg, 2, "")
11105
11367
  };
11106
11368
 
11107
11369
  if (includeInstance) {
@@ -11139,24 +11401,12 @@ proto.gateway.web.v1.AIPromptLabels.deserializeBinaryFromReader = function(msg,
11139
11401
  var field = reader.getFieldNumber();
11140
11402
  switch (field) {
11141
11403
  case 1:
11142
- var value = /** @type {!proto.gateway.web.v1.AIPromptComplexity} */ (reader.readEnum());
11143
- msg.setComplexity(value);
11144
- break;
11145
- case 2:
11146
- var value = /** @type {!proto.gateway.web.v1.AIPromptClarity} */ (reader.readEnum());
11147
- msg.setClarity(value);
11148
- break;
11149
- case 3:
11150
- var value = /** @type {!proto.gateway.web.v1.AIPromptSteering} */ (reader.readEnum());
11404
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
11151
11405
  msg.setSteering(value);
11152
11406
  break;
11153
- case 4:
11154
- var value = /** @type {!proto.gateway.web.v1.AIPromptFrustration} */ (reader.readEnum());
11155
- msg.setFrustration(value);
11156
- break;
11157
- case 5:
11158
- var value = /** @type {!proto.gateway.web.v1.AIPromptSentiment} */ (reader.readEnum());
11159
- msg.setSentiment(value);
11407
+ case 2:
11408
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
11409
+ msg.setTone(value);
11160
11410
  break;
11161
11411
  default:
11162
11412
  reader.skipField();
@@ -11187,131 +11437,56 @@ proto.gateway.web.v1.AIPromptLabels.prototype.serializeBinary = function() {
11187
11437
  */
11188
11438
  proto.gateway.web.v1.AIPromptLabels.serializeBinaryToWriter = function(message, writer) {
11189
11439
  var f = undefined;
11190
- f = message.getComplexity();
11191
- if (f !== 0.0) {
11192
- writer.writeEnum(
11440
+ f = message.getSteering();
11441
+ if (f.length > 0) {
11442
+ writer.writeString(
11193
11443
  1,
11194
11444
  f
11195
11445
  );
11196
11446
  }
11197
- f = message.getClarity();
11198
- if (f !== 0.0) {
11199
- writer.writeEnum(
11447
+ f = message.getTone();
11448
+ if (f.length > 0) {
11449
+ writer.writeString(
11200
11450
  2,
11201
11451
  f
11202
11452
  );
11203
11453
  }
11204
- f = message.getSteering();
11205
- if (f !== 0.0) {
11206
- writer.writeEnum(
11207
- 3,
11208
- f
11209
- );
11210
- }
11211
- f = message.getFrustration();
11212
- if (f !== 0.0) {
11213
- writer.writeEnum(
11214
- 4,
11215
- f
11216
- );
11217
- }
11218
- f = message.getSentiment();
11219
- if (f !== 0.0) {
11220
- writer.writeEnum(
11221
- 5,
11222
- f
11223
- );
11224
- }
11225
- };
11226
-
11227
-
11228
- /**
11229
- * optional AIPromptComplexity complexity = 1;
11230
- * @return {!proto.gateway.web.v1.AIPromptComplexity}
11231
- */
11232
- proto.gateway.web.v1.AIPromptLabels.prototype.getComplexity = function() {
11233
- return /** @type {!proto.gateway.web.v1.AIPromptComplexity} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
11234
- };
11235
-
11236
-
11237
- /**
11238
- * @param {!proto.gateway.web.v1.AIPromptComplexity} value
11239
- * @return {!proto.gateway.web.v1.AIPromptLabels} returns this
11240
- */
11241
- proto.gateway.web.v1.AIPromptLabels.prototype.setComplexity = function(value) {
11242
- return jspb.Message.setProto3EnumField(this, 1, value);
11243
- };
11244
-
11245
-
11246
- /**
11247
- * optional AIPromptClarity clarity = 2;
11248
- * @return {!proto.gateway.web.v1.AIPromptClarity}
11249
- */
11250
- proto.gateway.web.v1.AIPromptLabels.prototype.getClarity = function() {
11251
- return /** @type {!proto.gateway.web.v1.AIPromptClarity} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
11252
11454
  };
11253
11455
 
11254
11456
 
11255
11457
  /**
11256
- * @param {!proto.gateway.web.v1.AIPromptClarity} value
11257
- * @return {!proto.gateway.web.v1.AIPromptLabels} returns this
11258
- */
11259
- proto.gateway.web.v1.AIPromptLabels.prototype.setClarity = function(value) {
11260
- return jspb.Message.setProto3EnumField(this, 2, value);
11261
- };
11262
-
11263
-
11264
- /**
11265
- * optional AIPromptSteering steering = 3;
11266
- * @return {!proto.gateway.web.v1.AIPromptSteering}
11458
+ * optional string steering = 1;
11459
+ * @return {string}
11267
11460
  */
11268
11461
  proto.gateway.web.v1.AIPromptLabels.prototype.getSteering = function() {
11269
- return /** @type {!proto.gateway.web.v1.AIPromptSteering} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
11462
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
11270
11463
  };
11271
11464
 
11272
11465
 
11273
11466
  /**
11274
- * @param {!proto.gateway.web.v1.AIPromptSteering} value
11467
+ * @param {string} value
11275
11468
  * @return {!proto.gateway.web.v1.AIPromptLabels} returns this
11276
11469
  */
11277
11470
  proto.gateway.web.v1.AIPromptLabels.prototype.setSteering = function(value) {
11278
- return jspb.Message.setProto3EnumField(this, 3, value);
11279
- };
11280
-
11281
-
11282
- /**
11283
- * optional AIPromptFrustration frustration = 4;
11284
- * @return {!proto.gateway.web.v1.AIPromptFrustration}
11285
- */
11286
- proto.gateway.web.v1.AIPromptLabels.prototype.getFrustration = function() {
11287
- return /** @type {!proto.gateway.web.v1.AIPromptFrustration} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
11288
- };
11289
-
11290
-
11291
- /**
11292
- * @param {!proto.gateway.web.v1.AIPromptFrustration} value
11293
- * @return {!proto.gateway.web.v1.AIPromptLabels} returns this
11294
- */
11295
- proto.gateway.web.v1.AIPromptLabels.prototype.setFrustration = function(value) {
11296
- return jspb.Message.setProto3EnumField(this, 4, value);
11471
+ return jspb.Message.setProto3StringField(this, 1, value);
11297
11472
  };
11298
11473
 
11299
11474
 
11300
11475
  /**
11301
- * optional AIPromptSentiment sentiment = 5;
11302
- * @return {!proto.gateway.web.v1.AIPromptSentiment}
11476
+ * optional string tone = 2;
11477
+ * @return {string}
11303
11478
  */
11304
- proto.gateway.web.v1.AIPromptLabels.prototype.getSentiment = function() {
11305
- return /** @type {!proto.gateway.web.v1.AIPromptSentiment} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
11479
+ proto.gateway.web.v1.AIPromptLabels.prototype.getTone = function() {
11480
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
11306
11481
  };
11307
11482
 
11308
11483
 
11309
11484
  /**
11310
- * @param {!proto.gateway.web.v1.AIPromptSentiment} value
11485
+ * @param {string} value
11311
11486
  * @return {!proto.gateway.web.v1.AIPromptLabels} returns this
11312
11487
  */
11313
- proto.gateway.web.v1.AIPromptLabels.prototype.setSentiment = function(value) {
11314
- return jspb.Message.setProto3EnumField(this, 5, value);
11488
+ proto.gateway.web.v1.AIPromptLabels.prototype.setTone = function(value) {
11489
+ return jspb.Message.setProto3StringField(this, 2, value);
11315
11490
  };
11316
11491
 
11317
11492
 
@@ -11321,7 +11496,7 @@ proto.gateway.web.v1.AIPromptLabels.prototype.setSentiment = function(value) {
11321
11496
  * @private {!Array<number>}
11322
11497
  * @const
11323
11498
  */
11324
- proto.gateway.web.v1.AIPromptLabelSummary.repeatedFields_ = [2];
11499
+ proto.gateway.web.v1.AIPromptLabelSummary.repeatedFields_ = [2,3];
11325
11500
 
11326
11501
 
11327
11502
 
@@ -11356,9 +11531,9 @@ proto.gateway.web.v1.AIPromptLabelSummary.toObject = function(includeInstance, m
11356
11531
  var f, obj = {
11357
11532
  labelledPrompts: jspb.Message.getFieldWithDefault(msg, 1, 0),
11358
11533
  steeringCountsList: jspb.Message.toObjectList(msg.getSteeringCountsList(),
11359
- proto.gateway.web.v1.AIPromptSteeringCount.toObject, includeInstance),
11360
- peakFrustration: jspb.Message.getFieldWithDefault(msg, 3, 0),
11361
- clearPrompts: jspb.Message.getFieldWithDefault(msg, 4, 0)
11534
+ proto.gateway.web.v1.AILabelCount.toObject, includeInstance),
11535
+ toneCountsList: jspb.Message.toObjectList(msg.getToneCountsList(),
11536
+ proto.gateway.web.v1.AILabelCount.toObject, includeInstance)
11362
11537
  };
11363
11538
 
11364
11539
  if (includeInstance) {
@@ -11400,17 +11575,14 @@ proto.gateway.web.v1.AIPromptLabelSummary.deserializeBinaryFromReader = function
11400
11575
  msg.setLabelledPrompts(value);
11401
11576
  break;
11402
11577
  case 2:
11403
- var value = new proto.gateway.web.v1.AIPromptSteeringCount;
11404
- reader.readMessage(value,proto.gateway.web.v1.AIPromptSteeringCount.deserializeBinaryFromReader);
11578
+ var value = new proto.gateway.web.v1.AILabelCount;
11579
+ reader.readMessage(value,proto.gateway.web.v1.AILabelCount.deserializeBinaryFromReader);
11405
11580
  msg.addSteeringCounts(value);
11406
11581
  break;
11407
11582
  case 3:
11408
- var value = /** @type {!proto.gateway.web.v1.AIPromptFrustration} */ (reader.readEnum());
11409
- msg.setPeakFrustration(value);
11410
- break;
11411
- case 4:
11412
- var value = /** @type {number} */ (reader.readUint64());
11413
- msg.setClearPrompts(value);
11583
+ var value = new proto.gateway.web.v1.AILabelCount;
11584
+ reader.readMessage(value,proto.gateway.web.v1.AILabelCount.deserializeBinaryFromReader);
11585
+ msg.addToneCounts(value);
11414
11586
  break;
11415
11587
  default:
11416
11588
  reader.skipField();
@@ -11453,21 +11625,15 @@ proto.gateway.web.v1.AIPromptLabelSummary.serializeBinaryToWriter = function(mes
11453
11625
  writer.writeRepeatedMessage(
11454
11626
  2,
11455
11627
  f,
11456
- proto.gateway.web.v1.AIPromptSteeringCount.serializeBinaryToWriter
11628
+ proto.gateway.web.v1.AILabelCount.serializeBinaryToWriter
11457
11629
  );
11458
11630
  }
11459
- f = message.getPeakFrustration();
11460
- if (f !== 0.0) {
11461
- writer.writeEnum(
11631
+ f = message.getToneCountsList();
11632
+ if (f.length > 0) {
11633
+ writer.writeRepeatedMessage(
11462
11634
  3,
11463
- f
11464
- );
11465
- }
11466
- f = message.getClearPrompts();
11467
- if (f !== 0) {
11468
- writer.writeUint64(
11469
- 4,
11470
- f
11635
+ f,
11636
+ proto.gateway.web.v1.AILabelCount.serializeBinaryToWriter
11471
11637
  );
11472
11638
  }
11473
11639
  };
@@ -11492,17 +11658,17 @@ proto.gateway.web.v1.AIPromptLabelSummary.prototype.setLabelledPrompts = functio
11492
11658
 
11493
11659
 
11494
11660
  /**
11495
- * repeated AIPromptSteeringCount steering_counts = 2;
11496
- * @return {!Array<!proto.gateway.web.v1.AIPromptSteeringCount>}
11661
+ * repeated AILabelCount steering_counts = 2;
11662
+ * @return {!Array<!proto.gateway.web.v1.AILabelCount>}
11497
11663
  */
11498
11664
  proto.gateway.web.v1.AIPromptLabelSummary.prototype.getSteeringCountsList = function() {
11499
- return /** @type{!Array<!proto.gateway.web.v1.AIPromptSteeringCount>} */ (
11500
- jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.AIPromptSteeringCount, 2));
11665
+ return /** @type{!Array<!proto.gateway.web.v1.AILabelCount>} */ (
11666
+ jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.AILabelCount, 2));
11501
11667
  };
11502
11668
 
11503
11669
 
11504
11670
  /**
11505
- * @param {!Array<!proto.gateway.web.v1.AIPromptSteeringCount>} value
11671
+ * @param {!Array<!proto.gateway.web.v1.AILabelCount>} value
11506
11672
  * @return {!proto.gateway.web.v1.AIPromptLabelSummary} returns this
11507
11673
  */
11508
11674
  proto.gateway.web.v1.AIPromptLabelSummary.prototype.setSteeringCountsList = function(value) {
@@ -11511,12 +11677,12 @@ proto.gateway.web.v1.AIPromptLabelSummary.prototype.setSteeringCountsList = func
11511
11677
 
11512
11678
 
11513
11679
  /**
11514
- * @param {!proto.gateway.web.v1.AIPromptSteeringCount=} opt_value
11680
+ * @param {!proto.gateway.web.v1.AILabelCount=} opt_value
11515
11681
  * @param {number=} opt_index
11516
- * @return {!proto.gateway.web.v1.AIPromptSteeringCount}
11682
+ * @return {!proto.gateway.web.v1.AILabelCount}
11517
11683
  */
11518
11684
  proto.gateway.web.v1.AIPromptLabelSummary.prototype.addSteeringCounts = function(opt_value, opt_index) {
11519
- return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.gateway.web.v1.AIPromptSteeringCount, opt_index);
11685
+ return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.gateway.web.v1.AILabelCount, opt_index);
11520
11686
  };
11521
11687
 
11522
11688
 
@@ -11530,198 +11696,40 @@ proto.gateway.web.v1.AIPromptLabelSummary.prototype.clearSteeringCountsList = fu
11530
11696
 
11531
11697
 
11532
11698
  /**
11533
- * optional AIPromptFrustration peak_frustration = 3;
11534
- * @return {!proto.gateway.web.v1.AIPromptFrustration}
11699
+ * repeated AILabelCount tone_counts = 3;
11700
+ * @return {!Array<!proto.gateway.web.v1.AILabelCount>}
11535
11701
  */
11536
- proto.gateway.web.v1.AIPromptLabelSummary.prototype.getPeakFrustration = function() {
11537
- return /** @type {!proto.gateway.web.v1.AIPromptFrustration} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
11702
+ proto.gateway.web.v1.AIPromptLabelSummary.prototype.getToneCountsList = function() {
11703
+ return /** @type{!Array<!proto.gateway.web.v1.AILabelCount>} */ (
11704
+ jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.AILabelCount, 3));
11538
11705
  };
11539
11706
 
11540
11707
 
11541
11708
  /**
11542
- * @param {!proto.gateway.web.v1.AIPromptFrustration} value
11709
+ * @param {!Array<!proto.gateway.web.v1.AILabelCount>} value
11543
11710
  * @return {!proto.gateway.web.v1.AIPromptLabelSummary} returns this
11544
- */
11545
- proto.gateway.web.v1.AIPromptLabelSummary.prototype.setPeakFrustration = function(value) {
11546
- return jspb.Message.setProto3EnumField(this, 3, value);
11711
+ */
11712
+ proto.gateway.web.v1.AIPromptLabelSummary.prototype.setToneCountsList = function(value) {
11713
+ return jspb.Message.setRepeatedWrapperField(this, 3, value);
11547
11714
  };
11548
11715
 
11549
11716
 
11550
11717
  /**
11551
- * optional uint64 clear_prompts = 4;
11552
- * @return {number}
11718
+ * @param {!proto.gateway.web.v1.AILabelCount=} opt_value
11719
+ * @param {number=} opt_index
11720
+ * @return {!proto.gateway.web.v1.AILabelCount}
11553
11721
  */
11554
- proto.gateway.web.v1.AIPromptLabelSummary.prototype.getClearPrompts = function() {
11555
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
11722
+ proto.gateway.web.v1.AIPromptLabelSummary.prototype.addToneCounts = function(opt_value, opt_index) {
11723
+ return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.gateway.web.v1.AILabelCount, opt_index);
11556
11724
  };
11557
11725
 
11558
11726
 
11559
11727
  /**
11560
- * @param {number} value
11728
+ * Clears the list making it empty but non-null.
11561
11729
  * @return {!proto.gateway.web.v1.AIPromptLabelSummary} returns this
11562
11730
  */
11563
- proto.gateway.web.v1.AIPromptLabelSummary.prototype.setClearPrompts = function(value) {
11564
- return jspb.Message.setProto3IntField(this, 4, value);
11565
- };
11566
-
11567
-
11568
-
11569
-
11570
-
11571
- if (jspb.Message.GENERATE_TO_OBJECT) {
11572
- /**
11573
- * Creates an object representation of this proto.
11574
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
11575
- * Optional fields that are not set will be set to undefined.
11576
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
11577
- * For the list of reserved names please see:
11578
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
11579
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
11580
- * JSPB instance for transitional soy proto support:
11581
- * http://goto/soy-param-migration
11582
- * @return {!Object}
11583
- */
11584
- proto.gateway.web.v1.AIPromptSteeringCount.prototype.toObject = function(opt_includeInstance) {
11585
- return proto.gateway.web.v1.AIPromptSteeringCount.toObject(opt_includeInstance, this);
11586
- };
11587
-
11588
-
11589
- /**
11590
- * Static version of the {@see toObject} method.
11591
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
11592
- * the JSPB instance for transitional soy proto support:
11593
- * http://goto/soy-param-migration
11594
- * @param {!proto.gateway.web.v1.AIPromptSteeringCount} msg The msg instance to transform.
11595
- * @return {!Object}
11596
- * @suppress {unusedLocalVariables} f is only used for nested messages
11597
- */
11598
- proto.gateway.web.v1.AIPromptSteeringCount.toObject = function(includeInstance, msg) {
11599
- var f, obj = {
11600
- steering: jspb.Message.getFieldWithDefault(msg, 1, 0),
11601
- prompts: jspb.Message.getFieldWithDefault(msg, 2, 0)
11602
- };
11603
-
11604
- if (includeInstance) {
11605
- obj.$jspbMessageInstance = msg;
11606
- }
11607
- return obj;
11608
- };
11609
- }
11610
-
11611
-
11612
- /**
11613
- * Deserializes binary data (in protobuf wire format).
11614
- * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
11615
- * @return {!proto.gateway.web.v1.AIPromptSteeringCount}
11616
- */
11617
- proto.gateway.web.v1.AIPromptSteeringCount.deserializeBinary = function(bytes) {
11618
- var reader = new jspb.BinaryReader(bytes);
11619
- var msg = new proto.gateway.web.v1.AIPromptSteeringCount;
11620
- return proto.gateway.web.v1.AIPromptSteeringCount.deserializeBinaryFromReader(msg, reader);
11621
- };
11622
-
11623
-
11624
- /**
11625
- * Deserializes binary data (in protobuf wire format) from the
11626
- * given reader into the given message object.
11627
- * @param {!proto.gateway.web.v1.AIPromptSteeringCount} msg The message object to deserialize into.
11628
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
11629
- * @return {!proto.gateway.web.v1.AIPromptSteeringCount}
11630
- */
11631
- proto.gateway.web.v1.AIPromptSteeringCount.deserializeBinaryFromReader = function(msg, reader) {
11632
- while (reader.nextField()) {
11633
- if (reader.isEndGroup()) {
11634
- break;
11635
- }
11636
- var field = reader.getFieldNumber();
11637
- switch (field) {
11638
- case 1:
11639
- var value = /** @type {!proto.gateway.web.v1.AIPromptSteering} */ (reader.readEnum());
11640
- msg.setSteering(value);
11641
- break;
11642
- case 2:
11643
- var value = /** @type {number} */ (reader.readUint64());
11644
- msg.setPrompts(value);
11645
- break;
11646
- default:
11647
- reader.skipField();
11648
- break;
11649
- }
11650
- }
11651
- return msg;
11652
- };
11653
-
11654
-
11655
- /**
11656
- * Serializes the message to binary data (in protobuf wire format).
11657
- * @return {!Uint8Array}
11658
- */
11659
- proto.gateway.web.v1.AIPromptSteeringCount.prototype.serializeBinary = function() {
11660
- var writer = new jspb.BinaryWriter();
11661
- proto.gateway.web.v1.AIPromptSteeringCount.serializeBinaryToWriter(this, writer);
11662
- return writer.getResultBuffer();
11663
- };
11664
-
11665
-
11666
- /**
11667
- * Serializes the given message to binary data (in protobuf wire
11668
- * format), writing to the given BinaryWriter.
11669
- * @param {!proto.gateway.web.v1.AIPromptSteeringCount} message
11670
- * @param {!jspb.BinaryWriter} writer
11671
- * @suppress {unusedLocalVariables} f is only used for nested messages
11672
- */
11673
- proto.gateway.web.v1.AIPromptSteeringCount.serializeBinaryToWriter = function(message, writer) {
11674
- var f = undefined;
11675
- f = message.getSteering();
11676
- if (f !== 0.0) {
11677
- writer.writeEnum(
11678
- 1,
11679
- f
11680
- );
11681
- }
11682
- f = message.getPrompts();
11683
- if (f !== 0) {
11684
- writer.writeUint64(
11685
- 2,
11686
- f
11687
- );
11688
- }
11689
- };
11690
-
11691
-
11692
- /**
11693
- * optional AIPromptSteering steering = 1;
11694
- * @return {!proto.gateway.web.v1.AIPromptSteering}
11695
- */
11696
- proto.gateway.web.v1.AIPromptSteeringCount.prototype.getSteering = function() {
11697
- return /** @type {!proto.gateway.web.v1.AIPromptSteering} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
11698
- };
11699
-
11700
-
11701
- /**
11702
- * @param {!proto.gateway.web.v1.AIPromptSteering} value
11703
- * @return {!proto.gateway.web.v1.AIPromptSteeringCount} returns this
11704
- */
11705
- proto.gateway.web.v1.AIPromptSteeringCount.prototype.setSteering = function(value) {
11706
- return jspb.Message.setProto3EnumField(this, 1, value);
11707
- };
11708
-
11709
-
11710
- /**
11711
- * optional uint64 prompts = 2;
11712
- * @return {number}
11713
- */
11714
- proto.gateway.web.v1.AIPromptSteeringCount.prototype.getPrompts = function() {
11715
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
11716
- };
11717
-
11718
-
11719
- /**
11720
- * @param {number} value
11721
- * @return {!proto.gateway.web.v1.AIPromptSteeringCount} returns this
11722
- */
11723
- proto.gateway.web.v1.AIPromptSteeringCount.prototype.setPrompts = function(value) {
11724
- return jspb.Message.setProto3IntField(this, 2, value);
11731
+ proto.gateway.web.v1.AIPromptLabelSummary.prototype.clearToneCountsList = function() {
11732
+ return this.setToneCountsList([]);
11725
11733
  };
11726
11734
 
11727
11735
 
@@ -12417,6 +12425,13 @@ proto.gateway.web.v1.GetPromptLabelTrendResponse.prototype.clearWeeksList = func
12417
12425
 
12418
12426
 
12419
12427
 
12428
+ /**
12429
+ * List of repeated fields within this message type.
12430
+ * @private {!Array<number>}
12431
+ * @const
12432
+ */
12433
+ proto.gateway.web.v1.AIPromptLabelWeek.repeatedFields_ = [3,4];
12434
+
12420
12435
 
12421
12436
 
12422
12437
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -12450,9 +12465,10 @@ proto.gateway.web.v1.AIPromptLabelWeek.toObject = function(includeInstance, msg)
12450
12465
  var f, obj = {
12451
12466
  weekStart: jspb.Message.getFieldWithDefault(msg, 1, ""),
12452
12467
  labelledPrompts: jspb.Message.getFieldWithDefault(msg, 2, 0),
12453
- clearPrompts: jspb.Message.getFieldWithDefault(msg, 3, 0),
12454
- corrections: jspb.Message.getFieldWithDefault(msg, 4, 0),
12455
- frustratedPrompts: jspb.Message.getFieldWithDefault(msg, 5, 0)
12468
+ steeringCountsList: jspb.Message.toObjectList(msg.getSteeringCountsList(),
12469
+ proto.gateway.web.v1.AILabelCount.toObject, includeInstance),
12470
+ toneCountsList: jspb.Message.toObjectList(msg.getToneCountsList(),
12471
+ proto.gateway.web.v1.AILabelCount.toObject, includeInstance)
12456
12472
  };
12457
12473
 
12458
12474
  if (includeInstance) {
@@ -12498,16 +12514,14 @@ proto.gateway.web.v1.AIPromptLabelWeek.deserializeBinaryFromReader = function(ms
12498
12514
  msg.setLabelledPrompts(value);
12499
12515
  break;
12500
12516
  case 3:
12501
- var value = /** @type {number} */ (reader.readUint64());
12502
- msg.setClearPrompts(value);
12517
+ var value = new proto.gateway.web.v1.AILabelCount;
12518
+ reader.readMessage(value,proto.gateway.web.v1.AILabelCount.deserializeBinaryFromReader);
12519
+ msg.addSteeringCounts(value);
12503
12520
  break;
12504
12521
  case 4:
12505
- var value = /** @type {number} */ (reader.readUint64());
12506
- msg.setCorrections(value);
12507
- break;
12508
- case 5:
12509
- var value = /** @type {number} */ (reader.readUint64());
12510
- msg.setFrustratedPrompts(value);
12522
+ var value = new proto.gateway.web.v1.AILabelCount;
12523
+ reader.readMessage(value,proto.gateway.web.v1.AILabelCount.deserializeBinaryFromReader);
12524
+ msg.addToneCounts(value);
12511
12525
  break;
12512
12526
  default:
12513
12527
  reader.skipField();
@@ -12552,25 +12566,20 @@ proto.gateway.web.v1.AIPromptLabelWeek.serializeBinaryToWriter = function(messag
12552
12566
  f
12553
12567
  );
12554
12568
  }
12555
- f = message.getClearPrompts();
12556
- if (f !== 0) {
12557
- writer.writeUint64(
12569
+ f = message.getSteeringCountsList();
12570
+ if (f.length > 0) {
12571
+ writer.writeRepeatedMessage(
12558
12572
  3,
12559
- f
12573
+ f,
12574
+ proto.gateway.web.v1.AILabelCount.serializeBinaryToWriter
12560
12575
  );
12561
12576
  }
12562
- f = message.getCorrections();
12563
- if (f !== 0) {
12564
- writer.writeUint64(
12577
+ f = message.getToneCountsList();
12578
+ if (f.length > 0) {
12579
+ writer.writeRepeatedMessage(
12565
12580
  4,
12566
- f
12567
- );
12568
- }
12569
- f = message.getFrustratedPrompts();
12570
- if (f !== 0) {
12571
- writer.writeUint64(
12572
- 5,
12573
- f
12581
+ f,
12582
+ proto.gateway.web.v1.AILabelCount.serializeBinaryToWriter
12574
12583
  );
12575
12584
  }
12576
12585
  };
@@ -12613,56 +12622,1121 @@ proto.gateway.web.v1.AIPromptLabelWeek.prototype.setLabelledPrompts = function(v
12613
12622
 
12614
12623
 
12615
12624
  /**
12616
- * optional uint64 clear_prompts = 3;
12617
- * @return {number}
12625
+ * repeated AILabelCount steering_counts = 3;
12626
+ * @return {!Array<!proto.gateway.web.v1.AILabelCount>}
12618
12627
  */
12619
- proto.gateway.web.v1.AIPromptLabelWeek.prototype.getClearPrompts = function() {
12620
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
12628
+ proto.gateway.web.v1.AIPromptLabelWeek.prototype.getSteeringCountsList = function() {
12629
+ return /** @type{!Array<!proto.gateway.web.v1.AILabelCount>} */ (
12630
+ jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.AILabelCount, 3));
12621
12631
  };
12622
12632
 
12623
12633
 
12624
12634
  /**
12625
- * @param {number} value
12635
+ * @param {!Array<!proto.gateway.web.v1.AILabelCount>} value
12626
12636
  * @return {!proto.gateway.web.v1.AIPromptLabelWeek} returns this
12627
- */
12628
- proto.gateway.web.v1.AIPromptLabelWeek.prototype.setClearPrompts = function(value) {
12629
- return jspb.Message.setProto3IntField(this, 3, value);
12637
+ */
12638
+ proto.gateway.web.v1.AIPromptLabelWeek.prototype.setSteeringCountsList = function(value) {
12639
+ return jspb.Message.setRepeatedWrapperField(this, 3, value);
12630
12640
  };
12631
12641
 
12632
12642
 
12633
12643
  /**
12634
- * optional uint64 corrections = 4;
12635
- * @return {number}
12644
+ * @param {!proto.gateway.web.v1.AILabelCount=} opt_value
12645
+ * @param {number=} opt_index
12646
+ * @return {!proto.gateway.web.v1.AILabelCount}
12636
12647
  */
12637
- proto.gateway.web.v1.AIPromptLabelWeek.prototype.getCorrections = function() {
12638
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
12648
+ proto.gateway.web.v1.AIPromptLabelWeek.prototype.addSteeringCounts = function(opt_value, opt_index) {
12649
+ return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.gateway.web.v1.AILabelCount, opt_index);
12639
12650
  };
12640
12651
 
12641
12652
 
12642
12653
  /**
12643
- * @param {number} value
12654
+ * Clears the list making it empty but non-null.
12644
12655
  * @return {!proto.gateway.web.v1.AIPromptLabelWeek} returns this
12645
12656
  */
12646
- proto.gateway.web.v1.AIPromptLabelWeek.prototype.setCorrections = function(value) {
12647
- return jspb.Message.setProto3IntField(this, 4, value);
12657
+ proto.gateway.web.v1.AIPromptLabelWeek.prototype.clearSteeringCountsList = function() {
12658
+ return this.setSteeringCountsList([]);
12648
12659
  };
12649
12660
 
12650
12661
 
12651
12662
  /**
12652
- * optional uint64 frustrated_prompts = 5;
12653
- * @return {number}
12663
+ * repeated AILabelCount tone_counts = 4;
12664
+ * @return {!Array<!proto.gateway.web.v1.AILabelCount>}
12654
12665
  */
12655
- proto.gateway.web.v1.AIPromptLabelWeek.prototype.getFrustratedPrompts = function() {
12656
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
12666
+ proto.gateway.web.v1.AIPromptLabelWeek.prototype.getToneCountsList = function() {
12667
+ return /** @type{!Array<!proto.gateway.web.v1.AILabelCount>} */ (
12668
+ jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.AILabelCount, 4));
12657
12669
  };
12658
12670
 
12659
12671
 
12660
12672
  /**
12661
- * @param {number} value
12673
+ * @param {!Array<!proto.gateway.web.v1.AILabelCount>} value
12662
12674
  * @return {!proto.gateway.web.v1.AIPromptLabelWeek} returns this
12675
+ */
12676
+ proto.gateway.web.v1.AIPromptLabelWeek.prototype.setToneCountsList = function(value) {
12677
+ return jspb.Message.setRepeatedWrapperField(this, 4, value);
12678
+ };
12679
+
12680
+
12681
+ /**
12682
+ * @param {!proto.gateway.web.v1.AILabelCount=} opt_value
12683
+ * @param {number=} opt_index
12684
+ * @return {!proto.gateway.web.v1.AILabelCount}
12663
12685
  */
12664
- proto.gateway.web.v1.AIPromptLabelWeek.prototype.setFrustratedPrompts = function(value) {
12665
- return jspb.Message.setProto3IntField(this, 5, value);
12686
+ proto.gateway.web.v1.AIPromptLabelWeek.prototype.addToneCounts = function(opt_value, opt_index) {
12687
+ return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.gateway.web.v1.AILabelCount, opt_index);
12688
+ };
12689
+
12690
+
12691
+ /**
12692
+ * Clears the list making it empty but non-null.
12693
+ * @return {!proto.gateway.web.v1.AIPromptLabelWeek} returns this
12694
+ */
12695
+ proto.gateway.web.v1.AIPromptLabelWeek.prototype.clearToneCountsList = function() {
12696
+ return this.setToneCountsList([]);
12697
+ };
12698
+
12699
+
12700
+
12701
+
12702
+
12703
+ if (jspb.Message.GENERATE_TO_OBJECT) {
12704
+ /**
12705
+ * Creates an object representation of this proto.
12706
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
12707
+ * Optional fields that are not set will be set to undefined.
12708
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
12709
+ * For the list of reserved names please see:
12710
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
12711
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
12712
+ * JSPB instance for transitional soy proto support:
12713
+ * http://goto/soy-param-migration
12714
+ * @return {!Object}
12715
+ */
12716
+ proto.gateway.web.v1.GetLabelCatalogRequest.prototype.toObject = function(opt_includeInstance) {
12717
+ return proto.gateway.web.v1.GetLabelCatalogRequest.toObject(opt_includeInstance, this);
12718
+ };
12719
+
12720
+
12721
+ /**
12722
+ * Static version of the {@see toObject} method.
12723
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
12724
+ * the JSPB instance for transitional soy proto support:
12725
+ * http://goto/soy-param-migration
12726
+ * @param {!proto.gateway.web.v1.GetLabelCatalogRequest} msg The msg instance to transform.
12727
+ * @return {!Object}
12728
+ * @suppress {unusedLocalVariables} f is only used for nested messages
12729
+ */
12730
+ proto.gateway.web.v1.GetLabelCatalogRequest.toObject = function(includeInstance, msg) {
12731
+ var f, obj = {
12732
+ organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""),
12733
+ projectId: jspb.Message.getFieldWithDefault(msg, 2, "")
12734
+ };
12735
+
12736
+ if (includeInstance) {
12737
+ obj.$jspbMessageInstance = msg;
12738
+ }
12739
+ return obj;
12740
+ };
12741
+ }
12742
+
12743
+
12744
+ /**
12745
+ * Deserializes binary data (in protobuf wire format).
12746
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
12747
+ * @return {!proto.gateway.web.v1.GetLabelCatalogRequest}
12748
+ */
12749
+ proto.gateway.web.v1.GetLabelCatalogRequest.deserializeBinary = function(bytes) {
12750
+ var reader = new jspb.BinaryReader(bytes);
12751
+ var msg = new proto.gateway.web.v1.GetLabelCatalogRequest;
12752
+ return proto.gateway.web.v1.GetLabelCatalogRequest.deserializeBinaryFromReader(msg, reader);
12753
+ };
12754
+
12755
+
12756
+ /**
12757
+ * Deserializes binary data (in protobuf wire format) from the
12758
+ * given reader into the given message object.
12759
+ * @param {!proto.gateway.web.v1.GetLabelCatalogRequest} msg The message object to deserialize into.
12760
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
12761
+ * @return {!proto.gateway.web.v1.GetLabelCatalogRequest}
12762
+ */
12763
+ proto.gateway.web.v1.GetLabelCatalogRequest.deserializeBinaryFromReader = function(msg, reader) {
12764
+ while (reader.nextField()) {
12765
+ if (reader.isEndGroup()) {
12766
+ break;
12767
+ }
12768
+ var field = reader.getFieldNumber();
12769
+ switch (field) {
12770
+ case 1:
12771
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
12772
+ msg.setOrganizationId(value);
12773
+ break;
12774
+ case 2:
12775
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
12776
+ msg.setProjectId(value);
12777
+ break;
12778
+ default:
12779
+ reader.skipField();
12780
+ break;
12781
+ }
12782
+ }
12783
+ return msg;
12784
+ };
12785
+
12786
+
12787
+ /**
12788
+ * Serializes the message to binary data (in protobuf wire format).
12789
+ * @return {!Uint8Array}
12790
+ */
12791
+ proto.gateway.web.v1.GetLabelCatalogRequest.prototype.serializeBinary = function() {
12792
+ var writer = new jspb.BinaryWriter();
12793
+ proto.gateway.web.v1.GetLabelCatalogRequest.serializeBinaryToWriter(this, writer);
12794
+ return writer.getResultBuffer();
12795
+ };
12796
+
12797
+
12798
+ /**
12799
+ * Serializes the given message to binary data (in protobuf wire
12800
+ * format), writing to the given BinaryWriter.
12801
+ * @param {!proto.gateway.web.v1.GetLabelCatalogRequest} message
12802
+ * @param {!jspb.BinaryWriter} writer
12803
+ * @suppress {unusedLocalVariables} f is only used for nested messages
12804
+ */
12805
+ proto.gateway.web.v1.GetLabelCatalogRequest.serializeBinaryToWriter = function(message, writer) {
12806
+ var f = undefined;
12807
+ f = message.getOrganizationId();
12808
+ if (f.length > 0) {
12809
+ writer.writeString(
12810
+ 1,
12811
+ f
12812
+ );
12813
+ }
12814
+ f = message.getProjectId();
12815
+ if (f.length > 0) {
12816
+ writer.writeString(
12817
+ 2,
12818
+ f
12819
+ );
12820
+ }
12821
+ };
12822
+
12823
+
12824
+ /**
12825
+ * optional string organization_id = 1;
12826
+ * @return {string}
12827
+ */
12828
+ proto.gateway.web.v1.GetLabelCatalogRequest.prototype.getOrganizationId = function() {
12829
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
12830
+ };
12831
+
12832
+
12833
+ /**
12834
+ * @param {string} value
12835
+ * @return {!proto.gateway.web.v1.GetLabelCatalogRequest} returns this
12836
+ */
12837
+ proto.gateway.web.v1.GetLabelCatalogRequest.prototype.setOrganizationId = function(value) {
12838
+ return jspb.Message.setProto3StringField(this, 1, value);
12839
+ };
12840
+
12841
+
12842
+ /**
12843
+ * optional string project_id = 2;
12844
+ * @return {string}
12845
+ */
12846
+ proto.gateway.web.v1.GetLabelCatalogRequest.prototype.getProjectId = function() {
12847
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
12848
+ };
12849
+
12850
+
12851
+ /**
12852
+ * @param {string} value
12853
+ * @return {!proto.gateway.web.v1.GetLabelCatalogRequest} returns this
12854
+ */
12855
+ proto.gateway.web.v1.GetLabelCatalogRequest.prototype.setProjectId = function(value) {
12856
+ return jspb.Message.setProto3StringField(this, 2, value);
12857
+ };
12858
+
12859
+
12860
+
12861
+
12862
+
12863
+ if (jspb.Message.GENERATE_TO_OBJECT) {
12864
+ /**
12865
+ * Creates an object representation of this proto.
12866
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
12867
+ * Optional fields that are not set will be set to undefined.
12868
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
12869
+ * For the list of reserved names please see:
12870
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
12871
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
12872
+ * JSPB instance for transitional soy proto support:
12873
+ * http://goto/soy-param-migration
12874
+ * @return {!Object}
12875
+ */
12876
+ proto.gateway.web.v1.GetLabelCatalogResponse.prototype.toObject = function(opt_includeInstance) {
12877
+ return proto.gateway.web.v1.GetLabelCatalogResponse.toObject(opt_includeInstance, this);
12878
+ };
12879
+
12880
+
12881
+ /**
12882
+ * Static version of the {@see toObject} method.
12883
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
12884
+ * the JSPB instance for transitional soy proto support:
12885
+ * http://goto/soy-param-migration
12886
+ * @param {!proto.gateway.web.v1.GetLabelCatalogResponse} msg The msg instance to transform.
12887
+ * @return {!Object}
12888
+ * @suppress {unusedLocalVariables} f is only used for nested messages
12889
+ */
12890
+ proto.gateway.web.v1.GetLabelCatalogResponse.toObject = function(includeInstance, msg) {
12891
+ var f, obj = {
12892
+ status: (f = msg.getStatus()) && proto_gateway_common_v1_status_pb.ResponseStatus.toObject(includeInstance, f),
12893
+ sessionLabels: (f = msg.getSessionLabels()) && proto.gateway.web.v1.AILabelSet.toObject(includeInstance, f),
12894
+ promptLabels: (f = msg.getPromptLabels()) && proto.gateway.web.v1.AILabelSet.toObject(includeInstance, f)
12895
+ };
12896
+
12897
+ if (includeInstance) {
12898
+ obj.$jspbMessageInstance = msg;
12899
+ }
12900
+ return obj;
12901
+ };
12902
+ }
12903
+
12904
+
12905
+ /**
12906
+ * Deserializes binary data (in protobuf wire format).
12907
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
12908
+ * @return {!proto.gateway.web.v1.GetLabelCatalogResponse}
12909
+ */
12910
+ proto.gateway.web.v1.GetLabelCatalogResponse.deserializeBinary = function(bytes) {
12911
+ var reader = new jspb.BinaryReader(bytes);
12912
+ var msg = new proto.gateway.web.v1.GetLabelCatalogResponse;
12913
+ return proto.gateway.web.v1.GetLabelCatalogResponse.deserializeBinaryFromReader(msg, reader);
12914
+ };
12915
+
12916
+
12917
+ /**
12918
+ * Deserializes binary data (in protobuf wire format) from the
12919
+ * given reader into the given message object.
12920
+ * @param {!proto.gateway.web.v1.GetLabelCatalogResponse} msg The message object to deserialize into.
12921
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
12922
+ * @return {!proto.gateway.web.v1.GetLabelCatalogResponse}
12923
+ */
12924
+ proto.gateway.web.v1.GetLabelCatalogResponse.deserializeBinaryFromReader = function(msg, reader) {
12925
+ while (reader.nextField()) {
12926
+ if (reader.isEndGroup()) {
12927
+ break;
12928
+ }
12929
+ var field = reader.getFieldNumber();
12930
+ switch (field) {
12931
+ case 1:
12932
+ var value = new proto_gateway_common_v1_status_pb.ResponseStatus;
12933
+ reader.readMessage(value,proto_gateway_common_v1_status_pb.ResponseStatus.deserializeBinaryFromReader);
12934
+ msg.setStatus(value);
12935
+ break;
12936
+ case 2:
12937
+ var value = new proto.gateway.web.v1.AILabelSet;
12938
+ reader.readMessage(value,proto.gateway.web.v1.AILabelSet.deserializeBinaryFromReader);
12939
+ msg.setSessionLabels(value);
12940
+ break;
12941
+ case 3:
12942
+ var value = new proto.gateway.web.v1.AILabelSet;
12943
+ reader.readMessage(value,proto.gateway.web.v1.AILabelSet.deserializeBinaryFromReader);
12944
+ msg.setPromptLabels(value);
12945
+ break;
12946
+ default:
12947
+ reader.skipField();
12948
+ break;
12949
+ }
12950
+ }
12951
+ return msg;
12952
+ };
12953
+
12954
+
12955
+ /**
12956
+ * Serializes the message to binary data (in protobuf wire format).
12957
+ * @return {!Uint8Array}
12958
+ */
12959
+ proto.gateway.web.v1.GetLabelCatalogResponse.prototype.serializeBinary = function() {
12960
+ var writer = new jspb.BinaryWriter();
12961
+ proto.gateway.web.v1.GetLabelCatalogResponse.serializeBinaryToWriter(this, writer);
12962
+ return writer.getResultBuffer();
12963
+ };
12964
+
12965
+
12966
+ /**
12967
+ * Serializes the given message to binary data (in protobuf wire
12968
+ * format), writing to the given BinaryWriter.
12969
+ * @param {!proto.gateway.web.v1.GetLabelCatalogResponse} message
12970
+ * @param {!jspb.BinaryWriter} writer
12971
+ * @suppress {unusedLocalVariables} f is only used for nested messages
12972
+ */
12973
+ proto.gateway.web.v1.GetLabelCatalogResponse.serializeBinaryToWriter = function(message, writer) {
12974
+ var f = undefined;
12975
+ f = message.getStatus();
12976
+ if (f != null) {
12977
+ writer.writeMessage(
12978
+ 1,
12979
+ f,
12980
+ proto_gateway_common_v1_status_pb.ResponseStatus.serializeBinaryToWriter
12981
+ );
12982
+ }
12983
+ f = message.getSessionLabels();
12984
+ if (f != null) {
12985
+ writer.writeMessage(
12986
+ 2,
12987
+ f,
12988
+ proto.gateway.web.v1.AILabelSet.serializeBinaryToWriter
12989
+ );
12990
+ }
12991
+ f = message.getPromptLabels();
12992
+ if (f != null) {
12993
+ writer.writeMessage(
12994
+ 3,
12995
+ f,
12996
+ proto.gateway.web.v1.AILabelSet.serializeBinaryToWriter
12997
+ );
12998
+ }
12999
+ };
13000
+
13001
+
13002
+ /**
13003
+ * optional gateway.common.v1.ResponseStatus status = 1;
13004
+ * @return {?proto.gateway.common.v1.ResponseStatus}
13005
+ */
13006
+ proto.gateway.web.v1.GetLabelCatalogResponse.prototype.getStatus = function() {
13007
+ return /** @type{?proto.gateway.common.v1.ResponseStatus} */ (
13008
+ jspb.Message.getWrapperField(this, proto_gateway_common_v1_status_pb.ResponseStatus, 1));
13009
+ };
13010
+
13011
+
13012
+ /**
13013
+ * @param {?proto.gateway.common.v1.ResponseStatus|undefined} value
13014
+ * @return {!proto.gateway.web.v1.GetLabelCatalogResponse} returns this
13015
+ */
13016
+ proto.gateway.web.v1.GetLabelCatalogResponse.prototype.setStatus = function(value) {
13017
+ return jspb.Message.setWrapperField(this, 1, value);
13018
+ };
13019
+
13020
+
13021
+ /**
13022
+ * Clears the message field making it undefined.
13023
+ * @return {!proto.gateway.web.v1.GetLabelCatalogResponse} returns this
13024
+ */
13025
+ proto.gateway.web.v1.GetLabelCatalogResponse.prototype.clearStatus = function() {
13026
+ return this.setStatus(undefined);
13027
+ };
13028
+
13029
+
13030
+ /**
13031
+ * Returns whether this field is set.
13032
+ * @return {boolean}
13033
+ */
13034
+ proto.gateway.web.v1.GetLabelCatalogResponse.prototype.hasStatus = function() {
13035
+ return jspb.Message.getField(this, 1) != null;
13036
+ };
13037
+
13038
+
13039
+ /**
13040
+ * optional AILabelSet session_labels = 2;
13041
+ * @return {?proto.gateway.web.v1.AILabelSet}
13042
+ */
13043
+ proto.gateway.web.v1.GetLabelCatalogResponse.prototype.getSessionLabels = function() {
13044
+ return /** @type{?proto.gateway.web.v1.AILabelSet} */ (
13045
+ jspb.Message.getWrapperField(this, proto.gateway.web.v1.AILabelSet, 2));
13046
+ };
13047
+
13048
+
13049
+ /**
13050
+ * @param {?proto.gateway.web.v1.AILabelSet|undefined} value
13051
+ * @return {!proto.gateway.web.v1.GetLabelCatalogResponse} returns this
13052
+ */
13053
+ proto.gateway.web.v1.GetLabelCatalogResponse.prototype.setSessionLabels = function(value) {
13054
+ return jspb.Message.setWrapperField(this, 2, value);
13055
+ };
13056
+
13057
+
13058
+ /**
13059
+ * Clears the message field making it undefined.
13060
+ * @return {!proto.gateway.web.v1.GetLabelCatalogResponse} returns this
13061
+ */
13062
+ proto.gateway.web.v1.GetLabelCatalogResponse.prototype.clearSessionLabels = function() {
13063
+ return this.setSessionLabels(undefined);
13064
+ };
13065
+
13066
+
13067
+ /**
13068
+ * Returns whether this field is set.
13069
+ * @return {boolean}
13070
+ */
13071
+ proto.gateway.web.v1.GetLabelCatalogResponse.prototype.hasSessionLabels = function() {
13072
+ return jspb.Message.getField(this, 2) != null;
13073
+ };
13074
+
13075
+
13076
+ /**
13077
+ * optional AILabelSet prompt_labels = 3;
13078
+ * @return {?proto.gateway.web.v1.AILabelSet}
13079
+ */
13080
+ proto.gateway.web.v1.GetLabelCatalogResponse.prototype.getPromptLabels = function() {
13081
+ return /** @type{?proto.gateway.web.v1.AILabelSet} */ (
13082
+ jspb.Message.getWrapperField(this, proto.gateway.web.v1.AILabelSet, 3));
13083
+ };
13084
+
13085
+
13086
+ /**
13087
+ * @param {?proto.gateway.web.v1.AILabelSet|undefined} value
13088
+ * @return {!proto.gateway.web.v1.GetLabelCatalogResponse} returns this
13089
+ */
13090
+ proto.gateway.web.v1.GetLabelCatalogResponse.prototype.setPromptLabels = function(value) {
13091
+ return jspb.Message.setWrapperField(this, 3, value);
13092
+ };
13093
+
13094
+
13095
+ /**
13096
+ * Clears the message field making it undefined.
13097
+ * @return {!proto.gateway.web.v1.GetLabelCatalogResponse} returns this
13098
+ */
13099
+ proto.gateway.web.v1.GetLabelCatalogResponse.prototype.clearPromptLabels = function() {
13100
+ return this.setPromptLabels(undefined);
13101
+ };
13102
+
13103
+
13104
+ /**
13105
+ * Returns whether this field is set.
13106
+ * @return {boolean}
13107
+ */
13108
+ proto.gateway.web.v1.GetLabelCatalogResponse.prototype.hasPromptLabels = function() {
13109
+ return jspb.Message.getField(this, 3) != null;
13110
+ };
13111
+
13112
+
13113
+
13114
+ /**
13115
+ * List of repeated fields within this message type.
13116
+ * @private {!Array<number>}
13117
+ * @const
13118
+ */
13119
+ proto.gateway.web.v1.AILabelSet.repeatedFields_ = [2];
13120
+
13121
+
13122
+
13123
+ if (jspb.Message.GENERATE_TO_OBJECT) {
13124
+ /**
13125
+ * Creates an object representation of this proto.
13126
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
13127
+ * Optional fields that are not set will be set to undefined.
13128
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
13129
+ * For the list of reserved names please see:
13130
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
13131
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
13132
+ * JSPB instance for transitional soy proto support:
13133
+ * http://goto/soy-param-migration
13134
+ * @return {!Object}
13135
+ */
13136
+ proto.gateway.web.v1.AILabelSet.prototype.toObject = function(opt_includeInstance) {
13137
+ return proto.gateway.web.v1.AILabelSet.toObject(opt_includeInstance, this);
13138
+ };
13139
+
13140
+
13141
+ /**
13142
+ * Static version of the {@see toObject} method.
13143
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
13144
+ * the JSPB instance for transitional soy proto support:
13145
+ * http://goto/soy-param-migration
13146
+ * @param {!proto.gateway.web.v1.AILabelSet} msg The msg instance to transform.
13147
+ * @return {!Object}
13148
+ * @suppress {unusedLocalVariables} f is only used for nested messages
13149
+ */
13150
+ proto.gateway.web.v1.AILabelSet.toObject = function(includeInstance, msg) {
13151
+ var f, obj = {
13152
+ version: jspb.Message.getFieldWithDefault(msg, 1, ""),
13153
+ dimensionsList: jspb.Message.toObjectList(msg.getDimensionsList(),
13154
+ proto.gateway.web.v1.AILabelDimension.toObject, includeInstance)
13155
+ };
13156
+
13157
+ if (includeInstance) {
13158
+ obj.$jspbMessageInstance = msg;
13159
+ }
13160
+ return obj;
13161
+ };
13162
+ }
13163
+
13164
+
13165
+ /**
13166
+ * Deserializes binary data (in protobuf wire format).
13167
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
13168
+ * @return {!proto.gateway.web.v1.AILabelSet}
13169
+ */
13170
+ proto.gateway.web.v1.AILabelSet.deserializeBinary = function(bytes) {
13171
+ var reader = new jspb.BinaryReader(bytes);
13172
+ var msg = new proto.gateway.web.v1.AILabelSet;
13173
+ return proto.gateway.web.v1.AILabelSet.deserializeBinaryFromReader(msg, reader);
13174
+ };
13175
+
13176
+
13177
+ /**
13178
+ * Deserializes binary data (in protobuf wire format) from the
13179
+ * given reader into the given message object.
13180
+ * @param {!proto.gateway.web.v1.AILabelSet} msg The message object to deserialize into.
13181
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
13182
+ * @return {!proto.gateway.web.v1.AILabelSet}
13183
+ */
13184
+ proto.gateway.web.v1.AILabelSet.deserializeBinaryFromReader = function(msg, reader) {
13185
+ while (reader.nextField()) {
13186
+ if (reader.isEndGroup()) {
13187
+ break;
13188
+ }
13189
+ var field = reader.getFieldNumber();
13190
+ switch (field) {
13191
+ case 1:
13192
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
13193
+ msg.setVersion(value);
13194
+ break;
13195
+ case 2:
13196
+ var value = new proto.gateway.web.v1.AILabelDimension;
13197
+ reader.readMessage(value,proto.gateway.web.v1.AILabelDimension.deserializeBinaryFromReader);
13198
+ msg.addDimensions(value);
13199
+ break;
13200
+ default:
13201
+ reader.skipField();
13202
+ break;
13203
+ }
13204
+ }
13205
+ return msg;
13206
+ };
13207
+
13208
+
13209
+ /**
13210
+ * Serializes the message to binary data (in protobuf wire format).
13211
+ * @return {!Uint8Array}
13212
+ */
13213
+ proto.gateway.web.v1.AILabelSet.prototype.serializeBinary = function() {
13214
+ var writer = new jspb.BinaryWriter();
13215
+ proto.gateway.web.v1.AILabelSet.serializeBinaryToWriter(this, writer);
13216
+ return writer.getResultBuffer();
13217
+ };
13218
+
13219
+
13220
+ /**
13221
+ * Serializes the given message to binary data (in protobuf wire
13222
+ * format), writing to the given BinaryWriter.
13223
+ * @param {!proto.gateway.web.v1.AILabelSet} message
13224
+ * @param {!jspb.BinaryWriter} writer
13225
+ * @suppress {unusedLocalVariables} f is only used for nested messages
13226
+ */
13227
+ proto.gateway.web.v1.AILabelSet.serializeBinaryToWriter = function(message, writer) {
13228
+ var f = undefined;
13229
+ f = message.getVersion();
13230
+ if (f.length > 0) {
13231
+ writer.writeString(
13232
+ 1,
13233
+ f
13234
+ );
13235
+ }
13236
+ f = message.getDimensionsList();
13237
+ if (f.length > 0) {
13238
+ writer.writeRepeatedMessage(
13239
+ 2,
13240
+ f,
13241
+ proto.gateway.web.v1.AILabelDimension.serializeBinaryToWriter
13242
+ );
13243
+ }
13244
+ };
13245
+
13246
+
13247
+ /**
13248
+ * optional string version = 1;
13249
+ * @return {string}
13250
+ */
13251
+ proto.gateway.web.v1.AILabelSet.prototype.getVersion = function() {
13252
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
13253
+ };
13254
+
13255
+
13256
+ /**
13257
+ * @param {string} value
13258
+ * @return {!proto.gateway.web.v1.AILabelSet} returns this
13259
+ */
13260
+ proto.gateway.web.v1.AILabelSet.prototype.setVersion = function(value) {
13261
+ return jspb.Message.setProto3StringField(this, 1, value);
13262
+ };
13263
+
13264
+
13265
+ /**
13266
+ * repeated AILabelDimension dimensions = 2;
13267
+ * @return {!Array<!proto.gateway.web.v1.AILabelDimension>}
13268
+ */
13269
+ proto.gateway.web.v1.AILabelSet.prototype.getDimensionsList = function() {
13270
+ return /** @type{!Array<!proto.gateway.web.v1.AILabelDimension>} */ (
13271
+ jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.AILabelDimension, 2));
13272
+ };
13273
+
13274
+
13275
+ /**
13276
+ * @param {!Array<!proto.gateway.web.v1.AILabelDimension>} value
13277
+ * @return {!proto.gateway.web.v1.AILabelSet} returns this
13278
+ */
13279
+ proto.gateway.web.v1.AILabelSet.prototype.setDimensionsList = function(value) {
13280
+ return jspb.Message.setRepeatedWrapperField(this, 2, value);
13281
+ };
13282
+
13283
+
13284
+ /**
13285
+ * @param {!proto.gateway.web.v1.AILabelDimension=} opt_value
13286
+ * @param {number=} opt_index
13287
+ * @return {!proto.gateway.web.v1.AILabelDimension}
13288
+ */
13289
+ proto.gateway.web.v1.AILabelSet.prototype.addDimensions = function(opt_value, opt_index) {
13290
+ return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.gateway.web.v1.AILabelDimension, opt_index);
13291
+ };
13292
+
13293
+
13294
+ /**
13295
+ * Clears the list making it empty but non-null.
13296
+ * @return {!proto.gateway.web.v1.AILabelSet} returns this
13297
+ */
13298
+ proto.gateway.web.v1.AILabelSet.prototype.clearDimensionsList = function() {
13299
+ return this.setDimensionsList([]);
13300
+ };
13301
+
13302
+
13303
+
13304
+ /**
13305
+ * List of repeated fields within this message type.
13306
+ * @private {!Array<number>}
13307
+ * @const
13308
+ */
13309
+ proto.gateway.web.v1.AILabelDimension.repeatedFields_ = [3];
13310
+
13311
+
13312
+
13313
+ if (jspb.Message.GENERATE_TO_OBJECT) {
13314
+ /**
13315
+ * Creates an object representation of this proto.
13316
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
13317
+ * Optional fields that are not set will be set to undefined.
13318
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
13319
+ * For the list of reserved names please see:
13320
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
13321
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
13322
+ * JSPB instance for transitional soy proto support:
13323
+ * http://goto/soy-param-migration
13324
+ * @return {!Object}
13325
+ */
13326
+ proto.gateway.web.v1.AILabelDimension.prototype.toObject = function(opt_includeInstance) {
13327
+ return proto.gateway.web.v1.AILabelDimension.toObject(opt_includeInstance, this);
13328
+ };
13329
+
13330
+
13331
+ /**
13332
+ * Static version of the {@see toObject} method.
13333
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
13334
+ * the JSPB instance for transitional soy proto support:
13335
+ * http://goto/soy-param-migration
13336
+ * @param {!proto.gateway.web.v1.AILabelDimension} msg The msg instance to transform.
13337
+ * @return {!Object}
13338
+ * @suppress {unusedLocalVariables} f is only used for nested messages
13339
+ */
13340
+ proto.gateway.web.v1.AILabelDimension.toObject = function(includeInstance, msg) {
13341
+ var f, obj = {
13342
+ key: jspb.Message.getFieldWithDefault(msg, 1, ""),
13343
+ name: jspb.Message.getFieldWithDefault(msg, 2, ""),
13344
+ valuesList: jspb.Message.toObjectList(msg.getValuesList(),
13345
+ proto.gateway.web.v1.AILabelValue.toObject, includeInstance)
13346
+ };
13347
+
13348
+ if (includeInstance) {
13349
+ obj.$jspbMessageInstance = msg;
13350
+ }
13351
+ return obj;
13352
+ };
13353
+ }
13354
+
13355
+
13356
+ /**
13357
+ * Deserializes binary data (in protobuf wire format).
13358
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
13359
+ * @return {!proto.gateway.web.v1.AILabelDimension}
13360
+ */
13361
+ proto.gateway.web.v1.AILabelDimension.deserializeBinary = function(bytes) {
13362
+ var reader = new jspb.BinaryReader(bytes);
13363
+ var msg = new proto.gateway.web.v1.AILabelDimension;
13364
+ return proto.gateway.web.v1.AILabelDimension.deserializeBinaryFromReader(msg, reader);
13365
+ };
13366
+
13367
+
13368
+ /**
13369
+ * Deserializes binary data (in protobuf wire format) from the
13370
+ * given reader into the given message object.
13371
+ * @param {!proto.gateway.web.v1.AILabelDimension} msg The message object to deserialize into.
13372
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
13373
+ * @return {!proto.gateway.web.v1.AILabelDimension}
13374
+ */
13375
+ proto.gateway.web.v1.AILabelDimension.deserializeBinaryFromReader = function(msg, reader) {
13376
+ while (reader.nextField()) {
13377
+ if (reader.isEndGroup()) {
13378
+ break;
13379
+ }
13380
+ var field = reader.getFieldNumber();
13381
+ switch (field) {
13382
+ case 1:
13383
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
13384
+ msg.setKey(value);
13385
+ break;
13386
+ case 2:
13387
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
13388
+ msg.setName(value);
13389
+ break;
13390
+ case 3:
13391
+ var value = new proto.gateway.web.v1.AILabelValue;
13392
+ reader.readMessage(value,proto.gateway.web.v1.AILabelValue.deserializeBinaryFromReader);
13393
+ msg.addValues(value);
13394
+ break;
13395
+ default:
13396
+ reader.skipField();
13397
+ break;
13398
+ }
13399
+ }
13400
+ return msg;
13401
+ };
13402
+
13403
+
13404
+ /**
13405
+ * Serializes the message to binary data (in protobuf wire format).
13406
+ * @return {!Uint8Array}
13407
+ */
13408
+ proto.gateway.web.v1.AILabelDimension.prototype.serializeBinary = function() {
13409
+ var writer = new jspb.BinaryWriter();
13410
+ proto.gateway.web.v1.AILabelDimension.serializeBinaryToWriter(this, writer);
13411
+ return writer.getResultBuffer();
13412
+ };
13413
+
13414
+
13415
+ /**
13416
+ * Serializes the given message to binary data (in protobuf wire
13417
+ * format), writing to the given BinaryWriter.
13418
+ * @param {!proto.gateway.web.v1.AILabelDimension} message
13419
+ * @param {!jspb.BinaryWriter} writer
13420
+ * @suppress {unusedLocalVariables} f is only used for nested messages
13421
+ */
13422
+ proto.gateway.web.v1.AILabelDimension.serializeBinaryToWriter = function(message, writer) {
13423
+ var f = undefined;
13424
+ f = message.getKey();
13425
+ if (f.length > 0) {
13426
+ writer.writeString(
13427
+ 1,
13428
+ f
13429
+ );
13430
+ }
13431
+ f = message.getName();
13432
+ if (f.length > 0) {
13433
+ writer.writeString(
13434
+ 2,
13435
+ f
13436
+ );
13437
+ }
13438
+ f = message.getValuesList();
13439
+ if (f.length > 0) {
13440
+ writer.writeRepeatedMessage(
13441
+ 3,
13442
+ f,
13443
+ proto.gateway.web.v1.AILabelValue.serializeBinaryToWriter
13444
+ );
13445
+ }
13446
+ };
13447
+
13448
+
13449
+ /**
13450
+ * optional string key = 1;
13451
+ * @return {string}
13452
+ */
13453
+ proto.gateway.web.v1.AILabelDimension.prototype.getKey = function() {
13454
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
13455
+ };
13456
+
13457
+
13458
+ /**
13459
+ * @param {string} value
13460
+ * @return {!proto.gateway.web.v1.AILabelDimension} returns this
13461
+ */
13462
+ proto.gateway.web.v1.AILabelDimension.prototype.setKey = function(value) {
13463
+ return jspb.Message.setProto3StringField(this, 1, value);
13464
+ };
13465
+
13466
+
13467
+ /**
13468
+ * optional string name = 2;
13469
+ * @return {string}
13470
+ */
13471
+ proto.gateway.web.v1.AILabelDimension.prototype.getName = function() {
13472
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
13473
+ };
13474
+
13475
+
13476
+ /**
13477
+ * @param {string} value
13478
+ * @return {!proto.gateway.web.v1.AILabelDimension} returns this
13479
+ */
13480
+ proto.gateway.web.v1.AILabelDimension.prototype.setName = function(value) {
13481
+ return jspb.Message.setProto3StringField(this, 2, value);
13482
+ };
13483
+
13484
+
13485
+ /**
13486
+ * repeated AILabelValue values = 3;
13487
+ * @return {!Array<!proto.gateway.web.v1.AILabelValue>}
13488
+ */
13489
+ proto.gateway.web.v1.AILabelDimension.prototype.getValuesList = function() {
13490
+ return /** @type{!Array<!proto.gateway.web.v1.AILabelValue>} */ (
13491
+ jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.AILabelValue, 3));
13492
+ };
13493
+
13494
+
13495
+ /**
13496
+ * @param {!Array<!proto.gateway.web.v1.AILabelValue>} value
13497
+ * @return {!proto.gateway.web.v1.AILabelDimension} returns this
13498
+ */
13499
+ proto.gateway.web.v1.AILabelDimension.prototype.setValuesList = function(value) {
13500
+ return jspb.Message.setRepeatedWrapperField(this, 3, value);
13501
+ };
13502
+
13503
+
13504
+ /**
13505
+ * @param {!proto.gateway.web.v1.AILabelValue=} opt_value
13506
+ * @param {number=} opt_index
13507
+ * @return {!proto.gateway.web.v1.AILabelValue}
13508
+ */
13509
+ proto.gateway.web.v1.AILabelDimension.prototype.addValues = function(opt_value, opt_index) {
13510
+ return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.gateway.web.v1.AILabelValue, opt_index);
13511
+ };
13512
+
13513
+
13514
+ /**
13515
+ * Clears the list making it empty but non-null.
13516
+ * @return {!proto.gateway.web.v1.AILabelDimension} returns this
13517
+ */
13518
+ proto.gateway.web.v1.AILabelDimension.prototype.clearValuesList = function() {
13519
+ return this.setValuesList([]);
13520
+ };
13521
+
13522
+
13523
+
13524
+
13525
+
13526
+ if (jspb.Message.GENERATE_TO_OBJECT) {
13527
+ /**
13528
+ * Creates an object representation of this proto.
13529
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
13530
+ * Optional fields that are not set will be set to undefined.
13531
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
13532
+ * For the list of reserved names please see:
13533
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
13534
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
13535
+ * JSPB instance for transitional soy proto support:
13536
+ * http://goto/soy-param-migration
13537
+ * @return {!Object}
13538
+ */
13539
+ proto.gateway.web.v1.AILabelValue.prototype.toObject = function(opt_includeInstance) {
13540
+ return proto.gateway.web.v1.AILabelValue.toObject(opt_includeInstance, this);
13541
+ };
13542
+
13543
+
13544
+ /**
13545
+ * Static version of the {@see toObject} method.
13546
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
13547
+ * the JSPB instance for transitional soy proto support:
13548
+ * http://goto/soy-param-migration
13549
+ * @param {!proto.gateway.web.v1.AILabelValue} msg The msg instance to transform.
13550
+ * @return {!Object}
13551
+ * @suppress {unusedLocalVariables} f is only used for nested messages
13552
+ */
13553
+ proto.gateway.web.v1.AILabelValue.toObject = function(includeInstance, msg) {
13554
+ var f, obj = {
13555
+ key: jspb.Message.getFieldWithDefault(msg, 1, ""),
13556
+ name: jspb.Message.getFieldWithDefault(msg, 2, ""),
13557
+ tooltip: jspb.Message.getFieldWithDefault(msg, 3, ""),
13558
+ rating: jspb.Message.getFieldWithDefault(msg, 4, 0)
13559
+ };
13560
+
13561
+ if (includeInstance) {
13562
+ obj.$jspbMessageInstance = msg;
13563
+ }
13564
+ return obj;
13565
+ };
13566
+ }
13567
+
13568
+
13569
+ /**
13570
+ * Deserializes binary data (in protobuf wire format).
13571
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
13572
+ * @return {!proto.gateway.web.v1.AILabelValue}
13573
+ */
13574
+ proto.gateway.web.v1.AILabelValue.deserializeBinary = function(bytes) {
13575
+ var reader = new jspb.BinaryReader(bytes);
13576
+ var msg = new proto.gateway.web.v1.AILabelValue;
13577
+ return proto.gateway.web.v1.AILabelValue.deserializeBinaryFromReader(msg, reader);
13578
+ };
13579
+
13580
+
13581
+ /**
13582
+ * Deserializes binary data (in protobuf wire format) from the
13583
+ * given reader into the given message object.
13584
+ * @param {!proto.gateway.web.v1.AILabelValue} msg The message object to deserialize into.
13585
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
13586
+ * @return {!proto.gateway.web.v1.AILabelValue}
13587
+ */
13588
+ proto.gateway.web.v1.AILabelValue.deserializeBinaryFromReader = function(msg, reader) {
13589
+ while (reader.nextField()) {
13590
+ if (reader.isEndGroup()) {
13591
+ break;
13592
+ }
13593
+ var field = reader.getFieldNumber();
13594
+ switch (field) {
13595
+ case 1:
13596
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
13597
+ msg.setKey(value);
13598
+ break;
13599
+ case 2:
13600
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
13601
+ msg.setName(value);
13602
+ break;
13603
+ case 3:
13604
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
13605
+ msg.setTooltip(value);
13606
+ break;
13607
+ case 4:
13608
+ var value = /** @type {!proto.gateway.web.v1.AILabelRating} */ (reader.readEnum());
13609
+ msg.setRating(value);
13610
+ break;
13611
+ default:
13612
+ reader.skipField();
13613
+ break;
13614
+ }
13615
+ }
13616
+ return msg;
13617
+ };
13618
+
13619
+
13620
+ /**
13621
+ * Serializes the message to binary data (in protobuf wire format).
13622
+ * @return {!Uint8Array}
13623
+ */
13624
+ proto.gateway.web.v1.AILabelValue.prototype.serializeBinary = function() {
13625
+ var writer = new jspb.BinaryWriter();
13626
+ proto.gateway.web.v1.AILabelValue.serializeBinaryToWriter(this, writer);
13627
+ return writer.getResultBuffer();
13628
+ };
13629
+
13630
+
13631
+ /**
13632
+ * Serializes the given message to binary data (in protobuf wire
13633
+ * format), writing to the given BinaryWriter.
13634
+ * @param {!proto.gateway.web.v1.AILabelValue} message
13635
+ * @param {!jspb.BinaryWriter} writer
13636
+ * @suppress {unusedLocalVariables} f is only used for nested messages
13637
+ */
13638
+ proto.gateway.web.v1.AILabelValue.serializeBinaryToWriter = function(message, writer) {
13639
+ var f = undefined;
13640
+ f = message.getKey();
13641
+ if (f.length > 0) {
13642
+ writer.writeString(
13643
+ 1,
13644
+ f
13645
+ );
13646
+ }
13647
+ f = message.getName();
13648
+ if (f.length > 0) {
13649
+ writer.writeString(
13650
+ 2,
13651
+ f
13652
+ );
13653
+ }
13654
+ f = message.getTooltip();
13655
+ if (f.length > 0) {
13656
+ writer.writeString(
13657
+ 3,
13658
+ f
13659
+ );
13660
+ }
13661
+ f = message.getRating();
13662
+ if (f !== 0.0) {
13663
+ writer.writeEnum(
13664
+ 4,
13665
+ f
13666
+ );
13667
+ }
13668
+ };
13669
+
13670
+
13671
+ /**
13672
+ * optional string key = 1;
13673
+ * @return {string}
13674
+ */
13675
+ proto.gateway.web.v1.AILabelValue.prototype.getKey = function() {
13676
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
13677
+ };
13678
+
13679
+
13680
+ /**
13681
+ * @param {string} value
13682
+ * @return {!proto.gateway.web.v1.AILabelValue} returns this
13683
+ */
13684
+ proto.gateway.web.v1.AILabelValue.prototype.setKey = function(value) {
13685
+ return jspb.Message.setProto3StringField(this, 1, value);
13686
+ };
13687
+
13688
+
13689
+ /**
13690
+ * optional string name = 2;
13691
+ * @return {string}
13692
+ */
13693
+ proto.gateway.web.v1.AILabelValue.prototype.getName = function() {
13694
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
13695
+ };
13696
+
13697
+
13698
+ /**
13699
+ * @param {string} value
13700
+ * @return {!proto.gateway.web.v1.AILabelValue} returns this
13701
+ */
13702
+ proto.gateway.web.v1.AILabelValue.prototype.setName = function(value) {
13703
+ return jspb.Message.setProto3StringField(this, 2, value);
13704
+ };
13705
+
13706
+
13707
+ /**
13708
+ * optional string tooltip = 3;
13709
+ * @return {string}
13710
+ */
13711
+ proto.gateway.web.v1.AILabelValue.prototype.getTooltip = function() {
13712
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
13713
+ };
13714
+
13715
+
13716
+ /**
13717
+ * @param {string} value
13718
+ * @return {!proto.gateway.web.v1.AILabelValue} returns this
13719
+ */
13720
+ proto.gateway.web.v1.AILabelValue.prototype.setTooltip = function(value) {
13721
+ return jspb.Message.setProto3StringField(this, 3, value);
13722
+ };
13723
+
13724
+
13725
+ /**
13726
+ * optional AILabelRating rating = 4;
13727
+ * @return {!proto.gateway.web.v1.AILabelRating}
13728
+ */
13729
+ proto.gateway.web.v1.AILabelValue.prototype.getRating = function() {
13730
+ return /** @type {!proto.gateway.web.v1.AILabelRating} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
13731
+ };
13732
+
13733
+
13734
+ /**
13735
+ * @param {!proto.gateway.web.v1.AILabelRating} value
13736
+ * @return {!proto.gateway.web.v1.AILabelValue} returns this
13737
+ */
13738
+ proto.gateway.web.v1.AILabelValue.prototype.setRating = function(value) {
13739
+ return jspb.Message.setProto3EnumField(this, 4, value);
12666
13740
  };
12667
13741
 
12668
13742
 
@@ -61561,6 +62635,16 @@ proto.gateway.web.v1.AIProjectInsightCitation.prototype.hasEventRef = function()
61561
62635
  };
61562
62636
 
61563
62637
 
62638
+ /**
62639
+ * @enum {number}
62640
+ */
62641
+ proto.gateway.web.v1.AILabelRating = {
62642
+ AI_LABEL_RATING_UNSPECIFIED: 0,
62643
+ AI_LABEL_RATING_GOOD: 1,
62644
+ AI_LABEL_RATING_MID: 2,
62645
+ AI_LABEL_RATING_BAD: 3
62646
+ };
62647
+
61564
62648
  /**
61565
62649
  * @enum {number}
61566
62650
  */
@@ -61616,83 +62700,6 @@ proto.gateway.web.v1.AISessionEventType = {
61616
62700
  AI_SESSION_EVENT_TYPE_SUMMARY: 15
61617
62701
  };
61618
62702
 
61619
- /**
61620
- * @enum {number}
61621
- */
61622
- proto.gateway.web.v1.AIPromptComplexity = {
61623
- AI_PROMPT_COMPLEXITY_UNSPECIFIED: 0,
61624
- AI_PROMPT_COMPLEXITY_SIMPLE: 1,
61625
- AI_PROMPT_COMPLEXITY_MODERATE: 2,
61626
- AI_PROMPT_COMPLEXITY_COMPLEX: 3
61627
- };
61628
-
61629
- /**
61630
- * @enum {number}
61631
- */
61632
- proto.gateway.web.v1.AIPromptClarity = {
61633
- AI_PROMPT_CLARITY_UNSPECIFIED: 0,
61634
- AI_PROMPT_CLARITY_UNCLEAR: 1,
61635
- AI_PROMPT_CLARITY_PARTIAL: 2,
61636
- AI_PROMPT_CLARITY_CLEAR: 3
61637
- };
61638
-
61639
- /**
61640
- * @enum {number}
61641
- */
61642
- proto.gateway.web.v1.AIPromptSteering = {
61643
- AI_PROMPT_STEERING_UNSPECIFIED: 0,
61644
- AI_PROMPT_STEERING_NEW_TASK: 1,
61645
- AI_PROMPT_STEERING_FOLLOW_UP: 2,
61646
- AI_PROMPT_STEERING_CORRECTION: 3,
61647
- AI_PROMPT_STEERING_REDIRECT: 4,
61648
- AI_PROMPT_STEERING_APPROVAL: 5
61649
- };
61650
-
61651
- /**
61652
- * @enum {number}
61653
- */
61654
- proto.gateway.web.v1.AIPromptFrustration = {
61655
- AI_PROMPT_FRUSTRATION_UNSPECIFIED: 0,
61656
- AI_PROMPT_FRUSTRATION_NONE: 1,
61657
- AI_PROMPT_FRUSTRATION_MILD: 2,
61658
- AI_PROMPT_FRUSTRATION_STRONG: 3
61659
- };
61660
-
61661
- /**
61662
- * @enum {number}
61663
- */
61664
- proto.gateway.web.v1.AIPromptSentiment = {
61665
- AI_PROMPT_SENTIMENT_UNSPECIFIED: 0,
61666
- AI_PROMPT_SENTIMENT_NEGATIVE: 1,
61667
- AI_PROMPT_SENTIMENT_NEUTRAL: 2,
61668
- AI_PROMPT_SENTIMENT_POSITIVE: 3
61669
- };
61670
-
61671
- /**
61672
- * @enum {number}
61673
- */
61674
- proto.gateway.web.v1.AISessionWorkType = {
61675
- AI_SESSION_WORK_TYPE_UNSPECIFIED: 0,
61676
- AI_SESSION_WORK_TYPE_BUG_FIX: 1,
61677
- AI_SESSION_WORK_TYPE_FEATURE: 2,
61678
- AI_SESSION_WORK_TYPE_REFACTOR: 3,
61679
- AI_SESSION_WORK_TYPE_TESTS: 4,
61680
- AI_SESSION_WORK_TYPE_DOCS: 5,
61681
- AI_SESSION_WORK_TYPE_OPS: 6,
61682
- AI_SESSION_WORK_TYPE_REVIEW: 7,
61683
- AI_SESSION_WORK_TYPE_EXPLORATION: 8
61684
- };
61685
-
61686
- /**
61687
- * @enum {number}
61688
- */
61689
- proto.gateway.web.v1.AISessionComplexity = {
61690
- AI_SESSION_COMPLEXITY_UNSPECIFIED: 0,
61691
- AI_SESSION_COMPLEXITY_SMALL: 1,
61692
- AI_SESSION_COMPLEXITY_MEDIUM: 2,
61693
- AI_SESSION_COMPLEXITY_LARGE: 3
61694
- };
61695
-
61696
62703
  /**
61697
62704
  * @enum {number}
61698
62705
  */