clarifai-web-grpc 4.1.0 → 4.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/CHANGELOG.md +2 -2
- package/VERSION +1 -1
- package/dist/cjs/proto/clarifai/api/resources_pb.js +5352 -2060
- package/dist/cjs/proto/clarifai/api/service_grpc_web_pb.js +336 -0
- package/dist/cjs/proto/clarifai/api/service_pb.js +2612 -166
- package/dist/cjs/proto/clarifai/api/status/status_code_pb.js +14 -0
- package/dist/cjs/proto/clarifai/api/status/status_pb.js +237 -1
- package/dist/cjs/proto/clarifai/auth/scope/scope_pb.js +2 -1
- package/dist/esm/proto/clarifai/api/resources_pb.js +5352 -2060
- package/dist/esm/proto/clarifai/api/service_grpc_web_pb.js +336 -0
- package/dist/esm/proto/clarifai/api/service_pb.js +2612 -166
- package/dist/esm/proto/clarifai/api/status/status_code_pb.js +14 -0
- package/dist/esm/proto/clarifai/api/status/status_pb.js +237 -1
- package/dist/esm/proto/clarifai/auth/scope/scope_pb.js +2 -1
- package/package.json +1 -1
- package/package.json-E +52 -0
- package/proto/clarifai/api/resources_pb.d.ts +525 -31
- package/proto/clarifai/api/resources_pb.js +4300 -220
- package/proto/clarifai/api/service_grpc_web_pb.d.ts +96 -0
- package/proto/clarifai/api/service_grpc_web_pb.js +488 -0
- package/proto/clarifai/api/service_pb.d.ts +354 -0
- package/proto/clarifai/api/service_pb.js +3569 -531
- package/proto/clarifai/api/status/status_code_pb.d.ts +14 -0
- package/proto/clarifai/api/status/status_code_pb.js +14 -0
- package/proto/clarifai/api/status/status_pb.d.ts +36 -0
- package/proto/clarifai/api/status/status_pb.js +294 -1
- package/proto/clarifai/auth/scope/scope_pb.d.ts +1 -0
- package/proto/clarifai/auth/scope/scope_pb.js +2 -1
|
@@ -772,6 +772,20 @@ export class V2Client {
|
|
|
772
772
|
response: proto_clarifai_api_service_pb.MultiAppResponse) => void
|
|
773
773
|
): grpcWeb.ClientReadableStream<proto_clarifai_api_service_pb.MultiAppResponse>;
|
|
774
774
|
|
|
775
|
+
patchApp(
|
|
776
|
+
request: proto_clarifai_api_service_pb.PatchAppRequest,
|
|
777
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
778
|
+
callback: (err: grpcWeb.RpcError,
|
|
779
|
+
response: proto_clarifai_api_service_pb.SingleAppResponse) => void
|
|
780
|
+
): grpcWeb.ClientReadableStream<proto_clarifai_api_service_pb.SingleAppResponse>;
|
|
781
|
+
|
|
782
|
+
patchAppsIds(
|
|
783
|
+
request: proto_clarifai_api_service_pb.PatchAppsIdsRequest,
|
|
784
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
785
|
+
callback: (err: grpcWeb.RpcError,
|
|
786
|
+
response: proto_clarifai_api_service_pb.MultiAppResponse) => void
|
|
787
|
+
): grpcWeb.ClientReadableStream<proto_clarifai_api_service_pb.MultiAppResponse>;
|
|
788
|
+
|
|
775
789
|
postAppsSearches(
|
|
776
790
|
request: proto_clarifai_api_service_pb.PostAppsSearchesRequest,
|
|
777
791
|
metadata: grpcWeb.Metadata | undefined,
|
|
@@ -1108,6 +1122,48 @@ export class V2Client {
|
|
|
1108
1122
|
response: proto_clarifai_api_service_pb.MultiTrendingMetricsViewResponse) => void
|
|
1109
1123
|
): grpcWeb.ClientReadableStream<proto_clarifai_api_service_pb.MultiTrendingMetricsViewResponse>;
|
|
1110
1124
|
|
|
1125
|
+
postBulkOperations(
|
|
1126
|
+
request: proto_clarifai_api_service_pb.PostBulkOperationsRequest,
|
|
1127
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
1128
|
+
callback: (err: grpcWeb.RpcError,
|
|
1129
|
+
response: proto_clarifai_api_service_pb.MultiBulkOperationsResponse) => void
|
|
1130
|
+
): grpcWeb.ClientReadableStream<proto_clarifai_api_service_pb.MultiBulkOperationsResponse>;
|
|
1131
|
+
|
|
1132
|
+
listBulkOperations(
|
|
1133
|
+
request: proto_clarifai_api_service_pb.ListBulkOperationsRequest,
|
|
1134
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
1135
|
+
callback: (err: grpcWeb.RpcError,
|
|
1136
|
+
response: proto_clarifai_api_service_pb.MultiBulkOperationsResponse) => void
|
|
1137
|
+
): grpcWeb.ClientReadableStream<proto_clarifai_api_service_pb.MultiBulkOperationsResponse>;
|
|
1138
|
+
|
|
1139
|
+
getBulkOperation(
|
|
1140
|
+
request: proto_clarifai_api_service_pb.GetBulkOperationRequest,
|
|
1141
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
1142
|
+
callback: (err: grpcWeb.RpcError,
|
|
1143
|
+
response: proto_clarifai_api_service_pb.SingleBulkOperationsResponse) => void
|
|
1144
|
+
): grpcWeb.ClientReadableStream<proto_clarifai_api_service_pb.SingleBulkOperationsResponse>;
|
|
1145
|
+
|
|
1146
|
+
cancelBulkOperations(
|
|
1147
|
+
request: proto_clarifai_api_service_pb.CancelBulkOperationRequest,
|
|
1148
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
1149
|
+
callback: (err: grpcWeb.RpcError,
|
|
1150
|
+
response: proto_clarifai_api_service_pb.MultiBulkOperationsResponse) => void
|
|
1151
|
+
): grpcWeb.ClientReadableStream<proto_clarifai_api_service_pb.MultiBulkOperationsResponse>;
|
|
1152
|
+
|
|
1153
|
+
deleteBulkOperations(
|
|
1154
|
+
request: proto_clarifai_api_service_pb.DeleteBulkOperationRequest,
|
|
1155
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
1156
|
+
callback: (err: grpcWeb.RpcError,
|
|
1157
|
+
response: proto_clarifai_api_status_status_pb.BaseResponse) => void
|
|
1158
|
+
): grpcWeb.ClientReadableStream<proto_clarifai_api_status_status_pb.BaseResponse>;
|
|
1159
|
+
|
|
1160
|
+
getDatasetInputsSearchAddJob(
|
|
1161
|
+
request: proto_clarifai_api_service_pb.GetDatasetInputsSearchAddJobRequest,
|
|
1162
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
1163
|
+
callback: (err: grpcWeb.RpcError,
|
|
1164
|
+
response: proto_clarifai_api_service_pb.SingleDatasetInputsSearchAddJobResponse) => void
|
|
1165
|
+
): grpcWeb.ClientReadableStream<proto_clarifai_api_service_pb.SingleDatasetInputsSearchAddJobResponse>;
|
|
1166
|
+
|
|
1111
1167
|
}
|
|
1112
1168
|
|
|
1113
1169
|
export class V2PromiseClient {
|
|
@@ -1660,6 +1716,16 @@ export class V2PromiseClient {
|
|
|
1660
1716
|
metadata?: grpcWeb.Metadata
|
|
1661
1717
|
): Promise<proto_clarifai_api_service_pb.MultiAppResponse>;
|
|
1662
1718
|
|
|
1719
|
+
patchApp(
|
|
1720
|
+
request: proto_clarifai_api_service_pb.PatchAppRequest,
|
|
1721
|
+
metadata?: grpcWeb.Metadata
|
|
1722
|
+
): Promise<proto_clarifai_api_service_pb.SingleAppResponse>;
|
|
1723
|
+
|
|
1724
|
+
patchAppsIds(
|
|
1725
|
+
request: proto_clarifai_api_service_pb.PatchAppsIdsRequest,
|
|
1726
|
+
metadata?: grpcWeb.Metadata
|
|
1727
|
+
): Promise<proto_clarifai_api_service_pb.MultiAppResponse>;
|
|
1728
|
+
|
|
1663
1729
|
postAppsSearches(
|
|
1664
1730
|
request: proto_clarifai_api_service_pb.PostAppsSearchesRequest,
|
|
1665
1731
|
metadata?: grpcWeb.Metadata
|
|
@@ -1900,5 +1966,35 @@ export class V2PromiseClient {
|
|
|
1900
1966
|
metadata?: grpcWeb.Metadata
|
|
1901
1967
|
): Promise<proto_clarifai_api_service_pb.MultiTrendingMetricsViewResponse>;
|
|
1902
1968
|
|
|
1969
|
+
postBulkOperations(
|
|
1970
|
+
request: proto_clarifai_api_service_pb.PostBulkOperationsRequest,
|
|
1971
|
+
metadata?: grpcWeb.Metadata
|
|
1972
|
+
): Promise<proto_clarifai_api_service_pb.MultiBulkOperationsResponse>;
|
|
1973
|
+
|
|
1974
|
+
listBulkOperations(
|
|
1975
|
+
request: proto_clarifai_api_service_pb.ListBulkOperationsRequest,
|
|
1976
|
+
metadata?: grpcWeb.Metadata
|
|
1977
|
+
): Promise<proto_clarifai_api_service_pb.MultiBulkOperationsResponse>;
|
|
1978
|
+
|
|
1979
|
+
getBulkOperation(
|
|
1980
|
+
request: proto_clarifai_api_service_pb.GetBulkOperationRequest,
|
|
1981
|
+
metadata?: grpcWeb.Metadata
|
|
1982
|
+
): Promise<proto_clarifai_api_service_pb.SingleBulkOperationsResponse>;
|
|
1983
|
+
|
|
1984
|
+
cancelBulkOperations(
|
|
1985
|
+
request: proto_clarifai_api_service_pb.CancelBulkOperationRequest,
|
|
1986
|
+
metadata?: grpcWeb.Metadata
|
|
1987
|
+
): Promise<proto_clarifai_api_service_pb.MultiBulkOperationsResponse>;
|
|
1988
|
+
|
|
1989
|
+
deleteBulkOperations(
|
|
1990
|
+
request: proto_clarifai_api_service_pb.DeleteBulkOperationRequest,
|
|
1991
|
+
metadata?: grpcWeb.Metadata
|
|
1992
|
+
): Promise<proto_clarifai_api_status_status_pb.BaseResponse>;
|
|
1993
|
+
|
|
1994
|
+
getDatasetInputsSearchAddJob(
|
|
1995
|
+
request: proto_clarifai_api_service_pb.GetDatasetInputsSearchAddJobRequest,
|
|
1996
|
+
metadata?: grpcWeb.Metadata
|
|
1997
|
+
): Promise<proto_clarifai_api_service_pb.SingleDatasetInputsSearchAddJobResponse>;
|
|
1998
|
+
|
|
1903
1999
|
}
|
|
1904
2000
|
|
|
@@ -6740,6 +6740,128 @@ proto.clarifai.api.V2PromiseClient.prototype.patchApps =
|
|
|
6740
6740
|
};
|
|
6741
6741
|
|
|
6742
6742
|
|
|
6743
|
+
/**
|
|
6744
|
+
* @const
|
|
6745
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
6746
|
+
* !proto.clarifai.api.PatchAppRequest,
|
|
6747
|
+
* !proto.clarifai.api.SingleAppResponse>}
|
|
6748
|
+
*/
|
|
6749
|
+
const methodDescriptor_V2_PatchApp = new grpc.web.MethodDescriptor(
|
|
6750
|
+
'/clarifai.api.V2/PatchApp',
|
|
6751
|
+
grpc.web.MethodType.UNARY,
|
|
6752
|
+
proto.clarifai.api.PatchAppRequest,
|
|
6753
|
+
proto.clarifai.api.SingleAppResponse,
|
|
6754
|
+
/**
|
|
6755
|
+
* @param {!proto.clarifai.api.PatchAppRequest} request
|
|
6756
|
+
* @return {!Uint8Array}
|
|
6757
|
+
*/
|
|
6758
|
+
function(request) {
|
|
6759
|
+
return request.serializeBinary();
|
|
6760
|
+
},
|
|
6761
|
+
proto.clarifai.api.SingleAppResponse.deserializeBinary
|
|
6762
|
+
);
|
|
6763
|
+
|
|
6764
|
+
|
|
6765
|
+
/**
|
|
6766
|
+
* @param {!proto.clarifai.api.PatchAppRequest} request The
|
|
6767
|
+
* request proto
|
|
6768
|
+
* @param {?Object<string, string>} metadata User defined
|
|
6769
|
+
* call metadata
|
|
6770
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.SingleAppResponse)}
|
|
6771
|
+
* callback The callback function(error, response)
|
|
6772
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.SingleAppResponse>|undefined}
|
|
6773
|
+
* The XHR Node Readable Stream
|
|
6774
|
+
*/
|
|
6775
|
+
proto.clarifai.api.V2Client.prototype.patchApp =
|
|
6776
|
+
function(request, metadata, callback) {
|
|
6777
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
6778
|
+
'/clarifai.api.V2/PatchApp',
|
|
6779
|
+
request,
|
|
6780
|
+
metadata || {},
|
|
6781
|
+
methodDescriptor_V2_PatchApp,
|
|
6782
|
+
callback);
|
|
6783
|
+
};
|
|
6784
|
+
|
|
6785
|
+
|
|
6786
|
+
/**
|
|
6787
|
+
* @param {!proto.clarifai.api.PatchAppRequest} request The
|
|
6788
|
+
* request proto
|
|
6789
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
6790
|
+
* call metadata
|
|
6791
|
+
* @return {!Promise<!proto.clarifai.api.SingleAppResponse>}
|
|
6792
|
+
* Promise that resolves to the response
|
|
6793
|
+
*/
|
|
6794
|
+
proto.clarifai.api.V2PromiseClient.prototype.patchApp =
|
|
6795
|
+
function(request, metadata) {
|
|
6796
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
6797
|
+
'/clarifai.api.V2/PatchApp',
|
|
6798
|
+
request,
|
|
6799
|
+
metadata || {},
|
|
6800
|
+
methodDescriptor_V2_PatchApp);
|
|
6801
|
+
};
|
|
6802
|
+
|
|
6803
|
+
|
|
6804
|
+
/**
|
|
6805
|
+
* @const
|
|
6806
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
6807
|
+
* !proto.clarifai.api.PatchAppsIdsRequest,
|
|
6808
|
+
* !proto.clarifai.api.MultiAppResponse>}
|
|
6809
|
+
*/
|
|
6810
|
+
const methodDescriptor_V2_PatchAppsIds = new grpc.web.MethodDescriptor(
|
|
6811
|
+
'/clarifai.api.V2/PatchAppsIds',
|
|
6812
|
+
grpc.web.MethodType.UNARY,
|
|
6813
|
+
proto.clarifai.api.PatchAppsIdsRequest,
|
|
6814
|
+
proto.clarifai.api.MultiAppResponse,
|
|
6815
|
+
/**
|
|
6816
|
+
* @param {!proto.clarifai.api.PatchAppsIdsRequest} request
|
|
6817
|
+
* @return {!Uint8Array}
|
|
6818
|
+
*/
|
|
6819
|
+
function(request) {
|
|
6820
|
+
return request.serializeBinary();
|
|
6821
|
+
},
|
|
6822
|
+
proto.clarifai.api.MultiAppResponse.deserializeBinary
|
|
6823
|
+
);
|
|
6824
|
+
|
|
6825
|
+
|
|
6826
|
+
/**
|
|
6827
|
+
* @param {!proto.clarifai.api.PatchAppsIdsRequest} request The
|
|
6828
|
+
* request proto
|
|
6829
|
+
* @param {?Object<string, string>} metadata User defined
|
|
6830
|
+
* call metadata
|
|
6831
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiAppResponse)}
|
|
6832
|
+
* callback The callback function(error, response)
|
|
6833
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiAppResponse>|undefined}
|
|
6834
|
+
* The XHR Node Readable Stream
|
|
6835
|
+
*/
|
|
6836
|
+
proto.clarifai.api.V2Client.prototype.patchAppsIds =
|
|
6837
|
+
function(request, metadata, callback) {
|
|
6838
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
6839
|
+
'/clarifai.api.V2/PatchAppsIds',
|
|
6840
|
+
request,
|
|
6841
|
+
metadata || {},
|
|
6842
|
+
methodDescriptor_V2_PatchAppsIds,
|
|
6843
|
+
callback);
|
|
6844
|
+
};
|
|
6845
|
+
|
|
6846
|
+
|
|
6847
|
+
/**
|
|
6848
|
+
* @param {!proto.clarifai.api.PatchAppsIdsRequest} request The
|
|
6849
|
+
* request proto
|
|
6850
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
6851
|
+
* call metadata
|
|
6852
|
+
* @return {!Promise<!proto.clarifai.api.MultiAppResponse>}
|
|
6853
|
+
* Promise that resolves to the response
|
|
6854
|
+
*/
|
|
6855
|
+
proto.clarifai.api.V2PromiseClient.prototype.patchAppsIds =
|
|
6856
|
+
function(request, metadata) {
|
|
6857
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
6858
|
+
'/clarifai.api.V2/PatchAppsIds',
|
|
6859
|
+
request,
|
|
6860
|
+
metadata || {},
|
|
6861
|
+
methodDescriptor_V2_PatchAppsIds);
|
|
6862
|
+
};
|
|
6863
|
+
|
|
6864
|
+
|
|
6743
6865
|
/**
|
|
6744
6866
|
* @const
|
|
6745
6867
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -9668,5 +9790,371 @@ proto.clarifai.api.V2PromiseClient.prototype.listTrendingMetricsViews =
|
|
|
9668
9790
|
};
|
|
9669
9791
|
|
|
9670
9792
|
|
|
9793
|
+
/**
|
|
9794
|
+
* @const
|
|
9795
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
9796
|
+
* !proto.clarifai.api.PostBulkOperationsRequest,
|
|
9797
|
+
* !proto.clarifai.api.MultiBulkOperationsResponse>}
|
|
9798
|
+
*/
|
|
9799
|
+
const methodDescriptor_V2_PostBulkOperations = new grpc.web.MethodDescriptor(
|
|
9800
|
+
'/clarifai.api.V2/PostBulkOperations',
|
|
9801
|
+
grpc.web.MethodType.UNARY,
|
|
9802
|
+
proto.clarifai.api.PostBulkOperationsRequest,
|
|
9803
|
+
proto.clarifai.api.MultiBulkOperationsResponse,
|
|
9804
|
+
/**
|
|
9805
|
+
* @param {!proto.clarifai.api.PostBulkOperationsRequest} request
|
|
9806
|
+
* @return {!Uint8Array}
|
|
9807
|
+
*/
|
|
9808
|
+
function(request) {
|
|
9809
|
+
return request.serializeBinary();
|
|
9810
|
+
},
|
|
9811
|
+
proto.clarifai.api.MultiBulkOperationsResponse.deserializeBinary
|
|
9812
|
+
);
|
|
9813
|
+
|
|
9814
|
+
|
|
9815
|
+
/**
|
|
9816
|
+
* @param {!proto.clarifai.api.PostBulkOperationsRequest} request The
|
|
9817
|
+
* request proto
|
|
9818
|
+
* @param {?Object<string, string>} metadata User defined
|
|
9819
|
+
* call metadata
|
|
9820
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiBulkOperationsResponse)}
|
|
9821
|
+
* callback The callback function(error, response)
|
|
9822
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiBulkOperationsResponse>|undefined}
|
|
9823
|
+
* The XHR Node Readable Stream
|
|
9824
|
+
*/
|
|
9825
|
+
proto.clarifai.api.V2Client.prototype.postBulkOperations =
|
|
9826
|
+
function(request, metadata, callback) {
|
|
9827
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
9828
|
+
'/clarifai.api.V2/PostBulkOperations',
|
|
9829
|
+
request,
|
|
9830
|
+
metadata || {},
|
|
9831
|
+
methodDescriptor_V2_PostBulkOperations,
|
|
9832
|
+
callback);
|
|
9833
|
+
};
|
|
9834
|
+
|
|
9835
|
+
|
|
9836
|
+
/**
|
|
9837
|
+
* @param {!proto.clarifai.api.PostBulkOperationsRequest} request The
|
|
9838
|
+
* request proto
|
|
9839
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
9840
|
+
* call metadata
|
|
9841
|
+
* @return {!Promise<!proto.clarifai.api.MultiBulkOperationsResponse>}
|
|
9842
|
+
* Promise that resolves to the response
|
|
9843
|
+
*/
|
|
9844
|
+
proto.clarifai.api.V2PromiseClient.prototype.postBulkOperations =
|
|
9845
|
+
function(request, metadata) {
|
|
9846
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
9847
|
+
'/clarifai.api.V2/PostBulkOperations',
|
|
9848
|
+
request,
|
|
9849
|
+
metadata || {},
|
|
9850
|
+
methodDescriptor_V2_PostBulkOperations);
|
|
9851
|
+
};
|
|
9852
|
+
|
|
9853
|
+
|
|
9854
|
+
/**
|
|
9855
|
+
* @const
|
|
9856
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
9857
|
+
* !proto.clarifai.api.ListBulkOperationsRequest,
|
|
9858
|
+
* !proto.clarifai.api.MultiBulkOperationsResponse>}
|
|
9859
|
+
*/
|
|
9860
|
+
const methodDescriptor_V2_ListBulkOperations = new grpc.web.MethodDescriptor(
|
|
9861
|
+
'/clarifai.api.V2/ListBulkOperations',
|
|
9862
|
+
grpc.web.MethodType.UNARY,
|
|
9863
|
+
proto.clarifai.api.ListBulkOperationsRequest,
|
|
9864
|
+
proto.clarifai.api.MultiBulkOperationsResponse,
|
|
9865
|
+
/**
|
|
9866
|
+
* @param {!proto.clarifai.api.ListBulkOperationsRequest} request
|
|
9867
|
+
* @return {!Uint8Array}
|
|
9868
|
+
*/
|
|
9869
|
+
function(request) {
|
|
9870
|
+
return request.serializeBinary();
|
|
9871
|
+
},
|
|
9872
|
+
proto.clarifai.api.MultiBulkOperationsResponse.deserializeBinary
|
|
9873
|
+
);
|
|
9874
|
+
|
|
9875
|
+
|
|
9876
|
+
/**
|
|
9877
|
+
* @param {!proto.clarifai.api.ListBulkOperationsRequest} request The
|
|
9878
|
+
* request proto
|
|
9879
|
+
* @param {?Object<string, string>} metadata User defined
|
|
9880
|
+
* call metadata
|
|
9881
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiBulkOperationsResponse)}
|
|
9882
|
+
* callback The callback function(error, response)
|
|
9883
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiBulkOperationsResponse>|undefined}
|
|
9884
|
+
* The XHR Node Readable Stream
|
|
9885
|
+
*/
|
|
9886
|
+
proto.clarifai.api.V2Client.prototype.listBulkOperations =
|
|
9887
|
+
function(request, metadata, callback) {
|
|
9888
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
9889
|
+
'/clarifai.api.V2/ListBulkOperations',
|
|
9890
|
+
request,
|
|
9891
|
+
metadata || {},
|
|
9892
|
+
methodDescriptor_V2_ListBulkOperations,
|
|
9893
|
+
callback);
|
|
9894
|
+
};
|
|
9895
|
+
|
|
9896
|
+
|
|
9897
|
+
/**
|
|
9898
|
+
* @param {!proto.clarifai.api.ListBulkOperationsRequest} request The
|
|
9899
|
+
* request proto
|
|
9900
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
9901
|
+
* call metadata
|
|
9902
|
+
* @return {!Promise<!proto.clarifai.api.MultiBulkOperationsResponse>}
|
|
9903
|
+
* Promise that resolves to the response
|
|
9904
|
+
*/
|
|
9905
|
+
proto.clarifai.api.V2PromiseClient.prototype.listBulkOperations =
|
|
9906
|
+
function(request, metadata) {
|
|
9907
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
9908
|
+
'/clarifai.api.V2/ListBulkOperations',
|
|
9909
|
+
request,
|
|
9910
|
+
metadata || {},
|
|
9911
|
+
methodDescriptor_V2_ListBulkOperations);
|
|
9912
|
+
};
|
|
9913
|
+
|
|
9914
|
+
|
|
9915
|
+
/**
|
|
9916
|
+
* @const
|
|
9917
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
9918
|
+
* !proto.clarifai.api.GetBulkOperationRequest,
|
|
9919
|
+
* !proto.clarifai.api.SingleBulkOperationsResponse>}
|
|
9920
|
+
*/
|
|
9921
|
+
const methodDescriptor_V2_GetBulkOperation = new grpc.web.MethodDescriptor(
|
|
9922
|
+
'/clarifai.api.V2/GetBulkOperation',
|
|
9923
|
+
grpc.web.MethodType.UNARY,
|
|
9924
|
+
proto.clarifai.api.GetBulkOperationRequest,
|
|
9925
|
+
proto.clarifai.api.SingleBulkOperationsResponse,
|
|
9926
|
+
/**
|
|
9927
|
+
* @param {!proto.clarifai.api.GetBulkOperationRequest} request
|
|
9928
|
+
* @return {!Uint8Array}
|
|
9929
|
+
*/
|
|
9930
|
+
function(request) {
|
|
9931
|
+
return request.serializeBinary();
|
|
9932
|
+
},
|
|
9933
|
+
proto.clarifai.api.SingleBulkOperationsResponse.deserializeBinary
|
|
9934
|
+
);
|
|
9935
|
+
|
|
9936
|
+
|
|
9937
|
+
/**
|
|
9938
|
+
* @param {!proto.clarifai.api.GetBulkOperationRequest} request The
|
|
9939
|
+
* request proto
|
|
9940
|
+
* @param {?Object<string, string>} metadata User defined
|
|
9941
|
+
* call metadata
|
|
9942
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.SingleBulkOperationsResponse)}
|
|
9943
|
+
* callback The callback function(error, response)
|
|
9944
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.SingleBulkOperationsResponse>|undefined}
|
|
9945
|
+
* The XHR Node Readable Stream
|
|
9946
|
+
*/
|
|
9947
|
+
proto.clarifai.api.V2Client.prototype.getBulkOperation =
|
|
9948
|
+
function(request, metadata, callback) {
|
|
9949
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
9950
|
+
'/clarifai.api.V2/GetBulkOperation',
|
|
9951
|
+
request,
|
|
9952
|
+
metadata || {},
|
|
9953
|
+
methodDescriptor_V2_GetBulkOperation,
|
|
9954
|
+
callback);
|
|
9955
|
+
};
|
|
9956
|
+
|
|
9957
|
+
|
|
9958
|
+
/**
|
|
9959
|
+
* @param {!proto.clarifai.api.GetBulkOperationRequest} request The
|
|
9960
|
+
* request proto
|
|
9961
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
9962
|
+
* call metadata
|
|
9963
|
+
* @return {!Promise<!proto.clarifai.api.SingleBulkOperationsResponse>}
|
|
9964
|
+
* Promise that resolves to the response
|
|
9965
|
+
*/
|
|
9966
|
+
proto.clarifai.api.V2PromiseClient.prototype.getBulkOperation =
|
|
9967
|
+
function(request, metadata) {
|
|
9968
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
9969
|
+
'/clarifai.api.V2/GetBulkOperation',
|
|
9970
|
+
request,
|
|
9971
|
+
metadata || {},
|
|
9972
|
+
methodDescriptor_V2_GetBulkOperation);
|
|
9973
|
+
};
|
|
9974
|
+
|
|
9975
|
+
|
|
9976
|
+
/**
|
|
9977
|
+
* @const
|
|
9978
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
9979
|
+
* !proto.clarifai.api.CancelBulkOperationRequest,
|
|
9980
|
+
* !proto.clarifai.api.MultiBulkOperationsResponse>}
|
|
9981
|
+
*/
|
|
9982
|
+
const methodDescriptor_V2_CancelBulkOperations = new grpc.web.MethodDescriptor(
|
|
9983
|
+
'/clarifai.api.V2/CancelBulkOperations',
|
|
9984
|
+
grpc.web.MethodType.UNARY,
|
|
9985
|
+
proto.clarifai.api.CancelBulkOperationRequest,
|
|
9986
|
+
proto.clarifai.api.MultiBulkOperationsResponse,
|
|
9987
|
+
/**
|
|
9988
|
+
* @param {!proto.clarifai.api.CancelBulkOperationRequest} request
|
|
9989
|
+
* @return {!Uint8Array}
|
|
9990
|
+
*/
|
|
9991
|
+
function(request) {
|
|
9992
|
+
return request.serializeBinary();
|
|
9993
|
+
},
|
|
9994
|
+
proto.clarifai.api.MultiBulkOperationsResponse.deserializeBinary
|
|
9995
|
+
);
|
|
9996
|
+
|
|
9997
|
+
|
|
9998
|
+
/**
|
|
9999
|
+
* @param {!proto.clarifai.api.CancelBulkOperationRequest} request The
|
|
10000
|
+
* request proto
|
|
10001
|
+
* @param {?Object<string, string>} metadata User defined
|
|
10002
|
+
* call metadata
|
|
10003
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiBulkOperationsResponse)}
|
|
10004
|
+
* callback The callback function(error, response)
|
|
10005
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiBulkOperationsResponse>|undefined}
|
|
10006
|
+
* The XHR Node Readable Stream
|
|
10007
|
+
*/
|
|
10008
|
+
proto.clarifai.api.V2Client.prototype.cancelBulkOperations =
|
|
10009
|
+
function(request, metadata, callback) {
|
|
10010
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
10011
|
+
'/clarifai.api.V2/CancelBulkOperations',
|
|
10012
|
+
request,
|
|
10013
|
+
metadata || {},
|
|
10014
|
+
methodDescriptor_V2_CancelBulkOperations,
|
|
10015
|
+
callback);
|
|
10016
|
+
};
|
|
10017
|
+
|
|
10018
|
+
|
|
10019
|
+
/**
|
|
10020
|
+
* @param {!proto.clarifai.api.CancelBulkOperationRequest} request The
|
|
10021
|
+
* request proto
|
|
10022
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
10023
|
+
* call metadata
|
|
10024
|
+
* @return {!Promise<!proto.clarifai.api.MultiBulkOperationsResponse>}
|
|
10025
|
+
* Promise that resolves to the response
|
|
10026
|
+
*/
|
|
10027
|
+
proto.clarifai.api.V2PromiseClient.prototype.cancelBulkOperations =
|
|
10028
|
+
function(request, metadata) {
|
|
10029
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
10030
|
+
'/clarifai.api.V2/CancelBulkOperations',
|
|
10031
|
+
request,
|
|
10032
|
+
metadata || {},
|
|
10033
|
+
methodDescriptor_V2_CancelBulkOperations);
|
|
10034
|
+
};
|
|
10035
|
+
|
|
10036
|
+
|
|
10037
|
+
/**
|
|
10038
|
+
* @const
|
|
10039
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
10040
|
+
* !proto.clarifai.api.DeleteBulkOperationRequest,
|
|
10041
|
+
* !proto.clarifai.api.status.BaseResponse>}
|
|
10042
|
+
*/
|
|
10043
|
+
const methodDescriptor_V2_DeleteBulkOperations = new grpc.web.MethodDescriptor(
|
|
10044
|
+
'/clarifai.api.V2/DeleteBulkOperations',
|
|
10045
|
+
grpc.web.MethodType.UNARY,
|
|
10046
|
+
proto.clarifai.api.DeleteBulkOperationRequest,
|
|
10047
|
+
proto_clarifai_api_status_status_pb.BaseResponse,
|
|
10048
|
+
/**
|
|
10049
|
+
* @param {!proto.clarifai.api.DeleteBulkOperationRequest} request
|
|
10050
|
+
* @return {!Uint8Array}
|
|
10051
|
+
*/
|
|
10052
|
+
function(request) {
|
|
10053
|
+
return request.serializeBinary();
|
|
10054
|
+
},
|
|
10055
|
+
proto_clarifai_api_status_status_pb.BaseResponse.deserializeBinary
|
|
10056
|
+
);
|
|
10057
|
+
|
|
10058
|
+
|
|
10059
|
+
/**
|
|
10060
|
+
* @param {!proto.clarifai.api.DeleteBulkOperationRequest} request The
|
|
10061
|
+
* request proto
|
|
10062
|
+
* @param {?Object<string, string>} metadata User defined
|
|
10063
|
+
* call metadata
|
|
10064
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.status.BaseResponse)}
|
|
10065
|
+
* callback The callback function(error, response)
|
|
10066
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.status.BaseResponse>|undefined}
|
|
10067
|
+
* The XHR Node Readable Stream
|
|
10068
|
+
*/
|
|
10069
|
+
proto.clarifai.api.V2Client.prototype.deleteBulkOperations =
|
|
10070
|
+
function(request, metadata, callback) {
|
|
10071
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
10072
|
+
'/clarifai.api.V2/DeleteBulkOperations',
|
|
10073
|
+
request,
|
|
10074
|
+
metadata || {},
|
|
10075
|
+
methodDescriptor_V2_DeleteBulkOperations,
|
|
10076
|
+
callback);
|
|
10077
|
+
};
|
|
10078
|
+
|
|
10079
|
+
|
|
10080
|
+
/**
|
|
10081
|
+
* @param {!proto.clarifai.api.DeleteBulkOperationRequest} request The
|
|
10082
|
+
* request proto
|
|
10083
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
10084
|
+
* call metadata
|
|
10085
|
+
* @return {!Promise<!proto.clarifai.api.status.BaseResponse>}
|
|
10086
|
+
* Promise that resolves to the response
|
|
10087
|
+
*/
|
|
10088
|
+
proto.clarifai.api.V2PromiseClient.prototype.deleteBulkOperations =
|
|
10089
|
+
function(request, metadata) {
|
|
10090
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
10091
|
+
'/clarifai.api.V2/DeleteBulkOperations',
|
|
10092
|
+
request,
|
|
10093
|
+
metadata || {},
|
|
10094
|
+
methodDescriptor_V2_DeleteBulkOperations);
|
|
10095
|
+
};
|
|
10096
|
+
|
|
10097
|
+
|
|
10098
|
+
/**
|
|
10099
|
+
* @const
|
|
10100
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
10101
|
+
* !proto.clarifai.api.GetDatasetInputsSearchAddJobRequest,
|
|
10102
|
+
* !proto.clarifai.api.SingleDatasetInputsSearchAddJobResponse>}
|
|
10103
|
+
*/
|
|
10104
|
+
const methodDescriptor_V2_GetDatasetInputsSearchAddJob = new grpc.web.MethodDescriptor(
|
|
10105
|
+
'/clarifai.api.V2/GetDatasetInputsSearchAddJob',
|
|
10106
|
+
grpc.web.MethodType.UNARY,
|
|
10107
|
+
proto.clarifai.api.GetDatasetInputsSearchAddJobRequest,
|
|
10108
|
+
proto.clarifai.api.SingleDatasetInputsSearchAddJobResponse,
|
|
10109
|
+
/**
|
|
10110
|
+
* @param {!proto.clarifai.api.GetDatasetInputsSearchAddJobRequest} request
|
|
10111
|
+
* @return {!Uint8Array}
|
|
10112
|
+
*/
|
|
10113
|
+
function(request) {
|
|
10114
|
+
return request.serializeBinary();
|
|
10115
|
+
},
|
|
10116
|
+
proto.clarifai.api.SingleDatasetInputsSearchAddJobResponse.deserializeBinary
|
|
10117
|
+
);
|
|
10118
|
+
|
|
10119
|
+
|
|
10120
|
+
/**
|
|
10121
|
+
* @param {!proto.clarifai.api.GetDatasetInputsSearchAddJobRequest} request The
|
|
10122
|
+
* request proto
|
|
10123
|
+
* @param {?Object<string, string>} metadata User defined
|
|
10124
|
+
* call metadata
|
|
10125
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.SingleDatasetInputsSearchAddJobResponse)}
|
|
10126
|
+
* callback The callback function(error, response)
|
|
10127
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.SingleDatasetInputsSearchAddJobResponse>|undefined}
|
|
10128
|
+
* The XHR Node Readable Stream
|
|
10129
|
+
*/
|
|
10130
|
+
proto.clarifai.api.V2Client.prototype.getDatasetInputsSearchAddJob =
|
|
10131
|
+
function(request, metadata, callback) {
|
|
10132
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
10133
|
+
'/clarifai.api.V2/GetDatasetInputsSearchAddJob',
|
|
10134
|
+
request,
|
|
10135
|
+
metadata || {},
|
|
10136
|
+
methodDescriptor_V2_GetDatasetInputsSearchAddJob,
|
|
10137
|
+
callback);
|
|
10138
|
+
};
|
|
10139
|
+
|
|
10140
|
+
|
|
10141
|
+
/**
|
|
10142
|
+
* @param {!proto.clarifai.api.GetDatasetInputsSearchAddJobRequest} request The
|
|
10143
|
+
* request proto
|
|
10144
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
10145
|
+
* call metadata
|
|
10146
|
+
* @return {!Promise<!proto.clarifai.api.SingleDatasetInputsSearchAddJobResponse>}
|
|
10147
|
+
* Promise that resolves to the response
|
|
10148
|
+
*/
|
|
10149
|
+
proto.clarifai.api.V2PromiseClient.prototype.getDatasetInputsSearchAddJob =
|
|
10150
|
+
function(request, metadata) {
|
|
10151
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
10152
|
+
'/clarifai.api.V2/GetDatasetInputsSearchAddJob',
|
|
10153
|
+
request,
|
|
10154
|
+
metadata || {},
|
|
10155
|
+
methodDescriptor_V2_GetDatasetInputsSearchAddJob);
|
|
10156
|
+
};
|
|
10157
|
+
|
|
10158
|
+
|
|
9671
10159
|
module.exports = proto.clarifai.api;
|
|
9672
10160
|
|