protobuf-platform 1.2.728 → 1.2.730

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.
package/log/log_pb.js CHANGED
@@ -25,6 +25,17 @@ goog.exportSymbol('proto.log.ActivityChange', null, global);
25
25
  goog.exportSymbol('proto.log.ActivitySearchRequest', null, global);
26
26
  goog.exportSymbol('proto.log.ActivityTrailItem', null, global);
27
27
  goog.exportSymbol('proto.log.ActivityTrailItemsResponse', null, global);
28
+ goog.exportSymbol('proto.log.AuditDetailRequest', null, global);
29
+ goog.exportSymbol('proto.log.AuditDetailResponse', null, global);
30
+ goog.exportSymbol('proto.log.AuditFieldChange', null, global);
31
+ goog.exportSymbol('proto.log.AuditFieldChange.DisplayCase', null, global);
32
+ goog.exportSymbol('proto.log.AuditListRequest', null, global);
33
+ goog.exportSymbol('proto.log.AuditListResponse', null, global);
34
+ goog.exportSymbol('proto.log.AuditReadScope', null, global);
35
+ goog.exportSymbol('proto.log.AuditScalar', null, global);
36
+ goog.exportSymbol('proto.log.AuditScalar.ValueCase', null, global);
37
+ goog.exportSymbol('proto.log.AuditSummary', null, global);
38
+ goog.exportSymbol('proto.log.AuditTransition', null, global);
28
39
  goog.exportSymbol('proto.log.IssueItem', null, global);
29
40
  goog.exportSymbol('proto.log.IssueItemsResponse', null, global);
30
41
  goog.exportSymbol('proto.log.LogSearchRequest', null, global);
@@ -307,6 +318,195 @@ if (goog.DEBUG && !COMPILED) {
307
318
  */
308
319
  proto.log.ActivityTrailItemsResponse.displayName = 'proto.log.ActivityTrailItemsResponse';
309
320
  }
321
+ /**
322
+ * Generated by JsPbCodeGenerator.
323
+ * @param {Array=} opt_data Optional initial data array, typically from a
324
+ * server response, or constructed directly in Javascript. The array is used
325
+ * in place and becomes part of the constructed object. It is not cloned.
326
+ * If no data is provided, the constructed object will be empty, but still
327
+ * valid.
328
+ * @extends {jspb.Message}
329
+ * @constructor
330
+ */
331
+ proto.log.AuditReadScope = function(opt_data) {
332
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
333
+ };
334
+ goog.inherits(proto.log.AuditReadScope, jspb.Message);
335
+ if (goog.DEBUG && !COMPILED) {
336
+ /**
337
+ * @public
338
+ * @override
339
+ */
340
+ proto.log.AuditReadScope.displayName = 'proto.log.AuditReadScope';
341
+ }
342
+ /**
343
+ * Generated by JsPbCodeGenerator.
344
+ * @param {Array=} opt_data Optional initial data array, typically from a
345
+ * server response, or constructed directly in Javascript. The array is used
346
+ * in place and becomes part of the constructed object. It is not cloned.
347
+ * If no data is provided, the constructed object will be empty, but still
348
+ * valid.
349
+ * @extends {jspb.Message}
350
+ * @constructor
351
+ */
352
+ proto.log.AuditListRequest = function(opt_data) {
353
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
354
+ };
355
+ goog.inherits(proto.log.AuditListRequest, jspb.Message);
356
+ if (goog.DEBUG && !COMPILED) {
357
+ /**
358
+ * @public
359
+ * @override
360
+ */
361
+ proto.log.AuditListRequest.displayName = 'proto.log.AuditListRequest';
362
+ }
363
+ /**
364
+ * Generated by JsPbCodeGenerator.
365
+ * @param {Array=} opt_data Optional initial data array, typically from a
366
+ * server response, or constructed directly in Javascript. The array is used
367
+ * in place and becomes part of the constructed object. It is not cloned.
368
+ * If no data is provided, the constructed object will be empty, but still
369
+ * valid.
370
+ * @extends {jspb.Message}
371
+ * @constructor
372
+ */
373
+ proto.log.AuditDetailRequest = function(opt_data) {
374
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
375
+ };
376
+ goog.inherits(proto.log.AuditDetailRequest, jspb.Message);
377
+ if (goog.DEBUG && !COMPILED) {
378
+ /**
379
+ * @public
380
+ * @override
381
+ */
382
+ proto.log.AuditDetailRequest.displayName = 'proto.log.AuditDetailRequest';
383
+ }
384
+ /**
385
+ * Generated by JsPbCodeGenerator.
386
+ * @param {Array=} opt_data Optional initial data array, typically from a
387
+ * server response, or constructed directly in Javascript. The array is used
388
+ * in place and becomes part of the constructed object. It is not cloned.
389
+ * If no data is provided, the constructed object will be empty, but still
390
+ * valid.
391
+ * @extends {jspb.Message}
392
+ * @constructor
393
+ */
394
+ proto.log.AuditSummary = function(opt_data) {
395
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.log.AuditSummary.repeatedFields_, null);
396
+ };
397
+ goog.inherits(proto.log.AuditSummary, jspb.Message);
398
+ if (goog.DEBUG && !COMPILED) {
399
+ /**
400
+ * @public
401
+ * @override
402
+ */
403
+ proto.log.AuditSummary.displayName = 'proto.log.AuditSummary';
404
+ }
405
+ /**
406
+ * Generated by JsPbCodeGenerator.
407
+ * @param {Array=} opt_data Optional initial data array, typically from a
408
+ * server response, or constructed directly in Javascript. The array is used
409
+ * in place and becomes part of the constructed object. It is not cloned.
410
+ * If no data is provided, the constructed object will be empty, but still
411
+ * valid.
412
+ * @extends {jspb.Message}
413
+ * @constructor
414
+ */
415
+ proto.log.AuditListResponse = function(opt_data) {
416
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.log.AuditListResponse.repeatedFields_, null);
417
+ };
418
+ goog.inherits(proto.log.AuditListResponse, jspb.Message);
419
+ if (goog.DEBUG && !COMPILED) {
420
+ /**
421
+ * @public
422
+ * @override
423
+ */
424
+ proto.log.AuditListResponse.displayName = 'proto.log.AuditListResponse';
425
+ }
426
+ /**
427
+ * Generated by JsPbCodeGenerator.
428
+ * @param {Array=} opt_data Optional initial data array, typically from a
429
+ * server response, or constructed directly in Javascript. The array is used
430
+ * in place and becomes part of the constructed object. It is not cloned.
431
+ * If no data is provided, the constructed object will be empty, but still
432
+ * valid.
433
+ * @extends {jspb.Message}
434
+ * @constructor
435
+ */
436
+ proto.log.AuditScalar = function(opt_data) {
437
+ jspb.Message.initialize(this, opt_data, 0, -1, null, proto.log.AuditScalar.oneofGroups_);
438
+ };
439
+ goog.inherits(proto.log.AuditScalar, jspb.Message);
440
+ if (goog.DEBUG && !COMPILED) {
441
+ /**
442
+ * @public
443
+ * @override
444
+ */
445
+ proto.log.AuditScalar.displayName = 'proto.log.AuditScalar';
446
+ }
447
+ /**
448
+ * Generated by JsPbCodeGenerator.
449
+ * @param {Array=} opt_data Optional initial data array, typically from a
450
+ * server response, or constructed directly in Javascript. The array is used
451
+ * in place and becomes part of the constructed object. It is not cloned.
452
+ * If no data is provided, the constructed object will be empty, but still
453
+ * valid.
454
+ * @extends {jspb.Message}
455
+ * @constructor
456
+ */
457
+ proto.log.AuditTransition = function(opt_data) {
458
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
459
+ };
460
+ goog.inherits(proto.log.AuditTransition, jspb.Message);
461
+ if (goog.DEBUG && !COMPILED) {
462
+ /**
463
+ * @public
464
+ * @override
465
+ */
466
+ proto.log.AuditTransition.displayName = 'proto.log.AuditTransition';
467
+ }
468
+ /**
469
+ * Generated by JsPbCodeGenerator.
470
+ * @param {Array=} opt_data Optional initial data array, typically from a
471
+ * server response, or constructed directly in Javascript. The array is used
472
+ * in place and becomes part of the constructed object. It is not cloned.
473
+ * If no data is provided, the constructed object will be empty, but still
474
+ * valid.
475
+ * @extends {jspb.Message}
476
+ * @constructor
477
+ */
478
+ proto.log.AuditFieldChange = function(opt_data) {
479
+ jspb.Message.initialize(this, opt_data, 0, -1, null, proto.log.AuditFieldChange.oneofGroups_);
480
+ };
481
+ goog.inherits(proto.log.AuditFieldChange, jspb.Message);
482
+ if (goog.DEBUG && !COMPILED) {
483
+ /**
484
+ * @public
485
+ * @override
486
+ */
487
+ proto.log.AuditFieldChange.displayName = 'proto.log.AuditFieldChange';
488
+ }
489
+ /**
490
+ * Generated by JsPbCodeGenerator.
491
+ * @param {Array=} opt_data Optional initial data array, typically from a
492
+ * server response, or constructed directly in Javascript. The array is used
493
+ * in place and becomes part of the constructed object. It is not cloned.
494
+ * If no data is provided, the constructed object will be empty, but still
495
+ * valid.
496
+ * @extends {jspb.Message}
497
+ * @constructor
498
+ */
499
+ proto.log.AuditDetailResponse = function(opt_data) {
500
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.log.AuditDetailResponse.repeatedFields_, null);
501
+ };
502
+ goog.inherits(proto.log.AuditDetailResponse, jspb.Message);
503
+ if (goog.DEBUG && !COMPILED) {
504
+ /**
505
+ * @public
506
+ * @override
507
+ */
508
+ proto.log.AuditDetailResponse.displayName = 'proto.log.AuditDetailResponse';
509
+ }
310
510
 
311
511
 
312
512
 
@@ -3341,4 +3541,2282 @@ proto.log.ActivityTrailItemsResponse.prototype.hasTotalItems = function() {
3341
3541
  };
3342
3542
 
3343
3543
 
3544
+
3545
+
3546
+
3547
+ if (jspb.Message.GENERATE_TO_OBJECT) {
3548
+ /**
3549
+ * Creates an object representation of this proto.
3550
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
3551
+ * Optional fields that are not set will be set to undefined.
3552
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3553
+ * For the list of reserved names please see:
3554
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3555
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3556
+ * JSPB instance for transitional soy proto support:
3557
+ * http://goto/soy-param-migration
3558
+ * @return {!Object}
3559
+ */
3560
+ proto.log.AuditReadScope.prototype.toObject = function(opt_includeInstance) {
3561
+ return proto.log.AuditReadScope.toObject(opt_includeInstance, this);
3562
+ };
3563
+
3564
+
3565
+ /**
3566
+ * Static version of the {@see toObject} method.
3567
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3568
+ * the JSPB instance for transitional soy proto support:
3569
+ * http://goto/soy-param-migration
3570
+ * @param {!proto.log.AuditReadScope} msg The msg instance to transform.
3571
+ * @return {!Object}
3572
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3573
+ */
3574
+ proto.log.AuditReadScope.toObject = function(includeInstance, msg) {
3575
+ var f, obj = {
3576
+ entityType: jspb.Message.getFieldWithDefault(msg, 1, ""),
3577
+ entityId: jspb.Message.getFieldWithDefault(msg, 2, "")
3578
+ };
3579
+
3580
+ if (includeInstance) {
3581
+ obj.$jspbMessageInstance = msg;
3582
+ }
3583
+ return obj;
3584
+ };
3585
+ }
3586
+
3587
+
3588
+ /**
3589
+ * Deserializes binary data (in protobuf wire format).
3590
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
3591
+ * @return {!proto.log.AuditReadScope}
3592
+ */
3593
+ proto.log.AuditReadScope.deserializeBinary = function(bytes) {
3594
+ var reader = new jspb.BinaryReader(bytes);
3595
+ var msg = new proto.log.AuditReadScope;
3596
+ return proto.log.AuditReadScope.deserializeBinaryFromReader(msg, reader);
3597
+ };
3598
+
3599
+
3600
+ /**
3601
+ * Deserializes binary data (in protobuf wire format) from the
3602
+ * given reader into the given message object.
3603
+ * @param {!proto.log.AuditReadScope} msg The message object to deserialize into.
3604
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3605
+ * @return {!proto.log.AuditReadScope}
3606
+ */
3607
+ proto.log.AuditReadScope.deserializeBinaryFromReader = function(msg, reader) {
3608
+ while (reader.nextField()) {
3609
+ if (reader.isEndGroup()) {
3610
+ break;
3611
+ }
3612
+ var field = reader.getFieldNumber();
3613
+ switch (field) {
3614
+ case 1:
3615
+ var value = /** @type {string} */ (reader.readString());
3616
+ msg.setEntityType(value);
3617
+ break;
3618
+ case 2:
3619
+ var value = /** @type {string} */ (reader.readString());
3620
+ msg.setEntityId(value);
3621
+ break;
3622
+ default:
3623
+ reader.skipField();
3624
+ break;
3625
+ }
3626
+ }
3627
+ return msg;
3628
+ };
3629
+
3630
+
3631
+ /**
3632
+ * Serializes the message to binary data (in protobuf wire format).
3633
+ * @return {!Uint8Array}
3634
+ */
3635
+ proto.log.AuditReadScope.prototype.serializeBinary = function() {
3636
+ var writer = new jspb.BinaryWriter();
3637
+ proto.log.AuditReadScope.serializeBinaryToWriter(this, writer);
3638
+ return writer.getResultBuffer();
3639
+ };
3640
+
3641
+
3642
+ /**
3643
+ * Serializes the given message to binary data (in protobuf wire
3644
+ * format), writing to the given BinaryWriter.
3645
+ * @param {!proto.log.AuditReadScope} message
3646
+ * @param {!jspb.BinaryWriter} writer
3647
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3648
+ */
3649
+ proto.log.AuditReadScope.serializeBinaryToWriter = function(message, writer) {
3650
+ var f = undefined;
3651
+ f = message.getEntityType();
3652
+ if (f.length > 0) {
3653
+ writer.writeString(
3654
+ 1,
3655
+ f
3656
+ );
3657
+ }
3658
+ f = message.getEntityId();
3659
+ if (f.length > 0) {
3660
+ writer.writeString(
3661
+ 2,
3662
+ f
3663
+ );
3664
+ }
3665
+ };
3666
+
3667
+
3668
+ /**
3669
+ * optional string entity_type = 1;
3670
+ * @return {string}
3671
+ */
3672
+ proto.log.AuditReadScope.prototype.getEntityType = function() {
3673
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
3674
+ };
3675
+
3676
+
3677
+ /**
3678
+ * @param {string} value
3679
+ * @return {!proto.log.AuditReadScope} returns this
3680
+ */
3681
+ proto.log.AuditReadScope.prototype.setEntityType = function(value) {
3682
+ return jspb.Message.setProto3StringField(this, 1, value);
3683
+ };
3684
+
3685
+
3686
+ /**
3687
+ * optional string entity_id = 2;
3688
+ * @return {string}
3689
+ */
3690
+ proto.log.AuditReadScope.prototype.getEntityId = function() {
3691
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
3692
+ };
3693
+
3694
+
3695
+ /**
3696
+ * @param {string} value
3697
+ * @return {!proto.log.AuditReadScope} returns this
3698
+ */
3699
+ proto.log.AuditReadScope.prototype.setEntityId = function(value) {
3700
+ return jspb.Message.setProto3StringField(this, 2, value);
3701
+ };
3702
+
3703
+
3704
+
3705
+
3706
+
3707
+ if (jspb.Message.GENERATE_TO_OBJECT) {
3708
+ /**
3709
+ * Creates an object representation of this proto.
3710
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
3711
+ * Optional fields that are not set will be set to undefined.
3712
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3713
+ * For the list of reserved names please see:
3714
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3715
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3716
+ * JSPB instance for transitional soy proto support:
3717
+ * http://goto/soy-param-migration
3718
+ * @return {!Object}
3719
+ */
3720
+ proto.log.AuditListRequest.prototype.toObject = function(opt_includeInstance) {
3721
+ return proto.log.AuditListRequest.toObject(opt_includeInstance, this);
3722
+ };
3723
+
3724
+
3725
+ /**
3726
+ * Static version of the {@see toObject} method.
3727
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3728
+ * the JSPB instance for transitional soy proto support:
3729
+ * http://goto/soy-param-migration
3730
+ * @param {!proto.log.AuditListRequest} msg The msg instance to transform.
3731
+ * @return {!Object}
3732
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3733
+ */
3734
+ proto.log.AuditListRequest.toObject = function(includeInstance, msg) {
3735
+ var f, obj = {
3736
+ scope: (f = msg.getScope()) && proto.log.AuditReadScope.toObject(includeInstance, f),
3737
+ limit: jspb.Message.getFieldWithDefault(msg, 2, 0),
3738
+ cursor: jspb.Message.getFieldWithDefault(msg, 3, "")
3739
+ };
3740
+
3741
+ if (includeInstance) {
3742
+ obj.$jspbMessageInstance = msg;
3743
+ }
3744
+ return obj;
3745
+ };
3746
+ }
3747
+
3748
+
3749
+ /**
3750
+ * Deserializes binary data (in protobuf wire format).
3751
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
3752
+ * @return {!proto.log.AuditListRequest}
3753
+ */
3754
+ proto.log.AuditListRequest.deserializeBinary = function(bytes) {
3755
+ var reader = new jspb.BinaryReader(bytes);
3756
+ var msg = new proto.log.AuditListRequest;
3757
+ return proto.log.AuditListRequest.deserializeBinaryFromReader(msg, reader);
3758
+ };
3759
+
3760
+
3761
+ /**
3762
+ * Deserializes binary data (in protobuf wire format) from the
3763
+ * given reader into the given message object.
3764
+ * @param {!proto.log.AuditListRequest} msg The message object to deserialize into.
3765
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3766
+ * @return {!proto.log.AuditListRequest}
3767
+ */
3768
+ proto.log.AuditListRequest.deserializeBinaryFromReader = function(msg, reader) {
3769
+ while (reader.nextField()) {
3770
+ if (reader.isEndGroup()) {
3771
+ break;
3772
+ }
3773
+ var field = reader.getFieldNumber();
3774
+ switch (field) {
3775
+ case 1:
3776
+ var value = new proto.log.AuditReadScope;
3777
+ reader.readMessage(value,proto.log.AuditReadScope.deserializeBinaryFromReader);
3778
+ msg.setScope(value);
3779
+ break;
3780
+ case 2:
3781
+ var value = /** @type {number} */ (reader.readInt32());
3782
+ msg.setLimit(value);
3783
+ break;
3784
+ case 3:
3785
+ var value = /** @type {string} */ (reader.readString());
3786
+ msg.setCursor(value);
3787
+ break;
3788
+ default:
3789
+ reader.skipField();
3790
+ break;
3791
+ }
3792
+ }
3793
+ return msg;
3794
+ };
3795
+
3796
+
3797
+ /**
3798
+ * Serializes the message to binary data (in protobuf wire format).
3799
+ * @return {!Uint8Array}
3800
+ */
3801
+ proto.log.AuditListRequest.prototype.serializeBinary = function() {
3802
+ var writer = new jspb.BinaryWriter();
3803
+ proto.log.AuditListRequest.serializeBinaryToWriter(this, writer);
3804
+ return writer.getResultBuffer();
3805
+ };
3806
+
3807
+
3808
+ /**
3809
+ * Serializes the given message to binary data (in protobuf wire
3810
+ * format), writing to the given BinaryWriter.
3811
+ * @param {!proto.log.AuditListRequest} message
3812
+ * @param {!jspb.BinaryWriter} writer
3813
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3814
+ */
3815
+ proto.log.AuditListRequest.serializeBinaryToWriter = function(message, writer) {
3816
+ var f = undefined;
3817
+ f = message.getScope();
3818
+ if (f != null) {
3819
+ writer.writeMessage(
3820
+ 1,
3821
+ f,
3822
+ proto.log.AuditReadScope.serializeBinaryToWriter
3823
+ );
3824
+ }
3825
+ f = /** @type {number} */ (jspb.Message.getField(message, 2));
3826
+ if (f != null) {
3827
+ writer.writeInt32(
3828
+ 2,
3829
+ f
3830
+ );
3831
+ }
3832
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
3833
+ if (f != null) {
3834
+ writer.writeString(
3835
+ 3,
3836
+ f
3837
+ );
3838
+ }
3839
+ };
3840
+
3841
+
3842
+ /**
3843
+ * optional AuditReadScope scope = 1;
3844
+ * @return {?proto.log.AuditReadScope}
3845
+ */
3846
+ proto.log.AuditListRequest.prototype.getScope = function() {
3847
+ return /** @type{?proto.log.AuditReadScope} */ (
3848
+ jspb.Message.getWrapperField(this, proto.log.AuditReadScope, 1));
3849
+ };
3850
+
3851
+
3852
+ /**
3853
+ * @param {?proto.log.AuditReadScope|undefined} value
3854
+ * @return {!proto.log.AuditListRequest} returns this
3855
+ */
3856
+ proto.log.AuditListRequest.prototype.setScope = function(value) {
3857
+ return jspb.Message.setWrapperField(this, 1, value);
3858
+ };
3859
+
3860
+
3861
+ /**
3862
+ * Clears the message field making it undefined.
3863
+ * @return {!proto.log.AuditListRequest} returns this
3864
+ */
3865
+ proto.log.AuditListRequest.prototype.clearScope = function() {
3866
+ return this.setScope(undefined);
3867
+ };
3868
+
3869
+
3870
+ /**
3871
+ * Returns whether this field is set.
3872
+ * @return {boolean}
3873
+ */
3874
+ proto.log.AuditListRequest.prototype.hasScope = function() {
3875
+ return jspb.Message.getField(this, 1) != null;
3876
+ };
3877
+
3878
+
3879
+ /**
3880
+ * optional int32 limit = 2;
3881
+ * @return {number}
3882
+ */
3883
+ proto.log.AuditListRequest.prototype.getLimit = function() {
3884
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
3885
+ };
3886
+
3887
+
3888
+ /**
3889
+ * @param {number} value
3890
+ * @return {!proto.log.AuditListRequest} returns this
3891
+ */
3892
+ proto.log.AuditListRequest.prototype.setLimit = function(value) {
3893
+ return jspb.Message.setField(this, 2, value);
3894
+ };
3895
+
3896
+
3897
+ /**
3898
+ * Clears the field making it undefined.
3899
+ * @return {!proto.log.AuditListRequest} returns this
3900
+ */
3901
+ proto.log.AuditListRequest.prototype.clearLimit = function() {
3902
+ return jspb.Message.setField(this, 2, undefined);
3903
+ };
3904
+
3905
+
3906
+ /**
3907
+ * Returns whether this field is set.
3908
+ * @return {boolean}
3909
+ */
3910
+ proto.log.AuditListRequest.prototype.hasLimit = function() {
3911
+ return jspb.Message.getField(this, 2) != null;
3912
+ };
3913
+
3914
+
3915
+ /**
3916
+ * optional string cursor = 3;
3917
+ * @return {string}
3918
+ */
3919
+ proto.log.AuditListRequest.prototype.getCursor = function() {
3920
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
3921
+ };
3922
+
3923
+
3924
+ /**
3925
+ * @param {string} value
3926
+ * @return {!proto.log.AuditListRequest} returns this
3927
+ */
3928
+ proto.log.AuditListRequest.prototype.setCursor = function(value) {
3929
+ return jspb.Message.setField(this, 3, value);
3930
+ };
3931
+
3932
+
3933
+ /**
3934
+ * Clears the field making it undefined.
3935
+ * @return {!proto.log.AuditListRequest} returns this
3936
+ */
3937
+ proto.log.AuditListRequest.prototype.clearCursor = function() {
3938
+ return jspb.Message.setField(this, 3, undefined);
3939
+ };
3940
+
3941
+
3942
+ /**
3943
+ * Returns whether this field is set.
3944
+ * @return {boolean}
3945
+ */
3946
+ proto.log.AuditListRequest.prototype.hasCursor = function() {
3947
+ return jspb.Message.getField(this, 3) != null;
3948
+ };
3949
+
3950
+
3951
+
3952
+
3953
+
3954
+ if (jspb.Message.GENERATE_TO_OBJECT) {
3955
+ /**
3956
+ * Creates an object representation of this proto.
3957
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
3958
+ * Optional fields that are not set will be set to undefined.
3959
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3960
+ * For the list of reserved names please see:
3961
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3962
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3963
+ * JSPB instance for transitional soy proto support:
3964
+ * http://goto/soy-param-migration
3965
+ * @return {!Object}
3966
+ */
3967
+ proto.log.AuditDetailRequest.prototype.toObject = function(opt_includeInstance) {
3968
+ return proto.log.AuditDetailRequest.toObject(opt_includeInstance, this);
3969
+ };
3970
+
3971
+
3972
+ /**
3973
+ * Static version of the {@see toObject} method.
3974
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3975
+ * the JSPB instance for transitional soy proto support:
3976
+ * http://goto/soy-param-migration
3977
+ * @param {!proto.log.AuditDetailRequest} msg The msg instance to transform.
3978
+ * @return {!Object}
3979
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3980
+ */
3981
+ proto.log.AuditDetailRequest.toObject = function(includeInstance, msg) {
3982
+ var f, obj = {
3983
+ scope: (f = msg.getScope()) && proto.log.AuditReadScope.toObject(includeInstance, f),
3984
+ eventId: jspb.Message.getFieldWithDefault(msg, 2, "")
3985
+ };
3986
+
3987
+ if (includeInstance) {
3988
+ obj.$jspbMessageInstance = msg;
3989
+ }
3990
+ return obj;
3991
+ };
3992
+ }
3993
+
3994
+
3995
+ /**
3996
+ * Deserializes binary data (in protobuf wire format).
3997
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
3998
+ * @return {!proto.log.AuditDetailRequest}
3999
+ */
4000
+ proto.log.AuditDetailRequest.deserializeBinary = function(bytes) {
4001
+ var reader = new jspb.BinaryReader(bytes);
4002
+ var msg = new proto.log.AuditDetailRequest;
4003
+ return proto.log.AuditDetailRequest.deserializeBinaryFromReader(msg, reader);
4004
+ };
4005
+
4006
+
4007
+ /**
4008
+ * Deserializes binary data (in protobuf wire format) from the
4009
+ * given reader into the given message object.
4010
+ * @param {!proto.log.AuditDetailRequest} msg The message object to deserialize into.
4011
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
4012
+ * @return {!proto.log.AuditDetailRequest}
4013
+ */
4014
+ proto.log.AuditDetailRequest.deserializeBinaryFromReader = function(msg, reader) {
4015
+ while (reader.nextField()) {
4016
+ if (reader.isEndGroup()) {
4017
+ break;
4018
+ }
4019
+ var field = reader.getFieldNumber();
4020
+ switch (field) {
4021
+ case 1:
4022
+ var value = new proto.log.AuditReadScope;
4023
+ reader.readMessage(value,proto.log.AuditReadScope.deserializeBinaryFromReader);
4024
+ msg.setScope(value);
4025
+ break;
4026
+ case 2:
4027
+ var value = /** @type {string} */ (reader.readString());
4028
+ msg.setEventId(value);
4029
+ break;
4030
+ default:
4031
+ reader.skipField();
4032
+ break;
4033
+ }
4034
+ }
4035
+ return msg;
4036
+ };
4037
+
4038
+
4039
+ /**
4040
+ * Serializes the message to binary data (in protobuf wire format).
4041
+ * @return {!Uint8Array}
4042
+ */
4043
+ proto.log.AuditDetailRequest.prototype.serializeBinary = function() {
4044
+ var writer = new jspb.BinaryWriter();
4045
+ proto.log.AuditDetailRequest.serializeBinaryToWriter(this, writer);
4046
+ return writer.getResultBuffer();
4047
+ };
4048
+
4049
+
4050
+ /**
4051
+ * Serializes the given message to binary data (in protobuf wire
4052
+ * format), writing to the given BinaryWriter.
4053
+ * @param {!proto.log.AuditDetailRequest} message
4054
+ * @param {!jspb.BinaryWriter} writer
4055
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4056
+ */
4057
+ proto.log.AuditDetailRequest.serializeBinaryToWriter = function(message, writer) {
4058
+ var f = undefined;
4059
+ f = message.getScope();
4060
+ if (f != null) {
4061
+ writer.writeMessage(
4062
+ 1,
4063
+ f,
4064
+ proto.log.AuditReadScope.serializeBinaryToWriter
4065
+ );
4066
+ }
4067
+ f = message.getEventId();
4068
+ if (f.length > 0) {
4069
+ writer.writeString(
4070
+ 2,
4071
+ f
4072
+ );
4073
+ }
4074
+ };
4075
+
4076
+
4077
+ /**
4078
+ * optional AuditReadScope scope = 1;
4079
+ * @return {?proto.log.AuditReadScope}
4080
+ */
4081
+ proto.log.AuditDetailRequest.prototype.getScope = function() {
4082
+ return /** @type{?proto.log.AuditReadScope} */ (
4083
+ jspb.Message.getWrapperField(this, proto.log.AuditReadScope, 1));
4084
+ };
4085
+
4086
+
4087
+ /**
4088
+ * @param {?proto.log.AuditReadScope|undefined} value
4089
+ * @return {!proto.log.AuditDetailRequest} returns this
4090
+ */
4091
+ proto.log.AuditDetailRequest.prototype.setScope = function(value) {
4092
+ return jspb.Message.setWrapperField(this, 1, value);
4093
+ };
4094
+
4095
+
4096
+ /**
4097
+ * Clears the message field making it undefined.
4098
+ * @return {!proto.log.AuditDetailRequest} returns this
4099
+ */
4100
+ proto.log.AuditDetailRequest.prototype.clearScope = function() {
4101
+ return this.setScope(undefined);
4102
+ };
4103
+
4104
+
4105
+ /**
4106
+ * Returns whether this field is set.
4107
+ * @return {boolean}
4108
+ */
4109
+ proto.log.AuditDetailRequest.prototype.hasScope = function() {
4110
+ return jspb.Message.getField(this, 1) != null;
4111
+ };
4112
+
4113
+
4114
+ /**
4115
+ * optional string event_id = 2;
4116
+ * @return {string}
4117
+ */
4118
+ proto.log.AuditDetailRequest.prototype.getEventId = function() {
4119
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
4120
+ };
4121
+
4122
+
4123
+ /**
4124
+ * @param {string} value
4125
+ * @return {!proto.log.AuditDetailRequest} returns this
4126
+ */
4127
+ proto.log.AuditDetailRequest.prototype.setEventId = function(value) {
4128
+ return jspb.Message.setProto3StringField(this, 2, value);
4129
+ };
4130
+
4131
+
4132
+
4133
+ /**
4134
+ * List of repeated fields within this message type.
4135
+ * @private {!Array<number>}
4136
+ * @const
4137
+ */
4138
+ proto.log.AuditSummary.repeatedFields_ = [7];
4139
+
4140
+
4141
+
4142
+ if (jspb.Message.GENERATE_TO_OBJECT) {
4143
+ /**
4144
+ * Creates an object representation of this proto.
4145
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
4146
+ * Optional fields that are not set will be set to undefined.
4147
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
4148
+ * For the list of reserved names please see:
4149
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
4150
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
4151
+ * JSPB instance for transitional soy proto support:
4152
+ * http://goto/soy-param-migration
4153
+ * @return {!Object}
4154
+ */
4155
+ proto.log.AuditSummary.prototype.toObject = function(opt_includeInstance) {
4156
+ return proto.log.AuditSummary.toObject(opt_includeInstance, this);
4157
+ };
4158
+
4159
+
4160
+ /**
4161
+ * Static version of the {@see toObject} method.
4162
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4163
+ * the JSPB instance for transitional soy proto support:
4164
+ * http://goto/soy-param-migration
4165
+ * @param {!proto.log.AuditSummary} msg The msg instance to transform.
4166
+ * @return {!Object}
4167
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4168
+ */
4169
+ proto.log.AuditSummary.toObject = function(includeInstance, msg) {
4170
+ var f, obj = {
4171
+ eventId: jspb.Message.getFieldWithDefault(msg, 1, ""),
4172
+ occurredAt: jspb.Message.getFieldWithDefault(msg, 2, ""),
4173
+ actorId: jspb.Message.getFieldWithDefault(msg, 3, ""),
4174
+ actorRole: jspb.Message.getFieldWithDefault(msg, 4, ""),
4175
+ action: jspb.Message.getFieldWithDefault(msg, 5, ""),
4176
+ category: jspb.Message.getFieldWithDefault(msg, 6, ""),
4177
+ previewChangesList: jspb.Message.toObjectList(msg.getPreviewChangesList(),
4178
+ proto.log.AuditFieldChange.toObject, includeInstance),
4179
+ changedFieldCount: jspb.Message.getFieldWithDefault(msg, 8, 0),
4180
+ sourceVersion: jspb.Message.getFieldWithDefault(msg, 9, 0)
4181
+ };
4182
+
4183
+ if (includeInstance) {
4184
+ obj.$jspbMessageInstance = msg;
4185
+ }
4186
+ return obj;
4187
+ };
4188
+ }
4189
+
4190
+
4191
+ /**
4192
+ * Deserializes binary data (in protobuf wire format).
4193
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
4194
+ * @return {!proto.log.AuditSummary}
4195
+ */
4196
+ proto.log.AuditSummary.deserializeBinary = function(bytes) {
4197
+ var reader = new jspb.BinaryReader(bytes);
4198
+ var msg = new proto.log.AuditSummary;
4199
+ return proto.log.AuditSummary.deserializeBinaryFromReader(msg, reader);
4200
+ };
4201
+
4202
+
4203
+ /**
4204
+ * Deserializes binary data (in protobuf wire format) from the
4205
+ * given reader into the given message object.
4206
+ * @param {!proto.log.AuditSummary} msg The message object to deserialize into.
4207
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
4208
+ * @return {!proto.log.AuditSummary}
4209
+ */
4210
+ proto.log.AuditSummary.deserializeBinaryFromReader = function(msg, reader) {
4211
+ while (reader.nextField()) {
4212
+ if (reader.isEndGroup()) {
4213
+ break;
4214
+ }
4215
+ var field = reader.getFieldNumber();
4216
+ switch (field) {
4217
+ case 1:
4218
+ var value = /** @type {string} */ (reader.readString());
4219
+ msg.setEventId(value);
4220
+ break;
4221
+ case 2:
4222
+ var value = /** @type {string} */ (reader.readString());
4223
+ msg.setOccurredAt(value);
4224
+ break;
4225
+ case 3:
4226
+ var value = /** @type {string} */ (reader.readString());
4227
+ msg.setActorId(value);
4228
+ break;
4229
+ case 4:
4230
+ var value = /** @type {string} */ (reader.readString());
4231
+ msg.setActorRole(value);
4232
+ break;
4233
+ case 5:
4234
+ var value = /** @type {string} */ (reader.readString());
4235
+ msg.setAction(value);
4236
+ break;
4237
+ case 6:
4238
+ var value = /** @type {string} */ (reader.readString());
4239
+ msg.setCategory(value);
4240
+ break;
4241
+ case 7:
4242
+ var value = new proto.log.AuditFieldChange;
4243
+ reader.readMessage(value,proto.log.AuditFieldChange.deserializeBinaryFromReader);
4244
+ msg.addPreviewChanges(value);
4245
+ break;
4246
+ case 8:
4247
+ var value = /** @type {number} */ (reader.readUint32());
4248
+ msg.setChangedFieldCount(value);
4249
+ break;
4250
+ case 9:
4251
+ var value = /** @type {number} */ (reader.readUint32());
4252
+ msg.setSourceVersion(value);
4253
+ break;
4254
+ default:
4255
+ reader.skipField();
4256
+ break;
4257
+ }
4258
+ }
4259
+ return msg;
4260
+ };
4261
+
4262
+
4263
+ /**
4264
+ * Serializes the message to binary data (in protobuf wire format).
4265
+ * @return {!Uint8Array}
4266
+ */
4267
+ proto.log.AuditSummary.prototype.serializeBinary = function() {
4268
+ var writer = new jspb.BinaryWriter();
4269
+ proto.log.AuditSummary.serializeBinaryToWriter(this, writer);
4270
+ return writer.getResultBuffer();
4271
+ };
4272
+
4273
+
4274
+ /**
4275
+ * Serializes the given message to binary data (in protobuf wire
4276
+ * format), writing to the given BinaryWriter.
4277
+ * @param {!proto.log.AuditSummary} message
4278
+ * @param {!jspb.BinaryWriter} writer
4279
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4280
+ */
4281
+ proto.log.AuditSummary.serializeBinaryToWriter = function(message, writer) {
4282
+ var f = undefined;
4283
+ f = message.getEventId();
4284
+ if (f.length > 0) {
4285
+ writer.writeString(
4286
+ 1,
4287
+ f
4288
+ );
4289
+ }
4290
+ f = message.getOccurredAt();
4291
+ if (f.length > 0) {
4292
+ writer.writeString(
4293
+ 2,
4294
+ f
4295
+ );
4296
+ }
4297
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
4298
+ if (f != null) {
4299
+ writer.writeString(
4300
+ 3,
4301
+ f
4302
+ );
4303
+ }
4304
+ f = /** @type {string} */ (jspb.Message.getField(message, 4));
4305
+ if (f != null) {
4306
+ writer.writeString(
4307
+ 4,
4308
+ f
4309
+ );
4310
+ }
4311
+ f = message.getAction();
4312
+ if (f.length > 0) {
4313
+ writer.writeString(
4314
+ 5,
4315
+ f
4316
+ );
4317
+ }
4318
+ f = message.getCategory();
4319
+ if (f.length > 0) {
4320
+ writer.writeString(
4321
+ 6,
4322
+ f
4323
+ );
4324
+ }
4325
+ f = message.getPreviewChangesList();
4326
+ if (f.length > 0) {
4327
+ writer.writeRepeatedMessage(
4328
+ 7,
4329
+ f,
4330
+ proto.log.AuditFieldChange.serializeBinaryToWriter
4331
+ );
4332
+ }
4333
+ f = message.getChangedFieldCount();
4334
+ if (f !== 0) {
4335
+ writer.writeUint32(
4336
+ 8,
4337
+ f
4338
+ );
4339
+ }
4340
+ f = message.getSourceVersion();
4341
+ if (f !== 0) {
4342
+ writer.writeUint32(
4343
+ 9,
4344
+ f
4345
+ );
4346
+ }
4347
+ };
4348
+
4349
+
4350
+ /**
4351
+ * optional string event_id = 1;
4352
+ * @return {string}
4353
+ */
4354
+ proto.log.AuditSummary.prototype.getEventId = function() {
4355
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
4356
+ };
4357
+
4358
+
4359
+ /**
4360
+ * @param {string} value
4361
+ * @return {!proto.log.AuditSummary} returns this
4362
+ */
4363
+ proto.log.AuditSummary.prototype.setEventId = function(value) {
4364
+ return jspb.Message.setProto3StringField(this, 1, value);
4365
+ };
4366
+
4367
+
4368
+ /**
4369
+ * optional string occurred_at = 2;
4370
+ * @return {string}
4371
+ */
4372
+ proto.log.AuditSummary.prototype.getOccurredAt = function() {
4373
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
4374
+ };
4375
+
4376
+
4377
+ /**
4378
+ * @param {string} value
4379
+ * @return {!proto.log.AuditSummary} returns this
4380
+ */
4381
+ proto.log.AuditSummary.prototype.setOccurredAt = function(value) {
4382
+ return jspb.Message.setProto3StringField(this, 2, value);
4383
+ };
4384
+
4385
+
4386
+ /**
4387
+ * optional string actor_id = 3;
4388
+ * @return {string}
4389
+ */
4390
+ proto.log.AuditSummary.prototype.getActorId = function() {
4391
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
4392
+ };
4393
+
4394
+
4395
+ /**
4396
+ * @param {string} value
4397
+ * @return {!proto.log.AuditSummary} returns this
4398
+ */
4399
+ proto.log.AuditSummary.prototype.setActorId = function(value) {
4400
+ return jspb.Message.setField(this, 3, value);
4401
+ };
4402
+
4403
+
4404
+ /**
4405
+ * Clears the field making it undefined.
4406
+ * @return {!proto.log.AuditSummary} returns this
4407
+ */
4408
+ proto.log.AuditSummary.prototype.clearActorId = function() {
4409
+ return jspb.Message.setField(this, 3, undefined);
4410
+ };
4411
+
4412
+
4413
+ /**
4414
+ * Returns whether this field is set.
4415
+ * @return {boolean}
4416
+ */
4417
+ proto.log.AuditSummary.prototype.hasActorId = function() {
4418
+ return jspb.Message.getField(this, 3) != null;
4419
+ };
4420
+
4421
+
4422
+ /**
4423
+ * optional string actor_role = 4;
4424
+ * @return {string}
4425
+ */
4426
+ proto.log.AuditSummary.prototype.getActorRole = function() {
4427
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
4428
+ };
4429
+
4430
+
4431
+ /**
4432
+ * @param {string} value
4433
+ * @return {!proto.log.AuditSummary} returns this
4434
+ */
4435
+ proto.log.AuditSummary.prototype.setActorRole = function(value) {
4436
+ return jspb.Message.setField(this, 4, value);
4437
+ };
4438
+
4439
+
4440
+ /**
4441
+ * Clears the field making it undefined.
4442
+ * @return {!proto.log.AuditSummary} returns this
4443
+ */
4444
+ proto.log.AuditSummary.prototype.clearActorRole = function() {
4445
+ return jspb.Message.setField(this, 4, undefined);
4446
+ };
4447
+
4448
+
4449
+ /**
4450
+ * Returns whether this field is set.
4451
+ * @return {boolean}
4452
+ */
4453
+ proto.log.AuditSummary.prototype.hasActorRole = function() {
4454
+ return jspb.Message.getField(this, 4) != null;
4455
+ };
4456
+
4457
+
4458
+ /**
4459
+ * optional string action = 5;
4460
+ * @return {string}
4461
+ */
4462
+ proto.log.AuditSummary.prototype.getAction = function() {
4463
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
4464
+ };
4465
+
4466
+
4467
+ /**
4468
+ * @param {string} value
4469
+ * @return {!proto.log.AuditSummary} returns this
4470
+ */
4471
+ proto.log.AuditSummary.prototype.setAction = function(value) {
4472
+ return jspb.Message.setProto3StringField(this, 5, value);
4473
+ };
4474
+
4475
+
4476
+ /**
4477
+ * optional string category = 6;
4478
+ * @return {string}
4479
+ */
4480
+ proto.log.AuditSummary.prototype.getCategory = function() {
4481
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
4482
+ };
4483
+
4484
+
4485
+ /**
4486
+ * @param {string} value
4487
+ * @return {!proto.log.AuditSummary} returns this
4488
+ */
4489
+ proto.log.AuditSummary.prototype.setCategory = function(value) {
4490
+ return jspb.Message.setProto3StringField(this, 6, value);
4491
+ };
4492
+
4493
+
4494
+ /**
4495
+ * repeated AuditFieldChange preview_changes = 7;
4496
+ * @return {!Array<!proto.log.AuditFieldChange>}
4497
+ */
4498
+ proto.log.AuditSummary.prototype.getPreviewChangesList = function() {
4499
+ return /** @type{!Array<!proto.log.AuditFieldChange>} */ (
4500
+ jspb.Message.getRepeatedWrapperField(this, proto.log.AuditFieldChange, 7));
4501
+ };
4502
+
4503
+
4504
+ /**
4505
+ * @param {!Array<!proto.log.AuditFieldChange>} value
4506
+ * @return {!proto.log.AuditSummary} returns this
4507
+ */
4508
+ proto.log.AuditSummary.prototype.setPreviewChangesList = function(value) {
4509
+ return jspb.Message.setRepeatedWrapperField(this, 7, value);
4510
+ };
4511
+
4512
+
4513
+ /**
4514
+ * @param {!proto.log.AuditFieldChange=} opt_value
4515
+ * @param {number=} opt_index
4516
+ * @return {!proto.log.AuditFieldChange}
4517
+ */
4518
+ proto.log.AuditSummary.prototype.addPreviewChanges = function(opt_value, opt_index) {
4519
+ return jspb.Message.addToRepeatedWrapperField(this, 7, opt_value, proto.log.AuditFieldChange, opt_index);
4520
+ };
4521
+
4522
+
4523
+ /**
4524
+ * Clears the list making it empty but non-null.
4525
+ * @return {!proto.log.AuditSummary} returns this
4526
+ */
4527
+ proto.log.AuditSummary.prototype.clearPreviewChangesList = function() {
4528
+ return this.setPreviewChangesList([]);
4529
+ };
4530
+
4531
+
4532
+ /**
4533
+ * optional uint32 changed_field_count = 8;
4534
+ * @return {number}
4535
+ */
4536
+ proto.log.AuditSummary.prototype.getChangedFieldCount = function() {
4537
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
4538
+ };
4539
+
4540
+
4541
+ /**
4542
+ * @param {number} value
4543
+ * @return {!proto.log.AuditSummary} returns this
4544
+ */
4545
+ proto.log.AuditSummary.prototype.setChangedFieldCount = function(value) {
4546
+ return jspb.Message.setProto3IntField(this, 8, value);
4547
+ };
4548
+
4549
+
4550
+ /**
4551
+ * optional uint32 source_version = 9;
4552
+ * @return {number}
4553
+ */
4554
+ proto.log.AuditSummary.prototype.getSourceVersion = function() {
4555
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
4556
+ };
4557
+
4558
+
4559
+ /**
4560
+ * @param {number} value
4561
+ * @return {!proto.log.AuditSummary} returns this
4562
+ */
4563
+ proto.log.AuditSummary.prototype.setSourceVersion = function(value) {
4564
+ return jspb.Message.setProto3IntField(this, 9, value);
4565
+ };
4566
+
4567
+
4568
+
4569
+ /**
4570
+ * List of repeated fields within this message type.
4571
+ * @private {!Array<number>}
4572
+ * @const
4573
+ */
4574
+ proto.log.AuditListResponse.repeatedFields_ = [1];
4575
+
4576
+
4577
+
4578
+ if (jspb.Message.GENERATE_TO_OBJECT) {
4579
+ /**
4580
+ * Creates an object representation of this proto.
4581
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
4582
+ * Optional fields that are not set will be set to undefined.
4583
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
4584
+ * For the list of reserved names please see:
4585
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
4586
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
4587
+ * JSPB instance for transitional soy proto support:
4588
+ * http://goto/soy-param-migration
4589
+ * @return {!Object}
4590
+ */
4591
+ proto.log.AuditListResponse.prototype.toObject = function(opt_includeInstance) {
4592
+ return proto.log.AuditListResponse.toObject(opt_includeInstance, this);
4593
+ };
4594
+
4595
+
4596
+ /**
4597
+ * Static version of the {@see toObject} method.
4598
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4599
+ * the JSPB instance for transitional soy proto support:
4600
+ * http://goto/soy-param-migration
4601
+ * @param {!proto.log.AuditListResponse} msg The msg instance to transform.
4602
+ * @return {!Object}
4603
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4604
+ */
4605
+ proto.log.AuditListResponse.toObject = function(includeInstance, msg) {
4606
+ var f, obj = {
4607
+ itemsList: jspb.Message.toObjectList(msg.getItemsList(),
4608
+ proto.log.AuditSummary.toObject, includeInstance),
4609
+ totalItems: jspb.Message.getFieldWithDefault(msg, 2, 0),
4610
+ nextCursor: jspb.Message.getFieldWithDefault(msg, 3, "")
4611
+ };
4612
+
4613
+ if (includeInstance) {
4614
+ obj.$jspbMessageInstance = msg;
4615
+ }
4616
+ return obj;
4617
+ };
4618
+ }
4619
+
4620
+
4621
+ /**
4622
+ * Deserializes binary data (in protobuf wire format).
4623
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
4624
+ * @return {!proto.log.AuditListResponse}
4625
+ */
4626
+ proto.log.AuditListResponse.deserializeBinary = function(bytes) {
4627
+ var reader = new jspb.BinaryReader(bytes);
4628
+ var msg = new proto.log.AuditListResponse;
4629
+ return proto.log.AuditListResponse.deserializeBinaryFromReader(msg, reader);
4630
+ };
4631
+
4632
+
4633
+ /**
4634
+ * Deserializes binary data (in protobuf wire format) from the
4635
+ * given reader into the given message object.
4636
+ * @param {!proto.log.AuditListResponse} msg The message object to deserialize into.
4637
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
4638
+ * @return {!proto.log.AuditListResponse}
4639
+ */
4640
+ proto.log.AuditListResponse.deserializeBinaryFromReader = function(msg, reader) {
4641
+ while (reader.nextField()) {
4642
+ if (reader.isEndGroup()) {
4643
+ break;
4644
+ }
4645
+ var field = reader.getFieldNumber();
4646
+ switch (field) {
4647
+ case 1:
4648
+ var value = new proto.log.AuditSummary;
4649
+ reader.readMessage(value,proto.log.AuditSummary.deserializeBinaryFromReader);
4650
+ msg.addItems(value);
4651
+ break;
4652
+ case 2:
4653
+ var value = /** @type {number} */ (reader.readUint32());
4654
+ msg.setTotalItems(value);
4655
+ break;
4656
+ case 3:
4657
+ var value = /** @type {string} */ (reader.readString());
4658
+ msg.setNextCursor(value);
4659
+ break;
4660
+ default:
4661
+ reader.skipField();
4662
+ break;
4663
+ }
4664
+ }
4665
+ return msg;
4666
+ };
4667
+
4668
+
4669
+ /**
4670
+ * Serializes the message to binary data (in protobuf wire format).
4671
+ * @return {!Uint8Array}
4672
+ */
4673
+ proto.log.AuditListResponse.prototype.serializeBinary = function() {
4674
+ var writer = new jspb.BinaryWriter();
4675
+ proto.log.AuditListResponse.serializeBinaryToWriter(this, writer);
4676
+ return writer.getResultBuffer();
4677
+ };
4678
+
4679
+
4680
+ /**
4681
+ * Serializes the given message to binary data (in protobuf wire
4682
+ * format), writing to the given BinaryWriter.
4683
+ * @param {!proto.log.AuditListResponse} message
4684
+ * @param {!jspb.BinaryWriter} writer
4685
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4686
+ */
4687
+ proto.log.AuditListResponse.serializeBinaryToWriter = function(message, writer) {
4688
+ var f = undefined;
4689
+ f = message.getItemsList();
4690
+ if (f.length > 0) {
4691
+ writer.writeRepeatedMessage(
4692
+ 1,
4693
+ f,
4694
+ proto.log.AuditSummary.serializeBinaryToWriter
4695
+ );
4696
+ }
4697
+ f = message.getTotalItems();
4698
+ if (f !== 0) {
4699
+ writer.writeUint32(
4700
+ 2,
4701
+ f
4702
+ );
4703
+ }
4704
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
4705
+ if (f != null) {
4706
+ writer.writeString(
4707
+ 3,
4708
+ f
4709
+ );
4710
+ }
4711
+ };
4712
+
4713
+
4714
+ /**
4715
+ * repeated AuditSummary items = 1;
4716
+ * @return {!Array<!proto.log.AuditSummary>}
4717
+ */
4718
+ proto.log.AuditListResponse.prototype.getItemsList = function() {
4719
+ return /** @type{!Array<!proto.log.AuditSummary>} */ (
4720
+ jspb.Message.getRepeatedWrapperField(this, proto.log.AuditSummary, 1));
4721
+ };
4722
+
4723
+
4724
+ /**
4725
+ * @param {!Array<!proto.log.AuditSummary>} value
4726
+ * @return {!proto.log.AuditListResponse} returns this
4727
+ */
4728
+ proto.log.AuditListResponse.prototype.setItemsList = function(value) {
4729
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
4730
+ };
4731
+
4732
+
4733
+ /**
4734
+ * @param {!proto.log.AuditSummary=} opt_value
4735
+ * @param {number=} opt_index
4736
+ * @return {!proto.log.AuditSummary}
4737
+ */
4738
+ proto.log.AuditListResponse.prototype.addItems = function(opt_value, opt_index) {
4739
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.log.AuditSummary, opt_index);
4740
+ };
4741
+
4742
+
4743
+ /**
4744
+ * Clears the list making it empty but non-null.
4745
+ * @return {!proto.log.AuditListResponse} returns this
4746
+ */
4747
+ proto.log.AuditListResponse.prototype.clearItemsList = function() {
4748
+ return this.setItemsList([]);
4749
+ };
4750
+
4751
+
4752
+ /**
4753
+ * optional uint32 total_items = 2;
4754
+ * @return {number}
4755
+ */
4756
+ proto.log.AuditListResponse.prototype.getTotalItems = function() {
4757
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
4758
+ };
4759
+
4760
+
4761
+ /**
4762
+ * @param {number} value
4763
+ * @return {!proto.log.AuditListResponse} returns this
4764
+ */
4765
+ proto.log.AuditListResponse.prototype.setTotalItems = function(value) {
4766
+ return jspb.Message.setProto3IntField(this, 2, value);
4767
+ };
4768
+
4769
+
4770
+ /**
4771
+ * optional string next_cursor = 3;
4772
+ * @return {string}
4773
+ */
4774
+ proto.log.AuditListResponse.prototype.getNextCursor = function() {
4775
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
4776
+ };
4777
+
4778
+
4779
+ /**
4780
+ * @param {string} value
4781
+ * @return {!proto.log.AuditListResponse} returns this
4782
+ */
4783
+ proto.log.AuditListResponse.prototype.setNextCursor = function(value) {
4784
+ return jspb.Message.setField(this, 3, value);
4785
+ };
4786
+
4787
+
4788
+ /**
4789
+ * Clears the field making it undefined.
4790
+ * @return {!proto.log.AuditListResponse} returns this
4791
+ */
4792
+ proto.log.AuditListResponse.prototype.clearNextCursor = function() {
4793
+ return jspb.Message.setField(this, 3, undefined);
4794
+ };
4795
+
4796
+
4797
+ /**
4798
+ * Returns whether this field is set.
4799
+ * @return {boolean}
4800
+ */
4801
+ proto.log.AuditListResponse.prototype.hasNextCursor = function() {
4802
+ return jspb.Message.getField(this, 3) != null;
4803
+ };
4804
+
4805
+
4806
+
4807
+ /**
4808
+ * Oneof group definitions for this message. Each group defines the field
4809
+ * numbers belonging to that group. When of these fields' value is set, all
4810
+ * other fields in the group are cleared. During deserialization, if multiple
4811
+ * fields are encountered for a group, only the last value seen will be kept.
4812
+ * @private {!Array<!Array<number>>}
4813
+ * @const
4814
+ */
4815
+ proto.log.AuditScalar.oneofGroups_ = [[1,2,3,4,5]];
4816
+
4817
+ /**
4818
+ * @enum {number}
4819
+ */
4820
+ proto.log.AuditScalar.ValueCase = {
4821
+ VALUE_NOT_SET: 0,
4822
+ MISSING: 1,
4823
+ NULL_VALUE: 2,
4824
+ BOOLEAN_VALUE: 3,
4825
+ STRING_VALUE: 4,
4826
+ DECIMAL_VALUE: 5
4827
+ };
4828
+
4829
+ /**
4830
+ * @return {proto.log.AuditScalar.ValueCase}
4831
+ */
4832
+ proto.log.AuditScalar.prototype.getValueCase = function() {
4833
+ return /** @type {proto.log.AuditScalar.ValueCase} */(jspb.Message.computeOneofCase(this, proto.log.AuditScalar.oneofGroups_[0]));
4834
+ };
4835
+
4836
+
4837
+
4838
+ if (jspb.Message.GENERATE_TO_OBJECT) {
4839
+ /**
4840
+ * Creates an object representation of this proto.
4841
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
4842
+ * Optional fields that are not set will be set to undefined.
4843
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
4844
+ * For the list of reserved names please see:
4845
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
4846
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
4847
+ * JSPB instance for transitional soy proto support:
4848
+ * http://goto/soy-param-migration
4849
+ * @return {!Object}
4850
+ */
4851
+ proto.log.AuditScalar.prototype.toObject = function(opt_includeInstance) {
4852
+ return proto.log.AuditScalar.toObject(opt_includeInstance, this);
4853
+ };
4854
+
4855
+
4856
+ /**
4857
+ * Static version of the {@see toObject} method.
4858
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4859
+ * the JSPB instance for transitional soy proto support:
4860
+ * http://goto/soy-param-migration
4861
+ * @param {!proto.log.AuditScalar} msg The msg instance to transform.
4862
+ * @return {!Object}
4863
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4864
+ */
4865
+ proto.log.AuditScalar.toObject = function(includeInstance, msg) {
4866
+ var f, obj = {
4867
+ missing: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
4868
+ nullValue: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
4869
+ booleanValue: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
4870
+ stringValue: jspb.Message.getFieldWithDefault(msg, 4, ""),
4871
+ decimalValue: jspb.Message.getFieldWithDefault(msg, 5, "")
4872
+ };
4873
+
4874
+ if (includeInstance) {
4875
+ obj.$jspbMessageInstance = msg;
4876
+ }
4877
+ return obj;
4878
+ };
4879
+ }
4880
+
4881
+
4882
+ /**
4883
+ * Deserializes binary data (in protobuf wire format).
4884
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
4885
+ * @return {!proto.log.AuditScalar}
4886
+ */
4887
+ proto.log.AuditScalar.deserializeBinary = function(bytes) {
4888
+ var reader = new jspb.BinaryReader(bytes);
4889
+ var msg = new proto.log.AuditScalar;
4890
+ return proto.log.AuditScalar.deserializeBinaryFromReader(msg, reader);
4891
+ };
4892
+
4893
+
4894
+ /**
4895
+ * Deserializes binary data (in protobuf wire format) from the
4896
+ * given reader into the given message object.
4897
+ * @param {!proto.log.AuditScalar} msg The message object to deserialize into.
4898
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
4899
+ * @return {!proto.log.AuditScalar}
4900
+ */
4901
+ proto.log.AuditScalar.deserializeBinaryFromReader = function(msg, reader) {
4902
+ while (reader.nextField()) {
4903
+ if (reader.isEndGroup()) {
4904
+ break;
4905
+ }
4906
+ var field = reader.getFieldNumber();
4907
+ switch (field) {
4908
+ case 1:
4909
+ var value = /** @type {boolean} */ (reader.readBool());
4910
+ msg.setMissing(value);
4911
+ break;
4912
+ case 2:
4913
+ var value = /** @type {boolean} */ (reader.readBool());
4914
+ msg.setNullValue(value);
4915
+ break;
4916
+ case 3:
4917
+ var value = /** @type {boolean} */ (reader.readBool());
4918
+ msg.setBooleanValue(value);
4919
+ break;
4920
+ case 4:
4921
+ var value = /** @type {string} */ (reader.readString());
4922
+ msg.setStringValue(value);
4923
+ break;
4924
+ case 5:
4925
+ var value = /** @type {string} */ (reader.readString());
4926
+ msg.setDecimalValue(value);
4927
+ break;
4928
+ default:
4929
+ reader.skipField();
4930
+ break;
4931
+ }
4932
+ }
4933
+ return msg;
4934
+ };
4935
+
4936
+
4937
+ /**
4938
+ * Serializes the message to binary data (in protobuf wire format).
4939
+ * @return {!Uint8Array}
4940
+ */
4941
+ proto.log.AuditScalar.prototype.serializeBinary = function() {
4942
+ var writer = new jspb.BinaryWriter();
4943
+ proto.log.AuditScalar.serializeBinaryToWriter(this, writer);
4944
+ return writer.getResultBuffer();
4945
+ };
4946
+
4947
+
4948
+ /**
4949
+ * Serializes the given message to binary data (in protobuf wire
4950
+ * format), writing to the given BinaryWriter.
4951
+ * @param {!proto.log.AuditScalar} message
4952
+ * @param {!jspb.BinaryWriter} writer
4953
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4954
+ */
4955
+ proto.log.AuditScalar.serializeBinaryToWriter = function(message, writer) {
4956
+ var f = undefined;
4957
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 1));
4958
+ if (f != null) {
4959
+ writer.writeBool(
4960
+ 1,
4961
+ f
4962
+ );
4963
+ }
4964
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 2));
4965
+ if (f != null) {
4966
+ writer.writeBool(
4967
+ 2,
4968
+ f
4969
+ );
4970
+ }
4971
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 3));
4972
+ if (f != null) {
4973
+ writer.writeBool(
4974
+ 3,
4975
+ f
4976
+ );
4977
+ }
4978
+ f = /** @type {string} */ (jspb.Message.getField(message, 4));
4979
+ if (f != null) {
4980
+ writer.writeString(
4981
+ 4,
4982
+ f
4983
+ );
4984
+ }
4985
+ f = /** @type {string} */ (jspb.Message.getField(message, 5));
4986
+ if (f != null) {
4987
+ writer.writeString(
4988
+ 5,
4989
+ f
4990
+ );
4991
+ }
4992
+ };
4993
+
4994
+
4995
+ /**
4996
+ * optional bool missing = 1;
4997
+ * @return {boolean}
4998
+ */
4999
+ proto.log.AuditScalar.prototype.getMissing = function() {
5000
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
5001
+ };
5002
+
5003
+
5004
+ /**
5005
+ * @param {boolean} value
5006
+ * @return {!proto.log.AuditScalar} returns this
5007
+ */
5008
+ proto.log.AuditScalar.prototype.setMissing = function(value) {
5009
+ return jspb.Message.setOneofField(this, 1, proto.log.AuditScalar.oneofGroups_[0], value);
5010
+ };
5011
+
5012
+
5013
+ /**
5014
+ * Clears the field making it undefined.
5015
+ * @return {!proto.log.AuditScalar} returns this
5016
+ */
5017
+ proto.log.AuditScalar.prototype.clearMissing = function() {
5018
+ return jspb.Message.setOneofField(this, 1, proto.log.AuditScalar.oneofGroups_[0], undefined);
5019
+ };
5020
+
5021
+
5022
+ /**
5023
+ * Returns whether this field is set.
5024
+ * @return {boolean}
5025
+ */
5026
+ proto.log.AuditScalar.prototype.hasMissing = function() {
5027
+ return jspb.Message.getField(this, 1) != null;
5028
+ };
5029
+
5030
+
5031
+ /**
5032
+ * optional bool null_value = 2;
5033
+ * @return {boolean}
5034
+ */
5035
+ proto.log.AuditScalar.prototype.getNullValue = function() {
5036
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
5037
+ };
5038
+
5039
+
5040
+ /**
5041
+ * @param {boolean} value
5042
+ * @return {!proto.log.AuditScalar} returns this
5043
+ */
5044
+ proto.log.AuditScalar.prototype.setNullValue = function(value) {
5045
+ return jspb.Message.setOneofField(this, 2, proto.log.AuditScalar.oneofGroups_[0], value);
5046
+ };
5047
+
5048
+
5049
+ /**
5050
+ * Clears the field making it undefined.
5051
+ * @return {!proto.log.AuditScalar} returns this
5052
+ */
5053
+ proto.log.AuditScalar.prototype.clearNullValue = function() {
5054
+ return jspb.Message.setOneofField(this, 2, proto.log.AuditScalar.oneofGroups_[0], undefined);
5055
+ };
5056
+
5057
+
5058
+ /**
5059
+ * Returns whether this field is set.
5060
+ * @return {boolean}
5061
+ */
5062
+ proto.log.AuditScalar.prototype.hasNullValue = function() {
5063
+ return jspb.Message.getField(this, 2) != null;
5064
+ };
5065
+
5066
+
5067
+ /**
5068
+ * optional bool boolean_value = 3;
5069
+ * @return {boolean}
5070
+ */
5071
+ proto.log.AuditScalar.prototype.getBooleanValue = function() {
5072
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
5073
+ };
5074
+
5075
+
5076
+ /**
5077
+ * @param {boolean} value
5078
+ * @return {!proto.log.AuditScalar} returns this
5079
+ */
5080
+ proto.log.AuditScalar.prototype.setBooleanValue = function(value) {
5081
+ return jspb.Message.setOneofField(this, 3, proto.log.AuditScalar.oneofGroups_[0], value);
5082
+ };
5083
+
5084
+
5085
+ /**
5086
+ * Clears the field making it undefined.
5087
+ * @return {!proto.log.AuditScalar} returns this
5088
+ */
5089
+ proto.log.AuditScalar.prototype.clearBooleanValue = function() {
5090
+ return jspb.Message.setOneofField(this, 3, proto.log.AuditScalar.oneofGroups_[0], undefined);
5091
+ };
5092
+
5093
+
5094
+ /**
5095
+ * Returns whether this field is set.
5096
+ * @return {boolean}
5097
+ */
5098
+ proto.log.AuditScalar.prototype.hasBooleanValue = function() {
5099
+ return jspb.Message.getField(this, 3) != null;
5100
+ };
5101
+
5102
+
5103
+ /**
5104
+ * optional string string_value = 4;
5105
+ * @return {string}
5106
+ */
5107
+ proto.log.AuditScalar.prototype.getStringValue = function() {
5108
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
5109
+ };
5110
+
5111
+
5112
+ /**
5113
+ * @param {string} value
5114
+ * @return {!proto.log.AuditScalar} returns this
5115
+ */
5116
+ proto.log.AuditScalar.prototype.setStringValue = function(value) {
5117
+ return jspb.Message.setOneofField(this, 4, proto.log.AuditScalar.oneofGroups_[0], value);
5118
+ };
5119
+
5120
+
5121
+ /**
5122
+ * Clears the field making it undefined.
5123
+ * @return {!proto.log.AuditScalar} returns this
5124
+ */
5125
+ proto.log.AuditScalar.prototype.clearStringValue = function() {
5126
+ return jspb.Message.setOneofField(this, 4, proto.log.AuditScalar.oneofGroups_[0], undefined);
5127
+ };
5128
+
5129
+
5130
+ /**
5131
+ * Returns whether this field is set.
5132
+ * @return {boolean}
5133
+ */
5134
+ proto.log.AuditScalar.prototype.hasStringValue = function() {
5135
+ return jspb.Message.getField(this, 4) != null;
5136
+ };
5137
+
5138
+
5139
+ /**
5140
+ * optional string decimal_value = 5;
5141
+ * @return {string}
5142
+ */
5143
+ proto.log.AuditScalar.prototype.getDecimalValue = function() {
5144
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
5145
+ };
5146
+
5147
+
5148
+ /**
5149
+ * @param {string} value
5150
+ * @return {!proto.log.AuditScalar} returns this
5151
+ */
5152
+ proto.log.AuditScalar.prototype.setDecimalValue = function(value) {
5153
+ return jspb.Message.setOneofField(this, 5, proto.log.AuditScalar.oneofGroups_[0], value);
5154
+ };
5155
+
5156
+
5157
+ /**
5158
+ * Clears the field making it undefined.
5159
+ * @return {!proto.log.AuditScalar} returns this
5160
+ */
5161
+ proto.log.AuditScalar.prototype.clearDecimalValue = function() {
5162
+ return jspb.Message.setOneofField(this, 5, proto.log.AuditScalar.oneofGroups_[0], undefined);
5163
+ };
5164
+
5165
+
5166
+ /**
5167
+ * Returns whether this field is set.
5168
+ * @return {boolean}
5169
+ */
5170
+ proto.log.AuditScalar.prototype.hasDecimalValue = function() {
5171
+ return jspb.Message.getField(this, 5) != null;
5172
+ };
5173
+
5174
+
5175
+
5176
+
5177
+
5178
+ if (jspb.Message.GENERATE_TO_OBJECT) {
5179
+ /**
5180
+ * Creates an object representation of this proto.
5181
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
5182
+ * Optional fields that are not set will be set to undefined.
5183
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
5184
+ * For the list of reserved names please see:
5185
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
5186
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
5187
+ * JSPB instance for transitional soy proto support:
5188
+ * http://goto/soy-param-migration
5189
+ * @return {!Object}
5190
+ */
5191
+ proto.log.AuditTransition.prototype.toObject = function(opt_includeInstance) {
5192
+ return proto.log.AuditTransition.toObject(opt_includeInstance, this);
5193
+ };
5194
+
5195
+
5196
+ /**
5197
+ * Static version of the {@see toObject} method.
5198
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
5199
+ * the JSPB instance for transitional soy proto support:
5200
+ * http://goto/soy-param-migration
5201
+ * @param {!proto.log.AuditTransition} msg The msg instance to transform.
5202
+ * @return {!Object}
5203
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5204
+ */
5205
+ proto.log.AuditTransition.toObject = function(includeInstance, msg) {
5206
+ var f, obj = {
5207
+ before: (f = msg.getBefore()) && proto.log.AuditScalar.toObject(includeInstance, f),
5208
+ after: (f = msg.getAfter()) && proto.log.AuditScalar.toObject(includeInstance, f)
5209
+ };
5210
+
5211
+ if (includeInstance) {
5212
+ obj.$jspbMessageInstance = msg;
5213
+ }
5214
+ return obj;
5215
+ };
5216
+ }
5217
+
5218
+
5219
+ /**
5220
+ * Deserializes binary data (in protobuf wire format).
5221
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
5222
+ * @return {!proto.log.AuditTransition}
5223
+ */
5224
+ proto.log.AuditTransition.deserializeBinary = function(bytes) {
5225
+ var reader = new jspb.BinaryReader(bytes);
5226
+ var msg = new proto.log.AuditTransition;
5227
+ return proto.log.AuditTransition.deserializeBinaryFromReader(msg, reader);
5228
+ };
5229
+
5230
+
5231
+ /**
5232
+ * Deserializes binary data (in protobuf wire format) from the
5233
+ * given reader into the given message object.
5234
+ * @param {!proto.log.AuditTransition} msg The message object to deserialize into.
5235
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
5236
+ * @return {!proto.log.AuditTransition}
5237
+ */
5238
+ proto.log.AuditTransition.deserializeBinaryFromReader = function(msg, reader) {
5239
+ while (reader.nextField()) {
5240
+ if (reader.isEndGroup()) {
5241
+ break;
5242
+ }
5243
+ var field = reader.getFieldNumber();
5244
+ switch (field) {
5245
+ case 1:
5246
+ var value = new proto.log.AuditScalar;
5247
+ reader.readMessage(value,proto.log.AuditScalar.deserializeBinaryFromReader);
5248
+ msg.setBefore(value);
5249
+ break;
5250
+ case 2:
5251
+ var value = new proto.log.AuditScalar;
5252
+ reader.readMessage(value,proto.log.AuditScalar.deserializeBinaryFromReader);
5253
+ msg.setAfter(value);
5254
+ break;
5255
+ default:
5256
+ reader.skipField();
5257
+ break;
5258
+ }
5259
+ }
5260
+ return msg;
5261
+ };
5262
+
5263
+
5264
+ /**
5265
+ * Serializes the message to binary data (in protobuf wire format).
5266
+ * @return {!Uint8Array}
5267
+ */
5268
+ proto.log.AuditTransition.prototype.serializeBinary = function() {
5269
+ var writer = new jspb.BinaryWriter();
5270
+ proto.log.AuditTransition.serializeBinaryToWriter(this, writer);
5271
+ return writer.getResultBuffer();
5272
+ };
5273
+
5274
+
5275
+ /**
5276
+ * Serializes the given message to binary data (in protobuf wire
5277
+ * format), writing to the given BinaryWriter.
5278
+ * @param {!proto.log.AuditTransition} message
5279
+ * @param {!jspb.BinaryWriter} writer
5280
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5281
+ */
5282
+ proto.log.AuditTransition.serializeBinaryToWriter = function(message, writer) {
5283
+ var f = undefined;
5284
+ f = message.getBefore();
5285
+ if (f != null) {
5286
+ writer.writeMessage(
5287
+ 1,
5288
+ f,
5289
+ proto.log.AuditScalar.serializeBinaryToWriter
5290
+ );
5291
+ }
5292
+ f = message.getAfter();
5293
+ if (f != null) {
5294
+ writer.writeMessage(
5295
+ 2,
5296
+ f,
5297
+ proto.log.AuditScalar.serializeBinaryToWriter
5298
+ );
5299
+ }
5300
+ };
5301
+
5302
+
5303
+ /**
5304
+ * optional AuditScalar before = 1;
5305
+ * @return {?proto.log.AuditScalar}
5306
+ */
5307
+ proto.log.AuditTransition.prototype.getBefore = function() {
5308
+ return /** @type{?proto.log.AuditScalar} */ (
5309
+ jspb.Message.getWrapperField(this, proto.log.AuditScalar, 1));
5310
+ };
5311
+
5312
+
5313
+ /**
5314
+ * @param {?proto.log.AuditScalar|undefined} value
5315
+ * @return {!proto.log.AuditTransition} returns this
5316
+ */
5317
+ proto.log.AuditTransition.prototype.setBefore = function(value) {
5318
+ return jspb.Message.setWrapperField(this, 1, value);
5319
+ };
5320
+
5321
+
5322
+ /**
5323
+ * Clears the message field making it undefined.
5324
+ * @return {!proto.log.AuditTransition} returns this
5325
+ */
5326
+ proto.log.AuditTransition.prototype.clearBefore = function() {
5327
+ return this.setBefore(undefined);
5328
+ };
5329
+
5330
+
5331
+ /**
5332
+ * Returns whether this field is set.
5333
+ * @return {boolean}
5334
+ */
5335
+ proto.log.AuditTransition.prototype.hasBefore = function() {
5336
+ return jspb.Message.getField(this, 1) != null;
5337
+ };
5338
+
5339
+
5340
+ /**
5341
+ * optional AuditScalar after = 2;
5342
+ * @return {?proto.log.AuditScalar}
5343
+ */
5344
+ proto.log.AuditTransition.prototype.getAfter = function() {
5345
+ return /** @type{?proto.log.AuditScalar} */ (
5346
+ jspb.Message.getWrapperField(this, proto.log.AuditScalar, 2));
5347
+ };
5348
+
5349
+
5350
+ /**
5351
+ * @param {?proto.log.AuditScalar|undefined} value
5352
+ * @return {!proto.log.AuditTransition} returns this
5353
+ */
5354
+ proto.log.AuditTransition.prototype.setAfter = function(value) {
5355
+ return jspb.Message.setWrapperField(this, 2, value);
5356
+ };
5357
+
5358
+
5359
+ /**
5360
+ * Clears the message field making it undefined.
5361
+ * @return {!proto.log.AuditTransition} returns this
5362
+ */
5363
+ proto.log.AuditTransition.prototype.clearAfter = function() {
5364
+ return this.setAfter(undefined);
5365
+ };
5366
+
5367
+
5368
+ /**
5369
+ * Returns whether this field is set.
5370
+ * @return {boolean}
5371
+ */
5372
+ proto.log.AuditTransition.prototype.hasAfter = function() {
5373
+ return jspb.Message.getField(this, 2) != null;
5374
+ };
5375
+
5376
+
5377
+
5378
+ /**
5379
+ * Oneof group definitions for this message. Each group defines the field
5380
+ * numbers belonging to that group. When of these fields' value is set, all
5381
+ * other fields in the group are cleared. During deserialization, if multiple
5382
+ * fields are encountered for a group, only the last value seen will be kept.
5383
+ * @private {!Array<!Array<number>>}
5384
+ * @const
5385
+ */
5386
+ proto.log.AuditFieldChange.oneofGroups_ = [[2,3]];
5387
+
5388
+ /**
5389
+ * @enum {number}
5390
+ */
5391
+ proto.log.AuditFieldChange.DisplayCase = {
5392
+ DISPLAY_NOT_SET: 0,
5393
+ CHANGED_ONLY: 2,
5394
+ TRANSITION: 3
5395
+ };
5396
+
5397
+ /**
5398
+ * @return {proto.log.AuditFieldChange.DisplayCase}
5399
+ */
5400
+ proto.log.AuditFieldChange.prototype.getDisplayCase = function() {
5401
+ return /** @type {proto.log.AuditFieldChange.DisplayCase} */(jspb.Message.computeOneofCase(this, proto.log.AuditFieldChange.oneofGroups_[0]));
5402
+ };
5403
+
5404
+
5405
+
5406
+ if (jspb.Message.GENERATE_TO_OBJECT) {
5407
+ /**
5408
+ * Creates an object representation of this proto.
5409
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
5410
+ * Optional fields that are not set will be set to undefined.
5411
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
5412
+ * For the list of reserved names please see:
5413
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
5414
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
5415
+ * JSPB instance for transitional soy proto support:
5416
+ * http://goto/soy-param-migration
5417
+ * @return {!Object}
5418
+ */
5419
+ proto.log.AuditFieldChange.prototype.toObject = function(opt_includeInstance) {
5420
+ return proto.log.AuditFieldChange.toObject(opt_includeInstance, this);
5421
+ };
5422
+
5423
+
5424
+ /**
5425
+ * Static version of the {@see toObject} method.
5426
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
5427
+ * the JSPB instance for transitional soy proto support:
5428
+ * http://goto/soy-param-migration
5429
+ * @param {!proto.log.AuditFieldChange} msg The msg instance to transform.
5430
+ * @return {!Object}
5431
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5432
+ */
5433
+ proto.log.AuditFieldChange.toObject = function(includeInstance, msg) {
5434
+ var f, obj = {
5435
+ field: jspb.Message.getFieldWithDefault(msg, 1, ""),
5436
+ changedOnly: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
5437
+ transition: (f = msg.getTransition()) && proto.log.AuditTransition.toObject(includeInstance, f)
5438
+ };
5439
+
5440
+ if (includeInstance) {
5441
+ obj.$jspbMessageInstance = msg;
5442
+ }
5443
+ return obj;
5444
+ };
5445
+ }
5446
+
5447
+
5448
+ /**
5449
+ * Deserializes binary data (in protobuf wire format).
5450
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
5451
+ * @return {!proto.log.AuditFieldChange}
5452
+ */
5453
+ proto.log.AuditFieldChange.deserializeBinary = function(bytes) {
5454
+ var reader = new jspb.BinaryReader(bytes);
5455
+ var msg = new proto.log.AuditFieldChange;
5456
+ return proto.log.AuditFieldChange.deserializeBinaryFromReader(msg, reader);
5457
+ };
5458
+
5459
+
5460
+ /**
5461
+ * Deserializes binary data (in protobuf wire format) from the
5462
+ * given reader into the given message object.
5463
+ * @param {!proto.log.AuditFieldChange} msg The message object to deserialize into.
5464
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
5465
+ * @return {!proto.log.AuditFieldChange}
5466
+ */
5467
+ proto.log.AuditFieldChange.deserializeBinaryFromReader = function(msg, reader) {
5468
+ while (reader.nextField()) {
5469
+ if (reader.isEndGroup()) {
5470
+ break;
5471
+ }
5472
+ var field = reader.getFieldNumber();
5473
+ switch (field) {
5474
+ case 1:
5475
+ var value = /** @type {string} */ (reader.readString());
5476
+ msg.setField(value);
5477
+ break;
5478
+ case 2:
5479
+ var value = /** @type {boolean} */ (reader.readBool());
5480
+ msg.setChangedOnly(value);
5481
+ break;
5482
+ case 3:
5483
+ var value = new proto.log.AuditTransition;
5484
+ reader.readMessage(value,proto.log.AuditTransition.deserializeBinaryFromReader);
5485
+ msg.setTransition(value);
5486
+ break;
5487
+ default:
5488
+ reader.skipField();
5489
+ break;
5490
+ }
5491
+ }
5492
+ return msg;
5493
+ };
5494
+
5495
+
5496
+ /**
5497
+ * Serializes the message to binary data (in protobuf wire format).
5498
+ * @return {!Uint8Array}
5499
+ */
5500
+ proto.log.AuditFieldChange.prototype.serializeBinary = function() {
5501
+ var writer = new jspb.BinaryWriter();
5502
+ proto.log.AuditFieldChange.serializeBinaryToWriter(this, writer);
5503
+ return writer.getResultBuffer();
5504
+ };
5505
+
5506
+
5507
+ /**
5508
+ * Serializes the given message to binary data (in protobuf wire
5509
+ * format), writing to the given BinaryWriter.
5510
+ * @param {!proto.log.AuditFieldChange} message
5511
+ * @param {!jspb.BinaryWriter} writer
5512
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5513
+ */
5514
+ proto.log.AuditFieldChange.serializeBinaryToWriter = function(message, writer) {
5515
+ var f = undefined;
5516
+ f = message.getField();
5517
+ if (f.length > 0) {
5518
+ writer.writeString(
5519
+ 1,
5520
+ f
5521
+ );
5522
+ }
5523
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 2));
5524
+ if (f != null) {
5525
+ writer.writeBool(
5526
+ 2,
5527
+ f
5528
+ );
5529
+ }
5530
+ f = message.getTransition();
5531
+ if (f != null) {
5532
+ writer.writeMessage(
5533
+ 3,
5534
+ f,
5535
+ proto.log.AuditTransition.serializeBinaryToWriter
5536
+ );
5537
+ }
5538
+ };
5539
+
5540
+
5541
+ /**
5542
+ * optional string field = 1;
5543
+ * @return {string}
5544
+ */
5545
+ proto.log.AuditFieldChange.prototype.getField = function() {
5546
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
5547
+ };
5548
+
5549
+
5550
+ /**
5551
+ * @param {string} value
5552
+ * @return {!proto.log.AuditFieldChange} returns this
5553
+ */
5554
+ proto.log.AuditFieldChange.prototype.setField = function(value) {
5555
+ return jspb.Message.setProto3StringField(this, 1, value);
5556
+ };
5557
+
5558
+
5559
+ /**
5560
+ * optional bool changed_only = 2;
5561
+ * @return {boolean}
5562
+ */
5563
+ proto.log.AuditFieldChange.prototype.getChangedOnly = function() {
5564
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
5565
+ };
5566
+
5567
+
5568
+ /**
5569
+ * @param {boolean} value
5570
+ * @return {!proto.log.AuditFieldChange} returns this
5571
+ */
5572
+ proto.log.AuditFieldChange.prototype.setChangedOnly = function(value) {
5573
+ return jspb.Message.setOneofField(this, 2, proto.log.AuditFieldChange.oneofGroups_[0], value);
5574
+ };
5575
+
5576
+
5577
+ /**
5578
+ * Clears the field making it undefined.
5579
+ * @return {!proto.log.AuditFieldChange} returns this
5580
+ */
5581
+ proto.log.AuditFieldChange.prototype.clearChangedOnly = function() {
5582
+ return jspb.Message.setOneofField(this, 2, proto.log.AuditFieldChange.oneofGroups_[0], undefined);
5583
+ };
5584
+
5585
+
5586
+ /**
5587
+ * Returns whether this field is set.
5588
+ * @return {boolean}
5589
+ */
5590
+ proto.log.AuditFieldChange.prototype.hasChangedOnly = function() {
5591
+ return jspb.Message.getField(this, 2) != null;
5592
+ };
5593
+
5594
+
5595
+ /**
5596
+ * optional AuditTransition transition = 3;
5597
+ * @return {?proto.log.AuditTransition}
5598
+ */
5599
+ proto.log.AuditFieldChange.prototype.getTransition = function() {
5600
+ return /** @type{?proto.log.AuditTransition} */ (
5601
+ jspb.Message.getWrapperField(this, proto.log.AuditTransition, 3));
5602
+ };
5603
+
5604
+
5605
+ /**
5606
+ * @param {?proto.log.AuditTransition|undefined} value
5607
+ * @return {!proto.log.AuditFieldChange} returns this
5608
+ */
5609
+ proto.log.AuditFieldChange.prototype.setTransition = function(value) {
5610
+ return jspb.Message.setOneofWrapperField(this, 3, proto.log.AuditFieldChange.oneofGroups_[0], value);
5611
+ };
5612
+
5613
+
5614
+ /**
5615
+ * Clears the message field making it undefined.
5616
+ * @return {!proto.log.AuditFieldChange} returns this
5617
+ */
5618
+ proto.log.AuditFieldChange.prototype.clearTransition = function() {
5619
+ return this.setTransition(undefined);
5620
+ };
5621
+
5622
+
5623
+ /**
5624
+ * Returns whether this field is set.
5625
+ * @return {boolean}
5626
+ */
5627
+ proto.log.AuditFieldChange.prototype.hasTransition = function() {
5628
+ return jspb.Message.getField(this, 3) != null;
5629
+ };
5630
+
5631
+
5632
+
5633
+ /**
5634
+ * List of repeated fields within this message type.
5635
+ * @private {!Array<number>}
5636
+ * @const
5637
+ */
5638
+ proto.log.AuditDetailResponse.repeatedFields_ = [1];
5639
+
5640
+
5641
+
5642
+ if (jspb.Message.GENERATE_TO_OBJECT) {
5643
+ /**
5644
+ * Creates an object representation of this proto.
5645
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
5646
+ * Optional fields that are not set will be set to undefined.
5647
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
5648
+ * For the list of reserved names please see:
5649
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
5650
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
5651
+ * JSPB instance for transitional soy proto support:
5652
+ * http://goto/soy-param-migration
5653
+ * @return {!Object}
5654
+ */
5655
+ proto.log.AuditDetailResponse.prototype.toObject = function(opt_includeInstance) {
5656
+ return proto.log.AuditDetailResponse.toObject(opt_includeInstance, this);
5657
+ };
5658
+
5659
+
5660
+ /**
5661
+ * Static version of the {@see toObject} method.
5662
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
5663
+ * the JSPB instance for transitional soy proto support:
5664
+ * http://goto/soy-param-migration
5665
+ * @param {!proto.log.AuditDetailResponse} msg The msg instance to transform.
5666
+ * @return {!Object}
5667
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5668
+ */
5669
+ proto.log.AuditDetailResponse.toObject = function(includeInstance, msg) {
5670
+ var f, obj = {
5671
+ changesList: jspb.Message.toObjectList(msg.getChangesList(),
5672
+ proto.log.AuditFieldChange.toObject, includeInstance),
5673
+ eventId: jspb.Message.getFieldWithDefault(msg, 2, "")
5674
+ };
5675
+
5676
+ if (includeInstance) {
5677
+ obj.$jspbMessageInstance = msg;
5678
+ }
5679
+ return obj;
5680
+ };
5681
+ }
5682
+
5683
+
5684
+ /**
5685
+ * Deserializes binary data (in protobuf wire format).
5686
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
5687
+ * @return {!proto.log.AuditDetailResponse}
5688
+ */
5689
+ proto.log.AuditDetailResponse.deserializeBinary = function(bytes) {
5690
+ var reader = new jspb.BinaryReader(bytes);
5691
+ var msg = new proto.log.AuditDetailResponse;
5692
+ return proto.log.AuditDetailResponse.deserializeBinaryFromReader(msg, reader);
5693
+ };
5694
+
5695
+
5696
+ /**
5697
+ * Deserializes binary data (in protobuf wire format) from the
5698
+ * given reader into the given message object.
5699
+ * @param {!proto.log.AuditDetailResponse} msg The message object to deserialize into.
5700
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
5701
+ * @return {!proto.log.AuditDetailResponse}
5702
+ */
5703
+ proto.log.AuditDetailResponse.deserializeBinaryFromReader = function(msg, reader) {
5704
+ while (reader.nextField()) {
5705
+ if (reader.isEndGroup()) {
5706
+ break;
5707
+ }
5708
+ var field = reader.getFieldNumber();
5709
+ switch (field) {
5710
+ case 1:
5711
+ var value = new proto.log.AuditFieldChange;
5712
+ reader.readMessage(value,proto.log.AuditFieldChange.deserializeBinaryFromReader);
5713
+ msg.addChanges(value);
5714
+ break;
5715
+ case 2:
5716
+ var value = /** @type {string} */ (reader.readString());
5717
+ msg.setEventId(value);
5718
+ break;
5719
+ default:
5720
+ reader.skipField();
5721
+ break;
5722
+ }
5723
+ }
5724
+ return msg;
5725
+ };
5726
+
5727
+
5728
+ /**
5729
+ * Serializes the message to binary data (in protobuf wire format).
5730
+ * @return {!Uint8Array}
5731
+ */
5732
+ proto.log.AuditDetailResponse.prototype.serializeBinary = function() {
5733
+ var writer = new jspb.BinaryWriter();
5734
+ proto.log.AuditDetailResponse.serializeBinaryToWriter(this, writer);
5735
+ return writer.getResultBuffer();
5736
+ };
5737
+
5738
+
5739
+ /**
5740
+ * Serializes the given message to binary data (in protobuf wire
5741
+ * format), writing to the given BinaryWriter.
5742
+ * @param {!proto.log.AuditDetailResponse} message
5743
+ * @param {!jspb.BinaryWriter} writer
5744
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5745
+ */
5746
+ proto.log.AuditDetailResponse.serializeBinaryToWriter = function(message, writer) {
5747
+ var f = undefined;
5748
+ f = message.getChangesList();
5749
+ if (f.length > 0) {
5750
+ writer.writeRepeatedMessage(
5751
+ 1,
5752
+ f,
5753
+ proto.log.AuditFieldChange.serializeBinaryToWriter
5754
+ );
5755
+ }
5756
+ f = message.getEventId();
5757
+ if (f.length > 0) {
5758
+ writer.writeString(
5759
+ 2,
5760
+ f
5761
+ );
5762
+ }
5763
+ };
5764
+
5765
+
5766
+ /**
5767
+ * repeated AuditFieldChange changes = 1;
5768
+ * @return {!Array<!proto.log.AuditFieldChange>}
5769
+ */
5770
+ proto.log.AuditDetailResponse.prototype.getChangesList = function() {
5771
+ return /** @type{!Array<!proto.log.AuditFieldChange>} */ (
5772
+ jspb.Message.getRepeatedWrapperField(this, proto.log.AuditFieldChange, 1));
5773
+ };
5774
+
5775
+
5776
+ /**
5777
+ * @param {!Array<!proto.log.AuditFieldChange>} value
5778
+ * @return {!proto.log.AuditDetailResponse} returns this
5779
+ */
5780
+ proto.log.AuditDetailResponse.prototype.setChangesList = function(value) {
5781
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
5782
+ };
5783
+
5784
+
5785
+ /**
5786
+ * @param {!proto.log.AuditFieldChange=} opt_value
5787
+ * @param {number=} opt_index
5788
+ * @return {!proto.log.AuditFieldChange}
5789
+ */
5790
+ proto.log.AuditDetailResponse.prototype.addChanges = function(opt_value, opt_index) {
5791
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.log.AuditFieldChange, opt_index);
5792
+ };
5793
+
5794
+
5795
+ /**
5796
+ * Clears the list making it empty but non-null.
5797
+ * @return {!proto.log.AuditDetailResponse} returns this
5798
+ */
5799
+ proto.log.AuditDetailResponse.prototype.clearChangesList = function() {
5800
+ return this.setChangesList([]);
5801
+ };
5802
+
5803
+
5804
+ /**
5805
+ * optional string event_id = 2;
5806
+ * @return {string}
5807
+ */
5808
+ proto.log.AuditDetailResponse.prototype.getEventId = function() {
5809
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
5810
+ };
5811
+
5812
+
5813
+ /**
5814
+ * @param {string} value
5815
+ * @return {!proto.log.AuditDetailResponse} returns this
5816
+ */
5817
+ proto.log.AuditDetailResponse.prototype.setEventId = function(value) {
5818
+ return jspb.Message.setProto3StringField(this, 2, value);
5819
+ };
5820
+
5821
+
3344
5822
  goog.object.extend(exports, proto.log);