@dashevo/dapi-grpc 4.2.0-beta.4 → 4.2.0-beta.7
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/README.md +32 -0
- package/build.rs +4 -0
- package/clients/drive/v0/nodejs/drive_pbjs.js +528 -0
- package/clients/platform/v0/nodejs/platform_pbjs.js +528 -0
- package/clients/platform/v0/nodejs/platform_protoc.js +490 -2
- package/clients/platform/v0/web/platform_pb.d.ts +63 -0
- package/clients/platform/v0/web/platform_pb.js +490 -2
- package/codegen.json +31 -0
- package/package.json +4 -3
- package/protos/platform/v0/platform.proto +41 -4
- package/scripts/build.sh +61 -247
- package/scripts/check-packed-clients.py +32 -0
- package/scripts/patch-protobuf-js.sh +11 -6
- package/scripts/setup-codegen.py +74 -0
|
@@ -266,6 +266,8 @@ goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingAgg
|
|
|
266
266
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingClause', null, { proto });
|
|
267
267
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingClause.Operator', null, { proto });
|
|
268
268
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingClause.RightCase', null, { proto });
|
|
269
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsRequest.IntegerRangeSelection', null, { proto });
|
|
270
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsRequest.IntegerRangeSelection.Grid', null, { proto });
|
|
269
271
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsRequest.OrderClause', null, { proto });
|
|
270
272
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsRequest.OrderClause.TargetCase', null, { proto });
|
|
271
273
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection', null, { proto });
|
|
@@ -3798,6 +3800,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
3798
3800
|
*/
|
|
3799
3801
|
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection.Grid.displayName = 'proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection.Grid';
|
|
3800
3802
|
}
|
|
3803
|
+
/**
|
|
3804
|
+
* Generated by JsPbCodeGenerator.
|
|
3805
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
3806
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
3807
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
3808
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
3809
|
+
* valid.
|
|
3810
|
+
* @extends {jspb.Message}
|
|
3811
|
+
* @constructor
|
|
3812
|
+
*/
|
|
3813
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.IntegerRangeSelection = function(opt_data) {
|
|
3814
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
3815
|
+
};
|
|
3816
|
+
goog.inherits(proto.org.dash.platform.dapi.v0.GetDocumentsRequest.IntegerRangeSelection, jspb.Message);
|
|
3817
|
+
if (goog.DEBUG && !COMPILED) {
|
|
3818
|
+
/**
|
|
3819
|
+
* @public
|
|
3820
|
+
* @override
|
|
3821
|
+
*/
|
|
3822
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.IntegerRangeSelection.displayName = 'proto.org.dash.platform.dapi.v0.GetDocumentsRequest.IntegerRangeSelection';
|
|
3823
|
+
}
|
|
3824
|
+
/**
|
|
3825
|
+
* Generated by JsPbCodeGenerator.
|
|
3826
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
3827
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
3828
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
3829
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
3830
|
+
* valid.
|
|
3831
|
+
* @extends {jspb.Message}
|
|
3832
|
+
* @constructor
|
|
3833
|
+
*/
|
|
3834
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.IntegerRangeSelection.Grid = function(opt_data) {
|
|
3835
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
3836
|
+
};
|
|
3837
|
+
goog.inherits(proto.org.dash.platform.dapi.v0.GetDocumentsRequest.IntegerRangeSelection.Grid, jspb.Message);
|
|
3838
|
+
if (goog.DEBUG && !COMPILED) {
|
|
3839
|
+
/**
|
|
3840
|
+
* @public
|
|
3841
|
+
* @override
|
|
3842
|
+
*/
|
|
3843
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.IntegerRangeSelection.Grid.displayName = 'proto.org.dash.platform.dapi.v0.GetDocumentsRequest.IntegerRangeSelection.Grid';
|
|
3844
|
+
}
|
|
3801
3845
|
/**
|
|
3802
3846
|
* Generated by JsPbCodeGenerator.
|
|
3803
3847
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -41370,7 +41414,8 @@ proto.org.dash.platform.dapi.v0.GetDocumentsRequest.WhereOperator = {
|
|
|
41370
41414
|
BETWEEN_EXCLUDE_RIGHT: 8,
|
|
41371
41415
|
IN: 9,
|
|
41372
41416
|
STARTS_WITH: 10,
|
|
41373
|
-
IN_TIME_RANGE: 11
|
|
41417
|
+
IN_TIME_RANGE: 11,
|
|
41418
|
+
IN_INTEGER_RANGE: 12
|
|
41374
41419
|
};
|
|
41375
41420
|
|
|
41376
41421
|
|
|
@@ -42507,6 +42552,398 @@ proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection.prototype
|
|
|
42507
42552
|
|
|
42508
42553
|
|
|
42509
42554
|
|
|
42555
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
42556
|
+
/**
|
|
42557
|
+
* Creates an object representation of this proto.
|
|
42558
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
42559
|
+
* Optional fields that are not set will be set to undefined.
|
|
42560
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
42561
|
+
* For the list of reserved names please see:
|
|
42562
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
42563
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
42564
|
+
* JSPB instance for transitional soy proto support:
|
|
42565
|
+
* http://goto/soy-param-migration
|
|
42566
|
+
* @return {!Object}
|
|
42567
|
+
*/
|
|
42568
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.IntegerRangeSelection.prototype.toObject = function(opt_includeInstance) {
|
|
42569
|
+
return proto.org.dash.platform.dapi.v0.GetDocumentsRequest.IntegerRangeSelection.toObject(opt_includeInstance, this);
|
|
42570
|
+
};
|
|
42571
|
+
|
|
42572
|
+
|
|
42573
|
+
/**
|
|
42574
|
+
* Static version of the {@see toObject} method.
|
|
42575
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
42576
|
+
* the JSPB instance for transitional soy proto support:
|
|
42577
|
+
* http://goto/soy-param-migration
|
|
42578
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.IntegerRangeSelection} msg The msg instance to transform.
|
|
42579
|
+
* @return {!Object}
|
|
42580
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
42581
|
+
*/
|
|
42582
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.IntegerRangeSelection.toObject = function(includeInstance, msg) {
|
|
42583
|
+
var f, obj = {
|
|
42584
|
+
start: (f = msg.getStart()) && proto.org.dash.platform.dapi.v0.GetDocumentsRequest.DocumentFieldValue.toObject(includeInstance, f),
|
|
42585
|
+
grid: (f = msg.getGrid()) && proto.org.dash.platform.dapi.v0.GetDocumentsRequest.IntegerRangeSelection.Grid.toObject(includeInstance, f)
|
|
42586
|
+
};
|
|
42587
|
+
|
|
42588
|
+
if (includeInstance) {
|
|
42589
|
+
obj.$jspbMessageInstance = msg;
|
|
42590
|
+
}
|
|
42591
|
+
return obj;
|
|
42592
|
+
};
|
|
42593
|
+
}
|
|
42594
|
+
|
|
42595
|
+
|
|
42596
|
+
/**
|
|
42597
|
+
* Deserializes binary data (in protobuf wire format).
|
|
42598
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
42599
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.IntegerRangeSelection}
|
|
42600
|
+
*/
|
|
42601
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.IntegerRangeSelection.deserializeBinary = function(bytes) {
|
|
42602
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
42603
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetDocumentsRequest.IntegerRangeSelection;
|
|
42604
|
+
return proto.org.dash.platform.dapi.v0.GetDocumentsRequest.IntegerRangeSelection.deserializeBinaryFromReader(msg, reader);
|
|
42605
|
+
};
|
|
42606
|
+
|
|
42607
|
+
|
|
42608
|
+
/**
|
|
42609
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
42610
|
+
* given reader into the given message object.
|
|
42611
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.IntegerRangeSelection} msg The message object to deserialize into.
|
|
42612
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
42613
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.IntegerRangeSelection}
|
|
42614
|
+
*/
|
|
42615
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.IntegerRangeSelection.deserializeBinaryFromReader = function(msg, reader) {
|
|
42616
|
+
while (reader.nextField()) {
|
|
42617
|
+
if (reader.isEndGroup()) {
|
|
42618
|
+
break;
|
|
42619
|
+
}
|
|
42620
|
+
var field = reader.getFieldNumber();
|
|
42621
|
+
switch (field) {
|
|
42622
|
+
case 1:
|
|
42623
|
+
var value = new proto.org.dash.platform.dapi.v0.GetDocumentsRequest.DocumentFieldValue;
|
|
42624
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetDocumentsRequest.DocumentFieldValue.deserializeBinaryFromReader);
|
|
42625
|
+
msg.setStart(value);
|
|
42626
|
+
break;
|
|
42627
|
+
case 2:
|
|
42628
|
+
var value = new proto.org.dash.platform.dapi.v0.GetDocumentsRequest.IntegerRangeSelection.Grid;
|
|
42629
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetDocumentsRequest.IntegerRangeSelection.Grid.deserializeBinaryFromReader);
|
|
42630
|
+
msg.setGrid(value);
|
|
42631
|
+
break;
|
|
42632
|
+
default:
|
|
42633
|
+
reader.skipField();
|
|
42634
|
+
break;
|
|
42635
|
+
}
|
|
42636
|
+
}
|
|
42637
|
+
return msg;
|
|
42638
|
+
};
|
|
42639
|
+
|
|
42640
|
+
|
|
42641
|
+
/**
|
|
42642
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
42643
|
+
* @return {!Uint8Array}
|
|
42644
|
+
*/
|
|
42645
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.IntegerRangeSelection.prototype.serializeBinary = function() {
|
|
42646
|
+
var writer = new jspb.BinaryWriter();
|
|
42647
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.IntegerRangeSelection.serializeBinaryToWriter(this, writer);
|
|
42648
|
+
return writer.getResultBuffer();
|
|
42649
|
+
};
|
|
42650
|
+
|
|
42651
|
+
|
|
42652
|
+
/**
|
|
42653
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
42654
|
+
* format), writing to the given BinaryWriter.
|
|
42655
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.IntegerRangeSelection} message
|
|
42656
|
+
* @param {!jspb.BinaryWriter} writer
|
|
42657
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
42658
|
+
*/
|
|
42659
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.IntegerRangeSelection.serializeBinaryToWriter = function(message, writer) {
|
|
42660
|
+
var f = undefined;
|
|
42661
|
+
f = message.getStart();
|
|
42662
|
+
if (f != null) {
|
|
42663
|
+
writer.writeMessage(
|
|
42664
|
+
1,
|
|
42665
|
+
f,
|
|
42666
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.DocumentFieldValue.serializeBinaryToWriter
|
|
42667
|
+
);
|
|
42668
|
+
}
|
|
42669
|
+
f = message.getGrid();
|
|
42670
|
+
if (f != null) {
|
|
42671
|
+
writer.writeMessage(
|
|
42672
|
+
2,
|
|
42673
|
+
f,
|
|
42674
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.IntegerRangeSelection.Grid.serializeBinaryToWriter
|
|
42675
|
+
);
|
|
42676
|
+
}
|
|
42677
|
+
};
|
|
42678
|
+
|
|
42679
|
+
|
|
42680
|
+
|
|
42681
|
+
|
|
42682
|
+
|
|
42683
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
42684
|
+
/**
|
|
42685
|
+
* Creates an object representation of this proto.
|
|
42686
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
42687
|
+
* Optional fields that are not set will be set to undefined.
|
|
42688
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
42689
|
+
* For the list of reserved names please see:
|
|
42690
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
42691
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
42692
|
+
* JSPB instance for transitional soy proto support:
|
|
42693
|
+
* http://goto/soy-param-migration
|
|
42694
|
+
* @return {!Object}
|
|
42695
|
+
*/
|
|
42696
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.IntegerRangeSelection.Grid.prototype.toObject = function(opt_includeInstance) {
|
|
42697
|
+
return proto.org.dash.platform.dapi.v0.GetDocumentsRequest.IntegerRangeSelection.Grid.toObject(opt_includeInstance, this);
|
|
42698
|
+
};
|
|
42699
|
+
|
|
42700
|
+
|
|
42701
|
+
/**
|
|
42702
|
+
* Static version of the {@see toObject} method.
|
|
42703
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
42704
|
+
* the JSPB instance for transitional soy proto support:
|
|
42705
|
+
* http://goto/soy-param-migration
|
|
42706
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.IntegerRangeSelection.Grid} msg The msg instance to transform.
|
|
42707
|
+
* @return {!Object}
|
|
42708
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
42709
|
+
*/
|
|
42710
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.IntegerRangeSelection.Grid.toObject = function(includeInstance, msg) {
|
|
42711
|
+
var f, obj = {
|
|
42712
|
+
range: jspb.Message.getFieldWithDefault(msg, 1, "0"),
|
|
42713
|
+
step: jspb.Message.getFieldWithDefault(msg, 2, "0"),
|
|
42714
|
+
phase: jspb.Message.getFieldWithDefault(msg, 3, "0")
|
|
42715
|
+
};
|
|
42716
|
+
|
|
42717
|
+
if (includeInstance) {
|
|
42718
|
+
obj.$jspbMessageInstance = msg;
|
|
42719
|
+
}
|
|
42720
|
+
return obj;
|
|
42721
|
+
};
|
|
42722
|
+
}
|
|
42723
|
+
|
|
42724
|
+
|
|
42725
|
+
/**
|
|
42726
|
+
* Deserializes binary data (in protobuf wire format).
|
|
42727
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
42728
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.IntegerRangeSelection.Grid}
|
|
42729
|
+
*/
|
|
42730
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.IntegerRangeSelection.Grid.deserializeBinary = function(bytes) {
|
|
42731
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
42732
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetDocumentsRequest.IntegerRangeSelection.Grid;
|
|
42733
|
+
return proto.org.dash.platform.dapi.v0.GetDocumentsRequest.IntegerRangeSelection.Grid.deserializeBinaryFromReader(msg, reader);
|
|
42734
|
+
};
|
|
42735
|
+
|
|
42736
|
+
|
|
42737
|
+
/**
|
|
42738
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
42739
|
+
* given reader into the given message object.
|
|
42740
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.IntegerRangeSelection.Grid} msg The message object to deserialize into.
|
|
42741
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
42742
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.IntegerRangeSelection.Grid}
|
|
42743
|
+
*/
|
|
42744
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.IntegerRangeSelection.Grid.deserializeBinaryFromReader = function(msg, reader) {
|
|
42745
|
+
while (reader.nextField()) {
|
|
42746
|
+
if (reader.isEndGroup()) {
|
|
42747
|
+
break;
|
|
42748
|
+
}
|
|
42749
|
+
var field = reader.getFieldNumber();
|
|
42750
|
+
switch (field) {
|
|
42751
|
+
case 1:
|
|
42752
|
+
var value = /** @type {string} */ (reader.readUint64String());
|
|
42753
|
+
msg.setRange(value);
|
|
42754
|
+
break;
|
|
42755
|
+
case 2:
|
|
42756
|
+
var value = /** @type {string} */ (reader.readUint64String());
|
|
42757
|
+
msg.setStep(value);
|
|
42758
|
+
break;
|
|
42759
|
+
case 3:
|
|
42760
|
+
var value = /** @type {string} */ (reader.readUint64String());
|
|
42761
|
+
msg.setPhase(value);
|
|
42762
|
+
break;
|
|
42763
|
+
default:
|
|
42764
|
+
reader.skipField();
|
|
42765
|
+
break;
|
|
42766
|
+
}
|
|
42767
|
+
}
|
|
42768
|
+
return msg;
|
|
42769
|
+
};
|
|
42770
|
+
|
|
42771
|
+
|
|
42772
|
+
/**
|
|
42773
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
42774
|
+
* @return {!Uint8Array}
|
|
42775
|
+
*/
|
|
42776
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.IntegerRangeSelection.Grid.prototype.serializeBinary = function() {
|
|
42777
|
+
var writer = new jspb.BinaryWriter();
|
|
42778
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.IntegerRangeSelection.Grid.serializeBinaryToWriter(this, writer);
|
|
42779
|
+
return writer.getResultBuffer();
|
|
42780
|
+
};
|
|
42781
|
+
|
|
42782
|
+
|
|
42783
|
+
/**
|
|
42784
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
42785
|
+
* format), writing to the given BinaryWriter.
|
|
42786
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.IntegerRangeSelection.Grid} message
|
|
42787
|
+
* @param {!jspb.BinaryWriter} writer
|
|
42788
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
42789
|
+
*/
|
|
42790
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.IntegerRangeSelection.Grid.serializeBinaryToWriter = function(message, writer) {
|
|
42791
|
+
var f = undefined;
|
|
42792
|
+
f = message.getRange();
|
|
42793
|
+
if (parseInt(f, 10) !== 0) {
|
|
42794
|
+
writer.writeUint64String(
|
|
42795
|
+
1,
|
|
42796
|
+
f
|
|
42797
|
+
);
|
|
42798
|
+
}
|
|
42799
|
+
f = message.getStep();
|
|
42800
|
+
if (parseInt(f, 10) !== 0) {
|
|
42801
|
+
writer.writeUint64String(
|
|
42802
|
+
2,
|
|
42803
|
+
f
|
|
42804
|
+
);
|
|
42805
|
+
}
|
|
42806
|
+
f = message.getPhase();
|
|
42807
|
+
if (parseInt(f, 10) !== 0) {
|
|
42808
|
+
writer.writeUint64String(
|
|
42809
|
+
3,
|
|
42810
|
+
f
|
|
42811
|
+
);
|
|
42812
|
+
}
|
|
42813
|
+
};
|
|
42814
|
+
|
|
42815
|
+
|
|
42816
|
+
/**
|
|
42817
|
+
* optional uint64 range = 1;
|
|
42818
|
+
* @return {string}
|
|
42819
|
+
*/
|
|
42820
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.IntegerRangeSelection.Grid.prototype.getRange = function() {
|
|
42821
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "0"));
|
|
42822
|
+
};
|
|
42823
|
+
|
|
42824
|
+
|
|
42825
|
+
/**
|
|
42826
|
+
* @param {string} value
|
|
42827
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.IntegerRangeSelection.Grid} returns this
|
|
42828
|
+
*/
|
|
42829
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.IntegerRangeSelection.Grid.prototype.setRange = function(value) {
|
|
42830
|
+
return jspb.Message.setProto3StringIntField(this, 1, value);
|
|
42831
|
+
};
|
|
42832
|
+
|
|
42833
|
+
|
|
42834
|
+
/**
|
|
42835
|
+
* optional uint64 step = 2;
|
|
42836
|
+
* @return {string}
|
|
42837
|
+
*/
|
|
42838
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.IntegerRangeSelection.Grid.prototype.getStep = function() {
|
|
42839
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "0"));
|
|
42840
|
+
};
|
|
42841
|
+
|
|
42842
|
+
|
|
42843
|
+
/**
|
|
42844
|
+
* @param {string} value
|
|
42845
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.IntegerRangeSelection.Grid} returns this
|
|
42846
|
+
*/
|
|
42847
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.IntegerRangeSelection.Grid.prototype.setStep = function(value) {
|
|
42848
|
+
return jspb.Message.setProto3StringIntField(this, 2, value);
|
|
42849
|
+
};
|
|
42850
|
+
|
|
42851
|
+
|
|
42852
|
+
/**
|
|
42853
|
+
* optional uint64 phase = 3;
|
|
42854
|
+
* @return {string}
|
|
42855
|
+
*/
|
|
42856
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.IntegerRangeSelection.Grid.prototype.getPhase = function() {
|
|
42857
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "0"));
|
|
42858
|
+
};
|
|
42859
|
+
|
|
42860
|
+
|
|
42861
|
+
/**
|
|
42862
|
+
* @param {string} value
|
|
42863
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.IntegerRangeSelection.Grid} returns this
|
|
42864
|
+
*/
|
|
42865
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.IntegerRangeSelection.Grid.prototype.setPhase = function(value) {
|
|
42866
|
+
return jspb.Message.setProto3StringIntField(this, 3, value);
|
|
42867
|
+
};
|
|
42868
|
+
|
|
42869
|
+
|
|
42870
|
+
/**
|
|
42871
|
+
* optional DocumentFieldValue start = 1;
|
|
42872
|
+
* @return {?proto.org.dash.platform.dapi.v0.GetDocumentsRequest.DocumentFieldValue}
|
|
42873
|
+
*/
|
|
42874
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.IntegerRangeSelection.prototype.getStart = function() {
|
|
42875
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.GetDocumentsRequest.DocumentFieldValue} */ (
|
|
42876
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetDocumentsRequest.DocumentFieldValue, 1));
|
|
42877
|
+
};
|
|
42878
|
+
|
|
42879
|
+
|
|
42880
|
+
/**
|
|
42881
|
+
* @param {?proto.org.dash.platform.dapi.v0.GetDocumentsRequest.DocumentFieldValue|undefined} value
|
|
42882
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.IntegerRangeSelection} returns this
|
|
42883
|
+
*/
|
|
42884
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.IntegerRangeSelection.prototype.setStart = function(value) {
|
|
42885
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
42886
|
+
};
|
|
42887
|
+
|
|
42888
|
+
|
|
42889
|
+
/**
|
|
42890
|
+
* Clears the message field making it undefined.
|
|
42891
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.IntegerRangeSelection} returns this
|
|
42892
|
+
*/
|
|
42893
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.IntegerRangeSelection.prototype.clearStart = function() {
|
|
42894
|
+
return this.setStart(undefined);
|
|
42895
|
+
};
|
|
42896
|
+
|
|
42897
|
+
|
|
42898
|
+
/**
|
|
42899
|
+
* Returns whether this field is set.
|
|
42900
|
+
* @return {boolean}
|
|
42901
|
+
*/
|
|
42902
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.IntegerRangeSelection.prototype.hasStart = function() {
|
|
42903
|
+
return jspb.Message.getField(this, 1) != null;
|
|
42904
|
+
};
|
|
42905
|
+
|
|
42906
|
+
|
|
42907
|
+
/**
|
|
42908
|
+
* optional Grid grid = 2;
|
|
42909
|
+
* @return {?proto.org.dash.platform.dapi.v0.GetDocumentsRequest.IntegerRangeSelection.Grid}
|
|
42910
|
+
*/
|
|
42911
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.IntegerRangeSelection.prototype.getGrid = function() {
|
|
42912
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.GetDocumentsRequest.IntegerRangeSelection.Grid} */ (
|
|
42913
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetDocumentsRequest.IntegerRangeSelection.Grid, 2));
|
|
42914
|
+
};
|
|
42915
|
+
|
|
42916
|
+
|
|
42917
|
+
/**
|
|
42918
|
+
* @param {?proto.org.dash.platform.dapi.v0.GetDocumentsRequest.IntegerRangeSelection.Grid|undefined} value
|
|
42919
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.IntegerRangeSelection} returns this
|
|
42920
|
+
*/
|
|
42921
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.IntegerRangeSelection.prototype.setGrid = function(value) {
|
|
42922
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
42923
|
+
};
|
|
42924
|
+
|
|
42925
|
+
|
|
42926
|
+
/**
|
|
42927
|
+
* Clears the message field making it undefined.
|
|
42928
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.IntegerRangeSelection} returns this
|
|
42929
|
+
*/
|
|
42930
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.IntegerRangeSelection.prototype.clearGrid = function() {
|
|
42931
|
+
return this.setGrid(undefined);
|
|
42932
|
+
};
|
|
42933
|
+
|
|
42934
|
+
|
|
42935
|
+
/**
|
|
42936
|
+
* Returns whether this field is set.
|
|
42937
|
+
* @return {boolean}
|
|
42938
|
+
*/
|
|
42939
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.IntegerRangeSelection.prototype.hasGrid = function() {
|
|
42940
|
+
return jspb.Message.getField(this, 2) != null;
|
|
42941
|
+
};
|
|
42942
|
+
|
|
42943
|
+
|
|
42944
|
+
|
|
42945
|
+
|
|
42946
|
+
|
|
42510
42947
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
42511
42948
|
/**
|
|
42512
42949
|
* Creates an object representation of this proto.
|
|
@@ -42539,7 +42976,8 @@ proto.org.dash.platform.dapi.v0.GetDocumentsRequest.WhereClause.toObject = funct
|
|
|
42539
42976
|
field: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
42540
42977
|
operator: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
42541
42978
|
value: (f = msg.getValue()) && proto.org.dash.platform.dapi.v0.GetDocumentsRequest.DocumentFieldValue.toObject(includeInstance, f),
|
|
42542
|
-
timeRange: (f = msg.getTimeRange()) && proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection.toObject(includeInstance, f)
|
|
42979
|
+
timeRange: (f = msg.getTimeRange()) && proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection.toObject(includeInstance, f),
|
|
42980
|
+
integerRange: (f = msg.getIntegerRange()) && proto.org.dash.platform.dapi.v0.GetDocumentsRequest.IntegerRangeSelection.toObject(includeInstance, f)
|
|
42543
42981
|
};
|
|
42544
42982
|
|
|
42545
42983
|
if (includeInstance) {
|
|
@@ -42594,6 +43032,11 @@ proto.org.dash.platform.dapi.v0.GetDocumentsRequest.WhereClause.deserializeBinar
|
|
|
42594
43032
|
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection.deserializeBinaryFromReader);
|
|
42595
43033
|
msg.setTimeRange(value);
|
|
42596
43034
|
break;
|
|
43035
|
+
case 5:
|
|
43036
|
+
var value = new proto.org.dash.platform.dapi.v0.GetDocumentsRequest.IntegerRangeSelection;
|
|
43037
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetDocumentsRequest.IntegerRangeSelection.deserializeBinaryFromReader);
|
|
43038
|
+
msg.setIntegerRange(value);
|
|
43039
|
+
break;
|
|
42597
43040
|
default:
|
|
42598
43041
|
reader.skipField();
|
|
42599
43042
|
break;
|
|
@@ -42653,6 +43096,14 @@ proto.org.dash.platform.dapi.v0.GetDocumentsRequest.WhereClause.serializeBinaryT
|
|
|
42653
43096
|
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection.serializeBinaryToWriter
|
|
42654
43097
|
);
|
|
42655
43098
|
}
|
|
43099
|
+
f = message.getIntegerRange();
|
|
43100
|
+
if (f != null) {
|
|
43101
|
+
writer.writeMessage(
|
|
43102
|
+
5,
|
|
43103
|
+
f,
|
|
43104
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.IntegerRangeSelection.serializeBinaryToWriter
|
|
43105
|
+
);
|
|
43106
|
+
}
|
|
42656
43107
|
};
|
|
42657
43108
|
|
|
42658
43109
|
|
|
@@ -42766,6 +43217,43 @@ proto.org.dash.platform.dapi.v0.GetDocumentsRequest.WhereClause.prototype.hasTim
|
|
|
42766
43217
|
};
|
|
42767
43218
|
|
|
42768
43219
|
|
|
43220
|
+
/**
|
|
43221
|
+
* optional IntegerRangeSelection integer_range = 5;
|
|
43222
|
+
* @return {?proto.org.dash.platform.dapi.v0.GetDocumentsRequest.IntegerRangeSelection}
|
|
43223
|
+
*/
|
|
43224
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.WhereClause.prototype.getIntegerRange = function() {
|
|
43225
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.GetDocumentsRequest.IntegerRangeSelection} */ (
|
|
43226
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetDocumentsRequest.IntegerRangeSelection, 5));
|
|
43227
|
+
};
|
|
43228
|
+
|
|
43229
|
+
|
|
43230
|
+
/**
|
|
43231
|
+
* @param {?proto.org.dash.platform.dapi.v0.GetDocumentsRequest.IntegerRangeSelection|undefined} value
|
|
43232
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.WhereClause} returns this
|
|
43233
|
+
*/
|
|
43234
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.WhereClause.prototype.setIntegerRange = function(value) {
|
|
43235
|
+
return jspb.Message.setWrapperField(this, 5, value);
|
|
43236
|
+
};
|
|
43237
|
+
|
|
43238
|
+
|
|
43239
|
+
/**
|
|
43240
|
+
* Clears the message field making it undefined.
|
|
43241
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.WhereClause} returns this
|
|
43242
|
+
*/
|
|
43243
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.WhereClause.prototype.clearIntegerRange = function() {
|
|
43244
|
+
return this.setIntegerRange(undefined);
|
|
43245
|
+
};
|
|
43246
|
+
|
|
43247
|
+
|
|
43248
|
+
/**
|
|
43249
|
+
* Returns whether this field is set.
|
|
43250
|
+
* @return {boolean}
|
|
43251
|
+
*/
|
|
43252
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.WhereClause.prototype.hasIntegerRange = function() {
|
|
43253
|
+
return jspb.Message.getField(this, 5) != null;
|
|
43254
|
+
};
|
|
43255
|
+
|
|
43256
|
+
|
|
42769
43257
|
|
|
42770
43258
|
|
|
42771
43259
|
|
|
@@ -4616,6 +4616,62 @@ export namespace GetDocumentsRequest {
|
|
|
4616
4616
|
export const Selector: SelectorMap;
|
|
4617
4617
|
}
|
|
4618
4618
|
|
|
4619
|
+
export class IntegerRangeSelection extends jspb.Message {
|
|
4620
|
+
hasStart(): boolean;
|
|
4621
|
+
clearStart(): void;
|
|
4622
|
+
getStart(): GetDocumentsRequest.DocumentFieldValue | undefined;
|
|
4623
|
+
setStart(value?: GetDocumentsRequest.DocumentFieldValue): void;
|
|
4624
|
+
|
|
4625
|
+
hasGrid(): boolean;
|
|
4626
|
+
clearGrid(): void;
|
|
4627
|
+
getGrid(): GetDocumentsRequest.IntegerRangeSelection.Grid | undefined;
|
|
4628
|
+
setGrid(value?: GetDocumentsRequest.IntegerRangeSelection.Grid): void;
|
|
4629
|
+
|
|
4630
|
+
serializeBinary(): Uint8Array;
|
|
4631
|
+
toObject(includeInstance?: boolean): IntegerRangeSelection.AsObject;
|
|
4632
|
+
static toObject(includeInstance: boolean, msg: IntegerRangeSelection): IntegerRangeSelection.AsObject;
|
|
4633
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
4634
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
4635
|
+
static serializeBinaryToWriter(message: IntegerRangeSelection, writer: jspb.BinaryWriter): void;
|
|
4636
|
+
static deserializeBinary(bytes: Uint8Array): IntegerRangeSelection;
|
|
4637
|
+
static deserializeBinaryFromReader(message: IntegerRangeSelection, reader: jspb.BinaryReader): IntegerRangeSelection;
|
|
4638
|
+
}
|
|
4639
|
+
|
|
4640
|
+
export namespace IntegerRangeSelection {
|
|
4641
|
+
export type AsObject = {
|
|
4642
|
+
start?: GetDocumentsRequest.DocumentFieldValue.AsObject,
|
|
4643
|
+
grid?: GetDocumentsRequest.IntegerRangeSelection.Grid.AsObject,
|
|
4644
|
+
}
|
|
4645
|
+
|
|
4646
|
+
export class Grid extends jspb.Message {
|
|
4647
|
+
getRange(): string;
|
|
4648
|
+
setRange(value: string): void;
|
|
4649
|
+
|
|
4650
|
+
getStep(): string;
|
|
4651
|
+
setStep(value: string): void;
|
|
4652
|
+
|
|
4653
|
+
getPhase(): string;
|
|
4654
|
+
setPhase(value: string): void;
|
|
4655
|
+
|
|
4656
|
+
serializeBinary(): Uint8Array;
|
|
4657
|
+
toObject(includeInstance?: boolean): Grid.AsObject;
|
|
4658
|
+
static toObject(includeInstance: boolean, msg: Grid): Grid.AsObject;
|
|
4659
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
4660
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
4661
|
+
static serializeBinaryToWriter(message: Grid, writer: jspb.BinaryWriter): void;
|
|
4662
|
+
static deserializeBinary(bytes: Uint8Array): Grid;
|
|
4663
|
+
static deserializeBinaryFromReader(message: Grid, reader: jspb.BinaryReader): Grid;
|
|
4664
|
+
}
|
|
4665
|
+
|
|
4666
|
+
export namespace Grid {
|
|
4667
|
+
export type AsObject = {
|
|
4668
|
+
range: string,
|
|
4669
|
+
step: string,
|
|
4670
|
+
phase: string,
|
|
4671
|
+
}
|
|
4672
|
+
}
|
|
4673
|
+
}
|
|
4674
|
+
|
|
4619
4675
|
export class WhereClause extends jspb.Message {
|
|
4620
4676
|
getField(): string;
|
|
4621
4677
|
setField(value: string): void;
|
|
@@ -4633,6 +4689,11 @@ export namespace GetDocumentsRequest {
|
|
|
4633
4689
|
getTimeRange(): GetDocumentsRequest.TimeRangeSelection | undefined;
|
|
4634
4690
|
setTimeRange(value?: GetDocumentsRequest.TimeRangeSelection): void;
|
|
4635
4691
|
|
|
4692
|
+
hasIntegerRange(): boolean;
|
|
4693
|
+
clearIntegerRange(): void;
|
|
4694
|
+
getIntegerRange(): GetDocumentsRequest.IntegerRangeSelection | undefined;
|
|
4695
|
+
setIntegerRange(value?: GetDocumentsRequest.IntegerRangeSelection): void;
|
|
4696
|
+
|
|
4636
4697
|
serializeBinary(): Uint8Array;
|
|
4637
4698
|
toObject(includeInstance?: boolean): WhereClause.AsObject;
|
|
4638
4699
|
static toObject(includeInstance: boolean, msg: WhereClause): WhereClause.AsObject;
|
|
@@ -4649,6 +4710,7 @@ export namespace GetDocumentsRequest {
|
|
|
4649
4710
|
operator: GetDocumentsRequest.WhereOperatorMap[keyof GetDocumentsRequest.WhereOperatorMap],
|
|
4650
4711
|
value?: GetDocumentsRequest.DocumentFieldValue.AsObject,
|
|
4651
4712
|
timeRange?: GetDocumentsRequest.TimeRangeSelection.AsObject,
|
|
4713
|
+
integerRange?: GetDocumentsRequest.IntegerRangeSelection.AsObject,
|
|
4652
4714
|
}
|
|
4653
4715
|
}
|
|
4654
4716
|
|
|
@@ -5114,6 +5176,7 @@ export namespace GetDocumentsRequest {
|
|
|
5114
5176
|
IN: 9;
|
|
5115
5177
|
STARTS_WITH: 10;
|
|
5116
5178
|
IN_TIME_RANGE: 11;
|
|
5179
|
+
IN_INTEGER_RANGE: 12;
|
|
5117
5180
|
}
|
|
5118
5181
|
|
|
5119
5182
|
export const WhereOperator: WhereOperatorMap;
|