clarifai-web-grpc 9.6.1 → 9.10.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/ci.yml +25 -17
- package/README.md +1 -1
- package/VERSION +1 -1
- package/dist/cjs/google/api/annotations_pb.d.ts +1 -0
- package/dist/cjs/google/api/annotations_pb.js +32 -0
- package/dist/cjs/google/api/http_pb.d.ts +1 -0
- package/dist/cjs/google/api/http_pb.js +813 -0
- package/dist/cjs/index.d.ts +7 -0
- package/dist/cjs/index.js +2 -1
- package/dist/cjs/proto/clarifai/api/resources_pb.d.ts +1 -0
- package/dist/cjs/proto/clarifai/api/resources_pb.js +51179 -0
- package/dist/cjs/proto/clarifai/api/service_grpc_web_pb.d.ts +5 -0
- package/dist/cjs/proto/clarifai/api/service_grpc_web_pb.js +9103 -0
- package/dist/cjs/proto/clarifai/api/service_pb.d.ts +1 -0
- package/dist/cjs/proto/clarifai/api/service_pb.js +67405 -0
- package/dist/cjs/proto/clarifai/api/status/status_code_pb.d.ts +1 -0
- package/dist/cjs/proto/clarifai/api/status/status_code_pb.js +376 -0
- package/dist/cjs/proto/clarifai/api/status/status_pb.d.ts +1 -0
- package/dist/cjs/proto/clarifai/api/status/status_pb.js +717 -0
- package/dist/cjs/proto/clarifai/api/utils/extensions_pb.d.ts +1 -0
- package/dist/cjs/proto/clarifai/api/utils/extensions_pb.js +60 -0
- package/dist/cjs/proto/clarifai/api/utils/matrix_pb.d.ts +1 -0
- package/dist/cjs/proto/clarifai/api/utils/matrix_pb.js +197 -0
- package/dist/cjs/proto/clarifai/api/utils/test_proto_pb.d.ts +1 -0
- package/dist/cjs/proto/clarifai/api/utils/test_proto_pb.js +529 -0
- package/dist/cjs/proto/clarifai/auth/scope/scope_pb.d.ts +1 -0
- package/dist/cjs/proto/clarifai/auth/scope/scope_pb.js +332 -0
- package/dist/cjs/proto/clarifai/auth/types/types_pb.d.ts +1 -0
- package/dist/cjs/proto/clarifai/auth/types/types_pb.js +34 -0
- package/dist/cjs/proto/clarifai/auth/util/extension_pb.d.ts +1 -0
- package/dist/cjs/proto/clarifai/auth/util/extension_pb.js +88 -0
- package/dist/cjs/resources.d.ts +1 -0
- package/dist/cjs/resources.js +13 -0
- package/dist/cjs/service.d.ts +1 -0
- package/dist/cjs/service.js +13 -0
- package/dist/esm/google/api/annotations_pb.d.ts +1 -0
- package/dist/esm/google/api/annotations_pb.js +32 -0
- package/dist/esm/google/api/http_pb.d.ts +1 -0
- package/dist/esm/google/api/http_pb.js +813 -0
- package/dist/esm/index.d.ts +7 -0
- package/dist/esm/index.js +10 -0
- package/dist/esm/proto/clarifai/api/resources_pb.d.ts +1 -0
- package/dist/esm/proto/clarifai/api/resources_pb.js +51179 -0
- package/dist/esm/proto/clarifai/api/service_grpc_web_pb.d.ts +5 -0
- package/dist/esm/proto/clarifai/api/service_grpc_web_pb.js +9103 -0
- package/dist/esm/proto/clarifai/api/service_pb.d.ts +1 -0
- package/dist/esm/proto/clarifai/api/service_pb.js +67405 -0
- package/dist/esm/proto/clarifai/api/status/status_code_pb.d.ts +1 -0
- package/dist/esm/proto/clarifai/api/status/status_code_pb.js +376 -0
- package/dist/esm/proto/clarifai/api/status/status_pb.d.ts +1 -0
- package/dist/esm/proto/clarifai/api/status/status_pb.js +717 -0
- package/dist/esm/proto/clarifai/api/utils/extensions_pb.d.ts +1 -0
- package/dist/esm/proto/clarifai/api/utils/extensions_pb.js +60 -0
- package/dist/esm/proto/clarifai/api/utils/matrix_pb.d.ts +1 -0
- package/dist/esm/proto/clarifai/api/utils/matrix_pb.js +197 -0
- package/dist/esm/proto/clarifai/api/utils/test_proto_pb.d.ts +1 -0
- package/dist/esm/proto/clarifai/api/utils/test_proto_pb.js +529 -0
- package/dist/esm/proto/clarifai/auth/scope/scope_pb.d.ts +1 -0
- package/dist/esm/proto/clarifai/auth/scope/scope_pb.js +332 -0
- package/dist/esm/proto/clarifai/auth/types/types_pb.d.ts +1 -0
- package/dist/esm/proto/clarifai/auth/types/types_pb.js +34 -0
- package/dist/esm/proto/clarifai/auth/util/extension_pb.d.ts +1 -0
- package/dist/esm/proto/clarifai/auth/util/extension_pb.js +88 -0
- package/dist/esm/resources.d.ts +1 -0
- package/dist/esm/resources.js +1 -0
- package/dist/esm/service.d.ts +1 -0
- package/dist/esm/service.js +1 -0
- package/index.ts +2 -1
- package/package.json +1 -1
- package/proto/clarifai/api/resources_pb.d.ts +352 -27
- package/proto/clarifai/api/resources_pb.js +2840 -232
- package/proto/clarifai/api/service_grpc_web_pb.d.ts +96 -0
- package/proto/clarifai/api/service_grpc_web_pb.js +488 -0
- package/proto/clarifai/api/service_pb.d.ts +742 -46
- package/proto/clarifai/api/service_pb.js +12437 -6437
- package/proto/clarifai/api/status/status_code_pb.d.ts +7 -1
- package/proto/clarifai/api/status/status_code_pb.js +7 -1
- package/proto/clarifai/auth/scope/scope_pb.d.ts +5 -0
- package/proto/clarifai/auth/scope/scope_pb.js +6 -1
|
@@ -191,6 +191,13 @@ export class V2Client {
|
|
|
191
191
|
response: proto_clarifai_api_service_pb.MultiSearchResponse) => void
|
|
192
192
|
): grpcWeb.ClientReadableStream<proto_clarifai_api_service_pb.MultiSearchResponse>;
|
|
193
193
|
|
|
194
|
+
listAnnotationWorkers(
|
|
195
|
+
request: proto_clarifai_api_service_pb.ListAnnotationWorkersRequest,
|
|
196
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
197
|
+
callback: (err: grpcWeb.RpcError,
|
|
198
|
+
response: proto_clarifai_api_service_pb.MultiWorkerResponse) => void
|
|
199
|
+
): grpcWeb.ClientReadableStream<proto_clarifai_api_service_pb.MultiWorkerResponse>;
|
|
200
|
+
|
|
194
201
|
getInputCount(
|
|
195
202
|
request: proto_clarifai_api_service_pb.GetInputCountRequest,
|
|
196
203
|
metadata: grpcWeb.Metadata | undefined,
|
|
@@ -1458,6 +1465,55 @@ export class V2Client {
|
|
|
1458
1465
|
response: proto_clarifai_api_service_pb.MultiInputsAddJobResponse) => void
|
|
1459
1466
|
): grpcWeb.ClientReadableStream<proto_clarifai_api_service_pb.MultiInputsAddJobResponse>;
|
|
1460
1467
|
|
|
1468
|
+
getRunner(
|
|
1469
|
+
request: proto_clarifai_api_service_pb.GetRunnerRequest,
|
|
1470
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
1471
|
+
callback: (err: grpcWeb.RpcError,
|
|
1472
|
+
response: proto_clarifai_api_service_pb.SingleRunnerResponse) => void
|
|
1473
|
+
): grpcWeb.ClientReadableStream<proto_clarifai_api_service_pb.SingleRunnerResponse>;
|
|
1474
|
+
|
|
1475
|
+
listRunners(
|
|
1476
|
+
request: proto_clarifai_api_service_pb.ListRunnersRequest,
|
|
1477
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
1478
|
+
callback: (err: grpcWeb.RpcError,
|
|
1479
|
+
response: proto_clarifai_api_service_pb.MultiRunnerResponse) => void
|
|
1480
|
+
): grpcWeb.ClientReadableStream<proto_clarifai_api_service_pb.MultiRunnerResponse>;
|
|
1481
|
+
|
|
1482
|
+
postRunners(
|
|
1483
|
+
request: proto_clarifai_api_service_pb.PostRunnersRequest,
|
|
1484
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
1485
|
+
callback: (err: grpcWeb.RpcError,
|
|
1486
|
+
response: proto_clarifai_api_service_pb.MultiRunnerResponse) => void
|
|
1487
|
+
): grpcWeb.ClientReadableStream<proto_clarifai_api_service_pb.MultiRunnerResponse>;
|
|
1488
|
+
|
|
1489
|
+
deleteRunners(
|
|
1490
|
+
request: proto_clarifai_api_service_pb.DeleteRunnersRequest,
|
|
1491
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
1492
|
+
callback: (err: grpcWeb.RpcError,
|
|
1493
|
+
response: proto_clarifai_api_status_status_pb.BaseResponse) => void
|
|
1494
|
+
): grpcWeb.ClientReadableStream<proto_clarifai_api_status_status_pb.BaseResponse>;
|
|
1495
|
+
|
|
1496
|
+
listRunnerItems(
|
|
1497
|
+
request: proto_clarifai_api_service_pb.ListRunnerItemsRequest,
|
|
1498
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
1499
|
+
callback: (err: grpcWeb.RpcError,
|
|
1500
|
+
response: proto_clarifai_api_service_pb.MultiRunnerItemResponse) => void
|
|
1501
|
+
): grpcWeb.ClientReadableStream<proto_clarifai_api_service_pb.MultiRunnerItemResponse>;
|
|
1502
|
+
|
|
1503
|
+
postRunnerItemOutputs(
|
|
1504
|
+
request: proto_clarifai_api_service_pb.PostRunnerItemOutputsRequest,
|
|
1505
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
1506
|
+
callback: (err: grpcWeb.RpcError,
|
|
1507
|
+
response: proto_clarifai_api_service_pb.MultiRunnerItemOutputResponse) => void
|
|
1508
|
+
): grpcWeb.ClientReadableStream<proto_clarifai_api_service_pb.MultiRunnerItemOutputResponse>;
|
|
1509
|
+
|
|
1510
|
+
postModelVersionsTrainingTimeEstimate(
|
|
1511
|
+
request: proto_clarifai_api_service_pb.PostModelVersionsTrainingTimeEstimateRequest,
|
|
1512
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
1513
|
+
callback: (err: grpcWeb.RpcError,
|
|
1514
|
+
response: proto_clarifai_api_service_pb.MultiTrainingTimeEstimateResponse) => void
|
|
1515
|
+
): grpcWeb.ClientReadableStream<proto_clarifai_api_service_pb.MultiTrainingTimeEstimateResponse>;
|
|
1516
|
+
|
|
1461
1517
|
}
|
|
1462
1518
|
|
|
1463
1519
|
export class V2PromiseClient {
|
|
@@ -1595,6 +1651,11 @@ export class V2PromiseClient {
|
|
|
1595
1651
|
metadata?: grpcWeb.Metadata
|
|
1596
1652
|
): Promise<proto_clarifai_api_service_pb.MultiSearchResponse>;
|
|
1597
1653
|
|
|
1654
|
+
listAnnotationWorkers(
|
|
1655
|
+
request: proto_clarifai_api_service_pb.ListAnnotationWorkersRequest,
|
|
1656
|
+
metadata?: grpcWeb.Metadata
|
|
1657
|
+
): Promise<proto_clarifai_api_service_pb.MultiWorkerResponse>;
|
|
1658
|
+
|
|
1598
1659
|
getInputCount(
|
|
1599
1660
|
request: proto_clarifai_api_service_pb.GetInputCountRequest,
|
|
1600
1661
|
metadata?: grpcWeb.Metadata
|
|
@@ -2500,5 +2561,40 @@ export class V2PromiseClient {
|
|
|
2500
2561
|
metadata?: grpcWeb.Metadata
|
|
2501
2562
|
): Promise<proto_clarifai_api_service_pb.MultiInputsAddJobResponse>;
|
|
2502
2563
|
|
|
2564
|
+
getRunner(
|
|
2565
|
+
request: proto_clarifai_api_service_pb.GetRunnerRequest,
|
|
2566
|
+
metadata?: grpcWeb.Metadata
|
|
2567
|
+
): Promise<proto_clarifai_api_service_pb.SingleRunnerResponse>;
|
|
2568
|
+
|
|
2569
|
+
listRunners(
|
|
2570
|
+
request: proto_clarifai_api_service_pb.ListRunnersRequest,
|
|
2571
|
+
metadata?: grpcWeb.Metadata
|
|
2572
|
+
): Promise<proto_clarifai_api_service_pb.MultiRunnerResponse>;
|
|
2573
|
+
|
|
2574
|
+
postRunners(
|
|
2575
|
+
request: proto_clarifai_api_service_pb.PostRunnersRequest,
|
|
2576
|
+
metadata?: grpcWeb.Metadata
|
|
2577
|
+
): Promise<proto_clarifai_api_service_pb.MultiRunnerResponse>;
|
|
2578
|
+
|
|
2579
|
+
deleteRunners(
|
|
2580
|
+
request: proto_clarifai_api_service_pb.DeleteRunnersRequest,
|
|
2581
|
+
metadata?: grpcWeb.Metadata
|
|
2582
|
+
): Promise<proto_clarifai_api_status_status_pb.BaseResponse>;
|
|
2583
|
+
|
|
2584
|
+
listRunnerItems(
|
|
2585
|
+
request: proto_clarifai_api_service_pb.ListRunnerItemsRequest,
|
|
2586
|
+
metadata?: grpcWeb.Metadata
|
|
2587
|
+
): Promise<proto_clarifai_api_service_pb.MultiRunnerItemResponse>;
|
|
2588
|
+
|
|
2589
|
+
postRunnerItemOutputs(
|
|
2590
|
+
request: proto_clarifai_api_service_pb.PostRunnerItemOutputsRequest,
|
|
2591
|
+
metadata?: grpcWeb.Metadata
|
|
2592
|
+
): Promise<proto_clarifai_api_service_pb.MultiRunnerItemOutputResponse>;
|
|
2593
|
+
|
|
2594
|
+
postModelVersionsTrainingTimeEstimate(
|
|
2595
|
+
request: proto_clarifai_api_service_pb.PostModelVersionsTrainingTimeEstimateRequest,
|
|
2596
|
+
metadata?: grpcWeb.Metadata
|
|
2597
|
+
): Promise<proto_clarifai_api_service_pb.MultiTrainingTimeEstimateResponse>;
|
|
2598
|
+
|
|
2503
2599
|
}
|
|
2504
2600
|
|
|
@@ -1681,6 +1681,67 @@ proto.clarifai.api.V2PromiseClient.prototype.postAnnotationsSearches =
|
|
|
1681
1681
|
};
|
|
1682
1682
|
|
|
1683
1683
|
|
|
1684
|
+
/**
|
|
1685
|
+
* @const
|
|
1686
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
1687
|
+
* !proto.clarifai.api.ListAnnotationWorkersRequest,
|
|
1688
|
+
* !proto.clarifai.api.MultiWorkerResponse>}
|
|
1689
|
+
*/
|
|
1690
|
+
const methodDescriptor_V2_ListAnnotationWorkers = new grpc.web.MethodDescriptor(
|
|
1691
|
+
'/clarifai.api.V2/ListAnnotationWorkers',
|
|
1692
|
+
grpc.web.MethodType.UNARY,
|
|
1693
|
+
proto.clarifai.api.ListAnnotationWorkersRequest,
|
|
1694
|
+
proto.clarifai.api.MultiWorkerResponse,
|
|
1695
|
+
/**
|
|
1696
|
+
* @param {!proto.clarifai.api.ListAnnotationWorkersRequest} request
|
|
1697
|
+
* @return {!Uint8Array}
|
|
1698
|
+
*/
|
|
1699
|
+
function(request) {
|
|
1700
|
+
return request.serializeBinary();
|
|
1701
|
+
},
|
|
1702
|
+
proto.clarifai.api.MultiWorkerResponse.deserializeBinary
|
|
1703
|
+
);
|
|
1704
|
+
|
|
1705
|
+
|
|
1706
|
+
/**
|
|
1707
|
+
* @param {!proto.clarifai.api.ListAnnotationWorkersRequest} request The
|
|
1708
|
+
* request proto
|
|
1709
|
+
* @param {?Object<string, string>} metadata User defined
|
|
1710
|
+
* call metadata
|
|
1711
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiWorkerResponse)}
|
|
1712
|
+
* callback The callback function(error, response)
|
|
1713
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiWorkerResponse>|undefined}
|
|
1714
|
+
* The XHR Node Readable Stream
|
|
1715
|
+
*/
|
|
1716
|
+
proto.clarifai.api.V2Client.prototype.listAnnotationWorkers =
|
|
1717
|
+
function(request, metadata, callback) {
|
|
1718
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
1719
|
+
'/clarifai.api.V2/ListAnnotationWorkers',
|
|
1720
|
+
request,
|
|
1721
|
+
metadata || {},
|
|
1722
|
+
methodDescriptor_V2_ListAnnotationWorkers,
|
|
1723
|
+
callback);
|
|
1724
|
+
};
|
|
1725
|
+
|
|
1726
|
+
|
|
1727
|
+
/**
|
|
1728
|
+
* @param {!proto.clarifai.api.ListAnnotationWorkersRequest} request The
|
|
1729
|
+
* request proto
|
|
1730
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
1731
|
+
* call metadata
|
|
1732
|
+
* @return {!Promise<!proto.clarifai.api.MultiWorkerResponse>}
|
|
1733
|
+
* Promise that resolves to the response
|
|
1734
|
+
*/
|
|
1735
|
+
proto.clarifai.api.V2PromiseClient.prototype.listAnnotationWorkers =
|
|
1736
|
+
function(request, metadata) {
|
|
1737
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
1738
|
+
'/clarifai.api.V2/ListAnnotationWorkers',
|
|
1739
|
+
request,
|
|
1740
|
+
metadata || {},
|
|
1741
|
+
methodDescriptor_V2_ListAnnotationWorkers);
|
|
1742
|
+
};
|
|
1743
|
+
|
|
1744
|
+
|
|
1684
1745
|
/**
|
|
1685
1746
|
* @const
|
|
1686
1747
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -12722,5 +12783,432 @@ proto.clarifai.api.V2PromiseClient.prototype.postInputsUploads =
|
|
|
12722
12783
|
};
|
|
12723
12784
|
|
|
12724
12785
|
|
|
12786
|
+
/**
|
|
12787
|
+
* @const
|
|
12788
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
12789
|
+
* !proto.clarifai.api.GetRunnerRequest,
|
|
12790
|
+
* !proto.clarifai.api.SingleRunnerResponse>}
|
|
12791
|
+
*/
|
|
12792
|
+
const methodDescriptor_V2_GetRunner = new grpc.web.MethodDescriptor(
|
|
12793
|
+
'/clarifai.api.V2/GetRunner',
|
|
12794
|
+
grpc.web.MethodType.UNARY,
|
|
12795
|
+
proto.clarifai.api.GetRunnerRequest,
|
|
12796
|
+
proto.clarifai.api.SingleRunnerResponse,
|
|
12797
|
+
/**
|
|
12798
|
+
* @param {!proto.clarifai.api.GetRunnerRequest} request
|
|
12799
|
+
* @return {!Uint8Array}
|
|
12800
|
+
*/
|
|
12801
|
+
function(request) {
|
|
12802
|
+
return request.serializeBinary();
|
|
12803
|
+
},
|
|
12804
|
+
proto.clarifai.api.SingleRunnerResponse.deserializeBinary
|
|
12805
|
+
);
|
|
12806
|
+
|
|
12807
|
+
|
|
12808
|
+
/**
|
|
12809
|
+
* @param {!proto.clarifai.api.GetRunnerRequest} request The
|
|
12810
|
+
* request proto
|
|
12811
|
+
* @param {?Object<string, string>} metadata User defined
|
|
12812
|
+
* call metadata
|
|
12813
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.SingleRunnerResponse)}
|
|
12814
|
+
* callback The callback function(error, response)
|
|
12815
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.SingleRunnerResponse>|undefined}
|
|
12816
|
+
* The XHR Node Readable Stream
|
|
12817
|
+
*/
|
|
12818
|
+
proto.clarifai.api.V2Client.prototype.getRunner =
|
|
12819
|
+
function(request, metadata, callback) {
|
|
12820
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
12821
|
+
'/clarifai.api.V2/GetRunner',
|
|
12822
|
+
request,
|
|
12823
|
+
metadata || {},
|
|
12824
|
+
methodDescriptor_V2_GetRunner,
|
|
12825
|
+
callback);
|
|
12826
|
+
};
|
|
12827
|
+
|
|
12828
|
+
|
|
12829
|
+
/**
|
|
12830
|
+
* @param {!proto.clarifai.api.GetRunnerRequest} request The
|
|
12831
|
+
* request proto
|
|
12832
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
12833
|
+
* call metadata
|
|
12834
|
+
* @return {!Promise<!proto.clarifai.api.SingleRunnerResponse>}
|
|
12835
|
+
* Promise that resolves to the response
|
|
12836
|
+
*/
|
|
12837
|
+
proto.clarifai.api.V2PromiseClient.prototype.getRunner =
|
|
12838
|
+
function(request, metadata) {
|
|
12839
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
12840
|
+
'/clarifai.api.V2/GetRunner',
|
|
12841
|
+
request,
|
|
12842
|
+
metadata || {},
|
|
12843
|
+
methodDescriptor_V2_GetRunner);
|
|
12844
|
+
};
|
|
12845
|
+
|
|
12846
|
+
|
|
12847
|
+
/**
|
|
12848
|
+
* @const
|
|
12849
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
12850
|
+
* !proto.clarifai.api.ListRunnersRequest,
|
|
12851
|
+
* !proto.clarifai.api.MultiRunnerResponse>}
|
|
12852
|
+
*/
|
|
12853
|
+
const methodDescriptor_V2_ListRunners = new grpc.web.MethodDescriptor(
|
|
12854
|
+
'/clarifai.api.V2/ListRunners',
|
|
12855
|
+
grpc.web.MethodType.UNARY,
|
|
12856
|
+
proto.clarifai.api.ListRunnersRequest,
|
|
12857
|
+
proto.clarifai.api.MultiRunnerResponse,
|
|
12858
|
+
/**
|
|
12859
|
+
* @param {!proto.clarifai.api.ListRunnersRequest} request
|
|
12860
|
+
* @return {!Uint8Array}
|
|
12861
|
+
*/
|
|
12862
|
+
function(request) {
|
|
12863
|
+
return request.serializeBinary();
|
|
12864
|
+
},
|
|
12865
|
+
proto.clarifai.api.MultiRunnerResponse.deserializeBinary
|
|
12866
|
+
);
|
|
12867
|
+
|
|
12868
|
+
|
|
12869
|
+
/**
|
|
12870
|
+
* @param {!proto.clarifai.api.ListRunnersRequest} request The
|
|
12871
|
+
* request proto
|
|
12872
|
+
* @param {?Object<string, string>} metadata User defined
|
|
12873
|
+
* call metadata
|
|
12874
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiRunnerResponse)}
|
|
12875
|
+
* callback The callback function(error, response)
|
|
12876
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiRunnerResponse>|undefined}
|
|
12877
|
+
* The XHR Node Readable Stream
|
|
12878
|
+
*/
|
|
12879
|
+
proto.clarifai.api.V2Client.prototype.listRunners =
|
|
12880
|
+
function(request, metadata, callback) {
|
|
12881
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
12882
|
+
'/clarifai.api.V2/ListRunners',
|
|
12883
|
+
request,
|
|
12884
|
+
metadata || {},
|
|
12885
|
+
methodDescriptor_V2_ListRunners,
|
|
12886
|
+
callback);
|
|
12887
|
+
};
|
|
12888
|
+
|
|
12889
|
+
|
|
12890
|
+
/**
|
|
12891
|
+
* @param {!proto.clarifai.api.ListRunnersRequest} request The
|
|
12892
|
+
* request proto
|
|
12893
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
12894
|
+
* call metadata
|
|
12895
|
+
* @return {!Promise<!proto.clarifai.api.MultiRunnerResponse>}
|
|
12896
|
+
* Promise that resolves to the response
|
|
12897
|
+
*/
|
|
12898
|
+
proto.clarifai.api.V2PromiseClient.prototype.listRunners =
|
|
12899
|
+
function(request, metadata) {
|
|
12900
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
12901
|
+
'/clarifai.api.V2/ListRunners',
|
|
12902
|
+
request,
|
|
12903
|
+
metadata || {},
|
|
12904
|
+
methodDescriptor_V2_ListRunners);
|
|
12905
|
+
};
|
|
12906
|
+
|
|
12907
|
+
|
|
12908
|
+
/**
|
|
12909
|
+
* @const
|
|
12910
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
12911
|
+
* !proto.clarifai.api.PostRunnersRequest,
|
|
12912
|
+
* !proto.clarifai.api.MultiRunnerResponse>}
|
|
12913
|
+
*/
|
|
12914
|
+
const methodDescriptor_V2_PostRunners = new grpc.web.MethodDescriptor(
|
|
12915
|
+
'/clarifai.api.V2/PostRunners',
|
|
12916
|
+
grpc.web.MethodType.UNARY,
|
|
12917
|
+
proto.clarifai.api.PostRunnersRequest,
|
|
12918
|
+
proto.clarifai.api.MultiRunnerResponse,
|
|
12919
|
+
/**
|
|
12920
|
+
* @param {!proto.clarifai.api.PostRunnersRequest} request
|
|
12921
|
+
* @return {!Uint8Array}
|
|
12922
|
+
*/
|
|
12923
|
+
function(request) {
|
|
12924
|
+
return request.serializeBinary();
|
|
12925
|
+
},
|
|
12926
|
+
proto.clarifai.api.MultiRunnerResponse.deserializeBinary
|
|
12927
|
+
);
|
|
12928
|
+
|
|
12929
|
+
|
|
12930
|
+
/**
|
|
12931
|
+
* @param {!proto.clarifai.api.PostRunnersRequest} request The
|
|
12932
|
+
* request proto
|
|
12933
|
+
* @param {?Object<string, string>} metadata User defined
|
|
12934
|
+
* call metadata
|
|
12935
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiRunnerResponse)}
|
|
12936
|
+
* callback The callback function(error, response)
|
|
12937
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiRunnerResponse>|undefined}
|
|
12938
|
+
* The XHR Node Readable Stream
|
|
12939
|
+
*/
|
|
12940
|
+
proto.clarifai.api.V2Client.prototype.postRunners =
|
|
12941
|
+
function(request, metadata, callback) {
|
|
12942
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
12943
|
+
'/clarifai.api.V2/PostRunners',
|
|
12944
|
+
request,
|
|
12945
|
+
metadata || {},
|
|
12946
|
+
methodDescriptor_V2_PostRunners,
|
|
12947
|
+
callback);
|
|
12948
|
+
};
|
|
12949
|
+
|
|
12950
|
+
|
|
12951
|
+
/**
|
|
12952
|
+
* @param {!proto.clarifai.api.PostRunnersRequest} request The
|
|
12953
|
+
* request proto
|
|
12954
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
12955
|
+
* call metadata
|
|
12956
|
+
* @return {!Promise<!proto.clarifai.api.MultiRunnerResponse>}
|
|
12957
|
+
* Promise that resolves to the response
|
|
12958
|
+
*/
|
|
12959
|
+
proto.clarifai.api.V2PromiseClient.prototype.postRunners =
|
|
12960
|
+
function(request, metadata) {
|
|
12961
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
12962
|
+
'/clarifai.api.V2/PostRunners',
|
|
12963
|
+
request,
|
|
12964
|
+
metadata || {},
|
|
12965
|
+
methodDescriptor_V2_PostRunners);
|
|
12966
|
+
};
|
|
12967
|
+
|
|
12968
|
+
|
|
12969
|
+
/**
|
|
12970
|
+
* @const
|
|
12971
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
12972
|
+
* !proto.clarifai.api.DeleteRunnersRequest,
|
|
12973
|
+
* !proto.clarifai.api.status.BaseResponse>}
|
|
12974
|
+
*/
|
|
12975
|
+
const methodDescriptor_V2_DeleteRunners = new grpc.web.MethodDescriptor(
|
|
12976
|
+
'/clarifai.api.V2/DeleteRunners',
|
|
12977
|
+
grpc.web.MethodType.UNARY,
|
|
12978
|
+
proto.clarifai.api.DeleteRunnersRequest,
|
|
12979
|
+
proto_clarifai_api_status_status_pb.BaseResponse,
|
|
12980
|
+
/**
|
|
12981
|
+
* @param {!proto.clarifai.api.DeleteRunnersRequest} request
|
|
12982
|
+
* @return {!Uint8Array}
|
|
12983
|
+
*/
|
|
12984
|
+
function(request) {
|
|
12985
|
+
return request.serializeBinary();
|
|
12986
|
+
},
|
|
12987
|
+
proto_clarifai_api_status_status_pb.BaseResponse.deserializeBinary
|
|
12988
|
+
);
|
|
12989
|
+
|
|
12990
|
+
|
|
12991
|
+
/**
|
|
12992
|
+
* @param {!proto.clarifai.api.DeleteRunnersRequest} request The
|
|
12993
|
+
* request proto
|
|
12994
|
+
* @param {?Object<string, string>} metadata User defined
|
|
12995
|
+
* call metadata
|
|
12996
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.status.BaseResponse)}
|
|
12997
|
+
* callback The callback function(error, response)
|
|
12998
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.status.BaseResponse>|undefined}
|
|
12999
|
+
* The XHR Node Readable Stream
|
|
13000
|
+
*/
|
|
13001
|
+
proto.clarifai.api.V2Client.prototype.deleteRunners =
|
|
13002
|
+
function(request, metadata, callback) {
|
|
13003
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
13004
|
+
'/clarifai.api.V2/DeleteRunners',
|
|
13005
|
+
request,
|
|
13006
|
+
metadata || {},
|
|
13007
|
+
methodDescriptor_V2_DeleteRunners,
|
|
13008
|
+
callback);
|
|
13009
|
+
};
|
|
13010
|
+
|
|
13011
|
+
|
|
13012
|
+
/**
|
|
13013
|
+
* @param {!proto.clarifai.api.DeleteRunnersRequest} request The
|
|
13014
|
+
* request proto
|
|
13015
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
13016
|
+
* call metadata
|
|
13017
|
+
* @return {!Promise<!proto.clarifai.api.status.BaseResponse>}
|
|
13018
|
+
* Promise that resolves to the response
|
|
13019
|
+
*/
|
|
13020
|
+
proto.clarifai.api.V2PromiseClient.prototype.deleteRunners =
|
|
13021
|
+
function(request, metadata) {
|
|
13022
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
13023
|
+
'/clarifai.api.V2/DeleteRunners',
|
|
13024
|
+
request,
|
|
13025
|
+
metadata || {},
|
|
13026
|
+
methodDescriptor_V2_DeleteRunners);
|
|
13027
|
+
};
|
|
13028
|
+
|
|
13029
|
+
|
|
13030
|
+
/**
|
|
13031
|
+
* @const
|
|
13032
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
13033
|
+
* !proto.clarifai.api.ListRunnerItemsRequest,
|
|
13034
|
+
* !proto.clarifai.api.MultiRunnerItemResponse>}
|
|
13035
|
+
*/
|
|
13036
|
+
const methodDescriptor_V2_ListRunnerItems = new grpc.web.MethodDescriptor(
|
|
13037
|
+
'/clarifai.api.V2/ListRunnerItems',
|
|
13038
|
+
grpc.web.MethodType.UNARY,
|
|
13039
|
+
proto.clarifai.api.ListRunnerItemsRequest,
|
|
13040
|
+
proto.clarifai.api.MultiRunnerItemResponse,
|
|
13041
|
+
/**
|
|
13042
|
+
* @param {!proto.clarifai.api.ListRunnerItemsRequest} request
|
|
13043
|
+
* @return {!Uint8Array}
|
|
13044
|
+
*/
|
|
13045
|
+
function(request) {
|
|
13046
|
+
return request.serializeBinary();
|
|
13047
|
+
},
|
|
13048
|
+
proto.clarifai.api.MultiRunnerItemResponse.deserializeBinary
|
|
13049
|
+
);
|
|
13050
|
+
|
|
13051
|
+
|
|
13052
|
+
/**
|
|
13053
|
+
* @param {!proto.clarifai.api.ListRunnerItemsRequest} request The
|
|
13054
|
+
* request proto
|
|
13055
|
+
* @param {?Object<string, string>} metadata User defined
|
|
13056
|
+
* call metadata
|
|
13057
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiRunnerItemResponse)}
|
|
13058
|
+
* callback The callback function(error, response)
|
|
13059
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiRunnerItemResponse>|undefined}
|
|
13060
|
+
* The XHR Node Readable Stream
|
|
13061
|
+
*/
|
|
13062
|
+
proto.clarifai.api.V2Client.prototype.listRunnerItems =
|
|
13063
|
+
function(request, metadata, callback) {
|
|
13064
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
13065
|
+
'/clarifai.api.V2/ListRunnerItems',
|
|
13066
|
+
request,
|
|
13067
|
+
metadata || {},
|
|
13068
|
+
methodDescriptor_V2_ListRunnerItems,
|
|
13069
|
+
callback);
|
|
13070
|
+
};
|
|
13071
|
+
|
|
13072
|
+
|
|
13073
|
+
/**
|
|
13074
|
+
* @param {!proto.clarifai.api.ListRunnerItemsRequest} request The
|
|
13075
|
+
* request proto
|
|
13076
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
13077
|
+
* call metadata
|
|
13078
|
+
* @return {!Promise<!proto.clarifai.api.MultiRunnerItemResponse>}
|
|
13079
|
+
* Promise that resolves to the response
|
|
13080
|
+
*/
|
|
13081
|
+
proto.clarifai.api.V2PromiseClient.prototype.listRunnerItems =
|
|
13082
|
+
function(request, metadata) {
|
|
13083
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
13084
|
+
'/clarifai.api.V2/ListRunnerItems',
|
|
13085
|
+
request,
|
|
13086
|
+
metadata || {},
|
|
13087
|
+
methodDescriptor_V2_ListRunnerItems);
|
|
13088
|
+
};
|
|
13089
|
+
|
|
13090
|
+
|
|
13091
|
+
/**
|
|
13092
|
+
* @const
|
|
13093
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
13094
|
+
* !proto.clarifai.api.PostRunnerItemOutputsRequest,
|
|
13095
|
+
* !proto.clarifai.api.MultiRunnerItemOutputResponse>}
|
|
13096
|
+
*/
|
|
13097
|
+
const methodDescriptor_V2_PostRunnerItemOutputs = new grpc.web.MethodDescriptor(
|
|
13098
|
+
'/clarifai.api.V2/PostRunnerItemOutputs',
|
|
13099
|
+
grpc.web.MethodType.UNARY,
|
|
13100
|
+
proto.clarifai.api.PostRunnerItemOutputsRequest,
|
|
13101
|
+
proto.clarifai.api.MultiRunnerItemOutputResponse,
|
|
13102
|
+
/**
|
|
13103
|
+
* @param {!proto.clarifai.api.PostRunnerItemOutputsRequest} request
|
|
13104
|
+
* @return {!Uint8Array}
|
|
13105
|
+
*/
|
|
13106
|
+
function(request) {
|
|
13107
|
+
return request.serializeBinary();
|
|
13108
|
+
},
|
|
13109
|
+
proto.clarifai.api.MultiRunnerItemOutputResponse.deserializeBinary
|
|
13110
|
+
);
|
|
13111
|
+
|
|
13112
|
+
|
|
13113
|
+
/**
|
|
13114
|
+
* @param {!proto.clarifai.api.PostRunnerItemOutputsRequest} request The
|
|
13115
|
+
* request proto
|
|
13116
|
+
* @param {?Object<string, string>} metadata User defined
|
|
13117
|
+
* call metadata
|
|
13118
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiRunnerItemOutputResponse)}
|
|
13119
|
+
* callback The callback function(error, response)
|
|
13120
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiRunnerItemOutputResponse>|undefined}
|
|
13121
|
+
* The XHR Node Readable Stream
|
|
13122
|
+
*/
|
|
13123
|
+
proto.clarifai.api.V2Client.prototype.postRunnerItemOutputs =
|
|
13124
|
+
function(request, metadata, callback) {
|
|
13125
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
13126
|
+
'/clarifai.api.V2/PostRunnerItemOutputs',
|
|
13127
|
+
request,
|
|
13128
|
+
metadata || {},
|
|
13129
|
+
methodDescriptor_V2_PostRunnerItemOutputs,
|
|
13130
|
+
callback);
|
|
13131
|
+
};
|
|
13132
|
+
|
|
13133
|
+
|
|
13134
|
+
/**
|
|
13135
|
+
* @param {!proto.clarifai.api.PostRunnerItemOutputsRequest} request The
|
|
13136
|
+
* request proto
|
|
13137
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
13138
|
+
* call metadata
|
|
13139
|
+
* @return {!Promise<!proto.clarifai.api.MultiRunnerItemOutputResponse>}
|
|
13140
|
+
* Promise that resolves to the response
|
|
13141
|
+
*/
|
|
13142
|
+
proto.clarifai.api.V2PromiseClient.prototype.postRunnerItemOutputs =
|
|
13143
|
+
function(request, metadata) {
|
|
13144
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
13145
|
+
'/clarifai.api.V2/PostRunnerItemOutputs',
|
|
13146
|
+
request,
|
|
13147
|
+
metadata || {},
|
|
13148
|
+
methodDescriptor_V2_PostRunnerItemOutputs);
|
|
13149
|
+
};
|
|
13150
|
+
|
|
13151
|
+
|
|
13152
|
+
/**
|
|
13153
|
+
* @const
|
|
13154
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
13155
|
+
* !proto.clarifai.api.PostModelVersionsTrainingTimeEstimateRequest,
|
|
13156
|
+
* !proto.clarifai.api.MultiTrainingTimeEstimateResponse>}
|
|
13157
|
+
*/
|
|
13158
|
+
const methodDescriptor_V2_PostModelVersionsTrainingTimeEstimate = new grpc.web.MethodDescriptor(
|
|
13159
|
+
'/clarifai.api.V2/PostModelVersionsTrainingTimeEstimate',
|
|
13160
|
+
grpc.web.MethodType.UNARY,
|
|
13161
|
+
proto.clarifai.api.PostModelVersionsTrainingTimeEstimateRequest,
|
|
13162
|
+
proto.clarifai.api.MultiTrainingTimeEstimateResponse,
|
|
13163
|
+
/**
|
|
13164
|
+
* @param {!proto.clarifai.api.PostModelVersionsTrainingTimeEstimateRequest} request
|
|
13165
|
+
* @return {!Uint8Array}
|
|
13166
|
+
*/
|
|
13167
|
+
function(request) {
|
|
13168
|
+
return request.serializeBinary();
|
|
13169
|
+
},
|
|
13170
|
+
proto.clarifai.api.MultiTrainingTimeEstimateResponse.deserializeBinary
|
|
13171
|
+
);
|
|
13172
|
+
|
|
13173
|
+
|
|
13174
|
+
/**
|
|
13175
|
+
* @param {!proto.clarifai.api.PostModelVersionsTrainingTimeEstimateRequest} request The
|
|
13176
|
+
* request proto
|
|
13177
|
+
* @param {?Object<string, string>} metadata User defined
|
|
13178
|
+
* call metadata
|
|
13179
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiTrainingTimeEstimateResponse)}
|
|
13180
|
+
* callback The callback function(error, response)
|
|
13181
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiTrainingTimeEstimateResponse>|undefined}
|
|
13182
|
+
* The XHR Node Readable Stream
|
|
13183
|
+
*/
|
|
13184
|
+
proto.clarifai.api.V2Client.prototype.postModelVersionsTrainingTimeEstimate =
|
|
13185
|
+
function(request, metadata, callback) {
|
|
13186
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
13187
|
+
'/clarifai.api.V2/PostModelVersionsTrainingTimeEstimate',
|
|
13188
|
+
request,
|
|
13189
|
+
metadata || {},
|
|
13190
|
+
methodDescriptor_V2_PostModelVersionsTrainingTimeEstimate,
|
|
13191
|
+
callback);
|
|
13192
|
+
};
|
|
13193
|
+
|
|
13194
|
+
|
|
13195
|
+
/**
|
|
13196
|
+
* @param {!proto.clarifai.api.PostModelVersionsTrainingTimeEstimateRequest} request The
|
|
13197
|
+
* request proto
|
|
13198
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
13199
|
+
* call metadata
|
|
13200
|
+
* @return {!Promise<!proto.clarifai.api.MultiTrainingTimeEstimateResponse>}
|
|
13201
|
+
* Promise that resolves to the response
|
|
13202
|
+
*/
|
|
13203
|
+
proto.clarifai.api.V2PromiseClient.prototype.postModelVersionsTrainingTimeEstimate =
|
|
13204
|
+
function(request, metadata) {
|
|
13205
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
13206
|
+
'/clarifai.api.V2/PostModelVersionsTrainingTimeEstimate',
|
|
13207
|
+
request,
|
|
13208
|
+
metadata || {},
|
|
13209
|
+
methodDescriptor_V2_PostModelVersionsTrainingTimeEstimate);
|
|
13210
|
+
};
|
|
13211
|
+
|
|
13212
|
+
|
|
12725
13213
|
module.exports = proto.clarifai.api;
|
|
12726
13214
|
|