@dashevo/dapi-grpc 0.22.16 → 0.23.0-alpha.1

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.
@@ -13,7 +13,13 @@
13
13
 
14
14
  var jspb = require('google-protobuf');
15
15
  var goog = jspb;
16
- var global = Function('return this')();
16
+ var global = (function() {
17
+ if (this) { return this; }
18
+ if (typeof window !== 'undefined') { return window; }
19
+ if (typeof global !== 'undefined') { return global; }
20
+ if (typeof self !== 'undefined') { return self; }
21
+ return Function('return this')();
22
+ }.call(null));
17
23
 
18
24
  goog.exportSymbol('proto.org.dash.platform.dapi.v0.BroadcastStateTransitionRequest', null, global);
19
25
  goog.exportSymbol('proto.org.dash.platform.dapi.v0.BroadcastStateTransitionResponse', null, global);
@@ -28,8 +34,6 @@ goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsRequest.StartCase
28
34
  goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsResponse', null, global);
29
35
  goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesRequest', null, global);
30
36
  goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse', null, global);
31
- goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesRequest', null, global);
32
- goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse', null, global);
33
37
  goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentityRequest', null, global);
34
38
  goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentityResponse', null, global);
35
39
  goog.exportSymbol('proto.org.dash.platform.dapi.v0.Proof', null, global);
@@ -311,48 +315,6 @@ if (goog.DEBUG && !COMPILED) {
311
315
  */
312
316
  proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse.displayName = 'proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse';
313
317
  }
314
- /**
315
- * Generated by JsPbCodeGenerator.
316
- * @param {Array=} opt_data Optional initial data array, typically from a
317
- * server response, or constructed directly in Javascript. The array is used
318
- * in place and becomes part of the constructed object. It is not cloned.
319
- * If no data is provided, the constructed object will be empty, but still
320
- * valid.
321
- * @extends {jspb.Message}
322
- * @constructor
323
- */
324
- proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesRequest = function(opt_data) {
325
- jspb.Message.initialize(this, opt_data, 0, -1, proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesRequest.repeatedFields_, null);
326
- };
327
- goog.inherits(proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesRequest, jspb.Message);
328
- if (goog.DEBUG && !COMPILED) {
329
- /**
330
- * @public
331
- * @override
332
- */
333
- proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesRequest.displayName = 'proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesRequest';
334
- }
335
- /**
336
- * Generated by JsPbCodeGenerator.
337
- * @param {Array=} opt_data Optional initial data array, typically from a
338
- * server response, or constructed directly in Javascript. The array is used
339
- * in place and becomes part of the constructed object. It is not cloned.
340
- * If no data is provided, the constructed object will be empty, but still
341
- * valid.
342
- * @extends {jspb.Message}
343
- * @constructor
344
- */
345
- proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse = function(opt_data) {
346
- jspb.Message.initialize(this, opt_data, 0, -1, proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse.repeatedFields_, null);
347
- };
348
- goog.inherits(proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse, jspb.Message);
349
- if (goog.DEBUG && !COMPILED) {
350
- /**
351
- * @public
352
- * @override
353
- */
354
- proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse.displayName = 'proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse';
355
- }
356
318
  /**
357
319
  * Generated by JsPbCodeGenerator.
358
320
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -3547,498 +3509,6 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse.prototype
3547
3509
 
3548
3510
 
3549
3511
 
3550
- /**
3551
- * List of repeated fields within this message type.
3552
- * @private {!Array<number>}
3553
- * @const
3554
- */
3555
- proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesRequest.repeatedFields_ = [1];
3556
-
3557
-
3558
-
3559
- if (jspb.Message.GENERATE_TO_OBJECT) {
3560
- /**
3561
- * Creates an object representation of this proto.
3562
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
3563
- * Optional fields that are not set will be set to undefined.
3564
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3565
- * For the list of reserved names please see:
3566
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3567
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3568
- * JSPB instance for transitional soy proto support:
3569
- * http://goto/soy-param-migration
3570
- * @return {!Object}
3571
- */
3572
- proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesRequest.prototype.toObject = function(opt_includeInstance) {
3573
- return proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesRequest.toObject(opt_includeInstance, this);
3574
- };
3575
-
3576
-
3577
- /**
3578
- * Static version of the {@see toObject} method.
3579
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3580
- * the JSPB instance for transitional soy proto support:
3581
- * http://goto/soy-param-migration
3582
- * @param {!proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesRequest} msg The msg instance to transform.
3583
- * @return {!Object}
3584
- * @suppress {unusedLocalVariables} f is only used for nested messages
3585
- */
3586
- proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesRequest.toObject = function(includeInstance, msg) {
3587
- var f, obj = {
3588
- publicKeyHashesList: msg.getPublicKeyHashesList_asB64(),
3589
- prove: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
3590
- };
3591
-
3592
- if (includeInstance) {
3593
- obj.$jspbMessageInstance = msg;
3594
- }
3595
- return obj;
3596
- };
3597
- }
3598
-
3599
-
3600
- /**
3601
- * Deserializes binary data (in protobuf wire format).
3602
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
3603
- * @return {!proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesRequest}
3604
- */
3605
- proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesRequest.deserializeBinary = function(bytes) {
3606
- var reader = new jspb.BinaryReader(bytes);
3607
- var msg = new proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesRequest;
3608
- return proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesRequest.deserializeBinaryFromReader(msg, reader);
3609
- };
3610
-
3611
-
3612
- /**
3613
- * Deserializes binary data (in protobuf wire format) from the
3614
- * given reader into the given message object.
3615
- * @param {!proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesRequest} msg The message object to deserialize into.
3616
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3617
- * @return {!proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesRequest}
3618
- */
3619
- proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesRequest.deserializeBinaryFromReader = function(msg, reader) {
3620
- while (reader.nextField()) {
3621
- if (reader.isEndGroup()) {
3622
- break;
3623
- }
3624
- var field = reader.getFieldNumber();
3625
- switch (field) {
3626
- case 1:
3627
- var value = /** @type {!Uint8Array} */ (reader.readBytes());
3628
- msg.addPublicKeyHashes(value);
3629
- break;
3630
- case 2:
3631
- var value = /** @type {boolean} */ (reader.readBool());
3632
- msg.setProve(value);
3633
- break;
3634
- default:
3635
- reader.skipField();
3636
- break;
3637
- }
3638
- }
3639
- return msg;
3640
- };
3641
-
3642
-
3643
- /**
3644
- * Serializes the message to binary data (in protobuf wire format).
3645
- * @return {!Uint8Array}
3646
- */
3647
- proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesRequest.prototype.serializeBinary = function() {
3648
- var writer = new jspb.BinaryWriter();
3649
- proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesRequest.serializeBinaryToWriter(this, writer);
3650
- return writer.getResultBuffer();
3651
- };
3652
-
3653
-
3654
- /**
3655
- * Serializes the given message to binary data (in protobuf wire
3656
- * format), writing to the given BinaryWriter.
3657
- * @param {!proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesRequest} message
3658
- * @param {!jspb.BinaryWriter} writer
3659
- * @suppress {unusedLocalVariables} f is only used for nested messages
3660
- */
3661
- proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesRequest.serializeBinaryToWriter = function(message, writer) {
3662
- var f = undefined;
3663
- f = message.getPublicKeyHashesList_asU8();
3664
- if (f.length > 0) {
3665
- writer.writeRepeatedBytes(
3666
- 1,
3667
- f
3668
- );
3669
- }
3670
- f = message.getProve();
3671
- if (f) {
3672
- writer.writeBool(
3673
- 2,
3674
- f
3675
- );
3676
- }
3677
- };
3678
-
3679
-
3680
- /**
3681
- * repeated bytes public_key_hashes = 1;
3682
- * @return {!Array<string>}
3683
- */
3684
- proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesRequest.prototype.getPublicKeyHashesList = function() {
3685
- return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
3686
- };
3687
-
3688
-
3689
- /**
3690
- * repeated bytes public_key_hashes = 1;
3691
- * This is a type-conversion wrapper around `getPublicKeyHashesList()`
3692
- * @return {!Array<string>}
3693
- */
3694
- proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesRequest.prototype.getPublicKeyHashesList_asB64 = function() {
3695
- return /** @type {!Array<string>} */ (jspb.Message.bytesListAsB64(
3696
- this.getPublicKeyHashesList()));
3697
- };
3698
-
3699
-
3700
- /**
3701
- * repeated bytes public_key_hashes = 1;
3702
- * Note that Uint8Array is not supported on all browsers.
3703
- * @see http://caniuse.com/Uint8Array
3704
- * This is a type-conversion wrapper around `getPublicKeyHashesList()`
3705
- * @return {!Array<!Uint8Array>}
3706
- */
3707
- proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesRequest.prototype.getPublicKeyHashesList_asU8 = function() {
3708
- return /** @type {!Array<!Uint8Array>} */ (jspb.Message.bytesListAsU8(
3709
- this.getPublicKeyHashesList()));
3710
- };
3711
-
3712
-
3713
- /**
3714
- * @param {!(Array<!Uint8Array>|Array<string>)} value
3715
- * @return {!proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesRequest} returns this
3716
- */
3717
- proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesRequest.prototype.setPublicKeyHashesList = function(value) {
3718
- return jspb.Message.setField(this, 1, value || []);
3719
- };
3720
-
3721
-
3722
- /**
3723
- * @param {!(string|Uint8Array)} value
3724
- * @param {number=} opt_index
3725
- * @return {!proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesRequest} returns this
3726
- */
3727
- proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesRequest.prototype.addPublicKeyHashes = function(value, opt_index) {
3728
- return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
3729
- };
3730
-
3731
-
3732
- /**
3733
- * Clears the list making it empty but non-null.
3734
- * @return {!proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesRequest} returns this
3735
- */
3736
- proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesRequest.prototype.clearPublicKeyHashesList = function() {
3737
- return this.setPublicKeyHashesList([]);
3738
- };
3739
-
3740
-
3741
- /**
3742
- * optional bool prove = 2;
3743
- * @return {boolean}
3744
- */
3745
- proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesRequest.prototype.getProve = function() {
3746
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
3747
- };
3748
-
3749
-
3750
- /**
3751
- * @param {boolean} value
3752
- * @return {!proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesRequest} returns this
3753
- */
3754
- proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesRequest.prototype.setProve = function(value) {
3755
- return jspb.Message.setProto3BooleanField(this, 2, value);
3756
- };
3757
-
3758
-
3759
-
3760
- /**
3761
- * List of repeated fields within this message type.
3762
- * @private {!Array<number>}
3763
- * @const
3764
- */
3765
- proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse.repeatedFields_ = [1];
3766
-
3767
-
3768
-
3769
- if (jspb.Message.GENERATE_TO_OBJECT) {
3770
- /**
3771
- * Creates an object representation of this proto.
3772
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
3773
- * Optional fields that are not set will be set to undefined.
3774
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3775
- * For the list of reserved names please see:
3776
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3777
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3778
- * JSPB instance for transitional soy proto support:
3779
- * http://goto/soy-param-migration
3780
- * @return {!Object}
3781
- */
3782
- proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse.prototype.toObject = function(opt_includeInstance) {
3783
- return proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse.toObject(opt_includeInstance, this);
3784
- };
3785
-
3786
-
3787
- /**
3788
- * Static version of the {@see toObject} method.
3789
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3790
- * the JSPB instance for transitional soy proto support:
3791
- * http://goto/soy-param-migration
3792
- * @param {!proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse} msg The msg instance to transform.
3793
- * @return {!Object}
3794
- * @suppress {unusedLocalVariables} f is only used for nested messages
3795
- */
3796
- proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse.toObject = function(includeInstance, msg) {
3797
- var f, obj = {
3798
- identityIdsList: msg.getIdentityIdsList_asB64(),
3799
- proof: (f = msg.getProof()) && proto.org.dash.platform.dapi.v0.Proof.toObject(includeInstance, f),
3800
- metadata: (f = msg.getMetadata()) && proto.org.dash.platform.dapi.v0.ResponseMetadata.toObject(includeInstance, f)
3801
- };
3802
-
3803
- if (includeInstance) {
3804
- obj.$jspbMessageInstance = msg;
3805
- }
3806
- return obj;
3807
- };
3808
- }
3809
-
3810
-
3811
- /**
3812
- * Deserializes binary data (in protobuf wire format).
3813
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
3814
- * @return {!proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse}
3815
- */
3816
- proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse.deserializeBinary = function(bytes) {
3817
- var reader = new jspb.BinaryReader(bytes);
3818
- var msg = new proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse;
3819
- return proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse.deserializeBinaryFromReader(msg, reader);
3820
- };
3821
-
3822
-
3823
- /**
3824
- * Deserializes binary data (in protobuf wire format) from the
3825
- * given reader into the given message object.
3826
- * @param {!proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse} msg The message object to deserialize into.
3827
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
3828
- * @return {!proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse}
3829
- */
3830
- proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse.deserializeBinaryFromReader = function(msg, reader) {
3831
- while (reader.nextField()) {
3832
- if (reader.isEndGroup()) {
3833
- break;
3834
- }
3835
- var field = reader.getFieldNumber();
3836
- switch (field) {
3837
- case 1:
3838
- var value = /** @type {!Uint8Array} */ (reader.readBytes());
3839
- msg.addIdentityIds(value);
3840
- break;
3841
- case 2:
3842
- var value = new proto.org.dash.platform.dapi.v0.Proof;
3843
- reader.readMessage(value,proto.org.dash.platform.dapi.v0.Proof.deserializeBinaryFromReader);
3844
- msg.setProof(value);
3845
- break;
3846
- case 3:
3847
- var value = new proto.org.dash.platform.dapi.v0.ResponseMetadata;
3848
- reader.readMessage(value,proto.org.dash.platform.dapi.v0.ResponseMetadata.deserializeBinaryFromReader);
3849
- msg.setMetadata(value);
3850
- break;
3851
- default:
3852
- reader.skipField();
3853
- break;
3854
- }
3855
- }
3856
- return msg;
3857
- };
3858
-
3859
-
3860
- /**
3861
- * Serializes the message to binary data (in protobuf wire format).
3862
- * @return {!Uint8Array}
3863
- */
3864
- proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse.prototype.serializeBinary = function() {
3865
- var writer = new jspb.BinaryWriter();
3866
- proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse.serializeBinaryToWriter(this, writer);
3867
- return writer.getResultBuffer();
3868
- };
3869
-
3870
-
3871
- /**
3872
- * Serializes the given message to binary data (in protobuf wire
3873
- * format), writing to the given BinaryWriter.
3874
- * @param {!proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse} message
3875
- * @param {!jspb.BinaryWriter} writer
3876
- * @suppress {unusedLocalVariables} f is only used for nested messages
3877
- */
3878
- proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse.serializeBinaryToWriter = function(message, writer) {
3879
- var f = undefined;
3880
- f = message.getIdentityIdsList_asU8();
3881
- if (f.length > 0) {
3882
- writer.writeRepeatedBytes(
3883
- 1,
3884
- f
3885
- );
3886
- }
3887
- f = message.getProof();
3888
- if (f != null) {
3889
- writer.writeMessage(
3890
- 2,
3891
- f,
3892
- proto.org.dash.platform.dapi.v0.Proof.serializeBinaryToWriter
3893
- );
3894
- }
3895
- f = message.getMetadata();
3896
- if (f != null) {
3897
- writer.writeMessage(
3898
- 3,
3899
- f,
3900
- proto.org.dash.platform.dapi.v0.ResponseMetadata.serializeBinaryToWriter
3901
- );
3902
- }
3903
- };
3904
-
3905
-
3906
- /**
3907
- * repeated bytes identity_ids = 1;
3908
- * @return {!Array<string>}
3909
- */
3910
- proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse.prototype.getIdentityIdsList = function() {
3911
- return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
3912
- };
3913
-
3914
-
3915
- /**
3916
- * repeated bytes identity_ids = 1;
3917
- * This is a type-conversion wrapper around `getIdentityIdsList()`
3918
- * @return {!Array<string>}
3919
- */
3920
- proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse.prototype.getIdentityIdsList_asB64 = function() {
3921
- return /** @type {!Array<string>} */ (jspb.Message.bytesListAsB64(
3922
- this.getIdentityIdsList()));
3923
- };
3924
-
3925
-
3926
- /**
3927
- * repeated bytes identity_ids = 1;
3928
- * Note that Uint8Array is not supported on all browsers.
3929
- * @see http://caniuse.com/Uint8Array
3930
- * This is a type-conversion wrapper around `getIdentityIdsList()`
3931
- * @return {!Array<!Uint8Array>}
3932
- */
3933
- proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse.prototype.getIdentityIdsList_asU8 = function() {
3934
- return /** @type {!Array<!Uint8Array>} */ (jspb.Message.bytesListAsU8(
3935
- this.getIdentityIdsList()));
3936
- };
3937
-
3938
-
3939
- /**
3940
- * @param {!(Array<!Uint8Array>|Array<string>)} value
3941
- * @return {!proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse} returns this
3942
- */
3943
- proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse.prototype.setIdentityIdsList = function(value) {
3944
- return jspb.Message.setField(this, 1, value || []);
3945
- };
3946
-
3947
-
3948
- /**
3949
- * @param {!(string|Uint8Array)} value
3950
- * @param {number=} opt_index
3951
- * @return {!proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse} returns this
3952
- */
3953
- proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse.prototype.addIdentityIds = function(value, opt_index) {
3954
- return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
3955
- };
3956
-
3957
-
3958
- /**
3959
- * Clears the list making it empty but non-null.
3960
- * @return {!proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse} returns this
3961
- */
3962
- proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse.prototype.clearIdentityIdsList = function() {
3963
- return this.setIdentityIdsList([]);
3964
- };
3965
-
3966
-
3967
- /**
3968
- * optional Proof proof = 2;
3969
- * @return {?proto.org.dash.platform.dapi.v0.Proof}
3970
- */
3971
- proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse.prototype.getProof = function() {
3972
- return /** @type{?proto.org.dash.platform.dapi.v0.Proof} */ (
3973
- jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.Proof, 2));
3974
- };
3975
-
3976
-
3977
- /**
3978
- * @param {?proto.org.dash.platform.dapi.v0.Proof|undefined} value
3979
- * @return {!proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse} returns this
3980
- */
3981
- proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse.prototype.setProof = function(value) {
3982
- return jspb.Message.setWrapperField(this, 2, value);
3983
- };
3984
-
3985
-
3986
- /**
3987
- * Clears the message field making it undefined.
3988
- * @return {!proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse} returns this
3989
- */
3990
- proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse.prototype.clearProof = function() {
3991
- return this.setProof(undefined);
3992
- };
3993
-
3994
-
3995
- /**
3996
- * Returns whether this field is set.
3997
- * @return {boolean}
3998
- */
3999
- proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse.prototype.hasProof = function() {
4000
- return jspb.Message.getField(this, 2) != null;
4001
- };
4002
-
4003
-
4004
- /**
4005
- * optional ResponseMetadata metadata = 3;
4006
- * @return {?proto.org.dash.platform.dapi.v0.ResponseMetadata}
4007
- */
4008
- proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse.prototype.getMetadata = function() {
4009
- return /** @type{?proto.org.dash.platform.dapi.v0.ResponseMetadata} */ (
4010
- jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.ResponseMetadata, 3));
4011
- };
4012
-
4013
-
4014
- /**
4015
- * @param {?proto.org.dash.platform.dapi.v0.ResponseMetadata|undefined} value
4016
- * @return {!proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse} returns this
4017
- */
4018
- proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse.prototype.setMetadata = function(value) {
4019
- return jspb.Message.setWrapperField(this, 3, value);
4020
- };
4021
-
4022
-
4023
- /**
4024
- * Clears the message field making it undefined.
4025
- * @return {!proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse} returns this
4026
- */
4027
- proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse.prototype.clearMetadata = function() {
4028
- return this.setMetadata(undefined);
4029
- };
4030
-
4031
-
4032
- /**
4033
- * Returns whether this field is set.
4034
- * @return {boolean}
4035
- */
4036
- proto.org.dash.platform.dapi.v0.GetIdentityIdsByPublicKeyHashesResponse.prototype.hasMetadata = function() {
4037
- return jspb.Message.getField(this, 3) != null;
4038
- };
4039
-
4040
-
4041
-
4042
3512
 
4043
3513
 
4044
3514
  if (jspb.Message.GENERATE_TO_OBJECT) {