clarifai-web-grpc 10.3.3 → 10.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/VERSION +1 -1
- package/dist/cjs/proto/clarifai/api/resources_pb.js +1335 -215
- package/dist/cjs/proto/clarifai/api/service_grpc_web_pb.js +378 -0
- package/dist/cjs/proto/clarifai/api/service_pb.js +2751 -53
- package/dist/cjs/proto/clarifai/api/status/status_code_pb.js +9 -0
- package/dist/cjs/proto/clarifai/auth/scope/scope_pb.js +7 -1
- package/dist/esm/proto/clarifai/api/resources_pb.js +1335 -215
- package/dist/esm/proto/clarifai/api/service_grpc_web_pb.js +378 -0
- package/dist/esm/proto/clarifai/api/service_pb.js +2751 -53
- package/dist/esm/proto/clarifai/api/status/status_code_pb.js +9 -0
- package/dist/esm/proto/clarifai/auth/scope/scope_pb.js +7 -1
- package/package.json +1 -1
- package/proto/clarifai/api/resources_pb.d.ts +216 -55
- package/proto/clarifai/api/resources_pb.js +1657 -238
- package/proto/clarifai/api/service_grpc_web_pb.d.ts +108 -0
- package/proto/clarifai/api/service_grpc_web_pb.js +549 -0
- package/proto/clarifai/api/service_pb.d.ts +390 -0
- package/proto/clarifai/api/service_pb.js +3386 -53
- package/proto/clarifai/api/status/status_code_pb.d.ts +9 -0
- package/proto/clarifai/api/status/status_code_pb.js +9 -0
- package/proto/clarifai/auth/scope/scope_pb.d.ts +6 -0
- package/proto/clarifai/auth/scope/scope_pb.js +7 -1
|
@@ -9264,4 +9264,382 @@ proto.clarifai.api.V2PromiseClient.prototype.postModelVersionsTrainingTimeEstima
|
|
|
9264
9264
|
return this.client_.unaryCall(this.hostname_ +
|
|
9265
9265
|
'/clarifai.api.V2/PostModelVersionsTrainingTimeEstimate', request, metadata || {}, methodDescriptor_V2_PostModelVersionsTrainingTimeEstimate);
|
|
9266
9266
|
};
|
|
9267
|
+
/**
|
|
9268
|
+
* @const
|
|
9269
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
9270
|
+
* !proto.clarifai.api.GetComputeClusterRequest,
|
|
9271
|
+
* !proto.clarifai.api.SingleComputeClusterResponse>}
|
|
9272
|
+
*/
|
|
9273
|
+
const methodDescriptor_V2_GetComputeCluster = new grpc.web.MethodDescriptor('/clarifai.api.V2/GetComputeCluster', grpc.web.MethodType.UNARY, proto.clarifai.api.GetComputeClusterRequest, proto.clarifai.api.SingleComputeClusterResponse,
|
|
9274
|
+
/**
|
|
9275
|
+
* @param {!proto.clarifai.api.GetComputeClusterRequest} request
|
|
9276
|
+
* @return {!Uint8Array}
|
|
9277
|
+
*/
|
|
9278
|
+
function (request) {
|
|
9279
|
+
return request.serializeBinary();
|
|
9280
|
+
}, proto.clarifai.api.SingleComputeClusterResponse.deserializeBinary);
|
|
9281
|
+
/**
|
|
9282
|
+
* @param {!proto.clarifai.api.GetComputeClusterRequest} request The
|
|
9283
|
+
* request proto
|
|
9284
|
+
* @param {?Object<string, string>} metadata User defined
|
|
9285
|
+
* call metadata
|
|
9286
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.SingleComputeClusterResponse)}
|
|
9287
|
+
* callback The callback function(error, response)
|
|
9288
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.SingleComputeClusterResponse>|undefined}
|
|
9289
|
+
* The XHR Node Readable Stream
|
|
9290
|
+
*/
|
|
9291
|
+
proto.clarifai.api.V2Client.prototype.getComputeCluster =
|
|
9292
|
+
function (request, metadata, callback) {
|
|
9293
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
9294
|
+
'/clarifai.api.V2/GetComputeCluster', request, metadata || {}, methodDescriptor_V2_GetComputeCluster, callback);
|
|
9295
|
+
};
|
|
9296
|
+
/**
|
|
9297
|
+
* @param {!proto.clarifai.api.GetComputeClusterRequest} request The
|
|
9298
|
+
* request proto
|
|
9299
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
9300
|
+
* call metadata
|
|
9301
|
+
* @return {!Promise<!proto.clarifai.api.SingleComputeClusterResponse>}
|
|
9302
|
+
* Promise that resolves to the response
|
|
9303
|
+
*/
|
|
9304
|
+
proto.clarifai.api.V2PromiseClient.prototype.getComputeCluster =
|
|
9305
|
+
function (request, metadata) {
|
|
9306
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
9307
|
+
'/clarifai.api.V2/GetComputeCluster', request, metadata || {}, methodDescriptor_V2_GetComputeCluster);
|
|
9308
|
+
};
|
|
9309
|
+
/**
|
|
9310
|
+
* @const
|
|
9311
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
9312
|
+
* !proto.clarifai.api.ListComputeClustersRequest,
|
|
9313
|
+
* !proto.clarifai.api.MultiComputeClusterResponse>}
|
|
9314
|
+
*/
|
|
9315
|
+
const methodDescriptor_V2_ListComputeClusters = new grpc.web.MethodDescriptor('/clarifai.api.V2/ListComputeClusters', grpc.web.MethodType.UNARY, proto.clarifai.api.ListComputeClustersRequest, proto.clarifai.api.MultiComputeClusterResponse,
|
|
9316
|
+
/**
|
|
9317
|
+
* @param {!proto.clarifai.api.ListComputeClustersRequest} request
|
|
9318
|
+
* @return {!Uint8Array}
|
|
9319
|
+
*/
|
|
9320
|
+
function (request) {
|
|
9321
|
+
return request.serializeBinary();
|
|
9322
|
+
}, proto.clarifai.api.MultiComputeClusterResponse.deserializeBinary);
|
|
9323
|
+
/**
|
|
9324
|
+
* @param {!proto.clarifai.api.ListComputeClustersRequest} request The
|
|
9325
|
+
* request proto
|
|
9326
|
+
* @param {?Object<string, string>} metadata User defined
|
|
9327
|
+
* call metadata
|
|
9328
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiComputeClusterResponse)}
|
|
9329
|
+
* callback The callback function(error, response)
|
|
9330
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiComputeClusterResponse>|undefined}
|
|
9331
|
+
* The XHR Node Readable Stream
|
|
9332
|
+
*/
|
|
9333
|
+
proto.clarifai.api.V2Client.prototype.listComputeClusters =
|
|
9334
|
+
function (request, metadata, callback) {
|
|
9335
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
9336
|
+
'/clarifai.api.V2/ListComputeClusters', request, metadata || {}, methodDescriptor_V2_ListComputeClusters, callback);
|
|
9337
|
+
};
|
|
9338
|
+
/**
|
|
9339
|
+
* @param {!proto.clarifai.api.ListComputeClustersRequest} request The
|
|
9340
|
+
* request proto
|
|
9341
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
9342
|
+
* call metadata
|
|
9343
|
+
* @return {!Promise<!proto.clarifai.api.MultiComputeClusterResponse>}
|
|
9344
|
+
* Promise that resolves to the response
|
|
9345
|
+
*/
|
|
9346
|
+
proto.clarifai.api.V2PromiseClient.prototype.listComputeClusters =
|
|
9347
|
+
function (request, metadata) {
|
|
9348
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
9349
|
+
'/clarifai.api.V2/ListComputeClusters', request, metadata || {}, methodDescriptor_V2_ListComputeClusters);
|
|
9350
|
+
};
|
|
9351
|
+
/**
|
|
9352
|
+
* @const
|
|
9353
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
9354
|
+
* !proto.clarifai.api.PostComputeClustersRequest,
|
|
9355
|
+
* !proto.clarifai.api.MultiComputeClusterResponse>}
|
|
9356
|
+
*/
|
|
9357
|
+
const methodDescriptor_V2_PostComputeClusters = new grpc.web.MethodDescriptor('/clarifai.api.V2/PostComputeClusters', grpc.web.MethodType.UNARY, proto.clarifai.api.PostComputeClustersRequest, proto.clarifai.api.MultiComputeClusterResponse,
|
|
9358
|
+
/**
|
|
9359
|
+
* @param {!proto.clarifai.api.PostComputeClustersRequest} request
|
|
9360
|
+
* @return {!Uint8Array}
|
|
9361
|
+
*/
|
|
9362
|
+
function (request) {
|
|
9363
|
+
return request.serializeBinary();
|
|
9364
|
+
}, proto.clarifai.api.MultiComputeClusterResponse.deserializeBinary);
|
|
9365
|
+
/**
|
|
9366
|
+
* @param {!proto.clarifai.api.PostComputeClustersRequest} request The
|
|
9367
|
+
* request proto
|
|
9368
|
+
* @param {?Object<string, string>} metadata User defined
|
|
9369
|
+
* call metadata
|
|
9370
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiComputeClusterResponse)}
|
|
9371
|
+
* callback The callback function(error, response)
|
|
9372
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiComputeClusterResponse>|undefined}
|
|
9373
|
+
* The XHR Node Readable Stream
|
|
9374
|
+
*/
|
|
9375
|
+
proto.clarifai.api.V2Client.prototype.postComputeClusters =
|
|
9376
|
+
function (request, metadata, callback) {
|
|
9377
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
9378
|
+
'/clarifai.api.V2/PostComputeClusters', request, metadata || {}, methodDescriptor_V2_PostComputeClusters, callback);
|
|
9379
|
+
};
|
|
9380
|
+
/**
|
|
9381
|
+
* @param {!proto.clarifai.api.PostComputeClustersRequest} request The
|
|
9382
|
+
* request proto
|
|
9383
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
9384
|
+
* call metadata
|
|
9385
|
+
* @return {!Promise<!proto.clarifai.api.MultiComputeClusterResponse>}
|
|
9386
|
+
* Promise that resolves to the response
|
|
9387
|
+
*/
|
|
9388
|
+
proto.clarifai.api.V2PromiseClient.prototype.postComputeClusters =
|
|
9389
|
+
function (request, metadata) {
|
|
9390
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
9391
|
+
'/clarifai.api.V2/PostComputeClusters', request, metadata || {}, methodDescriptor_V2_PostComputeClusters);
|
|
9392
|
+
};
|
|
9393
|
+
/**
|
|
9394
|
+
* @const
|
|
9395
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
9396
|
+
* !proto.clarifai.api.DeleteComputeClustersRequest,
|
|
9397
|
+
* !proto.clarifai.api.status.BaseResponse>}
|
|
9398
|
+
*/
|
|
9399
|
+
const methodDescriptor_V2_DeleteComputeClusters = new grpc.web.MethodDescriptor('/clarifai.api.V2/DeleteComputeClusters', grpc.web.MethodType.UNARY, proto.clarifai.api.DeleteComputeClustersRequest, proto_clarifai_api_status_status_pb.BaseResponse,
|
|
9400
|
+
/**
|
|
9401
|
+
* @param {!proto.clarifai.api.DeleteComputeClustersRequest} request
|
|
9402
|
+
* @return {!Uint8Array}
|
|
9403
|
+
*/
|
|
9404
|
+
function (request) {
|
|
9405
|
+
return request.serializeBinary();
|
|
9406
|
+
}, proto_clarifai_api_status_status_pb.BaseResponse.deserializeBinary);
|
|
9407
|
+
/**
|
|
9408
|
+
* @param {!proto.clarifai.api.DeleteComputeClustersRequest} request The
|
|
9409
|
+
* request proto
|
|
9410
|
+
* @param {?Object<string, string>} metadata User defined
|
|
9411
|
+
* call metadata
|
|
9412
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.status.BaseResponse)}
|
|
9413
|
+
* callback The callback function(error, response)
|
|
9414
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.status.BaseResponse>|undefined}
|
|
9415
|
+
* The XHR Node Readable Stream
|
|
9416
|
+
*/
|
|
9417
|
+
proto.clarifai.api.V2Client.prototype.deleteComputeClusters =
|
|
9418
|
+
function (request, metadata, callback) {
|
|
9419
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
9420
|
+
'/clarifai.api.V2/DeleteComputeClusters', request, metadata || {}, methodDescriptor_V2_DeleteComputeClusters, callback);
|
|
9421
|
+
};
|
|
9422
|
+
/**
|
|
9423
|
+
* @param {!proto.clarifai.api.DeleteComputeClustersRequest} request The
|
|
9424
|
+
* request proto
|
|
9425
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
9426
|
+
* call metadata
|
|
9427
|
+
* @return {!Promise<!proto.clarifai.api.status.BaseResponse>}
|
|
9428
|
+
* Promise that resolves to the response
|
|
9429
|
+
*/
|
|
9430
|
+
proto.clarifai.api.V2PromiseClient.prototype.deleteComputeClusters =
|
|
9431
|
+
function (request, metadata) {
|
|
9432
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
9433
|
+
'/clarifai.api.V2/DeleteComputeClusters', request, metadata || {}, methodDescriptor_V2_DeleteComputeClusters);
|
|
9434
|
+
};
|
|
9435
|
+
/**
|
|
9436
|
+
* @const
|
|
9437
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
9438
|
+
* !proto.clarifai.api.GetNodepoolRequest,
|
|
9439
|
+
* !proto.clarifai.api.SingleNodepoolResponse>}
|
|
9440
|
+
*/
|
|
9441
|
+
const methodDescriptor_V2_GetNodepool = new grpc.web.MethodDescriptor('/clarifai.api.V2/GetNodepool', grpc.web.MethodType.UNARY, proto.clarifai.api.GetNodepoolRequest, proto.clarifai.api.SingleNodepoolResponse,
|
|
9442
|
+
/**
|
|
9443
|
+
* @param {!proto.clarifai.api.GetNodepoolRequest} request
|
|
9444
|
+
* @return {!Uint8Array}
|
|
9445
|
+
*/
|
|
9446
|
+
function (request) {
|
|
9447
|
+
return request.serializeBinary();
|
|
9448
|
+
}, proto.clarifai.api.SingleNodepoolResponse.deserializeBinary);
|
|
9449
|
+
/**
|
|
9450
|
+
* @param {!proto.clarifai.api.GetNodepoolRequest} request The
|
|
9451
|
+
* request proto
|
|
9452
|
+
* @param {?Object<string, string>} metadata User defined
|
|
9453
|
+
* call metadata
|
|
9454
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.SingleNodepoolResponse)}
|
|
9455
|
+
* callback The callback function(error, response)
|
|
9456
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.SingleNodepoolResponse>|undefined}
|
|
9457
|
+
* The XHR Node Readable Stream
|
|
9458
|
+
*/
|
|
9459
|
+
proto.clarifai.api.V2Client.prototype.getNodepool =
|
|
9460
|
+
function (request, metadata, callback) {
|
|
9461
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
9462
|
+
'/clarifai.api.V2/GetNodepool', request, metadata || {}, methodDescriptor_V2_GetNodepool, callback);
|
|
9463
|
+
};
|
|
9464
|
+
/**
|
|
9465
|
+
* @param {!proto.clarifai.api.GetNodepoolRequest} request The
|
|
9466
|
+
* request proto
|
|
9467
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
9468
|
+
* call metadata
|
|
9469
|
+
* @return {!Promise<!proto.clarifai.api.SingleNodepoolResponse>}
|
|
9470
|
+
* Promise that resolves to the response
|
|
9471
|
+
*/
|
|
9472
|
+
proto.clarifai.api.V2PromiseClient.prototype.getNodepool =
|
|
9473
|
+
function (request, metadata) {
|
|
9474
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
9475
|
+
'/clarifai.api.V2/GetNodepool', request, metadata || {}, methodDescriptor_V2_GetNodepool);
|
|
9476
|
+
};
|
|
9477
|
+
/**
|
|
9478
|
+
* @const
|
|
9479
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
9480
|
+
* !proto.clarifai.api.ListNodepoolsRequest,
|
|
9481
|
+
* !proto.clarifai.api.MultiNodepoolResponse>}
|
|
9482
|
+
*/
|
|
9483
|
+
const methodDescriptor_V2_ListNodepools = new grpc.web.MethodDescriptor('/clarifai.api.V2/ListNodepools', grpc.web.MethodType.UNARY, proto.clarifai.api.ListNodepoolsRequest, proto.clarifai.api.MultiNodepoolResponse,
|
|
9484
|
+
/**
|
|
9485
|
+
* @param {!proto.clarifai.api.ListNodepoolsRequest} request
|
|
9486
|
+
* @return {!Uint8Array}
|
|
9487
|
+
*/
|
|
9488
|
+
function (request) {
|
|
9489
|
+
return request.serializeBinary();
|
|
9490
|
+
}, proto.clarifai.api.MultiNodepoolResponse.deserializeBinary);
|
|
9491
|
+
/**
|
|
9492
|
+
* @param {!proto.clarifai.api.ListNodepoolsRequest} request The
|
|
9493
|
+
* request proto
|
|
9494
|
+
* @param {?Object<string, string>} metadata User defined
|
|
9495
|
+
* call metadata
|
|
9496
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiNodepoolResponse)}
|
|
9497
|
+
* callback The callback function(error, response)
|
|
9498
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiNodepoolResponse>|undefined}
|
|
9499
|
+
* The XHR Node Readable Stream
|
|
9500
|
+
*/
|
|
9501
|
+
proto.clarifai.api.V2Client.prototype.listNodepools =
|
|
9502
|
+
function (request, metadata, callback) {
|
|
9503
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
9504
|
+
'/clarifai.api.V2/ListNodepools', request, metadata || {}, methodDescriptor_V2_ListNodepools, callback);
|
|
9505
|
+
};
|
|
9506
|
+
/**
|
|
9507
|
+
* @param {!proto.clarifai.api.ListNodepoolsRequest} request The
|
|
9508
|
+
* request proto
|
|
9509
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
9510
|
+
* call metadata
|
|
9511
|
+
* @return {!Promise<!proto.clarifai.api.MultiNodepoolResponse>}
|
|
9512
|
+
* Promise that resolves to the response
|
|
9513
|
+
*/
|
|
9514
|
+
proto.clarifai.api.V2PromiseClient.prototype.listNodepools =
|
|
9515
|
+
function (request, metadata) {
|
|
9516
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
9517
|
+
'/clarifai.api.V2/ListNodepools', request, metadata || {}, methodDescriptor_V2_ListNodepools);
|
|
9518
|
+
};
|
|
9519
|
+
/**
|
|
9520
|
+
* @const
|
|
9521
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
9522
|
+
* !proto.clarifai.api.PostNodepoolsRequest,
|
|
9523
|
+
* !proto.clarifai.api.MultiNodepoolResponse>}
|
|
9524
|
+
*/
|
|
9525
|
+
const methodDescriptor_V2_PostNodepools = new grpc.web.MethodDescriptor('/clarifai.api.V2/PostNodepools', grpc.web.MethodType.UNARY, proto.clarifai.api.PostNodepoolsRequest, proto.clarifai.api.MultiNodepoolResponse,
|
|
9526
|
+
/**
|
|
9527
|
+
* @param {!proto.clarifai.api.PostNodepoolsRequest} request
|
|
9528
|
+
* @return {!Uint8Array}
|
|
9529
|
+
*/
|
|
9530
|
+
function (request) {
|
|
9531
|
+
return request.serializeBinary();
|
|
9532
|
+
}, proto.clarifai.api.MultiNodepoolResponse.deserializeBinary);
|
|
9533
|
+
/**
|
|
9534
|
+
* @param {!proto.clarifai.api.PostNodepoolsRequest} request The
|
|
9535
|
+
* request proto
|
|
9536
|
+
* @param {?Object<string, string>} metadata User defined
|
|
9537
|
+
* call metadata
|
|
9538
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiNodepoolResponse)}
|
|
9539
|
+
* callback The callback function(error, response)
|
|
9540
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiNodepoolResponse>|undefined}
|
|
9541
|
+
* The XHR Node Readable Stream
|
|
9542
|
+
*/
|
|
9543
|
+
proto.clarifai.api.V2Client.prototype.postNodepools =
|
|
9544
|
+
function (request, metadata, callback) {
|
|
9545
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
9546
|
+
'/clarifai.api.V2/PostNodepools', request, metadata || {}, methodDescriptor_V2_PostNodepools, callback);
|
|
9547
|
+
};
|
|
9548
|
+
/**
|
|
9549
|
+
* @param {!proto.clarifai.api.PostNodepoolsRequest} request The
|
|
9550
|
+
* request proto
|
|
9551
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
9552
|
+
* call metadata
|
|
9553
|
+
* @return {!Promise<!proto.clarifai.api.MultiNodepoolResponse>}
|
|
9554
|
+
* Promise that resolves to the response
|
|
9555
|
+
*/
|
|
9556
|
+
proto.clarifai.api.V2PromiseClient.prototype.postNodepools =
|
|
9557
|
+
function (request, metadata) {
|
|
9558
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
9559
|
+
'/clarifai.api.V2/PostNodepools', request, metadata || {}, methodDescriptor_V2_PostNodepools);
|
|
9560
|
+
};
|
|
9561
|
+
/**
|
|
9562
|
+
* @const
|
|
9563
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
9564
|
+
* !proto.clarifai.api.PatchNodepoolsRequest,
|
|
9565
|
+
* !proto.clarifai.api.MultiNodepoolResponse>}
|
|
9566
|
+
*/
|
|
9567
|
+
const methodDescriptor_V2_PatchNodepools = new grpc.web.MethodDescriptor('/clarifai.api.V2/PatchNodepools', grpc.web.MethodType.UNARY, proto.clarifai.api.PatchNodepoolsRequest, proto.clarifai.api.MultiNodepoolResponse,
|
|
9568
|
+
/**
|
|
9569
|
+
* @param {!proto.clarifai.api.PatchNodepoolsRequest} request
|
|
9570
|
+
* @return {!Uint8Array}
|
|
9571
|
+
*/
|
|
9572
|
+
function (request) {
|
|
9573
|
+
return request.serializeBinary();
|
|
9574
|
+
}, proto.clarifai.api.MultiNodepoolResponse.deserializeBinary);
|
|
9575
|
+
/**
|
|
9576
|
+
* @param {!proto.clarifai.api.PatchNodepoolsRequest} request The
|
|
9577
|
+
* request proto
|
|
9578
|
+
* @param {?Object<string, string>} metadata User defined
|
|
9579
|
+
* call metadata
|
|
9580
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiNodepoolResponse)}
|
|
9581
|
+
* callback The callback function(error, response)
|
|
9582
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiNodepoolResponse>|undefined}
|
|
9583
|
+
* The XHR Node Readable Stream
|
|
9584
|
+
*/
|
|
9585
|
+
proto.clarifai.api.V2Client.prototype.patchNodepools =
|
|
9586
|
+
function (request, metadata, callback) {
|
|
9587
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
9588
|
+
'/clarifai.api.V2/PatchNodepools', request, metadata || {}, methodDescriptor_V2_PatchNodepools, callback);
|
|
9589
|
+
};
|
|
9590
|
+
/**
|
|
9591
|
+
* @param {!proto.clarifai.api.PatchNodepoolsRequest} request The
|
|
9592
|
+
* request proto
|
|
9593
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
9594
|
+
* call metadata
|
|
9595
|
+
* @return {!Promise<!proto.clarifai.api.MultiNodepoolResponse>}
|
|
9596
|
+
* Promise that resolves to the response
|
|
9597
|
+
*/
|
|
9598
|
+
proto.clarifai.api.V2PromiseClient.prototype.patchNodepools =
|
|
9599
|
+
function (request, metadata) {
|
|
9600
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
9601
|
+
'/clarifai.api.V2/PatchNodepools', request, metadata || {}, methodDescriptor_V2_PatchNodepools);
|
|
9602
|
+
};
|
|
9603
|
+
/**
|
|
9604
|
+
* @const
|
|
9605
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
9606
|
+
* !proto.clarifai.api.DeleteNodepoolsRequest,
|
|
9607
|
+
* !proto.clarifai.api.status.BaseResponse>}
|
|
9608
|
+
*/
|
|
9609
|
+
const methodDescriptor_V2_DeleteNodepools = new grpc.web.MethodDescriptor('/clarifai.api.V2/DeleteNodepools', grpc.web.MethodType.UNARY, proto.clarifai.api.DeleteNodepoolsRequest, proto_clarifai_api_status_status_pb.BaseResponse,
|
|
9610
|
+
/**
|
|
9611
|
+
* @param {!proto.clarifai.api.DeleteNodepoolsRequest} request
|
|
9612
|
+
* @return {!Uint8Array}
|
|
9613
|
+
*/
|
|
9614
|
+
function (request) {
|
|
9615
|
+
return request.serializeBinary();
|
|
9616
|
+
}, proto_clarifai_api_status_status_pb.BaseResponse.deserializeBinary);
|
|
9617
|
+
/**
|
|
9618
|
+
* @param {!proto.clarifai.api.DeleteNodepoolsRequest} request The
|
|
9619
|
+
* request proto
|
|
9620
|
+
* @param {?Object<string, string>} metadata User defined
|
|
9621
|
+
* call metadata
|
|
9622
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.status.BaseResponse)}
|
|
9623
|
+
* callback The callback function(error, response)
|
|
9624
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.status.BaseResponse>|undefined}
|
|
9625
|
+
* The XHR Node Readable Stream
|
|
9626
|
+
*/
|
|
9627
|
+
proto.clarifai.api.V2Client.prototype.deleteNodepools =
|
|
9628
|
+
function (request, metadata, callback) {
|
|
9629
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
9630
|
+
'/clarifai.api.V2/DeleteNodepools', request, metadata || {}, methodDescriptor_V2_DeleteNodepools, callback);
|
|
9631
|
+
};
|
|
9632
|
+
/**
|
|
9633
|
+
* @param {!proto.clarifai.api.DeleteNodepoolsRequest} request The
|
|
9634
|
+
* request proto
|
|
9635
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
9636
|
+
* call metadata
|
|
9637
|
+
* @return {!Promise<!proto.clarifai.api.status.BaseResponse>}
|
|
9638
|
+
* Promise that resolves to the response
|
|
9639
|
+
*/
|
|
9640
|
+
proto.clarifai.api.V2PromiseClient.prototype.deleteNodepools =
|
|
9641
|
+
function (request, metadata) {
|
|
9642
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
9643
|
+
'/clarifai.api.V2/DeleteNodepools', request, metadata || {}, methodDescriptor_V2_DeleteNodepools);
|
|
9644
|
+
};
|
|
9267
9645
|
module.exports = proto.clarifai.api;
|