@dashevo/dapi-grpc 1.0.0-dev.4 → 1.0.0-dev.6
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/Cargo.toml +22 -13
- package/build.rs +47 -23
- package/clients/core/v0/rust/core_example.rs +1 -1
- package/clients/platform/v0/nodejs/PlatformPromiseClient.js +117 -0
- package/clients/platform/v0/nodejs/platform_pbjs.js +3000 -1060
- package/clients/platform/v0/nodejs/platform_protoc.js +2609 -748
- package/clients/platform/v0/rust/platform_example.rs +1 -1
- package/clients/platform/v0/web/PlatformPromiseClient.js +28 -0
- package/clients/platform/v0/web/platform_pb.d.ts +253 -0
- package/clients/platform/v0/web/platform_pb.js +2609 -748
- package/clients/platform/v0/web/platform_pb_service.d.ts +38 -0
- package/clients/platform/v0/web/platform_pb_service.js +80 -0
- package/package.json +2 -2
- package/protos/platform/v0/platform.proto +51 -0
- package/src/core/proto/org.dash.platform.dapi.v0.rs +577 -0
- package/src/lib.rs +6 -0
- package/src/mock.rs +68 -0
- package/src/platform/proto/org.dash.platform.dapi.v0.rs +1549 -0
- package/test/unit/clients/platform/v0/nodejs/PlatformPromiseClient.spec.js +22 -0
|
@@ -116,6 +116,13 @@ goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentityByPublicKeyHashRes
|
|
|
116
116
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentityByPublicKeyHashResponse.GetIdentityByPublicKeyHashResponseV0', null, { proto });
|
|
117
117
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentityByPublicKeyHashResponse.GetIdentityByPublicKeyHashResponseV0.ResultCase', null, { proto });
|
|
118
118
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentityByPublicKeyHashResponse.VersionCase', null, { proto });
|
|
119
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentityContractNonceRequest', null, { proto });
|
|
120
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentityContractNonceRequest.GetIdentityContractNonceRequestV0', null, { proto });
|
|
121
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentityContractNonceRequest.VersionCase', null, { proto });
|
|
122
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse', null, { proto });
|
|
123
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse.GetIdentityContractNonceResponseV0', null, { proto });
|
|
124
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse.GetIdentityContractNonceResponseV0.ResultCase', null, { proto });
|
|
125
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse.VersionCase', null, { proto });
|
|
119
126
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentityKeysRequest', null, { proto });
|
|
120
127
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentityKeysRequest.GetIdentityKeysRequestV0', null, { proto });
|
|
121
128
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentityKeysRequest.VersionCase', null, { proto });
|
|
@@ -124,6 +131,13 @@ goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentityKeysResponse.GetId
|
|
|
124
131
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentityKeysResponse.GetIdentityKeysResponseV0.Keys', null, { proto });
|
|
125
132
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentityKeysResponse.GetIdentityKeysResponseV0.ResultCase', null, { proto });
|
|
126
133
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentityKeysResponse.VersionCase', null, { proto });
|
|
134
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentityNonceRequest', null, { proto });
|
|
135
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentityNonceRequest.GetIdentityNonceRequestV0', null, { proto });
|
|
136
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentityNonceRequest.VersionCase', null, { proto });
|
|
137
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse', null, { proto });
|
|
138
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse.GetIdentityNonceResponseV0', null, { proto });
|
|
139
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse.GetIdentityNonceResponseV0.ResultCase', null, { proto });
|
|
140
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse.VersionCase', null, { proto });
|
|
127
141
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentityRequest', null, { proto });
|
|
128
142
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentityRequest.GetIdentityRequestV0', null, { proto });
|
|
129
143
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentityRequest.VersionCase', null, { proto });
|
|
@@ -323,6 +337,90 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
323
337
|
*/
|
|
324
338
|
proto.org.dash.platform.dapi.v0.GetIdentityRequest.GetIdentityRequestV0.displayName = 'proto.org.dash.platform.dapi.v0.GetIdentityRequest.GetIdentityRequestV0';
|
|
325
339
|
}
|
|
340
|
+
/**
|
|
341
|
+
* Generated by JsPbCodeGenerator.
|
|
342
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
343
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
344
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
345
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
346
|
+
* valid.
|
|
347
|
+
* @extends {jspb.Message}
|
|
348
|
+
* @constructor
|
|
349
|
+
*/
|
|
350
|
+
proto.org.dash.platform.dapi.v0.GetIdentityNonceRequest = function(opt_data) {
|
|
351
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetIdentityNonceRequest.oneofGroups_);
|
|
352
|
+
};
|
|
353
|
+
goog.inherits(proto.org.dash.platform.dapi.v0.GetIdentityNonceRequest, jspb.Message);
|
|
354
|
+
if (goog.DEBUG && !COMPILED) {
|
|
355
|
+
/**
|
|
356
|
+
* @public
|
|
357
|
+
* @override
|
|
358
|
+
*/
|
|
359
|
+
proto.org.dash.platform.dapi.v0.GetIdentityNonceRequest.displayName = 'proto.org.dash.platform.dapi.v0.GetIdentityNonceRequest';
|
|
360
|
+
}
|
|
361
|
+
/**
|
|
362
|
+
* Generated by JsPbCodeGenerator.
|
|
363
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
364
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
365
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
366
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
367
|
+
* valid.
|
|
368
|
+
* @extends {jspb.Message}
|
|
369
|
+
* @constructor
|
|
370
|
+
*/
|
|
371
|
+
proto.org.dash.platform.dapi.v0.GetIdentityNonceRequest.GetIdentityNonceRequestV0 = function(opt_data) {
|
|
372
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
373
|
+
};
|
|
374
|
+
goog.inherits(proto.org.dash.platform.dapi.v0.GetIdentityNonceRequest.GetIdentityNonceRequestV0, jspb.Message);
|
|
375
|
+
if (goog.DEBUG && !COMPILED) {
|
|
376
|
+
/**
|
|
377
|
+
* @public
|
|
378
|
+
* @override
|
|
379
|
+
*/
|
|
380
|
+
proto.org.dash.platform.dapi.v0.GetIdentityNonceRequest.GetIdentityNonceRequestV0.displayName = 'proto.org.dash.platform.dapi.v0.GetIdentityNonceRequest.GetIdentityNonceRequestV0';
|
|
381
|
+
}
|
|
382
|
+
/**
|
|
383
|
+
* Generated by JsPbCodeGenerator.
|
|
384
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
385
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
386
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
387
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
388
|
+
* valid.
|
|
389
|
+
* @extends {jspb.Message}
|
|
390
|
+
* @constructor
|
|
391
|
+
*/
|
|
392
|
+
proto.org.dash.platform.dapi.v0.GetIdentityContractNonceRequest = function(opt_data) {
|
|
393
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetIdentityContractNonceRequest.oneofGroups_);
|
|
394
|
+
};
|
|
395
|
+
goog.inherits(proto.org.dash.platform.dapi.v0.GetIdentityContractNonceRequest, jspb.Message);
|
|
396
|
+
if (goog.DEBUG && !COMPILED) {
|
|
397
|
+
/**
|
|
398
|
+
* @public
|
|
399
|
+
* @override
|
|
400
|
+
*/
|
|
401
|
+
proto.org.dash.platform.dapi.v0.GetIdentityContractNonceRequest.displayName = 'proto.org.dash.platform.dapi.v0.GetIdentityContractNonceRequest';
|
|
402
|
+
}
|
|
403
|
+
/**
|
|
404
|
+
* Generated by JsPbCodeGenerator.
|
|
405
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
406
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
407
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
408
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
409
|
+
* valid.
|
|
410
|
+
* @extends {jspb.Message}
|
|
411
|
+
* @constructor
|
|
412
|
+
*/
|
|
413
|
+
proto.org.dash.platform.dapi.v0.GetIdentityContractNonceRequest.GetIdentityContractNonceRequestV0 = function(opt_data) {
|
|
414
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
415
|
+
};
|
|
416
|
+
goog.inherits(proto.org.dash.platform.dapi.v0.GetIdentityContractNonceRequest.GetIdentityContractNonceRequestV0, jspb.Message);
|
|
417
|
+
if (goog.DEBUG && !COMPILED) {
|
|
418
|
+
/**
|
|
419
|
+
* @public
|
|
420
|
+
* @override
|
|
421
|
+
*/
|
|
422
|
+
proto.org.dash.platform.dapi.v0.GetIdentityContractNonceRequest.GetIdentityContractNonceRequestV0.displayName = 'proto.org.dash.platform.dapi.v0.GetIdentityContractNonceRequest.GetIdentityContractNonceRequestV0';
|
|
423
|
+
}
|
|
326
424
|
/**
|
|
327
425
|
* Generated by JsPbCodeGenerator.
|
|
328
426
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -596,6 +694,90 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
596
694
|
*/
|
|
597
695
|
proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.GetIdentitiesResponseV0.displayName = 'proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.GetIdentitiesResponseV0';
|
|
598
696
|
}
|
|
697
|
+
/**
|
|
698
|
+
* Generated by JsPbCodeGenerator.
|
|
699
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
700
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
701
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
702
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
703
|
+
* valid.
|
|
704
|
+
* @extends {jspb.Message}
|
|
705
|
+
* @constructor
|
|
706
|
+
*/
|
|
707
|
+
proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse = function(opt_data) {
|
|
708
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse.oneofGroups_);
|
|
709
|
+
};
|
|
710
|
+
goog.inherits(proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse, jspb.Message);
|
|
711
|
+
if (goog.DEBUG && !COMPILED) {
|
|
712
|
+
/**
|
|
713
|
+
* @public
|
|
714
|
+
* @override
|
|
715
|
+
*/
|
|
716
|
+
proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse.displayName = 'proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse';
|
|
717
|
+
}
|
|
718
|
+
/**
|
|
719
|
+
* Generated by JsPbCodeGenerator.
|
|
720
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
721
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
722
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
723
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
724
|
+
* valid.
|
|
725
|
+
* @extends {jspb.Message}
|
|
726
|
+
* @constructor
|
|
727
|
+
*/
|
|
728
|
+
proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse.GetIdentityNonceResponseV0 = function(opt_data) {
|
|
729
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse.GetIdentityNonceResponseV0.oneofGroups_);
|
|
730
|
+
};
|
|
731
|
+
goog.inherits(proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse.GetIdentityNonceResponseV0, jspb.Message);
|
|
732
|
+
if (goog.DEBUG && !COMPILED) {
|
|
733
|
+
/**
|
|
734
|
+
* @public
|
|
735
|
+
* @override
|
|
736
|
+
*/
|
|
737
|
+
proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse.GetIdentityNonceResponseV0.displayName = 'proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse.GetIdentityNonceResponseV0';
|
|
738
|
+
}
|
|
739
|
+
/**
|
|
740
|
+
* Generated by JsPbCodeGenerator.
|
|
741
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
742
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
743
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
744
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
745
|
+
* valid.
|
|
746
|
+
* @extends {jspb.Message}
|
|
747
|
+
* @constructor
|
|
748
|
+
*/
|
|
749
|
+
proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse = function(opt_data) {
|
|
750
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse.oneofGroups_);
|
|
751
|
+
};
|
|
752
|
+
goog.inherits(proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse, jspb.Message);
|
|
753
|
+
if (goog.DEBUG && !COMPILED) {
|
|
754
|
+
/**
|
|
755
|
+
* @public
|
|
756
|
+
* @override
|
|
757
|
+
*/
|
|
758
|
+
proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse.displayName = 'proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse';
|
|
759
|
+
}
|
|
760
|
+
/**
|
|
761
|
+
* Generated by JsPbCodeGenerator.
|
|
762
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
763
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
764
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
765
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
766
|
+
* valid.
|
|
767
|
+
* @extends {jspb.Message}
|
|
768
|
+
* @constructor
|
|
769
|
+
*/
|
|
770
|
+
proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse.GetIdentityContractNonceResponseV0 = function(opt_data) {
|
|
771
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse.GetIdentityContractNonceResponseV0.oneofGroups_);
|
|
772
|
+
};
|
|
773
|
+
goog.inherits(proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse.GetIdentityContractNonceResponseV0, jspb.Message);
|
|
774
|
+
if (goog.DEBUG && !COMPILED) {
|
|
775
|
+
/**
|
|
776
|
+
* @public
|
|
777
|
+
* @override
|
|
778
|
+
*/
|
|
779
|
+
proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse.GetIdentityContractNonceResponseV0.displayName = 'proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse.GetIdentityContractNonceResponseV0';
|
|
780
|
+
}
|
|
599
781
|
/**
|
|
600
782
|
* Generated by JsPbCodeGenerator.
|
|
601
783
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -3791,21 +3973,21 @@ proto.org.dash.platform.dapi.v0.GetIdentityRequest.prototype.hasV0 = function()
|
|
|
3791
3973
|
* @private {!Array<!Array<number>>}
|
|
3792
3974
|
* @const
|
|
3793
3975
|
*/
|
|
3794
|
-
proto.org.dash.platform.dapi.v0.
|
|
3976
|
+
proto.org.dash.platform.dapi.v0.GetIdentityNonceRequest.oneofGroups_ = [[1]];
|
|
3795
3977
|
|
|
3796
3978
|
/**
|
|
3797
3979
|
* @enum {number}
|
|
3798
3980
|
*/
|
|
3799
|
-
proto.org.dash.platform.dapi.v0.
|
|
3981
|
+
proto.org.dash.platform.dapi.v0.GetIdentityNonceRequest.VersionCase = {
|
|
3800
3982
|
VERSION_NOT_SET: 0,
|
|
3801
3983
|
V0: 1
|
|
3802
3984
|
};
|
|
3803
3985
|
|
|
3804
3986
|
/**
|
|
3805
|
-
* @return {proto.org.dash.platform.dapi.v0.
|
|
3987
|
+
* @return {proto.org.dash.platform.dapi.v0.GetIdentityNonceRequest.VersionCase}
|
|
3806
3988
|
*/
|
|
3807
|
-
proto.org.dash.platform.dapi.v0.
|
|
3808
|
-
return /** @type {proto.org.dash.platform.dapi.v0.
|
|
3989
|
+
proto.org.dash.platform.dapi.v0.GetIdentityNonceRequest.prototype.getVersionCase = function() {
|
|
3990
|
+
return /** @type {proto.org.dash.platform.dapi.v0.GetIdentityNonceRequest.VersionCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetIdentityNonceRequest.oneofGroups_[0]));
|
|
3809
3991
|
};
|
|
3810
3992
|
|
|
3811
3993
|
|
|
@@ -3823,8 +4005,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
3823
4005
|
* http://goto/soy-param-migration
|
|
3824
4006
|
* @return {!Object}
|
|
3825
4007
|
*/
|
|
3826
|
-
proto.org.dash.platform.dapi.v0.
|
|
3827
|
-
return proto.org.dash.platform.dapi.v0.
|
|
4008
|
+
proto.org.dash.platform.dapi.v0.GetIdentityNonceRequest.prototype.toObject = function(opt_includeInstance) {
|
|
4009
|
+
return proto.org.dash.platform.dapi.v0.GetIdentityNonceRequest.toObject(opt_includeInstance, this);
|
|
3828
4010
|
};
|
|
3829
4011
|
|
|
3830
4012
|
|
|
@@ -3833,13 +4015,13 @@ proto.org.dash.platform.dapi.v0.GetIdentityBalanceRequest.prototype.toObject = f
|
|
|
3833
4015
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3834
4016
|
* the JSPB instance for transitional soy proto support:
|
|
3835
4017
|
* http://goto/soy-param-migration
|
|
3836
|
-
* @param {!proto.org.dash.platform.dapi.v0.
|
|
4018
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetIdentityNonceRequest} msg The msg instance to transform.
|
|
3837
4019
|
* @return {!Object}
|
|
3838
4020
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3839
4021
|
*/
|
|
3840
|
-
proto.org.dash.platform.dapi.v0.
|
|
4022
|
+
proto.org.dash.platform.dapi.v0.GetIdentityNonceRequest.toObject = function(includeInstance, msg) {
|
|
3841
4023
|
var f, obj = {
|
|
3842
|
-
v0: (f = msg.getV0()) && proto.org.dash.platform.dapi.v0.
|
|
4024
|
+
v0: (f = msg.getV0()) && proto.org.dash.platform.dapi.v0.GetIdentityNonceRequest.GetIdentityNonceRequestV0.toObject(includeInstance, f)
|
|
3843
4025
|
};
|
|
3844
4026
|
|
|
3845
4027
|
if (includeInstance) {
|
|
@@ -3853,23 +4035,23 @@ proto.org.dash.platform.dapi.v0.GetIdentityBalanceRequest.toObject = function(in
|
|
|
3853
4035
|
/**
|
|
3854
4036
|
* Deserializes binary data (in protobuf wire format).
|
|
3855
4037
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3856
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
4038
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityNonceRequest}
|
|
3857
4039
|
*/
|
|
3858
|
-
proto.org.dash.platform.dapi.v0.
|
|
4040
|
+
proto.org.dash.platform.dapi.v0.GetIdentityNonceRequest.deserializeBinary = function(bytes) {
|
|
3859
4041
|
var reader = new jspb.BinaryReader(bytes);
|
|
3860
|
-
var msg = new proto.org.dash.platform.dapi.v0.
|
|
3861
|
-
return proto.org.dash.platform.dapi.v0.
|
|
4042
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetIdentityNonceRequest;
|
|
4043
|
+
return proto.org.dash.platform.dapi.v0.GetIdentityNonceRequest.deserializeBinaryFromReader(msg, reader);
|
|
3862
4044
|
};
|
|
3863
4045
|
|
|
3864
4046
|
|
|
3865
4047
|
/**
|
|
3866
4048
|
* Deserializes binary data (in protobuf wire format) from the
|
|
3867
4049
|
* given reader into the given message object.
|
|
3868
|
-
* @param {!proto.org.dash.platform.dapi.v0.
|
|
4050
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetIdentityNonceRequest} msg The message object to deserialize into.
|
|
3869
4051
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3870
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
4052
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityNonceRequest}
|
|
3871
4053
|
*/
|
|
3872
|
-
proto.org.dash.platform.dapi.v0.
|
|
4054
|
+
proto.org.dash.platform.dapi.v0.GetIdentityNonceRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
3873
4055
|
while (reader.nextField()) {
|
|
3874
4056
|
if (reader.isEndGroup()) {
|
|
3875
4057
|
break;
|
|
@@ -3877,8 +4059,8 @@ proto.org.dash.platform.dapi.v0.GetIdentityBalanceRequest.deserializeBinaryFromR
|
|
|
3877
4059
|
var field = reader.getFieldNumber();
|
|
3878
4060
|
switch (field) {
|
|
3879
4061
|
case 1:
|
|
3880
|
-
var value = new proto.org.dash.platform.dapi.v0.
|
|
3881
|
-
reader.readMessage(value,proto.org.dash.platform.dapi.v0.
|
|
4062
|
+
var value = new proto.org.dash.platform.dapi.v0.GetIdentityNonceRequest.GetIdentityNonceRequestV0;
|
|
4063
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetIdentityNonceRequest.GetIdentityNonceRequestV0.deserializeBinaryFromReader);
|
|
3882
4064
|
msg.setV0(value);
|
|
3883
4065
|
break;
|
|
3884
4066
|
default:
|
|
@@ -3894,9 +4076,9 @@ proto.org.dash.platform.dapi.v0.GetIdentityBalanceRequest.deserializeBinaryFromR
|
|
|
3894
4076
|
* Serializes the message to binary data (in protobuf wire format).
|
|
3895
4077
|
* @return {!Uint8Array}
|
|
3896
4078
|
*/
|
|
3897
|
-
proto.org.dash.platform.dapi.v0.
|
|
4079
|
+
proto.org.dash.platform.dapi.v0.GetIdentityNonceRequest.prototype.serializeBinary = function() {
|
|
3898
4080
|
var writer = new jspb.BinaryWriter();
|
|
3899
|
-
proto.org.dash.platform.dapi.v0.
|
|
4081
|
+
proto.org.dash.platform.dapi.v0.GetIdentityNonceRequest.serializeBinaryToWriter(this, writer);
|
|
3900
4082
|
return writer.getResultBuffer();
|
|
3901
4083
|
};
|
|
3902
4084
|
|
|
@@ -3904,18 +4086,18 @@ proto.org.dash.platform.dapi.v0.GetIdentityBalanceRequest.prototype.serializeBin
|
|
|
3904
4086
|
/**
|
|
3905
4087
|
* Serializes the given message to binary data (in protobuf wire
|
|
3906
4088
|
* format), writing to the given BinaryWriter.
|
|
3907
|
-
* @param {!proto.org.dash.platform.dapi.v0.
|
|
4089
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetIdentityNonceRequest} message
|
|
3908
4090
|
* @param {!jspb.BinaryWriter} writer
|
|
3909
4091
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3910
4092
|
*/
|
|
3911
|
-
proto.org.dash.platform.dapi.v0.
|
|
4093
|
+
proto.org.dash.platform.dapi.v0.GetIdentityNonceRequest.serializeBinaryToWriter = function(message, writer) {
|
|
3912
4094
|
var f = undefined;
|
|
3913
4095
|
f = message.getV0();
|
|
3914
4096
|
if (f != null) {
|
|
3915
4097
|
writer.writeMessage(
|
|
3916
4098
|
1,
|
|
3917
4099
|
f,
|
|
3918
|
-
proto.org.dash.platform.dapi.v0.
|
|
4100
|
+
proto.org.dash.platform.dapi.v0.GetIdentityNonceRequest.GetIdentityNonceRequestV0.serializeBinaryToWriter
|
|
3919
4101
|
);
|
|
3920
4102
|
}
|
|
3921
4103
|
};
|
|
@@ -3937,8 +4119,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
3937
4119
|
* http://goto/soy-param-migration
|
|
3938
4120
|
* @return {!Object}
|
|
3939
4121
|
*/
|
|
3940
|
-
proto.org.dash.platform.dapi.v0.
|
|
3941
|
-
return proto.org.dash.platform.dapi.v0.
|
|
4122
|
+
proto.org.dash.platform.dapi.v0.GetIdentityNonceRequest.GetIdentityNonceRequestV0.prototype.toObject = function(opt_includeInstance) {
|
|
4123
|
+
return proto.org.dash.platform.dapi.v0.GetIdentityNonceRequest.GetIdentityNonceRequestV0.toObject(opt_includeInstance, this);
|
|
3942
4124
|
};
|
|
3943
4125
|
|
|
3944
4126
|
|
|
@@ -3947,13 +4129,13 @@ proto.org.dash.platform.dapi.v0.GetIdentityBalanceRequest.GetIdentityBalanceRequ
|
|
|
3947
4129
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3948
4130
|
* the JSPB instance for transitional soy proto support:
|
|
3949
4131
|
* http://goto/soy-param-migration
|
|
3950
|
-
* @param {!proto.org.dash.platform.dapi.v0.
|
|
4132
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetIdentityNonceRequest.GetIdentityNonceRequestV0} msg The msg instance to transform.
|
|
3951
4133
|
* @return {!Object}
|
|
3952
4134
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3953
4135
|
*/
|
|
3954
|
-
proto.org.dash.platform.dapi.v0.
|
|
4136
|
+
proto.org.dash.platform.dapi.v0.GetIdentityNonceRequest.GetIdentityNonceRequestV0.toObject = function(includeInstance, msg) {
|
|
3955
4137
|
var f, obj = {
|
|
3956
|
-
|
|
4138
|
+
identityId: msg.getIdentityId_asB64(),
|
|
3957
4139
|
prove: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
|
|
3958
4140
|
};
|
|
3959
4141
|
|
|
@@ -3968,23 +4150,23 @@ proto.org.dash.platform.dapi.v0.GetIdentityBalanceRequest.GetIdentityBalanceRequ
|
|
|
3968
4150
|
/**
|
|
3969
4151
|
* Deserializes binary data (in protobuf wire format).
|
|
3970
4152
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3971
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
4153
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityNonceRequest.GetIdentityNonceRequestV0}
|
|
3972
4154
|
*/
|
|
3973
|
-
proto.org.dash.platform.dapi.v0.
|
|
4155
|
+
proto.org.dash.platform.dapi.v0.GetIdentityNonceRequest.GetIdentityNonceRequestV0.deserializeBinary = function(bytes) {
|
|
3974
4156
|
var reader = new jspb.BinaryReader(bytes);
|
|
3975
|
-
var msg = new proto.org.dash.platform.dapi.v0.
|
|
3976
|
-
return proto.org.dash.platform.dapi.v0.
|
|
4157
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetIdentityNonceRequest.GetIdentityNonceRequestV0;
|
|
4158
|
+
return proto.org.dash.platform.dapi.v0.GetIdentityNonceRequest.GetIdentityNonceRequestV0.deserializeBinaryFromReader(msg, reader);
|
|
3977
4159
|
};
|
|
3978
4160
|
|
|
3979
4161
|
|
|
3980
4162
|
/**
|
|
3981
4163
|
* Deserializes binary data (in protobuf wire format) from the
|
|
3982
4164
|
* given reader into the given message object.
|
|
3983
|
-
* @param {!proto.org.dash.platform.dapi.v0.
|
|
4165
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetIdentityNonceRequest.GetIdentityNonceRequestV0} msg The message object to deserialize into.
|
|
3984
4166
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3985
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
4167
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityNonceRequest.GetIdentityNonceRequestV0}
|
|
3986
4168
|
*/
|
|
3987
|
-
proto.org.dash.platform.dapi.v0.
|
|
4169
|
+
proto.org.dash.platform.dapi.v0.GetIdentityNonceRequest.GetIdentityNonceRequestV0.deserializeBinaryFromReader = function(msg, reader) {
|
|
3988
4170
|
while (reader.nextField()) {
|
|
3989
4171
|
if (reader.isEndGroup()) {
|
|
3990
4172
|
break;
|
|
@@ -3993,7 +4175,7 @@ proto.org.dash.platform.dapi.v0.GetIdentityBalanceRequest.GetIdentityBalanceRequ
|
|
|
3993
4175
|
switch (field) {
|
|
3994
4176
|
case 1:
|
|
3995
4177
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
3996
|
-
msg.
|
|
4178
|
+
msg.setIdentityId(value);
|
|
3997
4179
|
break;
|
|
3998
4180
|
case 2:
|
|
3999
4181
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
@@ -4012,9 +4194,9 @@ proto.org.dash.platform.dapi.v0.GetIdentityBalanceRequest.GetIdentityBalanceRequ
|
|
|
4012
4194
|
* Serializes the message to binary data (in protobuf wire format).
|
|
4013
4195
|
* @return {!Uint8Array}
|
|
4014
4196
|
*/
|
|
4015
|
-
proto.org.dash.platform.dapi.v0.
|
|
4197
|
+
proto.org.dash.platform.dapi.v0.GetIdentityNonceRequest.GetIdentityNonceRequestV0.prototype.serializeBinary = function() {
|
|
4016
4198
|
var writer = new jspb.BinaryWriter();
|
|
4017
|
-
proto.org.dash.platform.dapi.v0.
|
|
4199
|
+
proto.org.dash.platform.dapi.v0.GetIdentityNonceRequest.GetIdentityNonceRequestV0.serializeBinaryToWriter(this, writer);
|
|
4018
4200
|
return writer.getResultBuffer();
|
|
4019
4201
|
};
|
|
4020
4202
|
|
|
@@ -4022,13 +4204,13 @@ proto.org.dash.platform.dapi.v0.GetIdentityBalanceRequest.GetIdentityBalanceRequ
|
|
|
4022
4204
|
/**
|
|
4023
4205
|
* Serializes the given message to binary data (in protobuf wire
|
|
4024
4206
|
* format), writing to the given BinaryWriter.
|
|
4025
|
-
* @param {!proto.org.dash.platform.dapi.v0.
|
|
4207
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetIdentityNonceRequest.GetIdentityNonceRequestV0} message
|
|
4026
4208
|
* @param {!jspb.BinaryWriter} writer
|
|
4027
4209
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4028
4210
|
*/
|
|
4029
|
-
proto.org.dash.platform.dapi.v0.
|
|
4211
|
+
proto.org.dash.platform.dapi.v0.GetIdentityNonceRequest.GetIdentityNonceRequestV0.serializeBinaryToWriter = function(message, writer) {
|
|
4030
4212
|
var f = undefined;
|
|
4031
|
-
f = message.
|
|
4213
|
+
f = message.getIdentityId_asU8();
|
|
4032
4214
|
if (f.length > 0) {
|
|
4033
4215
|
writer.writeBytes(
|
|
4034
4216
|
1,
|
|
@@ -4046,43 +4228,43 @@ proto.org.dash.platform.dapi.v0.GetIdentityBalanceRequest.GetIdentityBalanceRequ
|
|
|
4046
4228
|
|
|
4047
4229
|
|
|
4048
4230
|
/**
|
|
4049
|
-
* optional bytes
|
|
4231
|
+
* optional bytes identity_id = 1;
|
|
4050
4232
|
* @return {string}
|
|
4051
4233
|
*/
|
|
4052
|
-
proto.org.dash.platform.dapi.v0.
|
|
4234
|
+
proto.org.dash.platform.dapi.v0.GetIdentityNonceRequest.GetIdentityNonceRequestV0.prototype.getIdentityId = function() {
|
|
4053
4235
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
4054
4236
|
};
|
|
4055
4237
|
|
|
4056
4238
|
|
|
4057
4239
|
/**
|
|
4058
|
-
* optional bytes
|
|
4059
|
-
* This is a type-conversion wrapper around `
|
|
4240
|
+
* optional bytes identity_id = 1;
|
|
4241
|
+
* This is a type-conversion wrapper around `getIdentityId()`
|
|
4060
4242
|
* @return {string}
|
|
4061
4243
|
*/
|
|
4062
|
-
proto.org.dash.platform.dapi.v0.
|
|
4244
|
+
proto.org.dash.platform.dapi.v0.GetIdentityNonceRequest.GetIdentityNonceRequestV0.prototype.getIdentityId_asB64 = function() {
|
|
4063
4245
|
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
4064
|
-
this.
|
|
4246
|
+
this.getIdentityId()));
|
|
4065
4247
|
};
|
|
4066
4248
|
|
|
4067
4249
|
|
|
4068
4250
|
/**
|
|
4069
|
-
* optional bytes
|
|
4251
|
+
* optional bytes identity_id = 1;
|
|
4070
4252
|
* Note that Uint8Array is not supported on all browsers.
|
|
4071
4253
|
* @see http://caniuse.com/Uint8Array
|
|
4072
|
-
* This is a type-conversion wrapper around `
|
|
4254
|
+
* This is a type-conversion wrapper around `getIdentityId()`
|
|
4073
4255
|
* @return {!Uint8Array}
|
|
4074
4256
|
*/
|
|
4075
|
-
proto.org.dash.platform.dapi.v0.
|
|
4257
|
+
proto.org.dash.platform.dapi.v0.GetIdentityNonceRequest.GetIdentityNonceRequestV0.prototype.getIdentityId_asU8 = function() {
|
|
4076
4258
|
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
4077
|
-
this.
|
|
4259
|
+
this.getIdentityId()));
|
|
4078
4260
|
};
|
|
4079
4261
|
|
|
4080
4262
|
|
|
4081
4263
|
/**
|
|
4082
4264
|
* @param {!(string|Uint8Array)} value
|
|
4083
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
4265
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityNonceRequest.GetIdentityNonceRequestV0} returns this
|
|
4084
4266
|
*/
|
|
4085
|
-
proto.org.dash.platform.dapi.v0.
|
|
4267
|
+
proto.org.dash.platform.dapi.v0.GetIdentityNonceRequest.GetIdentityNonceRequestV0.prototype.setIdentityId = function(value) {
|
|
4086
4268
|
return jspb.Message.setProto3BytesField(this, 1, value);
|
|
4087
4269
|
};
|
|
4088
4270
|
|
|
@@ -4091,44 +4273,44 @@ proto.org.dash.platform.dapi.v0.GetIdentityBalanceRequest.GetIdentityBalanceRequ
|
|
|
4091
4273
|
* optional bool prove = 2;
|
|
4092
4274
|
* @return {boolean}
|
|
4093
4275
|
*/
|
|
4094
|
-
proto.org.dash.platform.dapi.v0.
|
|
4276
|
+
proto.org.dash.platform.dapi.v0.GetIdentityNonceRequest.GetIdentityNonceRequestV0.prototype.getProve = function() {
|
|
4095
4277
|
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
|
|
4096
4278
|
};
|
|
4097
4279
|
|
|
4098
4280
|
|
|
4099
4281
|
/**
|
|
4100
4282
|
* @param {boolean} value
|
|
4101
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
4283
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityNonceRequest.GetIdentityNonceRequestV0} returns this
|
|
4102
4284
|
*/
|
|
4103
|
-
proto.org.dash.platform.dapi.v0.
|
|
4285
|
+
proto.org.dash.platform.dapi.v0.GetIdentityNonceRequest.GetIdentityNonceRequestV0.prototype.setProve = function(value) {
|
|
4104
4286
|
return jspb.Message.setProto3BooleanField(this, 2, value);
|
|
4105
4287
|
};
|
|
4106
4288
|
|
|
4107
4289
|
|
|
4108
4290
|
/**
|
|
4109
|
-
* optional
|
|
4110
|
-
* @return {?proto.org.dash.platform.dapi.v0.
|
|
4291
|
+
* optional GetIdentityNonceRequestV0 v0 = 1;
|
|
4292
|
+
* @return {?proto.org.dash.platform.dapi.v0.GetIdentityNonceRequest.GetIdentityNonceRequestV0}
|
|
4111
4293
|
*/
|
|
4112
|
-
proto.org.dash.platform.dapi.v0.
|
|
4113
|
-
return /** @type{?proto.org.dash.platform.dapi.v0.
|
|
4114
|
-
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.
|
|
4294
|
+
proto.org.dash.platform.dapi.v0.GetIdentityNonceRequest.prototype.getV0 = function() {
|
|
4295
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.GetIdentityNonceRequest.GetIdentityNonceRequestV0} */ (
|
|
4296
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetIdentityNonceRequest.GetIdentityNonceRequestV0, 1));
|
|
4115
4297
|
};
|
|
4116
4298
|
|
|
4117
4299
|
|
|
4118
4300
|
/**
|
|
4119
|
-
* @param {?proto.org.dash.platform.dapi.v0.
|
|
4120
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
4301
|
+
* @param {?proto.org.dash.platform.dapi.v0.GetIdentityNonceRequest.GetIdentityNonceRequestV0|undefined} value
|
|
4302
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityNonceRequest} returns this
|
|
4121
4303
|
*/
|
|
4122
|
-
proto.org.dash.platform.dapi.v0.
|
|
4123
|
-
return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.
|
|
4304
|
+
proto.org.dash.platform.dapi.v0.GetIdentityNonceRequest.prototype.setV0 = function(value) {
|
|
4305
|
+
return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetIdentityNonceRequest.oneofGroups_[0], value);
|
|
4124
4306
|
};
|
|
4125
4307
|
|
|
4126
4308
|
|
|
4127
4309
|
/**
|
|
4128
4310
|
* Clears the message field making it undefined.
|
|
4129
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
4311
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityNonceRequest} returns this
|
|
4130
4312
|
*/
|
|
4131
|
-
proto.org.dash.platform.dapi.v0.
|
|
4313
|
+
proto.org.dash.platform.dapi.v0.GetIdentityNonceRequest.prototype.clearV0 = function() {
|
|
4132
4314
|
return this.setV0(undefined);
|
|
4133
4315
|
};
|
|
4134
4316
|
|
|
@@ -4137,7 +4319,7 @@ proto.org.dash.platform.dapi.v0.GetIdentityBalanceRequest.prototype.clearV0 = fu
|
|
|
4137
4319
|
* Returns whether this field is set.
|
|
4138
4320
|
* @return {boolean}
|
|
4139
4321
|
*/
|
|
4140
|
-
proto.org.dash.platform.dapi.v0.
|
|
4322
|
+
proto.org.dash.platform.dapi.v0.GetIdentityNonceRequest.prototype.hasV0 = function() {
|
|
4141
4323
|
return jspb.Message.getField(this, 1) != null;
|
|
4142
4324
|
};
|
|
4143
4325
|
|
|
@@ -4151,21 +4333,21 @@ proto.org.dash.platform.dapi.v0.GetIdentityBalanceRequest.prototype.hasV0 = func
|
|
|
4151
4333
|
* @private {!Array<!Array<number>>}
|
|
4152
4334
|
* @const
|
|
4153
4335
|
*/
|
|
4154
|
-
proto.org.dash.platform.dapi.v0.
|
|
4336
|
+
proto.org.dash.platform.dapi.v0.GetIdentityContractNonceRequest.oneofGroups_ = [[1]];
|
|
4155
4337
|
|
|
4156
4338
|
/**
|
|
4157
4339
|
* @enum {number}
|
|
4158
4340
|
*/
|
|
4159
|
-
proto.org.dash.platform.dapi.v0.
|
|
4341
|
+
proto.org.dash.platform.dapi.v0.GetIdentityContractNonceRequest.VersionCase = {
|
|
4160
4342
|
VERSION_NOT_SET: 0,
|
|
4161
4343
|
V0: 1
|
|
4162
4344
|
};
|
|
4163
4345
|
|
|
4164
4346
|
/**
|
|
4165
|
-
* @return {proto.org.dash.platform.dapi.v0.
|
|
4347
|
+
* @return {proto.org.dash.platform.dapi.v0.GetIdentityContractNonceRequest.VersionCase}
|
|
4166
4348
|
*/
|
|
4167
|
-
proto.org.dash.platform.dapi.v0.
|
|
4168
|
-
return /** @type {proto.org.dash.platform.dapi.v0.
|
|
4349
|
+
proto.org.dash.platform.dapi.v0.GetIdentityContractNonceRequest.prototype.getVersionCase = function() {
|
|
4350
|
+
return /** @type {proto.org.dash.platform.dapi.v0.GetIdentityContractNonceRequest.VersionCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetIdentityContractNonceRequest.oneofGroups_[0]));
|
|
4169
4351
|
};
|
|
4170
4352
|
|
|
4171
4353
|
|
|
@@ -4183,8 +4365,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
4183
4365
|
* http://goto/soy-param-migration
|
|
4184
4366
|
* @return {!Object}
|
|
4185
4367
|
*/
|
|
4186
|
-
proto.org.dash.platform.dapi.v0.
|
|
4187
|
-
return proto.org.dash.platform.dapi.v0.
|
|
4368
|
+
proto.org.dash.platform.dapi.v0.GetIdentityContractNonceRequest.prototype.toObject = function(opt_includeInstance) {
|
|
4369
|
+
return proto.org.dash.platform.dapi.v0.GetIdentityContractNonceRequest.toObject(opt_includeInstance, this);
|
|
4188
4370
|
};
|
|
4189
4371
|
|
|
4190
4372
|
|
|
@@ -4193,13 +4375,13 @@ proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionRequest.prototype.t
|
|
|
4193
4375
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4194
4376
|
* the JSPB instance for transitional soy proto support:
|
|
4195
4377
|
* http://goto/soy-param-migration
|
|
4196
|
-
* @param {!proto.org.dash.platform.dapi.v0.
|
|
4378
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetIdentityContractNonceRequest} msg The msg instance to transform.
|
|
4197
4379
|
* @return {!Object}
|
|
4198
4380
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4199
4381
|
*/
|
|
4200
|
-
proto.org.dash.platform.dapi.v0.
|
|
4382
|
+
proto.org.dash.platform.dapi.v0.GetIdentityContractNonceRequest.toObject = function(includeInstance, msg) {
|
|
4201
4383
|
var f, obj = {
|
|
4202
|
-
v0: (f = msg.getV0()) && proto.org.dash.platform.dapi.v0.
|
|
4384
|
+
v0: (f = msg.getV0()) && proto.org.dash.platform.dapi.v0.GetIdentityContractNonceRequest.GetIdentityContractNonceRequestV0.toObject(includeInstance, f)
|
|
4203
4385
|
};
|
|
4204
4386
|
|
|
4205
4387
|
if (includeInstance) {
|
|
@@ -4213,23 +4395,23 @@ proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionRequest.toObject =
|
|
|
4213
4395
|
/**
|
|
4214
4396
|
* Deserializes binary data (in protobuf wire format).
|
|
4215
4397
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4216
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
4398
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityContractNonceRequest}
|
|
4217
4399
|
*/
|
|
4218
|
-
proto.org.dash.platform.dapi.v0.
|
|
4400
|
+
proto.org.dash.platform.dapi.v0.GetIdentityContractNonceRequest.deserializeBinary = function(bytes) {
|
|
4219
4401
|
var reader = new jspb.BinaryReader(bytes);
|
|
4220
|
-
var msg = new proto.org.dash.platform.dapi.v0.
|
|
4221
|
-
return proto.org.dash.platform.dapi.v0.
|
|
4402
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetIdentityContractNonceRequest;
|
|
4403
|
+
return proto.org.dash.platform.dapi.v0.GetIdentityContractNonceRequest.deserializeBinaryFromReader(msg, reader);
|
|
4222
4404
|
};
|
|
4223
4405
|
|
|
4224
4406
|
|
|
4225
4407
|
/**
|
|
4226
4408
|
* Deserializes binary data (in protobuf wire format) from the
|
|
4227
4409
|
* given reader into the given message object.
|
|
4228
|
-
* @param {!proto.org.dash.platform.dapi.v0.
|
|
4410
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetIdentityContractNonceRequest} msg The message object to deserialize into.
|
|
4229
4411
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4230
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
4412
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityContractNonceRequest}
|
|
4231
4413
|
*/
|
|
4232
|
-
proto.org.dash.platform.dapi.v0.
|
|
4414
|
+
proto.org.dash.platform.dapi.v0.GetIdentityContractNonceRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
4233
4415
|
while (reader.nextField()) {
|
|
4234
4416
|
if (reader.isEndGroup()) {
|
|
4235
4417
|
break;
|
|
@@ -4237,8 +4419,8 @@ proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionRequest.deserialize
|
|
|
4237
4419
|
var field = reader.getFieldNumber();
|
|
4238
4420
|
switch (field) {
|
|
4239
4421
|
case 1:
|
|
4240
|
-
var value = new proto.org.dash.platform.dapi.v0.
|
|
4241
|
-
reader.readMessage(value,proto.org.dash.platform.dapi.v0.
|
|
4422
|
+
var value = new proto.org.dash.platform.dapi.v0.GetIdentityContractNonceRequest.GetIdentityContractNonceRequestV0;
|
|
4423
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetIdentityContractNonceRequest.GetIdentityContractNonceRequestV0.deserializeBinaryFromReader);
|
|
4242
4424
|
msg.setV0(value);
|
|
4243
4425
|
break;
|
|
4244
4426
|
default:
|
|
@@ -4254,9 +4436,9 @@ proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionRequest.deserialize
|
|
|
4254
4436
|
* Serializes the message to binary data (in protobuf wire format).
|
|
4255
4437
|
* @return {!Uint8Array}
|
|
4256
4438
|
*/
|
|
4257
|
-
proto.org.dash.platform.dapi.v0.
|
|
4439
|
+
proto.org.dash.platform.dapi.v0.GetIdentityContractNonceRequest.prototype.serializeBinary = function() {
|
|
4258
4440
|
var writer = new jspb.BinaryWriter();
|
|
4259
|
-
proto.org.dash.platform.dapi.v0.
|
|
4441
|
+
proto.org.dash.platform.dapi.v0.GetIdentityContractNonceRequest.serializeBinaryToWriter(this, writer);
|
|
4260
4442
|
return writer.getResultBuffer();
|
|
4261
4443
|
};
|
|
4262
4444
|
|
|
@@ -4264,18 +4446,18 @@ proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionRequest.prototype.s
|
|
|
4264
4446
|
/**
|
|
4265
4447
|
* Serializes the given message to binary data (in protobuf wire
|
|
4266
4448
|
* format), writing to the given BinaryWriter.
|
|
4267
|
-
* @param {!proto.org.dash.platform.dapi.v0.
|
|
4449
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetIdentityContractNonceRequest} message
|
|
4268
4450
|
* @param {!jspb.BinaryWriter} writer
|
|
4269
4451
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4270
4452
|
*/
|
|
4271
|
-
proto.org.dash.platform.dapi.v0.
|
|
4453
|
+
proto.org.dash.platform.dapi.v0.GetIdentityContractNonceRequest.serializeBinaryToWriter = function(message, writer) {
|
|
4272
4454
|
var f = undefined;
|
|
4273
4455
|
f = message.getV0();
|
|
4274
4456
|
if (f != null) {
|
|
4275
4457
|
writer.writeMessage(
|
|
4276
4458
|
1,
|
|
4277
4459
|
f,
|
|
4278
|
-
proto.org.dash.platform.dapi.v0.
|
|
4460
|
+
proto.org.dash.platform.dapi.v0.GetIdentityContractNonceRequest.GetIdentityContractNonceRequestV0.serializeBinaryToWriter
|
|
4279
4461
|
);
|
|
4280
4462
|
}
|
|
4281
4463
|
};
|
|
@@ -4297,8 +4479,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
4297
4479
|
* http://goto/soy-param-migration
|
|
4298
4480
|
* @return {!Object}
|
|
4299
4481
|
*/
|
|
4300
|
-
proto.org.dash.platform.dapi.v0.
|
|
4301
|
-
return proto.org.dash.platform.dapi.v0.
|
|
4482
|
+
proto.org.dash.platform.dapi.v0.GetIdentityContractNonceRequest.GetIdentityContractNonceRequestV0.prototype.toObject = function(opt_includeInstance) {
|
|
4483
|
+
return proto.org.dash.platform.dapi.v0.GetIdentityContractNonceRequest.GetIdentityContractNonceRequestV0.toObject(opt_includeInstance, this);
|
|
4302
4484
|
};
|
|
4303
4485
|
|
|
4304
4486
|
|
|
@@ -4307,14 +4489,15 @@ proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionRequest.GetIdentity
|
|
|
4307
4489
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4308
4490
|
* the JSPB instance for transitional soy proto support:
|
|
4309
4491
|
* http://goto/soy-param-migration
|
|
4310
|
-
* @param {!proto.org.dash.platform.dapi.v0.
|
|
4492
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetIdentityContractNonceRequest.GetIdentityContractNonceRequestV0} msg The msg instance to transform.
|
|
4311
4493
|
* @return {!Object}
|
|
4312
4494
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4313
4495
|
*/
|
|
4314
|
-
proto.org.dash.platform.dapi.v0.
|
|
4496
|
+
proto.org.dash.platform.dapi.v0.GetIdentityContractNonceRequest.GetIdentityContractNonceRequestV0.toObject = function(includeInstance, msg) {
|
|
4315
4497
|
var f, obj = {
|
|
4316
|
-
|
|
4317
|
-
|
|
4498
|
+
identityId: msg.getIdentityId_asB64(),
|
|
4499
|
+
contractId: msg.getContractId_asB64(),
|
|
4500
|
+
prove: jspb.Message.getBooleanFieldWithDefault(msg, 3, false)
|
|
4318
4501
|
};
|
|
4319
4502
|
|
|
4320
4503
|
if (includeInstance) {
|
|
@@ -4328,23 +4511,23 @@ proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionRequest.GetIdentity
|
|
|
4328
4511
|
/**
|
|
4329
4512
|
* Deserializes binary data (in protobuf wire format).
|
|
4330
4513
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4331
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
4514
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityContractNonceRequest.GetIdentityContractNonceRequestV0}
|
|
4332
4515
|
*/
|
|
4333
|
-
proto.org.dash.platform.dapi.v0.
|
|
4516
|
+
proto.org.dash.platform.dapi.v0.GetIdentityContractNonceRequest.GetIdentityContractNonceRequestV0.deserializeBinary = function(bytes) {
|
|
4334
4517
|
var reader = new jspb.BinaryReader(bytes);
|
|
4335
|
-
var msg = new proto.org.dash.platform.dapi.v0.
|
|
4336
|
-
return proto.org.dash.platform.dapi.v0.
|
|
4518
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetIdentityContractNonceRequest.GetIdentityContractNonceRequestV0;
|
|
4519
|
+
return proto.org.dash.platform.dapi.v0.GetIdentityContractNonceRequest.GetIdentityContractNonceRequestV0.deserializeBinaryFromReader(msg, reader);
|
|
4337
4520
|
};
|
|
4338
4521
|
|
|
4339
4522
|
|
|
4340
4523
|
/**
|
|
4341
4524
|
* Deserializes binary data (in protobuf wire format) from the
|
|
4342
4525
|
* given reader into the given message object.
|
|
4343
|
-
* @param {!proto.org.dash.platform.dapi.v0.
|
|
4526
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetIdentityContractNonceRequest.GetIdentityContractNonceRequestV0} msg The message object to deserialize into.
|
|
4344
4527
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4345
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
4528
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityContractNonceRequest.GetIdentityContractNonceRequestV0}
|
|
4346
4529
|
*/
|
|
4347
|
-
proto.org.dash.platform.dapi.v0.
|
|
4530
|
+
proto.org.dash.platform.dapi.v0.GetIdentityContractNonceRequest.GetIdentityContractNonceRequestV0.deserializeBinaryFromReader = function(msg, reader) {
|
|
4348
4531
|
while (reader.nextField()) {
|
|
4349
4532
|
if (reader.isEndGroup()) {
|
|
4350
4533
|
break;
|
|
@@ -4353,9 +4536,13 @@ proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionRequest.GetIdentity
|
|
|
4353
4536
|
switch (field) {
|
|
4354
4537
|
case 1:
|
|
4355
4538
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
4356
|
-
msg.
|
|
4539
|
+
msg.setIdentityId(value);
|
|
4357
4540
|
break;
|
|
4358
4541
|
case 2:
|
|
4542
|
+
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
4543
|
+
msg.setContractId(value);
|
|
4544
|
+
break;
|
|
4545
|
+
case 3:
|
|
4359
4546
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
4360
4547
|
msg.setProve(value);
|
|
4361
4548
|
break;
|
|
@@ -4372,9 +4559,9 @@ proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionRequest.GetIdentity
|
|
|
4372
4559
|
* Serializes the message to binary data (in protobuf wire format).
|
|
4373
4560
|
* @return {!Uint8Array}
|
|
4374
4561
|
*/
|
|
4375
|
-
proto.org.dash.platform.dapi.v0.
|
|
4562
|
+
proto.org.dash.platform.dapi.v0.GetIdentityContractNonceRequest.GetIdentityContractNonceRequestV0.prototype.serializeBinary = function() {
|
|
4376
4563
|
var writer = new jspb.BinaryWriter();
|
|
4377
|
-
proto.org.dash.platform.dapi.v0.
|
|
4564
|
+
proto.org.dash.platform.dapi.v0.GetIdentityContractNonceRequest.GetIdentityContractNonceRequestV0.serializeBinaryToWriter(this, writer);
|
|
4378
4565
|
return writer.getResultBuffer();
|
|
4379
4566
|
};
|
|
4380
4567
|
|
|
@@ -4382,23 +4569,30 @@ proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionRequest.GetIdentity
|
|
|
4382
4569
|
/**
|
|
4383
4570
|
* Serializes the given message to binary data (in protobuf wire
|
|
4384
4571
|
* format), writing to the given BinaryWriter.
|
|
4385
|
-
* @param {!proto.org.dash.platform.dapi.v0.
|
|
4572
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetIdentityContractNonceRequest.GetIdentityContractNonceRequestV0} message
|
|
4386
4573
|
* @param {!jspb.BinaryWriter} writer
|
|
4387
4574
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4388
4575
|
*/
|
|
4389
|
-
proto.org.dash.platform.dapi.v0.
|
|
4576
|
+
proto.org.dash.platform.dapi.v0.GetIdentityContractNonceRequest.GetIdentityContractNonceRequestV0.serializeBinaryToWriter = function(message, writer) {
|
|
4390
4577
|
var f = undefined;
|
|
4391
|
-
f = message.
|
|
4578
|
+
f = message.getIdentityId_asU8();
|
|
4392
4579
|
if (f.length > 0) {
|
|
4393
4580
|
writer.writeBytes(
|
|
4394
4581
|
1,
|
|
4395
4582
|
f
|
|
4396
4583
|
);
|
|
4397
4584
|
}
|
|
4585
|
+
f = message.getContractId_asU8();
|
|
4586
|
+
if (f.length > 0) {
|
|
4587
|
+
writer.writeBytes(
|
|
4588
|
+
2,
|
|
4589
|
+
f
|
|
4590
|
+
);
|
|
4591
|
+
}
|
|
4398
4592
|
f = message.getProve();
|
|
4399
4593
|
if (f) {
|
|
4400
4594
|
writer.writeBool(
|
|
4401
|
-
|
|
4595
|
+
3,
|
|
4402
4596
|
f
|
|
4403
4597
|
);
|
|
4404
4598
|
}
|
|
@@ -4406,89 +4600,131 @@ proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionRequest.GetIdentity
|
|
|
4406
4600
|
|
|
4407
4601
|
|
|
4408
4602
|
/**
|
|
4409
|
-
* optional bytes
|
|
4603
|
+
* optional bytes identity_id = 1;
|
|
4410
4604
|
* @return {string}
|
|
4411
4605
|
*/
|
|
4412
|
-
proto.org.dash.platform.dapi.v0.
|
|
4606
|
+
proto.org.dash.platform.dapi.v0.GetIdentityContractNonceRequest.GetIdentityContractNonceRequestV0.prototype.getIdentityId = function() {
|
|
4413
4607
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
4414
4608
|
};
|
|
4415
4609
|
|
|
4416
4610
|
|
|
4417
4611
|
/**
|
|
4418
|
-
* optional bytes
|
|
4419
|
-
* This is a type-conversion wrapper around `
|
|
4612
|
+
* optional bytes identity_id = 1;
|
|
4613
|
+
* This is a type-conversion wrapper around `getIdentityId()`
|
|
4420
4614
|
* @return {string}
|
|
4421
4615
|
*/
|
|
4422
|
-
proto.org.dash.platform.dapi.v0.
|
|
4616
|
+
proto.org.dash.platform.dapi.v0.GetIdentityContractNonceRequest.GetIdentityContractNonceRequestV0.prototype.getIdentityId_asB64 = function() {
|
|
4423
4617
|
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
4424
|
-
this.
|
|
4618
|
+
this.getIdentityId()));
|
|
4425
4619
|
};
|
|
4426
4620
|
|
|
4427
4621
|
|
|
4428
4622
|
/**
|
|
4429
|
-
* optional bytes
|
|
4623
|
+
* optional bytes identity_id = 1;
|
|
4430
4624
|
* Note that Uint8Array is not supported on all browsers.
|
|
4431
4625
|
* @see http://caniuse.com/Uint8Array
|
|
4432
|
-
* This is a type-conversion wrapper around `
|
|
4626
|
+
* This is a type-conversion wrapper around `getIdentityId()`
|
|
4433
4627
|
* @return {!Uint8Array}
|
|
4434
4628
|
*/
|
|
4435
|
-
proto.org.dash.platform.dapi.v0.
|
|
4629
|
+
proto.org.dash.platform.dapi.v0.GetIdentityContractNonceRequest.GetIdentityContractNonceRequestV0.prototype.getIdentityId_asU8 = function() {
|
|
4436
4630
|
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
4437
|
-
this.
|
|
4631
|
+
this.getIdentityId()));
|
|
4438
4632
|
};
|
|
4439
4633
|
|
|
4440
4634
|
|
|
4441
4635
|
/**
|
|
4442
4636
|
* @param {!(string|Uint8Array)} value
|
|
4443
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
4637
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityContractNonceRequest.GetIdentityContractNonceRequestV0} returns this
|
|
4444
4638
|
*/
|
|
4445
|
-
proto.org.dash.platform.dapi.v0.
|
|
4639
|
+
proto.org.dash.platform.dapi.v0.GetIdentityContractNonceRequest.GetIdentityContractNonceRequestV0.prototype.setIdentityId = function(value) {
|
|
4446
4640
|
return jspb.Message.setProto3BytesField(this, 1, value);
|
|
4447
4641
|
};
|
|
4448
4642
|
|
|
4449
4643
|
|
|
4450
4644
|
/**
|
|
4451
|
-
* optional
|
|
4645
|
+
* optional bytes contract_id = 2;
|
|
4646
|
+
* @return {string}
|
|
4647
|
+
*/
|
|
4648
|
+
proto.org.dash.platform.dapi.v0.GetIdentityContractNonceRequest.GetIdentityContractNonceRequestV0.prototype.getContractId = function() {
|
|
4649
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
4650
|
+
};
|
|
4651
|
+
|
|
4652
|
+
|
|
4653
|
+
/**
|
|
4654
|
+
* optional bytes contract_id = 2;
|
|
4655
|
+
* This is a type-conversion wrapper around `getContractId()`
|
|
4656
|
+
* @return {string}
|
|
4657
|
+
*/
|
|
4658
|
+
proto.org.dash.platform.dapi.v0.GetIdentityContractNonceRequest.GetIdentityContractNonceRequestV0.prototype.getContractId_asB64 = function() {
|
|
4659
|
+
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
4660
|
+
this.getContractId()));
|
|
4661
|
+
};
|
|
4662
|
+
|
|
4663
|
+
|
|
4664
|
+
/**
|
|
4665
|
+
* optional bytes contract_id = 2;
|
|
4666
|
+
* Note that Uint8Array is not supported on all browsers.
|
|
4667
|
+
* @see http://caniuse.com/Uint8Array
|
|
4668
|
+
* This is a type-conversion wrapper around `getContractId()`
|
|
4669
|
+
* @return {!Uint8Array}
|
|
4670
|
+
*/
|
|
4671
|
+
proto.org.dash.platform.dapi.v0.GetIdentityContractNonceRequest.GetIdentityContractNonceRequestV0.prototype.getContractId_asU8 = function() {
|
|
4672
|
+
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
4673
|
+
this.getContractId()));
|
|
4674
|
+
};
|
|
4675
|
+
|
|
4676
|
+
|
|
4677
|
+
/**
|
|
4678
|
+
* @param {!(string|Uint8Array)} value
|
|
4679
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityContractNonceRequest.GetIdentityContractNonceRequestV0} returns this
|
|
4680
|
+
*/
|
|
4681
|
+
proto.org.dash.platform.dapi.v0.GetIdentityContractNonceRequest.GetIdentityContractNonceRequestV0.prototype.setContractId = function(value) {
|
|
4682
|
+
return jspb.Message.setProto3BytesField(this, 2, value);
|
|
4683
|
+
};
|
|
4684
|
+
|
|
4685
|
+
|
|
4686
|
+
/**
|
|
4687
|
+
* optional bool prove = 3;
|
|
4452
4688
|
* @return {boolean}
|
|
4453
4689
|
*/
|
|
4454
|
-
proto.org.dash.platform.dapi.v0.
|
|
4455
|
-
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this,
|
|
4690
|
+
proto.org.dash.platform.dapi.v0.GetIdentityContractNonceRequest.GetIdentityContractNonceRequestV0.prototype.getProve = function() {
|
|
4691
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
|
|
4456
4692
|
};
|
|
4457
4693
|
|
|
4458
4694
|
|
|
4459
4695
|
/**
|
|
4460
4696
|
* @param {boolean} value
|
|
4461
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
4697
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityContractNonceRequest.GetIdentityContractNonceRequestV0} returns this
|
|
4462
4698
|
*/
|
|
4463
|
-
proto.org.dash.platform.dapi.v0.
|
|
4464
|
-
return jspb.Message.setProto3BooleanField(this,
|
|
4699
|
+
proto.org.dash.platform.dapi.v0.GetIdentityContractNonceRequest.GetIdentityContractNonceRequestV0.prototype.setProve = function(value) {
|
|
4700
|
+
return jspb.Message.setProto3BooleanField(this, 3, value);
|
|
4465
4701
|
};
|
|
4466
4702
|
|
|
4467
4703
|
|
|
4468
4704
|
/**
|
|
4469
|
-
* optional
|
|
4470
|
-
* @return {?proto.org.dash.platform.dapi.v0.
|
|
4705
|
+
* optional GetIdentityContractNonceRequestV0 v0 = 1;
|
|
4706
|
+
* @return {?proto.org.dash.platform.dapi.v0.GetIdentityContractNonceRequest.GetIdentityContractNonceRequestV0}
|
|
4471
4707
|
*/
|
|
4472
|
-
proto.org.dash.platform.dapi.v0.
|
|
4473
|
-
return /** @type{?proto.org.dash.platform.dapi.v0.
|
|
4474
|
-
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.
|
|
4708
|
+
proto.org.dash.platform.dapi.v0.GetIdentityContractNonceRequest.prototype.getV0 = function() {
|
|
4709
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.GetIdentityContractNonceRequest.GetIdentityContractNonceRequestV0} */ (
|
|
4710
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetIdentityContractNonceRequest.GetIdentityContractNonceRequestV0, 1));
|
|
4475
4711
|
};
|
|
4476
4712
|
|
|
4477
4713
|
|
|
4478
4714
|
/**
|
|
4479
|
-
* @param {?proto.org.dash.platform.dapi.v0.
|
|
4480
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
4715
|
+
* @param {?proto.org.dash.platform.dapi.v0.GetIdentityContractNonceRequest.GetIdentityContractNonceRequestV0|undefined} value
|
|
4716
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityContractNonceRequest} returns this
|
|
4481
4717
|
*/
|
|
4482
|
-
proto.org.dash.platform.dapi.v0.
|
|
4483
|
-
return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.
|
|
4718
|
+
proto.org.dash.platform.dapi.v0.GetIdentityContractNonceRequest.prototype.setV0 = function(value) {
|
|
4719
|
+
return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetIdentityContractNonceRequest.oneofGroups_[0], value);
|
|
4484
4720
|
};
|
|
4485
4721
|
|
|
4486
4722
|
|
|
4487
4723
|
/**
|
|
4488
4724
|
* Clears the message field making it undefined.
|
|
4489
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
4725
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityContractNonceRequest} returns this
|
|
4490
4726
|
*/
|
|
4491
|
-
proto.org.dash.platform.dapi.v0.
|
|
4727
|
+
proto.org.dash.platform.dapi.v0.GetIdentityContractNonceRequest.prototype.clearV0 = function() {
|
|
4492
4728
|
return this.setV0(undefined);
|
|
4493
4729
|
};
|
|
4494
4730
|
|
|
@@ -4497,7 +4733,7 @@ proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionRequest.prototype.c
|
|
|
4497
4733
|
* Returns whether this field is set.
|
|
4498
4734
|
* @return {boolean}
|
|
4499
4735
|
*/
|
|
4500
|
-
proto.org.dash.platform.dapi.v0.
|
|
4736
|
+
proto.org.dash.platform.dapi.v0.GetIdentityContractNonceRequest.prototype.hasV0 = function() {
|
|
4501
4737
|
return jspb.Message.getField(this, 1) != null;
|
|
4502
4738
|
};
|
|
4503
4739
|
|
|
@@ -4511,21 +4747,21 @@ proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionRequest.prototype.h
|
|
|
4511
4747
|
* @private {!Array<!Array<number>>}
|
|
4512
4748
|
* @const
|
|
4513
4749
|
*/
|
|
4514
|
-
proto.org.dash.platform.dapi.v0.
|
|
4750
|
+
proto.org.dash.platform.dapi.v0.GetIdentityBalanceRequest.oneofGroups_ = [[1]];
|
|
4515
4751
|
|
|
4516
4752
|
/**
|
|
4517
4753
|
* @enum {number}
|
|
4518
4754
|
*/
|
|
4519
|
-
proto.org.dash.platform.dapi.v0.
|
|
4755
|
+
proto.org.dash.platform.dapi.v0.GetIdentityBalanceRequest.VersionCase = {
|
|
4520
4756
|
VERSION_NOT_SET: 0,
|
|
4521
4757
|
V0: 1
|
|
4522
4758
|
};
|
|
4523
4759
|
|
|
4524
4760
|
/**
|
|
4525
|
-
* @return {proto.org.dash.platform.dapi.v0.
|
|
4761
|
+
* @return {proto.org.dash.platform.dapi.v0.GetIdentityBalanceRequest.VersionCase}
|
|
4526
4762
|
*/
|
|
4527
|
-
proto.org.dash.platform.dapi.v0.
|
|
4528
|
-
return /** @type {proto.org.dash.platform.dapi.v0.
|
|
4763
|
+
proto.org.dash.platform.dapi.v0.GetIdentityBalanceRequest.prototype.getVersionCase = function() {
|
|
4764
|
+
return /** @type {proto.org.dash.platform.dapi.v0.GetIdentityBalanceRequest.VersionCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetIdentityBalanceRequest.oneofGroups_[0]));
|
|
4529
4765
|
};
|
|
4530
4766
|
|
|
4531
4767
|
|
|
@@ -4543,8 +4779,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
4543
4779
|
* http://goto/soy-param-migration
|
|
4544
4780
|
* @return {!Object}
|
|
4545
4781
|
*/
|
|
4546
|
-
proto.org.dash.platform.dapi.v0.
|
|
4547
|
-
return proto.org.dash.platform.dapi.v0.
|
|
4782
|
+
proto.org.dash.platform.dapi.v0.GetIdentityBalanceRequest.prototype.toObject = function(opt_includeInstance) {
|
|
4783
|
+
return proto.org.dash.platform.dapi.v0.GetIdentityBalanceRequest.toObject(opt_includeInstance, this);
|
|
4548
4784
|
};
|
|
4549
4785
|
|
|
4550
4786
|
|
|
@@ -4553,13 +4789,13 @@ proto.org.dash.platform.dapi.v0.GetIdentityResponse.prototype.toObject = functio
|
|
|
4553
4789
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4554
4790
|
* the JSPB instance for transitional soy proto support:
|
|
4555
4791
|
* http://goto/soy-param-migration
|
|
4556
|
-
* @param {!proto.org.dash.platform.dapi.v0.
|
|
4792
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetIdentityBalanceRequest} msg The msg instance to transform.
|
|
4557
4793
|
* @return {!Object}
|
|
4558
4794
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4559
4795
|
*/
|
|
4560
|
-
proto.org.dash.platform.dapi.v0.
|
|
4796
|
+
proto.org.dash.platform.dapi.v0.GetIdentityBalanceRequest.toObject = function(includeInstance, msg) {
|
|
4561
4797
|
var f, obj = {
|
|
4562
|
-
v0: (f = msg.getV0()) && proto.org.dash.platform.dapi.v0.
|
|
4798
|
+
v0: (f = msg.getV0()) && proto.org.dash.platform.dapi.v0.GetIdentityBalanceRequest.GetIdentityBalanceRequestV0.toObject(includeInstance, f)
|
|
4563
4799
|
};
|
|
4564
4800
|
|
|
4565
4801
|
if (includeInstance) {
|
|
@@ -4573,23 +4809,23 @@ proto.org.dash.platform.dapi.v0.GetIdentityResponse.toObject = function(includeI
|
|
|
4573
4809
|
/**
|
|
4574
4810
|
* Deserializes binary data (in protobuf wire format).
|
|
4575
4811
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4576
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
4812
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityBalanceRequest}
|
|
4577
4813
|
*/
|
|
4578
|
-
proto.org.dash.platform.dapi.v0.
|
|
4814
|
+
proto.org.dash.platform.dapi.v0.GetIdentityBalanceRequest.deserializeBinary = function(bytes) {
|
|
4579
4815
|
var reader = new jspb.BinaryReader(bytes);
|
|
4580
|
-
var msg = new proto.org.dash.platform.dapi.v0.
|
|
4581
|
-
return proto.org.dash.platform.dapi.v0.
|
|
4816
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetIdentityBalanceRequest;
|
|
4817
|
+
return proto.org.dash.platform.dapi.v0.GetIdentityBalanceRequest.deserializeBinaryFromReader(msg, reader);
|
|
4582
4818
|
};
|
|
4583
4819
|
|
|
4584
4820
|
|
|
4585
4821
|
/**
|
|
4586
4822
|
* Deserializes binary data (in protobuf wire format) from the
|
|
4587
4823
|
* given reader into the given message object.
|
|
4588
|
-
* @param {!proto.org.dash.platform.dapi.v0.
|
|
4824
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetIdentityBalanceRequest} msg The message object to deserialize into.
|
|
4589
4825
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4590
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
4826
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityBalanceRequest}
|
|
4591
4827
|
*/
|
|
4592
|
-
proto.org.dash.platform.dapi.v0.
|
|
4828
|
+
proto.org.dash.platform.dapi.v0.GetIdentityBalanceRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
4593
4829
|
while (reader.nextField()) {
|
|
4594
4830
|
if (reader.isEndGroup()) {
|
|
4595
4831
|
break;
|
|
@@ -4597,8 +4833,8 @@ proto.org.dash.platform.dapi.v0.GetIdentityResponse.deserializeBinaryFromReader
|
|
|
4597
4833
|
var field = reader.getFieldNumber();
|
|
4598
4834
|
switch (field) {
|
|
4599
4835
|
case 1:
|
|
4600
|
-
var value = new proto.org.dash.platform.dapi.v0.
|
|
4601
|
-
reader.readMessage(value,proto.org.dash.platform.dapi.v0.
|
|
4836
|
+
var value = new proto.org.dash.platform.dapi.v0.GetIdentityBalanceRequest.GetIdentityBalanceRequestV0;
|
|
4837
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetIdentityBalanceRequest.GetIdentityBalanceRequestV0.deserializeBinaryFromReader);
|
|
4602
4838
|
msg.setV0(value);
|
|
4603
4839
|
break;
|
|
4604
4840
|
default:
|
|
@@ -4614,9 +4850,9 @@ proto.org.dash.platform.dapi.v0.GetIdentityResponse.deserializeBinaryFromReader
|
|
|
4614
4850
|
* Serializes the message to binary data (in protobuf wire format).
|
|
4615
4851
|
* @return {!Uint8Array}
|
|
4616
4852
|
*/
|
|
4617
|
-
proto.org.dash.platform.dapi.v0.
|
|
4853
|
+
proto.org.dash.platform.dapi.v0.GetIdentityBalanceRequest.prototype.serializeBinary = function() {
|
|
4618
4854
|
var writer = new jspb.BinaryWriter();
|
|
4619
|
-
proto.org.dash.platform.dapi.v0.
|
|
4855
|
+
proto.org.dash.platform.dapi.v0.GetIdentityBalanceRequest.serializeBinaryToWriter(this, writer);
|
|
4620
4856
|
return writer.getResultBuffer();
|
|
4621
4857
|
};
|
|
4622
4858
|
|
|
@@ -4624,50 +4860,24 @@ proto.org.dash.platform.dapi.v0.GetIdentityResponse.prototype.serializeBinary =
|
|
|
4624
4860
|
/**
|
|
4625
4861
|
* Serializes the given message to binary data (in protobuf wire
|
|
4626
4862
|
* format), writing to the given BinaryWriter.
|
|
4627
|
-
* @param {!proto.org.dash.platform.dapi.v0.
|
|
4863
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetIdentityBalanceRequest} message
|
|
4628
4864
|
* @param {!jspb.BinaryWriter} writer
|
|
4629
4865
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4630
4866
|
*/
|
|
4631
|
-
proto.org.dash.platform.dapi.v0.
|
|
4867
|
+
proto.org.dash.platform.dapi.v0.GetIdentityBalanceRequest.serializeBinaryToWriter = function(message, writer) {
|
|
4632
4868
|
var f = undefined;
|
|
4633
4869
|
f = message.getV0();
|
|
4634
4870
|
if (f != null) {
|
|
4635
4871
|
writer.writeMessage(
|
|
4636
4872
|
1,
|
|
4637
4873
|
f,
|
|
4638
|
-
proto.org.dash.platform.dapi.v0.
|
|
4874
|
+
proto.org.dash.platform.dapi.v0.GetIdentityBalanceRequest.GetIdentityBalanceRequestV0.serializeBinaryToWriter
|
|
4639
4875
|
);
|
|
4640
4876
|
}
|
|
4641
4877
|
};
|
|
4642
4878
|
|
|
4643
4879
|
|
|
4644
4880
|
|
|
4645
|
-
/**
|
|
4646
|
-
* Oneof group definitions for this message. Each group defines the field
|
|
4647
|
-
* numbers belonging to that group. When of these fields' value is set, all
|
|
4648
|
-
* other fields in the group are cleared. During deserialization, if multiple
|
|
4649
|
-
* fields are encountered for a group, only the last value seen will be kept.
|
|
4650
|
-
* @private {!Array<!Array<number>>}
|
|
4651
|
-
* @const
|
|
4652
|
-
*/
|
|
4653
|
-
proto.org.dash.platform.dapi.v0.GetIdentityResponse.GetIdentityResponseV0.oneofGroups_ = [[1,2]];
|
|
4654
|
-
|
|
4655
|
-
/**
|
|
4656
|
-
* @enum {number}
|
|
4657
|
-
*/
|
|
4658
|
-
proto.org.dash.platform.dapi.v0.GetIdentityResponse.GetIdentityResponseV0.ResultCase = {
|
|
4659
|
-
RESULT_NOT_SET: 0,
|
|
4660
|
-
IDENTITY: 1,
|
|
4661
|
-
PROOF: 2
|
|
4662
|
-
};
|
|
4663
|
-
|
|
4664
|
-
/**
|
|
4665
|
-
* @return {proto.org.dash.platform.dapi.v0.GetIdentityResponse.GetIdentityResponseV0.ResultCase}
|
|
4666
|
-
*/
|
|
4667
|
-
proto.org.dash.platform.dapi.v0.GetIdentityResponse.GetIdentityResponseV0.prototype.getResultCase = function() {
|
|
4668
|
-
return /** @type {proto.org.dash.platform.dapi.v0.GetIdentityResponse.GetIdentityResponseV0.ResultCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetIdentityResponse.GetIdentityResponseV0.oneofGroups_[0]));
|
|
4669
|
-
};
|
|
4670
|
-
|
|
4671
4881
|
|
|
4672
4882
|
|
|
4673
4883
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -4683,8 +4893,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
4683
4893
|
* http://goto/soy-param-migration
|
|
4684
4894
|
* @return {!Object}
|
|
4685
4895
|
*/
|
|
4686
|
-
proto.org.dash.platform.dapi.v0.
|
|
4687
|
-
return proto.org.dash.platform.dapi.v0.
|
|
4896
|
+
proto.org.dash.platform.dapi.v0.GetIdentityBalanceRequest.GetIdentityBalanceRequestV0.prototype.toObject = function(opt_includeInstance) {
|
|
4897
|
+
return proto.org.dash.platform.dapi.v0.GetIdentityBalanceRequest.GetIdentityBalanceRequestV0.toObject(opt_includeInstance, this);
|
|
4688
4898
|
};
|
|
4689
4899
|
|
|
4690
4900
|
|
|
@@ -4693,15 +4903,14 @@ proto.org.dash.platform.dapi.v0.GetIdentityResponse.GetIdentityResponseV0.protot
|
|
|
4693
4903
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4694
4904
|
* the JSPB instance for transitional soy proto support:
|
|
4695
4905
|
* http://goto/soy-param-migration
|
|
4696
|
-
* @param {!proto.org.dash.platform.dapi.v0.
|
|
4906
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetIdentityBalanceRequest.GetIdentityBalanceRequestV0} msg The msg instance to transform.
|
|
4697
4907
|
* @return {!Object}
|
|
4698
4908
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4699
4909
|
*/
|
|
4700
|
-
proto.org.dash.platform.dapi.v0.
|
|
4910
|
+
proto.org.dash.platform.dapi.v0.GetIdentityBalanceRequest.GetIdentityBalanceRequestV0.toObject = function(includeInstance, msg) {
|
|
4701
4911
|
var f, obj = {
|
|
4702
|
-
|
|
4703
|
-
|
|
4704
|
-
metadata: (f = msg.getMetadata()) && proto.org.dash.platform.dapi.v0.ResponseMetadata.toObject(includeInstance, f)
|
|
4912
|
+
id: msg.getId_asB64(),
|
|
4913
|
+
prove: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
|
|
4705
4914
|
};
|
|
4706
4915
|
|
|
4707
4916
|
if (includeInstance) {
|
|
@@ -4715,23 +4924,23 @@ proto.org.dash.platform.dapi.v0.GetIdentityResponse.GetIdentityResponseV0.toObje
|
|
|
4715
4924
|
/**
|
|
4716
4925
|
* Deserializes binary data (in protobuf wire format).
|
|
4717
4926
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4718
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
4927
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityBalanceRequest.GetIdentityBalanceRequestV0}
|
|
4719
4928
|
*/
|
|
4720
|
-
proto.org.dash.platform.dapi.v0.
|
|
4929
|
+
proto.org.dash.platform.dapi.v0.GetIdentityBalanceRequest.GetIdentityBalanceRequestV0.deserializeBinary = function(bytes) {
|
|
4721
4930
|
var reader = new jspb.BinaryReader(bytes);
|
|
4722
|
-
var msg = new proto.org.dash.platform.dapi.v0.
|
|
4723
|
-
return proto.org.dash.platform.dapi.v0.
|
|
4931
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetIdentityBalanceRequest.GetIdentityBalanceRequestV0;
|
|
4932
|
+
return proto.org.dash.platform.dapi.v0.GetIdentityBalanceRequest.GetIdentityBalanceRequestV0.deserializeBinaryFromReader(msg, reader);
|
|
4724
4933
|
};
|
|
4725
4934
|
|
|
4726
4935
|
|
|
4727
4936
|
/**
|
|
4728
4937
|
* Deserializes binary data (in protobuf wire format) from the
|
|
4729
4938
|
* given reader into the given message object.
|
|
4730
|
-
* @param {!proto.org.dash.platform.dapi.v0.
|
|
4939
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetIdentityBalanceRequest.GetIdentityBalanceRequestV0} msg The message object to deserialize into.
|
|
4731
4940
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4732
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
4941
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityBalanceRequest.GetIdentityBalanceRequestV0}
|
|
4733
4942
|
*/
|
|
4734
|
-
proto.org.dash.platform.dapi.v0.
|
|
4943
|
+
proto.org.dash.platform.dapi.v0.GetIdentityBalanceRequest.GetIdentityBalanceRequestV0.deserializeBinaryFromReader = function(msg, reader) {
|
|
4735
4944
|
while (reader.nextField()) {
|
|
4736
4945
|
if (reader.isEndGroup()) {
|
|
4737
4946
|
break;
|
|
@@ -4740,17 +4949,11 @@ proto.org.dash.platform.dapi.v0.GetIdentityResponse.GetIdentityResponseV0.deseri
|
|
|
4740
4949
|
switch (field) {
|
|
4741
4950
|
case 1:
|
|
4742
4951
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
4743
|
-
msg.
|
|
4952
|
+
msg.setId(value);
|
|
4744
4953
|
break;
|
|
4745
4954
|
case 2:
|
|
4746
|
-
var value =
|
|
4747
|
-
|
|
4748
|
-
msg.setProof(value);
|
|
4749
|
-
break;
|
|
4750
|
-
case 3:
|
|
4751
|
-
var value = new proto.org.dash.platform.dapi.v0.ResponseMetadata;
|
|
4752
|
-
reader.readMessage(value,proto.org.dash.platform.dapi.v0.ResponseMetadata.deserializeBinaryFromReader);
|
|
4753
|
-
msg.setMetadata(value);
|
|
4955
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
4956
|
+
msg.setProve(value);
|
|
4754
4957
|
break;
|
|
4755
4958
|
default:
|
|
4756
4959
|
reader.skipField();
|
|
@@ -4765,9 +4968,9 @@ proto.org.dash.platform.dapi.v0.GetIdentityResponse.GetIdentityResponseV0.deseri
|
|
|
4765
4968
|
* Serializes the message to binary data (in protobuf wire format).
|
|
4766
4969
|
* @return {!Uint8Array}
|
|
4767
4970
|
*/
|
|
4768
|
-
proto.org.dash.platform.dapi.v0.
|
|
4971
|
+
proto.org.dash.platform.dapi.v0.GetIdentityBalanceRequest.GetIdentityBalanceRequestV0.prototype.serializeBinary = function() {
|
|
4769
4972
|
var writer = new jspb.BinaryWriter();
|
|
4770
|
-
proto.org.dash.platform.dapi.v0.
|
|
4973
|
+
proto.org.dash.platform.dapi.v0.GetIdentityBalanceRequest.GetIdentityBalanceRequestV0.serializeBinaryToWriter(this, writer);
|
|
4771
4974
|
return writer.getResultBuffer();
|
|
4772
4975
|
};
|
|
4773
4976
|
|
|
@@ -4775,196 +4978,113 @@ proto.org.dash.platform.dapi.v0.GetIdentityResponse.GetIdentityResponseV0.protot
|
|
|
4775
4978
|
/**
|
|
4776
4979
|
* Serializes the given message to binary data (in protobuf wire
|
|
4777
4980
|
* format), writing to the given BinaryWriter.
|
|
4778
|
-
* @param {!proto.org.dash.platform.dapi.v0.
|
|
4981
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetIdentityBalanceRequest.GetIdentityBalanceRequestV0} message
|
|
4779
4982
|
* @param {!jspb.BinaryWriter} writer
|
|
4780
4983
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4781
4984
|
*/
|
|
4782
|
-
proto.org.dash.platform.dapi.v0.
|
|
4985
|
+
proto.org.dash.platform.dapi.v0.GetIdentityBalanceRequest.GetIdentityBalanceRequestV0.serializeBinaryToWriter = function(message, writer) {
|
|
4783
4986
|
var f = undefined;
|
|
4784
|
-
f =
|
|
4785
|
-
if (f
|
|
4987
|
+
f = message.getId_asU8();
|
|
4988
|
+
if (f.length > 0) {
|
|
4786
4989
|
writer.writeBytes(
|
|
4787
4990
|
1,
|
|
4788
4991
|
f
|
|
4789
4992
|
);
|
|
4790
4993
|
}
|
|
4791
|
-
f = message.
|
|
4792
|
-
if (f
|
|
4793
|
-
writer.
|
|
4994
|
+
f = message.getProve();
|
|
4995
|
+
if (f) {
|
|
4996
|
+
writer.writeBool(
|
|
4794
4997
|
2,
|
|
4795
|
-
f
|
|
4796
|
-
proto.org.dash.platform.dapi.v0.Proof.serializeBinaryToWriter
|
|
4797
|
-
);
|
|
4798
|
-
}
|
|
4799
|
-
f = message.getMetadata();
|
|
4800
|
-
if (f != null) {
|
|
4801
|
-
writer.writeMessage(
|
|
4802
|
-
3,
|
|
4803
|
-
f,
|
|
4804
|
-
proto.org.dash.platform.dapi.v0.ResponseMetadata.serializeBinaryToWriter
|
|
4998
|
+
f
|
|
4805
4999
|
);
|
|
4806
5000
|
}
|
|
4807
5001
|
};
|
|
4808
5002
|
|
|
4809
5003
|
|
|
4810
5004
|
/**
|
|
4811
|
-
* optional bytes
|
|
5005
|
+
* optional bytes id = 1;
|
|
4812
5006
|
* @return {string}
|
|
4813
5007
|
*/
|
|
4814
|
-
proto.org.dash.platform.dapi.v0.
|
|
5008
|
+
proto.org.dash.platform.dapi.v0.GetIdentityBalanceRequest.GetIdentityBalanceRequestV0.prototype.getId = function() {
|
|
4815
5009
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
4816
5010
|
};
|
|
4817
5011
|
|
|
4818
5012
|
|
|
4819
5013
|
/**
|
|
4820
|
-
* optional bytes
|
|
4821
|
-
* This is a type-conversion wrapper around `
|
|
5014
|
+
* optional bytes id = 1;
|
|
5015
|
+
* This is a type-conversion wrapper around `getId()`
|
|
4822
5016
|
* @return {string}
|
|
4823
5017
|
*/
|
|
4824
|
-
proto.org.dash.platform.dapi.v0.
|
|
5018
|
+
proto.org.dash.platform.dapi.v0.GetIdentityBalanceRequest.GetIdentityBalanceRequestV0.prototype.getId_asB64 = function() {
|
|
4825
5019
|
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
4826
|
-
this.
|
|
5020
|
+
this.getId()));
|
|
4827
5021
|
};
|
|
4828
5022
|
|
|
4829
5023
|
|
|
4830
5024
|
/**
|
|
4831
|
-
* optional bytes
|
|
5025
|
+
* optional bytes id = 1;
|
|
4832
5026
|
* Note that Uint8Array is not supported on all browsers.
|
|
4833
5027
|
* @see http://caniuse.com/Uint8Array
|
|
4834
|
-
* This is a type-conversion wrapper around `
|
|
5028
|
+
* This is a type-conversion wrapper around `getId()`
|
|
4835
5029
|
* @return {!Uint8Array}
|
|
4836
5030
|
*/
|
|
4837
|
-
proto.org.dash.platform.dapi.v0.
|
|
5031
|
+
proto.org.dash.platform.dapi.v0.GetIdentityBalanceRequest.GetIdentityBalanceRequestV0.prototype.getId_asU8 = function() {
|
|
4838
5032
|
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
4839
|
-
this.
|
|
5033
|
+
this.getId()));
|
|
4840
5034
|
};
|
|
4841
5035
|
|
|
4842
5036
|
|
|
4843
5037
|
/**
|
|
4844
5038
|
* @param {!(string|Uint8Array)} value
|
|
4845
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
4846
|
-
*/
|
|
4847
|
-
proto.org.dash.platform.dapi.v0.GetIdentityResponse.GetIdentityResponseV0.prototype.setIdentity = function(value) {
|
|
4848
|
-
return jspb.Message.setOneofField(this, 1, proto.org.dash.platform.dapi.v0.GetIdentityResponse.GetIdentityResponseV0.oneofGroups_[0], value);
|
|
4849
|
-
};
|
|
4850
|
-
|
|
4851
|
-
|
|
4852
|
-
/**
|
|
4853
|
-
* Clears the field making it undefined.
|
|
4854
|
-
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityResponse.GetIdentityResponseV0} returns this
|
|
4855
|
-
*/
|
|
4856
|
-
proto.org.dash.platform.dapi.v0.GetIdentityResponse.GetIdentityResponseV0.prototype.clearIdentity = function() {
|
|
4857
|
-
return jspb.Message.setOneofField(this, 1, proto.org.dash.platform.dapi.v0.GetIdentityResponse.GetIdentityResponseV0.oneofGroups_[0], undefined);
|
|
4858
|
-
};
|
|
4859
|
-
|
|
4860
|
-
|
|
4861
|
-
/**
|
|
4862
|
-
* Returns whether this field is set.
|
|
4863
|
-
* @return {boolean}
|
|
4864
|
-
*/
|
|
4865
|
-
proto.org.dash.platform.dapi.v0.GetIdentityResponse.GetIdentityResponseV0.prototype.hasIdentity = function() {
|
|
4866
|
-
return jspb.Message.getField(this, 1) != null;
|
|
4867
|
-
};
|
|
4868
|
-
|
|
4869
|
-
|
|
4870
|
-
/**
|
|
4871
|
-
* optional Proof proof = 2;
|
|
4872
|
-
* @return {?proto.org.dash.platform.dapi.v0.Proof}
|
|
4873
|
-
*/
|
|
4874
|
-
proto.org.dash.platform.dapi.v0.GetIdentityResponse.GetIdentityResponseV0.prototype.getProof = function() {
|
|
4875
|
-
return /** @type{?proto.org.dash.platform.dapi.v0.Proof} */ (
|
|
4876
|
-
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.Proof, 2));
|
|
4877
|
-
};
|
|
4878
|
-
|
|
4879
|
-
|
|
4880
|
-
/**
|
|
4881
|
-
* @param {?proto.org.dash.platform.dapi.v0.Proof|undefined} value
|
|
4882
|
-
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityResponse.GetIdentityResponseV0} returns this
|
|
4883
|
-
*/
|
|
4884
|
-
proto.org.dash.platform.dapi.v0.GetIdentityResponse.GetIdentityResponseV0.prototype.setProof = function(value) {
|
|
4885
|
-
return jspb.Message.setOneofWrapperField(this, 2, proto.org.dash.platform.dapi.v0.GetIdentityResponse.GetIdentityResponseV0.oneofGroups_[0], value);
|
|
4886
|
-
};
|
|
4887
|
-
|
|
4888
|
-
|
|
4889
|
-
/**
|
|
4890
|
-
* Clears the message field making it undefined.
|
|
4891
|
-
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityResponse.GetIdentityResponseV0} returns this
|
|
5039
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityBalanceRequest.GetIdentityBalanceRequestV0} returns this
|
|
4892
5040
|
*/
|
|
4893
|
-
proto.org.dash.platform.dapi.v0.
|
|
4894
|
-
return
|
|
5041
|
+
proto.org.dash.platform.dapi.v0.GetIdentityBalanceRequest.GetIdentityBalanceRequestV0.prototype.setId = function(value) {
|
|
5042
|
+
return jspb.Message.setProto3BytesField(this, 1, value);
|
|
4895
5043
|
};
|
|
4896
5044
|
|
|
4897
5045
|
|
|
4898
5046
|
/**
|
|
4899
|
-
*
|
|
5047
|
+
* optional bool prove = 2;
|
|
4900
5048
|
* @return {boolean}
|
|
4901
5049
|
*/
|
|
4902
|
-
proto.org.dash.platform.dapi.v0.
|
|
4903
|
-
return jspb.Message.
|
|
4904
|
-
};
|
|
4905
|
-
|
|
4906
|
-
|
|
4907
|
-
/**
|
|
4908
|
-
* optional ResponseMetadata metadata = 3;
|
|
4909
|
-
* @return {?proto.org.dash.platform.dapi.v0.ResponseMetadata}
|
|
4910
|
-
*/
|
|
4911
|
-
proto.org.dash.platform.dapi.v0.GetIdentityResponse.GetIdentityResponseV0.prototype.getMetadata = function() {
|
|
4912
|
-
return /** @type{?proto.org.dash.platform.dapi.v0.ResponseMetadata} */ (
|
|
4913
|
-
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.ResponseMetadata, 3));
|
|
4914
|
-
};
|
|
4915
|
-
|
|
4916
|
-
|
|
4917
|
-
/**
|
|
4918
|
-
* @param {?proto.org.dash.platform.dapi.v0.ResponseMetadata|undefined} value
|
|
4919
|
-
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityResponse.GetIdentityResponseV0} returns this
|
|
4920
|
-
*/
|
|
4921
|
-
proto.org.dash.platform.dapi.v0.GetIdentityResponse.GetIdentityResponseV0.prototype.setMetadata = function(value) {
|
|
4922
|
-
return jspb.Message.setWrapperField(this, 3, value);
|
|
4923
|
-
};
|
|
4924
|
-
|
|
4925
|
-
|
|
4926
|
-
/**
|
|
4927
|
-
* Clears the message field making it undefined.
|
|
4928
|
-
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityResponse.GetIdentityResponseV0} returns this
|
|
4929
|
-
*/
|
|
4930
|
-
proto.org.dash.platform.dapi.v0.GetIdentityResponse.GetIdentityResponseV0.prototype.clearMetadata = function() {
|
|
4931
|
-
return this.setMetadata(undefined);
|
|
5050
|
+
proto.org.dash.platform.dapi.v0.GetIdentityBalanceRequest.GetIdentityBalanceRequestV0.prototype.getProve = function() {
|
|
5051
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
|
|
4932
5052
|
};
|
|
4933
5053
|
|
|
4934
5054
|
|
|
4935
5055
|
/**
|
|
4936
|
-
*
|
|
4937
|
-
* @return {
|
|
5056
|
+
* @param {boolean} value
|
|
5057
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityBalanceRequest.GetIdentityBalanceRequestV0} returns this
|
|
4938
5058
|
*/
|
|
4939
|
-
proto.org.dash.platform.dapi.v0.
|
|
4940
|
-
return jspb.Message.
|
|
5059
|
+
proto.org.dash.platform.dapi.v0.GetIdentityBalanceRequest.GetIdentityBalanceRequestV0.prototype.setProve = function(value) {
|
|
5060
|
+
return jspb.Message.setProto3BooleanField(this, 2, value);
|
|
4941
5061
|
};
|
|
4942
5062
|
|
|
4943
5063
|
|
|
4944
5064
|
/**
|
|
4945
|
-
* optional
|
|
4946
|
-
* @return {?proto.org.dash.platform.dapi.v0.
|
|
5065
|
+
* optional GetIdentityBalanceRequestV0 v0 = 1;
|
|
5066
|
+
* @return {?proto.org.dash.platform.dapi.v0.GetIdentityBalanceRequest.GetIdentityBalanceRequestV0}
|
|
4947
5067
|
*/
|
|
4948
|
-
proto.org.dash.platform.dapi.v0.
|
|
4949
|
-
return /** @type{?proto.org.dash.platform.dapi.v0.
|
|
4950
|
-
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.
|
|
5068
|
+
proto.org.dash.platform.dapi.v0.GetIdentityBalanceRequest.prototype.getV0 = function() {
|
|
5069
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.GetIdentityBalanceRequest.GetIdentityBalanceRequestV0} */ (
|
|
5070
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetIdentityBalanceRequest.GetIdentityBalanceRequestV0, 1));
|
|
4951
5071
|
};
|
|
4952
5072
|
|
|
4953
5073
|
|
|
4954
5074
|
/**
|
|
4955
|
-
* @param {?proto.org.dash.platform.dapi.v0.
|
|
4956
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
5075
|
+
* @param {?proto.org.dash.platform.dapi.v0.GetIdentityBalanceRequest.GetIdentityBalanceRequestV0|undefined} value
|
|
5076
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityBalanceRequest} returns this
|
|
4957
5077
|
*/
|
|
4958
|
-
proto.org.dash.platform.dapi.v0.
|
|
4959
|
-
return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.
|
|
5078
|
+
proto.org.dash.platform.dapi.v0.GetIdentityBalanceRequest.prototype.setV0 = function(value) {
|
|
5079
|
+
return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetIdentityBalanceRequest.oneofGroups_[0], value);
|
|
4960
5080
|
};
|
|
4961
5081
|
|
|
4962
5082
|
|
|
4963
5083
|
/**
|
|
4964
5084
|
* Clears the message field making it undefined.
|
|
4965
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
5085
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityBalanceRequest} returns this
|
|
4966
5086
|
*/
|
|
4967
|
-
proto.org.dash.platform.dapi.v0.
|
|
5087
|
+
proto.org.dash.platform.dapi.v0.GetIdentityBalanceRequest.prototype.clearV0 = function() {
|
|
4968
5088
|
return this.setV0(undefined);
|
|
4969
5089
|
};
|
|
4970
5090
|
|
|
@@ -4973,7 +5093,7 @@ proto.org.dash.platform.dapi.v0.GetIdentityResponse.prototype.clearV0 = function
|
|
|
4973
5093
|
* Returns whether this field is set.
|
|
4974
5094
|
* @return {boolean}
|
|
4975
5095
|
*/
|
|
4976
|
-
proto.org.dash.platform.dapi.v0.
|
|
5096
|
+
proto.org.dash.platform.dapi.v0.GetIdentityBalanceRequest.prototype.hasV0 = function() {
|
|
4977
5097
|
return jspb.Message.getField(this, 1) != null;
|
|
4978
5098
|
};
|
|
4979
5099
|
|
|
@@ -4987,21 +5107,21 @@ proto.org.dash.platform.dapi.v0.GetIdentityResponse.prototype.hasV0 = function()
|
|
|
4987
5107
|
* @private {!Array<!Array<number>>}
|
|
4988
5108
|
* @const
|
|
4989
5109
|
*/
|
|
4990
|
-
proto.org.dash.platform.dapi.v0.
|
|
5110
|
+
proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionRequest.oneofGroups_ = [[1]];
|
|
4991
5111
|
|
|
4992
5112
|
/**
|
|
4993
5113
|
* @enum {number}
|
|
4994
5114
|
*/
|
|
4995
|
-
proto.org.dash.platform.dapi.v0.
|
|
5115
|
+
proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionRequest.VersionCase = {
|
|
4996
5116
|
VERSION_NOT_SET: 0,
|
|
4997
5117
|
V0: 1
|
|
4998
5118
|
};
|
|
4999
5119
|
|
|
5000
5120
|
/**
|
|
5001
|
-
* @return {proto.org.dash.platform.dapi.v0.
|
|
5121
|
+
* @return {proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionRequest.VersionCase}
|
|
5002
5122
|
*/
|
|
5003
|
-
proto.org.dash.platform.dapi.v0.
|
|
5004
|
-
return /** @type {proto.org.dash.platform.dapi.v0.
|
|
5123
|
+
proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionRequest.prototype.getVersionCase = function() {
|
|
5124
|
+
return /** @type {proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionRequest.VersionCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionRequest.oneofGroups_[0]));
|
|
5005
5125
|
};
|
|
5006
5126
|
|
|
5007
5127
|
|
|
@@ -5019,8 +5139,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
5019
5139
|
* http://goto/soy-param-migration
|
|
5020
5140
|
* @return {!Object}
|
|
5021
5141
|
*/
|
|
5022
|
-
proto.org.dash.platform.dapi.v0.
|
|
5023
|
-
return proto.org.dash.platform.dapi.v0.
|
|
5142
|
+
proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionRequest.prototype.toObject = function(opt_includeInstance) {
|
|
5143
|
+
return proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionRequest.toObject(opt_includeInstance, this);
|
|
5024
5144
|
};
|
|
5025
5145
|
|
|
5026
5146
|
|
|
@@ -5029,13 +5149,13 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesRequest.prototype.toObject = functi
|
|
|
5029
5149
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
5030
5150
|
* the JSPB instance for transitional soy proto support:
|
|
5031
5151
|
* http://goto/soy-param-migration
|
|
5032
|
-
* @param {!proto.org.dash.platform.dapi.v0.
|
|
5152
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionRequest} msg The msg instance to transform.
|
|
5033
5153
|
* @return {!Object}
|
|
5034
5154
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5035
5155
|
*/
|
|
5036
|
-
proto.org.dash.platform.dapi.v0.
|
|
5156
|
+
proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionRequest.toObject = function(includeInstance, msg) {
|
|
5037
5157
|
var f, obj = {
|
|
5038
|
-
v0: (f = msg.getV0()) && proto.org.dash.platform.dapi.v0.
|
|
5158
|
+
v0: (f = msg.getV0()) && proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionRequest.GetIdentityBalanceAndRevisionRequestV0.toObject(includeInstance, f)
|
|
5039
5159
|
};
|
|
5040
5160
|
|
|
5041
5161
|
if (includeInstance) {
|
|
@@ -5049,23 +5169,23 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesRequest.toObject = function(include
|
|
|
5049
5169
|
/**
|
|
5050
5170
|
* Deserializes binary data (in protobuf wire format).
|
|
5051
5171
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
5052
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
5172
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionRequest}
|
|
5053
5173
|
*/
|
|
5054
|
-
proto.org.dash.platform.dapi.v0.
|
|
5174
|
+
proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionRequest.deserializeBinary = function(bytes) {
|
|
5055
5175
|
var reader = new jspb.BinaryReader(bytes);
|
|
5056
|
-
var msg = new proto.org.dash.platform.dapi.v0.
|
|
5057
|
-
return proto.org.dash.platform.dapi.v0.
|
|
5176
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionRequest;
|
|
5177
|
+
return proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionRequest.deserializeBinaryFromReader(msg, reader);
|
|
5058
5178
|
};
|
|
5059
5179
|
|
|
5060
5180
|
|
|
5061
5181
|
/**
|
|
5062
5182
|
* Deserializes binary data (in protobuf wire format) from the
|
|
5063
5183
|
* given reader into the given message object.
|
|
5064
|
-
* @param {!proto.org.dash.platform.dapi.v0.
|
|
5184
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionRequest} msg The message object to deserialize into.
|
|
5065
5185
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
5066
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
5186
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionRequest}
|
|
5067
5187
|
*/
|
|
5068
|
-
proto.org.dash.platform.dapi.v0.
|
|
5188
|
+
proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
5069
5189
|
while (reader.nextField()) {
|
|
5070
5190
|
if (reader.isEndGroup()) {
|
|
5071
5191
|
break;
|
|
@@ -5073,8 +5193,8 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesRequest.deserializeBinaryFromReader
|
|
|
5073
5193
|
var field = reader.getFieldNumber();
|
|
5074
5194
|
switch (field) {
|
|
5075
5195
|
case 1:
|
|
5076
|
-
var value = new proto.org.dash.platform.dapi.v0.
|
|
5077
|
-
reader.readMessage(value,proto.org.dash.platform.dapi.v0.
|
|
5196
|
+
var value = new proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionRequest.GetIdentityBalanceAndRevisionRequestV0;
|
|
5197
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionRequest.GetIdentityBalanceAndRevisionRequestV0.deserializeBinaryFromReader);
|
|
5078
5198
|
msg.setV0(value);
|
|
5079
5199
|
break;
|
|
5080
5200
|
default:
|
|
@@ -5090,9 +5210,9 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesRequest.deserializeBinaryFromReader
|
|
|
5090
5210
|
* Serializes the message to binary data (in protobuf wire format).
|
|
5091
5211
|
* @return {!Uint8Array}
|
|
5092
5212
|
*/
|
|
5093
|
-
proto.org.dash.platform.dapi.v0.
|
|
5213
|
+
proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionRequest.prototype.serializeBinary = function() {
|
|
5094
5214
|
var writer = new jspb.BinaryWriter();
|
|
5095
|
-
proto.org.dash.platform.dapi.v0.
|
|
5215
|
+
proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionRequest.serializeBinaryToWriter(this, writer);
|
|
5096
5216
|
return writer.getResultBuffer();
|
|
5097
5217
|
};
|
|
5098
5218
|
|
|
@@ -5100,31 +5220,24 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesRequest.prototype.serializeBinary =
|
|
|
5100
5220
|
/**
|
|
5101
5221
|
* Serializes the given message to binary data (in protobuf wire
|
|
5102
5222
|
* format), writing to the given BinaryWriter.
|
|
5103
|
-
* @param {!proto.org.dash.platform.dapi.v0.
|
|
5223
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionRequest} message
|
|
5104
5224
|
* @param {!jspb.BinaryWriter} writer
|
|
5105
5225
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5106
5226
|
*/
|
|
5107
|
-
proto.org.dash.platform.dapi.v0.
|
|
5227
|
+
proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionRequest.serializeBinaryToWriter = function(message, writer) {
|
|
5108
5228
|
var f = undefined;
|
|
5109
5229
|
f = message.getV0();
|
|
5110
5230
|
if (f != null) {
|
|
5111
5231
|
writer.writeMessage(
|
|
5112
5232
|
1,
|
|
5113
5233
|
f,
|
|
5114
|
-
proto.org.dash.platform.dapi.v0.
|
|
5234
|
+
proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionRequest.GetIdentityBalanceAndRevisionRequestV0.serializeBinaryToWriter
|
|
5115
5235
|
);
|
|
5116
5236
|
}
|
|
5117
5237
|
};
|
|
5118
5238
|
|
|
5119
5239
|
|
|
5120
5240
|
|
|
5121
|
-
/**
|
|
5122
|
-
* List of repeated fields within this message type.
|
|
5123
|
-
* @private {!Array<number>}
|
|
5124
|
-
* @const
|
|
5125
|
-
*/
|
|
5126
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesRequest.GetIdentitiesRequestV0.repeatedFields_ = [1];
|
|
5127
|
-
|
|
5128
5241
|
|
|
5129
5242
|
|
|
5130
5243
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -5140,8 +5253,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
5140
5253
|
* http://goto/soy-param-migration
|
|
5141
5254
|
* @return {!Object}
|
|
5142
5255
|
*/
|
|
5143
|
-
proto.org.dash.platform.dapi.v0.
|
|
5144
|
-
return proto.org.dash.platform.dapi.v0.
|
|
5256
|
+
proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionRequest.GetIdentityBalanceAndRevisionRequestV0.prototype.toObject = function(opt_includeInstance) {
|
|
5257
|
+
return proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionRequest.GetIdentityBalanceAndRevisionRequestV0.toObject(opt_includeInstance, this);
|
|
5145
5258
|
};
|
|
5146
5259
|
|
|
5147
5260
|
|
|
@@ -5150,13 +5263,13 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesRequest.GetIdentitiesRequestV0.prot
|
|
|
5150
5263
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
5151
5264
|
* the JSPB instance for transitional soy proto support:
|
|
5152
5265
|
* http://goto/soy-param-migration
|
|
5153
|
-
* @param {!proto.org.dash.platform.dapi.v0.
|
|
5266
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionRequest.GetIdentityBalanceAndRevisionRequestV0} msg The msg instance to transform.
|
|
5154
5267
|
* @return {!Object}
|
|
5155
5268
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5156
5269
|
*/
|
|
5157
|
-
proto.org.dash.platform.dapi.v0.
|
|
5270
|
+
proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionRequest.GetIdentityBalanceAndRevisionRequestV0.toObject = function(includeInstance, msg) {
|
|
5158
5271
|
var f, obj = {
|
|
5159
|
-
|
|
5272
|
+
id: msg.getId_asB64(),
|
|
5160
5273
|
prove: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
|
|
5161
5274
|
};
|
|
5162
5275
|
|
|
@@ -5171,23 +5284,23 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesRequest.GetIdentitiesRequestV0.toOb
|
|
|
5171
5284
|
/**
|
|
5172
5285
|
* Deserializes binary data (in protobuf wire format).
|
|
5173
5286
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
5174
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
5287
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionRequest.GetIdentityBalanceAndRevisionRequestV0}
|
|
5175
5288
|
*/
|
|
5176
|
-
proto.org.dash.platform.dapi.v0.
|
|
5289
|
+
proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionRequest.GetIdentityBalanceAndRevisionRequestV0.deserializeBinary = function(bytes) {
|
|
5177
5290
|
var reader = new jspb.BinaryReader(bytes);
|
|
5178
|
-
var msg = new proto.org.dash.platform.dapi.v0.
|
|
5179
|
-
return proto.org.dash.platform.dapi.v0.
|
|
5291
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionRequest.GetIdentityBalanceAndRevisionRequestV0;
|
|
5292
|
+
return proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionRequest.GetIdentityBalanceAndRevisionRequestV0.deserializeBinaryFromReader(msg, reader);
|
|
5180
5293
|
};
|
|
5181
5294
|
|
|
5182
5295
|
|
|
5183
5296
|
/**
|
|
5184
5297
|
* Deserializes binary data (in protobuf wire format) from the
|
|
5185
5298
|
* given reader into the given message object.
|
|
5186
|
-
* @param {!proto.org.dash.platform.dapi.v0.
|
|
5299
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionRequest.GetIdentityBalanceAndRevisionRequestV0} msg The message object to deserialize into.
|
|
5187
5300
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
5188
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
5301
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionRequest.GetIdentityBalanceAndRevisionRequestV0}
|
|
5189
5302
|
*/
|
|
5190
|
-
proto.org.dash.platform.dapi.v0.
|
|
5303
|
+
proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionRequest.GetIdentityBalanceAndRevisionRequestV0.deserializeBinaryFromReader = function(msg, reader) {
|
|
5191
5304
|
while (reader.nextField()) {
|
|
5192
5305
|
if (reader.isEndGroup()) {
|
|
5193
5306
|
break;
|
|
@@ -5196,7 +5309,7 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesRequest.GetIdentitiesRequestV0.dese
|
|
|
5196
5309
|
switch (field) {
|
|
5197
5310
|
case 1:
|
|
5198
5311
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
5199
|
-
msg.
|
|
5312
|
+
msg.setId(value);
|
|
5200
5313
|
break;
|
|
5201
5314
|
case 2:
|
|
5202
5315
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
@@ -5215,9 +5328,9 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesRequest.GetIdentitiesRequestV0.dese
|
|
|
5215
5328
|
* Serializes the message to binary data (in protobuf wire format).
|
|
5216
5329
|
* @return {!Uint8Array}
|
|
5217
5330
|
*/
|
|
5218
|
-
proto.org.dash.platform.dapi.v0.
|
|
5331
|
+
proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionRequest.GetIdentityBalanceAndRevisionRequestV0.prototype.serializeBinary = function() {
|
|
5219
5332
|
var writer = new jspb.BinaryWriter();
|
|
5220
|
-
proto.org.dash.platform.dapi.v0.
|
|
5333
|
+
proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionRequest.GetIdentityBalanceAndRevisionRequestV0.serializeBinaryToWriter(this, writer);
|
|
5221
5334
|
return writer.getResultBuffer();
|
|
5222
5335
|
};
|
|
5223
5336
|
|
|
@@ -5225,15 +5338,15 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesRequest.GetIdentitiesRequestV0.prot
|
|
|
5225
5338
|
/**
|
|
5226
5339
|
* Serializes the given message to binary data (in protobuf wire
|
|
5227
5340
|
* format), writing to the given BinaryWriter.
|
|
5228
|
-
* @param {!proto.org.dash.platform.dapi.v0.
|
|
5341
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionRequest.GetIdentityBalanceAndRevisionRequestV0} message
|
|
5229
5342
|
* @param {!jspb.BinaryWriter} writer
|
|
5230
5343
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5231
5344
|
*/
|
|
5232
|
-
proto.org.dash.platform.dapi.v0.
|
|
5345
|
+
proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionRequest.GetIdentityBalanceAndRevisionRequestV0.serializeBinaryToWriter = function(message, writer) {
|
|
5233
5346
|
var f = undefined;
|
|
5234
|
-
f = message.
|
|
5347
|
+
f = message.getId_asU8();
|
|
5235
5348
|
if (f.length > 0) {
|
|
5236
|
-
writer.
|
|
5349
|
+
writer.writeBytes(
|
|
5237
5350
|
1,
|
|
5238
5351
|
f
|
|
5239
5352
|
);
|
|
@@ -5249,63 +5362,44 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesRequest.GetIdentitiesRequestV0.seri
|
|
|
5249
5362
|
|
|
5250
5363
|
|
|
5251
5364
|
/**
|
|
5252
|
-
*
|
|
5253
|
-
* @return {
|
|
5365
|
+
* optional bytes id = 1;
|
|
5366
|
+
* @return {string}
|
|
5254
5367
|
*/
|
|
5255
|
-
proto.org.dash.platform.dapi.v0.
|
|
5256
|
-
return /** @type {
|
|
5368
|
+
proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionRequest.GetIdentityBalanceAndRevisionRequestV0.prototype.getId = function() {
|
|
5369
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
5257
5370
|
};
|
|
5258
5371
|
|
|
5259
5372
|
|
|
5260
5373
|
/**
|
|
5261
|
-
*
|
|
5262
|
-
* This is a type-conversion wrapper around `
|
|
5263
|
-
* @return {
|
|
5374
|
+
* optional bytes id = 1;
|
|
5375
|
+
* This is a type-conversion wrapper around `getId()`
|
|
5376
|
+
* @return {string}
|
|
5264
5377
|
*/
|
|
5265
|
-
proto.org.dash.platform.dapi.v0.
|
|
5266
|
-
return /** @type {
|
|
5267
|
-
this.
|
|
5378
|
+
proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionRequest.GetIdentityBalanceAndRevisionRequestV0.prototype.getId_asB64 = function() {
|
|
5379
|
+
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
5380
|
+
this.getId()));
|
|
5268
5381
|
};
|
|
5269
5382
|
|
|
5270
5383
|
|
|
5271
5384
|
/**
|
|
5272
|
-
*
|
|
5385
|
+
* optional bytes id = 1;
|
|
5273
5386
|
* Note that Uint8Array is not supported on all browsers.
|
|
5274
5387
|
* @see http://caniuse.com/Uint8Array
|
|
5275
|
-
* This is a type-conversion wrapper around `
|
|
5276
|
-
* @return {!
|
|
5388
|
+
* This is a type-conversion wrapper around `getId()`
|
|
5389
|
+
* @return {!Uint8Array}
|
|
5277
5390
|
*/
|
|
5278
|
-
proto.org.dash.platform.dapi.v0.
|
|
5279
|
-
return /** @type {!
|
|
5280
|
-
this.
|
|
5391
|
+
proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionRequest.GetIdentityBalanceAndRevisionRequestV0.prototype.getId_asU8 = function() {
|
|
5392
|
+
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
5393
|
+
this.getId()));
|
|
5281
5394
|
};
|
|
5282
5395
|
|
|
5283
5396
|
|
|
5284
5397
|
/**
|
|
5285
|
-
* @param {!(
|
|
5286
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
5398
|
+
* @param {!(string|Uint8Array)} value
|
|
5399
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionRequest.GetIdentityBalanceAndRevisionRequestV0} returns this
|
|
5287
5400
|
*/
|
|
5288
|
-
proto.org.dash.platform.dapi.v0.
|
|
5289
|
-
return jspb.Message.
|
|
5290
|
-
};
|
|
5291
|
-
|
|
5292
|
-
|
|
5293
|
-
/**
|
|
5294
|
-
* @param {!(string|Uint8Array)} value
|
|
5295
|
-
* @param {number=} opt_index
|
|
5296
|
-
* @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesRequest.GetIdentitiesRequestV0} returns this
|
|
5297
|
-
*/
|
|
5298
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesRequest.GetIdentitiesRequestV0.prototype.addIds = function(value, opt_index) {
|
|
5299
|
-
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
5300
|
-
};
|
|
5301
|
-
|
|
5302
|
-
|
|
5303
|
-
/**
|
|
5304
|
-
* Clears the list making it empty but non-null.
|
|
5305
|
-
* @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesRequest.GetIdentitiesRequestV0} returns this
|
|
5306
|
-
*/
|
|
5307
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesRequest.GetIdentitiesRequestV0.prototype.clearIdsList = function() {
|
|
5308
|
-
return this.setIdsList([]);
|
|
5401
|
+
proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionRequest.GetIdentityBalanceAndRevisionRequestV0.prototype.setId = function(value) {
|
|
5402
|
+
return jspb.Message.setProto3BytesField(this, 1, value);
|
|
5309
5403
|
};
|
|
5310
5404
|
|
|
5311
5405
|
|
|
@@ -5313,44 +5407,44 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesRequest.GetIdentitiesRequestV0.prot
|
|
|
5313
5407
|
* optional bool prove = 2;
|
|
5314
5408
|
* @return {boolean}
|
|
5315
5409
|
*/
|
|
5316
|
-
proto.org.dash.platform.dapi.v0.
|
|
5410
|
+
proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionRequest.GetIdentityBalanceAndRevisionRequestV0.prototype.getProve = function() {
|
|
5317
5411
|
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
|
|
5318
5412
|
};
|
|
5319
5413
|
|
|
5320
5414
|
|
|
5321
5415
|
/**
|
|
5322
5416
|
* @param {boolean} value
|
|
5323
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
5417
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionRequest.GetIdentityBalanceAndRevisionRequestV0} returns this
|
|
5324
5418
|
*/
|
|
5325
|
-
proto.org.dash.platform.dapi.v0.
|
|
5419
|
+
proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionRequest.GetIdentityBalanceAndRevisionRequestV0.prototype.setProve = function(value) {
|
|
5326
5420
|
return jspb.Message.setProto3BooleanField(this, 2, value);
|
|
5327
5421
|
};
|
|
5328
5422
|
|
|
5329
5423
|
|
|
5330
5424
|
/**
|
|
5331
|
-
* optional
|
|
5332
|
-
* @return {?proto.org.dash.platform.dapi.v0.
|
|
5425
|
+
* optional GetIdentityBalanceAndRevisionRequestV0 v0 = 1;
|
|
5426
|
+
* @return {?proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionRequest.GetIdentityBalanceAndRevisionRequestV0}
|
|
5333
5427
|
*/
|
|
5334
|
-
proto.org.dash.platform.dapi.v0.
|
|
5335
|
-
return /** @type{?proto.org.dash.platform.dapi.v0.
|
|
5336
|
-
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.
|
|
5428
|
+
proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionRequest.prototype.getV0 = function() {
|
|
5429
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionRequest.GetIdentityBalanceAndRevisionRequestV0} */ (
|
|
5430
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionRequest.GetIdentityBalanceAndRevisionRequestV0, 1));
|
|
5337
5431
|
};
|
|
5338
5432
|
|
|
5339
5433
|
|
|
5340
5434
|
/**
|
|
5341
|
-
* @param {?proto.org.dash.platform.dapi.v0.
|
|
5342
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
5435
|
+
* @param {?proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionRequest.GetIdentityBalanceAndRevisionRequestV0|undefined} value
|
|
5436
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionRequest} returns this
|
|
5343
5437
|
*/
|
|
5344
|
-
proto.org.dash.platform.dapi.v0.
|
|
5345
|
-
return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.
|
|
5438
|
+
proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionRequest.prototype.setV0 = function(value) {
|
|
5439
|
+
return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionRequest.oneofGroups_[0], value);
|
|
5346
5440
|
};
|
|
5347
5441
|
|
|
5348
5442
|
|
|
5349
5443
|
/**
|
|
5350
5444
|
* Clears the message field making it undefined.
|
|
5351
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
5445
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionRequest} returns this
|
|
5352
5446
|
*/
|
|
5353
|
-
proto.org.dash.platform.dapi.v0.
|
|
5447
|
+
proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionRequest.prototype.clearV0 = function() {
|
|
5354
5448
|
return this.setV0(undefined);
|
|
5355
5449
|
};
|
|
5356
5450
|
|
|
@@ -5359,7 +5453,7 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesRequest.prototype.clearV0 = functio
|
|
|
5359
5453
|
* Returns whether this field is set.
|
|
5360
5454
|
* @return {boolean}
|
|
5361
5455
|
*/
|
|
5362
|
-
proto.org.dash.platform.dapi.v0.
|
|
5456
|
+
proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionRequest.prototype.hasV0 = function() {
|
|
5363
5457
|
return jspb.Message.getField(this, 1) != null;
|
|
5364
5458
|
};
|
|
5365
5459
|
|
|
@@ -5373,21 +5467,21 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesRequest.prototype.hasV0 = function(
|
|
|
5373
5467
|
* @private {!Array<!Array<number>>}
|
|
5374
5468
|
* @const
|
|
5375
5469
|
*/
|
|
5376
|
-
proto.org.dash.platform.dapi.v0.
|
|
5470
|
+
proto.org.dash.platform.dapi.v0.GetIdentityResponse.oneofGroups_ = [[1]];
|
|
5377
5471
|
|
|
5378
5472
|
/**
|
|
5379
5473
|
* @enum {number}
|
|
5380
5474
|
*/
|
|
5381
|
-
proto.org.dash.platform.dapi.v0.
|
|
5475
|
+
proto.org.dash.platform.dapi.v0.GetIdentityResponse.VersionCase = {
|
|
5382
5476
|
VERSION_NOT_SET: 0,
|
|
5383
5477
|
V0: 1
|
|
5384
5478
|
};
|
|
5385
5479
|
|
|
5386
5480
|
/**
|
|
5387
|
-
* @return {proto.org.dash.platform.dapi.v0.
|
|
5481
|
+
* @return {proto.org.dash.platform.dapi.v0.GetIdentityResponse.VersionCase}
|
|
5388
5482
|
*/
|
|
5389
|
-
proto.org.dash.platform.dapi.v0.
|
|
5390
|
-
return /** @type {proto.org.dash.platform.dapi.v0.
|
|
5483
|
+
proto.org.dash.platform.dapi.v0.GetIdentityResponse.prototype.getVersionCase = function() {
|
|
5484
|
+
return /** @type {proto.org.dash.platform.dapi.v0.GetIdentityResponse.VersionCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetIdentityResponse.oneofGroups_[0]));
|
|
5391
5485
|
};
|
|
5392
5486
|
|
|
5393
5487
|
|
|
@@ -5405,8 +5499,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
5405
5499
|
* http://goto/soy-param-migration
|
|
5406
5500
|
* @return {!Object}
|
|
5407
5501
|
*/
|
|
5408
|
-
proto.org.dash.platform.dapi.v0.
|
|
5409
|
-
return proto.org.dash.platform.dapi.v0.
|
|
5502
|
+
proto.org.dash.platform.dapi.v0.GetIdentityResponse.prototype.toObject = function(opt_includeInstance) {
|
|
5503
|
+
return proto.org.dash.platform.dapi.v0.GetIdentityResponse.toObject(opt_includeInstance, this);
|
|
5410
5504
|
};
|
|
5411
5505
|
|
|
5412
5506
|
|
|
@@ -5415,13 +5509,13 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.prototype.toObject = funct
|
|
|
5415
5509
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
5416
5510
|
* the JSPB instance for transitional soy proto support:
|
|
5417
5511
|
* http://goto/soy-param-migration
|
|
5418
|
-
* @param {!proto.org.dash.platform.dapi.v0.
|
|
5512
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetIdentityResponse} msg The msg instance to transform.
|
|
5419
5513
|
* @return {!Object}
|
|
5420
5514
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5421
5515
|
*/
|
|
5422
|
-
proto.org.dash.platform.dapi.v0.
|
|
5516
|
+
proto.org.dash.platform.dapi.v0.GetIdentityResponse.toObject = function(includeInstance, msg) {
|
|
5423
5517
|
var f, obj = {
|
|
5424
|
-
v0: (f = msg.getV0()) && proto.org.dash.platform.dapi.v0.
|
|
5518
|
+
v0: (f = msg.getV0()) && proto.org.dash.platform.dapi.v0.GetIdentityResponse.GetIdentityResponseV0.toObject(includeInstance, f)
|
|
5425
5519
|
};
|
|
5426
5520
|
|
|
5427
5521
|
if (includeInstance) {
|
|
@@ -5435,23 +5529,23 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.toObject = function(includ
|
|
|
5435
5529
|
/**
|
|
5436
5530
|
* Deserializes binary data (in protobuf wire format).
|
|
5437
5531
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
5438
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
5532
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityResponse}
|
|
5439
5533
|
*/
|
|
5440
|
-
proto.org.dash.platform.dapi.v0.
|
|
5534
|
+
proto.org.dash.platform.dapi.v0.GetIdentityResponse.deserializeBinary = function(bytes) {
|
|
5441
5535
|
var reader = new jspb.BinaryReader(bytes);
|
|
5442
|
-
var msg = new proto.org.dash.platform.dapi.v0.
|
|
5443
|
-
return proto.org.dash.platform.dapi.v0.
|
|
5536
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetIdentityResponse;
|
|
5537
|
+
return proto.org.dash.platform.dapi.v0.GetIdentityResponse.deserializeBinaryFromReader(msg, reader);
|
|
5444
5538
|
};
|
|
5445
5539
|
|
|
5446
5540
|
|
|
5447
5541
|
/**
|
|
5448
5542
|
* Deserializes binary data (in protobuf wire format) from the
|
|
5449
5543
|
* given reader into the given message object.
|
|
5450
|
-
* @param {!proto.org.dash.platform.dapi.v0.
|
|
5544
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetIdentityResponse} msg The message object to deserialize into.
|
|
5451
5545
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
5452
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
5546
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityResponse}
|
|
5453
5547
|
*/
|
|
5454
|
-
proto.org.dash.platform.dapi.v0.
|
|
5548
|
+
proto.org.dash.platform.dapi.v0.GetIdentityResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
5455
5549
|
while (reader.nextField()) {
|
|
5456
5550
|
if (reader.isEndGroup()) {
|
|
5457
5551
|
break;
|
|
@@ -5459,8 +5553,8 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.deserializeBinaryFromReade
|
|
|
5459
5553
|
var field = reader.getFieldNumber();
|
|
5460
5554
|
switch (field) {
|
|
5461
5555
|
case 1:
|
|
5462
|
-
var value = new proto.org.dash.platform.dapi.v0.
|
|
5463
|
-
reader.readMessage(value,proto.org.dash.platform.dapi.v0.
|
|
5556
|
+
var value = new proto.org.dash.platform.dapi.v0.GetIdentityResponse.GetIdentityResponseV0;
|
|
5557
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetIdentityResponse.GetIdentityResponseV0.deserializeBinaryFromReader);
|
|
5464
5558
|
msg.setV0(value);
|
|
5465
5559
|
break;
|
|
5466
5560
|
default:
|
|
@@ -5476,9 +5570,9 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.deserializeBinaryFromReade
|
|
|
5476
5570
|
* Serializes the message to binary data (in protobuf wire format).
|
|
5477
5571
|
* @return {!Uint8Array}
|
|
5478
5572
|
*/
|
|
5479
|
-
proto.org.dash.platform.dapi.v0.
|
|
5573
|
+
proto.org.dash.platform.dapi.v0.GetIdentityResponse.prototype.serializeBinary = function() {
|
|
5480
5574
|
var writer = new jspb.BinaryWriter();
|
|
5481
|
-
proto.org.dash.platform.dapi.v0.
|
|
5575
|
+
proto.org.dash.platform.dapi.v0.GetIdentityResponse.serializeBinaryToWriter(this, writer);
|
|
5482
5576
|
return writer.getResultBuffer();
|
|
5483
5577
|
};
|
|
5484
5578
|
|
|
@@ -5486,24 +5580,50 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.prototype.serializeBinary
|
|
|
5486
5580
|
/**
|
|
5487
5581
|
* Serializes the given message to binary data (in protobuf wire
|
|
5488
5582
|
* format), writing to the given BinaryWriter.
|
|
5489
|
-
* @param {!proto.org.dash.platform.dapi.v0.
|
|
5583
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetIdentityResponse} message
|
|
5490
5584
|
* @param {!jspb.BinaryWriter} writer
|
|
5491
5585
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5492
5586
|
*/
|
|
5493
|
-
proto.org.dash.platform.dapi.v0.
|
|
5587
|
+
proto.org.dash.platform.dapi.v0.GetIdentityResponse.serializeBinaryToWriter = function(message, writer) {
|
|
5494
5588
|
var f = undefined;
|
|
5495
5589
|
f = message.getV0();
|
|
5496
5590
|
if (f != null) {
|
|
5497
5591
|
writer.writeMessage(
|
|
5498
5592
|
1,
|
|
5499
5593
|
f,
|
|
5500
|
-
proto.org.dash.platform.dapi.v0.
|
|
5594
|
+
proto.org.dash.platform.dapi.v0.GetIdentityResponse.GetIdentityResponseV0.serializeBinaryToWriter
|
|
5501
5595
|
);
|
|
5502
5596
|
}
|
|
5503
5597
|
};
|
|
5504
5598
|
|
|
5505
5599
|
|
|
5506
5600
|
|
|
5601
|
+
/**
|
|
5602
|
+
* Oneof group definitions for this message. Each group defines the field
|
|
5603
|
+
* numbers belonging to that group. When of these fields' value is set, all
|
|
5604
|
+
* other fields in the group are cleared. During deserialization, if multiple
|
|
5605
|
+
* fields are encountered for a group, only the last value seen will be kept.
|
|
5606
|
+
* @private {!Array<!Array<number>>}
|
|
5607
|
+
* @const
|
|
5608
|
+
*/
|
|
5609
|
+
proto.org.dash.platform.dapi.v0.GetIdentityResponse.GetIdentityResponseV0.oneofGroups_ = [[1,2]];
|
|
5610
|
+
|
|
5611
|
+
/**
|
|
5612
|
+
* @enum {number}
|
|
5613
|
+
*/
|
|
5614
|
+
proto.org.dash.platform.dapi.v0.GetIdentityResponse.GetIdentityResponseV0.ResultCase = {
|
|
5615
|
+
RESULT_NOT_SET: 0,
|
|
5616
|
+
IDENTITY: 1,
|
|
5617
|
+
PROOF: 2
|
|
5618
|
+
};
|
|
5619
|
+
|
|
5620
|
+
/**
|
|
5621
|
+
* @return {proto.org.dash.platform.dapi.v0.GetIdentityResponse.GetIdentityResponseV0.ResultCase}
|
|
5622
|
+
*/
|
|
5623
|
+
proto.org.dash.platform.dapi.v0.GetIdentityResponse.GetIdentityResponseV0.prototype.getResultCase = function() {
|
|
5624
|
+
return /** @type {proto.org.dash.platform.dapi.v0.GetIdentityResponse.GetIdentityResponseV0.ResultCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetIdentityResponse.GetIdentityResponseV0.oneofGroups_[0]));
|
|
5625
|
+
};
|
|
5626
|
+
|
|
5507
5627
|
|
|
5508
5628
|
|
|
5509
5629
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -5519,8 +5639,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
5519
5639
|
* http://goto/soy-param-migration
|
|
5520
5640
|
* @return {!Object}
|
|
5521
5641
|
*/
|
|
5522
|
-
proto.org.dash.platform.dapi.v0.
|
|
5523
|
-
return proto.org.dash.platform.dapi.v0.
|
|
5642
|
+
proto.org.dash.platform.dapi.v0.GetIdentityResponse.GetIdentityResponseV0.prototype.toObject = function(opt_includeInstance) {
|
|
5643
|
+
return proto.org.dash.platform.dapi.v0.GetIdentityResponse.GetIdentityResponseV0.toObject(opt_includeInstance, this);
|
|
5524
5644
|
};
|
|
5525
5645
|
|
|
5526
5646
|
|
|
@@ -5529,13 +5649,15 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.IdentityValue.prototype.to
|
|
|
5529
5649
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
5530
5650
|
* the JSPB instance for transitional soy proto support:
|
|
5531
5651
|
* http://goto/soy-param-migration
|
|
5532
|
-
* @param {!proto.org.dash.platform.dapi.v0.
|
|
5652
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetIdentityResponse.GetIdentityResponseV0} msg The msg instance to transform.
|
|
5533
5653
|
* @return {!Object}
|
|
5534
5654
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5535
5655
|
*/
|
|
5536
|
-
proto.org.dash.platform.dapi.v0.
|
|
5656
|
+
proto.org.dash.platform.dapi.v0.GetIdentityResponse.GetIdentityResponseV0.toObject = function(includeInstance, msg) {
|
|
5537
5657
|
var f, obj = {
|
|
5538
|
-
|
|
5658
|
+
identity: msg.getIdentity_asB64(),
|
|
5659
|
+
proof: (f = msg.getProof()) && proto.org.dash.platform.dapi.v0.Proof.toObject(includeInstance, f),
|
|
5660
|
+
metadata: (f = msg.getMetadata()) && proto.org.dash.platform.dapi.v0.ResponseMetadata.toObject(includeInstance, f)
|
|
5539
5661
|
};
|
|
5540
5662
|
|
|
5541
5663
|
if (includeInstance) {
|
|
@@ -5549,23 +5671,23 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.IdentityValue.toObject = f
|
|
|
5549
5671
|
/**
|
|
5550
5672
|
* Deserializes binary data (in protobuf wire format).
|
|
5551
5673
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
5552
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
5674
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityResponse.GetIdentityResponseV0}
|
|
5553
5675
|
*/
|
|
5554
|
-
proto.org.dash.platform.dapi.v0.
|
|
5676
|
+
proto.org.dash.platform.dapi.v0.GetIdentityResponse.GetIdentityResponseV0.deserializeBinary = function(bytes) {
|
|
5555
5677
|
var reader = new jspb.BinaryReader(bytes);
|
|
5556
|
-
var msg = new proto.org.dash.platform.dapi.v0.
|
|
5557
|
-
return proto.org.dash.platform.dapi.v0.
|
|
5678
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetIdentityResponse.GetIdentityResponseV0;
|
|
5679
|
+
return proto.org.dash.platform.dapi.v0.GetIdentityResponse.GetIdentityResponseV0.deserializeBinaryFromReader(msg, reader);
|
|
5558
5680
|
};
|
|
5559
5681
|
|
|
5560
5682
|
|
|
5561
5683
|
/**
|
|
5562
5684
|
* Deserializes binary data (in protobuf wire format) from the
|
|
5563
5685
|
* given reader into the given message object.
|
|
5564
|
-
* @param {!proto.org.dash.platform.dapi.v0.
|
|
5686
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetIdentityResponse.GetIdentityResponseV0} msg The message object to deserialize into.
|
|
5565
5687
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
5566
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
5688
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityResponse.GetIdentityResponseV0}
|
|
5567
5689
|
*/
|
|
5568
|
-
proto.org.dash.platform.dapi.v0.
|
|
5690
|
+
proto.org.dash.platform.dapi.v0.GetIdentityResponse.GetIdentityResponseV0.deserializeBinaryFromReader = function(msg, reader) {
|
|
5569
5691
|
while (reader.nextField()) {
|
|
5570
5692
|
if (reader.isEndGroup()) {
|
|
5571
5693
|
break;
|
|
@@ -5574,7 +5696,17 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.IdentityValue.deserializeB
|
|
|
5574
5696
|
switch (field) {
|
|
5575
5697
|
case 1:
|
|
5576
5698
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
5577
|
-
msg.
|
|
5699
|
+
msg.setIdentity(value);
|
|
5700
|
+
break;
|
|
5701
|
+
case 2:
|
|
5702
|
+
var value = new proto.org.dash.platform.dapi.v0.Proof;
|
|
5703
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.Proof.deserializeBinaryFromReader);
|
|
5704
|
+
msg.setProof(value);
|
|
5705
|
+
break;
|
|
5706
|
+
case 3:
|
|
5707
|
+
var value = new proto.org.dash.platform.dapi.v0.ResponseMetadata;
|
|
5708
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.ResponseMetadata.deserializeBinaryFromReader);
|
|
5709
|
+
msg.setMetadata(value);
|
|
5578
5710
|
break;
|
|
5579
5711
|
default:
|
|
5580
5712
|
reader.skipField();
|
|
@@ -5589,9 +5721,9 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.IdentityValue.deserializeB
|
|
|
5589
5721
|
* Serializes the message to binary data (in protobuf wire format).
|
|
5590
5722
|
* @return {!Uint8Array}
|
|
5591
5723
|
*/
|
|
5592
|
-
proto.org.dash.platform.dapi.v0.
|
|
5724
|
+
proto.org.dash.platform.dapi.v0.GetIdentityResponse.GetIdentityResponseV0.prototype.serializeBinary = function() {
|
|
5593
5725
|
var writer = new jspb.BinaryWriter();
|
|
5594
|
-
proto.org.dash.platform.dapi.v0.
|
|
5726
|
+
proto.org.dash.platform.dapi.v0.GetIdentityResponse.GetIdentityResponseV0.serializeBinaryToWriter(this, writer);
|
|
5595
5727
|
return writer.getResultBuffer();
|
|
5596
5728
|
};
|
|
5597
5729
|
|
|
@@ -5599,128 +5731,1657 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.IdentityValue.prototype.se
|
|
|
5599
5731
|
/**
|
|
5600
5732
|
* Serializes the given message to binary data (in protobuf wire
|
|
5601
5733
|
* format), writing to the given BinaryWriter.
|
|
5602
|
-
* @param {!proto.org.dash.platform.dapi.v0.
|
|
5734
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetIdentityResponse.GetIdentityResponseV0} message
|
|
5603
5735
|
* @param {!jspb.BinaryWriter} writer
|
|
5604
5736
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5605
5737
|
*/
|
|
5606
|
-
proto.org.dash.platform.dapi.v0.
|
|
5738
|
+
proto.org.dash.platform.dapi.v0.GetIdentityResponse.GetIdentityResponseV0.serializeBinaryToWriter = function(message, writer) {
|
|
5607
5739
|
var f = undefined;
|
|
5608
|
-
f =
|
|
5609
|
-
if (f
|
|
5740
|
+
f = /** @type {!(string|Uint8Array)} */ (jspb.Message.getField(message, 1));
|
|
5741
|
+
if (f != null) {
|
|
5610
5742
|
writer.writeBytes(
|
|
5611
5743
|
1,
|
|
5612
5744
|
f
|
|
5613
5745
|
);
|
|
5614
5746
|
}
|
|
5747
|
+
f = message.getProof();
|
|
5748
|
+
if (f != null) {
|
|
5749
|
+
writer.writeMessage(
|
|
5750
|
+
2,
|
|
5751
|
+
f,
|
|
5752
|
+
proto.org.dash.platform.dapi.v0.Proof.serializeBinaryToWriter
|
|
5753
|
+
);
|
|
5754
|
+
}
|
|
5755
|
+
f = message.getMetadata();
|
|
5756
|
+
if (f != null) {
|
|
5757
|
+
writer.writeMessage(
|
|
5758
|
+
3,
|
|
5759
|
+
f,
|
|
5760
|
+
proto.org.dash.platform.dapi.v0.ResponseMetadata.serializeBinaryToWriter
|
|
5761
|
+
);
|
|
5762
|
+
}
|
|
5615
5763
|
};
|
|
5616
5764
|
|
|
5617
5765
|
|
|
5618
5766
|
/**
|
|
5619
|
-
* optional bytes
|
|
5767
|
+
* optional bytes identity = 1;
|
|
5620
5768
|
* @return {string}
|
|
5621
5769
|
*/
|
|
5622
|
-
proto.org.dash.platform.dapi.v0.
|
|
5770
|
+
proto.org.dash.platform.dapi.v0.GetIdentityResponse.GetIdentityResponseV0.prototype.getIdentity = function() {
|
|
5623
5771
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
5624
5772
|
};
|
|
5625
5773
|
|
|
5626
5774
|
|
|
5627
5775
|
/**
|
|
5628
|
-
* optional bytes
|
|
5629
|
-
* This is a type-conversion wrapper around `
|
|
5776
|
+
* optional bytes identity = 1;
|
|
5777
|
+
* This is a type-conversion wrapper around `getIdentity()`
|
|
5630
5778
|
* @return {string}
|
|
5631
5779
|
*/
|
|
5632
|
-
proto.org.dash.platform.dapi.v0.
|
|
5780
|
+
proto.org.dash.platform.dapi.v0.GetIdentityResponse.GetIdentityResponseV0.prototype.getIdentity_asB64 = function() {
|
|
5633
5781
|
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
5634
|
-
this.
|
|
5782
|
+
this.getIdentity()));
|
|
5635
5783
|
};
|
|
5636
5784
|
|
|
5637
5785
|
|
|
5638
5786
|
/**
|
|
5639
|
-
* optional bytes
|
|
5787
|
+
* optional bytes identity = 1;
|
|
5640
5788
|
* Note that Uint8Array is not supported on all browsers.
|
|
5641
5789
|
* @see http://caniuse.com/Uint8Array
|
|
5642
|
-
* This is a type-conversion wrapper around `
|
|
5790
|
+
* This is a type-conversion wrapper around `getIdentity()`
|
|
5643
5791
|
* @return {!Uint8Array}
|
|
5644
5792
|
*/
|
|
5645
|
-
proto.org.dash.platform.dapi.v0.
|
|
5793
|
+
proto.org.dash.platform.dapi.v0.GetIdentityResponse.GetIdentityResponseV0.prototype.getIdentity_asU8 = function() {
|
|
5646
5794
|
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
5647
|
-
this.
|
|
5795
|
+
this.getIdentity()));
|
|
5648
5796
|
};
|
|
5649
5797
|
|
|
5650
5798
|
|
|
5651
5799
|
/**
|
|
5652
5800
|
* @param {!(string|Uint8Array)} value
|
|
5653
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
5801
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityResponse.GetIdentityResponseV0} returns this
|
|
5654
5802
|
*/
|
|
5655
|
-
proto.org.dash.platform.dapi.v0.
|
|
5656
|
-
return jspb.Message.
|
|
5803
|
+
proto.org.dash.platform.dapi.v0.GetIdentityResponse.GetIdentityResponseV0.prototype.setIdentity = function(value) {
|
|
5804
|
+
return jspb.Message.setOneofField(this, 1, proto.org.dash.platform.dapi.v0.GetIdentityResponse.GetIdentityResponseV0.oneofGroups_[0], value);
|
|
5657
5805
|
};
|
|
5658
5806
|
|
|
5659
5807
|
|
|
5660
|
-
|
|
5661
|
-
|
|
5662
|
-
|
|
5663
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
5664
5808
|
/**
|
|
5665
|
-
*
|
|
5666
|
-
*
|
|
5667
|
-
* Optional fields that are not set will be set to undefined.
|
|
5668
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
5669
|
-
* For the list of reserved names please see:
|
|
5670
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
5671
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
5672
|
-
* JSPB instance for transitional soy proto support:
|
|
5673
|
-
* http://goto/soy-param-migration
|
|
5674
|
-
* @return {!Object}
|
|
5809
|
+
* Clears the field making it undefined.
|
|
5810
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityResponse.GetIdentityResponseV0} returns this
|
|
5675
5811
|
*/
|
|
5676
|
-
proto.org.dash.platform.dapi.v0.
|
|
5677
|
-
return proto.org.dash.platform.dapi.v0.
|
|
5812
|
+
proto.org.dash.platform.dapi.v0.GetIdentityResponse.GetIdentityResponseV0.prototype.clearIdentity = function() {
|
|
5813
|
+
return jspb.Message.setOneofField(this, 1, proto.org.dash.platform.dapi.v0.GetIdentityResponse.GetIdentityResponseV0.oneofGroups_[0], undefined);
|
|
5678
5814
|
};
|
|
5679
5815
|
|
|
5680
5816
|
|
|
5681
5817
|
/**
|
|
5682
|
-
*
|
|
5683
|
-
* @
|
|
5684
|
-
* the JSPB instance for transitional soy proto support:
|
|
5685
|
-
* http://goto/soy-param-migration
|
|
5686
|
-
* @param {!proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.IdentityEntry} msg The msg instance to transform.
|
|
5687
|
-
* @return {!Object}
|
|
5688
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5818
|
+
* Returns whether this field is set.
|
|
5819
|
+
* @return {boolean}
|
|
5689
5820
|
*/
|
|
5690
|
-
proto.org.dash.platform.dapi.v0.
|
|
5691
|
-
|
|
5692
|
-
key: msg.getKey_asB64(),
|
|
5693
|
-
value: (f = msg.getValue()) && proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.IdentityValue.toObject(includeInstance, f)
|
|
5694
|
-
};
|
|
5695
|
-
|
|
5696
|
-
if (includeInstance) {
|
|
5697
|
-
obj.$jspbMessageInstance = msg;
|
|
5698
|
-
}
|
|
5699
|
-
return obj;
|
|
5821
|
+
proto.org.dash.platform.dapi.v0.GetIdentityResponse.GetIdentityResponseV0.prototype.hasIdentity = function() {
|
|
5822
|
+
return jspb.Message.getField(this, 1) != null;
|
|
5700
5823
|
};
|
|
5701
|
-
}
|
|
5702
5824
|
|
|
5703
5825
|
|
|
5704
5826
|
/**
|
|
5705
|
-
*
|
|
5706
|
-
* @
|
|
5827
|
+
* optional Proof proof = 2;
|
|
5828
|
+
* @return {?proto.org.dash.platform.dapi.v0.Proof}
|
|
5829
|
+
*/
|
|
5830
|
+
proto.org.dash.platform.dapi.v0.GetIdentityResponse.GetIdentityResponseV0.prototype.getProof = function() {
|
|
5831
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.Proof} */ (
|
|
5832
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.Proof, 2));
|
|
5833
|
+
};
|
|
5834
|
+
|
|
5835
|
+
|
|
5836
|
+
/**
|
|
5837
|
+
* @param {?proto.org.dash.platform.dapi.v0.Proof|undefined} value
|
|
5838
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityResponse.GetIdentityResponseV0} returns this
|
|
5839
|
+
*/
|
|
5840
|
+
proto.org.dash.platform.dapi.v0.GetIdentityResponse.GetIdentityResponseV0.prototype.setProof = function(value) {
|
|
5841
|
+
return jspb.Message.setOneofWrapperField(this, 2, proto.org.dash.platform.dapi.v0.GetIdentityResponse.GetIdentityResponseV0.oneofGroups_[0], value);
|
|
5842
|
+
};
|
|
5843
|
+
|
|
5844
|
+
|
|
5845
|
+
/**
|
|
5846
|
+
* Clears the message field making it undefined.
|
|
5847
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityResponse.GetIdentityResponseV0} returns this
|
|
5848
|
+
*/
|
|
5849
|
+
proto.org.dash.platform.dapi.v0.GetIdentityResponse.GetIdentityResponseV0.prototype.clearProof = function() {
|
|
5850
|
+
return this.setProof(undefined);
|
|
5851
|
+
};
|
|
5852
|
+
|
|
5853
|
+
|
|
5854
|
+
/**
|
|
5855
|
+
* Returns whether this field is set.
|
|
5856
|
+
* @return {boolean}
|
|
5857
|
+
*/
|
|
5858
|
+
proto.org.dash.platform.dapi.v0.GetIdentityResponse.GetIdentityResponseV0.prototype.hasProof = function() {
|
|
5859
|
+
return jspb.Message.getField(this, 2) != null;
|
|
5860
|
+
};
|
|
5861
|
+
|
|
5862
|
+
|
|
5863
|
+
/**
|
|
5864
|
+
* optional ResponseMetadata metadata = 3;
|
|
5865
|
+
* @return {?proto.org.dash.platform.dapi.v0.ResponseMetadata}
|
|
5866
|
+
*/
|
|
5867
|
+
proto.org.dash.platform.dapi.v0.GetIdentityResponse.GetIdentityResponseV0.prototype.getMetadata = function() {
|
|
5868
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.ResponseMetadata} */ (
|
|
5869
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.ResponseMetadata, 3));
|
|
5870
|
+
};
|
|
5871
|
+
|
|
5872
|
+
|
|
5873
|
+
/**
|
|
5874
|
+
* @param {?proto.org.dash.platform.dapi.v0.ResponseMetadata|undefined} value
|
|
5875
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityResponse.GetIdentityResponseV0} returns this
|
|
5876
|
+
*/
|
|
5877
|
+
proto.org.dash.platform.dapi.v0.GetIdentityResponse.GetIdentityResponseV0.prototype.setMetadata = function(value) {
|
|
5878
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
5879
|
+
};
|
|
5880
|
+
|
|
5881
|
+
|
|
5882
|
+
/**
|
|
5883
|
+
* Clears the message field making it undefined.
|
|
5884
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityResponse.GetIdentityResponseV0} returns this
|
|
5885
|
+
*/
|
|
5886
|
+
proto.org.dash.platform.dapi.v0.GetIdentityResponse.GetIdentityResponseV0.prototype.clearMetadata = function() {
|
|
5887
|
+
return this.setMetadata(undefined);
|
|
5888
|
+
};
|
|
5889
|
+
|
|
5890
|
+
|
|
5891
|
+
/**
|
|
5892
|
+
* Returns whether this field is set.
|
|
5893
|
+
* @return {boolean}
|
|
5894
|
+
*/
|
|
5895
|
+
proto.org.dash.platform.dapi.v0.GetIdentityResponse.GetIdentityResponseV0.prototype.hasMetadata = function() {
|
|
5896
|
+
return jspb.Message.getField(this, 3) != null;
|
|
5897
|
+
};
|
|
5898
|
+
|
|
5899
|
+
|
|
5900
|
+
/**
|
|
5901
|
+
* optional GetIdentityResponseV0 v0 = 1;
|
|
5902
|
+
* @return {?proto.org.dash.platform.dapi.v0.GetIdentityResponse.GetIdentityResponseV0}
|
|
5903
|
+
*/
|
|
5904
|
+
proto.org.dash.platform.dapi.v0.GetIdentityResponse.prototype.getV0 = function() {
|
|
5905
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.GetIdentityResponse.GetIdentityResponseV0} */ (
|
|
5906
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetIdentityResponse.GetIdentityResponseV0, 1));
|
|
5907
|
+
};
|
|
5908
|
+
|
|
5909
|
+
|
|
5910
|
+
/**
|
|
5911
|
+
* @param {?proto.org.dash.platform.dapi.v0.GetIdentityResponse.GetIdentityResponseV0|undefined} value
|
|
5912
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityResponse} returns this
|
|
5913
|
+
*/
|
|
5914
|
+
proto.org.dash.platform.dapi.v0.GetIdentityResponse.prototype.setV0 = function(value) {
|
|
5915
|
+
return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetIdentityResponse.oneofGroups_[0], value);
|
|
5916
|
+
};
|
|
5917
|
+
|
|
5918
|
+
|
|
5919
|
+
/**
|
|
5920
|
+
* Clears the message field making it undefined.
|
|
5921
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityResponse} returns this
|
|
5922
|
+
*/
|
|
5923
|
+
proto.org.dash.platform.dapi.v0.GetIdentityResponse.prototype.clearV0 = function() {
|
|
5924
|
+
return this.setV0(undefined);
|
|
5925
|
+
};
|
|
5926
|
+
|
|
5927
|
+
|
|
5928
|
+
/**
|
|
5929
|
+
* Returns whether this field is set.
|
|
5930
|
+
* @return {boolean}
|
|
5931
|
+
*/
|
|
5932
|
+
proto.org.dash.platform.dapi.v0.GetIdentityResponse.prototype.hasV0 = function() {
|
|
5933
|
+
return jspb.Message.getField(this, 1) != null;
|
|
5934
|
+
};
|
|
5935
|
+
|
|
5936
|
+
|
|
5937
|
+
|
|
5938
|
+
/**
|
|
5939
|
+
* Oneof group definitions for this message. Each group defines the field
|
|
5940
|
+
* numbers belonging to that group. When of these fields' value is set, all
|
|
5941
|
+
* other fields in the group are cleared. During deserialization, if multiple
|
|
5942
|
+
* fields are encountered for a group, only the last value seen will be kept.
|
|
5943
|
+
* @private {!Array<!Array<number>>}
|
|
5944
|
+
* @const
|
|
5945
|
+
*/
|
|
5946
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesRequest.oneofGroups_ = [[1]];
|
|
5947
|
+
|
|
5948
|
+
/**
|
|
5949
|
+
* @enum {number}
|
|
5950
|
+
*/
|
|
5951
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesRequest.VersionCase = {
|
|
5952
|
+
VERSION_NOT_SET: 0,
|
|
5953
|
+
V0: 1
|
|
5954
|
+
};
|
|
5955
|
+
|
|
5956
|
+
/**
|
|
5957
|
+
* @return {proto.org.dash.platform.dapi.v0.GetIdentitiesRequest.VersionCase}
|
|
5958
|
+
*/
|
|
5959
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesRequest.prototype.getVersionCase = function() {
|
|
5960
|
+
return /** @type {proto.org.dash.platform.dapi.v0.GetIdentitiesRequest.VersionCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetIdentitiesRequest.oneofGroups_[0]));
|
|
5961
|
+
};
|
|
5962
|
+
|
|
5963
|
+
|
|
5964
|
+
|
|
5965
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
5966
|
+
/**
|
|
5967
|
+
* Creates an object representation of this proto.
|
|
5968
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
5969
|
+
* Optional fields that are not set will be set to undefined.
|
|
5970
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
5971
|
+
* For the list of reserved names please see:
|
|
5972
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
5973
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
5974
|
+
* JSPB instance for transitional soy proto support:
|
|
5975
|
+
* http://goto/soy-param-migration
|
|
5976
|
+
* @return {!Object}
|
|
5977
|
+
*/
|
|
5978
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesRequest.prototype.toObject = function(opt_includeInstance) {
|
|
5979
|
+
return proto.org.dash.platform.dapi.v0.GetIdentitiesRequest.toObject(opt_includeInstance, this);
|
|
5980
|
+
};
|
|
5981
|
+
|
|
5982
|
+
|
|
5983
|
+
/**
|
|
5984
|
+
* Static version of the {@see toObject} method.
|
|
5985
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
5986
|
+
* the JSPB instance for transitional soy proto support:
|
|
5987
|
+
* http://goto/soy-param-migration
|
|
5988
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetIdentitiesRequest} msg The msg instance to transform.
|
|
5989
|
+
* @return {!Object}
|
|
5990
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5991
|
+
*/
|
|
5992
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesRequest.toObject = function(includeInstance, msg) {
|
|
5993
|
+
var f, obj = {
|
|
5994
|
+
v0: (f = msg.getV0()) && proto.org.dash.platform.dapi.v0.GetIdentitiesRequest.GetIdentitiesRequestV0.toObject(includeInstance, f)
|
|
5995
|
+
};
|
|
5996
|
+
|
|
5997
|
+
if (includeInstance) {
|
|
5998
|
+
obj.$jspbMessageInstance = msg;
|
|
5999
|
+
}
|
|
6000
|
+
return obj;
|
|
6001
|
+
};
|
|
6002
|
+
}
|
|
6003
|
+
|
|
6004
|
+
|
|
6005
|
+
/**
|
|
6006
|
+
* Deserializes binary data (in protobuf wire format).
|
|
6007
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
6008
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesRequest}
|
|
6009
|
+
*/
|
|
6010
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesRequest.deserializeBinary = function(bytes) {
|
|
6011
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
6012
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetIdentitiesRequest;
|
|
6013
|
+
return proto.org.dash.platform.dapi.v0.GetIdentitiesRequest.deserializeBinaryFromReader(msg, reader);
|
|
6014
|
+
};
|
|
6015
|
+
|
|
6016
|
+
|
|
6017
|
+
/**
|
|
6018
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
6019
|
+
* given reader into the given message object.
|
|
6020
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetIdentitiesRequest} msg The message object to deserialize into.
|
|
6021
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
6022
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesRequest}
|
|
6023
|
+
*/
|
|
6024
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
6025
|
+
while (reader.nextField()) {
|
|
6026
|
+
if (reader.isEndGroup()) {
|
|
6027
|
+
break;
|
|
6028
|
+
}
|
|
6029
|
+
var field = reader.getFieldNumber();
|
|
6030
|
+
switch (field) {
|
|
6031
|
+
case 1:
|
|
6032
|
+
var value = new proto.org.dash.platform.dapi.v0.GetIdentitiesRequest.GetIdentitiesRequestV0;
|
|
6033
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetIdentitiesRequest.GetIdentitiesRequestV0.deserializeBinaryFromReader);
|
|
6034
|
+
msg.setV0(value);
|
|
6035
|
+
break;
|
|
6036
|
+
default:
|
|
6037
|
+
reader.skipField();
|
|
6038
|
+
break;
|
|
6039
|
+
}
|
|
6040
|
+
}
|
|
6041
|
+
return msg;
|
|
6042
|
+
};
|
|
6043
|
+
|
|
6044
|
+
|
|
6045
|
+
/**
|
|
6046
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
6047
|
+
* @return {!Uint8Array}
|
|
6048
|
+
*/
|
|
6049
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesRequest.prototype.serializeBinary = function() {
|
|
6050
|
+
var writer = new jspb.BinaryWriter();
|
|
6051
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesRequest.serializeBinaryToWriter(this, writer);
|
|
6052
|
+
return writer.getResultBuffer();
|
|
6053
|
+
};
|
|
6054
|
+
|
|
6055
|
+
|
|
6056
|
+
/**
|
|
6057
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
6058
|
+
* format), writing to the given BinaryWriter.
|
|
6059
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetIdentitiesRequest} message
|
|
6060
|
+
* @param {!jspb.BinaryWriter} writer
|
|
6061
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6062
|
+
*/
|
|
6063
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesRequest.serializeBinaryToWriter = function(message, writer) {
|
|
6064
|
+
var f = undefined;
|
|
6065
|
+
f = message.getV0();
|
|
6066
|
+
if (f != null) {
|
|
6067
|
+
writer.writeMessage(
|
|
6068
|
+
1,
|
|
6069
|
+
f,
|
|
6070
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesRequest.GetIdentitiesRequestV0.serializeBinaryToWriter
|
|
6071
|
+
);
|
|
6072
|
+
}
|
|
6073
|
+
};
|
|
6074
|
+
|
|
6075
|
+
|
|
6076
|
+
|
|
6077
|
+
/**
|
|
6078
|
+
* List of repeated fields within this message type.
|
|
6079
|
+
* @private {!Array<number>}
|
|
6080
|
+
* @const
|
|
6081
|
+
*/
|
|
6082
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesRequest.GetIdentitiesRequestV0.repeatedFields_ = [1];
|
|
6083
|
+
|
|
6084
|
+
|
|
6085
|
+
|
|
6086
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6087
|
+
/**
|
|
6088
|
+
* Creates an object representation of this proto.
|
|
6089
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
6090
|
+
* Optional fields that are not set will be set to undefined.
|
|
6091
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
6092
|
+
* For the list of reserved names please see:
|
|
6093
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
6094
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
6095
|
+
* JSPB instance for transitional soy proto support:
|
|
6096
|
+
* http://goto/soy-param-migration
|
|
6097
|
+
* @return {!Object}
|
|
6098
|
+
*/
|
|
6099
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesRequest.GetIdentitiesRequestV0.prototype.toObject = function(opt_includeInstance) {
|
|
6100
|
+
return proto.org.dash.platform.dapi.v0.GetIdentitiesRequest.GetIdentitiesRequestV0.toObject(opt_includeInstance, this);
|
|
6101
|
+
};
|
|
6102
|
+
|
|
6103
|
+
|
|
6104
|
+
/**
|
|
6105
|
+
* Static version of the {@see toObject} method.
|
|
6106
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
6107
|
+
* the JSPB instance for transitional soy proto support:
|
|
6108
|
+
* http://goto/soy-param-migration
|
|
6109
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetIdentitiesRequest.GetIdentitiesRequestV0} msg The msg instance to transform.
|
|
6110
|
+
* @return {!Object}
|
|
6111
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6112
|
+
*/
|
|
6113
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesRequest.GetIdentitiesRequestV0.toObject = function(includeInstance, msg) {
|
|
6114
|
+
var f, obj = {
|
|
6115
|
+
idsList: msg.getIdsList_asB64(),
|
|
6116
|
+
prove: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
|
|
6117
|
+
};
|
|
6118
|
+
|
|
6119
|
+
if (includeInstance) {
|
|
6120
|
+
obj.$jspbMessageInstance = msg;
|
|
6121
|
+
}
|
|
6122
|
+
return obj;
|
|
6123
|
+
};
|
|
6124
|
+
}
|
|
6125
|
+
|
|
6126
|
+
|
|
6127
|
+
/**
|
|
6128
|
+
* Deserializes binary data (in protobuf wire format).
|
|
6129
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
6130
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesRequest.GetIdentitiesRequestV0}
|
|
6131
|
+
*/
|
|
6132
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesRequest.GetIdentitiesRequestV0.deserializeBinary = function(bytes) {
|
|
6133
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
6134
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetIdentitiesRequest.GetIdentitiesRequestV0;
|
|
6135
|
+
return proto.org.dash.platform.dapi.v0.GetIdentitiesRequest.GetIdentitiesRequestV0.deserializeBinaryFromReader(msg, reader);
|
|
6136
|
+
};
|
|
6137
|
+
|
|
6138
|
+
|
|
6139
|
+
/**
|
|
6140
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
6141
|
+
* given reader into the given message object.
|
|
6142
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetIdentitiesRequest.GetIdentitiesRequestV0} msg The message object to deserialize into.
|
|
6143
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
6144
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesRequest.GetIdentitiesRequestV0}
|
|
6145
|
+
*/
|
|
6146
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesRequest.GetIdentitiesRequestV0.deserializeBinaryFromReader = function(msg, reader) {
|
|
6147
|
+
while (reader.nextField()) {
|
|
6148
|
+
if (reader.isEndGroup()) {
|
|
6149
|
+
break;
|
|
6150
|
+
}
|
|
6151
|
+
var field = reader.getFieldNumber();
|
|
6152
|
+
switch (field) {
|
|
6153
|
+
case 1:
|
|
6154
|
+
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
6155
|
+
msg.addIds(value);
|
|
6156
|
+
break;
|
|
6157
|
+
case 2:
|
|
6158
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
6159
|
+
msg.setProve(value);
|
|
6160
|
+
break;
|
|
6161
|
+
default:
|
|
6162
|
+
reader.skipField();
|
|
6163
|
+
break;
|
|
6164
|
+
}
|
|
6165
|
+
}
|
|
6166
|
+
return msg;
|
|
6167
|
+
};
|
|
6168
|
+
|
|
6169
|
+
|
|
6170
|
+
/**
|
|
6171
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
6172
|
+
* @return {!Uint8Array}
|
|
6173
|
+
*/
|
|
6174
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesRequest.GetIdentitiesRequestV0.prototype.serializeBinary = function() {
|
|
6175
|
+
var writer = new jspb.BinaryWriter();
|
|
6176
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesRequest.GetIdentitiesRequestV0.serializeBinaryToWriter(this, writer);
|
|
6177
|
+
return writer.getResultBuffer();
|
|
6178
|
+
};
|
|
6179
|
+
|
|
6180
|
+
|
|
6181
|
+
/**
|
|
6182
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
6183
|
+
* format), writing to the given BinaryWriter.
|
|
6184
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetIdentitiesRequest.GetIdentitiesRequestV0} message
|
|
6185
|
+
* @param {!jspb.BinaryWriter} writer
|
|
6186
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6187
|
+
*/
|
|
6188
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesRequest.GetIdentitiesRequestV0.serializeBinaryToWriter = function(message, writer) {
|
|
6189
|
+
var f = undefined;
|
|
6190
|
+
f = message.getIdsList_asU8();
|
|
6191
|
+
if (f.length > 0) {
|
|
6192
|
+
writer.writeRepeatedBytes(
|
|
6193
|
+
1,
|
|
6194
|
+
f
|
|
6195
|
+
);
|
|
6196
|
+
}
|
|
6197
|
+
f = message.getProve();
|
|
6198
|
+
if (f) {
|
|
6199
|
+
writer.writeBool(
|
|
6200
|
+
2,
|
|
6201
|
+
f
|
|
6202
|
+
);
|
|
6203
|
+
}
|
|
6204
|
+
};
|
|
6205
|
+
|
|
6206
|
+
|
|
6207
|
+
/**
|
|
6208
|
+
* repeated bytes ids = 1;
|
|
6209
|
+
* @return {!Array<string>}
|
|
6210
|
+
*/
|
|
6211
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesRequest.GetIdentitiesRequestV0.prototype.getIdsList = function() {
|
|
6212
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
6213
|
+
};
|
|
6214
|
+
|
|
6215
|
+
|
|
6216
|
+
/**
|
|
6217
|
+
* repeated bytes ids = 1;
|
|
6218
|
+
* This is a type-conversion wrapper around `getIdsList()`
|
|
6219
|
+
* @return {!Array<string>}
|
|
6220
|
+
*/
|
|
6221
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesRequest.GetIdentitiesRequestV0.prototype.getIdsList_asB64 = function() {
|
|
6222
|
+
return /** @type {!Array<string>} */ (jspb.Message.bytesListAsB64(
|
|
6223
|
+
this.getIdsList()));
|
|
6224
|
+
};
|
|
6225
|
+
|
|
6226
|
+
|
|
6227
|
+
/**
|
|
6228
|
+
* repeated bytes ids = 1;
|
|
6229
|
+
* Note that Uint8Array is not supported on all browsers.
|
|
6230
|
+
* @see http://caniuse.com/Uint8Array
|
|
6231
|
+
* This is a type-conversion wrapper around `getIdsList()`
|
|
6232
|
+
* @return {!Array<!Uint8Array>}
|
|
6233
|
+
*/
|
|
6234
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesRequest.GetIdentitiesRequestV0.prototype.getIdsList_asU8 = function() {
|
|
6235
|
+
return /** @type {!Array<!Uint8Array>} */ (jspb.Message.bytesListAsU8(
|
|
6236
|
+
this.getIdsList()));
|
|
6237
|
+
};
|
|
6238
|
+
|
|
6239
|
+
|
|
6240
|
+
/**
|
|
6241
|
+
* @param {!(Array<!Uint8Array>|Array<string>)} value
|
|
6242
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesRequest.GetIdentitiesRequestV0} returns this
|
|
6243
|
+
*/
|
|
6244
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesRequest.GetIdentitiesRequestV0.prototype.setIdsList = function(value) {
|
|
6245
|
+
return jspb.Message.setField(this, 1, value || []);
|
|
6246
|
+
};
|
|
6247
|
+
|
|
6248
|
+
|
|
6249
|
+
/**
|
|
6250
|
+
* @param {!(string|Uint8Array)} value
|
|
6251
|
+
* @param {number=} opt_index
|
|
6252
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesRequest.GetIdentitiesRequestV0} returns this
|
|
6253
|
+
*/
|
|
6254
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesRequest.GetIdentitiesRequestV0.prototype.addIds = function(value, opt_index) {
|
|
6255
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
6256
|
+
};
|
|
6257
|
+
|
|
6258
|
+
|
|
6259
|
+
/**
|
|
6260
|
+
* Clears the list making it empty but non-null.
|
|
6261
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesRequest.GetIdentitiesRequestV0} returns this
|
|
6262
|
+
*/
|
|
6263
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesRequest.GetIdentitiesRequestV0.prototype.clearIdsList = function() {
|
|
6264
|
+
return this.setIdsList([]);
|
|
6265
|
+
};
|
|
6266
|
+
|
|
6267
|
+
|
|
6268
|
+
/**
|
|
6269
|
+
* optional bool prove = 2;
|
|
6270
|
+
* @return {boolean}
|
|
6271
|
+
*/
|
|
6272
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesRequest.GetIdentitiesRequestV0.prototype.getProve = function() {
|
|
6273
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
|
|
6274
|
+
};
|
|
6275
|
+
|
|
6276
|
+
|
|
6277
|
+
/**
|
|
6278
|
+
* @param {boolean} value
|
|
6279
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesRequest.GetIdentitiesRequestV0} returns this
|
|
6280
|
+
*/
|
|
6281
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesRequest.GetIdentitiesRequestV0.prototype.setProve = function(value) {
|
|
6282
|
+
return jspb.Message.setProto3BooleanField(this, 2, value);
|
|
6283
|
+
};
|
|
6284
|
+
|
|
6285
|
+
|
|
6286
|
+
/**
|
|
6287
|
+
* optional GetIdentitiesRequestV0 v0 = 1;
|
|
6288
|
+
* @return {?proto.org.dash.platform.dapi.v0.GetIdentitiesRequest.GetIdentitiesRequestV0}
|
|
6289
|
+
*/
|
|
6290
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesRequest.prototype.getV0 = function() {
|
|
6291
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.GetIdentitiesRequest.GetIdentitiesRequestV0} */ (
|
|
6292
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetIdentitiesRequest.GetIdentitiesRequestV0, 1));
|
|
6293
|
+
};
|
|
6294
|
+
|
|
6295
|
+
|
|
6296
|
+
/**
|
|
6297
|
+
* @param {?proto.org.dash.platform.dapi.v0.GetIdentitiesRequest.GetIdentitiesRequestV0|undefined} value
|
|
6298
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesRequest} returns this
|
|
6299
|
+
*/
|
|
6300
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesRequest.prototype.setV0 = function(value) {
|
|
6301
|
+
return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetIdentitiesRequest.oneofGroups_[0], value);
|
|
6302
|
+
};
|
|
6303
|
+
|
|
6304
|
+
|
|
6305
|
+
/**
|
|
6306
|
+
* Clears the message field making it undefined.
|
|
6307
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesRequest} returns this
|
|
6308
|
+
*/
|
|
6309
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesRequest.prototype.clearV0 = function() {
|
|
6310
|
+
return this.setV0(undefined);
|
|
6311
|
+
};
|
|
6312
|
+
|
|
6313
|
+
|
|
6314
|
+
/**
|
|
6315
|
+
* Returns whether this field is set.
|
|
6316
|
+
* @return {boolean}
|
|
6317
|
+
*/
|
|
6318
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesRequest.prototype.hasV0 = function() {
|
|
6319
|
+
return jspb.Message.getField(this, 1) != null;
|
|
6320
|
+
};
|
|
6321
|
+
|
|
6322
|
+
|
|
6323
|
+
|
|
6324
|
+
/**
|
|
6325
|
+
* Oneof group definitions for this message. Each group defines the field
|
|
6326
|
+
* numbers belonging to that group. When of these fields' value is set, all
|
|
6327
|
+
* other fields in the group are cleared. During deserialization, if multiple
|
|
6328
|
+
* fields are encountered for a group, only the last value seen will be kept.
|
|
6329
|
+
* @private {!Array<!Array<number>>}
|
|
6330
|
+
* @const
|
|
6331
|
+
*/
|
|
6332
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.oneofGroups_ = [[1]];
|
|
6333
|
+
|
|
6334
|
+
/**
|
|
6335
|
+
* @enum {number}
|
|
6336
|
+
*/
|
|
6337
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.VersionCase = {
|
|
6338
|
+
VERSION_NOT_SET: 0,
|
|
6339
|
+
V0: 1
|
|
6340
|
+
};
|
|
6341
|
+
|
|
6342
|
+
/**
|
|
6343
|
+
* @return {proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.VersionCase}
|
|
6344
|
+
*/
|
|
6345
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.prototype.getVersionCase = function() {
|
|
6346
|
+
return /** @type {proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.VersionCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.oneofGroups_[0]));
|
|
6347
|
+
};
|
|
6348
|
+
|
|
6349
|
+
|
|
6350
|
+
|
|
6351
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6352
|
+
/**
|
|
6353
|
+
* Creates an object representation of this proto.
|
|
6354
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
6355
|
+
* Optional fields that are not set will be set to undefined.
|
|
6356
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
6357
|
+
* For the list of reserved names please see:
|
|
6358
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
6359
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
6360
|
+
* JSPB instance for transitional soy proto support:
|
|
6361
|
+
* http://goto/soy-param-migration
|
|
6362
|
+
* @return {!Object}
|
|
6363
|
+
*/
|
|
6364
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.prototype.toObject = function(opt_includeInstance) {
|
|
6365
|
+
return proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.toObject(opt_includeInstance, this);
|
|
6366
|
+
};
|
|
6367
|
+
|
|
6368
|
+
|
|
6369
|
+
/**
|
|
6370
|
+
* Static version of the {@see toObject} method.
|
|
6371
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
6372
|
+
* the JSPB instance for transitional soy proto support:
|
|
6373
|
+
* http://goto/soy-param-migration
|
|
6374
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetIdentitiesResponse} msg The msg instance to transform.
|
|
6375
|
+
* @return {!Object}
|
|
6376
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6377
|
+
*/
|
|
6378
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.toObject = function(includeInstance, msg) {
|
|
6379
|
+
var f, obj = {
|
|
6380
|
+
v0: (f = msg.getV0()) && proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.GetIdentitiesResponseV0.toObject(includeInstance, f)
|
|
6381
|
+
};
|
|
6382
|
+
|
|
6383
|
+
if (includeInstance) {
|
|
6384
|
+
obj.$jspbMessageInstance = msg;
|
|
6385
|
+
}
|
|
6386
|
+
return obj;
|
|
6387
|
+
};
|
|
6388
|
+
}
|
|
6389
|
+
|
|
6390
|
+
|
|
6391
|
+
/**
|
|
6392
|
+
* Deserializes binary data (in protobuf wire format).
|
|
6393
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
6394
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesResponse}
|
|
6395
|
+
*/
|
|
6396
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.deserializeBinary = function(bytes) {
|
|
6397
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
6398
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetIdentitiesResponse;
|
|
6399
|
+
return proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.deserializeBinaryFromReader(msg, reader);
|
|
6400
|
+
};
|
|
6401
|
+
|
|
6402
|
+
|
|
6403
|
+
/**
|
|
6404
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
6405
|
+
* given reader into the given message object.
|
|
6406
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetIdentitiesResponse} msg The message object to deserialize into.
|
|
6407
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
6408
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesResponse}
|
|
6409
|
+
*/
|
|
6410
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
6411
|
+
while (reader.nextField()) {
|
|
6412
|
+
if (reader.isEndGroup()) {
|
|
6413
|
+
break;
|
|
6414
|
+
}
|
|
6415
|
+
var field = reader.getFieldNumber();
|
|
6416
|
+
switch (field) {
|
|
6417
|
+
case 1:
|
|
6418
|
+
var value = new proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.GetIdentitiesResponseV0;
|
|
6419
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.GetIdentitiesResponseV0.deserializeBinaryFromReader);
|
|
6420
|
+
msg.setV0(value);
|
|
6421
|
+
break;
|
|
6422
|
+
default:
|
|
6423
|
+
reader.skipField();
|
|
6424
|
+
break;
|
|
6425
|
+
}
|
|
6426
|
+
}
|
|
6427
|
+
return msg;
|
|
6428
|
+
};
|
|
6429
|
+
|
|
6430
|
+
|
|
6431
|
+
/**
|
|
6432
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
6433
|
+
* @return {!Uint8Array}
|
|
6434
|
+
*/
|
|
6435
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.prototype.serializeBinary = function() {
|
|
6436
|
+
var writer = new jspb.BinaryWriter();
|
|
6437
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.serializeBinaryToWriter(this, writer);
|
|
6438
|
+
return writer.getResultBuffer();
|
|
6439
|
+
};
|
|
6440
|
+
|
|
6441
|
+
|
|
6442
|
+
/**
|
|
6443
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
6444
|
+
* format), writing to the given BinaryWriter.
|
|
6445
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetIdentitiesResponse} message
|
|
6446
|
+
* @param {!jspb.BinaryWriter} writer
|
|
6447
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6448
|
+
*/
|
|
6449
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.serializeBinaryToWriter = function(message, writer) {
|
|
6450
|
+
var f = undefined;
|
|
6451
|
+
f = message.getV0();
|
|
6452
|
+
if (f != null) {
|
|
6453
|
+
writer.writeMessage(
|
|
6454
|
+
1,
|
|
6455
|
+
f,
|
|
6456
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.GetIdentitiesResponseV0.serializeBinaryToWriter
|
|
6457
|
+
);
|
|
6458
|
+
}
|
|
6459
|
+
};
|
|
6460
|
+
|
|
6461
|
+
|
|
6462
|
+
|
|
6463
|
+
|
|
6464
|
+
|
|
6465
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6466
|
+
/**
|
|
6467
|
+
* Creates an object representation of this proto.
|
|
6468
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
6469
|
+
* Optional fields that are not set will be set to undefined.
|
|
6470
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
6471
|
+
* For the list of reserved names please see:
|
|
6472
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
6473
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
6474
|
+
* JSPB instance for transitional soy proto support:
|
|
6475
|
+
* http://goto/soy-param-migration
|
|
6476
|
+
* @return {!Object}
|
|
6477
|
+
*/
|
|
6478
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.IdentityValue.prototype.toObject = function(opt_includeInstance) {
|
|
6479
|
+
return proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.IdentityValue.toObject(opt_includeInstance, this);
|
|
6480
|
+
};
|
|
6481
|
+
|
|
6482
|
+
|
|
6483
|
+
/**
|
|
6484
|
+
* Static version of the {@see toObject} method.
|
|
6485
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
6486
|
+
* the JSPB instance for transitional soy proto support:
|
|
6487
|
+
* http://goto/soy-param-migration
|
|
6488
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.IdentityValue} msg The msg instance to transform.
|
|
6489
|
+
* @return {!Object}
|
|
6490
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6491
|
+
*/
|
|
6492
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.IdentityValue.toObject = function(includeInstance, msg) {
|
|
6493
|
+
var f, obj = {
|
|
6494
|
+
value: msg.getValue_asB64()
|
|
6495
|
+
};
|
|
6496
|
+
|
|
6497
|
+
if (includeInstance) {
|
|
6498
|
+
obj.$jspbMessageInstance = msg;
|
|
6499
|
+
}
|
|
6500
|
+
return obj;
|
|
6501
|
+
};
|
|
6502
|
+
}
|
|
6503
|
+
|
|
6504
|
+
|
|
6505
|
+
/**
|
|
6506
|
+
* Deserializes binary data (in protobuf wire format).
|
|
6507
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
6508
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.IdentityValue}
|
|
6509
|
+
*/
|
|
6510
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.IdentityValue.deserializeBinary = function(bytes) {
|
|
6511
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
6512
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.IdentityValue;
|
|
6513
|
+
return proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.IdentityValue.deserializeBinaryFromReader(msg, reader);
|
|
6514
|
+
};
|
|
6515
|
+
|
|
6516
|
+
|
|
6517
|
+
/**
|
|
6518
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
6519
|
+
* given reader into the given message object.
|
|
6520
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.IdentityValue} msg The message object to deserialize into.
|
|
6521
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
6522
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.IdentityValue}
|
|
6523
|
+
*/
|
|
6524
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.IdentityValue.deserializeBinaryFromReader = function(msg, reader) {
|
|
6525
|
+
while (reader.nextField()) {
|
|
6526
|
+
if (reader.isEndGroup()) {
|
|
6527
|
+
break;
|
|
6528
|
+
}
|
|
6529
|
+
var field = reader.getFieldNumber();
|
|
6530
|
+
switch (field) {
|
|
6531
|
+
case 1:
|
|
6532
|
+
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
6533
|
+
msg.setValue(value);
|
|
6534
|
+
break;
|
|
6535
|
+
default:
|
|
6536
|
+
reader.skipField();
|
|
6537
|
+
break;
|
|
6538
|
+
}
|
|
6539
|
+
}
|
|
6540
|
+
return msg;
|
|
6541
|
+
};
|
|
6542
|
+
|
|
6543
|
+
|
|
6544
|
+
/**
|
|
6545
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
6546
|
+
* @return {!Uint8Array}
|
|
6547
|
+
*/
|
|
6548
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.IdentityValue.prototype.serializeBinary = function() {
|
|
6549
|
+
var writer = new jspb.BinaryWriter();
|
|
6550
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.IdentityValue.serializeBinaryToWriter(this, writer);
|
|
6551
|
+
return writer.getResultBuffer();
|
|
6552
|
+
};
|
|
6553
|
+
|
|
6554
|
+
|
|
6555
|
+
/**
|
|
6556
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
6557
|
+
* format), writing to the given BinaryWriter.
|
|
6558
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.IdentityValue} message
|
|
6559
|
+
* @param {!jspb.BinaryWriter} writer
|
|
6560
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6561
|
+
*/
|
|
6562
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.IdentityValue.serializeBinaryToWriter = function(message, writer) {
|
|
6563
|
+
var f = undefined;
|
|
6564
|
+
f = message.getValue_asU8();
|
|
6565
|
+
if (f.length > 0) {
|
|
6566
|
+
writer.writeBytes(
|
|
6567
|
+
1,
|
|
6568
|
+
f
|
|
6569
|
+
);
|
|
6570
|
+
}
|
|
6571
|
+
};
|
|
6572
|
+
|
|
6573
|
+
|
|
6574
|
+
/**
|
|
6575
|
+
* optional bytes value = 1;
|
|
6576
|
+
* @return {string}
|
|
6577
|
+
*/
|
|
6578
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.IdentityValue.prototype.getValue = function() {
|
|
6579
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
6580
|
+
};
|
|
6581
|
+
|
|
6582
|
+
|
|
6583
|
+
/**
|
|
6584
|
+
* optional bytes value = 1;
|
|
6585
|
+
* This is a type-conversion wrapper around `getValue()`
|
|
6586
|
+
* @return {string}
|
|
6587
|
+
*/
|
|
6588
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.IdentityValue.prototype.getValue_asB64 = function() {
|
|
6589
|
+
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
6590
|
+
this.getValue()));
|
|
6591
|
+
};
|
|
6592
|
+
|
|
6593
|
+
|
|
6594
|
+
/**
|
|
6595
|
+
* optional bytes value = 1;
|
|
6596
|
+
* Note that Uint8Array is not supported on all browsers.
|
|
6597
|
+
* @see http://caniuse.com/Uint8Array
|
|
6598
|
+
* This is a type-conversion wrapper around `getValue()`
|
|
6599
|
+
* @return {!Uint8Array}
|
|
6600
|
+
*/
|
|
6601
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.IdentityValue.prototype.getValue_asU8 = function() {
|
|
6602
|
+
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
6603
|
+
this.getValue()));
|
|
6604
|
+
};
|
|
6605
|
+
|
|
6606
|
+
|
|
6607
|
+
/**
|
|
6608
|
+
* @param {!(string|Uint8Array)} value
|
|
6609
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.IdentityValue} returns this
|
|
6610
|
+
*/
|
|
6611
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.IdentityValue.prototype.setValue = function(value) {
|
|
6612
|
+
return jspb.Message.setProto3BytesField(this, 1, value);
|
|
6613
|
+
};
|
|
6614
|
+
|
|
6615
|
+
|
|
6616
|
+
|
|
6617
|
+
|
|
6618
|
+
|
|
6619
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6620
|
+
/**
|
|
6621
|
+
* Creates an object representation of this proto.
|
|
6622
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
6623
|
+
* Optional fields that are not set will be set to undefined.
|
|
6624
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
6625
|
+
* For the list of reserved names please see:
|
|
6626
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
6627
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
6628
|
+
* JSPB instance for transitional soy proto support:
|
|
6629
|
+
* http://goto/soy-param-migration
|
|
6630
|
+
* @return {!Object}
|
|
6631
|
+
*/
|
|
6632
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.IdentityEntry.prototype.toObject = function(opt_includeInstance) {
|
|
6633
|
+
return proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.IdentityEntry.toObject(opt_includeInstance, this);
|
|
6634
|
+
};
|
|
6635
|
+
|
|
6636
|
+
|
|
6637
|
+
/**
|
|
6638
|
+
* Static version of the {@see toObject} method.
|
|
6639
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
6640
|
+
* the JSPB instance for transitional soy proto support:
|
|
6641
|
+
* http://goto/soy-param-migration
|
|
6642
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.IdentityEntry} msg The msg instance to transform.
|
|
6643
|
+
* @return {!Object}
|
|
6644
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6645
|
+
*/
|
|
6646
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.IdentityEntry.toObject = function(includeInstance, msg) {
|
|
6647
|
+
var f, obj = {
|
|
6648
|
+
key: msg.getKey_asB64(),
|
|
6649
|
+
value: (f = msg.getValue()) && proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.IdentityValue.toObject(includeInstance, f)
|
|
6650
|
+
};
|
|
6651
|
+
|
|
6652
|
+
if (includeInstance) {
|
|
6653
|
+
obj.$jspbMessageInstance = msg;
|
|
6654
|
+
}
|
|
6655
|
+
return obj;
|
|
6656
|
+
};
|
|
6657
|
+
}
|
|
6658
|
+
|
|
6659
|
+
|
|
6660
|
+
/**
|
|
6661
|
+
* Deserializes binary data (in protobuf wire format).
|
|
6662
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
6663
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.IdentityEntry}
|
|
6664
|
+
*/
|
|
6665
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.IdentityEntry.deserializeBinary = function(bytes) {
|
|
6666
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
6667
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.IdentityEntry;
|
|
6668
|
+
return proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.IdentityEntry.deserializeBinaryFromReader(msg, reader);
|
|
6669
|
+
};
|
|
6670
|
+
|
|
6671
|
+
|
|
6672
|
+
/**
|
|
6673
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
6674
|
+
* given reader into the given message object.
|
|
6675
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.IdentityEntry} msg The message object to deserialize into.
|
|
6676
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
6677
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.IdentityEntry}
|
|
6678
|
+
*/
|
|
6679
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.IdentityEntry.deserializeBinaryFromReader = function(msg, reader) {
|
|
6680
|
+
while (reader.nextField()) {
|
|
6681
|
+
if (reader.isEndGroup()) {
|
|
6682
|
+
break;
|
|
6683
|
+
}
|
|
6684
|
+
var field = reader.getFieldNumber();
|
|
6685
|
+
switch (field) {
|
|
6686
|
+
case 1:
|
|
6687
|
+
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
6688
|
+
msg.setKey(value);
|
|
6689
|
+
break;
|
|
6690
|
+
case 2:
|
|
6691
|
+
var value = new proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.IdentityValue;
|
|
6692
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.IdentityValue.deserializeBinaryFromReader);
|
|
6693
|
+
msg.setValue(value);
|
|
6694
|
+
break;
|
|
6695
|
+
default:
|
|
6696
|
+
reader.skipField();
|
|
6697
|
+
break;
|
|
6698
|
+
}
|
|
6699
|
+
}
|
|
6700
|
+
return msg;
|
|
6701
|
+
};
|
|
6702
|
+
|
|
6703
|
+
|
|
6704
|
+
/**
|
|
6705
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
6706
|
+
* @return {!Uint8Array}
|
|
6707
|
+
*/
|
|
6708
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.IdentityEntry.prototype.serializeBinary = function() {
|
|
6709
|
+
var writer = new jspb.BinaryWriter();
|
|
6710
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.IdentityEntry.serializeBinaryToWriter(this, writer);
|
|
6711
|
+
return writer.getResultBuffer();
|
|
6712
|
+
};
|
|
6713
|
+
|
|
6714
|
+
|
|
6715
|
+
/**
|
|
6716
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
6717
|
+
* format), writing to the given BinaryWriter.
|
|
6718
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.IdentityEntry} message
|
|
6719
|
+
* @param {!jspb.BinaryWriter} writer
|
|
6720
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6721
|
+
*/
|
|
6722
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.IdentityEntry.serializeBinaryToWriter = function(message, writer) {
|
|
6723
|
+
var f = undefined;
|
|
6724
|
+
f = message.getKey_asU8();
|
|
6725
|
+
if (f.length > 0) {
|
|
6726
|
+
writer.writeBytes(
|
|
6727
|
+
1,
|
|
6728
|
+
f
|
|
6729
|
+
);
|
|
6730
|
+
}
|
|
6731
|
+
f = message.getValue();
|
|
6732
|
+
if (f != null) {
|
|
6733
|
+
writer.writeMessage(
|
|
6734
|
+
2,
|
|
6735
|
+
f,
|
|
6736
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.IdentityValue.serializeBinaryToWriter
|
|
6737
|
+
);
|
|
6738
|
+
}
|
|
6739
|
+
};
|
|
6740
|
+
|
|
6741
|
+
|
|
6742
|
+
/**
|
|
6743
|
+
* optional bytes key = 1;
|
|
6744
|
+
* @return {string}
|
|
6745
|
+
*/
|
|
6746
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.IdentityEntry.prototype.getKey = function() {
|
|
6747
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
6748
|
+
};
|
|
6749
|
+
|
|
6750
|
+
|
|
6751
|
+
/**
|
|
6752
|
+
* optional bytes key = 1;
|
|
6753
|
+
* This is a type-conversion wrapper around `getKey()`
|
|
6754
|
+
* @return {string}
|
|
6755
|
+
*/
|
|
6756
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.IdentityEntry.prototype.getKey_asB64 = function() {
|
|
6757
|
+
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
6758
|
+
this.getKey()));
|
|
6759
|
+
};
|
|
6760
|
+
|
|
6761
|
+
|
|
6762
|
+
/**
|
|
6763
|
+
* optional bytes key = 1;
|
|
6764
|
+
* Note that Uint8Array is not supported on all browsers.
|
|
6765
|
+
* @see http://caniuse.com/Uint8Array
|
|
6766
|
+
* This is a type-conversion wrapper around `getKey()`
|
|
6767
|
+
* @return {!Uint8Array}
|
|
6768
|
+
*/
|
|
6769
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.IdentityEntry.prototype.getKey_asU8 = function() {
|
|
6770
|
+
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
6771
|
+
this.getKey()));
|
|
6772
|
+
};
|
|
6773
|
+
|
|
6774
|
+
|
|
6775
|
+
/**
|
|
6776
|
+
* @param {!(string|Uint8Array)} value
|
|
6777
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.IdentityEntry} returns this
|
|
6778
|
+
*/
|
|
6779
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.IdentityEntry.prototype.setKey = function(value) {
|
|
6780
|
+
return jspb.Message.setProto3BytesField(this, 1, value);
|
|
6781
|
+
};
|
|
6782
|
+
|
|
6783
|
+
|
|
6784
|
+
/**
|
|
6785
|
+
* optional IdentityValue value = 2;
|
|
6786
|
+
* @return {?proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.IdentityValue}
|
|
6787
|
+
*/
|
|
6788
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.IdentityEntry.prototype.getValue = function() {
|
|
6789
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.IdentityValue} */ (
|
|
6790
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.IdentityValue, 2));
|
|
6791
|
+
};
|
|
6792
|
+
|
|
6793
|
+
|
|
6794
|
+
/**
|
|
6795
|
+
* @param {?proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.IdentityValue|undefined} value
|
|
6796
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.IdentityEntry} returns this
|
|
6797
|
+
*/
|
|
6798
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.IdentityEntry.prototype.setValue = function(value) {
|
|
6799
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
6800
|
+
};
|
|
6801
|
+
|
|
6802
|
+
|
|
6803
|
+
/**
|
|
6804
|
+
* Clears the message field making it undefined.
|
|
6805
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.IdentityEntry} returns this
|
|
6806
|
+
*/
|
|
6807
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.IdentityEntry.prototype.clearValue = function() {
|
|
6808
|
+
return this.setValue(undefined);
|
|
6809
|
+
};
|
|
6810
|
+
|
|
6811
|
+
|
|
6812
|
+
/**
|
|
6813
|
+
* Returns whether this field is set.
|
|
6814
|
+
* @return {boolean}
|
|
6815
|
+
*/
|
|
6816
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.IdentityEntry.prototype.hasValue = function() {
|
|
6817
|
+
return jspb.Message.getField(this, 2) != null;
|
|
6818
|
+
};
|
|
6819
|
+
|
|
6820
|
+
|
|
6821
|
+
|
|
6822
|
+
/**
|
|
6823
|
+
* List of repeated fields within this message type.
|
|
6824
|
+
* @private {!Array<number>}
|
|
6825
|
+
* @const
|
|
6826
|
+
*/
|
|
6827
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.Identities.repeatedFields_ = [1];
|
|
6828
|
+
|
|
6829
|
+
|
|
6830
|
+
|
|
6831
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6832
|
+
/**
|
|
6833
|
+
* Creates an object representation of this proto.
|
|
6834
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
6835
|
+
* Optional fields that are not set will be set to undefined.
|
|
6836
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
6837
|
+
* For the list of reserved names please see:
|
|
6838
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
6839
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
6840
|
+
* JSPB instance for transitional soy proto support:
|
|
6841
|
+
* http://goto/soy-param-migration
|
|
6842
|
+
* @return {!Object}
|
|
6843
|
+
*/
|
|
6844
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.Identities.prototype.toObject = function(opt_includeInstance) {
|
|
6845
|
+
return proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.Identities.toObject(opt_includeInstance, this);
|
|
6846
|
+
};
|
|
6847
|
+
|
|
6848
|
+
|
|
6849
|
+
/**
|
|
6850
|
+
* Static version of the {@see toObject} method.
|
|
6851
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
6852
|
+
* the JSPB instance for transitional soy proto support:
|
|
6853
|
+
* http://goto/soy-param-migration
|
|
6854
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.Identities} msg The msg instance to transform.
|
|
6855
|
+
* @return {!Object}
|
|
6856
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6857
|
+
*/
|
|
6858
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.Identities.toObject = function(includeInstance, msg) {
|
|
6859
|
+
var f, obj = {
|
|
6860
|
+
identityEntriesList: jspb.Message.toObjectList(msg.getIdentityEntriesList(),
|
|
6861
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.IdentityEntry.toObject, includeInstance)
|
|
6862
|
+
};
|
|
6863
|
+
|
|
6864
|
+
if (includeInstance) {
|
|
6865
|
+
obj.$jspbMessageInstance = msg;
|
|
6866
|
+
}
|
|
6867
|
+
return obj;
|
|
6868
|
+
};
|
|
6869
|
+
}
|
|
6870
|
+
|
|
6871
|
+
|
|
6872
|
+
/**
|
|
6873
|
+
* Deserializes binary data (in protobuf wire format).
|
|
6874
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
6875
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.Identities}
|
|
6876
|
+
*/
|
|
6877
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.Identities.deserializeBinary = function(bytes) {
|
|
6878
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
6879
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.Identities;
|
|
6880
|
+
return proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.Identities.deserializeBinaryFromReader(msg, reader);
|
|
6881
|
+
};
|
|
6882
|
+
|
|
6883
|
+
|
|
6884
|
+
/**
|
|
6885
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
6886
|
+
* given reader into the given message object.
|
|
6887
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.Identities} msg The message object to deserialize into.
|
|
6888
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
6889
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.Identities}
|
|
6890
|
+
*/
|
|
6891
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.Identities.deserializeBinaryFromReader = function(msg, reader) {
|
|
6892
|
+
while (reader.nextField()) {
|
|
6893
|
+
if (reader.isEndGroup()) {
|
|
6894
|
+
break;
|
|
6895
|
+
}
|
|
6896
|
+
var field = reader.getFieldNumber();
|
|
6897
|
+
switch (field) {
|
|
6898
|
+
case 1:
|
|
6899
|
+
var value = new proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.IdentityEntry;
|
|
6900
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.IdentityEntry.deserializeBinaryFromReader);
|
|
6901
|
+
msg.addIdentityEntries(value);
|
|
6902
|
+
break;
|
|
6903
|
+
default:
|
|
6904
|
+
reader.skipField();
|
|
6905
|
+
break;
|
|
6906
|
+
}
|
|
6907
|
+
}
|
|
6908
|
+
return msg;
|
|
6909
|
+
};
|
|
6910
|
+
|
|
6911
|
+
|
|
6912
|
+
/**
|
|
6913
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
6914
|
+
* @return {!Uint8Array}
|
|
6915
|
+
*/
|
|
6916
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.Identities.prototype.serializeBinary = function() {
|
|
6917
|
+
var writer = new jspb.BinaryWriter();
|
|
6918
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.Identities.serializeBinaryToWriter(this, writer);
|
|
6919
|
+
return writer.getResultBuffer();
|
|
6920
|
+
};
|
|
6921
|
+
|
|
6922
|
+
|
|
6923
|
+
/**
|
|
6924
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
6925
|
+
* format), writing to the given BinaryWriter.
|
|
6926
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.Identities} message
|
|
6927
|
+
* @param {!jspb.BinaryWriter} writer
|
|
6928
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6929
|
+
*/
|
|
6930
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.Identities.serializeBinaryToWriter = function(message, writer) {
|
|
6931
|
+
var f = undefined;
|
|
6932
|
+
f = message.getIdentityEntriesList();
|
|
6933
|
+
if (f.length > 0) {
|
|
6934
|
+
writer.writeRepeatedMessage(
|
|
6935
|
+
1,
|
|
6936
|
+
f,
|
|
6937
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.IdentityEntry.serializeBinaryToWriter
|
|
6938
|
+
);
|
|
6939
|
+
}
|
|
6940
|
+
};
|
|
6941
|
+
|
|
6942
|
+
|
|
6943
|
+
/**
|
|
6944
|
+
* repeated IdentityEntry identity_entries = 1;
|
|
6945
|
+
* @return {!Array<!proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.IdentityEntry>}
|
|
6946
|
+
*/
|
|
6947
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.Identities.prototype.getIdentityEntriesList = function() {
|
|
6948
|
+
return /** @type{!Array<!proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.IdentityEntry>} */ (
|
|
6949
|
+
jspb.Message.getRepeatedWrapperField(this, proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.IdentityEntry, 1));
|
|
6950
|
+
};
|
|
6951
|
+
|
|
6952
|
+
|
|
6953
|
+
/**
|
|
6954
|
+
* @param {!Array<!proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.IdentityEntry>} value
|
|
6955
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.Identities} returns this
|
|
6956
|
+
*/
|
|
6957
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.Identities.prototype.setIdentityEntriesList = function(value) {
|
|
6958
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
6959
|
+
};
|
|
6960
|
+
|
|
6961
|
+
|
|
6962
|
+
/**
|
|
6963
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.IdentityEntry=} opt_value
|
|
6964
|
+
* @param {number=} opt_index
|
|
5707
6965
|
* @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.IdentityEntry}
|
|
5708
6966
|
*/
|
|
5709
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.
|
|
6967
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.Identities.prototype.addIdentityEntries = function(opt_value, opt_index) {
|
|
6968
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.IdentityEntry, opt_index);
|
|
6969
|
+
};
|
|
6970
|
+
|
|
6971
|
+
|
|
6972
|
+
/**
|
|
6973
|
+
* Clears the list making it empty but non-null.
|
|
6974
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.Identities} returns this
|
|
6975
|
+
*/
|
|
6976
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.Identities.prototype.clearIdentityEntriesList = function() {
|
|
6977
|
+
return this.setIdentityEntriesList([]);
|
|
6978
|
+
};
|
|
6979
|
+
|
|
6980
|
+
|
|
6981
|
+
|
|
6982
|
+
/**
|
|
6983
|
+
* Oneof group definitions for this message. Each group defines the field
|
|
6984
|
+
* numbers belonging to that group. When of these fields' value is set, all
|
|
6985
|
+
* other fields in the group are cleared. During deserialization, if multiple
|
|
6986
|
+
* fields are encountered for a group, only the last value seen will be kept.
|
|
6987
|
+
* @private {!Array<!Array<number>>}
|
|
6988
|
+
* @const
|
|
6989
|
+
*/
|
|
6990
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.GetIdentitiesResponseV0.oneofGroups_ = [[1,2]];
|
|
6991
|
+
|
|
6992
|
+
/**
|
|
6993
|
+
* @enum {number}
|
|
6994
|
+
*/
|
|
6995
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.GetIdentitiesResponseV0.ResultCase = {
|
|
6996
|
+
RESULT_NOT_SET: 0,
|
|
6997
|
+
IDENTITIES: 1,
|
|
6998
|
+
PROOF: 2
|
|
6999
|
+
};
|
|
7000
|
+
|
|
7001
|
+
/**
|
|
7002
|
+
* @return {proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.GetIdentitiesResponseV0.ResultCase}
|
|
7003
|
+
*/
|
|
7004
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.GetIdentitiesResponseV0.prototype.getResultCase = function() {
|
|
7005
|
+
return /** @type {proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.GetIdentitiesResponseV0.ResultCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.GetIdentitiesResponseV0.oneofGroups_[0]));
|
|
7006
|
+
};
|
|
7007
|
+
|
|
7008
|
+
|
|
7009
|
+
|
|
7010
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
7011
|
+
/**
|
|
7012
|
+
* Creates an object representation of this proto.
|
|
7013
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
7014
|
+
* Optional fields that are not set will be set to undefined.
|
|
7015
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
7016
|
+
* For the list of reserved names please see:
|
|
7017
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
7018
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
7019
|
+
* JSPB instance for transitional soy proto support:
|
|
7020
|
+
* http://goto/soy-param-migration
|
|
7021
|
+
* @return {!Object}
|
|
7022
|
+
*/
|
|
7023
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.GetIdentitiesResponseV0.prototype.toObject = function(opt_includeInstance) {
|
|
7024
|
+
return proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.GetIdentitiesResponseV0.toObject(opt_includeInstance, this);
|
|
7025
|
+
};
|
|
7026
|
+
|
|
7027
|
+
|
|
7028
|
+
/**
|
|
7029
|
+
* Static version of the {@see toObject} method.
|
|
7030
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
7031
|
+
* the JSPB instance for transitional soy proto support:
|
|
7032
|
+
* http://goto/soy-param-migration
|
|
7033
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.GetIdentitiesResponseV0} msg The msg instance to transform.
|
|
7034
|
+
* @return {!Object}
|
|
7035
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7036
|
+
*/
|
|
7037
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.GetIdentitiesResponseV0.toObject = function(includeInstance, msg) {
|
|
7038
|
+
var f, obj = {
|
|
7039
|
+
identities: (f = msg.getIdentities()) && proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.Identities.toObject(includeInstance, f),
|
|
7040
|
+
proof: (f = msg.getProof()) && proto.org.dash.platform.dapi.v0.Proof.toObject(includeInstance, f),
|
|
7041
|
+
metadata: (f = msg.getMetadata()) && proto.org.dash.platform.dapi.v0.ResponseMetadata.toObject(includeInstance, f)
|
|
7042
|
+
};
|
|
7043
|
+
|
|
7044
|
+
if (includeInstance) {
|
|
7045
|
+
obj.$jspbMessageInstance = msg;
|
|
7046
|
+
}
|
|
7047
|
+
return obj;
|
|
7048
|
+
};
|
|
7049
|
+
}
|
|
7050
|
+
|
|
7051
|
+
|
|
7052
|
+
/**
|
|
7053
|
+
* Deserializes binary data (in protobuf wire format).
|
|
7054
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
7055
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.GetIdentitiesResponseV0}
|
|
7056
|
+
*/
|
|
7057
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.GetIdentitiesResponseV0.deserializeBinary = function(bytes) {
|
|
7058
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
7059
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.GetIdentitiesResponseV0;
|
|
7060
|
+
return proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.GetIdentitiesResponseV0.deserializeBinaryFromReader(msg, reader);
|
|
7061
|
+
};
|
|
7062
|
+
|
|
7063
|
+
|
|
7064
|
+
/**
|
|
7065
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
7066
|
+
* given reader into the given message object.
|
|
7067
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.GetIdentitiesResponseV0} msg The message object to deserialize into.
|
|
7068
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
7069
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.GetIdentitiesResponseV0}
|
|
7070
|
+
*/
|
|
7071
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.GetIdentitiesResponseV0.deserializeBinaryFromReader = function(msg, reader) {
|
|
7072
|
+
while (reader.nextField()) {
|
|
7073
|
+
if (reader.isEndGroup()) {
|
|
7074
|
+
break;
|
|
7075
|
+
}
|
|
7076
|
+
var field = reader.getFieldNumber();
|
|
7077
|
+
switch (field) {
|
|
7078
|
+
case 1:
|
|
7079
|
+
var value = new proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.Identities;
|
|
7080
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.Identities.deserializeBinaryFromReader);
|
|
7081
|
+
msg.setIdentities(value);
|
|
7082
|
+
break;
|
|
7083
|
+
case 2:
|
|
7084
|
+
var value = new proto.org.dash.platform.dapi.v0.Proof;
|
|
7085
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.Proof.deserializeBinaryFromReader);
|
|
7086
|
+
msg.setProof(value);
|
|
7087
|
+
break;
|
|
7088
|
+
case 3:
|
|
7089
|
+
var value = new proto.org.dash.platform.dapi.v0.ResponseMetadata;
|
|
7090
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.ResponseMetadata.deserializeBinaryFromReader);
|
|
7091
|
+
msg.setMetadata(value);
|
|
7092
|
+
break;
|
|
7093
|
+
default:
|
|
7094
|
+
reader.skipField();
|
|
7095
|
+
break;
|
|
7096
|
+
}
|
|
7097
|
+
}
|
|
7098
|
+
return msg;
|
|
7099
|
+
};
|
|
7100
|
+
|
|
7101
|
+
|
|
7102
|
+
/**
|
|
7103
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
7104
|
+
* @return {!Uint8Array}
|
|
7105
|
+
*/
|
|
7106
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.GetIdentitiesResponseV0.prototype.serializeBinary = function() {
|
|
7107
|
+
var writer = new jspb.BinaryWriter();
|
|
7108
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.GetIdentitiesResponseV0.serializeBinaryToWriter(this, writer);
|
|
7109
|
+
return writer.getResultBuffer();
|
|
7110
|
+
};
|
|
7111
|
+
|
|
7112
|
+
|
|
7113
|
+
/**
|
|
7114
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
7115
|
+
* format), writing to the given BinaryWriter.
|
|
7116
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.GetIdentitiesResponseV0} message
|
|
7117
|
+
* @param {!jspb.BinaryWriter} writer
|
|
7118
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7119
|
+
*/
|
|
7120
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.GetIdentitiesResponseV0.serializeBinaryToWriter = function(message, writer) {
|
|
7121
|
+
var f = undefined;
|
|
7122
|
+
f = message.getIdentities();
|
|
7123
|
+
if (f != null) {
|
|
7124
|
+
writer.writeMessage(
|
|
7125
|
+
1,
|
|
7126
|
+
f,
|
|
7127
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.Identities.serializeBinaryToWriter
|
|
7128
|
+
);
|
|
7129
|
+
}
|
|
7130
|
+
f = message.getProof();
|
|
7131
|
+
if (f != null) {
|
|
7132
|
+
writer.writeMessage(
|
|
7133
|
+
2,
|
|
7134
|
+
f,
|
|
7135
|
+
proto.org.dash.platform.dapi.v0.Proof.serializeBinaryToWriter
|
|
7136
|
+
);
|
|
7137
|
+
}
|
|
7138
|
+
f = message.getMetadata();
|
|
7139
|
+
if (f != null) {
|
|
7140
|
+
writer.writeMessage(
|
|
7141
|
+
3,
|
|
7142
|
+
f,
|
|
7143
|
+
proto.org.dash.platform.dapi.v0.ResponseMetadata.serializeBinaryToWriter
|
|
7144
|
+
);
|
|
7145
|
+
}
|
|
7146
|
+
};
|
|
7147
|
+
|
|
7148
|
+
|
|
7149
|
+
/**
|
|
7150
|
+
* optional Identities identities = 1;
|
|
7151
|
+
* @return {?proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.Identities}
|
|
7152
|
+
*/
|
|
7153
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.GetIdentitiesResponseV0.prototype.getIdentities = function() {
|
|
7154
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.Identities} */ (
|
|
7155
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.Identities, 1));
|
|
7156
|
+
};
|
|
7157
|
+
|
|
7158
|
+
|
|
7159
|
+
/**
|
|
7160
|
+
* @param {?proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.Identities|undefined} value
|
|
7161
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.GetIdentitiesResponseV0} returns this
|
|
7162
|
+
*/
|
|
7163
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.GetIdentitiesResponseV0.prototype.setIdentities = function(value) {
|
|
7164
|
+
return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.GetIdentitiesResponseV0.oneofGroups_[0], value);
|
|
7165
|
+
};
|
|
7166
|
+
|
|
7167
|
+
|
|
7168
|
+
/**
|
|
7169
|
+
* Clears the message field making it undefined.
|
|
7170
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.GetIdentitiesResponseV0} returns this
|
|
7171
|
+
*/
|
|
7172
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.GetIdentitiesResponseV0.prototype.clearIdentities = function() {
|
|
7173
|
+
return this.setIdentities(undefined);
|
|
7174
|
+
};
|
|
7175
|
+
|
|
7176
|
+
|
|
7177
|
+
/**
|
|
7178
|
+
* Returns whether this field is set.
|
|
7179
|
+
* @return {boolean}
|
|
7180
|
+
*/
|
|
7181
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.GetIdentitiesResponseV0.prototype.hasIdentities = function() {
|
|
7182
|
+
return jspb.Message.getField(this, 1) != null;
|
|
7183
|
+
};
|
|
7184
|
+
|
|
7185
|
+
|
|
7186
|
+
/**
|
|
7187
|
+
* optional Proof proof = 2;
|
|
7188
|
+
* @return {?proto.org.dash.platform.dapi.v0.Proof}
|
|
7189
|
+
*/
|
|
7190
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.GetIdentitiesResponseV0.prototype.getProof = function() {
|
|
7191
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.Proof} */ (
|
|
7192
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.Proof, 2));
|
|
7193
|
+
};
|
|
7194
|
+
|
|
7195
|
+
|
|
7196
|
+
/**
|
|
7197
|
+
* @param {?proto.org.dash.platform.dapi.v0.Proof|undefined} value
|
|
7198
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.GetIdentitiesResponseV0} returns this
|
|
7199
|
+
*/
|
|
7200
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.GetIdentitiesResponseV0.prototype.setProof = function(value) {
|
|
7201
|
+
return jspb.Message.setOneofWrapperField(this, 2, proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.GetIdentitiesResponseV0.oneofGroups_[0], value);
|
|
7202
|
+
};
|
|
7203
|
+
|
|
7204
|
+
|
|
7205
|
+
/**
|
|
7206
|
+
* Clears the message field making it undefined.
|
|
7207
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.GetIdentitiesResponseV0} returns this
|
|
7208
|
+
*/
|
|
7209
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.GetIdentitiesResponseV0.prototype.clearProof = function() {
|
|
7210
|
+
return this.setProof(undefined);
|
|
7211
|
+
};
|
|
7212
|
+
|
|
7213
|
+
|
|
7214
|
+
/**
|
|
7215
|
+
* Returns whether this field is set.
|
|
7216
|
+
* @return {boolean}
|
|
7217
|
+
*/
|
|
7218
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.GetIdentitiesResponseV0.prototype.hasProof = function() {
|
|
7219
|
+
return jspb.Message.getField(this, 2) != null;
|
|
7220
|
+
};
|
|
7221
|
+
|
|
7222
|
+
|
|
7223
|
+
/**
|
|
7224
|
+
* optional ResponseMetadata metadata = 3;
|
|
7225
|
+
* @return {?proto.org.dash.platform.dapi.v0.ResponseMetadata}
|
|
7226
|
+
*/
|
|
7227
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.GetIdentitiesResponseV0.prototype.getMetadata = function() {
|
|
7228
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.ResponseMetadata} */ (
|
|
7229
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.ResponseMetadata, 3));
|
|
7230
|
+
};
|
|
7231
|
+
|
|
7232
|
+
|
|
7233
|
+
/**
|
|
7234
|
+
* @param {?proto.org.dash.platform.dapi.v0.ResponseMetadata|undefined} value
|
|
7235
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.GetIdentitiesResponseV0} returns this
|
|
7236
|
+
*/
|
|
7237
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.GetIdentitiesResponseV0.prototype.setMetadata = function(value) {
|
|
7238
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
7239
|
+
};
|
|
7240
|
+
|
|
7241
|
+
|
|
7242
|
+
/**
|
|
7243
|
+
* Clears the message field making it undefined.
|
|
7244
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.GetIdentitiesResponseV0} returns this
|
|
7245
|
+
*/
|
|
7246
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.GetIdentitiesResponseV0.prototype.clearMetadata = function() {
|
|
7247
|
+
return this.setMetadata(undefined);
|
|
7248
|
+
};
|
|
7249
|
+
|
|
7250
|
+
|
|
7251
|
+
/**
|
|
7252
|
+
* Returns whether this field is set.
|
|
7253
|
+
* @return {boolean}
|
|
7254
|
+
*/
|
|
7255
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.GetIdentitiesResponseV0.prototype.hasMetadata = function() {
|
|
7256
|
+
return jspb.Message.getField(this, 3) != null;
|
|
7257
|
+
};
|
|
7258
|
+
|
|
7259
|
+
|
|
7260
|
+
/**
|
|
7261
|
+
* optional GetIdentitiesResponseV0 v0 = 1;
|
|
7262
|
+
* @return {?proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.GetIdentitiesResponseV0}
|
|
7263
|
+
*/
|
|
7264
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.prototype.getV0 = function() {
|
|
7265
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.GetIdentitiesResponseV0} */ (
|
|
7266
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.GetIdentitiesResponseV0, 1));
|
|
7267
|
+
};
|
|
7268
|
+
|
|
7269
|
+
|
|
7270
|
+
/**
|
|
7271
|
+
* @param {?proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.GetIdentitiesResponseV0|undefined} value
|
|
7272
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesResponse} returns this
|
|
7273
|
+
*/
|
|
7274
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.prototype.setV0 = function(value) {
|
|
7275
|
+
return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.oneofGroups_[0], value);
|
|
7276
|
+
};
|
|
7277
|
+
|
|
7278
|
+
|
|
7279
|
+
/**
|
|
7280
|
+
* Clears the message field making it undefined.
|
|
7281
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesResponse} returns this
|
|
7282
|
+
*/
|
|
7283
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.prototype.clearV0 = function() {
|
|
7284
|
+
return this.setV0(undefined);
|
|
7285
|
+
};
|
|
7286
|
+
|
|
7287
|
+
|
|
7288
|
+
/**
|
|
7289
|
+
* Returns whether this field is set.
|
|
7290
|
+
* @return {boolean}
|
|
7291
|
+
*/
|
|
7292
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.prototype.hasV0 = function() {
|
|
7293
|
+
return jspb.Message.getField(this, 1) != null;
|
|
7294
|
+
};
|
|
7295
|
+
|
|
7296
|
+
|
|
7297
|
+
|
|
7298
|
+
/**
|
|
7299
|
+
* Oneof group definitions for this message. Each group defines the field
|
|
7300
|
+
* numbers belonging to that group. When of these fields' value is set, all
|
|
7301
|
+
* other fields in the group are cleared. During deserialization, if multiple
|
|
7302
|
+
* fields are encountered for a group, only the last value seen will be kept.
|
|
7303
|
+
* @private {!Array<!Array<number>>}
|
|
7304
|
+
* @const
|
|
7305
|
+
*/
|
|
7306
|
+
proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse.oneofGroups_ = [[1]];
|
|
7307
|
+
|
|
7308
|
+
/**
|
|
7309
|
+
* @enum {number}
|
|
7310
|
+
*/
|
|
7311
|
+
proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse.VersionCase = {
|
|
7312
|
+
VERSION_NOT_SET: 0,
|
|
7313
|
+
V0: 1
|
|
7314
|
+
};
|
|
7315
|
+
|
|
7316
|
+
/**
|
|
7317
|
+
* @return {proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse.VersionCase}
|
|
7318
|
+
*/
|
|
7319
|
+
proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse.prototype.getVersionCase = function() {
|
|
7320
|
+
return /** @type {proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse.VersionCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse.oneofGroups_[0]));
|
|
7321
|
+
};
|
|
7322
|
+
|
|
7323
|
+
|
|
7324
|
+
|
|
7325
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
7326
|
+
/**
|
|
7327
|
+
* Creates an object representation of this proto.
|
|
7328
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
7329
|
+
* Optional fields that are not set will be set to undefined.
|
|
7330
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
7331
|
+
* For the list of reserved names please see:
|
|
7332
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
7333
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
7334
|
+
* JSPB instance for transitional soy proto support:
|
|
7335
|
+
* http://goto/soy-param-migration
|
|
7336
|
+
* @return {!Object}
|
|
7337
|
+
*/
|
|
7338
|
+
proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse.prototype.toObject = function(opt_includeInstance) {
|
|
7339
|
+
return proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse.toObject(opt_includeInstance, this);
|
|
7340
|
+
};
|
|
7341
|
+
|
|
7342
|
+
|
|
7343
|
+
/**
|
|
7344
|
+
* Static version of the {@see toObject} method.
|
|
7345
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
7346
|
+
* the JSPB instance for transitional soy proto support:
|
|
7347
|
+
* http://goto/soy-param-migration
|
|
7348
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse} msg The msg instance to transform.
|
|
7349
|
+
* @return {!Object}
|
|
7350
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7351
|
+
*/
|
|
7352
|
+
proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse.toObject = function(includeInstance, msg) {
|
|
7353
|
+
var f, obj = {
|
|
7354
|
+
v0: (f = msg.getV0()) && proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse.GetIdentityNonceResponseV0.toObject(includeInstance, f)
|
|
7355
|
+
};
|
|
7356
|
+
|
|
7357
|
+
if (includeInstance) {
|
|
7358
|
+
obj.$jspbMessageInstance = msg;
|
|
7359
|
+
}
|
|
7360
|
+
return obj;
|
|
7361
|
+
};
|
|
7362
|
+
}
|
|
7363
|
+
|
|
7364
|
+
|
|
7365
|
+
/**
|
|
7366
|
+
* Deserializes binary data (in protobuf wire format).
|
|
7367
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
7368
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse}
|
|
7369
|
+
*/
|
|
7370
|
+
proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse.deserializeBinary = function(bytes) {
|
|
5710
7371
|
var reader = new jspb.BinaryReader(bytes);
|
|
5711
|
-
var msg = new proto.org.dash.platform.dapi.v0.
|
|
5712
|
-
return proto.org.dash.platform.dapi.v0.
|
|
7372
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse;
|
|
7373
|
+
return proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse.deserializeBinaryFromReader(msg, reader);
|
|
5713
7374
|
};
|
|
5714
7375
|
|
|
5715
7376
|
|
|
5716
7377
|
/**
|
|
5717
7378
|
* Deserializes binary data (in protobuf wire format) from the
|
|
5718
7379
|
* given reader into the given message object.
|
|
5719
|
-
* @param {!proto.org.dash.platform.dapi.v0.
|
|
7380
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse} msg The message object to deserialize into.
|
|
5720
7381
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
5721
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
7382
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse}
|
|
5722
7383
|
*/
|
|
5723
|
-
proto.org.dash.platform.dapi.v0.
|
|
7384
|
+
proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
5724
7385
|
while (reader.nextField()) {
|
|
5725
7386
|
if (reader.isEndGroup()) {
|
|
5726
7387
|
break;
|
|
@@ -5728,13 +7389,160 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.IdentityEntry.deserializeB
|
|
|
5728
7389
|
var field = reader.getFieldNumber();
|
|
5729
7390
|
switch (field) {
|
|
5730
7391
|
case 1:
|
|
5731
|
-
var value =
|
|
5732
|
-
|
|
7392
|
+
var value = new proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse.GetIdentityNonceResponseV0;
|
|
7393
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse.GetIdentityNonceResponseV0.deserializeBinaryFromReader);
|
|
7394
|
+
msg.setV0(value);
|
|
7395
|
+
break;
|
|
7396
|
+
default:
|
|
7397
|
+
reader.skipField();
|
|
7398
|
+
break;
|
|
7399
|
+
}
|
|
7400
|
+
}
|
|
7401
|
+
return msg;
|
|
7402
|
+
};
|
|
7403
|
+
|
|
7404
|
+
|
|
7405
|
+
/**
|
|
7406
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
7407
|
+
* @return {!Uint8Array}
|
|
7408
|
+
*/
|
|
7409
|
+
proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse.prototype.serializeBinary = function() {
|
|
7410
|
+
var writer = new jspb.BinaryWriter();
|
|
7411
|
+
proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse.serializeBinaryToWriter(this, writer);
|
|
7412
|
+
return writer.getResultBuffer();
|
|
7413
|
+
};
|
|
7414
|
+
|
|
7415
|
+
|
|
7416
|
+
/**
|
|
7417
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
7418
|
+
* format), writing to the given BinaryWriter.
|
|
7419
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse} message
|
|
7420
|
+
* @param {!jspb.BinaryWriter} writer
|
|
7421
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7422
|
+
*/
|
|
7423
|
+
proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse.serializeBinaryToWriter = function(message, writer) {
|
|
7424
|
+
var f = undefined;
|
|
7425
|
+
f = message.getV0();
|
|
7426
|
+
if (f != null) {
|
|
7427
|
+
writer.writeMessage(
|
|
7428
|
+
1,
|
|
7429
|
+
f,
|
|
7430
|
+
proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse.GetIdentityNonceResponseV0.serializeBinaryToWriter
|
|
7431
|
+
);
|
|
7432
|
+
}
|
|
7433
|
+
};
|
|
7434
|
+
|
|
7435
|
+
|
|
7436
|
+
|
|
7437
|
+
/**
|
|
7438
|
+
* Oneof group definitions for this message. Each group defines the field
|
|
7439
|
+
* numbers belonging to that group. When of these fields' value is set, all
|
|
7440
|
+
* other fields in the group are cleared. During deserialization, if multiple
|
|
7441
|
+
* fields are encountered for a group, only the last value seen will be kept.
|
|
7442
|
+
* @private {!Array<!Array<number>>}
|
|
7443
|
+
* @const
|
|
7444
|
+
*/
|
|
7445
|
+
proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse.GetIdentityNonceResponseV0.oneofGroups_ = [[1,2]];
|
|
7446
|
+
|
|
7447
|
+
/**
|
|
7448
|
+
* @enum {number}
|
|
7449
|
+
*/
|
|
7450
|
+
proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse.GetIdentityNonceResponseV0.ResultCase = {
|
|
7451
|
+
RESULT_NOT_SET: 0,
|
|
7452
|
+
IDENTITY_NONCE: 1,
|
|
7453
|
+
PROOF: 2
|
|
7454
|
+
};
|
|
7455
|
+
|
|
7456
|
+
/**
|
|
7457
|
+
* @return {proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse.GetIdentityNonceResponseV0.ResultCase}
|
|
7458
|
+
*/
|
|
7459
|
+
proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse.GetIdentityNonceResponseV0.prototype.getResultCase = function() {
|
|
7460
|
+
return /** @type {proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse.GetIdentityNonceResponseV0.ResultCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse.GetIdentityNonceResponseV0.oneofGroups_[0]));
|
|
7461
|
+
};
|
|
7462
|
+
|
|
7463
|
+
|
|
7464
|
+
|
|
7465
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
7466
|
+
/**
|
|
7467
|
+
* Creates an object representation of this proto.
|
|
7468
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
7469
|
+
* Optional fields that are not set will be set to undefined.
|
|
7470
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
7471
|
+
* For the list of reserved names please see:
|
|
7472
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
7473
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
7474
|
+
* JSPB instance for transitional soy proto support:
|
|
7475
|
+
* http://goto/soy-param-migration
|
|
7476
|
+
* @return {!Object}
|
|
7477
|
+
*/
|
|
7478
|
+
proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse.GetIdentityNonceResponseV0.prototype.toObject = function(opt_includeInstance) {
|
|
7479
|
+
return proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse.GetIdentityNonceResponseV0.toObject(opt_includeInstance, this);
|
|
7480
|
+
};
|
|
7481
|
+
|
|
7482
|
+
|
|
7483
|
+
/**
|
|
7484
|
+
* Static version of the {@see toObject} method.
|
|
7485
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
7486
|
+
* the JSPB instance for transitional soy proto support:
|
|
7487
|
+
* http://goto/soy-param-migration
|
|
7488
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse.GetIdentityNonceResponseV0} msg The msg instance to transform.
|
|
7489
|
+
* @return {!Object}
|
|
7490
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7491
|
+
*/
|
|
7492
|
+
proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse.GetIdentityNonceResponseV0.toObject = function(includeInstance, msg) {
|
|
7493
|
+
var f, obj = {
|
|
7494
|
+
identityNonce: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
7495
|
+
proof: (f = msg.getProof()) && proto.org.dash.platform.dapi.v0.Proof.toObject(includeInstance, f),
|
|
7496
|
+
metadata: (f = msg.getMetadata()) && proto.org.dash.platform.dapi.v0.ResponseMetadata.toObject(includeInstance, f)
|
|
7497
|
+
};
|
|
7498
|
+
|
|
7499
|
+
if (includeInstance) {
|
|
7500
|
+
obj.$jspbMessageInstance = msg;
|
|
7501
|
+
}
|
|
7502
|
+
return obj;
|
|
7503
|
+
};
|
|
7504
|
+
}
|
|
7505
|
+
|
|
7506
|
+
|
|
7507
|
+
/**
|
|
7508
|
+
* Deserializes binary data (in protobuf wire format).
|
|
7509
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
7510
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse.GetIdentityNonceResponseV0}
|
|
7511
|
+
*/
|
|
7512
|
+
proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse.GetIdentityNonceResponseV0.deserializeBinary = function(bytes) {
|
|
7513
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
7514
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse.GetIdentityNonceResponseV0;
|
|
7515
|
+
return proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse.GetIdentityNonceResponseV0.deserializeBinaryFromReader(msg, reader);
|
|
7516
|
+
};
|
|
7517
|
+
|
|
7518
|
+
|
|
7519
|
+
/**
|
|
7520
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
7521
|
+
* given reader into the given message object.
|
|
7522
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse.GetIdentityNonceResponseV0} msg The message object to deserialize into.
|
|
7523
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
7524
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse.GetIdentityNonceResponseV0}
|
|
7525
|
+
*/
|
|
7526
|
+
proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse.GetIdentityNonceResponseV0.deserializeBinaryFromReader = function(msg, reader) {
|
|
7527
|
+
while (reader.nextField()) {
|
|
7528
|
+
if (reader.isEndGroup()) {
|
|
7529
|
+
break;
|
|
7530
|
+
}
|
|
7531
|
+
var field = reader.getFieldNumber();
|
|
7532
|
+
switch (field) {
|
|
7533
|
+
case 1:
|
|
7534
|
+
var value = /** @type {number} */ (reader.readUint64());
|
|
7535
|
+
msg.setIdentityNonce(value);
|
|
5733
7536
|
break;
|
|
5734
7537
|
case 2:
|
|
5735
|
-
var value = new proto.org.dash.platform.dapi.v0.
|
|
5736
|
-
reader.readMessage(value,proto.org.dash.platform.dapi.v0.
|
|
5737
|
-
msg.
|
|
7538
|
+
var value = new proto.org.dash.platform.dapi.v0.Proof;
|
|
7539
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.Proof.deserializeBinaryFromReader);
|
|
7540
|
+
msg.setProof(value);
|
|
7541
|
+
break;
|
|
7542
|
+
case 3:
|
|
7543
|
+
var value = new proto.org.dash.platform.dapi.v0.ResponseMetadata;
|
|
7544
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.ResponseMetadata.deserializeBinaryFromReader);
|
|
7545
|
+
msg.setMetadata(value);
|
|
5738
7546
|
break;
|
|
5739
7547
|
default:
|
|
5740
7548
|
reader.skipField();
|
|
@@ -5746,110 +7554,186 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.IdentityEntry.deserializeB
|
|
|
5746
7554
|
|
|
5747
7555
|
|
|
5748
7556
|
/**
|
|
5749
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
5750
|
-
* @return {!Uint8Array}
|
|
5751
|
-
*/
|
|
5752
|
-
proto.org.dash.platform.dapi.v0.
|
|
5753
|
-
var writer = new jspb.BinaryWriter();
|
|
5754
|
-
proto.org.dash.platform.dapi.v0.
|
|
5755
|
-
return writer.getResultBuffer();
|
|
7557
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
7558
|
+
* @return {!Uint8Array}
|
|
7559
|
+
*/
|
|
7560
|
+
proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse.GetIdentityNonceResponseV0.prototype.serializeBinary = function() {
|
|
7561
|
+
var writer = new jspb.BinaryWriter();
|
|
7562
|
+
proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse.GetIdentityNonceResponseV0.serializeBinaryToWriter(this, writer);
|
|
7563
|
+
return writer.getResultBuffer();
|
|
7564
|
+
};
|
|
7565
|
+
|
|
7566
|
+
|
|
7567
|
+
/**
|
|
7568
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
7569
|
+
* format), writing to the given BinaryWriter.
|
|
7570
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse.GetIdentityNonceResponseV0} message
|
|
7571
|
+
* @param {!jspb.BinaryWriter} writer
|
|
7572
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7573
|
+
*/
|
|
7574
|
+
proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse.GetIdentityNonceResponseV0.serializeBinaryToWriter = function(message, writer) {
|
|
7575
|
+
var f = undefined;
|
|
7576
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 1));
|
|
7577
|
+
if (f != null) {
|
|
7578
|
+
writer.writeUint64(
|
|
7579
|
+
1,
|
|
7580
|
+
f
|
|
7581
|
+
);
|
|
7582
|
+
}
|
|
7583
|
+
f = message.getProof();
|
|
7584
|
+
if (f != null) {
|
|
7585
|
+
writer.writeMessage(
|
|
7586
|
+
2,
|
|
7587
|
+
f,
|
|
7588
|
+
proto.org.dash.platform.dapi.v0.Proof.serializeBinaryToWriter
|
|
7589
|
+
);
|
|
7590
|
+
}
|
|
7591
|
+
f = message.getMetadata();
|
|
7592
|
+
if (f != null) {
|
|
7593
|
+
writer.writeMessage(
|
|
7594
|
+
3,
|
|
7595
|
+
f,
|
|
7596
|
+
proto.org.dash.platform.dapi.v0.ResponseMetadata.serializeBinaryToWriter
|
|
7597
|
+
);
|
|
7598
|
+
}
|
|
7599
|
+
};
|
|
7600
|
+
|
|
7601
|
+
|
|
7602
|
+
/**
|
|
7603
|
+
* optional uint64 identity_nonce = 1;
|
|
7604
|
+
* @return {number}
|
|
7605
|
+
*/
|
|
7606
|
+
proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse.GetIdentityNonceResponseV0.prototype.getIdentityNonce = function() {
|
|
7607
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
7608
|
+
};
|
|
7609
|
+
|
|
7610
|
+
|
|
7611
|
+
/**
|
|
7612
|
+
* @param {number} value
|
|
7613
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse.GetIdentityNonceResponseV0} returns this
|
|
7614
|
+
*/
|
|
7615
|
+
proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse.GetIdentityNonceResponseV0.prototype.setIdentityNonce = function(value) {
|
|
7616
|
+
return jspb.Message.setOneofField(this, 1, proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse.GetIdentityNonceResponseV0.oneofGroups_[0], value);
|
|
7617
|
+
};
|
|
7618
|
+
|
|
7619
|
+
|
|
7620
|
+
/**
|
|
7621
|
+
* Clears the field making it undefined.
|
|
7622
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse.GetIdentityNonceResponseV0} returns this
|
|
7623
|
+
*/
|
|
7624
|
+
proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse.GetIdentityNonceResponseV0.prototype.clearIdentityNonce = function() {
|
|
7625
|
+
return jspb.Message.setOneofField(this, 1, proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse.GetIdentityNonceResponseV0.oneofGroups_[0], undefined);
|
|
7626
|
+
};
|
|
7627
|
+
|
|
7628
|
+
|
|
7629
|
+
/**
|
|
7630
|
+
* Returns whether this field is set.
|
|
7631
|
+
* @return {boolean}
|
|
7632
|
+
*/
|
|
7633
|
+
proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse.GetIdentityNonceResponseV0.prototype.hasIdentityNonce = function() {
|
|
7634
|
+
return jspb.Message.getField(this, 1) != null;
|
|
7635
|
+
};
|
|
7636
|
+
|
|
7637
|
+
|
|
7638
|
+
/**
|
|
7639
|
+
* optional Proof proof = 2;
|
|
7640
|
+
* @return {?proto.org.dash.platform.dapi.v0.Proof}
|
|
7641
|
+
*/
|
|
7642
|
+
proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse.GetIdentityNonceResponseV0.prototype.getProof = function() {
|
|
7643
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.Proof} */ (
|
|
7644
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.Proof, 2));
|
|
7645
|
+
};
|
|
7646
|
+
|
|
7647
|
+
|
|
7648
|
+
/**
|
|
7649
|
+
* @param {?proto.org.dash.platform.dapi.v0.Proof|undefined} value
|
|
7650
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse.GetIdentityNonceResponseV0} returns this
|
|
7651
|
+
*/
|
|
7652
|
+
proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse.GetIdentityNonceResponseV0.prototype.setProof = function(value) {
|
|
7653
|
+
return jspb.Message.setOneofWrapperField(this, 2, proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse.GetIdentityNonceResponseV0.oneofGroups_[0], value);
|
|
5756
7654
|
};
|
|
5757
7655
|
|
|
5758
7656
|
|
|
5759
7657
|
/**
|
|
5760
|
-
*
|
|
5761
|
-
*
|
|
5762
|
-
* @param {!proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.IdentityEntry} message
|
|
5763
|
-
* @param {!jspb.BinaryWriter} writer
|
|
5764
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7658
|
+
* Clears the message field making it undefined.
|
|
7659
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse.GetIdentityNonceResponseV0} returns this
|
|
5765
7660
|
*/
|
|
5766
|
-
proto.org.dash.platform.dapi.v0.
|
|
5767
|
-
|
|
5768
|
-
f = message.getKey_asU8();
|
|
5769
|
-
if (f.length > 0) {
|
|
5770
|
-
writer.writeBytes(
|
|
5771
|
-
1,
|
|
5772
|
-
f
|
|
5773
|
-
);
|
|
5774
|
-
}
|
|
5775
|
-
f = message.getValue();
|
|
5776
|
-
if (f != null) {
|
|
5777
|
-
writer.writeMessage(
|
|
5778
|
-
2,
|
|
5779
|
-
f,
|
|
5780
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.IdentityValue.serializeBinaryToWriter
|
|
5781
|
-
);
|
|
5782
|
-
}
|
|
7661
|
+
proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse.GetIdentityNonceResponseV0.prototype.clearProof = function() {
|
|
7662
|
+
return this.setProof(undefined);
|
|
5783
7663
|
};
|
|
5784
7664
|
|
|
5785
7665
|
|
|
5786
7666
|
/**
|
|
5787
|
-
*
|
|
5788
|
-
* @return {
|
|
7667
|
+
* Returns whether this field is set.
|
|
7668
|
+
* @return {boolean}
|
|
5789
7669
|
*/
|
|
5790
|
-
proto.org.dash.platform.dapi.v0.
|
|
5791
|
-
return
|
|
7670
|
+
proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse.GetIdentityNonceResponseV0.prototype.hasProof = function() {
|
|
7671
|
+
return jspb.Message.getField(this, 2) != null;
|
|
5792
7672
|
};
|
|
5793
7673
|
|
|
5794
7674
|
|
|
5795
7675
|
/**
|
|
5796
|
-
* optional
|
|
5797
|
-
*
|
|
5798
|
-
* @return {string}
|
|
7676
|
+
* optional ResponseMetadata metadata = 3;
|
|
7677
|
+
* @return {?proto.org.dash.platform.dapi.v0.ResponseMetadata}
|
|
5799
7678
|
*/
|
|
5800
|
-
proto.org.dash.platform.dapi.v0.
|
|
5801
|
-
return /** @type
|
|
5802
|
-
|
|
7679
|
+
proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse.GetIdentityNonceResponseV0.prototype.getMetadata = function() {
|
|
7680
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.ResponseMetadata} */ (
|
|
7681
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.ResponseMetadata, 3));
|
|
5803
7682
|
};
|
|
5804
7683
|
|
|
5805
7684
|
|
|
5806
7685
|
/**
|
|
5807
|
-
*
|
|
5808
|
-
*
|
|
5809
|
-
|
|
5810
|
-
|
|
5811
|
-
|
|
7686
|
+
* @param {?proto.org.dash.platform.dapi.v0.ResponseMetadata|undefined} value
|
|
7687
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse.GetIdentityNonceResponseV0} returns this
|
|
7688
|
+
*/
|
|
7689
|
+
proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse.GetIdentityNonceResponseV0.prototype.setMetadata = function(value) {
|
|
7690
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
7691
|
+
};
|
|
7692
|
+
|
|
7693
|
+
|
|
7694
|
+
/**
|
|
7695
|
+
* Clears the message field making it undefined.
|
|
7696
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse.GetIdentityNonceResponseV0} returns this
|
|
5812
7697
|
*/
|
|
5813
|
-
proto.org.dash.platform.dapi.v0.
|
|
5814
|
-
return
|
|
5815
|
-
this.getKey()));
|
|
7698
|
+
proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse.GetIdentityNonceResponseV0.prototype.clearMetadata = function() {
|
|
7699
|
+
return this.setMetadata(undefined);
|
|
5816
7700
|
};
|
|
5817
7701
|
|
|
5818
7702
|
|
|
5819
7703
|
/**
|
|
5820
|
-
*
|
|
5821
|
-
* @return {
|
|
7704
|
+
* Returns whether this field is set.
|
|
7705
|
+
* @return {boolean}
|
|
5822
7706
|
*/
|
|
5823
|
-
proto.org.dash.platform.dapi.v0.
|
|
5824
|
-
return jspb.Message.
|
|
7707
|
+
proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse.GetIdentityNonceResponseV0.prototype.hasMetadata = function() {
|
|
7708
|
+
return jspb.Message.getField(this, 3) != null;
|
|
5825
7709
|
};
|
|
5826
7710
|
|
|
5827
7711
|
|
|
5828
7712
|
/**
|
|
5829
|
-
* optional
|
|
5830
|
-
* @return {?proto.org.dash.platform.dapi.v0.
|
|
7713
|
+
* optional GetIdentityNonceResponseV0 v0 = 1;
|
|
7714
|
+
* @return {?proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse.GetIdentityNonceResponseV0}
|
|
5831
7715
|
*/
|
|
5832
|
-
proto.org.dash.platform.dapi.v0.
|
|
5833
|
-
return /** @type{?proto.org.dash.platform.dapi.v0.
|
|
5834
|
-
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.
|
|
7716
|
+
proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse.prototype.getV0 = function() {
|
|
7717
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse.GetIdentityNonceResponseV0} */ (
|
|
7718
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse.GetIdentityNonceResponseV0, 1));
|
|
5835
7719
|
};
|
|
5836
7720
|
|
|
5837
7721
|
|
|
5838
7722
|
/**
|
|
5839
|
-
* @param {?proto.org.dash.platform.dapi.v0.
|
|
5840
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
7723
|
+
* @param {?proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse.GetIdentityNonceResponseV0|undefined} value
|
|
7724
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse} returns this
|
|
5841
7725
|
*/
|
|
5842
|
-
proto.org.dash.platform.dapi.v0.
|
|
5843
|
-
return jspb.Message.
|
|
7726
|
+
proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse.prototype.setV0 = function(value) {
|
|
7727
|
+
return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse.oneofGroups_[0], value);
|
|
5844
7728
|
};
|
|
5845
7729
|
|
|
5846
7730
|
|
|
5847
7731
|
/**
|
|
5848
7732
|
* Clears the message field making it undefined.
|
|
5849
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
7733
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse} returns this
|
|
5850
7734
|
*/
|
|
5851
|
-
proto.org.dash.platform.dapi.v0.
|
|
5852
|
-
return this.
|
|
7735
|
+
proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse.prototype.clearV0 = function() {
|
|
7736
|
+
return this.setV0(undefined);
|
|
5853
7737
|
};
|
|
5854
7738
|
|
|
5855
7739
|
|
|
@@ -5857,18 +7741,36 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.IdentityEntry.prototype.cl
|
|
|
5857
7741
|
* Returns whether this field is set.
|
|
5858
7742
|
* @return {boolean}
|
|
5859
7743
|
*/
|
|
5860
|
-
proto.org.dash.platform.dapi.v0.
|
|
5861
|
-
return jspb.Message.getField(this,
|
|
7744
|
+
proto.org.dash.platform.dapi.v0.GetIdentityNonceResponse.prototype.hasV0 = function() {
|
|
7745
|
+
return jspb.Message.getField(this, 1) != null;
|
|
5862
7746
|
};
|
|
5863
7747
|
|
|
5864
7748
|
|
|
5865
7749
|
|
|
5866
7750
|
/**
|
|
5867
|
-
*
|
|
5868
|
-
*
|
|
7751
|
+
* Oneof group definitions for this message. Each group defines the field
|
|
7752
|
+
* numbers belonging to that group. When of these fields' value is set, all
|
|
7753
|
+
* other fields in the group are cleared. During deserialization, if multiple
|
|
7754
|
+
* fields are encountered for a group, only the last value seen will be kept.
|
|
7755
|
+
* @private {!Array<!Array<number>>}
|
|
5869
7756
|
* @const
|
|
5870
7757
|
*/
|
|
5871
|
-
proto.org.dash.platform.dapi.v0.
|
|
7758
|
+
proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse.oneofGroups_ = [[1]];
|
|
7759
|
+
|
|
7760
|
+
/**
|
|
7761
|
+
* @enum {number}
|
|
7762
|
+
*/
|
|
7763
|
+
proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse.VersionCase = {
|
|
7764
|
+
VERSION_NOT_SET: 0,
|
|
7765
|
+
V0: 1
|
|
7766
|
+
};
|
|
7767
|
+
|
|
7768
|
+
/**
|
|
7769
|
+
* @return {proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse.VersionCase}
|
|
7770
|
+
*/
|
|
7771
|
+
proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse.prototype.getVersionCase = function() {
|
|
7772
|
+
return /** @type {proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse.VersionCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse.oneofGroups_[0]));
|
|
7773
|
+
};
|
|
5872
7774
|
|
|
5873
7775
|
|
|
5874
7776
|
|
|
@@ -5885,8 +7787,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
5885
7787
|
* http://goto/soy-param-migration
|
|
5886
7788
|
* @return {!Object}
|
|
5887
7789
|
*/
|
|
5888
|
-
proto.org.dash.platform.dapi.v0.
|
|
5889
|
-
return proto.org.dash.platform.dapi.v0.
|
|
7790
|
+
proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse.prototype.toObject = function(opt_includeInstance) {
|
|
7791
|
+
return proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse.toObject(opt_includeInstance, this);
|
|
5890
7792
|
};
|
|
5891
7793
|
|
|
5892
7794
|
|
|
@@ -5895,14 +7797,13 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.Identities.prototype.toObj
|
|
|
5895
7797
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
5896
7798
|
* the JSPB instance for transitional soy proto support:
|
|
5897
7799
|
* http://goto/soy-param-migration
|
|
5898
|
-
* @param {!proto.org.dash.platform.dapi.v0.
|
|
7800
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse} msg The msg instance to transform.
|
|
5899
7801
|
* @return {!Object}
|
|
5900
7802
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5901
7803
|
*/
|
|
5902
|
-
proto.org.dash.platform.dapi.v0.
|
|
7804
|
+
proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse.toObject = function(includeInstance, msg) {
|
|
5903
7805
|
var f, obj = {
|
|
5904
|
-
|
|
5905
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.IdentityEntry.toObject, includeInstance)
|
|
7806
|
+
v0: (f = msg.getV0()) && proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse.GetIdentityContractNonceResponseV0.toObject(includeInstance, f)
|
|
5906
7807
|
};
|
|
5907
7808
|
|
|
5908
7809
|
if (includeInstance) {
|
|
@@ -5916,23 +7817,23 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.Identities.toObject = func
|
|
|
5916
7817
|
/**
|
|
5917
7818
|
* Deserializes binary data (in protobuf wire format).
|
|
5918
7819
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
5919
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
7820
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse}
|
|
5920
7821
|
*/
|
|
5921
|
-
proto.org.dash.platform.dapi.v0.
|
|
7822
|
+
proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse.deserializeBinary = function(bytes) {
|
|
5922
7823
|
var reader = new jspb.BinaryReader(bytes);
|
|
5923
|
-
var msg = new proto.org.dash.platform.dapi.v0.
|
|
5924
|
-
return proto.org.dash.platform.dapi.v0.
|
|
7824
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse;
|
|
7825
|
+
return proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse.deserializeBinaryFromReader(msg, reader);
|
|
5925
7826
|
};
|
|
5926
7827
|
|
|
5927
7828
|
|
|
5928
7829
|
/**
|
|
5929
7830
|
* Deserializes binary data (in protobuf wire format) from the
|
|
5930
7831
|
* given reader into the given message object.
|
|
5931
|
-
* @param {!proto.org.dash.platform.dapi.v0.
|
|
7832
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse} msg The message object to deserialize into.
|
|
5932
7833
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
5933
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
7834
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse}
|
|
5934
7835
|
*/
|
|
5935
|
-
proto.org.dash.platform.dapi.v0.
|
|
7836
|
+
proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
5936
7837
|
while (reader.nextField()) {
|
|
5937
7838
|
if (reader.isEndGroup()) {
|
|
5938
7839
|
break;
|
|
@@ -5940,9 +7841,9 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.Identities.deserializeBina
|
|
|
5940
7841
|
var field = reader.getFieldNumber();
|
|
5941
7842
|
switch (field) {
|
|
5942
7843
|
case 1:
|
|
5943
|
-
var value = new proto.org.dash.platform.dapi.v0.
|
|
5944
|
-
reader.readMessage(value,proto.org.dash.platform.dapi.v0.
|
|
5945
|
-
msg.
|
|
7844
|
+
var value = new proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse.GetIdentityContractNonceResponseV0;
|
|
7845
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse.GetIdentityContractNonceResponseV0.deserializeBinaryFromReader);
|
|
7846
|
+
msg.setV0(value);
|
|
5946
7847
|
break;
|
|
5947
7848
|
default:
|
|
5948
7849
|
reader.skipField();
|
|
@@ -5957,9 +7858,9 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.Identities.deserializeBina
|
|
|
5957
7858
|
* Serializes the message to binary data (in protobuf wire format).
|
|
5958
7859
|
* @return {!Uint8Array}
|
|
5959
7860
|
*/
|
|
5960
|
-
proto.org.dash.platform.dapi.v0.
|
|
7861
|
+
proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse.prototype.serializeBinary = function() {
|
|
5961
7862
|
var writer = new jspb.BinaryWriter();
|
|
5962
|
-
proto.org.dash.platform.dapi.v0.
|
|
7863
|
+
proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse.serializeBinaryToWriter(this, writer);
|
|
5963
7864
|
return writer.getResultBuffer();
|
|
5964
7865
|
};
|
|
5965
7866
|
|
|
@@ -5967,61 +7868,23 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.Identities.prototype.seria
|
|
|
5967
7868
|
/**
|
|
5968
7869
|
* Serializes the given message to binary data (in protobuf wire
|
|
5969
7870
|
* format), writing to the given BinaryWriter.
|
|
5970
|
-
* @param {!proto.org.dash.platform.dapi.v0.
|
|
7871
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse} message
|
|
5971
7872
|
* @param {!jspb.BinaryWriter} writer
|
|
5972
7873
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5973
7874
|
*/
|
|
5974
|
-
proto.org.dash.platform.dapi.v0.
|
|
7875
|
+
proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse.serializeBinaryToWriter = function(message, writer) {
|
|
5975
7876
|
var f = undefined;
|
|
5976
|
-
f = message.
|
|
5977
|
-
if (f
|
|
5978
|
-
writer.
|
|
7877
|
+
f = message.getV0();
|
|
7878
|
+
if (f != null) {
|
|
7879
|
+
writer.writeMessage(
|
|
5979
7880
|
1,
|
|
5980
7881
|
f,
|
|
5981
|
-
proto.org.dash.platform.dapi.v0.
|
|
7882
|
+
proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse.GetIdentityContractNonceResponseV0.serializeBinaryToWriter
|
|
5982
7883
|
);
|
|
5983
7884
|
}
|
|
5984
7885
|
};
|
|
5985
7886
|
|
|
5986
7887
|
|
|
5987
|
-
/**
|
|
5988
|
-
* repeated IdentityEntry identity_entries = 1;
|
|
5989
|
-
* @return {!Array<!proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.IdentityEntry>}
|
|
5990
|
-
*/
|
|
5991
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.Identities.prototype.getIdentityEntriesList = function() {
|
|
5992
|
-
return /** @type{!Array<!proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.IdentityEntry>} */ (
|
|
5993
|
-
jspb.Message.getRepeatedWrapperField(this, proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.IdentityEntry, 1));
|
|
5994
|
-
};
|
|
5995
|
-
|
|
5996
|
-
|
|
5997
|
-
/**
|
|
5998
|
-
* @param {!Array<!proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.IdentityEntry>} value
|
|
5999
|
-
* @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.Identities} returns this
|
|
6000
|
-
*/
|
|
6001
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.Identities.prototype.setIdentityEntriesList = function(value) {
|
|
6002
|
-
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
6003
|
-
};
|
|
6004
|
-
|
|
6005
|
-
|
|
6006
|
-
/**
|
|
6007
|
-
* @param {!proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.IdentityEntry=} opt_value
|
|
6008
|
-
* @param {number=} opt_index
|
|
6009
|
-
* @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.IdentityEntry}
|
|
6010
|
-
*/
|
|
6011
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.Identities.prototype.addIdentityEntries = function(opt_value, opt_index) {
|
|
6012
|
-
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.IdentityEntry, opt_index);
|
|
6013
|
-
};
|
|
6014
|
-
|
|
6015
|
-
|
|
6016
|
-
/**
|
|
6017
|
-
* Clears the list making it empty but non-null.
|
|
6018
|
-
* @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.Identities} returns this
|
|
6019
|
-
*/
|
|
6020
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.Identities.prototype.clearIdentityEntriesList = function() {
|
|
6021
|
-
return this.setIdentityEntriesList([]);
|
|
6022
|
-
};
|
|
6023
|
-
|
|
6024
|
-
|
|
6025
7888
|
|
|
6026
7889
|
/**
|
|
6027
7890
|
* Oneof group definitions for this message. Each group defines the field
|
|
@@ -6031,22 +7894,22 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.Identities.prototype.clear
|
|
|
6031
7894
|
* @private {!Array<!Array<number>>}
|
|
6032
7895
|
* @const
|
|
6033
7896
|
*/
|
|
6034
|
-
proto.org.dash.platform.dapi.v0.
|
|
7897
|
+
proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse.GetIdentityContractNonceResponseV0.oneofGroups_ = [[1,2]];
|
|
6035
7898
|
|
|
6036
7899
|
/**
|
|
6037
7900
|
* @enum {number}
|
|
6038
7901
|
*/
|
|
6039
|
-
proto.org.dash.platform.dapi.v0.
|
|
7902
|
+
proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse.GetIdentityContractNonceResponseV0.ResultCase = {
|
|
6040
7903
|
RESULT_NOT_SET: 0,
|
|
6041
|
-
|
|
7904
|
+
IDENTITY_CONTRACT_NONCE: 1,
|
|
6042
7905
|
PROOF: 2
|
|
6043
7906
|
};
|
|
6044
7907
|
|
|
6045
7908
|
/**
|
|
6046
|
-
* @return {proto.org.dash.platform.dapi.v0.
|
|
7909
|
+
* @return {proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse.GetIdentityContractNonceResponseV0.ResultCase}
|
|
6047
7910
|
*/
|
|
6048
|
-
proto.org.dash.platform.dapi.v0.
|
|
6049
|
-
return /** @type {proto.org.dash.platform.dapi.v0.
|
|
7911
|
+
proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse.GetIdentityContractNonceResponseV0.prototype.getResultCase = function() {
|
|
7912
|
+
return /** @type {proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse.GetIdentityContractNonceResponseV0.ResultCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse.GetIdentityContractNonceResponseV0.oneofGroups_[0]));
|
|
6050
7913
|
};
|
|
6051
7914
|
|
|
6052
7915
|
|
|
@@ -6064,8 +7927,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
6064
7927
|
* http://goto/soy-param-migration
|
|
6065
7928
|
* @return {!Object}
|
|
6066
7929
|
*/
|
|
6067
|
-
proto.org.dash.platform.dapi.v0.
|
|
6068
|
-
return proto.org.dash.platform.dapi.v0.
|
|
7930
|
+
proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse.GetIdentityContractNonceResponseV0.prototype.toObject = function(opt_includeInstance) {
|
|
7931
|
+
return proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse.GetIdentityContractNonceResponseV0.toObject(opt_includeInstance, this);
|
|
6069
7932
|
};
|
|
6070
7933
|
|
|
6071
7934
|
|
|
@@ -6074,13 +7937,13 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.GetIdentitiesResponseV0.pr
|
|
|
6074
7937
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
6075
7938
|
* the JSPB instance for transitional soy proto support:
|
|
6076
7939
|
* http://goto/soy-param-migration
|
|
6077
|
-
* @param {!proto.org.dash.platform.dapi.v0.
|
|
7940
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse.GetIdentityContractNonceResponseV0} msg The msg instance to transform.
|
|
6078
7941
|
* @return {!Object}
|
|
6079
7942
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6080
7943
|
*/
|
|
6081
|
-
proto.org.dash.platform.dapi.v0.
|
|
7944
|
+
proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse.GetIdentityContractNonceResponseV0.toObject = function(includeInstance, msg) {
|
|
6082
7945
|
var f, obj = {
|
|
6083
|
-
|
|
7946
|
+
identityContractNonce: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
6084
7947
|
proof: (f = msg.getProof()) && proto.org.dash.platform.dapi.v0.Proof.toObject(includeInstance, f),
|
|
6085
7948
|
metadata: (f = msg.getMetadata()) && proto.org.dash.platform.dapi.v0.ResponseMetadata.toObject(includeInstance, f)
|
|
6086
7949
|
};
|
|
@@ -6096,23 +7959,23 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.GetIdentitiesResponseV0.to
|
|
|
6096
7959
|
/**
|
|
6097
7960
|
* Deserializes binary data (in protobuf wire format).
|
|
6098
7961
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
6099
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
7962
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse.GetIdentityContractNonceResponseV0}
|
|
6100
7963
|
*/
|
|
6101
|
-
proto.org.dash.platform.dapi.v0.
|
|
7964
|
+
proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse.GetIdentityContractNonceResponseV0.deserializeBinary = function(bytes) {
|
|
6102
7965
|
var reader = new jspb.BinaryReader(bytes);
|
|
6103
|
-
var msg = new proto.org.dash.platform.dapi.v0.
|
|
6104
|
-
return proto.org.dash.platform.dapi.v0.
|
|
7966
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse.GetIdentityContractNonceResponseV0;
|
|
7967
|
+
return proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse.GetIdentityContractNonceResponseV0.deserializeBinaryFromReader(msg, reader);
|
|
6105
7968
|
};
|
|
6106
7969
|
|
|
6107
7970
|
|
|
6108
7971
|
/**
|
|
6109
7972
|
* Deserializes binary data (in protobuf wire format) from the
|
|
6110
7973
|
* given reader into the given message object.
|
|
6111
|
-
* @param {!proto.org.dash.platform.dapi.v0.
|
|
7974
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse.GetIdentityContractNonceResponseV0} msg The message object to deserialize into.
|
|
6112
7975
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
6113
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
7976
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse.GetIdentityContractNonceResponseV0}
|
|
6114
7977
|
*/
|
|
6115
|
-
proto.org.dash.platform.dapi.v0.
|
|
7978
|
+
proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse.GetIdentityContractNonceResponseV0.deserializeBinaryFromReader = function(msg, reader) {
|
|
6116
7979
|
while (reader.nextField()) {
|
|
6117
7980
|
if (reader.isEndGroup()) {
|
|
6118
7981
|
break;
|
|
@@ -6120,9 +7983,8 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.GetIdentitiesResponseV0.de
|
|
|
6120
7983
|
var field = reader.getFieldNumber();
|
|
6121
7984
|
switch (field) {
|
|
6122
7985
|
case 1:
|
|
6123
|
-
var value =
|
|
6124
|
-
|
|
6125
|
-
msg.setIdentities(value);
|
|
7986
|
+
var value = /** @type {number} */ (reader.readUint64());
|
|
7987
|
+
msg.setIdentityContractNonce(value);
|
|
6126
7988
|
break;
|
|
6127
7989
|
case 2:
|
|
6128
7990
|
var value = new proto.org.dash.platform.dapi.v0.Proof;
|
|
@@ -6147,9 +8009,9 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.GetIdentitiesResponseV0.de
|
|
|
6147
8009
|
* Serializes the message to binary data (in protobuf wire format).
|
|
6148
8010
|
* @return {!Uint8Array}
|
|
6149
8011
|
*/
|
|
6150
|
-
proto.org.dash.platform.dapi.v0.
|
|
8012
|
+
proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse.GetIdentityContractNonceResponseV0.prototype.serializeBinary = function() {
|
|
6151
8013
|
var writer = new jspb.BinaryWriter();
|
|
6152
|
-
proto.org.dash.platform.dapi.v0.
|
|
8014
|
+
proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse.GetIdentityContractNonceResponseV0.serializeBinaryToWriter(this, writer);
|
|
6153
8015
|
return writer.getResultBuffer();
|
|
6154
8016
|
};
|
|
6155
8017
|
|
|
@@ -6157,18 +8019,17 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.GetIdentitiesResponseV0.pr
|
|
|
6157
8019
|
/**
|
|
6158
8020
|
* Serializes the given message to binary data (in protobuf wire
|
|
6159
8021
|
* format), writing to the given BinaryWriter.
|
|
6160
|
-
* @param {!proto.org.dash.platform.dapi.v0.
|
|
8022
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse.GetIdentityContractNonceResponseV0} message
|
|
6161
8023
|
* @param {!jspb.BinaryWriter} writer
|
|
6162
8024
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6163
8025
|
*/
|
|
6164
|
-
proto.org.dash.platform.dapi.v0.
|
|
8026
|
+
proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse.GetIdentityContractNonceResponseV0.serializeBinaryToWriter = function(message, writer) {
|
|
6165
8027
|
var f = undefined;
|
|
6166
|
-
f =
|
|
8028
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 1));
|
|
6167
8029
|
if (f != null) {
|
|
6168
|
-
writer.
|
|
8030
|
+
writer.writeUint64(
|
|
6169
8031
|
1,
|
|
6170
|
-
f
|
|
6171
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.Identities.serializeBinaryToWriter
|
|
8032
|
+
f
|
|
6172
8033
|
);
|
|
6173
8034
|
}
|
|
6174
8035
|
f = message.getProof();
|
|
@@ -6191,30 +8052,29 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.GetIdentitiesResponseV0.se
|
|
|
6191
8052
|
|
|
6192
8053
|
|
|
6193
8054
|
/**
|
|
6194
|
-
* optional
|
|
6195
|
-
* @return {
|
|
8055
|
+
* optional uint64 identity_contract_nonce = 1;
|
|
8056
|
+
* @return {number}
|
|
6196
8057
|
*/
|
|
6197
|
-
proto.org.dash.platform.dapi.v0.
|
|
6198
|
-
return /** @type{
|
|
6199
|
-
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.Identities, 1));
|
|
8058
|
+
proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse.GetIdentityContractNonceResponseV0.prototype.getIdentityContractNonce = function() {
|
|
8059
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
6200
8060
|
};
|
|
6201
8061
|
|
|
6202
8062
|
|
|
6203
8063
|
/**
|
|
6204
|
-
* @param {
|
|
6205
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
6206
|
-
*/
|
|
6207
|
-
proto.org.dash.platform.dapi.v0.
|
|
6208
|
-
return jspb.Message.
|
|
8064
|
+
* @param {number} value
|
|
8065
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse.GetIdentityContractNonceResponseV0} returns this
|
|
8066
|
+
*/
|
|
8067
|
+
proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse.GetIdentityContractNonceResponseV0.prototype.setIdentityContractNonce = function(value) {
|
|
8068
|
+
return jspb.Message.setOneofField(this, 1, proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse.GetIdentityContractNonceResponseV0.oneofGroups_[0], value);
|
|
6209
8069
|
};
|
|
6210
8070
|
|
|
6211
8071
|
|
|
6212
8072
|
/**
|
|
6213
|
-
* Clears the
|
|
6214
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
8073
|
+
* Clears the field making it undefined.
|
|
8074
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse.GetIdentityContractNonceResponseV0} returns this
|
|
6215
8075
|
*/
|
|
6216
|
-
proto.org.dash.platform.dapi.v0.
|
|
6217
|
-
return this.
|
|
8076
|
+
proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse.GetIdentityContractNonceResponseV0.prototype.clearIdentityContractNonce = function() {
|
|
8077
|
+
return jspb.Message.setOneofField(this, 1, proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse.GetIdentityContractNonceResponseV0.oneofGroups_[0], undefined);
|
|
6218
8078
|
};
|
|
6219
8079
|
|
|
6220
8080
|
|
|
@@ -6222,7 +8082,7 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.GetIdentitiesResponseV0.pr
|
|
|
6222
8082
|
* Returns whether this field is set.
|
|
6223
8083
|
* @return {boolean}
|
|
6224
8084
|
*/
|
|
6225
|
-
proto.org.dash.platform.dapi.v0.
|
|
8085
|
+
proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse.GetIdentityContractNonceResponseV0.prototype.hasIdentityContractNonce = function() {
|
|
6226
8086
|
return jspb.Message.getField(this, 1) != null;
|
|
6227
8087
|
};
|
|
6228
8088
|
|
|
@@ -6231,7 +8091,7 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.GetIdentitiesResponseV0.pr
|
|
|
6231
8091
|
* optional Proof proof = 2;
|
|
6232
8092
|
* @return {?proto.org.dash.platform.dapi.v0.Proof}
|
|
6233
8093
|
*/
|
|
6234
|
-
proto.org.dash.platform.dapi.v0.
|
|
8094
|
+
proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse.GetIdentityContractNonceResponseV0.prototype.getProof = function() {
|
|
6235
8095
|
return /** @type{?proto.org.dash.platform.dapi.v0.Proof} */ (
|
|
6236
8096
|
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.Proof, 2));
|
|
6237
8097
|
};
|
|
@@ -6239,18 +8099,18 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.GetIdentitiesResponseV0.pr
|
|
|
6239
8099
|
|
|
6240
8100
|
/**
|
|
6241
8101
|
* @param {?proto.org.dash.platform.dapi.v0.Proof|undefined} value
|
|
6242
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
8102
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse.GetIdentityContractNonceResponseV0} returns this
|
|
6243
8103
|
*/
|
|
6244
|
-
proto.org.dash.platform.dapi.v0.
|
|
6245
|
-
return jspb.Message.setOneofWrapperField(this, 2, proto.org.dash.platform.dapi.v0.
|
|
8104
|
+
proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse.GetIdentityContractNonceResponseV0.prototype.setProof = function(value) {
|
|
8105
|
+
return jspb.Message.setOneofWrapperField(this, 2, proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse.GetIdentityContractNonceResponseV0.oneofGroups_[0], value);
|
|
6246
8106
|
};
|
|
6247
8107
|
|
|
6248
8108
|
|
|
6249
8109
|
/**
|
|
6250
8110
|
* Clears the message field making it undefined.
|
|
6251
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
8111
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse.GetIdentityContractNonceResponseV0} returns this
|
|
6252
8112
|
*/
|
|
6253
|
-
proto.org.dash.platform.dapi.v0.
|
|
8113
|
+
proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse.GetIdentityContractNonceResponseV0.prototype.clearProof = function() {
|
|
6254
8114
|
return this.setProof(undefined);
|
|
6255
8115
|
};
|
|
6256
8116
|
|
|
@@ -6259,7 +8119,7 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.GetIdentitiesResponseV0.pr
|
|
|
6259
8119
|
* Returns whether this field is set.
|
|
6260
8120
|
* @return {boolean}
|
|
6261
8121
|
*/
|
|
6262
|
-
proto.org.dash.platform.dapi.v0.
|
|
8122
|
+
proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse.GetIdentityContractNonceResponseV0.prototype.hasProof = function() {
|
|
6263
8123
|
return jspb.Message.getField(this, 2) != null;
|
|
6264
8124
|
};
|
|
6265
8125
|
|
|
@@ -6268,7 +8128,7 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.GetIdentitiesResponseV0.pr
|
|
|
6268
8128
|
* optional ResponseMetadata metadata = 3;
|
|
6269
8129
|
* @return {?proto.org.dash.platform.dapi.v0.ResponseMetadata}
|
|
6270
8130
|
*/
|
|
6271
|
-
proto.org.dash.platform.dapi.v0.
|
|
8131
|
+
proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse.GetIdentityContractNonceResponseV0.prototype.getMetadata = function() {
|
|
6272
8132
|
return /** @type{?proto.org.dash.platform.dapi.v0.ResponseMetadata} */ (
|
|
6273
8133
|
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.ResponseMetadata, 3));
|
|
6274
8134
|
};
|
|
@@ -6276,18 +8136,18 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.GetIdentitiesResponseV0.pr
|
|
|
6276
8136
|
|
|
6277
8137
|
/**
|
|
6278
8138
|
* @param {?proto.org.dash.platform.dapi.v0.ResponseMetadata|undefined} value
|
|
6279
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
8139
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse.GetIdentityContractNonceResponseV0} returns this
|
|
6280
8140
|
*/
|
|
6281
|
-
proto.org.dash.platform.dapi.v0.
|
|
8141
|
+
proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse.GetIdentityContractNonceResponseV0.prototype.setMetadata = function(value) {
|
|
6282
8142
|
return jspb.Message.setWrapperField(this, 3, value);
|
|
6283
8143
|
};
|
|
6284
8144
|
|
|
6285
8145
|
|
|
6286
8146
|
/**
|
|
6287
8147
|
* Clears the message field making it undefined.
|
|
6288
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
8148
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse.GetIdentityContractNonceResponseV0} returns this
|
|
6289
8149
|
*/
|
|
6290
|
-
proto.org.dash.platform.dapi.v0.
|
|
8150
|
+
proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse.GetIdentityContractNonceResponseV0.prototype.clearMetadata = function() {
|
|
6291
8151
|
return this.setMetadata(undefined);
|
|
6292
8152
|
};
|
|
6293
8153
|
|
|
@@ -6296,35 +8156,35 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.GetIdentitiesResponseV0.pr
|
|
|
6296
8156
|
* Returns whether this field is set.
|
|
6297
8157
|
* @return {boolean}
|
|
6298
8158
|
*/
|
|
6299
|
-
proto.org.dash.platform.dapi.v0.
|
|
8159
|
+
proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse.GetIdentityContractNonceResponseV0.prototype.hasMetadata = function() {
|
|
6300
8160
|
return jspb.Message.getField(this, 3) != null;
|
|
6301
8161
|
};
|
|
6302
8162
|
|
|
6303
8163
|
|
|
6304
8164
|
/**
|
|
6305
|
-
* optional
|
|
6306
|
-
* @return {?proto.org.dash.platform.dapi.v0.
|
|
8165
|
+
* optional GetIdentityContractNonceResponseV0 v0 = 1;
|
|
8166
|
+
* @return {?proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse.GetIdentityContractNonceResponseV0}
|
|
6307
8167
|
*/
|
|
6308
|
-
proto.org.dash.platform.dapi.v0.
|
|
6309
|
-
return /** @type{?proto.org.dash.platform.dapi.v0.
|
|
6310
|
-
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.
|
|
8168
|
+
proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse.prototype.getV0 = function() {
|
|
8169
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse.GetIdentityContractNonceResponseV0} */ (
|
|
8170
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse.GetIdentityContractNonceResponseV0, 1));
|
|
6311
8171
|
};
|
|
6312
8172
|
|
|
6313
8173
|
|
|
6314
8174
|
/**
|
|
6315
|
-
* @param {?proto.org.dash.platform.dapi.v0.
|
|
6316
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
8175
|
+
* @param {?proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse.GetIdentityContractNonceResponseV0|undefined} value
|
|
8176
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse} returns this
|
|
6317
8177
|
*/
|
|
6318
|
-
proto.org.dash.platform.dapi.v0.
|
|
6319
|
-
return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.
|
|
8178
|
+
proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse.prototype.setV0 = function(value) {
|
|
8179
|
+
return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse.oneofGroups_[0], value);
|
|
6320
8180
|
};
|
|
6321
8181
|
|
|
6322
8182
|
|
|
6323
8183
|
/**
|
|
6324
8184
|
* Clears the message field making it undefined.
|
|
6325
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
8185
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse} returns this
|
|
6326
8186
|
*/
|
|
6327
|
-
proto.org.dash.platform.dapi.v0.
|
|
8187
|
+
proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse.prototype.clearV0 = function() {
|
|
6328
8188
|
return this.setV0(undefined);
|
|
6329
8189
|
};
|
|
6330
8190
|
|
|
@@ -6333,7 +8193,7 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.prototype.clearV0 = functi
|
|
|
6333
8193
|
* Returns whether this field is set.
|
|
6334
8194
|
* @return {boolean}
|
|
6335
8195
|
*/
|
|
6336
|
-
proto.org.dash.platform.dapi.v0.
|
|
8196
|
+
proto.org.dash.platform.dapi.v0.GetIdentityContractNonceResponse.prototype.hasV0 = function() {
|
|
6337
8197
|
return jspb.Message.getField(this, 1) != null;
|
|
6338
8198
|
};
|
|
6339
8199
|
|
|
@@ -10055,7 +11915,8 @@ proto.org.dash.platform.dapi.v0.GetProofsRequest.GetProofsRequestV0.IdentityRequ
|
|
|
10055
11915
|
proto.org.dash.platform.dapi.v0.GetProofsRequest.GetProofsRequestV0.IdentityRequest.Type = {
|
|
10056
11916
|
FULL_IDENTITY: 0,
|
|
10057
11917
|
BALANCE: 1,
|
|
10058
|
-
KEYS: 2
|
|
11918
|
+
KEYS: 2,
|
|
11919
|
+
REVISION: 3
|
|
10059
11920
|
};
|
|
10060
11921
|
|
|
10061
11922
|
/**
|