clarifai-web-grpc 5.1.0 → 9.6.1
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 +15 -8
- package/README.md +6 -0
- package/VERSION +1 -1
- package/package.json +2 -23
- package/proto/clarifai/api/resources_pb.d.ts +635 -34
- package/proto/clarifai/api/resources_pb.js +5808 -989
- package/proto/clarifai/api/service_grpc_web_pb.d.ts +168 -12
- package/proto/clarifai/api/service_grpc_web_pb.js +876 -79
- package/proto/clarifai/api/service_pb.d.ts +634 -54
- package/proto/clarifai/api/service_pb.js +5671 -739
- package/proto/clarifai/api/status/status_code_pb.d.ts +17 -1
- package/proto/clarifai/api/status/status_code_pb.js +17 -1
- package/.husky/commit-msg +0 -4
- package/CHANGELOG.md +0 -7
- package/dist/cjs/google/api/annotations_pb.d.ts +0 -1
- package/dist/cjs/google/api/annotations_pb.js +0 -32
- package/dist/cjs/google/api/http_pb.d.ts +0 -1
- package/dist/cjs/google/api/http_pb.js +0 -813
- package/dist/cjs/index.d.ts +0 -7
- package/dist/cjs/proto/clarifai/api/resources_pb.d.ts +0 -1
- package/dist/cjs/proto/clarifai/api/resources_pb.js +0 -45222
- package/dist/cjs/proto/clarifai/api/service_grpc_web_pb.d.ts +0 -5
- package/dist/cjs/proto/clarifai/api/service_grpc_web_pb.js +0 -8217
- package/dist/cjs/proto/clarifai/api/service_pb.d.ts +0 -1
- package/dist/cjs/proto/clarifai/api/service_pb.js +0 -58616
- package/dist/cjs/proto/clarifai/api/status/status_code_pb.d.ts +0 -1
- package/dist/cjs/proto/clarifai/api/status/status_code_pb.js +0 -354
- package/dist/cjs/proto/clarifai/api/status/status_pb.d.ts +0 -1
- package/dist/cjs/proto/clarifai/api/status/status_pb.js +0 -717
- package/dist/cjs/proto/clarifai/api/utils/extensions_pb.d.ts +0 -1
- package/dist/cjs/proto/clarifai/api/utils/extensions_pb.js +0 -60
- package/dist/cjs/proto/clarifai/api/utils/matrix_pb.d.ts +0 -1
- package/dist/cjs/proto/clarifai/api/utils/matrix_pb.js +0 -197
- package/dist/cjs/proto/clarifai/api/utils/test_proto_pb.d.ts +0 -1
- package/dist/cjs/proto/clarifai/api/utils/test_proto_pb.js +0 -529
- package/dist/cjs/proto/clarifai/auth/scope/scope_pb.d.ts +0 -1
- package/dist/cjs/proto/clarifai/auth/scope/scope_pb.js +0 -327
- package/dist/cjs/proto/clarifai/auth/types/types_pb.d.ts +0 -1
- package/dist/cjs/proto/clarifai/auth/types/types_pb.js +0 -34
- package/dist/cjs/proto/clarifai/auth/util/extension_pb.d.ts +0 -1
- package/dist/cjs/proto/clarifai/auth/util/extension_pb.js +0 -88
- package/dist/cjs/resources.d.ts +0 -1
- package/dist/cjs/resources.js +0 -13
- package/dist/cjs/service.d.ts +0 -1
- package/dist/cjs/service.js +0 -13
- package/dist/esm/google/api/annotations_pb.d.ts +0 -1
- package/dist/esm/google/api/annotations_pb.js +0 -32
- package/dist/esm/google/api/http_pb.d.ts +0 -1
- package/dist/esm/google/api/http_pb.js +0 -813
- package/dist/esm/index.d.ts +0 -7
- package/dist/esm/index.js +0 -9
- package/dist/esm/proto/clarifai/api/resources_pb.d.ts +0 -1
- package/dist/esm/proto/clarifai/api/resources_pb.js +0 -45222
- package/dist/esm/proto/clarifai/api/service_grpc_web_pb.d.ts +0 -5
- package/dist/esm/proto/clarifai/api/service_grpc_web_pb.js +0 -8217
- package/dist/esm/proto/clarifai/api/service_pb.d.ts +0 -1
- package/dist/esm/proto/clarifai/api/service_pb.js +0 -58616
- package/dist/esm/proto/clarifai/api/status/status_code_pb.d.ts +0 -1
- package/dist/esm/proto/clarifai/api/status/status_code_pb.js +0 -354
- package/dist/esm/proto/clarifai/api/status/status_pb.d.ts +0 -1
- package/dist/esm/proto/clarifai/api/status/status_pb.js +0 -717
- package/dist/esm/proto/clarifai/api/utils/extensions_pb.d.ts +0 -1
- package/dist/esm/proto/clarifai/api/utils/extensions_pb.js +0 -60
- package/dist/esm/proto/clarifai/api/utils/matrix_pb.d.ts +0 -1
- package/dist/esm/proto/clarifai/api/utils/matrix_pb.js +0 -197
- package/dist/esm/proto/clarifai/api/utils/test_proto_pb.d.ts +0 -1
- package/dist/esm/proto/clarifai/api/utils/test_proto_pb.js +0 -529
- package/dist/esm/proto/clarifai/auth/scope/scope_pb.d.ts +0 -1
- package/dist/esm/proto/clarifai/auth/scope/scope_pb.js +0 -327
- package/dist/esm/proto/clarifai/auth/types/types_pb.d.ts +0 -1
- package/dist/esm/proto/clarifai/auth/types/types_pb.js +0 -34
- package/dist/esm/proto/clarifai/auth/util/extension_pb.d.ts +0 -1
- package/dist/esm/proto/clarifai/auth/util/extension_pb.js +0 -88
- package/dist/esm/resources.d.ts +0 -1
- package/dist/esm/resources.js +0 -1
- package/dist/esm/service.d.ts +0 -1
- package/dist/esm/service.js +0 -1
- package/package.json-E +0 -52
|
@@ -4,7 +4,11 @@
|
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
//
|
|
7
|
+
// Code generated by protoc-gen-grpc-web. DO NOT EDIT.
|
|
8
|
+
// versions:
|
|
9
|
+
// protoc-gen-grpc-web v1.4.2
|
|
10
|
+
// protoc v3.21.6
|
|
11
|
+
// source: proto/clarifai/api/service.proto
|
|
8
12
|
|
|
9
13
|
|
|
10
14
|
/* eslint-disable */
|
|
@@ -60,7 +64,7 @@ proto.clarifai.api.V2Client =
|
|
|
60
64
|
/**
|
|
61
65
|
* @private @const {string} The hostname
|
|
62
66
|
*/
|
|
63
|
-
this.hostname_ = hostname;
|
|
67
|
+
this.hostname_ = hostname.replace(/\/+$/, '');
|
|
64
68
|
|
|
65
69
|
};
|
|
66
70
|
|
|
@@ -86,7 +90,7 @@ proto.clarifai.api.V2PromiseClient =
|
|
|
86
90
|
/**
|
|
87
91
|
* @private @const {string} The hostname
|
|
88
92
|
*/
|
|
89
|
-
this.hostname_ = hostname;
|
|
93
|
+
this.hostname_ = hostname.replace(/\/+$/, '');
|
|
90
94
|
|
|
91
95
|
};
|
|
92
96
|
|
|
@@ -1921,6 +1925,67 @@ proto.clarifai.api.V2PromiseClient.prototype.getInput =
|
|
|
1921
1925
|
};
|
|
1922
1926
|
|
|
1923
1927
|
|
|
1928
|
+
/**
|
|
1929
|
+
* @const
|
|
1930
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
1931
|
+
* !proto.clarifai.api.GetVideoManifestRequest,
|
|
1932
|
+
* !proto.clarifai.api.GetVideoManifestResponse>}
|
|
1933
|
+
*/
|
|
1934
|
+
const methodDescriptor_V2_GetInputVideoManifest = new grpc.web.MethodDescriptor(
|
|
1935
|
+
'/clarifai.api.V2/GetInputVideoManifest',
|
|
1936
|
+
grpc.web.MethodType.UNARY,
|
|
1937
|
+
proto.clarifai.api.GetVideoManifestRequest,
|
|
1938
|
+
proto.clarifai.api.GetVideoManifestResponse,
|
|
1939
|
+
/**
|
|
1940
|
+
* @param {!proto.clarifai.api.GetVideoManifestRequest} request
|
|
1941
|
+
* @return {!Uint8Array}
|
|
1942
|
+
*/
|
|
1943
|
+
function(request) {
|
|
1944
|
+
return request.serializeBinary();
|
|
1945
|
+
},
|
|
1946
|
+
proto.clarifai.api.GetVideoManifestResponse.deserializeBinary
|
|
1947
|
+
);
|
|
1948
|
+
|
|
1949
|
+
|
|
1950
|
+
/**
|
|
1951
|
+
* @param {!proto.clarifai.api.GetVideoManifestRequest} request The
|
|
1952
|
+
* request proto
|
|
1953
|
+
* @param {?Object<string, string>} metadata User defined
|
|
1954
|
+
* call metadata
|
|
1955
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.GetVideoManifestResponse)}
|
|
1956
|
+
* callback The callback function(error, response)
|
|
1957
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.GetVideoManifestResponse>|undefined}
|
|
1958
|
+
* The XHR Node Readable Stream
|
|
1959
|
+
*/
|
|
1960
|
+
proto.clarifai.api.V2Client.prototype.getInputVideoManifest =
|
|
1961
|
+
function(request, metadata, callback) {
|
|
1962
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
1963
|
+
'/clarifai.api.V2/GetInputVideoManifest',
|
|
1964
|
+
request,
|
|
1965
|
+
metadata || {},
|
|
1966
|
+
methodDescriptor_V2_GetInputVideoManifest,
|
|
1967
|
+
callback);
|
|
1968
|
+
};
|
|
1969
|
+
|
|
1970
|
+
|
|
1971
|
+
/**
|
|
1972
|
+
* @param {!proto.clarifai.api.GetVideoManifestRequest} request The
|
|
1973
|
+
* request proto
|
|
1974
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
1975
|
+
* call metadata
|
|
1976
|
+
* @return {!Promise<!proto.clarifai.api.GetVideoManifestResponse>}
|
|
1977
|
+
* Promise that resolves to the response
|
|
1978
|
+
*/
|
|
1979
|
+
proto.clarifai.api.V2PromiseClient.prototype.getInputVideoManifest =
|
|
1980
|
+
function(request, metadata) {
|
|
1981
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
1982
|
+
'/clarifai.api.V2/GetInputVideoManifest',
|
|
1983
|
+
request,
|
|
1984
|
+
metadata || {},
|
|
1985
|
+
methodDescriptor_V2_GetInputVideoManifest);
|
|
1986
|
+
};
|
|
1987
|
+
|
|
1988
|
+
|
|
1924
1989
|
/**
|
|
1925
1990
|
* @const
|
|
1926
1991
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -2653,67 +2718,6 @@ proto.clarifai.api.V2PromiseClient.prototype.patchDatasets =
|
|
|
2653
2718
|
};
|
|
2654
2719
|
|
|
2655
2720
|
|
|
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
|
-
|
|
2717
2721
|
/**
|
|
2718
2722
|
* @const
|
|
2719
2723
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -3812,6 +3816,67 @@ proto.clarifai.api.V2PromiseClient.prototype.listModels =
|
|
|
3812
3816
|
};
|
|
3813
3817
|
|
|
3814
3818
|
|
|
3819
|
+
/**
|
|
3820
|
+
* @const
|
|
3821
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
3822
|
+
* !proto.clarifai.api.GetResourceCountsRequest,
|
|
3823
|
+
* !proto.clarifai.api.GetResourceCountsResponse>}
|
|
3824
|
+
*/
|
|
3825
|
+
const methodDescriptor_V2_GetResourceCounts = new grpc.web.MethodDescriptor(
|
|
3826
|
+
'/clarifai.api.V2/GetResourceCounts',
|
|
3827
|
+
grpc.web.MethodType.UNARY,
|
|
3828
|
+
proto.clarifai.api.GetResourceCountsRequest,
|
|
3829
|
+
proto.clarifai.api.GetResourceCountsResponse,
|
|
3830
|
+
/**
|
|
3831
|
+
* @param {!proto.clarifai.api.GetResourceCountsRequest} request
|
|
3832
|
+
* @return {!Uint8Array}
|
|
3833
|
+
*/
|
|
3834
|
+
function(request) {
|
|
3835
|
+
return request.serializeBinary();
|
|
3836
|
+
},
|
|
3837
|
+
proto.clarifai.api.GetResourceCountsResponse.deserializeBinary
|
|
3838
|
+
);
|
|
3839
|
+
|
|
3840
|
+
|
|
3841
|
+
/**
|
|
3842
|
+
* @param {!proto.clarifai.api.GetResourceCountsRequest} request The
|
|
3843
|
+
* request proto
|
|
3844
|
+
* @param {?Object<string, string>} metadata User defined
|
|
3845
|
+
* call metadata
|
|
3846
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.GetResourceCountsResponse)}
|
|
3847
|
+
* callback The callback function(error, response)
|
|
3848
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.GetResourceCountsResponse>|undefined}
|
|
3849
|
+
* The XHR Node Readable Stream
|
|
3850
|
+
*/
|
|
3851
|
+
proto.clarifai.api.V2Client.prototype.getResourceCounts =
|
|
3852
|
+
function(request, metadata, callback) {
|
|
3853
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
3854
|
+
'/clarifai.api.V2/GetResourceCounts',
|
|
3855
|
+
request,
|
|
3856
|
+
metadata || {},
|
|
3857
|
+
methodDescriptor_V2_GetResourceCounts,
|
|
3858
|
+
callback);
|
|
3859
|
+
};
|
|
3860
|
+
|
|
3861
|
+
|
|
3862
|
+
/**
|
|
3863
|
+
* @param {!proto.clarifai.api.GetResourceCountsRequest} request The
|
|
3864
|
+
* request proto
|
|
3865
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
3866
|
+
* call metadata
|
|
3867
|
+
* @return {!Promise<!proto.clarifai.api.GetResourceCountsResponse>}
|
|
3868
|
+
* Promise that resolves to the response
|
|
3869
|
+
*/
|
|
3870
|
+
proto.clarifai.api.V2PromiseClient.prototype.getResourceCounts =
|
|
3871
|
+
function(request, metadata) {
|
|
3872
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
3873
|
+
'/clarifai.api.V2/GetResourceCounts',
|
|
3874
|
+
request,
|
|
3875
|
+
metadata || {},
|
|
3876
|
+
methodDescriptor_V2_GetResourceCounts);
|
|
3877
|
+
};
|
|
3878
|
+
|
|
3879
|
+
|
|
3815
3880
|
/**
|
|
3816
3881
|
* @const
|
|
3817
3882
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -5154,6 +5219,372 @@ proto.clarifai.api.V2PromiseClient.prototype.postModelVersionMetrics =
|
|
|
5154
5219
|
};
|
|
5155
5220
|
|
|
5156
5221
|
|
|
5222
|
+
/**
|
|
5223
|
+
* @const
|
|
5224
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
5225
|
+
* !proto.clarifai.api.PostModelVersionEvaluationsRequest,
|
|
5226
|
+
* !proto.clarifai.api.MultiEvalMetricsResponse>}
|
|
5227
|
+
*/
|
|
5228
|
+
const methodDescriptor_V2_PostModelVersionEvaluations = new grpc.web.MethodDescriptor(
|
|
5229
|
+
'/clarifai.api.V2/PostModelVersionEvaluations',
|
|
5230
|
+
grpc.web.MethodType.UNARY,
|
|
5231
|
+
proto.clarifai.api.PostModelVersionEvaluationsRequest,
|
|
5232
|
+
proto.clarifai.api.MultiEvalMetricsResponse,
|
|
5233
|
+
/**
|
|
5234
|
+
* @param {!proto.clarifai.api.PostModelVersionEvaluationsRequest} request
|
|
5235
|
+
* @return {!Uint8Array}
|
|
5236
|
+
*/
|
|
5237
|
+
function(request) {
|
|
5238
|
+
return request.serializeBinary();
|
|
5239
|
+
},
|
|
5240
|
+
proto.clarifai.api.MultiEvalMetricsResponse.deserializeBinary
|
|
5241
|
+
);
|
|
5242
|
+
|
|
5243
|
+
|
|
5244
|
+
/**
|
|
5245
|
+
* @param {!proto.clarifai.api.PostModelVersionEvaluationsRequest} request The
|
|
5246
|
+
* request proto
|
|
5247
|
+
* @param {?Object<string, string>} metadata User defined
|
|
5248
|
+
* call metadata
|
|
5249
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiEvalMetricsResponse)}
|
|
5250
|
+
* callback The callback function(error, response)
|
|
5251
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiEvalMetricsResponse>|undefined}
|
|
5252
|
+
* The XHR Node Readable Stream
|
|
5253
|
+
*/
|
|
5254
|
+
proto.clarifai.api.V2Client.prototype.postModelVersionEvaluations =
|
|
5255
|
+
function(request, metadata, callback) {
|
|
5256
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
5257
|
+
'/clarifai.api.V2/PostModelVersionEvaluations',
|
|
5258
|
+
request,
|
|
5259
|
+
metadata || {},
|
|
5260
|
+
methodDescriptor_V2_PostModelVersionEvaluations,
|
|
5261
|
+
callback);
|
|
5262
|
+
};
|
|
5263
|
+
|
|
5264
|
+
|
|
5265
|
+
/**
|
|
5266
|
+
* @param {!proto.clarifai.api.PostModelVersionEvaluationsRequest} request The
|
|
5267
|
+
* request proto
|
|
5268
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
5269
|
+
* call metadata
|
|
5270
|
+
* @return {!Promise<!proto.clarifai.api.MultiEvalMetricsResponse>}
|
|
5271
|
+
* Promise that resolves to the response
|
|
5272
|
+
*/
|
|
5273
|
+
proto.clarifai.api.V2PromiseClient.prototype.postModelVersionEvaluations =
|
|
5274
|
+
function(request, metadata) {
|
|
5275
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
5276
|
+
'/clarifai.api.V2/PostModelVersionEvaluations',
|
|
5277
|
+
request,
|
|
5278
|
+
metadata || {},
|
|
5279
|
+
methodDescriptor_V2_PostModelVersionEvaluations);
|
|
5280
|
+
};
|
|
5281
|
+
|
|
5282
|
+
|
|
5283
|
+
/**
|
|
5284
|
+
* @const
|
|
5285
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
5286
|
+
* !proto.clarifai.api.ListModelVersionEvaluationsRequest,
|
|
5287
|
+
* !proto.clarifai.api.MultiEvalMetricsResponse>}
|
|
5288
|
+
*/
|
|
5289
|
+
const methodDescriptor_V2_ListModelVersionEvaluations = new grpc.web.MethodDescriptor(
|
|
5290
|
+
'/clarifai.api.V2/ListModelVersionEvaluations',
|
|
5291
|
+
grpc.web.MethodType.UNARY,
|
|
5292
|
+
proto.clarifai.api.ListModelVersionEvaluationsRequest,
|
|
5293
|
+
proto.clarifai.api.MultiEvalMetricsResponse,
|
|
5294
|
+
/**
|
|
5295
|
+
* @param {!proto.clarifai.api.ListModelVersionEvaluationsRequest} request
|
|
5296
|
+
* @return {!Uint8Array}
|
|
5297
|
+
*/
|
|
5298
|
+
function(request) {
|
|
5299
|
+
return request.serializeBinary();
|
|
5300
|
+
},
|
|
5301
|
+
proto.clarifai.api.MultiEvalMetricsResponse.deserializeBinary
|
|
5302
|
+
);
|
|
5303
|
+
|
|
5304
|
+
|
|
5305
|
+
/**
|
|
5306
|
+
* @param {!proto.clarifai.api.ListModelVersionEvaluationsRequest} request The
|
|
5307
|
+
* request proto
|
|
5308
|
+
* @param {?Object<string, string>} metadata User defined
|
|
5309
|
+
* call metadata
|
|
5310
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiEvalMetricsResponse)}
|
|
5311
|
+
* callback The callback function(error, response)
|
|
5312
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiEvalMetricsResponse>|undefined}
|
|
5313
|
+
* The XHR Node Readable Stream
|
|
5314
|
+
*/
|
|
5315
|
+
proto.clarifai.api.V2Client.prototype.listModelVersionEvaluations =
|
|
5316
|
+
function(request, metadata, callback) {
|
|
5317
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
5318
|
+
'/clarifai.api.V2/ListModelVersionEvaluations',
|
|
5319
|
+
request,
|
|
5320
|
+
metadata || {},
|
|
5321
|
+
methodDescriptor_V2_ListModelVersionEvaluations,
|
|
5322
|
+
callback);
|
|
5323
|
+
};
|
|
5324
|
+
|
|
5325
|
+
|
|
5326
|
+
/**
|
|
5327
|
+
* @param {!proto.clarifai.api.ListModelVersionEvaluationsRequest} request The
|
|
5328
|
+
* request proto
|
|
5329
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
5330
|
+
* call metadata
|
|
5331
|
+
* @return {!Promise<!proto.clarifai.api.MultiEvalMetricsResponse>}
|
|
5332
|
+
* Promise that resolves to the response
|
|
5333
|
+
*/
|
|
5334
|
+
proto.clarifai.api.V2PromiseClient.prototype.listModelVersionEvaluations =
|
|
5335
|
+
function(request, metadata) {
|
|
5336
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
5337
|
+
'/clarifai.api.V2/ListModelVersionEvaluations',
|
|
5338
|
+
request,
|
|
5339
|
+
metadata || {},
|
|
5340
|
+
methodDescriptor_V2_ListModelVersionEvaluations);
|
|
5341
|
+
};
|
|
5342
|
+
|
|
5343
|
+
|
|
5344
|
+
/**
|
|
5345
|
+
* @const
|
|
5346
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
5347
|
+
* !proto.clarifai.api.GetModelVersionEvaluationRequest,
|
|
5348
|
+
* !proto.clarifai.api.SingleEvalMetricsResponse>}
|
|
5349
|
+
*/
|
|
5350
|
+
const methodDescriptor_V2_GetModelVersionEvaluation = new grpc.web.MethodDescriptor(
|
|
5351
|
+
'/clarifai.api.V2/GetModelVersionEvaluation',
|
|
5352
|
+
grpc.web.MethodType.UNARY,
|
|
5353
|
+
proto.clarifai.api.GetModelVersionEvaluationRequest,
|
|
5354
|
+
proto.clarifai.api.SingleEvalMetricsResponse,
|
|
5355
|
+
/**
|
|
5356
|
+
* @param {!proto.clarifai.api.GetModelVersionEvaluationRequest} request
|
|
5357
|
+
* @return {!Uint8Array}
|
|
5358
|
+
*/
|
|
5359
|
+
function(request) {
|
|
5360
|
+
return request.serializeBinary();
|
|
5361
|
+
},
|
|
5362
|
+
proto.clarifai.api.SingleEvalMetricsResponse.deserializeBinary
|
|
5363
|
+
);
|
|
5364
|
+
|
|
5365
|
+
|
|
5366
|
+
/**
|
|
5367
|
+
* @param {!proto.clarifai.api.GetModelVersionEvaluationRequest} request The
|
|
5368
|
+
* request proto
|
|
5369
|
+
* @param {?Object<string, string>} metadata User defined
|
|
5370
|
+
* call metadata
|
|
5371
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.SingleEvalMetricsResponse)}
|
|
5372
|
+
* callback The callback function(error, response)
|
|
5373
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.SingleEvalMetricsResponse>|undefined}
|
|
5374
|
+
* The XHR Node Readable Stream
|
|
5375
|
+
*/
|
|
5376
|
+
proto.clarifai.api.V2Client.prototype.getModelVersionEvaluation =
|
|
5377
|
+
function(request, metadata, callback) {
|
|
5378
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
5379
|
+
'/clarifai.api.V2/GetModelVersionEvaluation',
|
|
5380
|
+
request,
|
|
5381
|
+
metadata || {},
|
|
5382
|
+
methodDescriptor_V2_GetModelVersionEvaluation,
|
|
5383
|
+
callback);
|
|
5384
|
+
};
|
|
5385
|
+
|
|
5386
|
+
|
|
5387
|
+
/**
|
|
5388
|
+
* @param {!proto.clarifai.api.GetModelVersionEvaluationRequest} request The
|
|
5389
|
+
* request proto
|
|
5390
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
5391
|
+
* call metadata
|
|
5392
|
+
* @return {!Promise<!proto.clarifai.api.SingleEvalMetricsResponse>}
|
|
5393
|
+
* Promise that resolves to the response
|
|
5394
|
+
*/
|
|
5395
|
+
proto.clarifai.api.V2PromiseClient.prototype.getModelVersionEvaluation =
|
|
5396
|
+
function(request, metadata) {
|
|
5397
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
5398
|
+
'/clarifai.api.V2/GetModelVersionEvaluation',
|
|
5399
|
+
request,
|
|
5400
|
+
metadata || {},
|
|
5401
|
+
methodDescriptor_V2_GetModelVersionEvaluation);
|
|
5402
|
+
};
|
|
5403
|
+
|
|
5404
|
+
|
|
5405
|
+
/**
|
|
5406
|
+
* @const
|
|
5407
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
5408
|
+
* !proto.clarifai.api.PostEvaluationsRequest,
|
|
5409
|
+
* !proto.clarifai.api.MultiEvalMetricsResponse>}
|
|
5410
|
+
*/
|
|
5411
|
+
const methodDescriptor_V2_PostEvaluations = new grpc.web.MethodDescriptor(
|
|
5412
|
+
'/clarifai.api.V2/PostEvaluations',
|
|
5413
|
+
grpc.web.MethodType.UNARY,
|
|
5414
|
+
proto.clarifai.api.PostEvaluationsRequest,
|
|
5415
|
+
proto.clarifai.api.MultiEvalMetricsResponse,
|
|
5416
|
+
/**
|
|
5417
|
+
* @param {!proto.clarifai.api.PostEvaluationsRequest} request
|
|
5418
|
+
* @return {!Uint8Array}
|
|
5419
|
+
*/
|
|
5420
|
+
function(request) {
|
|
5421
|
+
return request.serializeBinary();
|
|
5422
|
+
},
|
|
5423
|
+
proto.clarifai.api.MultiEvalMetricsResponse.deserializeBinary
|
|
5424
|
+
);
|
|
5425
|
+
|
|
5426
|
+
|
|
5427
|
+
/**
|
|
5428
|
+
* @param {!proto.clarifai.api.PostEvaluationsRequest} request The
|
|
5429
|
+
* request proto
|
|
5430
|
+
* @param {?Object<string, string>} metadata User defined
|
|
5431
|
+
* call metadata
|
|
5432
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiEvalMetricsResponse)}
|
|
5433
|
+
* callback The callback function(error, response)
|
|
5434
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiEvalMetricsResponse>|undefined}
|
|
5435
|
+
* The XHR Node Readable Stream
|
|
5436
|
+
*/
|
|
5437
|
+
proto.clarifai.api.V2Client.prototype.postEvaluations =
|
|
5438
|
+
function(request, metadata, callback) {
|
|
5439
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
5440
|
+
'/clarifai.api.V2/PostEvaluations',
|
|
5441
|
+
request,
|
|
5442
|
+
metadata || {},
|
|
5443
|
+
methodDescriptor_V2_PostEvaluations,
|
|
5444
|
+
callback);
|
|
5445
|
+
};
|
|
5446
|
+
|
|
5447
|
+
|
|
5448
|
+
/**
|
|
5449
|
+
* @param {!proto.clarifai.api.PostEvaluationsRequest} request The
|
|
5450
|
+
* request proto
|
|
5451
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
5452
|
+
* call metadata
|
|
5453
|
+
* @return {!Promise<!proto.clarifai.api.MultiEvalMetricsResponse>}
|
|
5454
|
+
* Promise that resolves to the response
|
|
5455
|
+
*/
|
|
5456
|
+
proto.clarifai.api.V2PromiseClient.prototype.postEvaluations =
|
|
5457
|
+
function(request, metadata) {
|
|
5458
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
5459
|
+
'/clarifai.api.V2/PostEvaluations',
|
|
5460
|
+
request,
|
|
5461
|
+
metadata || {},
|
|
5462
|
+
methodDescriptor_V2_PostEvaluations);
|
|
5463
|
+
};
|
|
5464
|
+
|
|
5465
|
+
|
|
5466
|
+
/**
|
|
5467
|
+
* @const
|
|
5468
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
5469
|
+
* !proto.clarifai.api.ListEvaluationsRequest,
|
|
5470
|
+
* !proto.clarifai.api.MultiEvalMetricsResponse>}
|
|
5471
|
+
*/
|
|
5472
|
+
const methodDescriptor_V2_ListEvaluations = new grpc.web.MethodDescriptor(
|
|
5473
|
+
'/clarifai.api.V2/ListEvaluations',
|
|
5474
|
+
grpc.web.MethodType.UNARY,
|
|
5475
|
+
proto.clarifai.api.ListEvaluationsRequest,
|
|
5476
|
+
proto.clarifai.api.MultiEvalMetricsResponse,
|
|
5477
|
+
/**
|
|
5478
|
+
* @param {!proto.clarifai.api.ListEvaluationsRequest} request
|
|
5479
|
+
* @return {!Uint8Array}
|
|
5480
|
+
*/
|
|
5481
|
+
function(request) {
|
|
5482
|
+
return request.serializeBinary();
|
|
5483
|
+
},
|
|
5484
|
+
proto.clarifai.api.MultiEvalMetricsResponse.deserializeBinary
|
|
5485
|
+
);
|
|
5486
|
+
|
|
5487
|
+
|
|
5488
|
+
/**
|
|
5489
|
+
* @param {!proto.clarifai.api.ListEvaluationsRequest} request The
|
|
5490
|
+
* request proto
|
|
5491
|
+
* @param {?Object<string, string>} metadata User defined
|
|
5492
|
+
* call metadata
|
|
5493
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiEvalMetricsResponse)}
|
|
5494
|
+
* callback The callback function(error, response)
|
|
5495
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiEvalMetricsResponse>|undefined}
|
|
5496
|
+
* The XHR Node Readable Stream
|
|
5497
|
+
*/
|
|
5498
|
+
proto.clarifai.api.V2Client.prototype.listEvaluations =
|
|
5499
|
+
function(request, metadata, callback) {
|
|
5500
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
5501
|
+
'/clarifai.api.V2/ListEvaluations',
|
|
5502
|
+
request,
|
|
5503
|
+
metadata || {},
|
|
5504
|
+
methodDescriptor_V2_ListEvaluations,
|
|
5505
|
+
callback);
|
|
5506
|
+
};
|
|
5507
|
+
|
|
5508
|
+
|
|
5509
|
+
/**
|
|
5510
|
+
* @param {!proto.clarifai.api.ListEvaluationsRequest} request The
|
|
5511
|
+
* request proto
|
|
5512
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
5513
|
+
* call metadata
|
|
5514
|
+
* @return {!Promise<!proto.clarifai.api.MultiEvalMetricsResponse>}
|
|
5515
|
+
* Promise that resolves to the response
|
|
5516
|
+
*/
|
|
5517
|
+
proto.clarifai.api.V2PromiseClient.prototype.listEvaluations =
|
|
5518
|
+
function(request, metadata) {
|
|
5519
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
5520
|
+
'/clarifai.api.V2/ListEvaluations',
|
|
5521
|
+
request,
|
|
5522
|
+
metadata || {},
|
|
5523
|
+
methodDescriptor_V2_ListEvaluations);
|
|
5524
|
+
};
|
|
5525
|
+
|
|
5526
|
+
|
|
5527
|
+
/**
|
|
5528
|
+
* @const
|
|
5529
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
5530
|
+
* !proto.clarifai.api.GetEvaluationRequest,
|
|
5531
|
+
* !proto.clarifai.api.SingleEvalMetricsResponse>}
|
|
5532
|
+
*/
|
|
5533
|
+
const methodDescriptor_V2_GetEvaluation = new grpc.web.MethodDescriptor(
|
|
5534
|
+
'/clarifai.api.V2/GetEvaluation',
|
|
5535
|
+
grpc.web.MethodType.UNARY,
|
|
5536
|
+
proto.clarifai.api.GetEvaluationRequest,
|
|
5537
|
+
proto.clarifai.api.SingleEvalMetricsResponse,
|
|
5538
|
+
/**
|
|
5539
|
+
* @param {!proto.clarifai.api.GetEvaluationRequest} request
|
|
5540
|
+
* @return {!Uint8Array}
|
|
5541
|
+
*/
|
|
5542
|
+
function(request) {
|
|
5543
|
+
return request.serializeBinary();
|
|
5544
|
+
},
|
|
5545
|
+
proto.clarifai.api.SingleEvalMetricsResponse.deserializeBinary
|
|
5546
|
+
);
|
|
5547
|
+
|
|
5548
|
+
|
|
5549
|
+
/**
|
|
5550
|
+
* @param {!proto.clarifai.api.GetEvaluationRequest} request The
|
|
5551
|
+
* request proto
|
|
5552
|
+
* @param {?Object<string, string>} metadata User defined
|
|
5553
|
+
* call metadata
|
|
5554
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.SingleEvalMetricsResponse)}
|
|
5555
|
+
* callback The callback function(error, response)
|
|
5556
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.SingleEvalMetricsResponse>|undefined}
|
|
5557
|
+
* The XHR Node Readable Stream
|
|
5558
|
+
*/
|
|
5559
|
+
proto.clarifai.api.V2Client.prototype.getEvaluation =
|
|
5560
|
+
function(request, metadata, callback) {
|
|
5561
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
5562
|
+
'/clarifai.api.V2/GetEvaluation',
|
|
5563
|
+
request,
|
|
5564
|
+
metadata || {},
|
|
5565
|
+
methodDescriptor_V2_GetEvaluation,
|
|
5566
|
+
callback);
|
|
5567
|
+
};
|
|
5568
|
+
|
|
5569
|
+
|
|
5570
|
+
/**
|
|
5571
|
+
* @param {!proto.clarifai.api.GetEvaluationRequest} request The
|
|
5572
|
+
* request proto
|
|
5573
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
5574
|
+
* call metadata
|
|
5575
|
+
* @return {!Promise<!proto.clarifai.api.SingleEvalMetricsResponse>}
|
|
5576
|
+
* Promise that resolves to the response
|
|
5577
|
+
*/
|
|
5578
|
+
proto.clarifai.api.V2PromiseClient.prototype.getEvaluation =
|
|
5579
|
+
function(request, metadata) {
|
|
5580
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
5581
|
+
'/clarifai.api.V2/GetEvaluation',
|
|
5582
|
+
request,
|
|
5583
|
+
metadata || {},
|
|
5584
|
+
methodDescriptor_V2_GetEvaluation);
|
|
5585
|
+
};
|
|
5586
|
+
|
|
5587
|
+
|
|
5157
5588
|
/**
|
|
5158
5589
|
* @const
|
|
5159
5590
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -7176,55 +7607,116 @@ proto.clarifai.api.V2PromiseClient.prototype.patchApp =
|
|
|
7176
7607
|
const methodDescriptor_V2_PostAppsSearches = new grpc.web.MethodDescriptor(
|
|
7177
7608
|
'/clarifai.api.V2/PostAppsSearches',
|
|
7178
7609
|
grpc.web.MethodType.UNARY,
|
|
7179
|
-
proto.clarifai.api.PostAppsSearchesRequest,
|
|
7180
|
-
proto.clarifai.api.MultiAppResponse,
|
|
7610
|
+
proto.clarifai.api.PostAppsSearchesRequest,
|
|
7611
|
+
proto.clarifai.api.MultiAppResponse,
|
|
7612
|
+
/**
|
|
7613
|
+
* @param {!proto.clarifai.api.PostAppsSearchesRequest} request
|
|
7614
|
+
* @return {!Uint8Array}
|
|
7615
|
+
*/
|
|
7616
|
+
function(request) {
|
|
7617
|
+
return request.serializeBinary();
|
|
7618
|
+
},
|
|
7619
|
+
proto.clarifai.api.MultiAppResponse.deserializeBinary
|
|
7620
|
+
);
|
|
7621
|
+
|
|
7622
|
+
|
|
7623
|
+
/**
|
|
7624
|
+
* @param {!proto.clarifai.api.PostAppsSearchesRequest} request The
|
|
7625
|
+
* request proto
|
|
7626
|
+
* @param {?Object<string, string>} metadata User defined
|
|
7627
|
+
* call metadata
|
|
7628
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiAppResponse)}
|
|
7629
|
+
* callback The callback function(error, response)
|
|
7630
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiAppResponse>|undefined}
|
|
7631
|
+
* The XHR Node Readable Stream
|
|
7632
|
+
*/
|
|
7633
|
+
proto.clarifai.api.V2Client.prototype.postAppsSearches =
|
|
7634
|
+
function(request, metadata, callback) {
|
|
7635
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
7636
|
+
'/clarifai.api.V2/PostAppsSearches',
|
|
7637
|
+
request,
|
|
7638
|
+
metadata || {},
|
|
7639
|
+
methodDescriptor_V2_PostAppsSearches,
|
|
7640
|
+
callback);
|
|
7641
|
+
};
|
|
7642
|
+
|
|
7643
|
+
|
|
7644
|
+
/**
|
|
7645
|
+
* @param {!proto.clarifai.api.PostAppsSearchesRequest} request The
|
|
7646
|
+
* request proto
|
|
7647
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
7648
|
+
* call metadata
|
|
7649
|
+
* @return {!Promise<!proto.clarifai.api.MultiAppResponse>}
|
|
7650
|
+
* Promise that resolves to the response
|
|
7651
|
+
*/
|
|
7652
|
+
proto.clarifai.api.V2PromiseClient.prototype.postAppsSearches =
|
|
7653
|
+
function(request, metadata) {
|
|
7654
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
7655
|
+
'/clarifai.api.V2/PostAppsSearches',
|
|
7656
|
+
request,
|
|
7657
|
+
metadata || {},
|
|
7658
|
+
methodDescriptor_V2_PostAppsSearches);
|
|
7659
|
+
};
|
|
7660
|
+
|
|
7661
|
+
|
|
7662
|
+
/**
|
|
7663
|
+
* @const
|
|
7664
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
7665
|
+
* !proto.clarifai.api.GetUserRequest,
|
|
7666
|
+
* !proto.clarifai.api.SingleUserResponse>}
|
|
7667
|
+
*/
|
|
7668
|
+
const methodDescriptor_V2_GetUser = new grpc.web.MethodDescriptor(
|
|
7669
|
+
'/clarifai.api.V2/GetUser',
|
|
7670
|
+
grpc.web.MethodType.UNARY,
|
|
7671
|
+
proto.clarifai.api.GetUserRequest,
|
|
7672
|
+
proto.clarifai.api.SingleUserResponse,
|
|
7181
7673
|
/**
|
|
7182
|
-
* @param {!proto.clarifai.api.
|
|
7674
|
+
* @param {!proto.clarifai.api.GetUserRequest} request
|
|
7183
7675
|
* @return {!Uint8Array}
|
|
7184
7676
|
*/
|
|
7185
7677
|
function(request) {
|
|
7186
7678
|
return request.serializeBinary();
|
|
7187
7679
|
},
|
|
7188
|
-
proto.clarifai.api.
|
|
7680
|
+
proto.clarifai.api.SingleUserResponse.deserializeBinary
|
|
7189
7681
|
);
|
|
7190
7682
|
|
|
7191
7683
|
|
|
7192
7684
|
/**
|
|
7193
|
-
* @param {!proto.clarifai.api.
|
|
7685
|
+
* @param {!proto.clarifai.api.GetUserRequest} request The
|
|
7194
7686
|
* request proto
|
|
7195
7687
|
* @param {?Object<string, string>} metadata User defined
|
|
7196
7688
|
* call metadata
|
|
7197
|
-
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.
|
|
7689
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.SingleUserResponse)}
|
|
7198
7690
|
* callback The callback function(error, response)
|
|
7199
|
-
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.
|
|
7691
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.SingleUserResponse>|undefined}
|
|
7200
7692
|
* The XHR Node Readable Stream
|
|
7201
7693
|
*/
|
|
7202
|
-
proto.clarifai.api.V2Client.prototype.
|
|
7694
|
+
proto.clarifai.api.V2Client.prototype.getUser =
|
|
7203
7695
|
function(request, metadata, callback) {
|
|
7204
7696
|
return this.client_.rpcCall(this.hostname_ +
|
|
7205
|
-
'/clarifai.api.V2/
|
|
7697
|
+
'/clarifai.api.V2/GetUser',
|
|
7206
7698
|
request,
|
|
7207
7699
|
metadata || {},
|
|
7208
|
-
|
|
7700
|
+
methodDescriptor_V2_GetUser,
|
|
7209
7701
|
callback);
|
|
7210
7702
|
};
|
|
7211
7703
|
|
|
7212
7704
|
|
|
7213
7705
|
/**
|
|
7214
|
-
* @param {!proto.clarifai.api.
|
|
7706
|
+
* @param {!proto.clarifai.api.GetUserRequest} request The
|
|
7215
7707
|
* request proto
|
|
7216
7708
|
* @param {?Object<string, string>=} metadata User defined
|
|
7217
7709
|
* call metadata
|
|
7218
|
-
* @return {!Promise<!proto.clarifai.api.
|
|
7710
|
+
* @return {!Promise<!proto.clarifai.api.SingleUserResponse>}
|
|
7219
7711
|
* Promise that resolves to the response
|
|
7220
7712
|
*/
|
|
7221
|
-
proto.clarifai.api.V2PromiseClient.prototype.
|
|
7713
|
+
proto.clarifai.api.V2PromiseClient.prototype.getUser =
|
|
7222
7714
|
function(request, metadata) {
|
|
7223
7715
|
return this.client_.unaryCall(this.hostname_ +
|
|
7224
|
-
'/clarifai.api.V2/
|
|
7716
|
+
'/clarifai.api.V2/GetUser',
|
|
7225
7717
|
request,
|
|
7226
7718
|
metadata || {},
|
|
7227
|
-
|
|
7719
|
+
methodDescriptor_V2_GetUser);
|
|
7228
7720
|
};
|
|
7229
7721
|
|
|
7230
7722
|
|
|
@@ -11315,6 +11807,128 @@ proto.clarifai.api.V2PromiseClient.prototype.getDatasetInputsSearchAddJob =
|
|
|
11315
11807
|
};
|
|
11316
11808
|
|
|
11317
11809
|
|
|
11810
|
+
/**
|
|
11811
|
+
* @const
|
|
11812
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
11813
|
+
* !proto.clarifai.api.ListNextTaskAssignmentsRequest,
|
|
11814
|
+
* !proto.clarifai.api.MultiInputResponse>}
|
|
11815
|
+
*/
|
|
11816
|
+
const methodDescriptor_V2_ListNextTaskAssignments = new grpc.web.MethodDescriptor(
|
|
11817
|
+
'/clarifai.api.V2/ListNextTaskAssignments',
|
|
11818
|
+
grpc.web.MethodType.UNARY,
|
|
11819
|
+
proto.clarifai.api.ListNextTaskAssignmentsRequest,
|
|
11820
|
+
proto.clarifai.api.MultiInputResponse,
|
|
11821
|
+
/**
|
|
11822
|
+
* @param {!proto.clarifai.api.ListNextTaskAssignmentsRequest} request
|
|
11823
|
+
* @return {!Uint8Array}
|
|
11824
|
+
*/
|
|
11825
|
+
function(request) {
|
|
11826
|
+
return request.serializeBinary();
|
|
11827
|
+
},
|
|
11828
|
+
proto.clarifai.api.MultiInputResponse.deserializeBinary
|
|
11829
|
+
);
|
|
11830
|
+
|
|
11831
|
+
|
|
11832
|
+
/**
|
|
11833
|
+
* @param {!proto.clarifai.api.ListNextTaskAssignmentsRequest} request The
|
|
11834
|
+
* request proto
|
|
11835
|
+
* @param {?Object<string, string>} metadata User defined
|
|
11836
|
+
* call metadata
|
|
11837
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiInputResponse)}
|
|
11838
|
+
* callback The callback function(error, response)
|
|
11839
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiInputResponse>|undefined}
|
|
11840
|
+
* The XHR Node Readable Stream
|
|
11841
|
+
*/
|
|
11842
|
+
proto.clarifai.api.V2Client.prototype.listNextTaskAssignments =
|
|
11843
|
+
function(request, metadata, callback) {
|
|
11844
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
11845
|
+
'/clarifai.api.V2/ListNextTaskAssignments',
|
|
11846
|
+
request,
|
|
11847
|
+
metadata || {},
|
|
11848
|
+
methodDescriptor_V2_ListNextTaskAssignments,
|
|
11849
|
+
callback);
|
|
11850
|
+
};
|
|
11851
|
+
|
|
11852
|
+
|
|
11853
|
+
/**
|
|
11854
|
+
* @param {!proto.clarifai.api.ListNextTaskAssignmentsRequest} request The
|
|
11855
|
+
* request proto
|
|
11856
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
11857
|
+
* call metadata
|
|
11858
|
+
* @return {!Promise<!proto.clarifai.api.MultiInputResponse>}
|
|
11859
|
+
* Promise that resolves to the response
|
|
11860
|
+
*/
|
|
11861
|
+
proto.clarifai.api.V2PromiseClient.prototype.listNextTaskAssignments =
|
|
11862
|
+
function(request, metadata) {
|
|
11863
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
11864
|
+
'/clarifai.api.V2/ListNextTaskAssignments',
|
|
11865
|
+
request,
|
|
11866
|
+
metadata || {},
|
|
11867
|
+
methodDescriptor_V2_ListNextTaskAssignments);
|
|
11868
|
+
};
|
|
11869
|
+
|
|
11870
|
+
|
|
11871
|
+
/**
|
|
11872
|
+
* @const
|
|
11873
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
11874
|
+
* !proto.clarifai.api.PutTaskAssignmentsRequest,
|
|
11875
|
+
* !proto.clarifai.api.status.BaseResponse>}
|
|
11876
|
+
*/
|
|
11877
|
+
const methodDescriptor_V2_PutTaskAssignments = new grpc.web.MethodDescriptor(
|
|
11878
|
+
'/clarifai.api.V2/PutTaskAssignments',
|
|
11879
|
+
grpc.web.MethodType.UNARY,
|
|
11880
|
+
proto.clarifai.api.PutTaskAssignmentsRequest,
|
|
11881
|
+
proto_clarifai_api_status_status_pb.BaseResponse,
|
|
11882
|
+
/**
|
|
11883
|
+
* @param {!proto.clarifai.api.PutTaskAssignmentsRequest} request
|
|
11884
|
+
* @return {!Uint8Array}
|
|
11885
|
+
*/
|
|
11886
|
+
function(request) {
|
|
11887
|
+
return request.serializeBinary();
|
|
11888
|
+
},
|
|
11889
|
+
proto_clarifai_api_status_status_pb.BaseResponse.deserializeBinary
|
|
11890
|
+
);
|
|
11891
|
+
|
|
11892
|
+
|
|
11893
|
+
/**
|
|
11894
|
+
* @param {!proto.clarifai.api.PutTaskAssignmentsRequest} request The
|
|
11895
|
+
* request proto
|
|
11896
|
+
* @param {?Object<string, string>} metadata User defined
|
|
11897
|
+
* call metadata
|
|
11898
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.status.BaseResponse)}
|
|
11899
|
+
* callback The callback function(error, response)
|
|
11900
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.status.BaseResponse>|undefined}
|
|
11901
|
+
* The XHR Node Readable Stream
|
|
11902
|
+
*/
|
|
11903
|
+
proto.clarifai.api.V2Client.prototype.putTaskAssignments =
|
|
11904
|
+
function(request, metadata, callback) {
|
|
11905
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
11906
|
+
'/clarifai.api.V2/PutTaskAssignments',
|
|
11907
|
+
request,
|
|
11908
|
+
metadata || {},
|
|
11909
|
+
methodDescriptor_V2_PutTaskAssignments,
|
|
11910
|
+
callback);
|
|
11911
|
+
};
|
|
11912
|
+
|
|
11913
|
+
|
|
11914
|
+
/**
|
|
11915
|
+
* @param {!proto.clarifai.api.PutTaskAssignmentsRequest} request The
|
|
11916
|
+
* request proto
|
|
11917
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
11918
|
+
* call metadata
|
|
11919
|
+
* @return {!Promise<!proto.clarifai.api.status.BaseResponse>}
|
|
11920
|
+
* Promise that resolves to the response
|
|
11921
|
+
*/
|
|
11922
|
+
proto.clarifai.api.V2PromiseClient.prototype.putTaskAssignments =
|
|
11923
|
+
function(request, metadata) {
|
|
11924
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
11925
|
+
'/clarifai.api.V2/PutTaskAssignments',
|
|
11926
|
+
request,
|
|
11927
|
+
metadata || {},
|
|
11928
|
+
methodDescriptor_V2_PutTaskAssignments);
|
|
11929
|
+
};
|
|
11930
|
+
|
|
11931
|
+
|
|
11318
11932
|
/**
|
|
11319
11933
|
* @const
|
|
11320
11934
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -11437,6 +12051,67 @@ proto.clarifai.api.V2PromiseClient.prototype.getInputsAddJob =
|
|
|
11437
12051
|
};
|
|
11438
12052
|
|
|
11439
12053
|
|
|
12054
|
+
/**
|
|
12055
|
+
* @const
|
|
12056
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
12057
|
+
* !proto.clarifai.api.CancelInputsAddJobRequest,
|
|
12058
|
+
* !proto.clarifai.api.SingleInputsAddJobResponse>}
|
|
12059
|
+
*/
|
|
12060
|
+
const methodDescriptor_V2_CancelInputsAddJob = new grpc.web.MethodDescriptor(
|
|
12061
|
+
'/clarifai.api.V2/CancelInputsAddJob',
|
|
12062
|
+
grpc.web.MethodType.UNARY,
|
|
12063
|
+
proto.clarifai.api.CancelInputsAddJobRequest,
|
|
12064
|
+
proto.clarifai.api.SingleInputsAddJobResponse,
|
|
12065
|
+
/**
|
|
12066
|
+
* @param {!proto.clarifai.api.CancelInputsAddJobRequest} request
|
|
12067
|
+
* @return {!Uint8Array}
|
|
12068
|
+
*/
|
|
12069
|
+
function(request) {
|
|
12070
|
+
return request.serializeBinary();
|
|
12071
|
+
},
|
|
12072
|
+
proto.clarifai.api.SingleInputsAddJobResponse.deserializeBinary
|
|
12073
|
+
);
|
|
12074
|
+
|
|
12075
|
+
|
|
12076
|
+
/**
|
|
12077
|
+
* @param {!proto.clarifai.api.CancelInputsAddJobRequest} request The
|
|
12078
|
+
* request proto
|
|
12079
|
+
* @param {?Object<string, string>} metadata User defined
|
|
12080
|
+
* call metadata
|
|
12081
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.SingleInputsAddJobResponse)}
|
|
12082
|
+
* callback The callback function(error, response)
|
|
12083
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.SingleInputsAddJobResponse>|undefined}
|
|
12084
|
+
* The XHR Node Readable Stream
|
|
12085
|
+
*/
|
|
12086
|
+
proto.clarifai.api.V2Client.prototype.cancelInputsAddJob =
|
|
12087
|
+
function(request, metadata, callback) {
|
|
12088
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
12089
|
+
'/clarifai.api.V2/CancelInputsAddJob',
|
|
12090
|
+
request,
|
|
12091
|
+
metadata || {},
|
|
12092
|
+
methodDescriptor_V2_CancelInputsAddJob,
|
|
12093
|
+
callback);
|
|
12094
|
+
};
|
|
12095
|
+
|
|
12096
|
+
|
|
12097
|
+
/**
|
|
12098
|
+
* @param {!proto.clarifai.api.CancelInputsAddJobRequest} request The
|
|
12099
|
+
* request proto
|
|
12100
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
12101
|
+
* call metadata
|
|
12102
|
+
* @return {!Promise<!proto.clarifai.api.SingleInputsAddJobResponse>}
|
|
12103
|
+
* Promise that resolves to the response
|
|
12104
|
+
*/
|
|
12105
|
+
proto.clarifai.api.V2PromiseClient.prototype.cancelInputsAddJob =
|
|
12106
|
+
function(request, metadata) {
|
|
12107
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
12108
|
+
'/clarifai.api.V2/CancelInputsAddJob',
|
|
12109
|
+
request,
|
|
12110
|
+
metadata || {},
|
|
12111
|
+
methodDescriptor_V2_CancelInputsAddJob);
|
|
12112
|
+
};
|
|
12113
|
+
|
|
12114
|
+
|
|
11440
12115
|
/**
|
|
11441
12116
|
* @const
|
|
11442
12117
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -11925,5 +12600,127 @@ proto.clarifai.api.V2PromiseClient.prototype.listInputsExtractionJobs =
|
|
|
11925
12600
|
};
|
|
11926
12601
|
|
|
11927
12602
|
|
|
12603
|
+
/**
|
|
12604
|
+
* @const
|
|
12605
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
12606
|
+
* !proto.clarifai.api.CancelInputsExtractionJobsRequest,
|
|
12607
|
+
* !proto.clarifai.api.MultiInputsExtractionJobResponse>}
|
|
12608
|
+
*/
|
|
12609
|
+
const methodDescriptor_V2_CancelInputsExtractionJobs = new grpc.web.MethodDescriptor(
|
|
12610
|
+
'/clarifai.api.V2/CancelInputsExtractionJobs',
|
|
12611
|
+
grpc.web.MethodType.UNARY,
|
|
12612
|
+
proto.clarifai.api.CancelInputsExtractionJobsRequest,
|
|
12613
|
+
proto.clarifai.api.MultiInputsExtractionJobResponse,
|
|
12614
|
+
/**
|
|
12615
|
+
* @param {!proto.clarifai.api.CancelInputsExtractionJobsRequest} request
|
|
12616
|
+
* @return {!Uint8Array}
|
|
12617
|
+
*/
|
|
12618
|
+
function(request) {
|
|
12619
|
+
return request.serializeBinary();
|
|
12620
|
+
},
|
|
12621
|
+
proto.clarifai.api.MultiInputsExtractionJobResponse.deserializeBinary
|
|
12622
|
+
);
|
|
12623
|
+
|
|
12624
|
+
|
|
12625
|
+
/**
|
|
12626
|
+
* @param {!proto.clarifai.api.CancelInputsExtractionJobsRequest} request The
|
|
12627
|
+
* request proto
|
|
12628
|
+
* @param {?Object<string, string>} metadata User defined
|
|
12629
|
+
* call metadata
|
|
12630
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiInputsExtractionJobResponse)}
|
|
12631
|
+
* callback The callback function(error, response)
|
|
12632
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiInputsExtractionJobResponse>|undefined}
|
|
12633
|
+
* The XHR Node Readable Stream
|
|
12634
|
+
*/
|
|
12635
|
+
proto.clarifai.api.V2Client.prototype.cancelInputsExtractionJobs =
|
|
12636
|
+
function(request, metadata, callback) {
|
|
12637
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
12638
|
+
'/clarifai.api.V2/CancelInputsExtractionJobs',
|
|
12639
|
+
request,
|
|
12640
|
+
metadata || {},
|
|
12641
|
+
methodDescriptor_V2_CancelInputsExtractionJobs,
|
|
12642
|
+
callback);
|
|
12643
|
+
};
|
|
12644
|
+
|
|
12645
|
+
|
|
12646
|
+
/**
|
|
12647
|
+
* @param {!proto.clarifai.api.CancelInputsExtractionJobsRequest} request The
|
|
12648
|
+
* request proto
|
|
12649
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
12650
|
+
* call metadata
|
|
12651
|
+
* @return {!Promise<!proto.clarifai.api.MultiInputsExtractionJobResponse>}
|
|
12652
|
+
* Promise that resolves to the response
|
|
12653
|
+
*/
|
|
12654
|
+
proto.clarifai.api.V2PromiseClient.prototype.cancelInputsExtractionJobs =
|
|
12655
|
+
function(request, metadata) {
|
|
12656
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
12657
|
+
'/clarifai.api.V2/CancelInputsExtractionJobs',
|
|
12658
|
+
request,
|
|
12659
|
+
metadata || {},
|
|
12660
|
+
methodDescriptor_V2_CancelInputsExtractionJobs);
|
|
12661
|
+
};
|
|
12662
|
+
|
|
12663
|
+
|
|
12664
|
+
/**
|
|
12665
|
+
* @const
|
|
12666
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
12667
|
+
* !proto.clarifai.api.PostInputsUploadsRequest,
|
|
12668
|
+
* !proto.clarifai.api.MultiInputsAddJobResponse>}
|
|
12669
|
+
*/
|
|
12670
|
+
const methodDescriptor_V2_PostInputsUploads = new grpc.web.MethodDescriptor(
|
|
12671
|
+
'/clarifai.api.V2/PostInputsUploads',
|
|
12672
|
+
grpc.web.MethodType.UNARY,
|
|
12673
|
+
proto.clarifai.api.PostInputsUploadsRequest,
|
|
12674
|
+
proto.clarifai.api.MultiInputsAddJobResponse,
|
|
12675
|
+
/**
|
|
12676
|
+
* @param {!proto.clarifai.api.PostInputsUploadsRequest} request
|
|
12677
|
+
* @return {!Uint8Array}
|
|
12678
|
+
*/
|
|
12679
|
+
function(request) {
|
|
12680
|
+
return request.serializeBinary();
|
|
12681
|
+
},
|
|
12682
|
+
proto.clarifai.api.MultiInputsAddJobResponse.deserializeBinary
|
|
12683
|
+
);
|
|
12684
|
+
|
|
12685
|
+
|
|
12686
|
+
/**
|
|
12687
|
+
* @param {!proto.clarifai.api.PostInputsUploadsRequest} request The
|
|
12688
|
+
* request proto
|
|
12689
|
+
* @param {?Object<string, string>} metadata User defined
|
|
12690
|
+
* call metadata
|
|
12691
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiInputsAddJobResponse)}
|
|
12692
|
+
* callback The callback function(error, response)
|
|
12693
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiInputsAddJobResponse>|undefined}
|
|
12694
|
+
* The XHR Node Readable Stream
|
|
12695
|
+
*/
|
|
12696
|
+
proto.clarifai.api.V2Client.prototype.postInputsUploads =
|
|
12697
|
+
function(request, metadata, callback) {
|
|
12698
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
12699
|
+
'/clarifai.api.V2/PostInputsUploads',
|
|
12700
|
+
request,
|
|
12701
|
+
metadata || {},
|
|
12702
|
+
methodDescriptor_V2_PostInputsUploads,
|
|
12703
|
+
callback);
|
|
12704
|
+
};
|
|
12705
|
+
|
|
12706
|
+
|
|
12707
|
+
/**
|
|
12708
|
+
* @param {!proto.clarifai.api.PostInputsUploadsRequest} request The
|
|
12709
|
+
* request proto
|
|
12710
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
12711
|
+
* call metadata
|
|
12712
|
+
* @return {!Promise<!proto.clarifai.api.MultiInputsAddJobResponse>}
|
|
12713
|
+
* Promise that resolves to the response
|
|
12714
|
+
*/
|
|
12715
|
+
proto.clarifai.api.V2PromiseClient.prototype.postInputsUploads =
|
|
12716
|
+
function(request, metadata) {
|
|
12717
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
12718
|
+
'/clarifai.api.V2/PostInputsUploads',
|
|
12719
|
+
request,
|
|
12720
|
+
metadata || {},
|
|
12721
|
+
methodDescriptor_V2_PostInputsUploads);
|
|
12722
|
+
};
|
|
12723
|
+
|
|
12724
|
+
|
|
11928
12725
|
module.exports = proto.clarifai.api;
|
|
11929
12726
|
|