@dashevo/dapi-grpc 4.2.0-dev.8 → 4.2.0-dev.9
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 +1 -0
- package/clients/drive/v0/nodejs/drive_pbjs.js +1477 -268
- package/clients/platform/v0/nodejs/platform_pbjs.js +1477 -268
- package/clients/platform/v0/nodejs/platform_protoc.js +1285 -5
- package/clients/platform/v0/web/platform_pb.d.ts +167 -0
- package/clients/platform/v0/web/platform_pb.js +1285 -5
- package/package.json +2 -2
- package/protos/platform/v0/platform.proto +103 -0
|
@@ -167,6 +167,9 @@ goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocume
|
|
|
167
167
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.Select', null, { proto });
|
|
168
168
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.Select.Function', null, { proto });
|
|
169
169
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.StartCase', null, { proto });
|
|
170
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery', null, { proto });
|
|
171
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.Binding', null, { proto });
|
|
172
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.Kind', null, { proto });
|
|
170
173
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingAggregate', null, { proto });
|
|
171
174
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingAggregate.Function', null, { proto });
|
|
172
175
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingClause', null, { proto });
|
|
@@ -191,6 +194,9 @@ goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocum
|
|
|
191
194
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.AverageResults', null, { proto });
|
|
192
195
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.AverageResults.VariantCase', null, { proto });
|
|
193
196
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ChainedDocuments', null, { proto });
|
|
197
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments', null, { proto });
|
|
198
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments.SubQueryResult', null, { proto });
|
|
199
|
+
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments.SubQueryResult.ResultCase', null, { proto });
|
|
194
200
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries', null, { proto });
|
|
195
201
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntry', null, { proto });
|
|
196
202
|
goog.exportSymbol('proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountResults', null, { proto });
|
|
@@ -2431,6 +2437,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
2431
2437
|
*/
|
|
2432
2438
|
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.ChainedJoin.displayName = 'proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.ChainedJoin';
|
|
2433
2439
|
}
|
|
2440
|
+
/**
|
|
2441
|
+
* Generated by JsPbCodeGenerator.
|
|
2442
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2443
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2444
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2445
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2446
|
+
* valid.
|
|
2447
|
+
* @extends {jspb.Message}
|
|
2448
|
+
* @constructor
|
|
2449
|
+
*/
|
|
2450
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery = function(opt_data) {
|
|
2451
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.repeatedFields_, null);
|
|
2452
|
+
};
|
|
2453
|
+
goog.inherits(proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery, jspb.Message);
|
|
2454
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2455
|
+
/**
|
|
2456
|
+
* @public
|
|
2457
|
+
* @override
|
|
2458
|
+
*/
|
|
2459
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.displayName = 'proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery';
|
|
2460
|
+
}
|
|
2461
|
+
/**
|
|
2462
|
+
* Generated by JsPbCodeGenerator.
|
|
2463
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2464
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2465
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2466
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2467
|
+
* valid.
|
|
2468
|
+
* @extends {jspb.Message}
|
|
2469
|
+
* @constructor
|
|
2470
|
+
*/
|
|
2471
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.Binding = function(opt_data) {
|
|
2472
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2473
|
+
};
|
|
2474
|
+
goog.inherits(proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.Binding, jspb.Message);
|
|
2475
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2476
|
+
/**
|
|
2477
|
+
* @public
|
|
2478
|
+
* @override
|
|
2479
|
+
*/
|
|
2480
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.Binding.displayName = 'proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.Binding';
|
|
2481
|
+
}
|
|
2434
2482
|
/**
|
|
2435
2483
|
* Generated by JsPbCodeGenerator.
|
|
2436
2484
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -2830,6 +2878,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
2830
2878
|
*/
|
|
2831
2879
|
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ChainedDocuments.displayName = 'proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ChainedDocuments';
|
|
2832
2880
|
}
|
|
2881
|
+
/**
|
|
2882
|
+
* Generated by JsPbCodeGenerator.
|
|
2883
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2884
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2885
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2886
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2887
|
+
* valid.
|
|
2888
|
+
* @extends {jspb.Message}
|
|
2889
|
+
* @constructor
|
|
2890
|
+
*/
|
|
2891
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments = function(opt_data) {
|
|
2892
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments.repeatedFields_, null);
|
|
2893
|
+
};
|
|
2894
|
+
goog.inherits(proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments, jspb.Message);
|
|
2895
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2896
|
+
/**
|
|
2897
|
+
* @public
|
|
2898
|
+
* @override
|
|
2899
|
+
*/
|
|
2900
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments.displayName = 'proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments';
|
|
2901
|
+
}
|
|
2902
|
+
/**
|
|
2903
|
+
* Generated by JsPbCodeGenerator.
|
|
2904
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2905
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2906
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2907
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2908
|
+
* valid.
|
|
2909
|
+
* @extends {jspb.Message}
|
|
2910
|
+
* @constructor
|
|
2911
|
+
*/
|
|
2912
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments.SubQueryResult = function(opt_data) {
|
|
2913
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments.SubQueryResult.oneofGroups_);
|
|
2914
|
+
};
|
|
2915
|
+
goog.inherits(proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments.SubQueryResult, jspb.Message);
|
|
2916
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2917
|
+
/**
|
|
2918
|
+
* @public
|
|
2919
|
+
* @override
|
|
2920
|
+
*/
|
|
2921
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments.SubQueryResult.displayName = 'proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments.SubQueryResult';
|
|
2922
|
+
}
|
|
2833
2923
|
/**
|
|
2834
2924
|
* Generated by JsPbCodeGenerator.
|
|
2835
2925
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -27101,7 +27191,7 @@ proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV0.protot
|
|
|
27101
27191
|
* @private {!Array<number>}
|
|
27102
27192
|
* @const
|
|
27103
27193
|
*/
|
|
27104
|
-
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.repeatedFields_ = [3,4,9,10,11];
|
|
27194
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.repeatedFields_ = [3,4,9,10,11,14];
|
|
27105
27195
|
|
|
27106
27196
|
/**
|
|
27107
27197
|
* Oneof group definitions for this message. Each group defines the field
|
|
@@ -27176,7 +27266,9 @@ proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.toObje
|
|
|
27176
27266
|
havingList: jspb.Message.toObjectList(msg.getHavingList(),
|
|
27177
27267
|
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.HavingClause.toObject, includeInstance),
|
|
27178
27268
|
offset: jspb.Message.getFieldWithDefault(msg, 12, 0),
|
|
27179
|
-
chained: (f = msg.getChained()) && proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.ChainedJoin.toObject(includeInstance, f)
|
|
27269
|
+
chained: (f = msg.getChained()) && proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.ChainedJoin.toObject(includeInstance, f),
|
|
27270
|
+
subQueriesList: jspb.Message.toObjectList(msg.getSubQueriesList(),
|
|
27271
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.toObject, includeInstance)
|
|
27180
27272
|
};
|
|
27181
27273
|
|
|
27182
27274
|
if (includeInstance) {
|
|
@@ -27270,6 +27362,11 @@ proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.deseri
|
|
|
27270
27362
|
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.ChainedJoin.deserializeBinaryFromReader);
|
|
27271
27363
|
msg.setChained(value);
|
|
27272
27364
|
break;
|
|
27365
|
+
case 14:
|
|
27366
|
+
var value = new proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery;
|
|
27367
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.deserializeBinaryFromReader);
|
|
27368
|
+
msg.addSubQueries(value);
|
|
27369
|
+
break;
|
|
27273
27370
|
default:
|
|
27274
27371
|
reader.skipField();
|
|
27275
27372
|
break;
|
|
@@ -27395,6 +27492,14 @@ proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.serial
|
|
|
27395
27492
|
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.ChainedJoin.serializeBinaryToWriter
|
|
27396
27493
|
);
|
|
27397
27494
|
}
|
|
27495
|
+
f = message.getSubQueriesList();
|
|
27496
|
+
if (f.length > 0) {
|
|
27497
|
+
writer.writeRepeatedMessage(
|
|
27498
|
+
14,
|
|
27499
|
+
f,
|
|
27500
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.serializeBinaryToWriter
|
|
27501
|
+
);
|
|
27502
|
+
}
|
|
27398
27503
|
};
|
|
27399
27504
|
|
|
27400
27505
|
|
|
@@ -27730,6 +27835,630 @@ proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.Chaine
|
|
|
27730
27835
|
};
|
|
27731
27836
|
|
|
27732
27837
|
|
|
27838
|
+
|
|
27839
|
+
/**
|
|
27840
|
+
* List of repeated fields within this message type.
|
|
27841
|
+
* @private {!Array<number>}
|
|
27842
|
+
* @const
|
|
27843
|
+
*/
|
|
27844
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.repeatedFields_ = [3,4];
|
|
27845
|
+
|
|
27846
|
+
|
|
27847
|
+
|
|
27848
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
27849
|
+
/**
|
|
27850
|
+
* Creates an object representation of this proto.
|
|
27851
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
27852
|
+
* Optional fields that are not set will be set to undefined.
|
|
27853
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
27854
|
+
* For the list of reserved names please see:
|
|
27855
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
27856
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
27857
|
+
* JSPB instance for transitional soy proto support:
|
|
27858
|
+
* http://goto/soy-param-migration
|
|
27859
|
+
* @return {!Object}
|
|
27860
|
+
*/
|
|
27861
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.prototype.toObject = function(opt_includeInstance) {
|
|
27862
|
+
return proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.toObject(opt_includeInstance, this);
|
|
27863
|
+
};
|
|
27864
|
+
|
|
27865
|
+
|
|
27866
|
+
/**
|
|
27867
|
+
* Static version of the {@see toObject} method.
|
|
27868
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
27869
|
+
* the JSPB instance for transitional soy proto support:
|
|
27870
|
+
* http://goto/soy-param-migration
|
|
27871
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery} msg The msg instance to transform.
|
|
27872
|
+
* @return {!Object}
|
|
27873
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
27874
|
+
*/
|
|
27875
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.toObject = function(includeInstance, msg) {
|
|
27876
|
+
var f, obj = {
|
|
27877
|
+
dataContractId: msg.getDataContractId_asB64(),
|
|
27878
|
+
documentType: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
27879
|
+
whereClausesList: jspb.Message.toObjectList(msg.getWhereClausesList(),
|
|
27880
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.WhereClause.toObject, includeInstance),
|
|
27881
|
+
orderByList: jspb.Message.toObjectList(msg.getOrderByList(),
|
|
27882
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.OrderClause.toObject, includeInstance),
|
|
27883
|
+
limit: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
27884
|
+
kind: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
27885
|
+
bind: (f = msg.getBind()) && proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.Binding.toObject(includeInstance, f)
|
|
27886
|
+
};
|
|
27887
|
+
|
|
27888
|
+
if (includeInstance) {
|
|
27889
|
+
obj.$jspbMessageInstance = msg;
|
|
27890
|
+
}
|
|
27891
|
+
return obj;
|
|
27892
|
+
};
|
|
27893
|
+
}
|
|
27894
|
+
|
|
27895
|
+
|
|
27896
|
+
/**
|
|
27897
|
+
* Deserializes binary data (in protobuf wire format).
|
|
27898
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
27899
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery}
|
|
27900
|
+
*/
|
|
27901
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.deserializeBinary = function(bytes) {
|
|
27902
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
27903
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery;
|
|
27904
|
+
return proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.deserializeBinaryFromReader(msg, reader);
|
|
27905
|
+
};
|
|
27906
|
+
|
|
27907
|
+
|
|
27908
|
+
/**
|
|
27909
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
27910
|
+
* given reader into the given message object.
|
|
27911
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery} msg The message object to deserialize into.
|
|
27912
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
27913
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery}
|
|
27914
|
+
*/
|
|
27915
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.deserializeBinaryFromReader = function(msg, reader) {
|
|
27916
|
+
while (reader.nextField()) {
|
|
27917
|
+
if (reader.isEndGroup()) {
|
|
27918
|
+
break;
|
|
27919
|
+
}
|
|
27920
|
+
var field = reader.getFieldNumber();
|
|
27921
|
+
switch (field) {
|
|
27922
|
+
case 1:
|
|
27923
|
+
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
27924
|
+
msg.setDataContractId(value);
|
|
27925
|
+
break;
|
|
27926
|
+
case 2:
|
|
27927
|
+
var value = /** @type {string} */ (reader.readString());
|
|
27928
|
+
msg.setDocumentType(value);
|
|
27929
|
+
break;
|
|
27930
|
+
case 3:
|
|
27931
|
+
var value = new proto.org.dash.platform.dapi.v0.GetDocumentsRequest.WhereClause;
|
|
27932
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetDocumentsRequest.WhereClause.deserializeBinaryFromReader);
|
|
27933
|
+
msg.addWhereClauses(value);
|
|
27934
|
+
break;
|
|
27935
|
+
case 4:
|
|
27936
|
+
var value = new proto.org.dash.platform.dapi.v0.GetDocumentsRequest.OrderClause;
|
|
27937
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetDocumentsRequest.OrderClause.deserializeBinaryFromReader);
|
|
27938
|
+
msg.addOrderBy(value);
|
|
27939
|
+
break;
|
|
27940
|
+
case 5:
|
|
27941
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
27942
|
+
msg.setLimit(value);
|
|
27943
|
+
break;
|
|
27944
|
+
case 6:
|
|
27945
|
+
var value = /** @type {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.Kind} */ (reader.readEnum());
|
|
27946
|
+
msg.setKind(value);
|
|
27947
|
+
break;
|
|
27948
|
+
case 7:
|
|
27949
|
+
var value = new proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.Binding;
|
|
27950
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.Binding.deserializeBinaryFromReader);
|
|
27951
|
+
msg.setBind(value);
|
|
27952
|
+
break;
|
|
27953
|
+
default:
|
|
27954
|
+
reader.skipField();
|
|
27955
|
+
break;
|
|
27956
|
+
}
|
|
27957
|
+
}
|
|
27958
|
+
return msg;
|
|
27959
|
+
};
|
|
27960
|
+
|
|
27961
|
+
|
|
27962
|
+
/**
|
|
27963
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
27964
|
+
* @return {!Uint8Array}
|
|
27965
|
+
*/
|
|
27966
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.prototype.serializeBinary = function() {
|
|
27967
|
+
var writer = new jspb.BinaryWriter();
|
|
27968
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.serializeBinaryToWriter(this, writer);
|
|
27969
|
+
return writer.getResultBuffer();
|
|
27970
|
+
};
|
|
27971
|
+
|
|
27972
|
+
|
|
27973
|
+
/**
|
|
27974
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
27975
|
+
* format), writing to the given BinaryWriter.
|
|
27976
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery} message
|
|
27977
|
+
* @param {!jspb.BinaryWriter} writer
|
|
27978
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
27979
|
+
*/
|
|
27980
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.serializeBinaryToWriter = function(message, writer) {
|
|
27981
|
+
var f = undefined;
|
|
27982
|
+
f = message.getDataContractId_asU8();
|
|
27983
|
+
if (f.length > 0) {
|
|
27984
|
+
writer.writeBytes(
|
|
27985
|
+
1,
|
|
27986
|
+
f
|
|
27987
|
+
);
|
|
27988
|
+
}
|
|
27989
|
+
f = message.getDocumentType();
|
|
27990
|
+
if (f.length > 0) {
|
|
27991
|
+
writer.writeString(
|
|
27992
|
+
2,
|
|
27993
|
+
f
|
|
27994
|
+
);
|
|
27995
|
+
}
|
|
27996
|
+
f = message.getWhereClausesList();
|
|
27997
|
+
if (f.length > 0) {
|
|
27998
|
+
writer.writeRepeatedMessage(
|
|
27999
|
+
3,
|
|
28000
|
+
f,
|
|
28001
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.WhereClause.serializeBinaryToWriter
|
|
28002
|
+
);
|
|
28003
|
+
}
|
|
28004
|
+
f = message.getOrderByList();
|
|
28005
|
+
if (f.length > 0) {
|
|
28006
|
+
writer.writeRepeatedMessage(
|
|
28007
|
+
4,
|
|
28008
|
+
f,
|
|
28009
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.OrderClause.serializeBinaryToWriter
|
|
28010
|
+
);
|
|
28011
|
+
}
|
|
28012
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 5));
|
|
28013
|
+
if (f != null) {
|
|
28014
|
+
writer.writeUint32(
|
|
28015
|
+
5,
|
|
28016
|
+
f
|
|
28017
|
+
);
|
|
28018
|
+
}
|
|
28019
|
+
f = message.getKind();
|
|
28020
|
+
if (f !== 0.0) {
|
|
28021
|
+
writer.writeEnum(
|
|
28022
|
+
6,
|
|
28023
|
+
f
|
|
28024
|
+
);
|
|
28025
|
+
}
|
|
28026
|
+
f = message.getBind();
|
|
28027
|
+
if (f != null) {
|
|
28028
|
+
writer.writeMessage(
|
|
28029
|
+
7,
|
|
28030
|
+
f,
|
|
28031
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.Binding.serializeBinaryToWriter
|
|
28032
|
+
);
|
|
28033
|
+
}
|
|
28034
|
+
};
|
|
28035
|
+
|
|
28036
|
+
|
|
28037
|
+
/**
|
|
28038
|
+
* @enum {number}
|
|
28039
|
+
*/
|
|
28040
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.Kind = {
|
|
28041
|
+
DOCUMENTS: 0,
|
|
28042
|
+
COUNT: 1
|
|
28043
|
+
};
|
|
28044
|
+
|
|
28045
|
+
|
|
28046
|
+
|
|
28047
|
+
|
|
28048
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
28049
|
+
/**
|
|
28050
|
+
* Creates an object representation of this proto.
|
|
28051
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
28052
|
+
* Optional fields that are not set will be set to undefined.
|
|
28053
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
28054
|
+
* For the list of reserved names please see:
|
|
28055
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
28056
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
28057
|
+
* JSPB instance for transitional soy proto support:
|
|
28058
|
+
* http://goto/soy-param-migration
|
|
28059
|
+
* @return {!Object}
|
|
28060
|
+
*/
|
|
28061
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.Binding.prototype.toObject = function(opt_includeInstance) {
|
|
28062
|
+
return proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.Binding.toObject(opt_includeInstance, this);
|
|
28063
|
+
};
|
|
28064
|
+
|
|
28065
|
+
|
|
28066
|
+
/**
|
|
28067
|
+
* Static version of the {@see toObject} method.
|
|
28068
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
28069
|
+
* the JSPB instance for transitional soy proto support:
|
|
28070
|
+
* http://goto/soy-param-migration
|
|
28071
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.Binding} msg The msg instance to transform.
|
|
28072
|
+
* @return {!Object}
|
|
28073
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
28074
|
+
*/
|
|
28075
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.Binding.toObject = function(includeInstance, msg) {
|
|
28076
|
+
var f, obj = {
|
|
28077
|
+
source: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
28078
|
+
sourceProperty: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
28079
|
+
field: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
28080
|
+
};
|
|
28081
|
+
|
|
28082
|
+
if (includeInstance) {
|
|
28083
|
+
obj.$jspbMessageInstance = msg;
|
|
28084
|
+
}
|
|
28085
|
+
return obj;
|
|
28086
|
+
};
|
|
28087
|
+
}
|
|
28088
|
+
|
|
28089
|
+
|
|
28090
|
+
/**
|
|
28091
|
+
* Deserializes binary data (in protobuf wire format).
|
|
28092
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
28093
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.Binding}
|
|
28094
|
+
*/
|
|
28095
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.Binding.deserializeBinary = function(bytes) {
|
|
28096
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
28097
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.Binding;
|
|
28098
|
+
return proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.Binding.deserializeBinaryFromReader(msg, reader);
|
|
28099
|
+
};
|
|
28100
|
+
|
|
28101
|
+
|
|
28102
|
+
/**
|
|
28103
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
28104
|
+
* given reader into the given message object.
|
|
28105
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.Binding} msg The message object to deserialize into.
|
|
28106
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
28107
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.Binding}
|
|
28108
|
+
*/
|
|
28109
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.Binding.deserializeBinaryFromReader = function(msg, reader) {
|
|
28110
|
+
while (reader.nextField()) {
|
|
28111
|
+
if (reader.isEndGroup()) {
|
|
28112
|
+
break;
|
|
28113
|
+
}
|
|
28114
|
+
var field = reader.getFieldNumber();
|
|
28115
|
+
switch (field) {
|
|
28116
|
+
case 1:
|
|
28117
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
28118
|
+
msg.setSource(value);
|
|
28119
|
+
break;
|
|
28120
|
+
case 2:
|
|
28121
|
+
var value = /** @type {string} */ (reader.readString());
|
|
28122
|
+
msg.setSourceProperty(value);
|
|
28123
|
+
break;
|
|
28124
|
+
case 3:
|
|
28125
|
+
var value = /** @type {string} */ (reader.readString());
|
|
28126
|
+
msg.setField(value);
|
|
28127
|
+
break;
|
|
28128
|
+
default:
|
|
28129
|
+
reader.skipField();
|
|
28130
|
+
break;
|
|
28131
|
+
}
|
|
28132
|
+
}
|
|
28133
|
+
return msg;
|
|
28134
|
+
};
|
|
28135
|
+
|
|
28136
|
+
|
|
28137
|
+
/**
|
|
28138
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
28139
|
+
* @return {!Uint8Array}
|
|
28140
|
+
*/
|
|
28141
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.Binding.prototype.serializeBinary = function() {
|
|
28142
|
+
var writer = new jspb.BinaryWriter();
|
|
28143
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.Binding.serializeBinaryToWriter(this, writer);
|
|
28144
|
+
return writer.getResultBuffer();
|
|
28145
|
+
};
|
|
28146
|
+
|
|
28147
|
+
|
|
28148
|
+
/**
|
|
28149
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
28150
|
+
* format), writing to the given BinaryWriter.
|
|
28151
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.Binding} message
|
|
28152
|
+
* @param {!jspb.BinaryWriter} writer
|
|
28153
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
28154
|
+
*/
|
|
28155
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.Binding.serializeBinaryToWriter = function(message, writer) {
|
|
28156
|
+
var f = undefined;
|
|
28157
|
+
f = message.getSource();
|
|
28158
|
+
if (f !== 0) {
|
|
28159
|
+
writer.writeUint32(
|
|
28160
|
+
1,
|
|
28161
|
+
f
|
|
28162
|
+
);
|
|
28163
|
+
}
|
|
28164
|
+
f = message.getSourceProperty();
|
|
28165
|
+
if (f.length > 0) {
|
|
28166
|
+
writer.writeString(
|
|
28167
|
+
2,
|
|
28168
|
+
f
|
|
28169
|
+
);
|
|
28170
|
+
}
|
|
28171
|
+
f = message.getField();
|
|
28172
|
+
if (f.length > 0) {
|
|
28173
|
+
writer.writeString(
|
|
28174
|
+
3,
|
|
28175
|
+
f
|
|
28176
|
+
);
|
|
28177
|
+
}
|
|
28178
|
+
};
|
|
28179
|
+
|
|
28180
|
+
|
|
28181
|
+
/**
|
|
28182
|
+
* optional uint32 source = 1;
|
|
28183
|
+
* @return {number}
|
|
28184
|
+
*/
|
|
28185
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.Binding.prototype.getSource = function() {
|
|
28186
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
28187
|
+
};
|
|
28188
|
+
|
|
28189
|
+
|
|
28190
|
+
/**
|
|
28191
|
+
* @param {number} value
|
|
28192
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.Binding} returns this
|
|
28193
|
+
*/
|
|
28194
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.Binding.prototype.setSource = function(value) {
|
|
28195
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
28196
|
+
};
|
|
28197
|
+
|
|
28198
|
+
|
|
28199
|
+
/**
|
|
28200
|
+
* optional string source_property = 2;
|
|
28201
|
+
* @return {string}
|
|
28202
|
+
*/
|
|
28203
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.Binding.prototype.getSourceProperty = function() {
|
|
28204
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
28205
|
+
};
|
|
28206
|
+
|
|
28207
|
+
|
|
28208
|
+
/**
|
|
28209
|
+
* @param {string} value
|
|
28210
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.Binding} returns this
|
|
28211
|
+
*/
|
|
28212
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.Binding.prototype.setSourceProperty = function(value) {
|
|
28213
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
28214
|
+
};
|
|
28215
|
+
|
|
28216
|
+
|
|
28217
|
+
/**
|
|
28218
|
+
* optional string field = 3;
|
|
28219
|
+
* @return {string}
|
|
28220
|
+
*/
|
|
28221
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.Binding.prototype.getField = function() {
|
|
28222
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
28223
|
+
};
|
|
28224
|
+
|
|
28225
|
+
|
|
28226
|
+
/**
|
|
28227
|
+
* @param {string} value
|
|
28228
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.Binding} returns this
|
|
28229
|
+
*/
|
|
28230
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.Binding.prototype.setField = function(value) {
|
|
28231
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
28232
|
+
};
|
|
28233
|
+
|
|
28234
|
+
|
|
28235
|
+
/**
|
|
28236
|
+
* optional bytes data_contract_id = 1;
|
|
28237
|
+
* @return {string}
|
|
28238
|
+
*/
|
|
28239
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.prototype.getDataContractId = function() {
|
|
28240
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
28241
|
+
};
|
|
28242
|
+
|
|
28243
|
+
|
|
28244
|
+
/**
|
|
28245
|
+
* optional bytes data_contract_id = 1;
|
|
28246
|
+
* This is a type-conversion wrapper around `getDataContractId()`
|
|
28247
|
+
* @return {string}
|
|
28248
|
+
*/
|
|
28249
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.prototype.getDataContractId_asB64 = function() {
|
|
28250
|
+
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
28251
|
+
this.getDataContractId()));
|
|
28252
|
+
};
|
|
28253
|
+
|
|
28254
|
+
|
|
28255
|
+
/**
|
|
28256
|
+
* optional bytes data_contract_id = 1;
|
|
28257
|
+
* Note that Uint8Array is not supported on all browsers.
|
|
28258
|
+
* @see http://caniuse.com/Uint8Array
|
|
28259
|
+
* This is a type-conversion wrapper around `getDataContractId()`
|
|
28260
|
+
* @return {!Uint8Array}
|
|
28261
|
+
*/
|
|
28262
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.prototype.getDataContractId_asU8 = function() {
|
|
28263
|
+
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
28264
|
+
this.getDataContractId()));
|
|
28265
|
+
};
|
|
28266
|
+
|
|
28267
|
+
|
|
28268
|
+
/**
|
|
28269
|
+
* @param {!(string|Uint8Array)} value
|
|
28270
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery} returns this
|
|
28271
|
+
*/
|
|
28272
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.prototype.setDataContractId = function(value) {
|
|
28273
|
+
return jspb.Message.setProto3BytesField(this, 1, value);
|
|
28274
|
+
};
|
|
28275
|
+
|
|
28276
|
+
|
|
28277
|
+
/**
|
|
28278
|
+
* optional string document_type = 2;
|
|
28279
|
+
* @return {string}
|
|
28280
|
+
*/
|
|
28281
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.prototype.getDocumentType = function() {
|
|
28282
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
28283
|
+
};
|
|
28284
|
+
|
|
28285
|
+
|
|
28286
|
+
/**
|
|
28287
|
+
* @param {string} value
|
|
28288
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery} returns this
|
|
28289
|
+
*/
|
|
28290
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.prototype.setDocumentType = function(value) {
|
|
28291
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
28292
|
+
};
|
|
28293
|
+
|
|
28294
|
+
|
|
28295
|
+
/**
|
|
28296
|
+
* repeated WhereClause where_clauses = 3;
|
|
28297
|
+
* @return {!Array<!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.WhereClause>}
|
|
28298
|
+
*/
|
|
28299
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.prototype.getWhereClausesList = function() {
|
|
28300
|
+
return /** @type{!Array<!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.WhereClause>} */ (
|
|
28301
|
+
jspb.Message.getRepeatedWrapperField(this, proto.org.dash.platform.dapi.v0.GetDocumentsRequest.WhereClause, 3));
|
|
28302
|
+
};
|
|
28303
|
+
|
|
28304
|
+
|
|
28305
|
+
/**
|
|
28306
|
+
* @param {!Array<!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.WhereClause>} value
|
|
28307
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery} returns this
|
|
28308
|
+
*/
|
|
28309
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.prototype.setWhereClausesList = function(value) {
|
|
28310
|
+
return jspb.Message.setRepeatedWrapperField(this, 3, value);
|
|
28311
|
+
};
|
|
28312
|
+
|
|
28313
|
+
|
|
28314
|
+
/**
|
|
28315
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.WhereClause=} opt_value
|
|
28316
|
+
* @param {number=} opt_index
|
|
28317
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.WhereClause}
|
|
28318
|
+
*/
|
|
28319
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.prototype.addWhereClauses = function(opt_value, opt_index) {
|
|
28320
|
+
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.org.dash.platform.dapi.v0.GetDocumentsRequest.WhereClause, opt_index);
|
|
28321
|
+
};
|
|
28322
|
+
|
|
28323
|
+
|
|
28324
|
+
/**
|
|
28325
|
+
* Clears the list making it empty but non-null.
|
|
28326
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery} returns this
|
|
28327
|
+
*/
|
|
28328
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.prototype.clearWhereClausesList = function() {
|
|
28329
|
+
return this.setWhereClausesList([]);
|
|
28330
|
+
};
|
|
28331
|
+
|
|
28332
|
+
|
|
28333
|
+
/**
|
|
28334
|
+
* repeated OrderClause order_by = 4;
|
|
28335
|
+
* @return {!Array<!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.OrderClause>}
|
|
28336
|
+
*/
|
|
28337
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.prototype.getOrderByList = function() {
|
|
28338
|
+
return /** @type{!Array<!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.OrderClause>} */ (
|
|
28339
|
+
jspb.Message.getRepeatedWrapperField(this, proto.org.dash.platform.dapi.v0.GetDocumentsRequest.OrderClause, 4));
|
|
28340
|
+
};
|
|
28341
|
+
|
|
28342
|
+
|
|
28343
|
+
/**
|
|
28344
|
+
* @param {!Array<!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.OrderClause>} value
|
|
28345
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery} returns this
|
|
28346
|
+
*/
|
|
28347
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.prototype.setOrderByList = function(value) {
|
|
28348
|
+
return jspb.Message.setRepeatedWrapperField(this, 4, value);
|
|
28349
|
+
};
|
|
28350
|
+
|
|
28351
|
+
|
|
28352
|
+
/**
|
|
28353
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.OrderClause=} opt_value
|
|
28354
|
+
* @param {number=} opt_index
|
|
28355
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.OrderClause}
|
|
28356
|
+
*/
|
|
28357
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.prototype.addOrderBy = function(opt_value, opt_index) {
|
|
28358
|
+
return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.org.dash.platform.dapi.v0.GetDocumentsRequest.OrderClause, opt_index);
|
|
28359
|
+
};
|
|
28360
|
+
|
|
28361
|
+
|
|
28362
|
+
/**
|
|
28363
|
+
* Clears the list making it empty but non-null.
|
|
28364
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery} returns this
|
|
28365
|
+
*/
|
|
28366
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.prototype.clearOrderByList = function() {
|
|
28367
|
+
return this.setOrderByList([]);
|
|
28368
|
+
};
|
|
28369
|
+
|
|
28370
|
+
|
|
28371
|
+
/**
|
|
28372
|
+
* optional uint32 limit = 5;
|
|
28373
|
+
* @return {number}
|
|
28374
|
+
*/
|
|
28375
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.prototype.getLimit = function() {
|
|
28376
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
28377
|
+
};
|
|
28378
|
+
|
|
28379
|
+
|
|
28380
|
+
/**
|
|
28381
|
+
* @param {number} value
|
|
28382
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery} returns this
|
|
28383
|
+
*/
|
|
28384
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.prototype.setLimit = function(value) {
|
|
28385
|
+
return jspb.Message.setField(this, 5, value);
|
|
28386
|
+
};
|
|
28387
|
+
|
|
28388
|
+
|
|
28389
|
+
/**
|
|
28390
|
+
* Clears the field making it undefined.
|
|
28391
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery} returns this
|
|
28392
|
+
*/
|
|
28393
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.prototype.clearLimit = function() {
|
|
28394
|
+
return jspb.Message.setField(this, 5, undefined);
|
|
28395
|
+
};
|
|
28396
|
+
|
|
28397
|
+
|
|
28398
|
+
/**
|
|
28399
|
+
* Returns whether this field is set.
|
|
28400
|
+
* @return {boolean}
|
|
28401
|
+
*/
|
|
28402
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.prototype.hasLimit = function() {
|
|
28403
|
+
return jspb.Message.getField(this, 5) != null;
|
|
28404
|
+
};
|
|
28405
|
+
|
|
28406
|
+
|
|
28407
|
+
/**
|
|
28408
|
+
* optional Kind kind = 6;
|
|
28409
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.Kind}
|
|
28410
|
+
*/
|
|
28411
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.prototype.getKind = function() {
|
|
28412
|
+
return /** @type {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.Kind} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
28413
|
+
};
|
|
28414
|
+
|
|
28415
|
+
|
|
28416
|
+
/**
|
|
28417
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.Kind} value
|
|
28418
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery} returns this
|
|
28419
|
+
*/
|
|
28420
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.prototype.setKind = function(value) {
|
|
28421
|
+
return jspb.Message.setProto3EnumField(this, 6, value);
|
|
28422
|
+
};
|
|
28423
|
+
|
|
28424
|
+
|
|
28425
|
+
/**
|
|
28426
|
+
* optional Binding bind = 7;
|
|
28427
|
+
* @return {?proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.Binding}
|
|
28428
|
+
*/
|
|
28429
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.prototype.getBind = function() {
|
|
28430
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.Binding} */ (
|
|
28431
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.Binding, 7));
|
|
28432
|
+
};
|
|
28433
|
+
|
|
28434
|
+
|
|
28435
|
+
/**
|
|
28436
|
+
* @param {?proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.Binding|undefined} value
|
|
28437
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery} returns this
|
|
28438
|
+
*/
|
|
28439
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.prototype.setBind = function(value) {
|
|
28440
|
+
return jspb.Message.setWrapperField(this, 7, value);
|
|
28441
|
+
};
|
|
28442
|
+
|
|
28443
|
+
|
|
28444
|
+
/**
|
|
28445
|
+
* Clears the message field making it undefined.
|
|
28446
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery} returns this
|
|
28447
|
+
*/
|
|
28448
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.prototype.clearBind = function() {
|
|
28449
|
+
return this.setBind(undefined);
|
|
28450
|
+
};
|
|
28451
|
+
|
|
28452
|
+
|
|
28453
|
+
/**
|
|
28454
|
+
* Returns whether this field is set.
|
|
28455
|
+
* @return {boolean}
|
|
28456
|
+
*/
|
|
28457
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery.prototype.hasBind = function() {
|
|
28458
|
+
return jspb.Message.getField(this, 7) != null;
|
|
28459
|
+
};
|
|
28460
|
+
|
|
28461
|
+
|
|
27733
28462
|
/**
|
|
27734
28463
|
* optional bytes data_contract_id = 1;
|
|
27735
28464
|
* @return {string}
|
|
@@ -28226,6 +28955,44 @@ proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.protot
|
|
|
28226
28955
|
};
|
|
28227
28956
|
|
|
28228
28957
|
|
|
28958
|
+
/**
|
|
28959
|
+
* repeated SubQuery sub_queries = 14;
|
|
28960
|
+
* @return {!Array<!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery>}
|
|
28961
|
+
*/
|
|
28962
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.getSubQueriesList = function() {
|
|
28963
|
+
return /** @type{!Array<!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery>} */ (
|
|
28964
|
+
jspb.Message.getRepeatedWrapperField(this, proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery, 14));
|
|
28965
|
+
};
|
|
28966
|
+
|
|
28967
|
+
|
|
28968
|
+
/**
|
|
28969
|
+
* @param {!Array<!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery>} value
|
|
28970
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1} returns this
|
|
28971
|
+
*/
|
|
28972
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.setSubQueriesList = function(value) {
|
|
28973
|
+
return jspb.Message.setRepeatedWrapperField(this, 14, value);
|
|
28974
|
+
};
|
|
28975
|
+
|
|
28976
|
+
|
|
28977
|
+
/**
|
|
28978
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery=} opt_value
|
|
28979
|
+
* @param {number=} opt_index
|
|
28980
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery}
|
|
28981
|
+
*/
|
|
28982
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.addSubQueries = function(opt_value, opt_index) {
|
|
28983
|
+
return jspb.Message.addToRepeatedWrapperField(this, 14, opt_value, proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.SubQuery, opt_index);
|
|
28984
|
+
};
|
|
28985
|
+
|
|
28986
|
+
|
|
28987
|
+
/**
|
|
28988
|
+
* Clears the list making it empty but non-null.
|
|
28989
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1} returns this
|
|
28990
|
+
*/
|
|
28991
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV1.prototype.clearSubQueriesList = function() {
|
|
28992
|
+
return this.setSubQueriesList([]);
|
|
28993
|
+
};
|
|
28994
|
+
|
|
28995
|
+
|
|
28229
28996
|
/**
|
|
28230
28997
|
* optional GetDocumentsRequestV0 v0 = 1;
|
|
28231
28998
|
* @return {?proto.org.dash.platform.dapi.v0.GetDocumentsRequest.GetDocumentsRequestV0}
|
|
@@ -31991,7 +32758,7 @@ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Rank
|
|
|
31991
32758
|
* @private {!Array<!Array<number>>}
|
|
31992
32759
|
* @const
|
|
31993
32760
|
*/
|
|
31994
|
-
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.oneofGroups_ = [[1,2,3,4,5,6]];
|
|
32761
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.oneofGroups_ = [[1,2,3,4,5,6,7]];
|
|
31995
32762
|
|
|
31996
32763
|
/**
|
|
31997
32764
|
* @enum {number}
|
|
@@ -32003,7 +32770,8 @@ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Resu
|
|
|
32003
32770
|
SUMS: 3,
|
|
32004
32771
|
AVERAGES: 4,
|
|
32005
32772
|
RANKED: 5,
|
|
32006
|
-
CHAINED: 6
|
|
32773
|
+
CHAINED: 6,
|
|
32774
|
+
COMPOSITE: 7
|
|
32007
32775
|
};
|
|
32008
32776
|
|
|
32009
32777
|
/**
|
|
@@ -32049,7 +32817,8 @@ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Resu
|
|
|
32049
32817
|
sums: (f = msg.getSums()) && proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.SumResults.toObject(includeInstance, f),
|
|
32050
32818
|
averages: (f = msg.getAverages()) && proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.AverageResults.toObject(includeInstance, f),
|
|
32051
32819
|
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)
|
|
32820
|
+
chained: (f = msg.getChained()) && proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ChainedDocuments.toObject(includeInstance, f),
|
|
32821
|
+
composite: (f = msg.getComposite()) && proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments.toObject(includeInstance, f)
|
|
32053
32822
|
};
|
|
32054
32823
|
|
|
32055
32824
|
if (includeInstance) {
|
|
@@ -32116,6 +32885,11 @@ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Resu
|
|
|
32116
32885
|
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ChainedDocuments.deserializeBinaryFromReader);
|
|
32117
32886
|
msg.setChained(value);
|
|
32118
32887
|
break;
|
|
32888
|
+
case 7:
|
|
32889
|
+
var value = new proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments;
|
|
32890
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments.deserializeBinaryFromReader);
|
|
32891
|
+
msg.setComposite(value);
|
|
32892
|
+
break;
|
|
32119
32893
|
default:
|
|
32120
32894
|
reader.skipField();
|
|
32121
32895
|
break;
|
|
@@ -32193,6 +32967,14 @@ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Resu
|
|
|
32193
32967
|
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ChainedDocuments.serializeBinaryToWriter
|
|
32194
32968
|
);
|
|
32195
32969
|
}
|
|
32970
|
+
f = message.getComposite();
|
|
32971
|
+
if (f != null) {
|
|
32972
|
+
writer.writeMessage(
|
|
32973
|
+
7,
|
|
32974
|
+
f,
|
|
32975
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments.serializeBinaryToWriter
|
|
32976
|
+
);
|
|
32977
|
+
}
|
|
32196
32978
|
};
|
|
32197
32979
|
|
|
32198
32980
|
|
|
@@ -32418,6 +33200,43 @@ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Resu
|
|
|
32418
33200
|
};
|
|
32419
33201
|
|
|
32420
33202
|
|
|
33203
|
+
/**
|
|
33204
|
+
* optional CompositeDocuments composite = 7;
|
|
33205
|
+
* @return {?proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments}
|
|
33206
|
+
*/
|
|
33207
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.prototype.getComposite = function() {
|
|
33208
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments} */ (
|
|
33209
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments, 7));
|
|
33210
|
+
};
|
|
33211
|
+
|
|
33212
|
+
|
|
33213
|
+
/**
|
|
33214
|
+
* @param {?proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments|undefined} value
|
|
33215
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData} returns this
|
|
33216
|
+
*/
|
|
33217
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.prototype.setComposite = function(value) {
|
|
33218
|
+
return jspb.Message.setOneofWrapperField(this, 7, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.oneofGroups_[0], value);
|
|
33219
|
+
};
|
|
33220
|
+
|
|
33221
|
+
|
|
33222
|
+
/**
|
|
33223
|
+
* Clears the message field making it undefined.
|
|
33224
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData} returns this
|
|
33225
|
+
*/
|
|
33226
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.prototype.clearComposite = function() {
|
|
33227
|
+
return this.setComposite(undefined);
|
|
33228
|
+
};
|
|
33229
|
+
|
|
33230
|
+
|
|
33231
|
+
/**
|
|
33232
|
+
* Returns whether this field is set.
|
|
33233
|
+
* @return {boolean}
|
|
33234
|
+
*/
|
|
33235
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData.prototype.hasComposite = function() {
|
|
33236
|
+
return jspb.Message.getField(this, 7) != null;
|
|
33237
|
+
};
|
|
33238
|
+
|
|
33239
|
+
|
|
32421
33240
|
|
|
32422
33241
|
/**
|
|
32423
33242
|
* List of repeated fields within this message type.
|
|
@@ -32671,6 +33490,467 @@ proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Chai
|
|
|
32671
33490
|
};
|
|
32672
33491
|
|
|
32673
33492
|
|
|
33493
|
+
|
|
33494
|
+
/**
|
|
33495
|
+
* List of repeated fields within this message type.
|
|
33496
|
+
* @private {!Array<number>}
|
|
33497
|
+
* @const
|
|
33498
|
+
*/
|
|
33499
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments.repeatedFields_ = [1,2];
|
|
33500
|
+
|
|
33501
|
+
|
|
33502
|
+
|
|
33503
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
33504
|
+
/**
|
|
33505
|
+
* Creates an object representation of this proto.
|
|
33506
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
33507
|
+
* Optional fields that are not set will be set to undefined.
|
|
33508
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
33509
|
+
* For the list of reserved names please see:
|
|
33510
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
33511
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
33512
|
+
* JSPB instance for transitional soy proto support:
|
|
33513
|
+
* http://goto/soy-param-migration
|
|
33514
|
+
* @return {!Object}
|
|
33515
|
+
*/
|
|
33516
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments.prototype.toObject = function(opt_includeInstance) {
|
|
33517
|
+
return proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments.toObject(opt_includeInstance, this);
|
|
33518
|
+
};
|
|
33519
|
+
|
|
33520
|
+
|
|
33521
|
+
/**
|
|
33522
|
+
* Static version of the {@see toObject} method.
|
|
33523
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
33524
|
+
* the JSPB instance for transitional soy proto support:
|
|
33525
|
+
* http://goto/soy-param-migration
|
|
33526
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments} msg The msg instance to transform.
|
|
33527
|
+
* @return {!Object}
|
|
33528
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
33529
|
+
*/
|
|
33530
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments.toObject = function(includeInstance, msg) {
|
|
33531
|
+
var f, obj = {
|
|
33532
|
+
pageDocumentsList: msg.getPageDocumentsList_asB64(),
|
|
33533
|
+
subResultsList: jspb.Message.toObjectList(msg.getSubResultsList(),
|
|
33534
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments.SubQueryResult.toObject, includeInstance)
|
|
33535
|
+
};
|
|
33536
|
+
|
|
33537
|
+
if (includeInstance) {
|
|
33538
|
+
obj.$jspbMessageInstance = msg;
|
|
33539
|
+
}
|
|
33540
|
+
return obj;
|
|
33541
|
+
};
|
|
33542
|
+
}
|
|
33543
|
+
|
|
33544
|
+
|
|
33545
|
+
/**
|
|
33546
|
+
* Deserializes binary data (in protobuf wire format).
|
|
33547
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
33548
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments}
|
|
33549
|
+
*/
|
|
33550
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments.deserializeBinary = function(bytes) {
|
|
33551
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
33552
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments;
|
|
33553
|
+
return proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments.deserializeBinaryFromReader(msg, reader);
|
|
33554
|
+
};
|
|
33555
|
+
|
|
33556
|
+
|
|
33557
|
+
/**
|
|
33558
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
33559
|
+
* given reader into the given message object.
|
|
33560
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments} msg The message object to deserialize into.
|
|
33561
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
33562
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments}
|
|
33563
|
+
*/
|
|
33564
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments.deserializeBinaryFromReader = function(msg, reader) {
|
|
33565
|
+
while (reader.nextField()) {
|
|
33566
|
+
if (reader.isEndGroup()) {
|
|
33567
|
+
break;
|
|
33568
|
+
}
|
|
33569
|
+
var field = reader.getFieldNumber();
|
|
33570
|
+
switch (field) {
|
|
33571
|
+
case 1:
|
|
33572
|
+
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
33573
|
+
msg.addPageDocuments(value);
|
|
33574
|
+
break;
|
|
33575
|
+
case 2:
|
|
33576
|
+
var value = new proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments.SubQueryResult;
|
|
33577
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments.SubQueryResult.deserializeBinaryFromReader);
|
|
33578
|
+
msg.addSubResults(value);
|
|
33579
|
+
break;
|
|
33580
|
+
default:
|
|
33581
|
+
reader.skipField();
|
|
33582
|
+
break;
|
|
33583
|
+
}
|
|
33584
|
+
}
|
|
33585
|
+
return msg;
|
|
33586
|
+
};
|
|
33587
|
+
|
|
33588
|
+
|
|
33589
|
+
/**
|
|
33590
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
33591
|
+
* @return {!Uint8Array}
|
|
33592
|
+
*/
|
|
33593
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments.prototype.serializeBinary = function() {
|
|
33594
|
+
var writer = new jspb.BinaryWriter();
|
|
33595
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments.serializeBinaryToWriter(this, writer);
|
|
33596
|
+
return writer.getResultBuffer();
|
|
33597
|
+
};
|
|
33598
|
+
|
|
33599
|
+
|
|
33600
|
+
/**
|
|
33601
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
33602
|
+
* format), writing to the given BinaryWriter.
|
|
33603
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments} message
|
|
33604
|
+
* @param {!jspb.BinaryWriter} writer
|
|
33605
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
33606
|
+
*/
|
|
33607
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments.serializeBinaryToWriter = function(message, writer) {
|
|
33608
|
+
var f = undefined;
|
|
33609
|
+
f = message.getPageDocumentsList_asU8();
|
|
33610
|
+
if (f.length > 0) {
|
|
33611
|
+
writer.writeRepeatedBytes(
|
|
33612
|
+
1,
|
|
33613
|
+
f
|
|
33614
|
+
);
|
|
33615
|
+
}
|
|
33616
|
+
f = message.getSubResultsList();
|
|
33617
|
+
if (f.length > 0) {
|
|
33618
|
+
writer.writeRepeatedMessage(
|
|
33619
|
+
2,
|
|
33620
|
+
f,
|
|
33621
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments.SubQueryResult.serializeBinaryToWriter
|
|
33622
|
+
);
|
|
33623
|
+
}
|
|
33624
|
+
};
|
|
33625
|
+
|
|
33626
|
+
|
|
33627
|
+
|
|
33628
|
+
/**
|
|
33629
|
+
* Oneof group definitions for this message. Each group defines the field
|
|
33630
|
+
* numbers belonging to that group. When of these fields' value is set, all
|
|
33631
|
+
* other fields in the group are cleared. During deserialization, if multiple
|
|
33632
|
+
* fields are encountered for a group, only the last value seen will be kept.
|
|
33633
|
+
* @private {!Array<!Array<number>>}
|
|
33634
|
+
* @const
|
|
33635
|
+
*/
|
|
33636
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments.SubQueryResult.oneofGroups_ = [[1,2]];
|
|
33637
|
+
|
|
33638
|
+
/**
|
|
33639
|
+
* @enum {number}
|
|
33640
|
+
*/
|
|
33641
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments.SubQueryResult.ResultCase = {
|
|
33642
|
+
RESULT_NOT_SET: 0,
|
|
33643
|
+
DOCUMENTS: 1,
|
|
33644
|
+
COUNTS: 2
|
|
33645
|
+
};
|
|
33646
|
+
|
|
33647
|
+
/**
|
|
33648
|
+
* @return {proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments.SubQueryResult.ResultCase}
|
|
33649
|
+
*/
|
|
33650
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments.SubQueryResult.prototype.getResultCase = function() {
|
|
33651
|
+
return /** @type {proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments.SubQueryResult.ResultCase} */(jspb.Message.computeOneofCase(this, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments.SubQueryResult.oneofGroups_[0]));
|
|
33652
|
+
};
|
|
33653
|
+
|
|
33654
|
+
|
|
33655
|
+
|
|
33656
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
33657
|
+
/**
|
|
33658
|
+
* Creates an object representation of this proto.
|
|
33659
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
33660
|
+
* Optional fields that are not set will be set to undefined.
|
|
33661
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
33662
|
+
* For the list of reserved names please see:
|
|
33663
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
33664
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
33665
|
+
* JSPB instance for transitional soy proto support:
|
|
33666
|
+
* http://goto/soy-param-migration
|
|
33667
|
+
* @return {!Object}
|
|
33668
|
+
*/
|
|
33669
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments.SubQueryResult.prototype.toObject = function(opt_includeInstance) {
|
|
33670
|
+
return proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments.SubQueryResult.toObject(opt_includeInstance, this);
|
|
33671
|
+
};
|
|
33672
|
+
|
|
33673
|
+
|
|
33674
|
+
/**
|
|
33675
|
+
* Static version of the {@see toObject} method.
|
|
33676
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
33677
|
+
* the JSPB instance for transitional soy proto support:
|
|
33678
|
+
* http://goto/soy-param-migration
|
|
33679
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments.SubQueryResult} msg The msg instance to transform.
|
|
33680
|
+
* @return {!Object}
|
|
33681
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
33682
|
+
*/
|
|
33683
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments.SubQueryResult.toObject = function(includeInstance, msg) {
|
|
33684
|
+
var f, obj = {
|
|
33685
|
+
documents: (f = msg.getDocuments()) && proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents.toObject(includeInstance, f),
|
|
33686
|
+
counts: (f = msg.getCounts()) && proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries.toObject(includeInstance, f)
|
|
33687
|
+
};
|
|
33688
|
+
|
|
33689
|
+
if (includeInstance) {
|
|
33690
|
+
obj.$jspbMessageInstance = msg;
|
|
33691
|
+
}
|
|
33692
|
+
return obj;
|
|
33693
|
+
};
|
|
33694
|
+
}
|
|
33695
|
+
|
|
33696
|
+
|
|
33697
|
+
/**
|
|
33698
|
+
* Deserializes binary data (in protobuf wire format).
|
|
33699
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
33700
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments.SubQueryResult}
|
|
33701
|
+
*/
|
|
33702
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments.SubQueryResult.deserializeBinary = function(bytes) {
|
|
33703
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
33704
|
+
var msg = new proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments.SubQueryResult;
|
|
33705
|
+
return proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments.SubQueryResult.deserializeBinaryFromReader(msg, reader);
|
|
33706
|
+
};
|
|
33707
|
+
|
|
33708
|
+
|
|
33709
|
+
/**
|
|
33710
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
33711
|
+
* given reader into the given message object.
|
|
33712
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments.SubQueryResult} msg The message object to deserialize into.
|
|
33713
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
33714
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments.SubQueryResult}
|
|
33715
|
+
*/
|
|
33716
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments.SubQueryResult.deserializeBinaryFromReader = function(msg, reader) {
|
|
33717
|
+
while (reader.nextField()) {
|
|
33718
|
+
if (reader.isEndGroup()) {
|
|
33719
|
+
break;
|
|
33720
|
+
}
|
|
33721
|
+
var field = reader.getFieldNumber();
|
|
33722
|
+
switch (field) {
|
|
33723
|
+
case 1:
|
|
33724
|
+
var value = new proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents;
|
|
33725
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents.deserializeBinaryFromReader);
|
|
33726
|
+
msg.setDocuments(value);
|
|
33727
|
+
break;
|
|
33728
|
+
case 2:
|
|
33729
|
+
var value = new proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries;
|
|
33730
|
+
reader.readMessage(value,proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries.deserializeBinaryFromReader);
|
|
33731
|
+
msg.setCounts(value);
|
|
33732
|
+
break;
|
|
33733
|
+
default:
|
|
33734
|
+
reader.skipField();
|
|
33735
|
+
break;
|
|
33736
|
+
}
|
|
33737
|
+
}
|
|
33738
|
+
return msg;
|
|
33739
|
+
};
|
|
33740
|
+
|
|
33741
|
+
|
|
33742
|
+
/**
|
|
33743
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
33744
|
+
* @return {!Uint8Array}
|
|
33745
|
+
*/
|
|
33746
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments.SubQueryResult.prototype.serializeBinary = function() {
|
|
33747
|
+
var writer = new jspb.BinaryWriter();
|
|
33748
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments.SubQueryResult.serializeBinaryToWriter(this, writer);
|
|
33749
|
+
return writer.getResultBuffer();
|
|
33750
|
+
};
|
|
33751
|
+
|
|
33752
|
+
|
|
33753
|
+
/**
|
|
33754
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
33755
|
+
* format), writing to the given BinaryWriter.
|
|
33756
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments.SubQueryResult} message
|
|
33757
|
+
* @param {!jspb.BinaryWriter} writer
|
|
33758
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
33759
|
+
*/
|
|
33760
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments.SubQueryResult.serializeBinaryToWriter = function(message, writer) {
|
|
33761
|
+
var f = undefined;
|
|
33762
|
+
f = message.getDocuments();
|
|
33763
|
+
if (f != null) {
|
|
33764
|
+
writer.writeMessage(
|
|
33765
|
+
1,
|
|
33766
|
+
f,
|
|
33767
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents.serializeBinaryToWriter
|
|
33768
|
+
);
|
|
33769
|
+
}
|
|
33770
|
+
f = message.getCounts();
|
|
33771
|
+
if (f != null) {
|
|
33772
|
+
writer.writeMessage(
|
|
33773
|
+
2,
|
|
33774
|
+
f,
|
|
33775
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries.serializeBinaryToWriter
|
|
33776
|
+
);
|
|
33777
|
+
}
|
|
33778
|
+
};
|
|
33779
|
+
|
|
33780
|
+
|
|
33781
|
+
/**
|
|
33782
|
+
* optional Documents documents = 1;
|
|
33783
|
+
* @return {?proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents}
|
|
33784
|
+
*/
|
|
33785
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments.SubQueryResult.prototype.getDocuments = function() {
|
|
33786
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents} */ (
|
|
33787
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents, 1));
|
|
33788
|
+
};
|
|
33789
|
+
|
|
33790
|
+
|
|
33791
|
+
/**
|
|
33792
|
+
* @param {?proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.Documents|undefined} value
|
|
33793
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments.SubQueryResult} returns this
|
|
33794
|
+
*/
|
|
33795
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments.SubQueryResult.prototype.setDocuments = function(value) {
|
|
33796
|
+
return jspb.Message.setOneofWrapperField(this, 1, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments.SubQueryResult.oneofGroups_[0], value);
|
|
33797
|
+
};
|
|
33798
|
+
|
|
33799
|
+
|
|
33800
|
+
/**
|
|
33801
|
+
* Clears the message field making it undefined.
|
|
33802
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments.SubQueryResult} returns this
|
|
33803
|
+
*/
|
|
33804
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments.SubQueryResult.prototype.clearDocuments = function() {
|
|
33805
|
+
return this.setDocuments(undefined);
|
|
33806
|
+
};
|
|
33807
|
+
|
|
33808
|
+
|
|
33809
|
+
/**
|
|
33810
|
+
* Returns whether this field is set.
|
|
33811
|
+
* @return {boolean}
|
|
33812
|
+
*/
|
|
33813
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments.SubQueryResult.prototype.hasDocuments = function() {
|
|
33814
|
+
return jspb.Message.getField(this, 1) != null;
|
|
33815
|
+
};
|
|
33816
|
+
|
|
33817
|
+
|
|
33818
|
+
/**
|
|
33819
|
+
* optional CountEntries counts = 2;
|
|
33820
|
+
* @return {?proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries}
|
|
33821
|
+
*/
|
|
33822
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments.SubQueryResult.prototype.getCounts = function() {
|
|
33823
|
+
return /** @type{?proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries} */ (
|
|
33824
|
+
jspb.Message.getWrapperField(this, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries, 2));
|
|
33825
|
+
};
|
|
33826
|
+
|
|
33827
|
+
|
|
33828
|
+
/**
|
|
33829
|
+
* @param {?proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CountEntries|undefined} value
|
|
33830
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments.SubQueryResult} returns this
|
|
33831
|
+
*/
|
|
33832
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments.SubQueryResult.prototype.setCounts = function(value) {
|
|
33833
|
+
return jspb.Message.setOneofWrapperField(this, 2, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments.SubQueryResult.oneofGroups_[0], value);
|
|
33834
|
+
};
|
|
33835
|
+
|
|
33836
|
+
|
|
33837
|
+
/**
|
|
33838
|
+
* Clears the message field making it undefined.
|
|
33839
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments.SubQueryResult} returns this
|
|
33840
|
+
*/
|
|
33841
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments.SubQueryResult.prototype.clearCounts = function() {
|
|
33842
|
+
return this.setCounts(undefined);
|
|
33843
|
+
};
|
|
33844
|
+
|
|
33845
|
+
|
|
33846
|
+
/**
|
|
33847
|
+
* Returns whether this field is set.
|
|
33848
|
+
* @return {boolean}
|
|
33849
|
+
*/
|
|
33850
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments.SubQueryResult.prototype.hasCounts = function() {
|
|
33851
|
+
return jspb.Message.getField(this, 2) != null;
|
|
33852
|
+
};
|
|
33853
|
+
|
|
33854
|
+
|
|
33855
|
+
/**
|
|
33856
|
+
* repeated bytes page_documents = 1;
|
|
33857
|
+
* @return {!Array<string>}
|
|
33858
|
+
*/
|
|
33859
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments.prototype.getPageDocumentsList = function() {
|
|
33860
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
33861
|
+
};
|
|
33862
|
+
|
|
33863
|
+
|
|
33864
|
+
/**
|
|
33865
|
+
* repeated bytes page_documents = 1;
|
|
33866
|
+
* This is a type-conversion wrapper around `getPageDocumentsList()`
|
|
33867
|
+
* @return {!Array<string>}
|
|
33868
|
+
*/
|
|
33869
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments.prototype.getPageDocumentsList_asB64 = function() {
|
|
33870
|
+
return /** @type {!Array<string>} */ (jspb.Message.bytesListAsB64(
|
|
33871
|
+
this.getPageDocumentsList()));
|
|
33872
|
+
};
|
|
33873
|
+
|
|
33874
|
+
|
|
33875
|
+
/**
|
|
33876
|
+
* repeated bytes page_documents = 1;
|
|
33877
|
+
* Note that Uint8Array is not supported on all browsers.
|
|
33878
|
+
* @see http://caniuse.com/Uint8Array
|
|
33879
|
+
* This is a type-conversion wrapper around `getPageDocumentsList()`
|
|
33880
|
+
* @return {!Array<!Uint8Array>}
|
|
33881
|
+
*/
|
|
33882
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments.prototype.getPageDocumentsList_asU8 = function() {
|
|
33883
|
+
return /** @type {!Array<!Uint8Array>} */ (jspb.Message.bytesListAsU8(
|
|
33884
|
+
this.getPageDocumentsList()));
|
|
33885
|
+
};
|
|
33886
|
+
|
|
33887
|
+
|
|
33888
|
+
/**
|
|
33889
|
+
* @param {!(Array<!Uint8Array>|Array<string>)} value
|
|
33890
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments} returns this
|
|
33891
|
+
*/
|
|
33892
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments.prototype.setPageDocumentsList = function(value) {
|
|
33893
|
+
return jspb.Message.setField(this, 1, value || []);
|
|
33894
|
+
};
|
|
33895
|
+
|
|
33896
|
+
|
|
33897
|
+
/**
|
|
33898
|
+
* @param {!(string|Uint8Array)} value
|
|
33899
|
+
* @param {number=} opt_index
|
|
33900
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments} returns this
|
|
33901
|
+
*/
|
|
33902
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments.prototype.addPageDocuments = function(value, opt_index) {
|
|
33903
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
33904
|
+
};
|
|
33905
|
+
|
|
33906
|
+
|
|
33907
|
+
/**
|
|
33908
|
+
* Clears the list making it empty but non-null.
|
|
33909
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments} returns this
|
|
33910
|
+
*/
|
|
33911
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments.prototype.clearPageDocumentsList = function() {
|
|
33912
|
+
return this.setPageDocumentsList([]);
|
|
33913
|
+
};
|
|
33914
|
+
|
|
33915
|
+
|
|
33916
|
+
/**
|
|
33917
|
+
* repeated SubQueryResult sub_results = 2;
|
|
33918
|
+
* @return {!Array<!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments.SubQueryResult>}
|
|
33919
|
+
*/
|
|
33920
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments.prototype.getSubResultsList = function() {
|
|
33921
|
+
return /** @type{!Array<!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments.SubQueryResult>} */ (
|
|
33922
|
+
jspb.Message.getRepeatedWrapperField(this, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments.SubQueryResult, 2));
|
|
33923
|
+
};
|
|
33924
|
+
|
|
33925
|
+
|
|
33926
|
+
/**
|
|
33927
|
+
* @param {!Array<!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments.SubQueryResult>} value
|
|
33928
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments} returns this
|
|
33929
|
+
*/
|
|
33930
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments.prototype.setSubResultsList = function(value) {
|
|
33931
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
33932
|
+
};
|
|
33933
|
+
|
|
33934
|
+
|
|
33935
|
+
/**
|
|
33936
|
+
* @param {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments.SubQueryResult=} opt_value
|
|
33937
|
+
* @param {number=} opt_index
|
|
33938
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments.SubQueryResult}
|
|
33939
|
+
*/
|
|
33940
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments.prototype.addSubResults = function(opt_value, opt_index) {
|
|
33941
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments.SubQueryResult, opt_index);
|
|
33942
|
+
};
|
|
33943
|
+
|
|
33944
|
+
|
|
33945
|
+
/**
|
|
33946
|
+
* Clears the list making it empty but non-null.
|
|
33947
|
+
* @return {!proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments} returns this
|
|
33948
|
+
*/
|
|
33949
|
+
proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.CompositeDocuments.prototype.clearSubResultsList = function() {
|
|
33950
|
+
return this.setSubResultsList([]);
|
|
33951
|
+
};
|
|
33952
|
+
|
|
33953
|
+
|
|
32674
33954
|
/**
|
|
32675
33955
|
* optional ResultData data = 1;
|
|
32676
33956
|
* @return {?proto.org.dash.platform.dapi.v0.GetDocumentsResponse.GetDocumentsResponseV1.ResultData}
|