@dashevo/dapi-grpc 4.2.0-dev.7 → 4.2.0-dev.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build.rs +10 -0
- package/clients/drive/v0/nodejs/drive_pbjs.js +1210 -105
- package/clients/platform/v0/nodejs/platform_pbjs.js +1210 -105
- package/clients/platform/v0/nodejs/platform_protoc.js +1240 -156
- package/clients/platform/v0/web/platform_pb.d.ts +143 -0
- package/clients/platform/v0/web/platform_pb.js +1240 -156
- package/package.json +2 -2
- package/protos/platform/v0/platform.proto +118 -9
|
@@ -163,6 +163,7 @@ goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsRequest.DocumentF
|
|
|
163
163
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV0', null, { proto });
|
|
164
164
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV0.StartCase', null, { proto });
|
|
165
165
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1', null, { proto });
|
|
166
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.ChainedJoin', null, { proto });
|
|
166
167
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.Select', null, { proto });
|
|
167
168
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.Select.Function', null, { proto });
|
|
168
169
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.StartCase', null, { proto });
|
|
@@ -173,6 +174,9 @@ goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingCla
|
|
|
173
174
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingClause.RightCase', null, { proto });
|
|
174
175
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsRequest.OrderClause', null, { proto });
|
|
175
176
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsRequest.OrderClause.TargetCase', null, { proto });
|
|
177
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection', null, { proto });
|
|
178
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection.Grid', null, { proto });
|
|
179
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection.Selector', null, { proto });
|
|
176
180
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsRequest.VersionCase', null, { proto });
|
|
177
181
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsRequest.WhereClause', null, { proto });
|
|
178
182
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsRequest.WhereOperator', null, { proto });
|
|
@@ -186,6 +190,7 @@ goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocum
|
|
|
186
190
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.AverageEntry', null, { proto });
|
|
187
191
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.AverageResults', null, { proto });
|
|
188
192
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.AverageResults.VariantCase', null, { proto });
|
|
193
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ChainedDocuments', null, { proto });
|
|
189
194
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries', null, { proto });
|
|
190
195
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry', null, { proto });
|
|
191
196
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults', null, { proto });
|
|
@@ -2216,6 +2221,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
2216
2221
|
*/
|
|
2217
2222
|
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.DocumentFieldValue.ValueList.displayName = 'proto.org.dash.platform.dapi.v0.GetDocumentsRequest.DocumentFieldValue.ValueList';
|
|
2218
2223
|
}
|
|
2224
|
+
/**
|
|
2225
|
+
* Generated by JsPbCodeGenerator.
|
|
2226
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2227
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2228
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2229
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2230
|
+
* valid.
|
|
2231
|
+
* @extends {jspb.Message}
|
|
2232
|
+
* @constructor
|
|
2233
|
+
*/
|
|
2234
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection = function(opt_data) {
|
|
2235
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2236
|
+
};
|
|
2237
|
+
goog.inherits(proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection, jspb.Message);
|
|
2238
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2239
|
+
/**
|
|
2240
|
+
* @public
|
|
2241
|
+
* @override
|
|
2242
|
+
*/
|
|
2243
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection.displayName = 'proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection';
|
|
2244
|
+
}
|
|
2245
|
+
/**
|
|
2246
|
+
* Generated by JsPbCodeGenerator.
|
|
2247
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2248
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2249
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2250
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2251
|
+
* valid.
|
|
2252
|
+
* @extends {jspb.Message}
|
|
2253
|
+
* @constructor
|
|
2254
|
+
*/
|
|
2255
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection.Grid = function(opt_data) {
|
|
2256
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2257
|
+
};
|
|
2258
|
+
goog.inherits(proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection.Grid, jspb.Message);
|
|
2259
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2260
|
+
/**
|
|
2261
|
+
* @public
|
|
2262
|
+
* @override
|
|
2263
|
+
*/
|
|
2264
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection.Grid.displayName = 'proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection.Grid';
|
|
2265
|
+
}
|
|
2219
2266
|
/**
|
|
2220
2267
|
* Generated by JsPbCodeGenerator.
|
|
2221
2268
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -2363,6 +2410,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
2363
2410
|
*/
|
|
2364
2411
|
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.Select.displayName = 'proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.Select';
|
|
2365
2412
|
}
|
|
2413
|
+
/**
|
|
2414
|
+
* Generated by JsPbCodeGenerator.
|
|
2415
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2416
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2417
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2418
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2419
|
+
* valid.
|
|
2420
|
+
* @extends {jspb.Message}
|
|
2421
|
+
* @constructor
|
|
2422
|
+
*/
|
|
2423
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.ChainedJoin = function(opt_data) {
|
|
2424
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2425
|
+
};
|
|
2426
|
+
goog.inherits(proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.ChainedJoin, jspb.Message);
|
|
2427
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2428
|
+
/**
|
|
2429
|
+
* @public
|
|
2430
|
+
* @override
|
|
2431
|
+
*/
|
|
2432
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.ChainedJoin.displayName = 'proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.ChainedJoin';
|
|
2433
|
+
}
|
|
2366
2434
|
/**
|
|
2367
2435
|
* Generated by JsPbCodeGenerator.
|
|
2368
2436
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -2741,6 +2809,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
2741
2809
|
*/
|
|
2742
2810
|
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.displayName = 'proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData';
|
|
2743
2811
|
}
|
|
2812
|
+
/**
|
|
2813
|
+
* Generated by JsPbCodeGenerator.
|
|
2814
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2815
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2816
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2817
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2818
|
+
* valid.
|
|
2819
|
+
* @extends {jspb.Message}
|
|
2820
|
+
* @constructor
|
|
2821
|
+
*/
|
|
2822
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ChainedDocuments = function(opt_data) {
|
|
2823
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ChainedDocuments.repeatedFields_, null);
|
|
2824
|
+
};
|
|
2825
|
+
goog.inherits(proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ChainedDocuments, jspb.Message);
|
|
2826
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2827
|
+
/**
|
|
2828
|
+
* @public
|
|
2829
|
+
* @override
|
|
2830
|
+
*/
|
|
2831
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ChainedDocuments.displayName = 'proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ChainedDocuments';
|
|
2832
|
+
}
|
|
2744
2833
|
/**
|
|
2745
2834
|
* Generated by JsPbCodeGenerator.
|
|
2746
2835
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -25112,8 +25201,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
25112
25201
|
* http://goto/soy-param-migration
|
|
25113
25202
|
* @return {!Object}
|
|
25114
25203
|
*/
|
|
25115
|
-
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.
|
|
25116
|
-
return proto.org.dash.platform.dapi.v0.GetDocumentsRequest.
|
|
25204
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection.prototype.toObject = function(opt_includeInstance) {
|
|
25205
|
+
return proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection.toObject(opt_includeInstance, this);
|
|
25117
25206
|
};
|
|
25118
25207
|
|
|
25119
25208
|
|
|
@@ -25122,15 +25211,15 @@ proto.org.dash.platform.dapi.v0.GetDocumentsRequest.WhereClause.prototype.toObje
|
|
|
25122
25211
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
25123
25212
|
* the JSPB instance for transitional soy proto support:
|
|
25124
25213
|
* http://goto/soy-param-migration
|
|
25125
|
-
* @param {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.
|
|
25214
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection} msg The msg instance to transform.
|
|
25126
25215
|
* @return {!Object}
|
|
25127
25216
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
25128
25217
|
*/
|
|
25129
|
-
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.
|
|
25218
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection.toObject = function(includeInstance, msg) {
|
|
25130
25219
|
var f, obj = {
|
|
25131
|
-
|
|
25132
|
-
|
|
25133
|
-
|
|
25220
|
+
selector: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
25221
|
+
startMs: jspb.Message.getFieldWithDefault(msg, 2, "0"),
|
|
25222
|
+
grid: (f = msg.getGrid()) && proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection.Grid.toObject(includeInstance, f)
|
|
25134
25223
|
};
|
|
25135
25224
|
|
|
25136
25225
|
if (includeInstance) {
|
|
@@ -25144,23 +25233,23 @@ proto.org.dash.platform.dapi.v0.GetDocumentsRequest.WhereClause.toObject = funct
|
|
|
25144
25233
|
/**
|
|
25145
25234
|
* Deserializes binary data (in protobuf wire format).
|
|
25146
25235
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
25147
|
-
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.
|
|
25236
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection}
|
|
25148
25237
|
*/
|
|
25149
|
-
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.
|
|
25238
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection.deserializeBinary = function(bytes) {
|
|
25150
25239
|
var reader = new jspb.BinaryReader(bytes);
|
|
25151
|
-
var msg = new proto.org.dash.platform.dapi.v0.GetDocumentsRequest.
|
|
25152
|
-
return proto.org.dash.platform.dapi.v0.GetDocumentsRequest.
|
|
25240
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection;
|
|
25241
|
+
return proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection.deserializeBinaryFromReader(msg, reader);
|
|
25153
25242
|
};
|
|
25154
25243
|
|
|
25155
25244
|
|
|
25156
25245
|
/**
|
|
25157
25246
|
* Deserializes binary data (in protobuf wire format) from the
|
|
25158
25247
|
* given reader into the given message object.
|
|
25159
|
-
* @param {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.
|
|
25248
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection} msg The message object to deserialize into.
|
|
25160
25249
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
25161
|
-
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.
|
|
25250
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection}
|
|
25162
25251
|
*/
|
|
25163
|
-
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.
|
|
25252
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection.deserializeBinaryFromReader = function(msg, reader) {
|
|
25164
25253
|
while (reader.nextField()) {
|
|
25165
25254
|
if (reader.isEndGroup()) {
|
|
25166
25255
|
break;
|
|
@@ -25168,17 +25257,17 @@ proto.org.dash.platform.dapi.v0.GetDocumentsRequest.WhereClause.deserializeBinar
|
|
|
25168
25257
|
var field = reader.getFieldNumber();
|
|
25169
25258
|
switch (field) {
|
|
25170
25259
|
case 1:
|
|
25171
|
-
var value = /** @type {
|
|
25172
|
-
msg.
|
|
25260
|
+
var value = /** @type {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection.Selector} */ (reader.readEnum());
|
|
25261
|
+
msg.setSelector(value);
|
|
25173
25262
|
break;
|
|
25174
25263
|
case 2:
|
|
25175
|
-
var value = /** @type {
|
|
25176
|
-
msg.
|
|
25264
|
+
var value = /** @type {string} */ (reader.readUint64String());
|
|
25265
|
+
msg.setStartMs(value);
|
|
25177
25266
|
break;
|
|
25178
25267
|
case 3:
|
|
25179
|
-
var value = new proto.org.dash.platform.dapi.v0.GetDocumentsRequest.
|
|
25180
|
-
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetDocumentsRequest.
|
|
25181
|
-
msg.
|
|
25268
|
+
var value = new proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection.Grid;
|
|
25269
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection.Grid.deserializeBinaryFromReader);
|
|
25270
|
+
msg.setGrid(value);
|
|
25182
25271
|
break;
|
|
25183
25272
|
default:
|
|
25184
25273
|
reader.skipField();
|
|
@@ -25193,9 +25282,9 @@ proto.org.dash.platform.dapi.v0.GetDocumentsRequest.WhereClause.deserializeBinar
|
|
|
25193
25282
|
* Serializes the message to binary data (in protobuf wire format).
|
|
25194
25283
|
* @return {!Uint8Array}
|
|
25195
25284
|
*/
|
|
25196
|
-
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.
|
|
25285
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection.prototype.serializeBinary = function() {
|
|
25197
25286
|
var writer = new jspb.BinaryWriter();
|
|
25198
|
-
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.
|
|
25287
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection.serializeBinaryToWriter(this, writer);
|
|
25199
25288
|
return writer.getResultBuffer();
|
|
25200
25289
|
};
|
|
25201
25290
|
|
|
@@ -25203,113 +25292,49 @@ proto.org.dash.platform.dapi.v0.GetDocumentsRequest.WhereClause.prototype.serial
|
|
|
25203
25292
|
/**
|
|
25204
25293
|
* Serializes the given message to binary data (in protobuf wire
|
|
25205
25294
|
* format), writing to the given BinaryWriter.
|
|
25206
|
-
* @param {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.
|
|
25295
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection} message
|
|
25207
25296
|
* @param {!jspb.BinaryWriter} writer
|
|
25208
25297
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
25209
25298
|
*/
|
|
25210
|
-
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.
|
|
25299
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection.serializeBinaryToWriter = function(message, writer) {
|
|
25211
25300
|
var f = undefined;
|
|
25212
|
-
f = message.
|
|
25213
|
-
if (f
|
|
25214
|
-
writer.
|
|
25301
|
+
f = message.getSelector();
|
|
25302
|
+
if (f !== 0.0) {
|
|
25303
|
+
writer.writeEnum(
|
|
25215
25304
|
1,
|
|
25216
25305
|
f
|
|
25217
25306
|
);
|
|
25218
25307
|
}
|
|
25219
|
-
f =
|
|
25220
|
-
if (f
|
|
25221
|
-
writer.
|
|
25308
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
25309
|
+
if (f != null) {
|
|
25310
|
+
writer.writeUint64String(
|
|
25222
25311
|
2,
|
|
25223
25312
|
f
|
|
25224
25313
|
);
|
|
25225
25314
|
}
|
|
25226
|
-
f = message.
|
|
25315
|
+
f = message.getGrid();
|
|
25227
25316
|
if (f != null) {
|
|
25228
25317
|
writer.writeMessage(
|
|
25229
25318
|
3,
|
|
25230
25319
|
f,
|
|
25231
|
-
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.
|
|
25320
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection.Grid.serializeBinaryToWriter
|
|
25232
25321
|
);
|
|
25233
25322
|
}
|
|
25234
25323
|
};
|
|
25235
25324
|
|
|
25236
25325
|
|
|
25237
25326
|
/**
|
|
25238
|
-
*
|
|
25239
|
-
* @return {string}
|
|
25240
|
-
*/
|
|
25241
|
-
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.WhereClause.prototype.getField = function() {
|
|
25242
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
25243
|
-
};
|
|
25244
|
-
|
|
25245
|
-
|
|
25246
|
-
/**
|
|
25247
|
-
* @param {string} value
|
|
25248
|
-
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.WhereClause} returns this
|
|
25249
|
-
*/
|
|
25250
|
-
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.WhereClause.prototype.setField = function(value) {
|
|
25251
|
-
return jspb.Message.setProto3StringField(this, 1, value);
|
|
25252
|
-
};
|
|
25253
|
-
|
|
25254
|
-
|
|
25255
|
-
/**
|
|
25256
|
-
* optional WhereOperator operator = 2;
|
|
25257
|
-
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.WhereOperator}
|
|
25258
|
-
*/
|
|
25259
|
-
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.WhereClause.prototype.getOperator = function() {
|
|
25260
|
-
return /** @type {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.WhereOperator} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
25261
|
-
};
|
|
25262
|
-
|
|
25263
|
-
|
|
25264
|
-
/**
|
|
25265
|
-
* @param {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.WhereOperator} value
|
|
25266
|
-
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.WhereClause} returns this
|
|
25267
|
-
*/
|
|
25268
|
-
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.WhereClause.prototype.setOperator = function(value) {
|
|
25269
|
-
return jspb.Message.setProto3EnumField(this, 2, value);
|
|
25270
|
-
};
|
|
25271
|
-
|
|
25272
|
-
|
|
25273
|
-
/**
|
|
25274
|
-
* optional DocumentFieldValue value = 3;
|
|
25275
|
-
* @return {?proto.org.dash.platform.dapi.v0.GetDocumentsRequest.DocumentFieldValue}
|
|
25276
|
-
*/
|
|
25277
|
-
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.WhereClause.prototype.getValue = function() {
|
|
25278
|
-
return /** @type{?proto.org.dash.platform.dapi.v0.GetDocumentsRequest.DocumentFieldValue} */ (
|
|
25279
|
-
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetDocumentsRequest.DocumentFieldValue, 3));
|
|
25280
|
-
};
|
|
25281
|
-
|
|
25282
|
-
|
|
25283
|
-
/**
|
|
25284
|
-
* @param {?proto.org.dash.platform.dapi.v0.GetDocumentsRequest.DocumentFieldValue|undefined} value
|
|
25285
|
-
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.WhereClause} returns this
|
|
25286
|
-
*/
|
|
25287
|
-
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.WhereClause.prototype.setValue = function(value) {
|
|
25288
|
-
return jspb.Message.setWrapperField(this, 3, value);
|
|
25289
|
-
};
|
|
25290
|
-
|
|
25291
|
-
|
|
25292
|
-
/**
|
|
25293
|
-
* Clears the message field making it undefined.
|
|
25294
|
-
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.WhereClause} returns this
|
|
25295
|
-
*/
|
|
25296
|
-
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.WhereClause.prototype.clearValue = function() {
|
|
25297
|
-
return this.setValue(undefined);
|
|
25298
|
-
};
|
|
25299
|
-
|
|
25300
|
-
|
|
25301
|
-
/**
|
|
25302
|
-
* Returns whether this field is set.
|
|
25303
|
-
* @return {boolean}
|
|
25327
|
+
* @enum {number}
|
|
25304
25328
|
*/
|
|
25305
|
-
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.
|
|
25306
|
-
|
|
25329
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection.Selector = {
|
|
25330
|
+
NEWEST: 0,
|
|
25331
|
+
OLDEST: 1,
|
|
25332
|
+
BY_START: 2
|
|
25307
25333
|
};
|
|
25308
25334
|
|
|
25309
25335
|
|
|
25310
25336
|
|
|
25311
25337
|
|
|
25312
|
-
|
|
25313
25338
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
25314
25339
|
/**
|
|
25315
25340
|
* Creates an object representation of this proto.
|
|
@@ -25323,8 +25348,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
25323
25348
|
* http://goto/soy-param-migration
|
|
25324
25349
|
* @return {!Object}
|
|
25325
25350
|
*/
|
|
25326
|
-
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.
|
|
25327
|
-
return proto.org.dash.platform.dapi.v0.GetDocumentsRequest.
|
|
25351
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection.Grid.prototype.toObject = function(opt_includeInstance) {
|
|
25352
|
+
return proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection.Grid.toObject(opt_includeInstance, this);
|
|
25328
25353
|
};
|
|
25329
25354
|
|
|
25330
25355
|
|
|
@@ -25333,14 +25358,15 @@ proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingAggregate.prototype.to
|
|
|
25333
25358
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
25334
25359
|
* the JSPB instance for transitional soy proto support:
|
|
25335
25360
|
* http://goto/soy-param-migration
|
|
25336
|
-
* @param {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.
|
|
25361
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection.Grid} msg The msg instance to transform.
|
|
25337
25362
|
* @return {!Object}
|
|
25338
25363
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
25339
25364
|
*/
|
|
25340
|
-
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.
|
|
25365
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection.Grid.toObject = function(includeInstance, msg) {
|
|
25341
25366
|
var f, obj = {
|
|
25342
|
-
|
|
25343
|
-
|
|
25367
|
+
range: jspb.Message.getFieldWithDefault(msg, 1, "0"),
|
|
25368
|
+
step: jspb.Message.getFieldWithDefault(msg, 2, "0"),
|
|
25369
|
+
phase: jspb.Message.getFieldWithDefault(msg, 3, "0")
|
|
25344
25370
|
};
|
|
25345
25371
|
|
|
25346
25372
|
if (includeInstance) {
|
|
@@ -25354,23 +25380,23 @@ proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingAggregate.toObject = f
|
|
|
25354
25380
|
/**
|
|
25355
25381
|
* Deserializes binary data (in protobuf wire format).
|
|
25356
25382
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
25357
|
-
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.
|
|
25383
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection.Grid}
|
|
25358
25384
|
*/
|
|
25359
|
-
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.
|
|
25385
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection.Grid.deserializeBinary = function(bytes) {
|
|
25360
25386
|
var reader = new jspb.BinaryReader(bytes);
|
|
25361
|
-
var msg = new proto.org.dash.platform.dapi.v0.GetDocumentsRequest.
|
|
25362
|
-
return proto.org.dash.platform.dapi.v0.GetDocumentsRequest.
|
|
25387
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection.Grid;
|
|
25388
|
+
return proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection.Grid.deserializeBinaryFromReader(msg, reader);
|
|
25363
25389
|
};
|
|
25364
25390
|
|
|
25365
25391
|
|
|
25366
25392
|
/**
|
|
25367
25393
|
* Deserializes binary data (in protobuf wire format) from the
|
|
25368
25394
|
* given reader into the given message object.
|
|
25369
|
-
* @param {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.
|
|
25395
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection.Grid} msg The message object to deserialize into.
|
|
25370
25396
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
25371
|
-
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.
|
|
25397
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection.Grid}
|
|
25372
25398
|
*/
|
|
25373
|
-
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.
|
|
25399
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection.Grid.deserializeBinaryFromReader = function(msg, reader) {
|
|
25374
25400
|
while (reader.nextField()) {
|
|
25375
25401
|
if (reader.isEndGroup()) {
|
|
25376
25402
|
break;
|
|
@@ -25378,12 +25404,16 @@ proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingAggregate.deserializeB
|
|
|
25378
25404
|
var field = reader.getFieldNumber();
|
|
25379
25405
|
switch (field) {
|
|
25380
25406
|
case 1:
|
|
25381
|
-
var value = /** @type {
|
|
25382
|
-
msg.
|
|
25407
|
+
var value = /** @type {string} */ (reader.readUint64String());
|
|
25408
|
+
msg.setRange(value);
|
|
25383
25409
|
break;
|
|
25384
25410
|
case 2:
|
|
25385
|
-
var value = /** @type {string} */ (reader.
|
|
25386
|
-
msg.
|
|
25411
|
+
var value = /** @type {string} */ (reader.readUint64String());
|
|
25412
|
+
msg.setStep(value);
|
|
25413
|
+
break;
|
|
25414
|
+
case 3:
|
|
25415
|
+
var value = /** @type {string} */ (reader.readUint64String());
|
|
25416
|
+
msg.setPhase(value);
|
|
25387
25417
|
break;
|
|
25388
25418
|
default:
|
|
25389
25419
|
reader.skipField();
|
|
@@ -25398,9 +25428,9 @@ proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingAggregate.deserializeB
|
|
|
25398
25428
|
* Serializes the message to binary data (in protobuf wire format).
|
|
25399
25429
|
* @return {!Uint8Array}
|
|
25400
25430
|
*/
|
|
25401
|
-
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.
|
|
25431
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection.Grid.prototype.serializeBinary = function() {
|
|
25402
25432
|
var writer = new jspb.BinaryWriter();
|
|
25403
|
-
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.
|
|
25433
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection.Grid.serializeBinaryToWriter(this, writer);
|
|
25404
25434
|
return writer.getResultBuffer();
|
|
25405
25435
|
};
|
|
25406
25436
|
|
|
@@ -25408,77 +25438,615 @@ proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingAggregate.prototype.se
|
|
|
25408
25438
|
/**
|
|
25409
25439
|
* Serializes the given message to binary data (in protobuf wire
|
|
25410
25440
|
* format), writing to the given BinaryWriter.
|
|
25411
|
-
* @param {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.
|
|
25441
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection.Grid} message
|
|
25412
25442
|
* @param {!jspb.BinaryWriter} writer
|
|
25413
25443
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
25414
25444
|
*/
|
|
25415
|
-
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.
|
|
25445
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection.Grid.serializeBinaryToWriter = function(message, writer) {
|
|
25416
25446
|
var f = undefined;
|
|
25417
|
-
f = message.
|
|
25418
|
-
if (f !== 0
|
|
25419
|
-
writer.
|
|
25447
|
+
f = message.getRange();
|
|
25448
|
+
if (parseInt(f, 10) !== 0) {
|
|
25449
|
+
writer.writeUint64String(
|
|
25420
25450
|
1,
|
|
25421
25451
|
f
|
|
25422
25452
|
);
|
|
25423
25453
|
}
|
|
25424
|
-
f = message.
|
|
25425
|
-
if (f
|
|
25426
|
-
writer.
|
|
25454
|
+
f = message.getStep();
|
|
25455
|
+
if (parseInt(f, 10) !== 0) {
|
|
25456
|
+
writer.writeUint64String(
|
|
25427
25457
|
2,
|
|
25428
25458
|
f
|
|
25429
25459
|
);
|
|
25430
25460
|
}
|
|
25461
|
+
f = message.getPhase();
|
|
25462
|
+
if (parseInt(f, 10) !== 0) {
|
|
25463
|
+
writer.writeUint64String(
|
|
25464
|
+
3,
|
|
25465
|
+
f
|
|
25466
|
+
);
|
|
25467
|
+
}
|
|
25431
25468
|
};
|
|
25432
25469
|
|
|
25433
25470
|
|
|
25434
25471
|
/**
|
|
25435
|
-
*
|
|
25472
|
+
* optional uint64 range = 1;
|
|
25473
|
+
* @return {string}
|
|
25436
25474
|
*/
|
|
25437
|
-
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.
|
|
25438
|
-
|
|
25439
|
-
SUM: 1,
|
|
25440
|
-
AVG: 2
|
|
25475
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection.Grid.prototype.getRange = function() {
|
|
25476
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "0"));
|
|
25441
25477
|
};
|
|
25442
25478
|
|
|
25479
|
+
|
|
25443
25480
|
/**
|
|
25444
|
-
*
|
|
25445
|
-
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.
|
|
25481
|
+
* @param {string} value
|
|
25482
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection.Grid} returns this
|
|
25446
25483
|
*/
|
|
25447
|
-
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.
|
|
25448
|
-
return
|
|
25484
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection.Grid.prototype.setRange = function(value) {
|
|
25485
|
+
return jspb.Message.setProto3StringIntField(this, 1, value);
|
|
25449
25486
|
};
|
|
25450
25487
|
|
|
25451
25488
|
|
|
25452
25489
|
/**
|
|
25453
|
-
*
|
|
25454
|
-
* @return {
|
|
25490
|
+
* optional uint64 step = 2;
|
|
25491
|
+
* @return {string}
|
|
25455
25492
|
*/
|
|
25456
|
-
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.
|
|
25457
|
-
return jspb.Message.
|
|
25493
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection.Grid.prototype.getStep = function() {
|
|
25494
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "0"));
|
|
25458
25495
|
};
|
|
25459
25496
|
|
|
25460
25497
|
|
|
25461
25498
|
/**
|
|
25462
|
-
*
|
|
25463
|
-
* @return {
|
|
25499
|
+
* @param {string} value
|
|
25500
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection.Grid} returns this
|
|
25464
25501
|
*/
|
|
25465
|
-
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.
|
|
25466
|
-
return
|
|
25502
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection.Grid.prototype.setStep = function(value) {
|
|
25503
|
+
return jspb.Message.setProto3StringIntField(this, 2, value);
|
|
25467
25504
|
};
|
|
25468
25505
|
|
|
25469
25506
|
|
|
25470
25507
|
/**
|
|
25471
|
-
*
|
|
25472
|
-
* @return {
|
|
25508
|
+
* optional uint64 phase = 3;
|
|
25509
|
+
* @return {string}
|
|
25473
25510
|
*/
|
|
25474
|
-
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.
|
|
25475
|
-
return jspb.Message.
|
|
25511
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection.Grid.prototype.getPhase = function() {
|
|
25512
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "0"));
|
|
25476
25513
|
};
|
|
25477
25514
|
|
|
25478
25515
|
|
|
25479
|
-
|
|
25480
25516
|
/**
|
|
25481
|
-
*
|
|
25517
|
+
* @param {string} value
|
|
25518
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection.Grid} returns this
|
|
25519
|
+
*/
|
|
25520
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection.Grid.prototype.setPhase = function(value) {
|
|
25521
|
+
return jspb.Message.setProto3StringIntField(this, 3, value);
|
|
25522
|
+
};
|
|
25523
|
+
|
|
25524
|
+
|
|
25525
|
+
/**
|
|
25526
|
+
* optional Selector selector = 1;
|
|
25527
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection.Selector}
|
|
25528
|
+
*/
|
|
25529
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection.prototype.getSelector = function() {
|
|
25530
|
+
return /** @type {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection.Selector} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
25531
|
+
};
|
|
25532
|
+
|
|
25533
|
+
|
|
25534
|
+
/**
|
|
25535
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection.Selector} value
|
|
25536
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection} returns this
|
|
25537
|
+
*/
|
|
25538
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection.prototype.setSelector = function(value) {
|
|
25539
|
+
return jspb.Message.setProto3EnumField(this, 1, value);
|
|
25540
|
+
};
|
|
25541
|
+
|
|
25542
|
+
|
|
25543
|
+
/**
|
|
25544
|
+
* optional uint64 start_ms = 2;
|
|
25545
|
+
* @return {string}
|
|
25546
|
+
*/
|
|
25547
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection.prototype.getStartMs = function() {
|
|
25548
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "0"));
|
|
25549
|
+
};
|
|
25550
|
+
|
|
25551
|
+
|
|
25552
|
+
/**
|
|
25553
|
+
* @param {string} value
|
|
25554
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection} returns this
|
|
25555
|
+
*/
|
|
25556
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection.prototype.setStartMs = function(value) {
|
|
25557
|
+
return jspb.Message.setField(this, 2, value);
|
|
25558
|
+
};
|
|
25559
|
+
|
|
25560
|
+
|
|
25561
|
+
/**
|
|
25562
|
+
* Clears the field making it undefined.
|
|
25563
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection} returns this
|
|
25564
|
+
*/
|
|
25565
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection.prototype.clearStartMs = function() {
|
|
25566
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
25567
|
+
};
|
|
25568
|
+
|
|
25569
|
+
|
|
25570
|
+
/**
|
|
25571
|
+
* Returns whether this field is set.
|
|
25572
|
+
* @return {boolean}
|
|
25573
|
+
*/
|
|
25574
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection.prototype.hasStartMs = function() {
|
|
25575
|
+
return jspb.Message.getField(this, 2) != null;
|
|
25576
|
+
};
|
|
25577
|
+
|
|
25578
|
+
|
|
25579
|
+
/**
|
|
25580
|
+
* optional Grid grid = 3;
|
|
25581
|
+
* @return {?proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection.Grid}
|
|
25582
|
+
*/
|
|
25583
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection.prototype.getGrid = function() {
|
|
25584
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection.Grid} */ (
|
|
25585
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection.Grid, 3));
|
|
25586
|
+
};
|
|
25587
|
+
|
|
25588
|
+
|
|
25589
|
+
/**
|
|
25590
|
+
* @param {?proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection.Grid|undefined} value
|
|
25591
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection} returns this
|
|
25592
|
+
*/
|
|
25593
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection.prototype.setGrid = function(value) {
|
|
25594
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
25595
|
+
};
|
|
25596
|
+
|
|
25597
|
+
|
|
25598
|
+
/**
|
|
25599
|
+
* Clears the message field making it undefined.
|
|
25600
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection} returns this
|
|
25601
|
+
*/
|
|
25602
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection.prototype.clearGrid = function() {
|
|
25603
|
+
return this.setGrid(undefined);
|
|
25604
|
+
};
|
|
25605
|
+
|
|
25606
|
+
|
|
25607
|
+
/**
|
|
25608
|
+
* Returns whether this field is set.
|
|
25609
|
+
* @return {boolean}
|
|
25610
|
+
*/
|
|
25611
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection.prototype.hasGrid = function() {
|
|
25612
|
+
return jspb.Message.getField(this, 3) != null;
|
|
25613
|
+
};
|
|
25614
|
+
|
|
25615
|
+
|
|
25616
|
+
|
|
25617
|
+
|
|
25618
|
+
|
|
25619
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
25620
|
+
/**
|
|
25621
|
+
* Creates an object representation of this proto.
|
|
25622
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
25623
|
+
* Optional fields that are not set will be set to undefined.
|
|
25624
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
25625
|
+
* For the list of reserved names please see:
|
|
25626
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
25627
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
25628
|
+
* JSPB instance for transitional soy proto support:
|
|
25629
|
+
* http://goto/soy-param-migration
|
|
25630
|
+
* @return {!Object}
|
|
25631
|
+
*/
|
|
25632
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.WhereClause.prototype.toObject = function(opt_includeInstance) {
|
|
25633
|
+
return proto.org.dash.platform.dapi.v0.GetDocumentsRequest.WhereClause.toObject(opt_includeInstance, this);
|
|
25634
|
+
};
|
|
25635
|
+
|
|
25636
|
+
|
|
25637
|
+
/**
|
|
25638
|
+
* Static version of the {@see toObject} method.
|
|
25639
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
25640
|
+
* the JSPB instance for transitional soy proto support:
|
|
25641
|
+
* http://goto/soy-param-migration
|
|
25642
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.WhereClause} msg The msg instance to transform.
|
|
25643
|
+
* @return {!Object}
|
|
25644
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
25645
|
+
*/
|
|
25646
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.WhereClause.toObject = function(includeInstance, msg) {
|
|
25647
|
+
var f, obj = {
|
|
25648
|
+
field: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
25649
|
+
operator: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
25650
|
+
value: (f = msg.getValue()) && proto.org.dash.platform.dapi.v0.GetDocumentsRequest.DocumentFieldValue.toObject(includeInstance, f),
|
|
25651
|
+
timeRange: (f = msg.getTimeRange()) && proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection.toObject(includeInstance, f)
|
|
25652
|
+
};
|
|
25653
|
+
|
|
25654
|
+
if (includeInstance) {
|
|
25655
|
+
obj.$jspbMessageInstance = msg;
|
|
25656
|
+
}
|
|
25657
|
+
return obj;
|
|
25658
|
+
};
|
|
25659
|
+
}
|
|
25660
|
+
|
|
25661
|
+
|
|
25662
|
+
/**
|
|
25663
|
+
* Deserializes binary data (in protobuf wire format).
|
|
25664
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
25665
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.WhereClause}
|
|
25666
|
+
*/
|
|
25667
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.WhereClause.deserializeBinary = function(bytes) {
|
|
25668
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
25669
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetDocumentsRequest.WhereClause;
|
|
25670
|
+
return proto.org.dash.platform.dapi.v0.GetDocumentsRequest.WhereClause.deserializeBinaryFromReader(msg, reader);
|
|
25671
|
+
};
|
|
25672
|
+
|
|
25673
|
+
|
|
25674
|
+
/**
|
|
25675
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
25676
|
+
* given reader into the given message object.
|
|
25677
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.WhereClause} msg The message object to deserialize into.
|
|
25678
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
25679
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.WhereClause}
|
|
25680
|
+
*/
|
|
25681
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.WhereClause.deserializeBinaryFromReader = function(msg, reader) {
|
|
25682
|
+
while (reader.nextField()) {
|
|
25683
|
+
if (reader.isEndGroup()) {
|
|
25684
|
+
break;
|
|
25685
|
+
}
|
|
25686
|
+
var field = reader.getFieldNumber();
|
|
25687
|
+
switch (field) {
|
|
25688
|
+
case 1:
|
|
25689
|
+
var value = /** @type {string} */ (reader.readString());
|
|
25690
|
+
msg.setField(value);
|
|
25691
|
+
break;
|
|
25692
|
+
case 2:
|
|
25693
|
+
var value = /** @type {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.WhereOperator} */ (reader.readEnum());
|
|
25694
|
+
msg.setOperator(value);
|
|
25695
|
+
break;
|
|
25696
|
+
case 3:
|
|
25697
|
+
var value = new proto.org.dash.platform.dapi.v0.GetDocumentsRequest.DocumentFieldValue;
|
|
25698
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetDocumentsRequest.DocumentFieldValue.deserializeBinaryFromReader);
|
|
25699
|
+
msg.setValue(value);
|
|
25700
|
+
break;
|
|
25701
|
+
case 4:
|
|
25702
|
+
var value = new proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection;
|
|
25703
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection.deserializeBinaryFromReader);
|
|
25704
|
+
msg.setTimeRange(value);
|
|
25705
|
+
break;
|
|
25706
|
+
default:
|
|
25707
|
+
reader.skipField();
|
|
25708
|
+
break;
|
|
25709
|
+
}
|
|
25710
|
+
}
|
|
25711
|
+
return msg;
|
|
25712
|
+
};
|
|
25713
|
+
|
|
25714
|
+
|
|
25715
|
+
/**
|
|
25716
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
25717
|
+
* @return {!Uint8Array}
|
|
25718
|
+
*/
|
|
25719
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.WhereClause.prototype.serializeBinary = function() {
|
|
25720
|
+
var writer = new jspb.BinaryWriter();
|
|
25721
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.WhereClause.serializeBinaryToWriter(this, writer);
|
|
25722
|
+
return writer.getResultBuffer();
|
|
25723
|
+
};
|
|
25724
|
+
|
|
25725
|
+
|
|
25726
|
+
/**
|
|
25727
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
25728
|
+
* format), writing to the given BinaryWriter.
|
|
25729
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.WhereClause} message
|
|
25730
|
+
* @param {!jspb.BinaryWriter} writer
|
|
25731
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
25732
|
+
*/
|
|
25733
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.WhereClause.serializeBinaryToWriter = function(message, writer) {
|
|
25734
|
+
var f = undefined;
|
|
25735
|
+
f = message.getField();
|
|
25736
|
+
if (f.length > 0) {
|
|
25737
|
+
writer.writeString(
|
|
25738
|
+
1,
|
|
25739
|
+
f
|
|
25740
|
+
);
|
|
25741
|
+
}
|
|
25742
|
+
f = message.getOperator();
|
|
25743
|
+
if (f !== 0.0) {
|
|
25744
|
+
writer.writeEnum(
|
|
25745
|
+
2,
|
|
25746
|
+
f
|
|
25747
|
+
);
|
|
25748
|
+
}
|
|
25749
|
+
f = message.getValue();
|
|
25750
|
+
if (f != null) {
|
|
25751
|
+
writer.writeMessage(
|
|
25752
|
+
3,
|
|
25753
|
+
f,
|
|
25754
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.DocumentFieldValue.serializeBinaryToWriter
|
|
25755
|
+
);
|
|
25756
|
+
}
|
|
25757
|
+
f = message.getTimeRange();
|
|
25758
|
+
if (f != null) {
|
|
25759
|
+
writer.writeMessage(
|
|
25760
|
+
4,
|
|
25761
|
+
f,
|
|
25762
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection.serializeBinaryToWriter
|
|
25763
|
+
);
|
|
25764
|
+
}
|
|
25765
|
+
};
|
|
25766
|
+
|
|
25767
|
+
|
|
25768
|
+
/**
|
|
25769
|
+
* optional string field = 1;
|
|
25770
|
+
* @return {string}
|
|
25771
|
+
*/
|
|
25772
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.WhereClause.prototype.getField = function() {
|
|
25773
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
25774
|
+
};
|
|
25775
|
+
|
|
25776
|
+
|
|
25777
|
+
/**
|
|
25778
|
+
* @param {string} value
|
|
25779
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.WhereClause} returns this
|
|
25780
|
+
*/
|
|
25781
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.WhereClause.prototype.setField = function(value) {
|
|
25782
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
25783
|
+
};
|
|
25784
|
+
|
|
25785
|
+
|
|
25786
|
+
/**
|
|
25787
|
+
* optional WhereOperator operator = 2;
|
|
25788
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.WhereOperator}
|
|
25789
|
+
*/
|
|
25790
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.WhereClause.prototype.getOperator = function() {
|
|
25791
|
+
return /** @type {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.WhereOperator} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
25792
|
+
};
|
|
25793
|
+
|
|
25794
|
+
|
|
25795
|
+
/**
|
|
25796
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.WhereOperator} value
|
|
25797
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.WhereClause} returns this
|
|
25798
|
+
*/
|
|
25799
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.WhereClause.prototype.setOperator = function(value) {
|
|
25800
|
+
return jspb.Message.setProto3EnumField(this, 2, value);
|
|
25801
|
+
};
|
|
25802
|
+
|
|
25803
|
+
|
|
25804
|
+
/**
|
|
25805
|
+
* optional DocumentFieldValue value = 3;
|
|
25806
|
+
* @return {?proto.org.dash.platform.dapi.v0.GetDocumentsRequest.DocumentFieldValue}
|
|
25807
|
+
*/
|
|
25808
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.WhereClause.prototype.getValue = function() {
|
|
25809
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.GetDocumentsRequest.DocumentFieldValue} */ (
|
|
25810
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetDocumentsRequest.DocumentFieldValue, 3));
|
|
25811
|
+
};
|
|
25812
|
+
|
|
25813
|
+
|
|
25814
|
+
/**
|
|
25815
|
+
* @param {?proto.org.dash.platform.dapi.v0.GetDocumentsRequest.DocumentFieldValue|undefined} value
|
|
25816
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.WhereClause} returns this
|
|
25817
|
+
*/
|
|
25818
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.WhereClause.prototype.setValue = function(value) {
|
|
25819
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
25820
|
+
};
|
|
25821
|
+
|
|
25822
|
+
|
|
25823
|
+
/**
|
|
25824
|
+
* Clears the message field making it undefined.
|
|
25825
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.WhereClause} returns this
|
|
25826
|
+
*/
|
|
25827
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.WhereClause.prototype.clearValue = function() {
|
|
25828
|
+
return this.setValue(undefined);
|
|
25829
|
+
};
|
|
25830
|
+
|
|
25831
|
+
|
|
25832
|
+
/**
|
|
25833
|
+
* Returns whether this field is set.
|
|
25834
|
+
* @return {boolean}
|
|
25835
|
+
*/
|
|
25836
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.WhereClause.prototype.hasValue = function() {
|
|
25837
|
+
return jspb.Message.getField(this, 3) != null;
|
|
25838
|
+
};
|
|
25839
|
+
|
|
25840
|
+
|
|
25841
|
+
/**
|
|
25842
|
+
* optional TimeRangeSelection time_range = 4;
|
|
25843
|
+
* @return {?proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection}
|
|
25844
|
+
*/
|
|
25845
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.WhereClause.prototype.getTimeRange = function() {
|
|
25846
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection} */ (
|
|
25847
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection, 4));
|
|
25848
|
+
};
|
|
25849
|
+
|
|
25850
|
+
|
|
25851
|
+
/**
|
|
25852
|
+
* @param {?proto.org.dash.platform.dapi.v0.GetDocumentsRequest.TimeRangeSelection|undefined} value
|
|
25853
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.WhereClause} returns this
|
|
25854
|
+
*/
|
|
25855
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.WhereClause.prototype.setTimeRange = function(value) {
|
|
25856
|
+
return jspb.Message.setWrapperField(this, 4, value);
|
|
25857
|
+
};
|
|
25858
|
+
|
|
25859
|
+
|
|
25860
|
+
/**
|
|
25861
|
+
* Clears the message field making it undefined.
|
|
25862
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.WhereClause} returns this
|
|
25863
|
+
*/
|
|
25864
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.WhereClause.prototype.clearTimeRange = function() {
|
|
25865
|
+
return this.setTimeRange(undefined);
|
|
25866
|
+
};
|
|
25867
|
+
|
|
25868
|
+
|
|
25869
|
+
/**
|
|
25870
|
+
* Returns whether this field is set.
|
|
25871
|
+
* @return {boolean}
|
|
25872
|
+
*/
|
|
25873
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.WhereClause.prototype.hasTimeRange = function() {
|
|
25874
|
+
return jspb.Message.getField(this, 4) != null;
|
|
25875
|
+
};
|
|
25876
|
+
|
|
25877
|
+
|
|
25878
|
+
|
|
25879
|
+
|
|
25880
|
+
|
|
25881
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
25882
|
+
/**
|
|
25883
|
+
* Creates an object representation of this proto.
|
|
25884
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
25885
|
+
* Optional fields that are not set will be set to undefined.
|
|
25886
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
25887
|
+
* For the list of reserved names please see:
|
|
25888
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
25889
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
25890
|
+
* JSPB instance for transitional soy proto support:
|
|
25891
|
+
* http://goto/soy-param-migration
|
|
25892
|
+
* @return {!Object}
|
|
25893
|
+
*/
|
|
25894
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingAggregate.prototype.toObject = function(opt_includeInstance) {
|
|
25895
|
+
return proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingAggregate.toObject(opt_includeInstance, this);
|
|
25896
|
+
};
|
|
25897
|
+
|
|
25898
|
+
|
|
25899
|
+
/**
|
|
25900
|
+
* Static version of the {@see toObject} method.
|
|
25901
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
25902
|
+
* the JSPB instance for transitional soy proto support:
|
|
25903
|
+
* http://goto/soy-param-migration
|
|
25904
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingAggregate} msg The msg instance to transform.
|
|
25905
|
+
* @return {!Object}
|
|
25906
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
25907
|
+
*/
|
|
25908
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingAggregate.toObject = function(includeInstance, msg) {
|
|
25909
|
+
var f, obj = {
|
|
25910
|
+
pb_function: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
25911
|
+
field: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
25912
|
+
};
|
|
25913
|
+
|
|
25914
|
+
if (includeInstance) {
|
|
25915
|
+
obj.$jspbMessageInstance = msg;
|
|
25916
|
+
}
|
|
25917
|
+
return obj;
|
|
25918
|
+
};
|
|
25919
|
+
}
|
|
25920
|
+
|
|
25921
|
+
|
|
25922
|
+
/**
|
|
25923
|
+
* Deserializes binary data (in protobuf wire format).
|
|
25924
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
25925
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingAggregate}
|
|
25926
|
+
*/
|
|
25927
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingAggregate.deserializeBinary = function(bytes) {
|
|
25928
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
25929
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingAggregate;
|
|
25930
|
+
return proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingAggregate.deserializeBinaryFromReader(msg, reader);
|
|
25931
|
+
};
|
|
25932
|
+
|
|
25933
|
+
|
|
25934
|
+
/**
|
|
25935
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
25936
|
+
* given reader into the given message object.
|
|
25937
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingAggregate} msg The message object to deserialize into.
|
|
25938
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
25939
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingAggregate}
|
|
25940
|
+
*/
|
|
25941
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingAggregate.deserializeBinaryFromReader = function(msg, reader) {
|
|
25942
|
+
while (reader.nextField()) {
|
|
25943
|
+
if (reader.isEndGroup()) {
|
|
25944
|
+
break;
|
|
25945
|
+
}
|
|
25946
|
+
var field = reader.getFieldNumber();
|
|
25947
|
+
switch (field) {
|
|
25948
|
+
case 1:
|
|
25949
|
+
var value = /** @type {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingAggregate.Function} */ (reader.readEnum());
|
|
25950
|
+
msg.setFunction(value);
|
|
25951
|
+
break;
|
|
25952
|
+
case 2:
|
|
25953
|
+
var value = /** @type {string} */ (reader.readString());
|
|
25954
|
+
msg.setField(value);
|
|
25955
|
+
break;
|
|
25956
|
+
default:
|
|
25957
|
+
reader.skipField();
|
|
25958
|
+
break;
|
|
25959
|
+
}
|
|
25960
|
+
}
|
|
25961
|
+
return msg;
|
|
25962
|
+
};
|
|
25963
|
+
|
|
25964
|
+
|
|
25965
|
+
/**
|
|
25966
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
25967
|
+
* @return {!Uint8Array}
|
|
25968
|
+
*/
|
|
25969
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingAggregate.prototype.serializeBinary = function() {
|
|
25970
|
+
var writer = new jspb.BinaryWriter();
|
|
25971
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingAggregate.serializeBinaryToWriter(this, writer);
|
|
25972
|
+
return writer.getResultBuffer();
|
|
25973
|
+
};
|
|
25974
|
+
|
|
25975
|
+
|
|
25976
|
+
/**
|
|
25977
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
25978
|
+
* format), writing to the given BinaryWriter.
|
|
25979
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingAggregate} message
|
|
25980
|
+
* @param {!jspb.BinaryWriter} writer
|
|
25981
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
25982
|
+
*/
|
|
25983
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingAggregate.serializeBinaryToWriter = function(message, writer) {
|
|
25984
|
+
var f = undefined;
|
|
25985
|
+
f = message.getFunction();
|
|
25986
|
+
if (f !== 0.0) {
|
|
25987
|
+
writer.writeEnum(
|
|
25988
|
+
1,
|
|
25989
|
+
f
|
|
25990
|
+
);
|
|
25991
|
+
}
|
|
25992
|
+
f = message.getField();
|
|
25993
|
+
if (f.length > 0) {
|
|
25994
|
+
writer.writeString(
|
|
25995
|
+
2,
|
|
25996
|
+
f
|
|
25997
|
+
);
|
|
25998
|
+
}
|
|
25999
|
+
};
|
|
26000
|
+
|
|
26001
|
+
|
|
26002
|
+
/**
|
|
26003
|
+
* @enum {number}
|
|
26004
|
+
*/
|
|
26005
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingAggregate.Function = {
|
|
26006
|
+
COUNT: 0,
|
|
26007
|
+
SUM: 1,
|
|
26008
|
+
AVG: 2
|
|
26009
|
+
};
|
|
26010
|
+
|
|
26011
|
+
/**
|
|
26012
|
+
* optional Function function = 1;
|
|
26013
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingAggregate.Function}
|
|
26014
|
+
*/
|
|
26015
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingAggregate.prototype.getFunction = function() {
|
|
26016
|
+
return /** @type {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingAggregate.Function} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
26017
|
+
};
|
|
26018
|
+
|
|
26019
|
+
|
|
26020
|
+
/**
|
|
26021
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingAggregate.Function} value
|
|
26022
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingAggregate} returns this
|
|
26023
|
+
*/
|
|
26024
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingAggregate.prototype.setFunction = function(value) {
|
|
26025
|
+
return jspb.Message.setProto3EnumField(this, 1, value);
|
|
26026
|
+
};
|
|
26027
|
+
|
|
26028
|
+
|
|
26029
|
+
/**
|
|
26030
|
+
* optional string field = 2;
|
|
26031
|
+
* @return {string}
|
|
26032
|
+
*/
|
|
26033
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingAggregate.prototype.getField = function() {
|
|
26034
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
26035
|
+
};
|
|
26036
|
+
|
|
26037
|
+
|
|
26038
|
+
/**
|
|
26039
|
+
* @param {string} value
|
|
26040
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingAggregate} returns this
|
|
26041
|
+
*/
|
|
26042
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingAggregate.prototype.setField = function(value) {
|
|
26043
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
26044
|
+
};
|
|
26045
|
+
|
|
26046
|
+
|
|
26047
|
+
|
|
26048
|
+
/**
|
|
26049
|
+
* Oneof group definitions for this message. Each group defines the field
|
|
25482
26050
|
* numbers belonging to that group. When of these fields' value is set, all
|
|
25483
26051
|
* other fields in the group are cleared. During deserialization, if multiple
|
|
25484
26052
|
* fields are encountered for a group, only the last value seen will be kept.
|
|
@@ -26607,7 +27175,8 @@ proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.toObje
|
|
|
26607
27175
|
groupByList: (f = jspb.Message.getRepeatedField(msg, 10)) == null ? undefined : f,
|
|
26608
27176
|
havingList: jspb.Message.toObjectList(msg.getHavingList(),
|
|
26609
27177
|
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingClause.toObject, includeInstance),
|
|
26610
|
-
offset: jspb.Message.getFieldWithDefault(msg, 12, 0)
|
|
27178
|
+
offset: jspb.Message.getFieldWithDefault(msg, 12, 0),
|
|
27179
|
+
chained: (f = msg.getChained()) && proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.ChainedJoin.toObject(includeInstance, f)
|
|
26611
27180
|
};
|
|
26612
27181
|
|
|
26613
27182
|
if (includeInstance) {
|
|
@@ -26696,6 +27265,11 @@ proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.deseri
|
|
|
26696
27265
|
var value = /** @type {number} */ (reader.readUint32());
|
|
26697
27266
|
msg.setOffset(value);
|
|
26698
27267
|
break;
|
|
27268
|
+
case 13:
|
|
27269
|
+
var value = new proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.ChainedJoin;
|
|
27270
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.ChainedJoin.deserializeBinaryFromReader);
|
|
27271
|
+
msg.setChained(value);
|
|
27272
|
+
break;
|
|
26699
27273
|
default:
|
|
26700
27274
|
reader.skipField();
|
|
26701
27275
|
break;
|
|
@@ -26813,6 +27387,14 @@ proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.serial
|
|
|
26813
27387
|
f
|
|
26814
27388
|
);
|
|
26815
27389
|
}
|
|
27390
|
+
f = message.getChained();
|
|
27391
|
+
if (f != null) {
|
|
27392
|
+
writer.writeMessage(
|
|
27393
|
+
13,
|
|
27394
|
+
f,
|
|
27395
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.ChainedJoin.serializeBinaryToWriter
|
|
27396
|
+
);
|
|
27397
|
+
}
|
|
26816
27398
|
};
|
|
26817
27399
|
|
|
26818
27400
|
|
|
@@ -26988,6 +27570,166 @@ proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.Select
|
|
|
26988
27570
|
};
|
|
26989
27571
|
|
|
26990
27572
|
|
|
27573
|
+
|
|
27574
|
+
|
|
27575
|
+
|
|
27576
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
27577
|
+
/**
|
|
27578
|
+
* Creates an object representation of this proto.
|
|
27579
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
27580
|
+
* Optional fields that are not set will be set to undefined.
|
|
27581
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
27582
|
+
* For the list of reserved names please see:
|
|
27583
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
27584
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
27585
|
+
* JSPB instance for transitional soy proto support:
|
|
27586
|
+
* http://goto/soy-param-migration
|
|
27587
|
+
* @return {!Object}
|
|
27588
|
+
*/
|
|
27589
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.ChainedJoin.prototype.toObject = function(opt_includeInstance) {
|
|
27590
|
+
return proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.ChainedJoin.toObject(opt_includeInstance, this);
|
|
27591
|
+
};
|
|
27592
|
+
|
|
27593
|
+
|
|
27594
|
+
/**
|
|
27595
|
+
* Static version of the {@see toObject} method.
|
|
27596
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
27597
|
+
* the JSPB instance for transitional soy proto support:
|
|
27598
|
+
* http://goto/soy-param-migration
|
|
27599
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.ChainedJoin} msg The msg instance to transform.
|
|
27600
|
+
* @return {!Object}
|
|
27601
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
27602
|
+
*/
|
|
27603
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.ChainedJoin.toObject = function(includeInstance, msg) {
|
|
27604
|
+
var f, obj = {
|
|
27605
|
+
joinProperty: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
27606
|
+
outerDocumentType: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
27607
|
+
};
|
|
27608
|
+
|
|
27609
|
+
if (includeInstance) {
|
|
27610
|
+
obj.$jspbMessageInstance = msg;
|
|
27611
|
+
}
|
|
27612
|
+
return obj;
|
|
27613
|
+
};
|
|
27614
|
+
}
|
|
27615
|
+
|
|
27616
|
+
|
|
27617
|
+
/**
|
|
27618
|
+
* Deserializes binary data (in protobuf wire format).
|
|
27619
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
27620
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.ChainedJoin}
|
|
27621
|
+
*/
|
|
27622
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.ChainedJoin.deserializeBinary = function(bytes) {
|
|
27623
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
27624
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.ChainedJoin;
|
|
27625
|
+
return proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.ChainedJoin.deserializeBinaryFromReader(msg, reader);
|
|
27626
|
+
};
|
|
27627
|
+
|
|
27628
|
+
|
|
27629
|
+
/**
|
|
27630
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
27631
|
+
* given reader into the given message object.
|
|
27632
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.ChainedJoin} msg The message object to deserialize into.
|
|
27633
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
27634
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.ChainedJoin}
|
|
27635
|
+
*/
|
|
27636
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.ChainedJoin.deserializeBinaryFromReader = function(msg, reader) {
|
|
27637
|
+
while (reader.nextField()) {
|
|
27638
|
+
if (reader.isEndGroup()) {
|
|
27639
|
+
break;
|
|
27640
|
+
}
|
|
27641
|
+
var field = reader.getFieldNumber();
|
|
27642
|
+
switch (field) {
|
|
27643
|
+
case 1:
|
|
27644
|
+
var value = /** @type {string} */ (reader.readString());
|
|
27645
|
+
msg.setJoinProperty(value);
|
|
27646
|
+
break;
|
|
27647
|
+
case 2:
|
|
27648
|
+
var value = /** @type {string} */ (reader.readString());
|
|
27649
|
+
msg.setOuterDocumentType(value);
|
|
27650
|
+
break;
|
|
27651
|
+
default:
|
|
27652
|
+
reader.skipField();
|
|
27653
|
+
break;
|
|
27654
|
+
}
|
|
27655
|
+
}
|
|
27656
|
+
return msg;
|
|
27657
|
+
};
|
|
27658
|
+
|
|
27659
|
+
|
|
27660
|
+
/**
|
|
27661
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
27662
|
+
* @return {!Uint8Array}
|
|
27663
|
+
*/
|
|
27664
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.ChainedJoin.prototype.serializeBinary = function() {
|
|
27665
|
+
var writer = new jspb.BinaryWriter();
|
|
27666
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.ChainedJoin.serializeBinaryToWriter(this, writer);
|
|
27667
|
+
return writer.getResultBuffer();
|
|
27668
|
+
};
|
|
27669
|
+
|
|
27670
|
+
|
|
27671
|
+
/**
|
|
27672
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
27673
|
+
* format), writing to the given BinaryWriter.
|
|
27674
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.ChainedJoin} message
|
|
27675
|
+
* @param {!jspb.BinaryWriter} writer
|
|
27676
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
27677
|
+
*/
|
|
27678
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.ChainedJoin.serializeBinaryToWriter = function(message, writer) {
|
|
27679
|
+
var f = undefined;
|
|
27680
|
+
f = message.getJoinProperty();
|
|
27681
|
+
if (f.length > 0) {
|
|
27682
|
+
writer.writeString(
|
|
27683
|
+
1,
|
|
27684
|
+
f
|
|
27685
|
+
);
|
|
27686
|
+
}
|
|
27687
|
+
f = message.getOuterDocumentType();
|
|
27688
|
+
if (f.length > 0) {
|
|
27689
|
+
writer.writeString(
|
|
27690
|
+
2,
|
|
27691
|
+
f
|
|
27692
|
+
);
|
|
27693
|
+
}
|
|
27694
|
+
};
|
|
27695
|
+
|
|
27696
|
+
|
|
27697
|
+
/**
|
|
27698
|
+
* optional string join_property = 1;
|
|
27699
|
+
* @return {string}
|
|
27700
|
+
*/
|
|
27701
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.ChainedJoin.prototype.getJoinProperty = function() {
|
|
27702
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
27703
|
+
};
|
|
27704
|
+
|
|
27705
|
+
|
|
27706
|
+
/**
|
|
27707
|
+
* @param {string} value
|
|
27708
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.ChainedJoin} returns this
|
|
27709
|
+
*/
|
|
27710
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.ChainedJoin.prototype.setJoinProperty = function(value) {
|
|
27711
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
27712
|
+
};
|
|
27713
|
+
|
|
27714
|
+
|
|
27715
|
+
/**
|
|
27716
|
+
* optional string outer_document_type = 2;
|
|
27717
|
+
* @return {string}
|
|
27718
|
+
*/
|
|
27719
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.ChainedJoin.prototype.getOuterDocumentType = function() {
|
|
27720
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
27721
|
+
};
|
|
27722
|
+
|
|
27723
|
+
|
|
27724
|
+
/**
|
|
27725
|
+
* @param {string} value
|
|
27726
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.ChainedJoin} returns this
|
|
27727
|
+
*/
|
|
27728
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.ChainedJoin.prototype.setOuterDocumentType = function(value) {
|
|
27729
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
27730
|
+
};
|
|
27731
|
+
|
|
27732
|
+
|
|
26991
27733
|
/**
|
|
26992
27734
|
* optional bytes data_contract_id = 1;
|
|
26993
27735
|
* @return {string}
|
|
@@ -27447,6 +28189,43 @@ proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.protot
|
|
|
27447
28189
|
};
|
|
27448
28190
|
|
|
27449
28191
|
|
|
28192
|
+
/**
|
|
28193
|
+
* optional ChainedJoin chained = 13;
|
|
28194
|
+
* @return {?proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.ChainedJoin}
|
|
28195
|
+
*/
|
|
28196
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.getChained = function() {
|
|
28197
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.ChainedJoin} */ (
|
|
28198
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.ChainedJoin, 13));
|
|
28199
|
+
};
|
|
28200
|
+
|
|
28201
|
+
|
|
28202
|
+
/**
|
|
28203
|
+
* @param {?proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.ChainedJoin|undefined} value
|
|
28204
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1} returns this
|
|
28205
|
+
*/
|
|
28206
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.setChained = function(value) {
|
|
28207
|
+
return jspb.Message.setWrapperField(this, 13, value);
|
|
28208
|
+
};
|
|
28209
|
+
|
|
28210
|
+
|
|
28211
|
+
/**
|
|
28212
|
+
* Clears the message field making it undefined.
|
|
28213
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1} returns this
|
|
28214
|
+
*/
|
|
28215
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.clearChained = function() {
|
|
28216
|
+
return this.setChained(undefined);
|
|
28217
|
+
};
|
|
28218
|
+
|
|
28219
|
+
|
|
28220
|
+
/**
|
|
28221
|
+
* Returns whether this field is set.
|
|
28222
|
+
* @return {boolean}
|
|
28223
|
+
*/
|
|
28224
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.hasChained = function() {
|
|
28225
|
+
return jspb.Message.getField(this, 13) != null;
|
|
28226
|
+
};
|
|
28227
|
+
|
|
28228
|
+
|
|
27450
28229
|
/**
|
|
27451
28230
|
* optional GetDocumentsRequestV0 v0 = 1;
|
|
27452
28231
|
* @return {?proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV0}
|
|
@@ -31212,7 +31991,7 @@ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Rank
|
|
|
31212
31991
|
* @private {!Array<!Array<number>>}
|
|
31213
31992
|
* @const
|
|
31214
31993
|
*/
|
|
31215
|
-
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.oneofGroups_ = [[1,2,3,4,5]];
|
|
31994
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.oneofGroups_ = [[1,2,3,4,5,6]];
|
|
31216
31995
|
|
|
31217
31996
|
/**
|
|
31218
31997
|
* @enum {number}
|
|
@@ -31223,7 +32002,8 @@ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Resu
|
|
|
31223
32002
|
COUNTS: 2,
|
|
31224
32003
|
SUMS: 3,
|
|
31225
32004
|
AVERAGES: 4,
|
|
31226
|
-
RANKED: 5
|
|
32005
|
+
RANKED: 5,
|
|
32006
|
+
CHAINED: 6
|
|
31227
32007
|
};
|
|
31228
32008
|
|
|
31229
32009
|
/**
|
|
@@ -31268,7 +32048,8 @@ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Resu
|
|
|
31268
32048
|
counts: (f = msg.getCounts()) && proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults.toObject(includeInstance, f),
|
|
31269
32049
|
sums: (f = msg.getSums()) && proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.SumResults.toObject(includeInstance, f),
|
|
31270
32050
|
averages: (f = msg.getAverages()) && proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.AverageResults.toObject(includeInstance, f),
|
|
31271
|
-
ranked: (f = msg.getRanked()) && proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntries.toObject(includeInstance, f)
|
|
32051
|
+
ranked: (f = msg.getRanked()) && proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntries.toObject(includeInstance, f),
|
|
32052
|
+
chained: (f = msg.getChained()) && proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ChainedDocuments.toObject(includeInstance, f)
|
|
31272
32053
|
};
|
|
31273
32054
|
|
|
31274
32055
|
if (includeInstance) {
|
|
@@ -31330,6 +32111,11 @@ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Resu
|
|
|
31330
32111
|
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntries.deserializeBinaryFromReader);
|
|
31331
32112
|
msg.setRanked(value);
|
|
31332
32113
|
break;
|
|
32114
|
+
case 6:
|
|
32115
|
+
var value = new proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ChainedDocuments;
|
|
32116
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ChainedDocuments.deserializeBinaryFromReader);
|
|
32117
|
+
msg.setChained(value);
|
|
32118
|
+
break;
|
|
31333
32119
|
default:
|
|
31334
32120
|
reader.skipField();
|
|
31335
32121
|
break;
|
|
@@ -31399,6 +32185,14 @@ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Resu
|
|
|
31399
32185
|
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.RankedEntries.serializeBinaryToWriter
|
|
31400
32186
|
);
|
|
31401
32187
|
}
|
|
32188
|
+
f = message.getChained();
|
|
32189
|
+
if (f != null) {
|
|
32190
|
+
writer.writeMessage(
|
|
32191
|
+
6,
|
|
32192
|
+
f,
|
|
32193
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ChainedDocuments.serializeBinaryToWriter
|
|
32194
|
+
);
|
|
32195
|
+
}
|
|
31402
32196
|
};
|
|
31403
32197
|
|
|
31404
32198
|
|
|
@@ -31587,6 +32381,296 @@ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Resu
|
|
|
31587
32381
|
};
|
|
31588
32382
|
|
|
31589
32383
|
|
|
32384
|
+
/**
|
|
32385
|
+
* optional ChainedDocuments chained = 6;
|
|
32386
|
+
* @return {?proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ChainedDocuments}
|
|
32387
|
+
*/
|
|
32388
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.prototype.getChained = function() {
|
|
32389
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ChainedDocuments} */ (
|
|
32390
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ChainedDocuments, 6));
|
|
32391
|
+
};
|
|
32392
|
+
|
|
32393
|
+
|
|
32394
|
+
/**
|
|
32395
|
+
* @param {?proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ChainedDocuments|undefined} value
|
|
32396
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData} returns this
|
|
32397
|
+
*/
|
|
32398
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.prototype.setChained = function(value) {
|
|
32399
|
+
return jspb.Message.setOneofWrapperField(this, 6, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.oneofGroups_[0], value);
|
|
32400
|
+
};
|
|
32401
|
+
|
|
32402
|
+
|
|
32403
|
+
/**
|
|
32404
|
+
* Clears the message field making it undefined.
|
|
32405
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData} returns this
|
|
32406
|
+
*/
|
|
32407
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.prototype.clearChained = function() {
|
|
32408
|
+
return this.setChained(undefined);
|
|
32409
|
+
};
|
|
32410
|
+
|
|
32411
|
+
|
|
32412
|
+
/**
|
|
32413
|
+
* Returns whether this field is set.
|
|
32414
|
+
* @return {boolean}
|
|
32415
|
+
*/
|
|
32416
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.prototype.hasChained = function() {
|
|
32417
|
+
return jspb.Message.getField(this, 6) != null;
|
|
32418
|
+
};
|
|
32419
|
+
|
|
32420
|
+
|
|
32421
|
+
|
|
32422
|
+
/**
|
|
32423
|
+
* List of repeated fields within this message type.
|
|
32424
|
+
* @private {!Array<number>}
|
|
32425
|
+
* @const
|
|
32426
|
+
*/
|
|
32427
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ChainedDocuments.repeatedFields_ = [1,2];
|
|
32428
|
+
|
|
32429
|
+
|
|
32430
|
+
|
|
32431
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
32432
|
+
/**
|
|
32433
|
+
* Creates an object representation of this proto.
|
|
32434
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
32435
|
+
* Optional fields that are not set will be set to undefined.
|
|
32436
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
32437
|
+
* For the list of reserved names please see:
|
|
32438
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
32439
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
32440
|
+
* JSPB instance for transitional soy proto support:
|
|
32441
|
+
* http://goto/soy-param-migration
|
|
32442
|
+
* @return {!Object}
|
|
32443
|
+
*/
|
|
32444
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ChainedDocuments.prototype.toObject = function(opt_includeInstance) {
|
|
32445
|
+
return proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ChainedDocuments.toObject(opt_includeInstance, this);
|
|
32446
|
+
};
|
|
32447
|
+
|
|
32448
|
+
|
|
32449
|
+
/**
|
|
32450
|
+
* Static version of the {@see toObject} method.
|
|
32451
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
32452
|
+
* the JSPB instance for transitional soy proto support:
|
|
32453
|
+
* http://goto/soy-param-migration
|
|
32454
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ChainedDocuments} msg The msg instance to transform.
|
|
32455
|
+
* @return {!Object}
|
|
32456
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
32457
|
+
*/
|
|
32458
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ChainedDocuments.toObject = function(includeInstance, msg) {
|
|
32459
|
+
var f, obj = {
|
|
32460
|
+
innerDocumentsList: msg.getInnerDocumentsList_asB64(),
|
|
32461
|
+
outerDocumentsList: msg.getOuterDocumentsList_asB64()
|
|
32462
|
+
};
|
|
32463
|
+
|
|
32464
|
+
if (includeInstance) {
|
|
32465
|
+
obj.$jspbMessageInstance = msg;
|
|
32466
|
+
}
|
|
32467
|
+
return obj;
|
|
32468
|
+
};
|
|
32469
|
+
}
|
|
32470
|
+
|
|
32471
|
+
|
|
32472
|
+
/**
|
|
32473
|
+
* Deserializes binary data (in protobuf wire format).
|
|
32474
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
32475
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ChainedDocuments}
|
|
32476
|
+
*/
|
|
32477
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ChainedDocuments.deserializeBinary = function(bytes) {
|
|
32478
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
32479
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ChainedDocuments;
|
|
32480
|
+
return proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ChainedDocuments.deserializeBinaryFromReader(msg, reader);
|
|
32481
|
+
};
|
|
32482
|
+
|
|
32483
|
+
|
|
32484
|
+
/**
|
|
32485
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
32486
|
+
* given reader into the given message object.
|
|
32487
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ChainedDocuments} msg The message object to deserialize into.
|
|
32488
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
32489
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ChainedDocuments}
|
|
32490
|
+
*/
|
|
32491
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ChainedDocuments.deserializeBinaryFromReader = function(msg, reader) {
|
|
32492
|
+
while (reader.nextField()) {
|
|
32493
|
+
if (reader.isEndGroup()) {
|
|
32494
|
+
break;
|
|
32495
|
+
}
|
|
32496
|
+
var field = reader.getFieldNumber();
|
|
32497
|
+
switch (field) {
|
|
32498
|
+
case 1:
|
|
32499
|
+
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
32500
|
+
msg.addInnerDocuments(value);
|
|
32501
|
+
break;
|
|
32502
|
+
case 2:
|
|
32503
|
+
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
32504
|
+
msg.addOuterDocuments(value);
|
|
32505
|
+
break;
|
|
32506
|
+
default:
|
|
32507
|
+
reader.skipField();
|
|
32508
|
+
break;
|
|
32509
|
+
}
|
|
32510
|
+
}
|
|
32511
|
+
return msg;
|
|
32512
|
+
};
|
|
32513
|
+
|
|
32514
|
+
|
|
32515
|
+
/**
|
|
32516
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
32517
|
+
* @return {!Uint8Array}
|
|
32518
|
+
*/
|
|
32519
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ChainedDocuments.prototype.serializeBinary = function() {
|
|
32520
|
+
var writer = new jspb.BinaryWriter();
|
|
32521
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ChainedDocuments.serializeBinaryToWriter(this, writer);
|
|
32522
|
+
return writer.getResultBuffer();
|
|
32523
|
+
};
|
|
32524
|
+
|
|
32525
|
+
|
|
32526
|
+
/**
|
|
32527
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
32528
|
+
* format), writing to the given BinaryWriter.
|
|
32529
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ChainedDocuments} message
|
|
32530
|
+
* @param {!jspb.BinaryWriter} writer
|
|
32531
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
32532
|
+
*/
|
|
32533
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ChainedDocuments.serializeBinaryToWriter = function(message, writer) {
|
|
32534
|
+
var f = undefined;
|
|
32535
|
+
f = message.getInnerDocumentsList_asU8();
|
|
32536
|
+
if (f.length > 0) {
|
|
32537
|
+
writer.writeRepeatedBytes(
|
|
32538
|
+
1,
|
|
32539
|
+
f
|
|
32540
|
+
);
|
|
32541
|
+
}
|
|
32542
|
+
f = message.getOuterDocumentsList_asU8();
|
|
32543
|
+
if (f.length > 0) {
|
|
32544
|
+
writer.writeRepeatedBytes(
|
|
32545
|
+
2,
|
|
32546
|
+
f
|
|
32547
|
+
);
|
|
32548
|
+
}
|
|
32549
|
+
};
|
|
32550
|
+
|
|
32551
|
+
|
|
32552
|
+
/**
|
|
32553
|
+
* repeated bytes inner_documents = 1;
|
|
32554
|
+
* @return {!Array<string>}
|
|
32555
|
+
*/
|
|
32556
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ChainedDocuments.prototype.getInnerDocumentsList = function() {
|
|
32557
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
32558
|
+
};
|
|
32559
|
+
|
|
32560
|
+
|
|
32561
|
+
/**
|
|
32562
|
+
* repeated bytes inner_documents = 1;
|
|
32563
|
+
* This is a type-conversion wrapper around `getInnerDocumentsList()`
|
|
32564
|
+
* @return {!Array<string>}
|
|
32565
|
+
*/
|
|
32566
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ChainedDocuments.prototype.getInnerDocumentsList_asB64 = function() {
|
|
32567
|
+
return /** @type {!Array<string>} */ (jspb.Message.bytesListAsB64(
|
|
32568
|
+
this.getInnerDocumentsList()));
|
|
32569
|
+
};
|
|
32570
|
+
|
|
32571
|
+
|
|
32572
|
+
/**
|
|
32573
|
+
* repeated bytes inner_documents = 1;
|
|
32574
|
+
* Note that Uint8Array is not supported on all browsers.
|
|
32575
|
+
* @see http://caniuse.com/Uint8Array
|
|
32576
|
+
* This is a type-conversion wrapper around `getInnerDocumentsList()`
|
|
32577
|
+
* @return {!Array<!Uint8Array>}
|
|
32578
|
+
*/
|
|
32579
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ChainedDocuments.prototype.getInnerDocumentsList_asU8 = function() {
|
|
32580
|
+
return /** @type {!Array<!Uint8Array>} */ (jspb.Message.bytesListAsU8(
|
|
32581
|
+
this.getInnerDocumentsList()));
|
|
32582
|
+
};
|
|
32583
|
+
|
|
32584
|
+
|
|
32585
|
+
/**
|
|
32586
|
+
* @param {!(Array<!Uint8Array>|Array<string>)} value
|
|
32587
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ChainedDocuments} returns this
|
|
32588
|
+
*/
|
|
32589
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ChainedDocuments.prototype.setInnerDocumentsList = function(value) {
|
|
32590
|
+
return jspb.Message.setField(this, 1, value || []);
|
|
32591
|
+
};
|
|
32592
|
+
|
|
32593
|
+
|
|
32594
|
+
/**
|
|
32595
|
+
* @param {!(string|Uint8Array)} value
|
|
32596
|
+
* @param {number=} opt_index
|
|
32597
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ChainedDocuments} returns this
|
|
32598
|
+
*/
|
|
32599
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ChainedDocuments.prototype.addInnerDocuments = function(value, opt_index) {
|
|
32600
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
32601
|
+
};
|
|
32602
|
+
|
|
32603
|
+
|
|
32604
|
+
/**
|
|
32605
|
+
* Clears the list making it empty but non-null.
|
|
32606
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ChainedDocuments} returns this
|
|
32607
|
+
*/
|
|
32608
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ChainedDocuments.prototype.clearInnerDocumentsList = function() {
|
|
32609
|
+
return this.setInnerDocumentsList([]);
|
|
32610
|
+
};
|
|
32611
|
+
|
|
32612
|
+
|
|
32613
|
+
/**
|
|
32614
|
+
* repeated bytes outer_documents = 2;
|
|
32615
|
+
* @return {!Array<string>}
|
|
32616
|
+
*/
|
|
32617
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ChainedDocuments.prototype.getOuterDocumentsList = function() {
|
|
32618
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
|
|
32619
|
+
};
|
|
32620
|
+
|
|
32621
|
+
|
|
32622
|
+
/**
|
|
32623
|
+
* repeated bytes outer_documents = 2;
|
|
32624
|
+
* This is a type-conversion wrapper around `getOuterDocumentsList()`
|
|
32625
|
+
* @return {!Array<string>}
|
|
32626
|
+
*/
|
|
32627
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ChainedDocuments.prototype.getOuterDocumentsList_asB64 = function() {
|
|
32628
|
+
return /** @type {!Array<string>} */ (jspb.Message.bytesListAsB64(
|
|
32629
|
+
this.getOuterDocumentsList()));
|
|
32630
|
+
};
|
|
32631
|
+
|
|
32632
|
+
|
|
32633
|
+
/**
|
|
32634
|
+
* repeated bytes outer_documents = 2;
|
|
32635
|
+
* Note that Uint8Array is not supported on all browsers.
|
|
32636
|
+
* @see http://caniuse.com/Uint8Array
|
|
32637
|
+
* This is a type-conversion wrapper around `getOuterDocumentsList()`
|
|
32638
|
+
* @return {!Array<!Uint8Array>}
|
|
32639
|
+
*/
|
|
32640
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ChainedDocuments.prototype.getOuterDocumentsList_asU8 = function() {
|
|
32641
|
+
return /** @type {!Array<!Uint8Array>} */ (jspb.Message.bytesListAsU8(
|
|
32642
|
+
this.getOuterDocumentsList()));
|
|
32643
|
+
};
|
|
32644
|
+
|
|
32645
|
+
|
|
32646
|
+
/**
|
|
32647
|
+
* @param {!(Array<!Uint8Array>|Array<string>)} value
|
|
32648
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ChainedDocuments} returns this
|
|
32649
|
+
*/
|
|
32650
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ChainedDocuments.prototype.setOuterDocumentsList = function(value) {
|
|
32651
|
+
return jspb.Message.setField(this, 2, value || []);
|
|
32652
|
+
};
|
|
32653
|
+
|
|
32654
|
+
|
|
32655
|
+
/**
|
|
32656
|
+
* @param {!(string|Uint8Array)} value
|
|
32657
|
+
* @param {number=} opt_index
|
|
32658
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ChainedDocuments} returns this
|
|
32659
|
+
*/
|
|
32660
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ChainedDocuments.prototype.addOuterDocuments = function(value, opt_index) {
|
|
32661
|
+
return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
|
|
32662
|
+
};
|
|
32663
|
+
|
|
32664
|
+
|
|
32665
|
+
/**
|
|
32666
|
+
* Clears the list making it empty but non-null.
|
|
32667
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ChainedDocuments} returns this
|
|
32668
|
+
*/
|
|
32669
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ChainedDocuments.prototype.clearOuterDocumentsList = function() {
|
|
32670
|
+
return this.setOuterDocumentsList([]);
|
|
32671
|
+
};
|
|
32672
|
+
|
|
32673
|
+
|
|
31590
32674
|
/**
|
|
31591
32675
|
* optional ResultData data = 1;
|
|
31592
32676
|
* @return {?proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData}
|