@dashevo/dapi-grpc 4.1.0 → 4.2.0-dev.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Cargo.toml +19 -8
- package/build.rs +11 -2
- package/clients/drive/v0/nodejs/drive_pbjs.js +668 -375
- package/clients/platform/v0/nodejs/platform_pbjs.js +668 -375
- package/clients/platform/v0/nodejs/platform_protoc.js +656 -289
- package/clients/platform/v0/web/platform_pb.d.ts +83 -42
- package/clients/platform/v0/web/platform_pb.js +656 -289
- package/package.json +2 -2
- package/protos/platform/v0/platform.proto +263 -93
|
@@ -171,8 +171,6 @@ goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingAgg
|
|
|
171
171
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingClause', null, { proto });
|
|
172
172
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingClause.Operator', null, { proto });
|
|
173
173
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingClause.RightCase', null, { proto });
|
|
174
|
-
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingRanking', null, { proto });
|
|
175
|
-
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingRanking.Kind', null, { proto });
|
|
176
174
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsRequest.OrderClause', null, { proto });
|
|
177
175
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsRequest.OrderClause.TargetCase', null, { proto });
|
|
178
176
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsRequest.VersionCase', null, { proto });
|
|
@@ -193,6 +191,9 @@ goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocum
|
|
|
193
191
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults', null, { proto });
|
|
194
192
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults.VariantCase', null, { proto });
|
|
195
193
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents', null, { proto });
|
|
194
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntries', null, { proto });
|
|
195
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntry', null, { proto });
|
|
196
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntry.ValueCase', null, { proto });
|
|
196
197
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultCase', null, { proto });
|
|
197
198
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData', null, { proto });
|
|
198
199
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.VariantCase', null, { proto });
|
|
@@ -2257,27 +2258,6 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
2257
2258
|
*/
|
|
2258
2259
|
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingAggregate.displayName = 'proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingAggregate';
|
|
2259
2260
|
}
|
|
2260
|
-
/**
|
|
2261
|
-
* Generated by JsPbCodeGenerator.
|
|
2262
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2263
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
2264
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
2265
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
2266
|
-
* valid.
|
|
2267
|
-
* @extends {jspb.Message}
|
|
2268
|
-
* @constructor
|
|
2269
|
-
*/
|
|
2270
|
-
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingRanking = function(opt_data) {
|
|
2271
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2272
|
-
};
|
|
2273
|
-
goog.inherits(proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingRanking, jspb.Message);
|
|
2274
|
-
if (goog.DEBUG && !COMPILED) {
|
|
2275
|
-
/**
|
|
2276
|
-
* @public
|
|
2277
|
-
* @override
|
|
2278
|
-
*/
|
|
2279
|
-
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingRanking.displayName = 'proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingRanking';
|
|
2280
|
-
}
|
|
2281
2261
|
/**
|
|
2282
2262
|
* Generated by JsPbCodeGenerator.
|
|
2283
2263
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -2698,6 +2678,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
2698
2678
|
*/
|
|
2699
2679
|
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.AverageResults.displayName = 'proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.AverageResults';
|
|
2700
2680
|
}
|
|
2681
|
+
/**
|
|
2682
|
+
* Generated by JsPbCodeGenerator.
|
|
2683
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2684
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2685
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2686
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2687
|
+
* valid.
|
|
2688
|
+
* @extends {jspb.Message}
|
|
2689
|
+
* @constructor
|
|
2690
|
+
*/
|
|
2691
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntry = function(opt_data) {
|
|
2692
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntry.oneofGroups_);
|
|
2693
|
+
};
|
|
2694
|
+
goog.inherits(proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntry, jspb.Message);
|
|
2695
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2696
|
+
/**
|
|
2697
|
+
* @public
|
|
2698
|
+
* @override
|
|
2699
|
+
*/
|
|
2700
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntry.displayName = 'proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntry';
|
|
2701
|
+
}
|
|
2702
|
+
/**
|
|
2703
|
+
* Generated by JsPbCodeGenerator.
|
|
2704
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2705
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2706
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2707
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2708
|
+
* valid.
|
|
2709
|
+
* @extends {jspb.Message}
|
|
2710
|
+
* @constructor
|
|
2711
|
+
*/
|
|
2712
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntries = function(opt_data) {
|
|
2713
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntries.repeatedFields_, null);
|
|
2714
|
+
};
|
|
2715
|
+
goog.inherits(proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntries, jspb.Message);
|
|
2716
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2717
|
+
/**
|
|
2718
|
+
* @public
|
|
2719
|
+
* @override
|
|
2720
|
+
*/
|
|
2721
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntries.displayName = 'proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntries';
|
|
2722
|
+
}
|
|
2701
2723
|
/**
|
|
2702
2724
|
* Generated by JsPbCodeGenerator.
|
|
2703
2725
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -25454,194 +25476,6 @@ proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingAggregate.prototype.se
|
|
|
25454
25476
|
|
|
25455
25477
|
|
|
25456
25478
|
|
|
25457
|
-
|
|
25458
|
-
|
|
25459
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
25460
|
-
/**
|
|
25461
|
-
* Creates an object representation of this proto.
|
|
25462
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
25463
|
-
* Optional fields that are not set will be set to undefined.
|
|
25464
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
25465
|
-
* For the list of reserved names please see:
|
|
25466
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
25467
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
25468
|
-
* JSPB instance for transitional soy proto support:
|
|
25469
|
-
* http://goto/soy-param-migration
|
|
25470
|
-
* @return {!Object}
|
|
25471
|
-
*/
|
|
25472
|
-
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingRanking.prototype.toObject = function(opt_includeInstance) {
|
|
25473
|
-
return proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingRanking.toObject(opt_includeInstance, this);
|
|
25474
|
-
};
|
|
25475
|
-
|
|
25476
|
-
|
|
25477
|
-
/**
|
|
25478
|
-
* Static version of the {@see toObject} method.
|
|
25479
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
25480
|
-
* the JSPB instance for transitional soy proto support:
|
|
25481
|
-
* http://goto/soy-param-migration
|
|
25482
|
-
* @param {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingRanking} msg The msg instance to transform.
|
|
25483
|
-
* @return {!Object}
|
|
25484
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
25485
|
-
*/
|
|
25486
|
-
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingRanking.toObject = function(includeInstance, msg) {
|
|
25487
|
-
var f, obj = {
|
|
25488
|
-
kind: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
25489
|
-
n: jspb.Message.getFieldWithDefault(msg, 2, "0")
|
|
25490
|
-
};
|
|
25491
|
-
|
|
25492
|
-
if (includeInstance) {
|
|
25493
|
-
obj.$jspbMessageInstance = msg;
|
|
25494
|
-
}
|
|
25495
|
-
return obj;
|
|
25496
|
-
};
|
|
25497
|
-
}
|
|
25498
|
-
|
|
25499
|
-
|
|
25500
|
-
/**
|
|
25501
|
-
* Deserializes binary data (in protobuf wire format).
|
|
25502
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
25503
|
-
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingRanking}
|
|
25504
|
-
*/
|
|
25505
|
-
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingRanking.deserializeBinary = function(bytes) {
|
|
25506
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
25507
|
-
var msg = new proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingRanking;
|
|
25508
|
-
return proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingRanking.deserializeBinaryFromReader(msg, reader);
|
|
25509
|
-
};
|
|
25510
|
-
|
|
25511
|
-
|
|
25512
|
-
/**
|
|
25513
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
25514
|
-
* given reader into the given message object.
|
|
25515
|
-
* @param {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingRanking} msg The message object to deserialize into.
|
|
25516
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
25517
|
-
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingRanking}
|
|
25518
|
-
*/
|
|
25519
|
-
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingRanking.deserializeBinaryFromReader = function(msg, reader) {
|
|
25520
|
-
while (reader.nextField()) {
|
|
25521
|
-
if (reader.isEndGroup()) {
|
|
25522
|
-
break;
|
|
25523
|
-
}
|
|
25524
|
-
var field = reader.getFieldNumber();
|
|
25525
|
-
switch (field) {
|
|
25526
|
-
case 1:
|
|
25527
|
-
var value = /** @type {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingRanking.Kind} */ (reader.readEnum());
|
|
25528
|
-
msg.setKind(value);
|
|
25529
|
-
break;
|
|
25530
|
-
case 2:
|
|
25531
|
-
var value = /** @type {string} */ (reader.readUint64String());
|
|
25532
|
-
msg.setN(value);
|
|
25533
|
-
break;
|
|
25534
|
-
default:
|
|
25535
|
-
reader.skipField();
|
|
25536
|
-
break;
|
|
25537
|
-
}
|
|
25538
|
-
}
|
|
25539
|
-
return msg;
|
|
25540
|
-
};
|
|
25541
|
-
|
|
25542
|
-
|
|
25543
|
-
/**
|
|
25544
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
25545
|
-
* @return {!Uint8Array}
|
|
25546
|
-
*/
|
|
25547
|
-
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingRanking.prototype.serializeBinary = function() {
|
|
25548
|
-
var writer = new jspb.BinaryWriter();
|
|
25549
|
-
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingRanking.serializeBinaryToWriter(this, writer);
|
|
25550
|
-
return writer.getResultBuffer();
|
|
25551
|
-
};
|
|
25552
|
-
|
|
25553
|
-
|
|
25554
|
-
/**
|
|
25555
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
25556
|
-
* format), writing to the given BinaryWriter.
|
|
25557
|
-
* @param {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingRanking} message
|
|
25558
|
-
* @param {!jspb.BinaryWriter} writer
|
|
25559
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
25560
|
-
*/
|
|
25561
|
-
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingRanking.serializeBinaryToWriter = function(message, writer) {
|
|
25562
|
-
var f = undefined;
|
|
25563
|
-
f = message.getKind();
|
|
25564
|
-
if (f !== 0.0) {
|
|
25565
|
-
writer.writeEnum(
|
|
25566
|
-
1,
|
|
25567
|
-
f
|
|
25568
|
-
);
|
|
25569
|
-
}
|
|
25570
|
-
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
25571
|
-
if (f != null) {
|
|
25572
|
-
writer.writeUint64String(
|
|
25573
|
-
2,
|
|
25574
|
-
f
|
|
25575
|
-
);
|
|
25576
|
-
}
|
|
25577
|
-
};
|
|
25578
|
-
|
|
25579
|
-
|
|
25580
|
-
/**
|
|
25581
|
-
* @enum {number}
|
|
25582
|
-
*/
|
|
25583
|
-
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingRanking.Kind = {
|
|
25584
|
-
MIN: 0,
|
|
25585
|
-
MAX: 1,
|
|
25586
|
-
TOP: 2,
|
|
25587
|
-
BOTTOM: 3
|
|
25588
|
-
};
|
|
25589
|
-
|
|
25590
|
-
/**
|
|
25591
|
-
* optional Kind kind = 1;
|
|
25592
|
-
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingRanking.Kind}
|
|
25593
|
-
*/
|
|
25594
|
-
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingRanking.prototype.getKind = function() {
|
|
25595
|
-
return /** @type {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingRanking.Kind} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
25596
|
-
};
|
|
25597
|
-
|
|
25598
|
-
|
|
25599
|
-
/**
|
|
25600
|
-
* @param {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingRanking.Kind} value
|
|
25601
|
-
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingRanking} returns this
|
|
25602
|
-
*/
|
|
25603
|
-
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingRanking.prototype.setKind = function(value) {
|
|
25604
|
-
return jspb.Message.setProto3EnumField(this, 1, value);
|
|
25605
|
-
};
|
|
25606
|
-
|
|
25607
|
-
|
|
25608
|
-
/**
|
|
25609
|
-
* optional uint64 n = 2;
|
|
25610
|
-
* @return {string}
|
|
25611
|
-
*/
|
|
25612
|
-
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingRanking.prototype.getN = function() {
|
|
25613
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "0"));
|
|
25614
|
-
};
|
|
25615
|
-
|
|
25616
|
-
|
|
25617
|
-
/**
|
|
25618
|
-
* @param {string} value
|
|
25619
|
-
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingRanking} returns this
|
|
25620
|
-
*/
|
|
25621
|
-
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingRanking.prototype.setN = function(value) {
|
|
25622
|
-
return jspb.Message.setField(this, 2, value);
|
|
25623
|
-
};
|
|
25624
|
-
|
|
25625
|
-
|
|
25626
|
-
/**
|
|
25627
|
-
* Clears the field making it undefined.
|
|
25628
|
-
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingRanking} returns this
|
|
25629
|
-
*/
|
|
25630
|
-
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingRanking.prototype.clearN = function() {
|
|
25631
|
-
return jspb.Message.setField(this, 2, undefined);
|
|
25632
|
-
};
|
|
25633
|
-
|
|
25634
|
-
|
|
25635
|
-
/**
|
|
25636
|
-
* Returns whether this field is set.
|
|
25637
|
-
* @return {boolean}
|
|
25638
|
-
*/
|
|
25639
|
-
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingRanking.prototype.hasN = function() {
|
|
25640
|
-
return jspb.Message.getField(this, 2) != null;
|
|
25641
|
-
};
|
|
25642
|
-
|
|
25643
|
-
|
|
25644
|
-
|
|
25645
25479
|
/**
|
|
25646
25480
|
* Oneof group definitions for this message. Each group defines the field
|
|
25647
25481
|
* numbers belonging to that group. When of these fields' value is set, all
|
|
@@ -25650,15 +25484,14 @@ proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingRanking.prototype.hasN
|
|
|
25650
25484
|
* @private {!Array<!Array<number>>}
|
|
25651
25485
|
* @const
|
|
25652
25486
|
*/
|
|
25653
|
-
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingClause.oneofGroups_ = [[3
|
|
25487
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingClause.oneofGroups_ = [[3]];
|
|
25654
25488
|
|
|
25655
25489
|
/**
|
|
25656
25490
|
* @enum {number}
|
|
25657
25491
|
*/
|
|
25658
25492
|
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingClause.RightCase = {
|
|
25659
25493
|
RIGHT_NOT_SET: 0,
|
|
25660
|
-
VALUE: 3
|
|
25661
|
-
RANKING: 4
|
|
25494
|
+
VALUE: 3
|
|
25662
25495
|
};
|
|
25663
25496
|
|
|
25664
25497
|
/**
|
|
@@ -25701,8 +25534,7 @@ proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingClause.toObject = func
|
|
|
25701
25534
|
var f, obj = {
|
|
25702
25535
|
aggregate: (f = msg.getAggregate()) && proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingAggregate.toObject(includeInstance, f),
|
|
25703
25536
|
operator: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
25704
|
-
value: (f = msg.getValue()) && proto.org.dash.platform.dapi.v0.GetDocumentsRequest.DocumentFieldValue.toObject(includeInstance, f)
|
|
25705
|
-
ranking: (f = msg.getRanking()) && proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingRanking.toObject(includeInstance, f)
|
|
25537
|
+
value: (f = msg.getValue()) && proto.org.dash.platform.dapi.v0.GetDocumentsRequest.DocumentFieldValue.toObject(includeInstance, f)
|
|
25706
25538
|
};
|
|
25707
25539
|
|
|
25708
25540
|
if (includeInstance) {
|
|
@@ -25753,11 +25585,6 @@ proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingClause.deserializeBina
|
|
|
25753
25585
|
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetDocumentsRequest.DocumentFieldValue.deserializeBinaryFromReader);
|
|
25754
25586
|
msg.setValue(value);
|
|
25755
25587
|
break;
|
|
25756
|
-
case 4:
|
|
25757
|
-
var value = new proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingRanking;
|
|
25758
|
-
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingRanking.deserializeBinaryFromReader);
|
|
25759
|
-
msg.setRanking(value);
|
|
25760
|
-
break;
|
|
25761
25588
|
default:
|
|
25762
25589
|
reader.skipField();
|
|
25763
25590
|
break;
|
|
@@ -25810,14 +25637,6 @@ proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingClause.serializeBinary
|
|
|
25810
25637
|
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.DocumentFieldValue.serializeBinaryToWriter
|
|
25811
25638
|
);
|
|
25812
25639
|
}
|
|
25813
|
-
f = message.getRanking();
|
|
25814
|
-
if (f != null) {
|
|
25815
|
-
writer.writeMessage(
|
|
25816
|
-
4,
|
|
25817
|
-
f,
|
|
25818
|
-
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingRanking.serializeBinaryToWriter
|
|
25819
|
-
);
|
|
25820
|
-
}
|
|
25821
25640
|
};
|
|
25822
25641
|
|
|
25823
25642
|
|
|
@@ -25930,43 +25749,6 @@ proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingClause.prototype.hasVa
|
|
|
25930
25749
|
};
|
|
25931
25750
|
|
|
25932
25751
|
|
|
25933
|
-
/**
|
|
25934
|
-
* optional HavingRanking ranking = 4;
|
|
25935
|
-
* @return {?proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingRanking}
|
|
25936
|
-
*/
|
|
25937
|
-
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingClause.prototype.getRanking = function() {
|
|
25938
|
-
return /** @type{?proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingRanking} */ (
|
|
25939
|
-
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingRanking, 4));
|
|
25940
|
-
};
|
|
25941
|
-
|
|
25942
|
-
|
|
25943
|
-
/**
|
|
25944
|
-
* @param {?proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingRanking|undefined} value
|
|
25945
|
-
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingClause} returns this
|
|
25946
|
-
*/
|
|
25947
|
-
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingClause.prototype.setRanking = function(value) {
|
|
25948
|
-
return jspb.Message.setOneofWrapperField(this, 4, proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingClause.oneofGroups_[0], value);
|
|
25949
|
-
};
|
|
25950
|
-
|
|
25951
|
-
|
|
25952
|
-
/**
|
|
25953
|
-
* Clears the message field making it undefined.
|
|
25954
|
-
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingClause} returns this
|
|
25955
|
-
*/
|
|
25956
|
-
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingClause.prototype.clearRanking = function() {
|
|
25957
|
-
return this.setRanking(undefined);
|
|
25958
|
-
};
|
|
25959
|
-
|
|
25960
|
-
|
|
25961
|
-
/**
|
|
25962
|
-
* Returns whether this field is set.
|
|
25963
|
-
* @return {boolean}
|
|
25964
|
-
*/
|
|
25965
|
-
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingClause.prototype.hasRanking = function() {
|
|
25966
|
-
return jspb.Message.getField(this, 4) != null;
|
|
25967
|
-
};
|
|
25968
|
-
|
|
25969
|
-
|
|
25970
25752
|
|
|
25971
25753
|
/**
|
|
25972
25754
|
* Oneof group definitions for this message. Each group defines the field
|
|
@@ -30824,24 +30606,23 @@ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Aver
|
|
|
30824
30606
|
* @private {!Array<!Array<number>>}
|
|
30825
30607
|
* @const
|
|
30826
30608
|
*/
|
|
30827
|
-
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.
|
|
30609
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntry.oneofGroups_ = [[2,3,4]];
|
|
30828
30610
|
|
|
30829
30611
|
/**
|
|
30830
30612
|
* @enum {number}
|
|
30831
30613
|
*/
|
|
30832
|
-
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.
|
|
30833
|
-
|
|
30834
|
-
|
|
30835
|
-
|
|
30836
|
-
|
|
30837
|
-
AVERAGES: 4
|
|
30614
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntry.ValueCase = {
|
|
30615
|
+
VALUE_NOT_SET: 0,
|
|
30616
|
+
COUNT: 2,
|
|
30617
|
+
SUM: 3,
|
|
30618
|
+
AVG: 4
|
|
30838
30619
|
};
|
|
30839
30620
|
|
|
30840
30621
|
/**
|
|
30841
|
-
* @return {proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.
|
|
30622
|
+
* @return {proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntry.ValueCase}
|
|
30842
30623
|
*/
|
|
30843
|
-
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.
|
|
30844
|
-
return /** @type {proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.
|
|
30624
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntry.prototype.getValueCase = function() {
|
|
30625
|
+
return /** @type {proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntry.ValueCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntry.oneofGroups_[0]));
|
|
30845
30626
|
};
|
|
30846
30627
|
|
|
30847
30628
|
|
|
@@ -30859,8 +30640,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
30859
30640
|
* http://goto/soy-param-migration
|
|
30860
30641
|
* @return {!Object}
|
|
30861
30642
|
*/
|
|
30862
|
-
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.
|
|
30863
|
-
return proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.
|
|
30643
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntry.prototype.toObject = function(opt_includeInstance) {
|
|
30644
|
+
return proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntry.toObject(opt_includeInstance, this);
|
|
30864
30645
|
};
|
|
30865
30646
|
|
|
30866
30647
|
|
|
@@ -30869,16 +30650,16 @@ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Resu
|
|
|
30869
30650
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
30870
30651
|
* the JSPB instance for transitional soy proto support:
|
|
30871
30652
|
* http://goto/soy-param-migration
|
|
30872
|
-
* @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.
|
|
30653
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntry} msg The msg instance to transform.
|
|
30873
30654
|
* @return {!Object}
|
|
30874
30655
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
30875
30656
|
*/
|
|
30876
|
-
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.
|
|
30657
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntry.toObject = function(includeInstance, msg) {
|
|
30877
30658
|
var f, obj = {
|
|
30878
|
-
|
|
30879
|
-
|
|
30880
|
-
|
|
30881
|
-
|
|
30659
|
+
key: msg.getKey_asB64(),
|
|
30660
|
+
count: jspb.Message.getFieldWithDefault(msg, 2, "0"),
|
|
30661
|
+
sum: jspb.Message.getFieldWithDefault(msg, 3, "0"),
|
|
30662
|
+
avg: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0)
|
|
30882
30663
|
};
|
|
30883
30664
|
|
|
30884
30665
|
if (includeInstance) {
|
|
@@ -30892,19 +30673,555 @@ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Resu
|
|
|
30892
30673
|
/**
|
|
30893
30674
|
* Deserializes binary data (in protobuf wire format).
|
|
30894
30675
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
30895
|
-
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.
|
|
30676
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntry}
|
|
30896
30677
|
*/
|
|
30897
|
-
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.
|
|
30678
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntry.deserializeBinary = function(bytes) {
|
|
30898
30679
|
var reader = new jspb.BinaryReader(bytes);
|
|
30899
|
-
var msg = new proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.
|
|
30900
|
-
return proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.
|
|
30680
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntry;
|
|
30681
|
+
return proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntry.deserializeBinaryFromReader(msg, reader);
|
|
30901
30682
|
};
|
|
30902
30683
|
|
|
30903
30684
|
|
|
30904
30685
|
/**
|
|
30905
30686
|
* Deserializes binary data (in protobuf wire format) from the
|
|
30906
30687
|
* given reader into the given message object.
|
|
30907
|
-
* @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.
|
|
30688
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntry} msg The message object to deserialize into.
|
|
30689
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
30690
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntry}
|
|
30691
|
+
*/
|
|
30692
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntry.deserializeBinaryFromReader = function(msg, reader) {
|
|
30693
|
+
while (reader.nextField()) {
|
|
30694
|
+
if (reader.isEndGroup()) {
|
|
30695
|
+
break;
|
|
30696
|
+
}
|
|
30697
|
+
var field = reader.getFieldNumber();
|
|
30698
|
+
switch (field) {
|
|
30699
|
+
case 1:
|
|
30700
|
+
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
30701
|
+
msg.setKey(value);
|
|
30702
|
+
break;
|
|
30703
|
+
case 2:
|
|
30704
|
+
var value = /** @type {string} */ (reader.readUint64String());
|
|
30705
|
+
msg.setCount(value);
|
|
30706
|
+
break;
|
|
30707
|
+
case 3:
|
|
30708
|
+
var value = /** @type {string} */ (reader.readSint64String());
|
|
30709
|
+
msg.setSum(value);
|
|
30710
|
+
break;
|
|
30711
|
+
case 4:
|
|
30712
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
30713
|
+
msg.setAvg(value);
|
|
30714
|
+
break;
|
|
30715
|
+
default:
|
|
30716
|
+
reader.skipField();
|
|
30717
|
+
break;
|
|
30718
|
+
}
|
|
30719
|
+
}
|
|
30720
|
+
return msg;
|
|
30721
|
+
};
|
|
30722
|
+
|
|
30723
|
+
|
|
30724
|
+
/**
|
|
30725
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
30726
|
+
* @return {!Uint8Array}
|
|
30727
|
+
*/
|
|
30728
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntry.prototype.serializeBinary = function() {
|
|
30729
|
+
var writer = new jspb.BinaryWriter();
|
|
30730
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntry.serializeBinaryToWriter(this, writer);
|
|
30731
|
+
return writer.getResultBuffer();
|
|
30732
|
+
};
|
|
30733
|
+
|
|
30734
|
+
|
|
30735
|
+
/**
|
|
30736
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
30737
|
+
* format), writing to the given BinaryWriter.
|
|
30738
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntry} message
|
|
30739
|
+
* @param {!jspb.BinaryWriter} writer
|
|
30740
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
30741
|
+
*/
|
|
30742
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntry.serializeBinaryToWriter = function(message, writer) {
|
|
30743
|
+
var f = undefined;
|
|
30744
|
+
f = message.getKey_asU8();
|
|
30745
|
+
if (f.length > 0) {
|
|
30746
|
+
writer.writeBytes(
|
|
30747
|
+
1,
|
|
30748
|
+
f
|
|
30749
|
+
);
|
|
30750
|
+
}
|
|
30751
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
30752
|
+
if (f != null) {
|
|
30753
|
+
writer.writeUint64String(
|
|
30754
|
+
2,
|
|
30755
|
+
f
|
|
30756
|
+
);
|
|
30757
|
+
}
|
|
30758
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
30759
|
+
if (f != null) {
|
|
30760
|
+
writer.writeSint64String(
|
|
30761
|
+
3,
|
|
30762
|
+
f
|
|
30763
|
+
);
|
|
30764
|
+
}
|
|
30765
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 4));
|
|
30766
|
+
if (f != null) {
|
|
30767
|
+
writer.writeDouble(
|
|
30768
|
+
4,
|
|
30769
|
+
f
|
|
30770
|
+
);
|
|
30771
|
+
}
|
|
30772
|
+
};
|
|
30773
|
+
|
|
30774
|
+
|
|
30775
|
+
/**
|
|
30776
|
+
* optional bytes key = 1;
|
|
30777
|
+
* @return {string}
|
|
30778
|
+
*/
|
|
30779
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntry.prototype.getKey = function() {
|
|
30780
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
30781
|
+
};
|
|
30782
|
+
|
|
30783
|
+
|
|
30784
|
+
/**
|
|
30785
|
+
* optional bytes key = 1;
|
|
30786
|
+
* This is a type-conversion wrapper around `getKey()`
|
|
30787
|
+
* @return {string}
|
|
30788
|
+
*/
|
|
30789
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntry.prototype.getKey_asB64 = function() {
|
|
30790
|
+
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
30791
|
+
this.getKey()));
|
|
30792
|
+
};
|
|
30793
|
+
|
|
30794
|
+
|
|
30795
|
+
/**
|
|
30796
|
+
* optional bytes key = 1;
|
|
30797
|
+
* Note that Uint8Array is not supported on all browsers.
|
|
30798
|
+
* @see http://caniuse.com/Uint8Array
|
|
30799
|
+
* This is a type-conversion wrapper around `getKey()`
|
|
30800
|
+
* @return {!Uint8Array}
|
|
30801
|
+
*/
|
|
30802
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntry.prototype.getKey_asU8 = function() {
|
|
30803
|
+
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
30804
|
+
this.getKey()));
|
|
30805
|
+
};
|
|
30806
|
+
|
|
30807
|
+
|
|
30808
|
+
/**
|
|
30809
|
+
* @param {!(string|Uint8Array)} value
|
|
30810
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntry} returns this
|
|
30811
|
+
*/
|
|
30812
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntry.prototype.setKey = function(value) {
|
|
30813
|
+
return jspb.Message.setProto3BytesField(this, 1, value);
|
|
30814
|
+
};
|
|
30815
|
+
|
|
30816
|
+
|
|
30817
|
+
/**
|
|
30818
|
+
* optional uint64 count = 2;
|
|
30819
|
+
* @return {string}
|
|
30820
|
+
*/
|
|
30821
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntry.prototype.getCount = function() {
|
|
30822
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "0"));
|
|
30823
|
+
};
|
|
30824
|
+
|
|
30825
|
+
|
|
30826
|
+
/**
|
|
30827
|
+
* @param {string} value
|
|
30828
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntry} returns this
|
|
30829
|
+
*/
|
|
30830
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntry.prototype.setCount = function(value) {
|
|
30831
|
+
return jspb.Message.setOneofField(this, 2, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntry.oneofGroups_[0], value);
|
|
30832
|
+
};
|
|
30833
|
+
|
|
30834
|
+
|
|
30835
|
+
/**
|
|
30836
|
+
* Clears the field making it undefined.
|
|
30837
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntry} returns this
|
|
30838
|
+
*/
|
|
30839
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntry.prototype.clearCount = function() {
|
|
30840
|
+
return jspb.Message.setOneofField(this, 2, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntry.oneofGroups_[0], undefined);
|
|
30841
|
+
};
|
|
30842
|
+
|
|
30843
|
+
|
|
30844
|
+
/**
|
|
30845
|
+
* Returns whether this field is set.
|
|
30846
|
+
* @return {boolean}
|
|
30847
|
+
*/
|
|
30848
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntry.prototype.hasCount = function() {
|
|
30849
|
+
return jspb.Message.getField(this, 2) != null;
|
|
30850
|
+
};
|
|
30851
|
+
|
|
30852
|
+
|
|
30853
|
+
/**
|
|
30854
|
+
* optional sint64 sum = 3;
|
|
30855
|
+
* @return {string}
|
|
30856
|
+
*/
|
|
30857
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntry.prototype.getSum = function() {
|
|
30858
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "0"));
|
|
30859
|
+
};
|
|
30860
|
+
|
|
30861
|
+
|
|
30862
|
+
/**
|
|
30863
|
+
* @param {string} value
|
|
30864
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntry} returns this
|
|
30865
|
+
*/
|
|
30866
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntry.prototype.setSum = function(value) {
|
|
30867
|
+
return jspb.Message.setOneofField(this, 3, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntry.oneofGroups_[0], value);
|
|
30868
|
+
};
|
|
30869
|
+
|
|
30870
|
+
|
|
30871
|
+
/**
|
|
30872
|
+
* Clears the field making it undefined.
|
|
30873
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntry} returns this
|
|
30874
|
+
*/
|
|
30875
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntry.prototype.clearSum = function() {
|
|
30876
|
+
return jspb.Message.setOneofField(this, 3, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntry.oneofGroups_[0], undefined);
|
|
30877
|
+
};
|
|
30878
|
+
|
|
30879
|
+
|
|
30880
|
+
/**
|
|
30881
|
+
* Returns whether this field is set.
|
|
30882
|
+
* @return {boolean}
|
|
30883
|
+
*/
|
|
30884
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntry.prototype.hasSum = function() {
|
|
30885
|
+
return jspb.Message.getField(this, 3) != null;
|
|
30886
|
+
};
|
|
30887
|
+
|
|
30888
|
+
|
|
30889
|
+
/**
|
|
30890
|
+
* optional double avg = 4;
|
|
30891
|
+
* @return {number}
|
|
30892
|
+
*/
|
|
30893
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntry.prototype.getAvg = function() {
|
|
30894
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
|
|
30895
|
+
};
|
|
30896
|
+
|
|
30897
|
+
|
|
30898
|
+
/**
|
|
30899
|
+
* @param {number} value
|
|
30900
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntry} returns this
|
|
30901
|
+
*/
|
|
30902
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntry.prototype.setAvg = function(value) {
|
|
30903
|
+
return jspb.Message.setOneofField(this, 4, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntry.oneofGroups_[0], value);
|
|
30904
|
+
};
|
|
30905
|
+
|
|
30906
|
+
|
|
30907
|
+
/**
|
|
30908
|
+
* Clears the field making it undefined.
|
|
30909
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntry} returns this
|
|
30910
|
+
*/
|
|
30911
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntry.prototype.clearAvg = function() {
|
|
30912
|
+
return jspb.Message.setOneofField(this, 4, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntry.oneofGroups_[0], undefined);
|
|
30913
|
+
};
|
|
30914
|
+
|
|
30915
|
+
|
|
30916
|
+
/**
|
|
30917
|
+
* Returns whether this field is set.
|
|
30918
|
+
* @return {boolean}
|
|
30919
|
+
*/
|
|
30920
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntry.prototype.hasAvg = function() {
|
|
30921
|
+
return jspb.Message.getField(this, 4) != null;
|
|
30922
|
+
};
|
|
30923
|
+
|
|
30924
|
+
|
|
30925
|
+
|
|
30926
|
+
/**
|
|
30927
|
+
* List of repeated fields within this message type.
|
|
30928
|
+
* @private {!Array<number>}
|
|
30929
|
+
* @const
|
|
30930
|
+
*/
|
|
30931
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntries.repeatedFields_ = [1];
|
|
30932
|
+
|
|
30933
|
+
|
|
30934
|
+
|
|
30935
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
30936
|
+
/**
|
|
30937
|
+
* Creates an object representation of this proto.
|
|
30938
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
30939
|
+
* Optional fields that are not set will be set to undefined.
|
|
30940
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
30941
|
+
* For the list of reserved names please see:
|
|
30942
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
30943
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
30944
|
+
* JSPB instance for transitional soy proto support:
|
|
30945
|
+
* http://goto/soy-param-migration
|
|
30946
|
+
* @return {!Object}
|
|
30947
|
+
*/
|
|
30948
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntries.prototype.toObject = function(opt_includeInstance) {
|
|
30949
|
+
return proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntries.toObject(opt_includeInstance, this);
|
|
30950
|
+
};
|
|
30951
|
+
|
|
30952
|
+
|
|
30953
|
+
/**
|
|
30954
|
+
* Static version of the {@see toObject} method.
|
|
30955
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
30956
|
+
* the JSPB instance for transitional soy proto support:
|
|
30957
|
+
* http://goto/soy-param-migration
|
|
30958
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntries} msg The msg instance to transform.
|
|
30959
|
+
* @return {!Object}
|
|
30960
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
30961
|
+
*/
|
|
30962
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntries.toObject = function(includeInstance, msg) {
|
|
30963
|
+
var f, obj = {
|
|
30964
|
+
entriesList: jspb.Message.toObjectList(msg.getEntriesList(),
|
|
30965
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntry.toObject, includeInstance),
|
|
30966
|
+
skipped: jspb.Message.getFieldWithDefault(msg, 2, "0")
|
|
30967
|
+
};
|
|
30968
|
+
|
|
30969
|
+
if (includeInstance) {
|
|
30970
|
+
obj.$jspbMessageInstance = msg;
|
|
30971
|
+
}
|
|
30972
|
+
return obj;
|
|
30973
|
+
};
|
|
30974
|
+
}
|
|
30975
|
+
|
|
30976
|
+
|
|
30977
|
+
/**
|
|
30978
|
+
* Deserializes binary data (in protobuf wire format).
|
|
30979
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
30980
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntries}
|
|
30981
|
+
*/
|
|
30982
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntries.deserializeBinary = function(bytes) {
|
|
30983
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
30984
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntries;
|
|
30985
|
+
return proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntries.deserializeBinaryFromReader(msg, reader);
|
|
30986
|
+
};
|
|
30987
|
+
|
|
30988
|
+
|
|
30989
|
+
/**
|
|
30990
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
30991
|
+
* given reader into the given message object.
|
|
30992
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntries} msg The message object to deserialize into.
|
|
30993
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
30994
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntries}
|
|
30995
|
+
*/
|
|
30996
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntries.deserializeBinaryFromReader = function(msg, reader) {
|
|
30997
|
+
while (reader.nextField()) {
|
|
30998
|
+
if (reader.isEndGroup()) {
|
|
30999
|
+
break;
|
|
31000
|
+
}
|
|
31001
|
+
var field = reader.getFieldNumber();
|
|
31002
|
+
switch (field) {
|
|
31003
|
+
case 1:
|
|
31004
|
+
var value = new proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntry;
|
|
31005
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntry.deserializeBinaryFromReader);
|
|
31006
|
+
msg.addEntries(value);
|
|
31007
|
+
break;
|
|
31008
|
+
case 2:
|
|
31009
|
+
var value = /** @type {string} */ (reader.readUint64String());
|
|
31010
|
+
msg.setSkipped(value);
|
|
31011
|
+
break;
|
|
31012
|
+
default:
|
|
31013
|
+
reader.skipField();
|
|
31014
|
+
break;
|
|
31015
|
+
}
|
|
31016
|
+
}
|
|
31017
|
+
return msg;
|
|
31018
|
+
};
|
|
31019
|
+
|
|
31020
|
+
|
|
31021
|
+
/**
|
|
31022
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
31023
|
+
* @return {!Uint8Array}
|
|
31024
|
+
*/
|
|
31025
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntries.prototype.serializeBinary = function() {
|
|
31026
|
+
var writer = new jspb.BinaryWriter();
|
|
31027
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntries.serializeBinaryToWriter(this, writer);
|
|
31028
|
+
return writer.getResultBuffer();
|
|
31029
|
+
};
|
|
31030
|
+
|
|
31031
|
+
|
|
31032
|
+
/**
|
|
31033
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
31034
|
+
* format), writing to the given BinaryWriter.
|
|
31035
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntries} message
|
|
31036
|
+
* @param {!jspb.BinaryWriter} writer
|
|
31037
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
31038
|
+
*/
|
|
31039
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntries.serializeBinaryToWriter = function(message, writer) {
|
|
31040
|
+
var f = undefined;
|
|
31041
|
+
f = message.getEntriesList();
|
|
31042
|
+
if (f.length > 0) {
|
|
31043
|
+
writer.writeRepeatedMessage(
|
|
31044
|
+
1,
|
|
31045
|
+
f,
|
|
31046
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntry.serializeBinaryToWriter
|
|
31047
|
+
);
|
|
31048
|
+
}
|
|
31049
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
31050
|
+
if (f != null) {
|
|
31051
|
+
writer.writeUint64String(
|
|
31052
|
+
2,
|
|
31053
|
+
f
|
|
31054
|
+
);
|
|
31055
|
+
}
|
|
31056
|
+
};
|
|
31057
|
+
|
|
31058
|
+
|
|
31059
|
+
/**
|
|
31060
|
+
* repeated RankedEntry entries = 1;
|
|
31061
|
+
* @return {!Array<!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntry>}
|
|
31062
|
+
*/
|
|
31063
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntries.prototype.getEntriesList = function() {
|
|
31064
|
+
return /** @type{!Array<!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntry>} */ (
|
|
31065
|
+
jspb.Message.getRepeatedWrapperField(this, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntry, 1));
|
|
31066
|
+
};
|
|
31067
|
+
|
|
31068
|
+
|
|
31069
|
+
/**
|
|
31070
|
+
* @param {!Array<!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntry>} value
|
|
31071
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntries} returns this
|
|
31072
|
+
*/
|
|
31073
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntries.prototype.setEntriesList = function(value) {
|
|
31074
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
31075
|
+
};
|
|
31076
|
+
|
|
31077
|
+
|
|
31078
|
+
/**
|
|
31079
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntry=} opt_value
|
|
31080
|
+
* @param {number=} opt_index
|
|
31081
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntry}
|
|
31082
|
+
*/
|
|
31083
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntries.prototype.addEntries = function(opt_value, opt_index) {
|
|
31084
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntry, opt_index);
|
|
31085
|
+
};
|
|
31086
|
+
|
|
31087
|
+
|
|
31088
|
+
/**
|
|
31089
|
+
* Clears the list making it empty but non-null.
|
|
31090
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntries} returns this
|
|
31091
|
+
*/
|
|
31092
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntries.prototype.clearEntriesList = function() {
|
|
31093
|
+
return this.setEntriesList([]);
|
|
31094
|
+
};
|
|
31095
|
+
|
|
31096
|
+
|
|
31097
|
+
/**
|
|
31098
|
+
* optional uint64 skipped = 2;
|
|
31099
|
+
* @return {string}
|
|
31100
|
+
*/
|
|
31101
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntries.prototype.getSkipped = function() {
|
|
31102
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "0"));
|
|
31103
|
+
};
|
|
31104
|
+
|
|
31105
|
+
|
|
31106
|
+
/**
|
|
31107
|
+
* @param {string} value
|
|
31108
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntries} returns this
|
|
31109
|
+
*/
|
|
31110
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntries.prototype.setSkipped = function(value) {
|
|
31111
|
+
return jspb.Message.setField(this, 2, value);
|
|
31112
|
+
};
|
|
31113
|
+
|
|
31114
|
+
|
|
31115
|
+
/**
|
|
31116
|
+
* Clears the field making it undefined.
|
|
31117
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntries} returns this
|
|
31118
|
+
*/
|
|
31119
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntries.prototype.clearSkipped = function() {
|
|
31120
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
31121
|
+
};
|
|
31122
|
+
|
|
31123
|
+
|
|
31124
|
+
/**
|
|
31125
|
+
* Returns whether this field is set.
|
|
31126
|
+
* @return {boolean}
|
|
31127
|
+
*/
|
|
31128
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntries.prototype.hasSkipped = function() {
|
|
31129
|
+
return jspb.Message.getField(this, 2) != null;
|
|
31130
|
+
};
|
|
31131
|
+
|
|
31132
|
+
|
|
31133
|
+
|
|
31134
|
+
/**
|
|
31135
|
+
* Oneof group definitions for this message. Each group defines the field
|
|
31136
|
+
* numbers belonging to that group. When of these fields' value is set, all
|
|
31137
|
+
* other fields in the group are cleared. During deserialization, if multiple
|
|
31138
|
+
* fields are encountered for a group, only the last value seen will be kept.
|
|
31139
|
+
* @private {!Array<!Array<number>>}
|
|
31140
|
+
* @const
|
|
31141
|
+
*/
|
|
31142
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.oneofGroups_ = [[1,2,3,4,5]];
|
|
31143
|
+
|
|
31144
|
+
/**
|
|
31145
|
+
* @enum {number}
|
|
31146
|
+
*/
|
|
31147
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.VariantCase = {
|
|
31148
|
+
VARIANT_NOT_SET: 0,
|
|
31149
|
+
DOCUMENTS: 1,
|
|
31150
|
+
COUNTS: 2,
|
|
31151
|
+
SUMS: 3,
|
|
31152
|
+
AVERAGES: 4,
|
|
31153
|
+
RANKED: 5
|
|
31154
|
+
};
|
|
31155
|
+
|
|
31156
|
+
/**
|
|
31157
|
+
* @return {proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.VariantCase}
|
|
31158
|
+
*/
|
|
31159
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.prototype.getVariantCase = function() {
|
|
31160
|
+
return /** @type {proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.VariantCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.oneofGroups_[0]));
|
|
31161
|
+
};
|
|
31162
|
+
|
|
31163
|
+
|
|
31164
|
+
|
|
31165
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
31166
|
+
/**
|
|
31167
|
+
* Creates an object representation of this proto.
|
|
31168
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
31169
|
+
* Optional fields that are not set will be set to undefined.
|
|
31170
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
31171
|
+
* For the list of reserved names please see:
|
|
31172
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
31173
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
31174
|
+
* JSPB instance for transitional soy proto support:
|
|
31175
|
+
* http://goto/soy-param-migration
|
|
31176
|
+
* @return {!Object}
|
|
31177
|
+
*/
|
|
31178
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.prototype.toObject = function(opt_includeInstance) {
|
|
31179
|
+
return proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.toObject(opt_includeInstance, this);
|
|
31180
|
+
};
|
|
31181
|
+
|
|
31182
|
+
|
|
31183
|
+
/**
|
|
31184
|
+
* Static version of the {@see toObject} method.
|
|
31185
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
31186
|
+
* the JSPB instance for transitional soy proto support:
|
|
31187
|
+
* http://goto/soy-param-migration
|
|
31188
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData} msg The msg instance to transform.
|
|
31189
|
+
* @return {!Object}
|
|
31190
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
31191
|
+
*/
|
|
31192
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.toObject = function(includeInstance, msg) {
|
|
31193
|
+
var f, obj = {
|
|
31194
|
+
documents: (f = msg.getDocuments()) && proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents.toObject(includeInstance, f),
|
|
31195
|
+
counts: (f = msg.getCounts()) && proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults.toObject(includeInstance, f),
|
|
31196
|
+
sums: (f = msg.getSums()) && proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.SumResults.toObject(includeInstance, f),
|
|
31197
|
+
averages: (f = msg.getAverages()) && proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.AverageResults.toObject(includeInstance, f),
|
|
31198
|
+
ranked: (f = msg.getRanked()) && proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntries.toObject(includeInstance, f)
|
|
31199
|
+
};
|
|
31200
|
+
|
|
31201
|
+
if (includeInstance) {
|
|
31202
|
+
obj.$jspbMessageInstance = msg;
|
|
31203
|
+
}
|
|
31204
|
+
return obj;
|
|
31205
|
+
};
|
|
31206
|
+
}
|
|
31207
|
+
|
|
31208
|
+
|
|
31209
|
+
/**
|
|
31210
|
+
* Deserializes binary data (in protobuf wire format).
|
|
31211
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
31212
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData}
|
|
31213
|
+
*/
|
|
31214
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.deserializeBinary = function(bytes) {
|
|
31215
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
31216
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData;
|
|
31217
|
+
return proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.deserializeBinaryFromReader(msg, reader);
|
|
31218
|
+
};
|
|
31219
|
+
|
|
31220
|
+
|
|
31221
|
+
/**
|
|
31222
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
31223
|
+
* given reader into the given message object.
|
|
31224
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData} msg The message object to deserialize into.
|
|
30908
31225
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
30909
31226
|
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData}
|
|
30910
31227
|
*/
|
|
@@ -30935,6 +31252,11 @@ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Resu
|
|
|
30935
31252
|
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.AverageResults.deserializeBinaryFromReader);
|
|
30936
31253
|
msg.setAverages(value);
|
|
30937
31254
|
break;
|
|
31255
|
+
case 5:
|
|
31256
|
+
var value = new proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntries;
|
|
31257
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntries.deserializeBinaryFromReader);
|
|
31258
|
+
msg.setRanked(value);
|
|
31259
|
+
break;
|
|
30938
31260
|
default:
|
|
30939
31261
|
reader.skipField();
|
|
30940
31262
|
break;
|
|
@@ -30996,6 +31318,14 @@ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Resu
|
|
|
30996
31318
|
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.AverageResults.serializeBinaryToWriter
|
|
30997
31319
|
);
|
|
30998
31320
|
}
|
|
31321
|
+
f = message.getRanked();
|
|
31322
|
+
if (f != null) {
|
|
31323
|
+
writer.writeMessage(
|
|
31324
|
+
5,
|
|
31325
|
+
f,
|
|
31326
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntries.serializeBinaryToWriter
|
|
31327
|
+
);
|
|
31328
|
+
}
|
|
30999
31329
|
};
|
|
31000
31330
|
|
|
31001
31331
|
|
|
@@ -31147,6 +31477,43 @@ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Resu
|
|
|
31147
31477
|
};
|
|
31148
31478
|
|
|
31149
31479
|
|
|
31480
|
+
/**
|
|
31481
|
+
* optional RankedEntries ranked = 5;
|
|
31482
|
+
* @return {?proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntries}
|
|
31483
|
+
*/
|
|
31484
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.prototype.getRanked = function() {
|
|
31485
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntries} */ (
|
|
31486
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntries, 5));
|
|
31487
|
+
};
|
|
31488
|
+
|
|
31489
|
+
|
|
31490
|
+
/**
|
|
31491
|
+
* @param {?proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntries|undefined} value
|
|
31492
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData} returns this
|
|
31493
|
+
*/
|
|
31494
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.prototype.setRanked = function(value) {
|
|
31495
|
+
return jspb.Message.setOneofWrapperField(this, 5, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.oneofGroups_[0], value);
|
|
31496
|
+
};
|
|
31497
|
+
|
|
31498
|
+
|
|
31499
|
+
/**
|
|
31500
|
+
* Clears the message field making it undefined.
|
|
31501
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData} returns this
|
|
31502
|
+
*/
|
|
31503
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.prototype.clearRanked = function() {
|
|
31504
|
+
return this.setRanked(undefined);
|
|
31505
|
+
};
|
|
31506
|
+
|
|
31507
|
+
|
|
31508
|
+
/**
|
|
31509
|
+
* Returns whether this field is set.
|
|
31510
|
+
* @return {boolean}
|
|
31511
|
+
*/
|
|
31512
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.prototype.hasRanked = function() {
|
|
31513
|
+
return jspb.Message.getField(this, 5) != null;
|
|
31514
|
+
};
|
|
31515
|
+
|
|
31516
|
+
|
|
31150
31517
|
/**
|
|
31151
31518
|
* optional ResultData data = 1;
|
|
31152
31519
|
* @return {?proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData}
|