@dashevo/dapi-grpc 5.0.0-rc.6 → 5.0.0-rc.8
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/build.rs +8 -3
- package/clients/drive/v0/nodejs/drive_pbjs.js +1026 -15
- package/clients/platform/v0/nodejs/platform_pbjs.js +1026 -15
- package/clients/platform/v0/nodejs/platform_protoc.js +1144 -21
- package/clients/platform/v0/web/platform_pb.d.ts +146 -3
- package/clients/platform/v0/web/platform_pb.js +1144 -21
- package/package.json +2 -2
- package/protos/platform/v0/platform.proto +33 -4
- package/test/unit/nonunique-proof.spec.js +64 -20
- package/tests/nonunique_identity_lookup_wire.rs +56 -0
|
@@ -492,11 +492,16 @@ goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentityBalanceResponse.Ge
|
|
|
492
492
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentityBalanceResponse.VersionCase', null, { proto });
|
|
493
493
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashRequest', null, { proto });
|
|
494
494
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashRequest.GetIdentityByNonUniquePublicKeyHashRequestV0', null, { proto });
|
|
495
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashRequest.GetIdentityByNonUniquePublicKeyHashRequestV1', null, { proto });
|
|
495
496
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashRequest.VersionCase', null, { proto });
|
|
496
497
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse', null, { proto });
|
|
497
498
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0', null, { proto });
|
|
499
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0.IdentityProvedResponse', null, { proto });
|
|
498
500
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0.IdentityResponse', null, { proto });
|
|
499
501
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0.ResultCase', null, { proto });
|
|
502
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1', null, { proto });
|
|
503
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1.IdentityResponse', null, { proto });
|
|
504
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1.ResultCase', null, { proto });
|
|
500
505
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.VersionCase', null, { proto });
|
|
501
506
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentityByPublicKeyHashRequest', null, { proto });
|
|
502
507
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetIdentityByPublicKeyHashRequest.GetIdentityByPublicKeyHashRequestV0', null, { proto });
|
|
@@ -5176,6 +5181,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
5176
5181
|
*/
|
|
5177
5182
|
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashRequest.GetIdentityByNonUniquePublicKeyHashRequestV0.displayName = 'proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashRequest.GetIdentityByNonUniquePublicKeyHashRequestV0';
|
|
5178
5183
|
}
|
|
5184
|
+
/**
|
|
5185
|
+
* Generated by JsPbCodeGenerator.
|
|
5186
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
5187
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
5188
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
5189
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
5190
|
+
* valid.
|
|
5191
|
+
* @extends {jspb.Message}
|
|
5192
|
+
* @constructor
|
|
5193
|
+
*/
|
|
5194
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashRequest.GetIdentityByNonUniquePublicKeyHashRequestV1 = function(opt_data) {
|
|
5195
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
5196
|
+
};
|
|
5197
|
+
goog.inherits(proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashRequest.GetIdentityByNonUniquePublicKeyHashRequestV1, jspb.Message);
|
|
5198
|
+
if (goog.DEBUG && !COMPILED) {
|
|
5199
|
+
/**
|
|
5200
|
+
* @public
|
|
5201
|
+
* @override
|
|
5202
|
+
*/
|
|
5203
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashRequest.GetIdentityByNonUniquePublicKeyHashRequestV1.displayName = 'proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashRequest.GetIdentityByNonUniquePublicKeyHashRequestV1';
|
|
5204
|
+
}
|
|
5179
5205
|
/**
|
|
5180
5206
|
* Generated by JsPbCodeGenerator.
|
|
5181
5207
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -5239,6 +5265,69 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
5239
5265
|
*/
|
|
5240
5266
|
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0.IdentityResponse.displayName = 'proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0.IdentityResponse';
|
|
5241
5267
|
}
|
|
5268
|
+
/**
|
|
5269
|
+
* Generated by JsPbCodeGenerator.
|
|
5270
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
5271
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
5272
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
5273
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
5274
|
+
* valid.
|
|
5275
|
+
* @extends {jspb.Message}
|
|
5276
|
+
* @constructor
|
|
5277
|
+
*/
|
|
5278
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0.IdentityProvedResponse = function(opt_data) {
|
|
5279
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
5280
|
+
};
|
|
5281
|
+
goog.inherits(proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0.IdentityProvedResponse, jspb.Message);
|
|
5282
|
+
if (goog.DEBUG && !COMPILED) {
|
|
5283
|
+
/**
|
|
5284
|
+
* @public
|
|
5285
|
+
* @override
|
|
5286
|
+
*/
|
|
5287
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0.IdentityProvedResponse.displayName = 'proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0.IdentityProvedResponse';
|
|
5288
|
+
}
|
|
5289
|
+
/**
|
|
5290
|
+
* Generated by JsPbCodeGenerator.
|
|
5291
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
5292
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
5293
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
5294
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
5295
|
+
* valid.
|
|
5296
|
+
* @extends {jspb.Message}
|
|
5297
|
+
* @constructor
|
|
5298
|
+
*/
|
|
5299
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1 = function(opt_data) {
|
|
5300
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1.oneofGroups_);
|
|
5301
|
+
};
|
|
5302
|
+
goog.inherits(proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1, jspb.Message);
|
|
5303
|
+
if (goog.DEBUG && !COMPILED) {
|
|
5304
|
+
/**
|
|
5305
|
+
* @public
|
|
5306
|
+
* @override
|
|
5307
|
+
*/
|
|
5308
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1.displayName = 'proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1';
|
|
5309
|
+
}
|
|
5310
|
+
/**
|
|
5311
|
+
* Generated by JsPbCodeGenerator.
|
|
5312
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
5313
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
5314
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
5315
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
5316
|
+
* valid.
|
|
5317
|
+
* @extends {jspb.Message}
|
|
5318
|
+
* @constructor
|
|
5319
|
+
*/
|
|
5320
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1.IdentityResponse = function(opt_data) {
|
|
5321
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
5322
|
+
};
|
|
5323
|
+
goog.inherits(proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1.IdentityResponse, jspb.Message);
|
|
5324
|
+
if (goog.DEBUG && !COMPILED) {
|
|
5325
|
+
/**
|
|
5326
|
+
* @public
|
|
5327
|
+
* @override
|
|
5328
|
+
*/
|
|
5329
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1.IdentityResponse.displayName = 'proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1.IdentityResponse';
|
|
5330
|
+
}
|
|
5242
5331
|
/**
|
|
5243
5332
|
* Generated by JsPbCodeGenerator.
|
|
5244
5333
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -58611,14 +58700,15 @@ proto.org.dash.platform.dapi.v0.GetIdentityByPublicKeyHashResponse.prototype.has
|
|
|
58611
58700
|
* @private {!Array<!Array<number>>}
|
|
58612
58701
|
* @const
|
|
58613
58702
|
*/
|
|
58614
|
-
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashRequest.oneofGroups_ = [[1]];
|
|
58703
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashRequest.oneofGroups_ = [[1,2]];
|
|
58615
58704
|
|
|
58616
58705
|
/**
|
|
58617
58706
|
* @enum {number}
|
|
58618
58707
|
*/
|
|
58619
58708
|
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashRequest.VersionCase = {
|
|
58620
58709
|
VERSION_NOT_SET: 0,
|
|
58621
|
-
V0: 1
|
|
58710
|
+
V0: 1,
|
|
58711
|
+
V1: 2
|
|
58622
58712
|
};
|
|
58623
58713
|
|
|
58624
58714
|
/**
|
|
@@ -58659,7 +58749,8 @@ proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashRequest.proto
|
|
|
58659
58749
|
*/
|
|
58660
58750
|
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashRequest.toObject = function(includeInstance, msg) {
|
|
58661
58751
|
var f, obj = {
|
|
58662
|
-
v0: (f = msg.getV0()) && proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashRequest.GetIdentityByNonUniquePublicKeyHashRequestV0.toObject(includeInstance, f)
|
|
58752
|
+
v0: (f = msg.getV0()) && proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashRequest.GetIdentityByNonUniquePublicKeyHashRequestV0.toObject(includeInstance, f),
|
|
58753
|
+
v1: (f = msg.getV1()) && proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashRequest.GetIdentityByNonUniquePublicKeyHashRequestV1.toObject(includeInstance, f)
|
|
58663
58754
|
};
|
|
58664
58755
|
|
|
58665
58756
|
if (includeInstance) {
|
|
@@ -58701,6 +58792,11 @@ proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashRequest.deser
|
|
|
58701
58792
|
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashRequest.GetIdentityByNonUniquePublicKeyHashRequestV0.deserializeBinaryFromReader);
|
|
58702
58793
|
msg.setV0(value);
|
|
58703
58794
|
break;
|
|
58795
|
+
case 2:
|
|
58796
|
+
var value = new proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashRequest.GetIdentityByNonUniquePublicKeyHashRequestV1;
|
|
58797
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashRequest.GetIdentityByNonUniquePublicKeyHashRequestV1.deserializeBinaryFromReader);
|
|
58798
|
+
msg.setV1(value);
|
|
58799
|
+
break;
|
|
58704
58800
|
default:
|
|
58705
58801
|
reader.skipField();
|
|
58706
58802
|
break;
|
|
@@ -58738,6 +58834,14 @@ proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashRequest.seria
|
|
|
58738
58834
|
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashRequest.GetIdentityByNonUniquePublicKeyHashRequestV0.serializeBinaryToWriter
|
|
58739
58835
|
);
|
|
58740
58836
|
}
|
|
58837
|
+
f = message.getV1();
|
|
58838
|
+
if (f != null) {
|
|
58839
|
+
writer.writeMessage(
|
|
58840
|
+
2,
|
|
58841
|
+
f,
|
|
58842
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashRequest.GetIdentityByNonUniquePublicKeyHashRequestV1.serializeBinaryToWriter
|
|
58843
|
+
);
|
|
58844
|
+
}
|
|
58741
58845
|
};
|
|
58742
58846
|
|
|
58743
58847
|
|
|
@@ -58997,6 +59101,262 @@ proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashRequest.GetId
|
|
|
58997
59101
|
};
|
|
58998
59102
|
|
|
58999
59103
|
|
|
59104
|
+
|
|
59105
|
+
|
|
59106
|
+
|
|
59107
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
59108
|
+
/**
|
|
59109
|
+
* Creates an object representation of this proto.
|
|
59110
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
59111
|
+
* Optional fields that are not set will be set to undefined.
|
|
59112
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
59113
|
+
* For the list of reserved names please see:
|
|
59114
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
59115
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
59116
|
+
* JSPB instance for transitional soy proto support:
|
|
59117
|
+
* http://goto/soy-param-migration
|
|
59118
|
+
* @return {!Object}
|
|
59119
|
+
*/
|
|
59120
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashRequest.GetIdentityByNonUniquePublicKeyHashRequestV1.prototype.toObject = function(opt_includeInstance) {
|
|
59121
|
+
return proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashRequest.GetIdentityByNonUniquePublicKeyHashRequestV1.toObject(opt_includeInstance, this);
|
|
59122
|
+
};
|
|
59123
|
+
|
|
59124
|
+
|
|
59125
|
+
/**
|
|
59126
|
+
* Static version of the {@see toObject} method.
|
|
59127
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
59128
|
+
* the JSPB instance for transitional soy proto support:
|
|
59129
|
+
* http://goto/soy-param-migration
|
|
59130
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashRequest.GetIdentityByNonUniquePublicKeyHashRequestV1} msg The msg instance to transform.
|
|
59131
|
+
* @return {!Object}
|
|
59132
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
59133
|
+
*/
|
|
59134
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashRequest.GetIdentityByNonUniquePublicKeyHashRequestV1.toObject = function(includeInstance, msg) {
|
|
59135
|
+
var f, obj = {
|
|
59136
|
+
publicKeyHash: msg.getPublicKeyHash_asB64(),
|
|
59137
|
+
startAfter: msg.getStartAfter_asB64(),
|
|
59138
|
+
prove: jspb.Message.getBooleanFieldWithDefault(msg, 3, false)
|
|
59139
|
+
};
|
|
59140
|
+
|
|
59141
|
+
if (includeInstance) {
|
|
59142
|
+
obj.$jspbMessageInstance = msg;
|
|
59143
|
+
}
|
|
59144
|
+
return obj;
|
|
59145
|
+
};
|
|
59146
|
+
}
|
|
59147
|
+
|
|
59148
|
+
|
|
59149
|
+
/**
|
|
59150
|
+
* Deserializes binary data (in protobuf wire format).
|
|
59151
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
59152
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashRequest.GetIdentityByNonUniquePublicKeyHashRequestV1}
|
|
59153
|
+
*/
|
|
59154
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashRequest.GetIdentityByNonUniquePublicKeyHashRequestV1.deserializeBinary = function(bytes) {
|
|
59155
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
59156
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashRequest.GetIdentityByNonUniquePublicKeyHashRequestV1;
|
|
59157
|
+
return proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashRequest.GetIdentityByNonUniquePublicKeyHashRequestV1.deserializeBinaryFromReader(msg, reader);
|
|
59158
|
+
};
|
|
59159
|
+
|
|
59160
|
+
|
|
59161
|
+
/**
|
|
59162
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
59163
|
+
* given reader into the given message object.
|
|
59164
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashRequest.GetIdentityByNonUniquePublicKeyHashRequestV1} msg The message object to deserialize into.
|
|
59165
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
59166
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashRequest.GetIdentityByNonUniquePublicKeyHashRequestV1}
|
|
59167
|
+
*/
|
|
59168
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashRequest.GetIdentityByNonUniquePublicKeyHashRequestV1.deserializeBinaryFromReader = function(msg, reader) {
|
|
59169
|
+
while (reader.nextField()) {
|
|
59170
|
+
if (reader.isEndGroup()) {
|
|
59171
|
+
break;
|
|
59172
|
+
}
|
|
59173
|
+
var field = reader.getFieldNumber();
|
|
59174
|
+
switch (field) {
|
|
59175
|
+
case 1:
|
|
59176
|
+
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
59177
|
+
msg.setPublicKeyHash(value);
|
|
59178
|
+
break;
|
|
59179
|
+
case 2:
|
|
59180
|
+
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
59181
|
+
msg.setStartAfter(value);
|
|
59182
|
+
break;
|
|
59183
|
+
case 3:
|
|
59184
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
59185
|
+
msg.setProve(value);
|
|
59186
|
+
break;
|
|
59187
|
+
default:
|
|
59188
|
+
reader.skipField();
|
|
59189
|
+
break;
|
|
59190
|
+
}
|
|
59191
|
+
}
|
|
59192
|
+
return msg;
|
|
59193
|
+
};
|
|
59194
|
+
|
|
59195
|
+
|
|
59196
|
+
/**
|
|
59197
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
59198
|
+
* @return {!Uint8Array}
|
|
59199
|
+
*/
|
|
59200
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashRequest.GetIdentityByNonUniquePublicKeyHashRequestV1.prototype.serializeBinary = function() {
|
|
59201
|
+
var writer = new jspb.BinaryWriter();
|
|
59202
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashRequest.GetIdentityByNonUniquePublicKeyHashRequestV1.serializeBinaryToWriter(this, writer);
|
|
59203
|
+
return writer.getResultBuffer();
|
|
59204
|
+
};
|
|
59205
|
+
|
|
59206
|
+
|
|
59207
|
+
/**
|
|
59208
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
59209
|
+
* format), writing to the given BinaryWriter.
|
|
59210
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashRequest.GetIdentityByNonUniquePublicKeyHashRequestV1} message
|
|
59211
|
+
* @param {!jspb.BinaryWriter} writer
|
|
59212
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
59213
|
+
*/
|
|
59214
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashRequest.GetIdentityByNonUniquePublicKeyHashRequestV1.serializeBinaryToWriter = function(message, writer) {
|
|
59215
|
+
var f = undefined;
|
|
59216
|
+
f = message.getPublicKeyHash_asU8();
|
|
59217
|
+
if (f.length > 0) {
|
|
59218
|
+
writer.writeBytes(
|
|
59219
|
+
1,
|
|
59220
|
+
f
|
|
59221
|
+
);
|
|
59222
|
+
}
|
|
59223
|
+
f = /** @type {!(string|Uint8Array)} */ (jspb.Message.getField(message, 2));
|
|
59224
|
+
if (f != null) {
|
|
59225
|
+
writer.writeBytes(
|
|
59226
|
+
2,
|
|
59227
|
+
f
|
|
59228
|
+
);
|
|
59229
|
+
}
|
|
59230
|
+
f = message.getProve();
|
|
59231
|
+
if (f) {
|
|
59232
|
+
writer.writeBool(
|
|
59233
|
+
3,
|
|
59234
|
+
f
|
|
59235
|
+
);
|
|
59236
|
+
}
|
|
59237
|
+
};
|
|
59238
|
+
|
|
59239
|
+
|
|
59240
|
+
/**
|
|
59241
|
+
* optional bytes public_key_hash = 1;
|
|
59242
|
+
* @return {string}
|
|
59243
|
+
*/
|
|
59244
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashRequest.GetIdentityByNonUniquePublicKeyHashRequestV1.prototype.getPublicKeyHash = function() {
|
|
59245
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
59246
|
+
};
|
|
59247
|
+
|
|
59248
|
+
|
|
59249
|
+
/**
|
|
59250
|
+
* optional bytes public_key_hash = 1;
|
|
59251
|
+
* This is a type-conversion wrapper around `getPublicKeyHash()`
|
|
59252
|
+
* @return {string}
|
|
59253
|
+
*/
|
|
59254
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashRequest.GetIdentityByNonUniquePublicKeyHashRequestV1.prototype.getPublicKeyHash_asB64 = function() {
|
|
59255
|
+
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
59256
|
+
this.getPublicKeyHash()));
|
|
59257
|
+
};
|
|
59258
|
+
|
|
59259
|
+
|
|
59260
|
+
/**
|
|
59261
|
+
* optional bytes public_key_hash = 1;
|
|
59262
|
+
* Note that Uint8Array is not supported on all browsers.
|
|
59263
|
+
* @see http://caniuse.com/Uint8Array
|
|
59264
|
+
* This is a type-conversion wrapper around `getPublicKeyHash()`
|
|
59265
|
+
* @return {!Uint8Array}
|
|
59266
|
+
*/
|
|
59267
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashRequest.GetIdentityByNonUniquePublicKeyHashRequestV1.prototype.getPublicKeyHash_asU8 = function() {
|
|
59268
|
+
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
59269
|
+
this.getPublicKeyHash()));
|
|
59270
|
+
};
|
|
59271
|
+
|
|
59272
|
+
|
|
59273
|
+
/**
|
|
59274
|
+
* @param {!(string|Uint8Array)} value
|
|
59275
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashRequest.GetIdentityByNonUniquePublicKeyHashRequestV1} returns this
|
|
59276
|
+
*/
|
|
59277
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashRequest.GetIdentityByNonUniquePublicKeyHashRequestV1.prototype.setPublicKeyHash = function(value) {
|
|
59278
|
+
return jspb.Message.setProto3BytesField(this, 1, value);
|
|
59279
|
+
};
|
|
59280
|
+
|
|
59281
|
+
|
|
59282
|
+
/**
|
|
59283
|
+
* optional bytes start_after = 2;
|
|
59284
|
+
* @return {string}
|
|
59285
|
+
*/
|
|
59286
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashRequest.GetIdentityByNonUniquePublicKeyHashRequestV1.prototype.getStartAfter = function() {
|
|
59287
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
59288
|
+
};
|
|
59289
|
+
|
|
59290
|
+
|
|
59291
|
+
/**
|
|
59292
|
+
* optional bytes start_after = 2;
|
|
59293
|
+
* This is a type-conversion wrapper around `getStartAfter()`
|
|
59294
|
+
* @return {string}
|
|
59295
|
+
*/
|
|
59296
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashRequest.GetIdentityByNonUniquePublicKeyHashRequestV1.prototype.getStartAfter_asB64 = function() {
|
|
59297
|
+
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
59298
|
+
this.getStartAfter()));
|
|
59299
|
+
};
|
|
59300
|
+
|
|
59301
|
+
|
|
59302
|
+
/**
|
|
59303
|
+
* optional bytes start_after = 2;
|
|
59304
|
+
* Note that Uint8Array is not supported on all browsers.
|
|
59305
|
+
* @see http://caniuse.com/Uint8Array
|
|
59306
|
+
* This is a type-conversion wrapper around `getStartAfter()`
|
|
59307
|
+
* @return {!Uint8Array}
|
|
59308
|
+
*/
|
|
59309
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashRequest.GetIdentityByNonUniquePublicKeyHashRequestV1.prototype.getStartAfter_asU8 = function() {
|
|
59310
|
+
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
59311
|
+
this.getStartAfter()));
|
|
59312
|
+
};
|
|
59313
|
+
|
|
59314
|
+
|
|
59315
|
+
/**
|
|
59316
|
+
* @param {!(string|Uint8Array)} value
|
|
59317
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashRequest.GetIdentityByNonUniquePublicKeyHashRequestV1} returns this
|
|
59318
|
+
*/
|
|
59319
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashRequest.GetIdentityByNonUniquePublicKeyHashRequestV1.prototype.setStartAfter = function(value) {
|
|
59320
|
+
return jspb.Message.setField(this, 2, value);
|
|
59321
|
+
};
|
|
59322
|
+
|
|
59323
|
+
|
|
59324
|
+
/**
|
|
59325
|
+
* Clears the field making it undefined.
|
|
59326
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashRequest.GetIdentityByNonUniquePublicKeyHashRequestV1} returns this
|
|
59327
|
+
*/
|
|
59328
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashRequest.GetIdentityByNonUniquePublicKeyHashRequestV1.prototype.clearStartAfter = function() {
|
|
59329
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
59330
|
+
};
|
|
59331
|
+
|
|
59332
|
+
|
|
59333
|
+
/**
|
|
59334
|
+
* Returns whether this field is set.
|
|
59335
|
+
* @return {boolean}
|
|
59336
|
+
*/
|
|
59337
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashRequest.GetIdentityByNonUniquePublicKeyHashRequestV1.prototype.hasStartAfter = function() {
|
|
59338
|
+
return jspb.Message.getField(this, 2) != null;
|
|
59339
|
+
};
|
|
59340
|
+
|
|
59341
|
+
|
|
59342
|
+
/**
|
|
59343
|
+
* optional bool prove = 3;
|
|
59344
|
+
* @return {boolean}
|
|
59345
|
+
*/
|
|
59346
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashRequest.GetIdentityByNonUniquePublicKeyHashRequestV1.prototype.getProve = function() {
|
|
59347
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
|
|
59348
|
+
};
|
|
59349
|
+
|
|
59350
|
+
|
|
59351
|
+
/**
|
|
59352
|
+
* @param {boolean} value
|
|
59353
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashRequest.GetIdentityByNonUniquePublicKeyHashRequestV1} returns this
|
|
59354
|
+
*/
|
|
59355
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashRequest.GetIdentityByNonUniquePublicKeyHashRequestV1.prototype.setProve = function(value) {
|
|
59356
|
+
return jspb.Message.setProto3BooleanField(this, 3, value);
|
|
59357
|
+
};
|
|
59358
|
+
|
|
59359
|
+
|
|
59000
59360
|
/**
|
|
59001
59361
|
* optional GetIdentityByNonUniquePublicKeyHashRequestV0 v0 = 1;
|
|
59002
59362
|
* @return {?proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashRequest.GetIdentityByNonUniquePublicKeyHashRequestV0}
|
|
@@ -59034,6 +59394,43 @@ proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashRequest.proto
|
|
|
59034
59394
|
};
|
|
59035
59395
|
|
|
59036
59396
|
|
|
59397
|
+
/**
|
|
59398
|
+
* optional GetIdentityByNonUniquePublicKeyHashRequestV1 v1 = 2;
|
|
59399
|
+
* @return {?proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashRequest.GetIdentityByNonUniquePublicKeyHashRequestV1}
|
|
59400
|
+
*/
|
|
59401
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashRequest.prototype.getV1 = function() {
|
|
59402
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashRequest.GetIdentityByNonUniquePublicKeyHashRequestV1} */ (
|
|
59403
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashRequest.GetIdentityByNonUniquePublicKeyHashRequestV1, 2));
|
|
59404
|
+
};
|
|
59405
|
+
|
|
59406
|
+
|
|
59407
|
+
/**
|
|
59408
|
+
* @param {?proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashRequest.GetIdentityByNonUniquePublicKeyHashRequestV1|undefined} value
|
|
59409
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashRequest} returns this
|
|
59410
|
+
*/
|
|
59411
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashRequest.prototype.setV1 = function(value) {
|
|
59412
|
+
return jspb.Message.setOneofWrapperField(this, 2, proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashRequest.oneofGroups_[0], value);
|
|
59413
|
+
};
|
|
59414
|
+
|
|
59415
|
+
|
|
59416
|
+
/**
|
|
59417
|
+
* Clears the message field making it undefined.
|
|
59418
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashRequest} returns this
|
|
59419
|
+
*/
|
|
59420
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashRequest.prototype.clearV1 = function() {
|
|
59421
|
+
return this.setV1(undefined);
|
|
59422
|
+
};
|
|
59423
|
+
|
|
59424
|
+
|
|
59425
|
+
/**
|
|
59426
|
+
* Returns whether this field is set.
|
|
59427
|
+
* @return {boolean}
|
|
59428
|
+
*/
|
|
59429
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashRequest.prototype.hasV1 = function() {
|
|
59430
|
+
return jspb.Message.getField(this, 2) != null;
|
|
59431
|
+
};
|
|
59432
|
+
|
|
59433
|
+
|
|
59037
59434
|
|
|
59038
59435
|
/**
|
|
59039
59436
|
* Oneof group definitions for this message. Each group defines the field
|
|
@@ -59043,14 +59440,15 @@ proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashRequest.proto
|
|
|
59043
59440
|
* @private {!Array<!Array<number>>}
|
|
59044
59441
|
* @const
|
|
59045
59442
|
*/
|
|
59046
|
-
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.oneofGroups_ = [[1]];
|
|
59443
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.oneofGroups_ = [[1,2]];
|
|
59047
59444
|
|
|
59048
59445
|
/**
|
|
59049
59446
|
* @enum {number}
|
|
59050
59447
|
*/
|
|
59051
59448
|
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.VersionCase = {
|
|
59052
59449
|
VERSION_NOT_SET: 0,
|
|
59053
|
-
V0: 1
|
|
59450
|
+
V0: 1,
|
|
59451
|
+
V1: 2
|
|
59054
59452
|
};
|
|
59055
59453
|
|
|
59056
59454
|
/**
|
|
@@ -59091,7 +59489,8 @@ proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.prot
|
|
|
59091
59489
|
*/
|
|
59092
59490
|
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.toObject = function(includeInstance, msg) {
|
|
59093
59491
|
var f, obj = {
|
|
59094
|
-
v0: (f = msg.getV0()) && proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0.toObject(includeInstance, f)
|
|
59492
|
+
v0: (f = msg.getV0()) && proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0.toObject(includeInstance, f),
|
|
59493
|
+
v1: (f = msg.getV1()) && proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1.toObject(includeInstance, f)
|
|
59095
59494
|
};
|
|
59096
59495
|
|
|
59097
59496
|
if (includeInstance) {
|
|
@@ -59133,6 +59532,11 @@ proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.dese
|
|
|
59133
59532
|
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0.deserializeBinaryFromReader);
|
|
59134
59533
|
msg.setV0(value);
|
|
59135
59534
|
break;
|
|
59535
|
+
case 2:
|
|
59536
|
+
var value = new proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1;
|
|
59537
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1.deserializeBinaryFromReader);
|
|
59538
|
+
msg.setV1(value);
|
|
59539
|
+
break;
|
|
59136
59540
|
default:
|
|
59137
59541
|
reader.skipField();
|
|
59138
59542
|
break;
|
|
@@ -59170,6 +59574,14 @@ proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.seri
|
|
|
59170
59574
|
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0.serializeBinaryToWriter
|
|
59171
59575
|
);
|
|
59172
59576
|
}
|
|
59577
|
+
f = message.getV1();
|
|
59578
|
+
if (f != null) {
|
|
59579
|
+
writer.writeMessage(
|
|
59580
|
+
2,
|
|
59581
|
+
f,
|
|
59582
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1.serializeBinaryToWriter
|
|
59583
|
+
);
|
|
59584
|
+
}
|
|
59173
59585
|
};
|
|
59174
59586
|
|
|
59175
59587
|
|
|
@@ -59182,7 +59594,7 @@ proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.seri
|
|
|
59182
59594
|
* @private {!Array<!Array<number>>}
|
|
59183
59595
|
* @const
|
|
59184
59596
|
*/
|
|
59185
|
-
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0.oneofGroups_ = [[1,
|
|
59597
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0.oneofGroups_ = [[1,2]];
|
|
59186
59598
|
|
|
59187
59599
|
/**
|
|
59188
59600
|
* @enum {number}
|
|
@@ -59190,7 +59602,7 @@ proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetI
|
|
|
59190
59602
|
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0.ResultCase = {
|
|
59191
59603
|
RESULT_NOT_SET: 0,
|
|
59192
59604
|
IDENTITY: 1,
|
|
59193
|
-
PROOF:
|
|
59605
|
+
PROOF: 2
|
|
59194
59606
|
};
|
|
59195
59607
|
|
|
59196
59608
|
/**
|
|
@@ -59232,7 +59644,7 @@ proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetI
|
|
|
59232
59644
|
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0.toObject = function(includeInstance, msg) {
|
|
59233
59645
|
var f, obj = {
|
|
59234
59646
|
identity: (f = msg.getIdentity()) && proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0.IdentityResponse.toObject(includeInstance, f),
|
|
59235
|
-
proof: (f = msg.getProof()) && proto.org.dash.platform.dapi.v0.
|
|
59647
|
+
proof: (f = msg.getProof()) && proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0.IdentityProvedResponse.toObject(includeInstance, f),
|
|
59236
59648
|
metadata: (f = msg.getMetadata()) && proto.org.dash.platform.dapi.v0.ResponseMetadata.toObject(includeInstance, f)
|
|
59237
59649
|
};
|
|
59238
59650
|
|
|
@@ -59275,9 +59687,9 @@ proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetI
|
|
|
59275
59687
|
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0.IdentityResponse.deserializeBinaryFromReader);
|
|
59276
59688
|
msg.setIdentity(value);
|
|
59277
59689
|
break;
|
|
59278
|
-
case
|
|
59279
|
-
var value = new proto.org.dash.platform.dapi.v0.
|
|
59280
|
-
reader.readMessage(value,proto.org.dash.platform.dapi.v0.
|
|
59690
|
+
case 2:
|
|
59691
|
+
var value = new proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0.IdentityProvedResponse;
|
|
59692
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0.IdentityProvedResponse.deserializeBinaryFromReader);
|
|
59281
59693
|
msg.setProof(value);
|
|
59282
59694
|
break;
|
|
59283
59695
|
case 3:
|
|
@@ -59325,9 +59737,9 @@ proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetI
|
|
|
59325
59737
|
f = message.getProof();
|
|
59326
59738
|
if (f != null) {
|
|
59327
59739
|
writer.writeMessage(
|
|
59328
|
-
|
|
59740
|
+
2,
|
|
59329
59741
|
f,
|
|
59330
|
-
proto.org.dash.platform.dapi.v0.
|
|
59742
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0.IdentityProvedResponse.serializeBinaryToWriter
|
|
59331
59743
|
);
|
|
59332
59744
|
}
|
|
59333
59745
|
f = message.getMetadata();
|
|
@@ -59513,6 +59925,229 @@ proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetI
|
|
|
59513
59925
|
};
|
|
59514
59926
|
|
|
59515
59927
|
|
|
59928
|
+
|
|
59929
|
+
|
|
59930
|
+
|
|
59931
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
59932
|
+
/**
|
|
59933
|
+
* Creates an object representation of this proto.
|
|
59934
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
59935
|
+
* Optional fields that are not set will be set to undefined.
|
|
59936
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
59937
|
+
* For the list of reserved names please see:
|
|
59938
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
59939
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
59940
|
+
* JSPB instance for transitional soy proto support:
|
|
59941
|
+
* http://goto/soy-param-migration
|
|
59942
|
+
* @return {!Object}
|
|
59943
|
+
*/
|
|
59944
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0.IdentityProvedResponse.prototype.toObject = function(opt_includeInstance) {
|
|
59945
|
+
return proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0.IdentityProvedResponse.toObject(opt_includeInstance, this);
|
|
59946
|
+
};
|
|
59947
|
+
|
|
59948
|
+
|
|
59949
|
+
/**
|
|
59950
|
+
* Static version of the {@see toObject} method.
|
|
59951
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
59952
|
+
* the JSPB instance for transitional soy proto support:
|
|
59953
|
+
* http://goto/soy-param-migration
|
|
59954
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0.IdentityProvedResponse} msg The msg instance to transform.
|
|
59955
|
+
* @return {!Object}
|
|
59956
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
59957
|
+
*/
|
|
59958
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0.IdentityProvedResponse.toObject = function(includeInstance, msg) {
|
|
59959
|
+
var f, obj = {
|
|
59960
|
+
grovedbIdentityPublicKeyHashProof: (f = msg.getGrovedbIdentityPublicKeyHashProof()) && proto.org.dash.platform.dapi.v0.Proof.toObject(includeInstance, f),
|
|
59961
|
+
identityProofBytes: msg.getIdentityProofBytes_asB64()
|
|
59962
|
+
};
|
|
59963
|
+
|
|
59964
|
+
if (includeInstance) {
|
|
59965
|
+
obj.$jspbMessageInstance = msg;
|
|
59966
|
+
}
|
|
59967
|
+
return obj;
|
|
59968
|
+
};
|
|
59969
|
+
}
|
|
59970
|
+
|
|
59971
|
+
|
|
59972
|
+
/**
|
|
59973
|
+
* Deserializes binary data (in protobuf wire format).
|
|
59974
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
59975
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0.IdentityProvedResponse}
|
|
59976
|
+
*/
|
|
59977
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0.IdentityProvedResponse.deserializeBinary = function(bytes) {
|
|
59978
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
59979
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0.IdentityProvedResponse;
|
|
59980
|
+
return proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0.IdentityProvedResponse.deserializeBinaryFromReader(msg, reader);
|
|
59981
|
+
};
|
|
59982
|
+
|
|
59983
|
+
|
|
59984
|
+
/**
|
|
59985
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
59986
|
+
* given reader into the given message object.
|
|
59987
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0.IdentityProvedResponse} msg The message object to deserialize into.
|
|
59988
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
59989
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0.IdentityProvedResponse}
|
|
59990
|
+
*/
|
|
59991
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0.IdentityProvedResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
59992
|
+
while (reader.nextField()) {
|
|
59993
|
+
if (reader.isEndGroup()) {
|
|
59994
|
+
break;
|
|
59995
|
+
}
|
|
59996
|
+
var field = reader.getFieldNumber();
|
|
59997
|
+
switch (field) {
|
|
59998
|
+
case 1:
|
|
59999
|
+
var value = new proto.org.dash.platform.dapi.v0.Proof;
|
|
60000
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.Proof.deserializeBinaryFromReader);
|
|
60001
|
+
msg.setGrovedbIdentityPublicKeyHashProof(value);
|
|
60002
|
+
break;
|
|
60003
|
+
case 2:
|
|
60004
|
+
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
60005
|
+
msg.setIdentityProofBytes(value);
|
|
60006
|
+
break;
|
|
60007
|
+
default:
|
|
60008
|
+
reader.skipField();
|
|
60009
|
+
break;
|
|
60010
|
+
}
|
|
60011
|
+
}
|
|
60012
|
+
return msg;
|
|
60013
|
+
};
|
|
60014
|
+
|
|
60015
|
+
|
|
60016
|
+
/**
|
|
60017
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
60018
|
+
* @return {!Uint8Array}
|
|
60019
|
+
*/
|
|
60020
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0.IdentityProvedResponse.prototype.serializeBinary = function() {
|
|
60021
|
+
var writer = new jspb.BinaryWriter();
|
|
60022
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0.IdentityProvedResponse.serializeBinaryToWriter(this, writer);
|
|
60023
|
+
return writer.getResultBuffer();
|
|
60024
|
+
};
|
|
60025
|
+
|
|
60026
|
+
|
|
60027
|
+
/**
|
|
60028
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
60029
|
+
* format), writing to the given BinaryWriter.
|
|
60030
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0.IdentityProvedResponse} message
|
|
60031
|
+
* @param {!jspb.BinaryWriter} writer
|
|
60032
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
60033
|
+
*/
|
|
60034
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0.IdentityProvedResponse.serializeBinaryToWriter = function(message, writer) {
|
|
60035
|
+
var f = undefined;
|
|
60036
|
+
f = message.getGrovedbIdentityPublicKeyHashProof();
|
|
60037
|
+
if (f != null) {
|
|
60038
|
+
writer.writeMessage(
|
|
60039
|
+
1,
|
|
60040
|
+
f,
|
|
60041
|
+
proto.org.dash.platform.dapi.v0.Proof.serializeBinaryToWriter
|
|
60042
|
+
);
|
|
60043
|
+
}
|
|
60044
|
+
f = /** @type {!(string|Uint8Array)} */ (jspb.Message.getField(message, 2));
|
|
60045
|
+
if (f != null) {
|
|
60046
|
+
writer.writeBytes(
|
|
60047
|
+
2,
|
|
60048
|
+
f
|
|
60049
|
+
);
|
|
60050
|
+
}
|
|
60051
|
+
};
|
|
60052
|
+
|
|
60053
|
+
|
|
60054
|
+
/**
|
|
60055
|
+
* optional Proof grovedb_identity_public_key_hash_proof = 1;
|
|
60056
|
+
* @return {?proto.org.dash.platform.dapi.v0.Proof}
|
|
60057
|
+
*/
|
|
60058
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0.IdentityProvedResponse.prototype.getGrovedbIdentityPublicKeyHashProof = function() {
|
|
60059
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.Proof} */ (
|
|
60060
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.Proof, 1));
|
|
60061
|
+
};
|
|
60062
|
+
|
|
60063
|
+
|
|
60064
|
+
/**
|
|
60065
|
+
* @param {?proto.org.dash.platform.dapi.v0.Proof|undefined} value
|
|
60066
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0.IdentityProvedResponse} returns this
|
|
60067
|
+
*/
|
|
60068
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0.IdentityProvedResponse.prototype.setGrovedbIdentityPublicKeyHashProof = function(value) {
|
|
60069
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
60070
|
+
};
|
|
60071
|
+
|
|
60072
|
+
|
|
60073
|
+
/**
|
|
60074
|
+
* Clears the message field making it undefined.
|
|
60075
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0.IdentityProvedResponse} returns this
|
|
60076
|
+
*/
|
|
60077
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0.IdentityProvedResponse.prototype.clearGrovedbIdentityPublicKeyHashProof = function() {
|
|
60078
|
+
return this.setGrovedbIdentityPublicKeyHashProof(undefined);
|
|
60079
|
+
};
|
|
60080
|
+
|
|
60081
|
+
|
|
60082
|
+
/**
|
|
60083
|
+
* Returns whether this field is set.
|
|
60084
|
+
* @return {boolean}
|
|
60085
|
+
*/
|
|
60086
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0.IdentityProvedResponse.prototype.hasGrovedbIdentityPublicKeyHashProof = function() {
|
|
60087
|
+
return jspb.Message.getField(this, 1) != null;
|
|
60088
|
+
};
|
|
60089
|
+
|
|
60090
|
+
|
|
60091
|
+
/**
|
|
60092
|
+
* optional bytes identity_proof_bytes = 2;
|
|
60093
|
+
* @return {string}
|
|
60094
|
+
*/
|
|
60095
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0.IdentityProvedResponse.prototype.getIdentityProofBytes = function() {
|
|
60096
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
60097
|
+
};
|
|
60098
|
+
|
|
60099
|
+
|
|
60100
|
+
/**
|
|
60101
|
+
* optional bytes identity_proof_bytes = 2;
|
|
60102
|
+
* This is a type-conversion wrapper around `getIdentityProofBytes()`
|
|
60103
|
+
* @return {string}
|
|
60104
|
+
*/
|
|
60105
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0.IdentityProvedResponse.prototype.getIdentityProofBytes_asB64 = function() {
|
|
60106
|
+
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
60107
|
+
this.getIdentityProofBytes()));
|
|
60108
|
+
};
|
|
60109
|
+
|
|
60110
|
+
|
|
60111
|
+
/**
|
|
60112
|
+
* optional bytes identity_proof_bytes = 2;
|
|
60113
|
+
* Note that Uint8Array is not supported on all browsers.
|
|
60114
|
+
* @see http://caniuse.com/Uint8Array
|
|
60115
|
+
* This is a type-conversion wrapper around `getIdentityProofBytes()`
|
|
60116
|
+
* @return {!Uint8Array}
|
|
60117
|
+
*/
|
|
60118
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0.IdentityProvedResponse.prototype.getIdentityProofBytes_asU8 = function() {
|
|
60119
|
+
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
60120
|
+
this.getIdentityProofBytes()));
|
|
60121
|
+
};
|
|
60122
|
+
|
|
60123
|
+
|
|
60124
|
+
/**
|
|
60125
|
+
* @param {!(string|Uint8Array)} value
|
|
60126
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0.IdentityProvedResponse} returns this
|
|
60127
|
+
*/
|
|
60128
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0.IdentityProvedResponse.prototype.setIdentityProofBytes = function(value) {
|
|
60129
|
+
return jspb.Message.setField(this, 2, value);
|
|
60130
|
+
};
|
|
60131
|
+
|
|
60132
|
+
|
|
60133
|
+
/**
|
|
60134
|
+
* Clears the field making it undefined.
|
|
60135
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0.IdentityProvedResponse} returns this
|
|
60136
|
+
*/
|
|
60137
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0.IdentityProvedResponse.prototype.clearIdentityProofBytes = function() {
|
|
60138
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
60139
|
+
};
|
|
60140
|
+
|
|
60141
|
+
|
|
60142
|
+
/**
|
|
60143
|
+
* Returns whether this field is set.
|
|
60144
|
+
* @return {boolean}
|
|
60145
|
+
*/
|
|
60146
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0.IdentityProvedResponse.prototype.hasIdentityProofBytes = function() {
|
|
60147
|
+
return jspb.Message.getField(this, 2) != null;
|
|
60148
|
+
};
|
|
60149
|
+
|
|
60150
|
+
|
|
59516
60151
|
/**
|
|
59517
60152
|
* optional IdentityResponse identity = 1;
|
|
59518
60153
|
* @return {?proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0.IdentityResponse}
|
|
@@ -59551,21 +60186,21 @@ proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetI
|
|
|
59551
60186
|
|
|
59552
60187
|
|
|
59553
60188
|
/**
|
|
59554
|
-
* optional
|
|
59555
|
-
* @return {?proto.org.dash.platform.dapi.v0.
|
|
60189
|
+
* optional IdentityProvedResponse proof = 2;
|
|
60190
|
+
* @return {?proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0.IdentityProvedResponse}
|
|
59556
60191
|
*/
|
|
59557
60192
|
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0.prototype.getProof = function() {
|
|
59558
|
-
return /** @type{?proto.org.dash.platform.dapi.v0.
|
|
59559
|
-
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.
|
|
60193
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0.IdentityProvedResponse} */ (
|
|
60194
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0.IdentityProvedResponse, 2));
|
|
59560
60195
|
};
|
|
59561
60196
|
|
|
59562
60197
|
|
|
59563
60198
|
/**
|
|
59564
|
-
* @param {?proto.org.dash.platform.dapi.v0.
|
|
60199
|
+
* @param {?proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0.IdentityProvedResponse|undefined} value
|
|
59565
60200
|
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0} returns this
|
|
59566
60201
|
*/
|
|
59567
60202
|
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0.prototype.setProof = function(value) {
|
|
59568
|
-
return jspb.Message.setOneofWrapperField(this,
|
|
60203
|
+
return jspb.Message.setOneofWrapperField(this, 2, proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0.oneofGroups_[0], value);
|
|
59569
60204
|
};
|
|
59570
60205
|
|
|
59571
60206
|
|
|
@@ -59583,7 +60218,7 @@ proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetI
|
|
|
59583
60218
|
* @return {boolean}
|
|
59584
60219
|
*/
|
|
59585
60220
|
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0.prototype.hasProof = function() {
|
|
59586
|
-
return jspb.Message.getField(this,
|
|
60221
|
+
return jspb.Message.getField(this, 2) != null;
|
|
59587
60222
|
};
|
|
59588
60223
|
|
|
59589
60224
|
|
|
@@ -59624,6 +60259,457 @@ proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetI
|
|
|
59624
60259
|
};
|
|
59625
60260
|
|
|
59626
60261
|
|
|
60262
|
+
|
|
60263
|
+
/**
|
|
60264
|
+
* Oneof group definitions for this message. Each group defines the field
|
|
60265
|
+
* numbers belonging to that group. When of these fields' value is set, all
|
|
60266
|
+
* other fields in the group are cleared. During deserialization, if multiple
|
|
60267
|
+
* fields are encountered for a group, only the last value seen will be kept.
|
|
60268
|
+
* @private {!Array<!Array<number>>}
|
|
60269
|
+
* @const
|
|
60270
|
+
*/
|
|
60271
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1.oneofGroups_ = [[1,2]];
|
|
60272
|
+
|
|
60273
|
+
/**
|
|
60274
|
+
* @enum {number}
|
|
60275
|
+
*/
|
|
60276
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1.ResultCase = {
|
|
60277
|
+
RESULT_NOT_SET: 0,
|
|
60278
|
+
IDENTITY: 1,
|
|
60279
|
+
PROOF: 2
|
|
60280
|
+
};
|
|
60281
|
+
|
|
60282
|
+
/**
|
|
60283
|
+
* @return {proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1.ResultCase}
|
|
60284
|
+
*/
|
|
60285
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1.prototype.getResultCase = function() {
|
|
60286
|
+
return /** @type {proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1.ResultCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1.oneofGroups_[0]));
|
|
60287
|
+
};
|
|
60288
|
+
|
|
60289
|
+
|
|
60290
|
+
|
|
60291
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
60292
|
+
/**
|
|
60293
|
+
* Creates an object representation of this proto.
|
|
60294
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
60295
|
+
* Optional fields that are not set will be set to undefined.
|
|
60296
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
60297
|
+
* For the list of reserved names please see:
|
|
60298
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
60299
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
60300
|
+
* JSPB instance for transitional soy proto support:
|
|
60301
|
+
* http://goto/soy-param-migration
|
|
60302
|
+
* @return {!Object}
|
|
60303
|
+
*/
|
|
60304
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1.prototype.toObject = function(opt_includeInstance) {
|
|
60305
|
+
return proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1.toObject(opt_includeInstance, this);
|
|
60306
|
+
};
|
|
60307
|
+
|
|
60308
|
+
|
|
60309
|
+
/**
|
|
60310
|
+
* Static version of the {@see toObject} method.
|
|
60311
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
60312
|
+
* the JSPB instance for transitional soy proto support:
|
|
60313
|
+
* http://goto/soy-param-migration
|
|
60314
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1} msg The msg instance to transform.
|
|
60315
|
+
* @return {!Object}
|
|
60316
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
60317
|
+
*/
|
|
60318
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1.toObject = function(includeInstance, msg) {
|
|
60319
|
+
var f, obj = {
|
|
60320
|
+
identity: (f = msg.getIdentity()) && proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1.IdentityResponse.toObject(includeInstance, f),
|
|
60321
|
+
proof: (f = msg.getProof()) && proto.org.dash.platform.dapi.v0.Proof.toObject(includeInstance, f),
|
|
60322
|
+
metadata: (f = msg.getMetadata()) && proto.org.dash.platform.dapi.v0.ResponseMetadata.toObject(includeInstance, f)
|
|
60323
|
+
};
|
|
60324
|
+
|
|
60325
|
+
if (includeInstance) {
|
|
60326
|
+
obj.$jspbMessageInstance = msg;
|
|
60327
|
+
}
|
|
60328
|
+
return obj;
|
|
60329
|
+
};
|
|
60330
|
+
}
|
|
60331
|
+
|
|
60332
|
+
|
|
60333
|
+
/**
|
|
60334
|
+
* Deserializes binary data (in protobuf wire format).
|
|
60335
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
60336
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1}
|
|
60337
|
+
*/
|
|
60338
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1.deserializeBinary = function(bytes) {
|
|
60339
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
60340
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1;
|
|
60341
|
+
return proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1.deserializeBinaryFromReader(msg, reader);
|
|
60342
|
+
};
|
|
60343
|
+
|
|
60344
|
+
|
|
60345
|
+
/**
|
|
60346
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
60347
|
+
* given reader into the given message object.
|
|
60348
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1} msg The message object to deserialize into.
|
|
60349
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
60350
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1}
|
|
60351
|
+
*/
|
|
60352
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1.deserializeBinaryFromReader = function(msg, reader) {
|
|
60353
|
+
while (reader.nextField()) {
|
|
60354
|
+
if (reader.isEndGroup()) {
|
|
60355
|
+
break;
|
|
60356
|
+
}
|
|
60357
|
+
var field = reader.getFieldNumber();
|
|
60358
|
+
switch (field) {
|
|
60359
|
+
case 1:
|
|
60360
|
+
var value = new proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1.IdentityResponse;
|
|
60361
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1.IdentityResponse.deserializeBinaryFromReader);
|
|
60362
|
+
msg.setIdentity(value);
|
|
60363
|
+
break;
|
|
60364
|
+
case 2:
|
|
60365
|
+
var value = new proto.org.dash.platform.dapi.v0.Proof;
|
|
60366
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.Proof.deserializeBinaryFromReader);
|
|
60367
|
+
msg.setProof(value);
|
|
60368
|
+
break;
|
|
60369
|
+
case 3:
|
|
60370
|
+
var value = new proto.org.dash.platform.dapi.v0.ResponseMetadata;
|
|
60371
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.ResponseMetadata.deserializeBinaryFromReader);
|
|
60372
|
+
msg.setMetadata(value);
|
|
60373
|
+
break;
|
|
60374
|
+
default:
|
|
60375
|
+
reader.skipField();
|
|
60376
|
+
break;
|
|
60377
|
+
}
|
|
60378
|
+
}
|
|
60379
|
+
return msg;
|
|
60380
|
+
};
|
|
60381
|
+
|
|
60382
|
+
|
|
60383
|
+
/**
|
|
60384
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
60385
|
+
* @return {!Uint8Array}
|
|
60386
|
+
*/
|
|
60387
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1.prototype.serializeBinary = function() {
|
|
60388
|
+
var writer = new jspb.BinaryWriter();
|
|
60389
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1.serializeBinaryToWriter(this, writer);
|
|
60390
|
+
return writer.getResultBuffer();
|
|
60391
|
+
};
|
|
60392
|
+
|
|
60393
|
+
|
|
60394
|
+
/**
|
|
60395
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
60396
|
+
* format), writing to the given BinaryWriter.
|
|
60397
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1} message
|
|
60398
|
+
* @param {!jspb.BinaryWriter} writer
|
|
60399
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
60400
|
+
*/
|
|
60401
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1.serializeBinaryToWriter = function(message, writer) {
|
|
60402
|
+
var f = undefined;
|
|
60403
|
+
f = message.getIdentity();
|
|
60404
|
+
if (f != null) {
|
|
60405
|
+
writer.writeMessage(
|
|
60406
|
+
1,
|
|
60407
|
+
f,
|
|
60408
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1.IdentityResponse.serializeBinaryToWriter
|
|
60409
|
+
);
|
|
60410
|
+
}
|
|
60411
|
+
f = message.getProof();
|
|
60412
|
+
if (f != null) {
|
|
60413
|
+
writer.writeMessage(
|
|
60414
|
+
2,
|
|
60415
|
+
f,
|
|
60416
|
+
proto.org.dash.platform.dapi.v0.Proof.serializeBinaryToWriter
|
|
60417
|
+
);
|
|
60418
|
+
}
|
|
60419
|
+
f = message.getMetadata();
|
|
60420
|
+
if (f != null) {
|
|
60421
|
+
writer.writeMessage(
|
|
60422
|
+
3,
|
|
60423
|
+
f,
|
|
60424
|
+
proto.org.dash.platform.dapi.v0.ResponseMetadata.serializeBinaryToWriter
|
|
60425
|
+
);
|
|
60426
|
+
}
|
|
60427
|
+
};
|
|
60428
|
+
|
|
60429
|
+
|
|
60430
|
+
|
|
60431
|
+
|
|
60432
|
+
|
|
60433
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
60434
|
+
/**
|
|
60435
|
+
* Creates an object representation of this proto.
|
|
60436
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
60437
|
+
* Optional fields that are not set will be set to undefined.
|
|
60438
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
60439
|
+
* For the list of reserved names please see:
|
|
60440
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
60441
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
60442
|
+
* JSPB instance for transitional soy proto support:
|
|
60443
|
+
* http://goto/soy-param-migration
|
|
60444
|
+
* @return {!Object}
|
|
60445
|
+
*/
|
|
60446
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1.IdentityResponse.prototype.toObject = function(opt_includeInstance) {
|
|
60447
|
+
return proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1.IdentityResponse.toObject(opt_includeInstance, this);
|
|
60448
|
+
};
|
|
60449
|
+
|
|
60450
|
+
|
|
60451
|
+
/**
|
|
60452
|
+
* Static version of the {@see toObject} method.
|
|
60453
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
60454
|
+
* the JSPB instance for transitional soy proto support:
|
|
60455
|
+
* http://goto/soy-param-migration
|
|
60456
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1.IdentityResponse} msg The msg instance to transform.
|
|
60457
|
+
* @return {!Object}
|
|
60458
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
60459
|
+
*/
|
|
60460
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1.IdentityResponse.toObject = function(includeInstance, msg) {
|
|
60461
|
+
var f, obj = {
|
|
60462
|
+
identity: msg.getIdentity_asB64()
|
|
60463
|
+
};
|
|
60464
|
+
|
|
60465
|
+
if (includeInstance) {
|
|
60466
|
+
obj.$jspbMessageInstance = msg;
|
|
60467
|
+
}
|
|
60468
|
+
return obj;
|
|
60469
|
+
};
|
|
60470
|
+
}
|
|
60471
|
+
|
|
60472
|
+
|
|
60473
|
+
/**
|
|
60474
|
+
* Deserializes binary data (in protobuf wire format).
|
|
60475
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
60476
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1.IdentityResponse}
|
|
60477
|
+
*/
|
|
60478
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1.IdentityResponse.deserializeBinary = function(bytes) {
|
|
60479
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
60480
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1.IdentityResponse;
|
|
60481
|
+
return proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1.IdentityResponse.deserializeBinaryFromReader(msg, reader);
|
|
60482
|
+
};
|
|
60483
|
+
|
|
60484
|
+
|
|
60485
|
+
/**
|
|
60486
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
60487
|
+
* given reader into the given message object.
|
|
60488
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1.IdentityResponse} msg The message object to deserialize into.
|
|
60489
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
60490
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1.IdentityResponse}
|
|
60491
|
+
*/
|
|
60492
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1.IdentityResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
60493
|
+
while (reader.nextField()) {
|
|
60494
|
+
if (reader.isEndGroup()) {
|
|
60495
|
+
break;
|
|
60496
|
+
}
|
|
60497
|
+
var field = reader.getFieldNumber();
|
|
60498
|
+
switch (field) {
|
|
60499
|
+
case 1:
|
|
60500
|
+
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
60501
|
+
msg.setIdentity(value);
|
|
60502
|
+
break;
|
|
60503
|
+
default:
|
|
60504
|
+
reader.skipField();
|
|
60505
|
+
break;
|
|
60506
|
+
}
|
|
60507
|
+
}
|
|
60508
|
+
return msg;
|
|
60509
|
+
};
|
|
60510
|
+
|
|
60511
|
+
|
|
60512
|
+
/**
|
|
60513
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
60514
|
+
* @return {!Uint8Array}
|
|
60515
|
+
*/
|
|
60516
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1.IdentityResponse.prototype.serializeBinary = function() {
|
|
60517
|
+
var writer = new jspb.BinaryWriter();
|
|
60518
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1.IdentityResponse.serializeBinaryToWriter(this, writer);
|
|
60519
|
+
return writer.getResultBuffer();
|
|
60520
|
+
};
|
|
60521
|
+
|
|
60522
|
+
|
|
60523
|
+
/**
|
|
60524
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
60525
|
+
* format), writing to the given BinaryWriter.
|
|
60526
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1.IdentityResponse} message
|
|
60527
|
+
* @param {!jspb.BinaryWriter} writer
|
|
60528
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
60529
|
+
*/
|
|
60530
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1.IdentityResponse.serializeBinaryToWriter = function(message, writer) {
|
|
60531
|
+
var f = undefined;
|
|
60532
|
+
f = /** @type {!(string|Uint8Array)} */ (jspb.Message.getField(message, 1));
|
|
60533
|
+
if (f != null) {
|
|
60534
|
+
writer.writeBytes(
|
|
60535
|
+
1,
|
|
60536
|
+
f
|
|
60537
|
+
);
|
|
60538
|
+
}
|
|
60539
|
+
};
|
|
60540
|
+
|
|
60541
|
+
|
|
60542
|
+
/**
|
|
60543
|
+
* optional bytes identity = 1;
|
|
60544
|
+
* @return {string}
|
|
60545
|
+
*/
|
|
60546
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1.IdentityResponse.prototype.getIdentity = function() {
|
|
60547
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
60548
|
+
};
|
|
60549
|
+
|
|
60550
|
+
|
|
60551
|
+
/**
|
|
60552
|
+
* optional bytes identity = 1;
|
|
60553
|
+
* This is a type-conversion wrapper around `getIdentity()`
|
|
60554
|
+
* @return {string}
|
|
60555
|
+
*/
|
|
60556
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1.IdentityResponse.prototype.getIdentity_asB64 = function() {
|
|
60557
|
+
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
60558
|
+
this.getIdentity()));
|
|
60559
|
+
};
|
|
60560
|
+
|
|
60561
|
+
|
|
60562
|
+
/**
|
|
60563
|
+
* optional bytes identity = 1;
|
|
60564
|
+
* Note that Uint8Array is not supported on all browsers.
|
|
60565
|
+
* @see http://caniuse.com/Uint8Array
|
|
60566
|
+
* This is a type-conversion wrapper around `getIdentity()`
|
|
60567
|
+
* @return {!Uint8Array}
|
|
60568
|
+
*/
|
|
60569
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1.IdentityResponse.prototype.getIdentity_asU8 = function() {
|
|
60570
|
+
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
60571
|
+
this.getIdentity()));
|
|
60572
|
+
};
|
|
60573
|
+
|
|
60574
|
+
|
|
60575
|
+
/**
|
|
60576
|
+
* @param {!(string|Uint8Array)} value
|
|
60577
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1.IdentityResponse} returns this
|
|
60578
|
+
*/
|
|
60579
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1.IdentityResponse.prototype.setIdentity = function(value) {
|
|
60580
|
+
return jspb.Message.setField(this, 1, value);
|
|
60581
|
+
};
|
|
60582
|
+
|
|
60583
|
+
|
|
60584
|
+
/**
|
|
60585
|
+
* Clears the field making it undefined.
|
|
60586
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1.IdentityResponse} returns this
|
|
60587
|
+
*/
|
|
60588
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1.IdentityResponse.prototype.clearIdentity = function() {
|
|
60589
|
+
return jspb.Message.setField(this, 1, undefined);
|
|
60590
|
+
};
|
|
60591
|
+
|
|
60592
|
+
|
|
60593
|
+
/**
|
|
60594
|
+
* Returns whether this field is set.
|
|
60595
|
+
* @return {boolean}
|
|
60596
|
+
*/
|
|
60597
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1.IdentityResponse.prototype.hasIdentity = function() {
|
|
60598
|
+
return jspb.Message.getField(this, 1) != null;
|
|
60599
|
+
};
|
|
60600
|
+
|
|
60601
|
+
|
|
60602
|
+
/**
|
|
60603
|
+
* optional IdentityResponse identity = 1;
|
|
60604
|
+
* @return {?proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1.IdentityResponse}
|
|
60605
|
+
*/
|
|
60606
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1.prototype.getIdentity = function() {
|
|
60607
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1.IdentityResponse} */ (
|
|
60608
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1.IdentityResponse, 1));
|
|
60609
|
+
};
|
|
60610
|
+
|
|
60611
|
+
|
|
60612
|
+
/**
|
|
60613
|
+
* @param {?proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1.IdentityResponse|undefined} value
|
|
60614
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1} returns this
|
|
60615
|
+
*/
|
|
60616
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1.prototype.setIdentity = function(value) {
|
|
60617
|
+
return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1.oneofGroups_[0], value);
|
|
60618
|
+
};
|
|
60619
|
+
|
|
60620
|
+
|
|
60621
|
+
/**
|
|
60622
|
+
* Clears the message field making it undefined.
|
|
60623
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1} returns this
|
|
60624
|
+
*/
|
|
60625
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1.prototype.clearIdentity = function() {
|
|
60626
|
+
return this.setIdentity(undefined);
|
|
60627
|
+
};
|
|
60628
|
+
|
|
60629
|
+
|
|
60630
|
+
/**
|
|
60631
|
+
* Returns whether this field is set.
|
|
60632
|
+
* @return {boolean}
|
|
60633
|
+
*/
|
|
60634
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1.prototype.hasIdentity = function() {
|
|
60635
|
+
return jspb.Message.getField(this, 1) != null;
|
|
60636
|
+
};
|
|
60637
|
+
|
|
60638
|
+
|
|
60639
|
+
/**
|
|
60640
|
+
* optional Proof proof = 2;
|
|
60641
|
+
* @return {?proto.org.dash.platform.dapi.v0.Proof}
|
|
60642
|
+
*/
|
|
60643
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1.prototype.getProof = function() {
|
|
60644
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.Proof} */ (
|
|
60645
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.Proof, 2));
|
|
60646
|
+
};
|
|
60647
|
+
|
|
60648
|
+
|
|
60649
|
+
/**
|
|
60650
|
+
* @param {?proto.org.dash.platform.dapi.v0.Proof|undefined} value
|
|
60651
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1} returns this
|
|
60652
|
+
*/
|
|
60653
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1.prototype.setProof = function(value) {
|
|
60654
|
+
return jspb.Message.setOneofWrapperField(this, 2, proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1.oneofGroups_[0], value);
|
|
60655
|
+
};
|
|
60656
|
+
|
|
60657
|
+
|
|
60658
|
+
/**
|
|
60659
|
+
* Clears the message field making it undefined.
|
|
60660
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1} returns this
|
|
60661
|
+
*/
|
|
60662
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1.prototype.clearProof = function() {
|
|
60663
|
+
return this.setProof(undefined);
|
|
60664
|
+
};
|
|
60665
|
+
|
|
60666
|
+
|
|
60667
|
+
/**
|
|
60668
|
+
* Returns whether this field is set.
|
|
60669
|
+
* @return {boolean}
|
|
60670
|
+
*/
|
|
60671
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1.prototype.hasProof = function() {
|
|
60672
|
+
return jspb.Message.getField(this, 2) != null;
|
|
60673
|
+
};
|
|
60674
|
+
|
|
60675
|
+
|
|
60676
|
+
/**
|
|
60677
|
+
* optional ResponseMetadata metadata = 3;
|
|
60678
|
+
* @return {?proto.org.dash.platform.dapi.v0.ResponseMetadata}
|
|
60679
|
+
*/
|
|
60680
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1.prototype.getMetadata = function() {
|
|
60681
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.ResponseMetadata} */ (
|
|
60682
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.ResponseMetadata, 3));
|
|
60683
|
+
};
|
|
60684
|
+
|
|
60685
|
+
|
|
60686
|
+
/**
|
|
60687
|
+
* @param {?proto.org.dash.platform.dapi.v0.ResponseMetadata|undefined} value
|
|
60688
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1} returns this
|
|
60689
|
+
*/
|
|
60690
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1.prototype.setMetadata = function(value) {
|
|
60691
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
60692
|
+
};
|
|
60693
|
+
|
|
60694
|
+
|
|
60695
|
+
/**
|
|
60696
|
+
* Clears the message field making it undefined.
|
|
60697
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1} returns this
|
|
60698
|
+
*/
|
|
60699
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1.prototype.clearMetadata = function() {
|
|
60700
|
+
return this.setMetadata(undefined);
|
|
60701
|
+
};
|
|
60702
|
+
|
|
60703
|
+
|
|
60704
|
+
/**
|
|
60705
|
+
* Returns whether this field is set.
|
|
60706
|
+
* @return {boolean}
|
|
60707
|
+
*/
|
|
60708
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1.prototype.hasMetadata = function() {
|
|
60709
|
+
return jspb.Message.getField(this, 3) != null;
|
|
60710
|
+
};
|
|
60711
|
+
|
|
60712
|
+
|
|
59627
60713
|
/**
|
|
59628
60714
|
* optional GetIdentityByNonUniquePublicKeyHashResponseV0 v0 = 1;
|
|
59629
60715
|
* @return {?proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0}
|
|
@@ -59661,6 +60747,43 @@ proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.prot
|
|
|
59661
60747
|
};
|
|
59662
60748
|
|
|
59663
60749
|
|
|
60750
|
+
/**
|
|
60751
|
+
* optional GetIdentityByNonUniquePublicKeyHashResponseV1 v1 = 2;
|
|
60752
|
+
* @return {?proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1}
|
|
60753
|
+
*/
|
|
60754
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.prototype.getV1 = function() {
|
|
60755
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1} */ (
|
|
60756
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1, 2));
|
|
60757
|
+
};
|
|
60758
|
+
|
|
60759
|
+
|
|
60760
|
+
/**
|
|
60761
|
+
* @param {?proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1|undefined} value
|
|
60762
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse} returns this
|
|
60763
|
+
*/
|
|
60764
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.prototype.setV1 = function(value) {
|
|
60765
|
+
return jspb.Message.setOneofWrapperField(this, 2, proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.oneofGroups_[0], value);
|
|
60766
|
+
};
|
|
60767
|
+
|
|
60768
|
+
|
|
60769
|
+
/**
|
|
60770
|
+
* Clears the message field making it undefined.
|
|
60771
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse} returns this
|
|
60772
|
+
*/
|
|
60773
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.prototype.clearV1 = function() {
|
|
60774
|
+
return this.setV1(undefined);
|
|
60775
|
+
};
|
|
60776
|
+
|
|
60777
|
+
|
|
60778
|
+
/**
|
|
60779
|
+
* Returns whether this field is set.
|
|
60780
|
+
* @return {boolean}
|
|
60781
|
+
*/
|
|
60782
|
+
proto.org.dash.platform.dapi.v0.GetIdentityByNonUniquePublicKeyHashResponse.prototype.hasV1 = function() {
|
|
60783
|
+
return jspb.Message.getField(this, 2) != null;
|
|
60784
|
+
};
|
|
60785
|
+
|
|
60786
|
+
|
|
59664
60787
|
|
|
59665
60788
|
/**
|
|
59666
60789
|
* Oneof group definitions for this message. Each group defines the field
|