clarifai-web-grpc 4.1.0 → 5.0.0
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/codeql-analysis.yml +72 -0
- package/CHANGELOG.md +9 -3
- package/VERSION +1 -1
- package/dist/cjs/proto/clarifai/api/resources_pb.js +8401 -1039
- package/dist/cjs/proto/clarifai/api/service_grpc_web_pb.js +1428 -0
- package/dist/cjs/proto/clarifai/api/service_pb.js +26106 -16201
- package/dist/cjs/proto/clarifai/api/status/status_code_pb.js +33 -0
- package/dist/cjs/proto/clarifai/api/status/status_pb.js +237 -1
- package/dist/cjs/proto/clarifai/auth/scope/scope_pb.js +11 -1
- package/dist/esm/proto/clarifai/api/resources_pb.js +8401 -1039
- package/dist/esm/proto/clarifai/api/service_grpc_web_pb.js +1428 -0
- package/dist/esm/proto/clarifai/api/service_pb.js +26106 -16201
- package/dist/esm/proto/clarifai/api/status/status_code_pb.js +33 -0
- package/dist/esm/proto/clarifai/api/status/status_pb.js +237 -1
- package/dist/esm/proto/clarifai/auth/scope/scope_pb.js +11 -1
- package/package.json +1 -1
- package/package.json-E +52 -0
- package/proto/clarifai/api/resources_pb.d.ts +1160 -39
- package/proto/clarifai/api/resources_pb.js +9717 -529
- package/proto/clarifai/api/service_grpc_web_pb.d.ts +408 -0
- package/proto/clarifai/api/service_grpc_web_pb.js +2098 -24
- package/proto/clarifai/api/service_pb.d.ts +1418 -0
- package/proto/clarifai/api/service_pb.js +30537 -18314
- package/proto/clarifai/api/status/status_code_pb.d.ts +33 -0
- package/proto/clarifai/api/status/status_code_pb.js +33 -0
- package/proto/clarifai/api/status/status_pb.d.ts +36 -0
- package/proto/clarifai/api/status/status_pb.js +294 -1
- package/proto/clarifai/auth/scope/scope_pb.d.ts +10 -0
- package/proto/clarifai/auth/scope/scope_pb.js +11 -1
- package/LICENCE +0 -13
|
@@ -318,6 +318,48 @@ proto.clarifai.api.V2PromiseClient.prototype.listConcepts =
|
|
|
318
318
|
return this.client_.unaryCall(this.hostname_ +
|
|
319
319
|
'/clarifai.api.V2/ListConcepts', request, metadata || {}, methodDescriptor_V2_ListConcepts);
|
|
320
320
|
};
|
|
321
|
+
/**
|
|
322
|
+
* @const
|
|
323
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
324
|
+
* !proto.clarifai.api.ListModelConceptsRequest,
|
|
325
|
+
* !proto.clarifai.api.MultiConceptResponse>}
|
|
326
|
+
*/
|
|
327
|
+
const methodDescriptor_V2_ListModelConcepts = new grpc.web.MethodDescriptor('/clarifai.api.V2/ListModelConcepts', grpc.web.MethodType.UNARY, proto.clarifai.api.ListModelConceptsRequest, proto.clarifai.api.MultiConceptResponse,
|
|
328
|
+
/**
|
|
329
|
+
* @param {!proto.clarifai.api.ListModelConceptsRequest} request
|
|
330
|
+
* @return {!Uint8Array}
|
|
331
|
+
*/
|
|
332
|
+
function (request) {
|
|
333
|
+
return request.serializeBinary();
|
|
334
|
+
}, proto.clarifai.api.MultiConceptResponse.deserializeBinary);
|
|
335
|
+
/**
|
|
336
|
+
* @param {!proto.clarifai.api.ListModelConceptsRequest} request The
|
|
337
|
+
* request proto
|
|
338
|
+
* @param {?Object<string, string>} metadata User defined
|
|
339
|
+
* call metadata
|
|
340
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiConceptResponse)}
|
|
341
|
+
* callback The callback function(error, response)
|
|
342
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiConceptResponse>|undefined}
|
|
343
|
+
* The XHR Node Readable Stream
|
|
344
|
+
*/
|
|
345
|
+
proto.clarifai.api.V2Client.prototype.listModelConcepts =
|
|
346
|
+
function (request, metadata, callback) {
|
|
347
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
348
|
+
'/clarifai.api.V2/ListModelConcepts', request, metadata || {}, methodDescriptor_V2_ListModelConcepts, callback);
|
|
349
|
+
};
|
|
350
|
+
/**
|
|
351
|
+
* @param {!proto.clarifai.api.ListModelConceptsRequest} request The
|
|
352
|
+
* request proto
|
|
353
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
354
|
+
* call metadata
|
|
355
|
+
* @return {!Promise<!proto.clarifai.api.MultiConceptResponse>}
|
|
356
|
+
* Promise that resolves to the response
|
|
357
|
+
*/
|
|
358
|
+
proto.clarifai.api.V2PromiseClient.prototype.listModelConcepts =
|
|
359
|
+
function (request, metadata) {
|
|
360
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
361
|
+
'/clarifai.api.V2/ListModelConcepts', request, metadata || {}, methodDescriptor_V2_ListModelConcepts);
|
|
362
|
+
};
|
|
321
363
|
/**
|
|
322
364
|
* @const
|
|
323
365
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -1788,6 +1830,48 @@ proto.clarifai.api.V2PromiseClient.prototype.patchDatasets =
|
|
|
1788
1830
|
return this.client_.unaryCall(this.hostname_ +
|
|
1789
1831
|
'/clarifai.api.V2/PatchDatasets', request, metadata || {}, methodDescriptor_V2_PatchDatasets);
|
|
1790
1832
|
};
|
|
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
|
+
};
|
|
1791
1875
|
/**
|
|
1792
1876
|
* @const
|
|
1793
1877
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -2250,6 +2334,48 @@ proto.clarifai.api.V2PromiseClient.prototype.deleteDatasetVersions =
|
|
|
2250
2334
|
return this.client_.unaryCall(this.hostname_ +
|
|
2251
2335
|
'/clarifai.api.V2/DeleteDatasetVersions', request, metadata || {}, methodDescriptor_V2_DeleteDatasetVersions);
|
|
2252
2336
|
};
|
|
2337
|
+
/**
|
|
2338
|
+
* @const
|
|
2339
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
2340
|
+
* !proto.clarifai.api.PutDatasetVersionExportsRequest,
|
|
2341
|
+
* !proto.clarifai.api.MultiDatasetVersionExportResponse>}
|
|
2342
|
+
*/
|
|
2343
|
+
const methodDescriptor_V2_PutDatasetVersionExports = new grpc.web.MethodDescriptor('/clarifai.api.V2/PutDatasetVersionExports', grpc.web.MethodType.UNARY, proto.clarifai.api.PutDatasetVersionExportsRequest, proto.clarifai.api.MultiDatasetVersionExportResponse,
|
|
2344
|
+
/**
|
|
2345
|
+
* @param {!proto.clarifai.api.PutDatasetVersionExportsRequest} request
|
|
2346
|
+
* @return {!Uint8Array}
|
|
2347
|
+
*/
|
|
2348
|
+
function (request) {
|
|
2349
|
+
return request.serializeBinary();
|
|
2350
|
+
}, proto.clarifai.api.MultiDatasetVersionExportResponse.deserializeBinary);
|
|
2351
|
+
/**
|
|
2352
|
+
* @param {!proto.clarifai.api.PutDatasetVersionExportsRequest} request The
|
|
2353
|
+
* request proto
|
|
2354
|
+
* @param {?Object<string, string>} metadata User defined
|
|
2355
|
+
* call metadata
|
|
2356
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiDatasetVersionExportResponse)}
|
|
2357
|
+
* callback The callback function(error, response)
|
|
2358
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiDatasetVersionExportResponse>|undefined}
|
|
2359
|
+
* The XHR Node Readable Stream
|
|
2360
|
+
*/
|
|
2361
|
+
proto.clarifai.api.V2Client.prototype.putDatasetVersionExports =
|
|
2362
|
+
function (request, metadata, callback) {
|
|
2363
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
2364
|
+
'/clarifai.api.V2/PutDatasetVersionExports', request, metadata || {}, methodDescriptor_V2_PutDatasetVersionExports, callback);
|
|
2365
|
+
};
|
|
2366
|
+
/**
|
|
2367
|
+
* @param {!proto.clarifai.api.PutDatasetVersionExportsRequest} request The
|
|
2368
|
+
* request proto
|
|
2369
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
2370
|
+
* call metadata
|
|
2371
|
+
* @return {!Promise<!proto.clarifai.api.MultiDatasetVersionExportResponse>}
|
|
2372
|
+
* Promise that resolves to the response
|
|
2373
|
+
*/
|
|
2374
|
+
proto.clarifai.api.V2PromiseClient.prototype.putDatasetVersionExports =
|
|
2375
|
+
function (request, metadata) {
|
|
2376
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
2377
|
+
'/clarifai.api.V2/PutDatasetVersionExports', request, metadata || {}, methodDescriptor_V2_PutDatasetVersionExports);
|
|
2378
|
+
};
|
|
2253
2379
|
/**
|
|
2254
2380
|
* @const
|
|
2255
2381
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -2754,6 +2880,48 @@ proto.clarifai.api.V2PromiseClient.prototype.deleteModels =
|
|
|
2754
2880
|
return this.client_.unaryCall(this.hostname_ +
|
|
2755
2881
|
'/clarifai.api.V2/DeleteModels', request, metadata || {}, methodDescriptor_V2_DeleteModels);
|
|
2756
2882
|
};
|
|
2883
|
+
/**
|
|
2884
|
+
* @const
|
|
2885
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
2886
|
+
* !proto.clarifai.api.PatchModelCheckConsentsRequest,
|
|
2887
|
+
* !proto.clarifai.api.MultiModelCheckConsentResponse>}
|
|
2888
|
+
*/
|
|
2889
|
+
const methodDescriptor_V2_PatchModelCheckConsents = new grpc.web.MethodDescriptor('/clarifai.api.V2/PatchModelCheckConsents', grpc.web.MethodType.UNARY, proto.clarifai.api.PatchModelCheckConsentsRequest, proto.clarifai.api.MultiModelCheckConsentResponse,
|
|
2890
|
+
/**
|
|
2891
|
+
* @param {!proto.clarifai.api.PatchModelCheckConsentsRequest} request
|
|
2892
|
+
* @return {!Uint8Array}
|
|
2893
|
+
*/
|
|
2894
|
+
function (request) {
|
|
2895
|
+
return request.serializeBinary();
|
|
2896
|
+
}, proto.clarifai.api.MultiModelCheckConsentResponse.deserializeBinary);
|
|
2897
|
+
/**
|
|
2898
|
+
* @param {!proto.clarifai.api.PatchModelCheckConsentsRequest} request The
|
|
2899
|
+
* request proto
|
|
2900
|
+
* @param {?Object<string, string>} metadata User defined
|
|
2901
|
+
* call metadata
|
|
2902
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiModelCheckConsentResponse)}
|
|
2903
|
+
* callback The callback function(error, response)
|
|
2904
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiModelCheckConsentResponse>|undefined}
|
|
2905
|
+
* The XHR Node Readable Stream
|
|
2906
|
+
*/
|
|
2907
|
+
proto.clarifai.api.V2Client.prototype.patchModelCheckConsents =
|
|
2908
|
+
function (request, metadata, callback) {
|
|
2909
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
2910
|
+
'/clarifai.api.V2/PatchModelCheckConsents', request, metadata || {}, methodDescriptor_V2_PatchModelCheckConsents, callback);
|
|
2911
|
+
};
|
|
2912
|
+
/**
|
|
2913
|
+
* @param {!proto.clarifai.api.PatchModelCheckConsentsRequest} request The
|
|
2914
|
+
* request proto
|
|
2915
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
2916
|
+
* call metadata
|
|
2917
|
+
* @return {!Promise<!proto.clarifai.api.MultiModelCheckConsentResponse>}
|
|
2918
|
+
* Promise that resolves to the response
|
|
2919
|
+
*/
|
|
2920
|
+
proto.clarifai.api.V2PromiseClient.prototype.patchModelCheckConsents =
|
|
2921
|
+
function (request, metadata) {
|
|
2922
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
2923
|
+
'/clarifai.api.V2/PatchModelCheckConsents', request, metadata || {}, methodDescriptor_V2_PatchModelCheckConsents);
|
|
2924
|
+
};
|
|
2757
2925
|
/**
|
|
2758
2926
|
* @const
|
|
2759
2927
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -3678,6 +3846,48 @@ proto.clarifai.api.V2PromiseClient.prototype.patchWorkflows =
|
|
|
3678
3846
|
return this.client_.unaryCall(this.hostname_ +
|
|
3679
3847
|
'/clarifai.api.V2/PatchWorkflows', request, metadata || {}, methodDescriptor_V2_PatchWorkflows);
|
|
3680
3848
|
};
|
|
3849
|
+
/**
|
|
3850
|
+
* @const
|
|
3851
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
3852
|
+
* !proto.clarifai.api.PatchWorkflowIdsRequest,
|
|
3853
|
+
* !proto.clarifai.api.MultiWorkflowResponse>}
|
|
3854
|
+
*/
|
|
3855
|
+
const methodDescriptor_V2_PatchWorkflowIds = new grpc.web.MethodDescriptor('/clarifai.api.V2/PatchWorkflowIds', grpc.web.MethodType.UNARY, proto.clarifai.api.PatchWorkflowIdsRequest, proto.clarifai.api.MultiWorkflowResponse,
|
|
3856
|
+
/**
|
|
3857
|
+
* @param {!proto.clarifai.api.PatchWorkflowIdsRequest} request
|
|
3858
|
+
* @return {!Uint8Array}
|
|
3859
|
+
*/
|
|
3860
|
+
function (request) {
|
|
3861
|
+
return request.serializeBinary();
|
|
3862
|
+
}, proto.clarifai.api.MultiWorkflowResponse.deserializeBinary);
|
|
3863
|
+
/**
|
|
3864
|
+
* @param {!proto.clarifai.api.PatchWorkflowIdsRequest} request The
|
|
3865
|
+
* request proto
|
|
3866
|
+
* @param {?Object<string, string>} metadata User defined
|
|
3867
|
+
* call metadata
|
|
3868
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiWorkflowResponse)}
|
|
3869
|
+
* callback The callback function(error, response)
|
|
3870
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiWorkflowResponse>|undefined}
|
|
3871
|
+
* The XHR Node Readable Stream
|
|
3872
|
+
*/
|
|
3873
|
+
proto.clarifai.api.V2Client.prototype.patchWorkflowIds =
|
|
3874
|
+
function (request, metadata, callback) {
|
|
3875
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
3876
|
+
'/clarifai.api.V2/PatchWorkflowIds', request, metadata || {}, methodDescriptor_V2_PatchWorkflowIds, callback);
|
|
3877
|
+
};
|
|
3878
|
+
/**
|
|
3879
|
+
* @param {!proto.clarifai.api.PatchWorkflowIdsRequest} request The
|
|
3880
|
+
* request proto
|
|
3881
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
3882
|
+
* call metadata
|
|
3883
|
+
* @return {!Promise<!proto.clarifai.api.MultiWorkflowResponse>}
|
|
3884
|
+
* Promise that resolves to the response
|
|
3885
|
+
*/
|
|
3886
|
+
proto.clarifai.api.V2PromiseClient.prototype.patchWorkflowIds =
|
|
3887
|
+
function (request, metadata) {
|
|
3888
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
3889
|
+
'/clarifai.api.V2/PatchWorkflowIds', request, metadata || {}, methodDescriptor_V2_PatchWorkflowIds);
|
|
3890
|
+
};
|
|
3681
3891
|
/**
|
|
3682
3892
|
* @const
|
|
3683
3893
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -4644,6 +4854,90 @@ proto.clarifai.api.V2PromiseClient.prototype.patchApps =
|
|
|
4644
4854
|
return this.client_.unaryCall(this.hostname_ +
|
|
4645
4855
|
'/clarifai.api.V2/PatchApps', request, metadata || {}, methodDescriptor_V2_PatchApps);
|
|
4646
4856
|
};
|
|
4857
|
+
/**
|
|
4858
|
+
* @const
|
|
4859
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
4860
|
+
* !proto.clarifai.api.PatchAppsIdsRequest,
|
|
4861
|
+
* !proto.clarifai.api.MultiAppResponse>}
|
|
4862
|
+
*/
|
|
4863
|
+
const methodDescriptor_V2_PatchAppsIds = new grpc.web.MethodDescriptor('/clarifai.api.V2/PatchAppsIds', grpc.web.MethodType.UNARY, proto.clarifai.api.PatchAppsIdsRequest, proto.clarifai.api.MultiAppResponse,
|
|
4864
|
+
/**
|
|
4865
|
+
* @param {!proto.clarifai.api.PatchAppsIdsRequest} request
|
|
4866
|
+
* @return {!Uint8Array}
|
|
4867
|
+
*/
|
|
4868
|
+
function (request) {
|
|
4869
|
+
return request.serializeBinary();
|
|
4870
|
+
}, proto.clarifai.api.MultiAppResponse.deserializeBinary);
|
|
4871
|
+
/**
|
|
4872
|
+
* @param {!proto.clarifai.api.PatchAppsIdsRequest} request The
|
|
4873
|
+
* request proto
|
|
4874
|
+
* @param {?Object<string, string>} metadata User defined
|
|
4875
|
+
* call metadata
|
|
4876
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiAppResponse)}
|
|
4877
|
+
* callback The callback function(error, response)
|
|
4878
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiAppResponse>|undefined}
|
|
4879
|
+
* The XHR Node Readable Stream
|
|
4880
|
+
*/
|
|
4881
|
+
proto.clarifai.api.V2Client.prototype.patchAppsIds =
|
|
4882
|
+
function (request, metadata, callback) {
|
|
4883
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
4884
|
+
'/clarifai.api.V2/PatchAppsIds', request, metadata || {}, methodDescriptor_V2_PatchAppsIds, callback);
|
|
4885
|
+
};
|
|
4886
|
+
/**
|
|
4887
|
+
* @param {!proto.clarifai.api.PatchAppsIdsRequest} request The
|
|
4888
|
+
* request proto
|
|
4889
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
4890
|
+
* call metadata
|
|
4891
|
+
* @return {!Promise<!proto.clarifai.api.MultiAppResponse>}
|
|
4892
|
+
* Promise that resolves to the response
|
|
4893
|
+
*/
|
|
4894
|
+
proto.clarifai.api.V2PromiseClient.prototype.patchAppsIds =
|
|
4895
|
+
function (request, metadata) {
|
|
4896
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
4897
|
+
'/clarifai.api.V2/PatchAppsIds', request, metadata || {}, methodDescriptor_V2_PatchAppsIds);
|
|
4898
|
+
};
|
|
4899
|
+
/**
|
|
4900
|
+
* @const
|
|
4901
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
4902
|
+
* !proto.clarifai.api.PatchAppRequest,
|
|
4903
|
+
* !proto.clarifai.api.SingleAppResponse>}
|
|
4904
|
+
*/
|
|
4905
|
+
const methodDescriptor_V2_PatchApp = new grpc.web.MethodDescriptor('/clarifai.api.V2/PatchApp', grpc.web.MethodType.UNARY, proto.clarifai.api.PatchAppRequest, proto.clarifai.api.SingleAppResponse,
|
|
4906
|
+
/**
|
|
4907
|
+
* @param {!proto.clarifai.api.PatchAppRequest} request
|
|
4908
|
+
* @return {!Uint8Array}
|
|
4909
|
+
*/
|
|
4910
|
+
function (request) {
|
|
4911
|
+
return request.serializeBinary();
|
|
4912
|
+
}, proto.clarifai.api.SingleAppResponse.deserializeBinary);
|
|
4913
|
+
/**
|
|
4914
|
+
* @param {!proto.clarifai.api.PatchAppRequest} request The
|
|
4915
|
+
* request proto
|
|
4916
|
+
* @param {?Object<string, string>} metadata User defined
|
|
4917
|
+
* call metadata
|
|
4918
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.SingleAppResponse)}
|
|
4919
|
+
* callback The callback function(error, response)
|
|
4920
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.SingleAppResponse>|undefined}
|
|
4921
|
+
* The XHR Node Readable Stream
|
|
4922
|
+
*/
|
|
4923
|
+
proto.clarifai.api.V2Client.prototype.patchApp =
|
|
4924
|
+
function (request, metadata, callback) {
|
|
4925
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
4926
|
+
'/clarifai.api.V2/PatchApp', request, metadata || {}, methodDescriptor_V2_PatchApp, callback);
|
|
4927
|
+
};
|
|
4928
|
+
/**
|
|
4929
|
+
* @param {!proto.clarifai.api.PatchAppRequest} request The
|
|
4930
|
+
* request proto
|
|
4931
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
4932
|
+
* call metadata
|
|
4933
|
+
* @return {!Promise<!proto.clarifai.api.SingleAppResponse>}
|
|
4934
|
+
* Promise that resolves to the response
|
|
4935
|
+
*/
|
|
4936
|
+
proto.clarifai.api.V2PromiseClient.prototype.patchApp =
|
|
4937
|
+
function (request, metadata) {
|
|
4938
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
4939
|
+
'/clarifai.api.V2/PatchApp', request, metadata || {}, methodDescriptor_V2_PatchApp);
|
|
4940
|
+
};
|
|
4647
4941
|
/**
|
|
4648
4942
|
* @const
|
|
4649
4943
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -6660,4 +6954,1138 @@ proto.clarifai.api.V2PromiseClient.prototype.listTrendingMetricsViews =
|
|
|
6660
6954
|
return this.client_.unaryCall(this.hostname_ +
|
|
6661
6955
|
'/clarifai.api.V2/ListTrendingMetricsViews', request, metadata || {}, methodDescriptor_V2_ListTrendingMetricsViews);
|
|
6662
6956
|
};
|
|
6957
|
+
/**
|
|
6958
|
+
* @const
|
|
6959
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
6960
|
+
* !proto.clarifai.api.GetModuleRequest,
|
|
6961
|
+
* !proto.clarifai.api.SingleModuleResponse>}
|
|
6962
|
+
*/
|
|
6963
|
+
const methodDescriptor_V2_GetModule = new grpc.web.MethodDescriptor('/clarifai.api.V2/GetModule', grpc.web.MethodType.UNARY, proto.clarifai.api.GetModuleRequest, proto.clarifai.api.SingleModuleResponse,
|
|
6964
|
+
/**
|
|
6965
|
+
* @param {!proto.clarifai.api.GetModuleRequest} request
|
|
6966
|
+
* @return {!Uint8Array}
|
|
6967
|
+
*/
|
|
6968
|
+
function (request) {
|
|
6969
|
+
return request.serializeBinary();
|
|
6970
|
+
}, proto.clarifai.api.SingleModuleResponse.deserializeBinary);
|
|
6971
|
+
/**
|
|
6972
|
+
* @param {!proto.clarifai.api.GetModuleRequest} request The
|
|
6973
|
+
* request proto
|
|
6974
|
+
* @param {?Object<string, string>} metadata User defined
|
|
6975
|
+
* call metadata
|
|
6976
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.SingleModuleResponse)}
|
|
6977
|
+
* callback The callback function(error, response)
|
|
6978
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.SingleModuleResponse>|undefined}
|
|
6979
|
+
* The XHR Node Readable Stream
|
|
6980
|
+
*/
|
|
6981
|
+
proto.clarifai.api.V2Client.prototype.getModule =
|
|
6982
|
+
function (request, metadata, callback) {
|
|
6983
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
6984
|
+
'/clarifai.api.V2/GetModule', request, metadata || {}, methodDescriptor_V2_GetModule, callback);
|
|
6985
|
+
};
|
|
6986
|
+
/**
|
|
6987
|
+
* @param {!proto.clarifai.api.GetModuleRequest} request The
|
|
6988
|
+
* request proto
|
|
6989
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
6990
|
+
* call metadata
|
|
6991
|
+
* @return {!Promise<!proto.clarifai.api.SingleModuleResponse>}
|
|
6992
|
+
* Promise that resolves to the response
|
|
6993
|
+
*/
|
|
6994
|
+
proto.clarifai.api.V2PromiseClient.prototype.getModule =
|
|
6995
|
+
function (request, metadata) {
|
|
6996
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
6997
|
+
'/clarifai.api.V2/GetModule', request, metadata || {}, methodDescriptor_V2_GetModule);
|
|
6998
|
+
};
|
|
6999
|
+
/**
|
|
7000
|
+
* @const
|
|
7001
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
7002
|
+
* !proto.clarifai.api.ListModulesRequest,
|
|
7003
|
+
* !proto.clarifai.api.MultiModuleResponse>}
|
|
7004
|
+
*/
|
|
7005
|
+
const methodDescriptor_V2_ListModules = new grpc.web.MethodDescriptor('/clarifai.api.V2/ListModules', grpc.web.MethodType.UNARY, proto.clarifai.api.ListModulesRequest, proto.clarifai.api.MultiModuleResponse,
|
|
7006
|
+
/**
|
|
7007
|
+
* @param {!proto.clarifai.api.ListModulesRequest} request
|
|
7008
|
+
* @return {!Uint8Array}
|
|
7009
|
+
*/
|
|
7010
|
+
function (request) {
|
|
7011
|
+
return request.serializeBinary();
|
|
7012
|
+
}, proto.clarifai.api.MultiModuleResponse.deserializeBinary);
|
|
7013
|
+
/**
|
|
7014
|
+
* @param {!proto.clarifai.api.ListModulesRequest} request The
|
|
7015
|
+
* request proto
|
|
7016
|
+
* @param {?Object<string, string>} metadata User defined
|
|
7017
|
+
* call metadata
|
|
7018
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiModuleResponse)}
|
|
7019
|
+
* callback The callback function(error, response)
|
|
7020
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiModuleResponse>|undefined}
|
|
7021
|
+
* The XHR Node Readable Stream
|
|
7022
|
+
*/
|
|
7023
|
+
proto.clarifai.api.V2Client.prototype.listModules =
|
|
7024
|
+
function (request, metadata, callback) {
|
|
7025
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
7026
|
+
'/clarifai.api.V2/ListModules', request, metadata || {}, methodDescriptor_V2_ListModules, callback);
|
|
7027
|
+
};
|
|
7028
|
+
/**
|
|
7029
|
+
* @param {!proto.clarifai.api.ListModulesRequest} request The
|
|
7030
|
+
* request proto
|
|
7031
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
7032
|
+
* call metadata
|
|
7033
|
+
* @return {!Promise<!proto.clarifai.api.MultiModuleResponse>}
|
|
7034
|
+
* Promise that resolves to the response
|
|
7035
|
+
*/
|
|
7036
|
+
proto.clarifai.api.V2PromiseClient.prototype.listModules =
|
|
7037
|
+
function (request, metadata) {
|
|
7038
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
7039
|
+
'/clarifai.api.V2/ListModules', request, metadata || {}, methodDescriptor_V2_ListModules);
|
|
7040
|
+
};
|
|
7041
|
+
/**
|
|
7042
|
+
* @const
|
|
7043
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
7044
|
+
* !proto.clarifai.api.PostModulesRequest,
|
|
7045
|
+
* !proto.clarifai.api.MultiModuleResponse>}
|
|
7046
|
+
*/
|
|
7047
|
+
const methodDescriptor_V2_PostModules = new grpc.web.MethodDescriptor('/clarifai.api.V2/PostModules', grpc.web.MethodType.UNARY, proto.clarifai.api.PostModulesRequest, proto.clarifai.api.MultiModuleResponse,
|
|
7048
|
+
/**
|
|
7049
|
+
* @param {!proto.clarifai.api.PostModulesRequest} request
|
|
7050
|
+
* @return {!Uint8Array}
|
|
7051
|
+
*/
|
|
7052
|
+
function (request) {
|
|
7053
|
+
return request.serializeBinary();
|
|
7054
|
+
}, proto.clarifai.api.MultiModuleResponse.deserializeBinary);
|
|
7055
|
+
/**
|
|
7056
|
+
* @param {!proto.clarifai.api.PostModulesRequest} request The
|
|
7057
|
+
* request proto
|
|
7058
|
+
* @param {?Object<string, string>} metadata User defined
|
|
7059
|
+
* call metadata
|
|
7060
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiModuleResponse)}
|
|
7061
|
+
* callback The callback function(error, response)
|
|
7062
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiModuleResponse>|undefined}
|
|
7063
|
+
* The XHR Node Readable Stream
|
|
7064
|
+
*/
|
|
7065
|
+
proto.clarifai.api.V2Client.prototype.postModules =
|
|
7066
|
+
function (request, metadata, callback) {
|
|
7067
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
7068
|
+
'/clarifai.api.V2/PostModules', request, metadata || {}, methodDescriptor_V2_PostModules, callback);
|
|
7069
|
+
};
|
|
7070
|
+
/**
|
|
7071
|
+
* @param {!proto.clarifai.api.PostModulesRequest} request The
|
|
7072
|
+
* request proto
|
|
7073
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
7074
|
+
* call metadata
|
|
7075
|
+
* @return {!Promise<!proto.clarifai.api.MultiModuleResponse>}
|
|
7076
|
+
* Promise that resolves to the response
|
|
7077
|
+
*/
|
|
7078
|
+
proto.clarifai.api.V2PromiseClient.prototype.postModules =
|
|
7079
|
+
function (request, metadata) {
|
|
7080
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
7081
|
+
'/clarifai.api.V2/PostModules', request, metadata || {}, methodDescriptor_V2_PostModules);
|
|
7082
|
+
};
|
|
7083
|
+
/**
|
|
7084
|
+
* @const
|
|
7085
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
7086
|
+
* !proto.clarifai.api.PatchModulesRequest,
|
|
7087
|
+
* !proto.clarifai.api.MultiModuleResponse>}
|
|
7088
|
+
*/
|
|
7089
|
+
const methodDescriptor_V2_PatchModules = new grpc.web.MethodDescriptor('/clarifai.api.V2/PatchModules', grpc.web.MethodType.UNARY, proto.clarifai.api.PatchModulesRequest, proto.clarifai.api.MultiModuleResponse,
|
|
7090
|
+
/**
|
|
7091
|
+
* @param {!proto.clarifai.api.PatchModulesRequest} request
|
|
7092
|
+
* @return {!Uint8Array}
|
|
7093
|
+
*/
|
|
7094
|
+
function (request) {
|
|
7095
|
+
return request.serializeBinary();
|
|
7096
|
+
}, proto.clarifai.api.MultiModuleResponse.deserializeBinary);
|
|
7097
|
+
/**
|
|
7098
|
+
* @param {!proto.clarifai.api.PatchModulesRequest} request The
|
|
7099
|
+
* request proto
|
|
7100
|
+
* @param {?Object<string, string>} metadata User defined
|
|
7101
|
+
* call metadata
|
|
7102
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiModuleResponse)}
|
|
7103
|
+
* callback The callback function(error, response)
|
|
7104
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiModuleResponse>|undefined}
|
|
7105
|
+
* The XHR Node Readable Stream
|
|
7106
|
+
*/
|
|
7107
|
+
proto.clarifai.api.V2Client.prototype.patchModules =
|
|
7108
|
+
function (request, metadata, callback) {
|
|
7109
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
7110
|
+
'/clarifai.api.V2/PatchModules', request, metadata || {}, methodDescriptor_V2_PatchModules, callback);
|
|
7111
|
+
};
|
|
7112
|
+
/**
|
|
7113
|
+
* @param {!proto.clarifai.api.PatchModulesRequest} request The
|
|
7114
|
+
* request proto
|
|
7115
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
7116
|
+
* call metadata
|
|
7117
|
+
* @return {!Promise<!proto.clarifai.api.MultiModuleResponse>}
|
|
7118
|
+
* Promise that resolves to the response
|
|
7119
|
+
*/
|
|
7120
|
+
proto.clarifai.api.V2PromiseClient.prototype.patchModules =
|
|
7121
|
+
function (request, metadata) {
|
|
7122
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
7123
|
+
'/clarifai.api.V2/PatchModules', request, metadata || {}, methodDescriptor_V2_PatchModules);
|
|
7124
|
+
};
|
|
7125
|
+
/**
|
|
7126
|
+
* @const
|
|
7127
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
7128
|
+
* !proto.clarifai.api.DeleteModulesRequest,
|
|
7129
|
+
* !proto.clarifai.api.status.BaseResponse>}
|
|
7130
|
+
*/
|
|
7131
|
+
const methodDescriptor_V2_DeleteModules = new grpc.web.MethodDescriptor('/clarifai.api.V2/DeleteModules', grpc.web.MethodType.UNARY, proto.clarifai.api.DeleteModulesRequest, proto_clarifai_api_status_status_pb.BaseResponse,
|
|
7132
|
+
/**
|
|
7133
|
+
* @param {!proto.clarifai.api.DeleteModulesRequest} request
|
|
7134
|
+
* @return {!Uint8Array}
|
|
7135
|
+
*/
|
|
7136
|
+
function (request) {
|
|
7137
|
+
return request.serializeBinary();
|
|
7138
|
+
}, proto_clarifai_api_status_status_pb.BaseResponse.deserializeBinary);
|
|
7139
|
+
/**
|
|
7140
|
+
* @param {!proto.clarifai.api.DeleteModulesRequest} request The
|
|
7141
|
+
* request proto
|
|
7142
|
+
* @param {?Object<string, string>} metadata User defined
|
|
7143
|
+
* call metadata
|
|
7144
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.status.BaseResponse)}
|
|
7145
|
+
* callback The callback function(error, response)
|
|
7146
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.status.BaseResponse>|undefined}
|
|
7147
|
+
* The XHR Node Readable Stream
|
|
7148
|
+
*/
|
|
7149
|
+
proto.clarifai.api.V2Client.prototype.deleteModules =
|
|
7150
|
+
function (request, metadata, callback) {
|
|
7151
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
7152
|
+
'/clarifai.api.V2/DeleteModules', request, metadata || {}, methodDescriptor_V2_DeleteModules, callback);
|
|
7153
|
+
};
|
|
7154
|
+
/**
|
|
7155
|
+
* @param {!proto.clarifai.api.DeleteModulesRequest} request The
|
|
7156
|
+
* request proto
|
|
7157
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
7158
|
+
* call metadata
|
|
7159
|
+
* @return {!Promise<!proto.clarifai.api.status.BaseResponse>}
|
|
7160
|
+
* Promise that resolves to the response
|
|
7161
|
+
*/
|
|
7162
|
+
proto.clarifai.api.V2PromiseClient.prototype.deleteModules =
|
|
7163
|
+
function (request, metadata) {
|
|
7164
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
7165
|
+
'/clarifai.api.V2/DeleteModules', request, metadata || {}, methodDescriptor_V2_DeleteModules);
|
|
7166
|
+
};
|
|
7167
|
+
/**
|
|
7168
|
+
* @const
|
|
7169
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
7170
|
+
* !proto.clarifai.api.GetModuleVersionRequest,
|
|
7171
|
+
* !proto.clarifai.api.SingleModuleVersionResponse>}
|
|
7172
|
+
*/
|
|
7173
|
+
const methodDescriptor_V2_GetModuleVersion = new grpc.web.MethodDescriptor('/clarifai.api.V2/GetModuleVersion', grpc.web.MethodType.UNARY, proto.clarifai.api.GetModuleVersionRequest, proto.clarifai.api.SingleModuleVersionResponse,
|
|
7174
|
+
/**
|
|
7175
|
+
* @param {!proto.clarifai.api.GetModuleVersionRequest} request
|
|
7176
|
+
* @return {!Uint8Array}
|
|
7177
|
+
*/
|
|
7178
|
+
function (request) {
|
|
7179
|
+
return request.serializeBinary();
|
|
7180
|
+
}, proto.clarifai.api.SingleModuleVersionResponse.deserializeBinary);
|
|
7181
|
+
/**
|
|
7182
|
+
* @param {!proto.clarifai.api.GetModuleVersionRequest} request The
|
|
7183
|
+
* request proto
|
|
7184
|
+
* @param {?Object<string, string>} metadata User defined
|
|
7185
|
+
* call metadata
|
|
7186
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.SingleModuleVersionResponse)}
|
|
7187
|
+
* callback The callback function(error, response)
|
|
7188
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.SingleModuleVersionResponse>|undefined}
|
|
7189
|
+
* The XHR Node Readable Stream
|
|
7190
|
+
*/
|
|
7191
|
+
proto.clarifai.api.V2Client.prototype.getModuleVersion =
|
|
7192
|
+
function (request, metadata, callback) {
|
|
7193
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
7194
|
+
'/clarifai.api.V2/GetModuleVersion', request, metadata || {}, methodDescriptor_V2_GetModuleVersion, callback);
|
|
7195
|
+
};
|
|
7196
|
+
/**
|
|
7197
|
+
* @param {!proto.clarifai.api.GetModuleVersionRequest} request The
|
|
7198
|
+
* request proto
|
|
7199
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
7200
|
+
* call metadata
|
|
7201
|
+
* @return {!Promise<!proto.clarifai.api.SingleModuleVersionResponse>}
|
|
7202
|
+
* Promise that resolves to the response
|
|
7203
|
+
*/
|
|
7204
|
+
proto.clarifai.api.V2PromiseClient.prototype.getModuleVersion =
|
|
7205
|
+
function (request, metadata) {
|
|
7206
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
7207
|
+
'/clarifai.api.V2/GetModuleVersion', request, metadata || {}, methodDescriptor_V2_GetModuleVersion);
|
|
7208
|
+
};
|
|
7209
|
+
/**
|
|
7210
|
+
* @const
|
|
7211
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
7212
|
+
* !proto.clarifai.api.ListModuleVersionsRequest,
|
|
7213
|
+
* !proto.clarifai.api.MultiModuleVersionResponse>}
|
|
7214
|
+
*/
|
|
7215
|
+
const methodDescriptor_V2_ListModuleVersions = new grpc.web.MethodDescriptor('/clarifai.api.V2/ListModuleVersions', grpc.web.MethodType.UNARY, proto.clarifai.api.ListModuleVersionsRequest, proto.clarifai.api.MultiModuleVersionResponse,
|
|
7216
|
+
/**
|
|
7217
|
+
* @param {!proto.clarifai.api.ListModuleVersionsRequest} request
|
|
7218
|
+
* @return {!Uint8Array}
|
|
7219
|
+
*/
|
|
7220
|
+
function (request) {
|
|
7221
|
+
return request.serializeBinary();
|
|
7222
|
+
}, proto.clarifai.api.MultiModuleVersionResponse.deserializeBinary);
|
|
7223
|
+
/**
|
|
7224
|
+
* @param {!proto.clarifai.api.ListModuleVersionsRequest} request The
|
|
7225
|
+
* request proto
|
|
7226
|
+
* @param {?Object<string, string>} metadata User defined
|
|
7227
|
+
* call metadata
|
|
7228
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiModuleVersionResponse)}
|
|
7229
|
+
* callback The callback function(error, response)
|
|
7230
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiModuleVersionResponse>|undefined}
|
|
7231
|
+
* The XHR Node Readable Stream
|
|
7232
|
+
*/
|
|
7233
|
+
proto.clarifai.api.V2Client.prototype.listModuleVersions =
|
|
7234
|
+
function (request, metadata, callback) {
|
|
7235
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
7236
|
+
'/clarifai.api.V2/ListModuleVersions', request, metadata || {}, methodDescriptor_V2_ListModuleVersions, callback);
|
|
7237
|
+
};
|
|
7238
|
+
/**
|
|
7239
|
+
* @param {!proto.clarifai.api.ListModuleVersionsRequest} request The
|
|
7240
|
+
* request proto
|
|
7241
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
7242
|
+
* call metadata
|
|
7243
|
+
* @return {!Promise<!proto.clarifai.api.MultiModuleVersionResponse>}
|
|
7244
|
+
* Promise that resolves to the response
|
|
7245
|
+
*/
|
|
7246
|
+
proto.clarifai.api.V2PromiseClient.prototype.listModuleVersions =
|
|
7247
|
+
function (request, metadata) {
|
|
7248
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
7249
|
+
'/clarifai.api.V2/ListModuleVersions', request, metadata || {}, methodDescriptor_V2_ListModuleVersions);
|
|
7250
|
+
};
|
|
7251
|
+
/**
|
|
7252
|
+
* @const
|
|
7253
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
7254
|
+
* !proto.clarifai.api.PostModuleVersionsRequest,
|
|
7255
|
+
* !proto.clarifai.api.MultiModuleVersionResponse>}
|
|
7256
|
+
*/
|
|
7257
|
+
const methodDescriptor_V2_PostModuleVersions = new grpc.web.MethodDescriptor('/clarifai.api.V2/PostModuleVersions', grpc.web.MethodType.UNARY, proto.clarifai.api.PostModuleVersionsRequest, proto.clarifai.api.MultiModuleVersionResponse,
|
|
7258
|
+
/**
|
|
7259
|
+
* @param {!proto.clarifai.api.PostModuleVersionsRequest} request
|
|
7260
|
+
* @return {!Uint8Array}
|
|
7261
|
+
*/
|
|
7262
|
+
function (request) {
|
|
7263
|
+
return request.serializeBinary();
|
|
7264
|
+
}, proto.clarifai.api.MultiModuleVersionResponse.deserializeBinary);
|
|
7265
|
+
/**
|
|
7266
|
+
* @param {!proto.clarifai.api.PostModuleVersionsRequest} request The
|
|
7267
|
+
* request proto
|
|
7268
|
+
* @param {?Object<string, string>} metadata User defined
|
|
7269
|
+
* call metadata
|
|
7270
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiModuleVersionResponse)}
|
|
7271
|
+
* callback The callback function(error, response)
|
|
7272
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiModuleVersionResponse>|undefined}
|
|
7273
|
+
* The XHR Node Readable Stream
|
|
7274
|
+
*/
|
|
7275
|
+
proto.clarifai.api.V2Client.prototype.postModuleVersions =
|
|
7276
|
+
function (request, metadata, callback) {
|
|
7277
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
7278
|
+
'/clarifai.api.V2/PostModuleVersions', request, metadata || {}, methodDescriptor_V2_PostModuleVersions, callback);
|
|
7279
|
+
};
|
|
7280
|
+
/**
|
|
7281
|
+
* @param {!proto.clarifai.api.PostModuleVersionsRequest} request The
|
|
7282
|
+
* request proto
|
|
7283
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
7284
|
+
* call metadata
|
|
7285
|
+
* @return {!Promise<!proto.clarifai.api.MultiModuleVersionResponse>}
|
|
7286
|
+
* Promise that resolves to the response
|
|
7287
|
+
*/
|
|
7288
|
+
proto.clarifai.api.V2PromiseClient.prototype.postModuleVersions =
|
|
7289
|
+
function (request, metadata) {
|
|
7290
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
7291
|
+
'/clarifai.api.V2/PostModuleVersions', request, metadata || {}, methodDescriptor_V2_PostModuleVersions);
|
|
7292
|
+
};
|
|
7293
|
+
/**
|
|
7294
|
+
* @const
|
|
7295
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
7296
|
+
* !proto.clarifai.api.DeleteModuleVersionsRequest,
|
|
7297
|
+
* !proto.clarifai.api.status.BaseResponse>}
|
|
7298
|
+
*/
|
|
7299
|
+
const methodDescriptor_V2_DeleteModuleVersions = new grpc.web.MethodDescriptor('/clarifai.api.V2/DeleteModuleVersions', grpc.web.MethodType.UNARY, proto.clarifai.api.DeleteModuleVersionsRequest, proto_clarifai_api_status_status_pb.BaseResponse,
|
|
7300
|
+
/**
|
|
7301
|
+
* @param {!proto.clarifai.api.DeleteModuleVersionsRequest} request
|
|
7302
|
+
* @return {!Uint8Array}
|
|
7303
|
+
*/
|
|
7304
|
+
function (request) {
|
|
7305
|
+
return request.serializeBinary();
|
|
7306
|
+
}, proto_clarifai_api_status_status_pb.BaseResponse.deserializeBinary);
|
|
7307
|
+
/**
|
|
7308
|
+
* @param {!proto.clarifai.api.DeleteModuleVersionsRequest} request The
|
|
7309
|
+
* request proto
|
|
7310
|
+
* @param {?Object<string, string>} metadata User defined
|
|
7311
|
+
* call metadata
|
|
7312
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.status.BaseResponse)}
|
|
7313
|
+
* callback The callback function(error, response)
|
|
7314
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.status.BaseResponse>|undefined}
|
|
7315
|
+
* The XHR Node Readable Stream
|
|
7316
|
+
*/
|
|
7317
|
+
proto.clarifai.api.V2Client.prototype.deleteModuleVersions =
|
|
7318
|
+
function (request, metadata, callback) {
|
|
7319
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
7320
|
+
'/clarifai.api.V2/DeleteModuleVersions', request, metadata || {}, methodDescriptor_V2_DeleteModuleVersions, callback);
|
|
7321
|
+
};
|
|
7322
|
+
/**
|
|
7323
|
+
* @param {!proto.clarifai.api.DeleteModuleVersionsRequest} request The
|
|
7324
|
+
* request proto
|
|
7325
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
7326
|
+
* call metadata
|
|
7327
|
+
* @return {!Promise<!proto.clarifai.api.status.BaseResponse>}
|
|
7328
|
+
* Promise that resolves to the response
|
|
7329
|
+
*/
|
|
7330
|
+
proto.clarifai.api.V2PromiseClient.prototype.deleteModuleVersions =
|
|
7331
|
+
function (request, metadata) {
|
|
7332
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
7333
|
+
'/clarifai.api.V2/DeleteModuleVersions', request, metadata || {}, methodDescriptor_V2_DeleteModuleVersions);
|
|
7334
|
+
};
|
|
7335
|
+
/**
|
|
7336
|
+
* @const
|
|
7337
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
7338
|
+
* !proto.clarifai.api.GetInstalledModuleVersionRequest,
|
|
7339
|
+
* !proto.clarifai.api.SingleInstalledModuleVersionResponse>}
|
|
7340
|
+
*/
|
|
7341
|
+
const methodDescriptor_V2_GetInstalledModuleVersion = new grpc.web.MethodDescriptor('/clarifai.api.V2/GetInstalledModuleVersion', grpc.web.MethodType.UNARY, proto.clarifai.api.GetInstalledModuleVersionRequest, proto.clarifai.api.SingleInstalledModuleVersionResponse,
|
|
7342
|
+
/**
|
|
7343
|
+
* @param {!proto.clarifai.api.GetInstalledModuleVersionRequest} request
|
|
7344
|
+
* @return {!Uint8Array}
|
|
7345
|
+
*/
|
|
7346
|
+
function (request) {
|
|
7347
|
+
return request.serializeBinary();
|
|
7348
|
+
}, proto.clarifai.api.SingleInstalledModuleVersionResponse.deserializeBinary);
|
|
7349
|
+
/**
|
|
7350
|
+
* @param {!proto.clarifai.api.GetInstalledModuleVersionRequest} request The
|
|
7351
|
+
* request proto
|
|
7352
|
+
* @param {?Object<string, string>} metadata User defined
|
|
7353
|
+
* call metadata
|
|
7354
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.SingleInstalledModuleVersionResponse)}
|
|
7355
|
+
* callback The callback function(error, response)
|
|
7356
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.SingleInstalledModuleVersionResponse>|undefined}
|
|
7357
|
+
* The XHR Node Readable Stream
|
|
7358
|
+
*/
|
|
7359
|
+
proto.clarifai.api.V2Client.prototype.getInstalledModuleVersion =
|
|
7360
|
+
function (request, metadata, callback) {
|
|
7361
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
7362
|
+
'/clarifai.api.V2/GetInstalledModuleVersion', request, metadata || {}, methodDescriptor_V2_GetInstalledModuleVersion, callback);
|
|
7363
|
+
};
|
|
7364
|
+
/**
|
|
7365
|
+
* @param {!proto.clarifai.api.GetInstalledModuleVersionRequest} request The
|
|
7366
|
+
* request proto
|
|
7367
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
7368
|
+
* call metadata
|
|
7369
|
+
* @return {!Promise<!proto.clarifai.api.SingleInstalledModuleVersionResponse>}
|
|
7370
|
+
* Promise that resolves to the response
|
|
7371
|
+
*/
|
|
7372
|
+
proto.clarifai.api.V2PromiseClient.prototype.getInstalledModuleVersion =
|
|
7373
|
+
function (request, metadata) {
|
|
7374
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
7375
|
+
'/clarifai.api.V2/GetInstalledModuleVersion', request, metadata || {}, methodDescriptor_V2_GetInstalledModuleVersion);
|
|
7376
|
+
};
|
|
7377
|
+
/**
|
|
7378
|
+
* @const
|
|
7379
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
7380
|
+
* !proto.clarifai.api.ListInstalledModuleVersionsRequest,
|
|
7381
|
+
* !proto.clarifai.api.MultiInstalledModuleVersionResponse>}
|
|
7382
|
+
*/
|
|
7383
|
+
const methodDescriptor_V2_ListInstalledModuleVersions = new grpc.web.MethodDescriptor('/clarifai.api.V2/ListInstalledModuleVersions', grpc.web.MethodType.UNARY, proto.clarifai.api.ListInstalledModuleVersionsRequest, proto.clarifai.api.MultiInstalledModuleVersionResponse,
|
|
7384
|
+
/**
|
|
7385
|
+
* @param {!proto.clarifai.api.ListInstalledModuleVersionsRequest} request
|
|
7386
|
+
* @return {!Uint8Array}
|
|
7387
|
+
*/
|
|
7388
|
+
function (request) {
|
|
7389
|
+
return request.serializeBinary();
|
|
7390
|
+
}, proto.clarifai.api.MultiInstalledModuleVersionResponse.deserializeBinary);
|
|
7391
|
+
/**
|
|
7392
|
+
* @param {!proto.clarifai.api.ListInstalledModuleVersionsRequest} request The
|
|
7393
|
+
* request proto
|
|
7394
|
+
* @param {?Object<string, string>} metadata User defined
|
|
7395
|
+
* call metadata
|
|
7396
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiInstalledModuleVersionResponse)}
|
|
7397
|
+
* callback The callback function(error, response)
|
|
7398
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiInstalledModuleVersionResponse>|undefined}
|
|
7399
|
+
* The XHR Node Readable Stream
|
|
7400
|
+
*/
|
|
7401
|
+
proto.clarifai.api.V2Client.prototype.listInstalledModuleVersions =
|
|
7402
|
+
function (request, metadata, callback) {
|
|
7403
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
7404
|
+
'/clarifai.api.V2/ListInstalledModuleVersions', request, metadata || {}, methodDescriptor_V2_ListInstalledModuleVersions, callback);
|
|
7405
|
+
};
|
|
7406
|
+
/**
|
|
7407
|
+
* @param {!proto.clarifai.api.ListInstalledModuleVersionsRequest} request The
|
|
7408
|
+
* request proto
|
|
7409
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
7410
|
+
* call metadata
|
|
7411
|
+
* @return {!Promise<!proto.clarifai.api.MultiInstalledModuleVersionResponse>}
|
|
7412
|
+
* Promise that resolves to the response
|
|
7413
|
+
*/
|
|
7414
|
+
proto.clarifai.api.V2PromiseClient.prototype.listInstalledModuleVersions =
|
|
7415
|
+
function (request, metadata) {
|
|
7416
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
7417
|
+
'/clarifai.api.V2/ListInstalledModuleVersions', request, metadata || {}, methodDescriptor_V2_ListInstalledModuleVersions);
|
|
7418
|
+
};
|
|
7419
|
+
/**
|
|
7420
|
+
* @const
|
|
7421
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
7422
|
+
* !proto.clarifai.api.PostInstalledModuleVersionsRequest,
|
|
7423
|
+
* !proto.clarifai.api.MultiInstalledModuleVersionResponse>}
|
|
7424
|
+
*/
|
|
7425
|
+
const methodDescriptor_V2_PostInstalledModuleVersions = new grpc.web.MethodDescriptor('/clarifai.api.V2/PostInstalledModuleVersions', grpc.web.MethodType.UNARY, proto.clarifai.api.PostInstalledModuleVersionsRequest, proto.clarifai.api.MultiInstalledModuleVersionResponse,
|
|
7426
|
+
/**
|
|
7427
|
+
* @param {!proto.clarifai.api.PostInstalledModuleVersionsRequest} request
|
|
7428
|
+
* @return {!Uint8Array}
|
|
7429
|
+
*/
|
|
7430
|
+
function (request) {
|
|
7431
|
+
return request.serializeBinary();
|
|
7432
|
+
}, proto.clarifai.api.MultiInstalledModuleVersionResponse.deserializeBinary);
|
|
7433
|
+
/**
|
|
7434
|
+
* @param {!proto.clarifai.api.PostInstalledModuleVersionsRequest} request The
|
|
7435
|
+
* request proto
|
|
7436
|
+
* @param {?Object<string, string>} metadata User defined
|
|
7437
|
+
* call metadata
|
|
7438
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiInstalledModuleVersionResponse)}
|
|
7439
|
+
* callback The callback function(error, response)
|
|
7440
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiInstalledModuleVersionResponse>|undefined}
|
|
7441
|
+
* The XHR Node Readable Stream
|
|
7442
|
+
*/
|
|
7443
|
+
proto.clarifai.api.V2Client.prototype.postInstalledModuleVersions =
|
|
7444
|
+
function (request, metadata, callback) {
|
|
7445
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
7446
|
+
'/clarifai.api.V2/PostInstalledModuleVersions', request, metadata || {}, methodDescriptor_V2_PostInstalledModuleVersions, callback);
|
|
7447
|
+
};
|
|
7448
|
+
/**
|
|
7449
|
+
* @param {!proto.clarifai.api.PostInstalledModuleVersionsRequest} request The
|
|
7450
|
+
* request proto
|
|
7451
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
7452
|
+
* call metadata
|
|
7453
|
+
* @return {!Promise<!proto.clarifai.api.MultiInstalledModuleVersionResponse>}
|
|
7454
|
+
* Promise that resolves to the response
|
|
7455
|
+
*/
|
|
7456
|
+
proto.clarifai.api.V2PromiseClient.prototype.postInstalledModuleVersions =
|
|
7457
|
+
function (request, metadata) {
|
|
7458
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
7459
|
+
'/clarifai.api.V2/PostInstalledModuleVersions', request, metadata || {}, methodDescriptor_V2_PostInstalledModuleVersions);
|
|
7460
|
+
};
|
|
7461
|
+
/**
|
|
7462
|
+
* @const
|
|
7463
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
7464
|
+
* !proto.clarifai.api.DeleteInstalledModuleVersionsRequest,
|
|
7465
|
+
* !proto.clarifai.api.status.BaseResponse>}
|
|
7466
|
+
*/
|
|
7467
|
+
const methodDescriptor_V2_DeleteInstalledModuleVersions = new grpc.web.MethodDescriptor('/clarifai.api.V2/DeleteInstalledModuleVersions', grpc.web.MethodType.UNARY, proto.clarifai.api.DeleteInstalledModuleVersionsRequest, proto_clarifai_api_status_status_pb.BaseResponse,
|
|
7468
|
+
/**
|
|
7469
|
+
* @param {!proto.clarifai.api.DeleteInstalledModuleVersionsRequest} request
|
|
7470
|
+
* @return {!Uint8Array}
|
|
7471
|
+
*/
|
|
7472
|
+
function (request) {
|
|
7473
|
+
return request.serializeBinary();
|
|
7474
|
+
}, proto_clarifai_api_status_status_pb.BaseResponse.deserializeBinary);
|
|
7475
|
+
/**
|
|
7476
|
+
* @param {!proto.clarifai.api.DeleteInstalledModuleVersionsRequest} request The
|
|
7477
|
+
* request proto
|
|
7478
|
+
* @param {?Object<string, string>} metadata User defined
|
|
7479
|
+
* call metadata
|
|
7480
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.status.BaseResponse)}
|
|
7481
|
+
* callback The callback function(error, response)
|
|
7482
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.status.BaseResponse>|undefined}
|
|
7483
|
+
* The XHR Node Readable Stream
|
|
7484
|
+
*/
|
|
7485
|
+
proto.clarifai.api.V2Client.prototype.deleteInstalledModuleVersions =
|
|
7486
|
+
function (request, metadata, callback) {
|
|
7487
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
7488
|
+
'/clarifai.api.V2/DeleteInstalledModuleVersions', request, metadata || {}, methodDescriptor_V2_DeleteInstalledModuleVersions, callback);
|
|
7489
|
+
};
|
|
7490
|
+
/**
|
|
7491
|
+
* @param {!proto.clarifai.api.DeleteInstalledModuleVersionsRequest} request The
|
|
7492
|
+
* request proto
|
|
7493
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
7494
|
+
* call metadata
|
|
7495
|
+
* @return {!Promise<!proto.clarifai.api.status.BaseResponse>}
|
|
7496
|
+
* Promise that resolves to the response
|
|
7497
|
+
*/
|
|
7498
|
+
proto.clarifai.api.V2PromiseClient.prototype.deleteInstalledModuleVersions =
|
|
7499
|
+
function (request, metadata) {
|
|
7500
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
7501
|
+
'/clarifai.api.V2/DeleteInstalledModuleVersions', request, metadata || {}, methodDescriptor_V2_DeleteInstalledModuleVersions);
|
|
7502
|
+
};
|
|
7503
|
+
/**
|
|
7504
|
+
* @const
|
|
7505
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
7506
|
+
* !proto.clarifai.api.PostInstalledModuleVersionsKeyRequest,
|
|
7507
|
+
* !proto.clarifai.api.SingleKeyResponse>}
|
|
7508
|
+
*/
|
|
7509
|
+
const methodDescriptor_V2_PostInstalledModuleVersionsKey = new grpc.web.MethodDescriptor('/clarifai.api.V2/PostInstalledModuleVersionsKey', grpc.web.MethodType.UNARY, proto.clarifai.api.PostInstalledModuleVersionsKeyRequest, proto.clarifai.api.SingleKeyResponse,
|
|
7510
|
+
/**
|
|
7511
|
+
* @param {!proto.clarifai.api.PostInstalledModuleVersionsKeyRequest} request
|
|
7512
|
+
* @return {!Uint8Array}
|
|
7513
|
+
*/
|
|
7514
|
+
function (request) {
|
|
7515
|
+
return request.serializeBinary();
|
|
7516
|
+
}, proto.clarifai.api.SingleKeyResponse.deserializeBinary);
|
|
7517
|
+
/**
|
|
7518
|
+
* @param {!proto.clarifai.api.PostInstalledModuleVersionsKeyRequest} request The
|
|
7519
|
+
* request proto
|
|
7520
|
+
* @param {?Object<string, string>} metadata User defined
|
|
7521
|
+
* call metadata
|
|
7522
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.SingleKeyResponse)}
|
|
7523
|
+
* callback The callback function(error, response)
|
|
7524
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.SingleKeyResponse>|undefined}
|
|
7525
|
+
* The XHR Node Readable Stream
|
|
7526
|
+
*/
|
|
7527
|
+
proto.clarifai.api.V2Client.prototype.postInstalledModuleVersionsKey =
|
|
7528
|
+
function (request, metadata, callback) {
|
|
7529
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
7530
|
+
'/clarifai.api.V2/PostInstalledModuleVersionsKey', request, metadata || {}, methodDescriptor_V2_PostInstalledModuleVersionsKey, callback);
|
|
7531
|
+
};
|
|
7532
|
+
/**
|
|
7533
|
+
* @param {!proto.clarifai.api.PostInstalledModuleVersionsKeyRequest} request The
|
|
7534
|
+
* request proto
|
|
7535
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
7536
|
+
* call metadata
|
|
7537
|
+
* @return {!Promise<!proto.clarifai.api.SingleKeyResponse>}
|
|
7538
|
+
* Promise that resolves to the response
|
|
7539
|
+
*/
|
|
7540
|
+
proto.clarifai.api.V2PromiseClient.prototype.postInstalledModuleVersionsKey =
|
|
7541
|
+
function (request, metadata) {
|
|
7542
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
7543
|
+
'/clarifai.api.V2/PostInstalledModuleVersionsKey', request, metadata || {}, methodDescriptor_V2_PostInstalledModuleVersionsKey);
|
|
7544
|
+
};
|
|
7545
|
+
/**
|
|
7546
|
+
* @const
|
|
7547
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
7548
|
+
* !proto.clarifai.api.PostBulkOperationsRequest,
|
|
7549
|
+
* !proto.clarifai.api.MultiBulkOperationsResponse>}
|
|
7550
|
+
*/
|
|
7551
|
+
const methodDescriptor_V2_PostBulkOperations = new grpc.web.MethodDescriptor('/clarifai.api.V2/PostBulkOperations', grpc.web.MethodType.UNARY, proto.clarifai.api.PostBulkOperationsRequest, proto.clarifai.api.MultiBulkOperationsResponse,
|
|
7552
|
+
/**
|
|
7553
|
+
* @param {!proto.clarifai.api.PostBulkOperationsRequest} request
|
|
7554
|
+
* @return {!Uint8Array}
|
|
7555
|
+
*/
|
|
7556
|
+
function (request) {
|
|
7557
|
+
return request.serializeBinary();
|
|
7558
|
+
}, proto.clarifai.api.MultiBulkOperationsResponse.deserializeBinary);
|
|
7559
|
+
/**
|
|
7560
|
+
* @param {!proto.clarifai.api.PostBulkOperationsRequest} request The
|
|
7561
|
+
* request proto
|
|
7562
|
+
* @param {?Object<string, string>} metadata User defined
|
|
7563
|
+
* call metadata
|
|
7564
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiBulkOperationsResponse)}
|
|
7565
|
+
* callback The callback function(error, response)
|
|
7566
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiBulkOperationsResponse>|undefined}
|
|
7567
|
+
* The XHR Node Readable Stream
|
|
7568
|
+
*/
|
|
7569
|
+
proto.clarifai.api.V2Client.prototype.postBulkOperations =
|
|
7570
|
+
function (request, metadata, callback) {
|
|
7571
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
7572
|
+
'/clarifai.api.V2/PostBulkOperations', request, metadata || {}, methodDescriptor_V2_PostBulkOperations, callback);
|
|
7573
|
+
};
|
|
7574
|
+
/**
|
|
7575
|
+
* @param {!proto.clarifai.api.PostBulkOperationsRequest} request The
|
|
7576
|
+
* request proto
|
|
7577
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
7578
|
+
* call metadata
|
|
7579
|
+
* @return {!Promise<!proto.clarifai.api.MultiBulkOperationsResponse>}
|
|
7580
|
+
* Promise that resolves to the response
|
|
7581
|
+
*/
|
|
7582
|
+
proto.clarifai.api.V2PromiseClient.prototype.postBulkOperations =
|
|
7583
|
+
function (request, metadata) {
|
|
7584
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
7585
|
+
'/clarifai.api.V2/PostBulkOperations', request, metadata || {}, methodDescriptor_V2_PostBulkOperations);
|
|
7586
|
+
};
|
|
7587
|
+
/**
|
|
7588
|
+
* @const
|
|
7589
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
7590
|
+
* !proto.clarifai.api.ListBulkOperationsRequest,
|
|
7591
|
+
* !proto.clarifai.api.MultiBulkOperationsResponse>}
|
|
7592
|
+
*/
|
|
7593
|
+
const methodDescriptor_V2_ListBulkOperations = new grpc.web.MethodDescriptor('/clarifai.api.V2/ListBulkOperations', grpc.web.MethodType.UNARY, proto.clarifai.api.ListBulkOperationsRequest, proto.clarifai.api.MultiBulkOperationsResponse,
|
|
7594
|
+
/**
|
|
7595
|
+
* @param {!proto.clarifai.api.ListBulkOperationsRequest} request
|
|
7596
|
+
* @return {!Uint8Array}
|
|
7597
|
+
*/
|
|
7598
|
+
function (request) {
|
|
7599
|
+
return request.serializeBinary();
|
|
7600
|
+
}, proto.clarifai.api.MultiBulkOperationsResponse.deserializeBinary);
|
|
7601
|
+
/**
|
|
7602
|
+
* @param {!proto.clarifai.api.ListBulkOperationsRequest} request The
|
|
7603
|
+
* request proto
|
|
7604
|
+
* @param {?Object<string, string>} metadata User defined
|
|
7605
|
+
* call metadata
|
|
7606
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiBulkOperationsResponse)}
|
|
7607
|
+
* callback The callback function(error, response)
|
|
7608
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiBulkOperationsResponse>|undefined}
|
|
7609
|
+
* The XHR Node Readable Stream
|
|
7610
|
+
*/
|
|
7611
|
+
proto.clarifai.api.V2Client.prototype.listBulkOperations =
|
|
7612
|
+
function (request, metadata, callback) {
|
|
7613
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
7614
|
+
'/clarifai.api.V2/ListBulkOperations', request, metadata || {}, methodDescriptor_V2_ListBulkOperations, callback);
|
|
7615
|
+
};
|
|
7616
|
+
/**
|
|
7617
|
+
* @param {!proto.clarifai.api.ListBulkOperationsRequest} request The
|
|
7618
|
+
* request proto
|
|
7619
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
7620
|
+
* call metadata
|
|
7621
|
+
* @return {!Promise<!proto.clarifai.api.MultiBulkOperationsResponse>}
|
|
7622
|
+
* Promise that resolves to the response
|
|
7623
|
+
*/
|
|
7624
|
+
proto.clarifai.api.V2PromiseClient.prototype.listBulkOperations =
|
|
7625
|
+
function (request, metadata) {
|
|
7626
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
7627
|
+
'/clarifai.api.V2/ListBulkOperations', request, metadata || {}, methodDescriptor_V2_ListBulkOperations);
|
|
7628
|
+
};
|
|
7629
|
+
/**
|
|
7630
|
+
* @const
|
|
7631
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
7632
|
+
* !proto.clarifai.api.GetBulkOperationRequest,
|
|
7633
|
+
* !proto.clarifai.api.SingleBulkOperationsResponse>}
|
|
7634
|
+
*/
|
|
7635
|
+
const methodDescriptor_V2_GetBulkOperation = new grpc.web.MethodDescriptor('/clarifai.api.V2/GetBulkOperation', grpc.web.MethodType.UNARY, proto.clarifai.api.GetBulkOperationRequest, proto.clarifai.api.SingleBulkOperationsResponse,
|
|
7636
|
+
/**
|
|
7637
|
+
* @param {!proto.clarifai.api.GetBulkOperationRequest} request
|
|
7638
|
+
* @return {!Uint8Array}
|
|
7639
|
+
*/
|
|
7640
|
+
function (request) {
|
|
7641
|
+
return request.serializeBinary();
|
|
7642
|
+
}, proto.clarifai.api.SingleBulkOperationsResponse.deserializeBinary);
|
|
7643
|
+
/**
|
|
7644
|
+
* @param {!proto.clarifai.api.GetBulkOperationRequest} request The
|
|
7645
|
+
* request proto
|
|
7646
|
+
* @param {?Object<string, string>} metadata User defined
|
|
7647
|
+
* call metadata
|
|
7648
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.SingleBulkOperationsResponse)}
|
|
7649
|
+
* callback The callback function(error, response)
|
|
7650
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.SingleBulkOperationsResponse>|undefined}
|
|
7651
|
+
* The XHR Node Readable Stream
|
|
7652
|
+
*/
|
|
7653
|
+
proto.clarifai.api.V2Client.prototype.getBulkOperation =
|
|
7654
|
+
function (request, metadata, callback) {
|
|
7655
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
7656
|
+
'/clarifai.api.V2/GetBulkOperation', request, metadata || {}, methodDescriptor_V2_GetBulkOperation, callback);
|
|
7657
|
+
};
|
|
7658
|
+
/**
|
|
7659
|
+
* @param {!proto.clarifai.api.GetBulkOperationRequest} request The
|
|
7660
|
+
* request proto
|
|
7661
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
7662
|
+
* call metadata
|
|
7663
|
+
* @return {!Promise<!proto.clarifai.api.SingleBulkOperationsResponse>}
|
|
7664
|
+
* Promise that resolves to the response
|
|
7665
|
+
*/
|
|
7666
|
+
proto.clarifai.api.V2PromiseClient.prototype.getBulkOperation =
|
|
7667
|
+
function (request, metadata) {
|
|
7668
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
7669
|
+
'/clarifai.api.V2/GetBulkOperation', request, metadata || {}, methodDescriptor_V2_GetBulkOperation);
|
|
7670
|
+
};
|
|
7671
|
+
/**
|
|
7672
|
+
* @const
|
|
7673
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
7674
|
+
* !proto.clarifai.api.CancelBulkOperationRequest,
|
|
7675
|
+
* !proto.clarifai.api.MultiBulkOperationsResponse>}
|
|
7676
|
+
*/
|
|
7677
|
+
const methodDescriptor_V2_CancelBulkOperations = new grpc.web.MethodDescriptor('/clarifai.api.V2/CancelBulkOperations', grpc.web.MethodType.UNARY, proto.clarifai.api.CancelBulkOperationRequest, proto.clarifai.api.MultiBulkOperationsResponse,
|
|
7678
|
+
/**
|
|
7679
|
+
* @param {!proto.clarifai.api.CancelBulkOperationRequest} request
|
|
7680
|
+
* @return {!Uint8Array}
|
|
7681
|
+
*/
|
|
7682
|
+
function (request) {
|
|
7683
|
+
return request.serializeBinary();
|
|
7684
|
+
}, proto.clarifai.api.MultiBulkOperationsResponse.deserializeBinary);
|
|
7685
|
+
/**
|
|
7686
|
+
* @param {!proto.clarifai.api.CancelBulkOperationRequest} request The
|
|
7687
|
+
* request proto
|
|
7688
|
+
* @param {?Object<string, string>} metadata User defined
|
|
7689
|
+
* call metadata
|
|
7690
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiBulkOperationsResponse)}
|
|
7691
|
+
* callback The callback function(error, response)
|
|
7692
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiBulkOperationsResponse>|undefined}
|
|
7693
|
+
* The XHR Node Readable Stream
|
|
7694
|
+
*/
|
|
7695
|
+
proto.clarifai.api.V2Client.prototype.cancelBulkOperations =
|
|
7696
|
+
function (request, metadata, callback) {
|
|
7697
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
7698
|
+
'/clarifai.api.V2/CancelBulkOperations', request, metadata || {}, methodDescriptor_V2_CancelBulkOperations, callback);
|
|
7699
|
+
};
|
|
7700
|
+
/**
|
|
7701
|
+
* @param {!proto.clarifai.api.CancelBulkOperationRequest} request The
|
|
7702
|
+
* request proto
|
|
7703
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
7704
|
+
* call metadata
|
|
7705
|
+
* @return {!Promise<!proto.clarifai.api.MultiBulkOperationsResponse>}
|
|
7706
|
+
* Promise that resolves to the response
|
|
7707
|
+
*/
|
|
7708
|
+
proto.clarifai.api.V2PromiseClient.prototype.cancelBulkOperations =
|
|
7709
|
+
function (request, metadata) {
|
|
7710
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
7711
|
+
'/clarifai.api.V2/CancelBulkOperations', request, metadata || {}, methodDescriptor_V2_CancelBulkOperations);
|
|
7712
|
+
};
|
|
7713
|
+
/**
|
|
7714
|
+
* @const
|
|
7715
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
7716
|
+
* !proto.clarifai.api.DeleteBulkOperationRequest,
|
|
7717
|
+
* !proto.clarifai.api.status.BaseResponse>}
|
|
7718
|
+
*/
|
|
7719
|
+
const methodDescriptor_V2_DeleteBulkOperations = new grpc.web.MethodDescriptor('/clarifai.api.V2/DeleteBulkOperations', grpc.web.MethodType.UNARY, proto.clarifai.api.DeleteBulkOperationRequest, proto_clarifai_api_status_status_pb.BaseResponse,
|
|
7720
|
+
/**
|
|
7721
|
+
* @param {!proto.clarifai.api.DeleteBulkOperationRequest} request
|
|
7722
|
+
* @return {!Uint8Array}
|
|
7723
|
+
*/
|
|
7724
|
+
function (request) {
|
|
7725
|
+
return request.serializeBinary();
|
|
7726
|
+
}, proto_clarifai_api_status_status_pb.BaseResponse.deserializeBinary);
|
|
7727
|
+
/**
|
|
7728
|
+
* @param {!proto.clarifai.api.DeleteBulkOperationRequest} request The
|
|
7729
|
+
* request proto
|
|
7730
|
+
* @param {?Object<string, string>} metadata User defined
|
|
7731
|
+
* call metadata
|
|
7732
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.status.BaseResponse)}
|
|
7733
|
+
* callback The callback function(error, response)
|
|
7734
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.status.BaseResponse>|undefined}
|
|
7735
|
+
* The XHR Node Readable Stream
|
|
7736
|
+
*/
|
|
7737
|
+
proto.clarifai.api.V2Client.prototype.deleteBulkOperations =
|
|
7738
|
+
function (request, metadata, callback) {
|
|
7739
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
7740
|
+
'/clarifai.api.V2/DeleteBulkOperations', request, metadata || {}, methodDescriptor_V2_DeleteBulkOperations, callback);
|
|
7741
|
+
};
|
|
7742
|
+
/**
|
|
7743
|
+
* @param {!proto.clarifai.api.DeleteBulkOperationRequest} request The
|
|
7744
|
+
* request proto
|
|
7745
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
7746
|
+
* call metadata
|
|
7747
|
+
* @return {!Promise<!proto.clarifai.api.status.BaseResponse>}
|
|
7748
|
+
* Promise that resolves to the response
|
|
7749
|
+
*/
|
|
7750
|
+
proto.clarifai.api.V2PromiseClient.prototype.deleteBulkOperations =
|
|
7751
|
+
function (request, metadata) {
|
|
7752
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
7753
|
+
'/clarifai.api.V2/DeleteBulkOperations', request, metadata || {}, methodDescriptor_V2_DeleteBulkOperations);
|
|
7754
|
+
};
|
|
7755
|
+
/**
|
|
7756
|
+
* @const
|
|
7757
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
7758
|
+
* !proto.clarifai.api.GetDatasetInputsSearchAddJobRequest,
|
|
7759
|
+
* !proto.clarifai.api.SingleDatasetInputsSearchAddJobResponse>}
|
|
7760
|
+
*/
|
|
7761
|
+
const methodDescriptor_V2_GetDatasetInputsSearchAddJob = new grpc.web.MethodDescriptor('/clarifai.api.V2/GetDatasetInputsSearchAddJob', grpc.web.MethodType.UNARY, proto.clarifai.api.GetDatasetInputsSearchAddJobRequest, proto.clarifai.api.SingleDatasetInputsSearchAddJobResponse,
|
|
7762
|
+
/**
|
|
7763
|
+
* @param {!proto.clarifai.api.GetDatasetInputsSearchAddJobRequest} request
|
|
7764
|
+
* @return {!Uint8Array}
|
|
7765
|
+
*/
|
|
7766
|
+
function (request) {
|
|
7767
|
+
return request.serializeBinary();
|
|
7768
|
+
}, proto.clarifai.api.SingleDatasetInputsSearchAddJobResponse.deserializeBinary);
|
|
7769
|
+
/**
|
|
7770
|
+
* @param {!proto.clarifai.api.GetDatasetInputsSearchAddJobRequest} request The
|
|
7771
|
+
* request proto
|
|
7772
|
+
* @param {?Object<string, string>} metadata User defined
|
|
7773
|
+
* call metadata
|
|
7774
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.SingleDatasetInputsSearchAddJobResponse)}
|
|
7775
|
+
* callback The callback function(error, response)
|
|
7776
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.SingleDatasetInputsSearchAddJobResponse>|undefined}
|
|
7777
|
+
* The XHR Node Readable Stream
|
|
7778
|
+
*/
|
|
7779
|
+
proto.clarifai.api.V2Client.prototype.getDatasetInputsSearchAddJob =
|
|
7780
|
+
function (request, metadata, callback) {
|
|
7781
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
7782
|
+
'/clarifai.api.V2/GetDatasetInputsSearchAddJob', request, metadata || {}, methodDescriptor_V2_GetDatasetInputsSearchAddJob, callback);
|
|
7783
|
+
};
|
|
7784
|
+
/**
|
|
7785
|
+
* @param {!proto.clarifai.api.GetDatasetInputsSearchAddJobRequest} request The
|
|
7786
|
+
* request proto
|
|
7787
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
7788
|
+
* call metadata
|
|
7789
|
+
* @return {!Promise<!proto.clarifai.api.SingleDatasetInputsSearchAddJobResponse>}
|
|
7790
|
+
* Promise that resolves to the response
|
|
7791
|
+
*/
|
|
7792
|
+
proto.clarifai.api.V2PromiseClient.prototype.getDatasetInputsSearchAddJob =
|
|
7793
|
+
function (request, metadata) {
|
|
7794
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
7795
|
+
'/clarifai.api.V2/GetDatasetInputsSearchAddJob', request, metadata || {}, methodDescriptor_V2_GetDatasetInputsSearchAddJob);
|
|
7796
|
+
};
|
|
7797
|
+
/**
|
|
7798
|
+
* @const
|
|
7799
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
7800
|
+
* !proto.clarifai.api.ListInputsAddJobsRequest,
|
|
7801
|
+
* !proto.clarifai.api.MultiInputsAddJobResponse>}
|
|
7802
|
+
*/
|
|
7803
|
+
const methodDescriptor_V2_ListInputsAddJobs = new grpc.web.MethodDescriptor('/clarifai.api.V2/ListInputsAddJobs', grpc.web.MethodType.UNARY, proto.clarifai.api.ListInputsAddJobsRequest, proto.clarifai.api.MultiInputsAddJobResponse,
|
|
7804
|
+
/**
|
|
7805
|
+
* @param {!proto.clarifai.api.ListInputsAddJobsRequest} request
|
|
7806
|
+
* @return {!Uint8Array}
|
|
7807
|
+
*/
|
|
7808
|
+
function (request) {
|
|
7809
|
+
return request.serializeBinary();
|
|
7810
|
+
}, proto.clarifai.api.MultiInputsAddJobResponse.deserializeBinary);
|
|
7811
|
+
/**
|
|
7812
|
+
* @param {!proto.clarifai.api.ListInputsAddJobsRequest} request The
|
|
7813
|
+
* request proto
|
|
7814
|
+
* @param {?Object<string, string>} metadata User defined
|
|
7815
|
+
* call metadata
|
|
7816
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiInputsAddJobResponse)}
|
|
7817
|
+
* callback The callback function(error, response)
|
|
7818
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiInputsAddJobResponse>|undefined}
|
|
7819
|
+
* The XHR Node Readable Stream
|
|
7820
|
+
*/
|
|
7821
|
+
proto.clarifai.api.V2Client.prototype.listInputsAddJobs =
|
|
7822
|
+
function (request, metadata, callback) {
|
|
7823
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
7824
|
+
'/clarifai.api.V2/ListInputsAddJobs', request, metadata || {}, methodDescriptor_V2_ListInputsAddJobs, callback);
|
|
7825
|
+
};
|
|
7826
|
+
/**
|
|
7827
|
+
* @param {!proto.clarifai.api.ListInputsAddJobsRequest} request The
|
|
7828
|
+
* request proto
|
|
7829
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
7830
|
+
* call metadata
|
|
7831
|
+
* @return {!Promise<!proto.clarifai.api.MultiInputsAddJobResponse>}
|
|
7832
|
+
* Promise that resolves to the response
|
|
7833
|
+
*/
|
|
7834
|
+
proto.clarifai.api.V2PromiseClient.prototype.listInputsAddJobs =
|
|
7835
|
+
function (request, metadata) {
|
|
7836
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
7837
|
+
'/clarifai.api.V2/ListInputsAddJobs', request, metadata || {}, methodDescriptor_V2_ListInputsAddJobs);
|
|
7838
|
+
};
|
|
7839
|
+
/**
|
|
7840
|
+
* @const
|
|
7841
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
7842
|
+
* !proto.clarifai.api.GetInputsAddJobRequest,
|
|
7843
|
+
* !proto.clarifai.api.SingleInputsAddJobResponse>}
|
|
7844
|
+
*/
|
|
7845
|
+
const methodDescriptor_V2_GetInputsAddJob = new grpc.web.MethodDescriptor('/clarifai.api.V2/GetInputsAddJob', grpc.web.MethodType.UNARY, proto.clarifai.api.GetInputsAddJobRequest, proto.clarifai.api.SingleInputsAddJobResponse,
|
|
7846
|
+
/**
|
|
7847
|
+
* @param {!proto.clarifai.api.GetInputsAddJobRequest} request
|
|
7848
|
+
* @return {!Uint8Array}
|
|
7849
|
+
*/
|
|
7850
|
+
function (request) {
|
|
7851
|
+
return request.serializeBinary();
|
|
7852
|
+
}, proto.clarifai.api.SingleInputsAddJobResponse.deserializeBinary);
|
|
7853
|
+
/**
|
|
7854
|
+
* @param {!proto.clarifai.api.GetInputsAddJobRequest} request The
|
|
7855
|
+
* request proto
|
|
7856
|
+
* @param {?Object<string, string>} metadata User defined
|
|
7857
|
+
* call metadata
|
|
7858
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.SingleInputsAddJobResponse)}
|
|
7859
|
+
* callback The callback function(error, response)
|
|
7860
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.SingleInputsAddJobResponse>|undefined}
|
|
7861
|
+
* The XHR Node Readable Stream
|
|
7862
|
+
*/
|
|
7863
|
+
proto.clarifai.api.V2Client.prototype.getInputsAddJob =
|
|
7864
|
+
function (request, metadata, callback) {
|
|
7865
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
7866
|
+
'/clarifai.api.V2/GetInputsAddJob', request, metadata || {}, methodDescriptor_V2_GetInputsAddJob, callback);
|
|
7867
|
+
};
|
|
7868
|
+
/**
|
|
7869
|
+
* @param {!proto.clarifai.api.GetInputsAddJobRequest} request The
|
|
7870
|
+
* request proto
|
|
7871
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
7872
|
+
* call metadata
|
|
7873
|
+
* @return {!Promise<!proto.clarifai.api.SingleInputsAddJobResponse>}
|
|
7874
|
+
* Promise that resolves to the response
|
|
7875
|
+
*/
|
|
7876
|
+
proto.clarifai.api.V2PromiseClient.prototype.getInputsAddJob =
|
|
7877
|
+
function (request, metadata) {
|
|
7878
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
7879
|
+
'/clarifai.api.V2/GetInputsAddJob', request, metadata || {}, methodDescriptor_V2_GetInputsAddJob);
|
|
7880
|
+
};
|
|
7881
|
+
/**
|
|
7882
|
+
* @const
|
|
7883
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
7884
|
+
* !proto.clarifai.api.PostUploadsRequest,
|
|
7885
|
+
* !proto.clarifai.api.MultiUploadResponse>}
|
|
7886
|
+
*/
|
|
7887
|
+
const methodDescriptor_V2_PostUploads = new grpc.web.MethodDescriptor('/clarifai.api.V2/PostUploads', grpc.web.MethodType.UNARY, proto.clarifai.api.PostUploadsRequest, proto.clarifai.api.MultiUploadResponse,
|
|
7888
|
+
/**
|
|
7889
|
+
* @param {!proto.clarifai.api.PostUploadsRequest} request
|
|
7890
|
+
* @return {!Uint8Array}
|
|
7891
|
+
*/
|
|
7892
|
+
function (request) {
|
|
7893
|
+
return request.serializeBinary();
|
|
7894
|
+
}, proto.clarifai.api.MultiUploadResponse.deserializeBinary);
|
|
7895
|
+
/**
|
|
7896
|
+
* @param {!proto.clarifai.api.PostUploadsRequest} request The
|
|
7897
|
+
* request proto
|
|
7898
|
+
* @param {?Object<string, string>} metadata User defined
|
|
7899
|
+
* call metadata
|
|
7900
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiUploadResponse)}
|
|
7901
|
+
* callback The callback function(error, response)
|
|
7902
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiUploadResponse>|undefined}
|
|
7903
|
+
* The XHR Node Readable Stream
|
|
7904
|
+
*/
|
|
7905
|
+
proto.clarifai.api.V2Client.prototype.postUploads =
|
|
7906
|
+
function (request, metadata, callback) {
|
|
7907
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
7908
|
+
'/clarifai.api.V2/PostUploads', request, metadata || {}, methodDescriptor_V2_PostUploads, callback);
|
|
7909
|
+
};
|
|
7910
|
+
/**
|
|
7911
|
+
* @param {!proto.clarifai.api.PostUploadsRequest} request The
|
|
7912
|
+
* request proto
|
|
7913
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
7914
|
+
* call metadata
|
|
7915
|
+
* @return {!Promise<!proto.clarifai.api.MultiUploadResponse>}
|
|
7916
|
+
* Promise that resolves to the response
|
|
7917
|
+
*/
|
|
7918
|
+
proto.clarifai.api.V2PromiseClient.prototype.postUploads =
|
|
7919
|
+
function (request, metadata) {
|
|
7920
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
7921
|
+
'/clarifai.api.V2/PostUploads', request, metadata || {}, methodDescriptor_V2_PostUploads);
|
|
7922
|
+
};
|
|
7923
|
+
/**
|
|
7924
|
+
* @const
|
|
7925
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
7926
|
+
* !proto.clarifai.api.PutUploadContentPartsRequest,
|
|
7927
|
+
* !proto.clarifai.api.SingleUploadResponse>}
|
|
7928
|
+
*/
|
|
7929
|
+
const methodDescriptor_V2_PutUploadContentParts = new grpc.web.MethodDescriptor('/clarifai.api.V2/PutUploadContentParts', grpc.web.MethodType.UNARY, proto.clarifai.api.PutUploadContentPartsRequest, proto.clarifai.api.SingleUploadResponse,
|
|
7930
|
+
/**
|
|
7931
|
+
* @param {!proto.clarifai.api.PutUploadContentPartsRequest} request
|
|
7932
|
+
* @return {!Uint8Array}
|
|
7933
|
+
*/
|
|
7934
|
+
function (request) {
|
|
7935
|
+
return request.serializeBinary();
|
|
7936
|
+
}, proto.clarifai.api.SingleUploadResponse.deserializeBinary);
|
|
7937
|
+
/**
|
|
7938
|
+
* @param {!proto.clarifai.api.PutUploadContentPartsRequest} request The
|
|
7939
|
+
* request proto
|
|
7940
|
+
* @param {?Object<string, string>} metadata User defined
|
|
7941
|
+
* call metadata
|
|
7942
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.SingleUploadResponse)}
|
|
7943
|
+
* callback The callback function(error, response)
|
|
7944
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.SingleUploadResponse>|undefined}
|
|
7945
|
+
* The XHR Node Readable Stream
|
|
7946
|
+
*/
|
|
7947
|
+
proto.clarifai.api.V2Client.prototype.putUploadContentParts =
|
|
7948
|
+
function (request, metadata, callback) {
|
|
7949
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
7950
|
+
'/clarifai.api.V2/PutUploadContentParts', request, metadata || {}, methodDescriptor_V2_PutUploadContentParts, callback);
|
|
7951
|
+
};
|
|
7952
|
+
/**
|
|
7953
|
+
* @param {!proto.clarifai.api.PutUploadContentPartsRequest} request The
|
|
7954
|
+
* request proto
|
|
7955
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
7956
|
+
* call metadata
|
|
7957
|
+
* @return {!Promise<!proto.clarifai.api.SingleUploadResponse>}
|
|
7958
|
+
* Promise that resolves to the response
|
|
7959
|
+
*/
|
|
7960
|
+
proto.clarifai.api.V2PromiseClient.prototype.putUploadContentParts =
|
|
7961
|
+
function (request, metadata) {
|
|
7962
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
7963
|
+
'/clarifai.api.V2/PutUploadContentParts', request, metadata || {}, methodDescriptor_V2_PutUploadContentParts);
|
|
7964
|
+
};
|
|
7965
|
+
/**
|
|
7966
|
+
* @const
|
|
7967
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
7968
|
+
* !proto.clarifai.api.GetUploadRequest,
|
|
7969
|
+
* !proto.clarifai.api.SingleUploadResponse>}
|
|
7970
|
+
*/
|
|
7971
|
+
const methodDescriptor_V2_GetUpload = new grpc.web.MethodDescriptor('/clarifai.api.V2/GetUpload', grpc.web.MethodType.UNARY, proto.clarifai.api.GetUploadRequest, proto.clarifai.api.SingleUploadResponse,
|
|
7972
|
+
/**
|
|
7973
|
+
* @param {!proto.clarifai.api.GetUploadRequest} request
|
|
7974
|
+
* @return {!Uint8Array}
|
|
7975
|
+
*/
|
|
7976
|
+
function (request) {
|
|
7977
|
+
return request.serializeBinary();
|
|
7978
|
+
}, proto.clarifai.api.SingleUploadResponse.deserializeBinary);
|
|
7979
|
+
/**
|
|
7980
|
+
* @param {!proto.clarifai.api.GetUploadRequest} request The
|
|
7981
|
+
* request proto
|
|
7982
|
+
* @param {?Object<string, string>} metadata User defined
|
|
7983
|
+
* call metadata
|
|
7984
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.SingleUploadResponse)}
|
|
7985
|
+
* callback The callback function(error, response)
|
|
7986
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.SingleUploadResponse>|undefined}
|
|
7987
|
+
* The XHR Node Readable Stream
|
|
7988
|
+
*/
|
|
7989
|
+
proto.clarifai.api.V2Client.prototype.getUpload =
|
|
7990
|
+
function (request, metadata, callback) {
|
|
7991
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
7992
|
+
'/clarifai.api.V2/GetUpload', request, metadata || {}, methodDescriptor_V2_GetUpload, callback);
|
|
7993
|
+
};
|
|
7994
|
+
/**
|
|
7995
|
+
* @param {!proto.clarifai.api.GetUploadRequest} request The
|
|
7996
|
+
* request proto
|
|
7997
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
7998
|
+
* call metadata
|
|
7999
|
+
* @return {!Promise<!proto.clarifai.api.SingleUploadResponse>}
|
|
8000
|
+
* Promise that resolves to the response
|
|
8001
|
+
*/
|
|
8002
|
+
proto.clarifai.api.V2PromiseClient.prototype.getUpload =
|
|
8003
|
+
function (request, metadata) {
|
|
8004
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
8005
|
+
'/clarifai.api.V2/GetUpload', request, metadata || {}, methodDescriptor_V2_GetUpload);
|
|
8006
|
+
};
|
|
8007
|
+
/**
|
|
8008
|
+
* @const
|
|
8009
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
8010
|
+
* !proto.clarifai.api.ListUploadsRequest,
|
|
8011
|
+
* !proto.clarifai.api.MultiUploadResponse>}
|
|
8012
|
+
*/
|
|
8013
|
+
const methodDescriptor_V2_ListUploads = new grpc.web.MethodDescriptor('/clarifai.api.V2/ListUploads', grpc.web.MethodType.UNARY, proto.clarifai.api.ListUploadsRequest, proto.clarifai.api.MultiUploadResponse,
|
|
8014
|
+
/**
|
|
8015
|
+
* @param {!proto.clarifai.api.ListUploadsRequest} request
|
|
8016
|
+
* @return {!Uint8Array}
|
|
8017
|
+
*/
|
|
8018
|
+
function (request) {
|
|
8019
|
+
return request.serializeBinary();
|
|
8020
|
+
}, proto.clarifai.api.MultiUploadResponse.deserializeBinary);
|
|
8021
|
+
/**
|
|
8022
|
+
* @param {!proto.clarifai.api.ListUploadsRequest} request The
|
|
8023
|
+
* request proto
|
|
8024
|
+
* @param {?Object<string, string>} metadata User defined
|
|
8025
|
+
* call metadata
|
|
8026
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiUploadResponse)}
|
|
8027
|
+
* callback The callback function(error, response)
|
|
8028
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiUploadResponse>|undefined}
|
|
8029
|
+
* The XHR Node Readable Stream
|
|
8030
|
+
*/
|
|
8031
|
+
proto.clarifai.api.V2Client.prototype.listUploads =
|
|
8032
|
+
function (request, metadata, callback) {
|
|
8033
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
8034
|
+
'/clarifai.api.V2/ListUploads', request, metadata || {}, methodDescriptor_V2_ListUploads, callback);
|
|
8035
|
+
};
|
|
8036
|
+
/**
|
|
8037
|
+
* @param {!proto.clarifai.api.ListUploadsRequest} request The
|
|
8038
|
+
* request proto
|
|
8039
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
8040
|
+
* call metadata
|
|
8041
|
+
* @return {!Promise<!proto.clarifai.api.MultiUploadResponse>}
|
|
8042
|
+
* Promise that resolves to the response
|
|
8043
|
+
*/
|
|
8044
|
+
proto.clarifai.api.V2PromiseClient.prototype.listUploads =
|
|
8045
|
+
function (request, metadata) {
|
|
8046
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
8047
|
+
'/clarifai.api.V2/ListUploads', request, metadata || {}, methodDescriptor_V2_ListUploads);
|
|
8048
|
+
};
|
|
8049
|
+
/**
|
|
8050
|
+
* @const
|
|
8051
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
8052
|
+
* !proto.clarifai.api.DeleteUploadsRequest,
|
|
8053
|
+
* !proto.clarifai.api.status.BaseResponse>}
|
|
8054
|
+
*/
|
|
8055
|
+
const methodDescriptor_V2_DeleteUploads = new grpc.web.MethodDescriptor('/clarifai.api.V2/DeleteUploads', grpc.web.MethodType.UNARY, proto.clarifai.api.DeleteUploadsRequest, proto_clarifai_api_status_status_pb.BaseResponse,
|
|
8056
|
+
/**
|
|
8057
|
+
* @param {!proto.clarifai.api.DeleteUploadsRequest} request
|
|
8058
|
+
* @return {!Uint8Array}
|
|
8059
|
+
*/
|
|
8060
|
+
function (request) {
|
|
8061
|
+
return request.serializeBinary();
|
|
8062
|
+
}, proto_clarifai_api_status_status_pb.BaseResponse.deserializeBinary);
|
|
8063
|
+
/**
|
|
8064
|
+
* @param {!proto.clarifai.api.DeleteUploadsRequest} request The
|
|
8065
|
+
* request proto
|
|
8066
|
+
* @param {?Object<string, string>} metadata User defined
|
|
8067
|
+
* call metadata
|
|
8068
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.status.BaseResponse)}
|
|
8069
|
+
* callback The callback function(error, response)
|
|
8070
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.status.BaseResponse>|undefined}
|
|
8071
|
+
* The XHR Node Readable Stream
|
|
8072
|
+
*/
|
|
8073
|
+
proto.clarifai.api.V2Client.prototype.deleteUploads =
|
|
8074
|
+
function (request, metadata, callback) {
|
|
8075
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
8076
|
+
'/clarifai.api.V2/DeleteUploads', request, metadata || {}, methodDescriptor_V2_DeleteUploads, callback);
|
|
8077
|
+
};
|
|
8078
|
+
/**
|
|
8079
|
+
* @param {!proto.clarifai.api.DeleteUploadsRequest} request The
|
|
8080
|
+
* request proto
|
|
8081
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
8082
|
+
* call metadata
|
|
8083
|
+
* @return {!Promise<!proto.clarifai.api.status.BaseResponse>}
|
|
8084
|
+
* Promise that resolves to the response
|
|
8085
|
+
*/
|
|
8086
|
+
proto.clarifai.api.V2PromiseClient.prototype.deleteUploads =
|
|
8087
|
+
function (request, metadata) {
|
|
8088
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
8089
|
+
'/clarifai.api.V2/DeleteUploads', request, metadata || {}, methodDescriptor_V2_DeleteUploads);
|
|
8090
|
+
};
|
|
6663
8091
|
module.exports = proto.clarifai.api;
|