@miradorlabs/web-grpc 4.25.0 → 4.26.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.
@@ -78,8 +78,7 @@ goog.exportSymbol('proto.gateway.web.v1.AISessionEventType', null, global);
78
78
  goog.exportSymbol('proto.gateway.web.v1.AISessionFilter', null, global);
79
79
  goog.exportSymbol('proto.gateway.web.v1.AISessionInsight', null, global);
80
80
  goog.exportSymbol('proto.gateway.web.v1.AISessionInsightActionType', null, global);
81
- goog.exportSymbol('proto.gateway.web.v1.AISessionInsightCategory', null, global);
82
- goog.exportSymbol('proto.gateway.web.v1.AISessionInsightSeverity', null, global);
81
+ goog.exportSymbol('proto.gateway.web.v1.AISessionInsightTopic', null, global);
83
82
  goog.exportSymbol('proto.gateway.web.v1.AISessionInsights', null, global);
84
83
  goog.exportSymbol('proto.gateway.web.v1.AISessionRef', null, global);
85
84
  goog.exportSymbol('proto.gateway.web.v1.AISessionRubricResult', null, global);
@@ -171,6 +170,8 @@ goog.exportSymbol('proto.gateway.web.v1.ListRelayHeartbeatsRequest', null, globa
171
170
  goog.exportSymbol('proto.gateway.web.v1.ListRelayHeartbeatsResponse', null, global);
172
171
  goog.exportSymbol('proto.gateway.web.v1.ListSessionEventsRequest', null, global);
173
172
  goog.exportSymbol('proto.gateway.web.v1.ListSessionEventsResponse', null, global);
173
+ goog.exportSymbol('proto.gateway.web.v1.ListSessionInsightsRequest', null, global);
174
+ goog.exportSymbol('proto.gateway.web.v1.ListSessionInsightsResponse', null, global);
174
175
  goog.exportSymbol('proto.gateway.web.v1.ListSessionsRequest', null, global);
175
176
  goog.exportSymbol('proto.gateway.web.v1.ListSessionsResponse', null, global);
176
177
  goog.exportSymbol('proto.gateway.web.v1.ModelActivity', null, global);
@@ -210,6 +211,9 @@ goog.exportSymbol('proto.gateway.web.v1.SessionFileChanges', null, global);
210
211
  goog.exportSymbol('proto.gateway.web.v1.SessionFileChangesRequest', null, global);
211
212
  goog.exportSymbol('proto.gateway.web.v1.SessionFilter', null, global);
212
213
  goog.exportSymbol('proto.gateway.web.v1.SessionGitBucket', null, global);
214
+ goog.exportSymbol('proto.gateway.web.v1.SessionInsightEntry', null, global);
215
+ goog.exportSymbol('proto.gateway.web.v1.SessionInsightFilter', null, global);
216
+ goog.exportSymbol('proto.gateway.web.v1.SessionInsightSort', null, global);
213
217
  goog.exportSymbol('proto.gateway.web.v1.SessionIssueCost', null, global);
214
218
  goog.exportSymbol('proto.gateway.web.v1.SessionIssueTotals', null, global);
215
219
  goog.exportSymbol('proto.gateway.web.v1.SessionModelUsage', null, global);
@@ -2579,6 +2583,90 @@ if (goog.DEBUG && !COMPILED) {
2579
2583
  */
2580
2584
  proto.gateway.web.v1.GetSessionAnalysisRequest.displayName = 'proto.gateway.web.v1.GetSessionAnalysisRequest';
2581
2585
  }
2586
+ /**
2587
+ * Generated by JsPbCodeGenerator.
2588
+ * @param {Array=} opt_data Optional initial data array, typically from a
2589
+ * server response, or constructed directly in Javascript. The array is used
2590
+ * in place and becomes part of the constructed object. It is not cloned.
2591
+ * If no data is provided, the constructed object will be empty, but still
2592
+ * valid.
2593
+ * @extends {jspb.Message}
2594
+ * @constructor
2595
+ */
2596
+ proto.gateway.web.v1.ListSessionInsightsRequest = function(opt_data) {
2597
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2598
+ };
2599
+ goog.inherits(proto.gateway.web.v1.ListSessionInsightsRequest, jspb.Message);
2600
+ if (goog.DEBUG && !COMPILED) {
2601
+ /**
2602
+ * @public
2603
+ * @override
2604
+ */
2605
+ proto.gateway.web.v1.ListSessionInsightsRequest.displayName = 'proto.gateway.web.v1.ListSessionInsightsRequest';
2606
+ }
2607
+ /**
2608
+ * Generated by JsPbCodeGenerator.
2609
+ * @param {Array=} opt_data Optional initial data array, typically from a
2610
+ * server response, or constructed directly in Javascript. The array is used
2611
+ * in place and becomes part of the constructed object. It is not cloned.
2612
+ * If no data is provided, the constructed object will be empty, but still
2613
+ * valid.
2614
+ * @extends {jspb.Message}
2615
+ * @constructor
2616
+ */
2617
+ proto.gateway.web.v1.SessionInsightFilter = function(opt_data) {
2618
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.SessionInsightFilter.repeatedFields_, null);
2619
+ };
2620
+ goog.inherits(proto.gateway.web.v1.SessionInsightFilter, jspb.Message);
2621
+ if (goog.DEBUG && !COMPILED) {
2622
+ /**
2623
+ * @public
2624
+ * @override
2625
+ */
2626
+ proto.gateway.web.v1.SessionInsightFilter.displayName = 'proto.gateway.web.v1.SessionInsightFilter';
2627
+ }
2628
+ /**
2629
+ * Generated by JsPbCodeGenerator.
2630
+ * @param {Array=} opt_data Optional initial data array, typically from a
2631
+ * server response, or constructed directly in Javascript. The array is used
2632
+ * in place and becomes part of the constructed object. It is not cloned.
2633
+ * If no data is provided, the constructed object will be empty, but still
2634
+ * valid.
2635
+ * @extends {jspb.Message}
2636
+ * @constructor
2637
+ */
2638
+ proto.gateway.web.v1.ListSessionInsightsResponse = function(opt_data) {
2639
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.ListSessionInsightsResponse.repeatedFields_, null);
2640
+ };
2641
+ goog.inherits(proto.gateway.web.v1.ListSessionInsightsResponse, jspb.Message);
2642
+ if (goog.DEBUG && !COMPILED) {
2643
+ /**
2644
+ * @public
2645
+ * @override
2646
+ */
2647
+ proto.gateway.web.v1.ListSessionInsightsResponse.displayName = 'proto.gateway.web.v1.ListSessionInsightsResponse';
2648
+ }
2649
+ /**
2650
+ * Generated by JsPbCodeGenerator.
2651
+ * @param {Array=} opt_data Optional initial data array, typically from a
2652
+ * server response, or constructed directly in Javascript. The array is used
2653
+ * in place and becomes part of the constructed object. It is not cloned.
2654
+ * If no data is provided, the constructed object will be empty, but still
2655
+ * valid.
2656
+ * @extends {jspb.Message}
2657
+ * @constructor
2658
+ */
2659
+ proto.gateway.web.v1.SessionInsightEntry = function(opt_data) {
2660
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2661
+ };
2662
+ goog.inherits(proto.gateway.web.v1.SessionInsightEntry, jspb.Message);
2663
+ if (goog.DEBUG && !COMPILED) {
2664
+ /**
2665
+ * @public
2666
+ * @override
2667
+ */
2668
+ proto.gateway.web.v1.SessionInsightEntry.displayName = 'proto.gateway.web.v1.SessionInsightEntry';
2669
+ }
2582
2670
  /**
2583
2671
  * Generated by JsPbCodeGenerator.
2584
2672
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -2621,6 +2709,27 @@ if (goog.DEBUG && !COMPILED) {
2621
2709
  */
2622
2710
  proto.gateway.web.v1.AISessionInsights.displayName = 'proto.gateway.web.v1.AISessionInsights';
2623
2711
  }
2712
+ /**
2713
+ * Generated by JsPbCodeGenerator.
2714
+ * @param {Array=} opt_data Optional initial data array, typically from a
2715
+ * server response, or constructed directly in Javascript. The array is used
2716
+ * in place and becomes part of the constructed object. It is not cloned.
2717
+ * If no data is provided, the constructed object will be empty, but still
2718
+ * valid.
2719
+ * @extends {jspb.Message}
2720
+ * @constructor
2721
+ */
2722
+ proto.gateway.web.v1.AISessionInsightTopic = function(opt_data) {
2723
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2724
+ };
2725
+ goog.inherits(proto.gateway.web.v1.AISessionInsightTopic, jspb.Message);
2726
+ if (goog.DEBUG && !COMPILED) {
2727
+ /**
2728
+ * @public
2729
+ * @override
2730
+ */
2731
+ proto.gateway.web.v1.AISessionInsightTopic.displayName = 'proto.gateway.web.v1.AISessionInsightTopic';
2732
+ }
2624
2733
  /**
2625
2734
  * Generated by JsPbCodeGenerator.
2626
2735
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -38458,6 +38567,1064 @@ proto.gateway.web.v1.GetSessionAnalysisRequest.prototype.setSessionId = function
38458
38567
 
38459
38568
 
38460
38569
 
38570
+ if (jspb.Message.GENERATE_TO_OBJECT) {
38571
+ /**
38572
+ * Creates an object representation of this proto.
38573
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
38574
+ * Optional fields that are not set will be set to undefined.
38575
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
38576
+ * For the list of reserved names please see:
38577
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
38578
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
38579
+ * JSPB instance for transitional soy proto support:
38580
+ * http://goto/soy-param-migration
38581
+ * @return {!Object}
38582
+ */
38583
+ proto.gateway.web.v1.ListSessionInsightsRequest.prototype.toObject = function(opt_includeInstance) {
38584
+ return proto.gateway.web.v1.ListSessionInsightsRequest.toObject(opt_includeInstance, this);
38585
+ };
38586
+
38587
+
38588
+ /**
38589
+ * Static version of the {@see toObject} method.
38590
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
38591
+ * the JSPB instance for transitional soy proto support:
38592
+ * http://goto/soy-param-migration
38593
+ * @param {!proto.gateway.web.v1.ListSessionInsightsRequest} msg The msg instance to transform.
38594
+ * @return {!Object}
38595
+ * @suppress {unusedLocalVariables} f is only used for nested messages
38596
+ */
38597
+ proto.gateway.web.v1.ListSessionInsightsRequest.toObject = function(includeInstance, msg) {
38598
+ var f, obj = {
38599
+ organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""),
38600
+ projectId: jspb.Message.getFieldWithDefault(msg, 2, ""),
38601
+ filter: (f = msg.getFilter()) && proto.gateway.web.v1.SessionInsightFilter.toObject(includeInstance, f),
38602
+ sort: jspb.Message.getFieldWithDefault(msg, 4, 0),
38603
+ pageSize: jspb.Message.getFieldWithDefault(msg, 5, 0),
38604
+ pageToken: jspb.Message.getFieldWithDefault(msg, 6, "")
38605
+ };
38606
+
38607
+ if (includeInstance) {
38608
+ obj.$jspbMessageInstance = msg;
38609
+ }
38610
+ return obj;
38611
+ };
38612
+ }
38613
+
38614
+
38615
+ /**
38616
+ * Deserializes binary data (in protobuf wire format).
38617
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
38618
+ * @return {!proto.gateway.web.v1.ListSessionInsightsRequest}
38619
+ */
38620
+ proto.gateway.web.v1.ListSessionInsightsRequest.deserializeBinary = function(bytes) {
38621
+ var reader = new jspb.BinaryReader(bytes);
38622
+ var msg = new proto.gateway.web.v1.ListSessionInsightsRequest;
38623
+ return proto.gateway.web.v1.ListSessionInsightsRequest.deserializeBinaryFromReader(msg, reader);
38624
+ };
38625
+
38626
+
38627
+ /**
38628
+ * Deserializes binary data (in protobuf wire format) from the
38629
+ * given reader into the given message object.
38630
+ * @param {!proto.gateway.web.v1.ListSessionInsightsRequest} msg The message object to deserialize into.
38631
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
38632
+ * @return {!proto.gateway.web.v1.ListSessionInsightsRequest}
38633
+ */
38634
+ proto.gateway.web.v1.ListSessionInsightsRequest.deserializeBinaryFromReader = function(msg, reader) {
38635
+ while (reader.nextField()) {
38636
+ if (reader.isEndGroup()) {
38637
+ break;
38638
+ }
38639
+ var field = reader.getFieldNumber();
38640
+ switch (field) {
38641
+ case 1:
38642
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
38643
+ msg.setOrganizationId(value);
38644
+ break;
38645
+ case 2:
38646
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
38647
+ msg.setProjectId(value);
38648
+ break;
38649
+ case 3:
38650
+ var value = new proto.gateway.web.v1.SessionInsightFilter;
38651
+ reader.readMessage(value,proto.gateway.web.v1.SessionInsightFilter.deserializeBinaryFromReader);
38652
+ msg.setFilter(value);
38653
+ break;
38654
+ case 4:
38655
+ var value = /** @type {!proto.gateway.web.v1.SessionInsightSort} */ (reader.readEnum());
38656
+ msg.setSort(value);
38657
+ break;
38658
+ case 5:
38659
+ var value = /** @type {number} */ (reader.readInt32());
38660
+ msg.setPageSize(value);
38661
+ break;
38662
+ case 6:
38663
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
38664
+ msg.setPageToken(value);
38665
+ break;
38666
+ default:
38667
+ reader.skipField();
38668
+ break;
38669
+ }
38670
+ }
38671
+ return msg;
38672
+ };
38673
+
38674
+
38675
+ /**
38676
+ * Serializes the message to binary data (in protobuf wire format).
38677
+ * @return {!Uint8Array}
38678
+ */
38679
+ proto.gateway.web.v1.ListSessionInsightsRequest.prototype.serializeBinary = function() {
38680
+ var writer = new jspb.BinaryWriter();
38681
+ proto.gateway.web.v1.ListSessionInsightsRequest.serializeBinaryToWriter(this, writer);
38682
+ return writer.getResultBuffer();
38683
+ };
38684
+
38685
+
38686
+ /**
38687
+ * Serializes the given message to binary data (in protobuf wire
38688
+ * format), writing to the given BinaryWriter.
38689
+ * @param {!proto.gateway.web.v1.ListSessionInsightsRequest} message
38690
+ * @param {!jspb.BinaryWriter} writer
38691
+ * @suppress {unusedLocalVariables} f is only used for nested messages
38692
+ */
38693
+ proto.gateway.web.v1.ListSessionInsightsRequest.serializeBinaryToWriter = function(message, writer) {
38694
+ var f = undefined;
38695
+ f = message.getOrganizationId();
38696
+ if (f.length > 0) {
38697
+ writer.writeString(
38698
+ 1,
38699
+ f
38700
+ );
38701
+ }
38702
+ f = message.getProjectId();
38703
+ if (f.length > 0) {
38704
+ writer.writeString(
38705
+ 2,
38706
+ f
38707
+ );
38708
+ }
38709
+ f = message.getFilter();
38710
+ if (f != null) {
38711
+ writer.writeMessage(
38712
+ 3,
38713
+ f,
38714
+ proto.gateway.web.v1.SessionInsightFilter.serializeBinaryToWriter
38715
+ );
38716
+ }
38717
+ f = message.getSort();
38718
+ if (f !== 0.0) {
38719
+ writer.writeEnum(
38720
+ 4,
38721
+ f
38722
+ );
38723
+ }
38724
+ f = message.getPageSize();
38725
+ if (f !== 0) {
38726
+ writer.writeInt32(
38727
+ 5,
38728
+ f
38729
+ );
38730
+ }
38731
+ f = message.getPageToken();
38732
+ if (f.length > 0) {
38733
+ writer.writeString(
38734
+ 6,
38735
+ f
38736
+ );
38737
+ }
38738
+ };
38739
+
38740
+
38741
+ /**
38742
+ * optional string organization_id = 1;
38743
+ * @return {string}
38744
+ */
38745
+ proto.gateway.web.v1.ListSessionInsightsRequest.prototype.getOrganizationId = function() {
38746
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
38747
+ };
38748
+
38749
+
38750
+ /**
38751
+ * @param {string} value
38752
+ * @return {!proto.gateway.web.v1.ListSessionInsightsRequest} returns this
38753
+ */
38754
+ proto.gateway.web.v1.ListSessionInsightsRequest.prototype.setOrganizationId = function(value) {
38755
+ return jspb.Message.setProto3StringField(this, 1, value);
38756
+ };
38757
+
38758
+
38759
+ /**
38760
+ * optional string project_id = 2;
38761
+ * @return {string}
38762
+ */
38763
+ proto.gateway.web.v1.ListSessionInsightsRequest.prototype.getProjectId = function() {
38764
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
38765
+ };
38766
+
38767
+
38768
+ /**
38769
+ * @param {string} value
38770
+ * @return {!proto.gateway.web.v1.ListSessionInsightsRequest} returns this
38771
+ */
38772
+ proto.gateway.web.v1.ListSessionInsightsRequest.prototype.setProjectId = function(value) {
38773
+ return jspb.Message.setProto3StringField(this, 2, value);
38774
+ };
38775
+
38776
+
38777
+ /**
38778
+ * optional SessionInsightFilter filter = 3;
38779
+ * @return {?proto.gateway.web.v1.SessionInsightFilter}
38780
+ */
38781
+ proto.gateway.web.v1.ListSessionInsightsRequest.prototype.getFilter = function() {
38782
+ return /** @type{?proto.gateway.web.v1.SessionInsightFilter} */ (
38783
+ jspb.Message.getWrapperField(this, proto.gateway.web.v1.SessionInsightFilter, 3));
38784
+ };
38785
+
38786
+
38787
+ /**
38788
+ * @param {?proto.gateway.web.v1.SessionInsightFilter|undefined} value
38789
+ * @return {!proto.gateway.web.v1.ListSessionInsightsRequest} returns this
38790
+ */
38791
+ proto.gateway.web.v1.ListSessionInsightsRequest.prototype.setFilter = function(value) {
38792
+ return jspb.Message.setWrapperField(this, 3, value);
38793
+ };
38794
+
38795
+
38796
+ /**
38797
+ * Clears the message field making it undefined.
38798
+ * @return {!proto.gateway.web.v1.ListSessionInsightsRequest} returns this
38799
+ */
38800
+ proto.gateway.web.v1.ListSessionInsightsRequest.prototype.clearFilter = function() {
38801
+ return this.setFilter(undefined);
38802
+ };
38803
+
38804
+
38805
+ /**
38806
+ * Returns whether this field is set.
38807
+ * @return {boolean}
38808
+ */
38809
+ proto.gateway.web.v1.ListSessionInsightsRequest.prototype.hasFilter = function() {
38810
+ return jspb.Message.getField(this, 3) != null;
38811
+ };
38812
+
38813
+
38814
+ /**
38815
+ * optional SessionInsightSort sort = 4;
38816
+ * @return {!proto.gateway.web.v1.SessionInsightSort}
38817
+ */
38818
+ proto.gateway.web.v1.ListSessionInsightsRequest.prototype.getSort = function() {
38819
+ return /** @type {!proto.gateway.web.v1.SessionInsightSort} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
38820
+ };
38821
+
38822
+
38823
+ /**
38824
+ * @param {!proto.gateway.web.v1.SessionInsightSort} value
38825
+ * @return {!proto.gateway.web.v1.ListSessionInsightsRequest} returns this
38826
+ */
38827
+ proto.gateway.web.v1.ListSessionInsightsRequest.prototype.setSort = function(value) {
38828
+ return jspb.Message.setProto3EnumField(this, 4, value);
38829
+ };
38830
+
38831
+
38832
+ /**
38833
+ * optional int32 page_size = 5;
38834
+ * @return {number}
38835
+ */
38836
+ proto.gateway.web.v1.ListSessionInsightsRequest.prototype.getPageSize = function() {
38837
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
38838
+ };
38839
+
38840
+
38841
+ /**
38842
+ * @param {number} value
38843
+ * @return {!proto.gateway.web.v1.ListSessionInsightsRequest} returns this
38844
+ */
38845
+ proto.gateway.web.v1.ListSessionInsightsRequest.prototype.setPageSize = function(value) {
38846
+ return jspb.Message.setProto3IntField(this, 5, value);
38847
+ };
38848
+
38849
+
38850
+ /**
38851
+ * optional string page_token = 6;
38852
+ * @return {string}
38853
+ */
38854
+ proto.gateway.web.v1.ListSessionInsightsRequest.prototype.getPageToken = function() {
38855
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
38856
+ };
38857
+
38858
+
38859
+ /**
38860
+ * @param {string} value
38861
+ * @return {!proto.gateway.web.v1.ListSessionInsightsRequest} returns this
38862
+ */
38863
+ proto.gateway.web.v1.ListSessionInsightsRequest.prototype.setPageToken = function(value) {
38864
+ return jspb.Message.setProto3StringField(this, 6, value);
38865
+ };
38866
+
38867
+
38868
+
38869
+ /**
38870
+ * List of repeated fields within this message type.
38871
+ * @private {!Array<number>}
38872
+ * @const
38873
+ */
38874
+ proto.gateway.web.v1.SessionInsightFilter.repeatedFields_ = [1,2,3];
38875
+
38876
+
38877
+
38878
+ if (jspb.Message.GENERATE_TO_OBJECT) {
38879
+ /**
38880
+ * Creates an object representation of this proto.
38881
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
38882
+ * Optional fields that are not set will be set to undefined.
38883
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
38884
+ * For the list of reserved names please see:
38885
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
38886
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
38887
+ * JSPB instance for transitional soy proto support:
38888
+ * http://goto/soy-param-migration
38889
+ * @return {!Object}
38890
+ */
38891
+ proto.gateway.web.v1.SessionInsightFilter.prototype.toObject = function(opt_includeInstance) {
38892
+ return proto.gateway.web.v1.SessionInsightFilter.toObject(opt_includeInstance, this);
38893
+ };
38894
+
38895
+
38896
+ /**
38897
+ * Static version of the {@see toObject} method.
38898
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
38899
+ * the JSPB instance for transitional soy proto support:
38900
+ * http://goto/soy-param-migration
38901
+ * @param {!proto.gateway.web.v1.SessionInsightFilter} msg The msg instance to transform.
38902
+ * @return {!Object}
38903
+ * @suppress {unusedLocalVariables} f is only used for nested messages
38904
+ */
38905
+ proto.gateway.web.v1.SessionInsightFilter.toObject = function(includeInstance, msg) {
38906
+ var f, obj = {
38907
+ userIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
38908
+ sourceSystemsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
38909
+ topicKeysList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
38910
+ };
38911
+
38912
+ if (includeInstance) {
38913
+ obj.$jspbMessageInstance = msg;
38914
+ }
38915
+ return obj;
38916
+ };
38917
+ }
38918
+
38919
+
38920
+ /**
38921
+ * Deserializes binary data (in protobuf wire format).
38922
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
38923
+ * @return {!proto.gateway.web.v1.SessionInsightFilter}
38924
+ */
38925
+ proto.gateway.web.v1.SessionInsightFilter.deserializeBinary = function(bytes) {
38926
+ var reader = new jspb.BinaryReader(bytes);
38927
+ var msg = new proto.gateway.web.v1.SessionInsightFilter;
38928
+ return proto.gateway.web.v1.SessionInsightFilter.deserializeBinaryFromReader(msg, reader);
38929
+ };
38930
+
38931
+
38932
+ /**
38933
+ * Deserializes binary data (in protobuf wire format) from the
38934
+ * given reader into the given message object.
38935
+ * @param {!proto.gateway.web.v1.SessionInsightFilter} msg The message object to deserialize into.
38936
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
38937
+ * @return {!proto.gateway.web.v1.SessionInsightFilter}
38938
+ */
38939
+ proto.gateway.web.v1.SessionInsightFilter.deserializeBinaryFromReader = function(msg, reader) {
38940
+ while (reader.nextField()) {
38941
+ if (reader.isEndGroup()) {
38942
+ break;
38943
+ }
38944
+ var field = reader.getFieldNumber();
38945
+ switch (field) {
38946
+ case 1:
38947
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
38948
+ msg.addUserIds(value);
38949
+ break;
38950
+ case 2:
38951
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
38952
+ msg.addSourceSystems(value);
38953
+ break;
38954
+ case 3:
38955
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
38956
+ msg.addTopicKeys(value);
38957
+ break;
38958
+ default:
38959
+ reader.skipField();
38960
+ break;
38961
+ }
38962
+ }
38963
+ return msg;
38964
+ };
38965
+
38966
+
38967
+ /**
38968
+ * Serializes the message to binary data (in protobuf wire format).
38969
+ * @return {!Uint8Array}
38970
+ */
38971
+ proto.gateway.web.v1.SessionInsightFilter.prototype.serializeBinary = function() {
38972
+ var writer = new jspb.BinaryWriter();
38973
+ proto.gateway.web.v1.SessionInsightFilter.serializeBinaryToWriter(this, writer);
38974
+ return writer.getResultBuffer();
38975
+ };
38976
+
38977
+
38978
+ /**
38979
+ * Serializes the given message to binary data (in protobuf wire
38980
+ * format), writing to the given BinaryWriter.
38981
+ * @param {!proto.gateway.web.v1.SessionInsightFilter} message
38982
+ * @param {!jspb.BinaryWriter} writer
38983
+ * @suppress {unusedLocalVariables} f is only used for nested messages
38984
+ */
38985
+ proto.gateway.web.v1.SessionInsightFilter.serializeBinaryToWriter = function(message, writer) {
38986
+ var f = undefined;
38987
+ f = message.getUserIdsList();
38988
+ if (f.length > 0) {
38989
+ writer.writeRepeatedString(
38990
+ 1,
38991
+ f
38992
+ );
38993
+ }
38994
+ f = message.getSourceSystemsList();
38995
+ if (f.length > 0) {
38996
+ writer.writeRepeatedString(
38997
+ 2,
38998
+ f
38999
+ );
39000
+ }
39001
+ f = message.getTopicKeysList();
39002
+ if (f.length > 0) {
39003
+ writer.writeRepeatedString(
39004
+ 3,
39005
+ f
39006
+ );
39007
+ }
39008
+ };
39009
+
39010
+
39011
+ /**
39012
+ * repeated string user_ids = 1;
39013
+ * @return {!Array<string>}
39014
+ */
39015
+ proto.gateway.web.v1.SessionInsightFilter.prototype.getUserIdsList = function() {
39016
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
39017
+ };
39018
+
39019
+
39020
+ /**
39021
+ * @param {!Array<string>} value
39022
+ * @return {!proto.gateway.web.v1.SessionInsightFilter} returns this
39023
+ */
39024
+ proto.gateway.web.v1.SessionInsightFilter.prototype.setUserIdsList = function(value) {
39025
+ return jspb.Message.setField(this, 1, value || []);
39026
+ };
39027
+
39028
+
39029
+ /**
39030
+ * @param {string} value
39031
+ * @param {number=} opt_index
39032
+ * @return {!proto.gateway.web.v1.SessionInsightFilter} returns this
39033
+ */
39034
+ proto.gateway.web.v1.SessionInsightFilter.prototype.addUserIds = function(value, opt_index) {
39035
+ return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
39036
+ };
39037
+
39038
+
39039
+ /**
39040
+ * Clears the list making it empty but non-null.
39041
+ * @return {!proto.gateway.web.v1.SessionInsightFilter} returns this
39042
+ */
39043
+ proto.gateway.web.v1.SessionInsightFilter.prototype.clearUserIdsList = function() {
39044
+ return this.setUserIdsList([]);
39045
+ };
39046
+
39047
+
39048
+ /**
39049
+ * repeated string source_systems = 2;
39050
+ * @return {!Array<string>}
39051
+ */
39052
+ proto.gateway.web.v1.SessionInsightFilter.prototype.getSourceSystemsList = function() {
39053
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
39054
+ };
39055
+
39056
+
39057
+ /**
39058
+ * @param {!Array<string>} value
39059
+ * @return {!proto.gateway.web.v1.SessionInsightFilter} returns this
39060
+ */
39061
+ proto.gateway.web.v1.SessionInsightFilter.prototype.setSourceSystemsList = function(value) {
39062
+ return jspb.Message.setField(this, 2, value || []);
39063
+ };
39064
+
39065
+
39066
+ /**
39067
+ * @param {string} value
39068
+ * @param {number=} opt_index
39069
+ * @return {!proto.gateway.web.v1.SessionInsightFilter} returns this
39070
+ */
39071
+ proto.gateway.web.v1.SessionInsightFilter.prototype.addSourceSystems = function(value, opt_index) {
39072
+ return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
39073
+ };
39074
+
39075
+
39076
+ /**
39077
+ * Clears the list making it empty but non-null.
39078
+ * @return {!proto.gateway.web.v1.SessionInsightFilter} returns this
39079
+ */
39080
+ proto.gateway.web.v1.SessionInsightFilter.prototype.clearSourceSystemsList = function() {
39081
+ return this.setSourceSystemsList([]);
39082
+ };
39083
+
39084
+
39085
+ /**
39086
+ * repeated string topic_keys = 3;
39087
+ * @return {!Array<string>}
39088
+ */
39089
+ proto.gateway.web.v1.SessionInsightFilter.prototype.getTopicKeysList = function() {
39090
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
39091
+ };
39092
+
39093
+
39094
+ /**
39095
+ * @param {!Array<string>} value
39096
+ * @return {!proto.gateway.web.v1.SessionInsightFilter} returns this
39097
+ */
39098
+ proto.gateway.web.v1.SessionInsightFilter.prototype.setTopicKeysList = function(value) {
39099
+ return jspb.Message.setField(this, 3, value || []);
39100
+ };
39101
+
39102
+
39103
+ /**
39104
+ * @param {string} value
39105
+ * @param {number=} opt_index
39106
+ * @return {!proto.gateway.web.v1.SessionInsightFilter} returns this
39107
+ */
39108
+ proto.gateway.web.v1.SessionInsightFilter.prototype.addTopicKeys = function(value, opt_index) {
39109
+ return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
39110
+ };
39111
+
39112
+
39113
+ /**
39114
+ * Clears the list making it empty but non-null.
39115
+ * @return {!proto.gateway.web.v1.SessionInsightFilter} returns this
39116
+ */
39117
+ proto.gateway.web.v1.SessionInsightFilter.prototype.clearTopicKeysList = function() {
39118
+ return this.setTopicKeysList([]);
39119
+ };
39120
+
39121
+
39122
+
39123
+ /**
39124
+ * List of repeated fields within this message type.
39125
+ * @private {!Array<number>}
39126
+ * @const
39127
+ */
39128
+ proto.gateway.web.v1.ListSessionInsightsResponse.repeatedFields_ = [2];
39129
+
39130
+
39131
+
39132
+ if (jspb.Message.GENERATE_TO_OBJECT) {
39133
+ /**
39134
+ * Creates an object representation of this proto.
39135
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
39136
+ * Optional fields that are not set will be set to undefined.
39137
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
39138
+ * For the list of reserved names please see:
39139
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
39140
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
39141
+ * JSPB instance for transitional soy proto support:
39142
+ * http://goto/soy-param-migration
39143
+ * @return {!Object}
39144
+ */
39145
+ proto.gateway.web.v1.ListSessionInsightsResponse.prototype.toObject = function(opt_includeInstance) {
39146
+ return proto.gateway.web.v1.ListSessionInsightsResponse.toObject(opt_includeInstance, this);
39147
+ };
39148
+
39149
+
39150
+ /**
39151
+ * Static version of the {@see toObject} method.
39152
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
39153
+ * the JSPB instance for transitional soy proto support:
39154
+ * http://goto/soy-param-migration
39155
+ * @param {!proto.gateway.web.v1.ListSessionInsightsResponse} msg The msg instance to transform.
39156
+ * @return {!Object}
39157
+ * @suppress {unusedLocalVariables} f is only used for nested messages
39158
+ */
39159
+ proto.gateway.web.v1.ListSessionInsightsResponse.toObject = function(includeInstance, msg) {
39160
+ var f, obj = {
39161
+ status: (f = msg.getStatus()) && proto_gateway_common_v1_status_pb.ResponseStatus.toObject(includeInstance, f),
39162
+ insightsList: jspb.Message.toObjectList(msg.getInsightsList(),
39163
+ proto.gateway.web.v1.SessionInsightEntry.toObject, includeInstance),
39164
+ nextPageToken: jspb.Message.getFieldWithDefault(msg, 3, "")
39165
+ };
39166
+
39167
+ if (includeInstance) {
39168
+ obj.$jspbMessageInstance = msg;
39169
+ }
39170
+ return obj;
39171
+ };
39172
+ }
39173
+
39174
+
39175
+ /**
39176
+ * Deserializes binary data (in protobuf wire format).
39177
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
39178
+ * @return {!proto.gateway.web.v1.ListSessionInsightsResponse}
39179
+ */
39180
+ proto.gateway.web.v1.ListSessionInsightsResponse.deserializeBinary = function(bytes) {
39181
+ var reader = new jspb.BinaryReader(bytes);
39182
+ var msg = new proto.gateway.web.v1.ListSessionInsightsResponse;
39183
+ return proto.gateway.web.v1.ListSessionInsightsResponse.deserializeBinaryFromReader(msg, reader);
39184
+ };
39185
+
39186
+
39187
+ /**
39188
+ * Deserializes binary data (in protobuf wire format) from the
39189
+ * given reader into the given message object.
39190
+ * @param {!proto.gateway.web.v1.ListSessionInsightsResponse} msg The message object to deserialize into.
39191
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
39192
+ * @return {!proto.gateway.web.v1.ListSessionInsightsResponse}
39193
+ */
39194
+ proto.gateway.web.v1.ListSessionInsightsResponse.deserializeBinaryFromReader = function(msg, reader) {
39195
+ while (reader.nextField()) {
39196
+ if (reader.isEndGroup()) {
39197
+ break;
39198
+ }
39199
+ var field = reader.getFieldNumber();
39200
+ switch (field) {
39201
+ case 1:
39202
+ var value = new proto_gateway_common_v1_status_pb.ResponseStatus;
39203
+ reader.readMessage(value,proto_gateway_common_v1_status_pb.ResponseStatus.deserializeBinaryFromReader);
39204
+ msg.setStatus(value);
39205
+ break;
39206
+ case 2:
39207
+ var value = new proto.gateway.web.v1.SessionInsightEntry;
39208
+ reader.readMessage(value,proto.gateway.web.v1.SessionInsightEntry.deserializeBinaryFromReader);
39209
+ msg.addInsights(value);
39210
+ break;
39211
+ case 3:
39212
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
39213
+ msg.setNextPageToken(value);
39214
+ break;
39215
+ default:
39216
+ reader.skipField();
39217
+ break;
39218
+ }
39219
+ }
39220
+ return msg;
39221
+ };
39222
+
39223
+
39224
+ /**
39225
+ * Serializes the message to binary data (in protobuf wire format).
39226
+ * @return {!Uint8Array}
39227
+ */
39228
+ proto.gateway.web.v1.ListSessionInsightsResponse.prototype.serializeBinary = function() {
39229
+ var writer = new jspb.BinaryWriter();
39230
+ proto.gateway.web.v1.ListSessionInsightsResponse.serializeBinaryToWriter(this, writer);
39231
+ return writer.getResultBuffer();
39232
+ };
39233
+
39234
+
39235
+ /**
39236
+ * Serializes the given message to binary data (in protobuf wire
39237
+ * format), writing to the given BinaryWriter.
39238
+ * @param {!proto.gateway.web.v1.ListSessionInsightsResponse} message
39239
+ * @param {!jspb.BinaryWriter} writer
39240
+ * @suppress {unusedLocalVariables} f is only used for nested messages
39241
+ */
39242
+ proto.gateway.web.v1.ListSessionInsightsResponse.serializeBinaryToWriter = function(message, writer) {
39243
+ var f = undefined;
39244
+ f = message.getStatus();
39245
+ if (f != null) {
39246
+ writer.writeMessage(
39247
+ 1,
39248
+ f,
39249
+ proto_gateway_common_v1_status_pb.ResponseStatus.serializeBinaryToWriter
39250
+ );
39251
+ }
39252
+ f = message.getInsightsList();
39253
+ if (f.length > 0) {
39254
+ writer.writeRepeatedMessage(
39255
+ 2,
39256
+ f,
39257
+ proto.gateway.web.v1.SessionInsightEntry.serializeBinaryToWriter
39258
+ );
39259
+ }
39260
+ f = message.getNextPageToken();
39261
+ if (f.length > 0) {
39262
+ writer.writeString(
39263
+ 3,
39264
+ f
39265
+ );
39266
+ }
39267
+ };
39268
+
39269
+
39270
+ /**
39271
+ * optional gateway.common.v1.ResponseStatus status = 1;
39272
+ * @return {?proto.gateway.common.v1.ResponseStatus}
39273
+ */
39274
+ proto.gateway.web.v1.ListSessionInsightsResponse.prototype.getStatus = function() {
39275
+ return /** @type{?proto.gateway.common.v1.ResponseStatus} */ (
39276
+ jspb.Message.getWrapperField(this, proto_gateway_common_v1_status_pb.ResponseStatus, 1));
39277
+ };
39278
+
39279
+
39280
+ /**
39281
+ * @param {?proto.gateway.common.v1.ResponseStatus|undefined} value
39282
+ * @return {!proto.gateway.web.v1.ListSessionInsightsResponse} returns this
39283
+ */
39284
+ proto.gateway.web.v1.ListSessionInsightsResponse.prototype.setStatus = function(value) {
39285
+ return jspb.Message.setWrapperField(this, 1, value);
39286
+ };
39287
+
39288
+
39289
+ /**
39290
+ * Clears the message field making it undefined.
39291
+ * @return {!proto.gateway.web.v1.ListSessionInsightsResponse} returns this
39292
+ */
39293
+ proto.gateway.web.v1.ListSessionInsightsResponse.prototype.clearStatus = function() {
39294
+ return this.setStatus(undefined);
39295
+ };
39296
+
39297
+
39298
+ /**
39299
+ * Returns whether this field is set.
39300
+ * @return {boolean}
39301
+ */
39302
+ proto.gateway.web.v1.ListSessionInsightsResponse.prototype.hasStatus = function() {
39303
+ return jspb.Message.getField(this, 1) != null;
39304
+ };
39305
+
39306
+
39307
+ /**
39308
+ * repeated SessionInsightEntry insights = 2;
39309
+ * @return {!Array<!proto.gateway.web.v1.SessionInsightEntry>}
39310
+ */
39311
+ proto.gateway.web.v1.ListSessionInsightsResponse.prototype.getInsightsList = function() {
39312
+ return /** @type{!Array<!proto.gateway.web.v1.SessionInsightEntry>} */ (
39313
+ jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.SessionInsightEntry, 2));
39314
+ };
39315
+
39316
+
39317
+ /**
39318
+ * @param {!Array<!proto.gateway.web.v1.SessionInsightEntry>} value
39319
+ * @return {!proto.gateway.web.v1.ListSessionInsightsResponse} returns this
39320
+ */
39321
+ proto.gateway.web.v1.ListSessionInsightsResponse.prototype.setInsightsList = function(value) {
39322
+ return jspb.Message.setRepeatedWrapperField(this, 2, value);
39323
+ };
39324
+
39325
+
39326
+ /**
39327
+ * @param {!proto.gateway.web.v1.SessionInsightEntry=} opt_value
39328
+ * @param {number=} opt_index
39329
+ * @return {!proto.gateway.web.v1.SessionInsightEntry}
39330
+ */
39331
+ proto.gateway.web.v1.ListSessionInsightsResponse.prototype.addInsights = function(opt_value, opt_index) {
39332
+ return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.gateway.web.v1.SessionInsightEntry, opt_index);
39333
+ };
39334
+
39335
+
39336
+ /**
39337
+ * Clears the list making it empty but non-null.
39338
+ * @return {!proto.gateway.web.v1.ListSessionInsightsResponse} returns this
39339
+ */
39340
+ proto.gateway.web.v1.ListSessionInsightsResponse.prototype.clearInsightsList = function() {
39341
+ return this.setInsightsList([]);
39342
+ };
39343
+
39344
+
39345
+ /**
39346
+ * optional string next_page_token = 3;
39347
+ * @return {string}
39348
+ */
39349
+ proto.gateway.web.v1.ListSessionInsightsResponse.prototype.getNextPageToken = function() {
39350
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
39351
+ };
39352
+
39353
+
39354
+ /**
39355
+ * @param {string} value
39356
+ * @return {!proto.gateway.web.v1.ListSessionInsightsResponse} returns this
39357
+ */
39358
+ proto.gateway.web.v1.ListSessionInsightsResponse.prototype.setNextPageToken = function(value) {
39359
+ return jspb.Message.setProto3StringField(this, 3, value);
39360
+ };
39361
+
39362
+
39363
+
39364
+
39365
+
39366
+ if (jspb.Message.GENERATE_TO_OBJECT) {
39367
+ /**
39368
+ * Creates an object representation of this proto.
39369
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
39370
+ * Optional fields that are not set will be set to undefined.
39371
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
39372
+ * For the list of reserved names please see:
39373
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
39374
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
39375
+ * JSPB instance for transitional soy proto support:
39376
+ * http://goto/soy-param-migration
39377
+ * @return {!Object}
39378
+ */
39379
+ proto.gateway.web.v1.SessionInsightEntry.prototype.toObject = function(opt_includeInstance) {
39380
+ return proto.gateway.web.v1.SessionInsightEntry.toObject(opt_includeInstance, this);
39381
+ };
39382
+
39383
+
39384
+ /**
39385
+ * Static version of the {@see toObject} method.
39386
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
39387
+ * the JSPB instance for transitional soy proto support:
39388
+ * http://goto/soy-param-migration
39389
+ * @param {!proto.gateway.web.v1.SessionInsightEntry} msg The msg instance to transform.
39390
+ * @return {!Object}
39391
+ * @suppress {unusedLocalVariables} f is only used for nested messages
39392
+ */
39393
+ proto.gateway.web.v1.SessionInsightEntry.toObject = function(includeInstance, msg) {
39394
+ var f, obj = {
39395
+ sourceSystem: jspb.Message.getFieldWithDefault(msg, 1, ""),
39396
+ sessionId: jspb.Message.getFieldWithDefault(msg, 2, ""),
39397
+ analyzedAt: (f = msg.getAnalyzedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
39398
+ insight: (f = msg.getInsight()) && proto.gateway.web.v1.AISessionInsight.toObject(includeInstance, f)
39399
+ };
39400
+
39401
+ if (includeInstance) {
39402
+ obj.$jspbMessageInstance = msg;
39403
+ }
39404
+ return obj;
39405
+ };
39406
+ }
39407
+
39408
+
39409
+ /**
39410
+ * Deserializes binary data (in protobuf wire format).
39411
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
39412
+ * @return {!proto.gateway.web.v1.SessionInsightEntry}
39413
+ */
39414
+ proto.gateway.web.v1.SessionInsightEntry.deserializeBinary = function(bytes) {
39415
+ var reader = new jspb.BinaryReader(bytes);
39416
+ var msg = new proto.gateway.web.v1.SessionInsightEntry;
39417
+ return proto.gateway.web.v1.SessionInsightEntry.deserializeBinaryFromReader(msg, reader);
39418
+ };
39419
+
39420
+
39421
+ /**
39422
+ * Deserializes binary data (in protobuf wire format) from the
39423
+ * given reader into the given message object.
39424
+ * @param {!proto.gateway.web.v1.SessionInsightEntry} msg The message object to deserialize into.
39425
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
39426
+ * @return {!proto.gateway.web.v1.SessionInsightEntry}
39427
+ */
39428
+ proto.gateway.web.v1.SessionInsightEntry.deserializeBinaryFromReader = function(msg, reader) {
39429
+ while (reader.nextField()) {
39430
+ if (reader.isEndGroup()) {
39431
+ break;
39432
+ }
39433
+ var field = reader.getFieldNumber();
39434
+ switch (field) {
39435
+ case 1:
39436
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
39437
+ msg.setSourceSystem(value);
39438
+ break;
39439
+ case 2:
39440
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
39441
+ msg.setSessionId(value);
39442
+ break;
39443
+ case 3:
39444
+ var value = new google_protobuf_timestamp_pb.Timestamp;
39445
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
39446
+ msg.setAnalyzedAt(value);
39447
+ break;
39448
+ case 4:
39449
+ var value = new proto.gateway.web.v1.AISessionInsight;
39450
+ reader.readMessage(value,proto.gateway.web.v1.AISessionInsight.deserializeBinaryFromReader);
39451
+ msg.setInsight(value);
39452
+ break;
39453
+ default:
39454
+ reader.skipField();
39455
+ break;
39456
+ }
39457
+ }
39458
+ return msg;
39459
+ };
39460
+
39461
+
39462
+ /**
39463
+ * Serializes the message to binary data (in protobuf wire format).
39464
+ * @return {!Uint8Array}
39465
+ */
39466
+ proto.gateway.web.v1.SessionInsightEntry.prototype.serializeBinary = function() {
39467
+ var writer = new jspb.BinaryWriter();
39468
+ proto.gateway.web.v1.SessionInsightEntry.serializeBinaryToWriter(this, writer);
39469
+ return writer.getResultBuffer();
39470
+ };
39471
+
39472
+
39473
+ /**
39474
+ * Serializes the given message to binary data (in protobuf wire
39475
+ * format), writing to the given BinaryWriter.
39476
+ * @param {!proto.gateway.web.v1.SessionInsightEntry} message
39477
+ * @param {!jspb.BinaryWriter} writer
39478
+ * @suppress {unusedLocalVariables} f is only used for nested messages
39479
+ */
39480
+ proto.gateway.web.v1.SessionInsightEntry.serializeBinaryToWriter = function(message, writer) {
39481
+ var f = undefined;
39482
+ f = message.getSourceSystem();
39483
+ if (f.length > 0) {
39484
+ writer.writeString(
39485
+ 1,
39486
+ f
39487
+ );
39488
+ }
39489
+ f = message.getSessionId();
39490
+ if (f.length > 0) {
39491
+ writer.writeString(
39492
+ 2,
39493
+ f
39494
+ );
39495
+ }
39496
+ f = message.getAnalyzedAt();
39497
+ if (f != null) {
39498
+ writer.writeMessage(
39499
+ 3,
39500
+ f,
39501
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
39502
+ );
39503
+ }
39504
+ f = message.getInsight();
39505
+ if (f != null) {
39506
+ writer.writeMessage(
39507
+ 4,
39508
+ f,
39509
+ proto.gateway.web.v1.AISessionInsight.serializeBinaryToWriter
39510
+ );
39511
+ }
39512
+ };
39513
+
39514
+
39515
+ /**
39516
+ * optional string source_system = 1;
39517
+ * @return {string}
39518
+ */
39519
+ proto.gateway.web.v1.SessionInsightEntry.prototype.getSourceSystem = function() {
39520
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
39521
+ };
39522
+
39523
+
39524
+ /**
39525
+ * @param {string} value
39526
+ * @return {!proto.gateway.web.v1.SessionInsightEntry} returns this
39527
+ */
39528
+ proto.gateway.web.v1.SessionInsightEntry.prototype.setSourceSystem = function(value) {
39529
+ return jspb.Message.setProto3StringField(this, 1, value);
39530
+ };
39531
+
39532
+
39533
+ /**
39534
+ * optional string session_id = 2;
39535
+ * @return {string}
39536
+ */
39537
+ proto.gateway.web.v1.SessionInsightEntry.prototype.getSessionId = function() {
39538
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
39539
+ };
39540
+
39541
+
39542
+ /**
39543
+ * @param {string} value
39544
+ * @return {!proto.gateway.web.v1.SessionInsightEntry} returns this
39545
+ */
39546
+ proto.gateway.web.v1.SessionInsightEntry.prototype.setSessionId = function(value) {
39547
+ return jspb.Message.setProto3StringField(this, 2, value);
39548
+ };
39549
+
39550
+
39551
+ /**
39552
+ * optional google.protobuf.Timestamp analyzed_at = 3;
39553
+ * @return {?proto.google.protobuf.Timestamp}
39554
+ */
39555
+ proto.gateway.web.v1.SessionInsightEntry.prototype.getAnalyzedAt = function() {
39556
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
39557
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 3));
39558
+ };
39559
+
39560
+
39561
+ /**
39562
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
39563
+ * @return {!proto.gateway.web.v1.SessionInsightEntry} returns this
39564
+ */
39565
+ proto.gateway.web.v1.SessionInsightEntry.prototype.setAnalyzedAt = function(value) {
39566
+ return jspb.Message.setWrapperField(this, 3, value);
39567
+ };
39568
+
39569
+
39570
+ /**
39571
+ * Clears the message field making it undefined.
39572
+ * @return {!proto.gateway.web.v1.SessionInsightEntry} returns this
39573
+ */
39574
+ proto.gateway.web.v1.SessionInsightEntry.prototype.clearAnalyzedAt = function() {
39575
+ return this.setAnalyzedAt(undefined);
39576
+ };
39577
+
39578
+
39579
+ /**
39580
+ * Returns whether this field is set.
39581
+ * @return {boolean}
39582
+ */
39583
+ proto.gateway.web.v1.SessionInsightEntry.prototype.hasAnalyzedAt = function() {
39584
+ return jspb.Message.getField(this, 3) != null;
39585
+ };
39586
+
39587
+
39588
+ /**
39589
+ * optional AISessionInsight insight = 4;
39590
+ * @return {?proto.gateway.web.v1.AISessionInsight}
39591
+ */
39592
+ proto.gateway.web.v1.SessionInsightEntry.prototype.getInsight = function() {
39593
+ return /** @type{?proto.gateway.web.v1.AISessionInsight} */ (
39594
+ jspb.Message.getWrapperField(this, proto.gateway.web.v1.AISessionInsight, 4));
39595
+ };
39596
+
39597
+
39598
+ /**
39599
+ * @param {?proto.gateway.web.v1.AISessionInsight|undefined} value
39600
+ * @return {!proto.gateway.web.v1.SessionInsightEntry} returns this
39601
+ */
39602
+ proto.gateway.web.v1.SessionInsightEntry.prototype.setInsight = function(value) {
39603
+ return jspb.Message.setWrapperField(this, 4, value);
39604
+ };
39605
+
39606
+
39607
+ /**
39608
+ * Clears the message field making it undefined.
39609
+ * @return {!proto.gateway.web.v1.SessionInsightEntry} returns this
39610
+ */
39611
+ proto.gateway.web.v1.SessionInsightEntry.prototype.clearInsight = function() {
39612
+ return this.setInsight(undefined);
39613
+ };
39614
+
39615
+
39616
+ /**
39617
+ * Returns whether this field is set.
39618
+ * @return {boolean}
39619
+ */
39620
+ proto.gateway.web.v1.SessionInsightEntry.prototype.hasInsight = function() {
39621
+ return jspb.Message.getField(this, 4) != null;
39622
+ };
39623
+
39624
+
39625
+
39626
+
39627
+
38461
39628
  if (jspb.Message.GENERATE_TO_OBJECT) {
38462
39629
  /**
38463
39630
  * Creates an object representation of this proto.
@@ -38800,7 +39967,8 @@ insightsList: jspb.Message.toObjectList(msg.getInsightsList(),
38800
39967
  model: jspb.Message.getFieldWithDefault(msg, 2, ""),
38801
39968
  version: jspb.Message.getFieldWithDefault(msg, 3, ""),
38802
39969
  inputSessionVersion: jspb.Message.getFieldWithDefault(msg, 4, 0),
38803
- analyzedAt: (f = msg.getAnalyzedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
39970
+ analyzedAt: (f = msg.getAnalyzedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
39971
+ topicsVersion: jspb.Message.getFieldWithDefault(msg, 6, "")
38804
39972
  };
38805
39973
 
38806
39974
  if (includeInstance) {
@@ -38859,6 +40027,10 @@ proto.gateway.web.v1.AISessionInsights.deserializeBinaryFromReader = function(ms
38859
40027
  reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
38860
40028
  msg.setAnalyzedAt(value);
38861
40029
  break;
40030
+ case 6:
40031
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
40032
+ msg.setTopicsVersion(value);
40033
+ break;
38862
40034
  default:
38863
40035
  reader.skipField();
38864
40036
  break;
@@ -38925,6 +40097,13 @@ proto.gateway.web.v1.AISessionInsights.serializeBinaryToWriter = function(messag
38925
40097
  google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
38926
40098
  );
38927
40099
  }
40100
+ f = message.getTopicsVersion();
40101
+ if (f.length > 0) {
40102
+ writer.writeString(
40103
+ 6,
40104
+ f
40105
+ );
40106
+ }
38928
40107
  };
38929
40108
 
38930
40109
 
@@ -39057,13 +40236,191 @@ proto.gateway.web.v1.AISessionInsights.prototype.hasAnalyzedAt = function() {
39057
40236
  };
39058
40237
 
39059
40238
 
40239
+ /**
40240
+ * optional string topics_version = 6;
40241
+ * @return {string}
40242
+ */
40243
+ proto.gateway.web.v1.AISessionInsights.prototype.getTopicsVersion = function() {
40244
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
40245
+ };
40246
+
40247
+
40248
+ /**
40249
+ * @param {string} value
40250
+ * @return {!proto.gateway.web.v1.AISessionInsights} returns this
40251
+ */
40252
+ proto.gateway.web.v1.AISessionInsights.prototype.setTopicsVersion = function(value) {
40253
+ return jspb.Message.setProto3StringField(this, 6, value);
40254
+ };
40255
+
40256
+
40257
+
40258
+
40259
+
40260
+ if (jspb.Message.GENERATE_TO_OBJECT) {
40261
+ /**
40262
+ * Creates an object representation of this proto.
40263
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
40264
+ * Optional fields that are not set will be set to undefined.
40265
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
40266
+ * For the list of reserved names please see:
40267
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
40268
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
40269
+ * JSPB instance for transitional soy proto support:
40270
+ * http://goto/soy-param-migration
40271
+ * @return {!Object}
40272
+ */
40273
+ proto.gateway.web.v1.AISessionInsightTopic.prototype.toObject = function(opt_includeInstance) {
40274
+ return proto.gateway.web.v1.AISessionInsightTopic.toObject(opt_includeInstance, this);
40275
+ };
40276
+
40277
+
40278
+ /**
40279
+ * Static version of the {@see toObject} method.
40280
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
40281
+ * the JSPB instance for transitional soy proto support:
40282
+ * http://goto/soy-param-migration
40283
+ * @param {!proto.gateway.web.v1.AISessionInsightTopic} msg The msg instance to transform.
40284
+ * @return {!Object}
40285
+ * @suppress {unusedLocalVariables} f is only used for nested messages
40286
+ */
40287
+ proto.gateway.web.v1.AISessionInsightTopic.toObject = function(includeInstance, msg) {
40288
+ var f, obj = {
40289
+ key: jspb.Message.getFieldWithDefault(msg, 1, ""),
40290
+ name: jspb.Message.getFieldWithDefault(msg, 2, "")
40291
+ };
40292
+
40293
+ if (includeInstance) {
40294
+ obj.$jspbMessageInstance = msg;
40295
+ }
40296
+ return obj;
40297
+ };
40298
+ }
40299
+
40300
+
40301
+ /**
40302
+ * Deserializes binary data (in protobuf wire format).
40303
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
40304
+ * @return {!proto.gateway.web.v1.AISessionInsightTopic}
40305
+ */
40306
+ proto.gateway.web.v1.AISessionInsightTopic.deserializeBinary = function(bytes) {
40307
+ var reader = new jspb.BinaryReader(bytes);
40308
+ var msg = new proto.gateway.web.v1.AISessionInsightTopic;
40309
+ return proto.gateway.web.v1.AISessionInsightTopic.deserializeBinaryFromReader(msg, reader);
40310
+ };
40311
+
40312
+
40313
+ /**
40314
+ * Deserializes binary data (in protobuf wire format) from the
40315
+ * given reader into the given message object.
40316
+ * @param {!proto.gateway.web.v1.AISessionInsightTopic} msg The message object to deserialize into.
40317
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
40318
+ * @return {!proto.gateway.web.v1.AISessionInsightTopic}
40319
+ */
40320
+ proto.gateway.web.v1.AISessionInsightTopic.deserializeBinaryFromReader = function(msg, reader) {
40321
+ while (reader.nextField()) {
40322
+ if (reader.isEndGroup()) {
40323
+ break;
40324
+ }
40325
+ var field = reader.getFieldNumber();
40326
+ switch (field) {
40327
+ case 1:
40328
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
40329
+ msg.setKey(value);
40330
+ break;
40331
+ case 2:
40332
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
40333
+ msg.setName(value);
40334
+ break;
40335
+ default:
40336
+ reader.skipField();
40337
+ break;
40338
+ }
40339
+ }
40340
+ return msg;
40341
+ };
40342
+
40343
+
40344
+ /**
40345
+ * Serializes the message to binary data (in protobuf wire format).
40346
+ * @return {!Uint8Array}
40347
+ */
40348
+ proto.gateway.web.v1.AISessionInsightTopic.prototype.serializeBinary = function() {
40349
+ var writer = new jspb.BinaryWriter();
40350
+ proto.gateway.web.v1.AISessionInsightTopic.serializeBinaryToWriter(this, writer);
40351
+ return writer.getResultBuffer();
40352
+ };
40353
+
40354
+
40355
+ /**
40356
+ * Serializes the given message to binary data (in protobuf wire
40357
+ * format), writing to the given BinaryWriter.
40358
+ * @param {!proto.gateway.web.v1.AISessionInsightTopic} message
40359
+ * @param {!jspb.BinaryWriter} writer
40360
+ * @suppress {unusedLocalVariables} f is only used for nested messages
40361
+ */
40362
+ proto.gateway.web.v1.AISessionInsightTopic.serializeBinaryToWriter = function(message, writer) {
40363
+ var f = undefined;
40364
+ f = message.getKey();
40365
+ if (f.length > 0) {
40366
+ writer.writeString(
40367
+ 1,
40368
+ f
40369
+ );
40370
+ }
40371
+ f = message.getName();
40372
+ if (f.length > 0) {
40373
+ writer.writeString(
40374
+ 2,
40375
+ f
40376
+ );
40377
+ }
40378
+ };
40379
+
40380
+
40381
+ /**
40382
+ * optional string key = 1;
40383
+ * @return {string}
40384
+ */
40385
+ proto.gateway.web.v1.AISessionInsightTopic.prototype.getKey = function() {
40386
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
40387
+ };
40388
+
40389
+
40390
+ /**
40391
+ * @param {string} value
40392
+ * @return {!proto.gateway.web.v1.AISessionInsightTopic} returns this
40393
+ */
40394
+ proto.gateway.web.v1.AISessionInsightTopic.prototype.setKey = function(value) {
40395
+ return jspb.Message.setProto3StringField(this, 1, value);
40396
+ };
40397
+
40398
+
40399
+ /**
40400
+ * optional string name = 2;
40401
+ * @return {string}
40402
+ */
40403
+ proto.gateway.web.v1.AISessionInsightTopic.prototype.getName = function() {
40404
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
40405
+ };
40406
+
40407
+
40408
+ /**
40409
+ * @param {string} value
40410
+ * @return {!proto.gateway.web.v1.AISessionInsightTopic} returns this
40411
+ */
40412
+ proto.gateway.web.v1.AISessionInsightTopic.prototype.setName = function(value) {
40413
+ return jspb.Message.setProto3StringField(this, 2, value);
40414
+ };
40415
+
40416
+
39060
40417
 
39061
40418
  /**
39062
40419
  * List of repeated fields within this message type.
39063
40420
  * @private {!Array<number>}
39064
40421
  * @const
39065
40422
  */
39066
- proto.gateway.web.v1.AISessionInsight.repeatedFields_ = [3];
40423
+ proto.gateway.web.v1.AISessionInsight.repeatedFields_ = [1];
39067
40424
 
39068
40425
 
39069
40426
 
@@ -39096,14 +40453,15 @@ proto.gateway.web.v1.AISessionInsight.prototype.toObject = function(opt_includeI
39096
40453
  */
39097
40454
  proto.gateway.web.v1.AISessionInsight.toObject = function(includeInstance, msg) {
39098
40455
  var f, obj = {
39099
- category: jspb.Message.getFieldWithDefault(msg, 1, 0),
39100
- actionType: jspb.Message.getFieldWithDefault(msg, 2, 0),
39101
40456
  evidenceRefsList: jspb.Message.toObjectList(msg.getEvidenceRefsList(),
39102
40457
  proto.gateway.web.v1.AISessionEventRef.toObject, includeInstance),
39103
- cause: jspb.Message.getFieldWithDefault(msg, 4, ""),
39104
- action: jspb.Message.getFieldWithDefault(msg, 5, ""),
39105
- severity: jspb.Message.getFieldWithDefault(msg, 6, 0),
39106
- skillSuggestion: (f = msg.getSkillSuggestion()) && proto.gateway.web.v1.AISkillSuggestion.toObject(includeInstance, f)
40458
+ title: jspb.Message.getFieldWithDefault(msg, 2, ""),
40459
+ finding: jspb.Message.getFieldWithDefault(msg, 3, ""),
40460
+ recommendation: jspb.Message.getFieldWithDefault(msg, 4, ""),
40461
+ actionType: jspb.Message.getFieldWithDefault(msg, 5, 0),
40462
+ remediationPrompt: jspb.Message.getFieldWithDefault(msg, 6, ""),
40463
+ topic: (f = msg.getTopic()) && proto.gateway.web.v1.AISessionInsightTopic.toObject(includeInstance, f),
40464
+ skill: (f = msg.getSkill()) && proto.gateway.web.v1.AISkillSuggestion.toObject(includeInstance, f)
39107
40465
  };
39108
40466
 
39109
40467
  if (includeInstance) {
@@ -39141,34 +40499,39 @@ proto.gateway.web.v1.AISessionInsight.deserializeBinaryFromReader = function(msg
39141
40499
  var field = reader.getFieldNumber();
39142
40500
  switch (field) {
39143
40501
  case 1:
39144
- var value = /** @type {!proto.gateway.web.v1.AISessionInsightCategory} */ (reader.readEnum());
39145
- msg.setCategory(value);
40502
+ var value = new proto.gateway.web.v1.AISessionEventRef;
40503
+ reader.readMessage(value,proto.gateway.web.v1.AISessionEventRef.deserializeBinaryFromReader);
40504
+ msg.addEvidenceRefs(value);
39146
40505
  break;
39147
40506
  case 2:
39148
- var value = /** @type {!proto.gateway.web.v1.AISessionInsightActionType} */ (reader.readEnum());
39149
- msg.setActionType(value);
40507
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
40508
+ msg.setTitle(value);
39150
40509
  break;
39151
40510
  case 3:
39152
- var value = new proto.gateway.web.v1.AISessionEventRef;
39153
- reader.readMessage(value,proto.gateway.web.v1.AISessionEventRef.deserializeBinaryFromReader);
39154
- msg.addEvidenceRefs(value);
40511
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
40512
+ msg.setFinding(value);
39155
40513
  break;
39156
40514
  case 4:
39157
40515
  var value = /** @type {string} */ (reader.readStringRequireUtf8());
39158
- msg.setCause(value);
40516
+ msg.setRecommendation(value);
39159
40517
  break;
39160
40518
  case 5:
39161
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
39162
- msg.setAction(value);
40519
+ var value = /** @type {!proto.gateway.web.v1.AISessionInsightActionType} */ (reader.readEnum());
40520
+ msg.setActionType(value);
39163
40521
  break;
39164
40522
  case 6:
39165
- var value = /** @type {!proto.gateway.web.v1.AISessionInsightSeverity} */ (reader.readEnum());
39166
- msg.setSeverity(value);
40523
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
40524
+ msg.setRemediationPrompt(value);
39167
40525
  break;
39168
40526
  case 7:
40527
+ var value = new proto.gateway.web.v1.AISessionInsightTopic;
40528
+ reader.readMessage(value,proto.gateway.web.v1.AISessionInsightTopic.deserializeBinaryFromReader);
40529
+ msg.setTopic(value);
40530
+ break;
40531
+ case 8:
39169
40532
  var value = new proto.gateway.web.v1.AISkillSuggestion;
39170
40533
  reader.readMessage(value,proto.gateway.web.v1.AISkillSuggestion.deserializeBinaryFromReader);
39171
- msg.setSkillSuggestion(value);
40534
+ msg.setSkill(value);
39172
40535
  break;
39173
40536
  default:
39174
40537
  reader.skipField();
@@ -39199,54 +40562,62 @@ proto.gateway.web.v1.AISessionInsight.prototype.serializeBinary = function() {
39199
40562
  */
39200
40563
  proto.gateway.web.v1.AISessionInsight.serializeBinaryToWriter = function(message, writer) {
39201
40564
  var f = undefined;
39202
- f = message.getCategory();
39203
- if (f !== 0.0) {
39204
- writer.writeEnum(
40565
+ f = message.getEvidenceRefsList();
40566
+ if (f.length > 0) {
40567
+ writer.writeRepeatedMessage(
39205
40568
  1,
39206
- f
40569
+ f,
40570
+ proto.gateway.web.v1.AISessionEventRef.serializeBinaryToWriter
39207
40571
  );
39208
40572
  }
39209
- f = message.getActionType();
39210
- if (f !== 0.0) {
39211
- writer.writeEnum(
40573
+ f = message.getTitle();
40574
+ if (f.length > 0) {
40575
+ writer.writeString(
39212
40576
  2,
39213
40577
  f
39214
40578
  );
39215
40579
  }
39216
- f = message.getEvidenceRefsList();
40580
+ f = message.getFinding();
39217
40581
  if (f.length > 0) {
39218
- writer.writeRepeatedMessage(
40582
+ writer.writeString(
39219
40583
  3,
39220
- f,
39221
- proto.gateway.web.v1.AISessionEventRef.serializeBinaryToWriter
40584
+ f
39222
40585
  );
39223
40586
  }
39224
- f = message.getCause();
40587
+ f = message.getRecommendation();
39225
40588
  if (f.length > 0) {
39226
40589
  writer.writeString(
39227
40590
  4,
39228
40591
  f
39229
40592
  );
39230
40593
  }
39231
- f = message.getAction();
39232
- if (f.length > 0) {
39233
- writer.writeString(
40594
+ f = message.getActionType();
40595
+ if (f !== 0.0) {
40596
+ writer.writeEnum(
39234
40597
  5,
39235
40598
  f
39236
40599
  );
39237
40600
  }
39238
- f = message.getSeverity();
39239
- if (f !== 0.0) {
39240
- writer.writeEnum(
40601
+ f = message.getRemediationPrompt();
40602
+ if (f.length > 0) {
40603
+ writer.writeString(
39241
40604
  6,
39242
40605
  f
39243
40606
  );
39244
40607
  }
39245
- f = message.getSkillSuggestion();
40608
+ f = message.getTopic();
39246
40609
  if (f != null) {
39247
40610
  writer.writeMessage(
39248
40611
  7,
39249
40612
  f,
40613
+ proto.gateway.web.v1.AISessionInsightTopic.serializeBinaryToWriter
40614
+ );
40615
+ }
40616
+ f = message.getSkill();
40617
+ if (f != null) {
40618
+ writer.writeMessage(
40619
+ 8,
40620
+ f,
39250
40621
  proto.gateway.web.v1.AISkillSuggestion.serializeBinaryToWriter
39251
40622
  );
39252
40623
  }
@@ -39254,84 +40625,84 @@ proto.gateway.web.v1.AISessionInsight.serializeBinaryToWriter = function(message
39254
40625
 
39255
40626
 
39256
40627
  /**
39257
- * optional AISessionInsightCategory category = 1;
39258
- * @return {!proto.gateway.web.v1.AISessionInsightCategory}
40628
+ * repeated AISessionEventRef evidence_refs = 1;
40629
+ * @return {!Array<!proto.gateway.web.v1.AISessionEventRef>}
39259
40630
  */
39260
- proto.gateway.web.v1.AISessionInsight.prototype.getCategory = function() {
39261
- return /** @type {!proto.gateway.web.v1.AISessionInsightCategory} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
40631
+ proto.gateway.web.v1.AISessionInsight.prototype.getEvidenceRefsList = function() {
40632
+ return /** @type{!Array<!proto.gateway.web.v1.AISessionEventRef>} */ (
40633
+ jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.AISessionEventRef, 1));
39262
40634
  };
39263
40635
 
39264
40636
 
39265
40637
  /**
39266
- * @param {!proto.gateway.web.v1.AISessionInsightCategory} value
40638
+ * @param {!Array<!proto.gateway.web.v1.AISessionEventRef>} value
39267
40639
  * @return {!proto.gateway.web.v1.AISessionInsight} returns this
39268
- */
39269
- proto.gateway.web.v1.AISessionInsight.prototype.setCategory = function(value) {
39270
- return jspb.Message.setProto3EnumField(this, 1, value);
40640
+ */
40641
+ proto.gateway.web.v1.AISessionInsight.prototype.setEvidenceRefsList = function(value) {
40642
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
39271
40643
  };
39272
40644
 
39273
40645
 
39274
40646
  /**
39275
- * optional AISessionInsightActionType action_type = 2;
39276
- * @return {!proto.gateway.web.v1.AISessionInsightActionType}
40647
+ * @param {!proto.gateway.web.v1.AISessionEventRef=} opt_value
40648
+ * @param {number=} opt_index
40649
+ * @return {!proto.gateway.web.v1.AISessionEventRef}
39277
40650
  */
39278
- proto.gateway.web.v1.AISessionInsight.prototype.getActionType = function() {
39279
- return /** @type {!proto.gateway.web.v1.AISessionInsightActionType} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
40651
+ proto.gateway.web.v1.AISessionInsight.prototype.addEvidenceRefs = function(opt_value, opt_index) {
40652
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.gateway.web.v1.AISessionEventRef, opt_index);
39280
40653
  };
39281
40654
 
39282
40655
 
39283
40656
  /**
39284
- * @param {!proto.gateway.web.v1.AISessionInsightActionType} value
40657
+ * Clears the list making it empty but non-null.
39285
40658
  * @return {!proto.gateway.web.v1.AISessionInsight} returns this
39286
40659
  */
39287
- proto.gateway.web.v1.AISessionInsight.prototype.setActionType = function(value) {
39288
- return jspb.Message.setProto3EnumField(this, 2, value);
40660
+ proto.gateway.web.v1.AISessionInsight.prototype.clearEvidenceRefsList = function() {
40661
+ return this.setEvidenceRefsList([]);
39289
40662
  };
39290
40663
 
39291
40664
 
39292
40665
  /**
39293
- * repeated AISessionEventRef evidence_refs = 3;
39294
- * @return {!Array<!proto.gateway.web.v1.AISessionEventRef>}
40666
+ * optional string title = 2;
40667
+ * @return {string}
39295
40668
  */
39296
- proto.gateway.web.v1.AISessionInsight.prototype.getEvidenceRefsList = function() {
39297
- return /** @type{!Array<!proto.gateway.web.v1.AISessionEventRef>} */ (
39298
- jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.AISessionEventRef, 3));
40669
+ proto.gateway.web.v1.AISessionInsight.prototype.getTitle = function() {
40670
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
39299
40671
  };
39300
40672
 
39301
40673
 
39302
40674
  /**
39303
- * @param {!Array<!proto.gateway.web.v1.AISessionEventRef>} value
40675
+ * @param {string} value
39304
40676
  * @return {!proto.gateway.web.v1.AISessionInsight} returns this
39305
- */
39306
- proto.gateway.web.v1.AISessionInsight.prototype.setEvidenceRefsList = function(value) {
39307
- return jspb.Message.setRepeatedWrapperField(this, 3, value);
40677
+ */
40678
+ proto.gateway.web.v1.AISessionInsight.prototype.setTitle = function(value) {
40679
+ return jspb.Message.setProto3StringField(this, 2, value);
39308
40680
  };
39309
40681
 
39310
40682
 
39311
40683
  /**
39312
- * @param {!proto.gateway.web.v1.AISessionEventRef=} opt_value
39313
- * @param {number=} opt_index
39314
- * @return {!proto.gateway.web.v1.AISessionEventRef}
40684
+ * optional string finding = 3;
40685
+ * @return {string}
39315
40686
  */
39316
- proto.gateway.web.v1.AISessionInsight.prototype.addEvidenceRefs = function(opt_value, opt_index) {
39317
- return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.gateway.web.v1.AISessionEventRef, opt_index);
40687
+ proto.gateway.web.v1.AISessionInsight.prototype.getFinding = function() {
40688
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
39318
40689
  };
39319
40690
 
39320
40691
 
39321
40692
  /**
39322
- * Clears the list making it empty but non-null.
40693
+ * @param {string} value
39323
40694
  * @return {!proto.gateway.web.v1.AISessionInsight} returns this
39324
40695
  */
39325
- proto.gateway.web.v1.AISessionInsight.prototype.clearEvidenceRefsList = function() {
39326
- return this.setEvidenceRefsList([]);
40696
+ proto.gateway.web.v1.AISessionInsight.prototype.setFinding = function(value) {
40697
+ return jspb.Message.setProto3StringField(this, 3, value);
39327
40698
  };
39328
40699
 
39329
40700
 
39330
40701
  /**
39331
- * optional string cause = 4;
40702
+ * optional string recommendation = 4;
39332
40703
  * @return {string}
39333
40704
  */
39334
- proto.gateway.web.v1.AISessionInsight.prototype.getCause = function() {
40705
+ proto.gateway.web.v1.AISessionInsight.prototype.getRecommendation = function() {
39335
40706
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
39336
40707
  };
39337
40708
 
@@ -39340,17 +40711,35 @@ proto.gateway.web.v1.AISessionInsight.prototype.getCause = function() {
39340
40711
  * @param {string} value
39341
40712
  * @return {!proto.gateway.web.v1.AISessionInsight} returns this
39342
40713
  */
39343
- proto.gateway.web.v1.AISessionInsight.prototype.setCause = function(value) {
40714
+ proto.gateway.web.v1.AISessionInsight.prototype.setRecommendation = function(value) {
39344
40715
  return jspb.Message.setProto3StringField(this, 4, value);
39345
40716
  };
39346
40717
 
39347
40718
 
39348
40719
  /**
39349
- * optional string action = 5;
40720
+ * optional AISessionInsightActionType action_type = 5;
40721
+ * @return {!proto.gateway.web.v1.AISessionInsightActionType}
40722
+ */
40723
+ proto.gateway.web.v1.AISessionInsight.prototype.getActionType = function() {
40724
+ return /** @type {!proto.gateway.web.v1.AISessionInsightActionType} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
40725
+ };
40726
+
40727
+
40728
+ /**
40729
+ * @param {!proto.gateway.web.v1.AISessionInsightActionType} value
40730
+ * @return {!proto.gateway.web.v1.AISessionInsight} returns this
40731
+ */
40732
+ proto.gateway.web.v1.AISessionInsight.prototype.setActionType = function(value) {
40733
+ return jspb.Message.setProto3EnumField(this, 5, value);
40734
+ };
40735
+
40736
+
40737
+ /**
40738
+ * optional string remediation_prompt = 6;
39350
40739
  * @return {string}
39351
40740
  */
39352
- proto.gateway.web.v1.AISessionInsight.prototype.getAction = function() {
39353
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
40741
+ proto.gateway.web.v1.AISessionInsight.prototype.getRemediationPrompt = function() {
40742
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
39354
40743
  };
39355
40744
 
39356
40745
 
@@ -39358,36 +40747,55 @@ proto.gateway.web.v1.AISessionInsight.prototype.getAction = function() {
39358
40747
  * @param {string} value
39359
40748
  * @return {!proto.gateway.web.v1.AISessionInsight} returns this
39360
40749
  */
39361
- proto.gateway.web.v1.AISessionInsight.prototype.setAction = function(value) {
39362
- return jspb.Message.setProto3StringField(this, 5, value);
40750
+ proto.gateway.web.v1.AISessionInsight.prototype.setRemediationPrompt = function(value) {
40751
+ return jspb.Message.setProto3StringField(this, 6, value);
39363
40752
  };
39364
40753
 
39365
40754
 
39366
40755
  /**
39367
- * optional AISessionInsightSeverity severity = 6;
39368
- * @return {!proto.gateway.web.v1.AISessionInsightSeverity}
40756
+ * optional AISessionInsightTopic topic = 7;
40757
+ * @return {?proto.gateway.web.v1.AISessionInsightTopic}
39369
40758
  */
39370
- proto.gateway.web.v1.AISessionInsight.prototype.getSeverity = function() {
39371
- return /** @type {!proto.gateway.web.v1.AISessionInsightSeverity} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
40759
+ proto.gateway.web.v1.AISessionInsight.prototype.getTopic = function() {
40760
+ return /** @type{?proto.gateway.web.v1.AISessionInsightTopic} */ (
40761
+ jspb.Message.getWrapperField(this, proto.gateway.web.v1.AISessionInsightTopic, 7));
39372
40762
  };
39373
40763
 
39374
40764
 
39375
40765
  /**
39376
- * @param {!proto.gateway.web.v1.AISessionInsightSeverity} value
40766
+ * @param {?proto.gateway.web.v1.AISessionInsightTopic|undefined} value
40767
+ * @return {!proto.gateway.web.v1.AISessionInsight} returns this
40768
+ */
40769
+ proto.gateway.web.v1.AISessionInsight.prototype.setTopic = function(value) {
40770
+ return jspb.Message.setWrapperField(this, 7, value);
40771
+ };
40772
+
40773
+
40774
+ /**
40775
+ * Clears the message field making it undefined.
39377
40776
  * @return {!proto.gateway.web.v1.AISessionInsight} returns this
39378
40777
  */
39379
- proto.gateway.web.v1.AISessionInsight.prototype.setSeverity = function(value) {
39380
- return jspb.Message.setProto3EnumField(this, 6, value);
40778
+ proto.gateway.web.v1.AISessionInsight.prototype.clearTopic = function() {
40779
+ return this.setTopic(undefined);
39381
40780
  };
39382
40781
 
39383
40782
 
39384
40783
  /**
39385
- * optional AISkillSuggestion skill_suggestion = 7;
40784
+ * Returns whether this field is set.
40785
+ * @return {boolean}
40786
+ */
40787
+ proto.gateway.web.v1.AISessionInsight.prototype.hasTopic = function() {
40788
+ return jspb.Message.getField(this, 7) != null;
40789
+ };
40790
+
40791
+
40792
+ /**
40793
+ * optional AISkillSuggestion skill = 8;
39386
40794
  * @return {?proto.gateway.web.v1.AISkillSuggestion}
39387
40795
  */
39388
- proto.gateway.web.v1.AISessionInsight.prototype.getSkillSuggestion = function() {
40796
+ proto.gateway.web.v1.AISessionInsight.prototype.getSkill = function() {
39389
40797
  return /** @type{?proto.gateway.web.v1.AISkillSuggestion} */ (
39390
- jspb.Message.getWrapperField(this, proto.gateway.web.v1.AISkillSuggestion, 7));
40798
+ jspb.Message.getWrapperField(this, proto.gateway.web.v1.AISkillSuggestion, 8));
39391
40799
  };
39392
40800
 
39393
40801
 
@@ -39395,8 +40803,8 @@ proto.gateway.web.v1.AISessionInsight.prototype.getSkillSuggestion = function()
39395
40803
  * @param {?proto.gateway.web.v1.AISkillSuggestion|undefined} value
39396
40804
  * @return {!proto.gateway.web.v1.AISessionInsight} returns this
39397
40805
  */
39398
- proto.gateway.web.v1.AISessionInsight.prototype.setSkillSuggestion = function(value) {
39399
- return jspb.Message.setWrapperField(this, 7, value);
40806
+ proto.gateway.web.v1.AISessionInsight.prototype.setSkill = function(value) {
40807
+ return jspb.Message.setWrapperField(this, 8, value);
39400
40808
  };
39401
40809
 
39402
40810
 
@@ -39404,8 +40812,8 @@ proto.gateway.web.v1.AISessionInsight.prototype.setSkillSuggestion = function(va
39404
40812
  * Clears the message field making it undefined.
39405
40813
  * @return {!proto.gateway.web.v1.AISessionInsight} returns this
39406
40814
  */
39407
- proto.gateway.web.v1.AISessionInsight.prototype.clearSkillSuggestion = function() {
39408
- return this.setSkillSuggestion(undefined);
40815
+ proto.gateway.web.v1.AISessionInsight.prototype.clearSkill = function() {
40816
+ return this.setSkill(undefined);
39409
40817
  };
39410
40818
 
39411
40819
 
@@ -39413,8 +40821,8 @@ proto.gateway.web.v1.AISessionInsight.prototype.clearSkillSuggestion = function(
39413
40821
  * Returns whether this field is set.
39414
40822
  * @return {boolean}
39415
40823
  */
39416
- proto.gateway.web.v1.AISessionInsight.prototype.hasSkillSuggestion = function() {
39417
- return jspb.Message.getField(this, 7) != null;
40824
+ proto.gateway.web.v1.AISessionInsight.prototype.hasSkill = function() {
40825
+ return jspb.Message.getField(this, 8) != null;
39418
40826
  };
39419
40827
 
39420
40828
 
@@ -60153,6 +61561,26 @@ proto.gateway.web.v1.AIProjectInsightCitation.prototype.hasEventRef = function()
60153
61561
  };
60154
61562
 
60155
61563
 
61564
+ /**
61565
+ * @enum {number}
61566
+ */
61567
+ proto.gateway.web.v1.SessionInsightSort = {
61568
+ SESSION_INSIGHT_SORT_UNSPECIFIED: 0,
61569
+ SESSION_INSIGHT_SORT_RECENT: 1
61570
+ };
61571
+
61572
+ /**
61573
+ * @enum {number}
61574
+ */
61575
+ proto.gateway.web.v1.AISessionInsightActionType = {
61576
+ AI_SESSION_INSIGHT_ACTION_TYPE_UNSPECIFIED: 0,
61577
+ AI_SESSION_INSIGHT_ACTION_TYPE_ADD_RULE: 1,
61578
+ AI_SESSION_INSIGHT_ACTION_TYPE_ADD_SKILL: 2,
61579
+ AI_SESSION_INSIGHT_ACTION_TYPE_CHANGE_MODEL: 3,
61580
+ AI_SESSION_INSIGHT_ACTION_TYPE_FIX_TOOLING: 4,
61581
+ AI_SESSION_INSIGHT_ACTION_TYPE_CHANGE_WORKFLOW: 5
61582
+ };
61583
+
60156
61584
  /**
60157
61585
  * @enum {number}
60158
61586
  */
@@ -60265,45 +61693,6 @@ proto.gateway.web.v1.AISessionComplexity = {
60265
61693
  AI_SESSION_COMPLEXITY_LARGE: 3
60266
61694
  };
60267
61695
 
60268
- /**
60269
- * @enum {number}
60270
- */
60271
- proto.gateway.web.v1.AISessionInsightCategory = {
60272
- AI_SESSION_INSIGHT_CATEGORY_UNSPECIFIED: 0,
60273
- AI_SESSION_INSIGHT_CATEGORY_CONSTRAINT_VIOLATION: 1,
60274
- AI_SESSION_INSIGHT_CATEGORY_MISREAD_REQUEST: 2,
60275
- AI_SESSION_INSIGHT_CATEGORY_REPEATED_CORRECTION: 3,
60276
- AI_SESSION_INSIGHT_CATEGORY_LOOPING: 4,
60277
- AI_SESSION_INSIGHT_CATEGORY_VERIFICATION_GAP: 5,
60278
- AI_SESSION_INSIGHT_CATEGORY_MISSING_CONTEXT: 6,
60279
- AI_SESSION_INSIGHT_CATEGORY_TOOLING_FAILURE: 7,
60280
- AI_SESSION_INSIGHT_CATEGORY_SCOPE_CREEP: 8,
60281
- AI_SESSION_INSIGHT_CATEGORY_MANUAL_WORKFLOW: 9
60282
- };
60283
-
60284
- /**
60285
- * @enum {number}
60286
- */
60287
- proto.gateway.web.v1.AISessionInsightActionType = {
60288
- AI_SESSION_INSIGHT_ACTION_TYPE_UNSPECIFIED: 0,
60289
- AI_SESSION_INSIGHT_ACTION_TYPE_ADD_RULE: 1,
60290
- AI_SESSION_INSIGHT_ACTION_TYPE_ADD_SKILL: 2,
60291
- AI_SESSION_INSIGHT_ACTION_TYPE_USE_EXISTING_SKILL: 3,
60292
- AI_SESSION_INSIGHT_ACTION_TYPE_CHANGE_MODEL: 4,
60293
- AI_SESSION_INSIGHT_ACTION_TYPE_CLARIFY_PROMPTS: 5,
60294
- AI_SESSION_INSIGHT_ACTION_TYPE_FIX_TOOLING: 6
60295
- };
60296
-
60297
- /**
60298
- * @enum {number}
60299
- */
60300
- proto.gateway.web.v1.AISessionInsightSeverity = {
60301
- AI_SESSION_INSIGHT_SEVERITY_UNSPECIFIED: 0,
60302
- AI_SESSION_INSIGHT_SEVERITY_LOW: 1,
60303
- AI_SESSION_INSIGHT_SEVERITY_MEDIUM: 2,
60304
- AI_SESSION_INSIGHT_SEVERITY_HIGH: 3
60305
- };
60306
-
60307
61696
  /**
60308
61697
  * @enum {number}
60309
61698
  */