clarifai-web-grpc 11.1.2 → 11.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/VERSION +1 -1
- package/dist/cjs/proto/clarifai/api/resources_pb.js +2772 -4
- package/dist/cjs/proto/clarifai/api/service_grpc_web_pb.js +210 -0
- package/dist/cjs/proto/clarifai/api/service_pb.js +1884 -5
- package/dist/cjs/proto/clarifai/auth/scope/scope_pb.js +3 -2
- package/dist/esm/proto/clarifai/api/resources_pb.js +2772 -4
- package/dist/esm/proto/clarifai/api/service_grpc_web_pb.js +210 -0
- package/dist/esm/proto/clarifai/api/service_pb.js +1884 -5
- package/dist/esm/proto/clarifai/auth/scope/scope_pb.js +3 -2
- package/package.json +1 -1
- package/proto/clarifai/api/resources_pb.d.ts +425 -0
- package/proto/clarifai/api/resources_pb.js +3444 -4
- package/proto/clarifai/api/service_grpc_web_pb.d.ts +60 -0
- package/proto/clarifai/api/service_grpc_web_pb.js +305 -0
- package/proto/clarifai/api/service_pb.d.ts +277 -0
- package/proto/clarifai/api/service_pb.js +2350 -5
- package/proto/clarifai/auth/scope/scope_pb.d.ts +2 -1
- package/proto/clarifai/auth/scope/scope_pb.js +3 -2
|
@@ -588,6 +588,13 @@ export class V2Client {
|
|
|
588
588
|
response: proto_clarifai_api_status_status_pb.BaseResponse) => void
|
|
589
589
|
): grpcWeb.ClientReadableStream<proto_clarifai_api_status_status_pb.BaseResponse>;
|
|
590
590
|
|
|
591
|
+
postModelMigration(
|
|
592
|
+
request: proto_clarifai_api_service_pb.PostModelMigrationRequest,
|
|
593
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
594
|
+
callback: (err: grpcWeb.RpcError,
|
|
595
|
+
response: proto_clarifai_api_service_pb.SingleModelResponse) => void
|
|
596
|
+
): grpcWeb.ClientReadableStream<proto_clarifai_api_service_pb.SingleModelResponse>;
|
|
597
|
+
|
|
591
598
|
putModelVersionExports(
|
|
592
599
|
request: proto_clarifai_api_service_pb.PutModelVersionExportsRequest,
|
|
593
600
|
metadata: grpcWeb.Metadata | undefined,
|
|
@@ -1678,6 +1685,34 @@ export class V2Client {
|
|
|
1678
1685
|
response: proto_clarifai_api_status_status_pb.BaseResponse) => void
|
|
1679
1686
|
): grpcWeb.ClientReadableStream<proto_clarifai_api_status_status_pb.BaseResponse>;
|
|
1680
1687
|
|
|
1688
|
+
postWorkflowVersionEvaluations(
|
|
1689
|
+
request: proto_clarifai_api_service_pb.PostWorkflowVersionEvaluationsRequest,
|
|
1690
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
1691
|
+
callback: (err: grpcWeb.RpcError,
|
|
1692
|
+
response: proto_clarifai_api_service_pb.MultiWorkflowVersionEvaluationResponse) => void
|
|
1693
|
+
): grpcWeb.ClientReadableStream<proto_clarifai_api_service_pb.MultiWorkflowVersionEvaluationResponse>;
|
|
1694
|
+
|
|
1695
|
+
getWorkflowVersionEvaluation(
|
|
1696
|
+
request: proto_clarifai_api_service_pb.GetWorkflowVersionEvaluationRequest,
|
|
1697
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
1698
|
+
callback: (err: grpcWeb.RpcError,
|
|
1699
|
+
response: proto_clarifai_api_service_pb.SingleWorkflowVersionEvaluationResponse) => void
|
|
1700
|
+
): grpcWeb.ClientReadableStream<proto_clarifai_api_service_pb.SingleWorkflowVersionEvaluationResponse>;
|
|
1701
|
+
|
|
1702
|
+
listWorkflowVersionEvaluations(
|
|
1703
|
+
request: proto_clarifai_api_service_pb.ListWorkflowVersionEvaluationsRequest,
|
|
1704
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
1705
|
+
callback: (err: grpcWeb.RpcError,
|
|
1706
|
+
response: proto_clarifai_api_service_pb.MultiWorkflowVersionEvaluationResponse) => void
|
|
1707
|
+
): grpcWeb.ClientReadableStream<proto_clarifai_api_service_pb.MultiWorkflowVersionEvaluationResponse>;
|
|
1708
|
+
|
|
1709
|
+
patchWorkflowVersionEvaluations(
|
|
1710
|
+
request: proto_clarifai_api_service_pb.PatchWorkflowVersionEvaluationsRequest,
|
|
1711
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
1712
|
+
callback: (err: grpcWeb.RpcError,
|
|
1713
|
+
response: proto_clarifai_api_service_pb.MultiWorkflowVersionEvaluationResponse) => void
|
|
1714
|
+
): grpcWeb.ClientReadableStream<proto_clarifai_api_service_pb.MultiWorkflowVersionEvaluationResponse>;
|
|
1715
|
+
|
|
1681
1716
|
}
|
|
1682
1717
|
|
|
1683
1718
|
export class V2PromiseClient {
|
|
@@ -2100,6 +2135,11 @@ export class V2PromiseClient {
|
|
|
2100
2135
|
metadata?: grpcWeb.Metadata
|
|
2101
2136
|
): Promise<proto_clarifai_api_status_status_pb.BaseResponse>;
|
|
2102
2137
|
|
|
2138
|
+
postModelMigration(
|
|
2139
|
+
request: proto_clarifai_api_service_pb.PostModelMigrationRequest,
|
|
2140
|
+
metadata?: grpcWeb.Metadata
|
|
2141
|
+
): Promise<proto_clarifai_api_service_pb.SingleModelResponse>;
|
|
2142
|
+
|
|
2103
2143
|
putModelVersionExports(
|
|
2104
2144
|
request: proto_clarifai_api_service_pb.PutModelVersionExportsRequest,
|
|
2105
2145
|
metadata?: grpcWeb.Metadata
|
|
@@ -2880,5 +2920,25 @@ export class V2PromiseClient {
|
|
|
2880
2920
|
metadata?: grpcWeb.Metadata
|
|
2881
2921
|
): Promise<proto_clarifai_api_status_status_pb.BaseResponse>;
|
|
2882
2922
|
|
|
2923
|
+
postWorkflowVersionEvaluations(
|
|
2924
|
+
request: proto_clarifai_api_service_pb.PostWorkflowVersionEvaluationsRequest,
|
|
2925
|
+
metadata?: grpcWeb.Metadata
|
|
2926
|
+
): Promise<proto_clarifai_api_service_pb.MultiWorkflowVersionEvaluationResponse>;
|
|
2927
|
+
|
|
2928
|
+
getWorkflowVersionEvaluation(
|
|
2929
|
+
request: proto_clarifai_api_service_pb.GetWorkflowVersionEvaluationRequest,
|
|
2930
|
+
metadata?: grpcWeb.Metadata
|
|
2931
|
+
): Promise<proto_clarifai_api_service_pb.SingleWorkflowVersionEvaluationResponse>;
|
|
2932
|
+
|
|
2933
|
+
listWorkflowVersionEvaluations(
|
|
2934
|
+
request: proto_clarifai_api_service_pb.ListWorkflowVersionEvaluationsRequest,
|
|
2935
|
+
metadata?: grpcWeb.Metadata
|
|
2936
|
+
): Promise<proto_clarifai_api_service_pb.MultiWorkflowVersionEvaluationResponse>;
|
|
2937
|
+
|
|
2938
|
+
patchWorkflowVersionEvaluations(
|
|
2939
|
+
request: proto_clarifai_api_service_pb.PatchWorkflowVersionEvaluationsRequest,
|
|
2940
|
+
metadata?: grpcWeb.Metadata
|
|
2941
|
+
): Promise<proto_clarifai_api_service_pb.MultiWorkflowVersionEvaluationResponse>;
|
|
2942
|
+
|
|
2883
2943
|
}
|
|
2884
2944
|
|
|
@@ -5153,6 +5153,67 @@ proto.clarifai.api.V2PromiseClient.prototype.deleteModelVersion =
|
|
|
5153
5153
|
};
|
|
5154
5154
|
|
|
5155
5155
|
|
|
5156
|
+
/**
|
|
5157
|
+
* @const
|
|
5158
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
5159
|
+
* !proto.clarifai.api.PostModelMigrationRequest,
|
|
5160
|
+
* !proto.clarifai.api.SingleModelResponse>}
|
|
5161
|
+
*/
|
|
5162
|
+
const methodDescriptor_V2_PostModelMigration = new grpc.web.MethodDescriptor(
|
|
5163
|
+
'/clarifai.api.V2/PostModelMigration',
|
|
5164
|
+
grpc.web.MethodType.UNARY,
|
|
5165
|
+
proto.clarifai.api.PostModelMigrationRequest,
|
|
5166
|
+
proto.clarifai.api.SingleModelResponse,
|
|
5167
|
+
/**
|
|
5168
|
+
* @param {!proto.clarifai.api.PostModelMigrationRequest} request
|
|
5169
|
+
* @return {!Uint8Array}
|
|
5170
|
+
*/
|
|
5171
|
+
function(request) {
|
|
5172
|
+
return request.serializeBinary();
|
|
5173
|
+
},
|
|
5174
|
+
proto.clarifai.api.SingleModelResponse.deserializeBinary
|
|
5175
|
+
);
|
|
5176
|
+
|
|
5177
|
+
|
|
5178
|
+
/**
|
|
5179
|
+
* @param {!proto.clarifai.api.PostModelMigrationRequest} request The
|
|
5180
|
+
* request proto
|
|
5181
|
+
* @param {?Object<string, string>} metadata User defined
|
|
5182
|
+
* call metadata
|
|
5183
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.SingleModelResponse)}
|
|
5184
|
+
* callback The callback function(error, response)
|
|
5185
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.SingleModelResponse>|undefined}
|
|
5186
|
+
* The XHR Node Readable Stream
|
|
5187
|
+
*/
|
|
5188
|
+
proto.clarifai.api.V2Client.prototype.postModelMigration =
|
|
5189
|
+
function(request, metadata, callback) {
|
|
5190
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
5191
|
+
'/clarifai.api.V2/PostModelMigration',
|
|
5192
|
+
request,
|
|
5193
|
+
metadata || {},
|
|
5194
|
+
methodDescriptor_V2_PostModelMigration,
|
|
5195
|
+
callback);
|
|
5196
|
+
};
|
|
5197
|
+
|
|
5198
|
+
|
|
5199
|
+
/**
|
|
5200
|
+
* @param {!proto.clarifai.api.PostModelMigrationRequest} request The
|
|
5201
|
+
* request proto
|
|
5202
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
5203
|
+
* call metadata
|
|
5204
|
+
* @return {!Promise<!proto.clarifai.api.SingleModelResponse>}
|
|
5205
|
+
* Promise that resolves to the response
|
|
5206
|
+
*/
|
|
5207
|
+
proto.clarifai.api.V2PromiseClient.prototype.postModelMigration =
|
|
5208
|
+
function(request, metadata) {
|
|
5209
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
5210
|
+
'/clarifai.api.V2/PostModelMigration',
|
|
5211
|
+
request,
|
|
5212
|
+
metadata || {},
|
|
5213
|
+
methodDescriptor_V2_PostModelMigration);
|
|
5214
|
+
};
|
|
5215
|
+
|
|
5216
|
+
|
|
5156
5217
|
/**
|
|
5157
5218
|
* @const
|
|
5158
5219
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -14664,5 +14725,249 @@ proto.clarifai.api.V2PromiseClient.prototype.postComputePlaneMetrics =
|
|
|
14664
14725
|
};
|
|
14665
14726
|
|
|
14666
14727
|
|
|
14728
|
+
/**
|
|
14729
|
+
* @const
|
|
14730
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
14731
|
+
* !proto.clarifai.api.PostWorkflowVersionEvaluationsRequest,
|
|
14732
|
+
* !proto.clarifai.api.MultiWorkflowVersionEvaluationResponse>}
|
|
14733
|
+
*/
|
|
14734
|
+
const methodDescriptor_V2_PostWorkflowVersionEvaluations = new grpc.web.MethodDescriptor(
|
|
14735
|
+
'/clarifai.api.V2/PostWorkflowVersionEvaluations',
|
|
14736
|
+
grpc.web.MethodType.UNARY,
|
|
14737
|
+
proto.clarifai.api.PostWorkflowVersionEvaluationsRequest,
|
|
14738
|
+
proto.clarifai.api.MultiWorkflowVersionEvaluationResponse,
|
|
14739
|
+
/**
|
|
14740
|
+
* @param {!proto.clarifai.api.PostWorkflowVersionEvaluationsRequest} request
|
|
14741
|
+
* @return {!Uint8Array}
|
|
14742
|
+
*/
|
|
14743
|
+
function(request) {
|
|
14744
|
+
return request.serializeBinary();
|
|
14745
|
+
},
|
|
14746
|
+
proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.deserializeBinary
|
|
14747
|
+
);
|
|
14748
|
+
|
|
14749
|
+
|
|
14750
|
+
/**
|
|
14751
|
+
* @param {!proto.clarifai.api.PostWorkflowVersionEvaluationsRequest} request The
|
|
14752
|
+
* request proto
|
|
14753
|
+
* @param {?Object<string, string>} metadata User defined
|
|
14754
|
+
* call metadata
|
|
14755
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiWorkflowVersionEvaluationResponse)}
|
|
14756
|
+
* callback The callback function(error, response)
|
|
14757
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiWorkflowVersionEvaluationResponse>|undefined}
|
|
14758
|
+
* The XHR Node Readable Stream
|
|
14759
|
+
*/
|
|
14760
|
+
proto.clarifai.api.V2Client.prototype.postWorkflowVersionEvaluations =
|
|
14761
|
+
function(request, metadata, callback) {
|
|
14762
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
14763
|
+
'/clarifai.api.V2/PostWorkflowVersionEvaluations',
|
|
14764
|
+
request,
|
|
14765
|
+
metadata || {},
|
|
14766
|
+
methodDescriptor_V2_PostWorkflowVersionEvaluations,
|
|
14767
|
+
callback);
|
|
14768
|
+
};
|
|
14769
|
+
|
|
14770
|
+
|
|
14771
|
+
/**
|
|
14772
|
+
* @param {!proto.clarifai.api.PostWorkflowVersionEvaluationsRequest} request The
|
|
14773
|
+
* request proto
|
|
14774
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
14775
|
+
* call metadata
|
|
14776
|
+
* @return {!Promise<!proto.clarifai.api.MultiWorkflowVersionEvaluationResponse>}
|
|
14777
|
+
* Promise that resolves to the response
|
|
14778
|
+
*/
|
|
14779
|
+
proto.clarifai.api.V2PromiseClient.prototype.postWorkflowVersionEvaluations =
|
|
14780
|
+
function(request, metadata) {
|
|
14781
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
14782
|
+
'/clarifai.api.V2/PostWorkflowVersionEvaluations',
|
|
14783
|
+
request,
|
|
14784
|
+
metadata || {},
|
|
14785
|
+
methodDescriptor_V2_PostWorkflowVersionEvaluations);
|
|
14786
|
+
};
|
|
14787
|
+
|
|
14788
|
+
|
|
14789
|
+
/**
|
|
14790
|
+
* @const
|
|
14791
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
14792
|
+
* !proto.clarifai.api.GetWorkflowVersionEvaluationRequest,
|
|
14793
|
+
* !proto.clarifai.api.SingleWorkflowVersionEvaluationResponse>}
|
|
14794
|
+
*/
|
|
14795
|
+
const methodDescriptor_V2_GetWorkflowVersionEvaluation = new grpc.web.MethodDescriptor(
|
|
14796
|
+
'/clarifai.api.V2/GetWorkflowVersionEvaluation',
|
|
14797
|
+
grpc.web.MethodType.UNARY,
|
|
14798
|
+
proto.clarifai.api.GetWorkflowVersionEvaluationRequest,
|
|
14799
|
+
proto.clarifai.api.SingleWorkflowVersionEvaluationResponse,
|
|
14800
|
+
/**
|
|
14801
|
+
* @param {!proto.clarifai.api.GetWorkflowVersionEvaluationRequest} request
|
|
14802
|
+
* @return {!Uint8Array}
|
|
14803
|
+
*/
|
|
14804
|
+
function(request) {
|
|
14805
|
+
return request.serializeBinary();
|
|
14806
|
+
},
|
|
14807
|
+
proto.clarifai.api.SingleWorkflowVersionEvaluationResponse.deserializeBinary
|
|
14808
|
+
);
|
|
14809
|
+
|
|
14810
|
+
|
|
14811
|
+
/**
|
|
14812
|
+
* @param {!proto.clarifai.api.GetWorkflowVersionEvaluationRequest} request The
|
|
14813
|
+
* request proto
|
|
14814
|
+
* @param {?Object<string, string>} metadata User defined
|
|
14815
|
+
* call metadata
|
|
14816
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.SingleWorkflowVersionEvaluationResponse)}
|
|
14817
|
+
* callback The callback function(error, response)
|
|
14818
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.SingleWorkflowVersionEvaluationResponse>|undefined}
|
|
14819
|
+
* The XHR Node Readable Stream
|
|
14820
|
+
*/
|
|
14821
|
+
proto.clarifai.api.V2Client.prototype.getWorkflowVersionEvaluation =
|
|
14822
|
+
function(request, metadata, callback) {
|
|
14823
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
14824
|
+
'/clarifai.api.V2/GetWorkflowVersionEvaluation',
|
|
14825
|
+
request,
|
|
14826
|
+
metadata || {},
|
|
14827
|
+
methodDescriptor_V2_GetWorkflowVersionEvaluation,
|
|
14828
|
+
callback);
|
|
14829
|
+
};
|
|
14830
|
+
|
|
14831
|
+
|
|
14832
|
+
/**
|
|
14833
|
+
* @param {!proto.clarifai.api.GetWorkflowVersionEvaluationRequest} request The
|
|
14834
|
+
* request proto
|
|
14835
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
14836
|
+
* call metadata
|
|
14837
|
+
* @return {!Promise<!proto.clarifai.api.SingleWorkflowVersionEvaluationResponse>}
|
|
14838
|
+
* Promise that resolves to the response
|
|
14839
|
+
*/
|
|
14840
|
+
proto.clarifai.api.V2PromiseClient.prototype.getWorkflowVersionEvaluation =
|
|
14841
|
+
function(request, metadata) {
|
|
14842
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
14843
|
+
'/clarifai.api.V2/GetWorkflowVersionEvaluation',
|
|
14844
|
+
request,
|
|
14845
|
+
metadata || {},
|
|
14846
|
+
methodDescriptor_V2_GetWorkflowVersionEvaluation);
|
|
14847
|
+
};
|
|
14848
|
+
|
|
14849
|
+
|
|
14850
|
+
/**
|
|
14851
|
+
* @const
|
|
14852
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
14853
|
+
* !proto.clarifai.api.ListWorkflowVersionEvaluationsRequest,
|
|
14854
|
+
* !proto.clarifai.api.MultiWorkflowVersionEvaluationResponse>}
|
|
14855
|
+
*/
|
|
14856
|
+
const methodDescriptor_V2_ListWorkflowVersionEvaluations = new grpc.web.MethodDescriptor(
|
|
14857
|
+
'/clarifai.api.V2/ListWorkflowVersionEvaluations',
|
|
14858
|
+
grpc.web.MethodType.UNARY,
|
|
14859
|
+
proto.clarifai.api.ListWorkflowVersionEvaluationsRequest,
|
|
14860
|
+
proto.clarifai.api.MultiWorkflowVersionEvaluationResponse,
|
|
14861
|
+
/**
|
|
14862
|
+
* @param {!proto.clarifai.api.ListWorkflowVersionEvaluationsRequest} request
|
|
14863
|
+
* @return {!Uint8Array}
|
|
14864
|
+
*/
|
|
14865
|
+
function(request) {
|
|
14866
|
+
return request.serializeBinary();
|
|
14867
|
+
},
|
|
14868
|
+
proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.deserializeBinary
|
|
14869
|
+
);
|
|
14870
|
+
|
|
14871
|
+
|
|
14872
|
+
/**
|
|
14873
|
+
* @param {!proto.clarifai.api.ListWorkflowVersionEvaluationsRequest} request The
|
|
14874
|
+
* request proto
|
|
14875
|
+
* @param {?Object<string, string>} metadata User defined
|
|
14876
|
+
* call metadata
|
|
14877
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiWorkflowVersionEvaluationResponse)}
|
|
14878
|
+
* callback The callback function(error, response)
|
|
14879
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiWorkflowVersionEvaluationResponse>|undefined}
|
|
14880
|
+
* The XHR Node Readable Stream
|
|
14881
|
+
*/
|
|
14882
|
+
proto.clarifai.api.V2Client.prototype.listWorkflowVersionEvaluations =
|
|
14883
|
+
function(request, metadata, callback) {
|
|
14884
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
14885
|
+
'/clarifai.api.V2/ListWorkflowVersionEvaluations',
|
|
14886
|
+
request,
|
|
14887
|
+
metadata || {},
|
|
14888
|
+
methodDescriptor_V2_ListWorkflowVersionEvaluations,
|
|
14889
|
+
callback);
|
|
14890
|
+
};
|
|
14891
|
+
|
|
14892
|
+
|
|
14893
|
+
/**
|
|
14894
|
+
* @param {!proto.clarifai.api.ListWorkflowVersionEvaluationsRequest} request The
|
|
14895
|
+
* request proto
|
|
14896
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
14897
|
+
* call metadata
|
|
14898
|
+
* @return {!Promise<!proto.clarifai.api.MultiWorkflowVersionEvaluationResponse>}
|
|
14899
|
+
* Promise that resolves to the response
|
|
14900
|
+
*/
|
|
14901
|
+
proto.clarifai.api.V2PromiseClient.prototype.listWorkflowVersionEvaluations =
|
|
14902
|
+
function(request, metadata) {
|
|
14903
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
14904
|
+
'/clarifai.api.V2/ListWorkflowVersionEvaluations',
|
|
14905
|
+
request,
|
|
14906
|
+
metadata || {},
|
|
14907
|
+
methodDescriptor_V2_ListWorkflowVersionEvaluations);
|
|
14908
|
+
};
|
|
14909
|
+
|
|
14910
|
+
|
|
14911
|
+
/**
|
|
14912
|
+
* @const
|
|
14913
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
14914
|
+
* !proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest,
|
|
14915
|
+
* !proto.clarifai.api.MultiWorkflowVersionEvaluationResponse>}
|
|
14916
|
+
*/
|
|
14917
|
+
const methodDescriptor_V2_PatchWorkflowVersionEvaluations = new grpc.web.MethodDescriptor(
|
|
14918
|
+
'/clarifai.api.V2/PatchWorkflowVersionEvaluations',
|
|
14919
|
+
grpc.web.MethodType.UNARY,
|
|
14920
|
+
proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest,
|
|
14921
|
+
proto.clarifai.api.MultiWorkflowVersionEvaluationResponse,
|
|
14922
|
+
/**
|
|
14923
|
+
* @param {!proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest} request
|
|
14924
|
+
* @return {!Uint8Array}
|
|
14925
|
+
*/
|
|
14926
|
+
function(request) {
|
|
14927
|
+
return request.serializeBinary();
|
|
14928
|
+
},
|
|
14929
|
+
proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.deserializeBinary
|
|
14930
|
+
);
|
|
14931
|
+
|
|
14932
|
+
|
|
14933
|
+
/**
|
|
14934
|
+
* @param {!proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest} request The
|
|
14935
|
+
* request proto
|
|
14936
|
+
* @param {?Object<string, string>} metadata User defined
|
|
14937
|
+
* call metadata
|
|
14938
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiWorkflowVersionEvaluationResponse)}
|
|
14939
|
+
* callback The callback function(error, response)
|
|
14940
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiWorkflowVersionEvaluationResponse>|undefined}
|
|
14941
|
+
* The XHR Node Readable Stream
|
|
14942
|
+
*/
|
|
14943
|
+
proto.clarifai.api.V2Client.prototype.patchWorkflowVersionEvaluations =
|
|
14944
|
+
function(request, metadata, callback) {
|
|
14945
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
14946
|
+
'/clarifai.api.V2/PatchWorkflowVersionEvaluations',
|
|
14947
|
+
request,
|
|
14948
|
+
metadata || {},
|
|
14949
|
+
methodDescriptor_V2_PatchWorkflowVersionEvaluations,
|
|
14950
|
+
callback);
|
|
14951
|
+
};
|
|
14952
|
+
|
|
14953
|
+
|
|
14954
|
+
/**
|
|
14955
|
+
* @param {!proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest} request The
|
|
14956
|
+
* request proto
|
|
14957
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
14958
|
+
* call metadata
|
|
14959
|
+
* @return {!Promise<!proto.clarifai.api.MultiWorkflowVersionEvaluationResponse>}
|
|
14960
|
+
* Promise that resolves to the response
|
|
14961
|
+
*/
|
|
14962
|
+
proto.clarifai.api.V2PromiseClient.prototype.patchWorkflowVersionEvaluations =
|
|
14963
|
+
function(request, metadata) {
|
|
14964
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
14965
|
+
'/clarifai.api.V2/PatchWorkflowVersionEvaluations',
|
|
14966
|
+
request,
|
|
14967
|
+
metadata || {},
|
|
14968
|
+
methodDescriptor_V2_PatchWorkflowVersionEvaluations);
|
|
14969
|
+
};
|
|
14970
|
+
|
|
14971
|
+
|
|
14667
14972
|
module.exports = proto.clarifai.api;
|
|
14668
14973
|
|