@miradorlabs/web-grpc 2.42.0 → 2.45.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.
@@ -50,8 +50,12 @@ goog.exportSymbol('proto.gateway.web.v1.ListSessionEventsResponse', null, global
50
50
  goog.exportSymbol('proto.gateway.web.v1.ListSessionsRequest', null, global);
51
51
  goog.exportSymbol('proto.gateway.web.v1.ListSessionsResponse', null, global);
52
52
  goog.exportSymbol('proto.gateway.web.v1.ReplayCompleted', null, global);
53
+ goog.exportSymbol('proto.gateway.web.v1.SessionFrame', null, global);
54
+ goog.exportSymbol('proto.gateway.web.v1.SessionFrame.FrameCase', null, global);
55
+ goog.exportSymbol('proto.gateway.web.v1.SessionsSnapshotCompleted', null, global);
53
56
  goog.exportSymbol('proto.gateway.web.v1.StreamGitActivitiesRequest', null, global);
54
57
  goog.exportSymbol('proto.gateway.web.v1.StreamSessionEventsRequest', null, global);
58
+ goog.exportSymbol('proto.gateway.web.v1.StreamSessionsRequest', null, global);
55
59
  goog.exportSymbol('proto.gateway.web.v1.UpdatePrincipalRequest', null, global);
56
60
  goog.exportSymbol('proto.gateway.web.v1.UpdatePrincipalResponse', null, global);
57
61
  /**
@@ -138,6 +142,69 @@ if (goog.DEBUG && !COMPILED) {
138
142
  */
139
143
  proto.gateway.web.v1.AISession.displayName = 'proto.gateway.web.v1.AISession';
140
144
  }
145
+ /**
146
+ * Generated by JsPbCodeGenerator.
147
+ * @param {Array=} opt_data Optional initial data array, typically from a
148
+ * server response, or constructed directly in Javascript. The array is used
149
+ * in place and becomes part of the constructed object. It is not cloned.
150
+ * If no data is provided, the constructed object will be empty, but still
151
+ * valid.
152
+ * @extends {jspb.Message}
153
+ * @constructor
154
+ */
155
+ proto.gateway.web.v1.StreamSessionsRequest = function(opt_data) {
156
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
157
+ };
158
+ goog.inherits(proto.gateway.web.v1.StreamSessionsRequest, jspb.Message);
159
+ if (goog.DEBUG && !COMPILED) {
160
+ /**
161
+ * @public
162
+ * @override
163
+ */
164
+ proto.gateway.web.v1.StreamSessionsRequest.displayName = 'proto.gateway.web.v1.StreamSessionsRequest';
165
+ }
166
+ /**
167
+ * Generated by JsPbCodeGenerator.
168
+ * @param {Array=} opt_data Optional initial data array, typically from a
169
+ * server response, or constructed directly in Javascript. The array is used
170
+ * in place and becomes part of the constructed object. It is not cloned.
171
+ * If no data is provided, the constructed object will be empty, but still
172
+ * valid.
173
+ * @extends {jspb.Message}
174
+ * @constructor
175
+ */
176
+ proto.gateway.web.v1.SessionFrame = function(opt_data) {
177
+ jspb.Message.initialize(this, opt_data, 0, -1, null, proto.gateway.web.v1.SessionFrame.oneofGroups_);
178
+ };
179
+ goog.inherits(proto.gateway.web.v1.SessionFrame, jspb.Message);
180
+ if (goog.DEBUG && !COMPILED) {
181
+ /**
182
+ * @public
183
+ * @override
184
+ */
185
+ proto.gateway.web.v1.SessionFrame.displayName = 'proto.gateway.web.v1.SessionFrame';
186
+ }
187
+ /**
188
+ * Generated by JsPbCodeGenerator.
189
+ * @param {Array=} opt_data Optional initial data array, typically from a
190
+ * server response, or constructed directly in Javascript. The array is used
191
+ * in place and becomes part of the constructed object. It is not cloned.
192
+ * If no data is provided, the constructed object will be empty, but still
193
+ * valid.
194
+ * @extends {jspb.Message}
195
+ * @constructor
196
+ */
197
+ proto.gateway.web.v1.SessionsSnapshotCompleted = function(opt_data) {
198
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
199
+ };
200
+ goog.inherits(proto.gateway.web.v1.SessionsSnapshotCompleted, jspb.Message);
201
+ if (goog.DEBUG && !COMPILED) {
202
+ /**
203
+ * @public
204
+ * @override
205
+ */
206
+ proto.gateway.web.v1.SessionsSnapshotCompleted.displayName = 'proto.gateway.web.v1.SessionsSnapshotCompleted';
207
+ }
141
208
  /**
142
209
  * Generated by JsPbCodeGenerator.
143
210
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -1563,7 +1630,10 @@ pullRequestsCreated: jspb.Message.getFieldWithDefault(msg, 19, 0),
1563
1630
  pullRequestsMerged: jspb.Message.getFieldWithDefault(msg, 20, 0),
1564
1631
  gitOrgsList: (f = jspb.Message.getRepeatedField(msg, 21)) == null ? undefined : f,
1565
1632
  repositoriesList: (f = jspb.Message.getRepeatedField(msg, 22)) == null ? undefined : f,
1566
- filesTouched: jspb.Message.getFieldWithDefault(msg, 23, 0)
1633
+ filesTouched: jspb.Message.getFieldWithDefault(msg, 23, 0),
1634
+ sessionVersion: jspb.Message.getFieldWithDefault(msg, 24, 0),
1635
+ createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
1636
+ updatedAt: (f = msg.getUpdatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
1567
1637
  };
1568
1638
 
1569
1639
  if (includeInstance) {
@@ -1695,6 +1765,20 @@ proto.gateway.web.v1.AISession.deserializeBinaryFromReader = function(msg, reade
1695
1765
  var value = /** @type {number} */ (reader.readUint64());
1696
1766
  msg.setFilesTouched(value);
1697
1767
  break;
1768
+ case 24:
1769
+ var value = /** @type {number} */ (reader.readUint64());
1770
+ msg.setSessionVersion(value);
1771
+ break;
1772
+ case 25:
1773
+ var value = new google_protobuf_timestamp_pb.Timestamp;
1774
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
1775
+ msg.setCreatedAt(value);
1776
+ break;
1777
+ case 26:
1778
+ var value = new google_protobuf_timestamp_pb.Timestamp;
1779
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
1780
+ msg.setUpdatedAt(value);
1781
+ break;
1698
1782
  default:
1699
1783
  reader.skipField();
1700
1784
  break;
@@ -1888,6 +1972,29 @@ proto.gateway.web.v1.AISession.serializeBinaryToWriter = function(message, write
1888
1972
  f
1889
1973
  );
1890
1974
  }
1975
+ f = message.getSessionVersion();
1976
+ if (f !== 0) {
1977
+ writer.writeUint64(
1978
+ 24,
1979
+ f
1980
+ );
1981
+ }
1982
+ f = message.getCreatedAt();
1983
+ if (f != null) {
1984
+ writer.writeMessage(
1985
+ 25,
1986
+ f,
1987
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
1988
+ );
1989
+ }
1990
+ f = message.getUpdatedAt();
1991
+ if (f != null) {
1992
+ writer.writeMessage(
1993
+ 26,
1994
+ f,
1995
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
1996
+ );
1997
+ }
1891
1998
  };
1892
1999
 
1893
2000
 
@@ -2438,6 +2545,98 @@ proto.gateway.web.v1.AISession.prototype.setFilesTouched = function(value) {
2438
2545
  };
2439
2546
 
2440
2547
 
2548
+ /**
2549
+ * optional uint64 session_version = 24;
2550
+ * @return {number}
2551
+ */
2552
+ proto.gateway.web.v1.AISession.prototype.getSessionVersion = function() {
2553
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 24, 0));
2554
+ };
2555
+
2556
+
2557
+ /**
2558
+ * @param {number} value
2559
+ * @return {!proto.gateway.web.v1.AISession} returns this
2560
+ */
2561
+ proto.gateway.web.v1.AISession.prototype.setSessionVersion = function(value) {
2562
+ return jspb.Message.setProto3IntField(this, 24, value);
2563
+ };
2564
+
2565
+
2566
+ /**
2567
+ * optional google.protobuf.Timestamp created_at = 25;
2568
+ * @return {?proto.google.protobuf.Timestamp}
2569
+ */
2570
+ proto.gateway.web.v1.AISession.prototype.getCreatedAt = function() {
2571
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
2572
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 25));
2573
+ };
2574
+
2575
+
2576
+ /**
2577
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
2578
+ * @return {!proto.gateway.web.v1.AISession} returns this
2579
+ */
2580
+ proto.gateway.web.v1.AISession.prototype.setCreatedAt = function(value) {
2581
+ return jspb.Message.setWrapperField(this, 25, value);
2582
+ };
2583
+
2584
+
2585
+ /**
2586
+ * Clears the message field making it undefined.
2587
+ * @return {!proto.gateway.web.v1.AISession} returns this
2588
+ */
2589
+ proto.gateway.web.v1.AISession.prototype.clearCreatedAt = function() {
2590
+ return this.setCreatedAt(undefined);
2591
+ };
2592
+
2593
+
2594
+ /**
2595
+ * Returns whether this field is set.
2596
+ * @return {boolean}
2597
+ */
2598
+ proto.gateway.web.v1.AISession.prototype.hasCreatedAt = function() {
2599
+ return jspb.Message.getField(this, 25) != null;
2600
+ };
2601
+
2602
+
2603
+ /**
2604
+ * optional google.protobuf.Timestamp updated_at = 26;
2605
+ * @return {?proto.google.protobuf.Timestamp}
2606
+ */
2607
+ proto.gateway.web.v1.AISession.prototype.getUpdatedAt = function() {
2608
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
2609
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 26));
2610
+ };
2611
+
2612
+
2613
+ /**
2614
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
2615
+ * @return {!proto.gateway.web.v1.AISession} returns this
2616
+ */
2617
+ proto.gateway.web.v1.AISession.prototype.setUpdatedAt = function(value) {
2618
+ return jspb.Message.setWrapperField(this, 26, value);
2619
+ };
2620
+
2621
+
2622
+ /**
2623
+ * Clears the message field making it undefined.
2624
+ * @return {!proto.gateway.web.v1.AISession} returns this
2625
+ */
2626
+ proto.gateway.web.v1.AISession.prototype.clearUpdatedAt = function() {
2627
+ return this.setUpdatedAt(undefined);
2628
+ };
2629
+
2630
+
2631
+ /**
2632
+ * Returns whether this field is set.
2633
+ * @return {boolean}
2634
+ */
2635
+ proto.gateway.web.v1.AISession.prototype.hasUpdatedAt = function() {
2636
+ return jspb.Message.getField(this, 26) != null;
2637
+ };
2638
+
2639
+
2441
2640
 
2442
2641
 
2443
2642
 
@@ -2454,8 +2653,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
2454
2653
  * http://goto/soy-param-migration
2455
2654
  * @return {!Object}
2456
2655
  */
2457
- proto.gateway.web.v1.ListSessionEventsRequest.prototype.toObject = function(opt_includeInstance) {
2458
- return proto.gateway.web.v1.ListSessionEventsRequest.toObject(opt_includeInstance, this);
2656
+ proto.gateway.web.v1.StreamSessionsRequest.prototype.toObject = function(opt_includeInstance) {
2657
+ return proto.gateway.web.v1.StreamSessionsRequest.toObject(opt_includeInstance, this);
2459
2658
  };
2460
2659
 
2461
2660
 
@@ -2464,16 +2663,15 @@ proto.gateway.web.v1.ListSessionEventsRequest.prototype.toObject = function(opt_
2464
2663
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2465
2664
  * the JSPB instance for transitional soy proto support:
2466
2665
  * http://goto/soy-param-migration
2467
- * @param {!proto.gateway.web.v1.ListSessionEventsRequest} msg The msg instance to transform.
2666
+ * @param {!proto.gateway.web.v1.StreamSessionsRequest} msg The msg instance to transform.
2468
2667
  * @return {!Object}
2469
2668
  * @suppress {unusedLocalVariables} f is only used for nested messages
2470
2669
  */
2471
- proto.gateway.web.v1.ListSessionEventsRequest.toObject = function(includeInstance, msg) {
2670
+ proto.gateway.web.v1.StreamSessionsRequest.toObject = function(includeInstance, msg) {
2472
2671
  var f, obj = {
2473
2672
  organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""),
2474
2673
  projectId: jspb.Message.getFieldWithDefault(msg, 2, ""),
2475
- routingKey: jspb.Message.getFieldWithDefault(msg, 3, ""),
2476
- sourceSystem: jspb.Message.getFieldWithDefault(msg, 4, "")
2674
+ filter: (f = msg.getFilter()) && proto.gateway.web.v1.AISessionFilter.toObject(includeInstance, f)
2477
2675
  };
2478
2676
 
2479
2677
  if (includeInstance) {
@@ -2487,23 +2685,23 @@ sourceSystem: jspb.Message.getFieldWithDefault(msg, 4, "")
2487
2685
  /**
2488
2686
  * Deserializes binary data (in protobuf wire format).
2489
2687
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
2490
- * @return {!proto.gateway.web.v1.ListSessionEventsRequest}
2688
+ * @return {!proto.gateway.web.v1.StreamSessionsRequest}
2491
2689
  */
2492
- proto.gateway.web.v1.ListSessionEventsRequest.deserializeBinary = function(bytes) {
2690
+ proto.gateway.web.v1.StreamSessionsRequest.deserializeBinary = function(bytes) {
2493
2691
  var reader = new jspb.BinaryReader(bytes);
2494
- var msg = new proto.gateway.web.v1.ListSessionEventsRequest;
2495
- return proto.gateway.web.v1.ListSessionEventsRequest.deserializeBinaryFromReader(msg, reader);
2692
+ var msg = new proto.gateway.web.v1.StreamSessionsRequest;
2693
+ return proto.gateway.web.v1.StreamSessionsRequest.deserializeBinaryFromReader(msg, reader);
2496
2694
  };
2497
2695
 
2498
2696
 
2499
2697
  /**
2500
2698
  * Deserializes binary data (in protobuf wire format) from the
2501
2699
  * given reader into the given message object.
2502
- * @param {!proto.gateway.web.v1.ListSessionEventsRequest} msg The message object to deserialize into.
2700
+ * @param {!proto.gateway.web.v1.StreamSessionsRequest} msg The message object to deserialize into.
2503
2701
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2504
- * @return {!proto.gateway.web.v1.ListSessionEventsRequest}
2702
+ * @return {!proto.gateway.web.v1.StreamSessionsRequest}
2505
2703
  */
2506
- proto.gateway.web.v1.ListSessionEventsRequest.deserializeBinaryFromReader = function(msg, reader) {
2704
+ proto.gateway.web.v1.StreamSessionsRequest.deserializeBinaryFromReader = function(msg, reader) {
2507
2705
  while (reader.nextField()) {
2508
2706
  if (reader.isEndGroup()) {
2509
2707
  break;
@@ -2519,12 +2717,9 @@ proto.gateway.web.v1.ListSessionEventsRequest.deserializeBinaryFromReader = func
2519
2717
  msg.setProjectId(value);
2520
2718
  break;
2521
2719
  case 3:
2522
- var value = /** @type {string} */ (reader.readString());
2523
- msg.setRoutingKey(value);
2524
- break;
2525
- case 4:
2526
- var value = /** @type {string} */ (reader.readString());
2527
- msg.setSourceSystem(value);
2720
+ var value = new proto.gateway.web.v1.AISessionFilter;
2721
+ reader.readMessage(value,proto.gateway.web.v1.AISessionFilter.deserializeBinaryFromReader);
2722
+ msg.setFilter(value);
2528
2723
  break;
2529
2724
  default:
2530
2725
  reader.skipField();
@@ -2539,9 +2734,9 @@ proto.gateway.web.v1.ListSessionEventsRequest.deserializeBinaryFromReader = func
2539
2734
  * Serializes the message to binary data (in protobuf wire format).
2540
2735
  * @return {!Uint8Array}
2541
2736
  */
2542
- proto.gateway.web.v1.ListSessionEventsRequest.prototype.serializeBinary = function() {
2737
+ proto.gateway.web.v1.StreamSessionsRequest.prototype.serializeBinary = function() {
2543
2738
  var writer = new jspb.BinaryWriter();
2544
- proto.gateway.web.v1.ListSessionEventsRequest.serializeBinaryToWriter(this, writer);
2739
+ proto.gateway.web.v1.StreamSessionsRequest.serializeBinaryToWriter(this, writer);
2545
2740
  return writer.getResultBuffer();
2546
2741
  };
2547
2742
 
@@ -2549,11 +2744,11 @@ proto.gateway.web.v1.ListSessionEventsRequest.prototype.serializeBinary = functi
2549
2744
  /**
2550
2745
  * Serializes the given message to binary data (in protobuf wire
2551
2746
  * format), writing to the given BinaryWriter.
2552
- * @param {!proto.gateway.web.v1.ListSessionEventsRequest} message
2747
+ * @param {!proto.gateway.web.v1.StreamSessionsRequest} message
2553
2748
  * @param {!jspb.BinaryWriter} writer
2554
2749
  * @suppress {unusedLocalVariables} f is only used for nested messages
2555
2750
  */
2556
- proto.gateway.web.v1.ListSessionEventsRequest.serializeBinaryToWriter = function(message, writer) {
2751
+ proto.gateway.web.v1.StreamSessionsRequest.serializeBinaryToWriter = function(message, writer) {
2557
2752
  var f = undefined;
2558
2753
  f = message.getOrganizationId();
2559
2754
  if (f.length > 0) {
@@ -2569,18 +2764,12 @@ proto.gateway.web.v1.ListSessionEventsRequest.serializeBinaryToWriter = function
2569
2764
  f
2570
2765
  );
2571
2766
  }
2572
- f = message.getRoutingKey();
2573
- if (f.length > 0) {
2574
- writer.writeString(
2767
+ f = message.getFilter();
2768
+ if (f != null) {
2769
+ writer.writeMessage(
2575
2770
  3,
2576
- f
2577
- );
2578
- }
2579
- f = message.getSourceSystem();
2580
- if (f.length > 0) {
2581
- writer.writeString(
2582
- 4,
2583
- f
2771
+ f,
2772
+ proto.gateway.web.v1.AISessionFilter.serializeBinaryToWriter
2584
2773
  );
2585
2774
  }
2586
2775
  };
@@ -2590,16 +2779,16 @@ proto.gateway.web.v1.ListSessionEventsRequest.serializeBinaryToWriter = function
2590
2779
  * optional string organization_id = 1;
2591
2780
  * @return {string}
2592
2781
  */
2593
- proto.gateway.web.v1.ListSessionEventsRequest.prototype.getOrganizationId = function() {
2782
+ proto.gateway.web.v1.StreamSessionsRequest.prototype.getOrganizationId = function() {
2594
2783
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
2595
2784
  };
2596
2785
 
2597
2786
 
2598
2787
  /**
2599
2788
  * @param {string} value
2600
- * @return {!proto.gateway.web.v1.ListSessionEventsRequest} returns this
2789
+ * @return {!proto.gateway.web.v1.StreamSessionsRequest} returns this
2601
2790
  */
2602
- proto.gateway.web.v1.ListSessionEventsRequest.prototype.setOrganizationId = function(value) {
2791
+ proto.gateway.web.v1.StreamSessionsRequest.prototype.setOrganizationId = function(value) {
2603
2792
  return jspb.Message.setProto3StringField(this, 1, value);
2604
2793
  };
2605
2794
 
@@ -2608,63 +2797,83 @@ proto.gateway.web.v1.ListSessionEventsRequest.prototype.setOrganizationId = func
2608
2797
  * optional string project_id = 2;
2609
2798
  * @return {string}
2610
2799
  */
2611
- proto.gateway.web.v1.ListSessionEventsRequest.prototype.getProjectId = function() {
2800
+ proto.gateway.web.v1.StreamSessionsRequest.prototype.getProjectId = function() {
2612
2801
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
2613
2802
  };
2614
2803
 
2615
2804
 
2616
2805
  /**
2617
2806
  * @param {string} value
2618
- * @return {!proto.gateway.web.v1.ListSessionEventsRequest} returns this
2807
+ * @return {!proto.gateway.web.v1.StreamSessionsRequest} returns this
2619
2808
  */
2620
- proto.gateway.web.v1.ListSessionEventsRequest.prototype.setProjectId = function(value) {
2809
+ proto.gateway.web.v1.StreamSessionsRequest.prototype.setProjectId = function(value) {
2621
2810
  return jspb.Message.setProto3StringField(this, 2, value);
2622
2811
  };
2623
2812
 
2624
2813
 
2625
2814
  /**
2626
- * optional string routing_key = 3;
2627
- * @return {string}
2815
+ * optional AISessionFilter filter = 3;
2816
+ * @return {?proto.gateway.web.v1.AISessionFilter}
2628
2817
  */
2629
- proto.gateway.web.v1.ListSessionEventsRequest.prototype.getRoutingKey = function() {
2630
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
2818
+ proto.gateway.web.v1.StreamSessionsRequest.prototype.getFilter = function() {
2819
+ return /** @type{?proto.gateway.web.v1.AISessionFilter} */ (
2820
+ jspb.Message.getWrapperField(this, proto.gateway.web.v1.AISessionFilter, 3));
2631
2821
  };
2632
2822
 
2633
2823
 
2634
2824
  /**
2635
- * @param {string} value
2636
- * @return {!proto.gateway.web.v1.ListSessionEventsRequest} returns this
2637
- */
2638
- proto.gateway.web.v1.ListSessionEventsRequest.prototype.setRoutingKey = function(value) {
2639
- return jspb.Message.setProto3StringField(this, 3, value);
2825
+ * @param {?proto.gateway.web.v1.AISessionFilter|undefined} value
2826
+ * @return {!proto.gateway.web.v1.StreamSessionsRequest} returns this
2827
+ */
2828
+ proto.gateway.web.v1.StreamSessionsRequest.prototype.setFilter = function(value) {
2829
+ return jspb.Message.setWrapperField(this, 3, value);
2640
2830
  };
2641
2831
 
2642
2832
 
2643
2833
  /**
2644
- * optional string source_system = 4;
2645
- * @return {string}
2834
+ * Clears the message field making it undefined.
2835
+ * @return {!proto.gateway.web.v1.StreamSessionsRequest} returns this
2646
2836
  */
2647
- proto.gateway.web.v1.ListSessionEventsRequest.prototype.getSourceSystem = function() {
2648
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
2837
+ proto.gateway.web.v1.StreamSessionsRequest.prototype.clearFilter = function() {
2838
+ return this.setFilter(undefined);
2649
2839
  };
2650
2840
 
2651
2841
 
2652
2842
  /**
2653
- * @param {string} value
2654
- * @return {!proto.gateway.web.v1.ListSessionEventsRequest} returns this
2843
+ * Returns whether this field is set.
2844
+ * @return {boolean}
2655
2845
  */
2656
- proto.gateway.web.v1.ListSessionEventsRequest.prototype.setSourceSystem = function(value) {
2657
- return jspb.Message.setProto3StringField(this, 4, value);
2846
+ proto.gateway.web.v1.StreamSessionsRequest.prototype.hasFilter = function() {
2847
+ return jspb.Message.getField(this, 3) != null;
2658
2848
  };
2659
2849
 
2660
2850
 
2661
2851
 
2662
2852
  /**
2663
- * List of repeated fields within this message type.
2664
- * @private {!Array<number>}
2853
+ * Oneof group definitions for this message. Each group defines the field
2854
+ * numbers belonging to that group. When of these fields' value is set, all
2855
+ * other fields in the group are cleared. During deserialization, if multiple
2856
+ * fields are encountered for a group, only the last value seen will be kept.
2857
+ * @private {!Array<!Array<number>>}
2665
2858
  * @const
2666
2859
  */
2667
- proto.gateway.web.v1.ListSessionEventsResponse.repeatedFields_ = [2];
2860
+ proto.gateway.web.v1.SessionFrame.oneofGroups_ = [[1,2]];
2861
+
2862
+ /**
2863
+ * @enum {number}
2864
+ */
2865
+ proto.gateway.web.v1.SessionFrame.FrameCase = {
2866
+ FRAME_NOT_SET: 0,
2867
+ UPSERT: 1,
2868
+ SNAPSHOT_COMPLETED: 2
2869
+ };
2870
+
2871
+ /**
2872
+ * @return {proto.gateway.web.v1.SessionFrame.FrameCase}
2873
+ */
2874
+ proto.gateway.web.v1.SessionFrame.prototype.getFrameCase = function() {
2875
+ return /** @type {proto.gateway.web.v1.SessionFrame.FrameCase} */(jspb.Message.computeOneofCase(this, proto.gateway.web.v1.SessionFrame.oneofGroups_[0]));
2876
+ };
2668
2877
 
2669
2878
 
2670
2879
 
@@ -2681,8 +2890,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
2681
2890
  * http://goto/soy-param-migration
2682
2891
  * @return {!Object}
2683
2892
  */
2684
- proto.gateway.web.v1.ListSessionEventsResponse.prototype.toObject = function(opt_includeInstance) {
2685
- return proto.gateway.web.v1.ListSessionEventsResponse.toObject(opt_includeInstance, this);
2893
+ proto.gateway.web.v1.SessionFrame.prototype.toObject = function(opt_includeInstance) {
2894
+ return proto.gateway.web.v1.SessionFrame.toObject(opt_includeInstance, this);
2686
2895
  };
2687
2896
 
2688
2897
 
@@ -2691,14 +2900,544 @@ proto.gateway.web.v1.ListSessionEventsResponse.prototype.toObject = function(opt
2691
2900
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2692
2901
  * the JSPB instance for transitional soy proto support:
2693
2902
  * http://goto/soy-param-migration
2694
- * @param {!proto.gateway.web.v1.ListSessionEventsResponse} msg The msg instance to transform.
2903
+ * @param {!proto.gateway.web.v1.SessionFrame} msg The msg instance to transform.
2695
2904
  * @return {!Object}
2696
2905
  * @suppress {unusedLocalVariables} f is only used for nested messages
2697
2906
  */
2698
- proto.gateway.web.v1.ListSessionEventsResponse.toObject = function(includeInstance, msg) {
2907
+ proto.gateway.web.v1.SessionFrame.toObject = function(includeInstance, msg) {
2699
2908
  var f, obj = {
2700
- status: (f = msg.getStatus()) && proto_gateway_common_v1_status_pb.ResponseStatus.toObject(includeInstance, f),
2701
- eventsList: jspb.Message.toObjectList(msg.getEventsList(),
2909
+ upsert: (f = msg.getUpsert()) && proto.gateway.web.v1.AISession.toObject(includeInstance, f),
2910
+ snapshotCompleted: (f = msg.getSnapshotCompleted()) && proto.gateway.web.v1.SessionsSnapshotCompleted.toObject(includeInstance, f)
2911
+ };
2912
+
2913
+ if (includeInstance) {
2914
+ obj.$jspbMessageInstance = msg;
2915
+ }
2916
+ return obj;
2917
+ };
2918
+ }
2919
+
2920
+
2921
+ /**
2922
+ * Deserializes binary data (in protobuf wire format).
2923
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2924
+ * @return {!proto.gateway.web.v1.SessionFrame}
2925
+ */
2926
+ proto.gateway.web.v1.SessionFrame.deserializeBinary = function(bytes) {
2927
+ var reader = new jspb.BinaryReader(bytes);
2928
+ var msg = new proto.gateway.web.v1.SessionFrame;
2929
+ return proto.gateway.web.v1.SessionFrame.deserializeBinaryFromReader(msg, reader);
2930
+ };
2931
+
2932
+
2933
+ /**
2934
+ * Deserializes binary data (in protobuf wire format) from the
2935
+ * given reader into the given message object.
2936
+ * @param {!proto.gateway.web.v1.SessionFrame} msg The message object to deserialize into.
2937
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2938
+ * @return {!proto.gateway.web.v1.SessionFrame}
2939
+ */
2940
+ proto.gateway.web.v1.SessionFrame.deserializeBinaryFromReader = function(msg, reader) {
2941
+ while (reader.nextField()) {
2942
+ if (reader.isEndGroup()) {
2943
+ break;
2944
+ }
2945
+ var field = reader.getFieldNumber();
2946
+ switch (field) {
2947
+ case 1:
2948
+ var value = new proto.gateway.web.v1.AISession;
2949
+ reader.readMessage(value,proto.gateway.web.v1.AISession.deserializeBinaryFromReader);
2950
+ msg.setUpsert(value);
2951
+ break;
2952
+ case 2:
2953
+ var value = new proto.gateway.web.v1.SessionsSnapshotCompleted;
2954
+ reader.readMessage(value,proto.gateway.web.v1.SessionsSnapshotCompleted.deserializeBinaryFromReader);
2955
+ msg.setSnapshotCompleted(value);
2956
+ break;
2957
+ default:
2958
+ reader.skipField();
2959
+ break;
2960
+ }
2961
+ }
2962
+ return msg;
2963
+ };
2964
+
2965
+
2966
+ /**
2967
+ * Serializes the message to binary data (in protobuf wire format).
2968
+ * @return {!Uint8Array}
2969
+ */
2970
+ proto.gateway.web.v1.SessionFrame.prototype.serializeBinary = function() {
2971
+ var writer = new jspb.BinaryWriter();
2972
+ proto.gateway.web.v1.SessionFrame.serializeBinaryToWriter(this, writer);
2973
+ return writer.getResultBuffer();
2974
+ };
2975
+
2976
+
2977
+ /**
2978
+ * Serializes the given message to binary data (in protobuf wire
2979
+ * format), writing to the given BinaryWriter.
2980
+ * @param {!proto.gateway.web.v1.SessionFrame} message
2981
+ * @param {!jspb.BinaryWriter} writer
2982
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2983
+ */
2984
+ proto.gateway.web.v1.SessionFrame.serializeBinaryToWriter = function(message, writer) {
2985
+ var f = undefined;
2986
+ f = message.getUpsert();
2987
+ if (f != null) {
2988
+ writer.writeMessage(
2989
+ 1,
2990
+ f,
2991
+ proto.gateway.web.v1.AISession.serializeBinaryToWriter
2992
+ );
2993
+ }
2994
+ f = message.getSnapshotCompleted();
2995
+ if (f != null) {
2996
+ writer.writeMessage(
2997
+ 2,
2998
+ f,
2999
+ proto.gateway.web.v1.SessionsSnapshotCompleted.serializeBinaryToWriter
3000
+ );
3001
+ }
3002
+ };
3003
+
3004
+
3005
+ /**
3006
+ * optional AISession upsert = 1;
3007
+ * @return {?proto.gateway.web.v1.AISession}
3008
+ */
3009
+ proto.gateway.web.v1.SessionFrame.prototype.getUpsert = function() {
3010
+ return /** @type{?proto.gateway.web.v1.AISession} */ (
3011
+ jspb.Message.getWrapperField(this, proto.gateway.web.v1.AISession, 1));
3012
+ };
3013
+
3014
+
3015
+ /**
3016
+ * @param {?proto.gateway.web.v1.AISession|undefined} value
3017
+ * @return {!proto.gateway.web.v1.SessionFrame} returns this
3018
+ */
3019
+ proto.gateway.web.v1.SessionFrame.prototype.setUpsert = function(value) {
3020
+ return jspb.Message.setOneofWrapperField(this, 1, proto.gateway.web.v1.SessionFrame.oneofGroups_[0], value);
3021
+ };
3022
+
3023
+
3024
+ /**
3025
+ * Clears the message field making it undefined.
3026
+ * @return {!proto.gateway.web.v1.SessionFrame} returns this
3027
+ */
3028
+ proto.gateway.web.v1.SessionFrame.prototype.clearUpsert = function() {
3029
+ return this.setUpsert(undefined);
3030
+ };
3031
+
3032
+
3033
+ /**
3034
+ * Returns whether this field is set.
3035
+ * @return {boolean}
3036
+ */
3037
+ proto.gateway.web.v1.SessionFrame.prototype.hasUpsert = function() {
3038
+ return jspb.Message.getField(this, 1) != null;
3039
+ };
3040
+
3041
+
3042
+ /**
3043
+ * optional SessionsSnapshotCompleted snapshot_completed = 2;
3044
+ * @return {?proto.gateway.web.v1.SessionsSnapshotCompleted}
3045
+ */
3046
+ proto.gateway.web.v1.SessionFrame.prototype.getSnapshotCompleted = function() {
3047
+ return /** @type{?proto.gateway.web.v1.SessionsSnapshotCompleted} */ (
3048
+ jspb.Message.getWrapperField(this, proto.gateway.web.v1.SessionsSnapshotCompleted, 2));
3049
+ };
3050
+
3051
+
3052
+ /**
3053
+ * @param {?proto.gateway.web.v1.SessionsSnapshotCompleted|undefined} value
3054
+ * @return {!proto.gateway.web.v1.SessionFrame} returns this
3055
+ */
3056
+ proto.gateway.web.v1.SessionFrame.prototype.setSnapshotCompleted = function(value) {
3057
+ return jspb.Message.setOneofWrapperField(this, 2, proto.gateway.web.v1.SessionFrame.oneofGroups_[0], value);
3058
+ };
3059
+
3060
+
3061
+ /**
3062
+ * Clears the message field making it undefined.
3063
+ * @return {!proto.gateway.web.v1.SessionFrame} returns this
3064
+ */
3065
+ proto.gateway.web.v1.SessionFrame.prototype.clearSnapshotCompleted = function() {
3066
+ return this.setSnapshotCompleted(undefined);
3067
+ };
3068
+
3069
+
3070
+ /**
3071
+ * Returns whether this field is set.
3072
+ * @return {boolean}
3073
+ */
3074
+ proto.gateway.web.v1.SessionFrame.prototype.hasSnapshotCompleted = function() {
3075
+ return jspb.Message.getField(this, 2) != null;
3076
+ };
3077
+
3078
+
3079
+
3080
+
3081
+
3082
+ if (jspb.Message.GENERATE_TO_OBJECT) {
3083
+ /**
3084
+ * Creates an object representation of this proto.
3085
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
3086
+ * Optional fields that are not set will be set to undefined.
3087
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3088
+ * For the list of reserved names please see:
3089
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3090
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3091
+ * JSPB instance for transitional soy proto support:
3092
+ * http://goto/soy-param-migration
3093
+ * @return {!Object}
3094
+ */
3095
+ proto.gateway.web.v1.SessionsSnapshotCompleted.prototype.toObject = function(opt_includeInstance) {
3096
+ return proto.gateway.web.v1.SessionsSnapshotCompleted.toObject(opt_includeInstance, this);
3097
+ };
3098
+
3099
+
3100
+ /**
3101
+ * Static version of the {@see toObject} method.
3102
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3103
+ * the JSPB instance for transitional soy proto support:
3104
+ * http://goto/soy-param-migration
3105
+ * @param {!proto.gateway.web.v1.SessionsSnapshotCompleted} msg The msg instance to transform.
3106
+ * @return {!Object}
3107
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3108
+ */
3109
+ proto.gateway.web.v1.SessionsSnapshotCompleted.toObject = function(includeInstance, msg) {
3110
+ var f, obj = {
3111
+
3112
+ };
3113
+
3114
+ if (includeInstance) {
3115
+ obj.$jspbMessageInstance = msg;
3116
+ }
3117
+ return obj;
3118
+ };
3119
+ }
3120
+
3121
+
3122
+ /**
3123
+ * Deserializes binary data (in protobuf wire format).
3124
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
3125
+ * @return {!proto.gateway.web.v1.SessionsSnapshotCompleted}
3126
+ */
3127
+ proto.gateway.web.v1.SessionsSnapshotCompleted.deserializeBinary = function(bytes) {
3128
+ var reader = new jspb.BinaryReader(bytes);
3129
+ var msg = new proto.gateway.web.v1.SessionsSnapshotCompleted;
3130
+ return proto.gateway.web.v1.SessionsSnapshotCompleted.deserializeBinaryFromReader(msg, reader);
3131
+ };
3132
+
3133
+
3134
+ /**
3135
+ * Deserializes binary data (in protobuf wire format) from the
3136
+ * given reader into the given message object.
3137
+ * @param {!proto.gateway.web.v1.SessionsSnapshotCompleted} msg The message object to deserialize into.
3138
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3139
+ * @return {!proto.gateway.web.v1.SessionsSnapshotCompleted}
3140
+ */
3141
+ proto.gateway.web.v1.SessionsSnapshotCompleted.deserializeBinaryFromReader = function(msg, reader) {
3142
+ while (reader.nextField()) {
3143
+ if (reader.isEndGroup()) {
3144
+ break;
3145
+ }
3146
+ var field = reader.getFieldNumber();
3147
+ switch (field) {
3148
+ default:
3149
+ reader.skipField();
3150
+ break;
3151
+ }
3152
+ }
3153
+ return msg;
3154
+ };
3155
+
3156
+
3157
+ /**
3158
+ * Serializes the message to binary data (in protobuf wire format).
3159
+ * @return {!Uint8Array}
3160
+ */
3161
+ proto.gateway.web.v1.SessionsSnapshotCompleted.prototype.serializeBinary = function() {
3162
+ var writer = new jspb.BinaryWriter();
3163
+ proto.gateway.web.v1.SessionsSnapshotCompleted.serializeBinaryToWriter(this, writer);
3164
+ return writer.getResultBuffer();
3165
+ };
3166
+
3167
+
3168
+ /**
3169
+ * Serializes the given message to binary data (in protobuf wire
3170
+ * format), writing to the given BinaryWriter.
3171
+ * @param {!proto.gateway.web.v1.SessionsSnapshotCompleted} message
3172
+ * @param {!jspb.BinaryWriter} writer
3173
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3174
+ */
3175
+ proto.gateway.web.v1.SessionsSnapshotCompleted.serializeBinaryToWriter = function(message, writer) {
3176
+ var f = undefined;
3177
+ };
3178
+
3179
+
3180
+
3181
+
3182
+
3183
+ if (jspb.Message.GENERATE_TO_OBJECT) {
3184
+ /**
3185
+ * Creates an object representation of this proto.
3186
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
3187
+ * Optional fields that are not set will be set to undefined.
3188
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3189
+ * For the list of reserved names please see:
3190
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3191
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3192
+ * JSPB instance for transitional soy proto support:
3193
+ * http://goto/soy-param-migration
3194
+ * @return {!Object}
3195
+ */
3196
+ proto.gateway.web.v1.ListSessionEventsRequest.prototype.toObject = function(opt_includeInstance) {
3197
+ return proto.gateway.web.v1.ListSessionEventsRequest.toObject(opt_includeInstance, this);
3198
+ };
3199
+
3200
+
3201
+ /**
3202
+ * Static version of the {@see toObject} method.
3203
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3204
+ * the JSPB instance for transitional soy proto support:
3205
+ * http://goto/soy-param-migration
3206
+ * @param {!proto.gateway.web.v1.ListSessionEventsRequest} msg The msg instance to transform.
3207
+ * @return {!Object}
3208
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3209
+ */
3210
+ proto.gateway.web.v1.ListSessionEventsRequest.toObject = function(includeInstance, msg) {
3211
+ var f, obj = {
3212
+ organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""),
3213
+ projectId: jspb.Message.getFieldWithDefault(msg, 2, ""),
3214
+ routingKey: jspb.Message.getFieldWithDefault(msg, 3, ""),
3215
+ sourceSystem: jspb.Message.getFieldWithDefault(msg, 4, "")
3216
+ };
3217
+
3218
+ if (includeInstance) {
3219
+ obj.$jspbMessageInstance = msg;
3220
+ }
3221
+ return obj;
3222
+ };
3223
+ }
3224
+
3225
+
3226
+ /**
3227
+ * Deserializes binary data (in protobuf wire format).
3228
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
3229
+ * @return {!proto.gateway.web.v1.ListSessionEventsRequest}
3230
+ */
3231
+ proto.gateway.web.v1.ListSessionEventsRequest.deserializeBinary = function(bytes) {
3232
+ var reader = new jspb.BinaryReader(bytes);
3233
+ var msg = new proto.gateway.web.v1.ListSessionEventsRequest;
3234
+ return proto.gateway.web.v1.ListSessionEventsRequest.deserializeBinaryFromReader(msg, reader);
3235
+ };
3236
+
3237
+
3238
+ /**
3239
+ * Deserializes binary data (in protobuf wire format) from the
3240
+ * given reader into the given message object.
3241
+ * @param {!proto.gateway.web.v1.ListSessionEventsRequest} msg The message object to deserialize into.
3242
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3243
+ * @return {!proto.gateway.web.v1.ListSessionEventsRequest}
3244
+ */
3245
+ proto.gateway.web.v1.ListSessionEventsRequest.deserializeBinaryFromReader = function(msg, reader) {
3246
+ while (reader.nextField()) {
3247
+ if (reader.isEndGroup()) {
3248
+ break;
3249
+ }
3250
+ var field = reader.getFieldNumber();
3251
+ switch (field) {
3252
+ case 1:
3253
+ var value = /** @type {string} */ (reader.readString());
3254
+ msg.setOrganizationId(value);
3255
+ break;
3256
+ case 2:
3257
+ var value = /** @type {string} */ (reader.readString());
3258
+ msg.setProjectId(value);
3259
+ break;
3260
+ case 3:
3261
+ var value = /** @type {string} */ (reader.readString());
3262
+ msg.setRoutingKey(value);
3263
+ break;
3264
+ case 4:
3265
+ var value = /** @type {string} */ (reader.readString());
3266
+ msg.setSourceSystem(value);
3267
+ break;
3268
+ default:
3269
+ reader.skipField();
3270
+ break;
3271
+ }
3272
+ }
3273
+ return msg;
3274
+ };
3275
+
3276
+
3277
+ /**
3278
+ * Serializes the message to binary data (in protobuf wire format).
3279
+ * @return {!Uint8Array}
3280
+ */
3281
+ proto.gateway.web.v1.ListSessionEventsRequest.prototype.serializeBinary = function() {
3282
+ var writer = new jspb.BinaryWriter();
3283
+ proto.gateway.web.v1.ListSessionEventsRequest.serializeBinaryToWriter(this, writer);
3284
+ return writer.getResultBuffer();
3285
+ };
3286
+
3287
+
3288
+ /**
3289
+ * Serializes the given message to binary data (in protobuf wire
3290
+ * format), writing to the given BinaryWriter.
3291
+ * @param {!proto.gateway.web.v1.ListSessionEventsRequest} message
3292
+ * @param {!jspb.BinaryWriter} writer
3293
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3294
+ */
3295
+ proto.gateway.web.v1.ListSessionEventsRequest.serializeBinaryToWriter = function(message, writer) {
3296
+ var f = undefined;
3297
+ f = message.getOrganizationId();
3298
+ if (f.length > 0) {
3299
+ writer.writeString(
3300
+ 1,
3301
+ f
3302
+ );
3303
+ }
3304
+ f = message.getProjectId();
3305
+ if (f.length > 0) {
3306
+ writer.writeString(
3307
+ 2,
3308
+ f
3309
+ );
3310
+ }
3311
+ f = message.getRoutingKey();
3312
+ if (f.length > 0) {
3313
+ writer.writeString(
3314
+ 3,
3315
+ f
3316
+ );
3317
+ }
3318
+ f = message.getSourceSystem();
3319
+ if (f.length > 0) {
3320
+ writer.writeString(
3321
+ 4,
3322
+ f
3323
+ );
3324
+ }
3325
+ };
3326
+
3327
+
3328
+ /**
3329
+ * optional string organization_id = 1;
3330
+ * @return {string}
3331
+ */
3332
+ proto.gateway.web.v1.ListSessionEventsRequest.prototype.getOrganizationId = function() {
3333
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
3334
+ };
3335
+
3336
+
3337
+ /**
3338
+ * @param {string} value
3339
+ * @return {!proto.gateway.web.v1.ListSessionEventsRequest} returns this
3340
+ */
3341
+ proto.gateway.web.v1.ListSessionEventsRequest.prototype.setOrganizationId = function(value) {
3342
+ return jspb.Message.setProto3StringField(this, 1, value);
3343
+ };
3344
+
3345
+
3346
+ /**
3347
+ * optional string project_id = 2;
3348
+ * @return {string}
3349
+ */
3350
+ proto.gateway.web.v1.ListSessionEventsRequest.prototype.getProjectId = function() {
3351
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
3352
+ };
3353
+
3354
+
3355
+ /**
3356
+ * @param {string} value
3357
+ * @return {!proto.gateway.web.v1.ListSessionEventsRequest} returns this
3358
+ */
3359
+ proto.gateway.web.v1.ListSessionEventsRequest.prototype.setProjectId = function(value) {
3360
+ return jspb.Message.setProto3StringField(this, 2, value);
3361
+ };
3362
+
3363
+
3364
+ /**
3365
+ * optional string routing_key = 3;
3366
+ * @return {string}
3367
+ */
3368
+ proto.gateway.web.v1.ListSessionEventsRequest.prototype.getRoutingKey = function() {
3369
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
3370
+ };
3371
+
3372
+
3373
+ /**
3374
+ * @param {string} value
3375
+ * @return {!proto.gateway.web.v1.ListSessionEventsRequest} returns this
3376
+ */
3377
+ proto.gateway.web.v1.ListSessionEventsRequest.prototype.setRoutingKey = function(value) {
3378
+ return jspb.Message.setProto3StringField(this, 3, value);
3379
+ };
3380
+
3381
+
3382
+ /**
3383
+ * optional string source_system = 4;
3384
+ * @return {string}
3385
+ */
3386
+ proto.gateway.web.v1.ListSessionEventsRequest.prototype.getSourceSystem = function() {
3387
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
3388
+ };
3389
+
3390
+
3391
+ /**
3392
+ * @param {string} value
3393
+ * @return {!proto.gateway.web.v1.ListSessionEventsRequest} returns this
3394
+ */
3395
+ proto.gateway.web.v1.ListSessionEventsRequest.prototype.setSourceSystem = function(value) {
3396
+ return jspb.Message.setProto3StringField(this, 4, value);
3397
+ };
3398
+
3399
+
3400
+
3401
+ /**
3402
+ * List of repeated fields within this message type.
3403
+ * @private {!Array<number>}
3404
+ * @const
3405
+ */
3406
+ proto.gateway.web.v1.ListSessionEventsResponse.repeatedFields_ = [2];
3407
+
3408
+
3409
+
3410
+ if (jspb.Message.GENERATE_TO_OBJECT) {
3411
+ /**
3412
+ * Creates an object representation of this proto.
3413
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
3414
+ * Optional fields that are not set will be set to undefined.
3415
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3416
+ * For the list of reserved names please see:
3417
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3418
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3419
+ * JSPB instance for transitional soy proto support:
3420
+ * http://goto/soy-param-migration
3421
+ * @return {!Object}
3422
+ */
3423
+ proto.gateway.web.v1.ListSessionEventsResponse.prototype.toObject = function(opt_includeInstance) {
3424
+ return proto.gateway.web.v1.ListSessionEventsResponse.toObject(opt_includeInstance, this);
3425
+ };
3426
+
3427
+
3428
+ /**
3429
+ * Static version of the {@see toObject} method.
3430
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3431
+ * the JSPB instance for transitional soy proto support:
3432
+ * http://goto/soy-param-migration
3433
+ * @param {!proto.gateway.web.v1.ListSessionEventsResponse} msg The msg instance to transform.
3434
+ * @return {!Object}
3435
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3436
+ */
3437
+ proto.gateway.web.v1.ListSessionEventsResponse.toObject = function(includeInstance, msg) {
3438
+ var f, obj = {
3439
+ status: (f = msg.getStatus()) && proto_gateway_common_v1_status_pb.ResponseStatus.toObject(includeInstance, f),
3440
+ eventsList: jspb.Message.toObjectList(msg.getEventsList(),
2702
3441
  proto.gateway.web.v1.AISessionEvent.toObject, includeInstance)
2703
3442
  };
2704
3443
 
@@ -4624,7 +5363,8 @@ proto.gateway.web.v1.ListPrincipalsResponse.toObject = function(includeInstance,
4624
5363
  status: (f = msg.getStatus()) && proto_gateway_common_v1_status_pb.ResponseStatus.toObject(includeInstance, f),
4625
5364
  principalsList: jspb.Message.toObjectList(msg.getPrincipalsList(),
4626
5365
  proto.gateway.web.v1.AIPrincipal.toObject, includeInstance),
4627
- nextPageToken: jspb.Message.getFieldWithDefault(msg, 3, "")
5366
+ nextPageToken: jspb.Message.getFieldWithDefault(msg, 3, ""),
5367
+ totalCount: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f
4628
5368
  };
4629
5369
 
4630
5370
  if (includeInstance) {
@@ -4675,6 +5415,10 @@ proto.gateway.web.v1.ListPrincipalsResponse.deserializeBinaryFromReader = functi
4675
5415
  var value = /** @type {string} */ (reader.readString());
4676
5416
  msg.setNextPageToken(value);
4677
5417
  break;
5418
+ case 4:
5419
+ var value = /** @type {number} */ (reader.readInt64());
5420
+ msg.setTotalCount(value);
5421
+ break;
4678
5422
  default:
4679
5423
  reader.skipField();
4680
5424
  break;
@@ -4727,6 +5471,13 @@ proto.gateway.web.v1.ListPrincipalsResponse.serializeBinaryToWriter = function(m
4727
5471
  f
4728
5472
  );
4729
5473
  }
5474
+ f = /** @type {number} */ (jspb.Message.getField(message, 4));
5475
+ if (f != null) {
5476
+ writer.writeInt64(
5477
+ 4,
5478
+ f
5479
+ );
5480
+ }
4730
5481
  };
4731
5482
 
4732
5483
 
@@ -4823,6 +5574,42 @@ proto.gateway.web.v1.ListPrincipalsResponse.prototype.setNextPageToken = functio
4823
5574
  };
4824
5575
 
4825
5576
 
5577
+ /**
5578
+ * optional int64 total_count = 4;
5579
+ * @return {number}
5580
+ */
5581
+ proto.gateway.web.v1.ListPrincipalsResponse.prototype.getTotalCount = function() {
5582
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
5583
+ };
5584
+
5585
+
5586
+ /**
5587
+ * @param {number} value
5588
+ * @return {!proto.gateway.web.v1.ListPrincipalsResponse} returns this
5589
+ */
5590
+ proto.gateway.web.v1.ListPrincipalsResponse.prototype.setTotalCount = function(value) {
5591
+ return jspb.Message.setField(this, 4, value);
5592
+ };
5593
+
5594
+
5595
+ /**
5596
+ * Clears the field making it undefined.
5597
+ * @return {!proto.gateway.web.v1.ListPrincipalsResponse} returns this
5598
+ */
5599
+ proto.gateway.web.v1.ListPrincipalsResponse.prototype.clearTotalCount = function() {
5600
+ return jspb.Message.setField(this, 4, undefined);
5601
+ };
5602
+
5603
+
5604
+ /**
5605
+ * Returns whether this field is set.
5606
+ * @return {boolean}
5607
+ */
5608
+ proto.gateway.web.v1.ListPrincipalsResponse.prototype.hasTotalCount = function() {
5609
+ return jspb.Message.getField(this, 4) != null;
5610
+ };
5611
+
5612
+
4826
5613
 
4827
5614
 
4828
5615