@miradorlabs/web-grpc 3.18.0 → 3.20.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. package/google/api/field_behavior.ts +1 -1
  2. package/google/protobuf/descriptor.ts +1 -1
  3. package/google/protobuf/duration.ts +1 -1
  4. package/google/protobuf/timestamp.ts +1 -1
  5. package/package.json +1 -1
  6. package/proto/gateway/common/v1/attribute_value.ts +1 -1
  7. package/proto/gateway/common/v1/status.ts +1 -1
  8. package/proto/gateway/common/v1/types.ts +1 -1
  9. package/proto/gateway/web/v1/account_gateway.ts +1 -1
  10. package/proto/gateway/web/v1/admin_gateway.ts +950 -99
  11. package/proto/gateway/web/v1/admin_gateway_grpc_pb.js +138 -0
  12. package/proto/gateway/web/v1/admin_gateway_pb.js +1728 -0
  13. package/proto/gateway/web/v1/ai_gateway.ts +1 -1
  14. package/proto/gateway/web/v1/attribute_value.ts +1 -1
  15. package/proto/gateway/web/v1/beta_gateway.ts +1 -1
  16. package/proto/gateway/web/v1/chain_gateway.ts +1 -1
  17. package/proto/gateway/web/v1/common.ts +1 -1
  18. package/proto/gateway/web/v1/derived_metric_gateway.ts +1 -1
  19. package/proto/gateway/web/v1/github_connector.ts +1 -1
  20. package/proto/gateway/web/v1/integration_gateway.ts +1 -1
  21. package/proto/gateway/web/v1/log_gateway.ts +1 -1
  22. package/proto/gateway/web/v1/market_gateway.ts +1 -1
  23. package/proto/gateway/web/v1/metric_gateway.ts +1 -1
  24. package/proto/gateway/web/v1/oauth_gateway.ts +1 -1
  25. package/proto/gateway/web/v1/plan_gateway.ts +1 -1
  26. package/proto/gateway/web/v1/policy_gateway.ts +27 -3
  27. package/proto/gateway/web/v1/policy_gateway_pb.js +31 -1
  28. package/proto/gateway/web/v1/reference_gateway.ts +1994 -83
  29. package/proto/gateway/web/v1/reference_gateway_grpc_pb.js +145 -0
  30. package/proto/gateway/web/v1/reference_gateway_pb.js +3777 -43
  31. package/proto/gateway/web/v1/rule_gateway.ts +1 -1
  32. package/proto/gateway/web/v1/slo_gateway.ts +1 -1
  33. package/proto/gateway/web/v1/trace_gateway.ts +1 -1
  34. package/proto/gateway/web/v1/trace_measure_gateway.ts +1 -1
@@ -21,18 +21,34 @@ var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/time
21
21
  goog.object.extend(proto, google_protobuf_timestamp_pb);
22
22
  var proto_gateway_common_v1_status_pb = require('../../../../proto/gateway/common/v1/status_pb.js');
23
23
  goog.object.extend(proto, proto_gateway_common_v1_status_pb);
24
+ var proto_gateway_web_v1_trace_gateway_pb = require('../../../../proto/gateway/web/v1/trace_gateway_pb.js');
25
+ goog.object.extend(proto, proto_gateway_web_v1_trace_gateway_pb);
24
26
  goog.exportSymbol('proto.gateway.web.v1.AIPrincipal', null, global);
25
27
  goog.exportSymbol('proto.gateway.web.v1.AIPrincipalFilter', null, global);
26
28
  goog.exportSymbol('proto.gateway.web.v1.AIPrincipalKind', null, global);
29
+ goog.exportSymbol('proto.gateway.web.v1.AIReferenceGroup', null, global);
30
+ goog.exportSymbol('proto.gateway.web.v1.AIReferenceGroupCounts', null, global);
31
+ goog.exportSymbol('proto.gateway.web.v1.AIReferenceGroupFilter', null, global);
32
+ goog.exportSymbol('proto.gateway.web.v1.AIReferenceGroupObservation', null, global);
33
+ goog.exportSymbol('proto.gateway.web.v1.AIReferenceGroupStatus', null, global);
27
34
  goog.exportSymbol('proto.gateway.web.v1.AIReferenceName', null, global);
28
35
  goog.exportSymbol('proto.gateway.web.v1.AIReferenceNameOrigin', null, global);
29
36
  goog.exportSymbol('proto.gateway.web.v1.AIReferenceNameScope', null, global);
37
+ goog.exportSymbol('proto.gateway.web.v1.AIReferenceSourceCount', null, global);
38
+ goog.exportSymbol('proto.gateway.web.v1.ListAIBillerGroupsRequest', null, global);
39
+ goog.exportSymbol('proto.gateway.web.v1.ListAIBillerGroupsResponse', null, global);
30
40
  goog.exportSymbol('proto.gateway.web.v1.ListAIBillersRequest', null, global);
31
41
  goog.exportSymbol('proto.gateway.web.v1.ListAIBillersResponse', null, global);
42
+ goog.exportSymbol('proto.gateway.web.v1.ListAIEffortGroupsRequest', null, global);
43
+ goog.exportSymbol('proto.gateway.web.v1.ListAIEffortGroupsResponse', null, global);
32
44
  goog.exportSymbol('proto.gateway.web.v1.ListAIEffortsRequest', null, global);
33
45
  goog.exportSymbol('proto.gateway.web.v1.ListAIEffortsResponse', null, global);
46
+ goog.exportSymbol('proto.gateway.web.v1.ListAIModelGroupsRequest', null, global);
47
+ goog.exportSymbol('proto.gateway.web.v1.ListAIModelGroupsResponse', null, global);
34
48
  goog.exportSymbol('proto.gateway.web.v1.ListAIModelsRequest', null, global);
35
49
  goog.exportSymbol('proto.gateway.web.v1.ListAIModelsResponse', null, global);
50
+ goog.exportSymbol('proto.gateway.web.v1.ListAIProviderGroupsRequest', null, global);
51
+ goog.exportSymbol('proto.gateway.web.v1.ListAIProviderGroupsResponse', null, global);
36
52
  goog.exportSymbol('proto.gateway.web.v1.ListAIProvidersRequest', null, global);
37
53
  goog.exportSymbol('proto.gateway.web.v1.ListAIProvidersResponse', null, global);
38
54
  goog.exportSymbol('proto.gateway.web.v1.ListPrincipalsRequest', null, global);
@@ -333,6 +349,258 @@ if (goog.DEBUG && !COMPILED) {
333
349
  */
334
350
  proto.gateway.web.v1.ListAIBillersResponse.displayName = 'proto.gateway.web.v1.ListAIBillersResponse';
335
351
  }
352
+ /**
353
+ * Generated by JsPbCodeGenerator.
354
+ * @param {Array=} opt_data Optional initial data array, typically from a
355
+ * server response, or constructed directly in Javascript. The array is used
356
+ * in place and becomes part of the constructed object. It is not cloned.
357
+ * If no data is provided, the constructed object will be empty, but still
358
+ * valid.
359
+ * @extends {jspb.Message}
360
+ * @constructor
361
+ */
362
+ proto.gateway.web.v1.ListAIProviderGroupsRequest = function(opt_data) {
363
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.ListAIProviderGroupsRequest.repeatedFields_, null);
364
+ };
365
+ goog.inherits(proto.gateway.web.v1.ListAIProviderGroupsRequest, jspb.Message);
366
+ if (goog.DEBUG && !COMPILED) {
367
+ /**
368
+ * @public
369
+ * @override
370
+ */
371
+ proto.gateway.web.v1.ListAIProviderGroupsRequest.displayName = 'proto.gateway.web.v1.ListAIProviderGroupsRequest';
372
+ }
373
+ /**
374
+ * Generated by JsPbCodeGenerator.
375
+ * @param {Array=} opt_data Optional initial data array, typically from a
376
+ * server response, or constructed directly in Javascript. The array is used
377
+ * in place and becomes part of the constructed object. It is not cloned.
378
+ * If no data is provided, the constructed object will be empty, but still
379
+ * valid.
380
+ * @extends {jspb.Message}
381
+ * @constructor
382
+ */
383
+ proto.gateway.web.v1.ListAIProviderGroupsResponse = function(opt_data) {
384
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.ListAIProviderGroupsResponse.repeatedFields_, null);
385
+ };
386
+ goog.inherits(proto.gateway.web.v1.ListAIProviderGroupsResponse, jspb.Message);
387
+ if (goog.DEBUG && !COMPILED) {
388
+ /**
389
+ * @public
390
+ * @override
391
+ */
392
+ proto.gateway.web.v1.ListAIProviderGroupsResponse.displayName = 'proto.gateway.web.v1.ListAIProviderGroupsResponse';
393
+ }
394
+ /**
395
+ * Generated by JsPbCodeGenerator.
396
+ * @param {Array=} opt_data Optional initial data array, typically from a
397
+ * server response, or constructed directly in Javascript. The array is used
398
+ * in place and becomes part of the constructed object. It is not cloned.
399
+ * If no data is provided, the constructed object will be empty, but still
400
+ * valid.
401
+ * @extends {jspb.Message}
402
+ * @constructor
403
+ */
404
+ proto.gateway.web.v1.ListAIModelGroupsRequest = function(opt_data) {
405
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.ListAIModelGroupsRequest.repeatedFields_, null);
406
+ };
407
+ goog.inherits(proto.gateway.web.v1.ListAIModelGroupsRequest, jspb.Message);
408
+ if (goog.DEBUG && !COMPILED) {
409
+ /**
410
+ * @public
411
+ * @override
412
+ */
413
+ proto.gateway.web.v1.ListAIModelGroupsRequest.displayName = 'proto.gateway.web.v1.ListAIModelGroupsRequest';
414
+ }
415
+ /**
416
+ * Generated by JsPbCodeGenerator.
417
+ * @param {Array=} opt_data Optional initial data array, typically from a
418
+ * server response, or constructed directly in Javascript. The array is used
419
+ * in place and becomes part of the constructed object. It is not cloned.
420
+ * If no data is provided, the constructed object will be empty, but still
421
+ * valid.
422
+ * @extends {jspb.Message}
423
+ * @constructor
424
+ */
425
+ proto.gateway.web.v1.ListAIModelGroupsResponse = function(opt_data) {
426
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.ListAIModelGroupsResponse.repeatedFields_, null);
427
+ };
428
+ goog.inherits(proto.gateway.web.v1.ListAIModelGroupsResponse, jspb.Message);
429
+ if (goog.DEBUG && !COMPILED) {
430
+ /**
431
+ * @public
432
+ * @override
433
+ */
434
+ proto.gateway.web.v1.ListAIModelGroupsResponse.displayName = 'proto.gateway.web.v1.ListAIModelGroupsResponse';
435
+ }
436
+ /**
437
+ * Generated by JsPbCodeGenerator.
438
+ * @param {Array=} opt_data Optional initial data array, typically from a
439
+ * server response, or constructed directly in Javascript. The array is used
440
+ * in place and becomes part of the constructed object. It is not cloned.
441
+ * If no data is provided, the constructed object will be empty, but still
442
+ * valid.
443
+ * @extends {jspb.Message}
444
+ * @constructor
445
+ */
446
+ proto.gateway.web.v1.ListAIEffortGroupsRequest = function(opt_data) {
447
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.ListAIEffortGroupsRequest.repeatedFields_, null);
448
+ };
449
+ goog.inherits(proto.gateway.web.v1.ListAIEffortGroupsRequest, jspb.Message);
450
+ if (goog.DEBUG && !COMPILED) {
451
+ /**
452
+ * @public
453
+ * @override
454
+ */
455
+ proto.gateway.web.v1.ListAIEffortGroupsRequest.displayName = 'proto.gateway.web.v1.ListAIEffortGroupsRequest';
456
+ }
457
+ /**
458
+ * Generated by JsPbCodeGenerator.
459
+ * @param {Array=} opt_data Optional initial data array, typically from a
460
+ * server response, or constructed directly in Javascript. The array is used
461
+ * in place and becomes part of the constructed object. It is not cloned.
462
+ * If no data is provided, the constructed object will be empty, but still
463
+ * valid.
464
+ * @extends {jspb.Message}
465
+ * @constructor
466
+ */
467
+ proto.gateway.web.v1.ListAIEffortGroupsResponse = function(opt_data) {
468
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.ListAIEffortGroupsResponse.repeatedFields_, null);
469
+ };
470
+ goog.inherits(proto.gateway.web.v1.ListAIEffortGroupsResponse, jspb.Message);
471
+ if (goog.DEBUG && !COMPILED) {
472
+ /**
473
+ * @public
474
+ * @override
475
+ */
476
+ proto.gateway.web.v1.ListAIEffortGroupsResponse.displayName = 'proto.gateway.web.v1.ListAIEffortGroupsResponse';
477
+ }
478
+ /**
479
+ * Generated by JsPbCodeGenerator.
480
+ * @param {Array=} opt_data Optional initial data array, typically from a
481
+ * server response, or constructed directly in Javascript. The array is used
482
+ * in place and becomes part of the constructed object. It is not cloned.
483
+ * If no data is provided, the constructed object will be empty, but still
484
+ * valid.
485
+ * @extends {jspb.Message}
486
+ * @constructor
487
+ */
488
+ proto.gateway.web.v1.ListAIBillerGroupsRequest = function(opt_data) {
489
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.ListAIBillerGroupsRequest.repeatedFields_, null);
490
+ };
491
+ goog.inherits(proto.gateway.web.v1.ListAIBillerGroupsRequest, jspb.Message);
492
+ if (goog.DEBUG && !COMPILED) {
493
+ /**
494
+ * @public
495
+ * @override
496
+ */
497
+ proto.gateway.web.v1.ListAIBillerGroupsRequest.displayName = 'proto.gateway.web.v1.ListAIBillerGroupsRequest';
498
+ }
499
+ /**
500
+ * Generated by JsPbCodeGenerator.
501
+ * @param {Array=} opt_data Optional initial data array, typically from a
502
+ * server response, or constructed directly in Javascript. The array is used
503
+ * in place and becomes part of the constructed object. It is not cloned.
504
+ * If no data is provided, the constructed object will be empty, but still
505
+ * valid.
506
+ * @extends {jspb.Message}
507
+ * @constructor
508
+ */
509
+ proto.gateway.web.v1.ListAIBillerGroupsResponse = function(opt_data) {
510
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.ListAIBillerGroupsResponse.repeatedFields_, null);
511
+ };
512
+ goog.inherits(proto.gateway.web.v1.ListAIBillerGroupsResponse, jspb.Message);
513
+ if (goog.DEBUG && !COMPILED) {
514
+ /**
515
+ * @public
516
+ * @override
517
+ */
518
+ proto.gateway.web.v1.ListAIBillerGroupsResponse.displayName = 'proto.gateway.web.v1.ListAIBillerGroupsResponse';
519
+ }
520
+ /**
521
+ * Generated by JsPbCodeGenerator.
522
+ * @param {Array=} opt_data Optional initial data array, typically from a
523
+ * server response, or constructed directly in Javascript. The array is used
524
+ * in place and becomes part of the constructed object. It is not cloned.
525
+ * If no data is provided, the constructed object will be empty, but still
526
+ * valid.
527
+ * @extends {jspb.Message}
528
+ * @constructor
529
+ */
530
+ proto.gateway.web.v1.AIReferenceGroupFilter = function(opt_data) {
531
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
532
+ };
533
+ goog.inherits(proto.gateway.web.v1.AIReferenceGroupFilter, jspb.Message);
534
+ if (goog.DEBUG && !COMPILED) {
535
+ /**
536
+ * @public
537
+ * @override
538
+ */
539
+ proto.gateway.web.v1.AIReferenceGroupFilter.displayName = 'proto.gateway.web.v1.AIReferenceGroupFilter';
540
+ }
541
+ /**
542
+ * Generated by JsPbCodeGenerator.
543
+ * @param {Array=} opt_data Optional initial data array, typically from a
544
+ * server response, or constructed directly in Javascript. The array is used
545
+ * in place and becomes part of the constructed object. It is not cloned.
546
+ * If no data is provided, the constructed object will be empty, but still
547
+ * valid.
548
+ * @extends {jspb.Message}
549
+ * @constructor
550
+ */
551
+ proto.gateway.web.v1.AIReferenceGroup = function(opt_data) {
552
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.AIReferenceGroup.repeatedFields_, null);
553
+ };
554
+ goog.inherits(proto.gateway.web.v1.AIReferenceGroup, jspb.Message);
555
+ if (goog.DEBUG && !COMPILED) {
556
+ /**
557
+ * @public
558
+ * @override
559
+ */
560
+ proto.gateway.web.v1.AIReferenceGroup.displayName = 'proto.gateway.web.v1.AIReferenceGroup';
561
+ }
562
+ /**
563
+ * Generated by JsPbCodeGenerator.
564
+ * @param {Array=} opt_data Optional initial data array, typically from a
565
+ * server response, or constructed directly in Javascript. The array is used
566
+ * in place and becomes part of the constructed object. It is not cloned.
567
+ * If no data is provided, the constructed object will be empty, but still
568
+ * valid.
569
+ * @extends {jspb.Message}
570
+ * @constructor
571
+ */
572
+ proto.gateway.web.v1.AIReferenceGroupCounts = function(opt_data) {
573
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.gateway.web.v1.AIReferenceGroupCounts.repeatedFields_, null);
574
+ };
575
+ goog.inherits(proto.gateway.web.v1.AIReferenceGroupCounts, jspb.Message);
576
+ if (goog.DEBUG && !COMPILED) {
577
+ /**
578
+ * @public
579
+ * @override
580
+ */
581
+ proto.gateway.web.v1.AIReferenceGroupCounts.displayName = 'proto.gateway.web.v1.AIReferenceGroupCounts';
582
+ }
583
+ /**
584
+ * Generated by JsPbCodeGenerator.
585
+ * @param {Array=} opt_data Optional initial data array, typically from a
586
+ * server response, or constructed directly in Javascript. The array is used
587
+ * in place and becomes part of the constructed object. It is not cloned.
588
+ * If no data is provided, the constructed object will be empty, but still
589
+ * valid.
590
+ * @extends {jspb.Message}
591
+ * @constructor
592
+ */
593
+ proto.gateway.web.v1.AIReferenceSourceCount = function(opt_data) {
594
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
595
+ };
596
+ goog.inherits(proto.gateway.web.v1.AIReferenceSourceCount, jspb.Message);
597
+ if (goog.DEBUG && !COMPILED) {
598
+ /**
599
+ * @public
600
+ * @override
601
+ */
602
+ proto.gateway.web.v1.AIReferenceSourceCount.displayName = 'proto.gateway.web.v1.AIReferenceSourceCount';
603
+ }
336
604
  /**
337
605
  * Generated by JsPbCodeGenerator.
338
606
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -3530,7 +3798,7 @@ proto.gateway.web.v1.ListAIBillersResponse.prototype.clearBillersList = function
3530
3798
  * @private {!Array<number>}
3531
3799
  * @const
3532
3800
  */
3533
- proto.gateway.web.v1.AIReferenceName.repeatedFields_ = [3];
3801
+ proto.gateway.web.v1.ListAIProviderGroupsRequest.repeatedFields_ = [1];
3534
3802
 
3535
3803
 
3536
3804
 
@@ -3547,8 +3815,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
3547
3815
  * http://goto/soy-param-migration
3548
3816
  * @return {!Object}
3549
3817
  */
3550
- proto.gateway.web.v1.AIReferenceName.prototype.toObject = function(opt_includeInstance) {
3551
- return proto.gateway.web.v1.AIReferenceName.toObject(opt_includeInstance, this);
3818
+ proto.gateway.web.v1.ListAIProviderGroupsRequest.prototype.toObject = function(opt_includeInstance) {
3819
+ return proto.gateway.web.v1.ListAIProviderGroupsRequest.toObject(opt_includeInstance, this);
3552
3820
  };
3553
3821
 
3554
3822
 
@@ -3557,18 +3825,16 @@ proto.gateway.web.v1.AIReferenceName.prototype.toObject = function(opt_includeIn
3557
3825
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3558
3826
  * the JSPB instance for transitional soy proto support:
3559
3827
  * http://goto/soy-param-migration
3560
- * @param {!proto.gateway.web.v1.AIReferenceName} msg The msg instance to transform.
3828
+ * @param {!proto.gateway.web.v1.ListAIProviderGroupsRequest} msg The msg instance to transform.
3561
3829
  * @return {!Object}
3562
3830
  * @suppress {unusedLocalVariables} f is only used for nested messages
3563
3831
  */
3564
- proto.gateway.web.v1.AIReferenceName.toObject = function(includeInstance, msg) {
3832
+ proto.gateway.web.v1.ListAIProviderGroupsRequest.toObject = function(includeInstance, msg) {
3565
3833
  var f, obj = {
3566
- name: jspb.Message.getFieldWithDefault(msg, 1, ""),
3567
- displayName: jspb.Message.getFieldWithDefault(msg, 2, ""),
3568
- sourceSystemsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
3569
- origin: jspb.Message.getFieldWithDefault(msg, 4, 0),
3570
- updatedAt: (f = msg.getUpdatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
3571
- observed: jspb.Message.getBooleanFieldWithDefault(msg, 6, false)
3834
+ organizationIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
3835
+ filter: (f = msg.getFilter()) && proto.gateway.web.v1.AIReferenceGroupFilter.toObject(includeInstance, f),
3836
+ page: jspb.Message.getFieldWithDefault(msg, 3, 0),
3837
+ perPage: jspb.Message.getFieldWithDefault(msg, 4, 0)
3572
3838
  };
3573
3839
 
3574
3840
  if (includeInstance) {
@@ -3582,23 +3848,23 @@ observed: jspb.Message.getBooleanFieldWithDefault(msg, 6, false)
3582
3848
  /**
3583
3849
  * Deserializes binary data (in protobuf wire format).
3584
3850
  * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
3585
- * @return {!proto.gateway.web.v1.AIReferenceName}
3851
+ * @return {!proto.gateway.web.v1.ListAIProviderGroupsRequest}
3586
3852
  */
3587
- proto.gateway.web.v1.AIReferenceName.deserializeBinary = function(bytes) {
3853
+ proto.gateway.web.v1.ListAIProviderGroupsRequest.deserializeBinary = function(bytes) {
3588
3854
  var reader = new jspb.BinaryReader(bytes);
3589
- var msg = new proto.gateway.web.v1.AIReferenceName;
3590
- return proto.gateway.web.v1.AIReferenceName.deserializeBinaryFromReader(msg, reader);
3855
+ var msg = new proto.gateway.web.v1.ListAIProviderGroupsRequest;
3856
+ return proto.gateway.web.v1.ListAIProviderGroupsRequest.deserializeBinaryFromReader(msg, reader);
3591
3857
  };
3592
3858
 
3593
3859
 
3594
3860
  /**
3595
3861
  * Deserializes binary data (in protobuf wire format) from the
3596
3862
  * given reader into the given message object.
3597
- * @param {!proto.gateway.web.v1.AIReferenceName} msg The message object to deserialize into.
3863
+ * @param {!proto.gateway.web.v1.ListAIProviderGroupsRequest} msg The message object to deserialize into.
3598
3864
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3599
- * @return {!proto.gateway.web.v1.AIReferenceName}
3865
+ * @return {!proto.gateway.web.v1.ListAIProviderGroupsRequest}
3600
3866
  */
3601
- proto.gateway.web.v1.AIReferenceName.deserializeBinaryFromReader = function(msg, reader) {
3867
+ proto.gateway.web.v1.ListAIProviderGroupsRequest.deserializeBinaryFromReader = function(msg, reader) {
3602
3868
  while (reader.nextField()) {
3603
3869
  if (reader.isEndGroup()) {
3604
3870
  break;
@@ -3607,28 +3873,20 @@ proto.gateway.web.v1.AIReferenceName.deserializeBinaryFromReader = function(msg,
3607
3873
  switch (field) {
3608
3874
  case 1:
3609
3875
  var value = /** @type {string} */ (reader.readStringRequireUtf8());
3610
- msg.setName(value);
3876
+ msg.addOrganizationIds(value);
3611
3877
  break;
3612
3878
  case 2:
3613
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
3614
- msg.setDisplayName(value);
3879
+ var value = new proto.gateway.web.v1.AIReferenceGroupFilter;
3880
+ reader.readMessage(value,proto.gateway.web.v1.AIReferenceGroupFilter.deserializeBinaryFromReader);
3881
+ msg.setFilter(value);
3615
3882
  break;
3616
3883
  case 3:
3617
- var value = /** @type {string} */ (reader.readStringRequireUtf8());
3618
- msg.addSourceSystems(value);
3884
+ var value = /** @type {number} */ (reader.readInt32());
3885
+ msg.setPage(value);
3619
3886
  break;
3620
3887
  case 4:
3621
- var value = /** @type {!proto.gateway.web.v1.AIReferenceNameOrigin} */ (reader.readEnum());
3622
- msg.setOrigin(value);
3623
- break;
3624
- case 5:
3625
- var value = new google_protobuf_timestamp_pb.Timestamp;
3626
- reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
3627
- msg.setUpdatedAt(value);
3628
- break;
3629
- case 6:
3630
- var value = /** @type {boolean} */ (reader.readBool());
3631
- msg.setObserved(value);
3888
+ var value = /** @type {number} */ (reader.readInt32());
3889
+ msg.setPerPage(value);
3632
3890
  break;
3633
3891
  default:
3634
3892
  reader.skipField();
@@ -3643,9 +3901,9 @@ proto.gateway.web.v1.AIReferenceName.deserializeBinaryFromReader = function(msg,
3643
3901
  * Serializes the message to binary data (in protobuf wire format).
3644
3902
  * @return {!Uint8Array}
3645
3903
  */
3646
- proto.gateway.web.v1.AIReferenceName.prototype.serializeBinary = function() {
3904
+ proto.gateway.web.v1.ListAIProviderGroupsRequest.prototype.serializeBinary = function() {
3647
3905
  var writer = new jspb.BinaryWriter();
3648
- proto.gateway.web.v1.AIReferenceName.serializeBinaryToWriter(this, writer);
3906
+ proto.gateway.web.v1.ListAIProviderGroupsRequest.serializeBinaryToWriter(this, writer);
3649
3907
  return writer.getResultBuffer();
3650
3908
  };
3651
3909
 
@@ -3653,22 +3911,3480 @@ proto.gateway.web.v1.AIReferenceName.prototype.serializeBinary = function() {
3653
3911
  /**
3654
3912
  * Serializes the given message to binary data (in protobuf wire
3655
3913
  * format), writing to the given BinaryWriter.
3656
- * @param {!proto.gateway.web.v1.AIReferenceName} message
3914
+ * @param {!proto.gateway.web.v1.ListAIProviderGroupsRequest} message
3657
3915
  * @param {!jspb.BinaryWriter} writer
3658
3916
  * @suppress {unusedLocalVariables} f is only used for nested messages
3659
3917
  */
3660
- proto.gateway.web.v1.AIReferenceName.serializeBinaryToWriter = function(message, writer) {
3918
+ proto.gateway.web.v1.ListAIProviderGroupsRequest.serializeBinaryToWriter = function(message, writer) {
3661
3919
  var f = undefined;
3662
- f = message.getName();
3920
+ f = message.getOrganizationIdsList();
3663
3921
  if (f.length > 0) {
3664
- writer.writeString(
3922
+ writer.writeRepeatedString(
3665
3923
  1,
3666
3924
  f
3667
3925
  );
3668
3926
  }
3669
- f = message.getDisplayName();
3670
- if (f.length > 0) {
3671
- writer.writeString(
3927
+ f = message.getFilter();
3928
+ if (f != null) {
3929
+ writer.writeMessage(
3930
+ 2,
3931
+ f,
3932
+ proto.gateway.web.v1.AIReferenceGroupFilter.serializeBinaryToWriter
3933
+ );
3934
+ }
3935
+ f = message.getPage();
3936
+ if (f !== 0) {
3937
+ writer.writeInt32(
3938
+ 3,
3939
+ f
3940
+ );
3941
+ }
3942
+ f = message.getPerPage();
3943
+ if (f !== 0) {
3944
+ writer.writeInt32(
3945
+ 4,
3946
+ f
3947
+ );
3948
+ }
3949
+ };
3950
+
3951
+
3952
+ /**
3953
+ * repeated string organization_ids = 1;
3954
+ * @return {!Array<string>}
3955
+ */
3956
+ proto.gateway.web.v1.ListAIProviderGroupsRequest.prototype.getOrganizationIdsList = function() {
3957
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
3958
+ };
3959
+
3960
+
3961
+ /**
3962
+ * @param {!Array<string>} value
3963
+ * @return {!proto.gateway.web.v1.ListAIProviderGroupsRequest} returns this
3964
+ */
3965
+ proto.gateway.web.v1.ListAIProviderGroupsRequest.prototype.setOrganizationIdsList = function(value) {
3966
+ return jspb.Message.setField(this, 1, value || []);
3967
+ };
3968
+
3969
+
3970
+ /**
3971
+ * @param {string} value
3972
+ * @param {number=} opt_index
3973
+ * @return {!proto.gateway.web.v1.ListAIProviderGroupsRequest} returns this
3974
+ */
3975
+ proto.gateway.web.v1.ListAIProviderGroupsRequest.prototype.addOrganizationIds = function(value, opt_index) {
3976
+ return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
3977
+ };
3978
+
3979
+
3980
+ /**
3981
+ * Clears the list making it empty but non-null.
3982
+ * @return {!proto.gateway.web.v1.ListAIProviderGroupsRequest} returns this
3983
+ */
3984
+ proto.gateway.web.v1.ListAIProviderGroupsRequest.prototype.clearOrganizationIdsList = function() {
3985
+ return this.setOrganizationIdsList([]);
3986
+ };
3987
+
3988
+
3989
+ /**
3990
+ * optional AIReferenceGroupFilter filter = 2;
3991
+ * @return {?proto.gateway.web.v1.AIReferenceGroupFilter}
3992
+ */
3993
+ proto.gateway.web.v1.ListAIProviderGroupsRequest.prototype.getFilter = function() {
3994
+ return /** @type{?proto.gateway.web.v1.AIReferenceGroupFilter} */ (
3995
+ jspb.Message.getWrapperField(this, proto.gateway.web.v1.AIReferenceGroupFilter, 2));
3996
+ };
3997
+
3998
+
3999
+ /**
4000
+ * @param {?proto.gateway.web.v1.AIReferenceGroupFilter|undefined} value
4001
+ * @return {!proto.gateway.web.v1.ListAIProviderGroupsRequest} returns this
4002
+ */
4003
+ proto.gateway.web.v1.ListAIProviderGroupsRequest.prototype.setFilter = function(value) {
4004
+ return jspb.Message.setWrapperField(this, 2, value);
4005
+ };
4006
+
4007
+
4008
+ /**
4009
+ * Clears the message field making it undefined.
4010
+ * @return {!proto.gateway.web.v1.ListAIProviderGroupsRequest} returns this
4011
+ */
4012
+ proto.gateway.web.v1.ListAIProviderGroupsRequest.prototype.clearFilter = function() {
4013
+ return this.setFilter(undefined);
4014
+ };
4015
+
4016
+
4017
+ /**
4018
+ * Returns whether this field is set.
4019
+ * @return {boolean}
4020
+ */
4021
+ proto.gateway.web.v1.ListAIProviderGroupsRequest.prototype.hasFilter = function() {
4022
+ return jspb.Message.getField(this, 2) != null;
4023
+ };
4024
+
4025
+
4026
+ /**
4027
+ * optional int32 page = 3;
4028
+ * @return {number}
4029
+ */
4030
+ proto.gateway.web.v1.ListAIProviderGroupsRequest.prototype.getPage = function() {
4031
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
4032
+ };
4033
+
4034
+
4035
+ /**
4036
+ * @param {number} value
4037
+ * @return {!proto.gateway.web.v1.ListAIProviderGroupsRequest} returns this
4038
+ */
4039
+ proto.gateway.web.v1.ListAIProviderGroupsRequest.prototype.setPage = function(value) {
4040
+ return jspb.Message.setProto3IntField(this, 3, value);
4041
+ };
4042
+
4043
+
4044
+ /**
4045
+ * optional int32 per_page = 4;
4046
+ * @return {number}
4047
+ */
4048
+ proto.gateway.web.v1.ListAIProviderGroupsRequest.prototype.getPerPage = function() {
4049
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
4050
+ };
4051
+
4052
+
4053
+ /**
4054
+ * @param {number} value
4055
+ * @return {!proto.gateway.web.v1.ListAIProviderGroupsRequest} returns this
4056
+ */
4057
+ proto.gateway.web.v1.ListAIProviderGroupsRequest.prototype.setPerPage = function(value) {
4058
+ return jspb.Message.setProto3IntField(this, 4, value);
4059
+ };
4060
+
4061
+
4062
+
4063
+ /**
4064
+ * List of repeated fields within this message type.
4065
+ * @private {!Array<number>}
4066
+ * @const
4067
+ */
4068
+ proto.gateway.web.v1.ListAIProviderGroupsResponse.repeatedFields_ = [2];
4069
+
4070
+
4071
+
4072
+ if (jspb.Message.GENERATE_TO_OBJECT) {
4073
+ /**
4074
+ * Creates an object representation of this proto.
4075
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
4076
+ * Optional fields that are not set will be set to undefined.
4077
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
4078
+ * For the list of reserved names please see:
4079
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
4080
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
4081
+ * JSPB instance for transitional soy proto support:
4082
+ * http://goto/soy-param-migration
4083
+ * @return {!Object}
4084
+ */
4085
+ proto.gateway.web.v1.ListAIProviderGroupsResponse.prototype.toObject = function(opt_includeInstance) {
4086
+ return proto.gateway.web.v1.ListAIProviderGroupsResponse.toObject(opt_includeInstance, this);
4087
+ };
4088
+
4089
+
4090
+ /**
4091
+ * Static version of the {@see toObject} method.
4092
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4093
+ * the JSPB instance for transitional soy proto support:
4094
+ * http://goto/soy-param-migration
4095
+ * @param {!proto.gateway.web.v1.ListAIProviderGroupsResponse} msg The msg instance to transform.
4096
+ * @return {!Object}
4097
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4098
+ */
4099
+ proto.gateway.web.v1.ListAIProviderGroupsResponse.toObject = function(includeInstance, msg) {
4100
+ var f, obj = {
4101
+ status: (f = msg.getStatus()) && proto_gateway_common_v1_status_pb.ResponseStatus.toObject(includeInstance, f),
4102
+ groupsList: jspb.Message.toObjectList(msg.getGroupsList(),
4103
+ proto.gateway.web.v1.AIReferenceGroup.toObject, includeInstance),
4104
+ pagination: (f = msg.getPagination()) && proto_gateway_web_v1_trace_gateway_pb.Pagination.toObject(includeInstance, f),
4105
+ counts: (f = msg.getCounts()) && proto.gateway.web.v1.AIReferenceGroupCounts.toObject(includeInstance, f)
4106
+ };
4107
+
4108
+ if (includeInstance) {
4109
+ obj.$jspbMessageInstance = msg;
4110
+ }
4111
+ return obj;
4112
+ };
4113
+ }
4114
+
4115
+
4116
+ /**
4117
+ * Deserializes binary data (in protobuf wire format).
4118
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
4119
+ * @return {!proto.gateway.web.v1.ListAIProviderGroupsResponse}
4120
+ */
4121
+ proto.gateway.web.v1.ListAIProviderGroupsResponse.deserializeBinary = function(bytes) {
4122
+ var reader = new jspb.BinaryReader(bytes);
4123
+ var msg = new proto.gateway.web.v1.ListAIProviderGroupsResponse;
4124
+ return proto.gateway.web.v1.ListAIProviderGroupsResponse.deserializeBinaryFromReader(msg, reader);
4125
+ };
4126
+
4127
+
4128
+ /**
4129
+ * Deserializes binary data (in protobuf wire format) from the
4130
+ * given reader into the given message object.
4131
+ * @param {!proto.gateway.web.v1.ListAIProviderGroupsResponse} msg The message object to deserialize into.
4132
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
4133
+ * @return {!proto.gateway.web.v1.ListAIProviderGroupsResponse}
4134
+ */
4135
+ proto.gateway.web.v1.ListAIProviderGroupsResponse.deserializeBinaryFromReader = function(msg, reader) {
4136
+ while (reader.nextField()) {
4137
+ if (reader.isEndGroup()) {
4138
+ break;
4139
+ }
4140
+ var field = reader.getFieldNumber();
4141
+ switch (field) {
4142
+ case 1:
4143
+ var value = new proto_gateway_common_v1_status_pb.ResponseStatus;
4144
+ reader.readMessage(value,proto_gateway_common_v1_status_pb.ResponseStatus.deserializeBinaryFromReader);
4145
+ msg.setStatus(value);
4146
+ break;
4147
+ case 2:
4148
+ var value = new proto.gateway.web.v1.AIReferenceGroup;
4149
+ reader.readMessage(value,proto.gateway.web.v1.AIReferenceGroup.deserializeBinaryFromReader);
4150
+ msg.addGroups(value);
4151
+ break;
4152
+ case 3:
4153
+ var value = new proto_gateway_web_v1_trace_gateway_pb.Pagination;
4154
+ reader.readMessage(value,proto_gateway_web_v1_trace_gateway_pb.Pagination.deserializeBinaryFromReader);
4155
+ msg.setPagination(value);
4156
+ break;
4157
+ case 4:
4158
+ var value = new proto.gateway.web.v1.AIReferenceGroupCounts;
4159
+ reader.readMessage(value,proto.gateway.web.v1.AIReferenceGroupCounts.deserializeBinaryFromReader);
4160
+ msg.setCounts(value);
4161
+ break;
4162
+ default:
4163
+ reader.skipField();
4164
+ break;
4165
+ }
4166
+ }
4167
+ return msg;
4168
+ };
4169
+
4170
+
4171
+ /**
4172
+ * Serializes the message to binary data (in protobuf wire format).
4173
+ * @return {!Uint8Array}
4174
+ */
4175
+ proto.gateway.web.v1.ListAIProviderGroupsResponse.prototype.serializeBinary = function() {
4176
+ var writer = new jspb.BinaryWriter();
4177
+ proto.gateway.web.v1.ListAIProviderGroupsResponse.serializeBinaryToWriter(this, writer);
4178
+ return writer.getResultBuffer();
4179
+ };
4180
+
4181
+
4182
+ /**
4183
+ * Serializes the given message to binary data (in protobuf wire
4184
+ * format), writing to the given BinaryWriter.
4185
+ * @param {!proto.gateway.web.v1.ListAIProviderGroupsResponse} message
4186
+ * @param {!jspb.BinaryWriter} writer
4187
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4188
+ */
4189
+ proto.gateway.web.v1.ListAIProviderGroupsResponse.serializeBinaryToWriter = function(message, writer) {
4190
+ var f = undefined;
4191
+ f = message.getStatus();
4192
+ if (f != null) {
4193
+ writer.writeMessage(
4194
+ 1,
4195
+ f,
4196
+ proto_gateway_common_v1_status_pb.ResponseStatus.serializeBinaryToWriter
4197
+ );
4198
+ }
4199
+ f = message.getGroupsList();
4200
+ if (f.length > 0) {
4201
+ writer.writeRepeatedMessage(
4202
+ 2,
4203
+ f,
4204
+ proto.gateway.web.v1.AIReferenceGroup.serializeBinaryToWriter
4205
+ );
4206
+ }
4207
+ f = message.getPagination();
4208
+ if (f != null) {
4209
+ writer.writeMessage(
4210
+ 3,
4211
+ f,
4212
+ proto_gateway_web_v1_trace_gateway_pb.Pagination.serializeBinaryToWriter
4213
+ );
4214
+ }
4215
+ f = message.getCounts();
4216
+ if (f != null) {
4217
+ writer.writeMessage(
4218
+ 4,
4219
+ f,
4220
+ proto.gateway.web.v1.AIReferenceGroupCounts.serializeBinaryToWriter
4221
+ );
4222
+ }
4223
+ };
4224
+
4225
+
4226
+ /**
4227
+ * optional gateway.common.v1.ResponseStatus status = 1;
4228
+ * @return {?proto.gateway.common.v1.ResponseStatus}
4229
+ */
4230
+ proto.gateway.web.v1.ListAIProviderGroupsResponse.prototype.getStatus = function() {
4231
+ return /** @type{?proto.gateway.common.v1.ResponseStatus} */ (
4232
+ jspb.Message.getWrapperField(this, proto_gateway_common_v1_status_pb.ResponseStatus, 1));
4233
+ };
4234
+
4235
+
4236
+ /**
4237
+ * @param {?proto.gateway.common.v1.ResponseStatus|undefined} value
4238
+ * @return {!proto.gateway.web.v1.ListAIProviderGroupsResponse} returns this
4239
+ */
4240
+ proto.gateway.web.v1.ListAIProviderGroupsResponse.prototype.setStatus = function(value) {
4241
+ return jspb.Message.setWrapperField(this, 1, value);
4242
+ };
4243
+
4244
+
4245
+ /**
4246
+ * Clears the message field making it undefined.
4247
+ * @return {!proto.gateway.web.v1.ListAIProviderGroupsResponse} returns this
4248
+ */
4249
+ proto.gateway.web.v1.ListAIProviderGroupsResponse.prototype.clearStatus = function() {
4250
+ return this.setStatus(undefined);
4251
+ };
4252
+
4253
+
4254
+ /**
4255
+ * Returns whether this field is set.
4256
+ * @return {boolean}
4257
+ */
4258
+ proto.gateway.web.v1.ListAIProviderGroupsResponse.prototype.hasStatus = function() {
4259
+ return jspb.Message.getField(this, 1) != null;
4260
+ };
4261
+
4262
+
4263
+ /**
4264
+ * repeated AIReferenceGroup groups = 2;
4265
+ * @return {!Array<!proto.gateway.web.v1.AIReferenceGroup>}
4266
+ */
4267
+ proto.gateway.web.v1.ListAIProviderGroupsResponse.prototype.getGroupsList = function() {
4268
+ return /** @type{!Array<!proto.gateway.web.v1.AIReferenceGroup>} */ (
4269
+ jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.AIReferenceGroup, 2));
4270
+ };
4271
+
4272
+
4273
+ /**
4274
+ * @param {!Array<!proto.gateway.web.v1.AIReferenceGroup>} value
4275
+ * @return {!proto.gateway.web.v1.ListAIProviderGroupsResponse} returns this
4276
+ */
4277
+ proto.gateway.web.v1.ListAIProviderGroupsResponse.prototype.setGroupsList = function(value) {
4278
+ return jspb.Message.setRepeatedWrapperField(this, 2, value);
4279
+ };
4280
+
4281
+
4282
+ /**
4283
+ * @param {!proto.gateway.web.v1.AIReferenceGroup=} opt_value
4284
+ * @param {number=} opt_index
4285
+ * @return {!proto.gateway.web.v1.AIReferenceGroup}
4286
+ */
4287
+ proto.gateway.web.v1.ListAIProviderGroupsResponse.prototype.addGroups = function(opt_value, opt_index) {
4288
+ return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.gateway.web.v1.AIReferenceGroup, opt_index);
4289
+ };
4290
+
4291
+
4292
+ /**
4293
+ * Clears the list making it empty but non-null.
4294
+ * @return {!proto.gateway.web.v1.ListAIProviderGroupsResponse} returns this
4295
+ */
4296
+ proto.gateway.web.v1.ListAIProviderGroupsResponse.prototype.clearGroupsList = function() {
4297
+ return this.setGroupsList([]);
4298
+ };
4299
+
4300
+
4301
+ /**
4302
+ * optional Pagination pagination = 3;
4303
+ * @return {?proto.gateway.web.v1.Pagination}
4304
+ */
4305
+ proto.gateway.web.v1.ListAIProviderGroupsResponse.prototype.getPagination = function() {
4306
+ return /** @type{?proto.gateway.web.v1.Pagination} */ (
4307
+ jspb.Message.getWrapperField(this, proto_gateway_web_v1_trace_gateway_pb.Pagination, 3));
4308
+ };
4309
+
4310
+
4311
+ /**
4312
+ * @param {?proto.gateway.web.v1.Pagination|undefined} value
4313
+ * @return {!proto.gateway.web.v1.ListAIProviderGroupsResponse} returns this
4314
+ */
4315
+ proto.gateway.web.v1.ListAIProviderGroupsResponse.prototype.setPagination = function(value) {
4316
+ return jspb.Message.setWrapperField(this, 3, value);
4317
+ };
4318
+
4319
+
4320
+ /**
4321
+ * Clears the message field making it undefined.
4322
+ * @return {!proto.gateway.web.v1.ListAIProviderGroupsResponse} returns this
4323
+ */
4324
+ proto.gateway.web.v1.ListAIProviderGroupsResponse.prototype.clearPagination = function() {
4325
+ return this.setPagination(undefined);
4326
+ };
4327
+
4328
+
4329
+ /**
4330
+ * Returns whether this field is set.
4331
+ * @return {boolean}
4332
+ */
4333
+ proto.gateway.web.v1.ListAIProviderGroupsResponse.prototype.hasPagination = function() {
4334
+ return jspb.Message.getField(this, 3) != null;
4335
+ };
4336
+
4337
+
4338
+ /**
4339
+ * optional AIReferenceGroupCounts counts = 4;
4340
+ * @return {?proto.gateway.web.v1.AIReferenceGroupCounts}
4341
+ */
4342
+ proto.gateway.web.v1.ListAIProviderGroupsResponse.prototype.getCounts = function() {
4343
+ return /** @type{?proto.gateway.web.v1.AIReferenceGroupCounts} */ (
4344
+ jspb.Message.getWrapperField(this, proto.gateway.web.v1.AIReferenceGroupCounts, 4));
4345
+ };
4346
+
4347
+
4348
+ /**
4349
+ * @param {?proto.gateway.web.v1.AIReferenceGroupCounts|undefined} value
4350
+ * @return {!proto.gateway.web.v1.ListAIProviderGroupsResponse} returns this
4351
+ */
4352
+ proto.gateway.web.v1.ListAIProviderGroupsResponse.prototype.setCounts = function(value) {
4353
+ return jspb.Message.setWrapperField(this, 4, value);
4354
+ };
4355
+
4356
+
4357
+ /**
4358
+ * Clears the message field making it undefined.
4359
+ * @return {!proto.gateway.web.v1.ListAIProviderGroupsResponse} returns this
4360
+ */
4361
+ proto.gateway.web.v1.ListAIProviderGroupsResponse.prototype.clearCounts = function() {
4362
+ return this.setCounts(undefined);
4363
+ };
4364
+
4365
+
4366
+ /**
4367
+ * Returns whether this field is set.
4368
+ * @return {boolean}
4369
+ */
4370
+ proto.gateway.web.v1.ListAIProviderGroupsResponse.prototype.hasCounts = function() {
4371
+ return jspb.Message.getField(this, 4) != null;
4372
+ };
4373
+
4374
+
4375
+
4376
+ /**
4377
+ * List of repeated fields within this message type.
4378
+ * @private {!Array<number>}
4379
+ * @const
4380
+ */
4381
+ proto.gateway.web.v1.ListAIModelGroupsRequest.repeatedFields_ = [1];
4382
+
4383
+
4384
+
4385
+ if (jspb.Message.GENERATE_TO_OBJECT) {
4386
+ /**
4387
+ * Creates an object representation of this proto.
4388
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
4389
+ * Optional fields that are not set will be set to undefined.
4390
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
4391
+ * For the list of reserved names please see:
4392
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
4393
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
4394
+ * JSPB instance for transitional soy proto support:
4395
+ * http://goto/soy-param-migration
4396
+ * @return {!Object}
4397
+ */
4398
+ proto.gateway.web.v1.ListAIModelGroupsRequest.prototype.toObject = function(opt_includeInstance) {
4399
+ return proto.gateway.web.v1.ListAIModelGroupsRequest.toObject(opt_includeInstance, this);
4400
+ };
4401
+
4402
+
4403
+ /**
4404
+ * Static version of the {@see toObject} method.
4405
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4406
+ * the JSPB instance for transitional soy proto support:
4407
+ * http://goto/soy-param-migration
4408
+ * @param {!proto.gateway.web.v1.ListAIModelGroupsRequest} msg The msg instance to transform.
4409
+ * @return {!Object}
4410
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4411
+ */
4412
+ proto.gateway.web.v1.ListAIModelGroupsRequest.toObject = function(includeInstance, msg) {
4413
+ var f, obj = {
4414
+ organizationIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
4415
+ filter: (f = msg.getFilter()) && proto.gateway.web.v1.AIReferenceGroupFilter.toObject(includeInstance, f),
4416
+ page: jspb.Message.getFieldWithDefault(msg, 3, 0),
4417
+ perPage: jspb.Message.getFieldWithDefault(msg, 4, 0)
4418
+ };
4419
+
4420
+ if (includeInstance) {
4421
+ obj.$jspbMessageInstance = msg;
4422
+ }
4423
+ return obj;
4424
+ };
4425
+ }
4426
+
4427
+
4428
+ /**
4429
+ * Deserializes binary data (in protobuf wire format).
4430
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
4431
+ * @return {!proto.gateway.web.v1.ListAIModelGroupsRequest}
4432
+ */
4433
+ proto.gateway.web.v1.ListAIModelGroupsRequest.deserializeBinary = function(bytes) {
4434
+ var reader = new jspb.BinaryReader(bytes);
4435
+ var msg = new proto.gateway.web.v1.ListAIModelGroupsRequest;
4436
+ return proto.gateway.web.v1.ListAIModelGroupsRequest.deserializeBinaryFromReader(msg, reader);
4437
+ };
4438
+
4439
+
4440
+ /**
4441
+ * Deserializes binary data (in protobuf wire format) from the
4442
+ * given reader into the given message object.
4443
+ * @param {!proto.gateway.web.v1.ListAIModelGroupsRequest} msg The message object to deserialize into.
4444
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
4445
+ * @return {!proto.gateway.web.v1.ListAIModelGroupsRequest}
4446
+ */
4447
+ proto.gateway.web.v1.ListAIModelGroupsRequest.deserializeBinaryFromReader = function(msg, reader) {
4448
+ while (reader.nextField()) {
4449
+ if (reader.isEndGroup()) {
4450
+ break;
4451
+ }
4452
+ var field = reader.getFieldNumber();
4453
+ switch (field) {
4454
+ case 1:
4455
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
4456
+ msg.addOrganizationIds(value);
4457
+ break;
4458
+ case 2:
4459
+ var value = new proto.gateway.web.v1.AIReferenceGroupFilter;
4460
+ reader.readMessage(value,proto.gateway.web.v1.AIReferenceGroupFilter.deserializeBinaryFromReader);
4461
+ msg.setFilter(value);
4462
+ break;
4463
+ case 3:
4464
+ var value = /** @type {number} */ (reader.readInt32());
4465
+ msg.setPage(value);
4466
+ break;
4467
+ case 4:
4468
+ var value = /** @type {number} */ (reader.readInt32());
4469
+ msg.setPerPage(value);
4470
+ break;
4471
+ default:
4472
+ reader.skipField();
4473
+ break;
4474
+ }
4475
+ }
4476
+ return msg;
4477
+ };
4478
+
4479
+
4480
+ /**
4481
+ * Serializes the message to binary data (in protobuf wire format).
4482
+ * @return {!Uint8Array}
4483
+ */
4484
+ proto.gateway.web.v1.ListAIModelGroupsRequest.prototype.serializeBinary = function() {
4485
+ var writer = new jspb.BinaryWriter();
4486
+ proto.gateway.web.v1.ListAIModelGroupsRequest.serializeBinaryToWriter(this, writer);
4487
+ return writer.getResultBuffer();
4488
+ };
4489
+
4490
+
4491
+ /**
4492
+ * Serializes the given message to binary data (in protobuf wire
4493
+ * format), writing to the given BinaryWriter.
4494
+ * @param {!proto.gateway.web.v1.ListAIModelGroupsRequest} message
4495
+ * @param {!jspb.BinaryWriter} writer
4496
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4497
+ */
4498
+ proto.gateway.web.v1.ListAIModelGroupsRequest.serializeBinaryToWriter = function(message, writer) {
4499
+ var f = undefined;
4500
+ f = message.getOrganizationIdsList();
4501
+ if (f.length > 0) {
4502
+ writer.writeRepeatedString(
4503
+ 1,
4504
+ f
4505
+ );
4506
+ }
4507
+ f = message.getFilter();
4508
+ if (f != null) {
4509
+ writer.writeMessage(
4510
+ 2,
4511
+ f,
4512
+ proto.gateway.web.v1.AIReferenceGroupFilter.serializeBinaryToWriter
4513
+ );
4514
+ }
4515
+ f = message.getPage();
4516
+ if (f !== 0) {
4517
+ writer.writeInt32(
4518
+ 3,
4519
+ f
4520
+ );
4521
+ }
4522
+ f = message.getPerPage();
4523
+ if (f !== 0) {
4524
+ writer.writeInt32(
4525
+ 4,
4526
+ f
4527
+ );
4528
+ }
4529
+ };
4530
+
4531
+
4532
+ /**
4533
+ * repeated string organization_ids = 1;
4534
+ * @return {!Array<string>}
4535
+ */
4536
+ proto.gateway.web.v1.ListAIModelGroupsRequest.prototype.getOrganizationIdsList = function() {
4537
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
4538
+ };
4539
+
4540
+
4541
+ /**
4542
+ * @param {!Array<string>} value
4543
+ * @return {!proto.gateway.web.v1.ListAIModelGroupsRequest} returns this
4544
+ */
4545
+ proto.gateway.web.v1.ListAIModelGroupsRequest.prototype.setOrganizationIdsList = function(value) {
4546
+ return jspb.Message.setField(this, 1, value || []);
4547
+ };
4548
+
4549
+
4550
+ /**
4551
+ * @param {string} value
4552
+ * @param {number=} opt_index
4553
+ * @return {!proto.gateway.web.v1.ListAIModelGroupsRequest} returns this
4554
+ */
4555
+ proto.gateway.web.v1.ListAIModelGroupsRequest.prototype.addOrganizationIds = function(value, opt_index) {
4556
+ return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
4557
+ };
4558
+
4559
+
4560
+ /**
4561
+ * Clears the list making it empty but non-null.
4562
+ * @return {!proto.gateway.web.v1.ListAIModelGroupsRequest} returns this
4563
+ */
4564
+ proto.gateway.web.v1.ListAIModelGroupsRequest.prototype.clearOrganizationIdsList = function() {
4565
+ return this.setOrganizationIdsList([]);
4566
+ };
4567
+
4568
+
4569
+ /**
4570
+ * optional AIReferenceGroupFilter filter = 2;
4571
+ * @return {?proto.gateway.web.v1.AIReferenceGroupFilter}
4572
+ */
4573
+ proto.gateway.web.v1.ListAIModelGroupsRequest.prototype.getFilter = function() {
4574
+ return /** @type{?proto.gateway.web.v1.AIReferenceGroupFilter} */ (
4575
+ jspb.Message.getWrapperField(this, proto.gateway.web.v1.AIReferenceGroupFilter, 2));
4576
+ };
4577
+
4578
+
4579
+ /**
4580
+ * @param {?proto.gateway.web.v1.AIReferenceGroupFilter|undefined} value
4581
+ * @return {!proto.gateway.web.v1.ListAIModelGroupsRequest} returns this
4582
+ */
4583
+ proto.gateway.web.v1.ListAIModelGroupsRequest.prototype.setFilter = function(value) {
4584
+ return jspb.Message.setWrapperField(this, 2, value);
4585
+ };
4586
+
4587
+
4588
+ /**
4589
+ * Clears the message field making it undefined.
4590
+ * @return {!proto.gateway.web.v1.ListAIModelGroupsRequest} returns this
4591
+ */
4592
+ proto.gateway.web.v1.ListAIModelGroupsRequest.prototype.clearFilter = function() {
4593
+ return this.setFilter(undefined);
4594
+ };
4595
+
4596
+
4597
+ /**
4598
+ * Returns whether this field is set.
4599
+ * @return {boolean}
4600
+ */
4601
+ proto.gateway.web.v1.ListAIModelGroupsRequest.prototype.hasFilter = function() {
4602
+ return jspb.Message.getField(this, 2) != null;
4603
+ };
4604
+
4605
+
4606
+ /**
4607
+ * optional int32 page = 3;
4608
+ * @return {number}
4609
+ */
4610
+ proto.gateway.web.v1.ListAIModelGroupsRequest.prototype.getPage = function() {
4611
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
4612
+ };
4613
+
4614
+
4615
+ /**
4616
+ * @param {number} value
4617
+ * @return {!proto.gateway.web.v1.ListAIModelGroupsRequest} returns this
4618
+ */
4619
+ proto.gateway.web.v1.ListAIModelGroupsRequest.prototype.setPage = function(value) {
4620
+ return jspb.Message.setProto3IntField(this, 3, value);
4621
+ };
4622
+
4623
+
4624
+ /**
4625
+ * optional int32 per_page = 4;
4626
+ * @return {number}
4627
+ */
4628
+ proto.gateway.web.v1.ListAIModelGroupsRequest.prototype.getPerPage = function() {
4629
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
4630
+ };
4631
+
4632
+
4633
+ /**
4634
+ * @param {number} value
4635
+ * @return {!proto.gateway.web.v1.ListAIModelGroupsRequest} returns this
4636
+ */
4637
+ proto.gateway.web.v1.ListAIModelGroupsRequest.prototype.setPerPage = function(value) {
4638
+ return jspb.Message.setProto3IntField(this, 4, value);
4639
+ };
4640
+
4641
+
4642
+
4643
+ /**
4644
+ * List of repeated fields within this message type.
4645
+ * @private {!Array<number>}
4646
+ * @const
4647
+ */
4648
+ proto.gateway.web.v1.ListAIModelGroupsResponse.repeatedFields_ = [2];
4649
+
4650
+
4651
+
4652
+ if (jspb.Message.GENERATE_TO_OBJECT) {
4653
+ /**
4654
+ * Creates an object representation of this proto.
4655
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
4656
+ * Optional fields that are not set will be set to undefined.
4657
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
4658
+ * For the list of reserved names please see:
4659
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
4660
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
4661
+ * JSPB instance for transitional soy proto support:
4662
+ * http://goto/soy-param-migration
4663
+ * @return {!Object}
4664
+ */
4665
+ proto.gateway.web.v1.ListAIModelGroupsResponse.prototype.toObject = function(opt_includeInstance) {
4666
+ return proto.gateway.web.v1.ListAIModelGroupsResponse.toObject(opt_includeInstance, this);
4667
+ };
4668
+
4669
+
4670
+ /**
4671
+ * Static version of the {@see toObject} method.
4672
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4673
+ * the JSPB instance for transitional soy proto support:
4674
+ * http://goto/soy-param-migration
4675
+ * @param {!proto.gateway.web.v1.ListAIModelGroupsResponse} msg The msg instance to transform.
4676
+ * @return {!Object}
4677
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4678
+ */
4679
+ proto.gateway.web.v1.ListAIModelGroupsResponse.toObject = function(includeInstance, msg) {
4680
+ var f, obj = {
4681
+ status: (f = msg.getStatus()) && proto_gateway_common_v1_status_pb.ResponseStatus.toObject(includeInstance, f),
4682
+ groupsList: jspb.Message.toObjectList(msg.getGroupsList(),
4683
+ proto.gateway.web.v1.AIReferenceGroup.toObject, includeInstance),
4684
+ pagination: (f = msg.getPagination()) && proto_gateway_web_v1_trace_gateway_pb.Pagination.toObject(includeInstance, f),
4685
+ counts: (f = msg.getCounts()) && proto.gateway.web.v1.AIReferenceGroupCounts.toObject(includeInstance, f)
4686
+ };
4687
+
4688
+ if (includeInstance) {
4689
+ obj.$jspbMessageInstance = msg;
4690
+ }
4691
+ return obj;
4692
+ };
4693
+ }
4694
+
4695
+
4696
+ /**
4697
+ * Deserializes binary data (in protobuf wire format).
4698
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
4699
+ * @return {!proto.gateway.web.v1.ListAIModelGroupsResponse}
4700
+ */
4701
+ proto.gateway.web.v1.ListAIModelGroupsResponse.deserializeBinary = function(bytes) {
4702
+ var reader = new jspb.BinaryReader(bytes);
4703
+ var msg = new proto.gateway.web.v1.ListAIModelGroupsResponse;
4704
+ return proto.gateway.web.v1.ListAIModelGroupsResponse.deserializeBinaryFromReader(msg, reader);
4705
+ };
4706
+
4707
+
4708
+ /**
4709
+ * Deserializes binary data (in protobuf wire format) from the
4710
+ * given reader into the given message object.
4711
+ * @param {!proto.gateway.web.v1.ListAIModelGroupsResponse} msg The message object to deserialize into.
4712
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
4713
+ * @return {!proto.gateway.web.v1.ListAIModelGroupsResponse}
4714
+ */
4715
+ proto.gateway.web.v1.ListAIModelGroupsResponse.deserializeBinaryFromReader = function(msg, reader) {
4716
+ while (reader.nextField()) {
4717
+ if (reader.isEndGroup()) {
4718
+ break;
4719
+ }
4720
+ var field = reader.getFieldNumber();
4721
+ switch (field) {
4722
+ case 1:
4723
+ var value = new proto_gateway_common_v1_status_pb.ResponseStatus;
4724
+ reader.readMessage(value,proto_gateway_common_v1_status_pb.ResponseStatus.deserializeBinaryFromReader);
4725
+ msg.setStatus(value);
4726
+ break;
4727
+ case 2:
4728
+ var value = new proto.gateway.web.v1.AIReferenceGroup;
4729
+ reader.readMessage(value,proto.gateway.web.v1.AIReferenceGroup.deserializeBinaryFromReader);
4730
+ msg.addGroups(value);
4731
+ break;
4732
+ case 3:
4733
+ var value = new proto_gateway_web_v1_trace_gateway_pb.Pagination;
4734
+ reader.readMessage(value,proto_gateway_web_v1_trace_gateway_pb.Pagination.deserializeBinaryFromReader);
4735
+ msg.setPagination(value);
4736
+ break;
4737
+ case 4:
4738
+ var value = new proto.gateway.web.v1.AIReferenceGroupCounts;
4739
+ reader.readMessage(value,proto.gateway.web.v1.AIReferenceGroupCounts.deserializeBinaryFromReader);
4740
+ msg.setCounts(value);
4741
+ break;
4742
+ default:
4743
+ reader.skipField();
4744
+ break;
4745
+ }
4746
+ }
4747
+ return msg;
4748
+ };
4749
+
4750
+
4751
+ /**
4752
+ * Serializes the message to binary data (in protobuf wire format).
4753
+ * @return {!Uint8Array}
4754
+ */
4755
+ proto.gateway.web.v1.ListAIModelGroupsResponse.prototype.serializeBinary = function() {
4756
+ var writer = new jspb.BinaryWriter();
4757
+ proto.gateway.web.v1.ListAIModelGroupsResponse.serializeBinaryToWriter(this, writer);
4758
+ return writer.getResultBuffer();
4759
+ };
4760
+
4761
+
4762
+ /**
4763
+ * Serializes the given message to binary data (in protobuf wire
4764
+ * format), writing to the given BinaryWriter.
4765
+ * @param {!proto.gateway.web.v1.ListAIModelGroupsResponse} message
4766
+ * @param {!jspb.BinaryWriter} writer
4767
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4768
+ */
4769
+ proto.gateway.web.v1.ListAIModelGroupsResponse.serializeBinaryToWriter = function(message, writer) {
4770
+ var f = undefined;
4771
+ f = message.getStatus();
4772
+ if (f != null) {
4773
+ writer.writeMessage(
4774
+ 1,
4775
+ f,
4776
+ proto_gateway_common_v1_status_pb.ResponseStatus.serializeBinaryToWriter
4777
+ );
4778
+ }
4779
+ f = message.getGroupsList();
4780
+ if (f.length > 0) {
4781
+ writer.writeRepeatedMessage(
4782
+ 2,
4783
+ f,
4784
+ proto.gateway.web.v1.AIReferenceGroup.serializeBinaryToWriter
4785
+ );
4786
+ }
4787
+ f = message.getPagination();
4788
+ if (f != null) {
4789
+ writer.writeMessage(
4790
+ 3,
4791
+ f,
4792
+ proto_gateway_web_v1_trace_gateway_pb.Pagination.serializeBinaryToWriter
4793
+ );
4794
+ }
4795
+ f = message.getCounts();
4796
+ if (f != null) {
4797
+ writer.writeMessage(
4798
+ 4,
4799
+ f,
4800
+ proto.gateway.web.v1.AIReferenceGroupCounts.serializeBinaryToWriter
4801
+ );
4802
+ }
4803
+ };
4804
+
4805
+
4806
+ /**
4807
+ * optional gateway.common.v1.ResponseStatus status = 1;
4808
+ * @return {?proto.gateway.common.v1.ResponseStatus}
4809
+ */
4810
+ proto.gateway.web.v1.ListAIModelGroupsResponse.prototype.getStatus = function() {
4811
+ return /** @type{?proto.gateway.common.v1.ResponseStatus} */ (
4812
+ jspb.Message.getWrapperField(this, proto_gateway_common_v1_status_pb.ResponseStatus, 1));
4813
+ };
4814
+
4815
+
4816
+ /**
4817
+ * @param {?proto.gateway.common.v1.ResponseStatus|undefined} value
4818
+ * @return {!proto.gateway.web.v1.ListAIModelGroupsResponse} returns this
4819
+ */
4820
+ proto.gateway.web.v1.ListAIModelGroupsResponse.prototype.setStatus = function(value) {
4821
+ return jspb.Message.setWrapperField(this, 1, value);
4822
+ };
4823
+
4824
+
4825
+ /**
4826
+ * Clears the message field making it undefined.
4827
+ * @return {!proto.gateway.web.v1.ListAIModelGroupsResponse} returns this
4828
+ */
4829
+ proto.gateway.web.v1.ListAIModelGroupsResponse.prototype.clearStatus = function() {
4830
+ return this.setStatus(undefined);
4831
+ };
4832
+
4833
+
4834
+ /**
4835
+ * Returns whether this field is set.
4836
+ * @return {boolean}
4837
+ */
4838
+ proto.gateway.web.v1.ListAIModelGroupsResponse.prototype.hasStatus = function() {
4839
+ return jspb.Message.getField(this, 1) != null;
4840
+ };
4841
+
4842
+
4843
+ /**
4844
+ * repeated AIReferenceGroup groups = 2;
4845
+ * @return {!Array<!proto.gateway.web.v1.AIReferenceGroup>}
4846
+ */
4847
+ proto.gateway.web.v1.ListAIModelGroupsResponse.prototype.getGroupsList = function() {
4848
+ return /** @type{!Array<!proto.gateway.web.v1.AIReferenceGroup>} */ (
4849
+ jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.AIReferenceGroup, 2));
4850
+ };
4851
+
4852
+
4853
+ /**
4854
+ * @param {!Array<!proto.gateway.web.v1.AIReferenceGroup>} value
4855
+ * @return {!proto.gateway.web.v1.ListAIModelGroupsResponse} returns this
4856
+ */
4857
+ proto.gateway.web.v1.ListAIModelGroupsResponse.prototype.setGroupsList = function(value) {
4858
+ return jspb.Message.setRepeatedWrapperField(this, 2, value);
4859
+ };
4860
+
4861
+
4862
+ /**
4863
+ * @param {!proto.gateway.web.v1.AIReferenceGroup=} opt_value
4864
+ * @param {number=} opt_index
4865
+ * @return {!proto.gateway.web.v1.AIReferenceGroup}
4866
+ */
4867
+ proto.gateway.web.v1.ListAIModelGroupsResponse.prototype.addGroups = function(opt_value, opt_index) {
4868
+ return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.gateway.web.v1.AIReferenceGroup, opt_index);
4869
+ };
4870
+
4871
+
4872
+ /**
4873
+ * Clears the list making it empty but non-null.
4874
+ * @return {!proto.gateway.web.v1.ListAIModelGroupsResponse} returns this
4875
+ */
4876
+ proto.gateway.web.v1.ListAIModelGroupsResponse.prototype.clearGroupsList = function() {
4877
+ return this.setGroupsList([]);
4878
+ };
4879
+
4880
+
4881
+ /**
4882
+ * optional Pagination pagination = 3;
4883
+ * @return {?proto.gateway.web.v1.Pagination}
4884
+ */
4885
+ proto.gateway.web.v1.ListAIModelGroupsResponse.prototype.getPagination = function() {
4886
+ return /** @type{?proto.gateway.web.v1.Pagination} */ (
4887
+ jspb.Message.getWrapperField(this, proto_gateway_web_v1_trace_gateway_pb.Pagination, 3));
4888
+ };
4889
+
4890
+
4891
+ /**
4892
+ * @param {?proto.gateway.web.v1.Pagination|undefined} value
4893
+ * @return {!proto.gateway.web.v1.ListAIModelGroupsResponse} returns this
4894
+ */
4895
+ proto.gateway.web.v1.ListAIModelGroupsResponse.prototype.setPagination = function(value) {
4896
+ return jspb.Message.setWrapperField(this, 3, value);
4897
+ };
4898
+
4899
+
4900
+ /**
4901
+ * Clears the message field making it undefined.
4902
+ * @return {!proto.gateway.web.v1.ListAIModelGroupsResponse} returns this
4903
+ */
4904
+ proto.gateway.web.v1.ListAIModelGroupsResponse.prototype.clearPagination = function() {
4905
+ return this.setPagination(undefined);
4906
+ };
4907
+
4908
+
4909
+ /**
4910
+ * Returns whether this field is set.
4911
+ * @return {boolean}
4912
+ */
4913
+ proto.gateway.web.v1.ListAIModelGroupsResponse.prototype.hasPagination = function() {
4914
+ return jspb.Message.getField(this, 3) != null;
4915
+ };
4916
+
4917
+
4918
+ /**
4919
+ * optional AIReferenceGroupCounts counts = 4;
4920
+ * @return {?proto.gateway.web.v1.AIReferenceGroupCounts}
4921
+ */
4922
+ proto.gateway.web.v1.ListAIModelGroupsResponse.prototype.getCounts = function() {
4923
+ return /** @type{?proto.gateway.web.v1.AIReferenceGroupCounts} */ (
4924
+ jspb.Message.getWrapperField(this, proto.gateway.web.v1.AIReferenceGroupCounts, 4));
4925
+ };
4926
+
4927
+
4928
+ /**
4929
+ * @param {?proto.gateway.web.v1.AIReferenceGroupCounts|undefined} value
4930
+ * @return {!proto.gateway.web.v1.ListAIModelGroupsResponse} returns this
4931
+ */
4932
+ proto.gateway.web.v1.ListAIModelGroupsResponse.prototype.setCounts = function(value) {
4933
+ return jspb.Message.setWrapperField(this, 4, value);
4934
+ };
4935
+
4936
+
4937
+ /**
4938
+ * Clears the message field making it undefined.
4939
+ * @return {!proto.gateway.web.v1.ListAIModelGroupsResponse} returns this
4940
+ */
4941
+ proto.gateway.web.v1.ListAIModelGroupsResponse.prototype.clearCounts = function() {
4942
+ return this.setCounts(undefined);
4943
+ };
4944
+
4945
+
4946
+ /**
4947
+ * Returns whether this field is set.
4948
+ * @return {boolean}
4949
+ */
4950
+ proto.gateway.web.v1.ListAIModelGroupsResponse.prototype.hasCounts = function() {
4951
+ return jspb.Message.getField(this, 4) != null;
4952
+ };
4953
+
4954
+
4955
+
4956
+ /**
4957
+ * List of repeated fields within this message type.
4958
+ * @private {!Array<number>}
4959
+ * @const
4960
+ */
4961
+ proto.gateway.web.v1.ListAIEffortGroupsRequest.repeatedFields_ = [1];
4962
+
4963
+
4964
+
4965
+ if (jspb.Message.GENERATE_TO_OBJECT) {
4966
+ /**
4967
+ * Creates an object representation of this proto.
4968
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
4969
+ * Optional fields that are not set will be set to undefined.
4970
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
4971
+ * For the list of reserved names please see:
4972
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
4973
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
4974
+ * JSPB instance for transitional soy proto support:
4975
+ * http://goto/soy-param-migration
4976
+ * @return {!Object}
4977
+ */
4978
+ proto.gateway.web.v1.ListAIEffortGroupsRequest.prototype.toObject = function(opt_includeInstance) {
4979
+ return proto.gateway.web.v1.ListAIEffortGroupsRequest.toObject(opt_includeInstance, this);
4980
+ };
4981
+
4982
+
4983
+ /**
4984
+ * Static version of the {@see toObject} method.
4985
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4986
+ * the JSPB instance for transitional soy proto support:
4987
+ * http://goto/soy-param-migration
4988
+ * @param {!proto.gateway.web.v1.ListAIEffortGroupsRequest} msg The msg instance to transform.
4989
+ * @return {!Object}
4990
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4991
+ */
4992
+ proto.gateway.web.v1.ListAIEffortGroupsRequest.toObject = function(includeInstance, msg) {
4993
+ var f, obj = {
4994
+ organizationIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
4995
+ filter: (f = msg.getFilter()) && proto.gateway.web.v1.AIReferenceGroupFilter.toObject(includeInstance, f),
4996
+ page: jspb.Message.getFieldWithDefault(msg, 3, 0),
4997
+ perPage: jspb.Message.getFieldWithDefault(msg, 4, 0)
4998
+ };
4999
+
5000
+ if (includeInstance) {
5001
+ obj.$jspbMessageInstance = msg;
5002
+ }
5003
+ return obj;
5004
+ };
5005
+ }
5006
+
5007
+
5008
+ /**
5009
+ * Deserializes binary data (in protobuf wire format).
5010
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
5011
+ * @return {!proto.gateway.web.v1.ListAIEffortGroupsRequest}
5012
+ */
5013
+ proto.gateway.web.v1.ListAIEffortGroupsRequest.deserializeBinary = function(bytes) {
5014
+ var reader = new jspb.BinaryReader(bytes);
5015
+ var msg = new proto.gateway.web.v1.ListAIEffortGroupsRequest;
5016
+ return proto.gateway.web.v1.ListAIEffortGroupsRequest.deserializeBinaryFromReader(msg, reader);
5017
+ };
5018
+
5019
+
5020
+ /**
5021
+ * Deserializes binary data (in protobuf wire format) from the
5022
+ * given reader into the given message object.
5023
+ * @param {!proto.gateway.web.v1.ListAIEffortGroupsRequest} msg The message object to deserialize into.
5024
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
5025
+ * @return {!proto.gateway.web.v1.ListAIEffortGroupsRequest}
5026
+ */
5027
+ proto.gateway.web.v1.ListAIEffortGroupsRequest.deserializeBinaryFromReader = function(msg, reader) {
5028
+ while (reader.nextField()) {
5029
+ if (reader.isEndGroup()) {
5030
+ break;
5031
+ }
5032
+ var field = reader.getFieldNumber();
5033
+ switch (field) {
5034
+ case 1:
5035
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
5036
+ msg.addOrganizationIds(value);
5037
+ break;
5038
+ case 2:
5039
+ var value = new proto.gateway.web.v1.AIReferenceGroupFilter;
5040
+ reader.readMessage(value,proto.gateway.web.v1.AIReferenceGroupFilter.deserializeBinaryFromReader);
5041
+ msg.setFilter(value);
5042
+ break;
5043
+ case 3:
5044
+ var value = /** @type {number} */ (reader.readInt32());
5045
+ msg.setPage(value);
5046
+ break;
5047
+ case 4:
5048
+ var value = /** @type {number} */ (reader.readInt32());
5049
+ msg.setPerPage(value);
5050
+ break;
5051
+ default:
5052
+ reader.skipField();
5053
+ break;
5054
+ }
5055
+ }
5056
+ return msg;
5057
+ };
5058
+
5059
+
5060
+ /**
5061
+ * Serializes the message to binary data (in protobuf wire format).
5062
+ * @return {!Uint8Array}
5063
+ */
5064
+ proto.gateway.web.v1.ListAIEffortGroupsRequest.prototype.serializeBinary = function() {
5065
+ var writer = new jspb.BinaryWriter();
5066
+ proto.gateway.web.v1.ListAIEffortGroupsRequest.serializeBinaryToWriter(this, writer);
5067
+ return writer.getResultBuffer();
5068
+ };
5069
+
5070
+
5071
+ /**
5072
+ * Serializes the given message to binary data (in protobuf wire
5073
+ * format), writing to the given BinaryWriter.
5074
+ * @param {!proto.gateway.web.v1.ListAIEffortGroupsRequest} message
5075
+ * @param {!jspb.BinaryWriter} writer
5076
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5077
+ */
5078
+ proto.gateway.web.v1.ListAIEffortGroupsRequest.serializeBinaryToWriter = function(message, writer) {
5079
+ var f = undefined;
5080
+ f = message.getOrganizationIdsList();
5081
+ if (f.length > 0) {
5082
+ writer.writeRepeatedString(
5083
+ 1,
5084
+ f
5085
+ );
5086
+ }
5087
+ f = message.getFilter();
5088
+ if (f != null) {
5089
+ writer.writeMessage(
5090
+ 2,
5091
+ f,
5092
+ proto.gateway.web.v1.AIReferenceGroupFilter.serializeBinaryToWriter
5093
+ );
5094
+ }
5095
+ f = message.getPage();
5096
+ if (f !== 0) {
5097
+ writer.writeInt32(
5098
+ 3,
5099
+ f
5100
+ );
5101
+ }
5102
+ f = message.getPerPage();
5103
+ if (f !== 0) {
5104
+ writer.writeInt32(
5105
+ 4,
5106
+ f
5107
+ );
5108
+ }
5109
+ };
5110
+
5111
+
5112
+ /**
5113
+ * repeated string organization_ids = 1;
5114
+ * @return {!Array<string>}
5115
+ */
5116
+ proto.gateway.web.v1.ListAIEffortGroupsRequest.prototype.getOrganizationIdsList = function() {
5117
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
5118
+ };
5119
+
5120
+
5121
+ /**
5122
+ * @param {!Array<string>} value
5123
+ * @return {!proto.gateway.web.v1.ListAIEffortGroupsRequest} returns this
5124
+ */
5125
+ proto.gateway.web.v1.ListAIEffortGroupsRequest.prototype.setOrganizationIdsList = function(value) {
5126
+ return jspb.Message.setField(this, 1, value || []);
5127
+ };
5128
+
5129
+
5130
+ /**
5131
+ * @param {string} value
5132
+ * @param {number=} opt_index
5133
+ * @return {!proto.gateway.web.v1.ListAIEffortGroupsRequest} returns this
5134
+ */
5135
+ proto.gateway.web.v1.ListAIEffortGroupsRequest.prototype.addOrganizationIds = function(value, opt_index) {
5136
+ return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
5137
+ };
5138
+
5139
+
5140
+ /**
5141
+ * Clears the list making it empty but non-null.
5142
+ * @return {!proto.gateway.web.v1.ListAIEffortGroupsRequest} returns this
5143
+ */
5144
+ proto.gateway.web.v1.ListAIEffortGroupsRequest.prototype.clearOrganizationIdsList = function() {
5145
+ return this.setOrganizationIdsList([]);
5146
+ };
5147
+
5148
+
5149
+ /**
5150
+ * optional AIReferenceGroupFilter filter = 2;
5151
+ * @return {?proto.gateway.web.v1.AIReferenceGroupFilter}
5152
+ */
5153
+ proto.gateway.web.v1.ListAIEffortGroupsRequest.prototype.getFilter = function() {
5154
+ return /** @type{?proto.gateway.web.v1.AIReferenceGroupFilter} */ (
5155
+ jspb.Message.getWrapperField(this, proto.gateway.web.v1.AIReferenceGroupFilter, 2));
5156
+ };
5157
+
5158
+
5159
+ /**
5160
+ * @param {?proto.gateway.web.v1.AIReferenceGroupFilter|undefined} value
5161
+ * @return {!proto.gateway.web.v1.ListAIEffortGroupsRequest} returns this
5162
+ */
5163
+ proto.gateway.web.v1.ListAIEffortGroupsRequest.prototype.setFilter = function(value) {
5164
+ return jspb.Message.setWrapperField(this, 2, value);
5165
+ };
5166
+
5167
+
5168
+ /**
5169
+ * Clears the message field making it undefined.
5170
+ * @return {!proto.gateway.web.v1.ListAIEffortGroupsRequest} returns this
5171
+ */
5172
+ proto.gateway.web.v1.ListAIEffortGroupsRequest.prototype.clearFilter = function() {
5173
+ return this.setFilter(undefined);
5174
+ };
5175
+
5176
+
5177
+ /**
5178
+ * Returns whether this field is set.
5179
+ * @return {boolean}
5180
+ */
5181
+ proto.gateway.web.v1.ListAIEffortGroupsRequest.prototype.hasFilter = function() {
5182
+ return jspb.Message.getField(this, 2) != null;
5183
+ };
5184
+
5185
+
5186
+ /**
5187
+ * optional int32 page = 3;
5188
+ * @return {number}
5189
+ */
5190
+ proto.gateway.web.v1.ListAIEffortGroupsRequest.prototype.getPage = function() {
5191
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
5192
+ };
5193
+
5194
+
5195
+ /**
5196
+ * @param {number} value
5197
+ * @return {!proto.gateway.web.v1.ListAIEffortGroupsRequest} returns this
5198
+ */
5199
+ proto.gateway.web.v1.ListAIEffortGroupsRequest.prototype.setPage = function(value) {
5200
+ return jspb.Message.setProto3IntField(this, 3, value);
5201
+ };
5202
+
5203
+
5204
+ /**
5205
+ * optional int32 per_page = 4;
5206
+ * @return {number}
5207
+ */
5208
+ proto.gateway.web.v1.ListAIEffortGroupsRequest.prototype.getPerPage = function() {
5209
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
5210
+ };
5211
+
5212
+
5213
+ /**
5214
+ * @param {number} value
5215
+ * @return {!proto.gateway.web.v1.ListAIEffortGroupsRequest} returns this
5216
+ */
5217
+ proto.gateway.web.v1.ListAIEffortGroupsRequest.prototype.setPerPage = function(value) {
5218
+ return jspb.Message.setProto3IntField(this, 4, value);
5219
+ };
5220
+
5221
+
5222
+
5223
+ /**
5224
+ * List of repeated fields within this message type.
5225
+ * @private {!Array<number>}
5226
+ * @const
5227
+ */
5228
+ proto.gateway.web.v1.ListAIEffortGroupsResponse.repeatedFields_ = [2];
5229
+
5230
+
5231
+
5232
+ if (jspb.Message.GENERATE_TO_OBJECT) {
5233
+ /**
5234
+ * Creates an object representation of this proto.
5235
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
5236
+ * Optional fields that are not set will be set to undefined.
5237
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
5238
+ * For the list of reserved names please see:
5239
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
5240
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
5241
+ * JSPB instance for transitional soy proto support:
5242
+ * http://goto/soy-param-migration
5243
+ * @return {!Object}
5244
+ */
5245
+ proto.gateway.web.v1.ListAIEffortGroupsResponse.prototype.toObject = function(opt_includeInstance) {
5246
+ return proto.gateway.web.v1.ListAIEffortGroupsResponse.toObject(opt_includeInstance, this);
5247
+ };
5248
+
5249
+
5250
+ /**
5251
+ * Static version of the {@see toObject} method.
5252
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
5253
+ * the JSPB instance for transitional soy proto support:
5254
+ * http://goto/soy-param-migration
5255
+ * @param {!proto.gateway.web.v1.ListAIEffortGroupsResponse} msg The msg instance to transform.
5256
+ * @return {!Object}
5257
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5258
+ */
5259
+ proto.gateway.web.v1.ListAIEffortGroupsResponse.toObject = function(includeInstance, msg) {
5260
+ var f, obj = {
5261
+ status: (f = msg.getStatus()) && proto_gateway_common_v1_status_pb.ResponseStatus.toObject(includeInstance, f),
5262
+ groupsList: jspb.Message.toObjectList(msg.getGroupsList(),
5263
+ proto.gateway.web.v1.AIReferenceGroup.toObject, includeInstance),
5264
+ pagination: (f = msg.getPagination()) && proto_gateway_web_v1_trace_gateway_pb.Pagination.toObject(includeInstance, f),
5265
+ counts: (f = msg.getCounts()) && proto.gateway.web.v1.AIReferenceGroupCounts.toObject(includeInstance, f)
5266
+ };
5267
+
5268
+ if (includeInstance) {
5269
+ obj.$jspbMessageInstance = msg;
5270
+ }
5271
+ return obj;
5272
+ };
5273
+ }
5274
+
5275
+
5276
+ /**
5277
+ * Deserializes binary data (in protobuf wire format).
5278
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
5279
+ * @return {!proto.gateway.web.v1.ListAIEffortGroupsResponse}
5280
+ */
5281
+ proto.gateway.web.v1.ListAIEffortGroupsResponse.deserializeBinary = function(bytes) {
5282
+ var reader = new jspb.BinaryReader(bytes);
5283
+ var msg = new proto.gateway.web.v1.ListAIEffortGroupsResponse;
5284
+ return proto.gateway.web.v1.ListAIEffortGroupsResponse.deserializeBinaryFromReader(msg, reader);
5285
+ };
5286
+
5287
+
5288
+ /**
5289
+ * Deserializes binary data (in protobuf wire format) from the
5290
+ * given reader into the given message object.
5291
+ * @param {!proto.gateway.web.v1.ListAIEffortGroupsResponse} msg The message object to deserialize into.
5292
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
5293
+ * @return {!proto.gateway.web.v1.ListAIEffortGroupsResponse}
5294
+ */
5295
+ proto.gateway.web.v1.ListAIEffortGroupsResponse.deserializeBinaryFromReader = function(msg, reader) {
5296
+ while (reader.nextField()) {
5297
+ if (reader.isEndGroup()) {
5298
+ break;
5299
+ }
5300
+ var field = reader.getFieldNumber();
5301
+ switch (field) {
5302
+ case 1:
5303
+ var value = new proto_gateway_common_v1_status_pb.ResponseStatus;
5304
+ reader.readMessage(value,proto_gateway_common_v1_status_pb.ResponseStatus.deserializeBinaryFromReader);
5305
+ msg.setStatus(value);
5306
+ break;
5307
+ case 2:
5308
+ var value = new proto.gateway.web.v1.AIReferenceGroup;
5309
+ reader.readMessage(value,proto.gateway.web.v1.AIReferenceGroup.deserializeBinaryFromReader);
5310
+ msg.addGroups(value);
5311
+ break;
5312
+ case 3:
5313
+ var value = new proto_gateway_web_v1_trace_gateway_pb.Pagination;
5314
+ reader.readMessage(value,proto_gateway_web_v1_trace_gateway_pb.Pagination.deserializeBinaryFromReader);
5315
+ msg.setPagination(value);
5316
+ break;
5317
+ case 4:
5318
+ var value = new proto.gateway.web.v1.AIReferenceGroupCounts;
5319
+ reader.readMessage(value,proto.gateway.web.v1.AIReferenceGroupCounts.deserializeBinaryFromReader);
5320
+ msg.setCounts(value);
5321
+ break;
5322
+ default:
5323
+ reader.skipField();
5324
+ break;
5325
+ }
5326
+ }
5327
+ return msg;
5328
+ };
5329
+
5330
+
5331
+ /**
5332
+ * Serializes the message to binary data (in protobuf wire format).
5333
+ * @return {!Uint8Array}
5334
+ */
5335
+ proto.gateway.web.v1.ListAIEffortGroupsResponse.prototype.serializeBinary = function() {
5336
+ var writer = new jspb.BinaryWriter();
5337
+ proto.gateway.web.v1.ListAIEffortGroupsResponse.serializeBinaryToWriter(this, writer);
5338
+ return writer.getResultBuffer();
5339
+ };
5340
+
5341
+
5342
+ /**
5343
+ * Serializes the given message to binary data (in protobuf wire
5344
+ * format), writing to the given BinaryWriter.
5345
+ * @param {!proto.gateway.web.v1.ListAIEffortGroupsResponse} message
5346
+ * @param {!jspb.BinaryWriter} writer
5347
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5348
+ */
5349
+ proto.gateway.web.v1.ListAIEffortGroupsResponse.serializeBinaryToWriter = function(message, writer) {
5350
+ var f = undefined;
5351
+ f = message.getStatus();
5352
+ if (f != null) {
5353
+ writer.writeMessage(
5354
+ 1,
5355
+ f,
5356
+ proto_gateway_common_v1_status_pb.ResponseStatus.serializeBinaryToWriter
5357
+ );
5358
+ }
5359
+ f = message.getGroupsList();
5360
+ if (f.length > 0) {
5361
+ writer.writeRepeatedMessage(
5362
+ 2,
5363
+ f,
5364
+ proto.gateway.web.v1.AIReferenceGroup.serializeBinaryToWriter
5365
+ );
5366
+ }
5367
+ f = message.getPagination();
5368
+ if (f != null) {
5369
+ writer.writeMessage(
5370
+ 3,
5371
+ f,
5372
+ proto_gateway_web_v1_trace_gateway_pb.Pagination.serializeBinaryToWriter
5373
+ );
5374
+ }
5375
+ f = message.getCounts();
5376
+ if (f != null) {
5377
+ writer.writeMessage(
5378
+ 4,
5379
+ f,
5380
+ proto.gateway.web.v1.AIReferenceGroupCounts.serializeBinaryToWriter
5381
+ );
5382
+ }
5383
+ };
5384
+
5385
+
5386
+ /**
5387
+ * optional gateway.common.v1.ResponseStatus status = 1;
5388
+ * @return {?proto.gateway.common.v1.ResponseStatus}
5389
+ */
5390
+ proto.gateway.web.v1.ListAIEffortGroupsResponse.prototype.getStatus = function() {
5391
+ return /** @type{?proto.gateway.common.v1.ResponseStatus} */ (
5392
+ jspb.Message.getWrapperField(this, proto_gateway_common_v1_status_pb.ResponseStatus, 1));
5393
+ };
5394
+
5395
+
5396
+ /**
5397
+ * @param {?proto.gateway.common.v1.ResponseStatus|undefined} value
5398
+ * @return {!proto.gateway.web.v1.ListAIEffortGroupsResponse} returns this
5399
+ */
5400
+ proto.gateway.web.v1.ListAIEffortGroupsResponse.prototype.setStatus = function(value) {
5401
+ return jspb.Message.setWrapperField(this, 1, value);
5402
+ };
5403
+
5404
+
5405
+ /**
5406
+ * Clears the message field making it undefined.
5407
+ * @return {!proto.gateway.web.v1.ListAIEffortGroupsResponse} returns this
5408
+ */
5409
+ proto.gateway.web.v1.ListAIEffortGroupsResponse.prototype.clearStatus = function() {
5410
+ return this.setStatus(undefined);
5411
+ };
5412
+
5413
+
5414
+ /**
5415
+ * Returns whether this field is set.
5416
+ * @return {boolean}
5417
+ */
5418
+ proto.gateway.web.v1.ListAIEffortGroupsResponse.prototype.hasStatus = function() {
5419
+ return jspb.Message.getField(this, 1) != null;
5420
+ };
5421
+
5422
+
5423
+ /**
5424
+ * repeated AIReferenceGroup groups = 2;
5425
+ * @return {!Array<!proto.gateway.web.v1.AIReferenceGroup>}
5426
+ */
5427
+ proto.gateway.web.v1.ListAIEffortGroupsResponse.prototype.getGroupsList = function() {
5428
+ return /** @type{!Array<!proto.gateway.web.v1.AIReferenceGroup>} */ (
5429
+ jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.AIReferenceGroup, 2));
5430
+ };
5431
+
5432
+
5433
+ /**
5434
+ * @param {!Array<!proto.gateway.web.v1.AIReferenceGroup>} value
5435
+ * @return {!proto.gateway.web.v1.ListAIEffortGroupsResponse} returns this
5436
+ */
5437
+ proto.gateway.web.v1.ListAIEffortGroupsResponse.prototype.setGroupsList = function(value) {
5438
+ return jspb.Message.setRepeatedWrapperField(this, 2, value);
5439
+ };
5440
+
5441
+
5442
+ /**
5443
+ * @param {!proto.gateway.web.v1.AIReferenceGroup=} opt_value
5444
+ * @param {number=} opt_index
5445
+ * @return {!proto.gateway.web.v1.AIReferenceGroup}
5446
+ */
5447
+ proto.gateway.web.v1.ListAIEffortGroupsResponse.prototype.addGroups = function(opt_value, opt_index) {
5448
+ return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.gateway.web.v1.AIReferenceGroup, opt_index);
5449
+ };
5450
+
5451
+
5452
+ /**
5453
+ * Clears the list making it empty but non-null.
5454
+ * @return {!proto.gateway.web.v1.ListAIEffortGroupsResponse} returns this
5455
+ */
5456
+ proto.gateway.web.v1.ListAIEffortGroupsResponse.prototype.clearGroupsList = function() {
5457
+ return this.setGroupsList([]);
5458
+ };
5459
+
5460
+
5461
+ /**
5462
+ * optional Pagination pagination = 3;
5463
+ * @return {?proto.gateway.web.v1.Pagination}
5464
+ */
5465
+ proto.gateway.web.v1.ListAIEffortGroupsResponse.prototype.getPagination = function() {
5466
+ return /** @type{?proto.gateway.web.v1.Pagination} */ (
5467
+ jspb.Message.getWrapperField(this, proto_gateway_web_v1_trace_gateway_pb.Pagination, 3));
5468
+ };
5469
+
5470
+
5471
+ /**
5472
+ * @param {?proto.gateway.web.v1.Pagination|undefined} value
5473
+ * @return {!proto.gateway.web.v1.ListAIEffortGroupsResponse} returns this
5474
+ */
5475
+ proto.gateway.web.v1.ListAIEffortGroupsResponse.prototype.setPagination = function(value) {
5476
+ return jspb.Message.setWrapperField(this, 3, value);
5477
+ };
5478
+
5479
+
5480
+ /**
5481
+ * Clears the message field making it undefined.
5482
+ * @return {!proto.gateway.web.v1.ListAIEffortGroupsResponse} returns this
5483
+ */
5484
+ proto.gateway.web.v1.ListAIEffortGroupsResponse.prototype.clearPagination = function() {
5485
+ return this.setPagination(undefined);
5486
+ };
5487
+
5488
+
5489
+ /**
5490
+ * Returns whether this field is set.
5491
+ * @return {boolean}
5492
+ */
5493
+ proto.gateway.web.v1.ListAIEffortGroupsResponse.prototype.hasPagination = function() {
5494
+ return jspb.Message.getField(this, 3) != null;
5495
+ };
5496
+
5497
+
5498
+ /**
5499
+ * optional AIReferenceGroupCounts counts = 4;
5500
+ * @return {?proto.gateway.web.v1.AIReferenceGroupCounts}
5501
+ */
5502
+ proto.gateway.web.v1.ListAIEffortGroupsResponse.prototype.getCounts = function() {
5503
+ return /** @type{?proto.gateway.web.v1.AIReferenceGroupCounts} */ (
5504
+ jspb.Message.getWrapperField(this, proto.gateway.web.v1.AIReferenceGroupCounts, 4));
5505
+ };
5506
+
5507
+
5508
+ /**
5509
+ * @param {?proto.gateway.web.v1.AIReferenceGroupCounts|undefined} value
5510
+ * @return {!proto.gateway.web.v1.ListAIEffortGroupsResponse} returns this
5511
+ */
5512
+ proto.gateway.web.v1.ListAIEffortGroupsResponse.prototype.setCounts = function(value) {
5513
+ return jspb.Message.setWrapperField(this, 4, value);
5514
+ };
5515
+
5516
+
5517
+ /**
5518
+ * Clears the message field making it undefined.
5519
+ * @return {!proto.gateway.web.v1.ListAIEffortGroupsResponse} returns this
5520
+ */
5521
+ proto.gateway.web.v1.ListAIEffortGroupsResponse.prototype.clearCounts = function() {
5522
+ return this.setCounts(undefined);
5523
+ };
5524
+
5525
+
5526
+ /**
5527
+ * Returns whether this field is set.
5528
+ * @return {boolean}
5529
+ */
5530
+ proto.gateway.web.v1.ListAIEffortGroupsResponse.prototype.hasCounts = function() {
5531
+ return jspb.Message.getField(this, 4) != null;
5532
+ };
5533
+
5534
+
5535
+
5536
+ /**
5537
+ * List of repeated fields within this message type.
5538
+ * @private {!Array<number>}
5539
+ * @const
5540
+ */
5541
+ proto.gateway.web.v1.ListAIBillerGroupsRequest.repeatedFields_ = [1];
5542
+
5543
+
5544
+
5545
+ if (jspb.Message.GENERATE_TO_OBJECT) {
5546
+ /**
5547
+ * Creates an object representation of this proto.
5548
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
5549
+ * Optional fields that are not set will be set to undefined.
5550
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
5551
+ * For the list of reserved names please see:
5552
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
5553
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
5554
+ * JSPB instance for transitional soy proto support:
5555
+ * http://goto/soy-param-migration
5556
+ * @return {!Object}
5557
+ */
5558
+ proto.gateway.web.v1.ListAIBillerGroupsRequest.prototype.toObject = function(opt_includeInstance) {
5559
+ return proto.gateway.web.v1.ListAIBillerGroupsRequest.toObject(opt_includeInstance, this);
5560
+ };
5561
+
5562
+
5563
+ /**
5564
+ * Static version of the {@see toObject} method.
5565
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
5566
+ * the JSPB instance for transitional soy proto support:
5567
+ * http://goto/soy-param-migration
5568
+ * @param {!proto.gateway.web.v1.ListAIBillerGroupsRequest} msg The msg instance to transform.
5569
+ * @return {!Object}
5570
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5571
+ */
5572
+ proto.gateway.web.v1.ListAIBillerGroupsRequest.toObject = function(includeInstance, msg) {
5573
+ var f, obj = {
5574
+ organizationIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
5575
+ filter: (f = msg.getFilter()) && proto.gateway.web.v1.AIReferenceGroupFilter.toObject(includeInstance, f),
5576
+ page: jspb.Message.getFieldWithDefault(msg, 3, 0),
5577
+ perPage: jspb.Message.getFieldWithDefault(msg, 4, 0)
5578
+ };
5579
+
5580
+ if (includeInstance) {
5581
+ obj.$jspbMessageInstance = msg;
5582
+ }
5583
+ return obj;
5584
+ };
5585
+ }
5586
+
5587
+
5588
+ /**
5589
+ * Deserializes binary data (in protobuf wire format).
5590
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
5591
+ * @return {!proto.gateway.web.v1.ListAIBillerGroupsRequest}
5592
+ */
5593
+ proto.gateway.web.v1.ListAIBillerGroupsRequest.deserializeBinary = function(bytes) {
5594
+ var reader = new jspb.BinaryReader(bytes);
5595
+ var msg = new proto.gateway.web.v1.ListAIBillerGroupsRequest;
5596
+ return proto.gateway.web.v1.ListAIBillerGroupsRequest.deserializeBinaryFromReader(msg, reader);
5597
+ };
5598
+
5599
+
5600
+ /**
5601
+ * Deserializes binary data (in protobuf wire format) from the
5602
+ * given reader into the given message object.
5603
+ * @param {!proto.gateway.web.v1.ListAIBillerGroupsRequest} msg The message object to deserialize into.
5604
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
5605
+ * @return {!proto.gateway.web.v1.ListAIBillerGroupsRequest}
5606
+ */
5607
+ proto.gateway.web.v1.ListAIBillerGroupsRequest.deserializeBinaryFromReader = function(msg, reader) {
5608
+ while (reader.nextField()) {
5609
+ if (reader.isEndGroup()) {
5610
+ break;
5611
+ }
5612
+ var field = reader.getFieldNumber();
5613
+ switch (field) {
5614
+ case 1:
5615
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
5616
+ msg.addOrganizationIds(value);
5617
+ break;
5618
+ case 2:
5619
+ var value = new proto.gateway.web.v1.AIReferenceGroupFilter;
5620
+ reader.readMessage(value,proto.gateway.web.v1.AIReferenceGroupFilter.deserializeBinaryFromReader);
5621
+ msg.setFilter(value);
5622
+ break;
5623
+ case 3:
5624
+ var value = /** @type {number} */ (reader.readInt32());
5625
+ msg.setPage(value);
5626
+ break;
5627
+ case 4:
5628
+ var value = /** @type {number} */ (reader.readInt32());
5629
+ msg.setPerPage(value);
5630
+ break;
5631
+ default:
5632
+ reader.skipField();
5633
+ break;
5634
+ }
5635
+ }
5636
+ return msg;
5637
+ };
5638
+
5639
+
5640
+ /**
5641
+ * Serializes the message to binary data (in protobuf wire format).
5642
+ * @return {!Uint8Array}
5643
+ */
5644
+ proto.gateway.web.v1.ListAIBillerGroupsRequest.prototype.serializeBinary = function() {
5645
+ var writer = new jspb.BinaryWriter();
5646
+ proto.gateway.web.v1.ListAIBillerGroupsRequest.serializeBinaryToWriter(this, writer);
5647
+ return writer.getResultBuffer();
5648
+ };
5649
+
5650
+
5651
+ /**
5652
+ * Serializes the given message to binary data (in protobuf wire
5653
+ * format), writing to the given BinaryWriter.
5654
+ * @param {!proto.gateway.web.v1.ListAIBillerGroupsRequest} message
5655
+ * @param {!jspb.BinaryWriter} writer
5656
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5657
+ */
5658
+ proto.gateway.web.v1.ListAIBillerGroupsRequest.serializeBinaryToWriter = function(message, writer) {
5659
+ var f = undefined;
5660
+ f = message.getOrganizationIdsList();
5661
+ if (f.length > 0) {
5662
+ writer.writeRepeatedString(
5663
+ 1,
5664
+ f
5665
+ );
5666
+ }
5667
+ f = message.getFilter();
5668
+ if (f != null) {
5669
+ writer.writeMessage(
5670
+ 2,
5671
+ f,
5672
+ proto.gateway.web.v1.AIReferenceGroupFilter.serializeBinaryToWriter
5673
+ );
5674
+ }
5675
+ f = message.getPage();
5676
+ if (f !== 0) {
5677
+ writer.writeInt32(
5678
+ 3,
5679
+ f
5680
+ );
5681
+ }
5682
+ f = message.getPerPage();
5683
+ if (f !== 0) {
5684
+ writer.writeInt32(
5685
+ 4,
5686
+ f
5687
+ );
5688
+ }
5689
+ };
5690
+
5691
+
5692
+ /**
5693
+ * repeated string organization_ids = 1;
5694
+ * @return {!Array<string>}
5695
+ */
5696
+ proto.gateway.web.v1.ListAIBillerGroupsRequest.prototype.getOrganizationIdsList = function() {
5697
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
5698
+ };
5699
+
5700
+
5701
+ /**
5702
+ * @param {!Array<string>} value
5703
+ * @return {!proto.gateway.web.v1.ListAIBillerGroupsRequest} returns this
5704
+ */
5705
+ proto.gateway.web.v1.ListAIBillerGroupsRequest.prototype.setOrganizationIdsList = function(value) {
5706
+ return jspb.Message.setField(this, 1, value || []);
5707
+ };
5708
+
5709
+
5710
+ /**
5711
+ * @param {string} value
5712
+ * @param {number=} opt_index
5713
+ * @return {!proto.gateway.web.v1.ListAIBillerGroupsRequest} returns this
5714
+ */
5715
+ proto.gateway.web.v1.ListAIBillerGroupsRequest.prototype.addOrganizationIds = function(value, opt_index) {
5716
+ return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
5717
+ };
5718
+
5719
+
5720
+ /**
5721
+ * Clears the list making it empty but non-null.
5722
+ * @return {!proto.gateway.web.v1.ListAIBillerGroupsRequest} returns this
5723
+ */
5724
+ proto.gateway.web.v1.ListAIBillerGroupsRequest.prototype.clearOrganizationIdsList = function() {
5725
+ return this.setOrganizationIdsList([]);
5726
+ };
5727
+
5728
+
5729
+ /**
5730
+ * optional AIReferenceGroupFilter filter = 2;
5731
+ * @return {?proto.gateway.web.v1.AIReferenceGroupFilter}
5732
+ */
5733
+ proto.gateway.web.v1.ListAIBillerGroupsRequest.prototype.getFilter = function() {
5734
+ return /** @type{?proto.gateway.web.v1.AIReferenceGroupFilter} */ (
5735
+ jspb.Message.getWrapperField(this, proto.gateway.web.v1.AIReferenceGroupFilter, 2));
5736
+ };
5737
+
5738
+
5739
+ /**
5740
+ * @param {?proto.gateway.web.v1.AIReferenceGroupFilter|undefined} value
5741
+ * @return {!proto.gateway.web.v1.ListAIBillerGroupsRequest} returns this
5742
+ */
5743
+ proto.gateway.web.v1.ListAIBillerGroupsRequest.prototype.setFilter = function(value) {
5744
+ return jspb.Message.setWrapperField(this, 2, value);
5745
+ };
5746
+
5747
+
5748
+ /**
5749
+ * Clears the message field making it undefined.
5750
+ * @return {!proto.gateway.web.v1.ListAIBillerGroupsRequest} returns this
5751
+ */
5752
+ proto.gateway.web.v1.ListAIBillerGroupsRequest.prototype.clearFilter = function() {
5753
+ return this.setFilter(undefined);
5754
+ };
5755
+
5756
+
5757
+ /**
5758
+ * Returns whether this field is set.
5759
+ * @return {boolean}
5760
+ */
5761
+ proto.gateway.web.v1.ListAIBillerGroupsRequest.prototype.hasFilter = function() {
5762
+ return jspb.Message.getField(this, 2) != null;
5763
+ };
5764
+
5765
+
5766
+ /**
5767
+ * optional int32 page = 3;
5768
+ * @return {number}
5769
+ */
5770
+ proto.gateway.web.v1.ListAIBillerGroupsRequest.prototype.getPage = function() {
5771
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
5772
+ };
5773
+
5774
+
5775
+ /**
5776
+ * @param {number} value
5777
+ * @return {!proto.gateway.web.v1.ListAIBillerGroupsRequest} returns this
5778
+ */
5779
+ proto.gateway.web.v1.ListAIBillerGroupsRequest.prototype.setPage = function(value) {
5780
+ return jspb.Message.setProto3IntField(this, 3, value);
5781
+ };
5782
+
5783
+
5784
+ /**
5785
+ * optional int32 per_page = 4;
5786
+ * @return {number}
5787
+ */
5788
+ proto.gateway.web.v1.ListAIBillerGroupsRequest.prototype.getPerPage = function() {
5789
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
5790
+ };
5791
+
5792
+
5793
+ /**
5794
+ * @param {number} value
5795
+ * @return {!proto.gateway.web.v1.ListAIBillerGroupsRequest} returns this
5796
+ */
5797
+ proto.gateway.web.v1.ListAIBillerGroupsRequest.prototype.setPerPage = function(value) {
5798
+ return jspb.Message.setProto3IntField(this, 4, value);
5799
+ };
5800
+
5801
+
5802
+
5803
+ /**
5804
+ * List of repeated fields within this message type.
5805
+ * @private {!Array<number>}
5806
+ * @const
5807
+ */
5808
+ proto.gateway.web.v1.ListAIBillerGroupsResponse.repeatedFields_ = [2];
5809
+
5810
+
5811
+
5812
+ if (jspb.Message.GENERATE_TO_OBJECT) {
5813
+ /**
5814
+ * Creates an object representation of this proto.
5815
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
5816
+ * Optional fields that are not set will be set to undefined.
5817
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
5818
+ * For the list of reserved names please see:
5819
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
5820
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
5821
+ * JSPB instance for transitional soy proto support:
5822
+ * http://goto/soy-param-migration
5823
+ * @return {!Object}
5824
+ */
5825
+ proto.gateway.web.v1.ListAIBillerGroupsResponse.prototype.toObject = function(opt_includeInstance) {
5826
+ return proto.gateway.web.v1.ListAIBillerGroupsResponse.toObject(opt_includeInstance, this);
5827
+ };
5828
+
5829
+
5830
+ /**
5831
+ * Static version of the {@see toObject} method.
5832
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
5833
+ * the JSPB instance for transitional soy proto support:
5834
+ * http://goto/soy-param-migration
5835
+ * @param {!proto.gateway.web.v1.ListAIBillerGroupsResponse} msg The msg instance to transform.
5836
+ * @return {!Object}
5837
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5838
+ */
5839
+ proto.gateway.web.v1.ListAIBillerGroupsResponse.toObject = function(includeInstance, msg) {
5840
+ var f, obj = {
5841
+ status: (f = msg.getStatus()) && proto_gateway_common_v1_status_pb.ResponseStatus.toObject(includeInstance, f),
5842
+ groupsList: jspb.Message.toObjectList(msg.getGroupsList(),
5843
+ proto.gateway.web.v1.AIReferenceGroup.toObject, includeInstance),
5844
+ pagination: (f = msg.getPagination()) && proto_gateway_web_v1_trace_gateway_pb.Pagination.toObject(includeInstance, f),
5845
+ counts: (f = msg.getCounts()) && proto.gateway.web.v1.AIReferenceGroupCounts.toObject(includeInstance, f)
5846
+ };
5847
+
5848
+ if (includeInstance) {
5849
+ obj.$jspbMessageInstance = msg;
5850
+ }
5851
+ return obj;
5852
+ };
5853
+ }
5854
+
5855
+
5856
+ /**
5857
+ * Deserializes binary data (in protobuf wire format).
5858
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
5859
+ * @return {!proto.gateway.web.v1.ListAIBillerGroupsResponse}
5860
+ */
5861
+ proto.gateway.web.v1.ListAIBillerGroupsResponse.deserializeBinary = function(bytes) {
5862
+ var reader = new jspb.BinaryReader(bytes);
5863
+ var msg = new proto.gateway.web.v1.ListAIBillerGroupsResponse;
5864
+ return proto.gateway.web.v1.ListAIBillerGroupsResponse.deserializeBinaryFromReader(msg, reader);
5865
+ };
5866
+
5867
+
5868
+ /**
5869
+ * Deserializes binary data (in protobuf wire format) from the
5870
+ * given reader into the given message object.
5871
+ * @param {!proto.gateway.web.v1.ListAIBillerGroupsResponse} msg The message object to deserialize into.
5872
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
5873
+ * @return {!proto.gateway.web.v1.ListAIBillerGroupsResponse}
5874
+ */
5875
+ proto.gateway.web.v1.ListAIBillerGroupsResponse.deserializeBinaryFromReader = function(msg, reader) {
5876
+ while (reader.nextField()) {
5877
+ if (reader.isEndGroup()) {
5878
+ break;
5879
+ }
5880
+ var field = reader.getFieldNumber();
5881
+ switch (field) {
5882
+ case 1:
5883
+ var value = new proto_gateway_common_v1_status_pb.ResponseStatus;
5884
+ reader.readMessage(value,proto_gateway_common_v1_status_pb.ResponseStatus.deserializeBinaryFromReader);
5885
+ msg.setStatus(value);
5886
+ break;
5887
+ case 2:
5888
+ var value = new proto.gateway.web.v1.AIReferenceGroup;
5889
+ reader.readMessage(value,proto.gateway.web.v1.AIReferenceGroup.deserializeBinaryFromReader);
5890
+ msg.addGroups(value);
5891
+ break;
5892
+ case 3:
5893
+ var value = new proto_gateway_web_v1_trace_gateway_pb.Pagination;
5894
+ reader.readMessage(value,proto_gateway_web_v1_trace_gateway_pb.Pagination.deserializeBinaryFromReader);
5895
+ msg.setPagination(value);
5896
+ break;
5897
+ case 4:
5898
+ var value = new proto.gateway.web.v1.AIReferenceGroupCounts;
5899
+ reader.readMessage(value,proto.gateway.web.v1.AIReferenceGroupCounts.deserializeBinaryFromReader);
5900
+ msg.setCounts(value);
5901
+ break;
5902
+ default:
5903
+ reader.skipField();
5904
+ break;
5905
+ }
5906
+ }
5907
+ return msg;
5908
+ };
5909
+
5910
+
5911
+ /**
5912
+ * Serializes the message to binary data (in protobuf wire format).
5913
+ * @return {!Uint8Array}
5914
+ */
5915
+ proto.gateway.web.v1.ListAIBillerGroupsResponse.prototype.serializeBinary = function() {
5916
+ var writer = new jspb.BinaryWriter();
5917
+ proto.gateway.web.v1.ListAIBillerGroupsResponse.serializeBinaryToWriter(this, writer);
5918
+ return writer.getResultBuffer();
5919
+ };
5920
+
5921
+
5922
+ /**
5923
+ * Serializes the given message to binary data (in protobuf wire
5924
+ * format), writing to the given BinaryWriter.
5925
+ * @param {!proto.gateway.web.v1.ListAIBillerGroupsResponse} message
5926
+ * @param {!jspb.BinaryWriter} writer
5927
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5928
+ */
5929
+ proto.gateway.web.v1.ListAIBillerGroupsResponse.serializeBinaryToWriter = function(message, writer) {
5930
+ var f = undefined;
5931
+ f = message.getStatus();
5932
+ if (f != null) {
5933
+ writer.writeMessage(
5934
+ 1,
5935
+ f,
5936
+ proto_gateway_common_v1_status_pb.ResponseStatus.serializeBinaryToWriter
5937
+ );
5938
+ }
5939
+ f = message.getGroupsList();
5940
+ if (f.length > 0) {
5941
+ writer.writeRepeatedMessage(
5942
+ 2,
5943
+ f,
5944
+ proto.gateway.web.v1.AIReferenceGroup.serializeBinaryToWriter
5945
+ );
5946
+ }
5947
+ f = message.getPagination();
5948
+ if (f != null) {
5949
+ writer.writeMessage(
5950
+ 3,
5951
+ f,
5952
+ proto_gateway_web_v1_trace_gateway_pb.Pagination.serializeBinaryToWriter
5953
+ );
5954
+ }
5955
+ f = message.getCounts();
5956
+ if (f != null) {
5957
+ writer.writeMessage(
5958
+ 4,
5959
+ f,
5960
+ proto.gateway.web.v1.AIReferenceGroupCounts.serializeBinaryToWriter
5961
+ );
5962
+ }
5963
+ };
5964
+
5965
+
5966
+ /**
5967
+ * optional gateway.common.v1.ResponseStatus status = 1;
5968
+ * @return {?proto.gateway.common.v1.ResponseStatus}
5969
+ */
5970
+ proto.gateway.web.v1.ListAIBillerGroupsResponse.prototype.getStatus = function() {
5971
+ return /** @type{?proto.gateway.common.v1.ResponseStatus} */ (
5972
+ jspb.Message.getWrapperField(this, proto_gateway_common_v1_status_pb.ResponseStatus, 1));
5973
+ };
5974
+
5975
+
5976
+ /**
5977
+ * @param {?proto.gateway.common.v1.ResponseStatus|undefined} value
5978
+ * @return {!proto.gateway.web.v1.ListAIBillerGroupsResponse} returns this
5979
+ */
5980
+ proto.gateway.web.v1.ListAIBillerGroupsResponse.prototype.setStatus = function(value) {
5981
+ return jspb.Message.setWrapperField(this, 1, value);
5982
+ };
5983
+
5984
+
5985
+ /**
5986
+ * Clears the message field making it undefined.
5987
+ * @return {!proto.gateway.web.v1.ListAIBillerGroupsResponse} returns this
5988
+ */
5989
+ proto.gateway.web.v1.ListAIBillerGroupsResponse.prototype.clearStatus = function() {
5990
+ return this.setStatus(undefined);
5991
+ };
5992
+
5993
+
5994
+ /**
5995
+ * Returns whether this field is set.
5996
+ * @return {boolean}
5997
+ */
5998
+ proto.gateway.web.v1.ListAIBillerGroupsResponse.prototype.hasStatus = function() {
5999
+ return jspb.Message.getField(this, 1) != null;
6000
+ };
6001
+
6002
+
6003
+ /**
6004
+ * repeated AIReferenceGroup groups = 2;
6005
+ * @return {!Array<!proto.gateway.web.v1.AIReferenceGroup>}
6006
+ */
6007
+ proto.gateway.web.v1.ListAIBillerGroupsResponse.prototype.getGroupsList = function() {
6008
+ return /** @type{!Array<!proto.gateway.web.v1.AIReferenceGroup>} */ (
6009
+ jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.AIReferenceGroup, 2));
6010
+ };
6011
+
6012
+
6013
+ /**
6014
+ * @param {!Array<!proto.gateway.web.v1.AIReferenceGroup>} value
6015
+ * @return {!proto.gateway.web.v1.ListAIBillerGroupsResponse} returns this
6016
+ */
6017
+ proto.gateway.web.v1.ListAIBillerGroupsResponse.prototype.setGroupsList = function(value) {
6018
+ return jspb.Message.setRepeatedWrapperField(this, 2, value);
6019
+ };
6020
+
6021
+
6022
+ /**
6023
+ * @param {!proto.gateway.web.v1.AIReferenceGroup=} opt_value
6024
+ * @param {number=} opt_index
6025
+ * @return {!proto.gateway.web.v1.AIReferenceGroup}
6026
+ */
6027
+ proto.gateway.web.v1.ListAIBillerGroupsResponse.prototype.addGroups = function(opt_value, opt_index) {
6028
+ return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.gateway.web.v1.AIReferenceGroup, opt_index);
6029
+ };
6030
+
6031
+
6032
+ /**
6033
+ * Clears the list making it empty but non-null.
6034
+ * @return {!proto.gateway.web.v1.ListAIBillerGroupsResponse} returns this
6035
+ */
6036
+ proto.gateway.web.v1.ListAIBillerGroupsResponse.prototype.clearGroupsList = function() {
6037
+ return this.setGroupsList([]);
6038
+ };
6039
+
6040
+
6041
+ /**
6042
+ * optional Pagination pagination = 3;
6043
+ * @return {?proto.gateway.web.v1.Pagination}
6044
+ */
6045
+ proto.gateway.web.v1.ListAIBillerGroupsResponse.prototype.getPagination = function() {
6046
+ return /** @type{?proto.gateway.web.v1.Pagination} */ (
6047
+ jspb.Message.getWrapperField(this, proto_gateway_web_v1_trace_gateway_pb.Pagination, 3));
6048
+ };
6049
+
6050
+
6051
+ /**
6052
+ * @param {?proto.gateway.web.v1.Pagination|undefined} value
6053
+ * @return {!proto.gateway.web.v1.ListAIBillerGroupsResponse} returns this
6054
+ */
6055
+ proto.gateway.web.v1.ListAIBillerGroupsResponse.prototype.setPagination = function(value) {
6056
+ return jspb.Message.setWrapperField(this, 3, value);
6057
+ };
6058
+
6059
+
6060
+ /**
6061
+ * Clears the message field making it undefined.
6062
+ * @return {!proto.gateway.web.v1.ListAIBillerGroupsResponse} returns this
6063
+ */
6064
+ proto.gateway.web.v1.ListAIBillerGroupsResponse.prototype.clearPagination = function() {
6065
+ return this.setPagination(undefined);
6066
+ };
6067
+
6068
+
6069
+ /**
6070
+ * Returns whether this field is set.
6071
+ * @return {boolean}
6072
+ */
6073
+ proto.gateway.web.v1.ListAIBillerGroupsResponse.prototype.hasPagination = function() {
6074
+ return jspb.Message.getField(this, 3) != null;
6075
+ };
6076
+
6077
+
6078
+ /**
6079
+ * optional AIReferenceGroupCounts counts = 4;
6080
+ * @return {?proto.gateway.web.v1.AIReferenceGroupCounts}
6081
+ */
6082
+ proto.gateway.web.v1.ListAIBillerGroupsResponse.prototype.getCounts = function() {
6083
+ return /** @type{?proto.gateway.web.v1.AIReferenceGroupCounts} */ (
6084
+ jspb.Message.getWrapperField(this, proto.gateway.web.v1.AIReferenceGroupCounts, 4));
6085
+ };
6086
+
6087
+
6088
+ /**
6089
+ * @param {?proto.gateway.web.v1.AIReferenceGroupCounts|undefined} value
6090
+ * @return {!proto.gateway.web.v1.ListAIBillerGroupsResponse} returns this
6091
+ */
6092
+ proto.gateway.web.v1.ListAIBillerGroupsResponse.prototype.setCounts = function(value) {
6093
+ return jspb.Message.setWrapperField(this, 4, value);
6094
+ };
6095
+
6096
+
6097
+ /**
6098
+ * Clears the message field making it undefined.
6099
+ * @return {!proto.gateway.web.v1.ListAIBillerGroupsResponse} returns this
6100
+ */
6101
+ proto.gateway.web.v1.ListAIBillerGroupsResponse.prototype.clearCounts = function() {
6102
+ return this.setCounts(undefined);
6103
+ };
6104
+
6105
+
6106
+ /**
6107
+ * Returns whether this field is set.
6108
+ * @return {boolean}
6109
+ */
6110
+ proto.gateway.web.v1.ListAIBillerGroupsResponse.prototype.hasCounts = function() {
6111
+ return jspb.Message.getField(this, 4) != null;
6112
+ };
6113
+
6114
+
6115
+
6116
+
6117
+
6118
+ if (jspb.Message.GENERATE_TO_OBJECT) {
6119
+ /**
6120
+ * Creates an object representation of this proto.
6121
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
6122
+ * Optional fields that are not set will be set to undefined.
6123
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
6124
+ * For the list of reserved names please see:
6125
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
6126
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
6127
+ * JSPB instance for transitional soy proto support:
6128
+ * http://goto/soy-param-migration
6129
+ * @return {!Object}
6130
+ */
6131
+ proto.gateway.web.v1.AIReferenceGroupFilter.prototype.toObject = function(opt_includeInstance) {
6132
+ return proto.gateway.web.v1.AIReferenceGroupFilter.toObject(opt_includeInstance, this);
6133
+ };
6134
+
6135
+
6136
+ /**
6137
+ * Static version of the {@see toObject} method.
6138
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
6139
+ * the JSPB instance for transitional soy proto support:
6140
+ * http://goto/soy-param-migration
6141
+ * @param {!proto.gateway.web.v1.AIReferenceGroupFilter} msg The msg instance to transform.
6142
+ * @return {!Object}
6143
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6144
+ */
6145
+ proto.gateway.web.v1.AIReferenceGroupFilter.toObject = function(includeInstance, msg) {
6146
+ var f, obj = {
6147
+ search: jspb.Message.getFieldWithDefault(msg, 1, ""),
6148
+ status: jspb.Message.getFieldWithDefault(msg, 2, 0),
6149
+ observation: jspb.Message.getFieldWithDefault(msg, 3, 0),
6150
+ sourceSystem: jspb.Message.getFieldWithDefault(msg, 4, "")
6151
+ };
6152
+
6153
+ if (includeInstance) {
6154
+ obj.$jspbMessageInstance = msg;
6155
+ }
6156
+ return obj;
6157
+ };
6158
+ }
6159
+
6160
+
6161
+ /**
6162
+ * Deserializes binary data (in protobuf wire format).
6163
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
6164
+ * @return {!proto.gateway.web.v1.AIReferenceGroupFilter}
6165
+ */
6166
+ proto.gateway.web.v1.AIReferenceGroupFilter.deserializeBinary = function(bytes) {
6167
+ var reader = new jspb.BinaryReader(bytes);
6168
+ var msg = new proto.gateway.web.v1.AIReferenceGroupFilter;
6169
+ return proto.gateway.web.v1.AIReferenceGroupFilter.deserializeBinaryFromReader(msg, reader);
6170
+ };
6171
+
6172
+
6173
+ /**
6174
+ * Deserializes binary data (in protobuf wire format) from the
6175
+ * given reader into the given message object.
6176
+ * @param {!proto.gateway.web.v1.AIReferenceGroupFilter} msg The message object to deserialize into.
6177
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
6178
+ * @return {!proto.gateway.web.v1.AIReferenceGroupFilter}
6179
+ */
6180
+ proto.gateway.web.v1.AIReferenceGroupFilter.deserializeBinaryFromReader = function(msg, reader) {
6181
+ while (reader.nextField()) {
6182
+ if (reader.isEndGroup()) {
6183
+ break;
6184
+ }
6185
+ var field = reader.getFieldNumber();
6186
+ switch (field) {
6187
+ case 1:
6188
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
6189
+ msg.setSearch(value);
6190
+ break;
6191
+ case 2:
6192
+ var value = /** @type {!proto.gateway.web.v1.AIReferenceGroupStatus} */ (reader.readEnum());
6193
+ msg.setStatus(value);
6194
+ break;
6195
+ case 3:
6196
+ var value = /** @type {!proto.gateway.web.v1.AIReferenceGroupObservation} */ (reader.readEnum());
6197
+ msg.setObservation(value);
6198
+ break;
6199
+ case 4:
6200
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
6201
+ msg.setSourceSystem(value);
6202
+ break;
6203
+ default:
6204
+ reader.skipField();
6205
+ break;
6206
+ }
6207
+ }
6208
+ return msg;
6209
+ };
6210
+
6211
+
6212
+ /**
6213
+ * Serializes the message to binary data (in protobuf wire format).
6214
+ * @return {!Uint8Array}
6215
+ */
6216
+ proto.gateway.web.v1.AIReferenceGroupFilter.prototype.serializeBinary = function() {
6217
+ var writer = new jspb.BinaryWriter();
6218
+ proto.gateway.web.v1.AIReferenceGroupFilter.serializeBinaryToWriter(this, writer);
6219
+ return writer.getResultBuffer();
6220
+ };
6221
+
6222
+
6223
+ /**
6224
+ * Serializes the given message to binary data (in protobuf wire
6225
+ * format), writing to the given BinaryWriter.
6226
+ * @param {!proto.gateway.web.v1.AIReferenceGroupFilter} message
6227
+ * @param {!jspb.BinaryWriter} writer
6228
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6229
+ */
6230
+ proto.gateway.web.v1.AIReferenceGroupFilter.serializeBinaryToWriter = function(message, writer) {
6231
+ var f = undefined;
6232
+ f = message.getSearch();
6233
+ if (f.length > 0) {
6234
+ writer.writeString(
6235
+ 1,
6236
+ f
6237
+ );
6238
+ }
6239
+ f = message.getStatus();
6240
+ if (f !== 0.0) {
6241
+ writer.writeEnum(
6242
+ 2,
6243
+ f
6244
+ );
6245
+ }
6246
+ f = message.getObservation();
6247
+ if (f !== 0.0) {
6248
+ writer.writeEnum(
6249
+ 3,
6250
+ f
6251
+ );
6252
+ }
6253
+ f = message.getSourceSystem();
6254
+ if (f.length > 0) {
6255
+ writer.writeString(
6256
+ 4,
6257
+ f
6258
+ );
6259
+ }
6260
+ };
6261
+
6262
+
6263
+ /**
6264
+ * optional string search = 1;
6265
+ * @return {string}
6266
+ */
6267
+ proto.gateway.web.v1.AIReferenceGroupFilter.prototype.getSearch = function() {
6268
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
6269
+ };
6270
+
6271
+
6272
+ /**
6273
+ * @param {string} value
6274
+ * @return {!proto.gateway.web.v1.AIReferenceGroupFilter} returns this
6275
+ */
6276
+ proto.gateway.web.v1.AIReferenceGroupFilter.prototype.setSearch = function(value) {
6277
+ return jspb.Message.setProto3StringField(this, 1, value);
6278
+ };
6279
+
6280
+
6281
+ /**
6282
+ * optional AIReferenceGroupStatus status = 2;
6283
+ * @return {!proto.gateway.web.v1.AIReferenceGroupStatus}
6284
+ */
6285
+ proto.gateway.web.v1.AIReferenceGroupFilter.prototype.getStatus = function() {
6286
+ return /** @type {!proto.gateway.web.v1.AIReferenceGroupStatus} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
6287
+ };
6288
+
6289
+
6290
+ /**
6291
+ * @param {!proto.gateway.web.v1.AIReferenceGroupStatus} value
6292
+ * @return {!proto.gateway.web.v1.AIReferenceGroupFilter} returns this
6293
+ */
6294
+ proto.gateway.web.v1.AIReferenceGroupFilter.prototype.setStatus = function(value) {
6295
+ return jspb.Message.setProto3EnumField(this, 2, value);
6296
+ };
6297
+
6298
+
6299
+ /**
6300
+ * optional AIReferenceGroupObservation observation = 3;
6301
+ * @return {!proto.gateway.web.v1.AIReferenceGroupObservation}
6302
+ */
6303
+ proto.gateway.web.v1.AIReferenceGroupFilter.prototype.getObservation = function() {
6304
+ return /** @type {!proto.gateway.web.v1.AIReferenceGroupObservation} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
6305
+ };
6306
+
6307
+
6308
+ /**
6309
+ * @param {!proto.gateway.web.v1.AIReferenceGroupObservation} value
6310
+ * @return {!proto.gateway.web.v1.AIReferenceGroupFilter} returns this
6311
+ */
6312
+ proto.gateway.web.v1.AIReferenceGroupFilter.prototype.setObservation = function(value) {
6313
+ return jspb.Message.setProto3EnumField(this, 3, value);
6314
+ };
6315
+
6316
+
6317
+ /**
6318
+ * optional string source_system = 4;
6319
+ * @return {string}
6320
+ */
6321
+ proto.gateway.web.v1.AIReferenceGroupFilter.prototype.getSourceSystem = function() {
6322
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
6323
+ };
6324
+
6325
+
6326
+ /**
6327
+ * @param {string} value
6328
+ * @return {!proto.gateway.web.v1.AIReferenceGroupFilter} returns this
6329
+ */
6330
+ proto.gateway.web.v1.AIReferenceGroupFilter.prototype.setSourceSystem = function(value) {
6331
+ return jspb.Message.setProto3StringField(this, 4, value);
6332
+ };
6333
+
6334
+
6335
+
6336
+ /**
6337
+ * List of repeated fields within this message type.
6338
+ * @private {!Array<number>}
6339
+ * @const
6340
+ */
6341
+ proto.gateway.web.v1.AIReferenceGroup.repeatedFields_ = [2,3,5];
6342
+
6343
+
6344
+
6345
+ if (jspb.Message.GENERATE_TO_OBJECT) {
6346
+ /**
6347
+ * Creates an object representation of this proto.
6348
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
6349
+ * Optional fields that are not set will be set to undefined.
6350
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
6351
+ * For the list of reserved names please see:
6352
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
6353
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
6354
+ * JSPB instance for transitional soy proto support:
6355
+ * http://goto/soy-param-migration
6356
+ * @return {!Object}
6357
+ */
6358
+ proto.gateway.web.v1.AIReferenceGroup.prototype.toObject = function(opt_includeInstance) {
6359
+ return proto.gateway.web.v1.AIReferenceGroup.toObject(opt_includeInstance, this);
6360
+ };
6361
+
6362
+
6363
+ /**
6364
+ * Static version of the {@see toObject} method.
6365
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
6366
+ * the JSPB instance for transitional soy proto support:
6367
+ * http://goto/soy-param-migration
6368
+ * @param {!proto.gateway.web.v1.AIReferenceGroup} msg The msg instance to transform.
6369
+ * @return {!Object}
6370
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6371
+ */
6372
+ proto.gateway.web.v1.AIReferenceGroup.toObject = function(includeInstance, msg) {
6373
+ var f, obj = {
6374
+ displayName: jspb.Message.getFieldWithDefault(msg, 1, ""),
6375
+ namesList: jspb.Message.toObjectList(msg.getNamesList(),
6376
+ proto.gateway.web.v1.AIReferenceName.toObject, includeInstance),
6377
+ sourceSystemsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
6378
+ confirmed: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
6379
+ unreviewedNamesList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f,
6380
+ observed: jspb.Message.getBooleanFieldWithDefault(msg, 6, false)
6381
+ };
6382
+
6383
+ if (includeInstance) {
6384
+ obj.$jspbMessageInstance = msg;
6385
+ }
6386
+ return obj;
6387
+ };
6388
+ }
6389
+
6390
+
6391
+ /**
6392
+ * Deserializes binary data (in protobuf wire format).
6393
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
6394
+ * @return {!proto.gateway.web.v1.AIReferenceGroup}
6395
+ */
6396
+ proto.gateway.web.v1.AIReferenceGroup.deserializeBinary = function(bytes) {
6397
+ var reader = new jspb.BinaryReader(bytes);
6398
+ var msg = new proto.gateway.web.v1.AIReferenceGroup;
6399
+ return proto.gateway.web.v1.AIReferenceGroup.deserializeBinaryFromReader(msg, reader);
6400
+ };
6401
+
6402
+
6403
+ /**
6404
+ * Deserializes binary data (in protobuf wire format) from the
6405
+ * given reader into the given message object.
6406
+ * @param {!proto.gateway.web.v1.AIReferenceGroup} msg The message object to deserialize into.
6407
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
6408
+ * @return {!proto.gateway.web.v1.AIReferenceGroup}
6409
+ */
6410
+ proto.gateway.web.v1.AIReferenceGroup.deserializeBinaryFromReader = function(msg, reader) {
6411
+ while (reader.nextField()) {
6412
+ if (reader.isEndGroup()) {
6413
+ break;
6414
+ }
6415
+ var field = reader.getFieldNumber();
6416
+ switch (field) {
6417
+ case 1:
6418
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
6419
+ msg.setDisplayName(value);
6420
+ break;
6421
+ case 2:
6422
+ var value = new proto.gateway.web.v1.AIReferenceName;
6423
+ reader.readMessage(value,proto.gateway.web.v1.AIReferenceName.deserializeBinaryFromReader);
6424
+ msg.addNames(value);
6425
+ break;
6426
+ case 3:
6427
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
6428
+ msg.addSourceSystems(value);
6429
+ break;
6430
+ case 4:
6431
+ var value = /** @type {boolean} */ (reader.readBool());
6432
+ msg.setConfirmed(value);
6433
+ break;
6434
+ case 5:
6435
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
6436
+ msg.addUnreviewedNames(value);
6437
+ break;
6438
+ case 6:
6439
+ var value = /** @type {boolean} */ (reader.readBool());
6440
+ msg.setObserved(value);
6441
+ break;
6442
+ default:
6443
+ reader.skipField();
6444
+ break;
6445
+ }
6446
+ }
6447
+ return msg;
6448
+ };
6449
+
6450
+
6451
+ /**
6452
+ * Serializes the message to binary data (in protobuf wire format).
6453
+ * @return {!Uint8Array}
6454
+ */
6455
+ proto.gateway.web.v1.AIReferenceGroup.prototype.serializeBinary = function() {
6456
+ var writer = new jspb.BinaryWriter();
6457
+ proto.gateway.web.v1.AIReferenceGroup.serializeBinaryToWriter(this, writer);
6458
+ return writer.getResultBuffer();
6459
+ };
6460
+
6461
+
6462
+ /**
6463
+ * Serializes the given message to binary data (in protobuf wire
6464
+ * format), writing to the given BinaryWriter.
6465
+ * @param {!proto.gateway.web.v1.AIReferenceGroup} message
6466
+ * @param {!jspb.BinaryWriter} writer
6467
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6468
+ */
6469
+ proto.gateway.web.v1.AIReferenceGroup.serializeBinaryToWriter = function(message, writer) {
6470
+ var f = undefined;
6471
+ f = message.getDisplayName();
6472
+ if (f.length > 0) {
6473
+ writer.writeString(
6474
+ 1,
6475
+ f
6476
+ );
6477
+ }
6478
+ f = message.getNamesList();
6479
+ if (f.length > 0) {
6480
+ writer.writeRepeatedMessage(
6481
+ 2,
6482
+ f,
6483
+ proto.gateway.web.v1.AIReferenceName.serializeBinaryToWriter
6484
+ );
6485
+ }
6486
+ f = message.getSourceSystemsList();
6487
+ if (f.length > 0) {
6488
+ writer.writeRepeatedString(
6489
+ 3,
6490
+ f
6491
+ );
6492
+ }
6493
+ f = message.getConfirmed();
6494
+ if (f) {
6495
+ writer.writeBool(
6496
+ 4,
6497
+ f
6498
+ );
6499
+ }
6500
+ f = message.getUnreviewedNamesList();
6501
+ if (f.length > 0) {
6502
+ writer.writeRepeatedString(
6503
+ 5,
6504
+ f
6505
+ );
6506
+ }
6507
+ f = message.getObserved();
6508
+ if (f) {
6509
+ writer.writeBool(
6510
+ 6,
6511
+ f
6512
+ );
6513
+ }
6514
+ };
6515
+
6516
+
6517
+ /**
6518
+ * optional string display_name = 1;
6519
+ * @return {string}
6520
+ */
6521
+ proto.gateway.web.v1.AIReferenceGroup.prototype.getDisplayName = function() {
6522
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
6523
+ };
6524
+
6525
+
6526
+ /**
6527
+ * @param {string} value
6528
+ * @return {!proto.gateway.web.v1.AIReferenceGroup} returns this
6529
+ */
6530
+ proto.gateway.web.v1.AIReferenceGroup.prototype.setDisplayName = function(value) {
6531
+ return jspb.Message.setProto3StringField(this, 1, value);
6532
+ };
6533
+
6534
+
6535
+ /**
6536
+ * repeated AIReferenceName names = 2;
6537
+ * @return {!Array<!proto.gateway.web.v1.AIReferenceName>}
6538
+ */
6539
+ proto.gateway.web.v1.AIReferenceGroup.prototype.getNamesList = function() {
6540
+ return /** @type{!Array<!proto.gateway.web.v1.AIReferenceName>} */ (
6541
+ jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.AIReferenceName, 2));
6542
+ };
6543
+
6544
+
6545
+ /**
6546
+ * @param {!Array<!proto.gateway.web.v1.AIReferenceName>} value
6547
+ * @return {!proto.gateway.web.v1.AIReferenceGroup} returns this
6548
+ */
6549
+ proto.gateway.web.v1.AIReferenceGroup.prototype.setNamesList = function(value) {
6550
+ return jspb.Message.setRepeatedWrapperField(this, 2, value);
6551
+ };
6552
+
6553
+
6554
+ /**
6555
+ * @param {!proto.gateway.web.v1.AIReferenceName=} opt_value
6556
+ * @param {number=} opt_index
6557
+ * @return {!proto.gateway.web.v1.AIReferenceName}
6558
+ */
6559
+ proto.gateway.web.v1.AIReferenceGroup.prototype.addNames = function(opt_value, opt_index) {
6560
+ return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.gateway.web.v1.AIReferenceName, opt_index);
6561
+ };
6562
+
6563
+
6564
+ /**
6565
+ * Clears the list making it empty but non-null.
6566
+ * @return {!proto.gateway.web.v1.AIReferenceGroup} returns this
6567
+ */
6568
+ proto.gateway.web.v1.AIReferenceGroup.prototype.clearNamesList = function() {
6569
+ return this.setNamesList([]);
6570
+ };
6571
+
6572
+
6573
+ /**
6574
+ * repeated string source_systems = 3;
6575
+ * @return {!Array<string>}
6576
+ */
6577
+ proto.gateway.web.v1.AIReferenceGroup.prototype.getSourceSystemsList = function() {
6578
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
6579
+ };
6580
+
6581
+
6582
+ /**
6583
+ * @param {!Array<string>} value
6584
+ * @return {!proto.gateway.web.v1.AIReferenceGroup} returns this
6585
+ */
6586
+ proto.gateway.web.v1.AIReferenceGroup.prototype.setSourceSystemsList = function(value) {
6587
+ return jspb.Message.setField(this, 3, value || []);
6588
+ };
6589
+
6590
+
6591
+ /**
6592
+ * @param {string} value
6593
+ * @param {number=} opt_index
6594
+ * @return {!proto.gateway.web.v1.AIReferenceGroup} returns this
6595
+ */
6596
+ proto.gateway.web.v1.AIReferenceGroup.prototype.addSourceSystems = function(value, opt_index) {
6597
+ return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
6598
+ };
6599
+
6600
+
6601
+ /**
6602
+ * Clears the list making it empty but non-null.
6603
+ * @return {!proto.gateway.web.v1.AIReferenceGroup} returns this
6604
+ */
6605
+ proto.gateway.web.v1.AIReferenceGroup.prototype.clearSourceSystemsList = function() {
6606
+ return this.setSourceSystemsList([]);
6607
+ };
6608
+
6609
+
6610
+ /**
6611
+ * optional bool confirmed = 4;
6612
+ * @return {boolean}
6613
+ */
6614
+ proto.gateway.web.v1.AIReferenceGroup.prototype.getConfirmed = function() {
6615
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
6616
+ };
6617
+
6618
+
6619
+ /**
6620
+ * @param {boolean} value
6621
+ * @return {!proto.gateway.web.v1.AIReferenceGroup} returns this
6622
+ */
6623
+ proto.gateway.web.v1.AIReferenceGroup.prototype.setConfirmed = function(value) {
6624
+ return jspb.Message.setProto3BooleanField(this, 4, value);
6625
+ };
6626
+
6627
+
6628
+ /**
6629
+ * repeated string unreviewed_names = 5;
6630
+ * @return {!Array<string>}
6631
+ */
6632
+ proto.gateway.web.v1.AIReferenceGroup.prototype.getUnreviewedNamesList = function() {
6633
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 5));
6634
+ };
6635
+
6636
+
6637
+ /**
6638
+ * @param {!Array<string>} value
6639
+ * @return {!proto.gateway.web.v1.AIReferenceGroup} returns this
6640
+ */
6641
+ proto.gateway.web.v1.AIReferenceGroup.prototype.setUnreviewedNamesList = function(value) {
6642
+ return jspb.Message.setField(this, 5, value || []);
6643
+ };
6644
+
6645
+
6646
+ /**
6647
+ * @param {string} value
6648
+ * @param {number=} opt_index
6649
+ * @return {!proto.gateway.web.v1.AIReferenceGroup} returns this
6650
+ */
6651
+ proto.gateway.web.v1.AIReferenceGroup.prototype.addUnreviewedNames = function(value, opt_index) {
6652
+ return jspb.Message.addToRepeatedField(this, 5, value, opt_index);
6653
+ };
6654
+
6655
+
6656
+ /**
6657
+ * Clears the list making it empty but non-null.
6658
+ * @return {!proto.gateway.web.v1.AIReferenceGroup} returns this
6659
+ */
6660
+ proto.gateway.web.v1.AIReferenceGroup.prototype.clearUnreviewedNamesList = function() {
6661
+ return this.setUnreviewedNamesList([]);
6662
+ };
6663
+
6664
+
6665
+ /**
6666
+ * optional bool observed = 6;
6667
+ * @return {boolean}
6668
+ */
6669
+ proto.gateway.web.v1.AIReferenceGroup.prototype.getObserved = function() {
6670
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
6671
+ };
6672
+
6673
+
6674
+ /**
6675
+ * @param {boolean} value
6676
+ * @return {!proto.gateway.web.v1.AIReferenceGroup} returns this
6677
+ */
6678
+ proto.gateway.web.v1.AIReferenceGroup.prototype.setObserved = function(value) {
6679
+ return jspb.Message.setProto3BooleanField(this, 6, value);
6680
+ };
6681
+
6682
+
6683
+
6684
+ /**
6685
+ * List of repeated fields within this message type.
6686
+ * @private {!Array<number>}
6687
+ * @const
6688
+ */
6689
+ proto.gateway.web.v1.AIReferenceGroupCounts.repeatedFields_ = [9];
6690
+
6691
+
6692
+
6693
+ if (jspb.Message.GENERATE_TO_OBJECT) {
6694
+ /**
6695
+ * Creates an object representation of this proto.
6696
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
6697
+ * Optional fields that are not set will be set to undefined.
6698
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
6699
+ * For the list of reserved names please see:
6700
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
6701
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
6702
+ * JSPB instance for transitional soy proto support:
6703
+ * http://goto/soy-param-migration
6704
+ * @return {!Object}
6705
+ */
6706
+ proto.gateway.web.v1.AIReferenceGroupCounts.prototype.toObject = function(opt_includeInstance) {
6707
+ return proto.gateway.web.v1.AIReferenceGroupCounts.toObject(opt_includeInstance, this);
6708
+ };
6709
+
6710
+
6711
+ /**
6712
+ * Static version of the {@see toObject} method.
6713
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
6714
+ * the JSPB instance for transitional soy proto support:
6715
+ * http://goto/soy-param-migration
6716
+ * @param {!proto.gateway.web.v1.AIReferenceGroupCounts} msg The msg instance to transform.
6717
+ * @return {!Object}
6718
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6719
+ */
6720
+ proto.gateway.web.v1.AIReferenceGroupCounts.toObject = function(includeInstance, msg) {
6721
+ var f, obj = {
6722
+ totalNameCount: jspb.Message.getFieldWithDefault(msg, 1, 0),
6723
+ totalGroupCount: jspb.Message.getFieldWithDefault(msg, 2, 0),
6724
+ totalUnreviewedGroupCount: jspb.Message.getFieldWithDefault(msg, 3, 0),
6725
+ unreviewedGroupCount: jspb.Message.getFieldWithDefault(msg, 4, 0),
6726
+ reviewedGroupCount: jspb.Message.getFieldWithDefault(msg, 5, 0),
6727
+ observedGroupCount: jspb.Message.getFieldWithDefault(msg, 6, 0),
6728
+ unobservedGroupCount: jspb.Message.getFieldWithDefault(msg, 7, 0),
6729
+ unreviewedNameCount: jspb.Message.getFieldWithDefault(msg, 8, 0),
6730
+ sourcesList: jspb.Message.toObjectList(msg.getSourcesList(),
6731
+ proto.gateway.web.v1.AIReferenceSourceCount.toObject, includeInstance)
6732
+ };
6733
+
6734
+ if (includeInstance) {
6735
+ obj.$jspbMessageInstance = msg;
6736
+ }
6737
+ return obj;
6738
+ };
6739
+ }
6740
+
6741
+
6742
+ /**
6743
+ * Deserializes binary data (in protobuf wire format).
6744
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
6745
+ * @return {!proto.gateway.web.v1.AIReferenceGroupCounts}
6746
+ */
6747
+ proto.gateway.web.v1.AIReferenceGroupCounts.deserializeBinary = function(bytes) {
6748
+ var reader = new jspb.BinaryReader(bytes);
6749
+ var msg = new proto.gateway.web.v1.AIReferenceGroupCounts;
6750
+ return proto.gateway.web.v1.AIReferenceGroupCounts.deserializeBinaryFromReader(msg, reader);
6751
+ };
6752
+
6753
+
6754
+ /**
6755
+ * Deserializes binary data (in protobuf wire format) from the
6756
+ * given reader into the given message object.
6757
+ * @param {!proto.gateway.web.v1.AIReferenceGroupCounts} msg The message object to deserialize into.
6758
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
6759
+ * @return {!proto.gateway.web.v1.AIReferenceGroupCounts}
6760
+ */
6761
+ proto.gateway.web.v1.AIReferenceGroupCounts.deserializeBinaryFromReader = function(msg, reader) {
6762
+ while (reader.nextField()) {
6763
+ if (reader.isEndGroup()) {
6764
+ break;
6765
+ }
6766
+ var field = reader.getFieldNumber();
6767
+ switch (field) {
6768
+ case 1:
6769
+ var value = /** @type {number} */ (reader.readInt64());
6770
+ msg.setTotalNameCount(value);
6771
+ break;
6772
+ case 2:
6773
+ var value = /** @type {number} */ (reader.readInt64());
6774
+ msg.setTotalGroupCount(value);
6775
+ break;
6776
+ case 3:
6777
+ var value = /** @type {number} */ (reader.readInt64());
6778
+ msg.setTotalUnreviewedGroupCount(value);
6779
+ break;
6780
+ case 4:
6781
+ var value = /** @type {number} */ (reader.readInt64());
6782
+ msg.setUnreviewedGroupCount(value);
6783
+ break;
6784
+ case 5:
6785
+ var value = /** @type {number} */ (reader.readInt64());
6786
+ msg.setReviewedGroupCount(value);
6787
+ break;
6788
+ case 6:
6789
+ var value = /** @type {number} */ (reader.readInt64());
6790
+ msg.setObservedGroupCount(value);
6791
+ break;
6792
+ case 7:
6793
+ var value = /** @type {number} */ (reader.readInt64());
6794
+ msg.setUnobservedGroupCount(value);
6795
+ break;
6796
+ case 8:
6797
+ var value = /** @type {number} */ (reader.readInt64());
6798
+ msg.setUnreviewedNameCount(value);
6799
+ break;
6800
+ case 9:
6801
+ var value = new proto.gateway.web.v1.AIReferenceSourceCount;
6802
+ reader.readMessage(value,proto.gateway.web.v1.AIReferenceSourceCount.deserializeBinaryFromReader);
6803
+ msg.addSources(value);
6804
+ break;
6805
+ default:
6806
+ reader.skipField();
6807
+ break;
6808
+ }
6809
+ }
6810
+ return msg;
6811
+ };
6812
+
6813
+
6814
+ /**
6815
+ * Serializes the message to binary data (in protobuf wire format).
6816
+ * @return {!Uint8Array}
6817
+ */
6818
+ proto.gateway.web.v1.AIReferenceGroupCounts.prototype.serializeBinary = function() {
6819
+ var writer = new jspb.BinaryWriter();
6820
+ proto.gateway.web.v1.AIReferenceGroupCounts.serializeBinaryToWriter(this, writer);
6821
+ return writer.getResultBuffer();
6822
+ };
6823
+
6824
+
6825
+ /**
6826
+ * Serializes the given message to binary data (in protobuf wire
6827
+ * format), writing to the given BinaryWriter.
6828
+ * @param {!proto.gateway.web.v1.AIReferenceGroupCounts} message
6829
+ * @param {!jspb.BinaryWriter} writer
6830
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6831
+ */
6832
+ proto.gateway.web.v1.AIReferenceGroupCounts.serializeBinaryToWriter = function(message, writer) {
6833
+ var f = undefined;
6834
+ f = message.getTotalNameCount();
6835
+ if (f !== 0) {
6836
+ writer.writeInt64(
6837
+ 1,
6838
+ f
6839
+ );
6840
+ }
6841
+ f = message.getTotalGroupCount();
6842
+ if (f !== 0) {
6843
+ writer.writeInt64(
6844
+ 2,
6845
+ f
6846
+ );
6847
+ }
6848
+ f = message.getTotalUnreviewedGroupCount();
6849
+ if (f !== 0) {
6850
+ writer.writeInt64(
6851
+ 3,
6852
+ f
6853
+ );
6854
+ }
6855
+ f = message.getUnreviewedGroupCount();
6856
+ if (f !== 0) {
6857
+ writer.writeInt64(
6858
+ 4,
6859
+ f
6860
+ );
6861
+ }
6862
+ f = message.getReviewedGroupCount();
6863
+ if (f !== 0) {
6864
+ writer.writeInt64(
6865
+ 5,
6866
+ f
6867
+ );
6868
+ }
6869
+ f = message.getObservedGroupCount();
6870
+ if (f !== 0) {
6871
+ writer.writeInt64(
6872
+ 6,
6873
+ f
6874
+ );
6875
+ }
6876
+ f = message.getUnobservedGroupCount();
6877
+ if (f !== 0) {
6878
+ writer.writeInt64(
6879
+ 7,
6880
+ f
6881
+ );
6882
+ }
6883
+ f = message.getUnreviewedNameCount();
6884
+ if (f !== 0) {
6885
+ writer.writeInt64(
6886
+ 8,
6887
+ f
6888
+ );
6889
+ }
6890
+ f = message.getSourcesList();
6891
+ if (f.length > 0) {
6892
+ writer.writeRepeatedMessage(
6893
+ 9,
6894
+ f,
6895
+ proto.gateway.web.v1.AIReferenceSourceCount.serializeBinaryToWriter
6896
+ );
6897
+ }
6898
+ };
6899
+
6900
+
6901
+ /**
6902
+ * optional int64 total_name_count = 1;
6903
+ * @return {number}
6904
+ */
6905
+ proto.gateway.web.v1.AIReferenceGroupCounts.prototype.getTotalNameCount = function() {
6906
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
6907
+ };
6908
+
6909
+
6910
+ /**
6911
+ * @param {number} value
6912
+ * @return {!proto.gateway.web.v1.AIReferenceGroupCounts} returns this
6913
+ */
6914
+ proto.gateway.web.v1.AIReferenceGroupCounts.prototype.setTotalNameCount = function(value) {
6915
+ return jspb.Message.setProto3IntField(this, 1, value);
6916
+ };
6917
+
6918
+
6919
+ /**
6920
+ * optional int64 total_group_count = 2;
6921
+ * @return {number}
6922
+ */
6923
+ proto.gateway.web.v1.AIReferenceGroupCounts.prototype.getTotalGroupCount = function() {
6924
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
6925
+ };
6926
+
6927
+
6928
+ /**
6929
+ * @param {number} value
6930
+ * @return {!proto.gateway.web.v1.AIReferenceGroupCounts} returns this
6931
+ */
6932
+ proto.gateway.web.v1.AIReferenceGroupCounts.prototype.setTotalGroupCount = function(value) {
6933
+ return jspb.Message.setProto3IntField(this, 2, value);
6934
+ };
6935
+
6936
+
6937
+ /**
6938
+ * optional int64 total_unreviewed_group_count = 3;
6939
+ * @return {number}
6940
+ */
6941
+ proto.gateway.web.v1.AIReferenceGroupCounts.prototype.getTotalUnreviewedGroupCount = function() {
6942
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
6943
+ };
6944
+
6945
+
6946
+ /**
6947
+ * @param {number} value
6948
+ * @return {!proto.gateway.web.v1.AIReferenceGroupCounts} returns this
6949
+ */
6950
+ proto.gateway.web.v1.AIReferenceGroupCounts.prototype.setTotalUnreviewedGroupCount = function(value) {
6951
+ return jspb.Message.setProto3IntField(this, 3, value);
6952
+ };
6953
+
6954
+
6955
+ /**
6956
+ * optional int64 unreviewed_group_count = 4;
6957
+ * @return {number}
6958
+ */
6959
+ proto.gateway.web.v1.AIReferenceGroupCounts.prototype.getUnreviewedGroupCount = function() {
6960
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
6961
+ };
6962
+
6963
+
6964
+ /**
6965
+ * @param {number} value
6966
+ * @return {!proto.gateway.web.v1.AIReferenceGroupCounts} returns this
6967
+ */
6968
+ proto.gateway.web.v1.AIReferenceGroupCounts.prototype.setUnreviewedGroupCount = function(value) {
6969
+ return jspb.Message.setProto3IntField(this, 4, value);
6970
+ };
6971
+
6972
+
6973
+ /**
6974
+ * optional int64 reviewed_group_count = 5;
6975
+ * @return {number}
6976
+ */
6977
+ proto.gateway.web.v1.AIReferenceGroupCounts.prototype.getReviewedGroupCount = function() {
6978
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
6979
+ };
6980
+
6981
+
6982
+ /**
6983
+ * @param {number} value
6984
+ * @return {!proto.gateway.web.v1.AIReferenceGroupCounts} returns this
6985
+ */
6986
+ proto.gateway.web.v1.AIReferenceGroupCounts.prototype.setReviewedGroupCount = function(value) {
6987
+ return jspb.Message.setProto3IntField(this, 5, value);
6988
+ };
6989
+
6990
+
6991
+ /**
6992
+ * optional int64 observed_group_count = 6;
6993
+ * @return {number}
6994
+ */
6995
+ proto.gateway.web.v1.AIReferenceGroupCounts.prototype.getObservedGroupCount = function() {
6996
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
6997
+ };
6998
+
6999
+
7000
+ /**
7001
+ * @param {number} value
7002
+ * @return {!proto.gateway.web.v1.AIReferenceGroupCounts} returns this
7003
+ */
7004
+ proto.gateway.web.v1.AIReferenceGroupCounts.prototype.setObservedGroupCount = function(value) {
7005
+ return jspb.Message.setProto3IntField(this, 6, value);
7006
+ };
7007
+
7008
+
7009
+ /**
7010
+ * optional int64 unobserved_group_count = 7;
7011
+ * @return {number}
7012
+ */
7013
+ proto.gateway.web.v1.AIReferenceGroupCounts.prototype.getUnobservedGroupCount = function() {
7014
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
7015
+ };
7016
+
7017
+
7018
+ /**
7019
+ * @param {number} value
7020
+ * @return {!proto.gateway.web.v1.AIReferenceGroupCounts} returns this
7021
+ */
7022
+ proto.gateway.web.v1.AIReferenceGroupCounts.prototype.setUnobservedGroupCount = function(value) {
7023
+ return jspb.Message.setProto3IntField(this, 7, value);
7024
+ };
7025
+
7026
+
7027
+ /**
7028
+ * optional int64 unreviewed_name_count = 8;
7029
+ * @return {number}
7030
+ */
7031
+ proto.gateway.web.v1.AIReferenceGroupCounts.prototype.getUnreviewedNameCount = function() {
7032
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
7033
+ };
7034
+
7035
+
7036
+ /**
7037
+ * @param {number} value
7038
+ * @return {!proto.gateway.web.v1.AIReferenceGroupCounts} returns this
7039
+ */
7040
+ proto.gateway.web.v1.AIReferenceGroupCounts.prototype.setUnreviewedNameCount = function(value) {
7041
+ return jspb.Message.setProto3IntField(this, 8, value);
7042
+ };
7043
+
7044
+
7045
+ /**
7046
+ * repeated AIReferenceSourceCount sources = 9;
7047
+ * @return {!Array<!proto.gateway.web.v1.AIReferenceSourceCount>}
7048
+ */
7049
+ proto.gateway.web.v1.AIReferenceGroupCounts.prototype.getSourcesList = function() {
7050
+ return /** @type{!Array<!proto.gateway.web.v1.AIReferenceSourceCount>} */ (
7051
+ jspb.Message.getRepeatedWrapperField(this, proto.gateway.web.v1.AIReferenceSourceCount, 9));
7052
+ };
7053
+
7054
+
7055
+ /**
7056
+ * @param {!Array<!proto.gateway.web.v1.AIReferenceSourceCount>} value
7057
+ * @return {!proto.gateway.web.v1.AIReferenceGroupCounts} returns this
7058
+ */
7059
+ proto.gateway.web.v1.AIReferenceGroupCounts.prototype.setSourcesList = function(value) {
7060
+ return jspb.Message.setRepeatedWrapperField(this, 9, value);
7061
+ };
7062
+
7063
+
7064
+ /**
7065
+ * @param {!proto.gateway.web.v1.AIReferenceSourceCount=} opt_value
7066
+ * @param {number=} opt_index
7067
+ * @return {!proto.gateway.web.v1.AIReferenceSourceCount}
7068
+ */
7069
+ proto.gateway.web.v1.AIReferenceGroupCounts.prototype.addSources = function(opt_value, opt_index) {
7070
+ return jspb.Message.addToRepeatedWrapperField(this, 9, opt_value, proto.gateway.web.v1.AIReferenceSourceCount, opt_index);
7071
+ };
7072
+
7073
+
7074
+ /**
7075
+ * Clears the list making it empty but non-null.
7076
+ * @return {!proto.gateway.web.v1.AIReferenceGroupCounts} returns this
7077
+ */
7078
+ proto.gateway.web.v1.AIReferenceGroupCounts.prototype.clearSourcesList = function() {
7079
+ return this.setSourcesList([]);
7080
+ };
7081
+
7082
+
7083
+
7084
+
7085
+
7086
+ if (jspb.Message.GENERATE_TO_OBJECT) {
7087
+ /**
7088
+ * Creates an object representation of this proto.
7089
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
7090
+ * Optional fields that are not set will be set to undefined.
7091
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
7092
+ * For the list of reserved names please see:
7093
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
7094
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
7095
+ * JSPB instance for transitional soy proto support:
7096
+ * http://goto/soy-param-migration
7097
+ * @return {!Object}
7098
+ */
7099
+ proto.gateway.web.v1.AIReferenceSourceCount.prototype.toObject = function(opt_includeInstance) {
7100
+ return proto.gateway.web.v1.AIReferenceSourceCount.toObject(opt_includeInstance, this);
7101
+ };
7102
+
7103
+
7104
+ /**
7105
+ * Static version of the {@see toObject} method.
7106
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
7107
+ * the JSPB instance for transitional soy proto support:
7108
+ * http://goto/soy-param-migration
7109
+ * @param {!proto.gateway.web.v1.AIReferenceSourceCount} msg The msg instance to transform.
7110
+ * @return {!Object}
7111
+ * @suppress {unusedLocalVariables} f is only used for nested messages
7112
+ */
7113
+ proto.gateway.web.v1.AIReferenceSourceCount.toObject = function(includeInstance, msg) {
7114
+ var f, obj = {
7115
+ sourceSystem: jspb.Message.getFieldWithDefault(msg, 1, ""),
7116
+ groupCount: jspb.Message.getFieldWithDefault(msg, 2, 0)
7117
+ };
7118
+
7119
+ if (includeInstance) {
7120
+ obj.$jspbMessageInstance = msg;
7121
+ }
7122
+ return obj;
7123
+ };
7124
+ }
7125
+
7126
+
7127
+ /**
7128
+ * Deserializes binary data (in protobuf wire format).
7129
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
7130
+ * @return {!proto.gateway.web.v1.AIReferenceSourceCount}
7131
+ */
7132
+ proto.gateway.web.v1.AIReferenceSourceCount.deserializeBinary = function(bytes) {
7133
+ var reader = new jspb.BinaryReader(bytes);
7134
+ var msg = new proto.gateway.web.v1.AIReferenceSourceCount;
7135
+ return proto.gateway.web.v1.AIReferenceSourceCount.deserializeBinaryFromReader(msg, reader);
7136
+ };
7137
+
7138
+
7139
+ /**
7140
+ * Deserializes binary data (in protobuf wire format) from the
7141
+ * given reader into the given message object.
7142
+ * @param {!proto.gateway.web.v1.AIReferenceSourceCount} msg The message object to deserialize into.
7143
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
7144
+ * @return {!proto.gateway.web.v1.AIReferenceSourceCount}
7145
+ */
7146
+ proto.gateway.web.v1.AIReferenceSourceCount.deserializeBinaryFromReader = function(msg, reader) {
7147
+ while (reader.nextField()) {
7148
+ if (reader.isEndGroup()) {
7149
+ break;
7150
+ }
7151
+ var field = reader.getFieldNumber();
7152
+ switch (field) {
7153
+ case 1:
7154
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
7155
+ msg.setSourceSystem(value);
7156
+ break;
7157
+ case 2:
7158
+ var value = /** @type {number} */ (reader.readInt64());
7159
+ msg.setGroupCount(value);
7160
+ break;
7161
+ default:
7162
+ reader.skipField();
7163
+ break;
7164
+ }
7165
+ }
7166
+ return msg;
7167
+ };
7168
+
7169
+
7170
+ /**
7171
+ * Serializes the message to binary data (in protobuf wire format).
7172
+ * @return {!Uint8Array}
7173
+ */
7174
+ proto.gateway.web.v1.AIReferenceSourceCount.prototype.serializeBinary = function() {
7175
+ var writer = new jspb.BinaryWriter();
7176
+ proto.gateway.web.v1.AIReferenceSourceCount.serializeBinaryToWriter(this, writer);
7177
+ return writer.getResultBuffer();
7178
+ };
7179
+
7180
+
7181
+ /**
7182
+ * Serializes the given message to binary data (in protobuf wire
7183
+ * format), writing to the given BinaryWriter.
7184
+ * @param {!proto.gateway.web.v1.AIReferenceSourceCount} message
7185
+ * @param {!jspb.BinaryWriter} writer
7186
+ * @suppress {unusedLocalVariables} f is only used for nested messages
7187
+ */
7188
+ proto.gateway.web.v1.AIReferenceSourceCount.serializeBinaryToWriter = function(message, writer) {
7189
+ var f = undefined;
7190
+ f = message.getSourceSystem();
7191
+ if (f.length > 0) {
7192
+ writer.writeString(
7193
+ 1,
7194
+ f
7195
+ );
7196
+ }
7197
+ f = message.getGroupCount();
7198
+ if (f !== 0) {
7199
+ writer.writeInt64(
7200
+ 2,
7201
+ f
7202
+ );
7203
+ }
7204
+ };
7205
+
7206
+
7207
+ /**
7208
+ * optional string source_system = 1;
7209
+ * @return {string}
7210
+ */
7211
+ proto.gateway.web.v1.AIReferenceSourceCount.prototype.getSourceSystem = function() {
7212
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
7213
+ };
7214
+
7215
+
7216
+ /**
7217
+ * @param {string} value
7218
+ * @return {!proto.gateway.web.v1.AIReferenceSourceCount} returns this
7219
+ */
7220
+ proto.gateway.web.v1.AIReferenceSourceCount.prototype.setSourceSystem = function(value) {
7221
+ return jspb.Message.setProto3StringField(this, 1, value);
7222
+ };
7223
+
7224
+
7225
+ /**
7226
+ * optional int64 group_count = 2;
7227
+ * @return {number}
7228
+ */
7229
+ proto.gateway.web.v1.AIReferenceSourceCount.prototype.getGroupCount = function() {
7230
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
7231
+ };
7232
+
7233
+
7234
+ /**
7235
+ * @param {number} value
7236
+ * @return {!proto.gateway.web.v1.AIReferenceSourceCount} returns this
7237
+ */
7238
+ proto.gateway.web.v1.AIReferenceSourceCount.prototype.setGroupCount = function(value) {
7239
+ return jspb.Message.setProto3IntField(this, 2, value);
7240
+ };
7241
+
7242
+
7243
+
7244
+ /**
7245
+ * List of repeated fields within this message type.
7246
+ * @private {!Array<number>}
7247
+ * @const
7248
+ */
7249
+ proto.gateway.web.v1.AIReferenceName.repeatedFields_ = [3];
7250
+
7251
+
7252
+
7253
+ if (jspb.Message.GENERATE_TO_OBJECT) {
7254
+ /**
7255
+ * Creates an object representation of this proto.
7256
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
7257
+ * Optional fields that are not set will be set to undefined.
7258
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
7259
+ * For the list of reserved names please see:
7260
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
7261
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
7262
+ * JSPB instance for transitional soy proto support:
7263
+ * http://goto/soy-param-migration
7264
+ * @return {!Object}
7265
+ */
7266
+ proto.gateway.web.v1.AIReferenceName.prototype.toObject = function(opt_includeInstance) {
7267
+ return proto.gateway.web.v1.AIReferenceName.toObject(opt_includeInstance, this);
7268
+ };
7269
+
7270
+
7271
+ /**
7272
+ * Static version of the {@see toObject} method.
7273
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
7274
+ * the JSPB instance for transitional soy proto support:
7275
+ * http://goto/soy-param-migration
7276
+ * @param {!proto.gateway.web.v1.AIReferenceName} msg The msg instance to transform.
7277
+ * @return {!Object}
7278
+ * @suppress {unusedLocalVariables} f is only used for nested messages
7279
+ */
7280
+ proto.gateway.web.v1.AIReferenceName.toObject = function(includeInstance, msg) {
7281
+ var f, obj = {
7282
+ name: jspb.Message.getFieldWithDefault(msg, 1, ""),
7283
+ displayName: jspb.Message.getFieldWithDefault(msg, 2, ""),
7284
+ sourceSystemsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
7285
+ origin: jspb.Message.getFieldWithDefault(msg, 4, 0),
7286
+ updatedAt: (f = msg.getUpdatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
7287
+ observed: jspb.Message.getBooleanFieldWithDefault(msg, 6, false)
7288
+ };
7289
+
7290
+ if (includeInstance) {
7291
+ obj.$jspbMessageInstance = msg;
7292
+ }
7293
+ return obj;
7294
+ };
7295
+ }
7296
+
7297
+
7298
+ /**
7299
+ * Deserializes binary data (in protobuf wire format).
7300
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
7301
+ * @return {!proto.gateway.web.v1.AIReferenceName}
7302
+ */
7303
+ proto.gateway.web.v1.AIReferenceName.deserializeBinary = function(bytes) {
7304
+ var reader = new jspb.BinaryReader(bytes);
7305
+ var msg = new proto.gateway.web.v1.AIReferenceName;
7306
+ return proto.gateway.web.v1.AIReferenceName.deserializeBinaryFromReader(msg, reader);
7307
+ };
7308
+
7309
+
7310
+ /**
7311
+ * Deserializes binary data (in protobuf wire format) from the
7312
+ * given reader into the given message object.
7313
+ * @param {!proto.gateway.web.v1.AIReferenceName} msg The message object to deserialize into.
7314
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
7315
+ * @return {!proto.gateway.web.v1.AIReferenceName}
7316
+ */
7317
+ proto.gateway.web.v1.AIReferenceName.deserializeBinaryFromReader = function(msg, reader) {
7318
+ while (reader.nextField()) {
7319
+ if (reader.isEndGroup()) {
7320
+ break;
7321
+ }
7322
+ var field = reader.getFieldNumber();
7323
+ switch (field) {
7324
+ case 1:
7325
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
7326
+ msg.setName(value);
7327
+ break;
7328
+ case 2:
7329
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
7330
+ msg.setDisplayName(value);
7331
+ break;
7332
+ case 3:
7333
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
7334
+ msg.addSourceSystems(value);
7335
+ break;
7336
+ case 4:
7337
+ var value = /** @type {!proto.gateway.web.v1.AIReferenceNameOrigin} */ (reader.readEnum());
7338
+ msg.setOrigin(value);
7339
+ break;
7340
+ case 5:
7341
+ var value = new google_protobuf_timestamp_pb.Timestamp;
7342
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
7343
+ msg.setUpdatedAt(value);
7344
+ break;
7345
+ case 6:
7346
+ var value = /** @type {boolean} */ (reader.readBool());
7347
+ msg.setObserved(value);
7348
+ break;
7349
+ default:
7350
+ reader.skipField();
7351
+ break;
7352
+ }
7353
+ }
7354
+ return msg;
7355
+ };
7356
+
7357
+
7358
+ /**
7359
+ * Serializes the message to binary data (in protobuf wire format).
7360
+ * @return {!Uint8Array}
7361
+ */
7362
+ proto.gateway.web.v1.AIReferenceName.prototype.serializeBinary = function() {
7363
+ var writer = new jspb.BinaryWriter();
7364
+ proto.gateway.web.v1.AIReferenceName.serializeBinaryToWriter(this, writer);
7365
+ return writer.getResultBuffer();
7366
+ };
7367
+
7368
+
7369
+ /**
7370
+ * Serializes the given message to binary data (in protobuf wire
7371
+ * format), writing to the given BinaryWriter.
7372
+ * @param {!proto.gateway.web.v1.AIReferenceName} message
7373
+ * @param {!jspb.BinaryWriter} writer
7374
+ * @suppress {unusedLocalVariables} f is only used for nested messages
7375
+ */
7376
+ proto.gateway.web.v1.AIReferenceName.serializeBinaryToWriter = function(message, writer) {
7377
+ var f = undefined;
7378
+ f = message.getName();
7379
+ if (f.length > 0) {
7380
+ writer.writeString(
7381
+ 1,
7382
+ f
7383
+ );
7384
+ }
7385
+ f = message.getDisplayName();
7386
+ if (f.length > 0) {
7387
+ writer.writeString(
3672
7388
  2,
3673
7389
  f
3674
7390
  );
@@ -3860,6 +7576,24 @@ proto.gateway.web.v1.AIReferenceNameScope = {
3860
7576
  AI_REFERENCE_NAME_SCOPE_ALL: 2
3861
7577
  };
3862
7578
 
7579
+ /**
7580
+ * @enum {number}
7581
+ */
7582
+ proto.gateway.web.v1.AIReferenceGroupStatus = {
7583
+ AI_REFERENCE_GROUP_STATUS_UNSPECIFIED: 0,
7584
+ AI_REFERENCE_GROUP_STATUS_UNREVIEWED: 1,
7585
+ AI_REFERENCE_GROUP_STATUS_REVIEWED: 2
7586
+ };
7587
+
7588
+ /**
7589
+ * @enum {number}
7590
+ */
7591
+ proto.gateway.web.v1.AIReferenceGroupObservation = {
7592
+ AI_REFERENCE_GROUP_OBSERVATION_UNSPECIFIED: 0,
7593
+ AI_REFERENCE_GROUP_OBSERVATION_OBSERVED: 1,
7594
+ AI_REFERENCE_GROUP_OBSERVATION_UNOBSERVED: 2
7595
+ };
7596
+
3863
7597
  /**
3864
7598
  * @enum {number}
3865
7599
  */