@miradorlabs/web-grpc 2.40.0 → 2.42.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.
@@ -38,14 +38,20 @@ goog.exportSymbol('proto.gateway.web.v1.AISessionEventEnvelope.FrameCase', null,
38
38
  goog.exportSymbol('proto.gateway.web.v1.AISessionEventKind', null, global);
39
39
  goog.exportSymbol('proto.gateway.web.v1.AISessionFilter', null, global);
40
40
  goog.exportSymbol('proto.gateway.web.v1.AITokenUsage', null, global);
41
+ goog.exportSymbol('proto.gateway.web.v1.GitActivitiesSnapshotCompleted', null, global);
42
+ goog.exportSymbol('proto.gateway.web.v1.GitActivityFrame', null, global);
43
+ goog.exportSymbol('proto.gateway.web.v1.GitActivityFrame.FrameCase', null, global);
41
44
  goog.exportSymbol('proto.gateway.web.v1.ListGitActivitiesRequest', null, global);
42
45
  goog.exportSymbol('proto.gateway.web.v1.ListGitActivitiesResponse', null, global);
43
46
  goog.exportSymbol('proto.gateway.web.v1.ListPrincipalsRequest', null, global);
44
47
  goog.exportSymbol('proto.gateway.web.v1.ListPrincipalsResponse', null, global);
48
+ goog.exportSymbol('proto.gateway.web.v1.ListSessionEventsRequest', null, global);
49
+ goog.exportSymbol('proto.gateway.web.v1.ListSessionEventsResponse', null, global);
45
50
  goog.exportSymbol('proto.gateway.web.v1.ListSessionsRequest', null, global);
46
51
  goog.exportSymbol('proto.gateway.web.v1.ListSessionsResponse', null, global);
47
52
  goog.exportSymbol('proto.gateway.web.v1.ReplayCompleted', null, global);
48
- goog.exportSymbol('proto.gateway.web.v1.StreamSessionRequest', null, global);
53
+ goog.exportSymbol('proto.gateway.web.v1.StreamGitActivitiesRequest', null, global);
54
+ goog.exportSymbol('proto.gateway.web.v1.StreamSessionEventsRequest', null, global);
49
55
  goog.exportSymbol('proto.gateway.web.v1.UpdatePrincipalRequest', null, global);
50
56
  goog.exportSymbol('proto.gateway.web.v1.UpdatePrincipalResponse', null, global);
51
57
  /**
@@ -142,16 +148,58 @@ if (goog.DEBUG && !COMPILED) {
142
148
  * @extends {jspb.Message}
143
149
  * @constructor
144
150
  */
145
- proto.gateway.web.v1.StreamSessionRequest = function(opt_data) {
151
+ proto.gateway.web.v1.ListSessionEventsRequest = function(opt_data) {
146
152
  jspb.Message.initialize(this, opt_data, 0, -1, null, null);
147
153
  };
148
- goog.inherits(proto.gateway.web.v1.StreamSessionRequest, jspb.Message);
154
+ goog.inherits(proto.gateway.web.v1.ListSessionEventsRequest, jspb.Message);
149
155
  if (goog.DEBUG && !COMPILED) {
150
156
  /**
151
157
  * @public
152
158
  * @override
153
159
  */
154
- proto.gateway.web.v1.StreamSessionRequest.displayName = 'proto.gateway.web.v1.StreamSessionRequest';
160
+ proto.gateway.web.v1.ListSessionEventsRequest.displayName = 'proto.gateway.web.v1.ListSessionEventsRequest';
161
+ }
162
+ /**
163
+ * Generated by JsPbCodeGenerator.
164
+ * @param {Array=} opt_data Optional initial data array, typically from a
165
+ * server response, or constructed directly in Javascript. The array is used
166
+ * in place and becomes part of the constructed object. It is not cloned.
167
+ * If no data is provided, the constructed object will be empty, but still
168
+ * valid.
169
+ * @extends {jspb.Message}
170
+ * @constructor
171
+ */
172
+ proto.gateway.web.v1.ListSessionEventsResponse = function(opt_data) {
173
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.ListSessionEventsResponse.repeatedFields_, null);
174
+ };
175
+ goog.inherits(proto.gateway.web.v1.ListSessionEventsResponse, jspb.Message);
176
+ if (goog.DEBUG && !COMPILED) {
177
+ /**
178
+ * @public
179
+ * @override
180
+ */
181
+ proto.gateway.web.v1.ListSessionEventsResponse.displayName = 'proto.gateway.web.v1.ListSessionEventsResponse';
182
+ }
183
+ /**
184
+ * Generated by JsPbCodeGenerator.
185
+ * @param {Array=} opt_data Optional initial data array, typically from a
186
+ * server response, or constructed directly in Javascript. The array is used
187
+ * in place and becomes part of the constructed object. It is not cloned.
188
+ * If no data is provided, the constructed object will be empty, but still
189
+ * valid.
190
+ * @extends {jspb.Message}
191
+ * @constructor
192
+ */
193
+ proto.gateway.web.v1.StreamSessionEventsRequest = function(opt_data) {
194
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
195
+ };
196
+ goog.inherits(proto.gateway.web.v1.StreamSessionEventsRequest, jspb.Message);
197
+ if (goog.DEBUG && !COMPILED) {
198
+ /**
199
+ * @public
200
+ * @override
201
+ */
202
+ proto.gateway.web.v1.StreamSessionEventsRequest.displayName = 'proto.gateway.web.v1.StreamSessionEventsRequest';
155
203
  }
156
204
  /**
157
205
  * Generated by JsPbCodeGenerator.
@@ -384,6 +432,69 @@ if (goog.DEBUG && !COMPILED) {
384
432
  */
385
433
  proto.gateway.web.v1.ListGitActivitiesResponse.displayName = 'proto.gateway.web.v1.ListGitActivitiesResponse';
386
434
  }
435
+ /**
436
+ * Generated by JsPbCodeGenerator.
437
+ * @param {Array=} opt_data Optional initial data array, typically from a
438
+ * server response, or constructed directly in Javascript. The array is used
439
+ * in place and becomes part of the constructed object. It is not cloned.
440
+ * If no data is provided, the constructed object will be empty, but still
441
+ * valid.
442
+ * @extends {jspb.Message}
443
+ * @constructor
444
+ */
445
+ proto.gateway.web.v1.StreamGitActivitiesRequest = function(opt_data) {
446
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
447
+ };
448
+ goog.inherits(proto.gateway.web.v1.StreamGitActivitiesRequest, jspb.Message);
449
+ if (goog.DEBUG && !COMPILED) {
450
+ /**
451
+ * @public
452
+ * @override
453
+ */
454
+ proto.gateway.web.v1.StreamGitActivitiesRequest.displayName = 'proto.gateway.web.v1.StreamGitActivitiesRequest';
455
+ }
456
+ /**
457
+ * Generated by JsPbCodeGenerator.
458
+ * @param {Array=} opt_data Optional initial data array, typically from a
459
+ * server response, or constructed directly in Javascript. The array is used
460
+ * in place and becomes part of the constructed object. It is not cloned.
461
+ * If no data is provided, the constructed object will be empty, but still
462
+ * valid.
463
+ * @extends {jspb.Message}
464
+ * @constructor
465
+ */
466
+ proto.gateway.web.v1.GitActivityFrame = function(opt_data) {
467
+ jspb.Message.initialize(this, opt_data, 0, -1, null, proto.gateway.web.v1.GitActivityFrame.oneofGroups_);
468
+ };
469
+ goog.inherits(proto.gateway.web.v1.GitActivityFrame, jspb.Message);
470
+ if (goog.DEBUG && !COMPILED) {
471
+ /**
472
+ * @public
473
+ * @override
474
+ */
475
+ proto.gateway.web.v1.GitActivityFrame.displayName = 'proto.gateway.web.v1.GitActivityFrame';
476
+ }
477
+ /**
478
+ * Generated by JsPbCodeGenerator.
479
+ * @param {Array=} opt_data Optional initial data array, typically from a
480
+ * server response, or constructed directly in Javascript. The array is used
481
+ * in place and becomes part of the constructed object. It is not cloned.
482
+ * If no data is provided, the constructed object will be empty, but still
483
+ * valid.
484
+ * @extends {jspb.Message}
485
+ * @constructor
486
+ */
487
+ proto.gateway.web.v1.GitActivitiesSnapshotCompleted = function(opt_data) {
488
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
489
+ };
490
+ goog.inherits(proto.gateway.web.v1.GitActivitiesSnapshotCompleted, jspb.Message);
491
+ if (goog.DEBUG && !COMPILED) {
492
+ /**
493
+ * @public
494
+ * @override
495
+ */
496
+ proto.gateway.web.v1.GitActivitiesSnapshotCompleted.displayName = 'proto.gateway.web.v1.GitActivitiesSnapshotCompleted';
497
+ }
387
498
  /**
388
499
  * Generated by JsPbCodeGenerator.
389
500
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -2343,8 +2454,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
2343
2454
  * http://goto/soy-param-migration
2344
2455
  * @return {!Object}
2345
2456
  */
2346
- proto.gateway.web.v1.StreamSessionRequest.prototype.toObject = function(opt_includeInstance) {
2347
- return proto.gateway.web.v1.StreamSessionRequest.toObject(opt_includeInstance, this);
2457
+ proto.gateway.web.v1.ListSessionEventsRequest.prototype.toObject = function(opt_includeInstance) {
2458
+ return proto.gateway.web.v1.ListSessionEventsRequest.toObject(opt_includeInstance, this);
2348
2459
  };
2349
2460
 
2350
2461
 
@@ -2353,11 +2464,11 @@ proto.gateway.web.v1.StreamSessionRequest.prototype.toObject = function(opt_incl
2353
2464
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2354
2465
  * the JSPB instance for transitional soy proto support:
2355
2466
  * http://goto/soy-param-migration
2356
- * @param {!proto.gateway.web.v1.StreamSessionRequest} msg The msg instance to transform.
2467
+ * @param {!proto.gateway.web.v1.ListSessionEventsRequest} msg The msg instance to transform.
2357
2468
  * @return {!Object}
2358
2469
  * @suppress {unusedLocalVariables} f is only used for nested messages
2359
2470
  */
2360
- proto.gateway.web.v1.StreamSessionRequest.toObject = function(includeInstance, msg) {
2471
+ proto.gateway.web.v1.ListSessionEventsRequest.toObject = function(includeInstance, msg) {
2361
2472
  var f, obj = {
2362
2473
  organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""),
2363
2474
  projectId: jspb.Message.getFieldWithDefault(msg, 2, ""),
@@ -2376,23 +2487,23 @@ sourceSystem: jspb.Message.getFieldWithDefault(msg, 4, "")
2376
2487
  /**
2377
2488
  * Deserializes binary data (in protobuf wire format).
2378
2489
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
2379
- * @return {!proto.gateway.web.v1.StreamSessionRequest}
2490
+ * @return {!proto.gateway.web.v1.ListSessionEventsRequest}
2380
2491
  */
2381
- proto.gateway.web.v1.StreamSessionRequest.deserializeBinary = function(bytes) {
2492
+ proto.gateway.web.v1.ListSessionEventsRequest.deserializeBinary = function(bytes) {
2382
2493
  var reader = new jspb.BinaryReader(bytes);
2383
- var msg = new proto.gateway.web.v1.StreamSessionRequest;
2384
- return proto.gateway.web.v1.StreamSessionRequest.deserializeBinaryFromReader(msg, reader);
2494
+ var msg = new proto.gateway.web.v1.ListSessionEventsRequest;
2495
+ return proto.gateway.web.v1.ListSessionEventsRequest.deserializeBinaryFromReader(msg, reader);
2385
2496
  };
2386
2497
 
2387
2498
 
2388
2499
  /**
2389
2500
  * Deserializes binary data (in protobuf wire format) from the
2390
2501
  * given reader into the given message object.
2391
- * @param {!proto.gateway.web.v1.StreamSessionRequest} msg The message object to deserialize into.
2502
+ * @param {!proto.gateway.web.v1.ListSessionEventsRequest} msg The message object to deserialize into.
2392
2503
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2393
- * @return {!proto.gateway.web.v1.StreamSessionRequest}
2504
+ * @return {!proto.gateway.web.v1.ListSessionEventsRequest}
2394
2505
  */
2395
- proto.gateway.web.v1.StreamSessionRequest.deserializeBinaryFromReader = function(msg, reader) {
2506
+ proto.gateway.web.v1.ListSessionEventsRequest.deserializeBinaryFromReader = function(msg, reader) {
2396
2507
  while (reader.nextField()) {
2397
2508
  if (reader.isEndGroup()) {
2398
2509
  break;
@@ -2428,9 +2539,9 @@ proto.gateway.web.v1.StreamSessionRequest.deserializeBinaryFromReader = function
2428
2539
  * Serializes the message to binary data (in protobuf wire format).
2429
2540
  * @return {!Uint8Array}
2430
2541
  */
2431
- proto.gateway.web.v1.StreamSessionRequest.prototype.serializeBinary = function() {
2542
+ proto.gateway.web.v1.ListSessionEventsRequest.prototype.serializeBinary = function() {
2432
2543
  var writer = new jspb.BinaryWriter();
2433
- proto.gateway.web.v1.StreamSessionRequest.serializeBinaryToWriter(this, writer);
2544
+ proto.gateway.web.v1.ListSessionEventsRequest.serializeBinaryToWriter(this, writer);
2434
2545
  return writer.getResultBuffer();
2435
2546
  };
2436
2547
 
@@ -2438,11 +2549,11 @@ proto.gateway.web.v1.StreamSessionRequest.prototype.serializeBinary = function()
2438
2549
  /**
2439
2550
  * Serializes the given message to binary data (in protobuf wire
2440
2551
  * format), writing to the given BinaryWriter.
2441
- * @param {!proto.gateway.web.v1.StreamSessionRequest} message
2552
+ * @param {!proto.gateway.web.v1.ListSessionEventsRequest} message
2442
2553
  * @param {!jspb.BinaryWriter} writer
2443
2554
  * @suppress {unusedLocalVariables} f is only used for nested messages
2444
2555
  */
2445
- proto.gateway.web.v1.StreamSessionRequest.serializeBinaryToWriter = function(message, writer) {
2556
+ proto.gateway.web.v1.ListSessionEventsRequest.serializeBinaryToWriter = function(message, writer) {
2446
2557
  var f = undefined;
2447
2558
  f = message.getOrganizationId();
2448
2559
  if (f.length > 0) {
@@ -2479,16 +2590,16 @@ proto.gateway.web.v1.StreamSessionRequest.serializeBinaryToWriter = function(mes
2479
2590
  * optional string organization_id = 1;
2480
2591
  * @return {string}
2481
2592
  */
2482
- proto.gateway.web.v1.StreamSessionRequest.prototype.getOrganizationId = function() {
2593
+ proto.gateway.web.v1.ListSessionEventsRequest.prototype.getOrganizationId = function() {
2483
2594
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
2484
2595
  };
2485
2596
 
2486
2597
 
2487
2598
  /**
2488
2599
  * @param {string} value
2489
- * @return {!proto.gateway.web.v1.StreamSessionRequest} returns this
2600
+ * @return {!proto.gateway.web.v1.ListSessionEventsRequest} returns this
2490
2601
  */
2491
- proto.gateway.web.v1.StreamSessionRequest.prototype.setOrganizationId = function(value) {
2602
+ proto.gateway.web.v1.ListSessionEventsRequest.prototype.setOrganizationId = function(value) {
2492
2603
  return jspb.Message.setProto3StringField(this, 1, value);
2493
2604
  };
2494
2605
 
@@ -2497,16 +2608,16 @@ proto.gateway.web.v1.StreamSessionRequest.prototype.setOrganizationId = function
2497
2608
  * optional string project_id = 2;
2498
2609
  * @return {string}
2499
2610
  */
2500
- proto.gateway.web.v1.StreamSessionRequest.prototype.getProjectId = function() {
2611
+ proto.gateway.web.v1.ListSessionEventsRequest.prototype.getProjectId = function() {
2501
2612
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
2502
2613
  };
2503
2614
 
2504
2615
 
2505
2616
  /**
2506
2617
  * @param {string} value
2507
- * @return {!proto.gateway.web.v1.StreamSessionRequest} returns this
2618
+ * @return {!proto.gateway.web.v1.ListSessionEventsRequest} returns this
2508
2619
  */
2509
- proto.gateway.web.v1.StreamSessionRequest.prototype.setProjectId = function(value) {
2620
+ proto.gateway.web.v1.ListSessionEventsRequest.prototype.setProjectId = function(value) {
2510
2621
  return jspb.Message.setProto3StringField(this, 2, value);
2511
2622
  };
2512
2623
 
@@ -2515,16 +2626,16 @@ proto.gateway.web.v1.StreamSessionRequest.prototype.setProjectId = function(valu
2515
2626
  * optional string routing_key = 3;
2516
2627
  * @return {string}
2517
2628
  */
2518
- proto.gateway.web.v1.StreamSessionRequest.prototype.getRoutingKey = function() {
2629
+ proto.gateway.web.v1.ListSessionEventsRequest.prototype.getRoutingKey = function() {
2519
2630
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
2520
2631
  };
2521
2632
 
2522
2633
 
2523
2634
  /**
2524
2635
  * @param {string} value
2525
- * @return {!proto.gateway.web.v1.StreamSessionRequest} returns this
2636
+ * @return {!proto.gateway.web.v1.ListSessionEventsRequest} returns this
2526
2637
  */
2527
- proto.gateway.web.v1.StreamSessionRequest.prototype.setRoutingKey = function(value) {
2638
+ proto.gateway.web.v1.ListSessionEventsRequest.prototype.setRoutingKey = function(value) {
2528
2639
  return jspb.Message.setProto3StringField(this, 3, value);
2529
2640
  };
2530
2641
 
@@ -2533,46 +2644,27 @@ proto.gateway.web.v1.StreamSessionRequest.prototype.setRoutingKey = function(val
2533
2644
  * optional string source_system = 4;
2534
2645
  * @return {string}
2535
2646
  */
2536
- proto.gateway.web.v1.StreamSessionRequest.prototype.getSourceSystem = function() {
2647
+ proto.gateway.web.v1.ListSessionEventsRequest.prototype.getSourceSystem = function() {
2537
2648
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
2538
2649
  };
2539
2650
 
2540
2651
 
2541
2652
  /**
2542
2653
  * @param {string} value
2543
- * @return {!proto.gateway.web.v1.StreamSessionRequest} returns this
2654
+ * @return {!proto.gateway.web.v1.ListSessionEventsRequest} returns this
2544
2655
  */
2545
- proto.gateway.web.v1.StreamSessionRequest.prototype.setSourceSystem = function(value) {
2656
+ proto.gateway.web.v1.ListSessionEventsRequest.prototype.setSourceSystem = function(value) {
2546
2657
  return jspb.Message.setProto3StringField(this, 4, value);
2547
2658
  };
2548
2659
 
2549
2660
 
2550
2661
 
2551
2662
  /**
2552
- * Oneof group definitions for this message. Each group defines the field
2553
- * numbers belonging to that group. When of these fields' value is set, all
2554
- * other fields in the group are cleared. During deserialization, if multiple
2555
- * fields are encountered for a group, only the last value seen will be kept.
2556
- * @private {!Array<!Array<number>>}
2663
+ * List of repeated fields within this message type.
2664
+ * @private {!Array<number>}
2557
2665
  * @const
2558
2666
  */
2559
- proto.gateway.web.v1.AISessionEventEnvelope.oneofGroups_ = [[1,2]];
2560
-
2561
- /**
2562
- * @enum {number}
2563
- */
2564
- proto.gateway.web.v1.AISessionEventEnvelope.FrameCase = {
2565
- FRAME_NOT_SET: 0,
2566
- EVENT: 1,
2567
- COMPLETED: 2
2568
- };
2569
-
2570
- /**
2571
- * @return {proto.gateway.web.v1.AISessionEventEnvelope.FrameCase}
2572
- */
2573
- proto.gateway.web.v1.AISessionEventEnvelope.prototype.getFrameCase = function() {
2574
- return /** @type {proto.gateway.web.v1.AISessionEventEnvelope.FrameCase} */(jspb.Message.computeOneofCase(this, proto.gateway.web.v1.AISessionEventEnvelope.oneofGroups_[0]));
2575
- };
2667
+ proto.gateway.web.v1.ListSessionEventsResponse.repeatedFields_ = [2];
2576
2668
 
2577
2669
 
2578
2670
 
@@ -2589,8 +2681,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
2589
2681
  * http://goto/soy-param-migration
2590
2682
  * @return {!Object}
2591
2683
  */
2592
- proto.gateway.web.v1.AISessionEventEnvelope.prototype.toObject = function(opt_includeInstance) {
2593
- return proto.gateway.web.v1.AISessionEventEnvelope.toObject(opt_includeInstance, this);
2684
+ proto.gateway.web.v1.ListSessionEventsResponse.prototype.toObject = function(opt_includeInstance) {
2685
+ return proto.gateway.web.v1.ListSessionEventsResponse.toObject(opt_includeInstance, this);
2594
2686
  };
2595
2687
 
2596
2688
 
@@ -2599,14 +2691,15 @@ proto.gateway.web.v1.AISessionEventEnvelope.prototype.toObject = function(opt_in
2599
2691
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2600
2692
  * the JSPB instance for transitional soy proto support:
2601
2693
  * http://goto/soy-param-migration
2602
- * @param {!proto.gateway.web.v1.AISessionEventEnvelope} msg The msg instance to transform.
2694
+ * @param {!proto.gateway.web.v1.ListSessionEventsResponse} msg The msg instance to transform.
2603
2695
  * @return {!Object}
2604
2696
  * @suppress {unusedLocalVariables} f is only used for nested messages
2605
2697
  */
2606
- proto.gateway.web.v1.AISessionEventEnvelope.toObject = function(includeInstance, msg) {
2698
+ proto.gateway.web.v1.ListSessionEventsResponse.toObject = function(includeInstance, msg) {
2607
2699
  var f, obj = {
2608
- event: (f = msg.getEvent()) && proto.gateway.web.v1.AISessionEvent.toObject(includeInstance, f),
2609
- completed: (f = msg.getCompleted()) && proto.gateway.web.v1.ReplayCompleted.toObject(includeInstance, f)
2700
+ status: (f = msg.getStatus()) && proto_gateway_common_v1_status_pb.ResponseStatus.toObject(includeInstance, f),
2701
+ eventsList: jspb.Message.toObjectList(msg.getEventsList(),
2702
+ proto.gateway.web.v1.AISessionEvent.toObject, includeInstance)
2610
2703
  };
2611
2704
 
2612
2705
  if (includeInstance) {
@@ -2620,23 +2713,23 @@ completed: (f = msg.getCompleted()) && proto.gateway.web.v1.ReplayCompleted.toOb
2620
2713
  /**
2621
2714
  * Deserializes binary data (in protobuf wire format).
2622
2715
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
2623
- * @return {!proto.gateway.web.v1.AISessionEventEnvelope}
2716
+ * @return {!proto.gateway.web.v1.ListSessionEventsResponse}
2624
2717
  */
2625
- proto.gateway.web.v1.AISessionEventEnvelope.deserializeBinary = function(bytes) {
2718
+ proto.gateway.web.v1.ListSessionEventsResponse.deserializeBinary = function(bytes) {
2626
2719
  var reader = new jspb.BinaryReader(bytes);
2627
- var msg = new proto.gateway.web.v1.AISessionEventEnvelope;
2628
- return proto.gateway.web.v1.AISessionEventEnvelope.deserializeBinaryFromReader(msg, reader);
2720
+ var msg = new proto.gateway.web.v1.ListSessionEventsResponse;
2721
+ return proto.gateway.web.v1.ListSessionEventsResponse.deserializeBinaryFromReader(msg, reader);
2629
2722
  };
2630
2723
 
2631
2724
 
2632
2725
  /**
2633
2726
  * Deserializes binary data (in protobuf wire format) from the
2634
2727
  * given reader into the given message object.
2635
- * @param {!proto.gateway.web.v1.AISessionEventEnvelope} msg The message object to deserialize into.
2728
+ * @param {!proto.gateway.web.v1.ListSessionEventsResponse} msg The message object to deserialize into.
2636
2729
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2637
- * @return {!proto.gateway.web.v1.AISessionEventEnvelope}
2730
+ * @return {!proto.gateway.web.v1.ListSessionEventsResponse}
2638
2731
  */
2639
- proto.gateway.web.v1.AISessionEventEnvelope.deserializeBinaryFromReader = function(msg, reader) {
2732
+ proto.gateway.web.v1.ListSessionEventsResponse.deserializeBinaryFromReader = function(msg, reader) {
2640
2733
  while (reader.nextField()) {
2641
2734
  if (reader.isEndGroup()) {
2642
2735
  break;
@@ -2644,14 +2737,14 @@ proto.gateway.web.v1.AISessionEventEnvelope.deserializeBinaryFromReader = functi
2644
2737
  var field = reader.getFieldNumber();
2645
2738
  switch (field) {
2646
2739
  case 1:
2647
- var value = new proto.gateway.web.v1.AISessionEvent;
2648
- reader.readMessage(value,proto.gateway.web.v1.AISessionEvent.deserializeBinaryFromReader);
2649
- msg.setEvent(value);
2740
+ var value = new proto_gateway_common_v1_status_pb.ResponseStatus;
2741
+ reader.readMessage(value,proto_gateway_common_v1_status_pb.ResponseStatus.deserializeBinaryFromReader);
2742
+ msg.setStatus(value);
2650
2743
  break;
2651
2744
  case 2:
2652
- var value = new proto.gateway.web.v1.ReplayCompleted;
2653
- reader.readMessage(value,proto.gateway.web.v1.ReplayCompleted.deserializeBinaryFromReader);
2654
- msg.setCompleted(value);
2745
+ var value = new proto.gateway.web.v1.AISessionEvent;
2746
+ reader.readMessage(value,proto.gateway.web.v1.AISessionEvent.deserializeBinaryFromReader);
2747
+ msg.addEvents(value);
2655
2748
  break;
2656
2749
  default:
2657
2750
  reader.skipField();
@@ -2666,9 +2759,9 @@ proto.gateway.web.v1.AISessionEventEnvelope.deserializeBinaryFromReader = functi
2666
2759
  * Serializes the message to binary data (in protobuf wire format).
2667
2760
  * @return {!Uint8Array}
2668
2761
  */
2669
- proto.gateway.web.v1.AISessionEventEnvelope.prototype.serializeBinary = function() {
2762
+ proto.gateway.web.v1.ListSessionEventsResponse.prototype.serializeBinary = function() {
2670
2763
  var writer = new jspb.BinaryWriter();
2671
- proto.gateway.web.v1.AISessionEventEnvelope.serializeBinaryToWriter(this, writer);
2764
+ proto.gateway.web.v1.ListSessionEventsResponse.serializeBinaryToWriter(this, writer);
2672
2765
  return writer.getResultBuffer();
2673
2766
  };
2674
2767
 
@@ -2676,56 +2769,56 @@ proto.gateway.web.v1.AISessionEventEnvelope.prototype.serializeBinary = function
2676
2769
  /**
2677
2770
  * Serializes the given message to binary data (in protobuf wire
2678
2771
  * format), writing to the given BinaryWriter.
2679
- * @param {!proto.gateway.web.v1.AISessionEventEnvelope} message
2772
+ * @param {!proto.gateway.web.v1.ListSessionEventsResponse} message
2680
2773
  * @param {!jspb.BinaryWriter} writer
2681
2774
  * @suppress {unusedLocalVariables} f is only used for nested messages
2682
2775
  */
2683
- proto.gateway.web.v1.AISessionEventEnvelope.serializeBinaryToWriter = function(message, writer) {
2776
+ proto.gateway.web.v1.ListSessionEventsResponse.serializeBinaryToWriter = function(message, writer) {
2684
2777
  var f = undefined;
2685
- f = message.getEvent();
2778
+ f = message.getStatus();
2686
2779
  if (f != null) {
2687
2780
  writer.writeMessage(
2688
2781
  1,
2689
2782
  f,
2690
- proto.gateway.web.v1.AISessionEvent.serializeBinaryToWriter
2783
+ proto_gateway_common_v1_status_pb.ResponseStatus.serializeBinaryToWriter
2691
2784
  );
2692
2785
  }
2693
- f = message.getCompleted();
2694
- if (f != null) {
2695
- writer.writeMessage(
2786
+ f = message.getEventsList();
2787
+ if (f.length > 0) {
2788
+ writer.writeRepeatedMessage(
2696
2789
  2,
2697
2790
  f,
2698
- proto.gateway.web.v1.ReplayCompleted.serializeBinaryToWriter
2791
+ proto.gateway.web.v1.AISessionEvent.serializeBinaryToWriter
2699
2792
  );
2700
2793
  }
2701
2794
  };
2702
2795
 
2703
2796
 
2704
2797
  /**
2705
- * optional AISessionEvent event = 1;
2706
- * @return {?proto.gateway.web.v1.AISessionEvent}
2798
+ * optional gateway.common.v1.ResponseStatus status = 1;
2799
+ * @return {?proto.gateway.common.v1.ResponseStatus}
2707
2800
  */
2708
- proto.gateway.web.v1.AISessionEventEnvelope.prototype.getEvent = function() {
2709
- return /** @type{?proto.gateway.web.v1.AISessionEvent} */ (
2710
- jspb.Message.getWrapperField(this, proto.gateway.web.v1.AISessionEvent, 1));
2801
+ proto.gateway.web.v1.ListSessionEventsResponse.prototype.getStatus = function() {
2802
+ return /** @type{?proto.gateway.common.v1.ResponseStatus} */ (
2803
+ jspb.Message.getWrapperField(this, proto_gateway_common_v1_status_pb.ResponseStatus, 1));
2711
2804
  };
2712
2805
 
2713
2806
 
2714
2807
  /**
2715
- * @param {?proto.gateway.web.v1.AISessionEvent|undefined} value
2716
- * @return {!proto.gateway.web.v1.AISessionEventEnvelope} returns this
2808
+ * @param {?proto.gateway.common.v1.ResponseStatus|undefined} value
2809
+ * @return {!proto.gateway.web.v1.ListSessionEventsResponse} returns this
2717
2810
  */
2718
- proto.gateway.web.v1.AISessionEventEnvelope.prototype.setEvent = function(value) {
2719
- return jspb.Message.setOneofWrapperField(this, 1, proto.gateway.web.v1.AISessionEventEnvelope.oneofGroups_[0], value);
2811
+ proto.gateway.web.v1.ListSessionEventsResponse.prototype.setStatus = function(value) {
2812
+ return jspb.Message.setWrapperField(this, 1, value);
2720
2813
  };
2721
2814
 
2722
2815
 
2723
2816
  /**
2724
2817
  * Clears the message field making it undefined.
2725
- * @return {!proto.gateway.web.v1.AISessionEventEnvelope} returns this
2818
+ * @return {!proto.gateway.web.v1.ListSessionEventsResponse} returns this
2726
2819
  */
2727
- proto.gateway.web.v1.AISessionEventEnvelope.prototype.clearEvent = function() {
2728
- return this.setEvent(undefined);
2820
+ proto.gateway.web.v1.ListSessionEventsResponse.prototype.clearStatus = function() {
2821
+ return this.setStatus(undefined);
2729
2822
  };
2730
2823
 
2731
2824
 
@@ -2733,45 +2826,46 @@ proto.gateway.web.v1.AISessionEventEnvelope.prototype.clearEvent = function() {
2733
2826
  * Returns whether this field is set.
2734
2827
  * @return {boolean}
2735
2828
  */
2736
- proto.gateway.web.v1.AISessionEventEnvelope.prototype.hasEvent = function() {
2829
+ proto.gateway.web.v1.ListSessionEventsResponse.prototype.hasStatus = function() {
2737
2830
  return jspb.Message.getField(this, 1) != null;
2738
2831
  };
2739
2832
 
2740
2833
 
2741
2834
  /**
2742
- * optional ReplayCompleted completed = 2;
2743
- * @return {?proto.gateway.web.v1.ReplayCompleted}
2835
+ * repeated AISessionEvent events = 2;
2836
+ * @return {!Array<!proto.gateway.web.v1.AISessionEvent>}
2744
2837
  */
2745
- proto.gateway.web.v1.AISessionEventEnvelope.prototype.getCompleted = function() {
2746
- return /** @type{?proto.gateway.web.v1.ReplayCompleted} */ (
2747
- jspb.Message.getWrapperField(this, proto.gateway.web.v1.ReplayCompleted, 2));
2838
+ proto.gateway.web.v1.ListSessionEventsResponse.prototype.getEventsList = function() {
2839
+ return /** @type{!Array<!proto.gateway.web.v1.AISessionEvent>} */ (
2840
+ jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.AISessionEvent, 2));
2748
2841
  };
2749
2842
 
2750
2843
 
2751
2844
  /**
2752
- * @param {?proto.gateway.web.v1.ReplayCompleted|undefined} value
2753
- * @return {!proto.gateway.web.v1.AISessionEventEnvelope} returns this
2845
+ * @param {!Array<!proto.gateway.web.v1.AISessionEvent>} value
2846
+ * @return {!proto.gateway.web.v1.ListSessionEventsResponse} returns this
2754
2847
  */
2755
- proto.gateway.web.v1.AISessionEventEnvelope.prototype.setCompleted = function(value) {
2756
- return jspb.Message.setOneofWrapperField(this, 2, proto.gateway.web.v1.AISessionEventEnvelope.oneofGroups_[0], value);
2848
+ proto.gateway.web.v1.ListSessionEventsResponse.prototype.setEventsList = function(value) {
2849
+ return jspb.Message.setRepeatedWrapperField(this, 2, value);
2757
2850
  };
2758
2851
 
2759
2852
 
2760
2853
  /**
2761
- * Clears the message field making it undefined.
2762
- * @return {!proto.gateway.web.v1.AISessionEventEnvelope} returns this
2854
+ * @param {!proto.gateway.web.v1.AISessionEvent=} opt_value
2855
+ * @param {number=} opt_index
2856
+ * @return {!proto.gateway.web.v1.AISessionEvent}
2763
2857
  */
2764
- proto.gateway.web.v1.AISessionEventEnvelope.prototype.clearCompleted = function() {
2765
- return this.setCompleted(undefined);
2858
+ proto.gateway.web.v1.ListSessionEventsResponse.prototype.addEvents = function(opt_value, opt_index) {
2859
+ return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.gateway.web.v1.AISessionEvent, opt_index);
2766
2860
  };
2767
2861
 
2768
2862
 
2769
2863
  /**
2770
- * Returns whether this field is set.
2771
- * @return {boolean}
2864
+ * Clears the list making it empty but non-null.
2865
+ * @return {!proto.gateway.web.v1.ListSessionEventsResponse} returns this
2772
2866
  */
2773
- proto.gateway.web.v1.AISessionEventEnvelope.prototype.hasCompleted = function() {
2774
- return jspb.Message.getField(this, 2) != null;
2867
+ proto.gateway.web.v1.ListSessionEventsResponse.prototype.clearEventsList = function() {
2868
+ return this.setEventsList([]);
2775
2869
  };
2776
2870
 
2777
2871
 
@@ -2791,8 +2885,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
2791
2885
  * http://goto/soy-param-migration
2792
2886
  * @return {!Object}
2793
2887
  */
2794
- proto.gateway.web.v1.ReplayCompleted.prototype.toObject = function(opt_includeInstance) {
2795
- return proto.gateway.web.v1.ReplayCompleted.toObject(opt_includeInstance, this);
2888
+ proto.gateway.web.v1.StreamSessionEventsRequest.prototype.toObject = function(opt_includeInstance) {
2889
+ return proto.gateway.web.v1.StreamSessionEventsRequest.toObject(opt_includeInstance, this);
2796
2890
  };
2797
2891
 
2798
2892
 
@@ -2801,13 +2895,16 @@ proto.gateway.web.v1.ReplayCompleted.prototype.toObject = function(opt_includeIn
2801
2895
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2802
2896
  * the JSPB instance for transitional soy proto support:
2803
2897
  * http://goto/soy-param-migration
2804
- * @param {!proto.gateway.web.v1.ReplayCompleted} msg The msg instance to transform.
2898
+ * @param {!proto.gateway.web.v1.StreamSessionEventsRequest} msg The msg instance to transform.
2805
2899
  * @return {!Object}
2806
2900
  * @suppress {unusedLocalVariables} f is only used for nested messages
2807
2901
  */
2808
- proto.gateway.web.v1.ReplayCompleted.toObject = function(includeInstance, msg) {
2902
+ proto.gateway.web.v1.StreamSessionEventsRequest.toObject = function(includeInstance, msg) {
2809
2903
  var f, obj = {
2810
-
2904
+ organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""),
2905
+ projectId: jspb.Message.getFieldWithDefault(msg, 2, ""),
2906
+ routingKey: jspb.Message.getFieldWithDefault(msg, 3, ""),
2907
+ sourceSystem: jspb.Message.getFieldWithDefault(msg, 4, "")
2811
2908
  };
2812
2909
 
2813
2910
  if (includeInstance) {
@@ -2821,29 +2918,45 @@ proto.gateway.web.v1.ReplayCompleted.toObject = function(includeInstance, msg) {
2821
2918
  /**
2822
2919
  * Deserializes binary data (in protobuf wire format).
2823
2920
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
2824
- * @return {!proto.gateway.web.v1.ReplayCompleted}
2921
+ * @return {!proto.gateway.web.v1.StreamSessionEventsRequest}
2825
2922
  */
2826
- proto.gateway.web.v1.ReplayCompleted.deserializeBinary = function(bytes) {
2923
+ proto.gateway.web.v1.StreamSessionEventsRequest.deserializeBinary = function(bytes) {
2827
2924
  var reader = new jspb.BinaryReader(bytes);
2828
- var msg = new proto.gateway.web.v1.ReplayCompleted;
2829
- return proto.gateway.web.v1.ReplayCompleted.deserializeBinaryFromReader(msg, reader);
2925
+ var msg = new proto.gateway.web.v1.StreamSessionEventsRequest;
2926
+ return proto.gateway.web.v1.StreamSessionEventsRequest.deserializeBinaryFromReader(msg, reader);
2830
2927
  };
2831
2928
 
2832
2929
 
2833
2930
  /**
2834
2931
  * Deserializes binary data (in protobuf wire format) from the
2835
2932
  * given reader into the given message object.
2836
- * @param {!proto.gateway.web.v1.ReplayCompleted} msg The message object to deserialize into.
2933
+ * @param {!proto.gateway.web.v1.StreamSessionEventsRequest} msg The message object to deserialize into.
2837
2934
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2838
- * @return {!proto.gateway.web.v1.ReplayCompleted}
2935
+ * @return {!proto.gateway.web.v1.StreamSessionEventsRequest}
2839
2936
  */
2840
- proto.gateway.web.v1.ReplayCompleted.deserializeBinaryFromReader = function(msg, reader) {
2937
+ proto.gateway.web.v1.StreamSessionEventsRequest.deserializeBinaryFromReader = function(msg, reader) {
2841
2938
  while (reader.nextField()) {
2842
2939
  if (reader.isEndGroup()) {
2843
2940
  break;
2844
2941
  }
2845
2942
  var field = reader.getFieldNumber();
2846
2943
  switch (field) {
2944
+ case 1:
2945
+ var value = /** @type {string} */ (reader.readString());
2946
+ msg.setOrganizationId(value);
2947
+ break;
2948
+ case 2:
2949
+ var value = /** @type {string} */ (reader.readString());
2950
+ msg.setProjectId(value);
2951
+ break;
2952
+ case 3:
2953
+ var value = /** @type {string} */ (reader.readString());
2954
+ msg.setRoutingKey(value);
2955
+ break;
2956
+ case 4:
2957
+ var value = /** @type {string} */ (reader.readString());
2958
+ msg.setSourceSystem(value);
2959
+ break;
2847
2960
  default:
2848
2961
  reader.skipField();
2849
2962
  break;
@@ -2857,9 +2970,9 @@ proto.gateway.web.v1.ReplayCompleted.deserializeBinaryFromReader = function(msg,
2857
2970
  * Serializes the message to binary data (in protobuf wire format).
2858
2971
  * @return {!Uint8Array}
2859
2972
  */
2860
- proto.gateway.web.v1.ReplayCompleted.prototype.serializeBinary = function() {
2973
+ proto.gateway.web.v1.StreamSessionEventsRequest.prototype.serializeBinary = function() {
2861
2974
  var writer = new jspb.BinaryWriter();
2862
- proto.gateway.web.v1.ReplayCompleted.serializeBinaryToWriter(this, writer);
2975
+ proto.gateway.web.v1.StreamSessionEventsRequest.serializeBinaryToWriter(this, writer);
2863
2976
  return writer.getResultBuffer();
2864
2977
  };
2865
2978
 
@@ -2867,40 +2980,159 @@ proto.gateway.web.v1.ReplayCompleted.prototype.serializeBinary = function() {
2867
2980
  /**
2868
2981
  * Serializes the given message to binary data (in protobuf wire
2869
2982
  * format), writing to the given BinaryWriter.
2870
- * @param {!proto.gateway.web.v1.ReplayCompleted} message
2983
+ * @param {!proto.gateway.web.v1.StreamSessionEventsRequest} message
2871
2984
  * @param {!jspb.BinaryWriter} writer
2872
2985
  * @suppress {unusedLocalVariables} f is only used for nested messages
2873
2986
  */
2874
- proto.gateway.web.v1.ReplayCompleted.serializeBinaryToWriter = function(message, writer) {
2987
+ proto.gateway.web.v1.StreamSessionEventsRequest.serializeBinaryToWriter = function(message, writer) {
2875
2988
  var f = undefined;
2876
- };
2877
-
2878
-
2879
-
2880
- /**
2881
- * List of repeated fields within this message type.
2882
- * @private {!Array<number>}
2883
- * @const
2884
- */
2885
- proto.gateway.web.v1.AISessionEvent.repeatedFields_ = [5];
2886
-
2887
-
2888
-
2889
- if (jspb.Message.GENERATE_TO_OBJECT) {
2890
- /**
2891
- * Creates an object representation of this proto.
2892
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
2893
- * Optional fields that are not set will be set to undefined.
2894
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2895
- * For the list of reserved names please see:
2896
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2897
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2898
- * JSPB instance for transitional soy proto support:
2899
- * http://goto/soy-param-migration
2900
- * @return {!Object}
2901
- */
2902
- proto.gateway.web.v1.AISessionEvent.prototype.toObject = function(opt_includeInstance) {
2903
- return proto.gateway.web.v1.AISessionEvent.toObject(opt_includeInstance, this);
2989
+ f = message.getOrganizationId();
2990
+ if (f.length > 0) {
2991
+ writer.writeString(
2992
+ 1,
2993
+ f
2994
+ );
2995
+ }
2996
+ f = message.getProjectId();
2997
+ if (f.length > 0) {
2998
+ writer.writeString(
2999
+ 2,
3000
+ f
3001
+ );
3002
+ }
3003
+ f = message.getRoutingKey();
3004
+ if (f.length > 0) {
3005
+ writer.writeString(
3006
+ 3,
3007
+ f
3008
+ );
3009
+ }
3010
+ f = message.getSourceSystem();
3011
+ if (f.length > 0) {
3012
+ writer.writeString(
3013
+ 4,
3014
+ f
3015
+ );
3016
+ }
3017
+ };
3018
+
3019
+
3020
+ /**
3021
+ * optional string organization_id = 1;
3022
+ * @return {string}
3023
+ */
3024
+ proto.gateway.web.v1.StreamSessionEventsRequest.prototype.getOrganizationId = function() {
3025
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
3026
+ };
3027
+
3028
+
3029
+ /**
3030
+ * @param {string} value
3031
+ * @return {!proto.gateway.web.v1.StreamSessionEventsRequest} returns this
3032
+ */
3033
+ proto.gateway.web.v1.StreamSessionEventsRequest.prototype.setOrganizationId = function(value) {
3034
+ return jspb.Message.setProto3StringField(this, 1, value);
3035
+ };
3036
+
3037
+
3038
+ /**
3039
+ * optional string project_id = 2;
3040
+ * @return {string}
3041
+ */
3042
+ proto.gateway.web.v1.StreamSessionEventsRequest.prototype.getProjectId = function() {
3043
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
3044
+ };
3045
+
3046
+
3047
+ /**
3048
+ * @param {string} value
3049
+ * @return {!proto.gateway.web.v1.StreamSessionEventsRequest} returns this
3050
+ */
3051
+ proto.gateway.web.v1.StreamSessionEventsRequest.prototype.setProjectId = function(value) {
3052
+ return jspb.Message.setProto3StringField(this, 2, value);
3053
+ };
3054
+
3055
+
3056
+ /**
3057
+ * optional string routing_key = 3;
3058
+ * @return {string}
3059
+ */
3060
+ proto.gateway.web.v1.StreamSessionEventsRequest.prototype.getRoutingKey = function() {
3061
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
3062
+ };
3063
+
3064
+
3065
+ /**
3066
+ * @param {string} value
3067
+ * @return {!proto.gateway.web.v1.StreamSessionEventsRequest} returns this
3068
+ */
3069
+ proto.gateway.web.v1.StreamSessionEventsRequest.prototype.setRoutingKey = function(value) {
3070
+ return jspb.Message.setProto3StringField(this, 3, value);
3071
+ };
3072
+
3073
+
3074
+ /**
3075
+ * optional string source_system = 4;
3076
+ * @return {string}
3077
+ */
3078
+ proto.gateway.web.v1.StreamSessionEventsRequest.prototype.getSourceSystem = function() {
3079
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
3080
+ };
3081
+
3082
+
3083
+ /**
3084
+ * @param {string} value
3085
+ * @return {!proto.gateway.web.v1.StreamSessionEventsRequest} returns this
3086
+ */
3087
+ proto.gateway.web.v1.StreamSessionEventsRequest.prototype.setSourceSystem = function(value) {
3088
+ return jspb.Message.setProto3StringField(this, 4, value);
3089
+ };
3090
+
3091
+
3092
+
3093
+ /**
3094
+ * Oneof group definitions for this message. Each group defines the field
3095
+ * numbers belonging to that group. When of these fields' value is set, all
3096
+ * other fields in the group are cleared. During deserialization, if multiple
3097
+ * fields are encountered for a group, only the last value seen will be kept.
3098
+ * @private {!Array<!Array<number>>}
3099
+ * @const
3100
+ */
3101
+ proto.gateway.web.v1.AISessionEventEnvelope.oneofGroups_ = [[1,2]];
3102
+
3103
+ /**
3104
+ * @enum {number}
3105
+ */
3106
+ proto.gateway.web.v1.AISessionEventEnvelope.FrameCase = {
3107
+ FRAME_NOT_SET: 0,
3108
+ EVENT: 1,
3109
+ COMPLETED: 2
3110
+ };
3111
+
3112
+ /**
3113
+ * @return {proto.gateway.web.v1.AISessionEventEnvelope.FrameCase}
3114
+ */
3115
+ proto.gateway.web.v1.AISessionEventEnvelope.prototype.getFrameCase = function() {
3116
+ return /** @type {proto.gateway.web.v1.AISessionEventEnvelope.FrameCase} */(jspb.Message.computeOneofCase(this, proto.gateway.web.v1.AISessionEventEnvelope.oneofGroups_[0]));
3117
+ };
3118
+
3119
+
3120
+
3121
+ if (jspb.Message.GENERATE_TO_OBJECT) {
3122
+ /**
3123
+ * Creates an object representation of this proto.
3124
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
3125
+ * Optional fields that are not set will be set to undefined.
3126
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3127
+ * For the list of reserved names please see:
3128
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3129
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3130
+ * JSPB instance for transitional soy proto support:
3131
+ * http://goto/soy-param-migration
3132
+ * @return {!Object}
3133
+ */
3134
+ proto.gateway.web.v1.AISessionEventEnvelope.prototype.toObject = function(opt_includeInstance) {
3135
+ return proto.gateway.web.v1.AISessionEventEnvelope.toObject(opt_includeInstance, this);
2904
3136
  };
2905
3137
 
2906
3138
 
@@ -2909,28 +3141,14 @@ proto.gateway.web.v1.AISessionEvent.prototype.toObject = function(opt_includeIns
2909
3141
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2910
3142
  * the JSPB instance for transitional soy proto support:
2911
3143
  * http://goto/soy-param-migration
2912
- * @param {!proto.gateway.web.v1.AISessionEvent} msg The msg instance to transform.
3144
+ * @param {!proto.gateway.web.v1.AISessionEventEnvelope} msg The msg instance to transform.
2913
3145
  * @return {!Object}
2914
3146
  * @suppress {unusedLocalVariables} f is only used for nested messages
2915
3147
  */
2916
- proto.gateway.web.v1.AISessionEvent.toObject = function(includeInstance, msg) {
3148
+ proto.gateway.web.v1.AISessionEventEnvelope.toObject = function(includeInstance, msg) {
2917
3149
  var f, obj = {
2918
- kind: jspb.Message.getFieldWithDefault(msg, 1, 0),
2919
- sequence: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f,
2920
- eventTime: (f = msg.getEventTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
2921
- turnId: jspb.Message.getFieldWithDefault(msg, 4, ""),
2922
- contentList: jspb.Message.toObjectList(msg.getContentList(),
2923
- proto.gateway.web.v1.AIContentPart.toObject, includeInstance),
2924
- usage: (f = msg.getUsage()) && proto.gateway.web.v1.AITokenUsage.toObject(includeInstance, f),
2925
- model: jspb.Message.getFieldWithDefault(msg, 7, ""),
2926
- provider: jspb.Message.getFieldWithDefault(msg, 8, ""),
2927
- toolName: jspb.Message.getFieldWithDefault(msg, 9, ""),
2928
- status: jspb.Message.getFieldWithDefault(msg, 10, ""),
2929
- finishReason: jspb.Message.getFieldWithDefault(msg, 11, ""),
2930
- durationMs: (f = jspb.Message.getField(msg, 12)) == null ? undefined : f,
2931
- ttftMs: (f = jspb.Message.getField(msg, 13)) == null ? undefined : f,
2932
- modelCallId: jspb.Message.getFieldWithDefault(msg, 14, ""),
2933
- toolCallId: jspb.Message.getFieldWithDefault(msg, 15, "")
3150
+ event: (f = msg.getEvent()) && proto.gateway.web.v1.AISessionEvent.toObject(includeInstance, f),
3151
+ completed: (f = msg.getCompleted()) && proto.gateway.web.v1.ReplayCompleted.toObject(includeInstance, f)
2934
3152
  };
2935
3153
 
2936
3154
  if (includeInstance) {
@@ -2944,23 +3162,23 @@ toolCallId: jspb.Message.getFieldWithDefault(msg, 15, "")
2944
3162
  /**
2945
3163
  * Deserializes binary data (in protobuf wire format).
2946
3164
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
2947
- * @return {!proto.gateway.web.v1.AISessionEvent}
3165
+ * @return {!proto.gateway.web.v1.AISessionEventEnvelope}
2948
3166
  */
2949
- proto.gateway.web.v1.AISessionEvent.deserializeBinary = function(bytes) {
3167
+ proto.gateway.web.v1.AISessionEventEnvelope.deserializeBinary = function(bytes) {
2950
3168
  var reader = new jspb.BinaryReader(bytes);
2951
- var msg = new proto.gateway.web.v1.AISessionEvent;
2952
- return proto.gateway.web.v1.AISessionEvent.deserializeBinaryFromReader(msg, reader);
3169
+ var msg = new proto.gateway.web.v1.AISessionEventEnvelope;
3170
+ return proto.gateway.web.v1.AISessionEventEnvelope.deserializeBinaryFromReader(msg, reader);
2953
3171
  };
2954
3172
 
2955
3173
 
2956
3174
  /**
2957
3175
  * Deserializes binary data (in protobuf wire format) from the
2958
3176
  * given reader into the given message object.
2959
- * @param {!proto.gateway.web.v1.AISessionEvent} msg The message object to deserialize into.
3177
+ * @param {!proto.gateway.web.v1.AISessionEventEnvelope} msg The message object to deserialize into.
2960
3178
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2961
- * @return {!proto.gateway.web.v1.AISessionEvent}
3179
+ * @return {!proto.gateway.web.v1.AISessionEventEnvelope}
2962
3180
  */
2963
- proto.gateway.web.v1.AISessionEvent.deserializeBinaryFromReader = function(msg, reader) {
3181
+ proto.gateway.web.v1.AISessionEventEnvelope.deserializeBinaryFromReader = function(msg, reader) {
2964
3182
  while (reader.nextField()) {
2965
3183
  if (reader.isEndGroup()) {
2966
3184
  break;
@@ -2968,67 +3186,14 @@ proto.gateway.web.v1.AISessionEvent.deserializeBinaryFromReader = function(msg,
2968
3186
  var field = reader.getFieldNumber();
2969
3187
  switch (field) {
2970
3188
  case 1:
2971
- var value = /** @type {!proto.gateway.web.v1.AISessionEventKind} */ (reader.readEnum());
2972
- msg.setKind(value);
3189
+ var value = new proto.gateway.web.v1.AISessionEvent;
3190
+ reader.readMessage(value,proto.gateway.web.v1.AISessionEvent.deserializeBinaryFromReader);
3191
+ msg.setEvent(value);
2973
3192
  break;
2974
3193
  case 2:
2975
- var value = /** @type {number} */ (reader.readInt64());
2976
- msg.setSequence(value);
2977
- break;
2978
- case 3:
2979
- var value = new google_protobuf_timestamp_pb.Timestamp;
2980
- reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
2981
- msg.setEventTime(value);
2982
- break;
2983
- case 4:
2984
- var value = /** @type {string} */ (reader.readString());
2985
- msg.setTurnId(value);
2986
- break;
2987
- case 5:
2988
- var value = new proto.gateway.web.v1.AIContentPart;
2989
- reader.readMessage(value,proto.gateway.web.v1.AIContentPart.deserializeBinaryFromReader);
2990
- msg.addContent(value);
2991
- break;
2992
- case 6:
2993
- var value = new proto.gateway.web.v1.AITokenUsage;
2994
- reader.readMessage(value,proto.gateway.web.v1.AITokenUsage.deserializeBinaryFromReader);
2995
- msg.setUsage(value);
2996
- break;
2997
- case 7:
2998
- var value = /** @type {string} */ (reader.readString());
2999
- msg.setModel(value);
3000
- break;
3001
- case 8:
3002
- var value = /** @type {string} */ (reader.readString());
3003
- msg.setProvider(value);
3004
- break;
3005
- case 9:
3006
- var value = /** @type {string} */ (reader.readString());
3007
- msg.setToolName(value);
3008
- break;
3009
- case 10:
3010
- var value = /** @type {string} */ (reader.readString());
3011
- msg.setStatus(value);
3012
- break;
3013
- case 11:
3014
- var value = /** @type {string} */ (reader.readString());
3015
- msg.setFinishReason(value);
3016
- break;
3017
- case 12:
3018
- var value = /** @type {number} */ (reader.readInt64());
3019
- msg.setDurationMs(value);
3020
- break;
3021
- case 13:
3022
- var value = /** @type {number} */ (reader.readUint64());
3023
- msg.setTtftMs(value);
3024
- break;
3025
- case 14:
3026
- var value = /** @type {string} */ (reader.readString());
3027
- msg.setModelCallId(value);
3028
- break;
3029
- case 15:
3030
- var value = /** @type {string} */ (reader.readString());
3031
- msg.setToolCallId(value);
3194
+ var value = new proto.gateway.web.v1.ReplayCompleted;
3195
+ reader.readMessage(value,proto.gateway.web.v1.ReplayCompleted.deserializeBinaryFromReader);
3196
+ msg.setCompleted(value);
3032
3197
  break;
3033
3198
  default:
3034
3199
  reader.skipField();
@@ -3043,9 +3208,9 @@ proto.gateway.web.v1.AISessionEvent.deserializeBinaryFromReader = function(msg,
3043
3208
  * Serializes the message to binary data (in protobuf wire format).
3044
3209
  * @return {!Uint8Array}
3045
3210
  */
3046
- proto.gateway.web.v1.AISessionEvent.prototype.serializeBinary = function() {
3211
+ proto.gateway.web.v1.AISessionEventEnvelope.prototype.serializeBinary = function() {
3047
3212
  var writer = new jspb.BinaryWriter();
3048
- proto.gateway.web.v1.AISessionEvent.serializeBinaryToWriter(this, writer);
3213
+ proto.gateway.web.v1.AISessionEventEnvelope.serializeBinaryToWriter(this, writer);
3049
3214
  return writer.getResultBuffer();
3050
3215
  };
3051
3216
 
@@ -3053,20 +3218,397 @@ proto.gateway.web.v1.AISessionEvent.prototype.serializeBinary = function() {
3053
3218
  /**
3054
3219
  * Serializes the given message to binary data (in protobuf wire
3055
3220
  * format), writing to the given BinaryWriter.
3056
- * @param {!proto.gateway.web.v1.AISessionEvent} message
3221
+ * @param {!proto.gateway.web.v1.AISessionEventEnvelope} message
3057
3222
  * @param {!jspb.BinaryWriter} writer
3058
3223
  * @suppress {unusedLocalVariables} f is only used for nested messages
3059
3224
  */
3060
- proto.gateway.web.v1.AISessionEvent.serializeBinaryToWriter = function(message, writer) {
3225
+ proto.gateway.web.v1.AISessionEventEnvelope.serializeBinaryToWriter = function(message, writer) {
3061
3226
  var f = undefined;
3062
- f = message.getKind();
3063
- if (f !== 0.0) {
3064
- writer.writeEnum(
3227
+ f = message.getEvent();
3228
+ if (f != null) {
3229
+ writer.writeMessage(
3065
3230
  1,
3066
- f
3231
+ f,
3232
+ proto.gateway.web.v1.AISessionEvent.serializeBinaryToWriter
3067
3233
  );
3068
3234
  }
3069
- f = /** @type {number} */ (jspb.Message.getField(message, 2));
3235
+ f = message.getCompleted();
3236
+ if (f != null) {
3237
+ writer.writeMessage(
3238
+ 2,
3239
+ f,
3240
+ proto.gateway.web.v1.ReplayCompleted.serializeBinaryToWriter
3241
+ );
3242
+ }
3243
+ };
3244
+
3245
+
3246
+ /**
3247
+ * optional AISessionEvent event = 1;
3248
+ * @return {?proto.gateway.web.v1.AISessionEvent}
3249
+ */
3250
+ proto.gateway.web.v1.AISessionEventEnvelope.prototype.getEvent = function() {
3251
+ return /** @type{?proto.gateway.web.v1.AISessionEvent} */ (
3252
+ jspb.Message.getWrapperField(this, proto.gateway.web.v1.AISessionEvent, 1));
3253
+ };
3254
+
3255
+
3256
+ /**
3257
+ * @param {?proto.gateway.web.v1.AISessionEvent|undefined} value
3258
+ * @return {!proto.gateway.web.v1.AISessionEventEnvelope} returns this
3259
+ */
3260
+ proto.gateway.web.v1.AISessionEventEnvelope.prototype.setEvent = function(value) {
3261
+ return jspb.Message.setOneofWrapperField(this, 1, proto.gateway.web.v1.AISessionEventEnvelope.oneofGroups_[0], value);
3262
+ };
3263
+
3264
+
3265
+ /**
3266
+ * Clears the message field making it undefined.
3267
+ * @return {!proto.gateway.web.v1.AISessionEventEnvelope} returns this
3268
+ */
3269
+ proto.gateway.web.v1.AISessionEventEnvelope.prototype.clearEvent = function() {
3270
+ return this.setEvent(undefined);
3271
+ };
3272
+
3273
+
3274
+ /**
3275
+ * Returns whether this field is set.
3276
+ * @return {boolean}
3277
+ */
3278
+ proto.gateway.web.v1.AISessionEventEnvelope.prototype.hasEvent = function() {
3279
+ return jspb.Message.getField(this, 1) != null;
3280
+ };
3281
+
3282
+
3283
+ /**
3284
+ * optional ReplayCompleted completed = 2;
3285
+ * @return {?proto.gateway.web.v1.ReplayCompleted}
3286
+ */
3287
+ proto.gateway.web.v1.AISessionEventEnvelope.prototype.getCompleted = function() {
3288
+ return /** @type{?proto.gateway.web.v1.ReplayCompleted} */ (
3289
+ jspb.Message.getWrapperField(this, proto.gateway.web.v1.ReplayCompleted, 2));
3290
+ };
3291
+
3292
+
3293
+ /**
3294
+ * @param {?proto.gateway.web.v1.ReplayCompleted|undefined} value
3295
+ * @return {!proto.gateway.web.v1.AISessionEventEnvelope} returns this
3296
+ */
3297
+ proto.gateway.web.v1.AISessionEventEnvelope.prototype.setCompleted = function(value) {
3298
+ return jspb.Message.setOneofWrapperField(this, 2, proto.gateway.web.v1.AISessionEventEnvelope.oneofGroups_[0], value);
3299
+ };
3300
+
3301
+
3302
+ /**
3303
+ * Clears the message field making it undefined.
3304
+ * @return {!proto.gateway.web.v1.AISessionEventEnvelope} returns this
3305
+ */
3306
+ proto.gateway.web.v1.AISessionEventEnvelope.prototype.clearCompleted = function() {
3307
+ return this.setCompleted(undefined);
3308
+ };
3309
+
3310
+
3311
+ /**
3312
+ * Returns whether this field is set.
3313
+ * @return {boolean}
3314
+ */
3315
+ proto.gateway.web.v1.AISessionEventEnvelope.prototype.hasCompleted = function() {
3316
+ return jspb.Message.getField(this, 2) != null;
3317
+ };
3318
+
3319
+
3320
+
3321
+
3322
+
3323
+ if (jspb.Message.GENERATE_TO_OBJECT) {
3324
+ /**
3325
+ * Creates an object representation of this proto.
3326
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
3327
+ * Optional fields that are not set will be set to undefined.
3328
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3329
+ * For the list of reserved names please see:
3330
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3331
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3332
+ * JSPB instance for transitional soy proto support:
3333
+ * http://goto/soy-param-migration
3334
+ * @return {!Object}
3335
+ */
3336
+ proto.gateway.web.v1.ReplayCompleted.prototype.toObject = function(opt_includeInstance) {
3337
+ return proto.gateway.web.v1.ReplayCompleted.toObject(opt_includeInstance, this);
3338
+ };
3339
+
3340
+
3341
+ /**
3342
+ * Static version of the {@see toObject} method.
3343
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3344
+ * the JSPB instance for transitional soy proto support:
3345
+ * http://goto/soy-param-migration
3346
+ * @param {!proto.gateway.web.v1.ReplayCompleted} msg The msg instance to transform.
3347
+ * @return {!Object}
3348
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3349
+ */
3350
+ proto.gateway.web.v1.ReplayCompleted.toObject = function(includeInstance, msg) {
3351
+ var f, obj = {
3352
+
3353
+ };
3354
+
3355
+ if (includeInstance) {
3356
+ obj.$jspbMessageInstance = msg;
3357
+ }
3358
+ return obj;
3359
+ };
3360
+ }
3361
+
3362
+
3363
+ /**
3364
+ * Deserializes binary data (in protobuf wire format).
3365
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
3366
+ * @return {!proto.gateway.web.v1.ReplayCompleted}
3367
+ */
3368
+ proto.gateway.web.v1.ReplayCompleted.deserializeBinary = function(bytes) {
3369
+ var reader = new jspb.BinaryReader(bytes);
3370
+ var msg = new proto.gateway.web.v1.ReplayCompleted;
3371
+ return proto.gateway.web.v1.ReplayCompleted.deserializeBinaryFromReader(msg, reader);
3372
+ };
3373
+
3374
+
3375
+ /**
3376
+ * Deserializes binary data (in protobuf wire format) from the
3377
+ * given reader into the given message object.
3378
+ * @param {!proto.gateway.web.v1.ReplayCompleted} msg The message object to deserialize into.
3379
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3380
+ * @return {!proto.gateway.web.v1.ReplayCompleted}
3381
+ */
3382
+ proto.gateway.web.v1.ReplayCompleted.deserializeBinaryFromReader = function(msg, reader) {
3383
+ while (reader.nextField()) {
3384
+ if (reader.isEndGroup()) {
3385
+ break;
3386
+ }
3387
+ var field = reader.getFieldNumber();
3388
+ switch (field) {
3389
+ default:
3390
+ reader.skipField();
3391
+ break;
3392
+ }
3393
+ }
3394
+ return msg;
3395
+ };
3396
+
3397
+
3398
+ /**
3399
+ * Serializes the message to binary data (in protobuf wire format).
3400
+ * @return {!Uint8Array}
3401
+ */
3402
+ proto.gateway.web.v1.ReplayCompleted.prototype.serializeBinary = function() {
3403
+ var writer = new jspb.BinaryWriter();
3404
+ proto.gateway.web.v1.ReplayCompleted.serializeBinaryToWriter(this, writer);
3405
+ return writer.getResultBuffer();
3406
+ };
3407
+
3408
+
3409
+ /**
3410
+ * Serializes the given message to binary data (in protobuf wire
3411
+ * format), writing to the given BinaryWriter.
3412
+ * @param {!proto.gateway.web.v1.ReplayCompleted} message
3413
+ * @param {!jspb.BinaryWriter} writer
3414
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3415
+ */
3416
+ proto.gateway.web.v1.ReplayCompleted.serializeBinaryToWriter = function(message, writer) {
3417
+ var f = undefined;
3418
+ };
3419
+
3420
+
3421
+
3422
+ /**
3423
+ * List of repeated fields within this message type.
3424
+ * @private {!Array<number>}
3425
+ * @const
3426
+ */
3427
+ proto.gateway.web.v1.AISessionEvent.repeatedFields_ = [5];
3428
+
3429
+
3430
+
3431
+ if (jspb.Message.GENERATE_TO_OBJECT) {
3432
+ /**
3433
+ * Creates an object representation of this proto.
3434
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
3435
+ * Optional fields that are not set will be set to undefined.
3436
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3437
+ * For the list of reserved names please see:
3438
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3439
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3440
+ * JSPB instance for transitional soy proto support:
3441
+ * http://goto/soy-param-migration
3442
+ * @return {!Object}
3443
+ */
3444
+ proto.gateway.web.v1.AISessionEvent.prototype.toObject = function(opt_includeInstance) {
3445
+ return proto.gateway.web.v1.AISessionEvent.toObject(opt_includeInstance, this);
3446
+ };
3447
+
3448
+
3449
+ /**
3450
+ * Static version of the {@see toObject} method.
3451
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3452
+ * the JSPB instance for transitional soy proto support:
3453
+ * http://goto/soy-param-migration
3454
+ * @param {!proto.gateway.web.v1.AISessionEvent} msg The msg instance to transform.
3455
+ * @return {!Object}
3456
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3457
+ */
3458
+ proto.gateway.web.v1.AISessionEvent.toObject = function(includeInstance, msg) {
3459
+ var f, obj = {
3460
+ kind: jspb.Message.getFieldWithDefault(msg, 1, 0),
3461
+ sequence: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f,
3462
+ eventTime: (f = msg.getEventTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
3463
+ turnId: jspb.Message.getFieldWithDefault(msg, 4, ""),
3464
+ contentList: jspb.Message.toObjectList(msg.getContentList(),
3465
+ proto.gateway.web.v1.AIContentPart.toObject, includeInstance),
3466
+ usage: (f = msg.getUsage()) && proto.gateway.web.v1.AITokenUsage.toObject(includeInstance, f),
3467
+ model: jspb.Message.getFieldWithDefault(msg, 7, ""),
3468
+ provider: jspb.Message.getFieldWithDefault(msg, 8, ""),
3469
+ toolName: jspb.Message.getFieldWithDefault(msg, 9, ""),
3470
+ status: jspb.Message.getFieldWithDefault(msg, 10, ""),
3471
+ finishReason: jspb.Message.getFieldWithDefault(msg, 11, ""),
3472
+ durationMs: (f = jspb.Message.getField(msg, 12)) == null ? undefined : f,
3473
+ ttftMs: (f = jspb.Message.getField(msg, 13)) == null ? undefined : f,
3474
+ modelCallId: jspb.Message.getFieldWithDefault(msg, 14, ""),
3475
+ toolCallId: jspb.Message.getFieldWithDefault(msg, 15, "")
3476
+ };
3477
+
3478
+ if (includeInstance) {
3479
+ obj.$jspbMessageInstance = msg;
3480
+ }
3481
+ return obj;
3482
+ };
3483
+ }
3484
+
3485
+
3486
+ /**
3487
+ * Deserializes binary data (in protobuf wire format).
3488
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
3489
+ * @return {!proto.gateway.web.v1.AISessionEvent}
3490
+ */
3491
+ proto.gateway.web.v1.AISessionEvent.deserializeBinary = function(bytes) {
3492
+ var reader = new jspb.BinaryReader(bytes);
3493
+ var msg = new proto.gateway.web.v1.AISessionEvent;
3494
+ return proto.gateway.web.v1.AISessionEvent.deserializeBinaryFromReader(msg, reader);
3495
+ };
3496
+
3497
+
3498
+ /**
3499
+ * Deserializes binary data (in protobuf wire format) from the
3500
+ * given reader into the given message object.
3501
+ * @param {!proto.gateway.web.v1.AISessionEvent} msg The message object to deserialize into.
3502
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3503
+ * @return {!proto.gateway.web.v1.AISessionEvent}
3504
+ */
3505
+ proto.gateway.web.v1.AISessionEvent.deserializeBinaryFromReader = function(msg, reader) {
3506
+ while (reader.nextField()) {
3507
+ if (reader.isEndGroup()) {
3508
+ break;
3509
+ }
3510
+ var field = reader.getFieldNumber();
3511
+ switch (field) {
3512
+ case 1:
3513
+ var value = /** @type {!proto.gateway.web.v1.AISessionEventKind} */ (reader.readEnum());
3514
+ msg.setKind(value);
3515
+ break;
3516
+ case 2:
3517
+ var value = /** @type {number} */ (reader.readInt64());
3518
+ msg.setSequence(value);
3519
+ break;
3520
+ case 3:
3521
+ var value = new google_protobuf_timestamp_pb.Timestamp;
3522
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
3523
+ msg.setEventTime(value);
3524
+ break;
3525
+ case 4:
3526
+ var value = /** @type {string} */ (reader.readString());
3527
+ msg.setTurnId(value);
3528
+ break;
3529
+ case 5:
3530
+ var value = new proto.gateway.web.v1.AIContentPart;
3531
+ reader.readMessage(value,proto.gateway.web.v1.AIContentPart.deserializeBinaryFromReader);
3532
+ msg.addContent(value);
3533
+ break;
3534
+ case 6:
3535
+ var value = new proto.gateway.web.v1.AITokenUsage;
3536
+ reader.readMessage(value,proto.gateway.web.v1.AITokenUsage.deserializeBinaryFromReader);
3537
+ msg.setUsage(value);
3538
+ break;
3539
+ case 7:
3540
+ var value = /** @type {string} */ (reader.readString());
3541
+ msg.setModel(value);
3542
+ break;
3543
+ case 8:
3544
+ var value = /** @type {string} */ (reader.readString());
3545
+ msg.setProvider(value);
3546
+ break;
3547
+ case 9:
3548
+ var value = /** @type {string} */ (reader.readString());
3549
+ msg.setToolName(value);
3550
+ break;
3551
+ case 10:
3552
+ var value = /** @type {string} */ (reader.readString());
3553
+ msg.setStatus(value);
3554
+ break;
3555
+ case 11:
3556
+ var value = /** @type {string} */ (reader.readString());
3557
+ msg.setFinishReason(value);
3558
+ break;
3559
+ case 12:
3560
+ var value = /** @type {number} */ (reader.readInt64());
3561
+ msg.setDurationMs(value);
3562
+ break;
3563
+ case 13:
3564
+ var value = /** @type {number} */ (reader.readUint64());
3565
+ msg.setTtftMs(value);
3566
+ break;
3567
+ case 14:
3568
+ var value = /** @type {string} */ (reader.readString());
3569
+ msg.setModelCallId(value);
3570
+ break;
3571
+ case 15:
3572
+ var value = /** @type {string} */ (reader.readString());
3573
+ msg.setToolCallId(value);
3574
+ break;
3575
+ default:
3576
+ reader.skipField();
3577
+ break;
3578
+ }
3579
+ }
3580
+ return msg;
3581
+ };
3582
+
3583
+
3584
+ /**
3585
+ * Serializes the message to binary data (in protobuf wire format).
3586
+ * @return {!Uint8Array}
3587
+ */
3588
+ proto.gateway.web.v1.AISessionEvent.prototype.serializeBinary = function() {
3589
+ var writer = new jspb.BinaryWriter();
3590
+ proto.gateway.web.v1.AISessionEvent.serializeBinaryToWriter(this, writer);
3591
+ return writer.getResultBuffer();
3592
+ };
3593
+
3594
+
3595
+ /**
3596
+ * Serializes the given message to binary data (in protobuf wire
3597
+ * format), writing to the given BinaryWriter.
3598
+ * @param {!proto.gateway.web.v1.AISessionEvent} message
3599
+ * @param {!jspb.BinaryWriter} writer
3600
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3601
+ */
3602
+ proto.gateway.web.v1.AISessionEvent.serializeBinaryToWriter = function(message, writer) {
3603
+ var f = undefined;
3604
+ f = message.getKind();
3605
+ if (f !== 0.0) {
3606
+ writer.writeEnum(
3607
+ 1,
3608
+ f
3609
+ );
3610
+ }
3611
+ f = /** @type {number} */ (jspb.Message.getField(message, 2));
3070
3612
  if (f != null) {
3071
3613
  writer.writeInt64(
3072
3614
  2,
@@ -3171,29 +3713,285 @@ proto.gateway.web.v1.AISessionEvent.serializeBinaryToWriter = function(message,
3171
3713
 
3172
3714
 
3173
3715
  /**
3174
- * optional AISessionEventKind kind = 1;
3175
- * @return {!proto.gateway.web.v1.AISessionEventKind}
3716
+ * optional AISessionEventKind kind = 1;
3717
+ * @return {!proto.gateway.web.v1.AISessionEventKind}
3718
+ */
3719
+ proto.gateway.web.v1.AISessionEvent.prototype.getKind = function() {
3720
+ return /** @type {!proto.gateway.web.v1.AISessionEventKind} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
3721
+ };
3722
+
3723
+
3724
+ /**
3725
+ * @param {!proto.gateway.web.v1.AISessionEventKind} value
3726
+ * @return {!proto.gateway.web.v1.AISessionEvent} returns this
3727
+ */
3728
+ proto.gateway.web.v1.AISessionEvent.prototype.setKind = function(value) {
3729
+ return jspb.Message.setProto3EnumField(this, 1, value);
3730
+ };
3731
+
3732
+
3733
+ /**
3734
+ * optional int64 sequence = 2;
3735
+ * @return {number}
3736
+ */
3737
+ proto.gateway.web.v1.AISessionEvent.prototype.getSequence = function() {
3738
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
3739
+ };
3740
+
3741
+
3742
+ /**
3743
+ * @param {number} value
3744
+ * @return {!proto.gateway.web.v1.AISessionEvent} returns this
3745
+ */
3746
+ proto.gateway.web.v1.AISessionEvent.prototype.setSequence = function(value) {
3747
+ return jspb.Message.setField(this, 2, value);
3748
+ };
3749
+
3750
+
3751
+ /**
3752
+ * Clears the field making it undefined.
3753
+ * @return {!proto.gateway.web.v1.AISessionEvent} returns this
3754
+ */
3755
+ proto.gateway.web.v1.AISessionEvent.prototype.clearSequence = function() {
3756
+ return jspb.Message.setField(this, 2, undefined);
3757
+ };
3758
+
3759
+
3760
+ /**
3761
+ * Returns whether this field is set.
3762
+ * @return {boolean}
3763
+ */
3764
+ proto.gateway.web.v1.AISessionEvent.prototype.hasSequence = function() {
3765
+ return jspb.Message.getField(this, 2) != null;
3766
+ };
3767
+
3768
+
3769
+ /**
3770
+ * optional google.protobuf.Timestamp event_time = 3;
3771
+ * @return {?proto.google.protobuf.Timestamp}
3772
+ */
3773
+ proto.gateway.web.v1.AISessionEvent.prototype.getEventTime = function() {
3774
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
3775
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 3));
3776
+ };
3777
+
3778
+
3779
+ /**
3780
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
3781
+ * @return {!proto.gateway.web.v1.AISessionEvent} returns this
3782
+ */
3783
+ proto.gateway.web.v1.AISessionEvent.prototype.setEventTime = function(value) {
3784
+ return jspb.Message.setWrapperField(this, 3, value);
3785
+ };
3786
+
3787
+
3788
+ /**
3789
+ * Clears the message field making it undefined.
3790
+ * @return {!proto.gateway.web.v1.AISessionEvent} returns this
3791
+ */
3792
+ proto.gateway.web.v1.AISessionEvent.prototype.clearEventTime = function() {
3793
+ return this.setEventTime(undefined);
3794
+ };
3795
+
3796
+
3797
+ /**
3798
+ * Returns whether this field is set.
3799
+ * @return {boolean}
3800
+ */
3801
+ proto.gateway.web.v1.AISessionEvent.prototype.hasEventTime = function() {
3802
+ return jspb.Message.getField(this, 3) != null;
3803
+ };
3804
+
3805
+
3806
+ /**
3807
+ * optional string turn_id = 4;
3808
+ * @return {string}
3809
+ */
3810
+ proto.gateway.web.v1.AISessionEvent.prototype.getTurnId = function() {
3811
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
3812
+ };
3813
+
3814
+
3815
+ /**
3816
+ * @param {string} value
3817
+ * @return {!proto.gateway.web.v1.AISessionEvent} returns this
3818
+ */
3819
+ proto.gateway.web.v1.AISessionEvent.prototype.setTurnId = function(value) {
3820
+ return jspb.Message.setProto3StringField(this, 4, value);
3821
+ };
3822
+
3823
+
3824
+ /**
3825
+ * repeated AIContentPart content = 5;
3826
+ * @return {!Array<!proto.gateway.web.v1.AIContentPart>}
3827
+ */
3828
+ proto.gateway.web.v1.AISessionEvent.prototype.getContentList = function() {
3829
+ return /** @type{!Array<!proto.gateway.web.v1.AIContentPart>} */ (
3830
+ jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.AIContentPart, 5));
3831
+ };
3832
+
3833
+
3834
+ /**
3835
+ * @param {!Array<!proto.gateway.web.v1.AIContentPart>} value
3836
+ * @return {!proto.gateway.web.v1.AISessionEvent} returns this
3837
+ */
3838
+ proto.gateway.web.v1.AISessionEvent.prototype.setContentList = function(value) {
3839
+ return jspb.Message.setRepeatedWrapperField(this, 5, value);
3840
+ };
3841
+
3842
+
3843
+ /**
3844
+ * @param {!proto.gateway.web.v1.AIContentPart=} opt_value
3845
+ * @param {number=} opt_index
3846
+ * @return {!proto.gateway.web.v1.AIContentPart}
3847
+ */
3848
+ proto.gateway.web.v1.AISessionEvent.prototype.addContent = function(opt_value, opt_index) {
3849
+ return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.gateway.web.v1.AIContentPart, opt_index);
3850
+ };
3851
+
3852
+
3853
+ /**
3854
+ * Clears the list making it empty but non-null.
3855
+ * @return {!proto.gateway.web.v1.AISessionEvent} returns this
3856
+ */
3857
+ proto.gateway.web.v1.AISessionEvent.prototype.clearContentList = function() {
3858
+ return this.setContentList([]);
3859
+ };
3860
+
3861
+
3862
+ /**
3863
+ * optional AITokenUsage usage = 6;
3864
+ * @return {?proto.gateway.web.v1.AITokenUsage}
3865
+ */
3866
+ proto.gateway.web.v1.AISessionEvent.prototype.getUsage = function() {
3867
+ return /** @type{?proto.gateway.web.v1.AITokenUsage} */ (
3868
+ jspb.Message.getWrapperField(this, proto.gateway.web.v1.AITokenUsage, 6));
3869
+ };
3870
+
3871
+
3872
+ /**
3873
+ * @param {?proto.gateway.web.v1.AITokenUsage|undefined} value
3874
+ * @return {!proto.gateway.web.v1.AISessionEvent} returns this
3875
+ */
3876
+ proto.gateway.web.v1.AISessionEvent.prototype.setUsage = function(value) {
3877
+ return jspb.Message.setWrapperField(this, 6, value);
3878
+ };
3879
+
3880
+
3881
+ /**
3882
+ * Clears the message field making it undefined.
3883
+ * @return {!proto.gateway.web.v1.AISessionEvent} returns this
3884
+ */
3885
+ proto.gateway.web.v1.AISessionEvent.prototype.clearUsage = function() {
3886
+ return this.setUsage(undefined);
3887
+ };
3888
+
3889
+
3890
+ /**
3891
+ * Returns whether this field is set.
3892
+ * @return {boolean}
3893
+ */
3894
+ proto.gateway.web.v1.AISessionEvent.prototype.hasUsage = function() {
3895
+ return jspb.Message.getField(this, 6) != null;
3896
+ };
3897
+
3898
+
3899
+ /**
3900
+ * optional string model = 7;
3901
+ * @return {string}
3902
+ */
3903
+ proto.gateway.web.v1.AISessionEvent.prototype.getModel = function() {
3904
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
3905
+ };
3906
+
3907
+
3908
+ /**
3909
+ * @param {string} value
3910
+ * @return {!proto.gateway.web.v1.AISessionEvent} returns this
3911
+ */
3912
+ proto.gateway.web.v1.AISessionEvent.prototype.setModel = function(value) {
3913
+ return jspb.Message.setProto3StringField(this, 7, value);
3914
+ };
3915
+
3916
+
3917
+ /**
3918
+ * optional string provider = 8;
3919
+ * @return {string}
3920
+ */
3921
+ proto.gateway.web.v1.AISessionEvent.prototype.getProvider = function() {
3922
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
3923
+ };
3924
+
3925
+
3926
+ /**
3927
+ * @param {string} value
3928
+ * @return {!proto.gateway.web.v1.AISessionEvent} returns this
3929
+ */
3930
+ proto.gateway.web.v1.AISessionEvent.prototype.setProvider = function(value) {
3931
+ return jspb.Message.setProto3StringField(this, 8, value);
3932
+ };
3933
+
3934
+
3935
+ /**
3936
+ * optional string tool_name = 9;
3937
+ * @return {string}
3938
+ */
3939
+ proto.gateway.web.v1.AISessionEvent.prototype.getToolName = function() {
3940
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
3941
+ };
3942
+
3943
+
3944
+ /**
3945
+ * @param {string} value
3946
+ * @return {!proto.gateway.web.v1.AISessionEvent} returns this
3947
+ */
3948
+ proto.gateway.web.v1.AISessionEvent.prototype.setToolName = function(value) {
3949
+ return jspb.Message.setProto3StringField(this, 9, value);
3950
+ };
3951
+
3952
+
3953
+ /**
3954
+ * optional string status = 10;
3955
+ * @return {string}
3176
3956
  */
3177
- proto.gateway.web.v1.AISessionEvent.prototype.getKind = function() {
3178
- return /** @type {!proto.gateway.web.v1.AISessionEventKind} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
3957
+ proto.gateway.web.v1.AISessionEvent.prototype.getStatus = function() {
3958
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
3179
3959
  };
3180
3960
 
3181
3961
 
3182
3962
  /**
3183
- * @param {!proto.gateway.web.v1.AISessionEventKind} value
3963
+ * @param {string} value
3184
3964
  * @return {!proto.gateway.web.v1.AISessionEvent} returns this
3185
3965
  */
3186
- proto.gateway.web.v1.AISessionEvent.prototype.setKind = function(value) {
3187
- return jspb.Message.setProto3EnumField(this, 1, value);
3966
+ proto.gateway.web.v1.AISessionEvent.prototype.setStatus = function(value) {
3967
+ return jspb.Message.setProto3StringField(this, 10, value);
3188
3968
  };
3189
3969
 
3190
3970
 
3191
3971
  /**
3192
- * optional int64 sequence = 2;
3972
+ * optional string finish_reason = 11;
3973
+ * @return {string}
3974
+ */
3975
+ proto.gateway.web.v1.AISessionEvent.prototype.getFinishReason = function() {
3976
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
3977
+ };
3978
+
3979
+
3980
+ /**
3981
+ * @param {string} value
3982
+ * @return {!proto.gateway.web.v1.AISessionEvent} returns this
3983
+ */
3984
+ proto.gateway.web.v1.AISessionEvent.prototype.setFinishReason = function(value) {
3985
+ return jspb.Message.setProto3StringField(this, 11, value);
3986
+ };
3987
+
3988
+
3989
+ /**
3990
+ * optional int64 duration_ms = 12;
3193
3991
  * @return {number}
3194
3992
  */
3195
- proto.gateway.web.v1.AISessionEvent.prototype.getSequence = function() {
3196
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
3993
+ proto.gateway.web.v1.AISessionEvent.prototype.getDurationMs = function() {
3994
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 12, 0));
3197
3995
  };
3198
3996
 
3199
3997
 
@@ -3201,8 +3999,8 @@ proto.gateway.web.v1.AISessionEvent.prototype.getSequence = function() {
3201
3999
  * @param {number} value
3202
4000
  * @return {!proto.gateway.web.v1.AISessionEvent} returns this
3203
4001
  */
3204
- proto.gateway.web.v1.AISessionEvent.prototype.setSequence = function(value) {
3205
- return jspb.Message.setField(this, 2, value);
4002
+ proto.gateway.web.v1.AISessionEvent.prototype.setDurationMs = function(value) {
4003
+ return jspb.Message.setField(this, 12, value);
3206
4004
  };
3207
4005
 
3208
4006
 
@@ -3210,8 +4008,8 @@ proto.gateway.web.v1.AISessionEvent.prototype.setSequence = function(value) {
3210
4008
  * Clears the field making it undefined.
3211
4009
  * @return {!proto.gateway.web.v1.AISessionEvent} returns this
3212
4010
  */
3213
- proto.gateway.web.v1.AISessionEvent.prototype.clearSequence = function() {
3214
- return jspb.Message.setField(this, 2, undefined);
4011
+ proto.gateway.web.v1.AISessionEvent.prototype.clearDurationMs = function() {
4012
+ return jspb.Message.setField(this, 12, undefined);
3215
4013
  };
3216
4014
 
3217
4015
 
@@ -3219,36 +4017,35 @@ proto.gateway.web.v1.AISessionEvent.prototype.clearSequence = function() {
3219
4017
  * Returns whether this field is set.
3220
4018
  * @return {boolean}
3221
4019
  */
3222
- proto.gateway.web.v1.AISessionEvent.prototype.hasSequence = function() {
3223
- return jspb.Message.getField(this, 2) != null;
4020
+ proto.gateway.web.v1.AISessionEvent.prototype.hasDurationMs = function() {
4021
+ return jspb.Message.getField(this, 12) != null;
3224
4022
  };
3225
4023
 
3226
4024
 
3227
4025
  /**
3228
- * optional google.protobuf.Timestamp event_time = 3;
3229
- * @return {?proto.google.protobuf.Timestamp}
4026
+ * optional uint64 ttft_ms = 13;
4027
+ * @return {number}
3230
4028
  */
3231
- proto.gateway.web.v1.AISessionEvent.prototype.getEventTime = function() {
3232
- return /** @type{?proto.google.protobuf.Timestamp} */ (
3233
- jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 3));
4029
+ proto.gateway.web.v1.AISessionEvent.prototype.getTtftMs = function() {
4030
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 13, 0));
3234
4031
  };
3235
4032
 
3236
4033
 
3237
4034
  /**
3238
- * @param {?proto.google.protobuf.Timestamp|undefined} value
4035
+ * @param {number} value
3239
4036
  * @return {!proto.gateway.web.v1.AISessionEvent} returns this
3240
- */
3241
- proto.gateway.web.v1.AISessionEvent.prototype.setEventTime = function(value) {
3242
- return jspb.Message.setWrapperField(this, 3, value);
4037
+ */
4038
+ proto.gateway.web.v1.AISessionEvent.prototype.setTtftMs = function(value) {
4039
+ return jspb.Message.setField(this, 13, value);
3243
4040
  };
3244
4041
 
3245
4042
 
3246
4043
  /**
3247
- * Clears the message field making it undefined.
4044
+ * Clears the field making it undefined.
3248
4045
  * @return {!proto.gateway.web.v1.AISessionEvent} returns this
3249
4046
  */
3250
- proto.gateway.web.v1.AISessionEvent.prototype.clearEventTime = function() {
3251
- return this.setEventTime(undefined);
4047
+ proto.gateway.web.v1.AISessionEvent.prototype.clearTtftMs = function() {
4048
+ return jspb.Message.setField(this, 13, undefined);
3252
4049
  };
3253
4050
 
3254
4051
 
@@ -3256,218 +4053,469 @@ proto.gateway.web.v1.AISessionEvent.prototype.clearEventTime = function() {
3256
4053
  * Returns whether this field is set.
3257
4054
  * @return {boolean}
3258
4055
  */
3259
- proto.gateway.web.v1.AISessionEvent.prototype.hasEventTime = function() {
3260
- return jspb.Message.getField(this, 3) != null;
4056
+ proto.gateway.web.v1.AISessionEvent.prototype.hasTtftMs = function() {
4057
+ return jspb.Message.getField(this, 13) != null;
4058
+ };
4059
+
4060
+
4061
+ /**
4062
+ * optional string model_call_id = 14;
4063
+ * @return {string}
4064
+ */
4065
+ proto.gateway.web.v1.AISessionEvent.prototype.getModelCallId = function() {
4066
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
4067
+ };
4068
+
4069
+
4070
+ /**
4071
+ * @param {string} value
4072
+ * @return {!proto.gateway.web.v1.AISessionEvent} returns this
4073
+ */
4074
+ proto.gateway.web.v1.AISessionEvent.prototype.setModelCallId = function(value) {
4075
+ return jspb.Message.setProto3StringField(this, 14, value);
4076
+ };
4077
+
4078
+
4079
+ /**
4080
+ * optional string tool_call_id = 15;
4081
+ * @return {string}
4082
+ */
4083
+ proto.gateway.web.v1.AISessionEvent.prototype.getToolCallId = function() {
4084
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
4085
+ };
4086
+
4087
+
4088
+ /**
4089
+ * @param {string} value
4090
+ * @return {!proto.gateway.web.v1.AISessionEvent} returns this
4091
+ */
4092
+ proto.gateway.web.v1.AISessionEvent.prototype.setToolCallId = function(value) {
4093
+ return jspb.Message.setProto3StringField(this, 15, value);
4094
+ };
4095
+
4096
+
4097
+
4098
+
4099
+
4100
+ if (jspb.Message.GENERATE_TO_OBJECT) {
4101
+ /**
4102
+ * Creates an object representation of this proto.
4103
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
4104
+ * Optional fields that are not set will be set to undefined.
4105
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
4106
+ * For the list of reserved names please see:
4107
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
4108
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
4109
+ * JSPB instance for transitional soy proto support:
4110
+ * http://goto/soy-param-migration
4111
+ * @return {!Object}
4112
+ */
4113
+ proto.gateway.web.v1.AIContentPart.prototype.toObject = function(opt_includeInstance) {
4114
+ return proto.gateway.web.v1.AIContentPart.toObject(opt_includeInstance, this);
4115
+ };
4116
+
4117
+
4118
+ /**
4119
+ * Static version of the {@see toObject} method.
4120
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4121
+ * the JSPB instance for transitional soy proto support:
4122
+ * http://goto/soy-param-migration
4123
+ * @param {!proto.gateway.web.v1.AIContentPart} msg The msg instance to transform.
4124
+ * @return {!Object}
4125
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4126
+ */
4127
+ proto.gateway.web.v1.AIContentPart.toObject = function(includeInstance, msg) {
4128
+ var f, obj = {
4129
+ partIndex: jspb.Message.getFieldWithDefault(msg, 1, 0),
4130
+ contentType: jspb.Message.getFieldWithDefault(msg, 2, ""),
4131
+ content: jspb.Message.getFieldWithDefault(msg, 3, "")
4132
+ };
4133
+
4134
+ if (includeInstance) {
4135
+ obj.$jspbMessageInstance = msg;
4136
+ }
4137
+ return obj;
4138
+ };
4139
+ }
4140
+
4141
+
4142
+ /**
4143
+ * Deserializes binary data (in protobuf wire format).
4144
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
4145
+ * @return {!proto.gateway.web.v1.AIContentPart}
4146
+ */
4147
+ proto.gateway.web.v1.AIContentPart.deserializeBinary = function(bytes) {
4148
+ var reader = new jspb.BinaryReader(bytes);
4149
+ var msg = new proto.gateway.web.v1.AIContentPart;
4150
+ return proto.gateway.web.v1.AIContentPart.deserializeBinaryFromReader(msg, reader);
4151
+ };
4152
+
4153
+
4154
+ /**
4155
+ * Deserializes binary data (in protobuf wire format) from the
4156
+ * given reader into the given message object.
4157
+ * @param {!proto.gateway.web.v1.AIContentPart} msg The message object to deserialize into.
4158
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
4159
+ * @return {!proto.gateway.web.v1.AIContentPart}
4160
+ */
4161
+ proto.gateway.web.v1.AIContentPart.deserializeBinaryFromReader = function(msg, reader) {
4162
+ while (reader.nextField()) {
4163
+ if (reader.isEndGroup()) {
4164
+ break;
4165
+ }
4166
+ var field = reader.getFieldNumber();
4167
+ switch (field) {
4168
+ case 1:
4169
+ var value = /** @type {number} */ (reader.readUint32());
4170
+ msg.setPartIndex(value);
4171
+ break;
4172
+ case 2:
4173
+ var value = /** @type {string} */ (reader.readString());
4174
+ msg.setContentType(value);
4175
+ break;
4176
+ case 3:
4177
+ var value = /** @type {string} */ (reader.readString());
4178
+ msg.setContent(value);
4179
+ break;
4180
+ default:
4181
+ reader.skipField();
4182
+ break;
4183
+ }
4184
+ }
4185
+ return msg;
4186
+ };
4187
+
4188
+
4189
+ /**
4190
+ * Serializes the message to binary data (in protobuf wire format).
4191
+ * @return {!Uint8Array}
4192
+ */
4193
+ proto.gateway.web.v1.AIContentPart.prototype.serializeBinary = function() {
4194
+ var writer = new jspb.BinaryWriter();
4195
+ proto.gateway.web.v1.AIContentPart.serializeBinaryToWriter(this, writer);
4196
+ return writer.getResultBuffer();
4197
+ };
4198
+
4199
+
4200
+ /**
4201
+ * Serializes the given message to binary data (in protobuf wire
4202
+ * format), writing to the given BinaryWriter.
4203
+ * @param {!proto.gateway.web.v1.AIContentPart} message
4204
+ * @param {!jspb.BinaryWriter} writer
4205
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4206
+ */
4207
+ proto.gateway.web.v1.AIContentPart.serializeBinaryToWriter = function(message, writer) {
4208
+ var f = undefined;
4209
+ f = message.getPartIndex();
4210
+ if (f !== 0) {
4211
+ writer.writeUint32(
4212
+ 1,
4213
+ f
4214
+ );
4215
+ }
4216
+ f = message.getContentType();
4217
+ if (f.length > 0) {
4218
+ writer.writeString(
4219
+ 2,
4220
+ f
4221
+ );
4222
+ }
4223
+ f = message.getContent();
4224
+ if (f.length > 0) {
4225
+ writer.writeString(
4226
+ 3,
4227
+ f
4228
+ );
4229
+ }
3261
4230
  };
3262
4231
 
3263
4232
 
3264
4233
  /**
3265
- * optional string turn_id = 4;
3266
- * @return {string}
4234
+ * optional uint32 part_index = 1;
4235
+ * @return {number}
3267
4236
  */
3268
- proto.gateway.web.v1.AISessionEvent.prototype.getTurnId = function() {
3269
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
4237
+ proto.gateway.web.v1.AIContentPart.prototype.getPartIndex = function() {
4238
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
3270
4239
  };
3271
4240
 
3272
4241
 
3273
4242
  /**
3274
- * @param {string} value
3275
- * @return {!proto.gateway.web.v1.AISessionEvent} returns this
4243
+ * @param {number} value
4244
+ * @return {!proto.gateway.web.v1.AIContentPart} returns this
3276
4245
  */
3277
- proto.gateway.web.v1.AISessionEvent.prototype.setTurnId = function(value) {
3278
- return jspb.Message.setProto3StringField(this, 4, value);
4246
+ proto.gateway.web.v1.AIContentPart.prototype.setPartIndex = function(value) {
4247
+ return jspb.Message.setProto3IntField(this, 1, value);
3279
4248
  };
3280
4249
 
3281
4250
 
3282
4251
  /**
3283
- * repeated AIContentPart content = 5;
3284
- * @return {!Array<!proto.gateway.web.v1.AIContentPart>}
4252
+ * optional string content_type = 2;
4253
+ * @return {string}
3285
4254
  */
3286
- proto.gateway.web.v1.AISessionEvent.prototype.getContentList = function() {
3287
- return /** @type{!Array<!proto.gateway.web.v1.AIContentPart>} */ (
3288
- jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.AIContentPart, 5));
3289
- };
3290
-
3291
-
3292
- /**
3293
- * @param {!Array<!proto.gateway.web.v1.AIContentPart>} value
3294
- * @return {!proto.gateway.web.v1.AISessionEvent} returns this
3295
- */
3296
- proto.gateway.web.v1.AISessionEvent.prototype.setContentList = function(value) {
3297
- return jspb.Message.setRepeatedWrapperField(this, 5, value);
4255
+ proto.gateway.web.v1.AIContentPart.prototype.getContentType = function() {
4256
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
3298
4257
  };
3299
4258
 
3300
4259
 
3301
4260
  /**
3302
- * @param {!proto.gateway.web.v1.AIContentPart=} opt_value
3303
- * @param {number=} opt_index
3304
- * @return {!proto.gateway.web.v1.AIContentPart}
4261
+ * @param {string} value
4262
+ * @return {!proto.gateway.web.v1.AIContentPart} returns this
3305
4263
  */
3306
- proto.gateway.web.v1.AISessionEvent.prototype.addContent = function(opt_value, opt_index) {
3307
- return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.gateway.web.v1.AIContentPart, opt_index);
4264
+ proto.gateway.web.v1.AIContentPart.prototype.setContentType = function(value) {
4265
+ return jspb.Message.setProto3StringField(this, 2, value);
3308
4266
  };
3309
4267
 
3310
4268
 
3311
4269
  /**
3312
- * Clears the list making it empty but non-null.
3313
- * @return {!proto.gateway.web.v1.AISessionEvent} returns this
4270
+ * optional string content = 3;
4271
+ * @return {string}
3314
4272
  */
3315
- proto.gateway.web.v1.AISessionEvent.prototype.clearContentList = function() {
3316
- return this.setContentList([]);
4273
+ proto.gateway.web.v1.AIContentPart.prototype.getContent = function() {
4274
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
3317
4275
  };
3318
4276
 
3319
4277
 
3320
4278
  /**
3321
- * optional AITokenUsage usage = 6;
3322
- * @return {?proto.gateway.web.v1.AITokenUsage}
4279
+ * @param {string} value
4280
+ * @return {!proto.gateway.web.v1.AIContentPart} returns this
3323
4281
  */
3324
- proto.gateway.web.v1.AISessionEvent.prototype.getUsage = function() {
3325
- return /** @type{?proto.gateway.web.v1.AITokenUsage} */ (
3326
- jspb.Message.getWrapperField(this, proto.gateway.web.v1.AITokenUsage, 6));
4282
+ proto.gateway.web.v1.AIContentPart.prototype.setContent = function(value) {
4283
+ return jspb.Message.setProto3StringField(this, 3, value);
3327
4284
  };
3328
4285
 
3329
4286
 
3330
- /**
3331
- * @param {?proto.gateway.web.v1.AITokenUsage|undefined} value
3332
- * @return {!proto.gateway.web.v1.AISessionEvent} returns this
3333
- */
3334
- proto.gateway.web.v1.AISessionEvent.prototype.setUsage = function(value) {
3335
- return jspb.Message.setWrapperField(this, 6, value);
3336
- };
3337
-
3338
4287
 
3339
- /**
3340
- * Clears the message field making it undefined.
3341
- * @return {!proto.gateway.web.v1.AISessionEvent} returns this
3342
- */
3343
- proto.gateway.web.v1.AISessionEvent.prototype.clearUsage = function() {
3344
- return this.setUsage(undefined);
3345
- };
3346
4288
 
3347
4289
 
4290
+ if (jspb.Message.GENERATE_TO_OBJECT) {
3348
4291
  /**
3349
- * Returns whether this field is set.
3350
- * @return {boolean}
4292
+ * Creates an object representation of this proto.
4293
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
4294
+ * Optional fields that are not set will be set to undefined.
4295
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
4296
+ * For the list of reserved names please see:
4297
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
4298
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
4299
+ * JSPB instance for transitional soy proto support:
4300
+ * http://goto/soy-param-migration
4301
+ * @return {!Object}
3351
4302
  */
3352
- proto.gateway.web.v1.AISessionEvent.prototype.hasUsage = function() {
3353
- return jspb.Message.getField(this, 6) != null;
4303
+ proto.gateway.web.v1.ListPrincipalsRequest.prototype.toObject = function(opt_includeInstance) {
4304
+ return proto.gateway.web.v1.ListPrincipalsRequest.toObject(opt_includeInstance, this);
3354
4305
  };
3355
4306
 
3356
4307
 
3357
4308
  /**
3358
- * optional string model = 7;
3359
- * @return {string}
4309
+ * Static version of the {@see toObject} method.
4310
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4311
+ * the JSPB instance for transitional soy proto support:
4312
+ * http://goto/soy-param-migration
4313
+ * @param {!proto.gateway.web.v1.ListPrincipalsRequest} msg The msg instance to transform.
4314
+ * @return {!Object}
4315
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3360
4316
  */
3361
- proto.gateway.web.v1.AISessionEvent.prototype.getModel = function() {
3362
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
3363
- };
3364
-
4317
+ proto.gateway.web.v1.ListPrincipalsRequest.toObject = function(includeInstance, msg) {
4318
+ var f, obj = {
4319
+ organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""),
4320
+ projectId: jspb.Message.getFieldWithDefault(msg, 2, ""),
4321
+ kind: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f,
4322
+ sourceSystem: jspb.Message.getFieldWithDefault(msg, 4, ""),
4323
+ pageSize: jspb.Message.getFieldWithDefault(msg, 5, 0),
4324
+ pageToken: jspb.Message.getFieldWithDefault(msg, 6, "")
4325
+ };
3365
4326
 
3366
- /**
3367
- * @param {string} value
3368
- * @return {!proto.gateway.web.v1.AISessionEvent} returns this
3369
- */
3370
- proto.gateway.web.v1.AISessionEvent.prototype.setModel = function(value) {
3371
- return jspb.Message.setProto3StringField(this, 7, value);
4327
+ if (includeInstance) {
4328
+ obj.$jspbMessageInstance = msg;
4329
+ }
4330
+ return obj;
3372
4331
  };
4332
+ }
3373
4333
 
3374
4334
 
3375
4335
  /**
3376
- * optional string provider = 8;
3377
- * @return {string}
4336
+ * Deserializes binary data (in protobuf wire format).
4337
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
4338
+ * @return {!proto.gateway.web.v1.ListPrincipalsRequest}
3378
4339
  */
3379
- proto.gateway.web.v1.AISessionEvent.prototype.getProvider = function() {
3380
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
4340
+ proto.gateway.web.v1.ListPrincipalsRequest.deserializeBinary = function(bytes) {
4341
+ var reader = new jspb.BinaryReader(bytes);
4342
+ var msg = new proto.gateway.web.v1.ListPrincipalsRequest;
4343
+ return proto.gateway.web.v1.ListPrincipalsRequest.deserializeBinaryFromReader(msg, reader);
3381
4344
  };
3382
4345
 
3383
4346
 
3384
4347
  /**
3385
- * @param {string} value
3386
- * @return {!proto.gateway.web.v1.AISessionEvent} returns this
4348
+ * Deserializes binary data (in protobuf wire format) from the
4349
+ * given reader into the given message object.
4350
+ * @param {!proto.gateway.web.v1.ListPrincipalsRequest} msg The message object to deserialize into.
4351
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
4352
+ * @return {!proto.gateway.web.v1.ListPrincipalsRequest}
3387
4353
  */
3388
- proto.gateway.web.v1.AISessionEvent.prototype.setProvider = function(value) {
3389
- return jspb.Message.setProto3StringField(this, 8, value);
4354
+ proto.gateway.web.v1.ListPrincipalsRequest.deserializeBinaryFromReader = function(msg, reader) {
4355
+ while (reader.nextField()) {
4356
+ if (reader.isEndGroup()) {
4357
+ break;
4358
+ }
4359
+ var field = reader.getFieldNumber();
4360
+ switch (field) {
4361
+ case 1:
4362
+ var value = /** @type {string} */ (reader.readString());
4363
+ msg.setOrganizationId(value);
4364
+ break;
4365
+ case 2:
4366
+ var value = /** @type {string} */ (reader.readString());
4367
+ msg.setProjectId(value);
4368
+ break;
4369
+ case 3:
4370
+ var value = /** @type {!proto.gateway.web.v1.AIPrincipalKind} */ (reader.readEnum());
4371
+ msg.setKind(value);
4372
+ break;
4373
+ case 4:
4374
+ var value = /** @type {string} */ (reader.readString());
4375
+ msg.setSourceSystem(value);
4376
+ break;
4377
+ case 5:
4378
+ var value = /** @type {number} */ (reader.readInt32());
4379
+ msg.setPageSize(value);
4380
+ break;
4381
+ case 6:
4382
+ var value = /** @type {string} */ (reader.readString());
4383
+ msg.setPageToken(value);
4384
+ break;
4385
+ default:
4386
+ reader.skipField();
4387
+ break;
4388
+ }
4389
+ }
4390
+ return msg;
3390
4391
  };
3391
4392
 
3392
4393
 
3393
4394
  /**
3394
- * optional string tool_name = 9;
3395
- * @return {string}
4395
+ * Serializes the message to binary data (in protobuf wire format).
4396
+ * @return {!Uint8Array}
3396
4397
  */
3397
- proto.gateway.web.v1.AISessionEvent.prototype.getToolName = function() {
3398
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
4398
+ proto.gateway.web.v1.ListPrincipalsRequest.prototype.serializeBinary = function() {
4399
+ var writer = new jspb.BinaryWriter();
4400
+ proto.gateway.web.v1.ListPrincipalsRequest.serializeBinaryToWriter(this, writer);
4401
+ return writer.getResultBuffer();
3399
4402
  };
3400
4403
 
3401
4404
 
3402
4405
  /**
3403
- * @param {string} value
3404
- * @return {!proto.gateway.web.v1.AISessionEvent} returns this
4406
+ * Serializes the given message to binary data (in protobuf wire
4407
+ * format), writing to the given BinaryWriter.
4408
+ * @param {!proto.gateway.web.v1.ListPrincipalsRequest} message
4409
+ * @param {!jspb.BinaryWriter} writer
4410
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3405
4411
  */
3406
- proto.gateway.web.v1.AISessionEvent.prototype.setToolName = function(value) {
3407
- return jspb.Message.setProto3StringField(this, 9, value);
4412
+ proto.gateway.web.v1.ListPrincipalsRequest.serializeBinaryToWriter = function(message, writer) {
4413
+ var f = undefined;
4414
+ f = message.getOrganizationId();
4415
+ if (f.length > 0) {
4416
+ writer.writeString(
4417
+ 1,
4418
+ f
4419
+ );
4420
+ }
4421
+ f = message.getProjectId();
4422
+ if (f.length > 0) {
4423
+ writer.writeString(
4424
+ 2,
4425
+ f
4426
+ );
4427
+ }
4428
+ f = /** @type {!proto.gateway.web.v1.AIPrincipalKind} */ (jspb.Message.getField(message, 3));
4429
+ if (f != null) {
4430
+ writer.writeEnum(
4431
+ 3,
4432
+ f
4433
+ );
4434
+ }
4435
+ f = message.getSourceSystem();
4436
+ if (f.length > 0) {
4437
+ writer.writeString(
4438
+ 4,
4439
+ f
4440
+ );
4441
+ }
4442
+ f = message.getPageSize();
4443
+ if (f !== 0) {
4444
+ writer.writeInt32(
4445
+ 5,
4446
+ f
4447
+ );
4448
+ }
4449
+ f = message.getPageToken();
4450
+ if (f.length > 0) {
4451
+ writer.writeString(
4452
+ 6,
4453
+ f
4454
+ );
4455
+ }
3408
4456
  };
3409
4457
 
3410
4458
 
3411
4459
  /**
3412
- * optional string status = 10;
4460
+ * optional string organization_id = 1;
3413
4461
  * @return {string}
3414
4462
  */
3415
- proto.gateway.web.v1.AISessionEvent.prototype.getStatus = function() {
3416
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
4463
+ proto.gateway.web.v1.ListPrincipalsRequest.prototype.getOrganizationId = function() {
4464
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
3417
4465
  };
3418
4466
 
3419
4467
 
3420
4468
  /**
3421
4469
  * @param {string} value
3422
- * @return {!proto.gateway.web.v1.AISessionEvent} returns this
4470
+ * @return {!proto.gateway.web.v1.ListPrincipalsRequest} returns this
3423
4471
  */
3424
- proto.gateway.web.v1.AISessionEvent.prototype.setStatus = function(value) {
3425
- return jspb.Message.setProto3StringField(this, 10, value);
4472
+ proto.gateway.web.v1.ListPrincipalsRequest.prototype.setOrganizationId = function(value) {
4473
+ return jspb.Message.setProto3StringField(this, 1, value);
3426
4474
  };
3427
4475
 
3428
4476
 
3429
4477
  /**
3430
- * optional string finish_reason = 11;
4478
+ * optional string project_id = 2;
3431
4479
  * @return {string}
3432
4480
  */
3433
- proto.gateway.web.v1.AISessionEvent.prototype.getFinishReason = function() {
3434
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
4481
+ proto.gateway.web.v1.ListPrincipalsRequest.prototype.getProjectId = function() {
4482
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
3435
4483
  };
3436
4484
 
3437
4485
 
3438
4486
  /**
3439
4487
  * @param {string} value
3440
- * @return {!proto.gateway.web.v1.AISessionEvent} returns this
4488
+ * @return {!proto.gateway.web.v1.ListPrincipalsRequest} returns this
3441
4489
  */
3442
- proto.gateway.web.v1.AISessionEvent.prototype.setFinishReason = function(value) {
3443
- return jspb.Message.setProto3StringField(this, 11, value);
4490
+ proto.gateway.web.v1.ListPrincipalsRequest.prototype.setProjectId = function(value) {
4491
+ return jspb.Message.setProto3StringField(this, 2, value);
3444
4492
  };
3445
4493
 
3446
4494
 
3447
4495
  /**
3448
- * optional int64 duration_ms = 12;
3449
- * @return {number}
4496
+ * optional AIPrincipalKind kind = 3;
4497
+ * @return {!proto.gateway.web.v1.AIPrincipalKind}
3450
4498
  */
3451
- proto.gateway.web.v1.AISessionEvent.prototype.getDurationMs = function() {
3452
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 12, 0));
4499
+ proto.gateway.web.v1.ListPrincipalsRequest.prototype.getKind = function() {
4500
+ return /** @type {!proto.gateway.web.v1.AIPrincipalKind} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
3453
4501
  };
3454
4502
 
3455
4503
 
3456
4504
  /**
3457
- * @param {number} value
3458
- * @return {!proto.gateway.web.v1.AISessionEvent} returns this
4505
+ * @param {!proto.gateway.web.v1.AIPrincipalKind} value
4506
+ * @return {!proto.gateway.web.v1.ListPrincipalsRequest} returns this
3459
4507
  */
3460
- proto.gateway.web.v1.AISessionEvent.prototype.setDurationMs = function(value) {
3461
- return jspb.Message.setField(this, 12, value);
4508
+ proto.gateway.web.v1.ListPrincipalsRequest.prototype.setKind = function(value) {
4509
+ return jspb.Message.setField(this, 3, value);
3462
4510
  };
3463
4511
 
3464
4512
 
3465
4513
  /**
3466
4514
  * Clears the field making it undefined.
3467
- * @return {!proto.gateway.web.v1.AISessionEvent} returns this
4515
+ * @return {!proto.gateway.web.v1.ListPrincipalsRequest} returns this
3468
4516
  */
3469
- proto.gateway.web.v1.AISessionEvent.prototype.clearDurationMs = function() {
3470
- return jspb.Message.setField(this, 12, undefined);
4517
+ proto.gateway.web.v1.ListPrincipalsRequest.prototype.clearKind = function() {
4518
+ return jspb.Message.setField(this, 3, undefined);
3471
4519
  };
3472
4520
 
3473
4521
 
@@ -3475,83 +4523,72 @@ proto.gateway.web.v1.AISessionEvent.prototype.clearDurationMs = function() {
3475
4523
  * Returns whether this field is set.
3476
4524
  * @return {boolean}
3477
4525
  */
3478
- proto.gateway.web.v1.AISessionEvent.prototype.hasDurationMs = function() {
3479
- return jspb.Message.getField(this, 12) != null;
4526
+ proto.gateway.web.v1.ListPrincipalsRequest.prototype.hasKind = function() {
4527
+ return jspb.Message.getField(this, 3) != null;
3480
4528
  };
3481
4529
 
3482
4530
 
3483
4531
  /**
3484
- * optional uint64 ttft_ms = 13;
3485
- * @return {number}
4532
+ * optional string source_system = 4;
4533
+ * @return {string}
3486
4534
  */
3487
- proto.gateway.web.v1.AISessionEvent.prototype.getTtftMs = function() {
3488
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 13, 0));
4535
+ proto.gateway.web.v1.ListPrincipalsRequest.prototype.getSourceSystem = function() {
4536
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
3489
4537
  };
3490
4538
 
3491
4539
 
3492
4540
  /**
3493
- * @param {number} value
3494
- * @return {!proto.gateway.web.v1.AISessionEvent} returns this
4541
+ * @param {string} value
4542
+ * @return {!proto.gateway.web.v1.ListPrincipalsRequest} returns this
3495
4543
  */
3496
- proto.gateway.web.v1.AISessionEvent.prototype.setTtftMs = function(value) {
3497
- return jspb.Message.setField(this, 13, value);
4544
+ proto.gateway.web.v1.ListPrincipalsRequest.prototype.setSourceSystem = function(value) {
4545
+ return jspb.Message.setProto3StringField(this, 4, value);
3498
4546
  };
3499
4547
 
3500
4548
 
3501
4549
  /**
3502
- * Clears the field making it undefined.
3503
- * @return {!proto.gateway.web.v1.AISessionEvent} returns this
4550
+ * optional int32 page_size = 5;
4551
+ * @return {number}
3504
4552
  */
3505
- proto.gateway.web.v1.AISessionEvent.prototype.clearTtftMs = function() {
3506
- return jspb.Message.setField(this, 13, undefined);
4553
+ proto.gateway.web.v1.ListPrincipalsRequest.prototype.getPageSize = function() {
4554
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
3507
4555
  };
3508
4556
 
3509
4557
 
3510
4558
  /**
3511
- * Returns whether this field is set.
3512
- * @return {boolean}
4559
+ * @param {number} value
4560
+ * @return {!proto.gateway.web.v1.ListPrincipalsRequest} returns this
3513
4561
  */
3514
- proto.gateway.web.v1.AISessionEvent.prototype.hasTtftMs = function() {
3515
- return jspb.Message.getField(this, 13) != null;
4562
+ proto.gateway.web.v1.ListPrincipalsRequest.prototype.setPageSize = function(value) {
4563
+ return jspb.Message.setProto3IntField(this, 5, value);
3516
4564
  };
3517
4565
 
3518
4566
 
3519
4567
  /**
3520
- * optional string model_call_id = 14;
4568
+ * optional string page_token = 6;
3521
4569
  * @return {string}
3522
4570
  */
3523
- proto.gateway.web.v1.AISessionEvent.prototype.getModelCallId = function() {
3524
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
4571
+ proto.gateway.web.v1.ListPrincipalsRequest.prototype.getPageToken = function() {
4572
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
3525
4573
  };
3526
4574
 
3527
4575
 
3528
4576
  /**
3529
4577
  * @param {string} value
3530
- * @return {!proto.gateway.web.v1.AISessionEvent} returns this
4578
+ * @return {!proto.gateway.web.v1.ListPrincipalsRequest} returns this
3531
4579
  */
3532
- proto.gateway.web.v1.AISessionEvent.prototype.setModelCallId = function(value) {
3533
- return jspb.Message.setProto3StringField(this, 14, value);
4580
+ proto.gateway.web.v1.ListPrincipalsRequest.prototype.setPageToken = function(value) {
4581
+ return jspb.Message.setProto3StringField(this, 6, value);
3534
4582
  };
3535
4583
 
3536
4584
 
3537
- /**
3538
- * optional string tool_call_id = 15;
3539
- * @return {string}
3540
- */
3541
- proto.gateway.web.v1.AISessionEvent.prototype.getToolCallId = function() {
3542
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
3543
- };
3544
-
3545
4585
 
3546
4586
  /**
3547
- * @param {string} value
3548
- * @return {!proto.gateway.web.v1.AISessionEvent} returns this
4587
+ * List of repeated fields within this message type.
4588
+ * @private {!Array<number>}
4589
+ * @const
3549
4590
  */
3550
- proto.gateway.web.v1.AISessionEvent.prototype.setToolCallId = function(value) {
3551
- return jspb.Message.setProto3StringField(this, 15, value);
3552
- };
3553
-
3554
-
4591
+ proto.gateway.web.v1.ListPrincipalsResponse.repeatedFields_ = [2];
3555
4592
 
3556
4593
 
3557
4594
 
@@ -3568,8 +4605,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
3568
4605
  * http://goto/soy-param-migration
3569
4606
  * @return {!Object}
3570
4607
  */
3571
- proto.gateway.web.v1.AIContentPart.prototype.toObject = function(opt_includeInstance) {
3572
- return proto.gateway.web.v1.AIContentPart.toObject(opt_includeInstance, this);
4608
+ proto.gateway.web.v1.ListPrincipalsResponse.prototype.toObject = function(opt_includeInstance) {
4609
+ return proto.gateway.web.v1.ListPrincipalsResponse.toObject(opt_includeInstance, this);
3573
4610
  };
3574
4611
 
3575
4612
 
@@ -3578,15 +4615,16 @@ proto.gateway.web.v1.AIContentPart.prototype.toObject = function(opt_includeInst
3578
4615
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3579
4616
  * the JSPB instance for transitional soy proto support:
3580
4617
  * http://goto/soy-param-migration
3581
- * @param {!proto.gateway.web.v1.AIContentPart} msg The msg instance to transform.
4618
+ * @param {!proto.gateway.web.v1.ListPrincipalsResponse} msg The msg instance to transform.
3582
4619
  * @return {!Object}
3583
4620
  * @suppress {unusedLocalVariables} f is only used for nested messages
3584
4621
  */
3585
- proto.gateway.web.v1.AIContentPart.toObject = function(includeInstance, msg) {
4622
+ proto.gateway.web.v1.ListPrincipalsResponse.toObject = function(includeInstance, msg) {
3586
4623
  var f, obj = {
3587
- partIndex: jspb.Message.getFieldWithDefault(msg, 1, 0),
3588
- contentType: jspb.Message.getFieldWithDefault(msg, 2, ""),
3589
- content: jspb.Message.getFieldWithDefault(msg, 3, "")
4624
+ status: (f = msg.getStatus()) && proto_gateway_common_v1_status_pb.ResponseStatus.toObject(includeInstance, f),
4625
+ principalsList: jspb.Message.toObjectList(msg.getPrincipalsList(),
4626
+ proto.gateway.web.v1.AIPrincipal.toObject, includeInstance),
4627
+ nextPageToken: jspb.Message.getFieldWithDefault(msg, 3, "")
3590
4628
  };
3591
4629
 
3592
4630
  if (includeInstance) {
@@ -3600,23 +4638,23 @@ content: jspb.Message.getFieldWithDefault(msg, 3, "")
3600
4638
  /**
3601
4639
  * Deserializes binary data (in protobuf wire format).
3602
4640
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
3603
- * @return {!proto.gateway.web.v1.AIContentPart}
4641
+ * @return {!proto.gateway.web.v1.ListPrincipalsResponse}
3604
4642
  */
3605
- proto.gateway.web.v1.AIContentPart.deserializeBinary = function(bytes) {
4643
+ proto.gateway.web.v1.ListPrincipalsResponse.deserializeBinary = function(bytes) {
3606
4644
  var reader = new jspb.BinaryReader(bytes);
3607
- var msg = new proto.gateway.web.v1.AIContentPart;
3608
- return proto.gateway.web.v1.AIContentPart.deserializeBinaryFromReader(msg, reader);
4645
+ var msg = new proto.gateway.web.v1.ListPrincipalsResponse;
4646
+ return proto.gateway.web.v1.ListPrincipalsResponse.deserializeBinaryFromReader(msg, reader);
3609
4647
  };
3610
4648
 
3611
4649
 
3612
4650
  /**
3613
4651
  * Deserializes binary data (in protobuf wire format) from the
3614
4652
  * given reader into the given message object.
3615
- * @param {!proto.gateway.web.v1.AIContentPart} msg The message object to deserialize into.
4653
+ * @param {!proto.gateway.web.v1.ListPrincipalsResponse} msg The message object to deserialize into.
3616
4654
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3617
- * @return {!proto.gateway.web.v1.AIContentPart}
4655
+ * @return {!proto.gateway.web.v1.ListPrincipalsResponse}
3618
4656
  */
3619
- proto.gateway.web.v1.AIContentPart.deserializeBinaryFromReader = function(msg, reader) {
4657
+ proto.gateway.web.v1.ListPrincipalsResponse.deserializeBinaryFromReader = function(msg, reader) {
3620
4658
  while (reader.nextField()) {
3621
4659
  if (reader.isEndGroup()) {
3622
4660
  break;
@@ -3624,16 +4662,18 @@ proto.gateway.web.v1.AIContentPart.deserializeBinaryFromReader = function(msg, r
3624
4662
  var field = reader.getFieldNumber();
3625
4663
  switch (field) {
3626
4664
  case 1:
3627
- var value = /** @type {number} */ (reader.readUint32());
3628
- msg.setPartIndex(value);
4665
+ var value = new proto_gateway_common_v1_status_pb.ResponseStatus;
4666
+ reader.readMessage(value,proto_gateway_common_v1_status_pb.ResponseStatus.deserializeBinaryFromReader);
4667
+ msg.setStatus(value);
3629
4668
  break;
3630
4669
  case 2:
3631
- var value = /** @type {string} */ (reader.readString());
3632
- msg.setContentType(value);
4670
+ var value = new proto.gateway.web.v1.AIPrincipal;
4671
+ reader.readMessage(value,proto.gateway.web.v1.AIPrincipal.deserializeBinaryFromReader);
4672
+ msg.addPrincipals(value);
3633
4673
  break;
3634
4674
  case 3:
3635
4675
  var value = /** @type {string} */ (reader.readString());
3636
- msg.setContent(value);
4676
+ msg.setNextPageToken(value);
3637
4677
  break;
3638
4678
  default:
3639
4679
  reader.skipField();
@@ -3648,9 +4688,9 @@ proto.gateway.web.v1.AIContentPart.deserializeBinaryFromReader = function(msg, r
3648
4688
  * Serializes the message to binary data (in protobuf wire format).
3649
4689
  * @return {!Uint8Array}
3650
4690
  */
3651
- proto.gateway.web.v1.AIContentPart.prototype.serializeBinary = function() {
4691
+ proto.gateway.web.v1.ListPrincipalsResponse.prototype.serializeBinary = function() {
3652
4692
  var writer = new jspb.BinaryWriter();
3653
- proto.gateway.web.v1.AIContentPart.serializeBinaryToWriter(this, writer);
4693
+ proto.gateway.web.v1.ListPrincipalsResponse.serializeBinaryToWriter(this, writer);
3654
4694
  return writer.getResultBuffer();
3655
4695
  };
3656
4696
 
@@ -3658,27 +4698,29 @@ proto.gateway.web.v1.AIContentPart.prototype.serializeBinary = function() {
3658
4698
  /**
3659
4699
  * Serializes the given message to binary data (in protobuf wire
3660
4700
  * format), writing to the given BinaryWriter.
3661
- * @param {!proto.gateway.web.v1.AIContentPart} message
4701
+ * @param {!proto.gateway.web.v1.ListPrincipalsResponse} message
3662
4702
  * @param {!jspb.BinaryWriter} writer
3663
4703
  * @suppress {unusedLocalVariables} f is only used for nested messages
3664
4704
  */
3665
- proto.gateway.web.v1.AIContentPart.serializeBinaryToWriter = function(message, writer) {
4705
+ proto.gateway.web.v1.ListPrincipalsResponse.serializeBinaryToWriter = function(message, writer) {
3666
4706
  var f = undefined;
3667
- f = message.getPartIndex();
3668
- if (f !== 0) {
3669
- writer.writeUint32(
4707
+ f = message.getStatus();
4708
+ if (f != null) {
4709
+ writer.writeMessage(
3670
4710
  1,
3671
- f
4711
+ f,
4712
+ proto_gateway_common_v1_status_pb.ResponseStatus.serializeBinaryToWriter
3672
4713
  );
3673
4714
  }
3674
- f = message.getContentType();
4715
+ f = message.getPrincipalsList();
3675
4716
  if (f.length > 0) {
3676
- writer.writeString(
4717
+ writer.writeRepeatedMessage(
3677
4718
  2,
3678
- f
4719
+ f,
4720
+ proto.gateway.web.v1.AIPrincipal.serializeBinaryToWriter
3679
4721
  );
3680
4722
  }
3681
- f = message.getContent();
4723
+ f = message.getNextPageToken();
3682
4724
  if (f.length > 0) {
3683
4725
  writer.writeString(
3684
4726
  3,
@@ -3689,55 +4731,94 @@ proto.gateway.web.v1.AIContentPart.serializeBinaryToWriter = function(message, w
3689
4731
 
3690
4732
 
3691
4733
  /**
3692
- * optional uint32 part_index = 1;
3693
- * @return {number}
4734
+ * optional gateway.common.v1.ResponseStatus status = 1;
4735
+ * @return {?proto.gateway.common.v1.ResponseStatus}
3694
4736
  */
3695
- proto.gateway.web.v1.AIContentPart.prototype.getPartIndex = function() {
3696
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
4737
+ proto.gateway.web.v1.ListPrincipalsResponse.prototype.getStatus = function() {
4738
+ return /** @type{?proto.gateway.common.v1.ResponseStatus} */ (
4739
+ jspb.Message.getWrapperField(this, proto_gateway_common_v1_status_pb.ResponseStatus, 1));
3697
4740
  };
3698
4741
 
3699
4742
 
3700
4743
  /**
3701
- * @param {number} value
3702
- * @return {!proto.gateway.web.v1.AIContentPart} returns this
4744
+ * @param {?proto.gateway.common.v1.ResponseStatus|undefined} value
4745
+ * @return {!proto.gateway.web.v1.ListPrincipalsResponse} returns this
4746
+ */
4747
+ proto.gateway.web.v1.ListPrincipalsResponse.prototype.setStatus = function(value) {
4748
+ return jspb.Message.setWrapperField(this, 1, value);
4749
+ };
4750
+
4751
+
4752
+ /**
4753
+ * Clears the message field making it undefined.
4754
+ * @return {!proto.gateway.web.v1.ListPrincipalsResponse} returns this
3703
4755
  */
3704
- proto.gateway.web.v1.AIContentPart.prototype.setPartIndex = function(value) {
3705
- return jspb.Message.setProto3IntField(this, 1, value);
4756
+ proto.gateway.web.v1.ListPrincipalsResponse.prototype.clearStatus = function() {
4757
+ return this.setStatus(undefined);
3706
4758
  };
3707
4759
 
3708
4760
 
3709
4761
  /**
3710
- * optional string content_type = 2;
3711
- * @return {string}
4762
+ * Returns whether this field is set.
4763
+ * @return {boolean}
3712
4764
  */
3713
- proto.gateway.web.v1.AIContentPart.prototype.getContentType = function() {
3714
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
4765
+ proto.gateway.web.v1.ListPrincipalsResponse.prototype.hasStatus = function() {
4766
+ return jspb.Message.getField(this, 1) != null;
3715
4767
  };
3716
4768
 
3717
4769
 
3718
4770
  /**
3719
- * @param {string} value
3720
- * @return {!proto.gateway.web.v1.AIContentPart} returns this
4771
+ * repeated AIPrincipal principals = 2;
4772
+ * @return {!Array<!proto.gateway.web.v1.AIPrincipal>}
3721
4773
  */
3722
- proto.gateway.web.v1.AIContentPart.prototype.setContentType = function(value) {
3723
- return jspb.Message.setProto3StringField(this, 2, value);
4774
+ proto.gateway.web.v1.ListPrincipalsResponse.prototype.getPrincipalsList = function() {
4775
+ return /** @type{!Array<!proto.gateway.web.v1.AIPrincipal>} */ (
4776
+ jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.AIPrincipal, 2));
3724
4777
  };
3725
4778
 
3726
4779
 
3727
4780
  /**
3728
- * optional string content = 3;
4781
+ * @param {!Array<!proto.gateway.web.v1.AIPrincipal>} value
4782
+ * @return {!proto.gateway.web.v1.ListPrincipalsResponse} returns this
4783
+ */
4784
+ proto.gateway.web.v1.ListPrincipalsResponse.prototype.setPrincipalsList = function(value) {
4785
+ return jspb.Message.setRepeatedWrapperField(this, 2, value);
4786
+ };
4787
+
4788
+
4789
+ /**
4790
+ * @param {!proto.gateway.web.v1.AIPrincipal=} opt_value
4791
+ * @param {number=} opt_index
4792
+ * @return {!proto.gateway.web.v1.AIPrincipal}
4793
+ */
4794
+ proto.gateway.web.v1.ListPrincipalsResponse.prototype.addPrincipals = function(opt_value, opt_index) {
4795
+ return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.gateway.web.v1.AIPrincipal, opt_index);
4796
+ };
4797
+
4798
+
4799
+ /**
4800
+ * Clears the list making it empty but non-null.
4801
+ * @return {!proto.gateway.web.v1.ListPrincipalsResponse} returns this
4802
+ */
4803
+ proto.gateway.web.v1.ListPrincipalsResponse.prototype.clearPrincipalsList = function() {
4804
+ return this.setPrincipalsList([]);
4805
+ };
4806
+
4807
+
4808
+ /**
4809
+ * optional string next_page_token = 3;
3729
4810
  * @return {string}
3730
4811
  */
3731
- proto.gateway.web.v1.AIContentPart.prototype.getContent = function() {
4812
+ proto.gateway.web.v1.ListPrincipalsResponse.prototype.getNextPageToken = function() {
3732
4813
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
3733
4814
  };
3734
4815
 
3735
4816
 
3736
4817
  /**
3737
4818
  * @param {string} value
3738
- * @return {!proto.gateway.web.v1.AIContentPart} returns this
4819
+ * @return {!proto.gateway.web.v1.ListPrincipalsResponse} returns this
3739
4820
  */
3740
- proto.gateway.web.v1.AIContentPart.prototype.setContent = function(value) {
4821
+ proto.gateway.web.v1.ListPrincipalsResponse.prototype.setNextPageToken = function(value) {
3741
4822
  return jspb.Message.setProto3StringField(this, 3, value);
3742
4823
  };
3743
4824
 
@@ -3758,8 +4839,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
3758
4839
  * http://goto/soy-param-migration
3759
4840
  * @return {!Object}
3760
4841
  */
3761
- proto.gateway.web.v1.ListPrincipalsRequest.prototype.toObject = function(opt_includeInstance) {
3762
- return proto.gateway.web.v1.ListPrincipalsRequest.toObject(opt_includeInstance, this);
4842
+ proto.gateway.web.v1.AIPrincipal.prototype.toObject = function(opt_includeInstance) {
4843
+ return proto.gateway.web.v1.AIPrincipal.toObject(opt_includeInstance, this);
3763
4844
  };
3764
4845
 
3765
4846
 
@@ -3768,18 +4849,17 @@ proto.gateway.web.v1.ListPrincipalsRequest.prototype.toObject = function(opt_inc
3768
4849
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3769
4850
  * the JSPB instance for transitional soy proto support:
3770
4851
  * http://goto/soy-param-migration
3771
- * @param {!proto.gateway.web.v1.ListPrincipalsRequest} msg The msg instance to transform.
4852
+ * @param {!proto.gateway.web.v1.AIPrincipal} msg The msg instance to transform.
3772
4853
  * @return {!Object}
3773
4854
  * @suppress {unusedLocalVariables} f is only used for nested messages
3774
4855
  */
3775
- proto.gateway.web.v1.ListPrincipalsRequest.toObject = function(includeInstance, msg) {
4856
+ proto.gateway.web.v1.AIPrincipal.toObject = function(includeInstance, msg) {
3776
4857
  var f, obj = {
3777
- organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""),
3778
- projectId: jspb.Message.getFieldWithDefault(msg, 2, ""),
3779
- kind: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f,
4858
+ kind: jspb.Message.getFieldWithDefault(msg, 1, 0),
4859
+ id: jspb.Message.getFieldWithDefault(msg, 2, ""),
4860
+ name: jspb.Message.getFieldWithDefault(msg, 3, ""),
3780
4861
  sourceSystem: jspb.Message.getFieldWithDefault(msg, 4, ""),
3781
- pageSize: jspb.Message.getFieldWithDefault(msg, 5, 0),
3782
- pageToken: jspb.Message.getFieldWithDefault(msg, 6, "")
4862
+ alias: jspb.Message.getFieldWithDefault(msg, 5, "")
3783
4863
  };
3784
4864
 
3785
4865
  if (includeInstance) {
@@ -3793,23 +4873,23 @@ pageToken: jspb.Message.getFieldWithDefault(msg, 6, "")
3793
4873
  /**
3794
4874
  * Deserializes binary data (in protobuf wire format).
3795
4875
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
3796
- * @return {!proto.gateway.web.v1.ListPrincipalsRequest}
4876
+ * @return {!proto.gateway.web.v1.AIPrincipal}
3797
4877
  */
3798
- proto.gateway.web.v1.ListPrincipalsRequest.deserializeBinary = function(bytes) {
4878
+ proto.gateway.web.v1.AIPrincipal.deserializeBinary = function(bytes) {
3799
4879
  var reader = new jspb.BinaryReader(bytes);
3800
- var msg = new proto.gateway.web.v1.ListPrincipalsRequest;
3801
- return proto.gateway.web.v1.ListPrincipalsRequest.deserializeBinaryFromReader(msg, reader);
4880
+ var msg = new proto.gateway.web.v1.AIPrincipal;
4881
+ return proto.gateway.web.v1.AIPrincipal.deserializeBinaryFromReader(msg, reader);
3802
4882
  };
3803
4883
 
3804
4884
 
3805
4885
  /**
3806
4886
  * Deserializes binary data (in protobuf wire format) from the
3807
4887
  * given reader into the given message object.
3808
- * @param {!proto.gateway.web.v1.ListPrincipalsRequest} msg The message object to deserialize into.
4888
+ * @param {!proto.gateway.web.v1.AIPrincipal} msg The message object to deserialize into.
3809
4889
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3810
- * @return {!proto.gateway.web.v1.ListPrincipalsRequest}
4890
+ * @return {!proto.gateway.web.v1.AIPrincipal}
3811
4891
  */
3812
- proto.gateway.web.v1.ListPrincipalsRequest.deserializeBinaryFromReader = function(msg, reader) {
4892
+ proto.gateway.web.v1.AIPrincipal.deserializeBinaryFromReader = function(msg, reader) {
3813
4893
  while (reader.nextField()) {
3814
4894
  if (reader.isEndGroup()) {
3815
4895
  break;
@@ -3817,28 +4897,24 @@ proto.gateway.web.v1.ListPrincipalsRequest.deserializeBinaryFromReader = functio
3817
4897
  var field = reader.getFieldNumber();
3818
4898
  switch (field) {
3819
4899
  case 1:
3820
- var value = /** @type {string} */ (reader.readString());
3821
- msg.setOrganizationId(value);
4900
+ var value = /** @type {!proto.gateway.web.v1.AIPrincipalKind} */ (reader.readEnum());
4901
+ msg.setKind(value);
3822
4902
  break;
3823
4903
  case 2:
3824
4904
  var value = /** @type {string} */ (reader.readString());
3825
- msg.setProjectId(value);
4905
+ msg.setId(value);
3826
4906
  break;
3827
4907
  case 3:
3828
- var value = /** @type {!proto.gateway.web.v1.AIPrincipalKind} */ (reader.readEnum());
3829
- msg.setKind(value);
4908
+ var value = /** @type {string} */ (reader.readString());
4909
+ msg.setName(value);
3830
4910
  break;
3831
4911
  case 4:
3832
4912
  var value = /** @type {string} */ (reader.readString());
3833
4913
  msg.setSourceSystem(value);
3834
4914
  break;
3835
4915
  case 5:
3836
- var value = /** @type {number} */ (reader.readInt32());
3837
- msg.setPageSize(value);
3838
- break;
3839
- case 6:
3840
4916
  var value = /** @type {string} */ (reader.readString());
3841
- msg.setPageToken(value);
4917
+ msg.setAlias(value);
3842
4918
  break;
3843
4919
  default:
3844
4920
  reader.skipField();
@@ -3853,9 +4929,9 @@ proto.gateway.web.v1.ListPrincipalsRequest.deserializeBinaryFromReader = functio
3853
4929
  * Serializes the message to binary data (in protobuf wire format).
3854
4930
  * @return {!Uint8Array}
3855
4931
  */
3856
- proto.gateway.web.v1.ListPrincipalsRequest.prototype.serializeBinary = function() {
4932
+ proto.gateway.web.v1.AIPrincipal.prototype.serializeBinary = function() {
3857
4933
  var writer = new jspb.BinaryWriter();
3858
- proto.gateway.web.v1.ListPrincipalsRequest.serializeBinaryToWriter(this, writer);
4934
+ proto.gateway.web.v1.AIPrincipal.serializeBinaryToWriter(this, writer);
3859
4935
  return writer.getResultBuffer();
3860
4936
  };
3861
4937
 
@@ -3863,29 +4939,29 @@ proto.gateway.web.v1.ListPrincipalsRequest.prototype.serializeBinary = function(
3863
4939
  /**
3864
4940
  * Serializes the given message to binary data (in protobuf wire
3865
4941
  * format), writing to the given BinaryWriter.
3866
- * @param {!proto.gateway.web.v1.ListPrincipalsRequest} message
4942
+ * @param {!proto.gateway.web.v1.AIPrincipal} message
3867
4943
  * @param {!jspb.BinaryWriter} writer
3868
4944
  * @suppress {unusedLocalVariables} f is only used for nested messages
3869
4945
  */
3870
- proto.gateway.web.v1.ListPrincipalsRequest.serializeBinaryToWriter = function(message, writer) {
4946
+ proto.gateway.web.v1.AIPrincipal.serializeBinaryToWriter = function(message, writer) {
3871
4947
  var f = undefined;
3872
- f = message.getOrganizationId();
3873
- if (f.length > 0) {
3874
- writer.writeString(
4948
+ f = message.getKind();
4949
+ if (f !== 0.0) {
4950
+ writer.writeEnum(
3875
4951
  1,
3876
4952
  f
3877
4953
  );
3878
4954
  }
3879
- f = message.getProjectId();
4955
+ f = message.getId();
3880
4956
  if (f.length > 0) {
3881
4957
  writer.writeString(
3882
4958
  2,
3883
4959
  f
3884
4960
  );
3885
4961
  }
3886
- f = /** @type {!proto.gateway.web.v1.AIPrincipalKind} */ (jspb.Message.getField(message, 3));
3887
- if (f != null) {
3888
- writer.writeEnum(
4962
+ f = message.getName();
4963
+ if (f.length > 0) {
4964
+ writer.writeString(
3889
4965
  3,
3890
4966
  f
3891
4967
  );
@@ -3897,17 +4973,10 @@ proto.gateway.web.v1.ListPrincipalsRequest.serializeBinaryToWriter = function(me
3897
4973
  f
3898
4974
  );
3899
4975
  }
3900
- f = message.getPageSize();
3901
- if (f !== 0) {
3902
- writer.writeInt32(
3903
- 5,
3904
- f
3905
- );
3906
- }
3907
- f = message.getPageToken();
4976
+ f = message.getAlias();
3908
4977
  if (f.length > 0) {
3909
4978
  writer.writeString(
3910
- 6,
4979
+ 5,
3911
4980
  f
3912
4981
  );
3913
4982
  }
@@ -3915,74 +4984,56 @@ proto.gateway.web.v1.ListPrincipalsRequest.serializeBinaryToWriter = function(me
3915
4984
 
3916
4985
 
3917
4986
  /**
3918
- * optional string organization_id = 1;
3919
- * @return {string}
4987
+ * optional AIPrincipalKind kind = 1;
4988
+ * @return {!proto.gateway.web.v1.AIPrincipalKind}
3920
4989
  */
3921
- proto.gateway.web.v1.ListPrincipalsRequest.prototype.getOrganizationId = function() {
3922
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
4990
+ proto.gateway.web.v1.AIPrincipal.prototype.getKind = function() {
4991
+ return /** @type {!proto.gateway.web.v1.AIPrincipalKind} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
3923
4992
  };
3924
4993
 
3925
4994
 
3926
4995
  /**
3927
- * @param {string} value
3928
- * @return {!proto.gateway.web.v1.ListPrincipalsRequest} returns this
4996
+ * @param {!proto.gateway.web.v1.AIPrincipalKind} value
4997
+ * @return {!proto.gateway.web.v1.AIPrincipal} returns this
3929
4998
  */
3930
- proto.gateway.web.v1.ListPrincipalsRequest.prototype.setOrganizationId = function(value) {
3931
- return jspb.Message.setProto3StringField(this, 1, value);
4999
+ proto.gateway.web.v1.AIPrincipal.prototype.setKind = function(value) {
5000
+ return jspb.Message.setProto3EnumField(this, 1, value);
3932
5001
  };
3933
5002
 
3934
5003
 
3935
5004
  /**
3936
- * optional string project_id = 2;
5005
+ * optional string id = 2;
3937
5006
  * @return {string}
3938
5007
  */
3939
- proto.gateway.web.v1.ListPrincipalsRequest.prototype.getProjectId = function() {
5008
+ proto.gateway.web.v1.AIPrincipal.prototype.getId = function() {
3940
5009
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
3941
5010
  };
3942
5011
 
3943
5012
 
3944
5013
  /**
3945
5014
  * @param {string} value
3946
- * @return {!proto.gateway.web.v1.ListPrincipalsRequest} returns this
5015
+ * @return {!proto.gateway.web.v1.AIPrincipal} returns this
3947
5016
  */
3948
- proto.gateway.web.v1.ListPrincipalsRequest.prototype.setProjectId = function(value) {
5017
+ proto.gateway.web.v1.AIPrincipal.prototype.setId = function(value) {
3949
5018
  return jspb.Message.setProto3StringField(this, 2, value);
3950
5019
  };
3951
5020
 
3952
5021
 
3953
5022
  /**
3954
- * optional AIPrincipalKind kind = 3;
3955
- * @return {!proto.gateway.web.v1.AIPrincipalKind}
3956
- */
3957
- proto.gateway.web.v1.ListPrincipalsRequest.prototype.getKind = function() {
3958
- return /** @type {!proto.gateway.web.v1.AIPrincipalKind} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
3959
- };
3960
-
3961
-
3962
- /**
3963
- * @param {!proto.gateway.web.v1.AIPrincipalKind} value
3964
- * @return {!proto.gateway.web.v1.ListPrincipalsRequest} returns this
3965
- */
3966
- proto.gateway.web.v1.ListPrincipalsRequest.prototype.setKind = function(value) {
3967
- return jspb.Message.setField(this, 3, value);
3968
- };
3969
-
3970
-
3971
- /**
3972
- * Clears the field making it undefined.
3973
- * @return {!proto.gateway.web.v1.ListPrincipalsRequest} returns this
5023
+ * optional string name = 3;
5024
+ * @return {string}
3974
5025
  */
3975
- proto.gateway.web.v1.ListPrincipalsRequest.prototype.clearKind = function() {
3976
- return jspb.Message.setField(this, 3, undefined);
5026
+ proto.gateway.web.v1.AIPrincipal.prototype.getName = function() {
5027
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
3977
5028
  };
3978
5029
 
3979
5030
 
3980
5031
  /**
3981
- * Returns whether this field is set.
3982
- * @return {boolean}
5032
+ * @param {string} value
5033
+ * @return {!proto.gateway.web.v1.AIPrincipal} returns this
3983
5034
  */
3984
- proto.gateway.web.v1.ListPrincipalsRequest.prototype.hasKind = function() {
3985
- return jspb.Message.getField(this, 3) != null;
5035
+ proto.gateway.web.v1.AIPrincipal.prototype.setName = function(value) {
5036
+ return jspb.Message.setProto3StringField(this, 3, value);
3986
5037
  };
3987
5038
 
3988
5039
 
@@ -3990,64 +5041,39 @@ proto.gateway.web.v1.ListPrincipalsRequest.prototype.hasKind = function() {
3990
5041
  * optional string source_system = 4;
3991
5042
  * @return {string}
3992
5043
  */
3993
- proto.gateway.web.v1.ListPrincipalsRequest.prototype.getSourceSystem = function() {
5044
+ proto.gateway.web.v1.AIPrincipal.prototype.getSourceSystem = function() {
3994
5045
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
3995
5046
  };
3996
5047
 
3997
5048
 
3998
5049
  /**
3999
5050
  * @param {string} value
4000
- * @return {!proto.gateway.web.v1.ListPrincipalsRequest} returns this
5051
+ * @return {!proto.gateway.web.v1.AIPrincipal} returns this
4001
5052
  */
4002
- proto.gateway.web.v1.ListPrincipalsRequest.prototype.setSourceSystem = function(value) {
5053
+ proto.gateway.web.v1.AIPrincipal.prototype.setSourceSystem = function(value) {
4003
5054
  return jspb.Message.setProto3StringField(this, 4, value);
4004
5055
  };
4005
5056
 
4006
5057
 
4007
5058
  /**
4008
- * optional int32 page_size = 5;
4009
- * @return {number}
4010
- */
4011
- proto.gateway.web.v1.ListPrincipalsRequest.prototype.getPageSize = function() {
4012
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
4013
- };
4014
-
4015
-
4016
- /**
4017
- * @param {number} value
4018
- * @return {!proto.gateway.web.v1.ListPrincipalsRequest} returns this
4019
- */
4020
- proto.gateway.web.v1.ListPrincipalsRequest.prototype.setPageSize = function(value) {
4021
- return jspb.Message.setProto3IntField(this, 5, value);
4022
- };
4023
-
4024
-
4025
- /**
4026
- * optional string page_token = 6;
5059
+ * optional string alias = 5;
4027
5060
  * @return {string}
4028
5061
  */
4029
- proto.gateway.web.v1.ListPrincipalsRequest.prototype.getPageToken = function() {
4030
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
5062
+ proto.gateway.web.v1.AIPrincipal.prototype.getAlias = function() {
5063
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
4031
5064
  };
4032
5065
 
4033
5066
 
4034
5067
  /**
4035
5068
  * @param {string} value
4036
- * @return {!proto.gateway.web.v1.ListPrincipalsRequest} returns this
5069
+ * @return {!proto.gateway.web.v1.AIPrincipal} returns this
4037
5070
  */
4038
- proto.gateway.web.v1.ListPrincipalsRequest.prototype.setPageToken = function(value) {
4039
- return jspb.Message.setProto3StringField(this, 6, value);
5071
+ proto.gateway.web.v1.AIPrincipal.prototype.setAlias = function(value) {
5072
+ return jspb.Message.setProto3StringField(this, 5, value);
4040
5073
  };
4041
5074
 
4042
5075
 
4043
5076
 
4044
- /**
4045
- * List of repeated fields within this message type.
4046
- * @private {!Array<number>}
4047
- * @const
4048
- */
4049
- proto.gateway.web.v1.ListPrincipalsResponse.repeatedFields_ = [2];
4050
-
4051
5077
 
4052
5078
 
4053
5079
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -4063,8 +5089,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
4063
5089
  * http://goto/soy-param-migration
4064
5090
  * @return {!Object}
4065
5091
  */
4066
- proto.gateway.web.v1.ListPrincipalsResponse.prototype.toObject = function(opt_includeInstance) {
4067
- return proto.gateway.web.v1.ListPrincipalsResponse.toObject(opt_includeInstance, this);
5092
+ proto.gateway.web.v1.UpdatePrincipalRequest.prototype.toObject = function(opt_includeInstance) {
5093
+ return proto.gateway.web.v1.UpdatePrincipalRequest.toObject(opt_includeInstance, this);
4068
5094
  };
4069
5095
 
4070
5096
 
@@ -4073,16 +5099,18 @@ proto.gateway.web.v1.ListPrincipalsResponse.prototype.toObject = function(opt_in
4073
5099
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4074
5100
  * the JSPB instance for transitional soy proto support:
4075
5101
  * http://goto/soy-param-migration
4076
- * @param {!proto.gateway.web.v1.ListPrincipalsResponse} msg The msg instance to transform.
5102
+ * @param {!proto.gateway.web.v1.UpdatePrincipalRequest} msg The msg instance to transform.
4077
5103
  * @return {!Object}
4078
5104
  * @suppress {unusedLocalVariables} f is only used for nested messages
4079
5105
  */
4080
- proto.gateway.web.v1.ListPrincipalsResponse.toObject = function(includeInstance, msg) {
5106
+ proto.gateway.web.v1.UpdatePrincipalRequest.toObject = function(includeInstance, msg) {
4081
5107
  var f, obj = {
4082
- status: (f = msg.getStatus()) && proto_gateway_common_v1_status_pb.ResponseStatus.toObject(includeInstance, f),
4083
- principalsList: jspb.Message.toObjectList(msg.getPrincipalsList(),
4084
- proto.gateway.web.v1.AIPrincipal.toObject, includeInstance),
4085
- nextPageToken: jspb.Message.getFieldWithDefault(msg, 3, "")
5108
+ organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""),
5109
+ projectId: jspb.Message.getFieldWithDefault(msg, 2, ""),
5110
+ kind: jspb.Message.getFieldWithDefault(msg, 3, 0),
5111
+ id: jspb.Message.getFieldWithDefault(msg, 4, ""),
5112
+ sourceSystem: jspb.Message.getFieldWithDefault(msg, 5, ""),
5113
+ alias: jspb.Message.getFieldWithDefault(msg, 6, "")
4086
5114
  };
4087
5115
 
4088
5116
  if (includeInstance) {
@@ -4096,23 +5124,23 @@ nextPageToken: jspb.Message.getFieldWithDefault(msg, 3, "")
4096
5124
  /**
4097
5125
  * Deserializes binary data (in protobuf wire format).
4098
5126
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
4099
- * @return {!proto.gateway.web.v1.ListPrincipalsResponse}
5127
+ * @return {!proto.gateway.web.v1.UpdatePrincipalRequest}
4100
5128
  */
4101
- proto.gateway.web.v1.ListPrincipalsResponse.deserializeBinary = function(bytes) {
5129
+ proto.gateway.web.v1.UpdatePrincipalRequest.deserializeBinary = function(bytes) {
4102
5130
  var reader = new jspb.BinaryReader(bytes);
4103
- var msg = new proto.gateway.web.v1.ListPrincipalsResponse;
4104
- return proto.gateway.web.v1.ListPrincipalsResponse.deserializeBinaryFromReader(msg, reader);
5131
+ var msg = new proto.gateway.web.v1.UpdatePrincipalRequest;
5132
+ return proto.gateway.web.v1.UpdatePrincipalRequest.deserializeBinaryFromReader(msg, reader);
4105
5133
  };
4106
5134
 
4107
5135
 
4108
5136
  /**
4109
5137
  * Deserializes binary data (in protobuf wire format) from the
4110
5138
  * given reader into the given message object.
4111
- * @param {!proto.gateway.web.v1.ListPrincipalsResponse} msg The message object to deserialize into.
5139
+ * @param {!proto.gateway.web.v1.UpdatePrincipalRequest} msg The message object to deserialize into.
4112
5140
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
4113
- * @return {!proto.gateway.web.v1.ListPrincipalsResponse}
5141
+ * @return {!proto.gateway.web.v1.UpdatePrincipalRequest}
4114
5142
  */
4115
- proto.gateway.web.v1.ListPrincipalsResponse.deserializeBinaryFromReader = function(msg, reader) {
5143
+ proto.gateway.web.v1.UpdatePrincipalRequest.deserializeBinaryFromReader = function(msg, reader) {
4116
5144
  while (reader.nextField()) {
4117
5145
  if (reader.isEndGroup()) {
4118
5146
  break;
@@ -4120,18 +5148,28 @@ proto.gateway.web.v1.ListPrincipalsResponse.deserializeBinaryFromReader = functi
4120
5148
  var field = reader.getFieldNumber();
4121
5149
  switch (field) {
4122
5150
  case 1:
4123
- var value = new proto_gateway_common_v1_status_pb.ResponseStatus;
4124
- reader.readMessage(value,proto_gateway_common_v1_status_pb.ResponseStatus.deserializeBinaryFromReader);
4125
- msg.setStatus(value);
5151
+ var value = /** @type {string} */ (reader.readString());
5152
+ msg.setOrganizationId(value);
4126
5153
  break;
4127
5154
  case 2:
4128
- var value = new proto.gateway.web.v1.AIPrincipal;
4129
- reader.readMessage(value,proto.gateway.web.v1.AIPrincipal.deserializeBinaryFromReader);
4130
- msg.addPrincipals(value);
5155
+ var value = /** @type {string} */ (reader.readString());
5156
+ msg.setProjectId(value);
4131
5157
  break;
4132
5158
  case 3:
5159
+ var value = /** @type {!proto.gateway.web.v1.AIPrincipalKind} */ (reader.readEnum());
5160
+ msg.setKind(value);
5161
+ break;
5162
+ case 4:
4133
5163
  var value = /** @type {string} */ (reader.readString());
4134
- msg.setNextPageToken(value);
5164
+ msg.setId(value);
5165
+ break;
5166
+ case 5:
5167
+ var value = /** @type {string} */ (reader.readString());
5168
+ msg.setSourceSystem(value);
5169
+ break;
5170
+ case 6:
5171
+ var value = /** @type {string} */ (reader.readString());
5172
+ msg.setAlias(value);
4135
5173
  break;
4136
5174
  default:
4137
5175
  reader.skipField();
@@ -4146,9 +5184,9 @@ proto.gateway.web.v1.ListPrincipalsResponse.deserializeBinaryFromReader = functi
4146
5184
  * Serializes the message to binary data (in protobuf wire format).
4147
5185
  * @return {!Uint8Array}
4148
5186
  */
4149
- proto.gateway.web.v1.ListPrincipalsResponse.prototype.serializeBinary = function() {
5187
+ proto.gateway.web.v1.UpdatePrincipalRequest.prototype.serializeBinary = function() {
4150
5188
  var writer = new jspb.BinaryWriter();
4151
- proto.gateway.web.v1.ListPrincipalsResponse.serializeBinaryToWriter(this, writer);
5189
+ proto.gateway.web.v1.UpdatePrincipalRequest.serializeBinaryToWriter(this, writer);
4152
5190
  return writer.getResultBuffer();
4153
5191
  };
4154
5192
 
@@ -4156,32 +5194,51 @@ proto.gateway.web.v1.ListPrincipalsResponse.prototype.serializeBinary = function
4156
5194
  /**
4157
5195
  * Serializes the given message to binary data (in protobuf wire
4158
5196
  * format), writing to the given BinaryWriter.
4159
- * @param {!proto.gateway.web.v1.ListPrincipalsResponse} message
5197
+ * @param {!proto.gateway.web.v1.UpdatePrincipalRequest} message
4160
5198
  * @param {!jspb.BinaryWriter} writer
4161
5199
  * @suppress {unusedLocalVariables} f is only used for nested messages
4162
5200
  */
4163
- proto.gateway.web.v1.ListPrincipalsResponse.serializeBinaryToWriter = function(message, writer) {
5201
+ proto.gateway.web.v1.UpdatePrincipalRequest.serializeBinaryToWriter = function(message, writer) {
4164
5202
  var f = undefined;
4165
- f = message.getStatus();
4166
- if (f != null) {
4167
- writer.writeMessage(
5203
+ f = message.getOrganizationId();
5204
+ if (f.length > 0) {
5205
+ writer.writeString(
4168
5206
  1,
4169
- f,
4170
- proto_gateway_common_v1_status_pb.ResponseStatus.serializeBinaryToWriter
5207
+ f
5208
+ );
5209
+ }
5210
+ f = message.getProjectId();
5211
+ if (f.length > 0) {
5212
+ writer.writeString(
5213
+ 2,
5214
+ f
5215
+ );
5216
+ }
5217
+ f = message.getKind();
5218
+ if (f !== 0.0) {
5219
+ writer.writeEnum(
5220
+ 3,
5221
+ f
4171
5222
  );
4172
5223
  }
4173
- f = message.getPrincipalsList();
5224
+ f = message.getId();
4174
5225
  if (f.length > 0) {
4175
- writer.writeRepeatedMessage(
4176
- 2,
4177
- f,
4178
- proto.gateway.web.v1.AIPrincipal.serializeBinaryToWriter
5226
+ writer.writeString(
5227
+ 4,
5228
+ f
4179
5229
  );
4180
5230
  }
4181
- f = message.getNextPageToken();
5231
+ f = message.getSourceSystem();
4182
5232
  if (f.length > 0) {
4183
5233
  writer.writeString(
4184
- 3,
5234
+ 5,
5235
+ f
5236
+ );
5237
+ }
5238
+ f = message.getAlias();
5239
+ if (f.length > 0) {
5240
+ writer.writeString(
5241
+ 6,
4185
5242
  f
4186
5243
  );
4187
5244
  }
@@ -4189,95 +5246,110 @@ proto.gateway.web.v1.ListPrincipalsResponse.serializeBinaryToWriter = function(m
4189
5246
 
4190
5247
 
4191
5248
  /**
4192
- * optional gateway.common.v1.ResponseStatus status = 1;
4193
- * @return {?proto.gateway.common.v1.ResponseStatus}
5249
+ * optional string organization_id = 1;
5250
+ * @return {string}
4194
5251
  */
4195
- proto.gateway.web.v1.ListPrincipalsResponse.prototype.getStatus = function() {
4196
- return /** @type{?proto.gateway.common.v1.ResponseStatus} */ (
4197
- jspb.Message.getWrapperField(this, proto_gateway_common_v1_status_pb.ResponseStatus, 1));
5252
+ proto.gateway.web.v1.UpdatePrincipalRequest.prototype.getOrganizationId = function() {
5253
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
4198
5254
  };
4199
5255
 
4200
5256
 
4201
5257
  /**
4202
- * @param {?proto.gateway.common.v1.ResponseStatus|undefined} value
4203
- * @return {!proto.gateway.web.v1.ListPrincipalsResponse} returns this
4204
- */
4205
- proto.gateway.web.v1.ListPrincipalsResponse.prototype.setStatus = function(value) {
4206
- return jspb.Message.setWrapperField(this, 1, value);
5258
+ * @param {string} value
5259
+ * @return {!proto.gateway.web.v1.UpdatePrincipalRequest} returns this
5260
+ */
5261
+ proto.gateway.web.v1.UpdatePrincipalRequest.prototype.setOrganizationId = function(value) {
5262
+ return jspb.Message.setProto3StringField(this, 1, value);
4207
5263
  };
4208
5264
 
4209
5265
 
4210
5266
  /**
4211
- * Clears the message field making it undefined.
4212
- * @return {!proto.gateway.web.v1.ListPrincipalsResponse} returns this
5267
+ * optional string project_id = 2;
5268
+ * @return {string}
4213
5269
  */
4214
- proto.gateway.web.v1.ListPrincipalsResponse.prototype.clearStatus = function() {
4215
- return this.setStatus(undefined);
5270
+ proto.gateway.web.v1.UpdatePrincipalRequest.prototype.getProjectId = function() {
5271
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
4216
5272
  };
4217
5273
 
4218
5274
 
4219
5275
  /**
4220
- * Returns whether this field is set.
4221
- * @return {boolean}
5276
+ * @param {string} value
5277
+ * @return {!proto.gateway.web.v1.UpdatePrincipalRequest} returns this
4222
5278
  */
4223
- proto.gateway.web.v1.ListPrincipalsResponse.prototype.hasStatus = function() {
4224
- return jspb.Message.getField(this, 1) != null;
5279
+ proto.gateway.web.v1.UpdatePrincipalRequest.prototype.setProjectId = function(value) {
5280
+ return jspb.Message.setProto3StringField(this, 2, value);
4225
5281
  };
4226
5282
 
4227
5283
 
4228
5284
  /**
4229
- * repeated AIPrincipal principals = 2;
4230
- * @return {!Array<!proto.gateway.web.v1.AIPrincipal>}
5285
+ * optional AIPrincipalKind kind = 3;
5286
+ * @return {!proto.gateway.web.v1.AIPrincipalKind}
4231
5287
  */
4232
- proto.gateway.web.v1.ListPrincipalsResponse.prototype.getPrincipalsList = function() {
4233
- return /** @type{!Array<!proto.gateway.web.v1.AIPrincipal>} */ (
4234
- jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.AIPrincipal, 2));
5288
+ proto.gateway.web.v1.UpdatePrincipalRequest.prototype.getKind = function() {
5289
+ return /** @type {!proto.gateway.web.v1.AIPrincipalKind} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
4235
5290
  };
4236
5291
 
4237
5292
 
4238
5293
  /**
4239
- * @param {!Array<!proto.gateway.web.v1.AIPrincipal>} value
4240
- * @return {!proto.gateway.web.v1.ListPrincipalsResponse} returns this
4241
- */
4242
- proto.gateway.web.v1.ListPrincipalsResponse.prototype.setPrincipalsList = function(value) {
4243
- return jspb.Message.setRepeatedWrapperField(this, 2, value);
5294
+ * @param {!proto.gateway.web.v1.AIPrincipalKind} value
5295
+ * @return {!proto.gateway.web.v1.UpdatePrincipalRequest} returns this
5296
+ */
5297
+ proto.gateway.web.v1.UpdatePrincipalRequest.prototype.setKind = function(value) {
5298
+ return jspb.Message.setProto3EnumField(this, 3, value);
4244
5299
  };
4245
5300
 
4246
5301
 
4247
5302
  /**
4248
- * @param {!proto.gateway.web.v1.AIPrincipal=} opt_value
4249
- * @param {number=} opt_index
4250
- * @return {!proto.gateway.web.v1.AIPrincipal}
5303
+ * optional string id = 4;
5304
+ * @return {string}
4251
5305
  */
4252
- proto.gateway.web.v1.ListPrincipalsResponse.prototype.addPrincipals = function(opt_value, opt_index) {
4253
- return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.gateway.web.v1.AIPrincipal, opt_index);
5306
+ proto.gateway.web.v1.UpdatePrincipalRequest.prototype.getId = function() {
5307
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
4254
5308
  };
4255
5309
 
4256
5310
 
4257
5311
  /**
4258
- * Clears the list making it empty but non-null.
4259
- * @return {!proto.gateway.web.v1.ListPrincipalsResponse} returns this
5312
+ * @param {string} value
5313
+ * @return {!proto.gateway.web.v1.UpdatePrincipalRequest} returns this
4260
5314
  */
4261
- proto.gateway.web.v1.ListPrincipalsResponse.prototype.clearPrincipalsList = function() {
4262
- return this.setPrincipalsList([]);
5315
+ proto.gateway.web.v1.UpdatePrincipalRequest.prototype.setId = function(value) {
5316
+ return jspb.Message.setProto3StringField(this, 4, value);
4263
5317
  };
4264
5318
 
4265
5319
 
4266
5320
  /**
4267
- * optional string next_page_token = 3;
5321
+ * optional string source_system = 5;
4268
5322
  * @return {string}
4269
5323
  */
4270
- proto.gateway.web.v1.ListPrincipalsResponse.prototype.getNextPageToken = function() {
4271
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
5324
+ proto.gateway.web.v1.UpdatePrincipalRequest.prototype.getSourceSystem = function() {
5325
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
4272
5326
  };
4273
5327
 
4274
5328
 
4275
5329
  /**
4276
5330
  * @param {string} value
4277
- * @return {!proto.gateway.web.v1.ListPrincipalsResponse} returns this
5331
+ * @return {!proto.gateway.web.v1.UpdatePrincipalRequest} returns this
4278
5332
  */
4279
- proto.gateway.web.v1.ListPrincipalsResponse.prototype.setNextPageToken = function(value) {
4280
- return jspb.Message.setProto3StringField(this, 3, value);
5333
+ proto.gateway.web.v1.UpdatePrincipalRequest.prototype.setSourceSystem = function(value) {
5334
+ return jspb.Message.setProto3StringField(this, 5, value);
5335
+ };
5336
+
5337
+
5338
+ /**
5339
+ * optional string alias = 6;
5340
+ * @return {string}
5341
+ */
5342
+ proto.gateway.web.v1.UpdatePrincipalRequest.prototype.getAlias = function() {
5343
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
5344
+ };
5345
+
5346
+
5347
+ /**
5348
+ * @param {string} value
5349
+ * @return {!proto.gateway.web.v1.UpdatePrincipalRequest} returns this
5350
+ */
5351
+ proto.gateway.web.v1.UpdatePrincipalRequest.prototype.setAlias = function(value) {
5352
+ return jspb.Message.setProto3StringField(this, 6, value);
4281
5353
  };
4282
5354
 
4283
5355
 
@@ -4297,8 +5369,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
4297
5369
  * http://goto/soy-param-migration
4298
5370
  * @return {!Object}
4299
5371
  */
4300
- proto.gateway.web.v1.AIPrincipal.prototype.toObject = function(opt_includeInstance) {
4301
- return proto.gateway.web.v1.AIPrincipal.toObject(opt_includeInstance, this);
5372
+ proto.gateway.web.v1.UpdatePrincipalResponse.prototype.toObject = function(opt_includeInstance) {
5373
+ return proto.gateway.web.v1.UpdatePrincipalResponse.toObject(opt_includeInstance, this);
4302
5374
  };
4303
5375
 
4304
5376
 
@@ -4307,17 +5379,14 @@ proto.gateway.web.v1.AIPrincipal.prototype.toObject = function(opt_includeInstan
4307
5379
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4308
5380
  * the JSPB instance for transitional soy proto support:
4309
5381
  * http://goto/soy-param-migration
4310
- * @param {!proto.gateway.web.v1.AIPrincipal} msg The msg instance to transform.
5382
+ * @param {!proto.gateway.web.v1.UpdatePrincipalResponse} msg The msg instance to transform.
4311
5383
  * @return {!Object}
4312
5384
  * @suppress {unusedLocalVariables} f is only used for nested messages
4313
5385
  */
4314
- proto.gateway.web.v1.AIPrincipal.toObject = function(includeInstance, msg) {
5386
+ proto.gateway.web.v1.UpdatePrincipalResponse.toObject = function(includeInstance, msg) {
4315
5387
  var f, obj = {
4316
- kind: jspb.Message.getFieldWithDefault(msg, 1, 0),
4317
- id: jspb.Message.getFieldWithDefault(msg, 2, ""),
4318
- name: jspb.Message.getFieldWithDefault(msg, 3, ""),
4319
- sourceSystem: jspb.Message.getFieldWithDefault(msg, 4, ""),
4320
- alias: jspb.Message.getFieldWithDefault(msg, 5, "")
5388
+ status: (f = msg.getStatus()) && proto_gateway_common_v1_status_pb.ResponseStatus.toObject(includeInstance, f),
5389
+ principal: (f = msg.getPrincipal()) && proto.gateway.web.v1.AIPrincipal.toObject(includeInstance, f)
4321
5390
  };
4322
5391
 
4323
5392
  if (includeInstance) {
@@ -4331,23 +5400,23 @@ alias: jspb.Message.getFieldWithDefault(msg, 5, "")
4331
5400
  /**
4332
5401
  * Deserializes binary data (in protobuf wire format).
4333
5402
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
4334
- * @return {!proto.gateway.web.v1.AIPrincipal}
5403
+ * @return {!proto.gateway.web.v1.UpdatePrincipalResponse}
4335
5404
  */
4336
- proto.gateway.web.v1.AIPrincipal.deserializeBinary = function(bytes) {
5405
+ proto.gateway.web.v1.UpdatePrincipalResponse.deserializeBinary = function(bytes) {
4337
5406
  var reader = new jspb.BinaryReader(bytes);
4338
- var msg = new proto.gateway.web.v1.AIPrincipal;
4339
- return proto.gateway.web.v1.AIPrincipal.deserializeBinaryFromReader(msg, reader);
5407
+ var msg = new proto.gateway.web.v1.UpdatePrincipalResponse;
5408
+ return proto.gateway.web.v1.UpdatePrincipalResponse.deserializeBinaryFromReader(msg, reader);
4340
5409
  };
4341
5410
 
4342
5411
 
4343
5412
  /**
4344
5413
  * Deserializes binary data (in protobuf wire format) from the
4345
5414
  * given reader into the given message object.
4346
- * @param {!proto.gateway.web.v1.AIPrincipal} msg The message object to deserialize into.
5415
+ * @param {!proto.gateway.web.v1.UpdatePrincipalResponse} msg The message object to deserialize into.
4347
5416
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
4348
- * @return {!proto.gateway.web.v1.AIPrincipal}
5417
+ * @return {!proto.gateway.web.v1.UpdatePrincipalResponse}
4349
5418
  */
4350
- proto.gateway.web.v1.AIPrincipal.deserializeBinaryFromReader = function(msg, reader) {
5419
+ proto.gateway.web.v1.UpdatePrincipalResponse.deserializeBinaryFromReader = function(msg, reader) {
4351
5420
  while (reader.nextField()) {
4352
5421
  if (reader.isEndGroup()) {
4353
5422
  break;
@@ -4355,24 +5424,14 @@ proto.gateway.web.v1.AIPrincipal.deserializeBinaryFromReader = function(msg, rea
4355
5424
  var field = reader.getFieldNumber();
4356
5425
  switch (field) {
4357
5426
  case 1:
4358
- var value = /** @type {!proto.gateway.web.v1.AIPrincipalKind} */ (reader.readEnum());
4359
- msg.setKind(value);
5427
+ var value = new proto_gateway_common_v1_status_pb.ResponseStatus;
5428
+ reader.readMessage(value,proto_gateway_common_v1_status_pb.ResponseStatus.deserializeBinaryFromReader);
5429
+ msg.setStatus(value);
4360
5430
  break;
4361
5431
  case 2:
4362
- var value = /** @type {string} */ (reader.readString());
4363
- msg.setId(value);
4364
- break;
4365
- case 3:
4366
- var value = /** @type {string} */ (reader.readString());
4367
- msg.setName(value);
4368
- break;
4369
- case 4:
4370
- var value = /** @type {string} */ (reader.readString());
4371
- msg.setSourceSystem(value);
4372
- break;
4373
- case 5:
4374
- var value = /** @type {string} */ (reader.readString());
4375
- msg.setAlias(value);
5432
+ var value = new proto.gateway.web.v1.AIPrincipal;
5433
+ reader.readMessage(value,proto.gateway.web.v1.AIPrincipal.deserializeBinaryFromReader);
5434
+ msg.setPrincipal(value);
4376
5435
  break;
4377
5436
  default:
4378
5437
  reader.skipField();
@@ -4387,9 +5446,9 @@ proto.gateway.web.v1.AIPrincipal.deserializeBinaryFromReader = function(msg, rea
4387
5446
  * Serializes the message to binary data (in protobuf wire format).
4388
5447
  * @return {!Uint8Array}
4389
5448
  */
4390
- proto.gateway.web.v1.AIPrincipal.prototype.serializeBinary = function() {
5449
+ proto.gateway.web.v1.UpdatePrincipalResponse.prototype.serializeBinary = function() {
4391
5450
  var writer = new jspb.BinaryWriter();
4392
- proto.gateway.web.v1.AIPrincipal.serializeBinaryToWriter(this, writer);
5451
+ proto.gateway.web.v1.UpdatePrincipalResponse.serializeBinaryToWriter(this, writer);
4393
5452
  return writer.getResultBuffer();
4394
5453
  };
4395
5454
 
@@ -4397,137 +5456,102 @@ proto.gateway.web.v1.AIPrincipal.prototype.serializeBinary = function() {
4397
5456
  /**
4398
5457
  * Serializes the given message to binary data (in protobuf wire
4399
5458
  * format), writing to the given BinaryWriter.
4400
- * @param {!proto.gateway.web.v1.AIPrincipal} message
5459
+ * @param {!proto.gateway.web.v1.UpdatePrincipalResponse} message
4401
5460
  * @param {!jspb.BinaryWriter} writer
4402
5461
  * @suppress {unusedLocalVariables} f is only used for nested messages
4403
5462
  */
4404
- proto.gateway.web.v1.AIPrincipal.serializeBinaryToWriter = function(message, writer) {
5463
+ proto.gateway.web.v1.UpdatePrincipalResponse.serializeBinaryToWriter = function(message, writer) {
4405
5464
  var f = undefined;
4406
- f = message.getKind();
4407
- if (f !== 0.0) {
4408
- writer.writeEnum(
5465
+ f = message.getStatus();
5466
+ if (f != null) {
5467
+ writer.writeMessage(
4409
5468
  1,
4410
- f
5469
+ f,
5470
+ proto_gateway_common_v1_status_pb.ResponseStatus.serializeBinaryToWriter
4411
5471
  );
4412
5472
  }
4413
- f = message.getId();
4414
- if (f.length > 0) {
4415
- writer.writeString(
5473
+ f = message.getPrincipal();
5474
+ if (f != null) {
5475
+ writer.writeMessage(
4416
5476
  2,
4417
- f
4418
- );
4419
- }
4420
- f = message.getName();
4421
- if (f.length > 0) {
4422
- writer.writeString(
4423
- 3,
4424
- f
4425
- );
4426
- }
4427
- f = message.getSourceSystem();
4428
- if (f.length > 0) {
4429
- writer.writeString(
4430
- 4,
4431
- f
4432
- );
4433
- }
4434
- f = message.getAlias();
4435
- if (f.length > 0) {
4436
- writer.writeString(
4437
- 5,
4438
- f
5477
+ f,
5478
+ proto.gateway.web.v1.AIPrincipal.serializeBinaryToWriter
4439
5479
  );
4440
5480
  }
4441
5481
  };
4442
5482
 
4443
5483
 
4444
5484
  /**
4445
- * optional AIPrincipalKind kind = 1;
4446
- * @return {!proto.gateway.web.v1.AIPrincipalKind}
4447
- */
4448
- proto.gateway.web.v1.AIPrincipal.prototype.getKind = function() {
4449
- return /** @type {!proto.gateway.web.v1.AIPrincipalKind} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
4450
- };
4451
-
4452
-
4453
- /**
4454
- * @param {!proto.gateway.web.v1.AIPrincipalKind} value
4455
- * @return {!proto.gateway.web.v1.AIPrincipal} returns this
4456
- */
4457
- proto.gateway.web.v1.AIPrincipal.prototype.setKind = function(value) {
4458
- return jspb.Message.setProto3EnumField(this, 1, value);
4459
- };
4460
-
4461
-
4462
- /**
4463
- * optional string id = 2;
4464
- * @return {string}
5485
+ * optional gateway.common.v1.ResponseStatus status = 1;
5486
+ * @return {?proto.gateway.common.v1.ResponseStatus}
4465
5487
  */
4466
- proto.gateway.web.v1.AIPrincipal.prototype.getId = function() {
4467
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
5488
+ proto.gateway.web.v1.UpdatePrincipalResponse.prototype.getStatus = function() {
5489
+ return /** @type{?proto.gateway.common.v1.ResponseStatus} */ (
5490
+ jspb.Message.getWrapperField(this, proto_gateway_common_v1_status_pb.ResponseStatus, 1));
4468
5491
  };
4469
5492
 
4470
5493
 
4471
5494
  /**
4472
- * @param {string} value
4473
- * @return {!proto.gateway.web.v1.AIPrincipal} returns this
4474
- */
4475
- proto.gateway.web.v1.AIPrincipal.prototype.setId = function(value) {
4476
- return jspb.Message.setProto3StringField(this, 2, value);
5495
+ * @param {?proto.gateway.common.v1.ResponseStatus|undefined} value
5496
+ * @return {!proto.gateway.web.v1.UpdatePrincipalResponse} returns this
5497
+ */
5498
+ proto.gateway.web.v1.UpdatePrincipalResponse.prototype.setStatus = function(value) {
5499
+ return jspb.Message.setWrapperField(this, 1, value);
4477
5500
  };
4478
5501
 
4479
5502
 
4480
5503
  /**
4481
- * optional string name = 3;
4482
- * @return {string}
5504
+ * Clears the message field making it undefined.
5505
+ * @return {!proto.gateway.web.v1.UpdatePrincipalResponse} returns this
4483
5506
  */
4484
- proto.gateway.web.v1.AIPrincipal.prototype.getName = function() {
4485
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
5507
+ proto.gateway.web.v1.UpdatePrincipalResponse.prototype.clearStatus = function() {
5508
+ return this.setStatus(undefined);
4486
5509
  };
4487
5510
 
4488
5511
 
4489
5512
  /**
4490
- * @param {string} value
4491
- * @return {!proto.gateway.web.v1.AIPrincipal} returns this
5513
+ * Returns whether this field is set.
5514
+ * @return {boolean}
4492
5515
  */
4493
- proto.gateway.web.v1.AIPrincipal.prototype.setName = function(value) {
4494
- return jspb.Message.setProto3StringField(this, 3, value);
5516
+ proto.gateway.web.v1.UpdatePrincipalResponse.prototype.hasStatus = function() {
5517
+ return jspb.Message.getField(this, 1) != null;
4495
5518
  };
4496
5519
 
4497
5520
 
4498
5521
  /**
4499
- * optional string source_system = 4;
4500
- * @return {string}
5522
+ * optional AIPrincipal principal = 2;
5523
+ * @return {?proto.gateway.web.v1.AIPrincipal}
4501
5524
  */
4502
- proto.gateway.web.v1.AIPrincipal.prototype.getSourceSystem = function() {
4503
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
5525
+ proto.gateway.web.v1.UpdatePrincipalResponse.prototype.getPrincipal = function() {
5526
+ return /** @type{?proto.gateway.web.v1.AIPrincipal} */ (
5527
+ jspb.Message.getWrapperField(this, proto.gateway.web.v1.AIPrincipal, 2));
4504
5528
  };
4505
5529
 
4506
5530
 
4507
5531
  /**
4508
- * @param {string} value
4509
- * @return {!proto.gateway.web.v1.AIPrincipal} returns this
4510
- */
4511
- proto.gateway.web.v1.AIPrincipal.prototype.setSourceSystem = function(value) {
4512
- return jspb.Message.setProto3StringField(this, 4, value);
5532
+ * @param {?proto.gateway.web.v1.AIPrincipal|undefined} value
5533
+ * @return {!proto.gateway.web.v1.UpdatePrincipalResponse} returns this
5534
+ */
5535
+ proto.gateway.web.v1.UpdatePrincipalResponse.prototype.setPrincipal = function(value) {
5536
+ return jspb.Message.setWrapperField(this, 2, value);
4513
5537
  };
4514
5538
 
4515
5539
 
4516
5540
  /**
4517
- * optional string alias = 5;
4518
- * @return {string}
5541
+ * Clears the message field making it undefined.
5542
+ * @return {!proto.gateway.web.v1.UpdatePrincipalResponse} returns this
4519
5543
  */
4520
- proto.gateway.web.v1.AIPrincipal.prototype.getAlias = function() {
4521
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
5544
+ proto.gateway.web.v1.UpdatePrincipalResponse.prototype.clearPrincipal = function() {
5545
+ return this.setPrincipal(undefined);
4522
5546
  };
4523
5547
 
4524
5548
 
4525
5549
  /**
4526
- * @param {string} value
4527
- * @return {!proto.gateway.web.v1.AIPrincipal} returns this
5550
+ * Returns whether this field is set.
5551
+ * @return {boolean}
4528
5552
  */
4529
- proto.gateway.web.v1.AIPrincipal.prototype.setAlias = function(value) {
4530
- return jspb.Message.setProto3StringField(this, 5, value);
5553
+ proto.gateway.web.v1.UpdatePrincipalResponse.prototype.hasPrincipal = function() {
5554
+ return jspb.Message.getField(this, 2) != null;
4531
5555
  };
4532
5556
 
4533
5557
 
@@ -4547,8 +5571,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
4547
5571
  * http://goto/soy-param-migration
4548
5572
  * @return {!Object}
4549
5573
  */
4550
- proto.gateway.web.v1.UpdatePrincipalRequest.prototype.toObject = function(opt_includeInstance) {
4551
- return proto.gateway.web.v1.UpdatePrincipalRequest.toObject(opt_includeInstance, this);
5574
+ proto.gateway.web.v1.ListGitActivitiesRequest.prototype.toObject = function(opt_includeInstance) {
5575
+ return proto.gateway.web.v1.ListGitActivitiesRequest.toObject(opt_includeInstance, this);
4552
5576
  };
4553
5577
 
4554
5578
 
@@ -4557,18 +5581,16 @@ proto.gateway.web.v1.UpdatePrincipalRequest.prototype.toObject = function(opt_in
4557
5581
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4558
5582
  * the JSPB instance for transitional soy proto support:
4559
5583
  * http://goto/soy-param-migration
4560
- * @param {!proto.gateway.web.v1.UpdatePrincipalRequest} msg The msg instance to transform.
5584
+ * @param {!proto.gateway.web.v1.ListGitActivitiesRequest} msg The msg instance to transform.
4561
5585
  * @return {!Object}
4562
5586
  * @suppress {unusedLocalVariables} f is only used for nested messages
4563
5587
  */
4564
- proto.gateway.web.v1.UpdatePrincipalRequest.toObject = function(includeInstance, msg) {
5588
+ proto.gateway.web.v1.ListGitActivitiesRequest.toObject = function(includeInstance, msg) {
4565
5589
  var f, obj = {
4566
5590
  organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""),
4567
5591
  projectId: jspb.Message.getFieldWithDefault(msg, 2, ""),
4568
- kind: jspb.Message.getFieldWithDefault(msg, 3, 0),
4569
- id: jspb.Message.getFieldWithDefault(msg, 4, ""),
4570
- sourceSystem: jspb.Message.getFieldWithDefault(msg, 5, ""),
4571
- alias: jspb.Message.getFieldWithDefault(msg, 6, "")
5592
+ routingKey: jspb.Message.getFieldWithDefault(msg, 3, ""),
5593
+ sourceSystem: jspb.Message.getFieldWithDefault(msg, 4, "")
4572
5594
  };
4573
5595
 
4574
5596
  if (includeInstance) {
@@ -4582,23 +5604,23 @@ alias: jspb.Message.getFieldWithDefault(msg, 6, "")
4582
5604
  /**
4583
5605
  * Deserializes binary data (in protobuf wire format).
4584
5606
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
4585
- * @return {!proto.gateway.web.v1.UpdatePrincipalRequest}
5607
+ * @return {!proto.gateway.web.v1.ListGitActivitiesRequest}
4586
5608
  */
4587
- proto.gateway.web.v1.UpdatePrincipalRequest.deserializeBinary = function(bytes) {
5609
+ proto.gateway.web.v1.ListGitActivitiesRequest.deserializeBinary = function(bytes) {
4588
5610
  var reader = new jspb.BinaryReader(bytes);
4589
- var msg = new proto.gateway.web.v1.UpdatePrincipalRequest;
4590
- return proto.gateway.web.v1.UpdatePrincipalRequest.deserializeBinaryFromReader(msg, reader);
5611
+ var msg = new proto.gateway.web.v1.ListGitActivitiesRequest;
5612
+ return proto.gateway.web.v1.ListGitActivitiesRequest.deserializeBinaryFromReader(msg, reader);
4591
5613
  };
4592
5614
 
4593
5615
 
4594
5616
  /**
4595
5617
  * Deserializes binary data (in protobuf wire format) from the
4596
5618
  * given reader into the given message object.
4597
- * @param {!proto.gateway.web.v1.UpdatePrincipalRequest} msg The message object to deserialize into.
5619
+ * @param {!proto.gateway.web.v1.ListGitActivitiesRequest} msg The message object to deserialize into.
4598
5620
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
4599
- * @return {!proto.gateway.web.v1.UpdatePrincipalRequest}
5621
+ * @return {!proto.gateway.web.v1.ListGitActivitiesRequest}
4600
5622
  */
4601
- proto.gateway.web.v1.UpdatePrincipalRequest.deserializeBinaryFromReader = function(msg, reader) {
5623
+ proto.gateway.web.v1.ListGitActivitiesRequest.deserializeBinaryFromReader = function(msg, reader) {
4602
5624
  while (reader.nextField()) {
4603
5625
  if (reader.isEndGroup()) {
4604
5626
  break;
@@ -4614,21 +5636,13 @@ proto.gateway.web.v1.UpdatePrincipalRequest.deserializeBinaryFromReader = functi
4614
5636
  msg.setProjectId(value);
4615
5637
  break;
4616
5638
  case 3:
4617
- var value = /** @type {!proto.gateway.web.v1.AIPrincipalKind} */ (reader.readEnum());
4618
- msg.setKind(value);
4619
- break;
4620
- case 4:
4621
5639
  var value = /** @type {string} */ (reader.readString());
4622
- msg.setId(value);
5640
+ msg.setRoutingKey(value);
4623
5641
  break;
4624
- case 5:
5642
+ case 4:
4625
5643
  var value = /** @type {string} */ (reader.readString());
4626
5644
  msg.setSourceSystem(value);
4627
5645
  break;
4628
- case 6:
4629
- var value = /** @type {string} */ (reader.readString());
4630
- msg.setAlias(value);
4631
- break;
4632
5646
  default:
4633
5647
  reader.skipField();
4634
5648
  break;
@@ -4642,9 +5656,9 @@ proto.gateway.web.v1.UpdatePrincipalRequest.deserializeBinaryFromReader = functi
4642
5656
  * Serializes the message to binary data (in protobuf wire format).
4643
5657
  * @return {!Uint8Array}
4644
5658
  */
4645
- proto.gateway.web.v1.UpdatePrincipalRequest.prototype.serializeBinary = function() {
5659
+ proto.gateway.web.v1.ListGitActivitiesRequest.prototype.serializeBinary = function() {
4646
5660
  var writer = new jspb.BinaryWriter();
4647
- proto.gateway.web.v1.UpdatePrincipalRequest.serializeBinaryToWriter(this, writer);
5661
+ proto.gateway.web.v1.ListGitActivitiesRequest.serializeBinaryToWriter(this, writer);
4648
5662
  return writer.getResultBuffer();
4649
5663
  };
4650
5664
 
@@ -4652,11 +5666,11 @@ proto.gateway.web.v1.UpdatePrincipalRequest.prototype.serializeBinary = function
4652
5666
  /**
4653
5667
  * Serializes the given message to binary data (in protobuf wire
4654
5668
  * format), writing to the given BinaryWriter.
4655
- * @param {!proto.gateway.web.v1.UpdatePrincipalRequest} message
5669
+ * @param {!proto.gateway.web.v1.ListGitActivitiesRequest} message
4656
5670
  * @param {!jspb.BinaryWriter} writer
4657
5671
  * @suppress {unusedLocalVariables} f is only used for nested messages
4658
5672
  */
4659
- proto.gateway.web.v1.UpdatePrincipalRequest.serializeBinaryToWriter = function(message, writer) {
5673
+ proto.gateway.web.v1.ListGitActivitiesRequest.serializeBinaryToWriter = function(message, writer) {
4660
5674
  var f = undefined;
4661
5675
  f = message.getOrganizationId();
4662
5676
  if (f.length > 0) {
@@ -4672,31 +5686,17 @@ proto.gateway.web.v1.UpdatePrincipalRequest.serializeBinaryToWriter = function(m
4672
5686
  f
4673
5687
  );
4674
5688
  }
4675
- f = message.getKind();
4676
- if (f !== 0.0) {
4677
- writer.writeEnum(
4678
- 3,
4679
- f
4680
- );
4681
- }
4682
- f = message.getId();
5689
+ f = message.getRoutingKey();
4683
5690
  if (f.length > 0) {
4684
5691
  writer.writeString(
4685
- 4,
5692
+ 3,
4686
5693
  f
4687
5694
  );
4688
5695
  }
4689
5696
  f = message.getSourceSystem();
4690
5697
  if (f.length > 0) {
4691
5698
  writer.writeString(
4692
- 5,
4693
- f
4694
- );
4695
- }
4696
- f = message.getAlias();
4697
- if (f.length > 0) {
4698
- writer.writeString(
4699
- 6,
5699
+ 4,
4700
5700
  f
4701
5701
  );
4702
5702
  }
@@ -4707,16 +5707,16 @@ proto.gateway.web.v1.UpdatePrincipalRequest.serializeBinaryToWriter = function(m
4707
5707
  * optional string organization_id = 1;
4708
5708
  * @return {string}
4709
5709
  */
4710
- proto.gateway.web.v1.UpdatePrincipalRequest.prototype.getOrganizationId = function() {
5710
+ proto.gateway.web.v1.ListGitActivitiesRequest.prototype.getOrganizationId = function() {
4711
5711
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
4712
5712
  };
4713
5713
 
4714
5714
 
4715
5715
  /**
4716
5716
  * @param {string} value
4717
- * @return {!proto.gateway.web.v1.UpdatePrincipalRequest} returns this
5717
+ * @return {!proto.gateway.web.v1.ListGitActivitiesRequest} returns this
4718
5718
  */
4719
- proto.gateway.web.v1.UpdatePrincipalRequest.prototype.setOrganizationId = function(value) {
5719
+ proto.gateway.web.v1.ListGitActivitiesRequest.prototype.setOrganizationId = function(value) {
4720
5720
  return jspb.Message.setProto3StringField(this, 1, value);
4721
5721
  };
4722
5722
 
@@ -4725,92 +5725,63 @@ proto.gateway.web.v1.UpdatePrincipalRequest.prototype.setOrganizationId = functi
4725
5725
  * optional string project_id = 2;
4726
5726
  * @return {string}
4727
5727
  */
4728
- proto.gateway.web.v1.UpdatePrincipalRequest.prototype.getProjectId = function() {
5728
+ proto.gateway.web.v1.ListGitActivitiesRequest.prototype.getProjectId = function() {
4729
5729
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
4730
5730
  };
4731
5731
 
4732
5732
 
4733
5733
  /**
4734
5734
  * @param {string} value
4735
- * @return {!proto.gateway.web.v1.UpdatePrincipalRequest} returns this
5735
+ * @return {!proto.gateway.web.v1.ListGitActivitiesRequest} returns this
4736
5736
  */
4737
- proto.gateway.web.v1.UpdatePrincipalRequest.prototype.setProjectId = function(value) {
5737
+ proto.gateway.web.v1.ListGitActivitiesRequest.prototype.setProjectId = function(value) {
4738
5738
  return jspb.Message.setProto3StringField(this, 2, value);
4739
5739
  };
4740
5740
 
4741
5741
 
4742
5742
  /**
4743
- * optional AIPrincipalKind kind = 3;
4744
- * @return {!proto.gateway.web.v1.AIPrincipalKind}
4745
- */
4746
- proto.gateway.web.v1.UpdatePrincipalRequest.prototype.getKind = function() {
4747
- return /** @type {!proto.gateway.web.v1.AIPrincipalKind} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
4748
- };
4749
-
4750
-
4751
- /**
4752
- * @param {!proto.gateway.web.v1.AIPrincipalKind} value
4753
- * @return {!proto.gateway.web.v1.UpdatePrincipalRequest} returns this
4754
- */
4755
- proto.gateway.web.v1.UpdatePrincipalRequest.prototype.setKind = function(value) {
4756
- return jspb.Message.setProto3EnumField(this, 3, value);
4757
- };
4758
-
4759
-
4760
- /**
4761
- * optional string id = 4;
5743
+ * optional string routing_key = 3;
4762
5744
  * @return {string}
4763
5745
  */
4764
- proto.gateway.web.v1.UpdatePrincipalRequest.prototype.getId = function() {
4765
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
5746
+ proto.gateway.web.v1.ListGitActivitiesRequest.prototype.getRoutingKey = function() {
5747
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
4766
5748
  };
4767
5749
 
4768
5750
 
4769
5751
  /**
4770
5752
  * @param {string} value
4771
- * @return {!proto.gateway.web.v1.UpdatePrincipalRequest} returns this
5753
+ * @return {!proto.gateway.web.v1.ListGitActivitiesRequest} returns this
4772
5754
  */
4773
- proto.gateway.web.v1.UpdatePrincipalRequest.prototype.setId = function(value) {
4774
- return jspb.Message.setProto3StringField(this, 4, value);
5755
+ proto.gateway.web.v1.ListGitActivitiesRequest.prototype.setRoutingKey = function(value) {
5756
+ return jspb.Message.setProto3StringField(this, 3, value);
4775
5757
  };
4776
5758
 
4777
5759
 
4778
5760
  /**
4779
- * optional string source_system = 5;
5761
+ * optional string source_system = 4;
4780
5762
  * @return {string}
4781
5763
  */
4782
- proto.gateway.web.v1.UpdatePrincipalRequest.prototype.getSourceSystem = function() {
4783
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
5764
+ proto.gateway.web.v1.ListGitActivitiesRequest.prototype.getSourceSystem = function() {
5765
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
4784
5766
  };
4785
5767
 
4786
5768
 
4787
5769
  /**
4788
5770
  * @param {string} value
4789
- * @return {!proto.gateway.web.v1.UpdatePrincipalRequest} returns this
5771
+ * @return {!proto.gateway.web.v1.ListGitActivitiesRequest} returns this
4790
5772
  */
4791
- proto.gateway.web.v1.UpdatePrincipalRequest.prototype.setSourceSystem = function(value) {
4792
- return jspb.Message.setProto3StringField(this, 5, value);
5773
+ proto.gateway.web.v1.ListGitActivitiesRequest.prototype.setSourceSystem = function(value) {
5774
+ return jspb.Message.setProto3StringField(this, 4, value);
4793
5775
  };
4794
5776
 
4795
5777
 
4796
- /**
4797
- * optional string alias = 6;
4798
- * @return {string}
4799
- */
4800
- proto.gateway.web.v1.UpdatePrincipalRequest.prototype.getAlias = function() {
4801
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
4802
- };
4803
-
4804
5778
 
4805
5779
  /**
4806
- * @param {string} value
4807
- * @return {!proto.gateway.web.v1.UpdatePrincipalRequest} returns this
5780
+ * List of repeated fields within this message type.
5781
+ * @private {!Array<number>}
5782
+ * @const
4808
5783
  */
4809
- proto.gateway.web.v1.UpdatePrincipalRequest.prototype.setAlias = function(value) {
4810
- return jspb.Message.setProto3StringField(this, 6, value);
4811
- };
4812
-
4813
-
5784
+ proto.gateway.web.v1.ListGitActivitiesResponse.repeatedFields_ = [2];
4814
5785
 
4815
5786
 
4816
5787
 
@@ -4827,8 +5798,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
4827
5798
  * http://goto/soy-param-migration
4828
5799
  * @return {!Object}
4829
5800
  */
4830
- proto.gateway.web.v1.UpdatePrincipalResponse.prototype.toObject = function(opt_includeInstance) {
4831
- return proto.gateway.web.v1.UpdatePrincipalResponse.toObject(opt_includeInstance, this);
5801
+ proto.gateway.web.v1.ListGitActivitiesResponse.prototype.toObject = function(opt_includeInstance) {
5802
+ return proto.gateway.web.v1.ListGitActivitiesResponse.toObject(opt_includeInstance, this);
4832
5803
  };
4833
5804
 
4834
5805
 
@@ -4837,14 +5808,15 @@ proto.gateway.web.v1.UpdatePrincipalResponse.prototype.toObject = function(opt_i
4837
5808
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4838
5809
  * the JSPB instance for transitional soy proto support:
4839
5810
  * http://goto/soy-param-migration
4840
- * @param {!proto.gateway.web.v1.UpdatePrincipalResponse} msg The msg instance to transform.
5811
+ * @param {!proto.gateway.web.v1.ListGitActivitiesResponse} msg The msg instance to transform.
4841
5812
  * @return {!Object}
4842
5813
  * @suppress {unusedLocalVariables} f is only used for nested messages
4843
5814
  */
4844
- proto.gateway.web.v1.UpdatePrincipalResponse.toObject = function(includeInstance, msg) {
5815
+ proto.gateway.web.v1.ListGitActivitiesResponse.toObject = function(includeInstance, msg) {
4845
5816
  var f, obj = {
4846
5817
  status: (f = msg.getStatus()) && proto_gateway_common_v1_status_pb.ResponseStatus.toObject(includeInstance, f),
4847
- principal: (f = msg.getPrincipal()) && proto.gateway.web.v1.AIPrincipal.toObject(includeInstance, f)
5818
+ activitiesList: jspb.Message.toObjectList(msg.getActivitiesList(),
5819
+ proto.gateway.web.v1.AIGitActivity.toObject, includeInstance)
4848
5820
  };
4849
5821
 
4850
5822
  if (includeInstance) {
@@ -4858,23 +5830,23 @@ principal: (f = msg.getPrincipal()) && proto.gateway.web.v1.AIPrincipal.toObject
4858
5830
  /**
4859
5831
  * Deserializes binary data (in protobuf wire format).
4860
5832
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
4861
- * @return {!proto.gateway.web.v1.UpdatePrincipalResponse}
5833
+ * @return {!proto.gateway.web.v1.ListGitActivitiesResponse}
4862
5834
  */
4863
- proto.gateway.web.v1.UpdatePrincipalResponse.deserializeBinary = function(bytes) {
5835
+ proto.gateway.web.v1.ListGitActivitiesResponse.deserializeBinary = function(bytes) {
4864
5836
  var reader = new jspb.BinaryReader(bytes);
4865
- var msg = new proto.gateway.web.v1.UpdatePrincipalResponse;
4866
- return proto.gateway.web.v1.UpdatePrincipalResponse.deserializeBinaryFromReader(msg, reader);
5837
+ var msg = new proto.gateway.web.v1.ListGitActivitiesResponse;
5838
+ return proto.gateway.web.v1.ListGitActivitiesResponse.deserializeBinaryFromReader(msg, reader);
4867
5839
  };
4868
5840
 
4869
5841
 
4870
5842
  /**
4871
5843
  * Deserializes binary data (in protobuf wire format) from the
4872
5844
  * given reader into the given message object.
4873
- * @param {!proto.gateway.web.v1.UpdatePrincipalResponse} msg The message object to deserialize into.
5845
+ * @param {!proto.gateway.web.v1.ListGitActivitiesResponse} msg The message object to deserialize into.
4874
5846
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
4875
- * @return {!proto.gateway.web.v1.UpdatePrincipalResponse}
5847
+ * @return {!proto.gateway.web.v1.ListGitActivitiesResponse}
4876
5848
  */
4877
- proto.gateway.web.v1.UpdatePrincipalResponse.deserializeBinaryFromReader = function(msg, reader) {
5849
+ proto.gateway.web.v1.ListGitActivitiesResponse.deserializeBinaryFromReader = function(msg, reader) {
4878
5850
  while (reader.nextField()) {
4879
5851
  if (reader.isEndGroup()) {
4880
5852
  break;
@@ -4887,9 +5859,9 @@ proto.gateway.web.v1.UpdatePrincipalResponse.deserializeBinaryFromReader = funct
4887
5859
  msg.setStatus(value);
4888
5860
  break;
4889
5861
  case 2:
4890
- var value = new proto.gateway.web.v1.AIPrincipal;
4891
- reader.readMessage(value,proto.gateway.web.v1.AIPrincipal.deserializeBinaryFromReader);
4892
- msg.setPrincipal(value);
5862
+ var value = new proto.gateway.web.v1.AIGitActivity;
5863
+ reader.readMessage(value,proto.gateway.web.v1.AIGitActivity.deserializeBinaryFromReader);
5864
+ msg.addActivities(value);
4893
5865
  break;
4894
5866
  default:
4895
5867
  reader.skipField();
@@ -4904,9 +5876,9 @@ proto.gateway.web.v1.UpdatePrincipalResponse.deserializeBinaryFromReader = funct
4904
5876
  * Serializes the message to binary data (in protobuf wire format).
4905
5877
  * @return {!Uint8Array}
4906
5878
  */
4907
- proto.gateway.web.v1.UpdatePrincipalResponse.prototype.serializeBinary = function() {
5879
+ proto.gateway.web.v1.ListGitActivitiesResponse.prototype.serializeBinary = function() {
4908
5880
  var writer = new jspb.BinaryWriter();
4909
- proto.gateway.web.v1.UpdatePrincipalResponse.serializeBinaryToWriter(this, writer);
5881
+ proto.gateway.web.v1.ListGitActivitiesResponse.serializeBinaryToWriter(this, writer);
4910
5882
  return writer.getResultBuffer();
4911
5883
  };
4912
5884
 
@@ -4914,11 +5886,11 @@ proto.gateway.web.v1.UpdatePrincipalResponse.prototype.serializeBinary = functio
4914
5886
  /**
4915
5887
  * Serializes the given message to binary data (in protobuf wire
4916
5888
  * format), writing to the given BinaryWriter.
4917
- * @param {!proto.gateway.web.v1.UpdatePrincipalResponse} message
5889
+ * @param {!proto.gateway.web.v1.ListGitActivitiesResponse} message
4918
5890
  * @param {!jspb.BinaryWriter} writer
4919
5891
  * @suppress {unusedLocalVariables} f is only used for nested messages
4920
5892
  */
4921
- proto.gateway.web.v1.UpdatePrincipalResponse.serializeBinaryToWriter = function(message, writer) {
5893
+ proto.gateway.web.v1.ListGitActivitiesResponse.serializeBinaryToWriter = function(message, writer) {
4922
5894
  var f = undefined;
4923
5895
  f = message.getStatus();
4924
5896
  if (f != null) {
@@ -4928,12 +5900,12 @@ proto.gateway.web.v1.UpdatePrincipalResponse.serializeBinaryToWriter = function(
4928
5900
  proto_gateway_common_v1_status_pb.ResponseStatus.serializeBinaryToWriter
4929
5901
  );
4930
5902
  }
4931
- f = message.getPrincipal();
4932
- if (f != null) {
4933
- writer.writeMessage(
5903
+ f = message.getActivitiesList();
5904
+ if (f.length > 0) {
5905
+ writer.writeRepeatedMessage(
4934
5906
  2,
4935
5907
  f,
4936
- proto.gateway.web.v1.AIPrincipal.serializeBinaryToWriter
5908
+ proto.gateway.web.v1.AIGitActivity.serializeBinaryToWriter
4937
5909
  );
4938
5910
  }
4939
5911
  };
@@ -4943,7 +5915,7 @@ proto.gateway.web.v1.UpdatePrincipalResponse.serializeBinaryToWriter = function(
4943
5915
  * optional gateway.common.v1.ResponseStatus status = 1;
4944
5916
  * @return {?proto.gateway.common.v1.ResponseStatus}
4945
5917
  */
4946
- proto.gateway.web.v1.UpdatePrincipalResponse.prototype.getStatus = function() {
5918
+ proto.gateway.web.v1.ListGitActivitiesResponse.prototype.getStatus = function() {
4947
5919
  return /** @type{?proto.gateway.common.v1.ResponseStatus} */ (
4948
5920
  jspb.Message.getWrapperField(this, proto_gateway_common_v1_status_pb.ResponseStatus, 1));
4949
5921
  };
@@ -4951,18 +5923,18 @@ proto.gateway.web.v1.UpdatePrincipalResponse.prototype.getStatus = function() {
4951
5923
 
4952
5924
  /**
4953
5925
  * @param {?proto.gateway.common.v1.ResponseStatus|undefined} value
4954
- * @return {!proto.gateway.web.v1.UpdatePrincipalResponse} returns this
5926
+ * @return {!proto.gateway.web.v1.ListGitActivitiesResponse} returns this
4955
5927
  */
4956
- proto.gateway.web.v1.UpdatePrincipalResponse.prototype.setStatus = function(value) {
5928
+ proto.gateway.web.v1.ListGitActivitiesResponse.prototype.setStatus = function(value) {
4957
5929
  return jspb.Message.setWrapperField(this, 1, value);
4958
5930
  };
4959
5931
 
4960
5932
 
4961
5933
  /**
4962
5934
  * Clears the message field making it undefined.
4963
- * @return {!proto.gateway.web.v1.UpdatePrincipalResponse} returns this
5935
+ * @return {!proto.gateway.web.v1.ListGitActivitiesResponse} returns this
4964
5936
  */
4965
- proto.gateway.web.v1.UpdatePrincipalResponse.prototype.clearStatus = function() {
5937
+ proto.gateway.web.v1.ListGitActivitiesResponse.prototype.clearStatus = function() {
4966
5938
  return this.setStatus(undefined);
4967
5939
  };
4968
5940
 
@@ -4971,45 +5943,46 @@ proto.gateway.web.v1.UpdatePrincipalResponse.prototype.clearStatus = function()
4971
5943
  * Returns whether this field is set.
4972
5944
  * @return {boolean}
4973
5945
  */
4974
- proto.gateway.web.v1.UpdatePrincipalResponse.prototype.hasStatus = function() {
5946
+ proto.gateway.web.v1.ListGitActivitiesResponse.prototype.hasStatus = function() {
4975
5947
  return jspb.Message.getField(this, 1) != null;
4976
5948
  };
4977
5949
 
4978
5950
 
4979
5951
  /**
4980
- * optional AIPrincipal principal = 2;
4981
- * @return {?proto.gateway.web.v1.AIPrincipal}
5952
+ * repeated AIGitActivity activities = 2;
5953
+ * @return {!Array<!proto.gateway.web.v1.AIGitActivity>}
4982
5954
  */
4983
- proto.gateway.web.v1.UpdatePrincipalResponse.prototype.getPrincipal = function() {
4984
- return /** @type{?proto.gateway.web.v1.AIPrincipal} */ (
4985
- jspb.Message.getWrapperField(this, proto.gateway.web.v1.AIPrincipal, 2));
5955
+ proto.gateway.web.v1.ListGitActivitiesResponse.prototype.getActivitiesList = function() {
5956
+ return /** @type{!Array<!proto.gateway.web.v1.AIGitActivity>} */ (
5957
+ jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.AIGitActivity, 2));
4986
5958
  };
4987
5959
 
4988
5960
 
4989
5961
  /**
4990
- * @param {?proto.gateway.web.v1.AIPrincipal|undefined} value
4991
- * @return {!proto.gateway.web.v1.UpdatePrincipalResponse} returns this
5962
+ * @param {!Array<!proto.gateway.web.v1.AIGitActivity>} value
5963
+ * @return {!proto.gateway.web.v1.ListGitActivitiesResponse} returns this
4992
5964
  */
4993
- proto.gateway.web.v1.UpdatePrincipalResponse.prototype.setPrincipal = function(value) {
4994
- return jspb.Message.setWrapperField(this, 2, value);
5965
+ proto.gateway.web.v1.ListGitActivitiesResponse.prototype.setActivitiesList = function(value) {
5966
+ return jspb.Message.setRepeatedWrapperField(this, 2, value);
4995
5967
  };
4996
5968
 
4997
5969
 
4998
5970
  /**
4999
- * Clears the message field making it undefined.
5000
- * @return {!proto.gateway.web.v1.UpdatePrincipalResponse} returns this
5971
+ * @param {!proto.gateway.web.v1.AIGitActivity=} opt_value
5972
+ * @param {number=} opt_index
5973
+ * @return {!proto.gateway.web.v1.AIGitActivity}
5001
5974
  */
5002
- proto.gateway.web.v1.UpdatePrincipalResponse.prototype.clearPrincipal = function() {
5003
- return this.setPrincipal(undefined);
5975
+ proto.gateway.web.v1.ListGitActivitiesResponse.prototype.addActivities = function(opt_value, opt_index) {
5976
+ return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.gateway.web.v1.AIGitActivity, opt_index);
5004
5977
  };
5005
5978
 
5006
5979
 
5007
5980
  /**
5008
- * Returns whether this field is set.
5009
- * @return {boolean}
5981
+ * Clears the list making it empty but non-null.
5982
+ * @return {!proto.gateway.web.v1.ListGitActivitiesResponse} returns this
5010
5983
  */
5011
- proto.gateway.web.v1.UpdatePrincipalResponse.prototype.hasPrincipal = function() {
5012
- return jspb.Message.getField(this, 2) != null;
5984
+ proto.gateway.web.v1.ListGitActivitiesResponse.prototype.clearActivitiesList = function() {
5985
+ return this.setActivitiesList([]);
5013
5986
  };
5014
5987
 
5015
5988
 
@@ -5029,8 +6002,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
5029
6002
  * http://goto/soy-param-migration
5030
6003
  * @return {!Object}
5031
6004
  */
5032
- proto.gateway.web.v1.ListGitActivitiesRequest.prototype.toObject = function(opt_includeInstance) {
5033
- return proto.gateway.web.v1.ListGitActivitiesRequest.toObject(opt_includeInstance, this);
6005
+ proto.gateway.web.v1.StreamGitActivitiesRequest.prototype.toObject = function(opt_includeInstance) {
6006
+ return proto.gateway.web.v1.StreamGitActivitiesRequest.toObject(opt_includeInstance, this);
5034
6007
  };
5035
6008
 
5036
6009
 
@@ -5039,11 +6012,11 @@ proto.gateway.web.v1.ListGitActivitiesRequest.prototype.toObject = function(opt_
5039
6012
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
5040
6013
  * the JSPB instance for transitional soy proto support:
5041
6014
  * http://goto/soy-param-migration
5042
- * @param {!proto.gateway.web.v1.ListGitActivitiesRequest} msg The msg instance to transform.
6015
+ * @param {!proto.gateway.web.v1.StreamGitActivitiesRequest} msg The msg instance to transform.
5043
6016
  * @return {!Object}
5044
6017
  * @suppress {unusedLocalVariables} f is only used for nested messages
5045
6018
  */
5046
- proto.gateway.web.v1.ListGitActivitiesRequest.toObject = function(includeInstance, msg) {
6019
+ proto.gateway.web.v1.StreamGitActivitiesRequest.toObject = function(includeInstance, msg) {
5047
6020
  var f, obj = {
5048
6021
  organizationId: jspb.Message.getFieldWithDefault(msg, 1, ""),
5049
6022
  projectId: jspb.Message.getFieldWithDefault(msg, 2, ""),
@@ -5062,23 +6035,23 @@ sourceSystem: jspb.Message.getFieldWithDefault(msg, 4, "")
5062
6035
  /**
5063
6036
  * Deserializes binary data (in protobuf wire format).
5064
6037
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
5065
- * @return {!proto.gateway.web.v1.ListGitActivitiesRequest}
6038
+ * @return {!proto.gateway.web.v1.StreamGitActivitiesRequest}
5066
6039
  */
5067
- proto.gateway.web.v1.ListGitActivitiesRequest.deserializeBinary = function(bytes) {
6040
+ proto.gateway.web.v1.StreamGitActivitiesRequest.deserializeBinary = function(bytes) {
5068
6041
  var reader = new jspb.BinaryReader(bytes);
5069
- var msg = new proto.gateway.web.v1.ListGitActivitiesRequest;
5070
- return proto.gateway.web.v1.ListGitActivitiesRequest.deserializeBinaryFromReader(msg, reader);
6042
+ var msg = new proto.gateway.web.v1.StreamGitActivitiesRequest;
6043
+ return proto.gateway.web.v1.StreamGitActivitiesRequest.deserializeBinaryFromReader(msg, reader);
5071
6044
  };
5072
6045
 
5073
6046
 
5074
6047
  /**
5075
6048
  * Deserializes binary data (in protobuf wire format) from the
5076
6049
  * given reader into the given message object.
5077
- * @param {!proto.gateway.web.v1.ListGitActivitiesRequest} msg The message object to deserialize into.
6050
+ * @param {!proto.gateway.web.v1.StreamGitActivitiesRequest} msg The message object to deserialize into.
5078
6051
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
5079
- * @return {!proto.gateway.web.v1.ListGitActivitiesRequest}
6052
+ * @return {!proto.gateway.web.v1.StreamGitActivitiesRequest}
5080
6053
  */
5081
- proto.gateway.web.v1.ListGitActivitiesRequest.deserializeBinaryFromReader = function(msg, reader) {
6054
+ proto.gateway.web.v1.StreamGitActivitiesRequest.deserializeBinaryFromReader = function(msg, reader) {
5082
6055
  while (reader.nextField()) {
5083
6056
  if (reader.isEndGroup()) {
5084
6057
  break;
@@ -5114,9 +6087,9 @@ proto.gateway.web.v1.ListGitActivitiesRequest.deserializeBinaryFromReader = func
5114
6087
  * Serializes the message to binary data (in protobuf wire format).
5115
6088
  * @return {!Uint8Array}
5116
6089
  */
5117
- proto.gateway.web.v1.ListGitActivitiesRequest.prototype.serializeBinary = function() {
6090
+ proto.gateway.web.v1.StreamGitActivitiesRequest.prototype.serializeBinary = function() {
5118
6091
  var writer = new jspb.BinaryWriter();
5119
- proto.gateway.web.v1.ListGitActivitiesRequest.serializeBinaryToWriter(this, writer);
6092
+ proto.gateway.web.v1.StreamGitActivitiesRequest.serializeBinaryToWriter(this, writer);
5120
6093
  return writer.getResultBuffer();
5121
6094
  };
5122
6095
 
@@ -5124,11 +6097,11 @@ proto.gateway.web.v1.ListGitActivitiesRequest.prototype.serializeBinary = functi
5124
6097
  /**
5125
6098
  * Serializes the given message to binary data (in protobuf wire
5126
6099
  * format), writing to the given BinaryWriter.
5127
- * @param {!proto.gateway.web.v1.ListGitActivitiesRequest} message
6100
+ * @param {!proto.gateway.web.v1.StreamGitActivitiesRequest} message
5128
6101
  * @param {!jspb.BinaryWriter} writer
5129
6102
  * @suppress {unusedLocalVariables} f is only used for nested messages
5130
6103
  */
5131
- proto.gateway.web.v1.ListGitActivitiesRequest.serializeBinaryToWriter = function(message, writer) {
6104
+ proto.gateway.web.v1.StreamGitActivitiesRequest.serializeBinaryToWriter = function(message, writer) {
5132
6105
  var f = undefined;
5133
6106
  f = message.getOrganizationId();
5134
6107
  if (f.length > 0) {
@@ -5165,16 +6138,16 @@ proto.gateway.web.v1.ListGitActivitiesRequest.serializeBinaryToWriter = function
5165
6138
  * optional string organization_id = 1;
5166
6139
  * @return {string}
5167
6140
  */
5168
- proto.gateway.web.v1.ListGitActivitiesRequest.prototype.getOrganizationId = function() {
6141
+ proto.gateway.web.v1.StreamGitActivitiesRequest.prototype.getOrganizationId = function() {
5169
6142
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
5170
6143
  };
5171
6144
 
5172
6145
 
5173
6146
  /**
5174
6147
  * @param {string} value
5175
- * @return {!proto.gateway.web.v1.ListGitActivitiesRequest} returns this
6148
+ * @return {!proto.gateway.web.v1.StreamGitActivitiesRequest} returns this
5176
6149
  */
5177
- proto.gateway.web.v1.ListGitActivitiesRequest.prototype.setOrganizationId = function(value) {
6150
+ proto.gateway.web.v1.StreamGitActivitiesRequest.prototype.setOrganizationId = function(value) {
5178
6151
  return jspb.Message.setProto3StringField(this, 1, value);
5179
6152
  };
5180
6153
 
@@ -5183,16 +6156,16 @@ proto.gateway.web.v1.ListGitActivitiesRequest.prototype.setOrganizationId = func
5183
6156
  * optional string project_id = 2;
5184
6157
  * @return {string}
5185
6158
  */
5186
- proto.gateway.web.v1.ListGitActivitiesRequest.prototype.getProjectId = function() {
6159
+ proto.gateway.web.v1.StreamGitActivitiesRequest.prototype.getProjectId = function() {
5187
6160
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
5188
6161
  };
5189
6162
 
5190
6163
 
5191
6164
  /**
5192
6165
  * @param {string} value
5193
- * @return {!proto.gateway.web.v1.ListGitActivitiesRequest} returns this
6166
+ * @return {!proto.gateway.web.v1.StreamGitActivitiesRequest} returns this
5194
6167
  */
5195
- proto.gateway.web.v1.ListGitActivitiesRequest.prototype.setProjectId = function(value) {
6168
+ proto.gateway.web.v1.StreamGitActivitiesRequest.prototype.setProjectId = function(value) {
5196
6169
  return jspb.Message.setProto3StringField(this, 2, value);
5197
6170
  };
5198
6171
 
@@ -5201,16 +6174,16 @@ proto.gateway.web.v1.ListGitActivitiesRequest.prototype.setProjectId = function(
5201
6174
  * optional string routing_key = 3;
5202
6175
  * @return {string}
5203
6176
  */
5204
- proto.gateway.web.v1.ListGitActivitiesRequest.prototype.getRoutingKey = function() {
6177
+ proto.gateway.web.v1.StreamGitActivitiesRequest.prototype.getRoutingKey = function() {
5205
6178
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
5206
6179
  };
5207
6180
 
5208
6181
 
5209
6182
  /**
5210
6183
  * @param {string} value
5211
- * @return {!proto.gateway.web.v1.ListGitActivitiesRequest} returns this
6184
+ * @return {!proto.gateway.web.v1.StreamGitActivitiesRequest} returns this
5212
6185
  */
5213
- proto.gateway.web.v1.ListGitActivitiesRequest.prototype.setRoutingKey = function(value) {
6186
+ proto.gateway.web.v1.StreamGitActivitiesRequest.prototype.setRoutingKey = function(value) {
5214
6187
  return jspb.Message.setProto3StringField(this, 3, value);
5215
6188
  };
5216
6189
 
@@ -5219,27 +6192,46 @@ proto.gateway.web.v1.ListGitActivitiesRequest.prototype.setRoutingKey = function
5219
6192
  * optional string source_system = 4;
5220
6193
  * @return {string}
5221
6194
  */
5222
- proto.gateway.web.v1.ListGitActivitiesRequest.prototype.getSourceSystem = function() {
6195
+ proto.gateway.web.v1.StreamGitActivitiesRequest.prototype.getSourceSystem = function() {
5223
6196
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
5224
6197
  };
5225
6198
 
5226
6199
 
5227
6200
  /**
5228
6201
  * @param {string} value
5229
- * @return {!proto.gateway.web.v1.ListGitActivitiesRequest} returns this
6202
+ * @return {!proto.gateway.web.v1.StreamGitActivitiesRequest} returns this
5230
6203
  */
5231
- proto.gateway.web.v1.ListGitActivitiesRequest.prototype.setSourceSystem = function(value) {
6204
+ proto.gateway.web.v1.StreamGitActivitiesRequest.prototype.setSourceSystem = function(value) {
5232
6205
  return jspb.Message.setProto3StringField(this, 4, value);
5233
6206
  };
5234
6207
 
5235
6208
 
5236
6209
 
5237
6210
  /**
5238
- * List of repeated fields within this message type.
5239
- * @private {!Array<number>}
6211
+ * Oneof group definitions for this message. Each group defines the field
6212
+ * numbers belonging to that group. When of these fields' value is set, all
6213
+ * other fields in the group are cleared. During deserialization, if multiple
6214
+ * fields are encountered for a group, only the last value seen will be kept.
6215
+ * @private {!Array<!Array<number>>}
5240
6216
  * @const
5241
6217
  */
5242
- proto.gateway.web.v1.ListGitActivitiesResponse.repeatedFields_ = [2];
6218
+ proto.gateway.web.v1.GitActivityFrame.oneofGroups_ = [[1,2]];
6219
+
6220
+ /**
6221
+ * @enum {number}
6222
+ */
6223
+ proto.gateway.web.v1.GitActivityFrame.FrameCase = {
6224
+ FRAME_NOT_SET: 0,
6225
+ UPSERT: 1,
6226
+ SNAPSHOT_COMPLETED: 2
6227
+ };
6228
+
6229
+ /**
6230
+ * @return {proto.gateway.web.v1.GitActivityFrame.FrameCase}
6231
+ */
6232
+ proto.gateway.web.v1.GitActivityFrame.prototype.getFrameCase = function() {
6233
+ return /** @type {proto.gateway.web.v1.GitActivityFrame.FrameCase} */(jspb.Message.computeOneofCase(this, proto.gateway.web.v1.GitActivityFrame.oneofGroups_[0]));
6234
+ };
5243
6235
 
5244
6236
 
5245
6237
 
@@ -5256,8 +6248,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
5256
6248
  * http://goto/soy-param-migration
5257
6249
  * @return {!Object}
5258
6250
  */
5259
- proto.gateway.web.v1.ListGitActivitiesResponse.prototype.toObject = function(opt_includeInstance) {
5260
- return proto.gateway.web.v1.ListGitActivitiesResponse.toObject(opt_includeInstance, this);
6251
+ proto.gateway.web.v1.GitActivityFrame.prototype.toObject = function(opt_includeInstance) {
6252
+ return proto.gateway.web.v1.GitActivityFrame.toObject(opt_includeInstance, this);
5261
6253
  };
5262
6254
 
5263
6255
 
@@ -5266,15 +6258,14 @@ proto.gateway.web.v1.ListGitActivitiesResponse.prototype.toObject = function(opt
5266
6258
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
5267
6259
  * the JSPB instance for transitional soy proto support:
5268
6260
  * http://goto/soy-param-migration
5269
- * @param {!proto.gateway.web.v1.ListGitActivitiesResponse} msg The msg instance to transform.
6261
+ * @param {!proto.gateway.web.v1.GitActivityFrame} msg The msg instance to transform.
5270
6262
  * @return {!Object}
5271
6263
  * @suppress {unusedLocalVariables} f is only used for nested messages
5272
6264
  */
5273
- proto.gateway.web.v1.ListGitActivitiesResponse.toObject = function(includeInstance, msg) {
6265
+ proto.gateway.web.v1.GitActivityFrame.toObject = function(includeInstance, msg) {
5274
6266
  var f, obj = {
5275
- status: (f = msg.getStatus()) && proto_gateway_common_v1_status_pb.ResponseStatus.toObject(includeInstance, f),
5276
- activitiesList: jspb.Message.toObjectList(msg.getActivitiesList(),
5277
- proto.gateway.web.v1.AIGitActivity.toObject, includeInstance)
6267
+ upsert: (f = msg.getUpsert()) && proto.gateway.web.v1.AIGitActivity.toObject(includeInstance, f),
6268
+ snapshotCompleted: (f = msg.getSnapshotCompleted()) && proto.gateway.web.v1.GitActivitiesSnapshotCompleted.toObject(includeInstance, f)
5278
6269
  };
5279
6270
 
5280
6271
  if (includeInstance) {
@@ -5288,23 +6279,23 @@ activitiesList: jspb.Message.toObjectList(msg.getActivitiesList(),
5288
6279
  /**
5289
6280
  * Deserializes binary data (in protobuf wire format).
5290
6281
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
5291
- * @return {!proto.gateway.web.v1.ListGitActivitiesResponse}
6282
+ * @return {!proto.gateway.web.v1.GitActivityFrame}
5292
6283
  */
5293
- proto.gateway.web.v1.ListGitActivitiesResponse.deserializeBinary = function(bytes) {
6284
+ proto.gateway.web.v1.GitActivityFrame.deserializeBinary = function(bytes) {
5294
6285
  var reader = new jspb.BinaryReader(bytes);
5295
- var msg = new proto.gateway.web.v1.ListGitActivitiesResponse;
5296
- return proto.gateway.web.v1.ListGitActivitiesResponse.deserializeBinaryFromReader(msg, reader);
6286
+ var msg = new proto.gateway.web.v1.GitActivityFrame;
6287
+ return proto.gateway.web.v1.GitActivityFrame.deserializeBinaryFromReader(msg, reader);
5297
6288
  };
5298
6289
 
5299
6290
 
5300
6291
  /**
5301
6292
  * Deserializes binary data (in protobuf wire format) from the
5302
6293
  * given reader into the given message object.
5303
- * @param {!proto.gateway.web.v1.ListGitActivitiesResponse} msg The message object to deserialize into.
6294
+ * @param {!proto.gateway.web.v1.GitActivityFrame} msg The message object to deserialize into.
5304
6295
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
5305
- * @return {!proto.gateway.web.v1.ListGitActivitiesResponse}
6296
+ * @return {!proto.gateway.web.v1.GitActivityFrame}
5306
6297
  */
5307
- proto.gateway.web.v1.ListGitActivitiesResponse.deserializeBinaryFromReader = function(msg, reader) {
6298
+ proto.gateway.web.v1.GitActivityFrame.deserializeBinaryFromReader = function(msg, reader) {
5308
6299
  while (reader.nextField()) {
5309
6300
  if (reader.isEndGroup()) {
5310
6301
  break;
@@ -5312,14 +6303,14 @@ proto.gateway.web.v1.ListGitActivitiesResponse.deserializeBinaryFromReader = fun
5312
6303
  var field = reader.getFieldNumber();
5313
6304
  switch (field) {
5314
6305
  case 1:
5315
- var value = new proto_gateway_common_v1_status_pb.ResponseStatus;
5316
- reader.readMessage(value,proto_gateway_common_v1_status_pb.ResponseStatus.deserializeBinaryFromReader);
5317
- msg.setStatus(value);
5318
- break;
5319
- case 2:
5320
6306
  var value = new proto.gateway.web.v1.AIGitActivity;
5321
6307
  reader.readMessage(value,proto.gateway.web.v1.AIGitActivity.deserializeBinaryFromReader);
5322
- msg.addActivities(value);
6308
+ msg.setUpsert(value);
6309
+ break;
6310
+ case 2:
6311
+ var value = new proto.gateway.web.v1.GitActivitiesSnapshotCompleted;
6312
+ reader.readMessage(value,proto.gateway.web.v1.GitActivitiesSnapshotCompleted.deserializeBinaryFromReader);
6313
+ msg.setSnapshotCompleted(value);
5323
6314
  break;
5324
6315
  default:
5325
6316
  reader.skipField();
@@ -5334,9 +6325,9 @@ proto.gateway.web.v1.ListGitActivitiesResponse.deserializeBinaryFromReader = fun
5334
6325
  * Serializes the message to binary data (in protobuf wire format).
5335
6326
  * @return {!Uint8Array}
5336
6327
  */
5337
- proto.gateway.web.v1.ListGitActivitiesResponse.prototype.serializeBinary = function() {
6328
+ proto.gateway.web.v1.GitActivityFrame.prototype.serializeBinary = function() {
5338
6329
  var writer = new jspb.BinaryWriter();
5339
- proto.gateway.web.v1.ListGitActivitiesResponse.serializeBinaryToWriter(this, writer);
6330
+ proto.gateway.web.v1.GitActivityFrame.serializeBinaryToWriter(this, writer);
5340
6331
  return writer.getResultBuffer();
5341
6332
  };
5342
6333
 
@@ -5344,56 +6335,56 @@ proto.gateway.web.v1.ListGitActivitiesResponse.prototype.serializeBinary = funct
5344
6335
  /**
5345
6336
  * Serializes the given message to binary data (in protobuf wire
5346
6337
  * format), writing to the given BinaryWriter.
5347
- * @param {!proto.gateway.web.v1.ListGitActivitiesResponse} message
6338
+ * @param {!proto.gateway.web.v1.GitActivityFrame} message
5348
6339
  * @param {!jspb.BinaryWriter} writer
5349
6340
  * @suppress {unusedLocalVariables} f is only used for nested messages
5350
6341
  */
5351
- proto.gateway.web.v1.ListGitActivitiesResponse.serializeBinaryToWriter = function(message, writer) {
6342
+ proto.gateway.web.v1.GitActivityFrame.serializeBinaryToWriter = function(message, writer) {
5352
6343
  var f = undefined;
5353
- f = message.getStatus();
6344
+ f = message.getUpsert();
5354
6345
  if (f != null) {
5355
6346
  writer.writeMessage(
5356
6347
  1,
5357
6348
  f,
5358
- proto_gateway_common_v1_status_pb.ResponseStatus.serializeBinaryToWriter
6349
+ proto.gateway.web.v1.AIGitActivity.serializeBinaryToWriter
5359
6350
  );
5360
6351
  }
5361
- f = message.getActivitiesList();
5362
- if (f.length > 0) {
5363
- writer.writeRepeatedMessage(
6352
+ f = message.getSnapshotCompleted();
6353
+ if (f != null) {
6354
+ writer.writeMessage(
5364
6355
  2,
5365
6356
  f,
5366
- proto.gateway.web.v1.AIGitActivity.serializeBinaryToWriter
6357
+ proto.gateway.web.v1.GitActivitiesSnapshotCompleted.serializeBinaryToWriter
5367
6358
  );
5368
6359
  }
5369
6360
  };
5370
6361
 
5371
6362
 
5372
6363
  /**
5373
- * optional gateway.common.v1.ResponseStatus status = 1;
5374
- * @return {?proto.gateway.common.v1.ResponseStatus}
6364
+ * optional AIGitActivity upsert = 1;
6365
+ * @return {?proto.gateway.web.v1.AIGitActivity}
5375
6366
  */
5376
- proto.gateway.web.v1.ListGitActivitiesResponse.prototype.getStatus = function() {
5377
- return /** @type{?proto.gateway.common.v1.ResponseStatus} */ (
5378
- jspb.Message.getWrapperField(this, proto_gateway_common_v1_status_pb.ResponseStatus, 1));
6367
+ proto.gateway.web.v1.GitActivityFrame.prototype.getUpsert = function() {
6368
+ return /** @type{?proto.gateway.web.v1.AIGitActivity} */ (
6369
+ jspb.Message.getWrapperField(this, proto.gateway.web.v1.AIGitActivity, 1));
5379
6370
  };
5380
6371
 
5381
6372
 
5382
6373
  /**
5383
- * @param {?proto.gateway.common.v1.ResponseStatus|undefined} value
5384
- * @return {!proto.gateway.web.v1.ListGitActivitiesResponse} returns this
6374
+ * @param {?proto.gateway.web.v1.AIGitActivity|undefined} value
6375
+ * @return {!proto.gateway.web.v1.GitActivityFrame} returns this
5385
6376
  */
5386
- proto.gateway.web.v1.ListGitActivitiesResponse.prototype.setStatus = function(value) {
5387
- return jspb.Message.setWrapperField(this, 1, value);
6377
+ proto.gateway.web.v1.GitActivityFrame.prototype.setUpsert = function(value) {
6378
+ return jspb.Message.setOneofWrapperField(this, 1, proto.gateway.web.v1.GitActivityFrame.oneofGroups_[0], value);
5388
6379
  };
5389
6380
 
5390
6381
 
5391
6382
  /**
5392
6383
  * Clears the message field making it undefined.
5393
- * @return {!proto.gateway.web.v1.ListGitActivitiesResponse} returns this
6384
+ * @return {!proto.gateway.web.v1.GitActivityFrame} returns this
5394
6385
  */
5395
- proto.gateway.web.v1.ListGitActivitiesResponse.prototype.clearStatus = function() {
5396
- return this.setStatus(undefined);
6386
+ proto.gateway.web.v1.GitActivityFrame.prototype.clearUpsert = function() {
6387
+ return this.setUpsert(undefined);
5397
6388
  };
5398
6389
 
5399
6390
 
@@ -5401,46 +6392,146 @@ proto.gateway.web.v1.ListGitActivitiesResponse.prototype.clearStatus = function(
5401
6392
  * Returns whether this field is set.
5402
6393
  * @return {boolean}
5403
6394
  */
5404
- proto.gateway.web.v1.ListGitActivitiesResponse.prototype.hasStatus = function() {
6395
+ proto.gateway.web.v1.GitActivityFrame.prototype.hasUpsert = function() {
5405
6396
  return jspb.Message.getField(this, 1) != null;
5406
6397
  };
5407
6398
 
5408
6399
 
5409
6400
  /**
5410
- * repeated AIGitActivity activities = 2;
5411
- * @return {!Array<!proto.gateway.web.v1.AIGitActivity>}
6401
+ * optional GitActivitiesSnapshotCompleted snapshot_completed = 2;
6402
+ * @return {?proto.gateway.web.v1.GitActivitiesSnapshotCompleted}
5412
6403
  */
5413
- proto.gateway.web.v1.ListGitActivitiesResponse.prototype.getActivitiesList = function() {
5414
- return /** @type{!Array<!proto.gateway.web.v1.AIGitActivity>} */ (
5415
- jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.AIGitActivity, 2));
6404
+ proto.gateway.web.v1.GitActivityFrame.prototype.getSnapshotCompleted = function() {
6405
+ return /** @type{?proto.gateway.web.v1.GitActivitiesSnapshotCompleted} */ (
6406
+ jspb.Message.getWrapperField(this, proto.gateway.web.v1.GitActivitiesSnapshotCompleted, 2));
5416
6407
  };
5417
6408
 
5418
6409
 
5419
6410
  /**
5420
- * @param {!Array<!proto.gateway.web.v1.AIGitActivity>} value
5421
- * @return {!proto.gateway.web.v1.ListGitActivitiesResponse} returns this
6411
+ * @param {?proto.gateway.web.v1.GitActivitiesSnapshotCompleted|undefined} value
6412
+ * @return {!proto.gateway.web.v1.GitActivityFrame} returns this
5422
6413
  */
5423
- proto.gateway.web.v1.ListGitActivitiesResponse.prototype.setActivitiesList = function(value) {
5424
- return jspb.Message.setRepeatedWrapperField(this, 2, value);
6414
+ proto.gateway.web.v1.GitActivityFrame.prototype.setSnapshotCompleted = function(value) {
6415
+ return jspb.Message.setOneofWrapperField(this, 2, proto.gateway.web.v1.GitActivityFrame.oneofGroups_[0], value);
5425
6416
  };
5426
6417
 
5427
6418
 
5428
6419
  /**
5429
- * @param {!proto.gateway.web.v1.AIGitActivity=} opt_value
5430
- * @param {number=} opt_index
5431
- * @return {!proto.gateway.web.v1.AIGitActivity}
6420
+ * Clears the message field making it undefined.
6421
+ * @return {!proto.gateway.web.v1.GitActivityFrame} returns this
5432
6422
  */
5433
- proto.gateway.web.v1.ListGitActivitiesResponse.prototype.addActivities = function(opt_value, opt_index) {
5434
- return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.gateway.web.v1.AIGitActivity, opt_index);
6423
+ proto.gateway.web.v1.GitActivityFrame.prototype.clearSnapshotCompleted = function() {
6424
+ return this.setSnapshotCompleted(undefined);
5435
6425
  };
5436
6426
 
5437
6427
 
5438
6428
  /**
5439
- * Clears the list making it empty but non-null.
5440
- * @return {!proto.gateway.web.v1.ListGitActivitiesResponse} returns this
6429
+ * Returns whether this field is set.
6430
+ * @return {boolean}
5441
6431
  */
5442
- proto.gateway.web.v1.ListGitActivitiesResponse.prototype.clearActivitiesList = function() {
5443
- return this.setActivitiesList([]);
6432
+ proto.gateway.web.v1.GitActivityFrame.prototype.hasSnapshotCompleted = function() {
6433
+ return jspb.Message.getField(this, 2) != null;
6434
+ };
6435
+
6436
+
6437
+
6438
+
6439
+
6440
+ if (jspb.Message.GENERATE_TO_OBJECT) {
6441
+ /**
6442
+ * Creates an object representation of this proto.
6443
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
6444
+ * Optional fields that are not set will be set to undefined.
6445
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
6446
+ * For the list of reserved names please see:
6447
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
6448
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
6449
+ * JSPB instance for transitional soy proto support:
6450
+ * http://goto/soy-param-migration
6451
+ * @return {!Object}
6452
+ */
6453
+ proto.gateway.web.v1.GitActivitiesSnapshotCompleted.prototype.toObject = function(opt_includeInstance) {
6454
+ return proto.gateway.web.v1.GitActivitiesSnapshotCompleted.toObject(opt_includeInstance, this);
6455
+ };
6456
+
6457
+
6458
+ /**
6459
+ * Static version of the {@see toObject} method.
6460
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
6461
+ * the JSPB instance for transitional soy proto support:
6462
+ * http://goto/soy-param-migration
6463
+ * @param {!proto.gateway.web.v1.GitActivitiesSnapshotCompleted} msg The msg instance to transform.
6464
+ * @return {!Object}
6465
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6466
+ */
6467
+ proto.gateway.web.v1.GitActivitiesSnapshotCompleted.toObject = function(includeInstance, msg) {
6468
+ var f, obj = {
6469
+
6470
+ };
6471
+
6472
+ if (includeInstance) {
6473
+ obj.$jspbMessageInstance = msg;
6474
+ }
6475
+ return obj;
6476
+ };
6477
+ }
6478
+
6479
+
6480
+ /**
6481
+ * Deserializes binary data (in protobuf wire format).
6482
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
6483
+ * @return {!proto.gateway.web.v1.GitActivitiesSnapshotCompleted}
6484
+ */
6485
+ proto.gateway.web.v1.GitActivitiesSnapshotCompleted.deserializeBinary = function(bytes) {
6486
+ var reader = new jspb.BinaryReader(bytes);
6487
+ var msg = new proto.gateway.web.v1.GitActivitiesSnapshotCompleted;
6488
+ return proto.gateway.web.v1.GitActivitiesSnapshotCompleted.deserializeBinaryFromReader(msg, reader);
6489
+ };
6490
+
6491
+
6492
+ /**
6493
+ * Deserializes binary data (in protobuf wire format) from the
6494
+ * given reader into the given message object.
6495
+ * @param {!proto.gateway.web.v1.GitActivitiesSnapshotCompleted} msg The message object to deserialize into.
6496
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
6497
+ * @return {!proto.gateway.web.v1.GitActivitiesSnapshotCompleted}
6498
+ */
6499
+ proto.gateway.web.v1.GitActivitiesSnapshotCompleted.deserializeBinaryFromReader = function(msg, reader) {
6500
+ while (reader.nextField()) {
6501
+ if (reader.isEndGroup()) {
6502
+ break;
6503
+ }
6504
+ var field = reader.getFieldNumber();
6505
+ switch (field) {
6506
+ default:
6507
+ reader.skipField();
6508
+ break;
6509
+ }
6510
+ }
6511
+ return msg;
6512
+ };
6513
+
6514
+
6515
+ /**
6516
+ * Serializes the message to binary data (in protobuf wire format).
6517
+ * @return {!Uint8Array}
6518
+ */
6519
+ proto.gateway.web.v1.GitActivitiesSnapshotCompleted.prototype.serializeBinary = function() {
6520
+ var writer = new jspb.BinaryWriter();
6521
+ proto.gateway.web.v1.GitActivitiesSnapshotCompleted.serializeBinaryToWriter(this, writer);
6522
+ return writer.getResultBuffer();
6523
+ };
6524
+
6525
+
6526
+ /**
6527
+ * Serializes the given message to binary data (in protobuf wire
6528
+ * format), writing to the given BinaryWriter.
6529
+ * @param {!proto.gateway.web.v1.GitActivitiesSnapshotCompleted} message
6530
+ * @param {!jspb.BinaryWriter} writer
6531
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6532
+ */
6533
+ proto.gateway.web.v1.GitActivitiesSnapshotCompleted.serializeBinaryToWriter = function(message, writer) {
6534
+ var f = undefined;
5444
6535
  };
5445
6536
 
5446
6537
 
@@ -5510,7 +6601,8 @@ pullRequestUrl: jspb.Message.getFieldWithDefault(msg, 24, ""),
5510
6601
  prState: jspb.Message.getFieldWithDefault(msg, 25, ""),
5511
6602
  prBaseRef: jspb.Message.getFieldWithDefault(msg, 26, ""),
5512
6603
  prHeadRef: jspb.Message.getFieldWithDefault(msg, 27, ""),
5513
- mergeCommitSha: jspb.Message.getFieldWithDefault(msg, 28, "")
6604
+ mergeCommitSha: jspb.Message.getFieldWithDefault(msg, 28, ""),
6605
+ activityId: jspb.Message.getFieldWithDefault(msg, 29, "")
5514
6606
  };
5515
6607
 
5516
6608
  if (includeInstance) {
@@ -5660,6 +6752,10 @@ proto.gateway.web.v1.AIGitActivity.deserializeBinaryFromReader = function(msg, r
5660
6752
  var value = /** @type {string} */ (reader.readString());
5661
6753
  msg.setMergeCommitSha(value);
5662
6754
  break;
6755
+ case 29:
6756
+ var value = /** @type {string} */ (reader.readString());
6757
+ msg.setActivityId(value);
6758
+ break;
5663
6759
  default:
5664
6760
  reader.skipField();
5665
6761
  break;
@@ -5886,6 +6982,13 @@ proto.gateway.web.v1.AIGitActivity.serializeBinaryToWriter = function(message, w
5886
6982
  f
5887
6983
  );
5888
6984
  }
6985
+ f = message.getActivityId();
6986
+ if (f.length > 0) {
6987
+ writer.writeString(
6988
+ 29,
6989
+ f
6990
+ );
6991
+ }
5889
6992
  };
5890
6993
 
5891
6994
 
@@ -6431,6 +7534,24 @@ proto.gateway.web.v1.AIGitActivity.prototype.setMergeCommitSha = function(value)
6431
7534
  };
6432
7535
 
6433
7536
 
7537
+ /**
7538
+ * optional string activity_id = 29;
7539
+ * @return {string}
7540
+ */
7541
+ proto.gateway.web.v1.AIGitActivity.prototype.getActivityId = function() {
7542
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 29, ""));
7543
+ };
7544
+
7545
+
7546
+ /**
7547
+ * @param {string} value
7548
+ * @return {!proto.gateway.web.v1.AIGitActivity} returns this
7549
+ */
7550
+ proto.gateway.web.v1.AIGitActivity.prototype.setActivityId = function(value) {
7551
+ return jspb.Message.setProto3StringField(this, 29, value);
7552
+ };
7553
+
7554
+
6434
7555
 
6435
7556
 
6436
7557