@dashevo/dapi-grpc 0.25.0-dev.15 → 0.25.0-dev.17
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 +7 -2
- package/build.rs +10 -6
- package/clients/platform/v0/nodejs/PlatformPromiseClient.js +39 -0
- package/clients/platform/v0/nodejs/platform_pbjs.js +2136 -288
- package/clients/platform/v0/nodejs/platform_protoc.js +2186 -327
- package/clients/platform/v0/web/PlatformPromiseClient.js +15 -0
- package/clients/platform/v0/web/platform_pb.d.ts +285 -28
- package/clients/platform/v0/web/platform_pb.js +2186 -327
- package/clients/platform/v0/web/platform_pb_service.d.ts +19 -0
- package/clients/platform/v0/web/platform_pb_service.js +40 -0
- package/package.json +2 -2
- package/protos/platform/v0/platform.proto +70 -15
- package/src/core/proto/org.dash.platform.dapi.v0.rs +666 -0
- package/src/platform/proto/org.dash.platform.dapi.v0.rs +1324 -0
|
@@ -28,8 +28,14 @@ goog.exportSymbol('proto.org.dash.platform.dapi.v0.ConsensusParamsBlock', null,
|
|
|
28
28
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.ConsensusParamsEvidence', null, { proto });
|
|
29
29
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetConsensusParamsRequest', null, { proto });
|
|
30
30
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetConsensusParamsResponse', null, { proto });
|
|
31
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDataContractHistoryRequest', null, { proto });
|
|
32
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse', null, { proto });
|
|
33
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.DataContractHistory', null, { proto });
|
|
34
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.DataContractHistoryEntry', null, { proto });
|
|
35
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.ResultCase', null, { proto });
|
|
31
36
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDataContractRequest', null, { proto });
|
|
32
37
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDataContractResponse', null, { proto });
|
|
38
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDataContractResponse.ResultCase', null, { proto });
|
|
33
39
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDataContractsRequest', null, { proto });
|
|
34
40
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDataContractsResponse', null, { proto });
|
|
35
41
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDataContractsResponse.DataContractEntry', null, { proto });
|
|
@@ -39,8 +45,12 @@ goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDataContractsResponse.Resu
|
|
|
39
45
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsRequest', null, { proto });
|
|
40
46
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsRequest.StartCase', null, { proto });
|
|
41
47
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsResponse', null, { proto });
|
|
48
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsResponse.Documents', null, { proto });
|
|
49
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsResponse.ResultCase', null, { proto });
|
|
42
50
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesRequest', null, { proto });
|
|
43
51
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse', null, { proto });
|
|
52
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse.Identities', null, { proto });
|
|
53
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse.ResultCase', null, { proto });
|
|
44
54
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentitiesKeysRequest', null, { proto });
|
|
45
55
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentitiesKeysRequest.SecurityLevelMap', null, { proto });
|
|
46
56
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentitiesKeysRequest.SecurityLevelMap.KeyKindRequestType', null, { proto });
|
|
@@ -56,7 +66,10 @@ goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.Identit
|
|
|
56
66
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.IdentityValue', null, { proto });
|
|
57
67
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.ResultCase', null, { proto });
|
|
58
68
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse', null, { proto });
|
|
69
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.BalanceAndRevision', null, { proto });
|
|
70
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.ResultCase', null, { proto });
|
|
59
71
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentityBalanceResponse', null, { proto });
|
|
72
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentityBalanceResponse.ResultCase', null, { proto });
|
|
60
73
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentityByPublicKeyHashesRequest', null, { proto });
|
|
61
74
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentityByPublicKeyHashesResponse', null, { proto });
|
|
62
75
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentityByPublicKeyHashesResponse.ResultCase', null, { proto });
|
|
@@ -66,6 +79,7 @@ goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentityKeysResponse.Keys'
|
|
|
66
79
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentityKeysResponse.ResultCase', null, { proto });
|
|
67
80
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentityRequest', null, { proto });
|
|
68
81
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentityResponse', null, { proto });
|
|
82
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentityResponse.ResultCase', null, { proto });
|
|
69
83
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetProofsRequest', null, { proto });
|
|
70
84
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetProofsRequest.ContractRequest', null, { proto });
|
|
71
85
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetProofsRequest.DocumentRequest', null, { proto });
|
|
@@ -83,7 +97,7 @@ goog.exportSymbol('proto.org.dash.platform.dapi.v0.SpecificKeys', null, { proto
|
|
|
83
97
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.StateTransitionBroadcastError', null, { proto });
|
|
84
98
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultRequest', null, { proto });
|
|
85
99
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultResponse', null, { proto });
|
|
86
|
-
goog.exportSymbol('proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultResponse.
|
|
100
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultResponse.ResultCase', null, { proto });
|
|
87
101
|
/**
|
|
88
102
|
* Generated by JsPbCodeGenerator.
|
|
89
103
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -221,7 +235,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
221
235
|
* @constructor
|
|
222
236
|
*/
|
|
223
237
|
proto.org.dash.platform.dapi.v0.GetIdentityResponse = function(opt_data) {
|
|
224
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null,
|
|
238
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetIdentityResponse.oneofGroups_);
|
|
225
239
|
};
|
|
226
240
|
goog.inherits(proto.org.dash.platform.dapi.v0.GetIdentityResponse, jspb.Message);
|
|
227
241
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -347,7 +361,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
347
361
|
* @constructor
|
|
348
362
|
*/
|
|
349
363
|
proto.org.dash.platform.dapi.v0.GetIdentityBalanceResponse = function(opt_data) {
|
|
350
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null,
|
|
364
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetIdentityBalanceResponse.oneofGroups_);
|
|
351
365
|
};
|
|
352
366
|
goog.inherits(proto.org.dash.platform.dapi.v0.GetIdentityBalanceResponse, jspb.Message);
|
|
353
367
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -368,7 +382,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
368
382
|
* @constructor
|
|
369
383
|
*/
|
|
370
384
|
proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse = function(opt_data) {
|
|
371
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null,
|
|
385
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.oneofGroups_);
|
|
372
386
|
};
|
|
373
387
|
goog.inherits(proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse, jspb.Message);
|
|
374
388
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -378,6 +392,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
378
392
|
*/
|
|
379
393
|
proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.displayName = 'proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse';
|
|
380
394
|
}
|
|
395
|
+
/**
|
|
396
|
+
* Generated by JsPbCodeGenerator.
|
|
397
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
398
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
399
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
400
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
401
|
+
* valid.
|
|
402
|
+
* @extends {jspb.Message}
|
|
403
|
+
* @constructor
|
|
404
|
+
*/
|
|
405
|
+
proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.BalanceAndRevision = function(opt_data) {
|
|
406
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
407
|
+
};
|
|
408
|
+
goog.inherits(proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.BalanceAndRevision, jspb.Message);
|
|
409
|
+
if (goog.DEBUG && !COMPILED) {
|
|
410
|
+
/**
|
|
411
|
+
* @public
|
|
412
|
+
* @override
|
|
413
|
+
*/
|
|
414
|
+
proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.BalanceAndRevision.displayName = 'proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.BalanceAndRevision';
|
|
415
|
+
}
|
|
381
416
|
/**
|
|
382
417
|
* Generated by JsPbCodeGenerator.
|
|
383
418
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -809,7 +844,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
809
844
|
* @constructor
|
|
810
845
|
*/
|
|
811
846
|
proto.org.dash.platform.dapi.v0.GetDataContractResponse = function(opt_data) {
|
|
812
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null,
|
|
847
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetDataContractResponse.oneofGroups_);
|
|
813
848
|
};
|
|
814
849
|
goog.inherits(proto.org.dash.platform.dapi.v0.GetDataContractResponse, jspb.Message);
|
|
815
850
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -924,6 +959,90 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
924
959
|
*/
|
|
925
960
|
proto.org.dash.platform.dapi.v0.GetDataContractsResponse.DataContracts.displayName = 'proto.org.dash.platform.dapi.v0.GetDataContractsResponse.DataContracts';
|
|
926
961
|
}
|
|
962
|
+
/**
|
|
963
|
+
* Generated by JsPbCodeGenerator.
|
|
964
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
965
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
966
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
967
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
968
|
+
* valid.
|
|
969
|
+
* @extends {jspb.Message}
|
|
970
|
+
* @constructor
|
|
971
|
+
*/
|
|
972
|
+
proto.org.dash.platform.dapi.v0.GetDataContractHistoryRequest = function(opt_data) {
|
|
973
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
974
|
+
};
|
|
975
|
+
goog.inherits(proto.org.dash.platform.dapi.v0.GetDataContractHistoryRequest, jspb.Message);
|
|
976
|
+
if (goog.DEBUG && !COMPILED) {
|
|
977
|
+
/**
|
|
978
|
+
* @public
|
|
979
|
+
* @override
|
|
980
|
+
*/
|
|
981
|
+
proto.org.dash.platform.dapi.v0.GetDataContractHistoryRequest.displayName = 'proto.org.dash.platform.dapi.v0.GetDataContractHistoryRequest';
|
|
982
|
+
}
|
|
983
|
+
/**
|
|
984
|
+
* Generated by JsPbCodeGenerator.
|
|
985
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
986
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
987
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
988
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
989
|
+
* valid.
|
|
990
|
+
* @extends {jspb.Message}
|
|
991
|
+
* @constructor
|
|
992
|
+
*/
|
|
993
|
+
proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse = function(opt_data) {
|
|
994
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.oneofGroups_);
|
|
995
|
+
};
|
|
996
|
+
goog.inherits(proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse, jspb.Message);
|
|
997
|
+
if (goog.DEBUG && !COMPILED) {
|
|
998
|
+
/**
|
|
999
|
+
* @public
|
|
1000
|
+
* @override
|
|
1001
|
+
*/
|
|
1002
|
+
proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.displayName = 'proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse';
|
|
1003
|
+
}
|
|
1004
|
+
/**
|
|
1005
|
+
* Generated by JsPbCodeGenerator.
|
|
1006
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1007
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1008
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1009
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1010
|
+
* valid.
|
|
1011
|
+
* @extends {jspb.Message}
|
|
1012
|
+
* @constructor
|
|
1013
|
+
*/
|
|
1014
|
+
proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.DataContractHistoryEntry = function(opt_data) {
|
|
1015
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1016
|
+
};
|
|
1017
|
+
goog.inherits(proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.DataContractHistoryEntry, jspb.Message);
|
|
1018
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1019
|
+
/**
|
|
1020
|
+
* @public
|
|
1021
|
+
* @override
|
|
1022
|
+
*/
|
|
1023
|
+
proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.DataContractHistoryEntry.displayName = 'proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.DataContractHistoryEntry';
|
|
1024
|
+
}
|
|
1025
|
+
/**
|
|
1026
|
+
* Generated by JsPbCodeGenerator.
|
|
1027
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1028
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1029
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1030
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1031
|
+
* valid.
|
|
1032
|
+
* @extends {jspb.Message}
|
|
1033
|
+
* @constructor
|
|
1034
|
+
*/
|
|
1035
|
+
proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.DataContractHistory = function(opt_data) {
|
|
1036
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.DataContractHistory.repeatedFields_, null);
|
|
1037
|
+
};
|
|
1038
|
+
goog.inherits(proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.DataContractHistory, jspb.Message);
|
|
1039
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1040
|
+
/**
|
|
1041
|
+
* @public
|
|
1042
|
+
* @override
|
|
1043
|
+
*/
|
|
1044
|
+
proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.DataContractHistory.displayName = 'proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.DataContractHistory';
|
|
1045
|
+
}
|
|
927
1046
|
/**
|
|
928
1047
|
* Generated by JsPbCodeGenerator.
|
|
929
1048
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -956,7 +1075,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
956
1075
|
* @constructor
|
|
957
1076
|
*/
|
|
958
1077
|
proto.org.dash.platform.dapi.v0.GetDocumentsResponse = function(opt_data) {
|
|
959
|
-
jspb.Message.initialize(this, opt_data, 0, -1, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.
|
|
1078
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.oneofGroups_);
|
|
960
1079
|
};
|
|
961
1080
|
goog.inherits(proto.org.dash.platform.dapi.v0.GetDocumentsResponse, jspb.Message);
|
|
962
1081
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -966,6 +1085,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
966
1085
|
*/
|
|
967
1086
|
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.displayName = 'proto.org.dash.platform.dapi.v0.GetDocumentsResponse';
|
|
968
1087
|
}
|
|
1088
|
+
/**
|
|
1089
|
+
* Generated by JsPbCodeGenerator.
|
|
1090
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1091
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1092
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1093
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1094
|
+
* valid.
|
|
1095
|
+
* @extends {jspb.Message}
|
|
1096
|
+
* @constructor
|
|
1097
|
+
*/
|
|
1098
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.Documents = function(opt_data) {
|
|
1099
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.Documents.repeatedFields_, null);
|
|
1100
|
+
};
|
|
1101
|
+
goog.inherits(proto.org.dash.platform.dapi.v0.GetDocumentsResponse.Documents, jspb.Message);
|
|
1102
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1103
|
+
/**
|
|
1104
|
+
* @public
|
|
1105
|
+
* @override
|
|
1106
|
+
*/
|
|
1107
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.Documents.displayName = 'proto.org.dash.platform.dapi.v0.GetDocumentsResponse.Documents';
|
|
1108
|
+
}
|
|
969
1109
|
/**
|
|
970
1110
|
* Generated by JsPbCodeGenerator.
|
|
971
1111
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -998,7 +1138,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
998
1138
|
* @constructor
|
|
999
1139
|
*/
|
|
1000
1140
|
proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse = function(opt_data) {
|
|
1001
|
-
jspb.Message.initialize(this, opt_data, 0, -1, proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse.
|
|
1141
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse.oneofGroups_);
|
|
1002
1142
|
};
|
|
1003
1143
|
goog.inherits(proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse, jspb.Message);
|
|
1004
1144
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -1008,6 +1148,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1008
1148
|
*/
|
|
1009
1149
|
proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse.displayName = 'proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse';
|
|
1010
1150
|
}
|
|
1151
|
+
/**
|
|
1152
|
+
* Generated by JsPbCodeGenerator.
|
|
1153
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1154
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1155
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1156
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1157
|
+
* valid.
|
|
1158
|
+
* @extends {jspb.Message}
|
|
1159
|
+
* @constructor
|
|
1160
|
+
*/
|
|
1161
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse.Identities = function(opt_data) {
|
|
1162
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse.Identities.repeatedFields_, null);
|
|
1163
|
+
};
|
|
1164
|
+
goog.inherits(proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse.Identities, jspb.Message);
|
|
1165
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1166
|
+
/**
|
|
1167
|
+
* @public
|
|
1168
|
+
* @override
|
|
1169
|
+
*/
|
|
1170
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse.Identities.displayName = 'proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse.Identities';
|
|
1171
|
+
}
|
|
1011
1172
|
/**
|
|
1012
1173
|
* Generated by JsPbCodeGenerator.
|
|
1013
1174
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -1211,7 +1372,9 @@ proto.org.dash.platform.dapi.v0.Proof.toObject = function(includeInstance, msg)
|
|
|
1211
1372
|
grovedbProof: msg.getGrovedbProof_asB64(),
|
|
1212
1373
|
quorumHash: msg.getQuorumHash_asB64(),
|
|
1213
1374
|
signature: msg.getSignature_asB64(),
|
|
1214
|
-
round: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
1375
|
+
round: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
1376
|
+
blockIdHash: msg.getBlockIdHash_asB64(),
|
|
1377
|
+
quorumType: jspb.Message.getFieldWithDefault(msg, 6, 0)
|
|
1215
1378
|
};
|
|
1216
1379
|
|
|
1217
1380
|
if (includeInstance) {
|
|
@@ -1264,6 +1427,14 @@ proto.org.dash.platform.dapi.v0.Proof.deserializeBinaryFromReader = function(msg
|
|
|
1264
1427
|
var value = /** @type {number} */ (reader.readUint32());
|
|
1265
1428
|
msg.setRound(value);
|
|
1266
1429
|
break;
|
|
1430
|
+
case 5:
|
|
1431
|
+
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
1432
|
+
msg.setBlockIdHash(value);
|
|
1433
|
+
break;
|
|
1434
|
+
case 6:
|
|
1435
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
1436
|
+
msg.setQuorumType(value);
|
|
1437
|
+
break;
|
|
1267
1438
|
default:
|
|
1268
1439
|
reader.skipField();
|
|
1269
1440
|
break;
|
|
@@ -1321,6 +1492,20 @@ proto.org.dash.platform.dapi.v0.Proof.serializeBinaryToWriter = function(message
|
|
|
1321
1492
|
f
|
|
1322
1493
|
);
|
|
1323
1494
|
}
|
|
1495
|
+
f = message.getBlockIdHash_asU8();
|
|
1496
|
+
if (f.length > 0) {
|
|
1497
|
+
writer.writeBytes(
|
|
1498
|
+
5,
|
|
1499
|
+
f
|
|
1500
|
+
);
|
|
1501
|
+
}
|
|
1502
|
+
f = message.getQuorumType();
|
|
1503
|
+
if (f !== 0) {
|
|
1504
|
+
writer.writeUint32(
|
|
1505
|
+
6,
|
|
1506
|
+
f
|
|
1507
|
+
);
|
|
1508
|
+
}
|
|
1324
1509
|
};
|
|
1325
1510
|
|
|
1326
1511
|
|
|
@@ -1468,6 +1653,66 @@ proto.org.dash.platform.dapi.v0.Proof.prototype.setRound = function(value) {
|
|
|
1468
1653
|
};
|
|
1469
1654
|
|
|
1470
1655
|
|
|
1656
|
+
/**
|
|
1657
|
+
* optional bytes block_id_hash = 5;
|
|
1658
|
+
* @return {string}
|
|
1659
|
+
*/
|
|
1660
|
+
proto.org.dash.platform.dapi.v0.Proof.prototype.getBlockIdHash = function() {
|
|
1661
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
1662
|
+
};
|
|
1663
|
+
|
|
1664
|
+
|
|
1665
|
+
/**
|
|
1666
|
+
* optional bytes block_id_hash = 5;
|
|
1667
|
+
* This is a type-conversion wrapper around `getBlockIdHash()`
|
|
1668
|
+
* @return {string}
|
|
1669
|
+
*/
|
|
1670
|
+
proto.org.dash.platform.dapi.v0.Proof.prototype.getBlockIdHash_asB64 = function() {
|
|
1671
|
+
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
1672
|
+
this.getBlockIdHash()));
|
|
1673
|
+
};
|
|
1674
|
+
|
|
1675
|
+
|
|
1676
|
+
/**
|
|
1677
|
+
* optional bytes block_id_hash = 5;
|
|
1678
|
+
* Note that Uint8Array is not supported on all browsers.
|
|
1679
|
+
* @see http://caniuse.com/Uint8Array
|
|
1680
|
+
* This is a type-conversion wrapper around `getBlockIdHash()`
|
|
1681
|
+
* @return {!Uint8Array}
|
|
1682
|
+
*/
|
|
1683
|
+
proto.org.dash.platform.dapi.v0.Proof.prototype.getBlockIdHash_asU8 = function() {
|
|
1684
|
+
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
1685
|
+
this.getBlockIdHash()));
|
|
1686
|
+
};
|
|
1687
|
+
|
|
1688
|
+
|
|
1689
|
+
/**
|
|
1690
|
+
* @param {!(string|Uint8Array)} value
|
|
1691
|
+
* @return {!proto.org.dash.platform.dapi.v0.Proof} returns this
|
|
1692
|
+
*/
|
|
1693
|
+
proto.org.dash.platform.dapi.v0.Proof.prototype.setBlockIdHash = function(value) {
|
|
1694
|
+
return jspb.Message.setProto3BytesField(this, 5, value);
|
|
1695
|
+
};
|
|
1696
|
+
|
|
1697
|
+
|
|
1698
|
+
/**
|
|
1699
|
+
* optional uint32 quorum_type = 6;
|
|
1700
|
+
* @return {number}
|
|
1701
|
+
*/
|
|
1702
|
+
proto.org.dash.platform.dapi.v0.Proof.prototype.getQuorumType = function() {
|
|
1703
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
1704
|
+
};
|
|
1705
|
+
|
|
1706
|
+
|
|
1707
|
+
/**
|
|
1708
|
+
* @param {number} value
|
|
1709
|
+
* @return {!proto.org.dash.platform.dapi.v0.Proof} returns this
|
|
1710
|
+
*/
|
|
1711
|
+
proto.org.dash.platform.dapi.v0.Proof.prototype.setQuorumType = function(value) {
|
|
1712
|
+
return jspb.Message.setProto3IntField(this, 6, value);
|
|
1713
|
+
};
|
|
1714
|
+
|
|
1715
|
+
|
|
1471
1716
|
|
|
1472
1717
|
|
|
1473
1718
|
|
|
@@ -1503,7 +1748,8 @@ proto.org.dash.platform.dapi.v0.ResponseMetadata.toObject = function(includeInst
|
|
|
1503
1748
|
height: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
1504
1749
|
coreChainLockedHeight: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
1505
1750
|
timeMs: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
1506
|
-
protocolVersion: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
1751
|
+
protocolVersion: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
1752
|
+
chainId: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
1507
1753
|
};
|
|
1508
1754
|
|
|
1509
1755
|
if (includeInstance) {
|
|
@@ -1556,6 +1802,10 @@ proto.org.dash.platform.dapi.v0.ResponseMetadata.deserializeBinaryFromReader = f
|
|
|
1556
1802
|
var value = /** @type {number} */ (reader.readUint32());
|
|
1557
1803
|
msg.setProtocolVersion(value);
|
|
1558
1804
|
break;
|
|
1805
|
+
case 5:
|
|
1806
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1807
|
+
msg.setChainId(value);
|
|
1808
|
+
break;
|
|
1559
1809
|
default:
|
|
1560
1810
|
reader.skipField();
|
|
1561
1811
|
break;
|
|
@@ -1613,6 +1863,13 @@ proto.org.dash.platform.dapi.v0.ResponseMetadata.serializeBinaryToWriter = funct
|
|
|
1613
1863
|
f
|
|
1614
1864
|
);
|
|
1615
1865
|
}
|
|
1866
|
+
f = message.getChainId();
|
|
1867
|
+
if (f.length > 0) {
|
|
1868
|
+
writer.writeString(
|
|
1869
|
+
5,
|
|
1870
|
+
f
|
|
1871
|
+
);
|
|
1872
|
+
}
|
|
1616
1873
|
};
|
|
1617
1874
|
|
|
1618
1875
|
|
|
@@ -1688,6 +1945,24 @@ proto.org.dash.platform.dapi.v0.ResponseMetadata.prototype.setProtocolVersion =
|
|
|
1688
1945
|
};
|
|
1689
1946
|
|
|
1690
1947
|
|
|
1948
|
+
/**
|
|
1949
|
+
* optional string chain_id = 5;
|
|
1950
|
+
* @return {string}
|
|
1951
|
+
*/
|
|
1952
|
+
proto.org.dash.platform.dapi.v0.ResponseMetadata.prototype.getChainId = function() {
|
|
1953
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
1954
|
+
};
|
|
1955
|
+
|
|
1956
|
+
|
|
1957
|
+
/**
|
|
1958
|
+
* @param {string} value
|
|
1959
|
+
* @return {!proto.org.dash.platform.dapi.v0.ResponseMetadata} returns this
|
|
1960
|
+
*/
|
|
1961
|
+
proto.org.dash.platform.dapi.v0.ResponseMetadata.prototype.setChainId = function(value) {
|
|
1962
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
1963
|
+
};
|
|
1964
|
+
|
|
1965
|
+
|
|
1691
1966
|
|
|
1692
1967
|
|
|
1693
1968
|
|
|
@@ -2342,6 +2617,32 @@ proto.org.dash.platform.dapi.v0.GetIdentityRequest.prototype.setProve = function
|
|
|
2342
2617
|
|
|
2343
2618
|
|
|
2344
2619
|
|
|
2620
|
+
/**
|
|
2621
|
+
* Oneof group definitions for this message. Each group defines the field
|
|
2622
|
+
* numbers belonging to that group. When of these fields' value is set, all
|
|
2623
|
+
* other fields in the group are cleared. During deserialization, if multiple
|
|
2624
|
+
* fields are encountered for a group, only the last value seen will be kept.
|
|
2625
|
+
* @private {!Array<!Array<number>>}
|
|
2626
|
+
* @const
|
|
2627
|
+
*/
|
|
2628
|
+
proto.org.dash.platform.dapi.v0.GetIdentityResponse.oneofGroups_ = [[1,2]];
|
|
2629
|
+
|
|
2630
|
+
/**
|
|
2631
|
+
* @enum {number}
|
|
2632
|
+
*/
|
|
2633
|
+
proto.org.dash.platform.dapi.v0.GetIdentityResponse.ResultCase = {
|
|
2634
|
+
RESULT_NOT_SET: 0,
|
|
2635
|
+
IDENTITY: 1,
|
|
2636
|
+
PROOF: 2
|
|
2637
|
+
};
|
|
2638
|
+
|
|
2639
|
+
/**
|
|
2640
|
+
* @return {proto.org.dash.platform.dapi.v0.GetIdentityResponse.ResultCase}
|
|
2641
|
+
*/
|
|
2642
|
+
proto.org.dash.platform.dapi.v0.GetIdentityResponse.prototype.getResultCase = function() {
|
|
2643
|
+
return /** @type {proto.org.dash.platform.dapi.v0.GetIdentityResponse.ResultCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetIdentityResponse.oneofGroups_[0]));
|
|
2644
|
+
};
|
|
2645
|
+
|
|
2345
2646
|
|
|
2346
2647
|
|
|
2347
2648
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -2455,8 +2756,8 @@ proto.org.dash.platform.dapi.v0.GetIdentityResponse.prototype.serializeBinary =
|
|
|
2455
2756
|
*/
|
|
2456
2757
|
proto.org.dash.platform.dapi.v0.GetIdentityResponse.serializeBinaryToWriter = function(message, writer) {
|
|
2457
2758
|
var f = undefined;
|
|
2458
|
-
f =
|
|
2459
|
-
if (f
|
|
2759
|
+
f = /** @type {!(string|Uint8Array)} */ (jspb.Message.getField(message, 1));
|
|
2760
|
+
if (f != null) {
|
|
2460
2761
|
writer.writeBytes(
|
|
2461
2762
|
1,
|
|
2462
2763
|
f
|
|
@@ -2519,7 +2820,25 @@ proto.org.dash.platform.dapi.v0.GetIdentityResponse.prototype.getIdentity_asU8 =
|
|
|
2519
2820
|
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityResponse} returns this
|
|
2520
2821
|
*/
|
|
2521
2822
|
proto.org.dash.platform.dapi.v0.GetIdentityResponse.prototype.setIdentity = function(value) {
|
|
2522
|
-
return jspb.Message.
|
|
2823
|
+
return jspb.Message.setOneofField(this, 1, proto.org.dash.platform.dapi.v0.GetIdentityResponse.oneofGroups_[0], value);
|
|
2824
|
+
};
|
|
2825
|
+
|
|
2826
|
+
|
|
2827
|
+
/**
|
|
2828
|
+
* Clears the field making it undefined.
|
|
2829
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityResponse} returns this
|
|
2830
|
+
*/
|
|
2831
|
+
proto.org.dash.platform.dapi.v0.GetIdentityResponse.prototype.clearIdentity = function() {
|
|
2832
|
+
return jspb.Message.setOneofField(this, 1, proto.org.dash.platform.dapi.v0.GetIdentityResponse.oneofGroups_[0], undefined);
|
|
2833
|
+
};
|
|
2834
|
+
|
|
2835
|
+
|
|
2836
|
+
/**
|
|
2837
|
+
* Returns whether this field is set.
|
|
2838
|
+
* @return {boolean}
|
|
2839
|
+
*/
|
|
2840
|
+
proto.org.dash.platform.dapi.v0.GetIdentityResponse.prototype.hasIdentity = function() {
|
|
2841
|
+
return jspb.Message.getField(this, 1) != null;
|
|
2523
2842
|
};
|
|
2524
2843
|
|
|
2525
2844
|
|
|
@@ -2538,7 +2857,7 @@ proto.org.dash.platform.dapi.v0.GetIdentityResponse.prototype.getProof = functio
|
|
|
2538
2857
|
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityResponse} returns this
|
|
2539
2858
|
*/
|
|
2540
2859
|
proto.org.dash.platform.dapi.v0.GetIdentityResponse.prototype.setProof = function(value) {
|
|
2541
|
-
return jspb.Message.
|
|
2860
|
+
return jspb.Message.setOneofWrapperField(this, 2, proto.org.dash.platform.dapi.v0.GetIdentityResponse.oneofGroups_[0], value);
|
|
2542
2861
|
};
|
|
2543
2862
|
|
|
2544
2863
|
|
|
@@ -3606,14 +3925,40 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesResponse.prototype.hasMetadata = fu
|
|
|
3606
3925
|
|
|
3607
3926
|
|
|
3608
3927
|
|
|
3609
|
-
|
|
3610
|
-
|
|
3611
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3612
3928
|
/**
|
|
3613
|
-
*
|
|
3614
|
-
*
|
|
3615
|
-
*
|
|
3616
|
-
*
|
|
3929
|
+
* Oneof group definitions for this message. Each group defines the field
|
|
3930
|
+
* numbers belonging to that group. When of these fields' value is set, all
|
|
3931
|
+
* other fields in the group are cleared. During deserialization, if multiple
|
|
3932
|
+
* fields are encountered for a group, only the last value seen will be kept.
|
|
3933
|
+
* @private {!Array<!Array<number>>}
|
|
3934
|
+
* @const
|
|
3935
|
+
*/
|
|
3936
|
+
proto.org.dash.platform.dapi.v0.GetIdentityBalanceResponse.oneofGroups_ = [[1,2]];
|
|
3937
|
+
|
|
3938
|
+
/**
|
|
3939
|
+
* @enum {number}
|
|
3940
|
+
*/
|
|
3941
|
+
proto.org.dash.platform.dapi.v0.GetIdentityBalanceResponse.ResultCase = {
|
|
3942
|
+
RESULT_NOT_SET: 0,
|
|
3943
|
+
BALANCE: 1,
|
|
3944
|
+
PROOF: 2
|
|
3945
|
+
};
|
|
3946
|
+
|
|
3947
|
+
/**
|
|
3948
|
+
* @return {proto.org.dash.platform.dapi.v0.GetIdentityBalanceResponse.ResultCase}
|
|
3949
|
+
*/
|
|
3950
|
+
proto.org.dash.platform.dapi.v0.GetIdentityBalanceResponse.prototype.getResultCase = function() {
|
|
3951
|
+
return /** @type {proto.org.dash.platform.dapi.v0.GetIdentityBalanceResponse.ResultCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetIdentityBalanceResponse.oneofGroups_[0]));
|
|
3952
|
+
};
|
|
3953
|
+
|
|
3954
|
+
|
|
3955
|
+
|
|
3956
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3957
|
+
/**
|
|
3958
|
+
* Creates an object representation of this proto.
|
|
3959
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3960
|
+
* Optional fields that are not set will be set to undefined.
|
|
3961
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3617
3962
|
* For the list of reserved names please see:
|
|
3618
3963
|
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3619
3964
|
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
@@ -3762,7 +4107,7 @@ proto.org.dash.platform.dapi.v0.GetIdentityBalanceResponse.prototype.getBalance
|
|
|
3762
4107
|
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityBalanceResponse} returns this
|
|
3763
4108
|
*/
|
|
3764
4109
|
proto.org.dash.platform.dapi.v0.GetIdentityBalanceResponse.prototype.setBalance = function(value) {
|
|
3765
|
-
return jspb.Message.
|
|
4110
|
+
return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetIdentityBalanceResponse.oneofGroups_[0], value);
|
|
3766
4111
|
};
|
|
3767
4112
|
|
|
3768
4113
|
|
|
@@ -3799,7 +4144,7 @@ proto.org.dash.platform.dapi.v0.GetIdentityBalanceResponse.prototype.getProof =
|
|
|
3799
4144
|
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityBalanceResponse} returns this
|
|
3800
4145
|
*/
|
|
3801
4146
|
proto.org.dash.platform.dapi.v0.GetIdentityBalanceResponse.prototype.setProof = function(value) {
|
|
3802
|
-
return jspb.Message.
|
|
4147
|
+
return jspb.Message.setOneofWrapperField(this, 2, proto.org.dash.platform.dapi.v0.GetIdentityBalanceResponse.oneofGroups_[0], value);
|
|
3803
4148
|
};
|
|
3804
4149
|
|
|
3805
4150
|
|
|
@@ -3859,6 +4204,32 @@ proto.org.dash.platform.dapi.v0.GetIdentityBalanceResponse.prototype.hasMetadata
|
|
|
3859
4204
|
|
|
3860
4205
|
|
|
3861
4206
|
|
|
4207
|
+
/**
|
|
4208
|
+
* Oneof group definitions for this message. Each group defines the field
|
|
4209
|
+
* numbers belonging to that group. When of these fields' value is set, all
|
|
4210
|
+
* other fields in the group are cleared. During deserialization, if multiple
|
|
4211
|
+
* fields are encountered for a group, only the last value seen will be kept.
|
|
4212
|
+
* @private {!Array<!Array<number>>}
|
|
4213
|
+
* @const
|
|
4214
|
+
*/
|
|
4215
|
+
proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.oneofGroups_ = [[1,2]];
|
|
4216
|
+
|
|
4217
|
+
/**
|
|
4218
|
+
* @enum {number}
|
|
4219
|
+
*/
|
|
4220
|
+
proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.ResultCase = {
|
|
4221
|
+
RESULT_NOT_SET: 0,
|
|
4222
|
+
BALANCE_AND_REVISION: 1,
|
|
4223
|
+
PROOF: 2
|
|
4224
|
+
};
|
|
4225
|
+
|
|
4226
|
+
/**
|
|
4227
|
+
* @return {proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.ResultCase}
|
|
4228
|
+
*/
|
|
4229
|
+
proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.prototype.getResultCase = function() {
|
|
4230
|
+
return /** @type {proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.ResultCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.oneofGroups_[0]));
|
|
4231
|
+
};
|
|
4232
|
+
|
|
3862
4233
|
|
|
3863
4234
|
|
|
3864
4235
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -3890,8 +4261,7 @@ proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.prototype.
|
|
|
3890
4261
|
*/
|
|
3891
4262
|
proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.toObject = function(includeInstance, msg) {
|
|
3892
4263
|
var f, obj = {
|
|
3893
|
-
|
|
3894
|
-
revision: (f = msg.getRevision()) && google_protobuf_wrappers_pb.UInt64Value.toObject(includeInstance, f),
|
|
4264
|
+
balanceAndRevision: (f = msg.getBalanceAndRevision()) && proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.BalanceAndRevision.toObject(includeInstance, f),
|
|
3895
4265
|
proof: (f = msg.getProof()) && proto.org.dash.platform.dapi.v0.Proof.toObject(includeInstance, f),
|
|
3896
4266
|
metadata: (f = msg.getMetadata()) && proto.org.dash.platform.dapi.v0.ResponseMetadata.toObject(includeInstance, f)
|
|
3897
4267
|
};
|
|
@@ -3931,21 +4301,16 @@ proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.deserializ
|
|
|
3931
4301
|
var field = reader.getFieldNumber();
|
|
3932
4302
|
switch (field) {
|
|
3933
4303
|
case 1:
|
|
3934
|
-
var value = new
|
|
3935
|
-
reader.readMessage(value,
|
|
3936
|
-
msg.
|
|
4304
|
+
var value = new proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.BalanceAndRevision;
|
|
4305
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.BalanceAndRevision.deserializeBinaryFromReader);
|
|
4306
|
+
msg.setBalanceAndRevision(value);
|
|
3937
4307
|
break;
|
|
3938
4308
|
case 2:
|
|
3939
|
-
var value = new google_protobuf_wrappers_pb.UInt64Value;
|
|
3940
|
-
reader.readMessage(value,google_protobuf_wrappers_pb.UInt64Value.deserializeBinaryFromReader);
|
|
3941
|
-
msg.setRevision(value);
|
|
3942
|
-
break;
|
|
3943
|
-
case 3:
|
|
3944
4309
|
var value = new proto.org.dash.platform.dapi.v0.Proof;
|
|
3945
4310
|
reader.readMessage(value,proto.org.dash.platform.dapi.v0.Proof.deserializeBinaryFromReader);
|
|
3946
4311
|
msg.setProof(value);
|
|
3947
4312
|
break;
|
|
3948
|
-
case
|
|
4313
|
+
case 3:
|
|
3949
4314
|
var value = new proto.org.dash.platform.dapi.v0.ResponseMetadata;
|
|
3950
4315
|
reader.readMessage(value,proto.org.dash.platform.dapi.v0.ResponseMetadata.deserializeBinaryFromReader);
|
|
3951
4316
|
msg.setMetadata(value);
|
|
@@ -3979,36 +4344,156 @@ proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.prototype.
|
|
|
3979
4344
|
*/
|
|
3980
4345
|
proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.serializeBinaryToWriter = function(message, writer) {
|
|
3981
4346
|
var f = undefined;
|
|
3982
|
-
f = message.
|
|
4347
|
+
f = message.getBalanceAndRevision();
|
|
3983
4348
|
if (f != null) {
|
|
3984
4349
|
writer.writeMessage(
|
|
3985
4350
|
1,
|
|
3986
4351
|
f,
|
|
3987
|
-
|
|
4352
|
+
proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.BalanceAndRevision.serializeBinaryToWriter
|
|
3988
4353
|
);
|
|
3989
4354
|
}
|
|
3990
|
-
f = message.
|
|
4355
|
+
f = message.getProof();
|
|
3991
4356
|
if (f != null) {
|
|
3992
4357
|
writer.writeMessage(
|
|
3993
4358
|
2,
|
|
3994
4359
|
f,
|
|
3995
|
-
|
|
4360
|
+
proto.org.dash.platform.dapi.v0.Proof.serializeBinaryToWriter
|
|
3996
4361
|
);
|
|
3997
4362
|
}
|
|
3998
|
-
f = message.
|
|
4363
|
+
f = message.getMetadata();
|
|
3999
4364
|
if (f != null) {
|
|
4000
4365
|
writer.writeMessage(
|
|
4001
4366
|
3,
|
|
4002
4367
|
f,
|
|
4003
|
-
proto.org.dash.platform.dapi.v0.
|
|
4368
|
+
proto.org.dash.platform.dapi.v0.ResponseMetadata.serializeBinaryToWriter
|
|
4004
4369
|
);
|
|
4005
4370
|
}
|
|
4006
|
-
|
|
4371
|
+
};
|
|
4372
|
+
|
|
4373
|
+
|
|
4374
|
+
|
|
4375
|
+
|
|
4376
|
+
|
|
4377
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4378
|
+
/**
|
|
4379
|
+
* Creates an object representation of this proto.
|
|
4380
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4381
|
+
* Optional fields that are not set will be set to undefined.
|
|
4382
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4383
|
+
* For the list of reserved names please see:
|
|
4384
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
4385
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
4386
|
+
* JSPB instance for transitional soy proto support:
|
|
4387
|
+
* http://goto/soy-param-migration
|
|
4388
|
+
* @return {!Object}
|
|
4389
|
+
*/
|
|
4390
|
+
proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.BalanceAndRevision.prototype.toObject = function(opt_includeInstance) {
|
|
4391
|
+
return proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.BalanceAndRevision.toObject(opt_includeInstance, this);
|
|
4392
|
+
};
|
|
4393
|
+
|
|
4394
|
+
|
|
4395
|
+
/**
|
|
4396
|
+
* Static version of the {@see toObject} method.
|
|
4397
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4398
|
+
* the JSPB instance for transitional soy proto support:
|
|
4399
|
+
* http://goto/soy-param-migration
|
|
4400
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.BalanceAndRevision} msg The msg instance to transform.
|
|
4401
|
+
* @return {!Object}
|
|
4402
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4403
|
+
*/
|
|
4404
|
+
proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.BalanceAndRevision.toObject = function(includeInstance, msg) {
|
|
4405
|
+
var f, obj = {
|
|
4406
|
+
balance: (f = msg.getBalance()) && google_protobuf_wrappers_pb.UInt64Value.toObject(includeInstance, f),
|
|
4407
|
+
revision: (f = msg.getRevision()) && google_protobuf_wrappers_pb.UInt64Value.toObject(includeInstance, f)
|
|
4408
|
+
};
|
|
4409
|
+
|
|
4410
|
+
if (includeInstance) {
|
|
4411
|
+
obj.$jspbMessageInstance = msg;
|
|
4412
|
+
}
|
|
4413
|
+
return obj;
|
|
4414
|
+
};
|
|
4415
|
+
}
|
|
4416
|
+
|
|
4417
|
+
|
|
4418
|
+
/**
|
|
4419
|
+
* Deserializes binary data (in protobuf wire format).
|
|
4420
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4421
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.BalanceAndRevision}
|
|
4422
|
+
*/
|
|
4423
|
+
proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.BalanceAndRevision.deserializeBinary = function(bytes) {
|
|
4424
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
4425
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.BalanceAndRevision;
|
|
4426
|
+
return proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.BalanceAndRevision.deserializeBinaryFromReader(msg, reader);
|
|
4427
|
+
};
|
|
4428
|
+
|
|
4429
|
+
|
|
4430
|
+
/**
|
|
4431
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
4432
|
+
* given reader into the given message object.
|
|
4433
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.BalanceAndRevision} msg The message object to deserialize into.
|
|
4434
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4435
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.BalanceAndRevision}
|
|
4436
|
+
*/
|
|
4437
|
+
proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.BalanceAndRevision.deserializeBinaryFromReader = function(msg, reader) {
|
|
4438
|
+
while (reader.nextField()) {
|
|
4439
|
+
if (reader.isEndGroup()) {
|
|
4440
|
+
break;
|
|
4441
|
+
}
|
|
4442
|
+
var field = reader.getFieldNumber();
|
|
4443
|
+
switch (field) {
|
|
4444
|
+
case 1:
|
|
4445
|
+
var value = new google_protobuf_wrappers_pb.UInt64Value;
|
|
4446
|
+
reader.readMessage(value,google_protobuf_wrappers_pb.UInt64Value.deserializeBinaryFromReader);
|
|
4447
|
+
msg.setBalance(value);
|
|
4448
|
+
break;
|
|
4449
|
+
case 2:
|
|
4450
|
+
var value = new google_protobuf_wrappers_pb.UInt64Value;
|
|
4451
|
+
reader.readMessage(value,google_protobuf_wrappers_pb.UInt64Value.deserializeBinaryFromReader);
|
|
4452
|
+
msg.setRevision(value);
|
|
4453
|
+
break;
|
|
4454
|
+
default:
|
|
4455
|
+
reader.skipField();
|
|
4456
|
+
break;
|
|
4457
|
+
}
|
|
4458
|
+
}
|
|
4459
|
+
return msg;
|
|
4460
|
+
};
|
|
4461
|
+
|
|
4462
|
+
|
|
4463
|
+
/**
|
|
4464
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
4465
|
+
* @return {!Uint8Array}
|
|
4466
|
+
*/
|
|
4467
|
+
proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.BalanceAndRevision.prototype.serializeBinary = function() {
|
|
4468
|
+
var writer = new jspb.BinaryWriter();
|
|
4469
|
+
proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.BalanceAndRevision.serializeBinaryToWriter(this, writer);
|
|
4470
|
+
return writer.getResultBuffer();
|
|
4471
|
+
};
|
|
4472
|
+
|
|
4473
|
+
|
|
4474
|
+
/**
|
|
4475
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
4476
|
+
* format), writing to the given BinaryWriter.
|
|
4477
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.BalanceAndRevision} message
|
|
4478
|
+
* @param {!jspb.BinaryWriter} writer
|
|
4479
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4480
|
+
*/
|
|
4481
|
+
proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.BalanceAndRevision.serializeBinaryToWriter = function(message, writer) {
|
|
4482
|
+
var f = undefined;
|
|
4483
|
+
f = message.getBalance();
|
|
4007
4484
|
if (f != null) {
|
|
4008
4485
|
writer.writeMessage(
|
|
4009
|
-
|
|
4486
|
+
1,
|
|
4010
4487
|
f,
|
|
4011
|
-
|
|
4488
|
+
google_protobuf_wrappers_pb.UInt64Value.serializeBinaryToWriter
|
|
4489
|
+
);
|
|
4490
|
+
}
|
|
4491
|
+
f = message.getRevision();
|
|
4492
|
+
if (f != null) {
|
|
4493
|
+
writer.writeMessage(
|
|
4494
|
+
2,
|
|
4495
|
+
f,
|
|
4496
|
+
google_protobuf_wrappers_pb.UInt64Value.serializeBinaryToWriter
|
|
4012
4497
|
);
|
|
4013
4498
|
}
|
|
4014
4499
|
};
|
|
@@ -4018,7 +4503,7 @@ proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.serializeB
|
|
|
4018
4503
|
* optional google.protobuf.UInt64Value balance = 1;
|
|
4019
4504
|
* @return {?proto.google.protobuf.UInt64Value}
|
|
4020
4505
|
*/
|
|
4021
|
-
proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.prototype.getBalance = function() {
|
|
4506
|
+
proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.BalanceAndRevision.prototype.getBalance = function() {
|
|
4022
4507
|
return /** @type{?proto.google.protobuf.UInt64Value} */ (
|
|
4023
4508
|
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.UInt64Value, 1));
|
|
4024
4509
|
};
|
|
@@ -4026,18 +4511,18 @@ proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.prototype.
|
|
|
4026
4511
|
|
|
4027
4512
|
/**
|
|
4028
4513
|
* @param {?proto.google.protobuf.UInt64Value|undefined} value
|
|
4029
|
-
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse} returns this
|
|
4514
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.BalanceAndRevision} returns this
|
|
4030
4515
|
*/
|
|
4031
|
-
proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.prototype.setBalance = function(value) {
|
|
4516
|
+
proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.BalanceAndRevision.prototype.setBalance = function(value) {
|
|
4032
4517
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
4033
4518
|
};
|
|
4034
4519
|
|
|
4035
4520
|
|
|
4036
4521
|
/**
|
|
4037
4522
|
* Clears the message field making it undefined.
|
|
4038
|
-
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse} returns this
|
|
4523
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.BalanceAndRevision} returns this
|
|
4039
4524
|
*/
|
|
4040
|
-
proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.prototype.clearBalance = function() {
|
|
4525
|
+
proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.BalanceAndRevision.prototype.clearBalance = function() {
|
|
4041
4526
|
return this.setBalance(undefined);
|
|
4042
4527
|
};
|
|
4043
4528
|
|
|
@@ -4046,7 +4531,7 @@ proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.prototype.
|
|
|
4046
4531
|
* Returns whether this field is set.
|
|
4047
4532
|
* @return {boolean}
|
|
4048
4533
|
*/
|
|
4049
|
-
proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.prototype.hasBalance = function() {
|
|
4534
|
+
proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.BalanceAndRevision.prototype.hasBalance = function() {
|
|
4050
4535
|
return jspb.Message.getField(this, 1) != null;
|
|
4051
4536
|
};
|
|
4052
4537
|
|
|
@@ -4055,7 +4540,7 @@ proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.prototype.
|
|
|
4055
4540
|
* optional google.protobuf.UInt64Value revision = 2;
|
|
4056
4541
|
* @return {?proto.google.protobuf.UInt64Value}
|
|
4057
4542
|
*/
|
|
4058
|
-
proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.prototype.getRevision = function() {
|
|
4543
|
+
proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.BalanceAndRevision.prototype.getRevision = function() {
|
|
4059
4544
|
return /** @type{?proto.google.protobuf.UInt64Value} */ (
|
|
4060
4545
|
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.UInt64Value, 2));
|
|
4061
4546
|
};
|
|
@@ -4063,18 +4548,18 @@ proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.prototype.
|
|
|
4063
4548
|
|
|
4064
4549
|
/**
|
|
4065
4550
|
* @param {?proto.google.protobuf.UInt64Value|undefined} value
|
|
4066
|
-
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse} returns this
|
|
4551
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.BalanceAndRevision} returns this
|
|
4067
4552
|
*/
|
|
4068
|
-
proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.prototype.setRevision = function(value) {
|
|
4553
|
+
proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.BalanceAndRevision.prototype.setRevision = function(value) {
|
|
4069
4554
|
return jspb.Message.setWrapperField(this, 2, value);
|
|
4070
4555
|
};
|
|
4071
4556
|
|
|
4072
4557
|
|
|
4073
4558
|
/**
|
|
4074
4559
|
* Clears the message field making it undefined.
|
|
4075
|
-
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse} returns this
|
|
4560
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.BalanceAndRevision} returns this
|
|
4076
4561
|
*/
|
|
4077
|
-
proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.prototype.clearRevision = function() {
|
|
4562
|
+
proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.BalanceAndRevision.prototype.clearRevision = function() {
|
|
4078
4563
|
return this.setRevision(undefined);
|
|
4079
4564
|
};
|
|
4080
4565
|
|
|
@@ -4083,18 +4568,55 @@ proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.prototype.
|
|
|
4083
4568
|
* Returns whether this field is set.
|
|
4084
4569
|
* @return {boolean}
|
|
4085
4570
|
*/
|
|
4086
|
-
proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.prototype.hasRevision = function() {
|
|
4571
|
+
proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.BalanceAndRevision.prototype.hasRevision = function() {
|
|
4087
4572
|
return jspb.Message.getField(this, 2) != null;
|
|
4088
4573
|
};
|
|
4089
4574
|
|
|
4090
4575
|
|
|
4091
4576
|
/**
|
|
4092
|
-
* optional
|
|
4577
|
+
* optional BalanceAndRevision balance_and_revision = 1;
|
|
4578
|
+
* @return {?proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.BalanceAndRevision}
|
|
4579
|
+
*/
|
|
4580
|
+
proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.prototype.getBalanceAndRevision = function() {
|
|
4581
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.BalanceAndRevision} */ (
|
|
4582
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.BalanceAndRevision, 1));
|
|
4583
|
+
};
|
|
4584
|
+
|
|
4585
|
+
|
|
4586
|
+
/**
|
|
4587
|
+
* @param {?proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.BalanceAndRevision|undefined} value
|
|
4588
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse} returns this
|
|
4589
|
+
*/
|
|
4590
|
+
proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.prototype.setBalanceAndRevision = function(value) {
|
|
4591
|
+
return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.oneofGroups_[0], value);
|
|
4592
|
+
};
|
|
4593
|
+
|
|
4594
|
+
|
|
4595
|
+
/**
|
|
4596
|
+
* Clears the message field making it undefined.
|
|
4597
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse} returns this
|
|
4598
|
+
*/
|
|
4599
|
+
proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.prototype.clearBalanceAndRevision = function() {
|
|
4600
|
+
return this.setBalanceAndRevision(undefined);
|
|
4601
|
+
};
|
|
4602
|
+
|
|
4603
|
+
|
|
4604
|
+
/**
|
|
4605
|
+
* Returns whether this field is set.
|
|
4606
|
+
* @return {boolean}
|
|
4607
|
+
*/
|
|
4608
|
+
proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.prototype.hasBalanceAndRevision = function() {
|
|
4609
|
+
return jspb.Message.getField(this, 1) != null;
|
|
4610
|
+
};
|
|
4611
|
+
|
|
4612
|
+
|
|
4613
|
+
/**
|
|
4614
|
+
* optional Proof proof = 2;
|
|
4093
4615
|
* @return {?proto.org.dash.platform.dapi.v0.Proof}
|
|
4094
4616
|
*/
|
|
4095
4617
|
proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.prototype.getProof = function() {
|
|
4096
4618
|
return /** @type{?proto.org.dash.platform.dapi.v0.Proof} */ (
|
|
4097
|
-
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.Proof,
|
|
4619
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.Proof, 2));
|
|
4098
4620
|
};
|
|
4099
4621
|
|
|
4100
4622
|
|
|
@@ -4103,7 +4625,7 @@ proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.prototype.
|
|
|
4103
4625
|
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse} returns this
|
|
4104
4626
|
*/
|
|
4105
4627
|
proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.prototype.setProof = function(value) {
|
|
4106
|
-
return jspb.Message.
|
|
4628
|
+
return jspb.Message.setOneofWrapperField(this, 2, proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.oneofGroups_[0], value);
|
|
4107
4629
|
};
|
|
4108
4630
|
|
|
4109
4631
|
|
|
@@ -4121,17 +4643,17 @@ proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.prototype.
|
|
|
4121
4643
|
* @return {boolean}
|
|
4122
4644
|
*/
|
|
4123
4645
|
proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.prototype.hasProof = function() {
|
|
4124
|
-
return jspb.Message.getField(this,
|
|
4646
|
+
return jspb.Message.getField(this, 2) != null;
|
|
4125
4647
|
};
|
|
4126
4648
|
|
|
4127
4649
|
|
|
4128
4650
|
/**
|
|
4129
|
-
* optional ResponseMetadata metadata =
|
|
4651
|
+
* optional ResponseMetadata metadata = 3;
|
|
4130
4652
|
* @return {?proto.org.dash.platform.dapi.v0.ResponseMetadata}
|
|
4131
4653
|
*/
|
|
4132
4654
|
proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.prototype.getMetadata = function() {
|
|
4133
4655
|
return /** @type{?proto.org.dash.platform.dapi.v0.ResponseMetadata} */ (
|
|
4134
|
-
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.ResponseMetadata,
|
|
4656
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.ResponseMetadata, 3));
|
|
4135
4657
|
};
|
|
4136
4658
|
|
|
4137
4659
|
|
|
@@ -4140,7 +4662,7 @@ proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.prototype.
|
|
|
4140
4662
|
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse} returns this
|
|
4141
4663
|
*/
|
|
4142
4664
|
proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.prototype.setMetadata = function(value) {
|
|
4143
|
-
return jspb.Message.setWrapperField(this,
|
|
4665
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
4144
4666
|
};
|
|
4145
4667
|
|
|
4146
4668
|
|
|
@@ -4158,7 +4680,7 @@ proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.prototype.
|
|
|
4158
4680
|
* @return {boolean}
|
|
4159
4681
|
*/
|
|
4160
4682
|
proto.org.dash.platform.dapi.v0.GetIdentityBalanceAndRevisionResponse.prototype.hasMetadata = function() {
|
|
4161
|
-
return jspb.Message.getField(this,
|
|
4683
|
+
return jspb.Message.getField(this, 3) != null;
|
|
4162
4684
|
};
|
|
4163
4685
|
|
|
4164
4686
|
|
|
@@ -8340,6 +8862,32 @@ proto.org.dash.platform.dapi.v0.GetDataContractRequest.prototype.setProve = func
|
|
|
8340
8862
|
|
|
8341
8863
|
|
|
8342
8864
|
|
|
8865
|
+
/**
|
|
8866
|
+
* Oneof group definitions for this message. Each group defines the field
|
|
8867
|
+
* numbers belonging to that group. When of these fields' value is set, all
|
|
8868
|
+
* other fields in the group are cleared. During deserialization, if multiple
|
|
8869
|
+
* fields are encountered for a group, only the last value seen will be kept.
|
|
8870
|
+
* @private {!Array<!Array<number>>}
|
|
8871
|
+
* @const
|
|
8872
|
+
*/
|
|
8873
|
+
proto.org.dash.platform.dapi.v0.GetDataContractResponse.oneofGroups_ = [[1,2]];
|
|
8874
|
+
|
|
8875
|
+
/**
|
|
8876
|
+
* @enum {number}
|
|
8877
|
+
*/
|
|
8878
|
+
proto.org.dash.platform.dapi.v0.GetDataContractResponse.ResultCase = {
|
|
8879
|
+
RESULT_NOT_SET: 0,
|
|
8880
|
+
DATA_CONTRACT: 1,
|
|
8881
|
+
PROOF: 2
|
|
8882
|
+
};
|
|
8883
|
+
|
|
8884
|
+
/**
|
|
8885
|
+
* @return {proto.org.dash.platform.dapi.v0.GetDataContractResponse.ResultCase}
|
|
8886
|
+
*/
|
|
8887
|
+
proto.org.dash.platform.dapi.v0.GetDataContractResponse.prototype.getResultCase = function() {
|
|
8888
|
+
return /** @type {proto.org.dash.platform.dapi.v0.GetDataContractResponse.ResultCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetDataContractResponse.oneofGroups_[0]));
|
|
8889
|
+
};
|
|
8890
|
+
|
|
8343
8891
|
|
|
8344
8892
|
|
|
8345
8893
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -8453,8 +9001,8 @@ proto.org.dash.platform.dapi.v0.GetDataContractResponse.prototype.serializeBinar
|
|
|
8453
9001
|
*/
|
|
8454
9002
|
proto.org.dash.platform.dapi.v0.GetDataContractResponse.serializeBinaryToWriter = function(message, writer) {
|
|
8455
9003
|
var f = undefined;
|
|
8456
|
-
f =
|
|
8457
|
-
if (f
|
|
9004
|
+
f = /** @type {!(string|Uint8Array)} */ (jspb.Message.getField(message, 1));
|
|
9005
|
+
if (f != null) {
|
|
8458
9006
|
writer.writeBytes(
|
|
8459
9007
|
1,
|
|
8460
9008
|
f
|
|
@@ -8517,26 +9065,44 @@ proto.org.dash.platform.dapi.v0.GetDataContractResponse.prototype.getDataContrac
|
|
|
8517
9065
|
* @return {!proto.org.dash.platform.dapi.v0.GetDataContractResponse} returns this
|
|
8518
9066
|
*/
|
|
8519
9067
|
proto.org.dash.platform.dapi.v0.GetDataContractResponse.prototype.setDataContract = function(value) {
|
|
8520
|
-
return jspb.Message.
|
|
9068
|
+
return jspb.Message.setOneofField(this, 1, proto.org.dash.platform.dapi.v0.GetDataContractResponse.oneofGroups_[0], value);
|
|
8521
9069
|
};
|
|
8522
9070
|
|
|
8523
9071
|
|
|
8524
9072
|
/**
|
|
8525
|
-
*
|
|
8526
|
-
* @return {
|
|
9073
|
+
* Clears the field making it undefined.
|
|
9074
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDataContractResponse} returns this
|
|
8527
9075
|
*/
|
|
8528
|
-
proto.org.dash.platform.dapi.v0.GetDataContractResponse.prototype.
|
|
8529
|
-
return
|
|
8530
|
-
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.Proof, 2));
|
|
9076
|
+
proto.org.dash.platform.dapi.v0.GetDataContractResponse.prototype.clearDataContract = function() {
|
|
9077
|
+
return jspb.Message.setOneofField(this, 1, proto.org.dash.platform.dapi.v0.GetDataContractResponse.oneofGroups_[0], undefined);
|
|
8531
9078
|
};
|
|
8532
9079
|
|
|
8533
9080
|
|
|
8534
9081
|
/**
|
|
8535
|
-
*
|
|
8536
|
-
* @return {
|
|
8537
|
-
*/
|
|
9082
|
+
* Returns whether this field is set.
|
|
9083
|
+
* @return {boolean}
|
|
9084
|
+
*/
|
|
9085
|
+
proto.org.dash.platform.dapi.v0.GetDataContractResponse.prototype.hasDataContract = function() {
|
|
9086
|
+
return jspb.Message.getField(this, 1) != null;
|
|
9087
|
+
};
|
|
9088
|
+
|
|
9089
|
+
|
|
9090
|
+
/**
|
|
9091
|
+
* optional Proof proof = 2;
|
|
9092
|
+
* @return {?proto.org.dash.platform.dapi.v0.Proof}
|
|
9093
|
+
*/
|
|
9094
|
+
proto.org.dash.platform.dapi.v0.GetDataContractResponse.prototype.getProof = function() {
|
|
9095
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.Proof} */ (
|
|
9096
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.Proof, 2));
|
|
9097
|
+
};
|
|
9098
|
+
|
|
9099
|
+
|
|
9100
|
+
/**
|
|
9101
|
+
* @param {?proto.org.dash.platform.dapi.v0.Proof|undefined} value
|
|
9102
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDataContractResponse} returns this
|
|
9103
|
+
*/
|
|
8538
9104
|
proto.org.dash.platform.dapi.v0.GetDataContractResponse.prototype.setProof = function(value) {
|
|
8539
|
-
return jspb.Message.
|
|
9105
|
+
return jspb.Message.setOneofWrapperField(this, 2, proto.org.dash.platform.dapi.v0.GetDataContractResponse.oneofGroups_[0], value);
|
|
8540
9106
|
};
|
|
8541
9107
|
|
|
8542
9108
|
|
|
@@ -9604,32 +10170,6 @@ proto.org.dash.platform.dapi.v0.GetDataContractsResponse.prototype.hasMetadata =
|
|
|
9604
10170
|
|
|
9605
10171
|
|
|
9606
10172
|
|
|
9607
|
-
/**
|
|
9608
|
-
* Oneof group definitions for this message. Each group defines the field
|
|
9609
|
-
* numbers belonging to that group. When of these fields' value is set, all
|
|
9610
|
-
* other fields in the group are cleared. During deserialization, if multiple
|
|
9611
|
-
* fields are encountered for a group, only the last value seen will be kept.
|
|
9612
|
-
* @private {!Array<!Array<number>>}
|
|
9613
|
-
* @const
|
|
9614
|
-
*/
|
|
9615
|
-
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.oneofGroups_ = [[6,7]];
|
|
9616
|
-
|
|
9617
|
-
/**
|
|
9618
|
-
* @enum {number}
|
|
9619
|
-
*/
|
|
9620
|
-
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.StartCase = {
|
|
9621
|
-
START_NOT_SET: 0,
|
|
9622
|
-
START_AFTER: 6,
|
|
9623
|
-
START_AT: 7
|
|
9624
|
-
};
|
|
9625
|
-
|
|
9626
|
-
/**
|
|
9627
|
-
* @return {proto.org.dash.platform.dapi.v0.GetDocumentsRequest.StartCase}
|
|
9628
|
-
*/
|
|
9629
|
-
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.prototype.getStartCase = function() {
|
|
9630
|
-
return /** @type {proto.org.dash.platform.dapi.v0.GetDocumentsRequest.StartCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetDocumentsRequest.oneofGroups_[0]));
|
|
9631
|
-
};
|
|
9632
|
-
|
|
9633
10173
|
|
|
9634
10174
|
|
|
9635
10175
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -9645,8 +10185,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
9645
10185
|
* http://goto/soy-param-migration
|
|
9646
10186
|
* @return {!Object}
|
|
9647
10187
|
*/
|
|
9648
|
-
proto.org.dash.platform.dapi.v0.
|
|
9649
|
-
return proto.org.dash.platform.dapi.v0.
|
|
10188
|
+
proto.org.dash.platform.dapi.v0.GetDataContractHistoryRequest.prototype.toObject = function(opt_includeInstance) {
|
|
10189
|
+
return proto.org.dash.platform.dapi.v0.GetDataContractHistoryRequest.toObject(opt_includeInstance, this);
|
|
9650
10190
|
};
|
|
9651
10191
|
|
|
9652
10192
|
|
|
@@ -9655,20 +10195,17 @@ proto.org.dash.platform.dapi.v0.GetDocumentsRequest.prototype.toObject = functio
|
|
|
9655
10195
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
9656
10196
|
* the JSPB instance for transitional soy proto support:
|
|
9657
10197
|
* http://goto/soy-param-migration
|
|
9658
|
-
* @param {!proto.org.dash.platform.dapi.v0.
|
|
10198
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDataContractHistoryRequest} msg The msg instance to transform.
|
|
9659
10199
|
* @return {!Object}
|
|
9660
10200
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
9661
10201
|
*/
|
|
9662
|
-
proto.org.dash.platform.dapi.v0.
|
|
10202
|
+
proto.org.dash.platform.dapi.v0.GetDataContractHistoryRequest.toObject = function(includeInstance, msg) {
|
|
9663
10203
|
var f, obj = {
|
|
9664
|
-
|
|
9665
|
-
|
|
9666
|
-
|
|
9667
|
-
|
|
9668
|
-
|
|
9669
|
-
startAfter: msg.getStartAfter_asB64(),
|
|
9670
|
-
startAt: msg.getStartAt_asB64(),
|
|
9671
|
-
prove: jspb.Message.getBooleanFieldWithDefault(msg, 8, false)
|
|
10204
|
+
id: msg.getId_asB64(),
|
|
10205
|
+
limit: (f = msg.getLimit()) && google_protobuf_wrappers_pb.UInt32Value.toObject(includeInstance, f),
|
|
10206
|
+
offset: (f = msg.getOffset()) && google_protobuf_wrappers_pb.UInt32Value.toObject(includeInstance, f),
|
|
10207
|
+
startAtMs: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
10208
|
+
prove: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
|
|
9672
10209
|
};
|
|
9673
10210
|
|
|
9674
10211
|
if (includeInstance) {
|
|
@@ -9682,23 +10219,23 @@ proto.org.dash.platform.dapi.v0.GetDocumentsRequest.toObject = function(includeI
|
|
|
9682
10219
|
/**
|
|
9683
10220
|
* Deserializes binary data (in protobuf wire format).
|
|
9684
10221
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
9685
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
10222
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDataContractHistoryRequest}
|
|
9686
10223
|
*/
|
|
9687
|
-
proto.org.dash.platform.dapi.v0.
|
|
10224
|
+
proto.org.dash.platform.dapi.v0.GetDataContractHistoryRequest.deserializeBinary = function(bytes) {
|
|
9688
10225
|
var reader = new jspb.BinaryReader(bytes);
|
|
9689
|
-
var msg = new proto.org.dash.platform.dapi.v0.
|
|
9690
|
-
return proto.org.dash.platform.dapi.v0.
|
|
10226
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetDataContractHistoryRequest;
|
|
10227
|
+
return proto.org.dash.platform.dapi.v0.GetDataContractHistoryRequest.deserializeBinaryFromReader(msg, reader);
|
|
9691
10228
|
};
|
|
9692
10229
|
|
|
9693
10230
|
|
|
9694
10231
|
/**
|
|
9695
10232
|
* Deserializes binary data (in protobuf wire format) from the
|
|
9696
10233
|
* given reader into the given message object.
|
|
9697
|
-
* @param {!proto.org.dash.platform.dapi.v0.
|
|
10234
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDataContractHistoryRequest} msg The message object to deserialize into.
|
|
9698
10235
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
9699
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
10236
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDataContractHistoryRequest}
|
|
9700
10237
|
*/
|
|
9701
|
-
proto.org.dash.platform.dapi.v0.
|
|
10238
|
+
proto.org.dash.platform.dapi.v0.GetDataContractHistoryRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
9702
10239
|
while (reader.nextField()) {
|
|
9703
10240
|
if (reader.isEndGroup()) {
|
|
9704
10241
|
break;
|
|
@@ -9707,33 +10244,23 @@ proto.org.dash.platform.dapi.v0.GetDocumentsRequest.deserializeBinaryFromReader
|
|
|
9707
10244
|
switch (field) {
|
|
9708
10245
|
case 1:
|
|
9709
10246
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
9710
|
-
msg.
|
|
10247
|
+
msg.setId(value);
|
|
9711
10248
|
break;
|
|
9712
10249
|
case 2:
|
|
9713
|
-
var value =
|
|
9714
|
-
|
|
10250
|
+
var value = new google_protobuf_wrappers_pb.UInt32Value;
|
|
10251
|
+
reader.readMessage(value,google_protobuf_wrappers_pb.UInt32Value.deserializeBinaryFromReader);
|
|
10252
|
+
msg.setLimit(value);
|
|
9715
10253
|
break;
|
|
9716
10254
|
case 3:
|
|
9717
|
-
var value =
|
|
9718
|
-
|
|
10255
|
+
var value = new google_protobuf_wrappers_pb.UInt32Value;
|
|
10256
|
+
reader.readMessage(value,google_protobuf_wrappers_pb.UInt32Value.deserializeBinaryFromReader);
|
|
10257
|
+
msg.setOffset(value);
|
|
9719
10258
|
break;
|
|
9720
10259
|
case 4:
|
|
9721
|
-
var value = /** @type {
|
|
9722
|
-
msg.
|
|
10260
|
+
var value = /** @type {number} */ (reader.readUint64());
|
|
10261
|
+
msg.setStartAtMs(value);
|
|
9723
10262
|
break;
|
|
9724
10263
|
case 5:
|
|
9725
|
-
var value = /** @type {number} */ (reader.readUint32());
|
|
9726
|
-
msg.setLimit(value);
|
|
9727
|
-
break;
|
|
9728
|
-
case 6:
|
|
9729
|
-
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
9730
|
-
msg.setStartAfter(value);
|
|
9731
|
-
break;
|
|
9732
|
-
case 7:
|
|
9733
|
-
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
9734
|
-
msg.setStartAt(value);
|
|
9735
|
-
break;
|
|
9736
|
-
case 8:
|
|
9737
10264
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
9738
10265
|
msg.setProve(value);
|
|
9739
10266
|
break;
|
|
@@ -9750,9 +10277,9 @@ proto.org.dash.platform.dapi.v0.GetDocumentsRequest.deserializeBinaryFromReader
|
|
|
9750
10277
|
* Serializes the message to binary data (in protobuf wire format).
|
|
9751
10278
|
* @return {!Uint8Array}
|
|
9752
10279
|
*/
|
|
9753
|
-
proto.org.dash.platform.dapi.v0.
|
|
10280
|
+
proto.org.dash.platform.dapi.v0.GetDataContractHistoryRequest.prototype.serializeBinary = function() {
|
|
9754
10281
|
var writer = new jspb.BinaryWriter();
|
|
9755
|
-
proto.org.dash.platform.dapi.v0.
|
|
10282
|
+
proto.org.dash.platform.dapi.v0.GetDataContractHistoryRequest.serializeBinaryToWriter(this, writer);
|
|
9756
10283
|
return writer.getResultBuffer();
|
|
9757
10284
|
};
|
|
9758
10285
|
|
|
@@ -9760,65 +10287,46 @@ proto.org.dash.platform.dapi.v0.GetDocumentsRequest.prototype.serializeBinary =
|
|
|
9760
10287
|
/**
|
|
9761
10288
|
* Serializes the given message to binary data (in protobuf wire
|
|
9762
10289
|
* format), writing to the given BinaryWriter.
|
|
9763
|
-
* @param {!proto.org.dash.platform.dapi.v0.
|
|
10290
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDataContractHistoryRequest} message
|
|
9764
10291
|
* @param {!jspb.BinaryWriter} writer
|
|
9765
10292
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
9766
10293
|
*/
|
|
9767
|
-
proto.org.dash.platform.dapi.v0.
|
|
10294
|
+
proto.org.dash.platform.dapi.v0.GetDataContractHistoryRequest.serializeBinaryToWriter = function(message, writer) {
|
|
9768
10295
|
var f = undefined;
|
|
9769
|
-
f = message.
|
|
10296
|
+
f = message.getId_asU8();
|
|
9770
10297
|
if (f.length > 0) {
|
|
9771
10298
|
writer.writeBytes(
|
|
9772
10299
|
1,
|
|
9773
10300
|
f
|
|
9774
10301
|
);
|
|
9775
10302
|
}
|
|
9776
|
-
f = message.
|
|
9777
|
-
if (f
|
|
9778
|
-
writer.
|
|
10303
|
+
f = message.getLimit();
|
|
10304
|
+
if (f != null) {
|
|
10305
|
+
writer.writeMessage(
|
|
9779
10306
|
2,
|
|
9780
|
-
f
|
|
10307
|
+
f,
|
|
10308
|
+
google_protobuf_wrappers_pb.UInt32Value.serializeBinaryToWriter
|
|
9781
10309
|
);
|
|
9782
10310
|
}
|
|
9783
|
-
f = message.
|
|
9784
|
-
if (f
|
|
9785
|
-
writer.
|
|
10311
|
+
f = message.getOffset();
|
|
10312
|
+
if (f != null) {
|
|
10313
|
+
writer.writeMessage(
|
|
9786
10314
|
3,
|
|
9787
|
-
f
|
|
9788
|
-
|
|
9789
|
-
}
|
|
9790
|
-
f = message.getOrderBy_asU8();
|
|
9791
|
-
if (f.length > 0) {
|
|
9792
|
-
writer.writeBytes(
|
|
9793
|
-
4,
|
|
9794
|
-
f
|
|
10315
|
+
f,
|
|
10316
|
+
google_protobuf_wrappers_pb.UInt32Value.serializeBinaryToWriter
|
|
9795
10317
|
);
|
|
9796
10318
|
}
|
|
9797
|
-
f = message.
|
|
10319
|
+
f = message.getStartAtMs();
|
|
9798
10320
|
if (f !== 0) {
|
|
9799
|
-
writer.
|
|
9800
|
-
|
|
9801
|
-
f
|
|
9802
|
-
);
|
|
9803
|
-
}
|
|
9804
|
-
f = /** @type {!(string|Uint8Array)} */ (jspb.Message.getField(message, 6));
|
|
9805
|
-
if (f != null) {
|
|
9806
|
-
writer.writeBytes(
|
|
9807
|
-
6,
|
|
9808
|
-
f
|
|
9809
|
-
);
|
|
9810
|
-
}
|
|
9811
|
-
f = /** @type {!(string|Uint8Array)} */ (jspb.Message.getField(message, 7));
|
|
9812
|
-
if (f != null) {
|
|
9813
|
-
writer.writeBytes(
|
|
9814
|
-
7,
|
|
10321
|
+
writer.writeUint64(
|
|
10322
|
+
4,
|
|
9815
10323
|
f
|
|
9816
10324
|
);
|
|
9817
10325
|
}
|
|
9818
10326
|
f = message.getProve();
|
|
9819
10327
|
if (f) {
|
|
9820
10328
|
writer.writeBool(
|
|
9821
|
-
|
|
10329
|
+
5,
|
|
9822
10330
|
f
|
|
9823
10331
|
);
|
|
9824
10332
|
}
|
|
@@ -9826,160 +10334,1157 @@ proto.org.dash.platform.dapi.v0.GetDocumentsRequest.serializeBinaryToWriter = fu
|
|
|
9826
10334
|
|
|
9827
10335
|
|
|
9828
10336
|
/**
|
|
9829
|
-
* optional bytes
|
|
10337
|
+
* optional bytes id = 1;
|
|
9830
10338
|
* @return {string}
|
|
9831
10339
|
*/
|
|
9832
|
-
proto.org.dash.platform.dapi.v0.
|
|
10340
|
+
proto.org.dash.platform.dapi.v0.GetDataContractHistoryRequest.prototype.getId = function() {
|
|
9833
10341
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
9834
10342
|
};
|
|
9835
10343
|
|
|
9836
10344
|
|
|
9837
10345
|
/**
|
|
9838
|
-
* optional bytes
|
|
9839
|
-
* This is a type-conversion wrapper around `
|
|
10346
|
+
* optional bytes id = 1;
|
|
10347
|
+
* This is a type-conversion wrapper around `getId()`
|
|
9840
10348
|
* @return {string}
|
|
9841
10349
|
*/
|
|
9842
|
-
proto.org.dash.platform.dapi.v0.
|
|
10350
|
+
proto.org.dash.platform.dapi.v0.GetDataContractHistoryRequest.prototype.getId_asB64 = function() {
|
|
9843
10351
|
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
9844
|
-
this.
|
|
10352
|
+
this.getId()));
|
|
9845
10353
|
};
|
|
9846
10354
|
|
|
9847
10355
|
|
|
9848
10356
|
/**
|
|
9849
|
-
* optional bytes
|
|
10357
|
+
* optional bytes id = 1;
|
|
9850
10358
|
* Note that Uint8Array is not supported on all browsers.
|
|
9851
10359
|
* @see http://caniuse.com/Uint8Array
|
|
9852
|
-
* This is a type-conversion wrapper around `
|
|
10360
|
+
* This is a type-conversion wrapper around `getId()`
|
|
9853
10361
|
* @return {!Uint8Array}
|
|
9854
10362
|
*/
|
|
9855
|
-
proto.org.dash.platform.dapi.v0.
|
|
10363
|
+
proto.org.dash.platform.dapi.v0.GetDataContractHistoryRequest.prototype.getId_asU8 = function() {
|
|
9856
10364
|
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
9857
|
-
this.
|
|
10365
|
+
this.getId()));
|
|
9858
10366
|
};
|
|
9859
10367
|
|
|
9860
10368
|
|
|
9861
10369
|
/**
|
|
9862
10370
|
* @param {!(string|Uint8Array)} value
|
|
9863
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
10371
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDataContractHistoryRequest} returns this
|
|
9864
10372
|
*/
|
|
9865
|
-
proto.org.dash.platform.dapi.v0.
|
|
10373
|
+
proto.org.dash.platform.dapi.v0.GetDataContractHistoryRequest.prototype.setId = function(value) {
|
|
9866
10374
|
return jspb.Message.setProto3BytesField(this, 1, value);
|
|
9867
10375
|
};
|
|
9868
10376
|
|
|
9869
10377
|
|
|
9870
10378
|
/**
|
|
9871
|
-
* optional
|
|
9872
|
-
* @return {
|
|
10379
|
+
* optional google.protobuf.UInt32Value limit = 2;
|
|
10380
|
+
* @return {?proto.google.protobuf.UInt32Value}
|
|
9873
10381
|
*/
|
|
9874
|
-
proto.org.dash.platform.dapi.v0.
|
|
9875
|
-
return /** @type
|
|
10382
|
+
proto.org.dash.platform.dapi.v0.GetDataContractHistoryRequest.prototype.getLimit = function() {
|
|
10383
|
+
return /** @type{?proto.google.protobuf.UInt32Value} */ (
|
|
10384
|
+
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.UInt32Value, 2));
|
|
9876
10385
|
};
|
|
9877
10386
|
|
|
9878
10387
|
|
|
9879
10388
|
/**
|
|
9880
|
-
* @param {
|
|
9881
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
9882
|
-
|
|
9883
|
-
proto.org.dash.platform.dapi.v0.
|
|
9884
|
-
return jspb.Message.
|
|
10389
|
+
* @param {?proto.google.protobuf.UInt32Value|undefined} value
|
|
10390
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDataContractHistoryRequest} returns this
|
|
10391
|
+
*/
|
|
10392
|
+
proto.org.dash.platform.dapi.v0.GetDataContractHistoryRequest.prototype.setLimit = function(value) {
|
|
10393
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
9885
10394
|
};
|
|
9886
10395
|
|
|
9887
10396
|
|
|
9888
10397
|
/**
|
|
9889
|
-
*
|
|
9890
|
-
* @return {
|
|
10398
|
+
* Clears the message field making it undefined.
|
|
10399
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDataContractHistoryRequest} returns this
|
|
9891
10400
|
*/
|
|
9892
|
-
proto.org.dash.platform.dapi.v0.
|
|
9893
|
-
return
|
|
10401
|
+
proto.org.dash.platform.dapi.v0.GetDataContractHistoryRequest.prototype.clearLimit = function() {
|
|
10402
|
+
return this.setLimit(undefined);
|
|
9894
10403
|
};
|
|
9895
10404
|
|
|
9896
10405
|
|
|
9897
10406
|
/**
|
|
9898
|
-
*
|
|
9899
|
-
*
|
|
9900
|
-
* @return {string}
|
|
10407
|
+
* Returns whether this field is set.
|
|
10408
|
+
* @return {boolean}
|
|
9901
10409
|
*/
|
|
9902
|
-
proto.org.dash.platform.dapi.v0.
|
|
9903
|
-
return
|
|
9904
|
-
this.getWhere()));
|
|
10410
|
+
proto.org.dash.platform.dapi.v0.GetDataContractHistoryRequest.prototype.hasLimit = function() {
|
|
10411
|
+
return jspb.Message.getField(this, 2) != null;
|
|
9905
10412
|
};
|
|
9906
10413
|
|
|
9907
10414
|
|
|
9908
10415
|
/**
|
|
9909
|
-
* optional
|
|
9910
|
-
*
|
|
9911
|
-
* @see http://caniuse.com/Uint8Array
|
|
9912
|
-
* This is a type-conversion wrapper around `getWhere()`
|
|
9913
|
-
* @return {!Uint8Array}
|
|
10416
|
+
* optional google.protobuf.UInt32Value offset = 3;
|
|
10417
|
+
* @return {?proto.google.protobuf.UInt32Value}
|
|
9914
10418
|
*/
|
|
9915
|
-
proto.org.dash.platform.dapi.v0.
|
|
9916
|
-
return /** @type
|
|
9917
|
-
|
|
10419
|
+
proto.org.dash.platform.dapi.v0.GetDataContractHistoryRequest.prototype.getOffset = function() {
|
|
10420
|
+
return /** @type{?proto.google.protobuf.UInt32Value} */ (
|
|
10421
|
+
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.UInt32Value, 3));
|
|
9918
10422
|
};
|
|
9919
10423
|
|
|
9920
10424
|
|
|
9921
10425
|
/**
|
|
9922
|
-
* @param {
|
|
9923
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
9924
|
-
|
|
9925
|
-
proto.org.dash.platform.dapi.v0.
|
|
9926
|
-
return jspb.Message.
|
|
10426
|
+
* @param {?proto.google.protobuf.UInt32Value|undefined} value
|
|
10427
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDataContractHistoryRequest} returns this
|
|
10428
|
+
*/
|
|
10429
|
+
proto.org.dash.platform.dapi.v0.GetDataContractHistoryRequest.prototype.setOffset = function(value) {
|
|
10430
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
9927
10431
|
};
|
|
9928
10432
|
|
|
9929
10433
|
|
|
9930
10434
|
/**
|
|
9931
|
-
*
|
|
9932
|
-
* @return {
|
|
10435
|
+
* Clears the message field making it undefined.
|
|
10436
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDataContractHistoryRequest} returns this
|
|
9933
10437
|
*/
|
|
9934
|
-
proto.org.dash.platform.dapi.v0.
|
|
9935
|
-
return
|
|
10438
|
+
proto.org.dash.platform.dapi.v0.GetDataContractHistoryRequest.prototype.clearOffset = function() {
|
|
10439
|
+
return this.setOffset(undefined);
|
|
9936
10440
|
};
|
|
9937
10441
|
|
|
9938
10442
|
|
|
9939
10443
|
/**
|
|
9940
|
-
*
|
|
9941
|
-
*
|
|
9942
|
-
* @return {string}
|
|
10444
|
+
* Returns whether this field is set.
|
|
10445
|
+
* @return {boolean}
|
|
9943
10446
|
*/
|
|
9944
|
-
proto.org.dash.platform.dapi.v0.
|
|
9945
|
-
return
|
|
9946
|
-
this.getOrderBy()));
|
|
10447
|
+
proto.org.dash.platform.dapi.v0.GetDataContractHistoryRequest.prototype.hasOffset = function() {
|
|
10448
|
+
return jspb.Message.getField(this, 3) != null;
|
|
9947
10449
|
};
|
|
9948
10450
|
|
|
9949
10451
|
|
|
9950
10452
|
/**
|
|
9951
|
-
* optional
|
|
9952
|
-
*
|
|
9953
|
-
* @see http://caniuse.com/Uint8Array
|
|
9954
|
-
* This is a type-conversion wrapper around `getOrderBy()`
|
|
9955
|
-
* @return {!Uint8Array}
|
|
10453
|
+
* optional uint64 start_at_ms = 4;
|
|
10454
|
+
* @return {number}
|
|
9956
10455
|
*/
|
|
9957
|
-
proto.org.dash.platform.dapi.v0.
|
|
9958
|
-
return /** @type {
|
|
9959
|
-
this.getOrderBy()));
|
|
10456
|
+
proto.org.dash.platform.dapi.v0.GetDataContractHistoryRequest.prototype.getStartAtMs = function() {
|
|
10457
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
9960
10458
|
};
|
|
9961
10459
|
|
|
9962
10460
|
|
|
9963
10461
|
/**
|
|
9964
|
-
* @param {
|
|
9965
|
-
* @return {!proto.org.dash.platform.dapi.v0.
|
|
10462
|
+
* @param {number} value
|
|
10463
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDataContractHistoryRequest} returns this
|
|
9966
10464
|
*/
|
|
9967
|
-
proto.org.dash.platform.dapi.v0.
|
|
9968
|
-
return jspb.Message.
|
|
10465
|
+
proto.org.dash.platform.dapi.v0.GetDataContractHistoryRequest.prototype.setStartAtMs = function(value) {
|
|
10466
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
9969
10467
|
};
|
|
9970
10468
|
|
|
9971
10469
|
|
|
9972
10470
|
/**
|
|
9973
|
-
* optional
|
|
9974
|
-
* @return {
|
|
10471
|
+
* optional bool prove = 5;
|
|
10472
|
+
* @return {boolean}
|
|
9975
10473
|
*/
|
|
9976
|
-
proto.org.dash.platform.dapi.v0.
|
|
9977
|
-
return /** @type {
|
|
10474
|
+
proto.org.dash.platform.dapi.v0.GetDataContractHistoryRequest.prototype.getProve = function() {
|
|
10475
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
|
|
9978
10476
|
};
|
|
9979
10477
|
|
|
9980
10478
|
|
|
9981
10479
|
/**
|
|
9982
|
-
* @param {
|
|
10480
|
+
* @param {boolean} value
|
|
10481
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDataContractHistoryRequest} returns this
|
|
10482
|
+
*/
|
|
10483
|
+
proto.org.dash.platform.dapi.v0.GetDataContractHistoryRequest.prototype.setProve = function(value) {
|
|
10484
|
+
return jspb.Message.setProto3BooleanField(this, 5, value);
|
|
10485
|
+
};
|
|
10486
|
+
|
|
10487
|
+
|
|
10488
|
+
|
|
10489
|
+
/**
|
|
10490
|
+
* Oneof group definitions for this message. Each group defines the field
|
|
10491
|
+
* numbers belonging to that group. When of these fields' value is set, all
|
|
10492
|
+
* other fields in the group are cleared. During deserialization, if multiple
|
|
10493
|
+
* fields are encountered for a group, only the last value seen will be kept.
|
|
10494
|
+
* @private {!Array<!Array<number>>}
|
|
10495
|
+
* @const
|
|
10496
|
+
*/
|
|
10497
|
+
proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.oneofGroups_ = [[1,2]];
|
|
10498
|
+
|
|
10499
|
+
/**
|
|
10500
|
+
* @enum {number}
|
|
10501
|
+
*/
|
|
10502
|
+
proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.ResultCase = {
|
|
10503
|
+
RESULT_NOT_SET: 0,
|
|
10504
|
+
DATA_CONTRACT_HISTORY: 1,
|
|
10505
|
+
PROOF: 2
|
|
10506
|
+
};
|
|
10507
|
+
|
|
10508
|
+
/**
|
|
10509
|
+
* @return {proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.ResultCase}
|
|
10510
|
+
*/
|
|
10511
|
+
proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.prototype.getResultCase = function() {
|
|
10512
|
+
return /** @type {proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.ResultCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.oneofGroups_[0]));
|
|
10513
|
+
};
|
|
10514
|
+
|
|
10515
|
+
|
|
10516
|
+
|
|
10517
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
10518
|
+
/**
|
|
10519
|
+
* Creates an object representation of this proto.
|
|
10520
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
10521
|
+
* Optional fields that are not set will be set to undefined.
|
|
10522
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
10523
|
+
* For the list of reserved names please see:
|
|
10524
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
10525
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
10526
|
+
* JSPB instance for transitional soy proto support:
|
|
10527
|
+
* http://goto/soy-param-migration
|
|
10528
|
+
* @return {!Object}
|
|
10529
|
+
*/
|
|
10530
|
+
proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.prototype.toObject = function(opt_includeInstance) {
|
|
10531
|
+
return proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.toObject(opt_includeInstance, this);
|
|
10532
|
+
};
|
|
10533
|
+
|
|
10534
|
+
|
|
10535
|
+
/**
|
|
10536
|
+
* Static version of the {@see toObject} method.
|
|
10537
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
10538
|
+
* the JSPB instance for transitional soy proto support:
|
|
10539
|
+
* http://goto/soy-param-migration
|
|
10540
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse} msg The msg instance to transform.
|
|
10541
|
+
* @return {!Object}
|
|
10542
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10543
|
+
*/
|
|
10544
|
+
proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.toObject = function(includeInstance, msg) {
|
|
10545
|
+
var f, obj = {
|
|
10546
|
+
dataContractHistory: (f = msg.getDataContractHistory()) && proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.DataContractHistory.toObject(includeInstance, f),
|
|
10547
|
+
proof: (f = msg.getProof()) && proto.org.dash.platform.dapi.v0.Proof.toObject(includeInstance, f),
|
|
10548
|
+
metadata: (f = msg.getMetadata()) && proto.org.dash.platform.dapi.v0.ResponseMetadata.toObject(includeInstance, f)
|
|
10549
|
+
};
|
|
10550
|
+
|
|
10551
|
+
if (includeInstance) {
|
|
10552
|
+
obj.$jspbMessageInstance = msg;
|
|
10553
|
+
}
|
|
10554
|
+
return obj;
|
|
10555
|
+
};
|
|
10556
|
+
}
|
|
10557
|
+
|
|
10558
|
+
|
|
10559
|
+
/**
|
|
10560
|
+
* Deserializes binary data (in protobuf wire format).
|
|
10561
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
10562
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse}
|
|
10563
|
+
*/
|
|
10564
|
+
proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.deserializeBinary = function(bytes) {
|
|
10565
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
10566
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse;
|
|
10567
|
+
return proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.deserializeBinaryFromReader(msg, reader);
|
|
10568
|
+
};
|
|
10569
|
+
|
|
10570
|
+
|
|
10571
|
+
/**
|
|
10572
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
10573
|
+
* given reader into the given message object.
|
|
10574
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse} msg The message object to deserialize into.
|
|
10575
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
10576
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse}
|
|
10577
|
+
*/
|
|
10578
|
+
proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
10579
|
+
while (reader.nextField()) {
|
|
10580
|
+
if (reader.isEndGroup()) {
|
|
10581
|
+
break;
|
|
10582
|
+
}
|
|
10583
|
+
var field = reader.getFieldNumber();
|
|
10584
|
+
switch (field) {
|
|
10585
|
+
case 1:
|
|
10586
|
+
var value = new proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.DataContractHistory;
|
|
10587
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.DataContractHistory.deserializeBinaryFromReader);
|
|
10588
|
+
msg.setDataContractHistory(value);
|
|
10589
|
+
break;
|
|
10590
|
+
case 2:
|
|
10591
|
+
var value = new proto.org.dash.platform.dapi.v0.Proof;
|
|
10592
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.Proof.deserializeBinaryFromReader);
|
|
10593
|
+
msg.setProof(value);
|
|
10594
|
+
break;
|
|
10595
|
+
case 3:
|
|
10596
|
+
var value = new proto.org.dash.platform.dapi.v0.ResponseMetadata;
|
|
10597
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.ResponseMetadata.deserializeBinaryFromReader);
|
|
10598
|
+
msg.setMetadata(value);
|
|
10599
|
+
break;
|
|
10600
|
+
default:
|
|
10601
|
+
reader.skipField();
|
|
10602
|
+
break;
|
|
10603
|
+
}
|
|
10604
|
+
}
|
|
10605
|
+
return msg;
|
|
10606
|
+
};
|
|
10607
|
+
|
|
10608
|
+
|
|
10609
|
+
/**
|
|
10610
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
10611
|
+
* @return {!Uint8Array}
|
|
10612
|
+
*/
|
|
10613
|
+
proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.prototype.serializeBinary = function() {
|
|
10614
|
+
var writer = new jspb.BinaryWriter();
|
|
10615
|
+
proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.serializeBinaryToWriter(this, writer);
|
|
10616
|
+
return writer.getResultBuffer();
|
|
10617
|
+
};
|
|
10618
|
+
|
|
10619
|
+
|
|
10620
|
+
/**
|
|
10621
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
10622
|
+
* format), writing to the given BinaryWriter.
|
|
10623
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse} message
|
|
10624
|
+
* @param {!jspb.BinaryWriter} writer
|
|
10625
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10626
|
+
*/
|
|
10627
|
+
proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.serializeBinaryToWriter = function(message, writer) {
|
|
10628
|
+
var f = undefined;
|
|
10629
|
+
f = message.getDataContractHistory();
|
|
10630
|
+
if (f != null) {
|
|
10631
|
+
writer.writeMessage(
|
|
10632
|
+
1,
|
|
10633
|
+
f,
|
|
10634
|
+
proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.DataContractHistory.serializeBinaryToWriter
|
|
10635
|
+
);
|
|
10636
|
+
}
|
|
10637
|
+
f = message.getProof();
|
|
10638
|
+
if (f != null) {
|
|
10639
|
+
writer.writeMessage(
|
|
10640
|
+
2,
|
|
10641
|
+
f,
|
|
10642
|
+
proto.org.dash.platform.dapi.v0.Proof.serializeBinaryToWriter
|
|
10643
|
+
);
|
|
10644
|
+
}
|
|
10645
|
+
f = message.getMetadata();
|
|
10646
|
+
if (f != null) {
|
|
10647
|
+
writer.writeMessage(
|
|
10648
|
+
3,
|
|
10649
|
+
f,
|
|
10650
|
+
proto.org.dash.platform.dapi.v0.ResponseMetadata.serializeBinaryToWriter
|
|
10651
|
+
);
|
|
10652
|
+
}
|
|
10653
|
+
};
|
|
10654
|
+
|
|
10655
|
+
|
|
10656
|
+
|
|
10657
|
+
|
|
10658
|
+
|
|
10659
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
10660
|
+
/**
|
|
10661
|
+
* Creates an object representation of this proto.
|
|
10662
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
10663
|
+
* Optional fields that are not set will be set to undefined.
|
|
10664
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
10665
|
+
* For the list of reserved names please see:
|
|
10666
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
10667
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
10668
|
+
* JSPB instance for transitional soy proto support:
|
|
10669
|
+
* http://goto/soy-param-migration
|
|
10670
|
+
* @return {!Object}
|
|
10671
|
+
*/
|
|
10672
|
+
proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.DataContractHistoryEntry.prototype.toObject = function(opt_includeInstance) {
|
|
10673
|
+
return proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.DataContractHistoryEntry.toObject(opt_includeInstance, this);
|
|
10674
|
+
};
|
|
10675
|
+
|
|
10676
|
+
|
|
10677
|
+
/**
|
|
10678
|
+
* Static version of the {@see toObject} method.
|
|
10679
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
10680
|
+
* the JSPB instance for transitional soy proto support:
|
|
10681
|
+
* http://goto/soy-param-migration
|
|
10682
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.DataContractHistoryEntry} msg The msg instance to transform.
|
|
10683
|
+
* @return {!Object}
|
|
10684
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10685
|
+
*/
|
|
10686
|
+
proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.DataContractHistoryEntry.toObject = function(includeInstance, msg) {
|
|
10687
|
+
var f, obj = {
|
|
10688
|
+
date: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
10689
|
+
value: msg.getValue_asB64()
|
|
10690
|
+
};
|
|
10691
|
+
|
|
10692
|
+
if (includeInstance) {
|
|
10693
|
+
obj.$jspbMessageInstance = msg;
|
|
10694
|
+
}
|
|
10695
|
+
return obj;
|
|
10696
|
+
};
|
|
10697
|
+
}
|
|
10698
|
+
|
|
10699
|
+
|
|
10700
|
+
/**
|
|
10701
|
+
* Deserializes binary data (in protobuf wire format).
|
|
10702
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
10703
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.DataContractHistoryEntry}
|
|
10704
|
+
*/
|
|
10705
|
+
proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.DataContractHistoryEntry.deserializeBinary = function(bytes) {
|
|
10706
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
10707
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.DataContractHistoryEntry;
|
|
10708
|
+
return proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.DataContractHistoryEntry.deserializeBinaryFromReader(msg, reader);
|
|
10709
|
+
};
|
|
10710
|
+
|
|
10711
|
+
|
|
10712
|
+
/**
|
|
10713
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
10714
|
+
* given reader into the given message object.
|
|
10715
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.DataContractHistoryEntry} msg The message object to deserialize into.
|
|
10716
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
10717
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.DataContractHistoryEntry}
|
|
10718
|
+
*/
|
|
10719
|
+
proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.DataContractHistoryEntry.deserializeBinaryFromReader = function(msg, reader) {
|
|
10720
|
+
while (reader.nextField()) {
|
|
10721
|
+
if (reader.isEndGroup()) {
|
|
10722
|
+
break;
|
|
10723
|
+
}
|
|
10724
|
+
var field = reader.getFieldNumber();
|
|
10725
|
+
switch (field) {
|
|
10726
|
+
case 1:
|
|
10727
|
+
var value = /** @type {number} */ (reader.readUint64());
|
|
10728
|
+
msg.setDate(value);
|
|
10729
|
+
break;
|
|
10730
|
+
case 2:
|
|
10731
|
+
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
10732
|
+
msg.setValue(value);
|
|
10733
|
+
break;
|
|
10734
|
+
default:
|
|
10735
|
+
reader.skipField();
|
|
10736
|
+
break;
|
|
10737
|
+
}
|
|
10738
|
+
}
|
|
10739
|
+
return msg;
|
|
10740
|
+
};
|
|
10741
|
+
|
|
10742
|
+
|
|
10743
|
+
/**
|
|
10744
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
10745
|
+
* @return {!Uint8Array}
|
|
10746
|
+
*/
|
|
10747
|
+
proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.DataContractHistoryEntry.prototype.serializeBinary = function() {
|
|
10748
|
+
var writer = new jspb.BinaryWriter();
|
|
10749
|
+
proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.DataContractHistoryEntry.serializeBinaryToWriter(this, writer);
|
|
10750
|
+
return writer.getResultBuffer();
|
|
10751
|
+
};
|
|
10752
|
+
|
|
10753
|
+
|
|
10754
|
+
/**
|
|
10755
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
10756
|
+
* format), writing to the given BinaryWriter.
|
|
10757
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.DataContractHistoryEntry} message
|
|
10758
|
+
* @param {!jspb.BinaryWriter} writer
|
|
10759
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10760
|
+
*/
|
|
10761
|
+
proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.DataContractHistoryEntry.serializeBinaryToWriter = function(message, writer) {
|
|
10762
|
+
var f = undefined;
|
|
10763
|
+
f = message.getDate();
|
|
10764
|
+
if (f !== 0) {
|
|
10765
|
+
writer.writeUint64(
|
|
10766
|
+
1,
|
|
10767
|
+
f
|
|
10768
|
+
);
|
|
10769
|
+
}
|
|
10770
|
+
f = message.getValue_asU8();
|
|
10771
|
+
if (f.length > 0) {
|
|
10772
|
+
writer.writeBytes(
|
|
10773
|
+
2,
|
|
10774
|
+
f
|
|
10775
|
+
);
|
|
10776
|
+
}
|
|
10777
|
+
};
|
|
10778
|
+
|
|
10779
|
+
|
|
10780
|
+
/**
|
|
10781
|
+
* optional uint64 date = 1;
|
|
10782
|
+
* @return {number}
|
|
10783
|
+
*/
|
|
10784
|
+
proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.DataContractHistoryEntry.prototype.getDate = function() {
|
|
10785
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
10786
|
+
};
|
|
10787
|
+
|
|
10788
|
+
|
|
10789
|
+
/**
|
|
10790
|
+
* @param {number} value
|
|
10791
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.DataContractHistoryEntry} returns this
|
|
10792
|
+
*/
|
|
10793
|
+
proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.DataContractHistoryEntry.prototype.setDate = function(value) {
|
|
10794
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
10795
|
+
};
|
|
10796
|
+
|
|
10797
|
+
|
|
10798
|
+
/**
|
|
10799
|
+
* optional bytes value = 2;
|
|
10800
|
+
* @return {string}
|
|
10801
|
+
*/
|
|
10802
|
+
proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.DataContractHistoryEntry.prototype.getValue = function() {
|
|
10803
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
10804
|
+
};
|
|
10805
|
+
|
|
10806
|
+
|
|
10807
|
+
/**
|
|
10808
|
+
* optional bytes value = 2;
|
|
10809
|
+
* This is a type-conversion wrapper around `getValue()`
|
|
10810
|
+
* @return {string}
|
|
10811
|
+
*/
|
|
10812
|
+
proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.DataContractHistoryEntry.prototype.getValue_asB64 = function() {
|
|
10813
|
+
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
10814
|
+
this.getValue()));
|
|
10815
|
+
};
|
|
10816
|
+
|
|
10817
|
+
|
|
10818
|
+
/**
|
|
10819
|
+
* optional bytes value = 2;
|
|
10820
|
+
* Note that Uint8Array is not supported on all browsers.
|
|
10821
|
+
* @see http://caniuse.com/Uint8Array
|
|
10822
|
+
* This is a type-conversion wrapper around `getValue()`
|
|
10823
|
+
* @return {!Uint8Array}
|
|
10824
|
+
*/
|
|
10825
|
+
proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.DataContractHistoryEntry.prototype.getValue_asU8 = function() {
|
|
10826
|
+
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
10827
|
+
this.getValue()));
|
|
10828
|
+
};
|
|
10829
|
+
|
|
10830
|
+
|
|
10831
|
+
/**
|
|
10832
|
+
* @param {!(string|Uint8Array)} value
|
|
10833
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.DataContractHistoryEntry} returns this
|
|
10834
|
+
*/
|
|
10835
|
+
proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.DataContractHistoryEntry.prototype.setValue = function(value) {
|
|
10836
|
+
return jspb.Message.setProto3BytesField(this, 2, value);
|
|
10837
|
+
};
|
|
10838
|
+
|
|
10839
|
+
|
|
10840
|
+
|
|
10841
|
+
/**
|
|
10842
|
+
* List of repeated fields within this message type.
|
|
10843
|
+
* @private {!Array<number>}
|
|
10844
|
+
* @const
|
|
10845
|
+
*/
|
|
10846
|
+
proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.DataContractHistory.repeatedFields_ = [1];
|
|
10847
|
+
|
|
10848
|
+
|
|
10849
|
+
|
|
10850
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
10851
|
+
/**
|
|
10852
|
+
* Creates an object representation of this proto.
|
|
10853
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
10854
|
+
* Optional fields that are not set will be set to undefined.
|
|
10855
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
10856
|
+
* For the list of reserved names please see:
|
|
10857
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
10858
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
10859
|
+
* JSPB instance for transitional soy proto support:
|
|
10860
|
+
* http://goto/soy-param-migration
|
|
10861
|
+
* @return {!Object}
|
|
10862
|
+
*/
|
|
10863
|
+
proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.DataContractHistory.prototype.toObject = function(opt_includeInstance) {
|
|
10864
|
+
return proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.DataContractHistory.toObject(opt_includeInstance, this);
|
|
10865
|
+
};
|
|
10866
|
+
|
|
10867
|
+
|
|
10868
|
+
/**
|
|
10869
|
+
* Static version of the {@see toObject} method.
|
|
10870
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
10871
|
+
* the JSPB instance for transitional soy proto support:
|
|
10872
|
+
* http://goto/soy-param-migration
|
|
10873
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.DataContractHistory} msg The msg instance to transform.
|
|
10874
|
+
* @return {!Object}
|
|
10875
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10876
|
+
*/
|
|
10877
|
+
proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.DataContractHistory.toObject = function(includeInstance, msg) {
|
|
10878
|
+
var f, obj = {
|
|
10879
|
+
dataContractEntriesList: jspb.Message.toObjectList(msg.getDataContractEntriesList(),
|
|
10880
|
+
proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.DataContractHistoryEntry.toObject, includeInstance)
|
|
10881
|
+
};
|
|
10882
|
+
|
|
10883
|
+
if (includeInstance) {
|
|
10884
|
+
obj.$jspbMessageInstance = msg;
|
|
10885
|
+
}
|
|
10886
|
+
return obj;
|
|
10887
|
+
};
|
|
10888
|
+
}
|
|
10889
|
+
|
|
10890
|
+
|
|
10891
|
+
/**
|
|
10892
|
+
* Deserializes binary data (in protobuf wire format).
|
|
10893
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
10894
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.DataContractHistory}
|
|
10895
|
+
*/
|
|
10896
|
+
proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.DataContractHistory.deserializeBinary = function(bytes) {
|
|
10897
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
10898
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.DataContractHistory;
|
|
10899
|
+
return proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.DataContractHistory.deserializeBinaryFromReader(msg, reader);
|
|
10900
|
+
};
|
|
10901
|
+
|
|
10902
|
+
|
|
10903
|
+
/**
|
|
10904
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
10905
|
+
* given reader into the given message object.
|
|
10906
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.DataContractHistory} msg The message object to deserialize into.
|
|
10907
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
10908
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.DataContractHistory}
|
|
10909
|
+
*/
|
|
10910
|
+
proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.DataContractHistory.deserializeBinaryFromReader = function(msg, reader) {
|
|
10911
|
+
while (reader.nextField()) {
|
|
10912
|
+
if (reader.isEndGroup()) {
|
|
10913
|
+
break;
|
|
10914
|
+
}
|
|
10915
|
+
var field = reader.getFieldNumber();
|
|
10916
|
+
switch (field) {
|
|
10917
|
+
case 1:
|
|
10918
|
+
var value = new proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.DataContractHistoryEntry;
|
|
10919
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.DataContractHistoryEntry.deserializeBinaryFromReader);
|
|
10920
|
+
msg.addDataContractEntries(value);
|
|
10921
|
+
break;
|
|
10922
|
+
default:
|
|
10923
|
+
reader.skipField();
|
|
10924
|
+
break;
|
|
10925
|
+
}
|
|
10926
|
+
}
|
|
10927
|
+
return msg;
|
|
10928
|
+
};
|
|
10929
|
+
|
|
10930
|
+
|
|
10931
|
+
/**
|
|
10932
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
10933
|
+
* @return {!Uint8Array}
|
|
10934
|
+
*/
|
|
10935
|
+
proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.DataContractHistory.prototype.serializeBinary = function() {
|
|
10936
|
+
var writer = new jspb.BinaryWriter();
|
|
10937
|
+
proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.DataContractHistory.serializeBinaryToWriter(this, writer);
|
|
10938
|
+
return writer.getResultBuffer();
|
|
10939
|
+
};
|
|
10940
|
+
|
|
10941
|
+
|
|
10942
|
+
/**
|
|
10943
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
10944
|
+
* format), writing to the given BinaryWriter.
|
|
10945
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.DataContractHistory} message
|
|
10946
|
+
* @param {!jspb.BinaryWriter} writer
|
|
10947
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10948
|
+
*/
|
|
10949
|
+
proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.DataContractHistory.serializeBinaryToWriter = function(message, writer) {
|
|
10950
|
+
var f = undefined;
|
|
10951
|
+
f = message.getDataContractEntriesList();
|
|
10952
|
+
if (f.length > 0) {
|
|
10953
|
+
writer.writeRepeatedMessage(
|
|
10954
|
+
1,
|
|
10955
|
+
f,
|
|
10956
|
+
proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.DataContractHistoryEntry.serializeBinaryToWriter
|
|
10957
|
+
);
|
|
10958
|
+
}
|
|
10959
|
+
};
|
|
10960
|
+
|
|
10961
|
+
|
|
10962
|
+
/**
|
|
10963
|
+
* repeated DataContractHistoryEntry data_contract_entries = 1;
|
|
10964
|
+
* @return {!Array<!proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.DataContractHistoryEntry>}
|
|
10965
|
+
*/
|
|
10966
|
+
proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.DataContractHistory.prototype.getDataContractEntriesList = function() {
|
|
10967
|
+
return /** @type{!Array<!proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.DataContractHistoryEntry>} */ (
|
|
10968
|
+
jspb.Message.getRepeatedWrapperField(this, proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.DataContractHistoryEntry, 1));
|
|
10969
|
+
};
|
|
10970
|
+
|
|
10971
|
+
|
|
10972
|
+
/**
|
|
10973
|
+
* @param {!Array<!proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.DataContractHistoryEntry>} value
|
|
10974
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.DataContractHistory} returns this
|
|
10975
|
+
*/
|
|
10976
|
+
proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.DataContractHistory.prototype.setDataContractEntriesList = function(value) {
|
|
10977
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
10978
|
+
};
|
|
10979
|
+
|
|
10980
|
+
|
|
10981
|
+
/**
|
|
10982
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.DataContractHistoryEntry=} opt_value
|
|
10983
|
+
* @param {number=} opt_index
|
|
10984
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.DataContractHistoryEntry}
|
|
10985
|
+
*/
|
|
10986
|
+
proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.DataContractHistory.prototype.addDataContractEntries = function(opt_value, opt_index) {
|
|
10987
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.DataContractHistoryEntry, opt_index);
|
|
10988
|
+
};
|
|
10989
|
+
|
|
10990
|
+
|
|
10991
|
+
/**
|
|
10992
|
+
* Clears the list making it empty but non-null.
|
|
10993
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.DataContractHistory} returns this
|
|
10994
|
+
*/
|
|
10995
|
+
proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.DataContractHistory.prototype.clearDataContractEntriesList = function() {
|
|
10996
|
+
return this.setDataContractEntriesList([]);
|
|
10997
|
+
};
|
|
10998
|
+
|
|
10999
|
+
|
|
11000
|
+
/**
|
|
11001
|
+
* optional DataContractHistory data_contract_history = 1;
|
|
11002
|
+
* @return {?proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.DataContractHistory}
|
|
11003
|
+
*/
|
|
11004
|
+
proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.prototype.getDataContractHistory = function() {
|
|
11005
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.DataContractHistory} */ (
|
|
11006
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.DataContractHistory, 1));
|
|
11007
|
+
};
|
|
11008
|
+
|
|
11009
|
+
|
|
11010
|
+
/**
|
|
11011
|
+
* @param {?proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.DataContractHistory|undefined} value
|
|
11012
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse} returns this
|
|
11013
|
+
*/
|
|
11014
|
+
proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.prototype.setDataContractHistory = function(value) {
|
|
11015
|
+
return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.oneofGroups_[0], value);
|
|
11016
|
+
};
|
|
11017
|
+
|
|
11018
|
+
|
|
11019
|
+
/**
|
|
11020
|
+
* Clears the message field making it undefined.
|
|
11021
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse} returns this
|
|
11022
|
+
*/
|
|
11023
|
+
proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.prototype.clearDataContractHistory = function() {
|
|
11024
|
+
return this.setDataContractHistory(undefined);
|
|
11025
|
+
};
|
|
11026
|
+
|
|
11027
|
+
|
|
11028
|
+
/**
|
|
11029
|
+
* Returns whether this field is set.
|
|
11030
|
+
* @return {boolean}
|
|
11031
|
+
*/
|
|
11032
|
+
proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.prototype.hasDataContractHistory = function() {
|
|
11033
|
+
return jspb.Message.getField(this, 1) != null;
|
|
11034
|
+
};
|
|
11035
|
+
|
|
11036
|
+
|
|
11037
|
+
/**
|
|
11038
|
+
* optional Proof proof = 2;
|
|
11039
|
+
* @return {?proto.org.dash.platform.dapi.v0.Proof}
|
|
11040
|
+
*/
|
|
11041
|
+
proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.prototype.getProof = function() {
|
|
11042
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.Proof} */ (
|
|
11043
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.Proof, 2));
|
|
11044
|
+
};
|
|
11045
|
+
|
|
11046
|
+
|
|
11047
|
+
/**
|
|
11048
|
+
* @param {?proto.org.dash.platform.dapi.v0.Proof|undefined} value
|
|
11049
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse} returns this
|
|
11050
|
+
*/
|
|
11051
|
+
proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.prototype.setProof = function(value) {
|
|
11052
|
+
return jspb.Message.setOneofWrapperField(this, 2, proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.oneofGroups_[0], value);
|
|
11053
|
+
};
|
|
11054
|
+
|
|
11055
|
+
|
|
11056
|
+
/**
|
|
11057
|
+
* Clears the message field making it undefined.
|
|
11058
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse} returns this
|
|
11059
|
+
*/
|
|
11060
|
+
proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.prototype.clearProof = function() {
|
|
11061
|
+
return this.setProof(undefined);
|
|
11062
|
+
};
|
|
11063
|
+
|
|
11064
|
+
|
|
11065
|
+
/**
|
|
11066
|
+
* Returns whether this field is set.
|
|
11067
|
+
* @return {boolean}
|
|
11068
|
+
*/
|
|
11069
|
+
proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.prototype.hasProof = function() {
|
|
11070
|
+
return jspb.Message.getField(this, 2) != null;
|
|
11071
|
+
};
|
|
11072
|
+
|
|
11073
|
+
|
|
11074
|
+
/**
|
|
11075
|
+
* optional ResponseMetadata metadata = 3;
|
|
11076
|
+
* @return {?proto.org.dash.platform.dapi.v0.ResponseMetadata}
|
|
11077
|
+
*/
|
|
11078
|
+
proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.prototype.getMetadata = function() {
|
|
11079
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.ResponseMetadata} */ (
|
|
11080
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.ResponseMetadata, 3));
|
|
11081
|
+
};
|
|
11082
|
+
|
|
11083
|
+
|
|
11084
|
+
/**
|
|
11085
|
+
* @param {?proto.org.dash.platform.dapi.v0.ResponseMetadata|undefined} value
|
|
11086
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse} returns this
|
|
11087
|
+
*/
|
|
11088
|
+
proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.prototype.setMetadata = function(value) {
|
|
11089
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
11090
|
+
};
|
|
11091
|
+
|
|
11092
|
+
|
|
11093
|
+
/**
|
|
11094
|
+
* Clears the message field making it undefined.
|
|
11095
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse} returns this
|
|
11096
|
+
*/
|
|
11097
|
+
proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.prototype.clearMetadata = function() {
|
|
11098
|
+
return this.setMetadata(undefined);
|
|
11099
|
+
};
|
|
11100
|
+
|
|
11101
|
+
|
|
11102
|
+
/**
|
|
11103
|
+
* Returns whether this field is set.
|
|
11104
|
+
* @return {boolean}
|
|
11105
|
+
*/
|
|
11106
|
+
proto.org.dash.platform.dapi.v0.GetDataContractHistoryResponse.prototype.hasMetadata = function() {
|
|
11107
|
+
return jspb.Message.getField(this, 3) != null;
|
|
11108
|
+
};
|
|
11109
|
+
|
|
11110
|
+
|
|
11111
|
+
|
|
11112
|
+
/**
|
|
11113
|
+
* Oneof group definitions for this message. Each group defines the field
|
|
11114
|
+
* numbers belonging to that group. When of these fields' value is set, all
|
|
11115
|
+
* other fields in the group are cleared. During deserialization, if multiple
|
|
11116
|
+
* fields are encountered for a group, only the last value seen will be kept.
|
|
11117
|
+
* @private {!Array<!Array<number>>}
|
|
11118
|
+
* @const
|
|
11119
|
+
*/
|
|
11120
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.oneofGroups_ = [[6,7]];
|
|
11121
|
+
|
|
11122
|
+
/**
|
|
11123
|
+
* @enum {number}
|
|
11124
|
+
*/
|
|
11125
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.StartCase = {
|
|
11126
|
+
START_NOT_SET: 0,
|
|
11127
|
+
START_AFTER: 6,
|
|
11128
|
+
START_AT: 7
|
|
11129
|
+
};
|
|
11130
|
+
|
|
11131
|
+
/**
|
|
11132
|
+
* @return {proto.org.dash.platform.dapi.v0.GetDocumentsRequest.StartCase}
|
|
11133
|
+
*/
|
|
11134
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.prototype.getStartCase = function() {
|
|
11135
|
+
return /** @type {proto.org.dash.platform.dapi.v0.GetDocumentsRequest.StartCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetDocumentsRequest.oneofGroups_[0]));
|
|
11136
|
+
};
|
|
11137
|
+
|
|
11138
|
+
|
|
11139
|
+
|
|
11140
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
11141
|
+
/**
|
|
11142
|
+
* Creates an object representation of this proto.
|
|
11143
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
11144
|
+
* Optional fields that are not set will be set to undefined.
|
|
11145
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
11146
|
+
* For the list of reserved names please see:
|
|
11147
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
11148
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
11149
|
+
* JSPB instance for transitional soy proto support:
|
|
11150
|
+
* http://goto/soy-param-migration
|
|
11151
|
+
* @return {!Object}
|
|
11152
|
+
*/
|
|
11153
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
11154
|
+
return proto.org.dash.platform.dapi.v0.GetDocumentsRequest.toObject(opt_includeInstance, this);
|
|
11155
|
+
};
|
|
11156
|
+
|
|
11157
|
+
|
|
11158
|
+
/**
|
|
11159
|
+
* Static version of the {@see toObject} method.
|
|
11160
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
11161
|
+
* the JSPB instance for transitional soy proto support:
|
|
11162
|
+
* http://goto/soy-param-migration
|
|
11163
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest} msg The msg instance to transform.
|
|
11164
|
+
* @return {!Object}
|
|
11165
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
11166
|
+
*/
|
|
11167
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.toObject = function(includeInstance, msg) {
|
|
11168
|
+
var f, obj = {
|
|
11169
|
+
dataContractId: msg.getDataContractId_asB64(),
|
|
11170
|
+
documentType: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
11171
|
+
where: msg.getWhere_asB64(),
|
|
11172
|
+
orderBy: msg.getOrderBy_asB64(),
|
|
11173
|
+
limit: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
11174
|
+
startAfter: msg.getStartAfter_asB64(),
|
|
11175
|
+
startAt: msg.getStartAt_asB64(),
|
|
11176
|
+
prove: jspb.Message.getBooleanFieldWithDefault(msg, 8, false)
|
|
11177
|
+
};
|
|
11178
|
+
|
|
11179
|
+
if (includeInstance) {
|
|
11180
|
+
obj.$jspbMessageInstance = msg;
|
|
11181
|
+
}
|
|
11182
|
+
return obj;
|
|
11183
|
+
};
|
|
11184
|
+
}
|
|
11185
|
+
|
|
11186
|
+
|
|
11187
|
+
/**
|
|
11188
|
+
* Deserializes binary data (in protobuf wire format).
|
|
11189
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
11190
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest}
|
|
11191
|
+
*/
|
|
11192
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.deserializeBinary = function(bytes) {
|
|
11193
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
11194
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetDocumentsRequest;
|
|
11195
|
+
return proto.org.dash.platform.dapi.v0.GetDocumentsRequest.deserializeBinaryFromReader(msg, reader);
|
|
11196
|
+
};
|
|
11197
|
+
|
|
11198
|
+
|
|
11199
|
+
/**
|
|
11200
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
11201
|
+
* given reader into the given message object.
|
|
11202
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest} msg The message object to deserialize into.
|
|
11203
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
11204
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest}
|
|
11205
|
+
*/
|
|
11206
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
11207
|
+
while (reader.nextField()) {
|
|
11208
|
+
if (reader.isEndGroup()) {
|
|
11209
|
+
break;
|
|
11210
|
+
}
|
|
11211
|
+
var field = reader.getFieldNumber();
|
|
11212
|
+
switch (field) {
|
|
11213
|
+
case 1:
|
|
11214
|
+
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
11215
|
+
msg.setDataContractId(value);
|
|
11216
|
+
break;
|
|
11217
|
+
case 2:
|
|
11218
|
+
var value = /** @type {string} */ (reader.readString());
|
|
11219
|
+
msg.setDocumentType(value);
|
|
11220
|
+
break;
|
|
11221
|
+
case 3:
|
|
11222
|
+
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
11223
|
+
msg.setWhere(value);
|
|
11224
|
+
break;
|
|
11225
|
+
case 4:
|
|
11226
|
+
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
11227
|
+
msg.setOrderBy(value);
|
|
11228
|
+
break;
|
|
11229
|
+
case 5:
|
|
11230
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
11231
|
+
msg.setLimit(value);
|
|
11232
|
+
break;
|
|
11233
|
+
case 6:
|
|
11234
|
+
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
11235
|
+
msg.setStartAfter(value);
|
|
11236
|
+
break;
|
|
11237
|
+
case 7:
|
|
11238
|
+
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
11239
|
+
msg.setStartAt(value);
|
|
11240
|
+
break;
|
|
11241
|
+
case 8:
|
|
11242
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
11243
|
+
msg.setProve(value);
|
|
11244
|
+
break;
|
|
11245
|
+
default:
|
|
11246
|
+
reader.skipField();
|
|
11247
|
+
break;
|
|
11248
|
+
}
|
|
11249
|
+
}
|
|
11250
|
+
return msg;
|
|
11251
|
+
};
|
|
11252
|
+
|
|
11253
|
+
|
|
11254
|
+
/**
|
|
11255
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
11256
|
+
* @return {!Uint8Array}
|
|
11257
|
+
*/
|
|
11258
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.prototype.serializeBinary = function() {
|
|
11259
|
+
var writer = new jspb.BinaryWriter();
|
|
11260
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.serializeBinaryToWriter(this, writer);
|
|
11261
|
+
return writer.getResultBuffer();
|
|
11262
|
+
};
|
|
11263
|
+
|
|
11264
|
+
|
|
11265
|
+
/**
|
|
11266
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
11267
|
+
* format), writing to the given BinaryWriter.
|
|
11268
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest} message
|
|
11269
|
+
* @param {!jspb.BinaryWriter} writer
|
|
11270
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
11271
|
+
*/
|
|
11272
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
11273
|
+
var f = undefined;
|
|
11274
|
+
f = message.getDataContractId_asU8();
|
|
11275
|
+
if (f.length > 0) {
|
|
11276
|
+
writer.writeBytes(
|
|
11277
|
+
1,
|
|
11278
|
+
f
|
|
11279
|
+
);
|
|
11280
|
+
}
|
|
11281
|
+
f = message.getDocumentType();
|
|
11282
|
+
if (f.length > 0) {
|
|
11283
|
+
writer.writeString(
|
|
11284
|
+
2,
|
|
11285
|
+
f
|
|
11286
|
+
);
|
|
11287
|
+
}
|
|
11288
|
+
f = message.getWhere_asU8();
|
|
11289
|
+
if (f.length > 0) {
|
|
11290
|
+
writer.writeBytes(
|
|
11291
|
+
3,
|
|
11292
|
+
f
|
|
11293
|
+
);
|
|
11294
|
+
}
|
|
11295
|
+
f = message.getOrderBy_asU8();
|
|
11296
|
+
if (f.length > 0) {
|
|
11297
|
+
writer.writeBytes(
|
|
11298
|
+
4,
|
|
11299
|
+
f
|
|
11300
|
+
);
|
|
11301
|
+
}
|
|
11302
|
+
f = message.getLimit();
|
|
11303
|
+
if (f !== 0) {
|
|
11304
|
+
writer.writeUint32(
|
|
11305
|
+
5,
|
|
11306
|
+
f
|
|
11307
|
+
);
|
|
11308
|
+
}
|
|
11309
|
+
f = /** @type {!(string|Uint8Array)} */ (jspb.Message.getField(message, 6));
|
|
11310
|
+
if (f != null) {
|
|
11311
|
+
writer.writeBytes(
|
|
11312
|
+
6,
|
|
11313
|
+
f
|
|
11314
|
+
);
|
|
11315
|
+
}
|
|
11316
|
+
f = /** @type {!(string|Uint8Array)} */ (jspb.Message.getField(message, 7));
|
|
11317
|
+
if (f != null) {
|
|
11318
|
+
writer.writeBytes(
|
|
11319
|
+
7,
|
|
11320
|
+
f
|
|
11321
|
+
);
|
|
11322
|
+
}
|
|
11323
|
+
f = message.getProve();
|
|
11324
|
+
if (f) {
|
|
11325
|
+
writer.writeBool(
|
|
11326
|
+
8,
|
|
11327
|
+
f
|
|
11328
|
+
);
|
|
11329
|
+
}
|
|
11330
|
+
};
|
|
11331
|
+
|
|
11332
|
+
|
|
11333
|
+
/**
|
|
11334
|
+
* optional bytes data_contract_id = 1;
|
|
11335
|
+
* @return {string}
|
|
11336
|
+
*/
|
|
11337
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.prototype.getDataContractId = function() {
|
|
11338
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
11339
|
+
};
|
|
11340
|
+
|
|
11341
|
+
|
|
11342
|
+
/**
|
|
11343
|
+
* optional bytes data_contract_id = 1;
|
|
11344
|
+
* This is a type-conversion wrapper around `getDataContractId()`
|
|
11345
|
+
* @return {string}
|
|
11346
|
+
*/
|
|
11347
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.prototype.getDataContractId_asB64 = function() {
|
|
11348
|
+
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
11349
|
+
this.getDataContractId()));
|
|
11350
|
+
};
|
|
11351
|
+
|
|
11352
|
+
|
|
11353
|
+
/**
|
|
11354
|
+
* optional bytes data_contract_id = 1;
|
|
11355
|
+
* Note that Uint8Array is not supported on all browsers.
|
|
11356
|
+
* @see http://caniuse.com/Uint8Array
|
|
11357
|
+
* This is a type-conversion wrapper around `getDataContractId()`
|
|
11358
|
+
* @return {!Uint8Array}
|
|
11359
|
+
*/
|
|
11360
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.prototype.getDataContractId_asU8 = function() {
|
|
11361
|
+
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
11362
|
+
this.getDataContractId()));
|
|
11363
|
+
};
|
|
11364
|
+
|
|
11365
|
+
|
|
11366
|
+
/**
|
|
11367
|
+
* @param {!(string|Uint8Array)} value
|
|
11368
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest} returns this
|
|
11369
|
+
*/
|
|
11370
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.prototype.setDataContractId = function(value) {
|
|
11371
|
+
return jspb.Message.setProto3BytesField(this, 1, value);
|
|
11372
|
+
};
|
|
11373
|
+
|
|
11374
|
+
|
|
11375
|
+
/**
|
|
11376
|
+
* optional string document_type = 2;
|
|
11377
|
+
* @return {string}
|
|
11378
|
+
*/
|
|
11379
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.prototype.getDocumentType = function() {
|
|
11380
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
11381
|
+
};
|
|
11382
|
+
|
|
11383
|
+
|
|
11384
|
+
/**
|
|
11385
|
+
* @param {string} value
|
|
11386
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest} returns this
|
|
11387
|
+
*/
|
|
11388
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.prototype.setDocumentType = function(value) {
|
|
11389
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
11390
|
+
};
|
|
11391
|
+
|
|
11392
|
+
|
|
11393
|
+
/**
|
|
11394
|
+
* optional bytes where = 3;
|
|
11395
|
+
* @return {string}
|
|
11396
|
+
*/
|
|
11397
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.prototype.getWhere = function() {
|
|
11398
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
11399
|
+
};
|
|
11400
|
+
|
|
11401
|
+
|
|
11402
|
+
/**
|
|
11403
|
+
* optional bytes where = 3;
|
|
11404
|
+
* This is a type-conversion wrapper around `getWhere()`
|
|
11405
|
+
* @return {string}
|
|
11406
|
+
*/
|
|
11407
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.prototype.getWhere_asB64 = function() {
|
|
11408
|
+
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
11409
|
+
this.getWhere()));
|
|
11410
|
+
};
|
|
11411
|
+
|
|
11412
|
+
|
|
11413
|
+
/**
|
|
11414
|
+
* optional bytes where = 3;
|
|
11415
|
+
* Note that Uint8Array is not supported on all browsers.
|
|
11416
|
+
* @see http://caniuse.com/Uint8Array
|
|
11417
|
+
* This is a type-conversion wrapper around `getWhere()`
|
|
11418
|
+
* @return {!Uint8Array}
|
|
11419
|
+
*/
|
|
11420
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.prototype.getWhere_asU8 = function() {
|
|
11421
|
+
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
11422
|
+
this.getWhere()));
|
|
11423
|
+
};
|
|
11424
|
+
|
|
11425
|
+
|
|
11426
|
+
/**
|
|
11427
|
+
* @param {!(string|Uint8Array)} value
|
|
11428
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest} returns this
|
|
11429
|
+
*/
|
|
11430
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.prototype.setWhere = function(value) {
|
|
11431
|
+
return jspb.Message.setProto3BytesField(this, 3, value);
|
|
11432
|
+
};
|
|
11433
|
+
|
|
11434
|
+
|
|
11435
|
+
/**
|
|
11436
|
+
* optional bytes order_by = 4;
|
|
11437
|
+
* @return {string}
|
|
11438
|
+
*/
|
|
11439
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.prototype.getOrderBy = function() {
|
|
11440
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
11441
|
+
};
|
|
11442
|
+
|
|
11443
|
+
|
|
11444
|
+
/**
|
|
11445
|
+
* optional bytes order_by = 4;
|
|
11446
|
+
* This is a type-conversion wrapper around `getOrderBy()`
|
|
11447
|
+
* @return {string}
|
|
11448
|
+
*/
|
|
11449
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.prototype.getOrderBy_asB64 = function() {
|
|
11450
|
+
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
11451
|
+
this.getOrderBy()));
|
|
11452
|
+
};
|
|
11453
|
+
|
|
11454
|
+
|
|
11455
|
+
/**
|
|
11456
|
+
* optional bytes order_by = 4;
|
|
11457
|
+
* Note that Uint8Array is not supported on all browsers.
|
|
11458
|
+
* @see http://caniuse.com/Uint8Array
|
|
11459
|
+
* This is a type-conversion wrapper around `getOrderBy()`
|
|
11460
|
+
* @return {!Uint8Array}
|
|
11461
|
+
*/
|
|
11462
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.prototype.getOrderBy_asU8 = function() {
|
|
11463
|
+
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
11464
|
+
this.getOrderBy()));
|
|
11465
|
+
};
|
|
11466
|
+
|
|
11467
|
+
|
|
11468
|
+
/**
|
|
11469
|
+
* @param {!(string|Uint8Array)} value
|
|
11470
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest} returns this
|
|
11471
|
+
*/
|
|
11472
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.prototype.setOrderBy = function(value) {
|
|
11473
|
+
return jspb.Message.setProto3BytesField(this, 4, value);
|
|
11474
|
+
};
|
|
11475
|
+
|
|
11476
|
+
|
|
11477
|
+
/**
|
|
11478
|
+
* optional uint32 limit = 5;
|
|
11479
|
+
* @return {number}
|
|
11480
|
+
*/
|
|
11481
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.prototype.getLimit = function() {
|
|
11482
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
11483
|
+
};
|
|
11484
|
+
|
|
11485
|
+
|
|
11486
|
+
/**
|
|
11487
|
+
* @param {number} value
|
|
9983
11488
|
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest} returns this
|
|
9984
11489
|
*/
|
|
9985
11490
|
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.prototype.setLimit = function(value) {
|
|
@@ -10126,12 +11631,180 @@ proto.org.dash.platform.dapi.v0.GetDocumentsRequest.prototype.setProve = functio
|
|
|
10126
11631
|
|
|
10127
11632
|
|
|
10128
11633
|
|
|
11634
|
+
/**
|
|
11635
|
+
* Oneof group definitions for this message. Each group defines the field
|
|
11636
|
+
* numbers belonging to that group. When of these fields' value is set, all
|
|
11637
|
+
* other fields in the group are cleared. During deserialization, if multiple
|
|
11638
|
+
* fields are encountered for a group, only the last value seen will be kept.
|
|
11639
|
+
* @private {!Array<!Array<number>>}
|
|
11640
|
+
* @const
|
|
11641
|
+
*/
|
|
11642
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.oneofGroups_ = [[1,2]];
|
|
11643
|
+
|
|
11644
|
+
/**
|
|
11645
|
+
* @enum {number}
|
|
11646
|
+
*/
|
|
11647
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.ResultCase = {
|
|
11648
|
+
RESULT_NOT_SET: 0,
|
|
11649
|
+
DOCUMENTS: 1,
|
|
11650
|
+
PROOF: 2
|
|
11651
|
+
};
|
|
11652
|
+
|
|
11653
|
+
/**
|
|
11654
|
+
* @return {proto.org.dash.platform.dapi.v0.GetDocumentsResponse.ResultCase}
|
|
11655
|
+
*/
|
|
11656
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.prototype.getResultCase = function() {
|
|
11657
|
+
return /** @type {proto.org.dash.platform.dapi.v0.GetDocumentsResponse.ResultCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.oneofGroups_[0]));
|
|
11658
|
+
};
|
|
11659
|
+
|
|
11660
|
+
|
|
11661
|
+
|
|
11662
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
11663
|
+
/**
|
|
11664
|
+
* Creates an object representation of this proto.
|
|
11665
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
11666
|
+
* Optional fields that are not set will be set to undefined.
|
|
11667
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
11668
|
+
* For the list of reserved names please see:
|
|
11669
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
11670
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
11671
|
+
* JSPB instance for transitional soy proto support:
|
|
11672
|
+
* http://goto/soy-param-migration
|
|
11673
|
+
* @return {!Object}
|
|
11674
|
+
*/
|
|
11675
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
11676
|
+
return proto.org.dash.platform.dapi.v0.GetDocumentsResponse.toObject(opt_includeInstance, this);
|
|
11677
|
+
};
|
|
11678
|
+
|
|
11679
|
+
|
|
11680
|
+
/**
|
|
11681
|
+
* Static version of the {@see toObject} method.
|
|
11682
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
11683
|
+
* the JSPB instance for transitional soy proto support:
|
|
11684
|
+
* http://goto/soy-param-migration
|
|
11685
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse} msg The msg instance to transform.
|
|
11686
|
+
* @return {!Object}
|
|
11687
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
11688
|
+
*/
|
|
11689
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.toObject = function(includeInstance, msg) {
|
|
11690
|
+
var f, obj = {
|
|
11691
|
+
documents: (f = msg.getDocuments()) && proto.org.dash.platform.dapi.v0.GetDocumentsResponse.Documents.toObject(includeInstance, f),
|
|
11692
|
+
proof: (f = msg.getProof()) && proto.org.dash.platform.dapi.v0.Proof.toObject(includeInstance, f),
|
|
11693
|
+
metadata: (f = msg.getMetadata()) && proto.org.dash.platform.dapi.v0.ResponseMetadata.toObject(includeInstance, f)
|
|
11694
|
+
};
|
|
11695
|
+
|
|
11696
|
+
if (includeInstance) {
|
|
11697
|
+
obj.$jspbMessageInstance = msg;
|
|
11698
|
+
}
|
|
11699
|
+
return obj;
|
|
11700
|
+
};
|
|
11701
|
+
}
|
|
11702
|
+
|
|
11703
|
+
|
|
11704
|
+
/**
|
|
11705
|
+
* Deserializes binary data (in protobuf wire format).
|
|
11706
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
11707
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse}
|
|
11708
|
+
*/
|
|
11709
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.deserializeBinary = function(bytes) {
|
|
11710
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
11711
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetDocumentsResponse;
|
|
11712
|
+
return proto.org.dash.platform.dapi.v0.GetDocumentsResponse.deserializeBinaryFromReader(msg, reader);
|
|
11713
|
+
};
|
|
11714
|
+
|
|
11715
|
+
|
|
11716
|
+
/**
|
|
11717
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
11718
|
+
* given reader into the given message object.
|
|
11719
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse} msg The message object to deserialize into.
|
|
11720
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
11721
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse}
|
|
11722
|
+
*/
|
|
11723
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
11724
|
+
while (reader.nextField()) {
|
|
11725
|
+
if (reader.isEndGroup()) {
|
|
11726
|
+
break;
|
|
11727
|
+
}
|
|
11728
|
+
var field = reader.getFieldNumber();
|
|
11729
|
+
switch (field) {
|
|
11730
|
+
case 1:
|
|
11731
|
+
var value = new proto.org.dash.platform.dapi.v0.GetDocumentsResponse.Documents;
|
|
11732
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetDocumentsResponse.Documents.deserializeBinaryFromReader);
|
|
11733
|
+
msg.setDocuments(value);
|
|
11734
|
+
break;
|
|
11735
|
+
case 2:
|
|
11736
|
+
var value = new proto.org.dash.platform.dapi.v0.Proof;
|
|
11737
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.Proof.deserializeBinaryFromReader);
|
|
11738
|
+
msg.setProof(value);
|
|
11739
|
+
break;
|
|
11740
|
+
case 3:
|
|
11741
|
+
var value = new proto.org.dash.platform.dapi.v0.ResponseMetadata;
|
|
11742
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.ResponseMetadata.deserializeBinaryFromReader);
|
|
11743
|
+
msg.setMetadata(value);
|
|
11744
|
+
break;
|
|
11745
|
+
default:
|
|
11746
|
+
reader.skipField();
|
|
11747
|
+
break;
|
|
11748
|
+
}
|
|
11749
|
+
}
|
|
11750
|
+
return msg;
|
|
11751
|
+
};
|
|
11752
|
+
|
|
11753
|
+
|
|
11754
|
+
/**
|
|
11755
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
11756
|
+
* @return {!Uint8Array}
|
|
11757
|
+
*/
|
|
11758
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.prototype.serializeBinary = function() {
|
|
11759
|
+
var writer = new jspb.BinaryWriter();
|
|
11760
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.serializeBinaryToWriter(this, writer);
|
|
11761
|
+
return writer.getResultBuffer();
|
|
11762
|
+
};
|
|
11763
|
+
|
|
11764
|
+
|
|
11765
|
+
/**
|
|
11766
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
11767
|
+
* format), writing to the given BinaryWriter.
|
|
11768
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse} message
|
|
11769
|
+
* @param {!jspb.BinaryWriter} writer
|
|
11770
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
11771
|
+
*/
|
|
11772
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
11773
|
+
var f = undefined;
|
|
11774
|
+
f = message.getDocuments();
|
|
11775
|
+
if (f != null) {
|
|
11776
|
+
writer.writeMessage(
|
|
11777
|
+
1,
|
|
11778
|
+
f,
|
|
11779
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.Documents.serializeBinaryToWriter
|
|
11780
|
+
);
|
|
11781
|
+
}
|
|
11782
|
+
f = message.getProof();
|
|
11783
|
+
if (f != null) {
|
|
11784
|
+
writer.writeMessage(
|
|
11785
|
+
2,
|
|
11786
|
+
f,
|
|
11787
|
+
proto.org.dash.platform.dapi.v0.Proof.serializeBinaryToWriter
|
|
11788
|
+
);
|
|
11789
|
+
}
|
|
11790
|
+
f = message.getMetadata();
|
|
11791
|
+
if (f != null) {
|
|
11792
|
+
writer.writeMessage(
|
|
11793
|
+
3,
|
|
11794
|
+
f,
|
|
11795
|
+
proto.org.dash.platform.dapi.v0.ResponseMetadata.serializeBinaryToWriter
|
|
11796
|
+
);
|
|
11797
|
+
}
|
|
11798
|
+
};
|
|
11799
|
+
|
|
11800
|
+
|
|
11801
|
+
|
|
10129
11802
|
/**
|
|
10130
11803
|
* List of repeated fields within this message type.
|
|
10131
11804
|
* @private {!Array<number>}
|
|
10132
11805
|
* @const
|
|
10133
11806
|
*/
|
|
10134
|
-
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.repeatedFields_ = [1];
|
|
11807
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.Documents.repeatedFields_ = [1];
|
|
10135
11808
|
|
|
10136
11809
|
|
|
10137
11810
|
|
|
@@ -10148,8 +11821,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
10148
11821
|
* http://goto/soy-param-migration
|
|
10149
11822
|
* @return {!Object}
|
|
10150
11823
|
*/
|
|
10151
|
-
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
10152
|
-
return proto.org.dash.platform.dapi.v0.GetDocumentsResponse.toObject(opt_includeInstance, this);
|
|
11824
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.Documents.prototype.toObject = function(opt_includeInstance) {
|
|
11825
|
+
return proto.org.dash.platform.dapi.v0.GetDocumentsResponse.Documents.toObject(opt_includeInstance, this);
|
|
10153
11826
|
};
|
|
10154
11827
|
|
|
10155
11828
|
|
|
@@ -10158,15 +11831,13 @@ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.prototype.toObject = functi
|
|
|
10158
11831
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
10159
11832
|
* the JSPB instance for transitional soy proto support:
|
|
10160
11833
|
* http://goto/soy-param-migration
|
|
10161
|
-
* @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse} msg The msg instance to transform.
|
|
11834
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.Documents} msg The msg instance to transform.
|
|
10162
11835
|
* @return {!Object}
|
|
10163
11836
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10164
11837
|
*/
|
|
10165
|
-
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.toObject = function(includeInstance, msg) {
|
|
11838
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.Documents.toObject = function(includeInstance, msg) {
|
|
10166
11839
|
var f, obj = {
|
|
10167
|
-
documentsList: msg.getDocumentsList_asB64()
|
|
10168
|
-
proof: (f = msg.getProof()) && proto.org.dash.platform.dapi.v0.Proof.toObject(includeInstance, f),
|
|
10169
|
-
metadata: (f = msg.getMetadata()) && proto.org.dash.platform.dapi.v0.ResponseMetadata.toObject(includeInstance, f)
|
|
11840
|
+
documentsList: msg.getDocumentsList_asB64()
|
|
10170
11841
|
};
|
|
10171
11842
|
|
|
10172
11843
|
if (includeInstance) {
|
|
@@ -10180,23 +11851,23 @@ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.toObject = function(include
|
|
|
10180
11851
|
/**
|
|
10181
11852
|
* Deserializes binary data (in protobuf wire format).
|
|
10182
11853
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
10183
|
-
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse}
|
|
11854
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.Documents}
|
|
10184
11855
|
*/
|
|
10185
|
-
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.deserializeBinary = function(bytes) {
|
|
11856
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.Documents.deserializeBinary = function(bytes) {
|
|
10186
11857
|
var reader = new jspb.BinaryReader(bytes);
|
|
10187
|
-
var msg = new proto.org.dash.platform.dapi.v0.GetDocumentsResponse;
|
|
10188
|
-
return proto.org.dash.platform.dapi.v0.GetDocumentsResponse.deserializeBinaryFromReader(msg, reader);
|
|
11858
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetDocumentsResponse.Documents;
|
|
11859
|
+
return proto.org.dash.platform.dapi.v0.GetDocumentsResponse.Documents.deserializeBinaryFromReader(msg, reader);
|
|
10189
11860
|
};
|
|
10190
11861
|
|
|
10191
11862
|
|
|
10192
11863
|
/**
|
|
10193
11864
|
* Deserializes binary data (in protobuf wire format) from the
|
|
10194
11865
|
* given reader into the given message object.
|
|
10195
|
-
* @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse} msg The message object to deserialize into.
|
|
11866
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.Documents} msg The message object to deserialize into.
|
|
10196
11867
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
10197
|
-
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse}
|
|
11868
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.Documents}
|
|
10198
11869
|
*/
|
|
10199
|
-
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
11870
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.Documents.deserializeBinaryFromReader = function(msg, reader) {
|
|
10200
11871
|
while (reader.nextField()) {
|
|
10201
11872
|
if (reader.isEndGroup()) {
|
|
10202
11873
|
break;
|
|
@@ -10207,16 +11878,6 @@ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.deserializeBinaryFromReader
|
|
|
10207
11878
|
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
10208
11879
|
msg.addDocuments(value);
|
|
10209
11880
|
break;
|
|
10210
|
-
case 2:
|
|
10211
|
-
var value = new proto.org.dash.platform.dapi.v0.Proof;
|
|
10212
|
-
reader.readMessage(value,proto.org.dash.platform.dapi.v0.Proof.deserializeBinaryFromReader);
|
|
10213
|
-
msg.setProof(value);
|
|
10214
|
-
break;
|
|
10215
|
-
case 3:
|
|
10216
|
-
var value = new proto.org.dash.platform.dapi.v0.ResponseMetadata;
|
|
10217
|
-
reader.readMessage(value,proto.org.dash.platform.dapi.v0.ResponseMetadata.deserializeBinaryFromReader);
|
|
10218
|
-
msg.setMetadata(value);
|
|
10219
|
-
break;
|
|
10220
11881
|
default:
|
|
10221
11882
|
reader.skipField();
|
|
10222
11883
|
break;
|
|
@@ -10230,9 +11891,9 @@ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.deserializeBinaryFromReader
|
|
|
10230
11891
|
* Serializes the message to binary data (in protobuf wire format).
|
|
10231
11892
|
* @return {!Uint8Array}
|
|
10232
11893
|
*/
|
|
10233
|
-
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.prototype.serializeBinary = function() {
|
|
11894
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.Documents.prototype.serializeBinary = function() {
|
|
10234
11895
|
var writer = new jspb.BinaryWriter();
|
|
10235
|
-
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.serializeBinaryToWriter(this, writer);
|
|
11896
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.Documents.serializeBinaryToWriter(this, writer);
|
|
10236
11897
|
return writer.getResultBuffer();
|
|
10237
11898
|
};
|
|
10238
11899
|
|
|
@@ -10240,11 +11901,11 @@ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.prototype.serializeBinary =
|
|
|
10240
11901
|
/**
|
|
10241
11902
|
* Serializes the given message to binary data (in protobuf wire
|
|
10242
11903
|
* format), writing to the given BinaryWriter.
|
|
10243
|
-
* @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse} message
|
|
11904
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.Documents} message
|
|
10244
11905
|
* @param {!jspb.BinaryWriter} writer
|
|
10245
11906
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10246
11907
|
*/
|
|
10247
|
-
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
11908
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.Documents.serializeBinaryToWriter = function(message, writer) {
|
|
10248
11909
|
var f = undefined;
|
|
10249
11910
|
f = message.getDocumentsList_asU8();
|
|
10250
11911
|
if (f.length > 0) {
|
|
@@ -10253,22 +11914,6 @@ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.serializeBinaryToWriter = f
|
|
|
10253
11914
|
f
|
|
10254
11915
|
);
|
|
10255
11916
|
}
|
|
10256
|
-
f = message.getProof();
|
|
10257
|
-
if (f != null) {
|
|
10258
|
-
writer.writeMessage(
|
|
10259
|
-
2,
|
|
10260
|
-
f,
|
|
10261
|
-
proto.org.dash.platform.dapi.v0.Proof.serializeBinaryToWriter
|
|
10262
|
-
);
|
|
10263
|
-
}
|
|
10264
|
-
f = message.getMetadata();
|
|
10265
|
-
if (f != null) {
|
|
10266
|
-
writer.writeMessage(
|
|
10267
|
-
3,
|
|
10268
|
-
f,
|
|
10269
|
-
proto.org.dash.platform.dapi.v0.ResponseMetadata.serializeBinaryToWriter
|
|
10270
|
-
);
|
|
10271
|
-
}
|
|
10272
11917
|
};
|
|
10273
11918
|
|
|
10274
11919
|
|
|
@@ -10276,7 +11921,7 @@ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.serializeBinaryToWriter = f
|
|
|
10276
11921
|
* repeated bytes documents = 1;
|
|
10277
11922
|
* @return {!Array<string>}
|
|
10278
11923
|
*/
|
|
10279
|
-
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.prototype.getDocumentsList = function() {
|
|
11924
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.Documents.prototype.getDocumentsList = function() {
|
|
10280
11925
|
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
10281
11926
|
};
|
|
10282
11927
|
|
|
@@ -10286,7 +11931,7 @@ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.prototype.getDocumentsList
|
|
|
10286
11931
|
* This is a type-conversion wrapper around `getDocumentsList()`
|
|
10287
11932
|
* @return {!Array<string>}
|
|
10288
11933
|
*/
|
|
10289
|
-
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.prototype.getDocumentsList_asB64 = function() {
|
|
11934
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.Documents.prototype.getDocumentsList_asB64 = function() {
|
|
10290
11935
|
return /** @type {!Array<string>} */ (jspb.Message.bytesListAsB64(
|
|
10291
11936
|
this.getDocumentsList()));
|
|
10292
11937
|
};
|
|
@@ -10299,7 +11944,7 @@ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.prototype.getDocumentsList_
|
|
|
10299
11944
|
* This is a type-conversion wrapper around `getDocumentsList()`
|
|
10300
11945
|
* @return {!Array<!Uint8Array>}
|
|
10301
11946
|
*/
|
|
10302
|
-
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.prototype.getDocumentsList_asU8 = function() {
|
|
11947
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.Documents.prototype.getDocumentsList_asU8 = function() {
|
|
10303
11948
|
return /** @type {!Array<!Uint8Array>} */ (jspb.Message.bytesListAsU8(
|
|
10304
11949
|
this.getDocumentsList()));
|
|
10305
11950
|
};
|
|
@@ -10307,9 +11952,9 @@ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.prototype.getDocumentsList_
|
|
|
10307
11952
|
|
|
10308
11953
|
/**
|
|
10309
11954
|
* @param {!(Array<!Uint8Array>|Array<string>)} value
|
|
10310
|
-
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse} returns this
|
|
11955
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.Documents} returns this
|
|
10311
11956
|
*/
|
|
10312
|
-
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.prototype.setDocumentsList = function(value) {
|
|
11957
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.Documents.prototype.setDocumentsList = function(value) {
|
|
10313
11958
|
return jspb.Message.setField(this, 1, value || []);
|
|
10314
11959
|
};
|
|
10315
11960
|
|
|
@@ -10317,22 +11962,59 @@ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.prototype.setDocumentsList
|
|
|
10317
11962
|
/**
|
|
10318
11963
|
* @param {!(string|Uint8Array)} value
|
|
10319
11964
|
* @param {number=} opt_index
|
|
10320
|
-
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse} returns this
|
|
11965
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.Documents} returns this
|
|
10321
11966
|
*/
|
|
10322
|
-
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.prototype.addDocuments = function(value, opt_index) {
|
|
11967
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.Documents.prototype.addDocuments = function(value, opt_index) {
|
|
10323
11968
|
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
10324
11969
|
};
|
|
10325
11970
|
|
|
10326
11971
|
|
|
10327
11972
|
/**
|
|
10328
11973
|
* Clears the list making it empty but non-null.
|
|
10329
|
-
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse} returns this
|
|
11974
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.Documents} returns this
|
|
10330
11975
|
*/
|
|
10331
|
-
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.prototype.clearDocumentsList = function() {
|
|
11976
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.Documents.prototype.clearDocumentsList = function() {
|
|
10332
11977
|
return this.setDocumentsList([]);
|
|
10333
11978
|
};
|
|
10334
11979
|
|
|
10335
11980
|
|
|
11981
|
+
/**
|
|
11982
|
+
* optional Documents documents = 1;
|
|
11983
|
+
* @return {?proto.org.dash.platform.dapi.v0.GetDocumentsResponse.Documents}
|
|
11984
|
+
*/
|
|
11985
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.prototype.getDocuments = function() {
|
|
11986
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.GetDocumentsResponse.Documents} */ (
|
|
11987
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.Documents, 1));
|
|
11988
|
+
};
|
|
11989
|
+
|
|
11990
|
+
|
|
11991
|
+
/**
|
|
11992
|
+
* @param {?proto.org.dash.platform.dapi.v0.GetDocumentsResponse.Documents|undefined} value
|
|
11993
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse} returns this
|
|
11994
|
+
*/
|
|
11995
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.prototype.setDocuments = function(value) {
|
|
11996
|
+
return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.oneofGroups_[0], value);
|
|
11997
|
+
};
|
|
11998
|
+
|
|
11999
|
+
|
|
12000
|
+
/**
|
|
12001
|
+
* Clears the message field making it undefined.
|
|
12002
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse} returns this
|
|
12003
|
+
*/
|
|
12004
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.prototype.clearDocuments = function() {
|
|
12005
|
+
return this.setDocuments(undefined);
|
|
12006
|
+
};
|
|
12007
|
+
|
|
12008
|
+
|
|
12009
|
+
/**
|
|
12010
|
+
* Returns whether this field is set.
|
|
12011
|
+
* @return {boolean}
|
|
12012
|
+
*/
|
|
12013
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.prototype.hasDocuments = function() {
|
|
12014
|
+
return jspb.Message.getField(this, 1) != null;
|
|
12015
|
+
};
|
|
12016
|
+
|
|
12017
|
+
|
|
10336
12018
|
/**
|
|
10337
12019
|
* optional Proof proof = 2;
|
|
10338
12020
|
* @return {?proto.org.dash.platform.dapi.v0.Proof}
|
|
@@ -10348,7 +12030,7 @@ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.prototype.getProof = functi
|
|
|
10348
12030
|
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse} returns this
|
|
10349
12031
|
*/
|
|
10350
12032
|
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.prototype.setProof = function(value) {
|
|
10351
|
-
return jspb.Message.
|
|
12033
|
+
return jspb.Message.setOneofWrapperField(this, 2, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.oneofGroups_[0], value);
|
|
10352
12034
|
};
|
|
10353
12035
|
|
|
10354
12036
|
|
|
@@ -10619,11 +12301,30 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesRequest.prototype.
|
|
|
10619
12301
|
|
|
10620
12302
|
|
|
10621
12303
|
/**
|
|
10622
|
-
*
|
|
10623
|
-
*
|
|
12304
|
+
* Oneof group definitions for this message. Each group defines the field
|
|
12305
|
+
* numbers belonging to that group. When of these fields' value is set, all
|
|
12306
|
+
* other fields in the group are cleared. During deserialization, if multiple
|
|
12307
|
+
* fields are encountered for a group, only the last value seen will be kept.
|
|
12308
|
+
* @private {!Array<!Array<number>>}
|
|
10624
12309
|
* @const
|
|
10625
12310
|
*/
|
|
10626
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse.
|
|
12311
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse.oneofGroups_ = [[1,2]];
|
|
12312
|
+
|
|
12313
|
+
/**
|
|
12314
|
+
* @enum {number}
|
|
12315
|
+
*/
|
|
12316
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse.ResultCase = {
|
|
12317
|
+
RESULT_NOT_SET: 0,
|
|
12318
|
+
IDENTITIES: 1,
|
|
12319
|
+
PROOF: 2
|
|
12320
|
+
};
|
|
12321
|
+
|
|
12322
|
+
/**
|
|
12323
|
+
* @return {proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse.ResultCase}
|
|
12324
|
+
*/
|
|
12325
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse.prototype.getResultCase = function() {
|
|
12326
|
+
return /** @type {proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse.ResultCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse.oneofGroups_[0]));
|
|
12327
|
+
};
|
|
10627
12328
|
|
|
10628
12329
|
|
|
10629
12330
|
|
|
@@ -10656,7 +12357,7 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse.prototype
|
|
|
10656
12357
|
*/
|
|
10657
12358
|
proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse.toObject = function(includeInstance, msg) {
|
|
10658
12359
|
var f, obj = {
|
|
10659
|
-
|
|
12360
|
+
identities: (f = msg.getIdentities()) && proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse.Identities.toObject(includeInstance, f),
|
|
10660
12361
|
proof: (f = msg.getProof()) && proto.org.dash.platform.dapi.v0.Proof.toObject(includeInstance, f),
|
|
10661
12362
|
metadata: (f = msg.getMetadata()) && proto.org.dash.platform.dapi.v0.ResponseMetadata.toObject(includeInstance, f)
|
|
10662
12363
|
};
|
|
@@ -10696,8 +12397,9 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse.deseriali
|
|
|
10696
12397
|
var field = reader.getFieldNumber();
|
|
10697
12398
|
switch (field) {
|
|
10698
12399
|
case 1:
|
|
10699
|
-
var value =
|
|
10700
|
-
|
|
12400
|
+
var value = new proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse.Identities;
|
|
12401
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse.Identities.deserializeBinaryFromReader);
|
|
12402
|
+
msg.setIdentities(value);
|
|
10701
12403
|
break;
|
|
10702
12404
|
case 2:
|
|
10703
12405
|
var value = new proto.org.dash.platform.dapi.v0.Proof;
|
|
@@ -10738,11 +12440,12 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse.prototype
|
|
|
10738
12440
|
*/
|
|
10739
12441
|
proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse.serializeBinaryToWriter = function(message, writer) {
|
|
10740
12442
|
var f = undefined;
|
|
10741
|
-
f = message.
|
|
10742
|
-
if (f
|
|
10743
|
-
writer.
|
|
12443
|
+
f = message.getIdentities();
|
|
12444
|
+
if (f != null) {
|
|
12445
|
+
writer.writeMessage(
|
|
10744
12446
|
1,
|
|
10745
|
-
f
|
|
12447
|
+
f,
|
|
12448
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse.Identities.serializeBinaryToWriter
|
|
10746
12449
|
);
|
|
10747
12450
|
}
|
|
10748
12451
|
f = message.getProof();
|
|
@@ -10764,11 +12467,130 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse.serialize
|
|
|
10764
12467
|
};
|
|
10765
12468
|
|
|
10766
12469
|
|
|
12470
|
+
|
|
12471
|
+
/**
|
|
12472
|
+
* List of repeated fields within this message type.
|
|
12473
|
+
* @private {!Array<number>}
|
|
12474
|
+
* @const
|
|
12475
|
+
*/
|
|
12476
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse.Identities.repeatedFields_ = [1];
|
|
12477
|
+
|
|
12478
|
+
|
|
12479
|
+
|
|
12480
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
12481
|
+
/**
|
|
12482
|
+
* Creates an object representation of this proto.
|
|
12483
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
12484
|
+
* Optional fields that are not set will be set to undefined.
|
|
12485
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
12486
|
+
* For the list of reserved names please see:
|
|
12487
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
12488
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
12489
|
+
* JSPB instance for transitional soy proto support:
|
|
12490
|
+
* http://goto/soy-param-migration
|
|
12491
|
+
* @return {!Object}
|
|
12492
|
+
*/
|
|
12493
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse.Identities.prototype.toObject = function(opt_includeInstance) {
|
|
12494
|
+
return proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse.Identities.toObject(opt_includeInstance, this);
|
|
12495
|
+
};
|
|
12496
|
+
|
|
12497
|
+
|
|
12498
|
+
/**
|
|
12499
|
+
* Static version of the {@see toObject} method.
|
|
12500
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
12501
|
+
* the JSPB instance for transitional soy proto support:
|
|
12502
|
+
* http://goto/soy-param-migration
|
|
12503
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse.Identities} msg The msg instance to transform.
|
|
12504
|
+
* @return {!Object}
|
|
12505
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
12506
|
+
*/
|
|
12507
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse.Identities.toObject = function(includeInstance, msg) {
|
|
12508
|
+
var f, obj = {
|
|
12509
|
+
identitiesList: msg.getIdentitiesList_asB64()
|
|
12510
|
+
};
|
|
12511
|
+
|
|
12512
|
+
if (includeInstance) {
|
|
12513
|
+
obj.$jspbMessageInstance = msg;
|
|
12514
|
+
}
|
|
12515
|
+
return obj;
|
|
12516
|
+
};
|
|
12517
|
+
}
|
|
12518
|
+
|
|
12519
|
+
|
|
12520
|
+
/**
|
|
12521
|
+
* Deserializes binary data (in protobuf wire format).
|
|
12522
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
12523
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse.Identities}
|
|
12524
|
+
*/
|
|
12525
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse.Identities.deserializeBinary = function(bytes) {
|
|
12526
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
12527
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse.Identities;
|
|
12528
|
+
return proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse.Identities.deserializeBinaryFromReader(msg, reader);
|
|
12529
|
+
};
|
|
12530
|
+
|
|
12531
|
+
|
|
12532
|
+
/**
|
|
12533
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
12534
|
+
* given reader into the given message object.
|
|
12535
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse.Identities} msg The message object to deserialize into.
|
|
12536
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
12537
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse.Identities}
|
|
12538
|
+
*/
|
|
12539
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse.Identities.deserializeBinaryFromReader = function(msg, reader) {
|
|
12540
|
+
while (reader.nextField()) {
|
|
12541
|
+
if (reader.isEndGroup()) {
|
|
12542
|
+
break;
|
|
12543
|
+
}
|
|
12544
|
+
var field = reader.getFieldNumber();
|
|
12545
|
+
switch (field) {
|
|
12546
|
+
case 1:
|
|
12547
|
+
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
12548
|
+
msg.addIdentities(value);
|
|
12549
|
+
break;
|
|
12550
|
+
default:
|
|
12551
|
+
reader.skipField();
|
|
12552
|
+
break;
|
|
12553
|
+
}
|
|
12554
|
+
}
|
|
12555
|
+
return msg;
|
|
12556
|
+
};
|
|
12557
|
+
|
|
12558
|
+
|
|
12559
|
+
/**
|
|
12560
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
12561
|
+
* @return {!Uint8Array}
|
|
12562
|
+
*/
|
|
12563
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse.Identities.prototype.serializeBinary = function() {
|
|
12564
|
+
var writer = new jspb.BinaryWriter();
|
|
12565
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse.Identities.serializeBinaryToWriter(this, writer);
|
|
12566
|
+
return writer.getResultBuffer();
|
|
12567
|
+
};
|
|
12568
|
+
|
|
12569
|
+
|
|
12570
|
+
/**
|
|
12571
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
12572
|
+
* format), writing to the given BinaryWriter.
|
|
12573
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse.Identities} message
|
|
12574
|
+
* @param {!jspb.BinaryWriter} writer
|
|
12575
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
12576
|
+
*/
|
|
12577
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse.Identities.serializeBinaryToWriter = function(message, writer) {
|
|
12578
|
+
var f = undefined;
|
|
12579
|
+
f = message.getIdentitiesList_asU8();
|
|
12580
|
+
if (f.length > 0) {
|
|
12581
|
+
writer.writeRepeatedBytes(
|
|
12582
|
+
1,
|
|
12583
|
+
f
|
|
12584
|
+
);
|
|
12585
|
+
}
|
|
12586
|
+
};
|
|
12587
|
+
|
|
12588
|
+
|
|
10767
12589
|
/**
|
|
10768
12590
|
* repeated bytes identities = 1;
|
|
10769
12591
|
* @return {!Array<string>}
|
|
10770
12592
|
*/
|
|
10771
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse.prototype.getIdentitiesList = function() {
|
|
12593
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse.Identities.prototype.getIdentitiesList = function() {
|
|
10772
12594
|
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
10773
12595
|
};
|
|
10774
12596
|
|
|
@@ -10778,7 +12600,7 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse.prototype
|
|
|
10778
12600
|
* This is a type-conversion wrapper around `getIdentitiesList()`
|
|
10779
12601
|
* @return {!Array<string>}
|
|
10780
12602
|
*/
|
|
10781
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse.prototype.getIdentitiesList_asB64 = function() {
|
|
12603
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse.Identities.prototype.getIdentitiesList_asB64 = function() {
|
|
10782
12604
|
return /** @type {!Array<string>} */ (jspb.Message.bytesListAsB64(
|
|
10783
12605
|
this.getIdentitiesList()));
|
|
10784
12606
|
};
|
|
@@ -10791,7 +12613,7 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse.prototype
|
|
|
10791
12613
|
* This is a type-conversion wrapper around `getIdentitiesList()`
|
|
10792
12614
|
* @return {!Array<!Uint8Array>}
|
|
10793
12615
|
*/
|
|
10794
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse.prototype.getIdentitiesList_asU8 = function() {
|
|
12616
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse.Identities.prototype.getIdentitiesList_asU8 = function() {
|
|
10795
12617
|
return /** @type {!Array<!Uint8Array>} */ (jspb.Message.bytesListAsU8(
|
|
10796
12618
|
this.getIdentitiesList()));
|
|
10797
12619
|
};
|
|
@@ -10799,9 +12621,9 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse.prototype
|
|
|
10799
12621
|
|
|
10800
12622
|
/**
|
|
10801
12623
|
* @param {!(Array<!Uint8Array>|Array<string>)} value
|
|
10802
|
-
* @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse} returns this
|
|
12624
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse.Identities} returns this
|
|
10803
12625
|
*/
|
|
10804
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse.prototype.setIdentitiesList = function(value) {
|
|
12626
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse.Identities.prototype.setIdentitiesList = function(value) {
|
|
10805
12627
|
return jspb.Message.setField(this, 1, value || []);
|
|
10806
12628
|
};
|
|
10807
12629
|
|
|
@@ -10809,22 +12631,59 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse.prototype
|
|
|
10809
12631
|
/**
|
|
10810
12632
|
* @param {!(string|Uint8Array)} value
|
|
10811
12633
|
* @param {number=} opt_index
|
|
10812
|
-
* @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse} returns this
|
|
12634
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse.Identities} returns this
|
|
10813
12635
|
*/
|
|
10814
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse.prototype.addIdentities = function(value, opt_index) {
|
|
12636
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse.Identities.prototype.addIdentities = function(value, opt_index) {
|
|
10815
12637
|
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
10816
12638
|
};
|
|
10817
12639
|
|
|
10818
12640
|
|
|
10819
12641
|
/**
|
|
10820
12642
|
* Clears the list making it empty but non-null.
|
|
10821
|
-
* @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse} returns this
|
|
12643
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse.Identities} returns this
|
|
10822
12644
|
*/
|
|
10823
|
-
proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse.prototype.clearIdentitiesList = function() {
|
|
12645
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse.Identities.prototype.clearIdentitiesList = function() {
|
|
10824
12646
|
return this.setIdentitiesList([]);
|
|
10825
12647
|
};
|
|
10826
12648
|
|
|
10827
12649
|
|
|
12650
|
+
/**
|
|
12651
|
+
* optional Identities identities = 1;
|
|
12652
|
+
* @return {?proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse.Identities}
|
|
12653
|
+
*/
|
|
12654
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse.prototype.getIdentities = function() {
|
|
12655
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse.Identities} */ (
|
|
12656
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse.Identities, 1));
|
|
12657
|
+
};
|
|
12658
|
+
|
|
12659
|
+
|
|
12660
|
+
/**
|
|
12661
|
+
* @param {?proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse.Identities|undefined} value
|
|
12662
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse} returns this
|
|
12663
|
+
*/
|
|
12664
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse.prototype.setIdentities = function(value) {
|
|
12665
|
+
return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse.oneofGroups_[0], value);
|
|
12666
|
+
};
|
|
12667
|
+
|
|
12668
|
+
|
|
12669
|
+
/**
|
|
12670
|
+
* Clears the message field making it undefined.
|
|
12671
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse} returns this
|
|
12672
|
+
*/
|
|
12673
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse.prototype.clearIdentities = function() {
|
|
12674
|
+
return this.setIdentities(undefined);
|
|
12675
|
+
};
|
|
12676
|
+
|
|
12677
|
+
|
|
12678
|
+
/**
|
|
12679
|
+
* Returns whether this field is set.
|
|
12680
|
+
* @return {boolean}
|
|
12681
|
+
*/
|
|
12682
|
+
proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse.prototype.hasIdentities = function() {
|
|
12683
|
+
return jspb.Message.getField(this, 1) != null;
|
|
12684
|
+
};
|
|
12685
|
+
|
|
12686
|
+
|
|
10828
12687
|
/**
|
|
10829
12688
|
* optional Proof proof = 2;
|
|
10830
12689
|
* @return {?proto.org.dash.platform.dapi.v0.Proof}
|
|
@@ -10840,7 +12699,7 @@ proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse.prototype
|
|
|
10840
12699
|
* @return {!proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse} returns this
|
|
10841
12700
|
*/
|
|
10842
12701
|
proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse.prototype.setProof = function(value) {
|
|
10843
|
-
return jspb.Message.
|
|
12702
|
+
return jspb.Message.setOneofWrapperField(this, 2, proto.org.dash.platform.dapi.v0.GetIdentitiesByPublicKeyHashesResponse.oneofGroups_[0], value);
|
|
10844
12703
|
};
|
|
10845
12704
|
|
|
10846
12705
|
|
|
@@ -11581,17 +13440,17 @@ proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultResponse.oneofGroups
|
|
|
11581
13440
|
/**
|
|
11582
13441
|
* @enum {number}
|
|
11583
13442
|
*/
|
|
11584
|
-
proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultResponse.
|
|
11585
|
-
|
|
13443
|
+
proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultResponse.ResultCase = {
|
|
13444
|
+
RESULT_NOT_SET: 0,
|
|
11586
13445
|
ERROR: 1,
|
|
11587
13446
|
PROOF: 2
|
|
11588
13447
|
};
|
|
11589
13448
|
|
|
11590
13449
|
/**
|
|
11591
|
-
* @return {proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultResponse.
|
|
13450
|
+
* @return {proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultResponse.ResultCase}
|
|
11592
13451
|
*/
|
|
11593
|
-
proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultResponse.prototype.
|
|
11594
|
-
return /** @type {proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultResponse.
|
|
13452
|
+
proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultResponse.prototype.getResultCase = function() {
|
|
13453
|
+
return /** @type {proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultResponse.ResultCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.WaitForStateTransitionResultResponse.oneofGroups_[0]));
|
|
11595
13454
|
};
|
|
11596
13455
|
|
|
11597
13456
|
|