clarifai-web-grpc 5.0.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 +21 -18
- package/VERSION +1 -1
- package/package.json +3 -24
- package/proto/clarifai/api/resources_pb.d.ts +873 -27
- package/proto/clarifai/api/resources_pb.js +7734 -899
- package/proto/clarifai/api/service_grpc_web_pb.d.ts +204 -12
- package/proto/clarifai/api/service_grpc_web_pb.js +1187 -207
- package/proto/clarifai/api/service_pb.d.ts +784 -62
- package/proto/clarifai/api/service_pb.js +16588 -10440
- package/proto/clarifai/api/status/status_code_pb.d.ts +19 -7
- package/proto/clarifai/api/status/status_code_pb.js +26 -14
- package/proto/clarifai/api/status/status_pb.js +7 -7
- package/proto/clarifai/api/utils/extensions_pb.js +7 -7
- package/proto/clarifai/api/utils/matrix_pb.js +7 -7
- package/proto/clarifai/api/utils/test_proto_pb.js +7 -7
- package/proto/clarifai/auth/scope/scope_pb.js +7 -7
- package/proto/clarifai/auth/types/types_pb.js +7 -7
- package/proto/clarifai/auth/util/extension_pb.js +7 -7
- package/.husky/commit-msg +0 -4
- package/CHANGELOG.md +0 -12
- 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 -43612
- 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 -8091
- package/dist/cjs/proto/clarifai/api/service_pb.d.ts +0 -1
- package/dist/cjs/proto/clarifai/api/service_pb.js +0 -57630
- 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 -367
- package/dist/cjs/proto/clarifai/api/status/status_pb.d.ts +0 -1
- package/dist/cjs/proto/clarifai/api/status/status_pb.js +0 -726
- package/dist/cjs/proto/clarifai/api/utils/extensions_pb.d.ts +0 -1
- package/dist/cjs/proto/clarifai/api/utils/extensions_pb.js +0 -69
- package/dist/cjs/proto/clarifai/api/utils/matrix_pb.d.ts +0 -1
- package/dist/cjs/proto/clarifai/api/utils/matrix_pb.js +0 -206
- 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 -538
- package/dist/cjs/proto/clarifai/auth/scope/scope_pb.d.ts +0 -1
- package/dist/cjs/proto/clarifai/auth/scope/scope_pb.js +0 -336
- package/dist/cjs/proto/clarifai/auth/types/types_pb.d.ts +0 -1
- package/dist/cjs/proto/clarifai/auth/types/types_pb.js +0 -43
- package/dist/cjs/proto/clarifai/auth/util/extension_pb.d.ts +0 -1
- package/dist/cjs/proto/clarifai/auth/util/extension_pb.js +0 -97
- 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 -43612
- 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 -8091
- package/dist/esm/proto/clarifai/api/service_pb.d.ts +0 -1
- package/dist/esm/proto/clarifai/api/service_pb.js +0 -57630
- 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 -367
- package/dist/esm/proto/clarifai/api/status/status_pb.d.ts +0 -1
- package/dist/esm/proto/clarifai/api/status/status_pb.js +0 -726
- package/dist/esm/proto/clarifai/api/utils/extensions_pb.d.ts +0 -1
- package/dist/esm/proto/clarifai/api/utils/extensions_pb.js +0 -69
- package/dist/esm/proto/clarifai/api/utils/matrix_pb.d.ts +0 -1
- package/dist/esm/proto/clarifai/api/utils/matrix_pb.js +0 -206
- 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 -538
- package/dist/esm/proto/clarifai/auth/scope/scope_pb.d.ts +0 -1
- package/dist/esm/proto/clarifai/auth/scope/scope_pb.js +0 -336
- package/dist/esm/proto/clarifai/auth/types/types_pb.d.ts +0 -1
- package/dist/esm/proto/clarifai/auth/types/types_pb.js +0 -43
- package/dist/esm/proto/clarifai/auth/util/extension_pb.d.ts +0 -1
- package/dist/esm/proto/clarifai/auth/util/extension_pb.js +0 -97
- 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<
|
|
@@ -5157,380 +5222,746 @@ proto.clarifai.api.V2PromiseClient.prototype.postModelVersionMetrics =
|
|
|
5157
5222
|
/**
|
|
5158
5223
|
* @const
|
|
5159
5224
|
* @type {!grpc.web.MethodDescriptor<
|
|
5160
|
-
* !proto.clarifai.api.
|
|
5161
|
-
* !proto.clarifai.api.
|
|
5225
|
+
* !proto.clarifai.api.PostModelVersionEvaluationsRequest,
|
|
5226
|
+
* !proto.clarifai.api.MultiEvalMetricsResponse>}
|
|
5162
5227
|
*/
|
|
5163
|
-
const
|
|
5164
|
-
'/clarifai.api.V2/
|
|
5228
|
+
const methodDescriptor_V2_PostModelVersionEvaluations = new grpc.web.MethodDescriptor(
|
|
5229
|
+
'/clarifai.api.V2/PostModelVersionEvaluations',
|
|
5165
5230
|
grpc.web.MethodType.UNARY,
|
|
5166
|
-
proto.clarifai.api.
|
|
5167
|
-
proto.clarifai.api.
|
|
5231
|
+
proto.clarifai.api.PostModelVersionEvaluationsRequest,
|
|
5232
|
+
proto.clarifai.api.MultiEvalMetricsResponse,
|
|
5168
5233
|
/**
|
|
5169
|
-
* @param {!proto.clarifai.api.
|
|
5234
|
+
* @param {!proto.clarifai.api.PostModelVersionEvaluationsRequest} request
|
|
5170
5235
|
* @return {!Uint8Array}
|
|
5171
5236
|
*/
|
|
5172
5237
|
function(request) {
|
|
5173
5238
|
return request.serializeBinary();
|
|
5174
5239
|
},
|
|
5175
|
-
proto.clarifai.api.
|
|
5240
|
+
proto.clarifai.api.MultiEvalMetricsResponse.deserializeBinary
|
|
5176
5241
|
);
|
|
5177
5242
|
|
|
5178
5243
|
|
|
5179
5244
|
/**
|
|
5180
|
-
* @param {!proto.clarifai.api.
|
|
5245
|
+
* @param {!proto.clarifai.api.PostModelVersionEvaluationsRequest} request The
|
|
5181
5246
|
* request proto
|
|
5182
5247
|
* @param {?Object<string, string>} metadata User defined
|
|
5183
5248
|
* call metadata
|
|
5184
|
-
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.
|
|
5249
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiEvalMetricsResponse)}
|
|
5185
5250
|
* callback The callback function(error, response)
|
|
5186
|
-
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.
|
|
5251
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiEvalMetricsResponse>|undefined}
|
|
5187
5252
|
* The XHR Node Readable Stream
|
|
5188
5253
|
*/
|
|
5189
|
-
proto.clarifai.api.V2Client.prototype.
|
|
5254
|
+
proto.clarifai.api.V2Client.prototype.postModelVersionEvaluations =
|
|
5190
5255
|
function(request, metadata, callback) {
|
|
5191
5256
|
return this.client_.rpcCall(this.hostname_ +
|
|
5192
|
-
'/clarifai.api.V2/
|
|
5257
|
+
'/clarifai.api.V2/PostModelVersionEvaluations',
|
|
5193
5258
|
request,
|
|
5194
5259
|
metadata || {},
|
|
5195
|
-
|
|
5260
|
+
methodDescriptor_V2_PostModelVersionEvaluations,
|
|
5196
5261
|
callback);
|
|
5197
5262
|
};
|
|
5198
5263
|
|
|
5199
5264
|
|
|
5200
5265
|
/**
|
|
5201
|
-
* @param {!proto.clarifai.api.
|
|
5266
|
+
* @param {!proto.clarifai.api.PostModelVersionEvaluationsRequest} request The
|
|
5202
5267
|
* request proto
|
|
5203
5268
|
* @param {?Object<string, string>=} metadata User defined
|
|
5204
5269
|
* call metadata
|
|
5205
|
-
* @return {!Promise<!proto.clarifai.api.
|
|
5270
|
+
* @return {!Promise<!proto.clarifai.api.MultiEvalMetricsResponse>}
|
|
5206
5271
|
* Promise that resolves to the response
|
|
5207
5272
|
*/
|
|
5208
|
-
proto.clarifai.api.V2PromiseClient.prototype.
|
|
5273
|
+
proto.clarifai.api.V2PromiseClient.prototype.postModelVersionEvaluations =
|
|
5209
5274
|
function(request, metadata) {
|
|
5210
5275
|
return this.client_.unaryCall(this.hostname_ +
|
|
5211
|
-
'/clarifai.api.V2/
|
|
5276
|
+
'/clarifai.api.V2/PostModelVersionEvaluations',
|
|
5212
5277
|
request,
|
|
5213
5278
|
metadata || {},
|
|
5214
|
-
|
|
5279
|
+
methodDescriptor_V2_PostModelVersionEvaluations);
|
|
5215
5280
|
};
|
|
5216
5281
|
|
|
5217
5282
|
|
|
5218
5283
|
/**
|
|
5219
5284
|
* @const
|
|
5220
5285
|
* @type {!grpc.web.MethodDescriptor<
|
|
5221
|
-
* !proto.clarifai.api.
|
|
5222
|
-
* !proto.clarifai.api.
|
|
5286
|
+
* !proto.clarifai.api.ListModelVersionEvaluationsRequest,
|
|
5287
|
+
* !proto.clarifai.api.MultiEvalMetricsResponse>}
|
|
5223
5288
|
*/
|
|
5224
|
-
const
|
|
5225
|
-
'/clarifai.api.V2/
|
|
5289
|
+
const methodDescriptor_V2_ListModelVersionEvaluations = new grpc.web.MethodDescriptor(
|
|
5290
|
+
'/clarifai.api.V2/ListModelVersionEvaluations',
|
|
5226
5291
|
grpc.web.MethodType.UNARY,
|
|
5227
|
-
proto.clarifai.api.
|
|
5228
|
-
proto.clarifai.api.
|
|
5292
|
+
proto.clarifai.api.ListModelVersionEvaluationsRequest,
|
|
5293
|
+
proto.clarifai.api.MultiEvalMetricsResponse,
|
|
5229
5294
|
/**
|
|
5230
|
-
* @param {!proto.clarifai.api.
|
|
5295
|
+
* @param {!proto.clarifai.api.ListModelVersionEvaluationsRequest} request
|
|
5231
5296
|
* @return {!Uint8Array}
|
|
5232
5297
|
*/
|
|
5233
5298
|
function(request) {
|
|
5234
5299
|
return request.serializeBinary();
|
|
5235
5300
|
},
|
|
5236
|
-
proto.clarifai.api.
|
|
5301
|
+
proto.clarifai.api.MultiEvalMetricsResponse.deserializeBinary
|
|
5237
5302
|
);
|
|
5238
5303
|
|
|
5239
5304
|
|
|
5240
5305
|
/**
|
|
5241
|
-
* @param {!proto.clarifai.api.
|
|
5306
|
+
* @param {!proto.clarifai.api.ListModelVersionEvaluationsRequest} request The
|
|
5242
5307
|
* request proto
|
|
5243
5308
|
* @param {?Object<string, string>} metadata User defined
|
|
5244
5309
|
* call metadata
|
|
5245
|
-
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.
|
|
5310
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiEvalMetricsResponse)}
|
|
5246
5311
|
* callback The callback function(error, response)
|
|
5247
|
-
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.
|
|
5312
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiEvalMetricsResponse>|undefined}
|
|
5248
5313
|
* The XHR Node Readable Stream
|
|
5249
5314
|
*/
|
|
5250
|
-
proto.clarifai.api.V2Client.prototype.
|
|
5315
|
+
proto.clarifai.api.V2Client.prototype.listModelVersionEvaluations =
|
|
5251
5316
|
function(request, metadata, callback) {
|
|
5252
5317
|
return this.client_.rpcCall(this.hostname_ +
|
|
5253
|
-
'/clarifai.api.V2/
|
|
5318
|
+
'/clarifai.api.V2/ListModelVersionEvaluations',
|
|
5254
5319
|
request,
|
|
5255
5320
|
metadata || {},
|
|
5256
|
-
|
|
5321
|
+
methodDescriptor_V2_ListModelVersionEvaluations,
|
|
5257
5322
|
callback);
|
|
5258
5323
|
};
|
|
5259
5324
|
|
|
5260
5325
|
|
|
5261
5326
|
/**
|
|
5262
|
-
* @param {!proto.clarifai.api.
|
|
5327
|
+
* @param {!proto.clarifai.api.ListModelVersionEvaluationsRequest} request The
|
|
5263
5328
|
* request proto
|
|
5264
5329
|
* @param {?Object<string, string>=} metadata User defined
|
|
5265
5330
|
* call metadata
|
|
5266
|
-
* @return {!Promise<!proto.clarifai.api.
|
|
5331
|
+
* @return {!Promise<!proto.clarifai.api.MultiEvalMetricsResponse>}
|
|
5267
5332
|
* Promise that resolves to the response
|
|
5268
5333
|
*/
|
|
5269
|
-
proto.clarifai.api.V2PromiseClient.prototype.
|
|
5334
|
+
proto.clarifai.api.V2PromiseClient.prototype.listModelVersionEvaluations =
|
|
5270
5335
|
function(request, metadata) {
|
|
5271
5336
|
return this.client_.unaryCall(this.hostname_ +
|
|
5272
|
-
'/clarifai.api.V2/
|
|
5337
|
+
'/clarifai.api.V2/ListModelVersionEvaluations',
|
|
5273
5338
|
request,
|
|
5274
5339
|
metadata || {},
|
|
5275
|
-
|
|
5340
|
+
methodDescriptor_V2_ListModelVersionEvaluations);
|
|
5276
5341
|
};
|
|
5277
5342
|
|
|
5278
5343
|
|
|
5279
5344
|
/**
|
|
5280
5345
|
* @const
|
|
5281
5346
|
* @type {!grpc.web.MethodDescriptor<
|
|
5282
|
-
* !proto.clarifai.api.
|
|
5283
|
-
* !proto.clarifai.api.
|
|
5347
|
+
* !proto.clarifai.api.GetModelVersionEvaluationRequest,
|
|
5348
|
+
* !proto.clarifai.api.SingleEvalMetricsResponse>}
|
|
5284
5349
|
*/
|
|
5285
|
-
const
|
|
5286
|
-
'/clarifai.api.V2/
|
|
5350
|
+
const methodDescriptor_V2_GetModelVersionEvaluation = new grpc.web.MethodDescriptor(
|
|
5351
|
+
'/clarifai.api.V2/GetModelVersionEvaluation',
|
|
5287
5352
|
grpc.web.MethodType.UNARY,
|
|
5288
|
-
proto.clarifai.api.
|
|
5289
|
-
proto.clarifai.api.
|
|
5353
|
+
proto.clarifai.api.GetModelVersionEvaluationRequest,
|
|
5354
|
+
proto.clarifai.api.SingleEvalMetricsResponse,
|
|
5290
5355
|
/**
|
|
5291
|
-
* @param {!proto.clarifai.api.
|
|
5356
|
+
* @param {!proto.clarifai.api.GetModelVersionEvaluationRequest} request
|
|
5292
5357
|
* @return {!Uint8Array}
|
|
5293
5358
|
*/
|
|
5294
5359
|
function(request) {
|
|
5295
5360
|
return request.serializeBinary();
|
|
5296
5361
|
},
|
|
5297
|
-
proto.clarifai.api.
|
|
5362
|
+
proto.clarifai.api.SingleEvalMetricsResponse.deserializeBinary
|
|
5298
5363
|
);
|
|
5299
5364
|
|
|
5300
5365
|
|
|
5301
5366
|
/**
|
|
5302
|
-
* @param {!proto.clarifai.api.
|
|
5367
|
+
* @param {!proto.clarifai.api.GetModelVersionEvaluationRequest} request The
|
|
5303
5368
|
* request proto
|
|
5304
5369
|
* @param {?Object<string, string>} metadata User defined
|
|
5305
5370
|
* call metadata
|
|
5306
|
-
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.
|
|
5371
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.SingleEvalMetricsResponse)}
|
|
5307
5372
|
* callback The callback function(error, response)
|
|
5308
|
-
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.
|
|
5373
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.SingleEvalMetricsResponse>|undefined}
|
|
5309
5374
|
* The XHR Node Readable Stream
|
|
5310
5375
|
*/
|
|
5311
|
-
proto.clarifai.api.V2Client.prototype.
|
|
5376
|
+
proto.clarifai.api.V2Client.prototype.getModelVersionEvaluation =
|
|
5312
5377
|
function(request, metadata, callback) {
|
|
5313
5378
|
return this.client_.rpcCall(this.hostname_ +
|
|
5314
|
-
'/clarifai.api.V2/
|
|
5379
|
+
'/clarifai.api.V2/GetModelVersionEvaluation',
|
|
5315
5380
|
request,
|
|
5316
5381
|
metadata || {},
|
|
5317
|
-
|
|
5382
|
+
methodDescriptor_V2_GetModelVersionEvaluation,
|
|
5318
5383
|
callback);
|
|
5319
5384
|
};
|
|
5320
5385
|
|
|
5321
5386
|
|
|
5322
5387
|
/**
|
|
5323
|
-
* @param {!proto.clarifai.api.
|
|
5388
|
+
* @param {!proto.clarifai.api.GetModelVersionEvaluationRequest} request The
|
|
5324
5389
|
* request proto
|
|
5325
5390
|
* @param {?Object<string, string>=} metadata User defined
|
|
5326
5391
|
* call metadata
|
|
5327
|
-
* @return {!Promise<!proto.clarifai.api.
|
|
5392
|
+
* @return {!Promise<!proto.clarifai.api.SingleEvalMetricsResponse>}
|
|
5328
5393
|
* Promise that resolves to the response
|
|
5329
5394
|
*/
|
|
5330
|
-
proto.clarifai.api.V2PromiseClient.prototype.
|
|
5395
|
+
proto.clarifai.api.V2PromiseClient.prototype.getModelVersionEvaluation =
|
|
5331
5396
|
function(request, metadata) {
|
|
5332
5397
|
return this.client_.unaryCall(this.hostname_ +
|
|
5333
|
-
'/clarifai.api.V2/
|
|
5398
|
+
'/clarifai.api.V2/GetModelVersionEvaluation',
|
|
5334
5399
|
request,
|
|
5335
5400
|
metadata || {},
|
|
5336
|
-
|
|
5401
|
+
methodDescriptor_V2_GetModelVersionEvaluation);
|
|
5337
5402
|
};
|
|
5338
5403
|
|
|
5339
5404
|
|
|
5340
5405
|
/**
|
|
5341
5406
|
* @const
|
|
5342
5407
|
* @type {!grpc.web.MethodDescriptor<
|
|
5343
|
-
* !proto.clarifai.api.
|
|
5344
|
-
* !proto.clarifai.api.
|
|
5408
|
+
* !proto.clarifai.api.PostEvaluationsRequest,
|
|
5409
|
+
* !proto.clarifai.api.MultiEvalMetricsResponse>}
|
|
5345
5410
|
*/
|
|
5346
|
-
const
|
|
5347
|
-
'/clarifai.api.V2/
|
|
5411
|
+
const methodDescriptor_V2_PostEvaluations = new grpc.web.MethodDescriptor(
|
|
5412
|
+
'/clarifai.api.V2/PostEvaluations',
|
|
5348
5413
|
grpc.web.MethodType.UNARY,
|
|
5349
|
-
proto.clarifai.api.
|
|
5350
|
-
proto.clarifai.api.
|
|
5414
|
+
proto.clarifai.api.PostEvaluationsRequest,
|
|
5415
|
+
proto.clarifai.api.MultiEvalMetricsResponse,
|
|
5351
5416
|
/**
|
|
5352
|
-
* @param {!proto.clarifai.api.
|
|
5417
|
+
* @param {!proto.clarifai.api.PostEvaluationsRequest} request
|
|
5353
5418
|
* @return {!Uint8Array}
|
|
5354
5419
|
*/
|
|
5355
5420
|
function(request) {
|
|
5356
5421
|
return request.serializeBinary();
|
|
5357
5422
|
},
|
|
5358
|
-
proto.clarifai.api.
|
|
5423
|
+
proto.clarifai.api.MultiEvalMetricsResponse.deserializeBinary
|
|
5359
5424
|
);
|
|
5360
5425
|
|
|
5361
5426
|
|
|
5362
5427
|
/**
|
|
5363
|
-
* @param {!proto.clarifai.api.
|
|
5428
|
+
* @param {!proto.clarifai.api.PostEvaluationsRequest} request The
|
|
5364
5429
|
* request proto
|
|
5365
5430
|
* @param {?Object<string, string>} metadata User defined
|
|
5366
5431
|
* call metadata
|
|
5367
|
-
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.
|
|
5432
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiEvalMetricsResponse)}
|
|
5368
5433
|
* callback The callback function(error, response)
|
|
5369
|
-
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.
|
|
5434
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiEvalMetricsResponse>|undefined}
|
|
5370
5435
|
* The XHR Node Readable Stream
|
|
5371
5436
|
*/
|
|
5372
|
-
proto.clarifai.api.V2Client.prototype.
|
|
5437
|
+
proto.clarifai.api.V2Client.prototype.postEvaluations =
|
|
5373
5438
|
function(request, metadata, callback) {
|
|
5374
5439
|
return this.client_.rpcCall(this.hostname_ +
|
|
5375
|
-
'/clarifai.api.V2/
|
|
5440
|
+
'/clarifai.api.V2/PostEvaluations',
|
|
5376
5441
|
request,
|
|
5377
5442
|
metadata || {},
|
|
5378
|
-
|
|
5443
|
+
methodDescriptor_V2_PostEvaluations,
|
|
5379
5444
|
callback);
|
|
5380
5445
|
};
|
|
5381
5446
|
|
|
5382
5447
|
|
|
5383
5448
|
/**
|
|
5384
|
-
* @param {!proto.clarifai.api.
|
|
5449
|
+
* @param {!proto.clarifai.api.PostEvaluationsRequest} request The
|
|
5385
5450
|
* request proto
|
|
5386
5451
|
* @param {?Object<string, string>=} metadata User defined
|
|
5387
5452
|
* call metadata
|
|
5388
|
-
* @return {!Promise<!proto.clarifai.api.
|
|
5453
|
+
* @return {!Promise<!proto.clarifai.api.MultiEvalMetricsResponse>}
|
|
5389
5454
|
* Promise that resolves to the response
|
|
5390
5455
|
*/
|
|
5391
|
-
proto.clarifai.api.V2PromiseClient.prototype.
|
|
5456
|
+
proto.clarifai.api.V2PromiseClient.prototype.postEvaluations =
|
|
5392
5457
|
function(request, metadata) {
|
|
5393
5458
|
return this.client_.unaryCall(this.hostname_ +
|
|
5394
|
-
'/clarifai.api.V2/
|
|
5459
|
+
'/clarifai.api.V2/PostEvaluations',
|
|
5395
5460
|
request,
|
|
5396
5461
|
metadata || {},
|
|
5397
|
-
|
|
5462
|
+
methodDescriptor_V2_PostEvaluations);
|
|
5398
5463
|
};
|
|
5399
5464
|
|
|
5400
5465
|
|
|
5401
5466
|
/**
|
|
5402
5467
|
* @const
|
|
5403
5468
|
* @type {!grpc.web.MethodDescriptor<
|
|
5404
|
-
* !proto.clarifai.api.
|
|
5405
|
-
* !proto.clarifai.api.
|
|
5469
|
+
* !proto.clarifai.api.ListEvaluationsRequest,
|
|
5470
|
+
* !proto.clarifai.api.MultiEvalMetricsResponse>}
|
|
5406
5471
|
*/
|
|
5407
|
-
const
|
|
5408
|
-
'/clarifai.api.V2/
|
|
5472
|
+
const methodDescriptor_V2_ListEvaluations = new grpc.web.MethodDescriptor(
|
|
5473
|
+
'/clarifai.api.V2/ListEvaluations',
|
|
5409
5474
|
grpc.web.MethodType.UNARY,
|
|
5410
|
-
proto.clarifai.api.
|
|
5411
|
-
proto.clarifai.api.
|
|
5475
|
+
proto.clarifai.api.ListEvaluationsRequest,
|
|
5476
|
+
proto.clarifai.api.MultiEvalMetricsResponse,
|
|
5412
5477
|
/**
|
|
5413
|
-
* @param {!proto.clarifai.api.
|
|
5478
|
+
* @param {!proto.clarifai.api.ListEvaluationsRequest} request
|
|
5414
5479
|
* @return {!Uint8Array}
|
|
5415
5480
|
*/
|
|
5416
5481
|
function(request) {
|
|
5417
5482
|
return request.serializeBinary();
|
|
5418
5483
|
},
|
|
5419
|
-
proto.clarifai.api.
|
|
5484
|
+
proto.clarifai.api.MultiEvalMetricsResponse.deserializeBinary
|
|
5420
5485
|
);
|
|
5421
5486
|
|
|
5422
5487
|
|
|
5423
5488
|
/**
|
|
5424
|
-
* @param {!proto.clarifai.api.
|
|
5489
|
+
* @param {!proto.clarifai.api.ListEvaluationsRequest} request The
|
|
5425
5490
|
* request proto
|
|
5426
5491
|
* @param {?Object<string, string>} metadata User defined
|
|
5427
5492
|
* call metadata
|
|
5428
|
-
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.
|
|
5493
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiEvalMetricsResponse)}
|
|
5429
5494
|
* callback The callback function(error, response)
|
|
5430
|
-
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.
|
|
5495
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiEvalMetricsResponse>|undefined}
|
|
5431
5496
|
* The XHR Node Readable Stream
|
|
5432
5497
|
*/
|
|
5433
|
-
proto.clarifai.api.V2Client.prototype.
|
|
5498
|
+
proto.clarifai.api.V2Client.prototype.listEvaluations =
|
|
5434
5499
|
function(request, metadata, callback) {
|
|
5435
5500
|
return this.client_.rpcCall(this.hostname_ +
|
|
5436
|
-
'/clarifai.api.V2/
|
|
5501
|
+
'/clarifai.api.V2/ListEvaluations',
|
|
5437
5502
|
request,
|
|
5438
5503
|
metadata || {},
|
|
5439
|
-
|
|
5504
|
+
methodDescriptor_V2_ListEvaluations,
|
|
5440
5505
|
callback);
|
|
5441
5506
|
};
|
|
5442
5507
|
|
|
5443
5508
|
|
|
5444
5509
|
/**
|
|
5445
|
-
* @param {!proto.clarifai.api.
|
|
5510
|
+
* @param {!proto.clarifai.api.ListEvaluationsRequest} request The
|
|
5446
5511
|
* request proto
|
|
5447
5512
|
* @param {?Object<string, string>=} metadata User defined
|
|
5448
5513
|
* call metadata
|
|
5449
|
-
* @return {!Promise<!proto.clarifai.api.
|
|
5514
|
+
* @return {!Promise<!proto.clarifai.api.MultiEvalMetricsResponse>}
|
|
5450
5515
|
* Promise that resolves to the response
|
|
5451
5516
|
*/
|
|
5452
|
-
proto.clarifai.api.V2PromiseClient.prototype.
|
|
5517
|
+
proto.clarifai.api.V2PromiseClient.prototype.listEvaluations =
|
|
5453
5518
|
function(request, metadata) {
|
|
5454
5519
|
return this.client_.unaryCall(this.hostname_ +
|
|
5455
|
-
'/clarifai.api.V2/
|
|
5520
|
+
'/clarifai.api.V2/ListEvaluations',
|
|
5456
5521
|
request,
|
|
5457
5522
|
metadata || {},
|
|
5458
|
-
|
|
5523
|
+
methodDescriptor_V2_ListEvaluations);
|
|
5459
5524
|
};
|
|
5460
5525
|
|
|
5461
5526
|
|
|
5462
5527
|
/**
|
|
5463
5528
|
* @const
|
|
5464
5529
|
* @type {!grpc.web.MethodDescriptor<
|
|
5465
|
-
* !proto.clarifai.api.
|
|
5466
|
-
* !proto.clarifai.api.
|
|
5530
|
+
* !proto.clarifai.api.GetEvaluationRequest,
|
|
5531
|
+
* !proto.clarifai.api.SingleEvalMetricsResponse>}
|
|
5467
5532
|
*/
|
|
5468
|
-
const
|
|
5469
|
-
'/clarifai.api.V2/
|
|
5533
|
+
const methodDescriptor_V2_GetEvaluation = new grpc.web.MethodDescriptor(
|
|
5534
|
+
'/clarifai.api.V2/GetEvaluation',
|
|
5470
5535
|
grpc.web.MethodType.UNARY,
|
|
5471
|
-
proto.clarifai.api.
|
|
5472
|
-
proto.clarifai.api.
|
|
5536
|
+
proto.clarifai.api.GetEvaluationRequest,
|
|
5537
|
+
proto.clarifai.api.SingleEvalMetricsResponse,
|
|
5473
5538
|
/**
|
|
5474
|
-
* @param {!proto.clarifai.api.
|
|
5539
|
+
* @param {!proto.clarifai.api.GetEvaluationRequest} request
|
|
5475
5540
|
* @return {!Uint8Array}
|
|
5476
5541
|
*/
|
|
5477
5542
|
function(request) {
|
|
5478
5543
|
return request.serializeBinary();
|
|
5479
5544
|
},
|
|
5480
|
-
proto.clarifai.api.
|
|
5545
|
+
proto.clarifai.api.SingleEvalMetricsResponse.deserializeBinary
|
|
5481
5546
|
);
|
|
5482
5547
|
|
|
5483
5548
|
|
|
5484
5549
|
/**
|
|
5485
|
-
* @param {!proto.clarifai.api.
|
|
5550
|
+
* @param {!proto.clarifai.api.GetEvaluationRequest} request The
|
|
5486
5551
|
* request proto
|
|
5487
5552
|
* @param {?Object<string, string>} metadata User defined
|
|
5488
5553
|
* call metadata
|
|
5489
|
-
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.
|
|
5554
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.SingleEvalMetricsResponse)}
|
|
5490
5555
|
* callback The callback function(error, response)
|
|
5491
|
-
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.
|
|
5556
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.SingleEvalMetricsResponse>|undefined}
|
|
5492
5557
|
* The XHR Node Readable Stream
|
|
5493
5558
|
*/
|
|
5494
|
-
proto.clarifai.api.V2Client.prototype.
|
|
5559
|
+
proto.clarifai.api.V2Client.prototype.getEvaluation =
|
|
5495
5560
|
function(request, metadata, callback) {
|
|
5496
5561
|
return this.client_.rpcCall(this.hostname_ +
|
|
5497
|
-
'/clarifai.api.V2/
|
|
5562
|
+
'/clarifai.api.V2/GetEvaluation',
|
|
5498
5563
|
request,
|
|
5499
5564
|
metadata || {},
|
|
5500
|
-
|
|
5565
|
+
methodDescriptor_V2_GetEvaluation,
|
|
5501
5566
|
callback);
|
|
5502
5567
|
};
|
|
5503
5568
|
|
|
5504
5569
|
|
|
5505
5570
|
/**
|
|
5506
|
-
* @param {!proto.clarifai.api.
|
|
5571
|
+
* @param {!proto.clarifai.api.GetEvaluationRequest} request The
|
|
5507
5572
|
* request proto
|
|
5508
5573
|
* @param {?Object<string, string>=} metadata User defined
|
|
5509
5574
|
* call metadata
|
|
5510
|
-
* @return {!Promise<!proto.clarifai.api.
|
|
5575
|
+
* @return {!Promise<!proto.clarifai.api.SingleEvalMetricsResponse>}
|
|
5511
5576
|
* Promise that resolves to the response
|
|
5512
5577
|
*/
|
|
5513
|
-
proto.clarifai.api.V2PromiseClient.prototype.
|
|
5578
|
+
proto.clarifai.api.V2PromiseClient.prototype.getEvaluation =
|
|
5514
5579
|
function(request, metadata) {
|
|
5515
5580
|
return this.client_.unaryCall(this.hostname_ +
|
|
5516
|
-
'/clarifai.api.V2/
|
|
5581
|
+
'/clarifai.api.V2/GetEvaluation',
|
|
5517
5582
|
request,
|
|
5518
5583
|
metadata || {},
|
|
5519
|
-
|
|
5584
|
+
methodDescriptor_V2_GetEvaluation);
|
|
5520
5585
|
};
|
|
5521
5586
|
|
|
5522
5587
|
|
|
5523
5588
|
/**
|
|
5524
5589
|
* @const
|
|
5525
5590
|
* @type {!grpc.web.MethodDescriptor<
|
|
5526
|
-
* !proto.clarifai.api.
|
|
5527
|
-
* !proto.clarifai.api.
|
|
5591
|
+
* !proto.clarifai.api.ListModelReferencesRequest,
|
|
5592
|
+
* !proto.clarifai.api.MultiModelReferenceResponse>}
|
|
5528
5593
|
*/
|
|
5529
|
-
const
|
|
5530
|
-
'/clarifai.api.V2/
|
|
5594
|
+
const methodDescriptor_V2_ListModelReferences = new grpc.web.MethodDescriptor(
|
|
5595
|
+
'/clarifai.api.V2/ListModelReferences',
|
|
5531
5596
|
grpc.web.MethodType.UNARY,
|
|
5532
|
-
proto.clarifai.api.
|
|
5533
|
-
proto.clarifai.api.
|
|
5597
|
+
proto.clarifai.api.ListModelReferencesRequest,
|
|
5598
|
+
proto.clarifai.api.MultiModelReferenceResponse,
|
|
5599
|
+
/**
|
|
5600
|
+
* @param {!proto.clarifai.api.ListModelReferencesRequest} request
|
|
5601
|
+
* @return {!Uint8Array}
|
|
5602
|
+
*/
|
|
5603
|
+
function(request) {
|
|
5604
|
+
return request.serializeBinary();
|
|
5605
|
+
},
|
|
5606
|
+
proto.clarifai.api.MultiModelReferenceResponse.deserializeBinary
|
|
5607
|
+
);
|
|
5608
|
+
|
|
5609
|
+
|
|
5610
|
+
/**
|
|
5611
|
+
* @param {!proto.clarifai.api.ListModelReferencesRequest} request The
|
|
5612
|
+
* request proto
|
|
5613
|
+
* @param {?Object<string, string>} metadata User defined
|
|
5614
|
+
* call metadata
|
|
5615
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiModelReferenceResponse)}
|
|
5616
|
+
* callback The callback function(error, response)
|
|
5617
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiModelReferenceResponse>|undefined}
|
|
5618
|
+
* The XHR Node Readable Stream
|
|
5619
|
+
*/
|
|
5620
|
+
proto.clarifai.api.V2Client.prototype.listModelReferences =
|
|
5621
|
+
function(request, metadata, callback) {
|
|
5622
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
5623
|
+
'/clarifai.api.V2/ListModelReferences',
|
|
5624
|
+
request,
|
|
5625
|
+
metadata || {},
|
|
5626
|
+
methodDescriptor_V2_ListModelReferences,
|
|
5627
|
+
callback);
|
|
5628
|
+
};
|
|
5629
|
+
|
|
5630
|
+
|
|
5631
|
+
/**
|
|
5632
|
+
* @param {!proto.clarifai.api.ListModelReferencesRequest} request The
|
|
5633
|
+
* request proto
|
|
5634
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
5635
|
+
* call metadata
|
|
5636
|
+
* @return {!Promise<!proto.clarifai.api.MultiModelReferenceResponse>}
|
|
5637
|
+
* Promise that resolves to the response
|
|
5638
|
+
*/
|
|
5639
|
+
proto.clarifai.api.V2PromiseClient.prototype.listModelReferences =
|
|
5640
|
+
function(request, metadata) {
|
|
5641
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
5642
|
+
'/clarifai.api.V2/ListModelReferences',
|
|
5643
|
+
request,
|
|
5644
|
+
metadata || {},
|
|
5645
|
+
methodDescriptor_V2_ListModelReferences);
|
|
5646
|
+
};
|
|
5647
|
+
|
|
5648
|
+
|
|
5649
|
+
/**
|
|
5650
|
+
* @const
|
|
5651
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
5652
|
+
* !proto.clarifai.api.GetModelVersionInputExampleRequest,
|
|
5653
|
+
* !proto.clarifai.api.SingleModelVersionInputExampleResponse>}
|
|
5654
|
+
*/
|
|
5655
|
+
const methodDescriptor_V2_GetModelVersionInputExample = new grpc.web.MethodDescriptor(
|
|
5656
|
+
'/clarifai.api.V2/GetModelVersionInputExample',
|
|
5657
|
+
grpc.web.MethodType.UNARY,
|
|
5658
|
+
proto.clarifai.api.GetModelVersionInputExampleRequest,
|
|
5659
|
+
proto.clarifai.api.SingleModelVersionInputExampleResponse,
|
|
5660
|
+
/**
|
|
5661
|
+
* @param {!proto.clarifai.api.GetModelVersionInputExampleRequest} request
|
|
5662
|
+
* @return {!Uint8Array}
|
|
5663
|
+
*/
|
|
5664
|
+
function(request) {
|
|
5665
|
+
return request.serializeBinary();
|
|
5666
|
+
},
|
|
5667
|
+
proto.clarifai.api.SingleModelVersionInputExampleResponse.deserializeBinary
|
|
5668
|
+
);
|
|
5669
|
+
|
|
5670
|
+
|
|
5671
|
+
/**
|
|
5672
|
+
* @param {!proto.clarifai.api.GetModelVersionInputExampleRequest} request The
|
|
5673
|
+
* request proto
|
|
5674
|
+
* @param {?Object<string, string>} metadata User defined
|
|
5675
|
+
* call metadata
|
|
5676
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.SingleModelVersionInputExampleResponse)}
|
|
5677
|
+
* callback The callback function(error, response)
|
|
5678
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.SingleModelVersionInputExampleResponse>|undefined}
|
|
5679
|
+
* The XHR Node Readable Stream
|
|
5680
|
+
*/
|
|
5681
|
+
proto.clarifai.api.V2Client.prototype.getModelVersionInputExample =
|
|
5682
|
+
function(request, metadata, callback) {
|
|
5683
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
5684
|
+
'/clarifai.api.V2/GetModelVersionInputExample',
|
|
5685
|
+
request,
|
|
5686
|
+
metadata || {},
|
|
5687
|
+
methodDescriptor_V2_GetModelVersionInputExample,
|
|
5688
|
+
callback);
|
|
5689
|
+
};
|
|
5690
|
+
|
|
5691
|
+
|
|
5692
|
+
/**
|
|
5693
|
+
* @param {!proto.clarifai.api.GetModelVersionInputExampleRequest} request The
|
|
5694
|
+
* request proto
|
|
5695
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
5696
|
+
* call metadata
|
|
5697
|
+
* @return {!Promise<!proto.clarifai.api.SingleModelVersionInputExampleResponse>}
|
|
5698
|
+
* Promise that resolves to the response
|
|
5699
|
+
*/
|
|
5700
|
+
proto.clarifai.api.V2PromiseClient.prototype.getModelVersionInputExample =
|
|
5701
|
+
function(request, metadata) {
|
|
5702
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
5703
|
+
'/clarifai.api.V2/GetModelVersionInputExample',
|
|
5704
|
+
request,
|
|
5705
|
+
metadata || {},
|
|
5706
|
+
methodDescriptor_V2_GetModelVersionInputExample);
|
|
5707
|
+
};
|
|
5708
|
+
|
|
5709
|
+
|
|
5710
|
+
/**
|
|
5711
|
+
* @const
|
|
5712
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
5713
|
+
* !proto.clarifai.api.ListModelVersionInputExamplesRequest,
|
|
5714
|
+
* !proto.clarifai.api.MultiModelVersionInputExampleResponse>}
|
|
5715
|
+
*/
|
|
5716
|
+
const methodDescriptor_V2_ListModelVersionInputExamples = new grpc.web.MethodDescriptor(
|
|
5717
|
+
'/clarifai.api.V2/ListModelVersionInputExamples',
|
|
5718
|
+
grpc.web.MethodType.UNARY,
|
|
5719
|
+
proto.clarifai.api.ListModelVersionInputExamplesRequest,
|
|
5720
|
+
proto.clarifai.api.MultiModelVersionInputExampleResponse,
|
|
5721
|
+
/**
|
|
5722
|
+
* @param {!proto.clarifai.api.ListModelVersionInputExamplesRequest} request
|
|
5723
|
+
* @return {!Uint8Array}
|
|
5724
|
+
*/
|
|
5725
|
+
function(request) {
|
|
5726
|
+
return request.serializeBinary();
|
|
5727
|
+
},
|
|
5728
|
+
proto.clarifai.api.MultiModelVersionInputExampleResponse.deserializeBinary
|
|
5729
|
+
);
|
|
5730
|
+
|
|
5731
|
+
|
|
5732
|
+
/**
|
|
5733
|
+
* @param {!proto.clarifai.api.ListModelVersionInputExamplesRequest} request The
|
|
5734
|
+
* request proto
|
|
5735
|
+
* @param {?Object<string, string>} metadata User defined
|
|
5736
|
+
* call metadata
|
|
5737
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiModelVersionInputExampleResponse)}
|
|
5738
|
+
* callback The callback function(error, response)
|
|
5739
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiModelVersionInputExampleResponse>|undefined}
|
|
5740
|
+
* The XHR Node Readable Stream
|
|
5741
|
+
*/
|
|
5742
|
+
proto.clarifai.api.V2Client.prototype.listModelVersionInputExamples =
|
|
5743
|
+
function(request, metadata, callback) {
|
|
5744
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
5745
|
+
'/clarifai.api.V2/ListModelVersionInputExamples',
|
|
5746
|
+
request,
|
|
5747
|
+
metadata || {},
|
|
5748
|
+
methodDescriptor_V2_ListModelVersionInputExamples,
|
|
5749
|
+
callback);
|
|
5750
|
+
};
|
|
5751
|
+
|
|
5752
|
+
|
|
5753
|
+
/**
|
|
5754
|
+
* @param {!proto.clarifai.api.ListModelVersionInputExamplesRequest} request The
|
|
5755
|
+
* request proto
|
|
5756
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
5757
|
+
* call metadata
|
|
5758
|
+
* @return {!Promise<!proto.clarifai.api.MultiModelVersionInputExampleResponse>}
|
|
5759
|
+
* Promise that resolves to the response
|
|
5760
|
+
*/
|
|
5761
|
+
proto.clarifai.api.V2PromiseClient.prototype.listModelVersionInputExamples =
|
|
5762
|
+
function(request, metadata) {
|
|
5763
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
5764
|
+
'/clarifai.api.V2/ListModelVersionInputExamples',
|
|
5765
|
+
request,
|
|
5766
|
+
metadata || {},
|
|
5767
|
+
methodDescriptor_V2_ListModelVersionInputExamples);
|
|
5768
|
+
};
|
|
5769
|
+
|
|
5770
|
+
|
|
5771
|
+
/**
|
|
5772
|
+
* @const
|
|
5773
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
5774
|
+
* !proto.clarifai.api.GetWorkflowRequest,
|
|
5775
|
+
* !proto.clarifai.api.SingleWorkflowResponse>}
|
|
5776
|
+
*/
|
|
5777
|
+
const methodDescriptor_V2_GetWorkflow = new grpc.web.MethodDescriptor(
|
|
5778
|
+
'/clarifai.api.V2/GetWorkflow',
|
|
5779
|
+
grpc.web.MethodType.UNARY,
|
|
5780
|
+
proto.clarifai.api.GetWorkflowRequest,
|
|
5781
|
+
proto.clarifai.api.SingleWorkflowResponse,
|
|
5782
|
+
/**
|
|
5783
|
+
* @param {!proto.clarifai.api.GetWorkflowRequest} request
|
|
5784
|
+
* @return {!Uint8Array}
|
|
5785
|
+
*/
|
|
5786
|
+
function(request) {
|
|
5787
|
+
return request.serializeBinary();
|
|
5788
|
+
},
|
|
5789
|
+
proto.clarifai.api.SingleWorkflowResponse.deserializeBinary
|
|
5790
|
+
);
|
|
5791
|
+
|
|
5792
|
+
|
|
5793
|
+
/**
|
|
5794
|
+
* @param {!proto.clarifai.api.GetWorkflowRequest} request The
|
|
5795
|
+
* request proto
|
|
5796
|
+
* @param {?Object<string, string>} metadata User defined
|
|
5797
|
+
* call metadata
|
|
5798
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.SingleWorkflowResponse)}
|
|
5799
|
+
* callback The callback function(error, response)
|
|
5800
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.SingleWorkflowResponse>|undefined}
|
|
5801
|
+
* The XHR Node Readable Stream
|
|
5802
|
+
*/
|
|
5803
|
+
proto.clarifai.api.V2Client.prototype.getWorkflow =
|
|
5804
|
+
function(request, metadata, callback) {
|
|
5805
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
5806
|
+
'/clarifai.api.V2/GetWorkflow',
|
|
5807
|
+
request,
|
|
5808
|
+
metadata || {},
|
|
5809
|
+
methodDescriptor_V2_GetWorkflow,
|
|
5810
|
+
callback);
|
|
5811
|
+
};
|
|
5812
|
+
|
|
5813
|
+
|
|
5814
|
+
/**
|
|
5815
|
+
* @param {!proto.clarifai.api.GetWorkflowRequest} request The
|
|
5816
|
+
* request proto
|
|
5817
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
5818
|
+
* call metadata
|
|
5819
|
+
* @return {!Promise<!proto.clarifai.api.SingleWorkflowResponse>}
|
|
5820
|
+
* Promise that resolves to the response
|
|
5821
|
+
*/
|
|
5822
|
+
proto.clarifai.api.V2PromiseClient.prototype.getWorkflow =
|
|
5823
|
+
function(request, metadata) {
|
|
5824
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
5825
|
+
'/clarifai.api.V2/GetWorkflow',
|
|
5826
|
+
request,
|
|
5827
|
+
metadata || {},
|
|
5828
|
+
methodDescriptor_V2_GetWorkflow);
|
|
5829
|
+
};
|
|
5830
|
+
|
|
5831
|
+
|
|
5832
|
+
/**
|
|
5833
|
+
* @const
|
|
5834
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
5835
|
+
* !proto.clarifai.api.ListWorkflowsRequest,
|
|
5836
|
+
* !proto.clarifai.api.MultiWorkflowResponse>}
|
|
5837
|
+
*/
|
|
5838
|
+
const methodDescriptor_V2_ListWorkflows = new grpc.web.MethodDescriptor(
|
|
5839
|
+
'/clarifai.api.V2/ListWorkflows',
|
|
5840
|
+
grpc.web.MethodType.UNARY,
|
|
5841
|
+
proto.clarifai.api.ListWorkflowsRequest,
|
|
5842
|
+
proto.clarifai.api.MultiWorkflowResponse,
|
|
5843
|
+
/**
|
|
5844
|
+
* @param {!proto.clarifai.api.ListWorkflowsRequest} request
|
|
5845
|
+
* @return {!Uint8Array}
|
|
5846
|
+
*/
|
|
5847
|
+
function(request) {
|
|
5848
|
+
return request.serializeBinary();
|
|
5849
|
+
},
|
|
5850
|
+
proto.clarifai.api.MultiWorkflowResponse.deserializeBinary
|
|
5851
|
+
);
|
|
5852
|
+
|
|
5853
|
+
|
|
5854
|
+
/**
|
|
5855
|
+
* @param {!proto.clarifai.api.ListWorkflowsRequest} request The
|
|
5856
|
+
* request proto
|
|
5857
|
+
* @param {?Object<string, string>} metadata User defined
|
|
5858
|
+
* call metadata
|
|
5859
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiWorkflowResponse)}
|
|
5860
|
+
* callback The callback function(error, response)
|
|
5861
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiWorkflowResponse>|undefined}
|
|
5862
|
+
* The XHR Node Readable Stream
|
|
5863
|
+
*/
|
|
5864
|
+
proto.clarifai.api.V2Client.prototype.listWorkflows =
|
|
5865
|
+
function(request, metadata, callback) {
|
|
5866
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
5867
|
+
'/clarifai.api.V2/ListWorkflows',
|
|
5868
|
+
request,
|
|
5869
|
+
metadata || {},
|
|
5870
|
+
methodDescriptor_V2_ListWorkflows,
|
|
5871
|
+
callback);
|
|
5872
|
+
};
|
|
5873
|
+
|
|
5874
|
+
|
|
5875
|
+
/**
|
|
5876
|
+
* @param {!proto.clarifai.api.ListWorkflowsRequest} request The
|
|
5877
|
+
* request proto
|
|
5878
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
5879
|
+
* call metadata
|
|
5880
|
+
* @return {!Promise<!proto.clarifai.api.MultiWorkflowResponse>}
|
|
5881
|
+
* Promise that resolves to the response
|
|
5882
|
+
*/
|
|
5883
|
+
proto.clarifai.api.V2PromiseClient.prototype.listWorkflows =
|
|
5884
|
+
function(request, metadata) {
|
|
5885
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
5886
|
+
'/clarifai.api.V2/ListWorkflows',
|
|
5887
|
+
request,
|
|
5888
|
+
metadata || {},
|
|
5889
|
+
methodDescriptor_V2_ListWorkflows);
|
|
5890
|
+
};
|
|
5891
|
+
|
|
5892
|
+
|
|
5893
|
+
/**
|
|
5894
|
+
* @const
|
|
5895
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
5896
|
+
* !proto.clarifai.api.PostWorkflowsRequest,
|
|
5897
|
+
* !proto.clarifai.api.MultiWorkflowResponse>}
|
|
5898
|
+
*/
|
|
5899
|
+
const methodDescriptor_V2_PostWorkflows = new grpc.web.MethodDescriptor(
|
|
5900
|
+
'/clarifai.api.V2/PostWorkflows',
|
|
5901
|
+
grpc.web.MethodType.UNARY,
|
|
5902
|
+
proto.clarifai.api.PostWorkflowsRequest,
|
|
5903
|
+
proto.clarifai.api.MultiWorkflowResponse,
|
|
5904
|
+
/**
|
|
5905
|
+
* @param {!proto.clarifai.api.PostWorkflowsRequest} request
|
|
5906
|
+
* @return {!Uint8Array}
|
|
5907
|
+
*/
|
|
5908
|
+
function(request) {
|
|
5909
|
+
return request.serializeBinary();
|
|
5910
|
+
},
|
|
5911
|
+
proto.clarifai.api.MultiWorkflowResponse.deserializeBinary
|
|
5912
|
+
);
|
|
5913
|
+
|
|
5914
|
+
|
|
5915
|
+
/**
|
|
5916
|
+
* @param {!proto.clarifai.api.PostWorkflowsRequest} request The
|
|
5917
|
+
* request proto
|
|
5918
|
+
* @param {?Object<string, string>} metadata User defined
|
|
5919
|
+
* call metadata
|
|
5920
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiWorkflowResponse)}
|
|
5921
|
+
* callback The callback function(error, response)
|
|
5922
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiWorkflowResponse>|undefined}
|
|
5923
|
+
* The XHR Node Readable Stream
|
|
5924
|
+
*/
|
|
5925
|
+
proto.clarifai.api.V2Client.prototype.postWorkflows =
|
|
5926
|
+
function(request, metadata, callback) {
|
|
5927
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
5928
|
+
'/clarifai.api.V2/PostWorkflows',
|
|
5929
|
+
request,
|
|
5930
|
+
metadata || {},
|
|
5931
|
+
methodDescriptor_V2_PostWorkflows,
|
|
5932
|
+
callback);
|
|
5933
|
+
};
|
|
5934
|
+
|
|
5935
|
+
|
|
5936
|
+
/**
|
|
5937
|
+
* @param {!proto.clarifai.api.PostWorkflowsRequest} request The
|
|
5938
|
+
* request proto
|
|
5939
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
5940
|
+
* call metadata
|
|
5941
|
+
* @return {!Promise<!proto.clarifai.api.MultiWorkflowResponse>}
|
|
5942
|
+
* Promise that resolves to the response
|
|
5943
|
+
*/
|
|
5944
|
+
proto.clarifai.api.V2PromiseClient.prototype.postWorkflows =
|
|
5945
|
+
function(request, metadata) {
|
|
5946
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
5947
|
+
'/clarifai.api.V2/PostWorkflows',
|
|
5948
|
+
request,
|
|
5949
|
+
metadata || {},
|
|
5950
|
+
methodDescriptor_V2_PostWorkflows);
|
|
5951
|
+
};
|
|
5952
|
+
|
|
5953
|
+
|
|
5954
|
+
/**
|
|
5955
|
+
* @const
|
|
5956
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
5957
|
+
* !proto.clarifai.api.PatchWorkflowsRequest,
|
|
5958
|
+
* !proto.clarifai.api.MultiWorkflowResponse>}
|
|
5959
|
+
*/
|
|
5960
|
+
const methodDescriptor_V2_PatchWorkflows = new grpc.web.MethodDescriptor(
|
|
5961
|
+
'/clarifai.api.V2/PatchWorkflows',
|
|
5962
|
+
grpc.web.MethodType.UNARY,
|
|
5963
|
+
proto.clarifai.api.PatchWorkflowsRequest,
|
|
5964
|
+
proto.clarifai.api.MultiWorkflowResponse,
|
|
5534
5965
|
/**
|
|
5535
5966
|
* @param {!proto.clarifai.api.PatchWorkflowsRequest} request
|
|
5536
5967
|
* @return {!Uint8Array}
|
|
@@ -7228,6 +7659,67 @@ proto.clarifai.api.V2PromiseClient.prototype.postAppsSearches =
|
|
|
7228
7659
|
};
|
|
7229
7660
|
|
|
7230
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,
|
|
7673
|
+
/**
|
|
7674
|
+
* @param {!proto.clarifai.api.GetUserRequest} request
|
|
7675
|
+
* @return {!Uint8Array}
|
|
7676
|
+
*/
|
|
7677
|
+
function(request) {
|
|
7678
|
+
return request.serializeBinary();
|
|
7679
|
+
},
|
|
7680
|
+
proto.clarifai.api.SingleUserResponse.deserializeBinary
|
|
7681
|
+
);
|
|
7682
|
+
|
|
7683
|
+
|
|
7684
|
+
/**
|
|
7685
|
+
* @param {!proto.clarifai.api.GetUserRequest} request The
|
|
7686
|
+
* request proto
|
|
7687
|
+
* @param {?Object<string, string>} metadata User defined
|
|
7688
|
+
* call metadata
|
|
7689
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.SingleUserResponse)}
|
|
7690
|
+
* callback The callback function(error, response)
|
|
7691
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.SingleUserResponse>|undefined}
|
|
7692
|
+
* The XHR Node Readable Stream
|
|
7693
|
+
*/
|
|
7694
|
+
proto.clarifai.api.V2Client.prototype.getUser =
|
|
7695
|
+
function(request, metadata, callback) {
|
|
7696
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
7697
|
+
'/clarifai.api.V2/GetUser',
|
|
7698
|
+
request,
|
|
7699
|
+
metadata || {},
|
|
7700
|
+
methodDescriptor_V2_GetUser,
|
|
7701
|
+
callback);
|
|
7702
|
+
};
|
|
7703
|
+
|
|
7704
|
+
|
|
7705
|
+
/**
|
|
7706
|
+
* @param {!proto.clarifai.api.GetUserRequest} request The
|
|
7707
|
+
* request proto
|
|
7708
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
7709
|
+
* call metadata
|
|
7710
|
+
* @return {!Promise<!proto.clarifai.api.SingleUserResponse>}
|
|
7711
|
+
* Promise that resolves to the response
|
|
7712
|
+
*/
|
|
7713
|
+
proto.clarifai.api.V2PromiseClient.prototype.getUser =
|
|
7714
|
+
function(request, metadata) {
|
|
7715
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
7716
|
+
'/clarifai.api.V2/GetUser',
|
|
7717
|
+
request,
|
|
7718
|
+
metadata || {},
|
|
7719
|
+
methodDescriptor_V2_GetUser);
|
|
7720
|
+
};
|
|
7721
|
+
|
|
7722
|
+
|
|
7231
7723
|
/**
|
|
7232
7724
|
* @const
|
|
7233
7725
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -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<
|
|
@@ -11342,53 +11956,114 @@ const methodDescriptor_V2_ListInputsAddJobs = new grpc.web.MethodDescriptor(
|
|
|
11342
11956
|
* request proto
|
|
11343
11957
|
* @param {?Object<string, string>} metadata User defined
|
|
11344
11958
|
* call metadata
|
|
11345
|
-
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiInputsAddJobResponse)}
|
|
11959
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiInputsAddJobResponse)}
|
|
11960
|
+
* callback The callback function(error, response)
|
|
11961
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiInputsAddJobResponse>|undefined}
|
|
11962
|
+
* The XHR Node Readable Stream
|
|
11963
|
+
*/
|
|
11964
|
+
proto.clarifai.api.V2Client.prototype.listInputsAddJobs =
|
|
11965
|
+
function(request, metadata, callback) {
|
|
11966
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
11967
|
+
'/clarifai.api.V2/ListInputsAddJobs',
|
|
11968
|
+
request,
|
|
11969
|
+
metadata || {},
|
|
11970
|
+
methodDescriptor_V2_ListInputsAddJobs,
|
|
11971
|
+
callback);
|
|
11972
|
+
};
|
|
11973
|
+
|
|
11974
|
+
|
|
11975
|
+
/**
|
|
11976
|
+
* @param {!proto.clarifai.api.ListInputsAddJobsRequest} request The
|
|
11977
|
+
* request proto
|
|
11978
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
11979
|
+
* call metadata
|
|
11980
|
+
* @return {!Promise<!proto.clarifai.api.MultiInputsAddJobResponse>}
|
|
11981
|
+
* Promise that resolves to the response
|
|
11982
|
+
*/
|
|
11983
|
+
proto.clarifai.api.V2PromiseClient.prototype.listInputsAddJobs =
|
|
11984
|
+
function(request, metadata) {
|
|
11985
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
11986
|
+
'/clarifai.api.V2/ListInputsAddJobs',
|
|
11987
|
+
request,
|
|
11988
|
+
metadata || {},
|
|
11989
|
+
methodDescriptor_V2_ListInputsAddJobs);
|
|
11990
|
+
};
|
|
11991
|
+
|
|
11992
|
+
|
|
11993
|
+
/**
|
|
11994
|
+
* @const
|
|
11995
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
11996
|
+
* !proto.clarifai.api.GetInputsAddJobRequest,
|
|
11997
|
+
* !proto.clarifai.api.SingleInputsAddJobResponse>}
|
|
11998
|
+
*/
|
|
11999
|
+
const methodDescriptor_V2_GetInputsAddJob = new grpc.web.MethodDescriptor(
|
|
12000
|
+
'/clarifai.api.V2/GetInputsAddJob',
|
|
12001
|
+
grpc.web.MethodType.UNARY,
|
|
12002
|
+
proto.clarifai.api.GetInputsAddJobRequest,
|
|
12003
|
+
proto.clarifai.api.SingleInputsAddJobResponse,
|
|
12004
|
+
/**
|
|
12005
|
+
* @param {!proto.clarifai.api.GetInputsAddJobRequest} request
|
|
12006
|
+
* @return {!Uint8Array}
|
|
12007
|
+
*/
|
|
12008
|
+
function(request) {
|
|
12009
|
+
return request.serializeBinary();
|
|
12010
|
+
},
|
|
12011
|
+
proto.clarifai.api.SingleInputsAddJobResponse.deserializeBinary
|
|
12012
|
+
);
|
|
12013
|
+
|
|
12014
|
+
|
|
12015
|
+
/**
|
|
12016
|
+
* @param {!proto.clarifai.api.GetInputsAddJobRequest} request The
|
|
12017
|
+
* request proto
|
|
12018
|
+
* @param {?Object<string, string>} metadata User defined
|
|
12019
|
+
* call metadata
|
|
12020
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.SingleInputsAddJobResponse)}
|
|
11346
12021
|
* callback The callback function(error, response)
|
|
11347
|
-
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.
|
|
12022
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.SingleInputsAddJobResponse>|undefined}
|
|
11348
12023
|
* The XHR Node Readable Stream
|
|
11349
12024
|
*/
|
|
11350
|
-
proto.clarifai.api.V2Client.prototype.
|
|
12025
|
+
proto.clarifai.api.V2Client.prototype.getInputsAddJob =
|
|
11351
12026
|
function(request, metadata, callback) {
|
|
11352
12027
|
return this.client_.rpcCall(this.hostname_ +
|
|
11353
|
-
'/clarifai.api.V2/
|
|
12028
|
+
'/clarifai.api.V2/GetInputsAddJob',
|
|
11354
12029
|
request,
|
|
11355
12030
|
metadata || {},
|
|
11356
|
-
|
|
12031
|
+
methodDescriptor_V2_GetInputsAddJob,
|
|
11357
12032
|
callback);
|
|
11358
12033
|
};
|
|
11359
12034
|
|
|
11360
12035
|
|
|
11361
12036
|
/**
|
|
11362
|
-
* @param {!proto.clarifai.api.
|
|
12037
|
+
* @param {!proto.clarifai.api.GetInputsAddJobRequest} request The
|
|
11363
12038
|
* request proto
|
|
11364
12039
|
* @param {?Object<string, string>=} metadata User defined
|
|
11365
12040
|
* call metadata
|
|
11366
|
-
* @return {!Promise<!proto.clarifai.api.
|
|
12041
|
+
* @return {!Promise<!proto.clarifai.api.SingleInputsAddJobResponse>}
|
|
11367
12042
|
* Promise that resolves to the response
|
|
11368
12043
|
*/
|
|
11369
|
-
proto.clarifai.api.V2PromiseClient.prototype.
|
|
12044
|
+
proto.clarifai.api.V2PromiseClient.prototype.getInputsAddJob =
|
|
11370
12045
|
function(request, metadata) {
|
|
11371
12046
|
return this.client_.unaryCall(this.hostname_ +
|
|
11372
|
-
'/clarifai.api.V2/
|
|
12047
|
+
'/clarifai.api.V2/GetInputsAddJob',
|
|
11373
12048
|
request,
|
|
11374
12049
|
metadata || {},
|
|
11375
|
-
|
|
12050
|
+
methodDescriptor_V2_GetInputsAddJob);
|
|
11376
12051
|
};
|
|
11377
12052
|
|
|
11378
12053
|
|
|
11379
12054
|
/**
|
|
11380
12055
|
* @const
|
|
11381
12056
|
* @type {!grpc.web.MethodDescriptor<
|
|
11382
|
-
* !proto.clarifai.api.
|
|
12057
|
+
* !proto.clarifai.api.CancelInputsAddJobRequest,
|
|
11383
12058
|
* !proto.clarifai.api.SingleInputsAddJobResponse>}
|
|
11384
12059
|
*/
|
|
11385
|
-
const
|
|
11386
|
-
'/clarifai.api.V2/
|
|
12060
|
+
const methodDescriptor_V2_CancelInputsAddJob = new grpc.web.MethodDescriptor(
|
|
12061
|
+
'/clarifai.api.V2/CancelInputsAddJob',
|
|
11387
12062
|
grpc.web.MethodType.UNARY,
|
|
11388
|
-
proto.clarifai.api.
|
|
12063
|
+
proto.clarifai.api.CancelInputsAddJobRequest,
|
|
11389
12064
|
proto.clarifai.api.SingleInputsAddJobResponse,
|
|
11390
12065
|
/**
|
|
11391
|
-
* @param {!proto.clarifai.api.
|
|
12066
|
+
* @param {!proto.clarifai.api.CancelInputsAddJobRequest} request
|
|
11392
12067
|
* @return {!Uint8Array}
|
|
11393
12068
|
*/
|
|
11394
12069
|
function(request) {
|
|
@@ -11399,7 +12074,7 @@ const methodDescriptor_V2_GetInputsAddJob = new grpc.web.MethodDescriptor(
|
|
|
11399
12074
|
|
|
11400
12075
|
|
|
11401
12076
|
/**
|
|
11402
|
-
* @param {!proto.clarifai.api.
|
|
12077
|
+
* @param {!proto.clarifai.api.CancelInputsAddJobRequest} request The
|
|
11403
12078
|
* request proto
|
|
11404
12079
|
* @param {?Object<string, string>} metadata User defined
|
|
11405
12080
|
* call metadata
|
|
@@ -11408,32 +12083,32 @@ const methodDescriptor_V2_GetInputsAddJob = new grpc.web.MethodDescriptor(
|
|
|
11408
12083
|
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.SingleInputsAddJobResponse>|undefined}
|
|
11409
12084
|
* The XHR Node Readable Stream
|
|
11410
12085
|
*/
|
|
11411
|
-
proto.clarifai.api.V2Client.prototype.
|
|
12086
|
+
proto.clarifai.api.V2Client.prototype.cancelInputsAddJob =
|
|
11412
12087
|
function(request, metadata, callback) {
|
|
11413
12088
|
return this.client_.rpcCall(this.hostname_ +
|
|
11414
|
-
'/clarifai.api.V2/
|
|
12089
|
+
'/clarifai.api.V2/CancelInputsAddJob',
|
|
11415
12090
|
request,
|
|
11416
12091
|
metadata || {},
|
|
11417
|
-
|
|
12092
|
+
methodDescriptor_V2_CancelInputsAddJob,
|
|
11418
12093
|
callback);
|
|
11419
12094
|
};
|
|
11420
12095
|
|
|
11421
12096
|
|
|
11422
12097
|
/**
|
|
11423
|
-
* @param {!proto.clarifai.api.
|
|
12098
|
+
* @param {!proto.clarifai.api.CancelInputsAddJobRequest} request The
|
|
11424
12099
|
* request proto
|
|
11425
12100
|
* @param {?Object<string, string>=} metadata User defined
|
|
11426
12101
|
* call metadata
|
|
11427
12102
|
* @return {!Promise<!proto.clarifai.api.SingleInputsAddJobResponse>}
|
|
11428
12103
|
* Promise that resolves to the response
|
|
11429
12104
|
*/
|
|
11430
|
-
proto.clarifai.api.V2PromiseClient.prototype.
|
|
12105
|
+
proto.clarifai.api.V2PromiseClient.prototype.cancelInputsAddJob =
|
|
11431
12106
|
function(request, metadata) {
|
|
11432
12107
|
return this.client_.unaryCall(this.hostname_ +
|
|
11433
|
-
'/clarifai.api.V2/
|
|
12108
|
+
'/clarifai.api.V2/CancelInputsAddJob',
|
|
11434
12109
|
request,
|
|
11435
12110
|
metadata || {},
|
|
11436
|
-
|
|
12111
|
+
methodDescriptor_V2_CancelInputsAddJob);
|
|
11437
12112
|
};
|
|
11438
12113
|
|
|
11439
12114
|
|
|
@@ -11742,5 +12417,310 @@ proto.clarifai.api.V2PromiseClient.prototype.deleteUploads =
|
|
|
11742
12417
|
};
|
|
11743
12418
|
|
|
11744
12419
|
|
|
12420
|
+
/**
|
|
12421
|
+
* @const
|
|
12422
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
12423
|
+
* !proto.clarifai.api.PostInputsDataSourcesRequest,
|
|
12424
|
+
* !proto.clarifai.api.MultiInputsAddJobResponse>}
|
|
12425
|
+
*/
|
|
12426
|
+
const methodDescriptor_V2_PostInputsDataSources = new grpc.web.MethodDescriptor(
|
|
12427
|
+
'/clarifai.api.V2/PostInputsDataSources',
|
|
12428
|
+
grpc.web.MethodType.UNARY,
|
|
12429
|
+
proto.clarifai.api.PostInputsDataSourcesRequest,
|
|
12430
|
+
proto.clarifai.api.MultiInputsAddJobResponse,
|
|
12431
|
+
/**
|
|
12432
|
+
* @param {!proto.clarifai.api.PostInputsDataSourcesRequest} request
|
|
12433
|
+
* @return {!Uint8Array}
|
|
12434
|
+
*/
|
|
12435
|
+
function(request) {
|
|
12436
|
+
return request.serializeBinary();
|
|
12437
|
+
},
|
|
12438
|
+
proto.clarifai.api.MultiInputsAddJobResponse.deserializeBinary
|
|
12439
|
+
);
|
|
12440
|
+
|
|
12441
|
+
|
|
12442
|
+
/**
|
|
12443
|
+
* @param {!proto.clarifai.api.PostInputsDataSourcesRequest} request The
|
|
12444
|
+
* request proto
|
|
12445
|
+
* @param {?Object<string, string>} metadata User defined
|
|
12446
|
+
* call metadata
|
|
12447
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiInputsAddJobResponse)}
|
|
12448
|
+
* callback The callback function(error, response)
|
|
12449
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiInputsAddJobResponse>|undefined}
|
|
12450
|
+
* The XHR Node Readable Stream
|
|
12451
|
+
*/
|
|
12452
|
+
proto.clarifai.api.V2Client.prototype.postInputsDataSources =
|
|
12453
|
+
function(request, metadata, callback) {
|
|
12454
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
12455
|
+
'/clarifai.api.V2/PostInputsDataSources',
|
|
12456
|
+
request,
|
|
12457
|
+
metadata || {},
|
|
12458
|
+
methodDescriptor_V2_PostInputsDataSources,
|
|
12459
|
+
callback);
|
|
12460
|
+
};
|
|
12461
|
+
|
|
12462
|
+
|
|
12463
|
+
/**
|
|
12464
|
+
* @param {!proto.clarifai.api.PostInputsDataSourcesRequest} request The
|
|
12465
|
+
* request proto
|
|
12466
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
12467
|
+
* call metadata
|
|
12468
|
+
* @return {!Promise<!proto.clarifai.api.MultiInputsAddJobResponse>}
|
|
12469
|
+
* Promise that resolves to the response
|
|
12470
|
+
*/
|
|
12471
|
+
proto.clarifai.api.V2PromiseClient.prototype.postInputsDataSources =
|
|
12472
|
+
function(request, metadata) {
|
|
12473
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
12474
|
+
'/clarifai.api.V2/PostInputsDataSources',
|
|
12475
|
+
request,
|
|
12476
|
+
metadata || {},
|
|
12477
|
+
methodDescriptor_V2_PostInputsDataSources);
|
|
12478
|
+
};
|
|
12479
|
+
|
|
12480
|
+
|
|
12481
|
+
/**
|
|
12482
|
+
* @const
|
|
12483
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
12484
|
+
* !proto.clarifai.api.GetInputsExtractionJobRequest,
|
|
12485
|
+
* !proto.clarifai.api.SingleInputsExtractionJobResponse>}
|
|
12486
|
+
*/
|
|
12487
|
+
const methodDescriptor_V2_GetInputsExtractionJob = new grpc.web.MethodDescriptor(
|
|
12488
|
+
'/clarifai.api.V2/GetInputsExtractionJob',
|
|
12489
|
+
grpc.web.MethodType.UNARY,
|
|
12490
|
+
proto.clarifai.api.GetInputsExtractionJobRequest,
|
|
12491
|
+
proto.clarifai.api.SingleInputsExtractionJobResponse,
|
|
12492
|
+
/**
|
|
12493
|
+
* @param {!proto.clarifai.api.GetInputsExtractionJobRequest} request
|
|
12494
|
+
* @return {!Uint8Array}
|
|
12495
|
+
*/
|
|
12496
|
+
function(request) {
|
|
12497
|
+
return request.serializeBinary();
|
|
12498
|
+
},
|
|
12499
|
+
proto.clarifai.api.SingleInputsExtractionJobResponse.deserializeBinary
|
|
12500
|
+
);
|
|
12501
|
+
|
|
12502
|
+
|
|
12503
|
+
/**
|
|
12504
|
+
* @param {!proto.clarifai.api.GetInputsExtractionJobRequest} request The
|
|
12505
|
+
* request proto
|
|
12506
|
+
* @param {?Object<string, string>} metadata User defined
|
|
12507
|
+
* call metadata
|
|
12508
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.SingleInputsExtractionJobResponse)}
|
|
12509
|
+
* callback The callback function(error, response)
|
|
12510
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.SingleInputsExtractionJobResponse>|undefined}
|
|
12511
|
+
* The XHR Node Readable Stream
|
|
12512
|
+
*/
|
|
12513
|
+
proto.clarifai.api.V2Client.prototype.getInputsExtractionJob =
|
|
12514
|
+
function(request, metadata, callback) {
|
|
12515
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
12516
|
+
'/clarifai.api.V2/GetInputsExtractionJob',
|
|
12517
|
+
request,
|
|
12518
|
+
metadata || {},
|
|
12519
|
+
methodDescriptor_V2_GetInputsExtractionJob,
|
|
12520
|
+
callback);
|
|
12521
|
+
};
|
|
12522
|
+
|
|
12523
|
+
|
|
12524
|
+
/**
|
|
12525
|
+
* @param {!proto.clarifai.api.GetInputsExtractionJobRequest} request The
|
|
12526
|
+
* request proto
|
|
12527
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
12528
|
+
* call metadata
|
|
12529
|
+
* @return {!Promise<!proto.clarifai.api.SingleInputsExtractionJobResponse>}
|
|
12530
|
+
* Promise that resolves to the response
|
|
12531
|
+
*/
|
|
12532
|
+
proto.clarifai.api.V2PromiseClient.prototype.getInputsExtractionJob =
|
|
12533
|
+
function(request, metadata) {
|
|
12534
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
12535
|
+
'/clarifai.api.V2/GetInputsExtractionJob',
|
|
12536
|
+
request,
|
|
12537
|
+
metadata || {},
|
|
12538
|
+
methodDescriptor_V2_GetInputsExtractionJob);
|
|
12539
|
+
};
|
|
12540
|
+
|
|
12541
|
+
|
|
12542
|
+
/**
|
|
12543
|
+
* @const
|
|
12544
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
12545
|
+
* !proto.clarifai.api.ListInputsExtractionJobsRequest,
|
|
12546
|
+
* !proto.clarifai.api.MultiInputsExtractionJobResponse>}
|
|
12547
|
+
*/
|
|
12548
|
+
const methodDescriptor_V2_ListInputsExtractionJobs = new grpc.web.MethodDescriptor(
|
|
12549
|
+
'/clarifai.api.V2/ListInputsExtractionJobs',
|
|
12550
|
+
grpc.web.MethodType.UNARY,
|
|
12551
|
+
proto.clarifai.api.ListInputsExtractionJobsRequest,
|
|
12552
|
+
proto.clarifai.api.MultiInputsExtractionJobResponse,
|
|
12553
|
+
/**
|
|
12554
|
+
* @param {!proto.clarifai.api.ListInputsExtractionJobsRequest} request
|
|
12555
|
+
* @return {!Uint8Array}
|
|
12556
|
+
*/
|
|
12557
|
+
function(request) {
|
|
12558
|
+
return request.serializeBinary();
|
|
12559
|
+
},
|
|
12560
|
+
proto.clarifai.api.MultiInputsExtractionJobResponse.deserializeBinary
|
|
12561
|
+
);
|
|
12562
|
+
|
|
12563
|
+
|
|
12564
|
+
/**
|
|
12565
|
+
* @param {!proto.clarifai.api.ListInputsExtractionJobsRequest} request The
|
|
12566
|
+
* request proto
|
|
12567
|
+
* @param {?Object<string, string>} metadata User defined
|
|
12568
|
+
* call metadata
|
|
12569
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiInputsExtractionJobResponse)}
|
|
12570
|
+
* callback The callback function(error, response)
|
|
12571
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiInputsExtractionJobResponse>|undefined}
|
|
12572
|
+
* The XHR Node Readable Stream
|
|
12573
|
+
*/
|
|
12574
|
+
proto.clarifai.api.V2Client.prototype.listInputsExtractionJobs =
|
|
12575
|
+
function(request, metadata, callback) {
|
|
12576
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
12577
|
+
'/clarifai.api.V2/ListInputsExtractionJobs',
|
|
12578
|
+
request,
|
|
12579
|
+
metadata || {},
|
|
12580
|
+
methodDescriptor_V2_ListInputsExtractionJobs,
|
|
12581
|
+
callback);
|
|
12582
|
+
};
|
|
12583
|
+
|
|
12584
|
+
|
|
12585
|
+
/**
|
|
12586
|
+
* @param {!proto.clarifai.api.ListInputsExtractionJobsRequest} request The
|
|
12587
|
+
* request proto
|
|
12588
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
12589
|
+
* call metadata
|
|
12590
|
+
* @return {!Promise<!proto.clarifai.api.MultiInputsExtractionJobResponse>}
|
|
12591
|
+
* Promise that resolves to the response
|
|
12592
|
+
*/
|
|
12593
|
+
proto.clarifai.api.V2PromiseClient.prototype.listInputsExtractionJobs =
|
|
12594
|
+
function(request, metadata) {
|
|
12595
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
12596
|
+
'/clarifai.api.V2/ListInputsExtractionJobs',
|
|
12597
|
+
request,
|
|
12598
|
+
metadata || {},
|
|
12599
|
+
methodDescriptor_V2_ListInputsExtractionJobs);
|
|
12600
|
+
};
|
|
12601
|
+
|
|
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
|
+
|
|
11745
12725
|
module.exports = proto.clarifai.api;
|
|
11746
12726
|
|