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
|
@@ -457,6 +457,67 @@ proto.clarifai.api.V2PromiseClient.prototype.listConcepts =
|
|
|
457
457
|
};
|
|
458
458
|
|
|
459
459
|
|
|
460
|
+
/**
|
|
461
|
+
* @const
|
|
462
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
463
|
+
* !proto.clarifai.api.ListModelConceptsRequest,
|
|
464
|
+
* !proto.clarifai.api.MultiConceptResponse>}
|
|
465
|
+
*/
|
|
466
|
+
const methodDescriptor_V2_ListModelConcepts = new grpc.web.MethodDescriptor(
|
|
467
|
+
'/clarifai.api.V2/ListModelConcepts',
|
|
468
|
+
grpc.web.MethodType.UNARY,
|
|
469
|
+
proto.clarifai.api.ListModelConceptsRequest,
|
|
470
|
+
proto.clarifai.api.MultiConceptResponse,
|
|
471
|
+
/**
|
|
472
|
+
* @param {!proto.clarifai.api.ListModelConceptsRequest} request
|
|
473
|
+
* @return {!Uint8Array}
|
|
474
|
+
*/
|
|
475
|
+
function(request) {
|
|
476
|
+
return request.serializeBinary();
|
|
477
|
+
},
|
|
478
|
+
proto.clarifai.api.MultiConceptResponse.deserializeBinary
|
|
479
|
+
);
|
|
480
|
+
|
|
481
|
+
|
|
482
|
+
/**
|
|
483
|
+
* @param {!proto.clarifai.api.ListModelConceptsRequest} request The
|
|
484
|
+
* request proto
|
|
485
|
+
* @param {?Object<string, string>} metadata User defined
|
|
486
|
+
* call metadata
|
|
487
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiConceptResponse)}
|
|
488
|
+
* callback The callback function(error, response)
|
|
489
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiConceptResponse>|undefined}
|
|
490
|
+
* The XHR Node Readable Stream
|
|
491
|
+
*/
|
|
492
|
+
proto.clarifai.api.V2Client.prototype.listModelConcepts =
|
|
493
|
+
function(request, metadata, callback) {
|
|
494
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
495
|
+
'/clarifai.api.V2/ListModelConcepts',
|
|
496
|
+
request,
|
|
497
|
+
metadata || {},
|
|
498
|
+
methodDescriptor_V2_ListModelConcepts,
|
|
499
|
+
callback);
|
|
500
|
+
};
|
|
501
|
+
|
|
502
|
+
|
|
503
|
+
/**
|
|
504
|
+
* @param {!proto.clarifai.api.ListModelConceptsRequest} request The
|
|
505
|
+
* request proto
|
|
506
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
507
|
+
* call metadata
|
|
508
|
+
* @return {!Promise<!proto.clarifai.api.MultiConceptResponse>}
|
|
509
|
+
* Promise that resolves to the response
|
|
510
|
+
*/
|
|
511
|
+
proto.clarifai.api.V2PromiseClient.prototype.listModelConcepts =
|
|
512
|
+
function(request, metadata) {
|
|
513
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
514
|
+
'/clarifai.api.V2/ListModelConcepts',
|
|
515
|
+
request,
|
|
516
|
+
metadata || {},
|
|
517
|
+
methodDescriptor_V2_ListModelConcepts);
|
|
518
|
+
};
|
|
519
|
+
|
|
520
|
+
|
|
460
521
|
/**
|
|
461
522
|
* @const
|
|
462
523
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -2592,6 +2653,67 @@ proto.clarifai.api.V2PromiseClient.prototype.patchDatasets =
|
|
|
2592
2653
|
};
|
|
2593
2654
|
|
|
2594
2655
|
|
|
2656
|
+
/**
|
|
2657
|
+
* @const
|
|
2658
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
2659
|
+
* !proto.clarifai.api.PatchDatasetIdsRequest,
|
|
2660
|
+
* !proto.clarifai.api.MultiDatasetResponse>}
|
|
2661
|
+
*/
|
|
2662
|
+
const methodDescriptor_V2_PatchDatasetIds = new grpc.web.MethodDescriptor(
|
|
2663
|
+
'/clarifai.api.V2/PatchDatasetIds',
|
|
2664
|
+
grpc.web.MethodType.UNARY,
|
|
2665
|
+
proto.clarifai.api.PatchDatasetIdsRequest,
|
|
2666
|
+
proto.clarifai.api.MultiDatasetResponse,
|
|
2667
|
+
/**
|
|
2668
|
+
* @param {!proto.clarifai.api.PatchDatasetIdsRequest} request
|
|
2669
|
+
* @return {!Uint8Array}
|
|
2670
|
+
*/
|
|
2671
|
+
function(request) {
|
|
2672
|
+
return request.serializeBinary();
|
|
2673
|
+
},
|
|
2674
|
+
proto.clarifai.api.MultiDatasetResponse.deserializeBinary
|
|
2675
|
+
);
|
|
2676
|
+
|
|
2677
|
+
|
|
2678
|
+
/**
|
|
2679
|
+
* @param {!proto.clarifai.api.PatchDatasetIdsRequest} request The
|
|
2680
|
+
* request proto
|
|
2681
|
+
* @param {?Object<string, string>} metadata User defined
|
|
2682
|
+
* call metadata
|
|
2683
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiDatasetResponse)}
|
|
2684
|
+
* callback The callback function(error, response)
|
|
2685
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiDatasetResponse>|undefined}
|
|
2686
|
+
* The XHR Node Readable Stream
|
|
2687
|
+
*/
|
|
2688
|
+
proto.clarifai.api.V2Client.prototype.patchDatasetIds =
|
|
2689
|
+
function(request, metadata, callback) {
|
|
2690
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
2691
|
+
'/clarifai.api.V2/PatchDatasetIds',
|
|
2692
|
+
request,
|
|
2693
|
+
metadata || {},
|
|
2694
|
+
methodDescriptor_V2_PatchDatasetIds,
|
|
2695
|
+
callback);
|
|
2696
|
+
};
|
|
2697
|
+
|
|
2698
|
+
|
|
2699
|
+
/**
|
|
2700
|
+
* @param {!proto.clarifai.api.PatchDatasetIdsRequest} request The
|
|
2701
|
+
* request proto
|
|
2702
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
2703
|
+
* call metadata
|
|
2704
|
+
* @return {!Promise<!proto.clarifai.api.MultiDatasetResponse>}
|
|
2705
|
+
* Promise that resolves to the response
|
|
2706
|
+
*/
|
|
2707
|
+
proto.clarifai.api.V2PromiseClient.prototype.patchDatasetIds =
|
|
2708
|
+
function(request, metadata) {
|
|
2709
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
2710
|
+
'/clarifai.api.V2/PatchDatasetIds',
|
|
2711
|
+
request,
|
|
2712
|
+
metadata || {},
|
|
2713
|
+
methodDescriptor_V2_PatchDatasetIds);
|
|
2714
|
+
};
|
|
2715
|
+
|
|
2716
|
+
|
|
2595
2717
|
/**
|
|
2596
2718
|
* @const
|
|
2597
2719
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -3263,6 +3385,67 @@ proto.clarifai.api.V2PromiseClient.prototype.deleteDatasetVersions =
|
|
|
3263
3385
|
};
|
|
3264
3386
|
|
|
3265
3387
|
|
|
3388
|
+
/**
|
|
3389
|
+
* @const
|
|
3390
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
3391
|
+
* !proto.clarifai.api.PutDatasetVersionExportsRequest,
|
|
3392
|
+
* !proto.clarifai.api.MultiDatasetVersionExportResponse>}
|
|
3393
|
+
*/
|
|
3394
|
+
const methodDescriptor_V2_PutDatasetVersionExports = new grpc.web.MethodDescriptor(
|
|
3395
|
+
'/clarifai.api.V2/PutDatasetVersionExports',
|
|
3396
|
+
grpc.web.MethodType.UNARY,
|
|
3397
|
+
proto.clarifai.api.PutDatasetVersionExportsRequest,
|
|
3398
|
+
proto.clarifai.api.MultiDatasetVersionExportResponse,
|
|
3399
|
+
/**
|
|
3400
|
+
* @param {!proto.clarifai.api.PutDatasetVersionExportsRequest} request
|
|
3401
|
+
* @return {!Uint8Array}
|
|
3402
|
+
*/
|
|
3403
|
+
function(request) {
|
|
3404
|
+
return request.serializeBinary();
|
|
3405
|
+
},
|
|
3406
|
+
proto.clarifai.api.MultiDatasetVersionExportResponse.deserializeBinary
|
|
3407
|
+
);
|
|
3408
|
+
|
|
3409
|
+
|
|
3410
|
+
/**
|
|
3411
|
+
* @param {!proto.clarifai.api.PutDatasetVersionExportsRequest} request The
|
|
3412
|
+
* request proto
|
|
3413
|
+
* @param {?Object<string, string>} metadata User defined
|
|
3414
|
+
* call metadata
|
|
3415
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiDatasetVersionExportResponse)}
|
|
3416
|
+
* callback The callback function(error, response)
|
|
3417
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiDatasetVersionExportResponse>|undefined}
|
|
3418
|
+
* The XHR Node Readable Stream
|
|
3419
|
+
*/
|
|
3420
|
+
proto.clarifai.api.V2Client.prototype.putDatasetVersionExports =
|
|
3421
|
+
function(request, metadata, callback) {
|
|
3422
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
3423
|
+
'/clarifai.api.V2/PutDatasetVersionExports',
|
|
3424
|
+
request,
|
|
3425
|
+
metadata || {},
|
|
3426
|
+
methodDescriptor_V2_PutDatasetVersionExports,
|
|
3427
|
+
callback);
|
|
3428
|
+
};
|
|
3429
|
+
|
|
3430
|
+
|
|
3431
|
+
/**
|
|
3432
|
+
* @param {!proto.clarifai.api.PutDatasetVersionExportsRequest} request The
|
|
3433
|
+
* request proto
|
|
3434
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
3435
|
+
* call metadata
|
|
3436
|
+
* @return {!Promise<!proto.clarifai.api.MultiDatasetVersionExportResponse>}
|
|
3437
|
+
* Promise that resolves to the response
|
|
3438
|
+
*/
|
|
3439
|
+
proto.clarifai.api.V2PromiseClient.prototype.putDatasetVersionExports =
|
|
3440
|
+
function(request, metadata) {
|
|
3441
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
3442
|
+
'/clarifai.api.V2/PutDatasetVersionExports',
|
|
3443
|
+
request,
|
|
3444
|
+
metadata || {},
|
|
3445
|
+
methodDescriptor_V2_PutDatasetVersionExports);
|
|
3446
|
+
};
|
|
3447
|
+
|
|
3448
|
+
|
|
3266
3449
|
/**
|
|
3267
3450
|
* @const
|
|
3268
3451
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -3995,6 +4178,67 @@ proto.clarifai.api.V2PromiseClient.prototype.deleteModels =
|
|
|
3995
4178
|
};
|
|
3996
4179
|
|
|
3997
4180
|
|
|
4181
|
+
/**
|
|
4182
|
+
* @const
|
|
4183
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
4184
|
+
* !proto.clarifai.api.PatchModelCheckConsentsRequest,
|
|
4185
|
+
* !proto.clarifai.api.MultiModelCheckConsentResponse>}
|
|
4186
|
+
*/
|
|
4187
|
+
const methodDescriptor_V2_PatchModelCheckConsents = new grpc.web.MethodDescriptor(
|
|
4188
|
+
'/clarifai.api.V2/PatchModelCheckConsents',
|
|
4189
|
+
grpc.web.MethodType.UNARY,
|
|
4190
|
+
proto.clarifai.api.PatchModelCheckConsentsRequest,
|
|
4191
|
+
proto.clarifai.api.MultiModelCheckConsentResponse,
|
|
4192
|
+
/**
|
|
4193
|
+
* @param {!proto.clarifai.api.PatchModelCheckConsentsRequest} request
|
|
4194
|
+
* @return {!Uint8Array}
|
|
4195
|
+
*/
|
|
4196
|
+
function(request) {
|
|
4197
|
+
return request.serializeBinary();
|
|
4198
|
+
},
|
|
4199
|
+
proto.clarifai.api.MultiModelCheckConsentResponse.deserializeBinary
|
|
4200
|
+
);
|
|
4201
|
+
|
|
4202
|
+
|
|
4203
|
+
/**
|
|
4204
|
+
* @param {!proto.clarifai.api.PatchModelCheckConsentsRequest} 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.MultiModelCheckConsentResponse)}
|
|
4209
|
+
* callback The callback function(error, response)
|
|
4210
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiModelCheckConsentResponse>|undefined}
|
|
4211
|
+
* The XHR Node Readable Stream
|
|
4212
|
+
*/
|
|
4213
|
+
proto.clarifai.api.V2Client.prototype.patchModelCheckConsents =
|
|
4214
|
+
function(request, metadata, callback) {
|
|
4215
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
4216
|
+
'/clarifai.api.V2/PatchModelCheckConsents',
|
|
4217
|
+
request,
|
|
4218
|
+
metadata || {},
|
|
4219
|
+
methodDescriptor_V2_PatchModelCheckConsents,
|
|
4220
|
+
callback);
|
|
4221
|
+
};
|
|
4222
|
+
|
|
4223
|
+
|
|
4224
|
+
/**
|
|
4225
|
+
* @param {!proto.clarifai.api.PatchModelCheckConsentsRequest} request The
|
|
4226
|
+
* request proto
|
|
4227
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
4228
|
+
* call metadata
|
|
4229
|
+
* @return {!Promise<!proto.clarifai.api.MultiModelCheckConsentResponse>}
|
|
4230
|
+
* Promise that resolves to the response
|
|
4231
|
+
*/
|
|
4232
|
+
proto.clarifai.api.V2PromiseClient.prototype.patchModelCheckConsents =
|
|
4233
|
+
function(request, metadata) {
|
|
4234
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
4235
|
+
'/clarifai.api.V2/PatchModelCheckConsents',
|
|
4236
|
+
request,
|
|
4237
|
+
metadata || {},
|
|
4238
|
+
methodDescriptor_V2_PatchModelCheckConsents);
|
|
4239
|
+
};
|
|
4240
|
+
|
|
4241
|
+
|
|
3998
4242
|
/**
|
|
3999
4243
|
* @const
|
|
4000
4244
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -5337,6 +5581,67 @@ proto.clarifai.api.V2PromiseClient.prototype.patchWorkflows =
|
|
|
5337
5581
|
};
|
|
5338
5582
|
|
|
5339
5583
|
|
|
5584
|
+
/**
|
|
5585
|
+
* @const
|
|
5586
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
5587
|
+
* !proto.clarifai.api.PatchWorkflowIdsRequest,
|
|
5588
|
+
* !proto.clarifai.api.MultiWorkflowResponse>}
|
|
5589
|
+
*/
|
|
5590
|
+
const methodDescriptor_V2_PatchWorkflowIds = new grpc.web.MethodDescriptor(
|
|
5591
|
+
'/clarifai.api.V2/PatchWorkflowIds',
|
|
5592
|
+
grpc.web.MethodType.UNARY,
|
|
5593
|
+
proto.clarifai.api.PatchWorkflowIdsRequest,
|
|
5594
|
+
proto.clarifai.api.MultiWorkflowResponse,
|
|
5595
|
+
/**
|
|
5596
|
+
* @param {!proto.clarifai.api.PatchWorkflowIdsRequest} request
|
|
5597
|
+
* @return {!Uint8Array}
|
|
5598
|
+
*/
|
|
5599
|
+
function(request) {
|
|
5600
|
+
return request.serializeBinary();
|
|
5601
|
+
},
|
|
5602
|
+
proto.clarifai.api.MultiWorkflowResponse.deserializeBinary
|
|
5603
|
+
);
|
|
5604
|
+
|
|
5605
|
+
|
|
5606
|
+
/**
|
|
5607
|
+
* @param {!proto.clarifai.api.PatchWorkflowIdsRequest} request The
|
|
5608
|
+
* request proto
|
|
5609
|
+
* @param {?Object<string, string>} metadata User defined
|
|
5610
|
+
* call metadata
|
|
5611
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiWorkflowResponse)}
|
|
5612
|
+
* callback The callback function(error, response)
|
|
5613
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiWorkflowResponse>|undefined}
|
|
5614
|
+
* The XHR Node Readable Stream
|
|
5615
|
+
*/
|
|
5616
|
+
proto.clarifai.api.V2Client.prototype.patchWorkflowIds =
|
|
5617
|
+
function(request, metadata, callback) {
|
|
5618
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
5619
|
+
'/clarifai.api.V2/PatchWorkflowIds',
|
|
5620
|
+
request,
|
|
5621
|
+
metadata || {},
|
|
5622
|
+
methodDescriptor_V2_PatchWorkflowIds,
|
|
5623
|
+
callback);
|
|
5624
|
+
};
|
|
5625
|
+
|
|
5626
|
+
|
|
5627
|
+
/**
|
|
5628
|
+
* @param {!proto.clarifai.api.PatchWorkflowIdsRequest} request The
|
|
5629
|
+
* request proto
|
|
5630
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
5631
|
+
* call metadata
|
|
5632
|
+
* @return {!Promise<!proto.clarifai.api.MultiWorkflowResponse>}
|
|
5633
|
+
* Promise that resolves to the response
|
|
5634
|
+
*/
|
|
5635
|
+
proto.clarifai.api.V2PromiseClient.prototype.patchWorkflowIds =
|
|
5636
|
+
function(request, metadata) {
|
|
5637
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
5638
|
+
'/clarifai.api.V2/PatchWorkflowIds',
|
|
5639
|
+
request,
|
|
5640
|
+
metadata || {},
|
|
5641
|
+
methodDescriptor_V2_PatchWorkflowIds);
|
|
5642
|
+
};
|
|
5643
|
+
|
|
5644
|
+
|
|
5340
5645
|
/**
|
|
5341
5646
|
* @const
|
|
5342
5647
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -6743,16 +7048,16 @@ proto.clarifai.api.V2PromiseClient.prototype.patchApps =
|
|
|
6743
7048
|
/**
|
|
6744
7049
|
* @const
|
|
6745
7050
|
* @type {!grpc.web.MethodDescriptor<
|
|
6746
|
-
* !proto.clarifai.api.
|
|
7051
|
+
* !proto.clarifai.api.PatchAppsIdsRequest,
|
|
6747
7052
|
* !proto.clarifai.api.MultiAppResponse>}
|
|
6748
7053
|
*/
|
|
6749
|
-
const
|
|
6750
|
-
'/clarifai.api.V2/
|
|
7054
|
+
const methodDescriptor_V2_PatchAppsIds = new grpc.web.MethodDescriptor(
|
|
7055
|
+
'/clarifai.api.V2/PatchAppsIds',
|
|
6751
7056
|
grpc.web.MethodType.UNARY,
|
|
6752
|
-
proto.clarifai.api.
|
|
7057
|
+
proto.clarifai.api.PatchAppsIdsRequest,
|
|
6753
7058
|
proto.clarifai.api.MultiAppResponse,
|
|
6754
7059
|
/**
|
|
6755
|
-
* @param {!proto.clarifai.api.
|
|
7060
|
+
* @param {!proto.clarifai.api.PatchAppsIdsRequest} request
|
|
6756
7061
|
* @return {!Uint8Array}
|
|
6757
7062
|
*/
|
|
6758
7063
|
function(request) {
|
|
@@ -6763,7 +7068,7 @@ const methodDescriptor_V2_PostAppsSearches = new grpc.web.MethodDescriptor(
|
|
|
6763
7068
|
|
|
6764
7069
|
|
|
6765
7070
|
/**
|
|
6766
|
-
* @param {!proto.clarifai.api.
|
|
7071
|
+
* @param {!proto.clarifai.api.PatchAppsIdsRequest} request The
|
|
6767
7072
|
* request proto
|
|
6768
7073
|
* @param {?Object<string, string>} metadata User defined
|
|
6769
7074
|
* call metadata
|
|
@@ -6772,65 +7077,187 @@ const methodDescriptor_V2_PostAppsSearches = new grpc.web.MethodDescriptor(
|
|
|
6772
7077
|
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiAppResponse>|undefined}
|
|
6773
7078
|
* The XHR Node Readable Stream
|
|
6774
7079
|
*/
|
|
6775
|
-
proto.clarifai.api.V2Client.prototype.
|
|
7080
|
+
proto.clarifai.api.V2Client.prototype.patchAppsIds =
|
|
6776
7081
|
function(request, metadata, callback) {
|
|
6777
7082
|
return this.client_.rpcCall(this.hostname_ +
|
|
6778
|
-
'/clarifai.api.V2/
|
|
7083
|
+
'/clarifai.api.V2/PatchAppsIds',
|
|
6779
7084
|
request,
|
|
6780
7085
|
metadata || {},
|
|
6781
|
-
|
|
7086
|
+
methodDescriptor_V2_PatchAppsIds,
|
|
6782
7087
|
callback);
|
|
6783
7088
|
};
|
|
6784
7089
|
|
|
6785
7090
|
|
|
6786
7091
|
/**
|
|
6787
|
-
* @param {!proto.clarifai.api.
|
|
7092
|
+
* @param {!proto.clarifai.api.PatchAppsIdsRequest} request The
|
|
6788
7093
|
* request proto
|
|
6789
7094
|
* @param {?Object<string, string>=} metadata User defined
|
|
6790
7095
|
* call metadata
|
|
6791
7096
|
* @return {!Promise<!proto.clarifai.api.MultiAppResponse>}
|
|
6792
7097
|
* Promise that resolves to the response
|
|
6793
7098
|
*/
|
|
6794
|
-
proto.clarifai.api.V2PromiseClient.prototype.
|
|
7099
|
+
proto.clarifai.api.V2PromiseClient.prototype.patchAppsIds =
|
|
6795
7100
|
function(request, metadata) {
|
|
6796
7101
|
return this.client_.unaryCall(this.hostname_ +
|
|
6797
|
-
'/clarifai.api.V2/
|
|
7102
|
+
'/clarifai.api.V2/PatchAppsIds',
|
|
6798
7103
|
request,
|
|
6799
7104
|
metadata || {},
|
|
6800
|
-
|
|
7105
|
+
methodDescriptor_V2_PatchAppsIds);
|
|
6801
7106
|
};
|
|
6802
7107
|
|
|
6803
7108
|
|
|
6804
7109
|
/**
|
|
6805
7110
|
* @const
|
|
6806
7111
|
* @type {!grpc.web.MethodDescriptor<
|
|
6807
|
-
* !proto.clarifai.api.
|
|
6808
|
-
* !proto.clarifai.api.
|
|
7112
|
+
* !proto.clarifai.api.PatchAppRequest,
|
|
7113
|
+
* !proto.clarifai.api.SingleAppResponse>}
|
|
6809
7114
|
*/
|
|
6810
|
-
const
|
|
6811
|
-
'/clarifai.api.V2/
|
|
7115
|
+
const methodDescriptor_V2_PatchApp = new grpc.web.MethodDescriptor(
|
|
7116
|
+
'/clarifai.api.V2/PatchApp',
|
|
6812
7117
|
grpc.web.MethodType.UNARY,
|
|
6813
|
-
proto.clarifai.api.
|
|
6814
|
-
proto.clarifai.api.
|
|
7118
|
+
proto.clarifai.api.PatchAppRequest,
|
|
7119
|
+
proto.clarifai.api.SingleAppResponse,
|
|
6815
7120
|
/**
|
|
6816
|
-
* @param {!proto.clarifai.api.
|
|
7121
|
+
* @param {!proto.clarifai.api.PatchAppRequest} request
|
|
6817
7122
|
* @return {!Uint8Array}
|
|
6818
7123
|
*/
|
|
6819
7124
|
function(request) {
|
|
6820
7125
|
return request.serializeBinary();
|
|
6821
7126
|
},
|
|
6822
|
-
proto.clarifai.api.
|
|
7127
|
+
proto.clarifai.api.SingleAppResponse.deserializeBinary
|
|
6823
7128
|
);
|
|
6824
7129
|
|
|
6825
7130
|
|
|
6826
7131
|
/**
|
|
6827
|
-
* @param {!proto.clarifai.api.
|
|
7132
|
+
* @param {!proto.clarifai.api.PatchAppRequest} request The
|
|
6828
7133
|
* request proto
|
|
6829
7134
|
* @param {?Object<string, string>} metadata User defined
|
|
6830
7135
|
* call metadata
|
|
6831
|
-
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.
|
|
7136
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.SingleAppResponse)}
|
|
6832
7137
|
* callback The callback function(error, response)
|
|
6833
|
-
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.
|
|
7138
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.SingleAppResponse>|undefined}
|
|
7139
|
+
* The XHR Node Readable Stream
|
|
7140
|
+
*/
|
|
7141
|
+
proto.clarifai.api.V2Client.prototype.patchApp =
|
|
7142
|
+
function(request, metadata, callback) {
|
|
7143
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
7144
|
+
'/clarifai.api.V2/PatchApp',
|
|
7145
|
+
request,
|
|
7146
|
+
metadata || {},
|
|
7147
|
+
methodDescriptor_V2_PatchApp,
|
|
7148
|
+
callback);
|
|
7149
|
+
};
|
|
7150
|
+
|
|
7151
|
+
|
|
7152
|
+
/**
|
|
7153
|
+
* @param {!proto.clarifai.api.PatchAppRequest} request The
|
|
7154
|
+
* request proto
|
|
7155
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
7156
|
+
* call metadata
|
|
7157
|
+
* @return {!Promise<!proto.clarifai.api.SingleAppResponse>}
|
|
7158
|
+
* Promise that resolves to the response
|
|
7159
|
+
*/
|
|
7160
|
+
proto.clarifai.api.V2PromiseClient.prototype.patchApp =
|
|
7161
|
+
function(request, metadata) {
|
|
7162
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
7163
|
+
'/clarifai.api.V2/PatchApp',
|
|
7164
|
+
request,
|
|
7165
|
+
metadata || {},
|
|
7166
|
+
methodDescriptor_V2_PatchApp);
|
|
7167
|
+
};
|
|
7168
|
+
|
|
7169
|
+
|
|
7170
|
+
/**
|
|
7171
|
+
* @const
|
|
7172
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
7173
|
+
* !proto.clarifai.api.PostAppsSearchesRequest,
|
|
7174
|
+
* !proto.clarifai.api.MultiAppResponse>}
|
|
7175
|
+
*/
|
|
7176
|
+
const methodDescriptor_V2_PostAppsSearches = new grpc.web.MethodDescriptor(
|
|
7177
|
+
'/clarifai.api.V2/PostAppsSearches',
|
|
7178
|
+
grpc.web.MethodType.UNARY,
|
|
7179
|
+
proto.clarifai.api.PostAppsSearchesRequest,
|
|
7180
|
+
proto.clarifai.api.MultiAppResponse,
|
|
7181
|
+
/**
|
|
7182
|
+
* @param {!proto.clarifai.api.PostAppsSearchesRequest} request
|
|
7183
|
+
* @return {!Uint8Array}
|
|
7184
|
+
*/
|
|
7185
|
+
function(request) {
|
|
7186
|
+
return request.serializeBinary();
|
|
7187
|
+
},
|
|
7188
|
+
proto.clarifai.api.MultiAppResponse.deserializeBinary
|
|
7189
|
+
);
|
|
7190
|
+
|
|
7191
|
+
|
|
7192
|
+
/**
|
|
7193
|
+
* @param {!proto.clarifai.api.PostAppsSearchesRequest} request The
|
|
7194
|
+
* request proto
|
|
7195
|
+
* @param {?Object<string, string>} metadata User defined
|
|
7196
|
+
* call metadata
|
|
7197
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiAppResponse)}
|
|
7198
|
+
* callback The callback function(error, response)
|
|
7199
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiAppResponse>|undefined}
|
|
7200
|
+
* The XHR Node Readable Stream
|
|
7201
|
+
*/
|
|
7202
|
+
proto.clarifai.api.V2Client.prototype.postAppsSearches =
|
|
7203
|
+
function(request, metadata, callback) {
|
|
7204
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
7205
|
+
'/clarifai.api.V2/PostAppsSearches',
|
|
7206
|
+
request,
|
|
7207
|
+
metadata || {},
|
|
7208
|
+
methodDescriptor_V2_PostAppsSearches,
|
|
7209
|
+
callback);
|
|
7210
|
+
};
|
|
7211
|
+
|
|
7212
|
+
|
|
7213
|
+
/**
|
|
7214
|
+
* @param {!proto.clarifai.api.PostAppsSearchesRequest} request The
|
|
7215
|
+
* request proto
|
|
7216
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
7217
|
+
* call metadata
|
|
7218
|
+
* @return {!Promise<!proto.clarifai.api.MultiAppResponse>}
|
|
7219
|
+
* Promise that resolves to the response
|
|
7220
|
+
*/
|
|
7221
|
+
proto.clarifai.api.V2PromiseClient.prototype.postAppsSearches =
|
|
7222
|
+
function(request, metadata) {
|
|
7223
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
7224
|
+
'/clarifai.api.V2/PostAppsSearches',
|
|
7225
|
+
request,
|
|
7226
|
+
metadata || {},
|
|
7227
|
+
methodDescriptor_V2_PostAppsSearches);
|
|
7228
|
+
};
|
|
7229
|
+
|
|
7230
|
+
|
|
7231
|
+
/**
|
|
7232
|
+
* @const
|
|
7233
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
7234
|
+
* !proto.clarifai.api.PostValidatePasswordRequest,
|
|
7235
|
+
* !proto.clarifai.api.SinglePasswordValidationResponse>}
|
|
7236
|
+
*/
|
|
7237
|
+
const methodDescriptor_V2_PostValidatePassword = new grpc.web.MethodDescriptor(
|
|
7238
|
+
'/clarifai.api.V2/PostValidatePassword',
|
|
7239
|
+
grpc.web.MethodType.UNARY,
|
|
7240
|
+
proto.clarifai.api.PostValidatePasswordRequest,
|
|
7241
|
+
proto.clarifai.api.SinglePasswordValidationResponse,
|
|
7242
|
+
/**
|
|
7243
|
+
* @param {!proto.clarifai.api.PostValidatePasswordRequest} request
|
|
7244
|
+
* @return {!Uint8Array}
|
|
7245
|
+
*/
|
|
7246
|
+
function(request) {
|
|
7247
|
+
return request.serializeBinary();
|
|
7248
|
+
},
|
|
7249
|
+
proto.clarifai.api.SinglePasswordValidationResponse.deserializeBinary
|
|
7250
|
+
);
|
|
7251
|
+
|
|
7252
|
+
|
|
7253
|
+
/**
|
|
7254
|
+
* @param {!proto.clarifai.api.PostValidatePasswordRequest} request The
|
|
7255
|
+
* request proto
|
|
7256
|
+
* @param {?Object<string, string>} metadata User defined
|
|
7257
|
+
* call metadata
|
|
7258
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.SinglePasswordValidationResponse)}
|
|
7259
|
+
* callback The callback function(error, response)
|
|
7260
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.SinglePasswordValidationResponse>|undefined}
|
|
6834
7261
|
* The XHR Node Readable Stream
|
|
6835
7262
|
*/
|
|
6836
7263
|
proto.clarifai.api.V2Client.prototype.postValidatePassword =
|
|
@@ -9668,5 +10095,1652 @@ proto.clarifai.api.V2PromiseClient.prototype.listTrendingMetricsViews =
|
|
|
9668
10095
|
};
|
|
9669
10096
|
|
|
9670
10097
|
|
|
10098
|
+
/**
|
|
10099
|
+
* @const
|
|
10100
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
10101
|
+
* !proto.clarifai.api.GetModuleRequest,
|
|
10102
|
+
* !proto.clarifai.api.SingleModuleResponse>}
|
|
10103
|
+
*/
|
|
10104
|
+
const methodDescriptor_V2_GetModule = new grpc.web.MethodDescriptor(
|
|
10105
|
+
'/clarifai.api.V2/GetModule',
|
|
10106
|
+
grpc.web.MethodType.UNARY,
|
|
10107
|
+
proto.clarifai.api.GetModuleRequest,
|
|
10108
|
+
proto.clarifai.api.SingleModuleResponse,
|
|
10109
|
+
/**
|
|
10110
|
+
* @param {!proto.clarifai.api.GetModuleRequest} request
|
|
10111
|
+
* @return {!Uint8Array}
|
|
10112
|
+
*/
|
|
10113
|
+
function(request) {
|
|
10114
|
+
return request.serializeBinary();
|
|
10115
|
+
},
|
|
10116
|
+
proto.clarifai.api.SingleModuleResponse.deserializeBinary
|
|
10117
|
+
);
|
|
10118
|
+
|
|
10119
|
+
|
|
10120
|
+
/**
|
|
10121
|
+
* @param {!proto.clarifai.api.GetModuleRequest} request The
|
|
10122
|
+
* request proto
|
|
10123
|
+
* @param {?Object<string, string>} metadata User defined
|
|
10124
|
+
* call metadata
|
|
10125
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.SingleModuleResponse)}
|
|
10126
|
+
* callback The callback function(error, response)
|
|
10127
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.SingleModuleResponse>|undefined}
|
|
10128
|
+
* The XHR Node Readable Stream
|
|
10129
|
+
*/
|
|
10130
|
+
proto.clarifai.api.V2Client.prototype.getModule =
|
|
10131
|
+
function(request, metadata, callback) {
|
|
10132
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
10133
|
+
'/clarifai.api.V2/GetModule',
|
|
10134
|
+
request,
|
|
10135
|
+
metadata || {},
|
|
10136
|
+
methodDescriptor_V2_GetModule,
|
|
10137
|
+
callback);
|
|
10138
|
+
};
|
|
10139
|
+
|
|
10140
|
+
|
|
10141
|
+
/**
|
|
10142
|
+
* @param {!proto.clarifai.api.GetModuleRequest} request The
|
|
10143
|
+
* request proto
|
|
10144
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
10145
|
+
* call metadata
|
|
10146
|
+
* @return {!Promise<!proto.clarifai.api.SingleModuleResponse>}
|
|
10147
|
+
* Promise that resolves to the response
|
|
10148
|
+
*/
|
|
10149
|
+
proto.clarifai.api.V2PromiseClient.prototype.getModule =
|
|
10150
|
+
function(request, metadata) {
|
|
10151
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
10152
|
+
'/clarifai.api.V2/GetModule',
|
|
10153
|
+
request,
|
|
10154
|
+
metadata || {},
|
|
10155
|
+
methodDescriptor_V2_GetModule);
|
|
10156
|
+
};
|
|
10157
|
+
|
|
10158
|
+
|
|
10159
|
+
/**
|
|
10160
|
+
* @const
|
|
10161
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
10162
|
+
* !proto.clarifai.api.ListModulesRequest,
|
|
10163
|
+
* !proto.clarifai.api.MultiModuleResponse>}
|
|
10164
|
+
*/
|
|
10165
|
+
const methodDescriptor_V2_ListModules = new grpc.web.MethodDescriptor(
|
|
10166
|
+
'/clarifai.api.V2/ListModules',
|
|
10167
|
+
grpc.web.MethodType.UNARY,
|
|
10168
|
+
proto.clarifai.api.ListModulesRequest,
|
|
10169
|
+
proto.clarifai.api.MultiModuleResponse,
|
|
10170
|
+
/**
|
|
10171
|
+
* @param {!proto.clarifai.api.ListModulesRequest} request
|
|
10172
|
+
* @return {!Uint8Array}
|
|
10173
|
+
*/
|
|
10174
|
+
function(request) {
|
|
10175
|
+
return request.serializeBinary();
|
|
10176
|
+
},
|
|
10177
|
+
proto.clarifai.api.MultiModuleResponse.deserializeBinary
|
|
10178
|
+
);
|
|
10179
|
+
|
|
10180
|
+
|
|
10181
|
+
/**
|
|
10182
|
+
* @param {!proto.clarifai.api.ListModulesRequest} request The
|
|
10183
|
+
* request proto
|
|
10184
|
+
* @param {?Object<string, string>} metadata User defined
|
|
10185
|
+
* call metadata
|
|
10186
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiModuleResponse)}
|
|
10187
|
+
* callback The callback function(error, response)
|
|
10188
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiModuleResponse>|undefined}
|
|
10189
|
+
* The XHR Node Readable Stream
|
|
10190
|
+
*/
|
|
10191
|
+
proto.clarifai.api.V2Client.prototype.listModules =
|
|
10192
|
+
function(request, metadata, callback) {
|
|
10193
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
10194
|
+
'/clarifai.api.V2/ListModules',
|
|
10195
|
+
request,
|
|
10196
|
+
metadata || {},
|
|
10197
|
+
methodDescriptor_V2_ListModules,
|
|
10198
|
+
callback);
|
|
10199
|
+
};
|
|
10200
|
+
|
|
10201
|
+
|
|
10202
|
+
/**
|
|
10203
|
+
* @param {!proto.clarifai.api.ListModulesRequest} request The
|
|
10204
|
+
* request proto
|
|
10205
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
10206
|
+
* call metadata
|
|
10207
|
+
* @return {!Promise<!proto.clarifai.api.MultiModuleResponse>}
|
|
10208
|
+
* Promise that resolves to the response
|
|
10209
|
+
*/
|
|
10210
|
+
proto.clarifai.api.V2PromiseClient.prototype.listModules =
|
|
10211
|
+
function(request, metadata) {
|
|
10212
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
10213
|
+
'/clarifai.api.V2/ListModules',
|
|
10214
|
+
request,
|
|
10215
|
+
metadata || {},
|
|
10216
|
+
methodDescriptor_V2_ListModules);
|
|
10217
|
+
};
|
|
10218
|
+
|
|
10219
|
+
|
|
10220
|
+
/**
|
|
10221
|
+
* @const
|
|
10222
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
10223
|
+
* !proto.clarifai.api.PostModulesRequest,
|
|
10224
|
+
* !proto.clarifai.api.MultiModuleResponse>}
|
|
10225
|
+
*/
|
|
10226
|
+
const methodDescriptor_V2_PostModules = new grpc.web.MethodDescriptor(
|
|
10227
|
+
'/clarifai.api.V2/PostModules',
|
|
10228
|
+
grpc.web.MethodType.UNARY,
|
|
10229
|
+
proto.clarifai.api.PostModulesRequest,
|
|
10230
|
+
proto.clarifai.api.MultiModuleResponse,
|
|
10231
|
+
/**
|
|
10232
|
+
* @param {!proto.clarifai.api.PostModulesRequest} request
|
|
10233
|
+
* @return {!Uint8Array}
|
|
10234
|
+
*/
|
|
10235
|
+
function(request) {
|
|
10236
|
+
return request.serializeBinary();
|
|
10237
|
+
},
|
|
10238
|
+
proto.clarifai.api.MultiModuleResponse.deserializeBinary
|
|
10239
|
+
);
|
|
10240
|
+
|
|
10241
|
+
|
|
10242
|
+
/**
|
|
10243
|
+
* @param {!proto.clarifai.api.PostModulesRequest} request The
|
|
10244
|
+
* request proto
|
|
10245
|
+
* @param {?Object<string, string>} metadata User defined
|
|
10246
|
+
* call metadata
|
|
10247
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiModuleResponse)}
|
|
10248
|
+
* callback The callback function(error, response)
|
|
10249
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiModuleResponse>|undefined}
|
|
10250
|
+
* The XHR Node Readable Stream
|
|
10251
|
+
*/
|
|
10252
|
+
proto.clarifai.api.V2Client.prototype.postModules =
|
|
10253
|
+
function(request, metadata, callback) {
|
|
10254
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
10255
|
+
'/clarifai.api.V2/PostModules',
|
|
10256
|
+
request,
|
|
10257
|
+
metadata || {},
|
|
10258
|
+
methodDescriptor_V2_PostModules,
|
|
10259
|
+
callback);
|
|
10260
|
+
};
|
|
10261
|
+
|
|
10262
|
+
|
|
10263
|
+
/**
|
|
10264
|
+
* @param {!proto.clarifai.api.PostModulesRequest} request The
|
|
10265
|
+
* request proto
|
|
10266
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
10267
|
+
* call metadata
|
|
10268
|
+
* @return {!Promise<!proto.clarifai.api.MultiModuleResponse>}
|
|
10269
|
+
* Promise that resolves to the response
|
|
10270
|
+
*/
|
|
10271
|
+
proto.clarifai.api.V2PromiseClient.prototype.postModules =
|
|
10272
|
+
function(request, metadata) {
|
|
10273
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
10274
|
+
'/clarifai.api.V2/PostModules',
|
|
10275
|
+
request,
|
|
10276
|
+
metadata || {},
|
|
10277
|
+
methodDescriptor_V2_PostModules);
|
|
10278
|
+
};
|
|
10279
|
+
|
|
10280
|
+
|
|
10281
|
+
/**
|
|
10282
|
+
* @const
|
|
10283
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
10284
|
+
* !proto.clarifai.api.PatchModulesRequest,
|
|
10285
|
+
* !proto.clarifai.api.MultiModuleResponse>}
|
|
10286
|
+
*/
|
|
10287
|
+
const methodDescriptor_V2_PatchModules = new grpc.web.MethodDescriptor(
|
|
10288
|
+
'/clarifai.api.V2/PatchModules',
|
|
10289
|
+
grpc.web.MethodType.UNARY,
|
|
10290
|
+
proto.clarifai.api.PatchModulesRequest,
|
|
10291
|
+
proto.clarifai.api.MultiModuleResponse,
|
|
10292
|
+
/**
|
|
10293
|
+
* @param {!proto.clarifai.api.PatchModulesRequest} request
|
|
10294
|
+
* @return {!Uint8Array}
|
|
10295
|
+
*/
|
|
10296
|
+
function(request) {
|
|
10297
|
+
return request.serializeBinary();
|
|
10298
|
+
},
|
|
10299
|
+
proto.clarifai.api.MultiModuleResponse.deserializeBinary
|
|
10300
|
+
);
|
|
10301
|
+
|
|
10302
|
+
|
|
10303
|
+
/**
|
|
10304
|
+
* @param {!proto.clarifai.api.PatchModulesRequest} request The
|
|
10305
|
+
* request proto
|
|
10306
|
+
* @param {?Object<string, string>} metadata User defined
|
|
10307
|
+
* call metadata
|
|
10308
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiModuleResponse)}
|
|
10309
|
+
* callback The callback function(error, response)
|
|
10310
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiModuleResponse>|undefined}
|
|
10311
|
+
* The XHR Node Readable Stream
|
|
10312
|
+
*/
|
|
10313
|
+
proto.clarifai.api.V2Client.prototype.patchModules =
|
|
10314
|
+
function(request, metadata, callback) {
|
|
10315
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
10316
|
+
'/clarifai.api.V2/PatchModules',
|
|
10317
|
+
request,
|
|
10318
|
+
metadata || {},
|
|
10319
|
+
methodDescriptor_V2_PatchModules,
|
|
10320
|
+
callback);
|
|
10321
|
+
};
|
|
10322
|
+
|
|
10323
|
+
|
|
10324
|
+
/**
|
|
10325
|
+
* @param {!proto.clarifai.api.PatchModulesRequest} request The
|
|
10326
|
+
* request proto
|
|
10327
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
10328
|
+
* call metadata
|
|
10329
|
+
* @return {!Promise<!proto.clarifai.api.MultiModuleResponse>}
|
|
10330
|
+
* Promise that resolves to the response
|
|
10331
|
+
*/
|
|
10332
|
+
proto.clarifai.api.V2PromiseClient.prototype.patchModules =
|
|
10333
|
+
function(request, metadata) {
|
|
10334
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
10335
|
+
'/clarifai.api.V2/PatchModules',
|
|
10336
|
+
request,
|
|
10337
|
+
metadata || {},
|
|
10338
|
+
methodDescriptor_V2_PatchModules);
|
|
10339
|
+
};
|
|
10340
|
+
|
|
10341
|
+
|
|
10342
|
+
/**
|
|
10343
|
+
* @const
|
|
10344
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
10345
|
+
* !proto.clarifai.api.DeleteModulesRequest,
|
|
10346
|
+
* !proto.clarifai.api.status.BaseResponse>}
|
|
10347
|
+
*/
|
|
10348
|
+
const methodDescriptor_V2_DeleteModules = new grpc.web.MethodDescriptor(
|
|
10349
|
+
'/clarifai.api.V2/DeleteModules',
|
|
10350
|
+
grpc.web.MethodType.UNARY,
|
|
10351
|
+
proto.clarifai.api.DeleteModulesRequest,
|
|
10352
|
+
proto_clarifai_api_status_status_pb.BaseResponse,
|
|
10353
|
+
/**
|
|
10354
|
+
* @param {!proto.clarifai.api.DeleteModulesRequest} request
|
|
10355
|
+
* @return {!Uint8Array}
|
|
10356
|
+
*/
|
|
10357
|
+
function(request) {
|
|
10358
|
+
return request.serializeBinary();
|
|
10359
|
+
},
|
|
10360
|
+
proto_clarifai_api_status_status_pb.BaseResponse.deserializeBinary
|
|
10361
|
+
);
|
|
10362
|
+
|
|
10363
|
+
|
|
10364
|
+
/**
|
|
10365
|
+
* @param {!proto.clarifai.api.DeleteModulesRequest} request The
|
|
10366
|
+
* request proto
|
|
10367
|
+
* @param {?Object<string, string>} metadata User defined
|
|
10368
|
+
* call metadata
|
|
10369
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.status.BaseResponse)}
|
|
10370
|
+
* callback The callback function(error, response)
|
|
10371
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.status.BaseResponse>|undefined}
|
|
10372
|
+
* The XHR Node Readable Stream
|
|
10373
|
+
*/
|
|
10374
|
+
proto.clarifai.api.V2Client.prototype.deleteModules =
|
|
10375
|
+
function(request, metadata, callback) {
|
|
10376
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
10377
|
+
'/clarifai.api.V2/DeleteModules',
|
|
10378
|
+
request,
|
|
10379
|
+
metadata || {},
|
|
10380
|
+
methodDescriptor_V2_DeleteModules,
|
|
10381
|
+
callback);
|
|
10382
|
+
};
|
|
10383
|
+
|
|
10384
|
+
|
|
10385
|
+
/**
|
|
10386
|
+
* @param {!proto.clarifai.api.DeleteModulesRequest} request The
|
|
10387
|
+
* request proto
|
|
10388
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
10389
|
+
* call metadata
|
|
10390
|
+
* @return {!Promise<!proto.clarifai.api.status.BaseResponse>}
|
|
10391
|
+
* Promise that resolves to the response
|
|
10392
|
+
*/
|
|
10393
|
+
proto.clarifai.api.V2PromiseClient.prototype.deleteModules =
|
|
10394
|
+
function(request, metadata) {
|
|
10395
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
10396
|
+
'/clarifai.api.V2/DeleteModules',
|
|
10397
|
+
request,
|
|
10398
|
+
metadata || {},
|
|
10399
|
+
methodDescriptor_V2_DeleteModules);
|
|
10400
|
+
};
|
|
10401
|
+
|
|
10402
|
+
|
|
10403
|
+
/**
|
|
10404
|
+
* @const
|
|
10405
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
10406
|
+
* !proto.clarifai.api.GetModuleVersionRequest,
|
|
10407
|
+
* !proto.clarifai.api.SingleModuleVersionResponse>}
|
|
10408
|
+
*/
|
|
10409
|
+
const methodDescriptor_V2_GetModuleVersion = new grpc.web.MethodDescriptor(
|
|
10410
|
+
'/clarifai.api.V2/GetModuleVersion',
|
|
10411
|
+
grpc.web.MethodType.UNARY,
|
|
10412
|
+
proto.clarifai.api.GetModuleVersionRequest,
|
|
10413
|
+
proto.clarifai.api.SingleModuleVersionResponse,
|
|
10414
|
+
/**
|
|
10415
|
+
* @param {!proto.clarifai.api.GetModuleVersionRequest} request
|
|
10416
|
+
* @return {!Uint8Array}
|
|
10417
|
+
*/
|
|
10418
|
+
function(request) {
|
|
10419
|
+
return request.serializeBinary();
|
|
10420
|
+
},
|
|
10421
|
+
proto.clarifai.api.SingleModuleVersionResponse.deserializeBinary
|
|
10422
|
+
);
|
|
10423
|
+
|
|
10424
|
+
|
|
10425
|
+
/**
|
|
10426
|
+
* @param {!proto.clarifai.api.GetModuleVersionRequest} request The
|
|
10427
|
+
* request proto
|
|
10428
|
+
* @param {?Object<string, string>} metadata User defined
|
|
10429
|
+
* call metadata
|
|
10430
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.SingleModuleVersionResponse)}
|
|
10431
|
+
* callback The callback function(error, response)
|
|
10432
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.SingleModuleVersionResponse>|undefined}
|
|
10433
|
+
* The XHR Node Readable Stream
|
|
10434
|
+
*/
|
|
10435
|
+
proto.clarifai.api.V2Client.prototype.getModuleVersion =
|
|
10436
|
+
function(request, metadata, callback) {
|
|
10437
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
10438
|
+
'/clarifai.api.V2/GetModuleVersion',
|
|
10439
|
+
request,
|
|
10440
|
+
metadata || {},
|
|
10441
|
+
methodDescriptor_V2_GetModuleVersion,
|
|
10442
|
+
callback);
|
|
10443
|
+
};
|
|
10444
|
+
|
|
10445
|
+
|
|
10446
|
+
/**
|
|
10447
|
+
* @param {!proto.clarifai.api.GetModuleVersionRequest} request The
|
|
10448
|
+
* request proto
|
|
10449
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
10450
|
+
* call metadata
|
|
10451
|
+
* @return {!Promise<!proto.clarifai.api.SingleModuleVersionResponse>}
|
|
10452
|
+
* Promise that resolves to the response
|
|
10453
|
+
*/
|
|
10454
|
+
proto.clarifai.api.V2PromiseClient.prototype.getModuleVersion =
|
|
10455
|
+
function(request, metadata) {
|
|
10456
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
10457
|
+
'/clarifai.api.V2/GetModuleVersion',
|
|
10458
|
+
request,
|
|
10459
|
+
metadata || {},
|
|
10460
|
+
methodDescriptor_V2_GetModuleVersion);
|
|
10461
|
+
};
|
|
10462
|
+
|
|
10463
|
+
|
|
10464
|
+
/**
|
|
10465
|
+
* @const
|
|
10466
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
10467
|
+
* !proto.clarifai.api.ListModuleVersionsRequest,
|
|
10468
|
+
* !proto.clarifai.api.MultiModuleVersionResponse>}
|
|
10469
|
+
*/
|
|
10470
|
+
const methodDescriptor_V2_ListModuleVersions = new grpc.web.MethodDescriptor(
|
|
10471
|
+
'/clarifai.api.V2/ListModuleVersions',
|
|
10472
|
+
grpc.web.MethodType.UNARY,
|
|
10473
|
+
proto.clarifai.api.ListModuleVersionsRequest,
|
|
10474
|
+
proto.clarifai.api.MultiModuleVersionResponse,
|
|
10475
|
+
/**
|
|
10476
|
+
* @param {!proto.clarifai.api.ListModuleVersionsRequest} request
|
|
10477
|
+
* @return {!Uint8Array}
|
|
10478
|
+
*/
|
|
10479
|
+
function(request) {
|
|
10480
|
+
return request.serializeBinary();
|
|
10481
|
+
},
|
|
10482
|
+
proto.clarifai.api.MultiModuleVersionResponse.deserializeBinary
|
|
10483
|
+
);
|
|
10484
|
+
|
|
10485
|
+
|
|
10486
|
+
/**
|
|
10487
|
+
* @param {!proto.clarifai.api.ListModuleVersionsRequest} request The
|
|
10488
|
+
* request proto
|
|
10489
|
+
* @param {?Object<string, string>} metadata User defined
|
|
10490
|
+
* call metadata
|
|
10491
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiModuleVersionResponse)}
|
|
10492
|
+
* callback The callback function(error, response)
|
|
10493
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiModuleVersionResponse>|undefined}
|
|
10494
|
+
* The XHR Node Readable Stream
|
|
10495
|
+
*/
|
|
10496
|
+
proto.clarifai.api.V2Client.prototype.listModuleVersions =
|
|
10497
|
+
function(request, metadata, callback) {
|
|
10498
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
10499
|
+
'/clarifai.api.V2/ListModuleVersions',
|
|
10500
|
+
request,
|
|
10501
|
+
metadata || {},
|
|
10502
|
+
methodDescriptor_V2_ListModuleVersions,
|
|
10503
|
+
callback);
|
|
10504
|
+
};
|
|
10505
|
+
|
|
10506
|
+
|
|
10507
|
+
/**
|
|
10508
|
+
* @param {!proto.clarifai.api.ListModuleVersionsRequest} request The
|
|
10509
|
+
* request proto
|
|
10510
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
10511
|
+
* call metadata
|
|
10512
|
+
* @return {!Promise<!proto.clarifai.api.MultiModuleVersionResponse>}
|
|
10513
|
+
* Promise that resolves to the response
|
|
10514
|
+
*/
|
|
10515
|
+
proto.clarifai.api.V2PromiseClient.prototype.listModuleVersions =
|
|
10516
|
+
function(request, metadata) {
|
|
10517
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
10518
|
+
'/clarifai.api.V2/ListModuleVersions',
|
|
10519
|
+
request,
|
|
10520
|
+
metadata || {},
|
|
10521
|
+
methodDescriptor_V2_ListModuleVersions);
|
|
10522
|
+
};
|
|
10523
|
+
|
|
10524
|
+
|
|
10525
|
+
/**
|
|
10526
|
+
* @const
|
|
10527
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
10528
|
+
* !proto.clarifai.api.PostModuleVersionsRequest,
|
|
10529
|
+
* !proto.clarifai.api.MultiModuleVersionResponse>}
|
|
10530
|
+
*/
|
|
10531
|
+
const methodDescriptor_V2_PostModuleVersions = new grpc.web.MethodDescriptor(
|
|
10532
|
+
'/clarifai.api.V2/PostModuleVersions',
|
|
10533
|
+
grpc.web.MethodType.UNARY,
|
|
10534
|
+
proto.clarifai.api.PostModuleVersionsRequest,
|
|
10535
|
+
proto.clarifai.api.MultiModuleVersionResponse,
|
|
10536
|
+
/**
|
|
10537
|
+
* @param {!proto.clarifai.api.PostModuleVersionsRequest} request
|
|
10538
|
+
* @return {!Uint8Array}
|
|
10539
|
+
*/
|
|
10540
|
+
function(request) {
|
|
10541
|
+
return request.serializeBinary();
|
|
10542
|
+
},
|
|
10543
|
+
proto.clarifai.api.MultiModuleVersionResponse.deserializeBinary
|
|
10544
|
+
);
|
|
10545
|
+
|
|
10546
|
+
|
|
10547
|
+
/**
|
|
10548
|
+
* @param {!proto.clarifai.api.PostModuleVersionsRequest} request The
|
|
10549
|
+
* request proto
|
|
10550
|
+
* @param {?Object<string, string>} metadata User defined
|
|
10551
|
+
* call metadata
|
|
10552
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiModuleVersionResponse)}
|
|
10553
|
+
* callback The callback function(error, response)
|
|
10554
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiModuleVersionResponse>|undefined}
|
|
10555
|
+
* The XHR Node Readable Stream
|
|
10556
|
+
*/
|
|
10557
|
+
proto.clarifai.api.V2Client.prototype.postModuleVersions =
|
|
10558
|
+
function(request, metadata, callback) {
|
|
10559
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
10560
|
+
'/clarifai.api.V2/PostModuleVersions',
|
|
10561
|
+
request,
|
|
10562
|
+
metadata || {},
|
|
10563
|
+
methodDescriptor_V2_PostModuleVersions,
|
|
10564
|
+
callback);
|
|
10565
|
+
};
|
|
10566
|
+
|
|
10567
|
+
|
|
10568
|
+
/**
|
|
10569
|
+
* @param {!proto.clarifai.api.PostModuleVersionsRequest} request The
|
|
10570
|
+
* request proto
|
|
10571
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
10572
|
+
* call metadata
|
|
10573
|
+
* @return {!Promise<!proto.clarifai.api.MultiModuleVersionResponse>}
|
|
10574
|
+
* Promise that resolves to the response
|
|
10575
|
+
*/
|
|
10576
|
+
proto.clarifai.api.V2PromiseClient.prototype.postModuleVersions =
|
|
10577
|
+
function(request, metadata) {
|
|
10578
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
10579
|
+
'/clarifai.api.V2/PostModuleVersions',
|
|
10580
|
+
request,
|
|
10581
|
+
metadata || {},
|
|
10582
|
+
methodDescriptor_V2_PostModuleVersions);
|
|
10583
|
+
};
|
|
10584
|
+
|
|
10585
|
+
|
|
10586
|
+
/**
|
|
10587
|
+
* @const
|
|
10588
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
10589
|
+
* !proto.clarifai.api.DeleteModuleVersionsRequest,
|
|
10590
|
+
* !proto.clarifai.api.status.BaseResponse>}
|
|
10591
|
+
*/
|
|
10592
|
+
const methodDescriptor_V2_DeleteModuleVersions = new grpc.web.MethodDescriptor(
|
|
10593
|
+
'/clarifai.api.V2/DeleteModuleVersions',
|
|
10594
|
+
grpc.web.MethodType.UNARY,
|
|
10595
|
+
proto.clarifai.api.DeleteModuleVersionsRequest,
|
|
10596
|
+
proto_clarifai_api_status_status_pb.BaseResponse,
|
|
10597
|
+
/**
|
|
10598
|
+
* @param {!proto.clarifai.api.DeleteModuleVersionsRequest} request
|
|
10599
|
+
* @return {!Uint8Array}
|
|
10600
|
+
*/
|
|
10601
|
+
function(request) {
|
|
10602
|
+
return request.serializeBinary();
|
|
10603
|
+
},
|
|
10604
|
+
proto_clarifai_api_status_status_pb.BaseResponse.deserializeBinary
|
|
10605
|
+
);
|
|
10606
|
+
|
|
10607
|
+
|
|
10608
|
+
/**
|
|
10609
|
+
* @param {!proto.clarifai.api.DeleteModuleVersionsRequest} request The
|
|
10610
|
+
* request proto
|
|
10611
|
+
* @param {?Object<string, string>} metadata User defined
|
|
10612
|
+
* call metadata
|
|
10613
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.status.BaseResponse)}
|
|
10614
|
+
* callback The callback function(error, response)
|
|
10615
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.status.BaseResponse>|undefined}
|
|
10616
|
+
* The XHR Node Readable Stream
|
|
10617
|
+
*/
|
|
10618
|
+
proto.clarifai.api.V2Client.prototype.deleteModuleVersions =
|
|
10619
|
+
function(request, metadata, callback) {
|
|
10620
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
10621
|
+
'/clarifai.api.V2/DeleteModuleVersions',
|
|
10622
|
+
request,
|
|
10623
|
+
metadata || {},
|
|
10624
|
+
methodDescriptor_V2_DeleteModuleVersions,
|
|
10625
|
+
callback);
|
|
10626
|
+
};
|
|
10627
|
+
|
|
10628
|
+
|
|
10629
|
+
/**
|
|
10630
|
+
* @param {!proto.clarifai.api.DeleteModuleVersionsRequest} request The
|
|
10631
|
+
* request proto
|
|
10632
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
10633
|
+
* call metadata
|
|
10634
|
+
* @return {!Promise<!proto.clarifai.api.status.BaseResponse>}
|
|
10635
|
+
* Promise that resolves to the response
|
|
10636
|
+
*/
|
|
10637
|
+
proto.clarifai.api.V2PromiseClient.prototype.deleteModuleVersions =
|
|
10638
|
+
function(request, metadata) {
|
|
10639
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
10640
|
+
'/clarifai.api.V2/DeleteModuleVersions',
|
|
10641
|
+
request,
|
|
10642
|
+
metadata || {},
|
|
10643
|
+
methodDescriptor_V2_DeleteModuleVersions);
|
|
10644
|
+
};
|
|
10645
|
+
|
|
10646
|
+
|
|
10647
|
+
/**
|
|
10648
|
+
* @const
|
|
10649
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
10650
|
+
* !proto.clarifai.api.GetInstalledModuleVersionRequest,
|
|
10651
|
+
* !proto.clarifai.api.SingleInstalledModuleVersionResponse>}
|
|
10652
|
+
*/
|
|
10653
|
+
const methodDescriptor_V2_GetInstalledModuleVersion = new grpc.web.MethodDescriptor(
|
|
10654
|
+
'/clarifai.api.V2/GetInstalledModuleVersion',
|
|
10655
|
+
grpc.web.MethodType.UNARY,
|
|
10656
|
+
proto.clarifai.api.GetInstalledModuleVersionRequest,
|
|
10657
|
+
proto.clarifai.api.SingleInstalledModuleVersionResponse,
|
|
10658
|
+
/**
|
|
10659
|
+
* @param {!proto.clarifai.api.GetInstalledModuleVersionRequest} request
|
|
10660
|
+
* @return {!Uint8Array}
|
|
10661
|
+
*/
|
|
10662
|
+
function(request) {
|
|
10663
|
+
return request.serializeBinary();
|
|
10664
|
+
},
|
|
10665
|
+
proto.clarifai.api.SingleInstalledModuleVersionResponse.deserializeBinary
|
|
10666
|
+
);
|
|
10667
|
+
|
|
10668
|
+
|
|
10669
|
+
/**
|
|
10670
|
+
* @param {!proto.clarifai.api.GetInstalledModuleVersionRequest} request The
|
|
10671
|
+
* request proto
|
|
10672
|
+
* @param {?Object<string, string>} metadata User defined
|
|
10673
|
+
* call metadata
|
|
10674
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.SingleInstalledModuleVersionResponse)}
|
|
10675
|
+
* callback The callback function(error, response)
|
|
10676
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.SingleInstalledModuleVersionResponse>|undefined}
|
|
10677
|
+
* The XHR Node Readable Stream
|
|
10678
|
+
*/
|
|
10679
|
+
proto.clarifai.api.V2Client.prototype.getInstalledModuleVersion =
|
|
10680
|
+
function(request, metadata, callback) {
|
|
10681
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
10682
|
+
'/clarifai.api.V2/GetInstalledModuleVersion',
|
|
10683
|
+
request,
|
|
10684
|
+
metadata || {},
|
|
10685
|
+
methodDescriptor_V2_GetInstalledModuleVersion,
|
|
10686
|
+
callback);
|
|
10687
|
+
};
|
|
10688
|
+
|
|
10689
|
+
|
|
10690
|
+
/**
|
|
10691
|
+
* @param {!proto.clarifai.api.GetInstalledModuleVersionRequest} request The
|
|
10692
|
+
* request proto
|
|
10693
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
10694
|
+
* call metadata
|
|
10695
|
+
* @return {!Promise<!proto.clarifai.api.SingleInstalledModuleVersionResponse>}
|
|
10696
|
+
* Promise that resolves to the response
|
|
10697
|
+
*/
|
|
10698
|
+
proto.clarifai.api.V2PromiseClient.prototype.getInstalledModuleVersion =
|
|
10699
|
+
function(request, metadata) {
|
|
10700
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
10701
|
+
'/clarifai.api.V2/GetInstalledModuleVersion',
|
|
10702
|
+
request,
|
|
10703
|
+
metadata || {},
|
|
10704
|
+
methodDescriptor_V2_GetInstalledModuleVersion);
|
|
10705
|
+
};
|
|
10706
|
+
|
|
10707
|
+
|
|
10708
|
+
/**
|
|
10709
|
+
* @const
|
|
10710
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
10711
|
+
* !proto.clarifai.api.ListInstalledModuleVersionsRequest,
|
|
10712
|
+
* !proto.clarifai.api.MultiInstalledModuleVersionResponse>}
|
|
10713
|
+
*/
|
|
10714
|
+
const methodDescriptor_V2_ListInstalledModuleVersions = new grpc.web.MethodDescriptor(
|
|
10715
|
+
'/clarifai.api.V2/ListInstalledModuleVersions',
|
|
10716
|
+
grpc.web.MethodType.UNARY,
|
|
10717
|
+
proto.clarifai.api.ListInstalledModuleVersionsRequest,
|
|
10718
|
+
proto.clarifai.api.MultiInstalledModuleVersionResponse,
|
|
10719
|
+
/**
|
|
10720
|
+
* @param {!proto.clarifai.api.ListInstalledModuleVersionsRequest} request
|
|
10721
|
+
* @return {!Uint8Array}
|
|
10722
|
+
*/
|
|
10723
|
+
function(request) {
|
|
10724
|
+
return request.serializeBinary();
|
|
10725
|
+
},
|
|
10726
|
+
proto.clarifai.api.MultiInstalledModuleVersionResponse.deserializeBinary
|
|
10727
|
+
);
|
|
10728
|
+
|
|
10729
|
+
|
|
10730
|
+
/**
|
|
10731
|
+
* @param {!proto.clarifai.api.ListInstalledModuleVersionsRequest} request The
|
|
10732
|
+
* request proto
|
|
10733
|
+
* @param {?Object<string, string>} metadata User defined
|
|
10734
|
+
* call metadata
|
|
10735
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiInstalledModuleVersionResponse)}
|
|
10736
|
+
* callback The callback function(error, response)
|
|
10737
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiInstalledModuleVersionResponse>|undefined}
|
|
10738
|
+
* The XHR Node Readable Stream
|
|
10739
|
+
*/
|
|
10740
|
+
proto.clarifai.api.V2Client.prototype.listInstalledModuleVersions =
|
|
10741
|
+
function(request, metadata, callback) {
|
|
10742
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
10743
|
+
'/clarifai.api.V2/ListInstalledModuleVersions',
|
|
10744
|
+
request,
|
|
10745
|
+
metadata || {},
|
|
10746
|
+
methodDescriptor_V2_ListInstalledModuleVersions,
|
|
10747
|
+
callback);
|
|
10748
|
+
};
|
|
10749
|
+
|
|
10750
|
+
|
|
10751
|
+
/**
|
|
10752
|
+
* @param {!proto.clarifai.api.ListInstalledModuleVersionsRequest} request The
|
|
10753
|
+
* request proto
|
|
10754
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
10755
|
+
* call metadata
|
|
10756
|
+
* @return {!Promise<!proto.clarifai.api.MultiInstalledModuleVersionResponse>}
|
|
10757
|
+
* Promise that resolves to the response
|
|
10758
|
+
*/
|
|
10759
|
+
proto.clarifai.api.V2PromiseClient.prototype.listInstalledModuleVersions =
|
|
10760
|
+
function(request, metadata) {
|
|
10761
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
10762
|
+
'/clarifai.api.V2/ListInstalledModuleVersions',
|
|
10763
|
+
request,
|
|
10764
|
+
metadata || {},
|
|
10765
|
+
methodDescriptor_V2_ListInstalledModuleVersions);
|
|
10766
|
+
};
|
|
10767
|
+
|
|
10768
|
+
|
|
10769
|
+
/**
|
|
10770
|
+
* @const
|
|
10771
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
10772
|
+
* !proto.clarifai.api.PostInstalledModuleVersionsRequest,
|
|
10773
|
+
* !proto.clarifai.api.MultiInstalledModuleVersionResponse>}
|
|
10774
|
+
*/
|
|
10775
|
+
const methodDescriptor_V2_PostInstalledModuleVersions = new grpc.web.MethodDescriptor(
|
|
10776
|
+
'/clarifai.api.V2/PostInstalledModuleVersions',
|
|
10777
|
+
grpc.web.MethodType.UNARY,
|
|
10778
|
+
proto.clarifai.api.PostInstalledModuleVersionsRequest,
|
|
10779
|
+
proto.clarifai.api.MultiInstalledModuleVersionResponse,
|
|
10780
|
+
/**
|
|
10781
|
+
* @param {!proto.clarifai.api.PostInstalledModuleVersionsRequest} request
|
|
10782
|
+
* @return {!Uint8Array}
|
|
10783
|
+
*/
|
|
10784
|
+
function(request) {
|
|
10785
|
+
return request.serializeBinary();
|
|
10786
|
+
},
|
|
10787
|
+
proto.clarifai.api.MultiInstalledModuleVersionResponse.deserializeBinary
|
|
10788
|
+
);
|
|
10789
|
+
|
|
10790
|
+
|
|
10791
|
+
/**
|
|
10792
|
+
* @param {!proto.clarifai.api.PostInstalledModuleVersionsRequest} request The
|
|
10793
|
+
* request proto
|
|
10794
|
+
* @param {?Object<string, string>} metadata User defined
|
|
10795
|
+
* call metadata
|
|
10796
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiInstalledModuleVersionResponse)}
|
|
10797
|
+
* callback The callback function(error, response)
|
|
10798
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiInstalledModuleVersionResponse>|undefined}
|
|
10799
|
+
* The XHR Node Readable Stream
|
|
10800
|
+
*/
|
|
10801
|
+
proto.clarifai.api.V2Client.prototype.postInstalledModuleVersions =
|
|
10802
|
+
function(request, metadata, callback) {
|
|
10803
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
10804
|
+
'/clarifai.api.V2/PostInstalledModuleVersions',
|
|
10805
|
+
request,
|
|
10806
|
+
metadata || {},
|
|
10807
|
+
methodDescriptor_V2_PostInstalledModuleVersions,
|
|
10808
|
+
callback);
|
|
10809
|
+
};
|
|
10810
|
+
|
|
10811
|
+
|
|
10812
|
+
/**
|
|
10813
|
+
* @param {!proto.clarifai.api.PostInstalledModuleVersionsRequest} request The
|
|
10814
|
+
* request proto
|
|
10815
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
10816
|
+
* call metadata
|
|
10817
|
+
* @return {!Promise<!proto.clarifai.api.MultiInstalledModuleVersionResponse>}
|
|
10818
|
+
* Promise that resolves to the response
|
|
10819
|
+
*/
|
|
10820
|
+
proto.clarifai.api.V2PromiseClient.prototype.postInstalledModuleVersions =
|
|
10821
|
+
function(request, metadata) {
|
|
10822
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
10823
|
+
'/clarifai.api.V2/PostInstalledModuleVersions',
|
|
10824
|
+
request,
|
|
10825
|
+
metadata || {},
|
|
10826
|
+
methodDescriptor_V2_PostInstalledModuleVersions);
|
|
10827
|
+
};
|
|
10828
|
+
|
|
10829
|
+
|
|
10830
|
+
/**
|
|
10831
|
+
* @const
|
|
10832
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
10833
|
+
* !proto.clarifai.api.DeleteInstalledModuleVersionsRequest,
|
|
10834
|
+
* !proto.clarifai.api.status.BaseResponse>}
|
|
10835
|
+
*/
|
|
10836
|
+
const methodDescriptor_V2_DeleteInstalledModuleVersions = new grpc.web.MethodDescriptor(
|
|
10837
|
+
'/clarifai.api.V2/DeleteInstalledModuleVersions',
|
|
10838
|
+
grpc.web.MethodType.UNARY,
|
|
10839
|
+
proto.clarifai.api.DeleteInstalledModuleVersionsRequest,
|
|
10840
|
+
proto_clarifai_api_status_status_pb.BaseResponse,
|
|
10841
|
+
/**
|
|
10842
|
+
* @param {!proto.clarifai.api.DeleteInstalledModuleVersionsRequest} request
|
|
10843
|
+
* @return {!Uint8Array}
|
|
10844
|
+
*/
|
|
10845
|
+
function(request) {
|
|
10846
|
+
return request.serializeBinary();
|
|
10847
|
+
},
|
|
10848
|
+
proto_clarifai_api_status_status_pb.BaseResponse.deserializeBinary
|
|
10849
|
+
);
|
|
10850
|
+
|
|
10851
|
+
|
|
10852
|
+
/**
|
|
10853
|
+
* @param {!proto.clarifai.api.DeleteInstalledModuleVersionsRequest} request The
|
|
10854
|
+
* request proto
|
|
10855
|
+
* @param {?Object<string, string>} metadata User defined
|
|
10856
|
+
* call metadata
|
|
10857
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.status.BaseResponse)}
|
|
10858
|
+
* callback The callback function(error, response)
|
|
10859
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.status.BaseResponse>|undefined}
|
|
10860
|
+
* The XHR Node Readable Stream
|
|
10861
|
+
*/
|
|
10862
|
+
proto.clarifai.api.V2Client.prototype.deleteInstalledModuleVersions =
|
|
10863
|
+
function(request, metadata, callback) {
|
|
10864
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
10865
|
+
'/clarifai.api.V2/DeleteInstalledModuleVersions',
|
|
10866
|
+
request,
|
|
10867
|
+
metadata || {},
|
|
10868
|
+
methodDescriptor_V2_DeleteInstalledModuleVersions,
|
|
10869
|
+
callback);
|
|
10870
|
+
};
|
|
10871
|
+
|
|
10872
|
+
|
|
10873
|
+
/**
|
|
10874
|
+
* @param {!proto.clarifai.api.DeleteInstalledModuleVersionsRequest} request The
|
|
10875
|
+
* request proto
|
|
10876
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
10877
|
+
* call metadata
|
|
10878
|
+
* @return {!Promise<!proto.clarifai.api.status.BaseResponse>}
|
|
10879
|
+
* Promise that resolves to the response
|
|
10880
|
+
*/
|
|
10881
|
+
proto.clarifai.api.V2PromiseClient.prototype.deleteInstalledModuleVersions =
|
|
10882
|
+
function(request, metadata) {
|
|
10883
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
10884
|
+
'/clarifai.api.V2/DeleteInstalledModuleVersions',
|
|
10885
|
+
request,
|
|
10886
|
+
metadata || {},
|
|
10887
|
+
methodDescriptor_V2_DeleteInstalledModuleVersions);
|
|
10888
|
+
};
|
|
10889
|
+
|
|
10890
|
+
|
|
10891
|
+
/**
|
|
10892
|
+
* @const
|
|
10893
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
10894
|
+
* !proto.clarifai.api.PostInstalledModuleVersionsKeyRequest,
|
|
10895
|
+
* !proto.clarifai.api.SingleKeyResponse>}
|
|
10896
|
+
*/
|
|
10897
|
+
const methodDescriptor_V2_PostInstalledModuleVersionsKey = new grpc.web.MethodDescriptor(
|
|
10898
|
+
'/clarifai.api.V2/PostInstalledModuleVersionsKey',
|
|
10899
|
+
grpc.web.MethodType.UNARY,
|
|
10900
|
+
proto.clarifai.api.PostInstalledModuleVersionsKeyRequest,
|
|
10901
|
+
proto.clarifai.api.SingleKeyResponse,
|
|
10902
|
+
/**
|
|
10903
|
+
* @param {!proto.clarifai.api.PostInstalledModuleVersionsKeyRequest} request
|
|
10904
|
+
* @return {!Uint8Array}
|
|
10905
|
+
*/
|
|
10906
|
+
function(request) {
|
|
10907
|
+
return request.serializeBinary();
|
|
10908
|
+
},
|
|
10909
|
+
proto.clarifai.api.SingleKeyResponse.deserializeBinary
|
|
10910
|
+
);
|
|
10911
|
+
|
|
10912
|
+
|
|
10913
|
+
/**
|
|
10914
|
+
* @param {!proto.clarifai.api.PostInstalledModuleVersionsKeyRequest} request The
|
|
10915
|
+
* request proto
|
|
10916
|
+
* @param {?Object<string, string>} metadata User defined
|
|
10917
|
+
* call metadata
|
|
10918
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.SingleKeyResponse)}
|
|
10919
|
+
* callback The callback function(error, response)
|
|
10920
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.SingleKeyResponse>|undefined}
|
|
10921
|
+
* The XHR Node Readable Stream
|
|
10922
|
+
*/
|
|
10923
|
+
proto.clarifai.api.V2Client.prototype.postInstalledModuleVersionsKey =
|
|
10924
|
+
function(request, metadata, callback) {
|
|
10925
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
10926
|
+
'/clarifai.api.V2/PostInstalledModuleVersionsKey',
|
|
10927
|
+
request,
|
|
10928
|
+
metadata || {},
|
|
10929
|
+
methodDescriptor_V2_PostInstalledModuleVersionsKey,
|
|
10930
|
+
callback);
|
|
10931
|
+
};
|
|
10932
|
+
|
|
10933
|
+
|
|
10934
|
+
/**
|
|
10935
|
+
* @param {!proto.clarifai.api.PostInstalledModuleVersionsKeyRequest} request The
|
|
10936
|
+
* request proto
|
|
10937
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
10938
|
+
* call metadata
|
|
10939
|
+
* @return {!Promise<!proto.clarifai.api.SingleKeyResponse>}
|
|
10940
|
+
* Promise that resolves to the response
|
|
10941
|
+
*/
|
|
10942
|
+
proto.clarifai.api.V2PromiseClient.prototype.postInstalledModuleVersionsKey =
|
|
10943
|
+
function(request, metadata) {
|
|
10944
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
10945
|
+
'/clarifai.api.V2/PostInstalledModuleVersionsKey',
|
|
10946
|
+
request,
|
|
10947
|
+
metadata || {},
|
|
10948
|
+
methodDescriptor_V2_PostInstalledModuleVersionsKey);
|
|
10949
|
+
};
|
|
10950
|
+
|
|
10951
|
+
|
|
10952
|
+
/**
|
|
10953
|
+
* @const
|
|
10954
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
10955
|
+
* !proto.clarifai.api.PostBulkOperationsRequest,
|
|
10956
|
+
* !proto.clarifai.api.MultiBulkOperationsResponse>}
|
|
10957
|
+
*/
|
|
10958
|
+
const methodDescriptor_V2_PostBulkOperations = new grpc.web.MethodDescriptor(
|
|
10959
|
+
'/clarifai.api.V2/PostBulkOperations',
|
|
10960
|
+
grpc.web.MethodType.UNARY,
|
|
10961
|
+
proto.clarifai.api.PostBulkOperationsRequest,
|
|
10962
|
+
proto.clarifai.api.MultiBulkOperationsResponse,
|
|
10963
|
+
/**
|
|
10964
|
+
* @param {!proto.clarifai.api.PostBulkOperationsRequest} request
|
|
10965
|
+
* @return {!Uint8Array}
|
|
10966
|
+
*/
|
|
10967
|
+
function(request) {
|
|
10968
|
+
return request.serializeBinary();
|
|
10969
|
+
},
|
|
10970
|
+
proto.clarifai.api.MultiBulkOperationsResponse.deserializeBinary
|
|
10971
|
+
);
|
|
10972
|
+
|
|
10973
|
+
|
|
10974
|
+
/**
|
|
10975
|
+
* @param {!proto.clarifai.api.PostBulkOperationsRequest} request The
|
|
10976
|
+
* request proto
|
|
10977
|
+
* @param {?Object<string, string>} metadata User defined
|
|
10978
|
+
* call metadata
|
|
10979
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiBulkOperationsResponse)}
|
|
10980
|
+
* callback The callback function(error, response)
|
|
10981
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiBulkOperationsResponse>|undefined}
|
|
10982
|
+
* The XHR Node Readable Stream
|
|
10983
|
+
*/
|
|
10984
|
+
proto.clarifai.api.V2Client.prototype.postBulkOperations =
|
|
10985
|
+
function(request, metadata, callback) {
|
|
10986
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
10987
|
+
'/clarifai.api.V2/PostBulkOperations',
|
|
10988
|
+
request,
|
|
10989
|
+
metadata || {},
|
|
10990
|
+
methodDescriptor_V2_PostBulkOperations,
|
|
10991
|
+
callback);
|
|
10992
|
+
};
|
|
10993
|
+
|
|
10994
|
+
|
|
10995
|
+
/**
|
|
10996
|
+
* @param {!proto.clarifai.api.PostBulkOperationsRequest} request The
|
|
10997
|
+
* request proto
|
|
10998
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
10999
|
+
* call metadata
|
|
11000
|
+
* @return {!Promise<!proto.clarifai.api.MultiBulkOperationsResponse>}
|
|
11001
|
+
* Promise that resolves to the response
|
|
11002
|
+
*/
|
|
11003
|
+
proto.clarifai.api.V2PromiseClient.prototype.postBulkOperations =
|
|
11004
|
+
function(request, metadata) {
|
|
11005
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
11006
|
+
'/clarifai.api.V2/PostBulkOperations',
|
|
11007
|
+
request,
|
|
11008
|
+
metadata || {},
|
|
11009
|
+
methodDescriptor_V2_PostBulkOperations);
|
|
11010
|
+
};
|
|
11011
|
+
|
|
11012
|
+
|
|
11013
|
+
/**
|
|
11014
|
+
* @const
|
|
11015
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
11016
|
+
* !proto.clarifai.api.ListBulkOperationsRequest,
|
|
11017
|
+
* !proto.clarifai.api.MultiBulkOperationsResponse>}
|
|
11018
|
+
*/
|
|
11019
|
+
const methodDescriptor_V2_ListBulkOperations = new grpc.web.MethodDescriptor(
|
|
11020
|
+
'/clarifai.api.V2/ListBulkOperations',
|
|
11021
|
+
grpc.web.MethodType.UNARY,
|
|
11022
|
+
proto.clarifai.api.ListBulkOperationsRequest,
|
|
11023
|
+
proto.clarifai.api.MultiBulkOperationsResponse,
|
|
11024
|
+
/**
|
|
11025
|
+
* @param {!proto.clarifai.api.ListBulkOperationsRequest} request
|
|
11026
|
+
* @return {!Uint8Array}
|
|
11027
|
+
*/
|
|
11028
|
+
function(request) {
|
|
11029
|
+
return request.serializeBinary();
|
|
11030
|
+
},
|
|
11031
|
+
proto.clarifai.api.MultiBulkOperationsResponse.deserializeBinary
|
|
11032
|
+
);
|
|
11033
|
+
|
|
11034
|
+
|
|
11035
|
+
/**
|
|
11036
|
+
* @param {!proto.clarifai.api.ListBulkOperationsRequest} request The
|
|
11037
|
+
* request proto
|
|
11038
|
+
* @param {?Object<string, string>} metadata User defined
|
|
11039
|
+
* call metadata
|
|
11040
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiBulkOperationsResponse)}
|
|
11041
|
+
* callback The callback function(error, response)
|
|
11042
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiBulkOperationsResponse>|undefined}
|
|
11043
|
+
* The XHR Node Readable Stream
|
|
11044
|
+
*/
|
|
11045
|
+
proto.clarifai.api.V2Client.prototype.listBulkOperations =
|
|
11046
|
+
function(request, metadata, callback) {
|
|
11047
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
11048
|
+
'/clarifai.api.V2/ListBulkOperations',
|
|
11049
|
+
request,
|
|
11050
|
+
metadata || {},
|
|
11051
|
+
methodDescriptor_V2_ListBulkOperations,
|
|
11052
|
+
callback);
|
|
11053
|
+
};
|
|
11054
|
+
|
|
11055
|
+
|
|
11056
|
+
/**
|
|
11057
|
+
* @param {!proto.clarifai.api.ListBulkOperationsRequest} request The
|
|
11058
|
+
* request proto
|
|
11059
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
11060
|
+
* call metadata
|
|
11061
|
+
* @return {!Promise<!proto.clarifai.api.MultiBulkOperationsResponse>}
|
|
11062
|
+
* Promise that resolves to the response
|
|
11063
|
+
*/
|
|
11064
|
+
proto.clarifai.api.V2PromiseClient.prototype.listBulkOperations =
|
|
11065
|
+
function(request, metadata) {
|
|
11066
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
11067
|
+
'/clarifai.api.V2/ListBulkOperations',
|
|
11068
|
+
request,
|
|
11069
|
+
metadata || {},
|
|
11070
|
+
methodDescriptor_V2_ListBulkOperations);
|
|
11071
|
+
};
|
|
11072
|
+
|
|
11073
|
+
|
|
11074
|
+
/**
|
|
11075
|
+
* @const
|
|
11076
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
11077
|
+
* !proto.clarifai.api.GetBulkOperationRequest,
|
|
11078
|
+
* !proto.clarifai.api.SingleBulkOperationsResponse>}
|
|
11079
|
+
*/
|
|
11080
|
+
const methodDescriptor_V2_GetBulkOperation = new grpc.web.MethodDescriptor(
|
|
11081
|
+
'/clarifai.api.V2/GetBulkOperation',
|
|
11082
|
+
grpc.web.MethodType.UNARY,
|
|
11083
|
+
proto.clarifai.api.GetBulkOperationRequest,
|
|
11084
|
+
proto.clarifai.api.SingleBulkOperationsResponse,
|
|
11085
|
+
/**
|
|
11086
|
+
* @param {!proto.clarifai.api.GetBulkOperationRequest} request
|
|
11087
|
+
* @return {!Uint8Array}
|
|
11088
|
+
*/
|
|
11089
|
+
function(request) {
|
|
11090
|
+
return request.serializeBinary();
|
|
11091
|
+
},
|
|
11092
|
+
proto.clarifai.api.SingleBulkOperationsResponse.deserializeBinary
|
|
11093
|
+
);
|
|
11094
|
+
|
|
11095
|
+
|
|
11096
|
+
/**
|
|
11097
|
+
* @param {!proto.clarifai.api.GetBulkOperationRequest} request The
|
|
11098
|
+
* request proto
|
|
11099
|
+
* @param {?Object<string, string>} metadata User defined
|
|
11100
|
+
* call metadata
|
|
11101
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.SingleBulkOperationsResponse)}
|
|
11102
|
+
* callback The callback function(error, response)
|
|
11103
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.SingleBulkOperationsResponse>|undefined}
|
|
11104
|
+
* The XHR Node Readable Stream
|
|
11105
|
+
*/
|
|
11106
|
+
proto.clarifai.api.V2Client.prototype.getBulkOperation =
|
|
11107
|
+
function(request, metadata, callback) {
|
|
11108
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
11109
|
+
'/clarifai.api.V2/GetBulkOperation',
|
|
11110
|
+
request,
|
|
11111
|
+
metadata || {},
|
|
11112
|
+
methodDescriptor_V2_GetBulkOperation,
|
|
11113
|
+
callback);
|
|
11114
|
+
};
|
|
11115
|
+
|
|
11116
|
+
|
|
11117
|
+
/**
|
|
11118
|
+
* @param {!proto.clarifai.api.GetBulkOperationRequest} request The
|
|
11119
|
+
* request proto
|
|
11120
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
11121
|
+
* call metadata
|
|
11122
|
+
* @return {!Promise<!proto.clarifai.api.SingleBulkOperationsResponse>}
|
|
11123
|
+
* Promise that resolves to the response
|
|
11124
|
+
*/
|
|
11125
|
+
proto.clarifai.api.V2PromiseClient.prototype.getBulkOperation =
|
|
11126
|
+
function(request, metadata) {
|
|
11127
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
11128
|
+
'/clarifai.api.V2/GetBulkOperation',
|
|
11129
|
+
request,
|
|
11130
|
+
metadata || {},
|
|
11131
|
+
methodDescriptor_V2_GetBulkOperation);
|
|
11132
|
+
};
|
|
11133
|
+
|
|
11134
|
+
|
|
11135
|
+
/**
|
|
11136
|
+
* @const
|
|
11137
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
11138
|
+
* !proto.clarifai.api.CancelBulkOperationRequest,
|
|
11139
|
+
* !proto.clarifai.api.MultiBulkOperationsResponse>}
|
|
11140
|
+
*/
|
|
11141
|
+
const methodDescriptor_V2_CancelBulkOperations = new grpc.web.MethodDescriptor(
|
|
11142
|
+
'/clarifai.api.V2/CancelBulkOperations',
|
|
11143
|
+
grpc.web.MethodType.UNARY,
|
|
11144
|
+
proto.clarifai.api.CancelBulkOperationRequest,
|
|
11145
|
+
proto.clarifai.api.MultiBulkOperationsResponse,
|
|
11146
|
+
/**
|
|
11147
|
+
* @param {!proto.clarifai.api.CancelBulkOperationRequest} request
|
|
11148
|
+
* @return {!Uint8Array}
|
|
11149
|
+
*/
|
|
11150
|
+
function(request) {
|
|
11151
|
+
return request.serializeBinary();
|
|
11152
|
+
},
|
|
11153
|
+
proto.clarifai.api.MultiBulkOperationsResponse.deserializeBinary
|
|
11154
|
+
);
|
|
11155
|
+
|
|
11156
|
+
|
|
11157
|
+
/**
|
|
11158
|
+
* @param {!proto.clarifai.api.CancelBulkOperationRequest} request The
|
|
11159
|
+
* request proto
|
|
11160
|
+
* @param {?Object<string, string>} metadata User defined
|
|
11161
|
+
* call metadata
|
|
11162
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiBulkOperationsResponse)}
|
|
11163
|
+
* callback The callback function(error, response)
|
|
11164
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiBulkOperationsResponse>|undefined}
|
|
11165
|
+
* The XHR Node Readable Stream
|
|
11166
|
+
*/
|
|
11167
|
+
proto.clarifai.api.V2Client.prototype.cancelBulkOperations =
|
|
11168
|
+
function(request, metadata, callback) {
|
|
11169
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
11170
|
+
'/clarifai.api.V2/CancelBulkOperations',
|
|
11171
|
+
request,
|
|
11172
|
+
metadata || {},
|
|
11173
|
+
methodDescriptor_V2_CancelBulkOperations,
|
|
11174
|
+
callback);
|
|
11175
|
+
};
|
|
11176
|
+
|
|
11177
|
+
|
|
11178
|
+
/**
|
|
11179
|
+
* @param {!proto.clarifai.api.CancelBulkOperationRequest} request The
|
|
11180
|
+
* request proto
|
|
11181
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
11182
|
+
* call metadata
|
|
11183
|
+
* @return {!Promise<!proto.clarifai.api.MultiBulkOperationsResponse>}
|
|
11184
|
+
* Promise that resolves to the response
|
|
11185
|
+
*/
|
|
11186
|
+
proto.clarifai.api.V2PromiseClient.prototype.cancelBulkOperations =
|
|
11187
|
+
function(request, metadata) {
|
|
11188
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
11189
|
+
'/clarifai.api.V2/CancelBulkOperations',
|
|
11190
|
+
request,
|
|
11191
|
+
metadata || {},
|
|
11192
|
+
methodDescriptor_V2_CancelBulkOperations);
|
|
11193
|
+
};
|
|
11194
|
+
|
|
11195
|
+
|
|
11196
|
+
/**
|
|
11197
|
+
* @const
|
|
11198
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
11199
|
+
* !proto.clarifai.api.DeleteBulkOperationRequest,
|
|
11200
|
+
* !proto.clarifai.api.status.BaseResponse>}
|
|
11201
|
+
*/
|
|
11202
|
+
const methodDescriptor_V2_DeleteBulkOperations = new grpc.web.MethodDescriptor(
|
|
11203
|
+
'/clarifai.api.V2/DeleteBulkOperations',
|
|
11204
|
+
grpc.web.MethodType.UNARY,
|
|
11205
|
+
proto.clarifai.api.DeleteBulkOperationRequest,
|
|
11206
|
+
proto_clarifai_api_status_status_pb.BaseResponse,
|
|
11207
|
+
/**
|
|
11208
|
+
* @param {!proto.clarifai.api.DeleteBulkOperationRequest} request
|
|
11209
|
+
* @return {!Uint8Array}
|
|
11210
|
+
*/
|
|
11211
|
+
function(request) {
|
|
11212
|
+
return request.serializeBinary();
|
|
11213
|
+
},
|
|
11214
|
+
proto_clarifai_api_status_status_pb.BaseResponse.deserializeBinary
|
|
11215
|
+
);
|
|
11216
|
+
|
|
11217
|
+
|
|
11218
|
+
/**
|
|
11219
|
+
* @param {!proto.clarifai.api.DeleteBulkOperationRequest} request The
|
|
11220
|
+
* request proto
|
|
11221
|
+
* @param {?Object<string, string>} metadata User defined
|
|
11222
|
+
* call metadata
|
|
11223
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.status.BaseResponse)}
|
|
11224
|
+
* callback The callback function(error, response)
|
|
11225
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.status.BaseResponse>|undefined}
|
|
11226
|
+
* The XHR Node Readable Stream
|
|
11227
|
+
*/
|
|
11228
|
+
proto.clarifai.api.V2Client.prototype.deleteBulkOperations =
|
|
11229
|
+
function(request, metadata, callback) {
|
|
11230
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
11231
|
+
'/clarifai.api.V2/DeleteBulkOperations',
|
|
11232
|
+
request,
|
|
11233
|
+
metadata || {},
|
|
11234
|
+
methodDescriptor_V2_DeleteBulkOperations,
|
|
11235
|
+
callback);
|
|
11236
|
+
};
|
|
11237
|
+
|
|
11238
|
+
|
|
11239
|
+
/**
|
|
11240
|
+
* @param {!proto.clarifai.api.DeleteBulkOperationRequest} request The
|
|
11241
|
+
* request proto
|
|
11242
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
11243
|
+
* call metadata
|
|
11244
|
+
* @return {!Promise<!proto.clarifai.api.status.BaseResponse>}
|
|
11245
|
+
* Promise that resolves to the response
|
|
11246
|
+
*/
|
|
11247
|
+
proto.clarifai.api.V2PromiseClient.prototype.deleteBulkOperations =
|
|
11248
|
+
function(request, metadata) {
|
|
11249
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
11250
|
+
'/clarifai.api.V2/DeleteBulkOperations',
|
|
11251
|
+
request,
|
|
11252
|
+
metadata || {},
|
|
11253
|
+
methodDescriptor_V2_DeleteBulkOperations);
|
|
11254
|
+
};
|
|
11255
|
+
|
|
11256
|
+
|
|
11257
|
+
/**
|
|
11258
|
+
* @const
|
|
11259
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
11260
|
+
* !proto.clarifai.api.GetDatasetInputsSearchAddJobRequest,
|
|
11261
|
+
* !proto.clarifai.api.SingleDatasetInputsSearchAddJobResponse>}
|
|
11262
|
+
*/
|
|
11263
|
+
const methodDescriptor_V2_GetDatasetInputsSearchAddJob = new grpc.web.MethodDescriptor(
|
|
11264
|
+
'/clarifai.api.V2/GetDatasetInputsSearchAddJob',
|
|
11265
|
+
grpc.web.MethodType.UNARY,
|
|
11266
|
+
proto.clarifai.api.GetDatasetInputsSearchAddJobRequest,
|
|
11267
|
+
proto.clarifai.api.SingleDatasetInputsSearchAddJobResponse,
|
|
11268
|
+
/**
|
|
11269
|
+
* @param {!proto.clarifai.api.GetDatasetInputsSearchAddJobRequest} request
|
|
11270
|
+
* @return {!Uint8Array}
|
|
11271
|
+
*/
|
|
11272
|
+
function(request) {
|
|
11273
|
+
return request.serializeBinary();
|
|
11274
|
+
},
|
|
11275
|
+
proto.clarifai.api.SingleDatasetInputsSearchAddJobResponse.deserializeBinary
|
|
11276
|
+
);
|
|
11277
|
+
|
|
11278
|
+
|
|
11279
|
+
/**
|
|
11280
|
+
* @param {!proto.clarifai.api.GetDatasetInputsSearchAddJobRequest} request The
|
|
11281
|
+
* request proto
|
|
11282
|
+
* @param {?Object<string, string>} metadata User defined
|
|
11283
|
+
* call metadata
|
|
11284
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.SingleDatasetInputsSearchAddJobResponse)}
|
|
11285
|
+
* callback The callback function(error, response)
|
|
11286
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.SingleDatasetInputsSearchAddJobResponse>|undefined}
|
|
11287
|
+
* The XHR Node Readable Stream
|
|
11288
|
+
*/
|
|
11289
|
+
proto.clarifai.api.V2Client.prototype.getDatasetInputsSearchAddJob =
|
|
11290
|
+
function(request, metadata, callback) {
|
|
11291
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
11292
|
+
'/clarifai.api.V2/GetDatasetInputsSearchAddJob',
|
|
11293
|
+
request,
|
|
11294
|
+
metadata || {},
|
|
11295
|
+
methodDescriptor_V2_GetDatasetInputsSearchAddJob,
|
|
11296
|
+
callback);
|
|
11297
|
+
};
|
|
11298
|
+
|
|
11299
|
+
|
|
11300
|
+
/**
|
|
11301
|
+
* @param {!proto.clarifai.api.GetDatasetInputsSearchAddJobRequest} request The
|
|
11302
|
+
* request proto
|
|
11303
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
11304
|
+
* call metadata
|
|
11305
|
+
* @return {!Promise<!proto.clarifai.api.SingleDatasetInputsSearchAddJobResponse>}
|
|
11306
|
+
* Promise that resolves to the response
|
|
11307
|
+
*/
|
|
11308
|
+
proto.clarifai.api.V2PromiseClient.prototype.getDatasetInputsSearchAddJob =
|
|
11309
|
+
function(request, metadata) {
|
|
11310
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
11311
|
+
'/clarifai.api.V2/GetDatasetInputsSearchAddJob',
|
|
11312
|
+
request,
|
|
11313
|
+
metadata || {},
|
|
11314
|
+
methodDescriptor_V2_GetDatasetInputsSearchAddJob);
|
|
11315
|
+
};
|
|
11316
|
+
|
|
11317
|
+
|
|
11318
|
+
/**
|
|
11319
|
+
* @const
|
|
11320
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
11321
|
+
* !proto.clarifai.api.ListInputsAddJobsRequest,
|
|
11322
|
+
* !proto.clarifai.api.MultiInputsAddJobResponse>}
|
|
11323
|
+
*/
|
|
11324
|
+
const methodDescriptor_V2_ListInputsAddJobs = new grpc.web.MethodDescriptor(
|
|
11325
|
+
'/clarifai.api.V2/ListInputsAddJobs',
|
|
11326
|
+
grpc.web.MethodType.UNARY,
|
|
11327
|
+
proto.clarifai.api.ListInputsAddJobsRequest,
|
|
11328
|
+
proto.clarifai.api.MultiInputsAddJobResponse,
|
|
11329
|
+
/**
|
|
11330
|
+
* @param {!proto.clarifai.api.ListInputsAddJobsRequest} request
|
|
11331
|
+
* @return {!Uint8Array}
|
|
11332
|
+
*/
|
|
11333
|
+
function(request) {
|
|
11334
|
+
return request.serializeBinary();
|
|
11335
|
+
},
|
|
11336
|
+
proto.clarifai.api.MultiInputsAddJobResponse.deserializeBinary
|
|
11337
|
+
);
|
|
11338
|
+
|
|
11339
|
+
|
|
11340
|
+
/**
|
|
11341
|
+
* @param {!proto.clarifai.api.ListInputsAddJobsRequest} request The
|
|
11342
|
+
* request proto
|
|
11343
|
+
* @param {?Object<string, string>} metadata User defined
|
|
11344
|
+
* call metadata
|
|
11345
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiInputsAddJobResponse)}
|
|
11346
|
+
* callback The callback function(error, response)
|
|
11347
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiInputsAddJobResponse>|undefined}
|
|
11348
|
+
* The XHR Node Readable Stream
|
|
11349
|
+
*/
|
|
11350
|
+
proto.clarifai.api.V2Client.prototype.listInputsAddJobs =
|
|
11351
|
+
function(request, metadata, callback) {
|
|
11352
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
11353
|
+
'/clarifai.api.V2/ListInputsAddJobs',
|
|
11354
|
+
request,
|
|
11355
|
+
metadata || {},
|
|
11356
|
+
methodDescriptor_V2_ListInputsAddJobs,
|
|
11357
|
+
callback);
|
|
11358
|
+
};
|
|
11359
|
+
|
|
11360
|
+
|
|
11361
|
+
/**
|
|
11362
|
+
* @param {!proto.clarifai.api.ListInputsAddJobsRequest} request The
|
|
11363
|
+
* request proto
|
|
11364
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
11365
|
+
* call metadata
|
|
11366
|
+
* @return {!Promise<!proto.clarifai.api.MultiInputsAddJobResponse>}
|
|
11367
|
+
* Promise that resolves to the response
|
|
11368
|
+
*/
|
|
11369
|
+
proto.clarifai.api.V2PromiseClient.prototype.listInputsAddJobs =
|
|
11370
|
+
function(request, metadata) {
|
|
11371
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
11372
|
+
'/clarifai.api.V2/ListInputsAddJobs',
|
|
11373
|
+
request,
|
|
11374
|
+
metadata || {},
|
|
11375
|
+
methodDescriptor_V2_ListInputsAddJobs);
|
|
11376
|
+
};
|
|
11377
|
+
|
|
11378
|
+
|
|
11379
|
+
/**
|
|
11380
|
+
* @const
|
|
11381
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
11382
|
+
* !proto.clarifai.api.GetInputsAddJobRequest,
|
|
11383
|
+
* !proto.clarifai.api.SingleInputsAddJobResponse>}
|
|
11384
|
+
*/
|
|
11385
|
+
const methodDescriptor_V2_GetInputsAddJob = new grpc.web.MethodDescriptor(
|
|
11386
|
+
'/clarifai.api.V2/GetInputsAddJob',
|
|
11387
|
+
grpc.web.MethodType.UNARY,
|
|
11388
|
+
proto.clarifai.api.GetInputsAddJobRequest,
|
|
11389
|
+
proto.clarifai.api.SingleInputsAddJobResponse,
|
|
11390
|
+
/**
|
|
11391
|
+
* @param {!proto.clarifai.api.GetInputsAddJobRequest} request
|
|
11392
|
+
* @return {!Uint8Array}
|
|
11393
|
+
*/
|
|
11394
|
+
function(request) {
|
|
11395
|
+
return request.serializeBinary();
|
|
11396
|
+
},
|
|
11397
|
+
proto.clarifai.api.SingleInputsAddJobResponse.deserializeBinary
|
|
11398
|
+
);
|
|
11399
|
+
|
|
11400
|
+
|
|
11401
|
+
/**
|
|
11402
|
+
* @param {!proto.clarifai.api.GetInputsAddJobRequest} request The
|
|
11403
|
+
* request proto
|
|
11404
|
+
* @param {?Object<string, string>} metadata User defined
|
|
11405
|
+
* call metadata
|
|
11406
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.SingleInputsAddJobResponse)}
|
|
11407
|
+
* callback The callback function(error, response)
|
|
11408
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.SingleInputsAddJobResponse>|undefined}
|
|
11409
|
+
* The XHR Node Readable Stream
|
|
11410
|
+
*/
|
|
11411
|
+
proto.clarifai.api.V2Client.prototype.getInputsAddJob =
|
|
11412
|
+
function(request, metadata, callback) {
|
|
11413
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
11414
|
+
'/clarifai.api.V2/GetInputsAddJob',
|
|
11415
|
+
request,
|
|
11416
|
+
metadata || {},
|
|
11417
|
+
methodDescriptor_V2_GetInputsAddJob,
|
|
11418
|
+
callback);
|
|
11419
|
+
};
|
|
11420
|
+
|
|
11421
|
+
|
|
11422
|
+
/**
|
|
11423
|
+
* @param {!proto.clarifai.api.GetInputsAddJobRequest} request The
|
|
11424
|
+
* request proto
|
|
11425
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
11426
|
+
* call metadata
|
|
11427
|
+
* @return {!Promise<!proto.clarifai.api.SingleInputsAddJobResponse>}
|
|
11428
|
+
* Promise that resolves to the response
|
|
11429
|
+
*/
|
|
11430
|
+
proto.clarifai.api.V2PromiseClient.prototype.getInputsAddJob =
|
|
11431
|
+
function(request, metadata) {
|
|
11432
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
11433
|
+
'/clarifai.api.V2/GetInputsAddJob',
|
|
11434
|
+
request,
|
|
11435
|
+
metadata || {},
|
|
11436
|
+
methodDescriptor_V2_GetInputsAddJob);
|
|
11437
|
+
};
|
|
11438
|
+
|
|
11439
|
+
|
|
11440
|
+
/**
|
|
11441
|
+
* @const
|
|
11442
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
11443
|
+
* !proto.clarifai.api.PostUploadsRequest,
|
|
11444
|
+
* !proto.clarifai.api.MultiUploadResponse>}
|
|
11445
|
+
*/
|
|
11446
|
+
const methodDescriptor_V2_PostUploads = new grpc.web.MethodDescriptor(
|
|
11447
|
+
'/clarifai.api.V2/PostUploads',
|
|
11448
|
+
grpc.web.MethodType.UNARY,
|
|
11449
|
+
proto.clarifai.api.PostUploadsRequest,
|
|
11450
|
+
proto.clarifai.api.MultiUploadResponse,
|
|
11451
|
+
/**
|
|
11452
|
+
* @param {!proto.clarifai.api.PostUploadsRequest} request
|
|
11453
|
+
* @return {!Uint8Array}
|
|
11454
|
+
*/
|
|
11455
|
+
function(request) {
|
|
11456
|
+
return request.serializeBinary();
|
|
11457
|
+
},
|
|
11458
|
+
proto.clarifai.api.MultiUploadResponse.deserializeBinary
|
|
11459
|
+
);
|
|
11460
|
+
|
|
11461
|
+
|
|
11462
|
+
/**
|
|
11463
|
+
* @param {!proto.clarifai.api.PostUploadsRequest} request The
|
|
11464
|
+
* request proto
|
|
11465
|
+
* @param {?Object<string, string>} metadata User defined
|
|
11466
|
+
* call metadata
|
|
11467
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiUploadResponse)}
|
|
11468
|
+
* callback The callback function(error, response)
|
|
11469
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiUploadResponse>|undefined}
|
|
11470
|
+
* The XHR Node Readable Stream
|
|
11471
|
+
*/
|
|
11472
|
+
proto.clarifai.api.V2Client.prototype.postUploads =
|
|
11473
|
+
function(request, metadata, callback) {
|
|
11474
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
11475
|
+
'/clarifai.api.V2/PostUploads',
|
|
11476
|
+
request,
|
|
11477
|
+
metadata || {},
|
|
11478
|
+
methodDescriptor_V2_PostUploads,
|
|
11479
|
+
callback);
|
|
11480
|
+
};
|
|
11481
|
+
|
|
11482
|
+
|
|
11483
|
+
/**
|
|
11484
|
+
* @param {!proto.clarifai.api.PostUploadsRequest} request The
|
|
11485
|
+
* request proto
|
|
11486
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
11487
|
+
* call metadata
|
|
11488
|
+
* @return {!Promise<!proto.clarifai.api.MultiUploadResponse>}
|
|
11489
|
+
* Promise that resolves to the response
|
|
11490
|
+
*/
|
|
11491
|
+
proto.clarifai.api.V2PromiseClient.prototype.postUploads =
|
|
11492
|
+
function(request, metadata) {
|
|
11493
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
11494
|
+
'/clarifai.api.V2/PostUploads',
|
|
11495
|
+
request,
|
|
11496
|
+
metadata || {},
|
|
11497
|
+
methodDescriptor_V2_PostUploads);
|
|
11498
|
+
};
|
|
11499
|
+
|
|
11500
|
+
|
|
11501
|
+
/**
|
|
11502
|
+
* @const
|
|
11503
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
11504
|
+
* !proto.clarifai.api.PutUploadContentPartsRequest,
|
|
11505
|
+
* !proto.clarifai.api.SingleUploadResponse>}
|
|
11506
|
+
*/
|
|
11507
|
+
const methodDescriptor_V2_PutUploadContentParts = new grpc.web.MethodDescriptor(
|
|
11508
|
+
'/clarifai.api.V2/PutUploadContentParts',
|
|
11509
|
+
grpc.web.MethodType.UNARY,
|
|
11510
|
+
proto.clarifai.api.PutUploadContentPartsRequest,
|
|
11511
|
+
proto.clarifai.api.SingleUploadResponse,
|
|
11512
|
+
/**
|
|
11513
|
+
* @param {!proto.clarifai.api.PutUploadContentPartsRequest} request
|
|
11514
|
+
* @return {!Uint8Array}
|
|
11515
|
+
*/
|
|
11516
|
+
function(request) {
|
|
11517
|
+
return request.serializeBinary();
|
|
11518
|
+
},
|
|
11519
|
+
proto.clarifai.api.SingleUploadResponse.deserializeBinary
|
|
11520
|
+
);
|
|
11521
|
+
|
|
11522
|
+
|
|
11523
|
+
/**
|
|
11524
|
+
* @param {!proto.clarifai.api.PutUploadContentPartsRequest} request The
|
|
11525
|
+
* request proto
|
|
11526
|
+
* @param {?Object<string, string>} metadata User defined
|
|
11527
|
+
* call metadata
|
|
11528
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.SingleUploadResponse)}
|
|
11529
|
+
* callback The callback function(error, response)
|
|
11530
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.SingleUploadResponse>|undefined}
|
|
11531
|
+
* The XHR Node Readable Stream
|
|
11532
|
+
*/
|
|
11533
|
+
proto.clarifai.api.V2Client.prototype.putUploadContentParts =
|
|
11534
|
+
function(request, metadata, callback) {
|
|
11535
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
11536
|
+
'/clarifai.api.V2/PutUploadContentParts',
|
|
11537
|
+
request,
|
|
11538
|
+
metadata || {},
|
|
11539
|
+
methodDescriptor_V2_PutUploadContentParts,
|
|
11540
|
+
callback);
|
|
11541
|
+
};
|
|
11542
|
+
|
|
11543
|
+
|
|
11544
|
+
/**
|
|
11545
|
+
* @param {!proto.clarifai.api.PutUploadContentPartsRequest} request The
|
|
11546
|
+
* request proto
|
|
11547
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
11548
|
+
* call metadata
|
|
11549
|
+
* @return {!Promise<!proto.clarifai.api.SingleUploadResponse>}
|
|
11550
|
+
* Promise that resolves to the response
|
|
11551
|
+
*/
|
|
11552
|
+
proto.clarifai.api.V2PromiseClient.prototype.putUploadContentParts =
|
|
11553
|
+
function(request, metadata) {
|
|
11554
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
11555
|
+
'/clarifai.api.V2/PutUploadContentParts',
|
|
11556
|
+
request,
|
|
11557
|
+
metadata || {},
|
|
11558
|
+
methodDescriptor_V2_PutUploadContentParts);
|
|
11559
|
+
};
|
|
11560
|
+
|
|
11561
|
+
|
|
11562
|
+
/**
|
|
11563
|
+
* @const
|
|
11564
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
11565
|
+
* !proto.clarifai.api.GetUploadRequest,
|
|
11566
|
+
* !proto.clarifai.api.SingleUploadResponse>}
|
|
11567
|
+
*/
|
|
11568
|
+
const methodDescriptor_V2_GetUpload = new grpc.web.MethodDescriptor(
|
|
11569
|
+
'/clarifai.api.V2/GetUpload',
|
|
11570
|
+
grpc.web.MethodType.UNARY,
|
|
11571
|
+
proto.clarifai.api.GetUploadRequest,
|
|
11572
|
+
proto.clarifai.api.SingleUploadResponse,
|
|
11573
|
+
/**
|
|
11574
|
+
* @param {!proto.clarifai.api.GetUploadRequest} request
|
|
11575
|
+
* @return {!Uint8Array}
|
|
11576
|
+
*/
|
|
11577
|
+
function(request) {
|
|
11578
|
+
return request.serializeBinary();
|
|
11579
|
+
},
|
|
11580
|
+
proto.clarifai.api.SingleUploadResponse.deserializeBinary
|
|
11581
|
+
);
|
|
11582
|
+
|
|
11583
|
+
|
|
11584
|
+
/**
|
|
11585
|
+
* @param {!proto.clarifai.api.GetUploadRequest} request The
|
|
11586
|
+
* request proto
|
|
11587
|
+
* @param {?Object<string, string>} metadata User defined
|
|
11588
|
+
* call metadata
|
|
11589
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.SingleUploadResponse)}
|
|
11590
|
+
* callback The callback function(error, response)
|
|
11591
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.SingleUploadResponse>|undefined}
|
|
11592
|
+
* The XHR Node Readable Stream
|
|
11593
|
+
*/
|
|
11594
|
+
proto.clarifai.api.V2Client.prototype.getUpload =
|
|
11595
|
+
function(request, metadata, callback) {
|
|
11596
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
11597
|
+
'/clarifai.api.V2/GetUpload',
|
|
11598
|
+
request,
|
|
11599
|
+
metadata || {},
|
|
11600
|
+
methodDescriptor_V2_GetUpload,
|
|
11601
|
+
callback);
|
|
11602
|
+
};
|
|
11603
|
+
|
|
11604
|
+
|
|
11605
|
+
/**
|
|
11606
|
+
* @param {!proto.clarifai.api.GetUploadRequest} request The
|
|
11607
|
+
* request proto
|
|
11608
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
11609
|
+
* call metadata
|
|
11610
|
+
* @return {!Promise<!proto.clarifai.api.SingleUploadResponse>}
|
|
11611
|
+
* Promise that resolves to the response
|
|
11612
|
+
*/
|
|
11613
|
+
proto.clarifai.api.V2PromiseClient.prototype.getUpload =
|
|
11614
|
+
function(request, metadata) {
|
|
11615
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
11616
|
+
'/clarifai.api.V2/GetUpload',
|
|
11617
|
+
request,
|
|
11618
|
+
metadata || {},
|
|
11619
|
+
methodDescriptor_V2_GetUpload);
|
|
11620
|
+
};
|
|
11621
|
+
|
|
11622
|
+
|
|
11623
|
+
/**
|
|
11624
|
+
* @const
|
|
11625
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
11626
|
+
* !proto.clarifai.api.ListUploadsRequest,
|
|
11627
|
+
* !proto.clarifai.api.MultiUploadResponse>}
|
|
11628
|
+
*/
|
|
11629
|
+
const methodDescriptor_V2_ListUploads = new grpc.web.MethodDescriptor(
|
|
11630
|
+
'/clarifai.api.V2/ListUploads',
|
|
11631
|
+
grpc.web.MethodType.UNARY,
|
|
11632
|
+
proto.clarifai.api.ListUploadsRequest,
|
|
11633
|
+
proto.clarifai.api.MultiUploadResponse,
|
|
11634
|
+
/**
|
|
11635
|
+
* @param {!proto.clarifai.api.ListUploadsRequest} request
|
|
11636
|
+
* @return {!Uint8Array}
|
|
11637
|
+
*/
|
|
11638
|
+
function(request) {
|
|
11639
|
+
return request.serializeBinary();
|
|
11640
|
+
},
|
|
11641
|
+
proto.clarifai.api.MultiUploadResponse.deserializeBinary
|
|
11642
|
+
);
|
|
11643
|
+
|
|
11644
|
+
|
|
11645
|
+
/**
|
|
11646
|
+
* @param {!proto.clarifai.api.ListUploadsRequest} request The
|
|
11647
|
+
* request proto
|
|
11648
|
+
* @param {?Object<string, string>} metadata User defined
|
|
11649
|
+
* call metadata
|
|
11650
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiUploadResponse)}
|
|
11651
|
+
* callback The callback function(error, response)
|
|
11652
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiUploadResponse>|undefined}
|
|
11653
|
+
* The XHR Node Readable Stream
|
|
11654
|
+
*/
|
|
11655
|
+
proto.clarifai.api.V2Client.prototype.listUploads =
|
|
11656
|
+
function(request, metadata, callback) {
|
|
11657
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
11658
|
+
'/clarifai.api.V2/ListUploads',
|
|
11659
|
+
request,
|
|
11660
|
+
metadata || {},
|
|
11661
|
+
methodDescriptor_V2_ListUploads,
|
|
11662
|
+
callback);
|
|
11663
|
+
};
|
|
11664
|
+
|
|
11665
|
+
|
|
11666
|
+
/**
|
|
11667
|
+
* @param {!proto.clarifai.api.ListUploadsRequest} request The
|
|
11668
|
+
* request proto
|
|
11669
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
11670
|
+
* call metadata
|
|
11671
|
+
* @return {!Promise<!proto.clarifai.api.MultiUploadResponse>}
|
|
11672
|
+
* Promise that resolves to the response
|
|
11673
|
+
*/
|
|
11674
|
+
proto.clarifai.api.V2PromiseClient.prototype.listUploads =
|
|
11675
|
+
function(request, metadata) {
|
|
11676
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
11677
|
+
'/clarifai.api.V2/ListUploads',
|
|
11678
|
+
request,
|
|
11679
|
+
metadata || {},
|
|
11680
|
+
methodDescriptor_V2_ListUploads);
|
|
11681
|
+
};
|
|
11682
|
+
|
|
11683
|
+
|
|
11684
|
+
/**
|
|
11685
|
+
* @const
|
|
11686
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
11687
|
+
* !proto.clarifai.api.DeleteUploadsRequest,
|
|
11688
|
+
* !proto.clarifai.api.status.BaseResponse>}
|
|
11689
|
+
*/
|
|
11690
|
+
const methodDescriptor_V2_DeleteUploads = new grpc.web.MethodDescriptor(
|
|
11691
|
+
'/clarifai.api.V2/DeleteUploads',
|
|
11692
|
+
grpc.web.MethodType.UNARY,
|
|
11693
|
+
proto.clarifai.api.DeleteUploadsRequest,
|
|
11694
|
+
proto_clarifai_api_status_status_pb.BaseResponse,
|
|
11695
|
+
/**
|
|
11696
|
+
* @param {!proto.clarifai.api.DeleteUploadsRequest} request
|
|
11697
|
+
* @return {!Uint8Array}
|
|
11698
|
+
*/
|
|
11699
|
+
function(request) {
|
|
11700
|
+
return request.serializeBinary();
|
|
11701
|
+
},
|
|
11702
|
+
proto_clarifai_api_status_status_pb.BaseResponse.deserializeBinary
|
|
11703
|
+
);
|
|
11704
|
+
|
|
11705
|
+
|
|
11706
|
+
/**
|
|
11707
|
+
* @param {!proto.clarifai.api.DeleteUploadsRequest} request The
|
|
11708
|
+
* request proto
|
|
11709
|
+
* @param {?Object<string, string>} metadata User defined
|
|
11710
|
+
* call metadata
|
|
11711
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.status.BaseResponse)}
|
|
11712
|
+
* callback The callback function(error, response)
|
|
11713
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.status.BaseResponse>|undefined}
|
|
11714
|
+
* The XHR Node Readable Stream
|
|
11715
|
+
*/
|
|
11716
|
+
proto.clarifai.api.V2Client.prototype.deleteUploads =
|
|
11717
|
+
function(request, metadata, callback) {
|
|
11718
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
11719
|
+
'/clarifai.api.V2/DeleteUploads',
|
|
11720
|
+
request,
|
|
11721
|
+
metadata || {},
|
|
11722
|
+
methodDescriptor_V2_DeleteUploads,
|
|
11723
|
+
callback);
|
|
11724
|
+
};
|
|
11725
|
+
|
|
11726
|
+
|
|
11727
|
+
/**
|
|
11728
|
+
* @param {!proto.clarifai.api.DeleteUploadsRequest} request The
|
|
11729
|
+
* request proto
|
|
11730
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
11731
|
+
* call metadata
|
|
11732
|
+
* @return {!Promise<!proto.clarifai.api.status.BaseResponse>}
|
|
11733
|
+
* Promise that resolves to the response
|
|
11734
|
+
*/
|
|
11735
|
+
proto.clarifai.api.V2PromiseClient.prototype.deleteUploads =
|
|
11736
|
+
function(request, metadata) {
|
|
11737
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
11738
|
+
'/clarifai.api.V2/DeleteUploads',
|
|
11739
|
+
request,
|
|
11740
|
+
metadata || {},
|
|
11741
|
+
methodDescriptor_V2_DeleteUploads);
|
|
11742
|
+
};
|
|
11743
|
+
|
|
11744
|
+
|
|
9671
11745
|
module.exports = proto.clarifai.api;
|
|
9672
11746
|
|