clarifai-web-grpc 11.10.9 → 11.10.10
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/VERSION +1 -1
- package/dist/cjs/proto/clarifai/api/resources_pb.js +793 -2
- package/dist/cjs/proto/clarifai/api/service_grpc_web_pb.js +416 -0
- package/dist/cjs/proto/clarifai/api/service_pb.js +3437 -0
- package/dist/cjs/proto/clarifai/api/status/status_code_pb.js +6 -0
- package/dist/cjs/proto/clarifai/auth/scope/scope_pb.js +5 -1
- package/dist/esm/proto/clarifai/api/resources_pb.js +793 -2
- package/dist/esm/proto/clarifai/api/service_grpc_web_pb.js +416 -0
- package/dist/esm/proto/clarifai/api/service_pb.js +3437 -0
- package/dist/esm/proto/clarifai/api/status/status_code_pb.js +6 -0
- package/dist/esm/proto/clarifai/auth/scope/scope_pb.js +5 -1
- package/package.json +1 -1
- package/proto/clarifai/api/resources_pb.d.ts +122 -0
- package/proto/clarifai/api/resources_pb.js +1017 -2
- package/proto/clarifai/api/service_grpc_web_pb.d.ts +118 -0
- package/proto/clarifai/api/service_grpc_web_pb.js +605 -0
- package/proto/clarifai/api/service_pb.d.ts +504 -0
- package/proto/clarifai/api/service_pb.js +4235 -0
- package/proto/clarifai/api/status/status_code_pb.d.ts +6 -0
- package/proto/clarifai/api/status/status_code_pb.js +6 -0
- package/proto/clarifai/auth/scope/scope_pb.d.ts +4 -0
- package/proto/clarifai/auth/scope/scope_pb.js +5 -1
|
@@ -868,6 +868,44 @@ proto.clarifai.api.V2PromiseClient.prototype.postTrackAnnotationsSearches =
|
|
|
868
868
|
return this.client_.unaryCall(this.hostname_ +
|
|
869
869
|
'/clarifai.api.V2/PostTrackAnnotationsSearches', request, metadata || {}, methodDescriptor_V2_PostTrackAnnotationsSearches);
|
|
870
870
|
};
|
|
871
|
+
/**
|
|
872
|
+
* @const
|
|
873
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
874
|
+
* !proto.clarifai.api.StreamTrackAnnotationsSearchesRequest,
|
|
875
|
+
* !proto.clarifai.api.SingleAnnotationResponse>}
|
|
876
|
+
*/
|
|
877
|
+
const methodDescriptor_V2_StreamTrackAnnotationsSearches = new grpc.web.MethodDescriptor('/clarifai.api.V2/StreamTrackAnnotationsSearches', grpc.web.MethodType.SERVER_STREAMING, proto.clarifai.api.StreamTrackAnnotationsSearchesRequest, proto.clarifai.api.SingleAnnotationResponse,
|
|
878
|
+
/**
|
|
879
|
+
* @param {!proto.clarifai.api.StreamTrackAnnotationsSearchesRequest} request
|
|
880
|
+
* @return {!Uint8Array}
|
|
881
|
+
*/
|
|
882
|
+
function (request) {
|
|
883
|
+
return request.serializeBinary();
|
|
884
|
+
}, proto.clarifai.api.SingleAnnotationResponse.deserializeBinary);
|
|
885
|
+
/**
|
|
886
|
+
* @param {!proto.clarifai.api.StreamTrackAnnotationsSearchesRequest} request The request proto
|
|
887
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
888
|
+
* call metadata
|
|
889
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.SingleAnnotationResponse>}
|
|
890
|
+
* The XHR Node Readable Stream
|
|
891
|
+
*/
|
|
892
|
+
proto.clarifai.api.V2Client.prototype.streamTrackAnnotationsSearches =
|
|
893
|
+
function (request, metadata) {
|
|
894
|
+
return this.client_.serverStreaming(this.hostname_ +
|
|
895
|
+
'/clarifai.api.V2/StreamTrackAnnotationsSearches', request, metadata || {}, methodDescriptor_V2_StreamTrackAnnotationsSearches);
|
|
896
|
+
};
|
|
897
|
+
/**
|
|
898
|
+
* @param {!proto.clarifai.api.StreamTrackAnnotationsSearchesRequest} request The request proto
|
|
899
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
900
|
+
* call metadata
|
|
901
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.SingleAnnotationResponse>}
|
|
902
|
+
* The XHR Node Readable Stream
|
|
903
|
+
*/
|
|
904
|
+
proto.clarifai.api.V2PromiseClient.prototype.streamTrackAnnotationsSearches =
|
|
905
|
+
function (request, metadata) {
|
|
906
|
+
return this.client_.serverStreaming(this.hostname_ +
|
|
907
|
+
'/clarifai.api.V2/StreamTrackAnnotationsSearches', request, metadata || {}, methodDescriptor_V2_StreamTrackAnnotationsSearches);
|
|
908
|
+
};
|
|
871
909
|
/**
|
|
872
910
|
* @const
|
|
873
911
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -11276,6 +11314,384 @@ proto.clarifai.api.V2PromiseClient.prototype.getPipelineStepVersion =
|
|
|
11276
11314
|
return this.client_.unaryCall(this.hostname_ +
|
|
11277
11315
|
'/clarifai.api.V2/GetPipelineStepVersion', request, metadata || {}, methodDescriptor_V2_GetPipelineStepVersion);
|
|
11278
11316
|
};
|
|
11317
|
+
/**
|
|
11318
|
+
* @const
|
|
11319
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
11320
|
+
* !proto.clarifai.api.DeletePipelineStepsRequest,
|
|
11321
|
+
* !proto.clarifai.api.status.BaseResponse>}
|
|
11322
|
+
*/
|
|
11323
|
+
const methodDescriptor_V2_DeletePipelineSteps = new grpc.web.MethodDescriptor('/clarifai.api.V2/DeletePipelineSteps', grpc.web.MethodType.UNARY, proto.clarifai.api.DeletePipelineStepsRequest, proto_clarifai_api_status_status_pb.BaseResponse,
|
|
11324
|
+
/**
|
|
11325
|
+
* @param {!proto.clarifai.api.DeletePipelineStepsRequest} request
|
|
11326
|
+
* @return {!Uint8Array}
|
|
11327
|
+
*/
|
|
11328
|
+
function (request) {
|
|
11329
|
+
return request.serializeBinary();
|
|
11330
|
+
}, proto_clarifai_api_status_status_pb.BaseResponse.deserializeBinary);
|
|
11331
|
+
/**
|
|
11332
|
+
* @param {!proto.clarifai.api.DeletePipelineStepsRequest} request The
|
|
11333
|
+
* request proto
|
|
11334
|
+
* @param {?Object<string, string>} metadata User defined
|
|
11335
|
+
* call metadata
|
|
11336
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.status.BaseResponse)}
|
|
11337
|
+
* callback The callback function(error, response)
|
|
11338
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.status.BaseResponse>|undefined}
|
|
11339
|
+
* The XHR Node Readable Stream
|
|
11340
|
+
*/
|
|
11341
|
+
proto.clarifai.api.V2Client.prototype.deletePipelineSteps =
|
|
11342
|
+
function (request, metadata, callback) {
|
|
11343
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
11344
|
+
'/clarifai.api.V2/DeletePipelineSteps', request, metadata || {}, methodDescriptor_V2_DeletePipelineSteps, callback);
|
|
11345
|
+
};
|
|
11346
|
+
/**
|
|
11347
|
+
* @param {!proto.clarifai.api.DeletePipelineStepsRequest} request The
|
|
11348
|
+
* request proto
|
|
11349
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
11350
|
+
* call metadata
|
|
11351
|
+
* @return {!Promise<!proto.clarifai.api.status.BaseResponse>}
|
|
11352
|
+
* Promise that resolves to the response
|
|
11353
|
+
*/
|
|
11354
|
+
proto.clarifai.api.V2PromiseClient.prototype.deletePipelineSteps =
|
|
11355
|
+
function (request, metadata) {
|
|
11356
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
11357
|
+
'/clarifai.api.V2/DeletePipelineSteps', request, metadata || {}, methodDescriptor_V2_DeletePipelineSteps);
|
|
11358
|
+
};
|
|
11359
|
+
/**
|
|
11360
|
+
* @const
|
|
11361
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
11362
|
+
* !proto.clarifai.api.DeletePipelineStepVersionsRequest,
|
|
11363
|
+
* !proto.clarifai.api.status.BaseResponse>}
|
|
11364
|
+
*/
|
|
11365
|
+
const methodDescriptor_V2_DeletePipelineStepVersions = new grpc.web.MethodDescriptor('/clarifai.api.V2/DeletePipelineStepVersions', grpc.web.MethodType.UNARY, proto.clarifai.api.DeletePipelineStepVersionsRequest, proto_clarifai_api_status_status_pb.BaseResponse,
|
|
11366
|
+
/**
|
|
11367
|
+
* @param {!proto.clarifai.api.DeletePipelineStepVersionsRequest} request
|
|
11368
|
+
* @return {!Uint8Array}
|
|
11369
|
+
*/
|
|
11370
|
+
function (request) {
|
|
11371
|
+
return request.serializeBinary();
|
|
11372
|
+
}, proto_clarifai_api_status_status_pb.BaseResponse.deserializeBinary);
|
|
11373
|
+
/**
|
|
11374
|
+
* @param {!proto.clarifai.api.DeletePipelineStepVersionsRequest} request The
|
|
11375
|
+
* request proto
|
|
11376
|
+
* @param {?Object<string, string>} metadata User defined
|
|
11377
|
+
* call metadata
|
|
11378
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.status.BaseResponse)}
|
|
11379
|
+
* callback The callback function(error, response)
|
|
11380
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.status.BaseResponse>|undefined}
|
|
11381
|
+
* The XHR Node Readable Stream
|
|
11382
|
+
*/
|
|
11383
|
+
proto.clarifai.api.V2Client.prototype.deletePipelineStepVersions =
|
|
11384
|
+
function (request, metadata, callback) {
|
|
11385
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
11386
|
+
'/clarifai.api.V2/DeletePipelineStepVersions', request, metadata || {}, methodDescriptor_V2_DeletePipelineStepVersions, callback);
|
|
11387
|
+
};
|
|
11388
|
+
/**
|
|
11389
|
+
* @param {!proto.clarifai.api.DeletePipelineStepVersionsRequest} request The
|
|
11390
|
+
* request proto
|
|
11391
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
11392
|
+
* call metadata
|
|
11393
|
+
* @return {!Promise<!proto.clarifai.api.status.BaseResponse>}
|
|
11394
|
+
* Promise that resolves to the response
|
|
11395
|
+
*/
|
|
11396
|
+
proto.clarifai.api.V2PromiseClient.prototype.deletePipelineStepVersions =
|
|
11397
|
+
function (request, metadata) {
|
|
11398
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
11399
|
+
'/clarifai.api.V2/DeletePipelineStepVersions', request, metadata || {}, methodDescriptor_V2_DeletePipelineStepVersions);
|
|
11400
|
+
};
|
|
11401
|
+
/**
|
|
11402
|
+
* @const
|
|
11403
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
11404
|
+
* !proto.clarifai.api.PostArtifactsRequest,
|
|
11405
|
+
* !proto.clarifai.api.MultiArtifactResponse>}
|
|
11406
|
+
*/
|
|
11407
|
+
const methodDescriptor_V2_PostArtifacts = new grpc.web.MethodDescriptor('/clarifai.api.V2/PostArtifacts', grpc.web.MethodType.UNARY, proto.clarifai.api.PostArtifactsRequest, proto.clarifai.api.MultiArtifactResponse,
|
|
11408
|
+
/**
|
|
11409
|
+
* @param {!proto.clarifai.api.PostArtifactsRequest} request
|
|
11410
|
+
* @return {!Uint8Array}
|
|
11411
|
+
*/
|
|
11412
|
+
function (request) {
|
|
11413
|
+
return request.serializeBinary();
|
|
11414
|
+
}, proto.clarifai.api.MultiArtifactResponse.deserializeBinary);
|
|
11415
|
+
/**
|
|
11416
|
+
* @param {!proto.clarifai.api.PostArtifactsRequest} request The
|
|
11417
|
+
* request proto
|
|
11418
|
+
* @param {?Object<string, string>} metadata User defined
|
|
11419
|
+
* call metadata
|
|
11420
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiArtifactResponse)}
|
|
11421
|
+
* callback The callback function(error, response)
|
|
11422
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiArtifactResponse>|undefined}
|
|
11423
|
+
* The XHR Node Readable Stream
|
|
11424
|
+
*/
|
|
11425
|
+
proto.clarifai.api.V2Client.prototype.postArtifacts =
|
|
11426
|
+
function (request, metadata, callback) {
|
|
11427
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
11428
|
+
'/clarifai.api.V2/PostArtifacts', request, metadata || {}, methodDescriptor_V2_PostArtifacts, callback);
|
|
11429
|
+
};
|
|
11430
|
+
/**
|
|
11431
|
+
* @param {!proto.clarifai.api.PostArtifactsRequest} request The
|
|
11432
|
+
* request proto
|
|
11433
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
11434
|
+
* call metadata
|
|
11435
|
+
* @return {!Promise<!proto.clarifai.api.MultiArtifactResponse>}
|
|
11436
|
+
* Promise that resolves to the response
|
|
11437
|
+
*/
|
|
11438
|
+
proto.clarifai.api.V2PromiseClient.prototype.postArtifacts =
|
|
11439
|
+
function (request, metadata) {
|
|
11440
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
11441
|
+
'/clarifai.api.V2/PostArtifacts', request, metadata || {}, methodDescriptor_V2_PostArtifacts);
|
|
11442
|
+
};
|
|
11443
|
+
/**
|
|
11444
|
+
* @const
|
|
11445
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
11446
|
+
* !proto.clarifai.api.GetArtifactRequest,
|
|
11447
|
+
* !proto.clarifai.api.SingleArtifactResponse>}
|
|
11448
|
+
*/
|
|
11449
|
+
const methodDescriptor_V2_GetArtifact = new grpc.web.MethodDescriptor('/clarifai.api.V2/GetArtifact', grpc.web.MethodType.UNARY, proto.clarifai.api.GetArtifactRequest, proto.clarifai.api.SingleArtifactResponse,
|
|
11450
|
+
/**
|
|
11451
|
+
* @param {!proto.clarifai.api.GetArtifactRequest} request
|
|
11452
|
+
* @return {!Uint8Array}
|
|
11453
|
+
*/
|
|
11454
|
+
function (request) {
|
|
11455
|
+
return request.serializeBinary();
|
|
11456
|
+
}, proto.clarifai.api.SingleArtifactResponse.deserializeBinary);
|
|
11457
|
+
/**
|
|
11458
|
+
* @param {!proto.clarifai.api.GetArtifactRequest} request The
|
|
11459
|
+
* request proto
|
|
11460
|
+
* @param {?Object<string, string>} metadata User defined
|
|
11461
|
+
* call metadata
|
|
11462
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.SingleArtifactResponse)}
|
|
11463
|
+
* callback The callback function(error, response)
|
|
11464
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.SingleArtifactResponse>|undefined}
|
|
11465
|
+
* The XHR Node Readable Stream
|
|
11466
|
+
*/
|
|
11467
|
+
proto.clarifai.api.V2Client.prototype.getArtifact =
|
|
11468
|
+
function (request, metadata, callback) {
|
|
11469
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
11470
|
+
'/clarifai.api.V2/GetArtifact', request, metadata || {}, methodDescriptor_V2_GetArtifact, callback);
|
|
11471
|
+
};
|
|
11472
|
+
/**
|
|
11473
|
+
* @param {!proto.clarifai.api.GetArtifactRequest} request The
|
|
11474
|
+
* request proto
|
|
11475
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
11476
|
+
* call metadata
|
|
11477
|
+
* @return {!Promise<!proto.clarifai.api.SingleArtifactResponse>}
|
|
11478
|
+
* Promise that resolves to the response
|
|
11479
|
+
*/
|
|
11480
|
+
proto.clarifai.api.V2PromiseClient.prototype.getArtifact =
|
|
11481
|
+
function (request, metadata) {
|
|
11482
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
11483
|
+
'/clarifai.api.V2/GetArtifact', request, metadata || {}, methodDescriptor_V2_GetArtifact);
|
|
11484
|
+
};
|
|
11485
|
+
/**
|
|
11486
|
+
* @const
|
|
11487
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
11488
|
+
* !proto.clarifai.api.ListArtifactsRequest,
|
|
11489
|
+
* !proto.clarifai.api.MultiArtifactResponse>}
|
|
11490
|
+
*/
|
|
11491
|
+
const methodDescriptor_V2_ListArtifacts = new grpc.web.MethodDescriptor('/clarifai.api.V2/ListArtifacts', grpc.web.MethodType.UNARY, proto.clarifai.api.ListArtifactsRequest, proto.clarifai.api.MultiArtifactResponse,
|
|
11492
|
+
/**
|
|
11493
|
+
* @param {!proto.clarifai.api.ListArtifactsRequest} request
|
|
11494
|
+
* @return {!Uint8Array}
|
|
11495
|
+
*/
|
|
11496
|
+
function (request) {
|
|
11497
|
+
return request.serializeBinary();
|
|
11498
|
+
}, proto.clarifai.api.MultiArtifactResponse.deserializeBinary);
|
|
11499
|
+
/**
|
|
11500
|
+
* @param {!proto.clarifai.api.ListArtifactsRequest} request The
|
|
11501
|
+
* request proto
|
|
11502
|
+
* @param {?Object<string, string>} metadata User defined
|
|
11503
|
+
* call metadata
|
|
11504
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiArtifactResponse)}
|
|
11505
|
+
* callback The callback function(error, response)
|
|
11506
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiArtifactResponse>|undefined}
|
|
11507
|
+
* The XHR Node Readable Stream
|
|
11508
|
+
*/
|
|
11509
|
+
proto.clarifai.api.V2Client.prototype.listArtifacts =
|
|
11510
|
+
function (request, metadata, callback) {
|
|
11511
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
11512
|
+
'/clarifai.api.V2/ListArtifacts', request, metadata || {}, methodDescriptor_V2_ListArtifacts, callback);
|
|
11513
|
+
};
|
|
11514
|
+
/**
|
|
11515
|
+
* @param {!proto.clarifai.api.ListArtifactsRequest} request The
|
|
11516
|
+
* request proto
|
|
11517
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
11518
|
+
* call metadata
|
|
11519
|
+
* @return {!Promise<!proto.clarifai.api.MultiArtifactResponse>}
|
|
11520
|
+
* Promise that resolves to the response
|
|
11521
|
+
*/
|
|
11522
|
+
proto.clarifai.api.V2PromiseClient.prototype.listArtifacts =
|
|
11523
|
+
function (request, metadata) {
|
|
11524
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
11525
|
+
'/clarifai.api.V2/ListArtifacts', request, metadata || {}, methodDescriptor_V2_ListArtifacts);
|
|
11526
|
+
};
|
|
11527
|
+
/**
|
|
11528
|
+
* @const
|
|
11529
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
11530
|
+
* !proto.clarifai.api.DeleteArtifactRequest,
|
|
11531
|
+
* !proto.clarifai.api.status.BaseResponse>}
|
|
11532
|
+
*/
|
|
11533
|
+
const methodDescriptor_V2_DeleteArtifact = new grpc.web.MethodDescriptor('/clarifai.api.V2/DeleteArtifact', grpc.web.MethodType.UNARY, proto.clarifai.api.DeleteArtifactRequest, proto_clarifai_api_status_status_pb.BaseResponse,
|
|
11534
|
+
/**
|
|
11535
|
+
* @param {!proto.clarifai.api.DeleteArtifactRequest} request
|
|
11536
|
+
* @return {!Uint8Array}
|
|
11537
|
+
*/
|
|
11538
|
+
function (request) {
|
|
11539
|
+
return request.serializeBinary();
|
|
11540
|
+
}, proto_clarifai_api_status_status_pb.BaseResponse.deserializeBinary);
|
|
11541
|
+
/**
|
|
11542
|
+
* @param {!proto.clarifai.api.DeleteArtifactRequest} request The
|
|
11543
|
+
* request proto
|
|
11544
|
+
* @param {?Object<string, string>} metadata User defined
|
|
11545
|
+
* call metadata
|
|
11546
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.status.BaseResponse)}
|
|
11547
|
+
* callback The callback function(error, response)
|
|
11548
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.status.BaseResponse>|undefined}
|
|
11549
|
+
* The XHR Node Readable Stream
|
|
11550
|
+
*/
|
|
11551
|
+
proto.clarifai.api.V2Client.prototype.deleteArtifact =
|
|
11552
|
+
function (request, metadata, callback) {
|
|
11553
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
11554
|
+
'/clarifai.api.V2/DeleteArtifact', request, metadata || {}, methodDescriptor_V2_DeleteArtifact, callback);
|
|
11555
|
+
};
|
|
11556
|
+
/**
|
|
11557
|
+
* @param {!proto.clarifai.api.DeleteArtifactRequest} request The
|
|
11558
|
+
* request proto
|
|
11559
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
11560
|
+
* call metadata
|
|
11561
|
+
* @return {!Promise<!proto.clarifai.api.status.BaseResponse>}
|
|
11562
|
+
* Promise that resolves to the response
|
|
11563
|
+
*/
|
|
11564
|
+
proto.clarifai.api.V2PromiseClient.prototype.deleteArtifact =
|
|
11565
|
+
function (request, metadata) {
|
|
11566
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
11567
|
+
'/clarifai.api.V2/DeleteArtifact', request, metadata || {}, methodDescriptor_V2_DeleteArtifact);
|
|
11568
|
+
};
|
|
11569
|
+
/**
|
|
11570
|
+
* @const
|
|
11571
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
11572
|
+
* !proto.clarifai.api.ListArtifactVersionsRequest,
|
|
11573
|
+
* !proto.clarifai.api.MultiArtifactVersionResponse>}
|
|
11574
|
+
*/
|
|
11575
|
+
const methodDescriptor_V2_ListArtifactVersions = new grpc.web.MethodDescriptor('/clarifai.api.V2/ListArtifactVersions', grpc.web.MethodType.UNARY, proto.clarifai.api.ListArtifactVersionsRequest, proto.clarifai.api.MultiArtifactVersionResponse,
|
|
11576
|
+
/**
|
|
11577
|
+
* @param {!proto.clarifai.api.ListArtifactVersionsRequest} request
|
|
11578
|
+
* @return {!Uint8Array}
|
|
11579
|
+
*/
|
|
11580
|
+
function (request) {
|
|
11581
|
+
return request.serializeBinary();
|
|
11582
|
+
}, proto.clarifai.api.MultiArtifactVersionResponse.deserializeBinary);
|
|
11583
|
+
/**
|
|
11584
|
+
* @param {!proto.clarifai.api.ListArtifactVersionsRequest} request The
|
|
11585
|
+
* request proto
|
|
11586
|
+
* @param {?Object<string, string>} metadata User defined
|
|
11587
|
+
* call metadata
|
|
11588
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiArtifactVersionResponse)}
|
|
11589
|
+
* callback The callback function(error, response)
|
|
11590
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiArtifactVersionResponse>|undefined}
|
|
11591
|
+
* The XHR Node Readable Stream
|
|
11592
|
+
*/
|
|
11593
|
+
proto.clarifai.api.V2Client.prototype.listArtifactVersions =
|
|
11594
|
+
function (request, metadata, callback) {
|
|
11595
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
11596
|
+
'/clarifai.api.V2/ListArtifactVersions', request, metadata || {}, methodDescriptor_V2_ListArtifactVersions, callback);
|
|
11597
|
+
};
|
|
11598
|
+
/**
|
|
11599
|
+
* @param {!proto.clarifai.api.ListArtifactVersionsRequest} request The
|
|
11600
|
+
* request proto
|
|
11601
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
11602
|
+
* call metadata
|
|
11603
|
+
* @return {!Promise<!proto.clarifai.api.MultiArtifactVersionResponse>}
|
|
11604
|
+
* Promise that resolves to the response
|
|
11605
|
+
*/
|
|
11606
|
+
proto.clarifai.api.V2PromiseClient.prototype.listArtifactVersions =
|
|
11607
|
+
function (request, metadata) {
|
|
11608
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
11609
|
+
'/clarifai.api.V2/ListArtifactVersions', request, metadata || {}, methodDescriptor_V2_ListArtifactVersions);
|
|
11610
|
+
};
|
|
11611
|
+
/**
|
|
11612
|
+
* @const
|
|
11613
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
11614
|
+
* !proto.clarifai.api.GetArtifactVersionRequest,
|
|
11615
|
+
* !proto.clarifai.api.SingleArtifactVersionResponse>}
|
|
11616
|
+
*/
|
|
11617
|
+
const methodDescriptor_V2_GetArtifactVersion = new grpc.web.MethodDescriptor('/clarifai.api.V2/GetArtifactVersion', grpc.web.MethodType.UNARY, proto.clarifai.api.GetArtifactVersionRequest, proto.clarifai.api.SingleArtifactVersionResponse,
|
|
11618
|
+
/**
|
|
11619
|
+
* @param {!proto.clarifai.api.GetArtifactVersionRequest} request
|
|
11620
|
+
* @return {!Uint8Array}
|
|
11621
|
+
*/
|
|
11622
|
+
function (request) {
|
|
11623
|
+
return request.serializeBinary();
|
|
11624
|
+
}, proto.clarifai.api.SingleArtifactVersionResponse.deserializeBinary);
|
|
11625
|
+
/**
|
|
11626
|
+
* @param {!proto.clarifai.api.GetArtifactVersionRequest} request The
|
|
11627
|
+
* request proto
|
|
11628
|
+
* @param {?Object<string, string>} metadata User defined
|
|
11629
|
+
* call metadata
|
|
11630
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.SingleArtifactVersionResponse)}
|
|
11631
|
+
* callback The callback function(error, response)
|
|
11632
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.SingleArtifactVersionResponse>|undefined}
|
|
11633
|
+
* The XHR Node Readable Stream
|
|
11634
|
+
*/
|
|
11635
|
+
proto.clarifai.api.V2Client.prototype.getArtifactVersion =
|
|
11636
|
+
function (request, metadata, callback) {
|
|
11637
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
11638
|
+
'/clarifai.api.V2/GetArtifactVersion', request, metadata || {}, methodDescriptor_V2_GetArtifactVersion, callback);
|
|
11639
|
+
};
|
|
11640
|
+
/**
|
|
11641
|
+
* @param {!proto.clarifai.api.GetArtifactVersionRequest} request The
|
|
11642
|
+
* request proto
|
|
11643
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
11644
|
+
* call metadata
|
|
11645
|
+
* @return {!Promise<!proto.clarifai.api.SingleArtifactVersionResponse>}
|
|
11646
|
+
* Promise that resolves to the response
|
|
11647
|
+
*/
|
|
11648
|
+
proto.clarifai.api.V2PromiseClient.prototype.getArtifactVersion =
|
|
11649
|
+
function (request, metadata) {
|
|
11650
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
11651
|
+
'/clarifai.api.V2/GetArtifactVersion', request, metadata || {}, methodDescriptor_V2_GetArtifactVersion);
|
|
11652
|
+
};
|
|
11653
|
+
/**
|
|
11654
|
+
* @const
|
|
11655
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
11656
|
+
* !proto.clarifai.api.DeleteArtifactVersionRequest,
|
|
11657
|
+
* !proto.clarifai.api.status.BaseResponse>}
|
|
11658
|
+
*/
|
|
11659
|
+
const methodDescriptor_V2_DeleteArtifactVersion = new grpc.web.MethodDescriptor('/clarifai.api.V2/DeleteArtifactVersion', grpc.web.MethodType.UNARY, proto.clarifai.api.DeleteArtifactVersionRequest, proto_clarifai_api_status_status_pb.BaseResponse,
|
|
11660
|
+
/**
|
|
11661
|
+
* @param {!proto.clarifai.api.DeleteArtifactVersionRequest} request
|
|
11662
|
+
* @return {!Uint8Array}
|
|
11663
|
+
*/
|
|
11664
|
+
function (request) {
|
|
11665
|
+
return request.serializeBinary();
|
|
11666
|
+
}, proto_clarifai_api_status_status_pb.BaseResponse.deserializeBinary);
|
|
11667
|
+
/**
|
|
11668
|
+
* @param {!proto.clarifai.api.DeleteArtifactVersionRequest} request The
|
|
11669
|
+
* request proto
|
|
11670
|
+
* @param {?Object<string, string>} metadata User defined
|
|
11671
|
+
* call metadata
|
|
11672
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.status.BaseResponse)}
|
|
11673
|
+
* callback The callback function(error, response)
|
|
11674
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.status.BaseResponse>|undefined}
|
|
11675
|
+
* The XHR Node Readable Stream
|
|
11676
|
+
*/
|
|
11677
|
+
proto.clarifai.api.V2Client.prototype.deleteArtifactVersion =
|
|
11678
|
+
function (request, metadata, callback) {
|
|
11679
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
11680
|
+
'/clarifai.api.V2/DeleteArtifactVersion', request, metadata || {}, methodDescriptor_V2_DeleteArtifactVersion, callback);
|
|
11681
|
+
};
|
|
11682
|
+
/**
|
|
11683
|
+
* @param {!proto.clarifai.api.DeleteArtifactVersionRequest} request The
|
|
11684
|
+
* request proto
|
|
11685
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
11686
|
+
* call metadata
|
|
11687
|
+
* @return {!Promise<!proto.clarifai.api.status.BaseResponse>}
|
|
11688
|
+
* Promise that resolves to the response
|
|
11689
|
+
*/
|
|
11690
|
+
proto.clarifai.api.V2PromiseClient.prototype.deleteArtifactVersion =
|
|
11691
|
+
function (request, metadata) {
|
|
11692
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
11693
|
+
'/clarifai.api.V2/DeleteArtifactVersion', request, metadata || {}, methodDescriptor_V2_DeleteArtifactVersion);
|
|
11694
|
+
};
|
|
11279
11695
|
/**
|
|
11280
11696
|
* @const
|
|
11281
11697
|
* @type {!grpc.web.MethodDescriptor<
|