clarifai-web-grpc 5.1.0 → 9.10.4
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/.github/workflows/ci.yml +29 -14
- package/README.md +6 -0
- package/VERSION +1 -1
- package/dist/cjs/index.js +2 -1
- package/dist/cjs/proto/clarifai/api/resources_pb.js +10169 -4212
- package/dist/cjs/proto/clarifai/api/service_grpc_web_pb.js +1046 -160
- package/dist/cjs/proto/clarifai/api/service_pb.js +19084 -10295
- package/dist/cjs/proto/clarifai/api/status/status_code_pb.js +24 -2
- package/dist/cjs/proto/clarifai/auth/scope/scope_pb.js +6 -1
- package/dist/esm/index.js +2 -1
- package/dist/esm/proto/clarifai/api/resources_pb.js +10169 -4212
- package/dist/esm/proto/clarifai/api/service_grpc_web_pb.js +1046 -160
- package/dist/esm/proto/clarifai/api/service_pb.js +19084 -10295
- package/dist/esm/proto/clarifai/api/status/status_code_pb.js +24 -2
- package/dist/esm/proto/clarifai/auth/scope/scope_pb.js +6 -1
- package/index.ts +2 -1
- package/package.json +2 -23
- package/proto/clarifai/api/resources_pb.d.ts +987 -61
- package/proto/clarifai/api/resources_pb.js +12059 -4632
- package/proto/clarifai/api/service_grpc_web_pb.d.ts +264 -12
- package/proto/clarifai/api/service_grpc_web_pb.js +3434 -2149
- package/proto/clarifai/api/service_pb.d.ts +1376 -100
- package/proto/clarifai/api/service_pb.js +32635 -21703
- package/proto/clarifai/api/status/status_code_pb.d.ts +24 -2
- package/proto/clarifai/api/status/status_code_pb.js +24 -2
- package/proto/clarifai/auth/scope/scope_pb.d.ts +5 -0
- package/proto/clarifai/auth/scope/scope_pb.js +6 -1
- package/.husky/commit-msg +0 -4
- package/CHANGELOG.md +0 -7
- package/package.json-E +0 -52
|
@@ -4,7 +4,11 @@
|
|
|
4
4
|
* @enhanceable
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
//
|
|
7
|
+
// Code generated by protoc-gen-grpc-web. DO NOT EDIT.
|
|
8
|
+
// versions:
|
|
9
|
+
// protoc-gen-grpc-web v1.4.2
|
|
10
|
+
// protoc v3.21.6
|
|
11
|
+
// source: proto/clarifai/api/service.proto
|
|
8
12
|
/* eslint-disable */
|
|
9
13
|
// @ts-nocheck
|
|
10
14
|
const grpc = {};
|
|
@@ -42,7 +46,7 @@ proto.clarifai.api.V2Client =
|
|
|
42
46
|
/**
|
|
43
47
|
* @private @const {string} The hostname
|
|
44
48
|
*/
|
|
45
|
-
this.hostname_ = hostname;
|
|
49
|
+
this.hostname_ = hostname.replace(/\/+$/, '');
|
|
46
50
|
};
|
|
47
51
|
/**
|
|
48
52
|
* @param {string} hostname
|
|
@@ -64,7 +68,7 @@ proto.clarifai.api.V2PromiseClient =
|
|
|
64
68
|
/**
|
|
65
69
|
* @private @const {string} The hostname
|
|
66
70
|
*/
|
|
67
|
-
this.hostname_ = hostname;
|
|
71
|
+
this.hostname_ = hostname.replace(/\/+$/, '');
|
|
68
72
|
};
|
|
69
73
|
/**
|
|
70
74
|
* @const
|
|
@@ -1158,6 +1162,48 @@ proto.clarifai.api.V2PromiseClient.prototype.postAnnotationsSearches =
|
|
|
1158
1162
|
return this.client_.unaryCall(this.hostname_ +
|
|
1159
1163
|
'/clarifai.api.V2/PostAnnotationsSearches', request, metadata || {}, methodDescriptor_V2_PostAnnotationsSearches);
|
|
1160
1164
|
};
|
|
1165
|
+
/**
|
|
1166
|
+
* @const
|
|
1167
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
1168
|
+
* !proto.clarifai.api.ListAnnotationWorkersRequest,
|
|
1169
|
+
* !proto.clarifai.api.MultiWorkerResponse>}
|
|
1170
|
+
*/
|
|
1171
|
+
const methodDescriptor_V2_ListAnnotationWorkers = new grpc.web.MethodDescriptor('/clarifai.api.V2/ListAnnotationWorkers', grpc.web.MethodType.UNARY, proto.clarifai.api.ListAnnotationWorkersRequest, proto.clarifai.api.MultiWorkerResponse,
|
|
1172
|
+
/**
|
|
1173
|
+
* @param {!proto.clarifai.api.ListAnnotationWorkersRequest} request
|
|
1174
|
+
* @return {!Uint8Array}
|
|
1175
|
+
*/
|
|
1176
|
+
function (request) {
|
|
1177
|
+
return request.serializeBinary();
|
|
1178
|
+
}, proto.clarifai.api.MultiWorkerResponse.deserializeBinary);
|
|
1179
|
+
/**
|
|
1180
|
+
* @param {!proto.clarifai.api.ListAnnotationWorkersRequest} request The
|
|
1181
|
+
* request proto
|
|
1182
|
+
* @param {?Object<string, string>} metadata User defined
|
|
1183
|
+
* call metadata
|
|
1184
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiWorkerResponse)}
|
|
1185
|
+
* callback The callback function(error, response)
|
|
1186
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiWorkerResponse>|undefined}
|
|
1187
|
+
* The XHR Node Readable Stream
|
|
1188
|
+
*/
|
|
1189
|
+
proto.clarifai.api.V2Client.prototype.listAnnotationWorkers =
|
|
1190
|
+
function (request, metadata, callback) {
|
|
1191
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
1192
|
+
'/clarifai.api.V2/ListAnnotationWorkers', request, metadata || {}, methodDescriptor_V2_ListAnnotationWorkers, callback);
|
|
1193
|
+
};
|
|
1194
|
+
/**
|
|
1195
|
+
* @param {!proto.clarifai.api.ListAnnotationWorkersRequest} request The
|
|
1196
|
+
* request proto
|
|
1197
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
1198
|
+
* call metadata
|
|
1199
|
+
* @return {!Promise<!proto.clarifai.api.MultiWorkerResponse>}
|
|
1200
|
+
* Promise that resolves to the response
|
|
1201
|
+
*/
|
|
1202
|
+
proto.clarifai.api.V2PromiseClient.prototype.listAnnotationWorkers =
|
|
1203
|
+
function (request, metadata) {
|
|
1204
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
1205
|
+
'/clarifai.api.V2/ListAnnotationWorkers', request, metadata || {}, methodDescriptor_V2_ListAnnotationWorkers);
|
|
1206
|
+
};
|
|
1161
1207
|
/**
|
|
1162
1208
|
* @const
|
|
1163
1209
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -1326,6 +1372,48 @@ proto.clarifai.api.V2PromiseClient.prototype.getInput =
|
|
|
1326
1372
|
return this.client_.unaryCall(this.hostname_ +
|
|
1327
1373
|
'/clarifai.api.V2/GetInput', request, metadata || {}, methodDescriptor_V2_GetInput);
|
|
1328
1374
|
};
|
|
1375
|
+
/**
|
|
1376
|
+
* @const
|
|
1377
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
1378
|
+
* !proto.clarifai.api.GetVideoManifestRequest,
|
|
1379
|
+
* !proto.clarifai.api.GetVideoManifestResponse>}
|
|
1380
|
+
*/
|
|
1381
|
+
const methodDescriptor_V2_GetInputVideoManifest = new grpc.web.MethodDescriptor('/clarifai.api.V2/GetInputVideoManifest', grpc.web.MethodType.UNARY, proto.clarifai.api.GetVideoManifestRequest, proto.clarifai.api.GetVideoManifestResponse,
|
|
1382
|
+
/**
|
|
1383
|
+
* @param {!proto.clarifai.api.GetVideoManifestRequest} request
|
|
1384
|
+
* @return {!Uint8Array}
|
|
1385
|
+
*/
|
|
1386
|
+
function (request) {
|
|
1387
|
+
return request.serializeBinary();
|
|
1388
|
+
}, proto.clarifai.api.GetVideoManifestResponse.deserializeBinary);
|
|
1389
|
+
/**
|
|
1390
|
+
* @param {!proto.clarifai.api.GetVideoManifestRequest} request The
|
|
1391
|
+
* request proto
|
|
1392
|
+
* @param {?Object<string, string>} metadata User defined
|
|
1393
|
+
* call metadata
|
|
1394
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.GetVideoManifestResponse)}
|
|
1395
|
+
* callback The callback function(error, response)
|
|
1396
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.GetVideoManifestResponse>|undefined}
|
|
1397
|
+
* The XHR Node Readable Stream
|
|
1398
|
+
*/
|
|
1399
|
+
proto.clarifai.api.V2Client.prototype.getInputVideoManifest =
|
|
1400
|
+
function (request, metadata, callback) {
|
|
1401
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
1402
|
+
'/clarifai.api.V2/GetInputVideoManifest', request, metadata || {}, methodDescriptor_V2_GetInputVideoManifest, callback);
|
|
1403
|
+
};
|
|
1404
|
+
/**
|
|
1405
|
+
* @param {!proto.clarifai.api.GetVideoManifestRequest} request The
|
|
1406
|
+
* request proto
|
|
1407
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
1408
|
+
* call metadata
|
|
1409
|
+
* @return {!Promise<!proto.clarifai.api.GetVideoManifestResponse>}
|
|
1410
|
+
* Promise that resolves to the response
|
|
1411
|
+
*/
|
|
1412
|
+
proto.clarifai.api.V2PromiseClient.prototype.getInputVideoManifest =
|
|
1413
|
+
function (request, metadata) {
|
|
1414
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
1415
|
+
'/clarifai.api.V2/GetInputVideoManifest', request, metadata || {}, methodDescriptor_V2_GetInputVideoManifest);
|
|
1416
|
+
};
|
|
1329
1417
|
/**
|
|
1330
1418
|
* @const
|
|
1331
1419
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -1830,48 +1918,6 @@ proto.clarifai.api.V2PromiseClient.prototype.patchDatasets =
|
|
|
1830
1918
|
return this.client_.unaryCall(this.hostname_ +
|
|
1831
1919
|
'/clarifai.api.V2/PatchDatasets', request, metadata || {}, methodDescriptor_V2_PatchDatasets);
|
|
1832
1920
|
};
|
|
1833
|
-
/**
|
|
1834
|
-
* @const
|
|
1835
|
-
* @type {!grpc.web.MethodDescriptor<
|
|
1836
|
-
* !proto.clarifai.api.PatchDatasetIdsRequest,
|
|
1837
|
-
* !proto.clarifai.api.MultiDatasetResponse>}
|
|
1838
|
-
*/
|
|
1839
|
-
const methodDescriptor_V2_PatchDatasetIds = new grpc.web.MethodDescriptor('/clarifai.api.V2/PatchDatasetIds', grpc.web.MethodType.UNARY, proto.clarifai.api.PatchDatasetIdsRequest, proto.clarifai.api.MultiDatasetResponse,
|
|
1840
|
-
/**
|
|
1841
|
-
* @param {!proto.clarifai.api.PatchDatasetIdsRequest} request
|
|
1842
|
-
* @return {!Uint8Array}
|
|
1843
|
-
*/
|
|
1844
|
-
function (request) {
|
|
1845
|
-
return request.serializeBinary();
|
|
1846
|
-
}, proto.clarifai.api.MultiDatasetResponse.deserializeBinary);
|
|
1847
|
-
/**
|
|
1848
|
-
* @param {!proto.clarifai.api.PatchDatasetIdsRequest} request The
|
|
1849
|
-
* request proto
|
|
1850
|
-
* @param {?Object<string, string>} metadata User defined
|
|
1851
|
-
* call metadata
|
|
1852
|
-
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiDatasetResponse)}
|
|
1853
|
-
* callback The callback function(error, response)
|
|
1854
|
-
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiDatasetResponse>|undefined}
|
|
1855
|
-
* The XHR Node Readable Stream
|
|
1856
|
-
*/
|
|
1857
|
-
proto.clarifai.api.V2Client.prototype.patchDatasetIds =
|
|
1858
|
-
function (request, metadata, callback) {
|
|
1859
|
-
return this.client_.rpcCall(this.hostname_ +
|
|
1860
|
-
'/clarifai.api.V2/PatchDatasetIds', request, metadata || {}, methodDescriptor_V2_PatchDatasetIds, callback);
|
|
1861
|
-
};
|
|
1862
|
-
/**
|
|
1863
|
-
* @param {!proto.clarifai.api.PatchDatasetIdsRequest} request The
|
|
1864
|
-
* request proto
|
|
1865
|
-
* @param {?Object<string, string>=} metadata User defined
|
|
1866
|
-
* call metadata
|
|
1867
|
-
* @return {!Promise<!proto.clarifai.api.MultiDatasetResponse>}
|
|
1868
|
-
* Promise that resolves to the response
|
|
1869
|
-
*/
|
|
1870
|
-
proto.clarifai.api.V2PromiseClient.prototype.patchDatasetIds =
|
|
1871
|
-
function (request, metadata) {
|
|
1872
|
-
return this.client_.unaryCall(this.hostname_ +
|
|
1873
|
-
'/clarifai.api.V2/PatchDatasetIds', request, metadata || {}, methodDescriptor_V2_PatchDatasetIds);
|
|
1874
|
-
};
|
|
1875
1921
|
/**
|
|
1876
1922
|
* @const
|
|
1877
1923
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -2628,6 +2674,48 @@ proto.clarifai.api.V2PromiseClient.prototype.listModels =
|
|
|
2628
2674
|
return this.client_.unaryCall(this.hostname_ +
|
|
2629
2675
|
'/clarifai.api.V2/ListModels', request, metadata || {}, methodDescriptor_V2_ListModels);
|
|
2630
2676
|
};
|
|
2677
|
+
/**
|
|
2678
|
+
* @const
|
|
2679
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
2680
|
+
* !proto.clarifai.api.GetResourceCountsRequest,
|
|
2681
|
+
* !proto.clarifai.api.GetResourceCountsResponse>}
|
|
2682
|
+
*/
|
|
2683
|
+
const methodDescriptor_V2_GetResourceCounts = new grpc.web.MethodDescriptor('/clarifai.api.V2/GetResourceCounts', grpc.web.MethodType.UNARY, proto.clarifai.api.GetResourceCountsRequest, proto.clarifai.api.GetResourceCountsResponse,
|
|
2684
|
+
/**
|
|
2685
|
+
* @param {!proto.clarifai.api.GetResourceCountsRequest} request
|
|
2686
|
+
* @return {!Uint8Array}
|
|
2687
|
+
*/
|
|
2688
|
+
function (request) {
|
|
2689
|
+
return request.serializeBinary();
|
|
2690
|
+
}, proto.clarifai.api.GetResourceCountsResponse.deserializeBinary);
|
|
2691
|
+
/**
|
|
2692
|
+
* @param {!proto.clarifai.api.GetResourceCountsRequest} request The
|
|
2693
|
+
* request proto
|
|
2694
|
+
* @param {?Object<string, string>} metadata User defined
|
|
2695
|
+
* call metadata
|
|
2696
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.GetResourceCountsResponse)}
|
|
2697
|
+
* callback The callback function(error, response)
|
|
2698
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.GetResourceCountsResponse>|undefined}
|
|
2699
|
+
* The XHR Node Readable Stream
|
|
2700
|
+
*/
|
|
2701
|
+
proto.clarifai.api.V2Client.prototype.getResourceCounts =
|
|
2702
|
+
function (request, metadata, callback) {
|
|
2703
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
2704
|
+
'/clarifai.api.V2/GetResourceCounts', request, metadata || {}, methodDescriptor_V2_GetResourceCounts, callback);
|
|
2705
|
+
};
|
|
2706
|
+
/**
|
|
2707
|
+
* @param {!proto.clarifai.api.GetResourceCountsRequest} request The
|
|
2708
|
+
* request proto
|
|
2709
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
2710
|
+
* call metadata
|
|
2711
|
+
* @return {!Promise<!proto.clarifai.api.GetResourceCountsResponse>}
|
|
2712
|
+
* Promise that resolves to the response
|
|
2713
|
+
*/
|
|
2714
|
+
proto.clarifai.api.V2PromiseClient.prototype.getResourceCounts =
|
|
2715
|
+
function (request, metadata) {
|
|
2716
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
2717
|
+
'/clarifai.api.V2/GetResourceCounts', request, metadata || {}, methodDescriptor_V2_GetResourceCounts);
|
|
2718
|
+
};
|
|
2631
2719
|
/**
|
|
2632
2720
|
* @const
|
|
2633
2721
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -3555,338 +3643,590 @@ proto.clarifai.api.V2PromiseClient.prototype.postModelVersionMetrics =
|
|
|
3555
3643
|
/**
|
|
3556
3644
|
* @const
|
|
3557
3645
|
* @type {!grpc.web.MethodDescriptor<
|
|
3558
|
-
* !proto.clarifai.api.
|
|
3559
|
-
* !proto.clarifai.api.
|
|
3646
|
+
* !proto.clarifai.api.PostModelVersionEvaluationsRequest,
|
|
3647
|
+
* !proto.clarifai.api.MultiEvalMetricsResponse>}
|
|
3560
3648
|
*/
|
|
3561
|
-
const
|
|
3649
|
+
const methodDescriptor_V2_PostModelVersionEvaluations = new grpc.web.MethodDescriptor('/clarifai.api.V2/PostModelVersionEvaluations', grpc.web.MethodType.UNARY, proto.clarifai.api.PostModelVersionEvaluationsRequest, proto.clarifai.api.MultiEvalMetricsResponse,
|
|
3562
3650
|
/**
|
|
3563
|
-
* @param {!proto.clarifai.api.
|
|
3651
|
+
* @param {!proto.clarifai.api.PostModelVersionEvaluationsRequest} request
|
|
3564
3652
|
* @return {!Uint8Array}
|
|
3565
3653
|
*/
|
|
3566
3654
|
function (request) {
|
|
3567
3655
|
return request.serializeBinary();
|
|
3568
|
-
}, proto.clarifai.api.
|
|
3656
|
+
}, proto.clarifai.api.MultiEvalMetricsResponse.deserializeBinary);
|
|
3569
3657
|
/**
|
|
3570
|
-
* @param {!proto.clarifai.api.
|
|
3658
|
+
* @param {!proto.clarifai.api.PostModelVersionEvaluationsRequest} request The
|
|
3571
3659
|
* request proto
|
|
3572
3660
|
* @param {?Object<string, string>} metadata User defined
|
|
3573
3661
|
* call metadata
|
|
3574
|
-
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.
|
|
3662
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiEvalMetricsResponse)}
|
|
3575
3663
|
* callback The callback function(error, response)
|
|
3576
|
-
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.
|
|
3664
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiEvalMetricsResponse>|undefined}
|
|
3577
3665
|
* The XHR Node Readable Stream
|
|
3578
3666
|
*/
|
|
3579
|
-
proto.clarifai.api.V2Client.prototype.
|
|
3667
|
+
proto.clarifai.api.V2Client.prototype.postModelVersionEvaluations =
|
|
3580
3668
|
function (request, metadata, callback) {
|
|
3581
3669
|
return this.client_.rpcCall(this.hostname_ +
|
|
3582
|
-
'/clarifai.api.V2/
|
|
3670
|
+
'/clarifai.api.V2/PostModelVersionEvaluations', request, metadata || {}, methodDescriptor_V2_PostModelVersionEvaluations, callback);
|
|
3583
3671
|
};
|
|
3584
3672
|
/**
|
|
3585
|
-
* @param {!proto.clarifai.api.
|
|
3673
|
+
* @param {!proto.clarifai.api.PostModelVersionEvaluationsRequest} request The
|
|
3586
3674
|
* request proto
|
|
3587
3675
|
* @param {?Object<string, string>=} metadata User defined
|
|
3588
3676
|
* call metadata
|
|
3589
|
-
* @return {!Promise<!proto.clarifai.api.
|
|
3677
|
+
* @return {!Promise<!proto.clarifai.api.MultiEvalMetricsResponse>}
|
|
3590
3678
|
* Promise that resolves to the response
|
|
3591
3679
|
*/
|
|
3592
|
-
proto.clarifai.api.V2PromiseClient.prototype.
|
|
3680
|
+
proto.clarifai.api.V2PromiseClient.prototype.postModelVersionEvaluations =
|
|
3593
3681
|
function (request, metadata) {
|
|
3594
3682
|
return this.client_.unaryCall(this.hostname_ +
|
|
3595
|
-
'/clarifai.api.V2/
|
|
3683
|
+
'/clarifai.api.V2/PostModelVersionEvaluations', request, metadata || {}, methodDescriptor_V2_PostModelVersionEvaluations);
|
|
3596
3684
|
};
|
|
3597
3685
|
/**
|
|
3598
3686
|
* @const
|
|
3599
3687
|
* @type {!grpc.web.MethodDescriptor<
|
|
3600
|
-
* !proto.clarifai.api.
|
|
3601
|
-
* !proto.clarifai.api.
|
|
3688
|
+
* !proto.clarifai.api.ListModelVersionEvaluationsRequest,
|
|
3689
|
+
* !proto.clarifai.api.MultiEvalMetricsResponse>}
|
|
3602
3690
|
*/
|
|
3603
|
-
const
|
|
3691
|
+
const methodDescriptor_V2_ListModelVersionEvaluations = new grpc.web.MethodDescriptor('/clarifai.api.V2/ListModelVersionEvaluations', grpc.web.MethodType.UNARY, proto.clarifai.api.ListModelVersionEvaluationsRequest, proto.clarifai.api.MultiEvalMetricsResponse,
|
|
3604
3692
|
/**
|
|
3605
|
-
* @param {!proto.clarifai.api.
|
|
3693
|
+
* @param {!proto.clarifai.api.ListModelVersionEvaluationsRequest} request
|
|
3606
3694
|
* @return {!Uint8Array}
|
|
3607
3695
|
*/
|
|
3608
3696
|
function (request) {
|
|
3609
3697
|
return request.serializeBinary();
|
|
3610
|
-
}, proto.clarifai.api.
|
|
3698
|
+
}, proto.clarifai.api.MultiEvalMetricsResponse.deserializeBinary);
|
|
3611
3699
|
/**
|
|
3612
|
-
* @param {!proto.clarifai.api.
|
|
3700
|
+
* @param {!proto.clarifai.api.ListModelVersionEvaluationsRequest} request The
|
|
3613
3701
|
* request proto
|
|
3614
3702
|
* @param {?Object<string, string>} metadata User defined
|
|
3615
3703
|
* call metadata
|
|
3616
|
-
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.
|
|
3704
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiEvalMetricsResponse)}
|
|
3617
3705
|
* callback The callback function(error, response)
|
|
3618
|
-
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.
|
|
3706
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiEvalMetricsResponse>|undefined}
|
|
3619
3707
|
* The XHR Node Readable Stream
|
|
3620
3708
|
*/
|
|
3621
|
-
proto.clarifai.api.V2Client.prototype.
|
|
3709
|
+
proto.clarifai.api.V2Client.prototype.listModelVersionEvaluations =
|
|
3622
3710
|
function (request, metadata, callback) {
|
|
3623
3711
|
return this.client_.rpcCall(this.hostname_ +
|
|
3624
|
-
'/clarifai.api.V2/
|
|
3712
|
+
'/clarifai.api.V2/ListModelVersionEvaluations', request, metadata || {}, methodDescriptor_V2_ListModelVersionEvaluations, callback);
|
|
3625
3713
|
};
|
|
3626
3714
|
/**
|
|
3627
|
-
* @param {!proto.clarifai.api.
|
|
3715
|
+
* @param {!proto.clarifai.api.ListModelVersionEvaluationsRequest} request The
|
|
3628
3716
|
* request proto
|
|
3629
3717
|
* @param {?Object<string, string>=} metadata User defined
|
|
3630
3718
|
* call metadata
|
|
3631
|
-
* @return {!Promise<!proto.clarifai.api.
|
|
3719
|
+
* @return {!Promise<!proto.clarifai.api.MultiEvalMetricsResponse>}
|
|
3632
3720
|
* Promise that resolves to the response
|
|
3633
3721
|
*/
|
|
3634
|
-
proto.clarifai.api.V2PromiseClient.prototype.
|
|
3722
|
+
proto.clarifai.api.V2PromiseClient.prototype.listModelVersionEvaluations =
|
|
3635
3723
|
function (request, metadata) {
|
|
3636
3724
|
return this.client_.unaryCall(this.hostname_ +
|
|
3637
|
-
'/clarifai.api.V2/
|
|
3725
|
+
'/clarifai.api.V2/ListModelVersionEvaluations', request, metadata || {}, methodDescriptor_V2_ListModelVersionEvaluations);
|
|
3638
3726
|
};
|
|
3639
3727
|
/**
|
|
3640
3728
|
* @const
|
|
3641
3729
|
* @type {!grpc.web.MethodDescriptor<
|
|
3642
|
-
* !proto.clarifai.api.
|
|
3643
|
-
* !proto.clarifai.api.
|
|
3730
|
+
* !proto.clarifai.api.GetModelVersionEvaluationRequest,
|
|
3731
|
+
* !proto.clarifai.api.SingleEvalMetricsResponse>}
|
|
3644
3732
|
*/
|
|
3645
|
-
const
|
|
3733
|
+
const methodDescriptor_V2_GetModelVersionEvaluation = new grpc.web.MethodDescriptor('/clarifai.api.V2/GetModelVersionEvaluation', grpc.web.MethodType.UNARY, proto.clarifai.api.GetModelVersionEvaluationRequest, proto.clarifai.api.SingleEvalMetricsResponse,
|
|
3646
3734
|
/**
|
|
3647
|
-
* @param {!proto.clarifai.api.
|
|
3735
|
+
* @param {!proto.clarifai.api.GetModelVersionEvaluationRequest} request
|
|
3648
3736
|
* @return {!Uint8Array}
|
|
3649
3737
|
*/
|
|
3650
3738
|
function (request) {
|
|
3651
3739
|
return request.serializeBinary();
|
|
3652
|
-
}, proto.clarifai.api.
|
|
3740
|
+
}, proto.clarifai.api.SingleEvalMetricsResponse.deserializeBinary);
|
|
3653
3741
|
/**
|
|
3654
|
-
* @param {!proto.clarifai.api.
|
|
3742
|
+
* @param {!proto.clarifai.api.GetModelVersionEvaluationRequest} request The
|
|
3655
3743
|
* request proto
|
|
3656
3744
|
* @param {?Object<string, string>} metadata User defined
|
|
3657
3745
|
* call metadata
|
|
3658
|
-
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.
|
|
3746
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.SingleEvalMetricsResponse)}
|
|
3659
3747
|
* callback The callback function(error, response)
|
|
3660
|
-
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.
|
|
3748
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.SingleEvalMetricsResponse>|undefined}
|
|
3661
3749
|
* The XHR Node Readable Stream
|
|
3662
3750
|
*/
|
|
3663
|
-
proto.clarifai.api.V2Client.prototype.
|
|
3751
|
+
proto.clarifai.api.V2Client.prototype.getModelVersionEvaluation =
|
|
3664
3752
|
function (request, metadata, callback) {
|
|
3665
3753
|
return this.client_.rpcCall(this.hostname_ +
|
|
3666
|
-
'/clarifai.api.V2/
|
|
3754
|
+
'/clarifai.api.V2/GetModelVersionEvaluation', request, metadata || {}, methodDescriptor_V2_GetModelVersionEvaluation, callback);
|
|
3667
3755
|
};
|
|
3668
3756
|
/**
|
|
3669
|
-
* @param {!proto.clarifai.api.
|
|
3757
|
+
* @param {!proto.clarifai.api.GetModelVersionEvaluationRequest} request The
|
|
3670
3758
|
* request proto
|
|
3671
3759
|
* @param {?Object<string, string>=} metadata User defined
|
|
3672
3760
|
* call metadata
|
|
3673
|
-
* @return {!Promise<!proto.clarifai.api.
|
|
3761
|
+
* @return {!Promise<!proto.clarifai.api.SingleEvalMetricsResponse>}
|
|
3674
3762
|
* Promise that resolves to the response
|
|
3675
3763
|
*/
|
|
3676
|
-
proto.clarifai.api.V2PromiseClient.prototype.
|
|
3764
|
+
proto.clarifai.api.V2PromiseClient.prototype.getModelVersionEvaluation =
|
|
3677
3765
|
function (request, metadata) {
|
|
3678
3766
|
return this.client_.unaryCall(this.hostname_ +
|
|
3679
|
-
'/clarifai.api.V2/
|
|
3767
|
+
'/clarifai.api.V2/GetModelVersionEvaluation', request, metadata || {}, methodDescriptor_V2_GetModelVersionEvaluation);
|
|
3680
3768
|
};
|
|
3681
3769
|
/**
|
|
3682
3770
|
* @const
|
|
3683
3771
|
* @type {!grpc.web.MethodDescriptor<
|
|
3684
|
-
* !proto.clarifai.api.
|
|
3685
|
-
* !proto.clarifai.api.
|
|
3772
|
+
* !proto.clarifai.api.PostEvaluationsRequest,
|
|
3773
|
+
* !proto.clarifai.api.MultiEvalMetricsResponse>}
|
|
3686
3774
|
*/
|
|
3687
|
-
const
|
|
3775
|
+
const methodDescriptor_V2_PostEvaluations = new grpc.web.MethodDescriptor('/clarifai.api.V2/PostEvaluations', grpc.web.MethodType.UNARY, proto.clarifai.api.PostEvaluationsRequest, proto.clarifai.api.MultiEvalMetricsResponse,
|
|
3688
3776
|
/**
|
|
3689
|
-
* @param {!proto.clarifai.api.
|
|
3777
|
+
* @param {!proto.clarifai.api.PostEvaluationsRequest} request
|
|
3690
3778
|
* @return {!Uint8Array}
|
|
3691
3779
|
*/
|
|
3692
3780
|
function (request) {
|
|
3693
3781
|
return request.serializeBinary();
|
|
3694
|
-
}, proto.clarifai.api.
|
|
3782
|
+
}, proto.clarifai.api.MultiEvalMetricsResponse.deserializeBinary);
|
|
3695
3783
|
/**
|
|
3696
|
-
* @param {!proto.clarifai.api.
|
|
3784
|
+
* @param {!proto.clarifai.api.PostEvaluationsRequest} request The
|
|
3697
3785
|
* request proto
|
|
3698
3786
|
* @param {?Object<string, string>} metadata User defined
|
|
3699
3787
|
* call metadata
|
|
3700
|
-
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.
|
|
3788
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiEvalMetricsResponse)}
|
|
3701
3789
|
* callback The callback function(error, response)
|
|
3702
|
-
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.
|
|
3790
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiEvalMetricsResponse>|undefined}
|
|
3703
3791
|
* The XHR Node Readable Stream
|
|
3704
3792
|
*/
|
|
3705
|
-
proto.clarifai.api.V2Client.prototype.
|
|
3793
|
+
proto.clarifai.api.V2Client.prototype.postEvaluations =
|
|
3706
3794
|
function (request, metadata, callback) {
|
|
3707
3795
|
return this.client_.rpcCall(this.hostname_ +
|
|
3708
|
-
'/clarifai.api.V2/
|
|
3796
|
+
'/clarifai.api.V2/PostEvaluations', request, metadata || {}, methodDescriptor_V2_PostEvaluations, callback);
|
|
3709
3797
|
};
|
|
3710
3798
|
/**
|
|
3711
|
-
* @param {!proto.clarifai.api.
|
|
3799
|
+
* @param {!proto.clarifai.api.PostEvaluationsRequest} request The
|
|
3712
3800
|
* request proto
|
|
3713
3801
|
* @param {?Object<string, string>=} metadata User defined
|
|
3714
3802
|
* call metadata
|
|
3715
|
-
* @return {!Promise<!proto.clarifai.api.
|
|
3803
|
+
* @return {!Promise<!proto.clarifai.api.MultiEvalMetricsResponse>}
|
|
3716
3804
|
* Promise that resolves to the response
|
|
3717
3805
|
*/
|
|
3718
|
-
proto.clarifai.api.V2PromiseClient.prototype.
|
|
3806
|
+
proto.clarifai.api.V2PromiseClient.prototype.postEvaluations =
|
|
3719
3807
|
function (request, metadata) {
|
|
3720
3808
|
return this.client_.unaryCall(this.hostname_ +
|
|
3721
|
-
'/clarifai.api.V2/
|
|
3809
|
+
'/clarifai.api.V2/PostEvaluations', request, metadata || {}, methodDescriptor_V2_PostEvaluations);
|
|
3722
3810
|
};
|
|
3723
3811
|
/**
|
|
3724
3812
|
* @const
|
|
3725
3813
|
* @type {!grpc.web.MethodDescriptor<
|
|
3726
|
-
* !proto.clarifai.api.
|
|
3727
|
-
* !proto.clarifai.api.
|
|
3814
|
+
* !proto.clarifai.api.ListEvaluationsRequest,
|
|
3815
|
+
* !proto.clarifai.api.MultiEvalMetricsResponse>}
|
|
3728
3816
|
*/
|
|
3729
|
-
const
|
|
3817
|
+
const methodDescriptor_V2_ListEvaluations = new grpc.web.MethodDescriptor('/clarifai.api.V2/ListEvaluations', grpc.web.MethodType.UNARY, proto.clarifai.api.ListEvaluationsRequest, proto.clarifai.api.MultiEvalMetricsResponse,
|
|
3730
3818
|
/**
|
|
3731
|
-
* @param {!proto.clarifai.api.
|
|
3819
|
+
* @param {!proto.clarifai.api.ListEvaluationsRequest} request
|
|
3732
3820
|
* @return {!Uint8Array}
|
|
3733
3821
|
*/
|
|
3734
3822
|
function (request) {
|
|
3735
3823
|
return request.serializeBinary();
|
|
3736
|
-
}, proto.clarifai.api.
|
|
3824
|
+
}, proto.clarifai.api.MultiEvalMetricsResponse.deserializeBinary);
|
|
3737
3825
|
/**
|
|
3738
|
-
* @param {!proto.clarifai.api.
|
|
3826
|
+
* @param {!proto.clarifai.api.ListEvaluationsRequest} request The
|
|
3739
3827
|
* request proto
|
|
3740
3828
|
* @param {?Object<string, string>} metadata User defined
|
|
3741
3829
|
* call metadata
|
|
3742
|
-
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.
|
|
3830
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiEvalMetricsResponse)}
|
|
3743
3831
|
* callback The callback function(error, response)
|
|
3744
|
-
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.
|
|
3832
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiEvalMetricsResponse>|undefined}
|
|
3745
3833
|
* The XHR Node Readable Stream
|
|
3746
3834
|
*/
|
|
3747
|
-
proto.clarifai.api.V2Client.prototype.
|
|
3835
|
+
proto.clarifai.api.V2Client.prototype.listEvaluations =
|
|
3748
3836
|
function (request, metadata, callback) {
|
|
3749
3837
|
return this.client_.rpcCall(this.hostname_ +
|
|
3750
|
-
'/clarifai.api.V2/
|
|
3838
|
+
'/clarifai.api.V2/ListEvaluations', request, metadata || {}, methodDescriptor_V2_ListEvaluations, callback);
|
|
3751
3839
|
};
|
|
3752
3840
|
/**
|
|
3753
|
-
* @param {!proto.clarifai.api.
|
|
3841
|
+
* @param {!proto.clarifai.api.ListEvaluationsRequest} request The
|
|
3754
3842
|
* request proto
|
|
3755
3843
|
* @param {?Object<string, string>=} metadata User defined
|
|
3756
3844
|
* call metadata
|
|
3757
|
-
* @return {!Promise<!proto.clarifai.api.
|
|
3845
|
+
* @return {!Promise<!proto.clarifai.api.MultiEvalMetricsResponse>}
|
|
3758
3846
|
* Promise that resolves to the response
|
|
3759
3847
|
*/
|
|
3760
|
-
proto.clarifai.api.V2PromiseClient.prototype.
|
|
3848
|
+
proto.clarifai.api.V2PromiseClient.prototype.listEvaluations =
|
|
3761
3849
|
function (request, metadata) {
|
|
3762
3850
|
return this.client_.unaryCall(this.hostname_ +
|
|
3763
|
-
'/clarifai.api.V2/
|
|
3851
|
+
'/clarifai.api.V2/ListEvaluations', request, metadata || {}, methodDescriptor_V2_ListEvaluations);
|
|
3764
3852
|
};
|
|
3765
3853
|
/**
|
|
3766
3854
|
* @const
|
|
3767
3855
|
* @type {!grpc.web.MethodDescriptor<
|
|
3768
|
-
* !proto.clarifai.api.
|
|
3769
|
-
* !proto.clarifai.api.
|
|
3856
|
+
* !proto.clarifai.api.GetEvaluationRequest,
|
|
3857
|
+
* !proto.clarifai.api.SingleEvalMetricsResponse>}
|
|
3770
3858
|
*/
|
|
3771
|
-
const
|
|
3859
|
+
const methodDescriptor_V2_GetEvaluation = new grpc.web.MethodDescriptor('/clarifai.api.V2/GetEvaluation', grpc.web.MethodType.UNARY, proto.clarifai.api.GetEvaluationRequest, proto.clarifai.api.SingleEvalMetricsResponse,
|
|
3772
3860
|
/**
|
|
3773
|
-
* @param {!proto.clarifai.api.
|
|
3861
|
+
* @param {!proto.clarifai.api.GetEvaluationRequest} request
|
|
3774
3862
|
* @return {!Uint8Array}
|
|
3775
3863
|
*/
|
|
3776
3864
|
function (request) {
|
|
3777
3865
|
return request.serializeBinary();
|
|
3778
|
-
}, proto.clarifai.api.
|
|
3866
|
+
}, proto.clarifai.api.SingleEvalMetricsResponse.deserializeBinary);
|
|
3779
3867
|
/**
|
|
3780
|
-
* @param {!proto.clarifai.api.
|
|
3868
|
+
* @param {!proto.clarifai.api.GetEvaluationRequest} request The
|
|
3781
3869
|
* request proto
|
|
3782
3870
|
* @param {?Object<string, string>} metadata User defined
|
|
3783
3871
|
* call metadata
|
|
3784
|
-
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.
|
|
3872
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.SingleEvalMetricsResponse)}
|
|
3785
3873
|
* callback The callback function(error, response)
|
|
3786
|
-
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.
|
|
3874
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.SingleEvalMetricsResponse>|undefined}
|
|
3787
3875
|
* The XHR Node Readable Stream
|
|
3788
3876
|
*/
|
|
3789
|
-
proto.clarifai.api.V2Client.prototype.
|
|
3877
|
+
proto.clarifai.api.V2Client.prototype.getEvaluation =
|
|
3790
3878
|
function (request, metadata, callback) {
|
|
3791
3879
|
return this.client_.rpcCall(this.hostname_ +
|
|
3792
|
-
'/clarifai.api.V2/
|
|
3880
|
+
'/clarifai.api.V2/GetEvaluation', request, metadata || {}, methodDescriptor_V2_GetEvaluation, callback);
|
|
3793
3881
|
};
|
|
3794
3882
|
/**
|
|
3795
|
-
* @param {!proto.clarifai.api.
|
|
3883
|
+
* @param {!proto.clarifai.api.GetEvaluationRequest} request The
|
|
3796
3884
|
* request proto
|
|
3797
3885
|
* @param {?Object<string, string>=} metadata User defined
|
|
3798
3886
|
* call metadata
|
|
3799
|
-
* @return {!Promise<!proto.clarifai.api.
|
|
3887
|
+
* @return {!Promise<!proto.clarifai.api.SingleEvalMetricsResponse>}
|
|
3800
3888
|
* Promise that resolves to the response
|
|
3801
3889
|
*/
|
|
3802
|
-
proto.clarifai.api.V2PromiseClient.prototype.
|
|
3890
|
+
proto.clarifai.api.V2PromiseClient.prototype.getEvaluation =
|
|
3803
3891
|
function (request, metadata) {
|
|
3804
3892
|
return this.client_.unaryCall(this.hostname_ +
|
|
3805
|
-
'/clarifai.api.V2/
|
|
3893
|
+
'/clarifai.api.V2/GetEvaluation', request, metadata || {}, methodDescriptor_V2_GetEvaluation);
|
|
3806
3894
|
};
|
|
3807
3895
|
/**
|
|
3808
3896
|
* @const
|
|
3809
3897
|
* @type {!grpc.web.MethodDescriptor<
|
|
3810
|
-
* !proto.clarifai.api.
|
|
3811
|
-
* !proto.clarifai.api.
|
|
3898
|
+
* !proto.clarifai.api.ListModelReferencesRequest,
|
|
3899
|
+
* !proto.clarifai.api.MultiModelReferenceResponse>}
|
|
3812
3900
|
*/
|
|
3813
|
-
const
|
|
3901
|
+
const methodDescriptor_V2_ListModelReferences = new grpc.web.MethodDescriptor('/clarifai.api.V2/ListModelReferences', grpc.web.MethodType.UNARY, proto.clarifai.api.ListModelReferencesRequest, proto.clarifai.api.MultiModelReferenceResponse,
|
|
3814
3902
|
/**
|
|
3815
|
-
* @param {!proto.clarifai.api.
|
|
3903
|
+
* @param {!proto.clarifai.api.ListModelReferencesRequest} request
|
|
3816
3904
|
* @return {!Uint8Array}
|
|
3817
3905
|
*/
|
|
3818
3906
|
function (request) {
|
|
3819
3907
|
return request.serializeBinary();
|
|
3820
|
-
}, proto.clarifai.api.
|
|
3908
|
+
}, proto.clarifai.api.MultiModelReferenceResponse.deserializeBinary);
|
|
3821
3909
|
/**
|
|
3822
|
-
* @param {!proto.clarifai.api.
|
|
3910
|
+
* @param {!proto.clarifai.api.ListModelReferencesRequest} request The
|
|
3823
3911
|
* request proto
|
|
3824
3912
|
* @param {?Object<string, string>} metadata User defined
|
|
3825
3913
|
* call metadata
|
|
3826
|
-
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.
|
|
3914
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiModelReferenceResponse)}
|
|
3827
3915
|
* callback The callback function(error, response)
|
|
3828
|
-
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.
|
|
3916
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiModelReferenceResponse>|undefined}
|
|
3829
3917
|
* The XHR Node Readable Stream
|
|
3830
3918
|
*/
|
|
3831
|
-
proto.clarifai.api.V2Client.prototype.
|
|
3919
|
+
proto.clarifai.api.V2Client.prototype.listModelReferences =
|
|
3832
3920
|
function (request, metadata, callback) {
|
|
3833
3921
|
return this.client_.rpcCall(this.hostname_ +
|
|
3834
|
-
'/clarifai.api.V2/
|
|
3922
|
+
'/clarifai.api.V2/ListModelReferences', request, metadata || {}, methodDescriptor_V2_ListModelReferences, callback);
|
|
3835
3923
|
};
|
|
3836
3924
|
/**
|
|
3837
|
-
* @param {!proto.clarifai.api.
|
|
3925
|
+
* @param {!proto.clarifai.api.ListModelReferencesRequest} request The
|
|
3838
3926
|
* request proto
|
|
3839
3927
|
* @param {?Object<string, string>=} metadata User defined
|
|
3840
3928
|
* call metadata
|
|
3841
|
-
* @return {!Promise<!proto.clarifai.api.
|
|
3929
|
+
* @return {!Promise<!proto.clarifai.api.MultiModelReferenceResponse>}
|
|
3842
3930
|
* Promise that resolves to the response
|
|
3843
3931
|
*/
|
|
3844
|
-
proto.clarifai.api.V2PromiseClient.prototype.
|
|
3932
|
+
proto.clarifai.api.V2PromiseClient.prototype.listModelReferences =
|
|
3845
3933
|
function (request, metadata) {
|
|
3846
3934
|
return this.client_.unaryCall(this.hostname_ +
|
|
3847
|
-
'/clarifai.api.V2/
|
|
3935
|
+
'/clarifai.api.V2/ListModelReferences', request, metadata || {}, methodDescriptor_V2_ListModelReferences);
|
|
3848
3936
|
};
|
|
3849
3937
|
/**
|
|
3850
3938
|
* @const
|
|
3851
3939
|
* @type {!grpc.web.MethodDescriptor<
|
|
3852
|
-
* !proto.clarifai.api.
|
|
3853
|
-
* !proto.clarifai.api.
|
|
3940
|
+
* !proto.clarifai.api.GetModelVersionInputExampleRequest,
|
|
3941
|
+
* !proto.clarifai.api.SingleModelVersionInputExampleResponse>}
|
|
3854
3942
|
*/
|
|
3855
|
-
const
|
|
3943
|
+
const methodDescriptor_V2_GetModelVersionInputExample = new grpc.web.MethodDescriptor('/clarifai.api.V2/GetModelVersionInputExample', grpc.web.MethodType.UNARY, proto.clarifai.api.GetModelVersionInputExampleRequest, proto.clarifai.api.SingleModelVersionInputExampleResponse,
|
|
3856
3944
|
/**
|
|
3857
|
-
* @param {!proto.clarifai.api.
|
|
3945
|
+
* @param {!proto.clarifai.api.GetModelVersionInputExampleRequest} request
|
|
3858
3946
|
* @return {!Uint8Array}
|
|
3859
3947
|
*/
|
|
3860
3948
|
function (request) {
|
|
3861
3949
|
return request.serializeBinary();
|
|
3862
|
-
}, proto.clarifai.api.
|
|
3950
|
+
}, proto.clarifai.api.SingleModelVersionInputExampleResponse.deserializeBinary);
|
|
3863
3951
|
/**
|
|
3864
|
-
* @param {!proto.clarifai.api.
|
|
3952
|
+
* @param {!proto.clarifai.api.GetModelVersionInputExampleRequest} request The
|
|
3865
3953
|
* request proto
|
|
3866
3954
|
* @param {?Object<string, string>} metadata User defined
|
|
3867
3955
|
* call metadata
|
|
3868
|
-
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.
|
|
3956
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.SingleModelVersionInputExampleResponse)}
|
|
3869
3957
|
* callback The callback function(error, response)
|
|
3870
|
-
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.
|
|
3958
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.SingleModelVersionInputExampleResponse>|undefined}
|
|
3871
3959
|
* The XHR Node Readable Stream
|
|
3872
3960
|
*/
|
|
3873
|
-
proto.clarifai.api.V2Client.prototype.
|
|
3961
|
+
proto.clarifai.api.V2Client.prototype.getModelVersionInputExample =
|
|
3874
3962
|
function (request, metadata, callback) {
|
|
3875
3963
|
return this.client_.rpcCall(this.hostname_ +
|
|
3876
|
-
'/clarifai.api.V2/
|
|
3964
|
+
'/clarifai.api.V2/GetModelVersionInputExample', request, metadata || {}, methodDescriptor_V2_GetModelVersionInputExample, callback);
|
|
3877
3965
|
};
|
|
3878
3966
|
/**
|
|
3879
|
-
* @param {!proto.clarifai.api.
|
|
3967
|
+
* @param {!proto.clarifai.api.GetModelVersionInputExampleRequest} request The
|
|
3880
3968
|
* request proto
|
|
3881
3969
|
* @param {?Object<string, string>=} metadata User defined
|
|
3882
3970
|
* call metadata
|
|
3883
|
-
* @return {!Promise<!proto.clarifai.api.
|
|
3971
|
+
* @return {!Promise<!proto.clarifai.api.SingleModelVersionInputExampleResponse>}
|
|
3884
3972
|
* Promise that resolves to the response
|
|
3885
3973
|
*/
|
|
3886
|
-
proto.clarifai.api.V2PromiseClient.prototype.
|
|
3974
|
+
proto.clarifai.api.V2PromiseClient.prototype.getModelVersionInputExample =
|
|
3887
3975
|
function (request, metadata) {
|
|
3888
3976
|
return this.client_.unaryCall(this.hostname_ +
|
|
3889
|
-
'/clarifai.api.V2/
|
|
3977
|
+
'/clarifai.api.V2/GetModelVersionInputExample', request, metadata || {}, methodDescriptor_V2_GetModelVersionInputExample);
|
|
3978
|
+
};
|
|
3979
|
+
/**
|
|
3980
|
+
* @const
|
|
3981
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
3982
|
+
* !proto.clarifai.api.ListModelVersionInputExamplesRequest,
|
|
3983
|
+
* !proto.clarifai.api.MultiModelVersionInputExampleResponse>}
|
|
3984
|
+
*/
|
|
3985
|
+
const methodDescriptor_V2_ListModelVersionInputExamples = new grpc.web.MethodDescriptor('/clarifai.api.V2/ListModelVersionInputExamples', grpc.web.MethodType.UNARY, proto.clarifai.api.ListModelVersionInputExamplesRequest, proto.clarifai.api.MultiModelVersionInputExampleResponse,
|
|
3986
|
+
/**
|
|
3987
|
+
* @param {!proto.clarifai.api.ListModelVersionInputExamplesRequest} request
|
|
3988
|
+
* @return {!Uint8Array}
|
|
3989
|
+
*/
|
|
3990
|
+
function (request) {
|
|
3991
|
+
return request.serializeBinary();
|
|
3992
|
+
}, proto.clarifai.api.MultiModelVersionInputExampleResponse.deserializeBinary);
|
|
3993
|
+
/**
|
|
3994
|
+
* @param {!proto.clarifai.api.ListModelVersionInputExamplesRequest} request The
|
|
3995
|
+
* request proto
|
|
3996
|
+
* @param {?Object<string, string>} metadata User defined
|
|
3997
|
+
* call metadata
|
|
3998
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiModelVersionInputExampleResponse)}
|
|
3999
|
+
* callback The callback function(error, response)
|
|
4000
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiModelVersionInputExampleResponse>|undefined}
|
|
4001
|
+
* The XHR Node Readable Stream
|
|
4002
|
+
*/
|
|
4003
|
+
proto.clarifai.api.V2Client.prototype.listModelVersionInputExamples =
|
|
4004
|
+
function (request, metadata, callback) {
|
|
4005
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
4006
|
+
'/clarifai.api.V2/ListModelVersionInputExamples', request, metadata || {}, methodDescriptor_V2_ListModelVersionInputExamples, callback);
|
|
4007
|
+
};
|
|
4008
|
+
/**
|
|
4009
|
+
* @param {!proto.clarifai.api.ListModelVersionInputExamplesRequest} request The
|
|
4010
|
+
* request proto
|
|
4011
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
4012
|
+
* call metadata
|
|
4013
|
+
* @return {!Promise<!proto.clarifai.api.MultiModelVersionInputExampleResponse>}
|
|
4014
|
+
* Promise that resolves to the response
|
|
4015
|
+
*/
|
|
4016
|
+
proto.clarifai.api.V2PromiseClient.prototype.listModelVersionInputExamples =
|
|
4017
|
+
function (request, metadata) {
|
|
4018
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
4019
|
+
'/clarifai.api.V2/ListModelVersionInputExamples', request, metadata || {}, methodDescriptor_V2_ListModelVersionInputExamples);
|
|
4020
|
+
};
|
|
4021
|
+
/**
|
|
4022
|
+
* @const
|
|
4023
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
4024
|
+
* !proto.clarifai.api.GetWorkflowRequest,
|
|
4025
|
+
* !proto.clarifai.api.SingleWorkflowResponse>}
|
|
4026
|
+
*/
|
|
4027
|
+
const methodDescriptor_V2_GetWorkflow = new grpc.web.MethodDescriptor('/clarifai.api.V2/GetWorkflow', grpc.web.MethodType.UNARY, proto.clarifai.api.GetWorkflowRequest, proto.clarifai.api.SingleWorkflowResponse,
|
|
4028
|
+
/**
|
|
4029
|
+
* @param {!proto.clarifai.api.GetWorkflowRequest} request
|
|
4030
|
+
* @return {!Uint8Array}
|
|
4031
|
+
*/
|
|
4032
|
+
function (request) {
|
|
4033
|
+
return request.serializeBinary();
|
|
4034
|
+
}, proto.clarifai.api.SingleWorkflowResponse.deserializeBinary);
|
|
4035
|
+
/**
|
|
4036
|
+
* @param {!proto.clarifai.api.GetWorkflowRequest} request The
|
|
4037
|
+
* request proto
|
|
4038
|
+
* @param {?Object<string, string>} metadata User defined
|
|
4039
|
+
* call metadata
|
|
4040
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.SingleWorkflowResponse)}
|
|
4041
|
+
* callback The callback function(error, response)
|
|
4042
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.SingleWorkflowResponse>|undefined}
|
|
4043
|
+
* The XHR Node Readable Stream
|
|
4044
|
+
*/
|
|
4045
|
+
proto.clarifai.api.V2Client.prototype.getWorkflow =
|
|
4046
|
+
function (request, metadata, callback) {
|
|
4047
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
4048
|
+
'/clarifai.api.V2/GetWorkflow', request, metadata || {}, methodDescriptor_V2_GetWorkflow, callback);
|
|
4049
|
+
};
|
|
4050
|
+
/**
|
|
4051
|
+
* @param {!proto.clarifai.api.GetWorkflowRequest} request The
|
|
4052
|
+
* request proto
|
|
4053
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
4054
|
+
* call metadata
|
|
4055
|
+
* @return {!Promise<!proto.clarifai.api.SingleWorkflowResponse>}
|
|
4056
|
+
* Promise that resolves to the response
|
|
4057
|
+
*/
|
|
4058
|
+
proto.clarifai.api.V2PromiseClient.prototype.getWorkflow =
|
|
4059
|
+
function (request, metadata) {
|
|
4060
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
4061
|
+
'/clarifai.api.V2/GetWorkflow', request, metadata || {}, methodDescriptor_V2_GetWorkflow);
|
|
4062
|
+
};
|
|
4063
|
+
/**
|
|
4064
|
+
* @const
|
|
4065
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
4066
|
+
* !proto.clarifai.api.ListWorkflowsRequest,
|
|
4067
|
+
* !proto.clarifai.api.MultiWorkflowResponse>}
|
|
4068
|
+
*/
|
|
4069
|
+
const methodDescriptor_V2_ListWorkflows = new grpc.web.MethodDescriptor('/clarifai.api.V2/ListWorkflows', grpc.web.MethodType.UNARY, proto.clarifai.api.ListWorkflowsRequest, proto.clarifai.api.MultiWorkflowResponse,
|
|
4070
|
+
/**
|
|
4071
|
+
* @param {!proto.clarifai.api.ListWorkflowsRequest} request
|
|
4072
|
+
* @return {!Uint8Array}
|
|
4073
|
+
*/
|
|
4074
|
+
function (request) {
|
|
4075
|
+
return request.serializeBinary();
|
|
4076
|
+
}, proto.clarifai.api.MultiWorkflowResponse.deserializeBinary);
|
|
4077
|
+
/**
|
|
4078
|
+
* @param {!proto.clarifai.api.ListWorkflowsRequest} request The
|
|
4079
|
+
* request proto
|
|
4080
|
+
* @param {?Object<string, string>} metadata User defined
|
|
4081
|
+
* call metadata
|
|
4082
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiWorkflowResponse)}
|
|
4083
|
+
* callback The callback function(error, response)
|
|
4084
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiWorkflowResponse>|undefined}
|
|
4085
|
+
* The XHR Node Readable Stream
|
|
4086
|
+
*/
|
|
4087
|
+
proto.clarifai.api.V2Client.prototype.listWorkflows =
|
|
4088
|
+
function (request, metadata, callback) {
|
|
4089
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
4090
|
+
'/clarifai.api.V2/ListWorkflows', request, metadata || {}, methodDescriptor_V2_ListWorkflows, callback);
|
|
4091
|
+
};
|
|
4092
|
+
/**
|
|
4093
|
+
* @param {!proto.clarifai.api.ListWorkflowsRequest} request The
|
|
4094
|
+
* request proto
|
|
4095
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
4096
|
+
* call metadata
|
|
4097
|
+
* @return {!Promise<!proto.clarifai.api.MultiWorkflowResponse>}
|
|
4098
|
+
* Promise that resolves to the response
|
|
4099
|
+
*/
|
|
4100
|
+
proto.clarifai.api.V2PromiseClient.prototype.listWorkflows =
|
|
4101
|
+
function (request, metadata) {
|
|
4102
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
4103
|
+
'/clarifai.api.V2/ListWorkflows', request, metadata || {}, methodDescriptor_V2_ListWorkflows);
|
|
4104
|
+
};
|
|
4105
|
+
/**
|
|
4106
|
+
* @const
|
|
4107
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
4108
|
+
* !proto.clarifai.api.PostWorkflowsRequest,
|
|
4109
|
+
* !proto.clarifai.api.MultiWorkflowResponse>}
|
|
4110
|
+
*/
|
|
4111
|
+
const methodDescriptor_V2_PostWorkflows = new grpc.web.MethodDescriptor('/clarifai.api.V2/PostWorkflows', grpc.web.MethodType.UNARY, proto.clarifai.api.PostWorkflowsRequest, proto.clarifai.api.MultiWorkflowResponse,
|
|
4112
|
+
/**
|
|
4113
|
+
* @param {!proto.clarifai.api.PostWorkflowsRequest} request
|
|
4114
|
+
* @return {!Uint8Array}
|
|
4115
|
+
*/
|
|
4116
|
+
function (request) {
|
|
4117
|
+
return request.serializeBinary();
|
|
4118
|
+
}, proto.clarifai.api.MultiWorkflowResponse.deserializeBinary);
|
|
4119
|
+
/**
|
|
4120
|
+
* @param {!proto.clarifai.api.PostWorkflowsRequest} request The
|
|
4121
|
+
* request proto
|
|
4122
|
+
* @param {?Object<string, string>} metadata User defined
|
|
4123
|
+
* call metadata
|
|
4124
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiWorkflowResponse)}
|
|
4125
|
+
* callback The callback function(error, response)
|
|
4126
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiWorkflowResponse>|undefined}
|
|
4127
|
+
* The XHR Node Readable Stream
|
|
4128
|
+
*/
|
|
4129
|
+
proto.clarifai.api.V2Client.prototype.postWorkflows =
|
|
4130
|
+
function (request, metadata, callback) {
|
|
4131
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
4132
|
+
'/clarifai.api.V2/PostWorkflows', request, metadata || {}, methodDescriptor_V2_PostWorkflows, callback);
|
|
4133
|
+
};
|
|
4134
|
+
/**
|
|
4135
|
+
* @param {!proto.clarifai.api.PostWorkflowsRequest} request The
|
|
4136
|
+
* request proto
|
|
4137
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
4138
|
+
* call metadata
|
|
4139
|
+
* @return {!Promise<!proto.clarifai.api.MultiWorkflowResponse>}
|
|
4140
|
+
* Promise that resolves to the response
|
|
4141
|
+
*/
|
|
4142
|
+
proto.clarifai.api.V2PromiseClient.prototype.postWorkflows =
|
|
4143
|
+
function (request, metadata) {
|
|
4144
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
4145
|
+
'/clarifai.api.V2/PostWorkflows', request, metadata || {}, methodDescriptor_V2_PostWorkflows);
|
|
4146
|
+
};
|
|
4147
|
+
/**
|
|
4148
|
+
* @const
|
|
4149
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
4150
|
+
* !proto.clarifai.api.PatchWorkflowsRequest,
|
|
4151
|
+
* !proto.clarifai.api.MultiWorkflowResponse>}
|
|
4152
|
+
*/
|
|
4153
|
+
const methodDescriptor_V2_PatchWorkflows = new grpc.web.MethodDescriptor('/clarifai.api.V2/PatchWorkflows', grpc.web.MethodType.UNARY, proto.clarifai.api.PatchWorkflowsRequest, proto.clarifai.api.MultiWorkflowResponse,
|
|
4154
|
+
/**
|
|
4155
|
+
* @param {!proto.clarifai.api.PatchWorkflowsRequest} request
|
|
4156
|
+
* @return {!Uint8Array}
|
|
4157
|
+
*/
|
|
4158
|
+
function (request) {
|
|
4159
|
+
return request.serializeBinary();
|
|
4160
|
+
}, proto.clarifai.api.MultiWorkflowResponse.deserializeBinary);
|
|
4161
|
+
/**
|
|
4162
|
+
* @param {!proto.clarifai.api.PatchWorkflowsRequest} request The
|
|
4163
|
+
* request proto
|
|
4164
|
+
* @param {?Object<string, string>} metadata User defined
|
|
4165
|
+
* call metadata
|
|
4166
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiWorkflowResponse)}
|
|
4167
|
+
* callback The callback function(error, response)
|
|
4168
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiWorkflowResponse>|undefined}
|
|
4169
|
+
* The XHR Node Readable Stream
|
|
4170
|
+
*/
|
|
4171
|
+
proto.clarifai.api.V2Client.prototype.patchWorkflows =
|
|
4172
|
+
function (request, metadata, callback) {
|
|
4173
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
4174
|
+
'/clarifai.api.V2/PatchWorkflows', request, metadata || {}, methodDescriptor_V2_PatchWorkflows, callback);
|
|
4175
|
+
};
|
|
4176
|
+
/**
|
|
4177
|
+
* @param {!proto.clarifai.api.PatchWorkflowsRequest} request The
|
|
4178
|
+
* request proto
|
|
4179
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
4180
|
+
* call metadata
|
|
4181
|
+
* @return {!Promise<!proto.clarifai.api.MultiWorkflowResponse>}
|
|
4182
|
+
* Promise that resolves to the response
|
|
4183
|
+
*/
|
|
4184
|
+
proto.clarifai.api.V2PromiseClient.prototype.patchWorkflows =
|
|
4185
|
+
function (request, metadata) {
|
|
4186
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
4187
|
+
'/clarifai.api.V2/PatchWorkflows', request, metadata || {}, methodDescriptor_V2_PatchWorkflows);
|
|
4188
|
+
};
|
|
4189
|
+
/**
|
|
4190
|
+
* @const
|
|
4191
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
4192
|
+
* !proto.clarifai.api.PatchWorkflowIdsRequest,
|
|
4193
|
+
* !proto.clarifai.api.MultiWorkflowResponse>}
|
|
4194
|
+
*/
|
|
4195
|
+
const methodDescriptor_V2_PatchWorkflowIds = new grpc.web.MethodDescriptor('/clarifai.api.V2/PatchWorkflowIds', grpc.web.MethodType.UNARY, proto.clarifai.api.PatchWorkflowIdsRequest, proto.clarifai.api.MultiWorkflowResponse,
|
|
4196
|
+
/**
|
|
4197
|
+
* @param {!proto.clarifai.api.PatchWorkflowIdsRequest} request
|
|
4198
|
+
* @return {!Uint8Array}
|
|
4199
|
+
*/
|
|
4200
|
+
function (request) {
|
|
4201
|
+
return request.serializeBinary();
|
|
4202
|
+
}, proto.clarifai.api.MultiWorkflowResponse.deserializeBinary);
|
|
4203
|
+
/**
|
|
4204
|
+
* @param {!proto.clarifai.api.PatchWorkflowIdsRequest} request The
|
|
4205
|
+
* request proto
|
|
4206
|
+
* @param {?Object<string, string>} metadata User defined
|
|
4207
|
+
* call metadata
|
|
4208
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiWorkflowResponse)}
|
|
4209
|
+
* callback The callback function(error, response)
|
|
4210
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiWorkflowResponse>|undefined}
|
|
4211
|
+
* The XHR Node Readable Stream
|
|
4212
|
+
*/
|
|
4213
|
+
proto.clarifai.api.V2Client.prototype.patchWorkflowIds =
|
|
4214
|
+
function (request, metadata, callback) {
|
|
4215
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
4216
|
+
'/clarifai.api.V2/PatchWorkflowIds', request, metadata || {}, methodDescriptor_V2_PatchWorkflowIds, callback);
|
|
4217
|
+
};
|
|
4218
|
+
/**
|
|
4219
|
+
* @param {!proto.clarifai.api.PatchWorkflowIdsRequest} request The
|
|
4220
|
+
* request proto
|
|
4221
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
4222
|
+
* call metadata
|
|
4223
|
+
* @return {!Promise<!proto.clarifai.api.MultiWorkflowResponse>}
|
|
4224
|
+
* Promise that resolves to the response
|
|
4225
|
+
*/
|
|
4226
|
+
proto.clarifai.api.V2PromiseClient.prototype.patchWorkflowIds =
|
|
4227
|
+
function (request, metadata) {
|
|
4228
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
4229
|
+
'/clarifai.api.V2/PatchWorkflowIds', request, metadata || {}, methodDescriptor_V2_PatchWorkflowIds);
|
|
3890
4230
|
};
|
|
3891
4231
|
/**
|
|
3892
4232
|
* @const
|
|
@@ -4983,10 +5323,52 @@ proto.clarifai.api.V2PromiseClient.prototype.postAppsSearches =
|
|
|
4983
5323
|
/**
|
|
4984
5324
|
* @const
|
|
4985
5325
|
* @type {!grpc.web.MethodDescriptor<
|
|
4986
|
-
* !proto.clarifai.api.
|
|
4987
|
-
* !proto.clarifai.api.
|
|
5326
|
+
* !proto.clarifai.api.GetUserRequest,
|
|
5327
|
+
* !proto.clarifai.api.SingleUserResponse>}
|
|
4988
5328
|
*/
|
|
4989
|
-
const
|
|
5329
|
+
const methodDescriptor_V2_GetUser = new grpc.web.MethodDescriptor('/clarifai.api.V2/GetUser', grpc.web.MethodType.UNARY, proto.clarifai.api.GetUserRequest, proto.clarifai.api.SingleUserResponse,
|
|
5330
|
+
/**
|
|
5331
|
+
* @param {!proto.clarifai.api.GetUserRequest} request
|
|
5332
|
+
* @return {!Uint8Array}
|
|
5333
|
+
*/
|
|
5334
|
+
function (request) {
|
|
5335
|
+
return request.serializeBinary();
|
|
5336
|
+
}, proto.clarifai.api.SingleUserResponse.deserializeBinary);
|
|
5337
|
+
/**
|
|
5338
|
+
* @param {!proto.clarifai.api.GetUserRequest} request The
|
|
5339
|
+
* request proto
|
|
5340
|
+
* @param {?Object<string, string>} metadata User defined
|
|
5341
|
+
* call metadata
|
|
5342
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.SingleUserResponse)}
|
|
5343
|
+
* callback The callback function(error, response)
|
|
5344
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.SingleUserResponse>|undefined}
|
|
5345
|
+
* The XHR Node Readable Stream
|
|
5346
|
+
*/
|
|
5347
|
+
proto.clarifai.api.V2Client.prototype.getUser =
|
|
5348
|
+
function (request, metadata, callback) {
|
|
5349
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
5350
|
+
'/clarifai.api.V2/GetUser', request, metadata || {}, methodDescriptor_V2_GetUser, callback);
|
|
5351
|
+
};
|
|
5352
|
+
/**
|
|
5353
|
+
* @param {!proto.clarifai.api.GetUserRequest} request The
|
|
5354
|
+
* request proto
|
|
5355
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
5356
|
+
* call metadata
|
|
5357
|
+
* @return {!Promise<!proto.clarifai.api.SingleUserResponse>}
|
|
5358
|
+
* Promise that resolves to the response
|
|
5359
|
+
*/
|
|
5360
|
+
proto.clarifai.api.V2PromiseClient.prototype.getUser =
|
|
5361
|
+
function (request, metadata) {
|
|
5362
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
5363
|
+
'/clarifai.api.V2/GetUser', request, metadata || {}, methodDescriptor_V2_GetUser);
|
|
5364
|
+
};
|
|
5365
|
+
/**
|
|
5366
|
+
* @const
|
|
5367
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
5368
|
+
* !proto.clarifai.api.PostValidatePasswordRequest,
|
|
5369
|
+
* !proto.clarifai.api.SinglePasswordValidationResponse>}
|
|
5370
|
+
*/
|
|
5371
|
+
const methodDescriptor_V2_PostValidatePassword = new grpc.web.MethodDescriptor('/clarifai.api.V2/PostValidatePassword', grpc.web.MethodType.UNARY, proto.clarifai.api.PostValidatePasswordRequest, proto.clarifai.api.SinglePasswordValidationResponse,
|
|
4990
5372
|
/**
|
|
4991
5373
|
* @param {!proto.clarifai.api.PostValidatePasswordRequest} request
|
|
4992
5374
|
* @return {!Uint8Array}
|
|
@@ -7794,6 +8176,90 @@ proto.clarifai.api.V2PromiseClient.prototype.getDatasetInputsSearchAddJob =
|
|
|
7794
8176
|
return this.client_.unaryCall(this.hostname_ +
|
|
7795
8177
|
'/clarifai.api.V2/GetDatasetInputsSearchAddJob', request, metadata || {}, methodDescriptor_V2_GetDatasetInputsSearchAddJob);
|
|
7796
8178
|
};
|
|
8179
|
+
/**
|
|
8180
|
+
* @const
|
|
8181
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
8182
|
+
* !proto.clarifai.api.ListNextTaskAssignmentsRequest,
|
|
8183
|
+
* !proto.clarifai.api.MultiInputResponse>}
|
|
8184
|
+
*/
|
|
8185
|
+
const methodDescriptor_V2_ListNextTaskAssignments = new grpc.web.MethodDescriptor('/clarifai.api.V2/ListNextTaskAssignments', grpc.web.MethodType.UNARY, proto.clarifai.api.ListNextTaskAssignmentsRequest, proto.clarifai.api.MultiInputResponse,
|
|
8186
|
+
/**
|
|
8187
|
+
* @param {!proto.clarifai.api.ListNextTaskAssignmentsRequest} request
|
|
8188
|
+
* @return {!Uint8Array}
|
|
8189
|
+
*/
|
|
8190
|
+
function (request) {
|
|
8191
|
+
return request.serializeBinary();
|
|
8192
|
+
}, proto.clarifai.api.MultiInputResponse.deserializeBinary);
|
|
8193
|
+
/**
|
|
8194
|
+
* @param {!proto.clarifai.api.ListNextTaskAssignmentsRequest} request The
|
|
8195
|
+
* request proto
|
|
8196
|
+
* @param {?Object<string, string>} metadata User defined
|
|
8197
|
+
* call metadata
|
|
8198
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiInputResponse)}
|
|
8199
|
+
* callback The callback function(error, response)
|
|
8200
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiInputResponse>|undefined}
|
|
8201
|
+
* The XHR Node Readable Stream
|
|
8202
|
+
*/
|
|
8203
|
+
proto.clarifai.api.V2Client.prototype.listNextTaskAssignments =
|
|
8204
|
+
function (request, metadata, callback) {
|
|
8205
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
8206
|
+
'/clarifai.api.V2/ListNextTaskAssignments', request, metadata || {}, methodDescriptor_V2_ListNextTaskAssignments, callback);
|
|
8207
|
+
};
|
|
8208
|
+
/**
|
|
8209
|
+
* @param {!proto.clarifai.api.ListNextTaskAssignmentsRequest} request The
|
|
8210
|
+
* request proto
|
|
8211
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
8212
|
+
* call metadata
|
|
8213
|
+
* @return {!Promise<!proto.clarifai.api.MultiInputResponse>}
|
|
8214
|
+
* Promise that resolves to the response
|
|
8215
|
+
*/
|
|
8216
|
+
proto.clarifai.api.V2PromiseClient.prototype.listNextTaskAssignments =
|
|
8217
|
+
function (request, metadata) {
|
|
8218
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
8219
|
+
'/clarifai.api.V2/ListNextTaskAssignments', request, metadata || {}, methodDescriptor_V2_ListNextTaskAssignments);
|
|
8220
|
+
};
|
|
8221
|
+
/**
|
|
8222
|
+
* @const
|
|
8223
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
8224
|
+
* !proto.clarifai.api.PutTaskAssignmentsRequest,
|
|
8225
|
+
* !proto.clarifai.api.status.BaseResponse>}
|
|
8226
|
+
*/
|
|
8227
|
+
const methodDescriptor_V2_PutTaskAssignments = new grpc.web.MethodDescriptor('/clarifai.api.V2/PutTaskAssignments', grpc.web.MethodType.UNARY, proto.clarifai.api.PutTaskAssignmentsRequest, proto_clarifai_api_status_status_pb.BaseResponse,
|
|
8228
|
+
/**
|
|
8229
|
+
* @param {!proto.clarifai.api.PutTaskAssignmentsRequest} request
|
|
8230
|
+
* @return {!Uint8Array}
|
|
8231
|
+
*/
|
|
8232
|
+
function (request) {
|
|
8233
|
+
return request.serializeBinary();
|
|
8234
|
+
}, proto_clarifai_api_status_status_pb.BaseResponse.deserializeBinary);
|
|
8235
|
+
/**
|
|
8236
|
+
* @param {!proto.clarifai.api.PutTaskAssignmentsRequest} request The
|
|
8237
|
+
* request proto
|
|
8238
|
+
* @param {?Object<string, string>} metadata User defined
|
|
8239
|
+
* call metadata
|
|
8240
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.status.BaseResponse)}
|
|
8241
|
+
* callback The callback function(error, response)
|
|
8242
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.status.BaseResponse>|undefined}
|
|
8243
|
+
* The XHR Node Readable Stream
|
|
8244
|
+
*/
|
|
8245
|
+
proto.clarifai.api.V2Client.prototype.putTaskAssignments =
|
|
8246
|
+
function (request, metadata, callback) {
|
|
8247
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
8248
|
+
'/clarifai.api.V2/PutTaskAssignments', request, metadata || {}, methodDescriptor_V2_PutTaskAssignments, callback);
|
|
8249
|
+
};
|
|
8250
|
+
/**
|
|
8251
|
+
* @param {!proto.clarifai.api.PutTaskAssignmentsRequest} request The
|
|
8252
|
+
* request proto
|
|
8253
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
8254
|
+
* call metadata
|
|
8255
|
+
* @return {!Promise<!proto.clarifai.api.status.BaseResponse>}
|
|
8256
|
+
* Promise that resolves to the response
|
|
8257
|
+
*/
|
|
8258
|
+
proto.clarifai.api.V2PromiseClient.prototype.putTaskAssignments =
|
|
8259
|
+
function (request, metadata) {
|
|
8260
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
8261
|
+
'/clarifai.api.V2/PutTaskAssignments', request, metadata || {}, methodDescriptor_V2_PutTaskAssignments);
|
|
8262
|
+
};
|
|
7797
8263
|
/**
|
|
7798
8264
|
* @const
|
|
7799
8265
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -7878,6 +8344,48 @@ proto.clarifai.api.V2PromiseClient.prototype.getInputsAddJob =
|
|
|
7878
8344
|
return this.client_.unaryCall(this.hostname_ +
|
|
7879
8345
|
'/clarifai.api.V2/GetInputsAddJob', request, metadata || {}, methodDescriptor_V2_GetInputsAddJob);
|
|
7880
8346
|
};
|
|
8347
|
+
/**
|
|
8348
|
+
* @const
|
|
8349
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
8350
|
+
* !proto.clarifai.api.CancelInputsAddJobRequest,
|
|
8351
|
+
* !proto.clarifai.api.SingleInputsAddJobResponse>}
|
|
8352
|
+
*/
|
|
8353
|
+
const methodDescriptor_V2_CancelInputsAddJob = new grpc.web.MethodDescriptor('/clarifai.api.V2/CancelInputsAddJob', grpc.web.MethodType.UNARY, proto.clarifai.api.CancelInputsAddJobRequest, proto.clarifai.api.SingleInputsAddJobResponse,
|
|
8354
|
+
/**
|
|
8355
|
+
* @param {!proto.clarifai.api.CancelInputsAddJobRequest} request
|
|
8356
|
+
* @return {!Uint8Array}
|
|
8357
|
+
*/
|
|
8358
|
+
function (request) {
|
|
8359
|
+
return request.serializeBinary();
|
|
8360
|
+
}, proto.clarifai.api.SingleInputsAddJobResponse.deserializeBinary);
|
|
8361
|
+
/**
|
|
8362
|
+
* @param {!proto.clarifai.api.CancelInputsAddJobRequest} request The
|
|
8363
|
+
* request proto
|
|
8364
|
+
* @param {?Object<string, string>} metadata User defined
|
|
8365
|
+
* call metadata
|
|
8366
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.SingleInputsAddJobResponse)}
|
|
8367
|
+
* callback The callback function(error, response)
|
|
8368
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.SingleInputsAddJobResponse>|undefined}
|
|
8369
|
+
* The XHR Node Readable Stream
|
|
8370
|
+
*/
|
|
8371
|
+
proto.clarifai.api.V2Client.prototype.cancelInputsAddJob =
|
|
8372
|
+
function (request, metadata, callback) {
|
|
8373
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
8374
|
+
'/clarifai.api.V2/CancelInputsAddJob', request, metadata || {}, methodDescriptor_V2_CancelInputsAddJob, callback);
|
|
8375
|
+
};
|
|
8376
|
+
/**
|
|
8377
|
+
* @param {!proto.clarifai.api.CancelInputsAddJobRequest} request The
|
|
8378
|
+
* request proto
|
|
8379
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
8380
|
+
* call metadata
|
|
8381
|
+
* @return {!Promise<!proto.clarifai.api.SingleInputsAddJobResponse>}
|
|
8382
|
+
* Promise that resolves to the response
|
|
8383
|
+
*/
|
|
8384
|
+
proto.clarifai.api.V2PromiseClient.prototype.cancelInputsAddJob =
|
|
8385
|
+
function (request, metadata) {
|
|
8386
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
8387
|
+
'/clarifai.api.V2/CancelInputsAddJob', request, metadata || {}, methodDescriptor_V2_CancelInputsAddJob);
|
|
8388
|
+
};
|
|
7881
8389
|
/**
|
|
7882
8390
|
* @const
|
|
7883
8391
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -8214,4 +8722,382 @@ proto.clarifai.api.V2PromiseClient.prototype.listInputsExtractionJobs =
|
|
|
8214
8722
|
return this.client_.unaryCall(this.hostname_ +
|
|
8215
8723
|
'/clarifai.api.V2/ListInputsExtractionJobs', request, metadata || {}, methodDescriptor_V2_ListInputsExtractionJobs);
|
|
8216
8724
|
};
|
|
8725
|
+
/**
|
|
8726
|
+
* @const
|
|
8727
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
8728
|
+
* !proto.clarifai.api.CancelInputsExtractionJobsRequest,
|
|
8729
|
+
* !proto.clarifai.api.MultiInputsExtractionJobResponse>}
|
|
8730
|
+
*/
|
|
8731
|
+
const methodDescriptor_V2_CancelInputsExtractionJobs = new grpc.web.MethodDescriptor('/clarifai.api.V2/CancelInputsExtractionJobs', grpc.web.MethodType.UNARY, proto.clarifai.api.CancelInputsExtractionJobsRequest, proto.clarifai.api.MultiInputsExtractionJobResponse,
|
|
8732
|
+
/**
|
|
8733
|
+
* @param {!proto.clarifai.api.CancelInputsExtractionJobsRequest} request
|
|
8734
|
+
* @return {!Uint8Array}
|
|
8735
|
+
*/
|
|
8736
|
+
function (request) {
|
|
8737
|
+
return request.serializeBinary();
|
|
8738
|
+
}, proto.clarifai.api.MultiInputsExtractionJobResponse.deserializeBinary);
|
|
8739
|
+
/**
|
|
8740
|
+
* @param {!proto.clarifai.api.CancelInputsExtractionJobsRequest} request The
|
|
8741
|
+
* request proto
|
|
8742
|
+
* @param {?Object<string, string>} metadata User defined
|
|
8743
|
+
* call metadata
|
|
8744
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiInputsExtractionJobResponse)}
|
|
8745
|
+
* callback The callback function(error, response)
|
|
8746
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiInputsExtractionJobResponse>|undefined}
|
|
8747
|
+
* The XHR Node Readable Stream
|
|
8748
|
+
*/
|
|
8749
|
+
proto.clarifai.api.V2Client.prototype.cancelInputsExtractionJobs =
|
|
8750
|
+
function (request, metadata, callback) {
|
|
8751
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
8752
|
+
'/clarifai.api.V2/CancelInputsExtractionJobs', request, metadata || {}, methodDescriptor_V2_CancelInputsExtractionJobs, callback);
|
|
8753
|
+
};
|
|
8754
|
+
/**
|
|
8755
|
+
* @param {!proto.clarifai.api.CancelInputsExtractionJobsRequest} request The
|
|
8756
|
+
* request proto
|
|
8757
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
8758
|
+
* call metadata
|
|
8759
|
+
* @return {!Promise<!proto.clarifai.api.MultiInputsExtractionJobResponse>}
|
|
8760
|
+
* Promise that resolves to the response
|
|
8761
|
+
*/
|
|
8762
|
+
proto.clarifai.api.V2PromiseClient.prototype.cancelInputsExtractionJobs =
|
|
8763
|
+
function (request, metadata) {
|
|
8764
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
8765
|
+
'/clarifai.api.V2/CancelInputsExtractionJobs', request, metadata || {}, methodDescriptor_V2_CancelInputsExtractionJobs);
|
|
8766
|
+
};
|
|
8767
|
+
/**
|
|
8768
|
+
* @const
|
|
8769
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
8770
|
+
* !proto.clarifai.api.PostInputsUploadsRequest,
|
|
8771
|
+
* !proto.clarifai.api.MultiInputsAddJobResponse>}
|
|
8772
|
+
*/
|
|
8773
|
+
const methodDescriptor_V2_PostInputsUploads = new grpc.web.MethodDescriptor('/clarifai.api.V2/PostInputsUploads', grpc.web.MethodType.UNARY, proto.clarifai.api.PostInputsUploadsRequest, proto.clarifai.api.MultiInputsAddJobResponse,
|
|
8774
|
+
/**
|
|
8775
|
+
* @param {!proto.clarifai.api.PostInputsUploadsRequest} request
|
|
8776
|
+
* @return {!Uint8Array}
|
|
8777
|
+
*/
|
|
8778
|
+
function (request) {
|
|
8779
|
+
return request.serializeBinary();
|
|
8780
|
+
}, proto.clarifai.api.MultiInputsAddJobResponse.deserializeBinary);
|
|
8781
|
+
/**
|
|
8782
|
+
* @param {!proto.clarifai.api.PostInputsUploadsRequest} request The
|
|
8783
|
+
* request proto
|
|
8784
|
+
* @param {?Object<string, string>} metadata User defined
|
|
8785
|
+
* call metadata
|
|
8786
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiInputsAddJobResponse)}
|
|
8787
|
+
* callback The callback function(error, response)
|
|
8788
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiInputsAddJobResponse>|undefined}
|
|
8789
|
+
* The XHR Node Readable Stream
|
|
8790
|
+
*/
|
|
8791
|
+
proto.clarifai.api.V2Client.prototype.postInputsUploads =
|
|
8792
|
+
function (request, metadata, callback) {
|
|
8793
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
8794
|
+
'/clarifai.api.V2/PostInputsUploads', request, metadata || {}, methodDescriptor_V2_PostInputsUploads, callback);
|
|
8795
|
+
};
|
|
8796
|
+
/**
|
|
8797
|
+
* @param {!proto.clarifai.api.PostInputsUploadsRequest} request The
|
|
8798
|
+
* request proto
|
|
8799
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
8800
|
+
* call metadata
|
|
8801
|
+
* @return {!Promise<!proto.clarifai.api.MultiInputsAddJobResponse>}
|
|
8802
|
+
* Promise that resolves to the response
|
|
8803
|
+
*/
|
|
8804
|
+
proto.clarifai.api.V2PromiseClient.prototype.postInputsUploads =
|
|
8805
|
+
function (request, metadata) {
|
|
8806
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
8807
|
+
'/clarifai.api.V2/PostInputsUploads', request, metadata || {}, methodDescriptor_V2_PostInputsUploads);
|
|
8808
|
+
};
|
|
8809
|
+
/**
|
|
8810
|
+
* @const
|
|
8811
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
8812
|
+
* !proto.clarifai.api.GetRunnerRequest,
|
|
8813
|
+
* !proto.clarifai.api.SingleRunnerResponse>}
|
|
8814
|
+
*/
|
|
8815
|
+
const methodDescriptor_V2_GetRunner = new grpc.web.MethodDescriptor('/clarifai.api.V2/GetRunner', grpc.web.MethodType.UNARY, proto.clarifai.api.GetRunnerRequest, proto.clarifai.api.SingleRunnerResponse,
|
|
8816
|
+
/**
|
|
8817
|
+
* @param {!proto.clarifai.api.GetRunnerRequest} request
|
|
8818
|
+
* @return {!Uint8Array}
|
|
8819
|
+
*/
|
|
8820
|
+
function (request) {
|
|
8821
|
+
return request.serializeBinary();
|
|
8822
|
+
}, proto.clarifai.api.SingleRunnerResponse.deserializeBinary);
|
|
8823
|
+
/**
|
|
8824
|
+
* @param {!proto.clarifai.api.GetRunnerRequest} request The
|
|
8825
|
+
* request proto
|
|
8826
|
+
* @param {?Object<string, string>} metadata User defined
|
|
8827
|
+
* call metadata
|
|
8828
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.SingleRunnerResponse)}
|
|
8829
|
+
* callback The callback function(error, response)
|
|
8830
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.SingleRunnerResponse>|undefined}
|
|
8831
|
+
* The XHR Node Readable Stream
|
|
8832
|
+
*/
|
|
8833
|
+
proto.clarifai.api.V2Client.prototype.getRunner =
|
|
8834
|
+
function (request, metadata, callback) {
|
|
8835
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
8836
|
+
'/clarifai.api.V2/GetRunner', request, metadata || {}, methodDescriptor_V2_GetRunner, callback);
|
|
8837
|
+
};
|
|
8838
|
+
/**
|
|
8839
|
+
* @param {!proto.clarifai.api.GetRunnerRequest} request The
|
|
8840
|
+
* request proto
|
|
8841
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
8842
|
+
* call metadata
|
|
8843
|
+
* @return {!Promise<!proto.clarifai.api.SingleRunnerResponse>}
|
|
8844
|
+
* Promise that resolves to the response
|
|
8845
|
+
*/
|
|
8846
|
+
proto.clarifai.api.V2PromiseClient.prototype.getRunner =
|
|
8847
|
+
function (request, metadata) {
|
|
8848
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
8849
|
+
'/clarifai.api.V2/GetRunner', request, metadata || {}, methodDescriptor_V2_GetRunner);
|
|
8850
|
+
};
|
|
8851
|
+
/**
|
|
8852
|
+
* @const
|
|
8853
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
8854
|
+
* !proto.clarifai.api.ListRunnersRequest,
|
|
8855
|
+
* !proto.clarifai.api.MultiRunnerResponse>}
|
|
8856
|
+
*/
|
|
8857
|
+
const methodDescriptor_V2_ListRunners = new grpc.web.MethodDescriptor('/clarifai.api.V2/ListRunners', grpc.web.MethodType.UNARY, proto.clarifai.api.ListRunnersRequest, proto.clarifai.api.MultiRunnerResponse,
|
|
8858
|
+
/**
|
|
8859
|
+
* @param {!proto.clarifai.api.ListRunnersRequest} request
|
|
8860
|
+
* @return {!Uint8Array}
|
|
8861
|
+
*/
|
|
8862
|
+
function (request) {
|
|
8863
|
+
return request.serializeBinary();
|
|
8864
|
+
}, proto.clarifai.api.MultiRunnerResponse.deserializeBinary);
|
|
8865
|
+
/**
|
|
8866
|
+
* @param {!proto.clarifai.api.ListRunnersRequest} request The
|
|
8867
|
+
* request proto
|
|
8868
|
+
* @param {?Object<string, string>} metadata User defined
|
|
8869
|
+
* call metadata
|
|
8870
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiRunnerResponse)}
|
|
8871
|
+
* callback The callback function(error, response)
|
|
8872
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiRunnerResponse>|undefined}
|
|
8873
|
+
* The XHR Node Readable Stream
|
|
8874
|
+
*/
|
|
8875
|
+
proto.clarifai.api.V2Client.prototype.listRunners =
|
|
8876
|
+
function (request, metadata, callback) {
|
|
8877
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
8878
|
+
'/clarifai.api.V2/ListRunners', request, metadata || {}, methodDescriptor_V2_ListRunners, callback);
|
|
8879
|
+
};
|
|
8880
|
+
/**
|
|
8881
|
+
* @param {!proto.clarifai.api.ListRunnersRequest} request The
|
|
8882
|
+
* request proto
|
|
8883
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
8884
|
+
* call metadata
|
|
8885
|
+
* @return {!Promise<!proto.clarifai.api.MultiRunnerResponse>}
|
|
8886
|
+
* Promise that resolves to the response
|
|
8887
|
+
*/
|
|
8888
|
+
proto.clarifai.api.V2PromiseClient.prototype.listRunners =
|
|
8889
|
+
function (request, metadata) {
|
|
8890
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
8891
|
+
'/clarifai.api.V2/ListRunners', request, metadata || {}, methodDescriptor_V2_ListRunners);
|
|
8892
|
+
};
|
|
8893
|
+
/**
|
|
8894
|
+
* @const
|
|
8895
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
8896
|
+
* !proto.clarifai.api.PostRunnersRequest,
|
|
8897
|
+
* !proto.clarifai.api.MultiRunnerResponse>}
|
|
8898
|
+
*/
|
|
8899
|
+
const methodDescriptor_V2_PostRunners = new grpc.web.MethodDescriptor('/clarifai.api.V2/PostRunners', grpc.web.MethodType.UNARY, proto.clarifai.api.PostRunnersRequest, proto.clarifai.api.MultiRunnerResponse,
|
|
8900
|
+
/**
|
|
8901
|
+
* @param {!proto.clarifai.api.PostRunnersRequest} request
|
|
8902
|
+
* @return {!Uint8Array}
|
|
8903
|
+
*/
|
|
8904
|
+
function (request) {
|
|
8905
|
+
return request.serializeBinary();
|
|
8906
|
+
}, proto.clarifai.api.MultiRunnerResponse.deserializeBinary);
|
|
8907
|
+
/**
|
|
8908
|
+
* @param {!proto.clarifai.api.PostRunnersRequest} request The
|
|
8909
|
+
* request proto
|
|
8910
|
+
* @param {?Object<string, string>} metadata User defined
|
|
8911
|
+
* call metadata
|
|
8912
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiRunnerResponse)}
|
|
8913
|
+
* callback The callback function(error, response)
|
|
8914
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiRunnerResponse>|undefined}
|
|
8915
|
+
* The XHR Node Readable Stream
|
|
8916
|
+
*/
|
|
8917
|
+
proto.clarifai.api.V2Client.prototype.postRunners =
|
|
8918
|
+
function (request, metadata, callback) {
|
|
8919
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
8920
|
+
'/clarifai.api.V2/PostRunners', request, metadata || {}, methodDescriptor_V2_PostRunners, callback);
|
|
8921
|
+
};
|
|
8922
|
+
/**
|
|
8923
|
+
* @param {!proto.clarifai.api.PostRunnersRequest} request The
|
|
8924
|
+
* request proto
|
|
8925
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
8926
|
+
* call metadata
|
|
8927
|
+
* @return {!Promise<!proto.clarifai.api.MultiRunnerResponse>}
|
|
8928
|
+
* Promise that resolves to the response
|
|
8929
|
+
*/
|
|
8930
|
+
proto.clarifai.api.V2PromiseClient.prototype.postRunners =
|
|
8931
|
+
function (request, metadata) {
|
|
8932
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
8933
|
+
'/clarifai.api.V2/PostRunners', request, metadata || {}, methodDescriptor_V2_PostRunners);
|
|
8934
|
+
};
|
|
8935
|
+
/**
|
|
8936
|
+
* @const
|
|
8937
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
8938
|
+
* !proto.clarifai.api.DeleteRunnersRequest,
|
|
8939
|
+
* !proto.clarifai.api.status.BaseResponse>}
|
|
8940
|
+
*/
|
|
8941
|
+
const methodDescriptor_V2_DeleteRunners = new grpc.web.MethodDescriptor('/clarifai.api.V2/DeleteRunners', grpc.web.MethodType.UNARY, proto.clarifai.api.DeleteRunnersRequest, proto_clarifai_api_status_status_pb.BaseResponse,
|
|
8942
|
+
/**
|
|
8943
|
+
* @param {!proto.clarifai.api.DeleteRunnersRequest} request
|
|
8944
|
+
* @return {!Uint8Array}
|
|
8945
|
+
*/
|
|
8946
|
+
function (request) {
|
|
8947
|
+
return request.serializeBinary();
|
|
8948
|
+
}, proto_clarifai_api_status_status_pb.BaseResponse.deserializeBinary);
|
|
8949
|
+
/**
|
|
8950
|
+
* @param {!proto.clarifai.api.DeleteRunnersRequest} request The
|
|
8951
|
+
* request proto
|
|
8952
|
+
* @param {?Object<string, string>} metadata User defined
|
|
8953
|
+
* call metadata
|
|
8954
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.status.BaseResponse)}
|
|
8955
|
+
* callback The callback function(error, response)
|
|
8956
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.status.BaseResponse>|undefined}
|
|
8957
|
+
* The XHR Node Readable Stream
|
|
8958
|
+
*/
|
|
8959
|
+
proto.clarifai.api.V2Client.prototype.deleteRunners =
|
|
8960
|
+
function (request, metadata, callback) {
|
|
8961
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
8962
|
+
'/clarifai.api.V2/DeleteRunners', request, metadata || {}, methodDescriptor_V2_DeleteRunners, callback);
|
|
8963
|
+
};
|
|
8964
|
+
/**
|
|
8965
|
+
* @param {!proto.clarifai.api.DeleteRunnersRequest} request The
|
|
8966
|
+
* request proto
|
|
8967
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
8968
|
+
* call metadata
|
|
8969
|
+
* @return {!Promise<!proto.clarifai.api.status.BaseResponse>}
|
|
8970
|
+
* Promise that resolves to the response
|
|
8971
|
+
*/
|
|
8972
|
+
proto.clarifai.api.V2PromiseClient.prototype.deleteRunners =
|
|
8973
|
+
function (request, metadata) {
|
|
8974
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
8975
|
+
'/clarifai.api.V2/DeleteRunners', request, metadata || {}, methodDescriptor_V2_DeleteRunners);
|
|
8976
|
+
};
|
|
8977
|
+
/**
|
|
8978
|
+
* @const
|
|
8979
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
8980
|
+
* !proto.clarifai.api.ListRunnerItemsRequest,
|
|
8981
|
+
* !proto.clarifai.api.MultiRunnerItemResponse>}
|
|
8982
|
+
*/
|
|
8983
|
+
const methodDescriptor_V2_ListRunnerItems = new grpc.web.MethodDescriptor('/clarifai.api.V2/ListRunnerItems', grpc.web.MethodType.UNARY, proto.clarifai.api.ListRunnerItemsRequest, proto.clarifai.api.MultiRunnerItemResponse,
|
|
8984
|
+
/**
|
|
8985
|
+
* @param {!proto.clarifai.api.ListRunnerItemsRequest} request
|
|
8986
|
+
* @return {!Uint8Array}
|
|
8987
|
+
*/
|
|
8988
|
+
function (request) {
|
|
8989
|
+
return request.serializeBinary();
|
|
8990
|
+
}, proto.clarifai.api.MultiRunnerItemResponse.deserializeBinary);
|
|
8991
|
+
/**
|
|
8992
|
+
* @param {!proto.clarifai.api.ListRunnerItemsRequest} request The
|
|
8993
|
+
* request proto
|
|
8994
|
+
* @param {?Object<string, string>} metadata User defined
|
|
8995
|
+
* call metadata
|
|
8996
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiRunnerItemResponse)}
|
|
8997
|
+
* callback The callback function(error, response)
|
|
8998
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiRunnerItemResponse>|undefined}
|
|
8999
|
+
* The XHR Node Readable Stream
|
|
9000
|
+
*/
|
|
9001
|
+
proto.clarifai.api.V2Client.prototype.listRunnerItems =
|
|
9002
|
+
function (request, metadata, callback) {
|
|
9003
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
9004
|
+
'/clarifai.api.V2/ListRunnerItems', request, metadata || {}, methodDescriptor_V2_ListRunnerItems, callback);
|
|
9005
|
+
};
|
|
9006
|
+
/**
|
|
9007
|
+
* @param {!proto.clarifai.api.ListRunnerItemsRequest} request The
|
|
9008
|
+
* request proto
|
|
9009
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
9010
|
+
* call metadata
|
|
9011
|
+
* @return {!Promise<!proto.clarifai.api.MultiRunnerItemResponse>}
|
|
9012
|
+
* Promise that resolves to the response
|
|
9013
|
+
*/
|
|
9014
|
+
proto.clarifai.api.V2PromiseClient.prototype.listRunnerItems =
|
|
9015
|
+
function (request, metadata) {
|
|
9016
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
9017
|
+
'/clarifai.api.V2/ListRunnerItems', request, metadata || {}, methodDescriptor_V2_ListRunnerItems);
|
|
9018
|
+
};
|
|
9019
|
+
/**
|
|
9020
|
+
* @const
|
|
9021
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
9022
|
+
* !proto.clarifai.api.PostRunnerItemOutputsRequest,
|
|
9023
|
+
* !proto.clarifai.api.MultiRunnerItemOutputResponse>}
|
|
9024
|
+
*/
|
|
9025
|
+
const methodDescriptor_V2_PostRunnerItemOutputs = new grpc.web.MethodDescriptor('/clarifai.api.V2/PostRunnerItemOutputs', grpc.web.MethodType.UNARY, proto.clarifai.api.PostRunnerItemOutputsRequest, proto.clarifai.api.MultiRunnerItemOutputResponse,
|
|
9026
|
+
/**
|
|
9027
|
+
* @param {!proto.clarifai.api.PostRunnerItemOutputsRequest} request
|
|
9028
|
+
* @return {!Uint8Array}
|
|
9029
|
+
*/
|
|
9030
|
+
function (request) {
|
|
9031
|
+
return request.serializeBinary();
|
|
9032
|
+
}, proto.clarifai.api.MultiRunnerItemOutputResponse.deserializeBinary);
|
|
9033
|
+
/**
|
|
9034
|
+
* @param {!proto.clarifai.api.PostRunnerItemOutputsRequest} request The
|
|
9035
|
+
* request proto
|
|
9036
|
+
* @param {?Object<string, string>} metadata User defined
|
|
9037
|
+
* call metadata
|
|
9038
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiRunnerItemOutputResponse)}
|
|
9039
|
+
* callback The callback function(error, response)
|
|
9040
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiRunnerItemOutputResponse>|undefined}
|
|
9041
|
+
* The XHR Node Readable Stream
|
|
9042
|
+
*/
|
|
9043
|
+
proto.clarifai.api.V2Client.prototype.postRunnerItemOutputs =
|
|
9044
|
+
function (request, metadata, callback) {
|
|
9045
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
9046
|
+
'/clarifai.api.V2/PostRunnerItemOutputs', request, metadata || {}, methodDescriptor_V2_PostRunnerItemOutputs, callback);
|
|
9047
|
+
};
|
|
9048
|
+
/**
|
|
9049
|
+
* @param {!proto.clarifai.api.PostRunnerItemOutputsRequest} request The
|
|
9050
|
+
* request proto
|
|
9051
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
9052
|
+
* call metadata
|
|
9053
|
+
* @return {!Promise<!proto.clarifai.api.MultiRunnerItemOutputResponse>}
|
|
9054
|
+
* Promise that resolves to the response
|
|
9055
|
+
*/
|
|
9056
|
+
proto.clarifai.api.V2PromiseClient.prototype.postRunnerItemOutputs =
|
|
9057
|
+
function (request, metadata) {
|
|
9058
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
9059
|
+
'/clarifai.api.V2/PostRunnerItemOutputs', request, metadata || {}, methodDescriptor_V2_PostRunnerItemOutputs);
|
|
9060
|
+
};
|
|
9061
|
+
/**
|
|
9062
|
+
* @const
|
|
9063
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
9064
|
+
* !proto.clarifai.api.PostModelVersionsTrainingTimeEstimateRequest,
|
|
9065
|
+
* !proto.clarifai.api.MultiTrainingTimeEstimateResponse>}
|
|
9066
|
+
*/
|
|
9067
|
+
const methodDescriptor_V2_PostModelVersionsTrainingTimeEstimate = new grpc.web.MethodDescriptor('/clarifai.api.V2/PostModelVersionsTrainingTimeEstimate', grpc.web.MethodType.UNARY, proto.clarifai.api.PostModelVersionsTrainingTimeEstimateRequest, proto.clarifai.api.MultiTrainingTimeEstimateResponse,
|
|
9068
|
+
/**
|
|
9069
|
+
* @param {!proto.clarifai.api.PostModelVersionsTrainingTimeEstimateRequest} request
|
|
9070
|
+
* @return {!Uint8Array}
|
|
9071
|
+
*/
|
|
9072
|
+
function (request) {
|
|
9073
|
+
return request.serializeBinary();
|
|
9074
|
+
}, proto.clarifai.api.MultiTrainingTimeEstimateResponse.deserializeBinary);
|
|
9075
|
+
/**
|
|
9076
|
+
* @param {!proto.clarifai.api.PostModelVersionsTrainingTimeEstimateRequest} request The
|
|
9077
|
+
* request proto
|
|
9078
|
+
* @param {?Object<string, string>} metadata User defined
|
|
9079
|
+
* call metadata
|
|
9080
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiTrainingTimeEstimateResponse)}
|
|
9081
|
+
* callback The callback function(error, response)
|
|
9082
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiTrainingTimeEstimateResponse>|undefined}
|
|
9083
|
+
* The XHR Node Readable Stream
|
|
9084
|
+
*/
|
|
9085
|
+
proto.clarifai.api.V2Client.prototype.postModelVersionsTrainingTimeEstimate =
|
|
9086
|
+
function (request, metadata, callback) {
|
|
9087
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
9088
|
+
'/clarifai.api.V2/PostModelVersionsTrainingTimeEstimate', request, metadata || {}, methodDescriptor_V2_PostModelVersionsTrainingTimeEstimate, callback);
|
|
9089
|
+
};
|
|
9090
|
+
/**
|
|
9091
|
+
* @param {!proto.clarifai.api.PostModelVersionsTrainingTimeEstimateRequest} request The
|
|
9092
|
+
* request proto
|
|
9093
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
9094
|
+
* call metadata
|
|
9095
|
+
* @return {!Promise<!proto.clarifai.api.MultiTrainingTimeEstimateResponse>}
|
|
9096
|
+
* Promise that resolves to the response
|
|
9097
|
+
*/
|
|
9098
|
+
proto.clarifai.api.V2PromiseClient.prototype.postModelVersionsTrainingTimeEstimate =
|
|
9099
|
+
function (request, metadata) {
|
|
9100
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
9101
|
+
'/clarifai.api.V2/PostModelVersionsTrainingTimeEstimate', request, metadata || {}, methodDescriptor_V2_PostModelVersionsTrainingTimeEstimate);
|
|
9102
|
+
};
|
|
8217
9103
|
module.exports = proto.clarifai.api;
|