clarifai-web-grpc 1.1.1 → 1.1.5

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.
Files changed (113) hide show
  1. package/CHANGELOG.md +2 -2
  2. package/lib/google/api/annotations_grpc_pb.d.ts +0 -0
  3. package/{google → lib/google}/api/annotations_grpc_pb.js +0 -0
  4. package/{dist/cjs → lib}/google/api/annotations_pb.d.ts +0 -0
  5. package/{google → lib/google}/api/annotations_pb.js +0 -0
  6. package/lib/google/api/http_grpc_pb.d.ts +0 -0
  7. package/{google → lib/google}/api/http_grpc_pb.js +0 -0
  8. package/{dist/cjs → lib}/google/api/http_pb.d.ts +0 -0
  9. package/{google → lib/google}/api/http_pb.js +0 -0
  10. package/{dist/cjs → lib}/index.d.ts +0 -0
  11. package/{dist/esm → lib}/index.js +0 -0
  12. package/{proto → lib/proto}/clarifai/api/resources_pb.d.ts +0 -0
  13. package/{proto → lib/proto}/clarifai/api/resources_pb.js +0 -0
  14. package/{dist/cjs → lib}/proto/clarifai/api/serviceServiceClientPb.d.ts +0 -0
  15. package/{dist/esm → lib}/proto/clarifai/api/serviceServiceClientPb.js +0 -0
  16. package/{proto → lib/proto}/clarifai/api/serviceServiceClientPb.ts +0 -0
  17. package/{proto → lib/proto}/clarifai/api/service_pb.d.ts +0 -0
  18. package/{proto → lib/proto}/clarifai/api/service_pb.js +0 -0
  19. package/{proto → lib/proto}/clarifai/api/status/status_code_pb.d.ts +0 -0
  20. package/{proto → lib/proto}/clarifai/api/status/status_code_pb.js +0 -0
  21. package/{proto → lib/proto}/clarifai/api/status/status_pb.d.ts +0 -0
  22. package/{proto → lib/proto}/clarifai/api/status/status_pb.js +0 -0
  23. package/{proto → lib/proto}/clarifai/api/utils/extensions_pb.d.ts +0 -0
  24. package/{proto → lib/proto}/clarifai/api/utils/extensions_pb.js +0 -0
  25. package/{proto → lib/proto}/clarifai/api/utils/test_proto_pb.d.ts +0 -0
  26. package/{proto → lib/proto}/clarifai/api/utils/test_proto_pb.js +0 -0
  27. package/{proto → lib/proto}/clarifai/auth/scope/scope_pb.d.ts +0 -0
  28. package/{proto → lib/proto}/clarifai/auth/scope/scope_pb.js +0 -0
  29. package/{proto → lib/proto}/clarifai/auth/types/types_pb.d.ts +0 -0
  30. package/{proto → lib/proto}/clarifai/auth/types/types_pb.js +0 -0
  31. package/{proto → lib/proto}/clarifai/auth/util/extension_pb.d.ts +0 -0
  32. package/{proto → lib/proto}/clarifai/auth/util/extension_pb.js +0 -0
  33. package/{dist/cjs → lib}/resources.d.ts +0 -0
  34. package/{dist/esm → lib}/resources.js +0 -0
  35. package/{dist/cjs → lib}/service.d.ts +0 -0
  36. package/{dist/esm → lib}/service.js +0 -0
  37. package/package.json +21 -10
  38. package/src/google/api/annotations_grpc_pb.js +1 -0
  39. package/{dist/cjs → src}/google/api/annotations_pb.js +19 -4
  40. package/src/google/api/http_grpc_pb.js +1 -0
  41. package/src/google/api/http_pb.js +1005 -0
  42. package/src/proto/clarifai/api/resources_pb.d.ts +5052 -0
  43. package/src/proto/clarifai/api/resources_pb.js +41204 -0
  44. package/src/proto/clarifai/api/serviceServiceClientPb.ts +3002 -0
  45. package/src/proto/clarifai/api/service_pb.d.ts +5582 -0
  46. package/src/proto/clarifai/api/service_pb.js +47897 -0
  47. package/src/proto/clarifai/api/status/status_code_pb.d.ts +296 -0
  48. package/src/proto/clarifai/api/status/status_code_pb.js +314 -0
  49. package/src/proto/clarifai/api/status/status_pb.d.ts +73 -0
  50. package/src/proto/clarifai/api/status/status_pb.js +580 -0
  51. package/src/proto/clarifai/api/utils/extensions_pb.d.ts +4 -0
  52. package/{dist/cjs → src}/proto/clarifai/api/utils/extensions_pb.js +53 -10
  53. package/src/proto/clarifai/api/utils/test_proto_pb.d.ts +81 -0
  54. package/src/proto/clarifai/api/utils/test_proto_pb.js +640 -0
  55. package/src/proto/clarifai/auth/scope/scope_pb.d.ts +92 -0
  56. package/src/proto/clarifai/auth/scope/scope_pb.js +363 -0
  57. package/src/proto/clarifai/auth/types/types_pb.d.ts +10 -0
  58. package/{dist/cjs → src}/proto/clarifai/auth/types/types_pb.js +9 -7
  59. package/src/proto/clarifai/auth/util/extension_pb.d.ts +6 -0
  60. package/{dist/esm → src}/proto/clarifai/auth/util/extension_pb.js +87 -16
  61. package/tests/basic.test.ts +4 -30
  62. package/tests/helpers.test.ts +25 -41
  63. package/tsconfig.json +6 -8
  64. package/dist/cjs/google/api/http_pb.js +0 -813
  65. package/dist/cjs/index.js +0 -11
  66. package/dist/cjs/proto/clarifai/api/resources_pb.d.ts +0 -1
  67. package/dist/cjs/proto/clarifai/api/resources_pb.js +0 -32957
  68. package/dist/cjs/proto/clarifai/api/serviceServiceClientPb.js +0 -908
  69. package/dist/cjs/proto/clarifai/api/service_pb.d.ts +0 -1
  70. package/dist/cjs/proto/clarifai/api/service_pb.js +0 -38791
  71. package/dist/cjs/proto/clarifai/api/status/status_code_pb.d.ts +0 -1
  72. package/dist/cjs/proto/clarifai/api/status/status_code_pb.js +0 -312
  73. package/dist/cjs/proto/clarifai/api/status/status_pb.d.ts +0 -1
  74. package/dist/cjs/proto/clarifai/api/status/status_pb.js +0 -473
  75. package/dist/cjs/proto/clarifai/api/utils/extensions_pb.d.ts +0 -1
  76. package/dist/cjs/proto/clarifai/api/utils/test_proto_pb.d.ts +0 -1
  77. package/dist/cjs/proto/clarifai/api/utils/test_proto_pb.js +0 -521
  78. package/dist/cjs/proto/clarifai/auth/scope/scope_pb.d.ts +0 -1
  79. package/dist/cjs/proto/clarifai/auth/scope/scope_pb.js +0 -294
  80. package/dist/cjs/proto/clarifai/auth/types/types_pb.d.ts +0 -1
  81. package/dist/cjs/proto/clarifai/auth/util/extension_pb.d.ts +0 -1
  82. package/dist/cjs/proto/clarifai/auth/util/extension_pb.js +0 -80
  83. package/dist/cjs/resources.js +0 -47
  84. package/dist/cjs/service.js +0 -13
  85. package/dist/esm/google/api/annotations_pb.d.ts +0 -1
  86. package/dist/esm/google/api/annotations_pb.js +0 -32
  87. package/dist/esm/google/api/http_pb.d.ts +0 -1
  88. package/dist/esm/google/api/http_pb.js +0 -813
  89. package/dist/esm/index.d.ts +0 -5
  90. package/dist/esm/proto/clarifai/api/resources_pb.d.ts +0 -1
  91. package/dist/esm/proto/clarifai/api/resources_pb.js +0 -32957
  92. package/dist/esm/proto/clarifai/api/serviceServiceClientPb.d.ts +0 -275
  93. package/dist/esm/proto/clarifai/api/service_pb.d.ts +0 -1
  94. package/dist/esm/proto/clarifai/api/service_pb.js +0 -38791
  95. package/dist/esm/proto/clarifai/api/status/status_code_pb.d.ts +0 -1
  96. package/dist/esm/proto/clarifai/api/status/status_code_pb.js +0 -312
  97. package/dist/esm/proto/clarifai/api/status/status_pb.d.ts +0 -1
  98. package/dist/esm/proto/clarifai/api/status/status_pb.js +0 -473
  99. package/dist/esm/proto/clarifai/api/utils/extensions_pb.d.ts +0 -1
  100. package/dist/esm/proto/clarifai/api/utils/extensions_pb.js +0 -52
  101. package/dist/esm/proto/clarifai/api/utils/test_proto_pb.d.ts +0 -1
  102. package/dist/esm/proto/clarifai/api/utils/test_proto_pb.js +0 -521
  103. package/dist/esm/proto/clarifai/auth/scope/scope_pb.d.ts +0 -1
  104. package/dist/esm/proto/clarifai/auth/scope/scope_pb.js +0 -294
  105. package/dist/esm/proto/clarifai/auth/types/types_pb.d.ts +0 -1
  106. package/dist/esm/proto/clarifai/auth/types/types_pb.js +0 -26
  107. package/dist/esm/proto/clarifai/auth/util/extension_pb.d.ts +0 -1
  108. package/dist/esm/resources.d.ts +0 -12
  109. package/dist/esm/service.d.ts +0 -1
  110. package/index.ts +0 -9
  111. package/resources.ts +0 -15
  112. package/service.ts +0 -1
  113. package/tsconfig.cjs.json +0 -7
@@ -0,0 +1,3002 @@
1
+ /**
2
+ * @fileoverview gRPC-Web generated client stub for clarifai.api
3
+ * @enhanceable
4
+ * @public
5
+ */
6
+
7
+ // GENERATED CODE -- DO NOT EDIT!
8
+
9
+
10
+ import * as grpcWeb from 'grpc-web';
11
+
12
+ import * as proto_clarifai_api_resources_pb from '../../../proto/clarifai/api/resources_pb';
13
+ import * as proto_clarifai_api_status_status_pb from '../../../proto/clarifai/api/status/status_pb';
14
+ import * as proto_clarifai_api_utils_extensions_pb from '../../../proto/clarifai/api/utils/extensions_pb';
15
+ import * as proto_clarifai_auth_scope_scope_pb from '../../../proto/clarifai/auth/scope/scope_pb';
16
+ import * as proto_clarifai_auth_util_extension_pb from '../../../proto/clarifai/auth/util/extension_pb';
17
+ import * as proto_clarifai_api_status_status_code_pb from '../../../proto/clarifai/api/status/status_code_pb';
18
+ import * as google_api_annotations_pb from '../../../google/api/annotations_pb';
19
+ import * as google_protobuf_duration_pb from 'google-protobuf/google/protobuf/duration_pb';
20
+ import * as google_protobuf_struct_pb from 'google-protobuf/google/protobuf/struct_pb';
21
+ import * as google_protobuf_timestamp_pb from 'google-protobuf/google/protobuf/timestamp_pb';
22
+
23
+ import {
24
+ DeleteAnnotationRequest,
25
+ DeleteAnnotationSearchMetricsRequest,
26
+ DeleteAnnotationsRequest,
27
+ DeleteAppRequest,
28
+ DeleteCollaboratorsRequest,
29
+ DeleteCollectorsRequest,
30
+ DeleteConceptRelationsRequest,
31
+ DeleteInputRequest,
32
+ DeleteInputsRequest,
33
+ DeleteKeyRequest,
34
+ DeleteModelRequest,
35
+ DeleteModelVersionRequest,
36
+ DeleteModelsRequest,
37
+ DeleteSearchRequest,
38
+ DeleteTasksRequest,
39
+ DeleteWorkflowRequest,
40
+ DeleteWorkflowVersionsRequest,
41
+ DeleteWorkflowsRequest,
42
+ GetAnnotationRequest,
43
+ GetAnnotationSearchMetricsRequest,
44
+ GetAppDuplicationRequest,
45
+ GetAppRequest,
46
+ GetCollectorRequest,
47
+ GetConceptCountsRequest,
48
+ GetConceptLanguageRequest,
49
+ GetConceptRequest,
50
+ GetInputCountRequest,
51
+ GetInputRequest,
52
+ GetInputSamplesRequest,
53
+ GetKeyRequest,
54
+ GetModelRequest,
55
+ GetModelTypeRequest,
56
+ GetModelVersionInputExampleRequest,
57
+ GetModelVersionMetricsRequest,
58
+ GetModelVersionRequest,
59
+ GetSearchRequest,
60
+ GetStatusCodeRequest,
61
+ GetTaskCountRequest,
62
+ GetTaskRequest,
63
+ GetWorkflowRequest,
64
+ GetWorkflowVersionRequest,
65
+ ListAnnotationSearchMetricsRequest,
66
+ ListAnnotationsRequest,
67
+ ListAppDuplicationsRequest,
68
+ ListAppKeysRequest,
69
+ ListAppsRequest,
70
+ ListCollaborationsRequest,
71
+ ListCollaboratorsRequest,
72
+ ListCollectorsRequest,
73
+ ListConceptLanguagesRequest,
74
+ ListConceptRelationsRequest,
75
+ ListConceptsRequest,
76
+ ListInputsRequest,
77
+ ListKeysRequest,
78
+ ListKnowledgeGraphsRequest,
79
+ ListModelInputsRequest,
80
+ ListModelReferencesRequest,
81
+ ListModelTypesRequest,
82
+ ListModelVersionInputExamplesRequest,
83
+ ListModelVersionsRequest,
84
+ ListModelsRequest,
85
+ ListOpenSourceLicensesRequest,
86
+ ListOpenSourceLicensesResponse,
87
+ ListScopesRequest,
88
+ ListSearchesRequest,
89
+ ListStatusCodesRequest,
90
+ ListTasksRequest,
91
+ ListTrendingMetricsViewsRequest,
92
+ ListWorkflowVersionsRequest,
93
+ ListWorkflowsRequest,
94
+ MultiAnnotationResponse,
95
+ MultiAnnotationSearchMetricsResponse,
96
+ MultiAppDuplicationsResponse,
97
+ MultiAppResponse,
98
+ MultiCollaborationsResponse,
99
+ MultiCollaboratorsResponse,
100
+ MultiCollectorResponse,
101
+ MultiConceptCountResponse,
102
+ MultiConceptLanguageResponse,
103
+ MultiConceptMappingJobResponse,
104
+ MultiConceptRelationResponse,
105
+ MultiConceptResponse,
106
+ MultiInputAnnotationResponse,
107
+ MultiInputResponse,
108
+ MultiKeyResponse,
109
+ MultiKnowledgeGraphResponse,
110
+ MultiModelLanguageResponse,
111
+ MultiModelReferenceResponse,
112
+ MultiModelResponse,
113
+ MultiModelToolkitResponse,
114
+ MultiModelTypeResponse,
115
+ MultiModelUseCaseResponse,
116
+ MultiModelVersionInputExampleResponse,
117
+ MultiModelVersionResponse,
118
+ MultiOutputResponse,
119
+ MultiScopeDepsResponse,
120
+ MultiScopeResponse,
121
+ MultiScopeRootResponse,
122
+ MultiScopeUserResponse,
123
+ MultiSearchResponse,
124
+ MultiStatValueAggregateResponse,
125
+ MultiStatValueResponse,
126
+ MultiStatusCodeResponse,
127
+ MultiTaskResponse,
128
+ MultiTrendingMetricsViewResponse,
129
+ MultiWorkflowResponse,
130
+ MultiWorkflowVersionResponse,
131
+ MyScopesRequest,
132
+ MyScopesRootRequest,
133
+ MyScopesUserRequest,
134
+ PatchAnnotationsRequest,
135
+ PatchAnnotationsStatusRequest,
136
+ PatchAnnotationsStatusResponse,
137
+ PatchAppsRequest,
138
+ PatchCollaboratorsRequest,
139
+ PatchCollectorsRequest,
140
+ PatchConceptLanguagesRequest,
141
+ PatchConceptsRequest,
142
+ PatchInputsRequest,
143
+ PatchKeysRequest,
144
+ PatchModelLanguagesRequest,
145
+ PatchModelToolkitsRequest,
146
+ PatchModelUseCasesRequest,
147
+ PatchModelVersionsRequest,
148
+ PatchModelsRequest,
149
+ PatchTasksRequest,
150
+ PatchWorkflowVersionsRequest,
151
+ PatchWorkflowsRequest,
152
+ PostAnnotationSearchMetricsRequest,
153
+ PostAnnotationsRequest,
154
+ PostAnnotationsSearchesRequest,
155
+ PostAppDuplicationsRequest,
156
+ PostAppsRequest,
157
+ PostAppsSearchesRequest,
158
+ PostCollaboratorsRequest,
159
+ PostCollectorsRequest,
160
+ PostConceptLanguagesRequest,
161
+ PostConceptMappingJobsRequest,
162
+ PostConceptRelationsRequest,
163
+ PostConceptsRequest,
164
+ PostConceptsSearchesRequest,
165
+ PostInputsRequest,
166
+ PostInputsSearchesRequest,
167
+ PostKeysRequest,
168
+ PostKnowledgeGraphsRequest,
169
+ PostModelOutputsRequest,
170
+ PostModelVersionMetricsRequest,
171
+ PostModelVersionsPublishRequest,
172
+ PostModelVersionsRequest,
173
+ PostModelVersionsUnPublishRequest,
174
+ PostModelsRequest,
175
+ PostModelsSearchesRequest,
176
+ PostSearchesByIDRequest,
177
+ PostSearchesRequest,
178
+ PostStatValuesAggregateRequest,
179
+ PostStatValuesRequest,
180
+ PostTasksRequest,
181
+ PostTrendingMetricsViewRequest,
182
+ PostValidatePasswordRequest,
183
+ PostWorkflowResultsRequest,
184
+ PostWorkflowResultsResponse,
185
+ PostWorkflowResultsSimilarityRequest,
186
+ PostWorkflowResultsSimilarityResponse,
187
+ PostWorkflowsRequest,
188
+ SingleAnnotationResponse,
189
+ SingleAppDuplicationResponse,
190
+ SingleAppResponse,
191
+ SingleCollectorResponse,
192
+ SingleConceptLanguageResponse,
193
+ SingleConceptResponse,
194
+ SingleInputCountResponse,
195
+ SingleInputResponse,
196
+ SingleKeyResponse,
197
+ SingleModelResponse,
198
+ SingleModelTypeResponse,
199
+ SingleModelVersionInputExampleResponse,
200
+ SingleModelVersionResponse,
201
+ SinglePasswordValidationResponse,
202
+ SingleSearchResponse,
203
+ SingleStatusCodeResponse,
204
+ SingleTaskCountResponse,
205
+ SingleTaskResponse,
206
+ SingleWorkflowResponse,
207
+ SingleWorkflowVersionResponse,
208
+ StreamInputsRequest} from './service_pb';
209
+
210
+ export class V2Client {
211
+ client_: grpcWeb.AbstractClientBase;
212
+ hostname_: string;
213
+ credentials_: null | { [index: string]: string; };
214
+ options_: null | { [index: string]: string; };
215
+
216
+ constructor (hostname: string,
217
+ credentials?: null | { [index: string]: string; },
218
+ options?: null | { [index: string]: string; }) {
219
+ if (!options) options = {};
220
+ if (!credentials) credentials = {};
221
+ options['format'] = 'binary';
222
+
223
+ this.client_ = new grpcWeb.GrpcWebClientBase(options);
224
+ this.hostname_ = hostname;
225
+ this.credentials_ = credentials;
226
+ this.options_ = options;
227
+ }
228
+
229
+ methodInfoListConceptRelations = new grpcWeb.AbstractClientBase.MethodInfo(
230
+ MultiConceptRelationResponse,
231
+ (request: ListConceptRelationsRequest) => {
232
+ return request.serializeBinary();
233
+ },
234
+ MultiConceptRelationResponse.deserializeBinary
235
+ );
236
+
237
+ listConceptRelations(
238
+ request: ListConceptRelationsRequest,
239
+ metadata: grpcWeb.Metadata | null,
240
+ callback: (err: grpcWeb.Error,
241
+ response: MultiConceptRelationResponse) => void) {
242
+ return this.client_.rpcCall(
243
+ this.hostname_ +
244
+ '/clarifai.api.V2/ListConceptRelations',
245
+ request,
246
+ metadata || {},
247
+ this.methodInfoListConceptRelations,
248
+ callback);
249
+ }
250
+
251
+ methodInfoPostConceptRelations = new grpcWeb.AbstractClientBase.MethodInfo(
252
+ MultiConceptRelationResponse,
253
+ (request: PostConceptRelationsRequest) => {
254
+ return request.serializeBinary();
255
+ },
256
+ MultiConceptRelationResponse.deserializeBinary
257
+ );
258
+
259
+ postConceptRelations(
260
+ request: PostConceptRelationsRequest,
261
+ metadata: grpcWeb.Metadata | null,
262
+ callback: (err: grpcWeb.Error,
263
+ response: MultiConceptRelationResponse) => void) {
264
+ return this.client_.rpcCall(
265
+ this.hostname_ +
266
+ '/clarifai.api.V2/PostConceptRelations',
267
+ request,
268
+ metadata || {},
269
+ this.methodInfoPostConceptRelations,
270
+ callback);
271
+ }
272
+
273
+ methodInfoDeleteConceptRelations = new grpcWeb.AbstractClientBase.MethodInfo(
274
+ proto_clarifai_api_status_status_pb.BaseResponse,
275
+ (request: DeleteConceptRelationsRequest) => {
276
+ return request.serializeBinary();
277
+ },
278
+ proto_clarifai_api_status_status_pb.BaseResponse.deserializeBinary
279
+ );
280
+
281
+ deleteConceptRelations(
282
+ request: DeleteConceptRelationsRequest,
283
+ metadata: grpcWeb.Metadata | null,
284
+ callback: (err: grpcWeb.Error,
285
+ response: proto_clarifai_api_status_status_pb.BaseResponse) => void) {
286
+ return this.client_.rpcCall(
287
+ this.hostname_ +
288
+ '/clarifai.api.V2/DeleteConceptRelations',
289
+ request,
290
+ metadata || {},
291
+ this.methodInfoDeleteConceptRelations,
292
+ callback);
293
+ }
294
+
295
+ methodInfoGetConceptCounts = new grpcWeb.AbstractClientBase.MethodInfo(
296
+ MultiConceptCountResponse,
297
+ (request: GetConceptCountsRequest) => {
298
+ return request.serializeBinary();
299
+ },
300
+ MultiConceptCountResponse.deserializeBinary
301
+ );
302
+
303
+ getConceptCounts(
304
+ request: GetConceptCountsRequest,
305
+ metadata: grpcWeb.Metadata | null,
306
+ callback: (err: grpcWeb.Error,
307
+ response: MultiConceptCountResponse) => void) {
308
+ return this.client_.rpcCall(
309
+ this.hostname_ +
310
+ '/clarifai.api.V2/GetConceptCounts',
311
+ request,
312
+ metadata || {},
313
+ this.methodInfoGetConceptCounts,
314
+ callback);
315
+ }
316
+
317
+ methodInfoGetConcept = new grpcWeb.AbstractClientBase.MethodInfo(
318
+ SingleConceptResponse,
319
+ (request: GetConceptRequest) => {
320
+ return request.serializeBinary();
321
+ },
322
+ SingleConceptResponse.deserializeBinary
323
+ );
324
+
325
+ getConcept(
326
+ request: GetConceptRequest,
327
+ metadata: grpcWeb.Metadata | null,
328
+ callback: (err: grpcWeb.Error,
329
+ response: SingleConceptResponse) => void) {
330
+ return this.client_.rpcCall(
331
+ this.hostname_ +
332
+ '/clarifai.api.V2/GetConcept',
333
+ request,
334
+ metadata || {},
335
+ this.methodInfoGetConcept,
336
+ callback);
337
+ }
338
+
339
+ methodInfoListConcepts = new grpcWeb.AbstractClientBase.MethodInfo(
340
+ MultiConceptResponse,
341
+ (request: ListConceptsRequest) => {
342
+ return request.serializeBinary();
343
+ },
344
+ MultiConceptResponse.deserializeBinary
345
+ );
346
+
347
+ listConcepts(
348
+ request: ListConceptsRequest,
349
+ metadata: grpcWeb.Metadata | null,
350
+ callback: (err: grpcWeb.Error,
351
+ response: MultiConceptResponse) => void) {
352
+ return this.client_.rpcCall(
353
+ this.hostname_ +
354
+ '/clarifai.api.V2/ListConcepts',
355
+ request,
356
+ metadata || {},
357
+ this.methodInfoListConcepts,
358
+ callback);
359
+ }
360
+
361
+ methodInfoPostConceptsSearches = new grpcWeb.AbstractClientBase.MethodInfo(
362
+ MultiConceptResponse,
363
+ (request: PostConceptsSearchesRequest) => {
364
+ return request.serializeBinary();
365
+ },
366
+ MultiConceptResponse.deserializeBinary
367
+ );
368
+
369
+ postConceptsSearches(
370
+ request: PostConceptsSearchesRequest,
371
+ metadata: grpcWeb.Metadata | null,
372
+ callback: (err: grpcWeb.Error,
373
+ response: MultiConceptResponse) => void) {
374
+ return this.client_.rpcCall(
375
+ this.hostname_ +
376
+ '/clarifai.api.V2/PostConceptsSearches',
377
+ request,
378
+ metadata || {},
379
+ this.methodInfoPostConceptsSearches,
380
+ callback);
381
+ }
382
+
383
+ methodInfoPostConcepts = new grpcWeb.AbstractClientBase.MethodInfo(
384
+ MultiConceptResponse,
385
+ (request: PostConceptsRequest) => {
386
+ return request.serializeBinary();
387
+ },
388
+ MultiConceptResponse.deserializeBinary
389
+ );
390
+
391
+ postConcepts(
392
+ request: PostConceptsRequest,
393
+ metadata: grpcWeb.Metadata | null,
394
+ callback: (err: grpcWeb.Error,
395
+ response: MultiConceptResponse) => void) {
396
+ return this.client_.rpcCall(
397
+ this.hostname_ +
398
+ '/clarifai.api.V2/PostConcepts',
399
+ request,
400
+ metadata || {},
401
+ this.methodInfoPostConcepts,
402
+ callback);
403
+ }
404
+
405
+ methodInfoPatchConcepts = new grpcWeb.AbstractClientBase.MethodInfo(
406
+ MultiConceptResponse,
407
+ (request: PatchConceptsRequest) => {
408
+ return request.serializeBinary();
409
+ },
410
+ MultiConceptResponse.deserializeBinary
411
+ );
412
+
413
+ patchConcepts(
414
+ request: PatchConceptsRequest,
415
+ metadata: grpcWeb.Metadata | null,
416
+ callback: (err: grpcWeb.Error,
417
+ response: MultiConceptResponse) => void) {
418
+ return this.client_.rpcCall(
419
+ this.hostname_ +
420
+ '/clarifai.api.V2/PatchConcepts',
421
+ request,
422
+ metadata || {},
423
+ this.methodInfoPatchConcepts,
424
+ callback);
425
+ }
426
+
427
+ methodInfoGetConceptLanguage = new grpcWeb.AbstractClientBase.MethodInfo(
428
+ SingleConceptLanguageResponse,
429
+ (request: GetConceptLanguageRequest) => {
430
+ return request.serializeBinary();
431
+ },
432
+ SingleConceptLanguageResponse.deserializeBinary
433
+ );
434
+
435
+ getConceptLanguage(
436
+ request: GetConceptLanguageRequest,
437
+ metadata: grpcWeb.Metadata | null,
438
+ callback: (err: grpcWeb.Error,
439
+ response: SingleConceptLanguageResponse) => void) {
440
+ return this.client_.rpcCall(
441
+ this.hostname_ +
442
+ '/clarifai.api.V2/GetConceptLanguage',
443
+ request,
444
+ metadata || {},
445
+ this.methodInfoGetConceptLanguage,
446
+ callback);
447
+ }
448
+
449
+ methodInfoListConceptLanguages = new grpcWeb.AbstractClientBase.MethodInfo(
450
+ MultiConceptLanguageResponse,
451
+ (request: ListConceptLanguagesRequest) => {
452
+ return request.serializeBinary();
453
+ },
454
+ MultiConceptLanguageResponse.deserializeBinary
455
+ );
456
+
457
+ listConceptLanguages(
458
+ request: ListConceptLanguagesRequest,
459
+ metadata: grpcWeb.Metadata | null,
460
+ callback: (err: grpcWeb.Error,
461
+ response: MultiConceptLanguageResponse) => void) {
462
+ return this.client_.rpcCall(
463
+ this.hostname_ +
464
+ '/clarifai.api.V2/ListConceptLanguages',
465
+ request,
466
+ metadata || {},
467
+ this.methodInfoListConceptLanguages,
468
+ callback);
469
+ }
470
+
471
+ methodInfoPostConceptLanguages = new grpcWeb.AbstractClientBase.MethodInfo(
472
+ MultiConceptLanguageResponse,
473
+ (request: PostConceptLanguagesRequest) => {
474
+ return request.serializeBinary();
475
+ },
476
+ MultiConceptLanguageResponse.deserializeBinary
477
+ );
478
+
479
+ postConceptLanguages(
480
+ request: PostConceptLanguagesRequest,
481
+ metadata: grpcWeb.Metadata | null,
482
+ callback: (err: grpcWeb.Error,
483
+ response: MultiConceptLanguageResponse) => void) {
484
+ return this.client_.rpcCall(
485
+ this.hostname_ +
486
+ '/clarifai.api.V2/PostConceptLanguages',
487
+ request,
488
+ metadata || {},
489
+ this.methodInfoPostConceptLanguages,
490
+ callback);
491
+ }
492
+
493
+ methodInfoPatchConceptLanguages = new grpcWeb.AbstractClientBase.MethodInfo(
494
+ MultiConceptLanguageResponse,
495
+ (request: PatchConceptLanguagesRequest) => {
496
+ return request.serializeBinary();
497
+ },
498
+ MultiConceptLanguageResponse.deserializeBinary
499
+ );
500
+
501
+ patchConceptLanguages(
502
+ request: PatchConceptLanguagesRequest,
503
+ metadata: grpcWeb.Metadata | null,
504
+ callback: (err: grpcWeb.Error,
505
+ response: MultiConceptLanguageResponse) => void) {
506
+ return this.client_.rpcCall(
507
+ this.hostname_ +
508
+ '/clarifai.api.V2/PatchConceptLanguages',
509
+ request,
510
+ metadata || {},
511
+ this.methodInfoPatchConceptLanguages,
512
+ callback);
513
+ }
514
+
515
+ methodInfoListKnowledgeGraphs = new grpcWeb.AbstractClientBase.MethodInfo(
516
+ MultiKnowledgeGraphResponse,
517
+ (request: ListKnowledgeGraphsRequest) => {
518
+ return request.serializeBinary();
519
+ },
520
+ MultiKnowledgeGraphResponse.deserializeBinary
521
+ );
522
+
523
+ listKnowledgeGraphs(
524
+ request: ListKnowledgeGraphsRequest,
525
+ metadata: grpcWeb.Metadata | null,
526
+ callback: (err: grpcWeb.Error,
527
+ response: MultiKnowledgeGraphResponse) => void) {
528
+ return this.client_.rpcCall(
529
+ this.hostname_ +
530
+ '/clarifai.api.V2/ListKnowledgeGraphs',
531
+ request,
532
+ metadata || {},
533
+ this.methodInfoListKnowledgeGraphs,
534
+ callback);
535
+ }
536
+
537
+ methodInfoPostKnowledgeGraphs = new grpcWeb.AbstractClientBase.MethodInfo(
538
+ MultiKnowledgeGraphResponse,
539
+ (request: PostKnowledgeGraphsRequest) => {
540
+ return request.serializeBinary();
541
+ },
542
+ MultiKnowledgeGraphResponse.deserializeBinary
543
+ );
544
+
545
+ postKnowledgeGraphs(
546
+ request: PostKnowledgeGraphsRequest,
547
+ metadata: grpcWeb.Metadata | null,
548
+ callback: (err: grpcWeb.Error,
549
+ response: MultiKnowledgeGraphResponse) => void) {
550
+ return this.client_.rpcCall(
551
+ this.hostname_ +
552
+ '/clarifai.api.V2/PostKnowledgeGraphs',
553
+ request,
554
+ metadata || {},
555
+ this.methodInfoPostKnowledgeGraphs,
556
+ callback);
557
+ }
558
+
559
+ methodInfoPostConceptMappingJobs = new grpcWeb.AbstractClientBase.MethodInfo(
560
+ MultiConceptMappingJobResponse,
561
+ (request: PostConceptMappingJobsRequest) => {
562
+ return request.serializeBinary();
563
+ },
564
+ MultiConceptMappingJobResponse.deserializeBinary
565
+ );
566
+
567
+ postConceptMappingJobs(
568
+ request: PostConceptMappingJobsRequest,
569
+ metadata: grpcWeb.Metadata | null,
570
+ callback: (err: grpcWeb.Error,
571
+ response: MultiConceptMappingJobResponse) => void) {
572
+ return this.client_.rpcCall(
573
+ this.hostname_ +
574
+ '/clarifai.api.V2/PostConceptMappingJobs',
575
+ request,
576
+ metadata || {},
577
+ this.methodInfoPostConceptMappingJobs,
578
+ callback);
579
+ }
580
+
581
+ methodInfoGetAnnotation = new grpcWeb.AbstractClientBase.MethodInfo(
582
+ SingleAnnotationResponse,
583
+ (request: GetAnnotationRequest) => {
584
+ return request.serializeBinary();
585
+ },
586
+ SingleAnnotationResponse.deserializeBinary
587
+ );
588
+
589
+ getAnnotation(
590
+ request: GetAnnotationRequest,
591
+ metadata: grpcWeb.Metadata | null,
592
+ callback: (err: grpcWeb.Error,
593
+ response: SingleAnnotationResponse) => void) {
594
+ return this.client_.rpcCall(
595
+ this.hostname_ +
596
+ '/clarifai.api.V2/GetAnnotation',
597
+ request,
598
+ metadata || {},
599
+ this.methodInfoGetAnnotation,
600
+ callback);
601
+ }
602
+
603
+ methodInfoListAnnotations = new grpcWeb.AbstractClientBase.MethodInfo(
604
+ MultiAnnotationResponse,
605
+ (request: ListAnnotationsRequest) => {
606
+ return request.serializeBinary();
607
+ },
608
+ MultiAnnotationResponse.deserializeBinary
609
+ );
610
+
611
+ listAnnotations(
612
+ request: ListAnnotationsRequest,
613
+ metadata: grpcWeb.Metadata | null,
614
+ callback: (err: grpcWeb.Error,
615
+ response: MultiAnnotationResponse) => void) {
616
+ return this.client_.rpcCall(
617
+ this.hostname_ +
618
+ '/clarifai.api.V2/ListAnnotations',
619
+ request,
620
+ metadata || {},
621
+ this.methodInfoListAnnotations,
622
+ callback);
623
+ }
624
+
625
+ methodInfoPostAnnotations = new grpcWeb.AbstractClientBase.MethodInfo(
626
+ MultiAnnotationResponse,
627
+ (request: PostAnnotationsRequest) => {
628
+ return request.serializeBinary();
629
+ },
630
+ MultiAnnotationResponse.deserializeBinary
631
+ );
632
+
633
+ postAnnotations(
634
+ request: PostAnnotationsRequest,
635
+ metadata: grpcWeb.Metadata | null,
636
+ callback: (err: grpcWeb.Error,
637
+ response: MultiAnnotationResponse) => void) {
638
+ return this.client_.rpcCall(
639
+ this.hostname_ +
640
+ '/clarifai.api.V2/PostAnnotations',
641
+ request,
642
+ metadata || {},
643
+ this.methodInfoPostAnnotations,
644
+ callback);
645
+ }
646
+
647
+ methodInfoPatchAnnotations = new grpcWeb.AbstractClientBase.MethodInfo(
648
+ MultiAnnotationResponse,
649
+ (request: PatchAnnotationsRequest) => {
650
+ return request.serializeBinary();
651
+ },
652
+ MultiAnnotationResponse.deserializeBinary
653
+ );
654
+
655
+ patchAnnotations(
656
+ request: PatchAnnotationsRequest,
657
+ metadata: grpcWeb.Metadata | null,
658
+ callback: (err: grpcWeb.Error,
659
+ response: MultiAnnotationResponse) => void) {
660
+ return this.client_.rpcCall(
661
+ this.hostname_ +
662
+ '/clarifai.api.V2/PatchAnnotations',
663
+ request,
664
+ metadata || {},
665
+ this.methodInfoPatchAnnotations,
666
+ callback);
667
+ }
668
+
669
+ methodInfoPatchAnnotationsStatus = new grpcWeb.AbstractClientBase.MethodInfo(
670
+ PatchAnnotationsStatusResponse,
671
+ (request: PatchAnnotationsStatusRequest) => {
672
+ return request.serializeBinary();
673
+ },
674
+ PatchAnnotationsStatusResponse.deserializeBinary
675
+ );
676
+
677
+ patchAnnotationsStatus(
678
+ request: PatchAnnotationsStatusRequest,
679
+ metadata: grpcWeb.Metadata | null,
680
+ callback: (err: grpcWeb.Error,
681
+ response: PatchAnnotationsStatusResponse) => void) {
682
+ return this.client_.rpcCall(
683
+ this.hostname_ +
684
+ '/clarifai.api.V2/PatchAnnotationsStatus',
685
+ request,
686
+ metadata || {},
687
+ this.methodInfoPatchAnnotationsStatus,
688
+ callback);
689
+ }
690
+
691
+ methodInfoDeleteAnnotation = new grpcWeb.AbstractClientBase.MethodInfo(
692
+ proto_clarifai_api_status_status_pb.BaseResponse,
693
+ (request: DeleteAnnotationRequest) => {
694
+ return request.serializeBinary();
695
+ },
696
+ proto_clarifai_api_status_status_pb.BaseResponse.deserializeBinary
697
+ );
698
+
699
+ deleteAnnotation(
700
+ request: DeleteAnnotationRequest,
701
+ metadata: grpcWeb.Metadata | null,
702
+ callback: (err: grpcWeb.Error,
703
+ response: proto_clarifai_api_status_status_pb.BaseResponse) => void) {
704
+ return this.client_.rpcCall(
705
+ this.hostname_ +
706
+ '/clarifai.api.V2/DeleteAnnotation',
707
+ request,
708
+ metadata || {},
709
+ this.methodInfoDeleteAnnotation,
710
+ callback);
711
+ }
712
+
713
+ methodInfoDeleteAnnotations = new grpcWeb.AbstractClientBase.MethodInfo(
714
+ proto_clarifai_api_status_status_pb.BaseResponse,
715
+ (request: DeleteAnnotationsRequest) => {
716
+ return request.serializeBinary();
717
+ },
718
+ proto_clarifai_api_status_status_pb.BaseResponse.deserializeBinary
719
+ );
720
+
721
+ deleteAnnotations(
722
+ request: DeleteAnnotationsRequest,
723
+ metadata: grpcWeb.Metadata | null,
724
+ callback: (err: grpcWeb.Error,
725
+ response: proto_clarifai_api_status_status_pb.BaseResponse) => void) {
726
+ return this.client_.rpcCall(
727
+ this.hostname_ +
728
+ '/clarifai.api.V2/DeleteAnnotations',
729
+ request,
730
+ metadata || {},
731
+ this.methodInfoDeleteAnnotations,
732
+ callback);
733
+ }
734
+
735
+ methodInfoPostAnnotationsSearches = new grpcWeb.AbstractClientBase.MethodInfo(
736
+ MultiSearchResponse,
737
+ (request: PostAnnotationsSearchesRequest) => {
738
+ return request.serializeBinary();
739
+ },
740
+ MultiSearchResponse.deserializeBinary
741
+ );
742
+
743
+ postAnnotationsSearches(
744
+ request: PostAnnotationsSearchesRequest,
745
+ metadata: grpcWeb.Metadata | null,
746
+ callback: (err: grpcWeb.Error,
747
+ response: MultiSearchResponse) => void) {
748
+ return this.client_.rpcCall(
749
+ this.hostname_ +
750
+ '/clarifai.api.V2/PostAnnotationsSearches',
751
+ request,
752
+ metadata || {},
753
+ this.methodInfoPostAnnotationsSearches,
754
+ callback);
755
+ }
756
+
757
+ methodInfoGetInputCount = new grpcWeb.AbstractClientBase.MethodInfo(
758
+ SingleInputCountResponse,
759
+ (request: GetInputCountRequest) => {
760
+ return request.serializeBinary();
761
+ },
762
+ SingleInputCountResponse.deserializeBinary
763
+ );
764
+
765
+ getInputCount(
766
+ request: GetInputCountRequest,
767
+ metadata: grpcWeb.Metadata | null,
768
+ callback: (err: grpcWeb.Error,
769
+ response: SingleInputCountResponse) => void) {
770
+ return this.client_.rpcCall(
771
+ this.hostname_ +
772
+ '/clarifai.api.V2/GetInputCount',
773
+ request,
774
+ metadata || {},
775
+ this.methodInfoGetInputCount,
776
+ callback);
777
+ }
778
+
779
+ methodInfoStreamInputs = new grpcWeb.AbstractClientBase.MethodInfo(
780
+ MultiInputResponse,
781
+ (request: StreamInputsRequest) => {
782
+ return request.serializeBinary();
783
+ },
784
+ MultiInputResponse.deserializeBinary
785
+ );
786
+
787
+ streamInputs(
788
+ request: StreamInputsRequest,
789
+ metadata: grpcWeb.Metadata | null,
790
+ callback: (err: grpcWeb.Error,
791
+ response: MultiInputResponse) => void) {
792
+ return this.client_.rpcCall(
793
+ this.hostname_ +
794
+ '/clarifai.api.V2/StreamInputs',
795
+ request,
796
+ metadata || {},
797
+ this.methodInfoStreamInputs,
798
+ callback);
799
+ }
800
+
801
+ methodInfoGetInputSamples = new grpcWeb.AbstractClientBase.MethodInfo(
802
+ MultiInputAnnotationResponse,
803
+ (request: GetInputSamplesRequest) => {
804
+ return request.serializeBinary();
805
+ },
806
+ MultiInputAnnotationResponse.deserializeBinary
807
+ );
808
+
809
+ getInputSamples(
810
+ request: GetInputSamplesRequest,
811
+ metadata: grpcWeb.Metadata | null,
812
+ callback: (err: grpcWeb.Error,
813
+ response: MultiInputAnnotationResponse) => void) {
814
+ return this.client_.rpcCall(
815
+ this.hostname_ +
816
+ '/clarifai.api.V2/GetInputSamples',
817
+ request,
818
+ metadata || {},
819
+ this.methodInfoGetInputSamples,
820
+ callback);
821
+ }
822
+
823
+ methodInfoGetInput = new grpcWeb.AbstractClientBase.MethodInfo(
824
+ SingleInputResponse,
825
+ (request: GetInputRequest) => {
826
+ return request.serializeBinary();
827
+ },
828
+ SingleInputResponse.deserializeBinary
829
+ );
830
+
831
+ getInput(
832
+ request: GetInputRequest,
833
+ metadata: grpcWeb.Metadata | null,
834
+ callback: (err: grpcWeb.Error,
835
+ response: SingleInputResponse) => void) {
836
+ return this.client_.rpcCall(
837
+ this.hostname_ +
838
+ '/clarifai.api.V2/GetInput',
839
+ request,
840
+ metadata || {},
841
+ this.methodInfoGetInput,
842
+ callback);
843
+ }
844
+
845
+ methodInfoListInputs = new grpcWeb.AbstractClientBase.MethodInfo(
846
+ MultiInputResponse,
847
+ (request: ListInputsRequest) => {
848
+ return request.serializeBinary();
849
+ },
850
+ MultiInputResponse.deserializeBinary
851
+ );
852
+
853
+ listInputs(
854
+ request: ListInputsRequest,
855
+ metadata: grpcWeb.Metadata | null,
856
+ callback: (err: grpcWeb.Error,
857
+ response: MultiInputResponse) => void) {
858
+ return this.client_.rpcCall(
859
+ this.hostname_ +
860
+ '/clarifai.api.V2/ListInputs',
861
+ request,
862
+ metadata || {},
863
+ this.methodInfoListInputs,
864
+ callback);
865
+ }
866
+
867
+ methodInfoPostInputs = new grpcWeb.AbstractClientBase.MethodInfo(
868
+ MultiInputResponse,
869
+ (request: PostInputsRequest) => {
870
+ return request.serializeBinary();
871
+ },
872
+ MultiInputResponse.deserializeBinary
873
+ );
874
+
875
+ postInputs(
876
+ request: PostInputsRequest,
877
+ metadata: grpcWeb.Metadata | null,
878
+ callback: (err: grpcWeb.Error,
879
+ response: MultiInputResponse) => void) {
880
+ return this.client_.rpcCall(
881
+ this.hostname_ +
882
+ '/clarifai.api.V2/PostInputs',
883
+ request,
884
+ metadata || {},
885
+ this.methodInfoPostInputs,
886
+ callback);
887
+ }
888
+
889
+ methodInfoPatchInputs = new grpcWeb.AbstractClientBase.MethodInfo(
890
+ MultiInputResponse,
891
+ (request: PatchInputsRequest) => {
892
+ return request.serializeBinary();
893
+ },
894
+ MultiInputResponse.deserializeBinary
895
+ );
896
+
897
+ patchInputs(
898
+ request: PatchInputsRequest,
899
+ metadata: grpcWeb.Metadata | null,
900
+ callback: (err: grpcWeb.Error,
901
+ response: MultiInputResponse) => void) {
902
+ return this.client_.rpcCall(
903
+ this.hostname_ +
904
+ '/clarifai.api.V2/PatchInputs',
905
+ request,
906
+ metadata || {},
907
+ this.methodInfoPatchInputs,
908
+ callback);
909
+ }
910
+
911
+ methodInfoDeleteInput = new grpcWeb.AbstractClientBase.MethodInfo(
912
+ proto_clarifai_api_status_status_pb.BaseResponse,
913
+ (request: DeleteInputRequest) => {
914
+ return request.serializeBinary();
915
+ },
916
+ proto_clarifai_api_status_status_pb.BaseResponse.deserializeBinary
917
+ );
918
+
919
+ deleteInput(
920
+ request: DeleteInputRequest,
921
+ metadata: grpcWeb.Metadata | null,
922
+ callback: (err: grpcWeb.Error,
923
+ response: proto_clarifai_api_status_status_pb.BaseResponse) => void) {
924
+ return this.client_.rpcCall(
925
+ this.hostname_ +
926
+ '/clarifai.api.V2/DeleteInput',
927
+ request,
928
+ metadata || {},
929
+ this.methodInfoDeleteInput,
930
+ callback);
931
+ }
932
+
933
+ methodInfoDeleteInputs = new grpcWeb.AbstractClientBase.MethodInfo(
934
+ proto_clarifai_api_status_status_pb.BaseResponse,
935
+ (request: DeleteInputsRequest) => {
936
+ return request.serializeBinary();
937
+ },
938
+ proto_clarifai_api_status_status_pb.BaseResponse.deserializeBinary
939
+ );
940
+
941
+ deleteInputs(
942
+ request: DeleteInputsRequest,
943
+ metadata: grpcWeb.Metadata | null,
944
+ callback: (err: grpcWeb.Error,
945
+ response: proto_clarifai_api_status_status_pb.BaseResponse) => void) {
946
+ return this.client_.rpcCall(
947
+ this.hostname_ +
948
+ '/clarifai.api.V2/DeleteInputs',
949
+ request,
950
+ metadata || {},
951
+ this.methodInfoDeleteInputs,
952
+ callback);
953
+ }
954
+
955
+ methodInfoPostInputsSearches = new grpcWeb.AbstractClientBase.MethodInfo(
956
+ MultiSearchResponse,
957
+ (request: PostInputsSearchesRequest) => {
958
+ return request.serializeBinary();
959
+ },
960
+ MultiSearchResponse.deserializeBinary
961
+ );
962
+
963
+ postInputsSearches(
964
+ request: PostInputsSearchesRequest,
965
+ metadata: grpcWeb.Metadata | null,
966
+ callback: (err: grpcWeb.Error,
967
+ response: MultiSearchResponse) => void) {
968
+ return this.client_.rpcCall(
969
+ this.hostname_ +
970
+ '/clarifai.api.V2/PostInputsSearches',
971
+ request,
972
+ metadata || {},
973
+ this.methodInfoPostInputsSearches,
974
+ callback);
975
+ }
976
+
977
+ methodInfoPostModelOutputs = new grpcWeb.AbstractClientBase.MethodInfo(
978
+ MultiOutputResponse,
979
+ (request: PostModelOutputsRequest) => {
980
+ return request.serializeBinary();
981
+ },
982
+ MultiOutputResponse.deserializeBinary
983
+ );
984
+
985
+ postModelOutputs(
986
+ request: PostModelOutputsRequest,
987
+ metadata: grpcWeb.Metadata | null,
988
+ callback: (err: grpcWeb.Error,
989
+ response: MultiOutputResponse) => void) {
990
+ return this.client_.rpcCall(
991
+ this.hostname_ +
992
+ '/clarifai.api.V2/PostModelOutputs',
993
+ request,
994
+ metadata || {},
995
+ this.methodInfoPostModelOutputs,
996
+ callback);
997
+ }
998
+
999
+ methodInfoGetModelType = new grpcWeb.AbstractClientBase.MethodInfo(
1000
+ SingleModelTypeResponse,
1001
+ (request: GetModelTypeRequest) => {
1002
+ return request.serializeBinary();
1003
+ },
1004
+ SingleModelTypeResponse.deserializeBinary
1005
+ );
1006
+
1007
+ getModelType(
1008
+ request: GetModelTypeRequest,
1009
+ metadata: grpcWeb.Metadata | null,
1010
+ callback: (err: grpcWeb.Error,
1011
+ response: SingleModelTypeResponse) => void) {
1012
+ return this.client_.rpcCall(
1013
+ this.hostname_ +
1014
+ '/clarifai.api.V2/GetModelType',
1015
+ request,
1016
+ metadata || {},
1017
+ this.methodInfoGetModelType,
1018
+ callback);
1019
+ }
1020
+
1021
+ methodInfoListOpenSourceLicenses = new grpcWeb.AbstractClientBase.MethodInfo(
1022
+ ListOpenSourceLicensesResponse,
1023
+ (request: ListOpenSourceLicensesRequest) => {
1024
+ return request.serializeBinary();
1025
+ },
1026
+ ListOpenSourceLicensesResponse.deserializeBinary
1027
+ );
1028
+
1029
+ listOpenSourceLicenses(
1030
+ request: ListOpenSourceLicensesRequest,
1031
+ metadata: grpcWeb.Metadata | null,
1032
+ callback: (err: grpcWeb.Error,
1033
+ response: ListOpenSourceLicensesResponse) => void) {
1034
+ return this.client_.rpcCall(
1035
+ this.hostname_ +
1036
+ '/clarifai.api.V2/ListOpenSourceLicenses',
1037
+ request,
1038
+ metadata || {},
1039
+ this.methodInfoListOpenSourceLicenses,
1040
+ callback);
1041
+ }
1042
+
1043
+ methodInfoListModelTypes = new grpcWeb.AbstractClientBase.MethodInfo(
1044
+ MultiModelTypeResponse,
1045
+ (request: ListModelTypesRequest) => {
1046
+ return request.serializeBinary();
1047
+ },
1048
+ MultiModelTypeResponse.deserializeBinary
1049
+ );
1050
+
1051
+ listModelTypes(
1052
+ request: ListModelTypesRequest,
1053
+ metadata: grpcWeb.Metadata | null,
1054
+ callback: (err: grpcWeb.Error,
1055
+ response: MultiModelTypeResponse) => void) {
1056
+ return this.client_.rpcCall(
1057
+ this.hostname_ +
1058
+ '/clarifai.api.V2/ListModelTypes',
1059
+ request,
1060
+ metadata || {},
1061
+ this.methodInfoListModelTypes,
1062
+ callback);
1063
+ }
1064
+
1065
+ methodInfoGetModel = new grpcWeb.AbstractClientBase.MethodInfo(
1066
+ SingleModelResponse,
1067
+ (request: GetModelRequest) => {
1068
+ return request.serializeBinary();
1069
+ },
1070
+ SingleModelResponse.deserializeBinary
1071
+ );
1072
+
1073
+ getModel(
1074
+ request: GetModelRequest,
1075
+ metadata: grpcWeb.Metadata | null,
1076
+ callback: (err: grpcWeb.Error,
1077
+ response: SingleModelResponse) => void) {
1078
+ return this.client_.rpcCall(
1079
+ this.hostname_ +
1080
+ '/clarifai.api.V2/GetModel',
1081
+ request,
1082
+ metadata || {},
1083
+ this.methodInfoGetModel,
1084
+ callback);
1085
+ }
1086
+
1087
+ methodInfoGetModelOutputInfo = new grpcWeb.AbstractClientBase.MethodInfo(
1088
+ SingleModelResponse,
1089
+ (request: GetModelRequest) => {
1090
+ return request.serializeBinary();
1091
+ },
1092
+ SingleModelResponse.deserializeBinary
1093
+ );
1094
+
1095
+ getModelOutputInfo(
1096
+ request: GetModelRequest,
1097
+ metadata: grpcWeb.Metadata | null,
1098
+ callback: (err: grpcWeb.Error,
1099
+ response: SingleModelResponse) => void) {
1100
+ return this.client_.rpcCall(
1101
+ this.hostname_ +
1102
+ '/clarifai.api.V2/GetModelOutputInfo',
1103
+ request,
1104
+ metadata || {},
1105
+ this.methodInfoGetModelOutputInfo,
1106
+ callback);
1107
+ }
1108
+
1109
+ methodInfoListModels = new grpcWeb.AbstractClientBase.MethodInfo(
1110
+ MultiModelResponse,
1111
+ (request: ListModelsRequest) => {
1112
+ return request.serializeBinary();
1113
+ },
1114
+ MultiModelResponse.deserializeBinary
1115
+ );
1116
+
1117
+ listModels(
1118
+ request: ListModelsRequest,
1119
+ metadata: grpcWeb.Metadata | null,
1120
+ callback: (err: grpcWeb.Error,
1121
+ response: MultiModelResponse) => void) {
1122
+ return this.client_.rpcCall(
1123
+ this.hostname_ +
1124
+ '/clarifai.api.V2/ListModels',
1125
+ request,
1126
+ metadata || {},
1127
+ this.methodInfoListModels,
1128
+ callback);
1129
+ }
1130
+
1131
+ methodInfoPostModelsSearches = new grpcWeb.AbstractClientBase.MethodInfo(
1132
+ MultiModelResponse,
1133
+ (request: PostModelsSearchesRequest) => {
1134
+ return request.serializeBinary();
1135
+ },
1136
+ MultiModelResponse.deserializeBinary
1137
+ );
1138
+
1139
+ postModelsSearches(
1140
+ request: PostModelsSearchesRequest,
1141
+ metadata: grpcWeb.Metadata | null,
1142
+ callback: (err: grpcWeb.Error,
1143
+ response: MultiModelResponse) => void) {
1144
+ return this.client_.rpcCall(
1145
+ this.hostname_ +
1146
+ '/clarifai.api.V2/PostModelsSearches',
1147
+ request,
1148
+ metadata || {},
1149
+ this.methodInfoPostModelsSearches,
1150
+ callback);
1151
+ }
1152
+
1153
+ methodInfoPostModels = new grpcWeb.AbstractClientBase.MethodInfo(
1154
+ SingleModelResponse,
1155
+ (request: PostModelsRequest) => {
1156
+ return request.serializeBinary();
1157
+ },
1158
+ SingleModelResponse.deserializeBinary
1159
+ );
1160
+
1161
+ postModels(
1162
+ request: PostModelsRequest,
1163
+ metadata: grpcWeb.Metadata | null,
1164
+ callback: (err: grpcWeb.Error,
1165
+ response: SingleModelResponse) => void) {
1166
+ return this.client_.rpcCall(
1167
+ this.hostname_ +
1168
+ '/clarifai.api.V2/PostModels',
1169
+ request,
1170
+ metadata || {},
1171
+ this.methodInfoPostModels,
1172
+ callback);
1173
+ }
1174
+
1175
+ methodInfoPatchModels = new grpcWeb.AbstractClientBase.MethodInfo(
1176
+ MultiModelResponse,
1177
+ (request: PatchModelsRequest) => {
1178
+ return request.serializeBinary();
1179
+ },
1180
+ MultiModelResponse.deserializeBinary
1181
+ );
1182
+
1183
+ patchModels(
1184
+ request: PatchModelsRequest,
1185
+ metadata: grpcWeb.Metadata | null,
1186
+ callback: (err: grpcWeb.Error,
1187
+ response: MultiModelResponse) => void) {
1188
+ return this.client_.rpcCall(
1189
+ this.hostname_ +
1190
+ '/clarifai.api.V2/PatchModels',
1191
+ request,
1192
+ metadata || {},
1193
+ this.methodInfoPatchModels,
1194
+ callback);
1195
+ }
1196
+
1197
+ methodInfoDeleteModel = new grpcWeb.AbstractClientBase.MethodInfo(
1198
+ proto_clarifai_api_status_status_pb.BaseResponse,
1199
+ (request: DeleteModelRequest) => {
1200
+ return request.serializeBinary();
1201
+ },
1202
+ proto_clarifai_api_status_status_pb.BaseResponse.deserializeBinary
1203
+ );
1204
+
1205
+ deleteModel(
1206
+ request: DeleteModelRequest,
1207
+ metadata: grpcWeb.Metadata | null,
1208
+ callback: (err: grpcWeb.Error,
1209
+ response: proto_clarifai_api_status_status_pb.BaseResponse) => void) {
1210
+ return this.client_.rpcCall(
1211
+ this.hostname_ +
1212
+ '/clarifai.api.V2/DeleteModel',
1213
+ request,
1214
+ metadata || {},
1215
+ this.methodInfoDeleteModel,
1216
+ callback);
1217
+ }
1218
+
1219
+ methodInfoDeleteModels = new grpcWeb.AbstractClientBase.MethodInfo(
1220
+ proto_clarifai_api_status_status_pb.BaseResponse,
1221
+ (request: DeleteModelsRequest) => {
1222
+ return request.serializeBinary();
1223
+ },
1224
+ proto_clarifai_api_status_status_pb.BaseResponse.deserializeBinary
1225
+ );
1226
+
1227
+ deleteModels(
1228
+ request: DeleteModelsRequest,
1229
+ metadata: grpcWeb.Metadata | null,
1230
+ callback: (err: grpcWeb.Error,
1231
+ response: proto_clarifai_api_status_status_pb.BaseResponse) => void) {
1232
+ return this.client_.rpcCall(
1233
+ this.hostname_ +
1234
+ '/clarifai.api.V2/DeleteModels',
1235
+ request,
1236
+ metadata || {},
1237
+ this.methodInfoDeleteModels,
1238
+ callback);
1239
+ }
1240
+
1241
+ methodInfoPatchModelToolkits = new grpcWeb.AbstractClientBase.MethodInfo(
1242
+ MultiModelToolkitResponse,
1243
+ (request: PatchModelToolkitsRequest) => {
1244
+ return request.serializeBinary();
1245
+ },
1246
+ MultiModelToolkitResponse.deserializeBinary
1247
+ );
1248
+
1249
+ patchModelToolkits(
1250
+ request: PatchModelToolkitsRequest,
1251
+ metadata: grpcWeb.Metadata | null,
1252
+ callback: (err: grpcWeb.Error,
1253
+ response: MultiModelToolkitResponse) => void) {
1254
+ return this.client_.rpcCall(
1255
+ this.hostname_ +
1256
+ '/clarifai.api.V2/PatchModelToolkits',
1257
+ request,
1258
+ metadata || {},
1259
+ this.methodInfoPatchModelToolkits,
1260
+ callback);
1261
+ }
1262
+
1263
+ methodInfoPatchModelUseCases = new grpcWeb.AbstractClientBase.MethodInfo(
1264
+ MultiModelUseCaseResponse,
1265
+ (request: PatchModelUseCasesRequest) => {
1266
+ return request.serializeBinary();
1267
+ },
1268
+ MultiModelUseCaseResponse.deserializeBinary
1269
+ );
1270
+
1271
+ patchModelUseCases(
1272
+ request: PatchModelUseCasesRequest,
1273
+ metadata: grpcWeb.Metadata | null,
1274
+ callback: (err: grpcWeb.Error,
1275
+ response: MultiModelUseCaseResponse) => void) {
1276
+ return this.client_.rpcCall(
1277
+ this.hostname_ +
1278
+ '/clarifai.api.V2/PatchModelUseCases',
1279
+ request,
1280
+ metadata || {},
1281
+ this.methodInfoPatchModelUseCases,
1282
+ callback);
1283
+ }
1284
+
1285
+ methodInfoPatchModelLanguages = new grpcWeb.AbstractClientBase.MethodInfo(
1286
+ MultiModelLanguageResponse,
1287
+ (request: PatchModelLanguagesRequest) => {
1288
+ return request.serializeBinary();
1289
+ },
1290
+ MultiModelLanguageResponse.deserializeBinary
1291
+ );
1292
+
1293
+ patchModelLanguages(
1294
+ request: PatchModelLanguagesRequest,
1295
+ metadata: grpcWeb.Metadata | null,
1296
+ callback: (err: grpcWeb.Error,
1297
+ response: MultiModelLanguageResponse) => void) {
1298
+ return this.client_.rpcCall(
1299
+ this.hostname_ +
1300
+ '/clarifai.api.V2/PatchModelLanguages',
1301
+ request,
1302
+ metadata || {},
1303
+ this.methodInfoPatchModelLanguages,
1304
+ callback);
1305
+ }
1306
+
1307
+ methodInfoListModelInputs = new grpcWeb.AbstractClientBase.MethodInfo(
1308
+ MultiInputResponse,
1309
+ (request: ListModelInputsRequest) => {
1310
+ return request.serializeBinary();
1311
+ },
1312
+ MultiInputResponse.deserializeBinary
1313
+ );
1314
+
1315
+ listModelInputs(
1316
+ request: ListModelInputsRequest,
1317
+ metadata: grpcWeb.Metadata | null,
1318
+ callback: (err: grpcWeb.Error,
1319
+ response: MultiInputResponse) => void) {
1320
+ return this.client_.rpcCall(
1321
+ this.hostname_ +
1322
+ '/clarifai.api.V2/ListModelInputs',
1323
+ request,
1324
+ metadata || {},
1325
+ this.methodInfoListModelInputs,
1326
+ callback);
1327
+ }
1328
+
1329
+ methodInfoGetModelVersion = new grpcWeb.AbstractClientBase.MethodInfo(
1330
+ SingleModelVersionResponse,
1331
+ (request: GetModelVersionRequest) => {
1332
+ return request.serializeBinary();
1333
+ },
1334
+ SingleModelVersionResponse.deserializeBinary
1335
+ );
1336
+
1337
+ getModelVersion(
1338
+ request: GetModelVersionRequest,
1339
+ metadata: grpcWeb.Metadata | null,
1340
+ callback: (err: grpcWeb.Error,
1341
+ response: SingleModelVersionResponse) => void) {
1342
+ return this.client_.rpcCall(
1343
+ this.hostname_ +
1344
+ '/clarifai.api.V2/GetModelVersion',
1345
+ request,
1346
+ metadata || {},
1347
+ this.methodInfoGetModelVersion,
1348
+ callback);
1349
+ }
1350
+
1351
+ methodInfoListModelVersions = new grpcWeb.AbstractClientBase.MethodInfo(
1352
+ MultiModelVersionResponse,
1353
+ (request: ListModelVersionsRequest) => {
1354
+ return request.serializeBinary();
1355
+ },
1356
+ MultiModelVersionResponse.deserializeBinary
1357
+ );
1358
+
1359
+ listModelVersions(
1360
+ request: ListModelVersionsRequest,
1361
+ metadata: grpcWeb.Metadata | null,
1362
+ callback: (err: grpcWeb.Error,
1363
+ response: MultiModelVersionResponse) => void) {
1364
+ return this.client_.rpcCall(
1365
+ this.hostname_ +
1366
+ '/clarifai.api.V2/ListModelVersions',
1367
+ request,
1368
+ metadata || {},
1369
+ this.methodInfoListModelVersions,
1370
+ callback);
1371
+ }
1372
+
1373
+ methodInfoPostModelVersionsPublish = new grpcWeb.AbstractClientBase.MethodInfo(
1374
+ proto_clarifai_api_status_status_pb.BaseResponse,
1375
+ (request: PostModelVersionsPublishRequest) => {
1376
+ return request.serializeBinary();
1377
+ },
1378
+ proto_clarifai_api_status_status_pb.BaseResponse.deserializeBinary
1379
+ );
1380
+
1381
+ postModelVersionsPublish(
1382
+ request: PostModelVersionsPublishRequest,
1383
+ metadata: grpcWeb.Metadata | null,
1384
+ callback: (err: grpcWeb.Error,
1385
+ response: proto_clarifai_api_status_status_pb.BaseResponse) => void) {
1386
+ return this.client_.rpcCall(
1387
+ this.hostname_ +
1388
+ '/clarifai.api.V2/PostModelVersionsPublish',
1389
+ request,
1390
+ metadata || {},
1391
+ this.methodInfoPostModelVersionsPublish,
1392
+ callback);
1393
+ }
1394
+
1395
+ methodInfoPostModelVersionsUnPublish = new grpcWeb.AbstractClientBase.MethodInfo(
1396
+ proto_clarifai_api_status_status_pb.BaseResponse,
1397
+ (request: PostModelVersionsUnPublishRequest) => {
1398
+ return request.serializeBinary();
1399
+ },
1400
+ proto_clarifai_api_status_status_pb.BaseResponse.deserializeBinary
1401
+ );
1402
+
1403
+ postModelVersionsUnPublish(
1404
+ request: PostModelVersionsUnPublishRequest,
1405
+ metadata: grpcWeb.Metadata | null,
1406
+ callback: (err: grpcWeb.Error,
1407
+ response: proto_clarifai_api_status_status_pb.BaseResponse) => void) {
1408
+ return this.client_.rpcCall(
1409
+ this.hostname_ +
1410
+ '/clarifai.api.V2/PostModelVersionsUnPublish',
1411
+ request,
1412
+ metadata || {},
1413
+ this.methodInfoPostModelVersionsUnPublish,
1414
+ callback);
1415
+ }
1416
+
1417
+ methodInfoPostModelVersions = new grpcWeb.AbstractClientBase.MethodInfo(
1418
+ SingleModelResponse,
1419
+ (request: PostModelVersionsRequest) => {
1420
+ return request.serializeBinary();
1421
+ },
1422
+ SingleModelResponse.deserializeBinary
1423
+ );
1424
+
1425
+ postModelVersions(
1426
+ request: PostModelVersionsRequest,
1427
+ metadata: grpcWeb.Metadata | null,
1428
+ callback: (err: grpcWeb.Error,
1429
+ response: SingleModelResponse) => void) {
1430
+ return this.client_.rpcCall(
1431
+ this.hostname_ +
1432
+ '/clarifai.api.V2/PostModelVersions',
1433
+ request,
1434
+ metadata || {},
1435
+ this.methodInfoPostModelVersions,
1436
+ callback);
1437
+ }
1438
+
1439
+ methodInfoPatchModelVersions = new grpcWeb.AbstractClientBase.MethodInfo(
1440
+ MultiModelVersionResponse,
1441
+ (request: PatchModelVersionsRequest) => {
1442
+ return request.serializeBinary();
1443
+ },
1444
+ MultiModelVersionResponse.deserializeBinary
1445
+ );
1446
+
1447
+ patchModelVersions(
1448
+ request: PatchModelVersionsRequest,
1449
+ metadata: grpcWeb.Metadata | null,
1450
+ callback: (err: grpcWeb.Error,
1451
+ response: MultiModelVersionResponse) => void) {
1452
+ return this.client_.rpcCall(
1453
+ this.hostname_ +
1454
+ '/clarifai.api.V2/PatchModelVersions',
1455
+ request,
1456
+ metadata || {},
1457
+ this.methodInfoPatchModelVersions,
1458
+ callback);
1459
+ }
1460
+
1461
+ methodInfoDeleteModelVersion = new grpcWeb.AbstractClientBase.MethodInfo(
1462
+ proto_clarifai_api_status_status_pb.BaseResponse,
1463
+ (request: DeleteModelVersionRequest) => {
1464
+ return request.serializeBinary();
1465
+ },
1466
+ proto_clarifai_api_status_status_pb.BaseResponse.deserializeBinary
1467
+ );
1468
+
1469
+ deleteModelVersion(
1470
+ request: DeleteModelVersionRequest,
1471
+ metadata: grpcWeb.Metadata | null,
1472
+ callback: (err: grpcWeb.Error,
1473
+ response: proto_clarifai_api_status_status_pb.BaseResponse) => void) {
1474
+ return this.client_.rpcCall(
1475
+ this.hostname_ +
1476
+ '/clarifai.api.V2/DeleteModelVersion',
1477
+ request,
1478
+ metadata || {},
1479
+ this.methodInfoDeleteModelVersion,
1480
+ callback);
1481
+ }
1482
+
1483
+ methodInfoGetModelVersionMetrics = new grpcWeb.AbstractClientBase.MethodInfo(
1484
+ SingleModelVersionResponse,
1485
+ (request: GetModelVersionMetricsRequest) => {
1486
+ return request.serializeBinary();
1487
+ },
1488
+ SingleModelVersionResponse.deserializeBinary
1489
+ );
1490
+
1491
+ getModelVersionMetrics(
1492
+ request: GetModelVersionMetricsRequest,
1493
+ metadata: grpcWeb.Metadata | null,
1494
+ callback: (err: grpcWeb.Error,
1495
+ response: SingleModelVersionResponse) => void) {
1496
+ return this.client_.rpcCall(
1497
+ this.hostname_ +
1498
+ '/clarifai.api.V2/GetModelVersionMetrics',
1499
+ request,
1500
+ metadata || {},
1501
+ this.methodInfoGetModelVersionMetrics,
1502
+ callback);
1503
+ }
1504
+
1505
+ methodInfoPostModelVersionMetrics = new grpcWeb.AbstractClientBase.MethodInfo(
1506
+ SingleModelVersionResponse,
1507
+ (request: PostModelVersionMetricsRequest) => {
1508
+ return request.serializeBinary();
1509
+ },
1510
+ SingleModelVersionResponse.deserializeBinary
1511
+ );
1512
+
1513
+ postModelVersionMetrics(
1514
+ request: PostModelVersionMetricsRequest,
1515
+ metadata: grpcWeb.Metadata | null,
1516
+ callback: (err: grpcWeb.Error,
1517
+ response: SingleModelVersionResponse) => void) {
1518
+ return this.client_.rpcCall(
1519
+ this.hostname_ +
1520
+ '/clarifai.api.V2/PostModelVersionMetrics',
1521
+ request,
1522
+ metadata || {},
1523
+ this.methodInfoPostModelVersionMetrics,
1524
+ callback);
1525
+ }
1526
+
1527
+ methodInfoListModelReferences = new grpcWeb.AbstractClientBase.MethodInfo(
1528
+ MultiModelReferenceResponse,
1529
+ (request: ListModelReferencesRequest) => {
1530
+ return request.serializeBinary();
1531
+ },
1532
+ MultiModelReferenceResponse.deserializeBinary
1533
+ );
1534
+
1535
+ listModelReferences(
1536
+ request: ListModelReferencesRequest,
1537
+ metadata: grpcWeb.Metadata | null,
1538
+ callback: (err: grpcWeb.Error,
1539
+ response: MultiModelReferenceResponse) => void) {
1540
+ return this.client_.rpcCall(
1541
+ this.hostname_ +
1542
+ '/clarifai.api.V2/ListModelReferences',
1543
+ request,
1544
+ metadata || {},
1545
+ this.methodInfoListModelReferences,
1546
+ callback);
1547
+ }
1548
+
1549
+ methodInfoGetModelVersionInputExample = new grpcWeb.AbstractClientBase.MethodInfo(
1550
+ SingleModelVersionInputExampleResponse,
1551
+ (request: GetModelVersionInputExampleRequest) => {
1552
+ return request.serializeBinary();
1553
+ },
1554
+ SingleModelVersionInputExampleResponse.deserializeBinary
1555
+ );
1556
+
1557
+ getModelVersionInputExample(
1558
+ request: GetModelVersionInputExampleRequest,
1559
+ metadata: grpcWeb.Metadata | null,
1560
+ callback: (err: grpcWeb.Error,
1561
+ response: SingleModelVersionInputExampleResponse) => void) {
1562
+ return this.client_.rpcCall(
1563
+ this.hostname_ +
1564
+ '/clarifai.api.V2/GetModelVersionInputExample',
1565
+ request,
1566
+ metadata || {},
1567
+ this.methodInfoGetModelVersionInputExample,
1568
+ callback);
1569
+ }
1570
+
1571
+ methodInfoListModelVersionInputExamples = new grpcWeb.AbstractClientBase.MethodInfo(
1572
+ MultiModelVersionInputExampleResponse,
1573
+ (request: ListModelVersionInputExamplesRequest) => {
1574
+ return request.serializeBinary();
1575
+ },
1576
+ MultiModelVersionInputExampleResponse.deserializeBinary
1577
+ );
1578
+
1579
+ listModelVersionInputExamples(
1580
+ request: ListModelVersionInputExamplesRequest,
1581
+ metadata: grpcWeb.Metadata | null,
1582
+ callback: (err: grpcWeb.Error,
1583
+ response: MultiModelVersionInputExampleResponse) => void) {
1584
+ return this.client_.rpcCall(
1585
+ this.hostname_ +
1586
+ '/clarifai.api.V2/ListModelVersionInputExamples',
1587
+ request,
1588
+ metadata || {},
1589
+ this.methodInfoListModelVersionInputExamples,
1590
+ callback);
1591
+ }
1592
+
1593
+ methodInfoGetWorkflow = new grpcWeb.AbstractClientBase.MethodInfo(
1594
+ SingleWorkflowResponse,
1595
+ (request: GetWorkflowRequest) => {
1596
+ return request.serializeBinary();
1597
+ },
1598
+ SingleWorkflowResponse.deserializeBinary
1599
+ );
1600
+
1601
+ getWorkflow(
1602
+ request: GetWorkflowRequest,
1603
+ metadata: grpcWeb.Metadata | null,
1604
+ callback: (err: grpcWeb.Error,
1605
+ response: SingleWorkflowResponse) => void) {
1606
+ return this.client_.rpcCall(
1607
+ this.hostname_ +
1608
+ '/clarifai.api.V2/GetWorkflow',
1609
+ request,
1610
+ metadata || {},
1611
+ this.methodInfoGetWorkflow,
1612
+ callback);
1613
+ }
1614
+
1615
+ methodInfoListWorkflows = new grpcWeb.AbstractClientBase.MethodInfo(
1616
+ MultiWorkflowResponse,
1617
+ (request: ListWorkflowsRequest) => {
1618
+ return request.serializeBinary();
1619
+ },
1620
+ MultiWorkflowResponse.deserializeBinary
1621
+ );
1622
+
1623
+ listWorkflows(
1624
+ request: ListWorkflowsRequest,
1625
+ metadata: grpcWeb.Metadata | null,
1626
+ callback: (err: grpcWeb.Error,
1627
+ response: MultiWorkflowResponse) => void) {
1628
+ return this.client_.rpcCall(
1629
+ this.hostname_ +
1630
+ '/clarifai.api.V2/ListWorkflows',
1631
+ request,
1632
+ metadata || {},
1633
+ this.methodInfoListWorkflows,
1634
+ callback);
1635
+ }
1636
+
1637
+ methodInfoPostWorkflows = new grpcWeb.AbstractClientBase.MethodInfo(
1638
+ MultiWorkflowResponse,
1639
+ (request: PostWorkflowsRequest) => {
1640
+ return request.serializeBinary();
1641
+ },
1642
+ MultiWorkflowResponse.deserializeBinary
1643
+ );
1644
+
1645
+ postWorkflows(
1646
+ request: PostWorkflowsRequest,
1647
+ metadata: grpcWeb.Metadata | null,
1648
+ callback: (err: grpcWeb.Error,
1649
+ response: MultiWorkflowResponse) => void) {
1650
+ return this.client_.rpcCall(
1651
+ this.hostname_ +
1652
+ '/clarifai.api.V2/PostWorkflows',
1653
+ request,
1654
+ metadata || {},
1655
+ this.methodInfoPostWorkflows,
1656
+ callback);
1657
+ }
1658
+
1659
+ methodInfoPatchWorkflows = new grpcWeb.AbstractClientBase.MethodInfo(
1660
+ MultiWorkflowResponse,
1661
+ (request: PatchWorkflowsRequest) => {
1662
+ return request.serializeBinary();
1663
+ },
1664
+ MultiWorkflowResponse.deserializeBinary
1665
+ );
1666
+
1667
+ patchWorkflows(
1668
+ request: PatchWorkflowsRequest,
1669
+ metadata: grpcWeb.Metadata | null,
1670
+ callback: (err: grpcWeb.Error,
1671
+ response: MultiWorkflowResponse) => void) {
1672
+ return this.client_.rpcCall(
1673
+ this.hostname_ +
1674
+ '/clarifai.api.V2/PatchWorkflows',
1675
+ request,
1676
+ metadata || {},
1677
+ this.methodInfoPatchWorkflows,
1678
+ callback);
1679
+ }
1680
+
1681
+ methodInfoDeleteWorkflow = new grpcWeb.AbstractClientBase.MethodInfo(
1682
+ proto_clarifai_api_status_status_pb.BaseResponse,
1683
+ (request: DeleteWorkflowRequest) => {
1684
+ return request.serializeBinary();
1685
+ },
1686
+ proto_clarifai_api_status_status_pb.BaseResponse.deserializeBinary
1687
+ );
1688
+
1689
+ deleteWorkflow(
1690
+ request: DeleteWorkflowRequest,
1691
+ metadata: grpcWeb.Metadata | null,
1692
+ callback: (err: grpcWeb.Error,
1693
+ response: proto_clarifai_api_status_status_pb.BaseResponse) => void) {
1694
+ return this.client_.rpcCall(
1695
+ this.hostname_ +
1696
+ '/clarifai.api.V2/DeleteWorkflow',
1697
+ request,
1698
+ metadata || {},
1699
+ this.methodInfoDeleteWorkflow,
1700
+ callback);
1701
+ }
1702
+
1703
+ methodInfoDeleteWorkflows = new grpcWeb.AbstractClientBase.MethodInfo(
1704
+ proto_clarifai_api_status_status_pb.BaseResponse,
1705
+ (request: DeleteWorkflowsRequest) => {
1706
+ return request.serializeBinary();
1707
+ },
1708
+ proto_clarifai_api_status_status_pb.BaseResponse.deserializeBinary
1709
+ );
1710
+
1711
+ deleteWorkflows(
1712
+ request: DeleteWorkflowsRequest,
1713
+ metadata: grpcWeb.Metadata | null,
1714
+ callback: (err: grpcWeb.Error,
1715
+ response: proto_clarifai_api_status_status_pb.BaseResponse) => void) {
1716
+ return this.client_.rpcCall(
1717
+ this.hostname_ +
1718
+ '/clarifai.api.V2/DeleteWorkflows',
1719
+ request,
1720
+ metadata || {},
1721
+ this.methodInfoDeleteWorkflows,
1722
+ callback);
1723
+ }
1724
+
1725
+ methodInfoPostWorkflowResults = new grpcWeb.AbstractClientBase.MethodInfo(
1726
+ PostWorkflowResultsResponse,
1727
+ (request: PostWorkflowResultsRequest) => {
1728
+ return request.serializeBinary();
1729
+ },
1730
+ PostWorkflowResultsResponse.deserializeBinary
1731
+ );
1732
+
1733
+ postWorkflowResults(
1734
+ request: PostWorkflowResultsRequest,
1735
+ metadata: grpcWeb.Metadata | null,
1736
+ callback: (err: grpcWeb.Error,
1737
+ response: PostWorkflowResultsResponse) => void) {
1738
+ return this.client_.rpcCall(
1739
+ this.hostname_ +
1740
+ '/clarifai.api.V2/PostWorkflowResults',
1741
+ request,
1742
+ metadata || {},
1743
+ this.methodInfoPostWorkflowResults,
1744
+ callback);
1745
+ }
1746
+
1747
+ methodInfoPostWorkflowResultsSimilarity = new grpcWeb.AbstractClientBase.MethodInfo(
1748
+ PostWorkflowResultsSimilarityResponse,
1749
+ (request: PostWorkflowResultsSimilarityRequest) => {
1750
+ return request.serializeBinary();
1751
+ },
1752
+ PostWorkflowResultsSimilarityResponse.deserializeBinary
1753
+ );
1754
+
1755
+ postWorkflowResultsSimilarity(
1756
+ request: PostWorkflowResultsSimilarityRequest,
1757
+ metadata: grpcWeb.Metadata | null,
1758
+ callback: (err: grpcWeb.Error,
1759
+ response: PostWorkflowResultsSimilarityResponse) => void) {
1760
+ return this.client_.rpcCall(
1761
+ this.hostname_ +
1762
+ '/clarifai.api.V2/PostWorkflowResultsSimilarity',
1763
+ request,
1764
+ metadata || {},
1765
+ this.methodInfoPostWorkflowResultsSimilarity,
1766
+ callback);
1767
+ }
1768
+
1769
+ methodInfoListWorkflowVersions = new grpcWeb.AbstractClientBase.MethodInfo(
1770
+ MultiWorkflowVersionResponse,
1771
+ (request: ListWorkflowVersionsRequest) => {
1772
+ return request.serializeBinary();
1773
+ },
1774
+ MultiWorkflowVersionResponse.deserializeBinary
1775
+ );
1776
+
1777
+ listWorkflowVersions(
1778
+ request: ListWorkflowVersionsRequest,
1779
+ metadata: grpcWeb.Metadata | null,
1780
+ callback: (err: grpcWeb.Error,
1781
+ response: MultiWorkflowVersionResponse) => void) {
1782
+ return this.client_.rpcCall(
1783
+ this.hostname_ +
1784
+ '/clarifai.api.V2/ListWorkflowVersions',
1785
+ request,
1786
+ metadata || {},
1787
+ this.methodInfoListWorkflowVersions,
1788
+ callback);
1789
+ }
1790
+
1791
+ methodInfoGetWorkflowVersion = new grpcWeb.AbstractClientBase.MethodInfo(
1792
+ SingleWorkflowVersionResponse,
1793
+ (request: GetWorkflowVersionRequest) => {
1794
+ return request.serializeBinary();
1795
+ },
1796
+ SingleWorkflowVersionResponse.deserializeBinary
1797
+ );
1798
+
1799
+ getWorkflowVersion(
1800
+ request: GetWorkflowVersionRequest,
1801
+ metadata: grpcWeb.Metadata | null,
1802
+ callback: (err: grpcWeb.Error,
1803
+ response: SingleWorkflowVersionResponse) => void) {
1804
+ return this.client_.rpcCall(
1805
+ this.hostname_ +
1806
+ '/clarifai.api.V2/GetWorkflowVersion',
1807
+ request,
1808
+ metadata || {},
1809
+ this.methodInfoGetWorkflowVersion,
1810
+ callback);
1811
+ }
1812
+
1813
+ methodInfoDeleteWorkflowVersions = new grpcWeb.AbstractClientBase.MethodInfo(
1814
+ proto_clarifai_api_status_status_pb.BaseResponse,
1815
+ (request: DeleteWorkflowVersionsRequest) => {
1816
+ return request.serializeBinary();
1817
+ },
1818
+ proto_clarifai_api_status_status_pb.BaseResponse.deserializeBinary
1819
+ );
1820
+
1821
+ deleteWorkflowVersions(
1822
+ request: DeleteWorkflowVersionsRequest,
1823
+ metadata: grpcWeb.Metadata | null,
1824
+ callback: (err: grpcWeb.Error,
1825
+ response: proto_clarifai_api_status_status_pb.BaseResponse) => void) {
1826
+ return this.client_.rpcCall(
1827
+ this.hostname_ +
1828
+ '/clarifai.api.V2/DeleteWorkflowVersions',
1829
+ request,
1830
+ metadata || {},
1831
+ this.methodInfoDeleteWorkflowVersions,
1832
+ callback);
1833
+ }
1834
+
1835
+ methodInfoPatchWorkflowVersions = new grpcWeb.AbstractClientBase.MethodInfo(
1836
+ MultiWorkflowVersionResponse,
1837
+ (request: PatchWorkflowVersionsRequest) => {
1838
+ return request.serializeBinary();
1839
+ },
1840
+ MultiWorkflowVersionResponse.deserializeBinary
1841
+ );
1842
+
1843
+ patchWorkflowVersions(
1844
+ request: PatchWorkflowVersionsRequest,
1845
+ metadata: grpcWeb.Metadata | null,
1846
+ callback: (err: grpcWeb.Error,
1847
+ response: MultiWorkflowVersionResponse) => void) {
1848
+ return this.client_.rpcCall(
1849
+ this.hostname_ +
1850
+ '/clarifai.api.V2/PatchWorkflowVersions',
1851
+ request,
1852
+ metadata || {},
1853
+ this.methodInfoPatchWorkflowVersions,
1854
+ callback);
1855
+ }
1856
+
1857
+ methodInfoGetKey = new grpcWeb.AbstractClientBase.MethodInfo(
1858
+ SingleKeyResponse,
1859
+ (request: GetKeyRequest) => {
1860
+ return request.serializeBinary();
1861
+ },
1862
+ SingleKeyResponse.deserializeBinary
1863
+ );
1864
+
1865
+ getKey(
1866
+ request: GetKeyRequest,
1867
+ metadata: grpcWeb.Metadata | null,
1868
+ callback: (err: grpcWeb.Error,
1869
+ response: SingleKeyResponse) => void) {
1870
+ return this.client_.rpcCall(
1871
+ this.hostname_ +
1872
+ '/clarifai.api.V2/GetKey',
1873
+ request,
1874
+ metadata || {},
1875
+ this.methodInfoGetKey,
1876
+ callback);
1877
+ }
1878
+
1879
+ methodInfoListKeys = new grpcWeb.AbstractClientBase.MethodInfo(
1880
+ MultiKeyResponse,
1881
+ (request: ListKeysRequest) => {
1882
+ return request.serializeBinary();
1883
+ },
1884
+ MultiKeyResponse.deserializeBinary
1885
+ );
1886
+
1887
+ listKeys(
1888
+ request: ListKeysRequest,
1889
+ metadata: grpcWeb.Metadata | null,
1890
+ callback: (err: grpcWeb.Error,
1891
+ response: MultiKeyResponse) => void) {
1892
+ return this.client_.rpcCall(
1893
+ this.hostname_ +
1894
+ '/clarifai.api.V2/ListKeys',
1895
+ request,
1896
+ metadata || {},
1897
+ this.methodInfoListKeys,
1898
+ callback);
1899
+ }
1900
+
1901
+ methodInfoListAppKeys = new grpcWeb.AbstractClientBase.MethodInfo(
1902
+ MultiKeyResponse,
1903
+ (request: ListAppKeysRequest) => {
1904
+ return request.serializeBinary();
1905
+ },
1906
+ MultiKeyResponse.deserializeBinary
1907
+ );
1908
+
1909
+ listAppKeys(
1910
+ request: ListAppKeysRequest,
1911
+ metadata: grpcWeb.Metadata | null,
1912
+ callback: (err: grpcWeb.Error,
1913
+ response: MultiKeyResponse) => void) {
1914
+ return this.client_.rpcCall(
1915
+ this.hostname_ +
1916
+ '/clarifai.api.V2/ListAppKeys',
1917
+ request,
1918
+ metadata || {},
1919
+ this.methodInfoListAppKeys,
1920
+ callback);
1921
+ }
1922
+
1923
+ methodInfoDeleteKey = new grpcWeb.AbstractClientBase.MethodInfo(
1924
+ proto_clarifai_api_status_status_pb.BaseResponse,
1925
+ (request: DeleteKeyRequest) => {
1926
+ return request.serializeBinary();
1927
+ },
1928
+ proto_clarifai_api_status_status_pb.BaseResponse.deserializeBinary
1929
+ );
1930
+
1931
+ deleteKey(
1932
+ request: DeleteKeyRequest,
1933
+ metadata: grpcWeb.Metadata | null,
1934
+ callback: (err: grpcWeb.Error,
1935
+ response: proto_clarifai_api_status_status_pb.BaseResponse) => void) {
1936
+ return this.client_.rpcCall(
1937
+ this.hostname_ +
1938
+ '/clarifai.api.V2/DeleteKey',
1939
+ request,
1940
+ metadata || {},
1941
+ this.methodInfoDeleteKey,
1942
+ callback);
1943
+ }
1944
+
1945
+ methodInfoPostKeys = new grpcWeb.AbstractClientBase.MethodInfo(
1946
+ MultiKeyResponse,
1947
+ (request: PostKeysRequest) => {
1948
+ return request.serializeBinary();
1949
+ },
1950
+ MultiKeyResponse.deserializeBinary
1951
+ );
1952
+
1953
+ postKeys(
1954
+ request: PostKeysRequest,
1955
+ metadata: grpcWeb.Metadata | null,
1956
+ callback: (err: grpcWeb.Error,
1957
+ response: MultiKeyResponse) => void) {
1958
+ return this.client_.rpcCall(
1959
+ this.hostname_ +
1960
+ '/clarifai.api.V2/PostKeys',
1961
+ request,
1962
+ metadata || {},
1963
+ this.methodInfoPostKeys,
1964
+ callback);
1965
+ }
1966
+
1967
+ methodInfoPatchKeys = new grpcWeb.AbstractClientBase.MethodInfo(
1968
+ MultiKeyResponse,
1969
+ (request: PatchKeysRequest) => {
1970
+ return request.serializeBinary();
1971
+ },
1972
+ MultiKeyResponse.deserializeBinary
1973
+ );
1974
+
1975
+ patchKeys(
1976
+ request: PatchKeysRequest,
1977
+ metadata: grpcWeb.Metadata | null,
1978
+ callback: (err: grpcWeb.Error,
1979
+ response: MultiKeyResponse) => void) {
1980
+ return this.client_.rpcCall(
1981
+ this.hostname_ +
1982
+ '/clarifai.api.V2/PatchKeys',
1983
+ request,
1984
+ metadata || {},
1985
+ this.methodInfoPatchKeys,
1986
+ callback);
1987
+ }
1988
+
1989
+ methodInfoMyScopes = new grpcWeb.AbstractClientBase.MethodInfo(
1990
+ MultiScopeResponse,
1991
+ (request: MyScopesRequest) => {
1992
+ return request.serializeBinary();
1993
+ },
1994
+ MultiScopeResponse.deserializeBinary
1995
+ );
1996
+
1997
+ myScopes(
1998
+ request: MyScopesRequest,
1999
+ metadata: grpcWeb.Metadata | null,
2000
+ callback: (err: grpcWeb.Error,
2001
+ response: MultiScopeResponse) => void) {
2002
+ return this.client_.rpcCall(
2003
+ this.hostname_ +
2004
+ '/clarifai.api.V2/MyScopes',
2005
+ request,
2006
+ metadata || {},
2007
+ this.methodInfoMyScopes,
2008
+ callback);
2009
+ }
2010
+
2011
+ methodInfoMyScopesUser = new grpcWeb.AbstractClientBase.MethodInfo(
2012
+ MultiScopeUserResponse,
2013
+ (request: MyScopesUserRequest) => {
2014
+ return request.serializeBinary();
2015
+ },
2016
+ MultiScopeUserResponse.deserializeBinary
2017
+ );
2018
+
2019
+ myScopesUser(
2020
+ request: MyScopesUserRequest,
2021
+ metadata: grpcWeb.Metadata | null,
2022
+ callback: (err: grpcWeb.Error,
2023
+ response: MultiScopeUserResponse) => void) {
2024
+ return this.client_.rpcCall(
2025
+ this.hostname_ +
2026
+ '/clarifai.api.V2/MyScopesUser',
2027
+ request,
2028
+ metadata || {},
2029
+ this.methodInfoMyScopesUser,
2030
+ callback);
2031
+ }
2032
+
2033
+ methodInfoMyScopesRoot = new grpcWeb.AbstractClientBase.MethodInfo(
2034
+ MultiScopeRootResponse,
2035
+ (request: MyScopesRootRequest) => {
2036
+ return request.serializeBinary();
2037
+ },
2038
+ MultiScopeRootResponse.deserializeBinary
2039
+ );
2040
+
2041
+ myScopesRoot(
2042
+ request: MyScopesRootRequest,
2043
+ metadata: grpcWeb.Metadata | null,
2044
+ callback: (err: grpcWeb.Error,
2045
+ response: MultiScopeRootResponse) => void) {
2046
+ return this.client_.rpcCall(
2047
+ this.hostname_ +
2048
+ '/clarifai.api.V2/MyScopesRoot',
2049
+ request,
2050
+ metadata || {},
2051
+ this.methodInfoMyScopesRoot,
2052
+ callback);
2053
+ }
2054
+
2055
+ methodInfoListScopes = new grpcWeb.AbstractClientBase.MethodInfo(
2056
+ MultiScopeDepsResponse,
2057
+ (request: ListScopesRequest) => {
2058
+ return request.serializeBinary();
2059
+ },
2060
+ MultiScopeDepsResponse.deserializeBinary
2061
+ );
2062
+
2063
+ listScopes(
2064
+ request: ListScopesRequest,
2065
+ metadata: grpcWeb.Metadata | null,
2066
+ callback: (err: grpcWeb.Error,
2067
+ response: MultiScopeDepsResponse) => void) {
2068
+ return this.client_.rpcCall(
2069
+ this.hostname_ +
2070
+ '/clarifai.api.V2/ListScopes',
2071
+ request,
2072
+ metadata || {},
2073
+ this.methodInfoListScopes,
2074
+ callback);
2075
+ }
2076
+
2077
+ methodInfoGetApp = new grpcWeb.AbstractClientBase.MethodInfo(
2078
+ SingleAppResponse,
2079
+ (request: GetAppRequest) => {
2080
+ return request.serializeBinary();
2081
+ },
2082
+ SingleAppResponse.deserializeBinary
2083
+ );
2084
+
2085
+ getApp(
2086
+ request: GetAppRequest,
2087
+ metadata: grpcWeb.Metadata | null,
2088
+ callback: (err: grpcWeb.Error,
2089
+ response: SingleAppResponse) => void) {
2090
+ return this.client_.rpcCall(
2091
+ this.hostname_ +
2092
+ '/clarifai.api.V2/GetApp',
2093
+ request,
2094
+ metadata || {},
2095
+ this.methodInfoGetApp,
2096
+ callback);
2097
+ }
2098
+
2099
+ methodInfoListApps = new grpcWeb.AbstractClientBase.MethodInfo(
2100
+ MultiAppResponse,
2101
+ (request: ListAppsRequest) => {
2102
+ return request.serializeBinary();
2103
+ },
2104
+ MultiAppResponse.deserializeBinary
2105
+ );
2106
+
2107
+ listApps(
2108
+ request: ListAppsRequest,
2109
+ metadata: grpcWeb.Metadata | null,
2110
+ callback: (err: grpcWeb.Error,
2111
+ response: MultiAppResponse) => void) {
2112
+ return this.client_.rpcCall(
2113
+ this.hostname_ +
2114
+ '/clarifai.api.V2/ListApps',
2115
+ request,
2116
+ metadata || {},
2117
+ this.methodInfoListApps,
2118
+ callback);
2119
+ }
2120
+
2121
+ methodInfoDeleteApp = new grpcWeb.AbstractClientBase.MethodInfo(
2122
+ proto_clarifai_api_status_status_pb.BaseResponse,
2123
+ (request: DeleteAppRequest) => {
2124
+ return request.serializeBinary();
2125
+ },
2126
+ proto_clarifai_api_status_status_pb.BaseResponse.deserializeBinary
2127
+ );
2128
+
2129
+ deleteApp(
2130
+ request: DeleteAppRequest,
2131
+ metadata: grpcWeb.Metadata | null,
2132
+ callback: (err: grpcWeb.Error,
2133
+ response: proto_clarifai_api_status_status_pb.BaseResponse) => void) {
2134
+ return this.client_.rpcCall(
2135
+ this.hostname_ +
2136
+ '/clarifai.api.V2/DeleteApp',
2137
+ request,
2138
+ metadata || {},
2139
+ this.methodInfoDeleteApp,
2140
+ callback);
2141
+ }
2142
+
2143
+ methodInfoPostApps = new grpcWeb.AbstractClientBase.MethodInfo(
2144
+ MultiAppResponse,
2145
+ (request: PostAppsRequest) => {
2146
+ return request.serializeBinary();
2147
+ },
2148
+ MultiAppResponse.deserializeBinary
2149
+ );
2150
+
2151
+ postApps(
2152
+ request: PostAppsRequest,
2153
+ metadata: grpcWeb.Metadata | null,
2154
+ callback: (err: grpcWeb.Error,
2155
+ response: MultiAppResponse) => void) {
2156
+ return this.client_.rpcCall(
2157
+ this.hostname_ +
2158
+ '/clarifai.api.V2/PostApps',
2159
+ request,
2160
+ metadata || {},
2161
+ this.methodInfoPostApps,
2162
+ callback);
2163
+ }
2164
+
2165
+ methodInfoPatchApps = new grpcWeb.AbstractClientBase.MethodInfo(
2166
+ MultiAppResponse,
2167
+ (request: PatchAppsRequest) => {
2168
+ return request.serializeBinary();
2169
+ },
2170
+ MultiAppResponse.deserializeBinary
2171
+ );
2172
+
2173
+ patchApps(
2174
+ request: PatchAppsRequest,
2175
+ metadata: grpcWeb.Metadata | null,
2176
+ callback: (err: grpcWeb.Error,
2177
+ response: MultiAppResponse) => void) {
2178
+ return this.client_.rpcCall(
2179
+ this.hostname_ +
2180
+ '/clarifai.api.V2/PatchApps',
2181
+ request,
2182
+ metadata || {},
2183
+ this.methodInfoPatchApps,
2184
+ callback);
2185
+ }
2186
+
2187
+ methodInfoPostAppsSearches = new grpcWeb.AbstractClientBase.MethodInfo(
2188
+ MultiAppResponse,
2189
+ (request: PostAppsSearchesRequest) => {
2190
+ return request.serializeBinary();
2191
+ },
2192
+ MultiAppResponse.deserializeBinary
2193
+ );
2194
+
2195
+ postAppsSearches(
2196
+ request: PostAppsSearchesRequest,
2197
+ metadata: grpcWeb.Metadata | null,
2198
+ callback: (err: grpcWeb.Error,
2199
+ response: MultiAppResponse) => void) {
2200
+ return this.client_.rpcCall(
2201
+ this.hostname_ +
2202
+ '/clarifai.api.V2/PostAppsSearches',
2203
+ request,
2204
+ metadata || {},
2205
+ this.methodInfoPostAppsSearches,
2206
+ callback);
2207
+ }
2208
+
2209
+ methodInfoPostValidatePassword = new grpcWeb.AbstractClientBase.MethodInfo(
2210
+ SinglePasswordValidationResponse,
2211
+ (request: PostValidatePasswordRequest) => {
2212
+ return request.serializeBinary();
2213
+ },
2214
+ SinglePasswordValidationResponse.deserializeBinary
2215
+ );
2216
+
2217
+ postValidatePassword(
2218
+ request: PostValidatePasswordRequest,
2219
+ metadata: grpcWeb.Metadata | null,
2220
+ callback: (err: grpcWeb.Error,
2221
+ response: SinglePasswordValidationResponse) => void) {
2222
+ return this.client_.rpcCall(
2223
+ this.hostname_ +
2224
+ '/clarifai.api.V2/PostValidatePassword',
2225
+ request,
2226
+ metadata || {},
2227
+ this.methodInfoPostValidatePassword,
2228
+ callback);
2229
+ }
2230
+
2231
+ methodInfoGetSearch = new grpcWeb.AbstractClientBase.MethodInfo(
2232
+ SingleSearchResponse,
2233
+ (request: GetSearchRequest) => {
2234
+ return request.serializeBinary();
2235
+ },
2236
+ SingleSearchResponse.deserializeBinary
2237
+ );
2238
+
2239
+ getSearch(
2240
+ request: GetSearchRequest,
2241
+ metadata: grpcWeb.Metadata | null,
2242
+ callback: (err: grpcWeb.Error,
2243
+ response: SingleSearchResponse) => void) {
2244
+ return this.client_.rpcCall(
2245
+ this.hostname_ +
2246
+ '/clarifai.api.V2/GetSearch',
2247
+ request,
2248
+ metadata || {},
2249
+ this.methodInfoGetSearch,
2250
+ callback);
2251
+ }
2252
+
2253
+ methodInfoListSearches = new grpcWeb.AbstractClientBase.MethodInfo(
2254
+ MultiSearchResponse,
2255
+ (request: ListSearchesRequest) => {
2256
+ return request.serializeBinary();
2257
+ },
2258
+ MultiSearchResponse.deserializeBinary
2259
+ );
2260
+
2261
+ listSearches(
2262
+ request: ListSearchesRequest,
2263
+ metadata: grpcWeb.Metadata | null,
2264
+ callback: (err: grpcWeb.Error,
2265
+ response: MultiSearchResponse) => void) {
2266
+ return this.client_.rpcCall(
2267
+ this.hostname_ +
2268
+ '/clarifai.api.V2/ListSearches',
2269
+ request,
2270
+ metadata || {},
2271
+ this.methodInfoListSearches,
2272
+ callback);
2273
+ }
2274
+
2275
+ methodInfoPostSearches = new grpcWeb.AbstractClientBase.MethodInfo(
2276
+ MultiSearchResponse,
2277
+ (request: PostSearchesRequest) => {
2278
+ return request.serializeBinary();
2279
+ },
2280
+ MultiSearchResponse.deserializeBinary
2281
+ );
2282
+
2283
+ postSearches(
2284
+ request: PostSearchesRequest,
2285
+ metadata: grpcWeb.Metadata | null,
2286
+ callback: (err: grpcWeb.Error,
2287
+ response: MultiSearchResponse) => void) {
2288
+ return this.client_.rpcCall(
2289
+ this.hostname_ +
2290
+ '/clarifai.api.V2/PostSearches',
2291
+ request,
2292
+ metadata || {},
2293
+ this.methodInfoPostSearches,
2294
+ callback);
2295
+ }
2296
+
2297
+ methodInfoPostSearchesByID = new grpcWeb.AbstractClientBase.MethodInfo(
2298
+ MultiSearchResponse,
2299
+ (request: PostSearchesByIDRequest) => {
2300
+ return request.serializeBinary();
2301
+ },
2302
+ MultiSearchResponse.deserializeBinary
2303
+ );
2304
+
2305
+ postSearchesByID(
2306
+ request: PostSearchesByIDRequest,
2307
+ metadata: grpcWeb.Metadata | null,
2308
+ callback: (err: grpcWeb.Error,
2309
+ response: MultiSearchResponse) => void) {
2310
+ return this.client_.rpcCall(
2311
+ this.hostname_ +
2312
+ '/clarifai.api.V2/PostSearchesByID',
2313
+ request,
2314
+ metadata || {},
2315
+ this.methodInfoPostSearchesByID,
2316
+ callback);
2317
+ }
2318
+
2319
+ methodInfoPostAnnotationSearchMetrics = new grpcWeb.AbstractClientBase.MethodInfo(
2320
+ MultiAnnotationSearchMetricsResponse,
2321
+ (request: PostAnnotationSearchMetricsRequest) => {
2322
+ return request.serializeBinary();
2323
+ },
2324
+ MultiAnnotationSearchMetricsResponse.deserializeBinary
2325
+ );
2326
+
2327
+ postAnnotationSearchMetrics(
2328
+ request: PostAnnotationSearchMetricsRequest,
2329
+ metadata: grpcWeb.Metadata | null,
2330
+ callback: (err: grpcWeb.Error,
2331
+ response: MultiAnnotationSearchMetricsResponse) => void) {
2332
+ return this.client_.rpcCall(
2333
+ this.hostname_ +
2334
+ '/clarifai.api.V2/PostAnnotationSearchMetrics',
2335
+ request,
2336
+ metadata || {},
2337
+ this.methodInfoPostAnnotationSearchMetrics,
2338
+ callback);
2339
+ }
2340
+
2341
+ methodInfoGetAnnotationSearchMetrics = new grpcWeb.AbstractClientBase.MethodInfo(
2342
+ MultiAnnotationSearchMetricsResponse,
2343
+ (request: GetAnnotationSearchMetricsRequest) => {
2344
+ return request.serializeBinary();
2345
+ },
2346
+ MultiAnnotationSearchMetricsResponse.deserializeBinary
2347
+ );
2348
+
2349
+ getAnnotationSearchMetrics(
2350
+ request: GetAnnotationSearchMetricsRequest,
2351
+ metadata: grpcWeb.Metadata | null,
2352
+ callback: (err: grpcWeb.Error,
2353
+ response: MultiAnnotationSearchMetricsResponse) => void) {
2354
+ return this.client_.rpcCall(
2355
+ this.hostname_ +
2356
+ '/clarifai.api.V2/GetAnnotationSearchMetrics',
2357
+ request,
2358
+ metadata || {},
2359
+ this.methodInfoGetAnnotationSearchMetrics,
2360
+ callback);
2361
+ }
2362
+
2363
+ methodInfoListAnnotationSearchMetrics = new grpcWeb.AbstractClientBase.MethodInfo(
2364
+ MultiAnnotationSearchMetricsResponse,
2365
+ (request: ListAnnotationSearchMetricsRequest) => {
2366
+ return request.serializeBinary();
2367
+ },
2368
+ MultiAnnotationSearchMetricsResponse.deserializeBinary
2369
+ );
2370
+
2371
+ listAnnotationSearchMetrics(
2372
+ request: ListAnnotationSearchMetricsRequest,
2373
+ metadata: grpcWeb.Metadata | null,
2374
+ callback: (err: grpcWeb.Error,
2375
+ response: MultiAnnotationSearchMetricsResponse) => void) {
2376
+ return this.client_.rpcCall(
2377
+ this.hostname_ +
2378
+ '/clarifai.api.V2/ListAnnotationSearchMetrics',
2379
+ request,
2380
+ metadata || {},
2381
+ this.methodInfoListAnnotationSearchMetrics,
2382
+ callback);
2383
+ }
2384
+
2385
+ methodInfoDeleteAnnotationSearchMetrics = new grpcWeb.AbstractClientBase.MethodInfo(
2386
+ proto_clarifai_api_status_status_pb.BaseResponse,
2387
+ (request: DeleteAnnotationSearchMetricsRequest) => {
2388
+ return request.serializeBinary();
2389
+ },
2390
+ proto_clarifai_api_status_status_pb.BaseResponse.deserializeBinary
2391
+ );
2392
+
2393
+ deleteAnnotationSearchMetrics(
2394
+ request: DeleteAnnotationSearchMetricsRequest,
2395
+ metadata: grpcWeb.Metadata | null,
2396
+ callback: (err: grpcWeb.Error,
2397
+ response: proto_clarifai_api_status_status_pb.BaseResponse) => void) {
2398
+ return this.client_.rpcCall(
2399
+ this.hostname_ +
2400
+ '/clarifai.api.V2/DeleteAnnotationSearchMetrics',
2401
+ request,
2402
+ metadata || {},
2403
+ this.methodInfoDeleteAnnotationSearchMetrics,
2404
+ callback);
2405
+ }
2406
+
2407
+ methodInfoDeleteSearch = new grpcWeb.AbstractClientBase.MethodInfo(
2408
+ proto_clarifai_api_status_status_pb.BaseResponse,
2409
+ (request: DeleteSearchRequest) => {
2410
+ return request.serializeBinary();
2411
+ },
2412
+ proto_clarifai_api_status_status_pb.BaseResponse.deserializeBinary
2413
+ );
2414
+
2415
+ deleteSearch(
2416
+ request: DeleteSearchRequest,
2417
+ metadata: grpcWeb.Metadata | null,
2418
+ callback: (err: grpcWeb.Error,
2419
+ response: proto_clarifai_api_status_status_pb.BaseResponse) => void) {
2420
+ return this.client_.rpcCall(
2421
+ this.hostname_ +
2422
+ '/clarifai.api.V2/DeleteSearch',
2423
+ request,
2424
+ metadata || {},
2425
+ this.methodInfoDeleteSearch,
2426
+ callback);
2427
+ }
2428
+
2429
+ methodInfoListStatusCodes = new grpcWeb.AbstractClientBase.MethodInfo(
2430
+ MultiStatusCodeResponse,
2431
+ (request: ListStatusCodesRequest) => {
2432
+ return request.serializeBinary();
2433
+ },
2434
+ MultiStatusCodeResponse.deserializeBinary
2435
+ );
2436
+
2437
+ listStatusCodes(
2438
+ request: ListStatusCodesRequest,
2439
+ metadata: grpcWeb.Metadata | null,
2440
+ callback: (err: grpcWeb.Error,
2441
+ response: MultiStatusCodeResponse) => void) {
2442
+ return this.client_.rpcCall(
2443
+ this.hostname_ +
2444
+ '/clarifai.api.V2/ListStatusCodes',
2445
+ request,
2446
+ metadata || {},
2447
+ this.methodInfoListStatusCodes,
2448
+ callback);
2449
+ }
2450
+
2451
+ methodInfoGetStatusCode = new grpcWeb.AbstractClientBase.MethodInfo(
2452
+ SingleStatusCodeResponse,
2453
+ (request: GetStatusCodeRequest) => {
2454
+ return request.serializeBinary();
2455
+ },
2456
+ SingleStatusCodeResponse.deserializeBinary
2457
+ );
2458
+
2459
+ getStatusCode(
2460
+ request: GetStatusCodeRequest,
2461
+ metadata: grpcWeb.Metadata | null,
2462
+ callback: (err: grpcWeb.Error,
2463
+ response: SingleStatusCodeResponse) => void) {
2464
+ return this.client_.rpcCall(
2465
+ this.hostname_ +
2466
+ '/clarifai.api.V2/GetStatusCode',
2467
+ request,
2468
+ metadata || {},
2469
+ this.methodInfoGetStatusCode,
2470
+ callback);
2471
+ }
2472
+
2473
+ methodInfoListCollaborators = new grpcWeb.AbstractClientBase.MethodInfo(
2474
+ MultiCollaboratorsResponse,
2475
+ (request: ListCollaboratorsRequest) => {
2476
+ return request.serializeBinary();
2477
+ },
2478
+ MultiCollaboratorsResponse.deserializeBinary
2479
+ );
2480
+
2481
+ listCollaborators(
2482
+ request: ListCollaboratorsRequest,
2483
+ metadata: grpcWeb.Metadata | null,
2484
+ callback: (err: grpcWeb.Error,
2485
+ response: MultiCollaboratorsResponse) => void) {
2486
+ return this.client_.rpcCall(
2487
+ this.hostname_ +
2488
+ '/clarifai.api.V2/ListCollaborators',
2489
+ request,
2490
+ metadata || {},
2491
+ this.methodInfoListCollaborators,
2492
+ callback);
2493
+ }
2494
+
2495
+ methodInfoPostCollaborators = new grpcWeb.AbstractClientBase.MethodInfo(
2496
+ MultiCollaboratorsResponse,
2497
+ (request: PostCollaboratorsRequest) => {
2498
+ return request.serializeBinary();
2499
+ },
2500
+ MultiCollaboratorsResponse.deserializeBinary
2501
+ );
2502
+
2503
+ postCollaborators(
2504
+ request: PostCollaboratorsRequest,
2505
+ metadata: grpcWeb.Metadata | null,
2506
+ callback: (err: grpcWeb.Error,
2507
+ response: MultiCollaboratorsResponse) => void) {
2508
+ return this.client_.rpcCall(
2509
+ this.hostname_ +
2510
+ '/clarifai.api.V2/PostCollaborators',
2511
+ request,
2512
+ metadata || {},
2513
+ this.methodInfoPostCollaborators,
2514
+ callback);
2515
+ }
2516
+
2517
+ methodInfoPatchCollaborators = new grpcWeb.AbstractClientBase.MethodInfo(
2518
+ MultiCollaboratorsResponse,
2519
+ (request: PatchCollaboratorsRequest) => {
2520
+ return request.serializeBinary();
2521
+ },
2522
+ MultiCollaboratorsResponse.deserializeBinary
2523
+ );
2524
+
2525
+ patchCollaborators(
2526
+ request: PatchCollaboratorsRequest,
2527
+ metadata: grpcWeb.Metadata | null,
2528
+ callback: (err: grpcWeb.Error,
2529
+ response: MultiCollaboratorsResponse) => void) {
2530
+ return this.client_.rpcCall(
2531
+ this.hostname_ +
2532
+ '/clarifai.api.V2/PatchCollaborators',
2533
+ request,
2534
+ metadata || {},
2535
+ this.methodInfoPatchCollaborators,
2536
+ callback);
2537
+ }
2538
+
2539
+ methodInfoDeleteCollaborators = new grpcWeb.AbstractClientBase.MethodInfo(
2540
+ proto_clarifai_api_status_status_pb.BaseResponse,
2541
+ (request: DeleteCollaboratorsRequest) => {
2542
+ return request.serializeBinary();
2543
+ },
2544
+ proto_clarifai_api_status_status_pb.BaseResponse.deserializeBinary
2545
+ );
2546
+
2547
+ deleteCollaborators(
2548
+ request: DeleteCollaboratorsRequest,
2549
+ metadata: grpcWeb.Metadata | null,
2550
+ callback: (err: grpcWeb.Error,
2551
+ response: proto_clarifai_api_status_status_pb.BaseResponse) => void) {
2552
+ return this.client_.rpcCall(
2553
+ this.hostname_ +
2554
+ '/clarifai.api.V2/DeleteCollaborators',
2555
+ request,
2556
+ metadata || {},
2557
+ this.methodInfoDeleteCollaborators,
2558
+ callback);
2559
+ }
2560
+
2561
+ methodInfoListCollaborations = new grpcWeb.AbstractClientBase.MethodInfo(
2562
+ MultiCollaborationsResponse,
2563
+ (request: ListCollaborationsRequest) => {
2564
+ return request.serializeBinary();
2565
+ },
2566
+ MultiCollaborationsResponse.deserializeBinary
2567
+ );
2568
+
2569
+ listCollaborations(
2570
+ request: ListCollaborationsRequest,
2571
+ metadata: grpcWeb.Metadata | null,
2572
+ callback: (err: grpcWeb.Error,
2573
+ response: MultiCollaborationsResponse) => void) {
2574
+ return this.client_.rpcCall(
2575
+ this.hostname_ +
2576
+ '/clarifai.api.V2/ListCollaborations',
2577
+ request,
2578
+ metadata || {},
2579
+ this.methodInfoListCollaborations,
2580
+ callback);
2581
+ }
2582
+
2583
+ methodInfoPostAppDuplications = new grpcWeb.AbstractClientBase.MethodInfo(
2584
+ MultiAppDuplicationsResponse,
2585
+ (request: PostAppDuplicationsRequest) => {
2586
+ return request.serializeBinary();
2587
+ },
2588
+ MultiAppDuplicationsResponse.deserializeBinary
2589
+ );
2590
+
2591
+ postAppDuplications(
2592
+ request: PostAppDuplicationsRequest,
2593
+ metadata: grpcWeb.Metadata | null,
2594
+ callback: (err: grpcWeb.Error,
2595
+ response: MultiAppDuplicationsResponse) => void) {
2596
+ return this.client_.rpcCall(
2597
+ this.hostname_ +
2598
+ '/clarifai.api.V2/PostAppDuplications',
2599
+ request,
2600
+ metadata || {},
2601
+ this.methodInfoPostAppDuplications,
2602
+ callback);
2603
+ }
2604
+
2605
+ methodInfoListAppDuplications = new grpcWeb.AbstractClientBase.MethodInfo(
2606
+ MultiAppDuplicationsResponse,
2607
+ (request: ListAppDuplicationsRequest) => {
2608
+ return request.serializeBinary();
2609
+ },
2610
+ MultiAppDuplicationsResponse.deserializeBinary
2611
+ );
2612
+
2613
+ listAppDuplications(
2614
+ request: ListAppDuplicationsRequest,
2615
+ metadata: grpcWeb.Metadata | null,
2616
+ callback: (err: grpcWeb.Error,
2617
+ response: MultiAppDuplicationsResponse) => void) {
2618
+ return this.client_.rpcCall(
2619
+ this.hostname_ +
2620
+ '/clarifai.api.V2/ListAppDuplications',
2621
+ request,
2622
+ metadata || {},
2623
+ this.methodInfoListAppDuplications,
2624
+ callback);
2625
+ }
2626
+
2627
+ methodInfoGetAppDuplication = new grpcWeb.AbstractClientBase.MethodInfo(
2628
+ SingleAppDuplicationResponse,
2629
+ (request: GetAppDuplicationRequest) => {
2630
+ return request.serializeBinary();
2631
+ },
2632
+ SingleAppDuplicationResponse.deserializeBinary
2633
+ );
2634
+
2635
+ getAppDuplication(
2636
+ request: GetAppDuplicationRequest,
2637
+ metadata: grpcWeb.Metadata | null,
2638
+ callback: (err: grpcWeb.Error,
2639
+ response: SingleAppDuplicationResponse) => void) {
2640
+ return this.client_.rpcCall(
2641
+ this.hostname_ +
2642
+ '/clarifai.api.V2/GetAppDuplication',
2643
+ request,
2644
+ metadata || {},
2645
+ this.methodInfoGetAppDuplication,
2646
+ callback);
2647
+ }
2648
+
2649
+ methodInfoPostTasks = new grpcWeb.AbstractClientBase.MethodInfo(
2650
+ MultiTaskResponse,
2651
+ (request: PostTasksRequest) => {
2652
+ return request.serializeBinary();
2653
+ },
2654
+ MultiTaskResponse.deserializeBinary
2655
+ );
2656
+
2657
+ postTasks(
2658
+ request: PostTasksRequest,
2659
+ metadata: grpcWeb.Metadata | null,
2660
+ callback: (err: grpcWeb.Error,
2661
+ response: MultiTaskResponse) => void) {
2662
+ return this.client_.rpcCall(
2663
+ this.hostname_ +
2664
+ '/clarifai.api.V2/PostTasks',
2665
+ request,
2666
+ metadata || {},
2667
+ this.methodInfoPostTasks,
2668
+ callback);
2669
+ }
2670
+
2671
+ methodInfoGetTaskAnnotationCount = new grpcWeb.AbstractClientBase.MethodInfo(
2672
+ SingleTaskCountResponse,
2673
+ (request: GetTaskCountRequest) => {
2674
+ return request.serializeBinary();
2675
+ },
2676
+ SingleTaskCountResponse.deserializeBinary
2677
+ );
2678
+
2679
+ getTaskAnnotationCount(
2680
+ request: GetTaskCountRequest,
2681
+ metadata: grpcWeb.Metadata | null,
2682
+ callback: (err: grpcWeb.Error,
2683
+ response: SingleTaskCountResponse) => void) {
2684
+ return this.client_.rpcCall(
2685
+ this.hostname_ +
2686
+ '/clarifai.api.V2/GetTaskAnnotationCount',
2687
+ request,
2688
+ metadata || {},
2689
+ this.methodInfoGetTaskAnnotationCount,
2690
+ callback);
2691
+ }
2692
+
2693
+ methodInfoGetTaskInputCount = new grpcWeb.AbstractClientBase.MethodInfo(
2694
+ SingleTaskCountResponse,
2695
+ (request: GetTaskCountRequest) => {
2696
+ return request.serializeBinary();
2697
+ },
2698
+ SingleTaskCountResponse.deserializeBinary
2699
+ );
2700
+
2701
+ getTaskInputCount(
2702
+ request: GetTaskCountRequest,
2703
+ metadata: grpcWeb.Metadata | null,
2704
+ callback: (err: grpcWeb.Error,
2705
+ response: SingleTaskCountResponse) => void) {
2706
+ return this.client_.rpcCall(
2707
+ this.hostname_ +
2708
+ '/clarifai.api.V2/GetTaskInputCount',
2709
+ request,
2710
+ metadata || {},
2711
+ this.methodInfoGetTaskInputCount,
2712
+ callback);
2713
+ }
2714
+
2715
+ methodInfoGetTask = new grpcWeb.AbstractClientBase.MethodInfo(
2716
+ SingleTaskResponse,
2717
+ (request: GetTaskRequest) => {
2718
+ return request.serializeBinary();
2719
+ },
2720
+ SingleTaskResponse.deserializeBinary
2721
+ );
2722
+
2723
+ getTask(
2724
+ request: GetTaskRequest,
2725
+ metadata: grpcWeb.Metadata | null,
2726
+ callback: (err: grpcWeb.Error,
2727
+ response: SingleTaskResponse) => void) {
2728
+ return this.client_.rpcCall(
2729
+ this.hostname_ +
2730
+ '/clarifai.api.V2/GetTask',
2731
+ request,
2732
+ metadata || {},
2733
+ this.methodInfoGetTask,
2734
+ callback);
2735
+ }
2736
+
2737
+ methodInfoListTasks = new grpcWeb.AbstractClientBase.MethodInfo(
2738
+ MultiTaskResponse,
2739
+ (request: ListTasksRequest) => {
2740
+ return request.serializeBinary();
2741
+ },
2742
+ MultiTaskResponse.deserializeBinary
2743
+ );
2744
+
2745
+ listTasks(
2746
+ request: ListTasksRequest,
2747
+ metadata: grpcWeb.Metadata | null,
2748
+ callback: (err: grpcWeb.Error,
2749
+ response: MultiTaskResponse) => void) {
2750
+ return this.client_.rpcCall(
2751
+ this.hostname_ +
2752
+ '/clarifai.api.V2/ListTasks',
2753
+ request,
2754
+ metadata || {},
2755
+ this.methodInfoListTasks,
2756
+ callback);
2757
+ }
2758
+
2759
+ methodInfoPatchTasks = new grpcWeb.AbstractClientBase.MethodInfo(
2760
+ MultiTaskResponse,
2761
+ (request: PatchTasksRequest) => {
2762
+ return request.serializeBinary();
2763
+ },
2764
+ MultiTaskResponse.deserializeBinary
2765
+ );
2766
+
2767
+ patchTasks(
2768
+ request: PatchTasksRequest,
2769
+ metadata: grpcWeb.Metadata | null,
2770
+ callback: (err: grpcWeb.Error,
2771
+ response: MultiTaskResponse) => void) {
2772
+ return this.client_.rpcCall(
2773
+ this.hostname_ +
2774
+ '/clarifai.api.V2/PatchTasks',
2775
+ request,
2776
+ metadata || {},
2777
+ this.methodInfoPatchTasks,
2778
+ callback);
2779
+ }
2780
+
2781
+ methodInfoDeleteTasks = new grpcWeb.AbstractClientBase.MethodInfo(
2782
+ proto_clarifai_api_status_status_pb.BaseResponse,
2783
+ (request: DeleteTasksRequest) => {
2784
+ return request.serializeBinary();
2785
+ },
2786
+ proto_clarifai_api_status_status_pb.BaseResponse.deserializeBinary
2787
+ );
2788
+
2789
+ deleteTasks(
2790
+ request: DeleteTasksRequest,
2791
+ metadata: grpcWeb.Metadata | null,
2792
+ callback: (err: grpcWeb.Error,
2793
+ response: proto_clarifai_api_status_status_pb.BaseResponse) => void) {
2794
+ return this.client_.rpcCall(
2795
+ this.hostname_ +
2796
+ '/clarifai.api.V2/DeleteTasks',
2797
+ request,
2798
+ metadata || {},
2799
+ this.methodInfoDeleteTasks,
2800
+ callback);
2801
+ }
2802
+
2803
+ methodInfoPostCollectors = new grpcWeb.AbstractClientBase.MethodInfo(
2804
+ MultiCollectorResponse,
2805
+ (request: PostCollectorsRequest) => {
2806
+ return request.serializeBinary();
2807
+ },
2808
+ MultiCollectorResponse.deserializeBinary
2809
+ );
2810
+
2811
+ postCollectors(
2812
+ request: PostCollectorsRequest,
2813
+ metadata: grpcWeb.Metadata | null,
2814
+ callback: (err: grpcWeb.Error,
2815
+ response: MultiCollectorResponse) => void) {
2816
+ return this.client_.rpcCall(
2817
+ this.hostname_ +
2818
+ '/clarifai.api.V2/PostCollectors',
2819
+ request,
2820
+ metadata || {},
2821
+ this.methodInfoPostCollectors,
2822
+ callback);
2823
+ }
2824
+
2825
+ methodInfoGetCollector = new grpcWeb.AbstractClientBase.MethodInfo(
2826
+ SingleCollectorResponse,
2827
+ (request: GetCollectorRequest) => {
2828
+ return request.serializeBinary();
2829
+ },
2830
+ SingleCollectorResponse.deserializeBinary
2831
+ );
2832
+
2833
+ getCollector(
2834
+ request: GetCollectorRequest,
2835
+ metadata: grpcWeb.Metadata | null,
2836
+ callback: (err: grpcWeb.Error,
2837
+ response: SingleCollectorResponse) => void) {
2838
+ return this.client_.rpcCall(
2839
+ this.hostname_ +
2840
+ '/clarifai.api.V2/GetCollector',
2841
+ request,
2842
+ metadata || {},
2843
+ this.methodInfoGetCollector,
2844
+ callback);
2845
+ }
2846
+
2847
+ methodInfoListCollectors = new grpcWeb.AbstractClientBase.MethodInfo(
2848
+ MultiCollectorResponse,
2849
+ (request: ListCollectorsRequest) => {
2850
+ return request.serializeBinary();
2851
+ },
2852
+ MultiCollectorResponse.deserializeBinary
2853
+ );
2854
+
2855
+ listCollectors(
2856
+ request: ListCollectorsRequest,
2857
+ metadata: grpcWeb.Metadata | null,
2858
+ callback: (err: grpcWeb.Error,
2859
+ response: MultiCollectorResponse) => void) {
2860
+ return this.client_.rpcCall(
2861
+ this.hostname_ +
2862
+ '/clarifai.api.V2/ListCollectors',
2863
+ request,
2864
+ metadata || {},
2865
+ this.methodInfoListCollectors,
2866
+ callback);
2867
+ }
2868
+
2869
+ methodInfoPatchCollectors = new grpcWeb.AbstractClientBase.MethodInfo(
2870
+ MultiCollectorResponse,
2871
+ (request: PatchCollectorsRequest) => {
2872
+ return request.serializeBinary();
2873
+ },
2874
+ MultiCollectorResponse.deserializeBinary
2875
+ );
2876
+
2877
+ patchCollectors(
2878
+ request: PatchCollectorsRequest,
2879
+ metadata: grpcWeb.Metadata | null,
2880
+ callback: (err: grpcWeb.Error,
2881
+ response: MultiCollectorResponse) => void) {
2882
+ return this.client_.rpcCall(
2883
+ this.hostname_ +
2884
+ '/clarifai.api.V2/PatchCollectors',
2885
+ request,
2886
+ metadata || {},
2887
+ this.methodInfoPatchCollectors,
2888
+ callback);
2889
+ }
2890
+
2891
+ methodInfoDeleteCollectors = new grpcWeb.AbstractClientBase.MethodInfo(
2892
+ proto_clarifai_api_status_status_pb.BaseResponse,
2893
+ (request: DeleteCollectorsRequest) => {
2894
+ return request.serializeBinary();
2895
+ },
2896
+ proto_clarifai_api_status_status_pb.BaseResponse.deserializeBinary
2897
+ );
2898
+
2899
+ deleteCollectors(
2900
+ request: DeleteCollectorsRequest,
2901
+ metadata: grpcWeb.Metadata | null,
2902
+ callback: (err: grpcWeb.Error,
2903
+ response: proto_clarifai_api_status_status_pb.BaseResponse) => void) {
2904
+ return this.client_.rpcCall(
2905
+ this.hostname_ +
2906
+ '/clarifai.api.V2/DeleteCollectors',
2907
+ request,
2908
+ metadata || {},
2909
+ this.methodInfoDeleteCollectors,
2910
+ callback);
2911
+ }
2912
+
2913
+ methodInfoPostStatValues = new grpcWeb.AbstractClientBase.MethodInfo(
2914
+ MultiStatValueResponse,
2915
+ (request: PostStatValuesRequest) => {
2916
+ return request.serializeBinary();
2917
+ },
2918
+ MultiStatValueResponse.deserializeBinary
2919
+ );
2920
+
2921
+ postStatValues(
2922
+ request: PostStatValuesRequest,
2923
+ metadata: grpcWeb.Metadata | null,
2924
+ callback: (err: grpcWeb.Error,
2925
+ response: MultiStatValueResponse) => void) {
2926
+ return this.client_.rpcCall(
2927
+ this.hostname_ +
2928
+ '/clarifai.api.V2/PostStatValues',
2929
+ request,
2930
+ metadata || {},
2931
+ this.methodInfoPostStatValues,
2932
+ callback);
2933
+ }
2934
+
2935
+ methodInfoPostStatValuesAggregate = new grpcWeb.AbstractClientBase.MethodInfo(
2936
+ MultiStatValueAggregateResponse,
2937
+ (request: PostStatValuesAggregateRequest) => {
2938
+ return request.serializeBinary();
2939
+ },
2940
+ MultiStatValueAggregateResponse.deserializeBinary
2941
+ );
2942
+
2943
+ postStatValuesAggregate(
2944
+ request: PostStatValuesAggregateRequest,
2945
+ metadata: grpcWeb.Metadata | null,
2946
+ callback: (err: grpcWeb.Error,
2947
+ response: MultiStatValueAggregateResponse) => void) {
2948
+ return this.client_.rpcCall(
2949
+ this.hostname_ +
2950
+ '/clarifai.api.V2/PostStatValuesAggregate',
2951
+ request,
2952
+ metadata || {},
2953
+ this.methodInfoPostStatValuesAggregate,
2954
+ callback);
2955
+ }
2956
+
2957
+ methodInfoPostTrendingMetricsView = new grpcWeb.AbstractClientBase.MethodInfo(
2958
+ proto_clarifai_api_status_status_pb.BaseResponse,
2959
+ (request: PostTrendingMetricsViewRequest) => {
2960
+ return request.serializeBinary();
2961
+ },
2962
+ proto_clarifai_api_status_status_pb.BaseResponse.deserializeBinary
2963
+ );
2964
+
2965
+ postTrendingMetricsView(
2966
+ request: PostTrendingMetricsViewRequest,
2967
+ metadata: grpcWeb.Metadata | null,
2968
+ callback: (err: grpcWeb.Error,
2969
+ response: proto_clarifai_api_status_status_pb.BaseResponse) => void) {
2970
+ return this.client_.rpcCall(
2971
+ this.hostname_ +
2972
+ '/clarifai.api.V2/PostTrendingMetricsView',
2973
+ request,
2974
+ metadata || {},
2975
+ this.methodInfoPostTrendingMetricsView,
2976
+ callback);
2977
+ }
2978
+
2979
+ methodInfoListTrendingMetricsViews = new grpcWeb.AbstractClientBase.MethodInfo(
2980
+ MultiTrendingMetricsViewResponse,
2981
+ (request: ListTrendingMetricsViewsRequest) => {
2982
+ return request.serializeBinary();
2983
+ },
2984
+ MultiTrendingMetricsViewResponse.deserializeBinary
2985
+ );
2986
+
2987
+ listTrendingMetricsViews(
2988
+ request: ListTrendingMetricsViewsRequest,
2989
+ metadata: grpcWeb.Metadata | null,
2990
+ callback: (err: grpcWeb.Error,
2991
+ response: MultiTrendingMetricsViewResponse) => void) {
2992
+ return this.client_.rpcCall(
2993
+ this.hostname_ +
2994
+ '/clarifai.api.V2/ListTrendingMetricsViews',
2995
+ request,
2996
+ metadata || {},
2997
+ this.methodInfoListTrendingMetricsViews,
2998
+ callback);
2999
+ }
3000
+
3001
+ }
3002
+