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
|
@@ -1540,6 +1540,69 @@ export class V2Client {
|
|
|
1540
1540
|
response: proto_clarifai_api_service_pb.MultiTrainingTimeEstimateResponse) => void
|
|
1541
1541
|
): grpcWeb.ClientReadableStream<proto_clarifai_api_service_pb.MultiTrainingTimeEstimateResponse>;
|
|
1542
1542
|
|
|
1543
|
+
getComputeCluster(
|
|
1544
|
+
request: proto_clarifai_api_service_pb.GetComputeClusterRequest,
|
|
1545
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
1546
|
+
callback: (err: grpcWeb.RpcError,
|
|
1547
|
+
response: proto_clarifai_api_service_pb.SingleComputeClusterResponse) => void
|
|
1548
|
+
): grpcWeb.ClientReadableStream<proto_clarifai_api_service_pb.SingleComputeClusterResponse>;
|
|
1549
|
+
|
|
1550
|
+
listComputeClusters(
|
|
1551
|
+
request: proto_clarifai_api_service_pb.ListComputeClustersRequest,
|
|
1552
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
1553
|
+
callback: (err: grpcWeb.RpcError,
|
|
1554
|
+
response: proto_clarifai_api_service_pb.MultiComputeClusterResponse) => void
|
|
1555
|
+
): grpcWeb.ClientReadableStream<proto_clarifai_api_service_pb.MultiComputeClusterResponse>;
|
|
1556
|
+
|
|
1557
|
+
postComputeClusters(
|
|
1558
|
+
request: proto_clarifai_api_service_pb.PostComputeClustersRequest,
|
|
1559
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
1560
|
+
callback: (err: grpcWeb.RpcError,
|
|
1561
|
+
response: proto_clarifai_api_service_pb.MultiComputeClusterResponse) => void
|
|
1562
|
+
): grpcWeb.ClientReadableStream<proto_clarifai_api_service_pb.MultiComputeClusterResponse>;
|
|
1563
|
+
|
|
1564
|
+
deleteComputeClusters(
|
|
1565
|
+
request: proto_clarifai_api_service_pb.DeleteComputeClustersRequest,
|
|
1566
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
1567
|
+
callback: (err: grpcWeb.RpcError,
|
|
1568
|
+
response: proto_clarifai_api_status_status_pb.BaseResponse) => void
|
|
1569
|
+
): grpcWeb.ClientReadableStream<proto_clarifai_api_status_status_pb.BaseResponse>;
|
|
1570
|
+
|
|
1571
|
+
getNodepool(
|
|
1572
|
+
request: proto_clarifai_api_service_pb.GetNodepoolRequest,
|
|
1573
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
1574
|
+
callback: (err: grpcWeb.RpcError,
|
|
1575
|
+
response: proto_clarifai_api_service_pb.SingleNodepoolResponse) => void
|
|
1576
|
+
): grpcWeb.ClientReadableStream<proto_clarifai_api_service_pb.SingleNodepoolResponse>;
|
|
1577
|
+
|
|
1578
|
+
listNodepools(
|
|
1579
|
+
request: proto_clarifai_api_service_pb.ListNodepoolsRequest,
|
|
1580
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
1581
|
+
callback: (err: grpcWeb.RpcError,
|
|
1582
|
+
response: proto_clarifai_api_service_pb.MultiNodepoolResponse) => void
|
|
1583
|
+
): grpcWeb.ClientReadableStream<proto_clarifai_api_service_pb.MultiNodepoolResponse>;
|
|
1584
|
+
|
|
1585
|
+
postNodepools(
|
|
1586
|
+
request: proto_clarifai_api_service_pb.PostNodepoolsRequest,
|
|
1587
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
1588
|
+
callback: (err: grpcWeb.RpcError,
|
|
1589
|
+
response: proto_clarifai_api_service_pb.MultiNodepoolResponse) => void
|
|
1590
|
+
): grpcWeb.ClientReadableStream<proto_clarifai_api_service_pb.MultiNodepoolResponse>;
|
|
1591
|
+
|
|
1592
|
+
patchNodepools(
|
|
1593
|
+
request: proto_clarifai_api_service_pb.PatchNodepoolsRequest,
|
|
1594
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
1595
|
+
callback: (err: grpcWeb.RpcError,
|
|
1596
|
+
response: proto_clarifai_api_service_pb.MultiNodepoolResponse) => void
|
|
1597
|
+
): grpcWeb.ClientReadableStream<proto_clarifai_api_service_pb.MultiNodepoolResponse>;
|
|
1598
|
+
|
|
1599
|
+
deleteNodepools(
|
|
1600
|
+
request: proto_clarifai_api_service_pb.DeleteNodepoolsRequest,
|
|
1601
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
1602
|
+
callback: (err: grpcWeb.RpcError,
|
|
1603
|
+
response: proto_clarifai_api_status_status_pb.BaseResponse) => void
|
|
1604
|
+
): grpcWeb.ClientReadableStream<proto_clarifai_api_status_status_pb.BaseResponse>;
|
|
1605
|
+
|
|
1543
1606
|
}
|
|
1544
1607
|
|
|
1545
1608
|
export class V2PromiseClient {
|
|
@@ -2642,5 +2705,50 @@ export class V2PromiseClient {
|
|
|
2642
2705
|
metadata?: grpcWeb.Metadata
|
|
2643
2706
|
): Promise<proto_clarifai_api_service_pb.MultiTrainingTimeEstimateResponse>;
|
|
2644
2707
|
|
|
2708
|
+
getComputeCluster(
|
|
2709
|
+
request: proto_clarifai_api_service_pb.GetComputeClusterRequest,
|
|
2710
|
+
metadata?: grpcWeb.Metadata
|
|
2711
|
+
): Promise<proto_clarifai_api_service_pb.SingleComputeClusterResponse>;
|
|
2712
|
+
|
|
2713
|
+
listComputeClusters(
|
|
2714
|
+
request: proto_clarifai_api_service_pb.ListComputeClustersRequest,
|
|
2715
|
+
metadata?: grpcWeb.Metadata
|
|
2716
|
+
): Promise<proto_clarifai_api_service_pb.MultiComputeClusterResponse>;
|
|
2717
|
+
|
|
2718
|
+
postComputeClusters(
|
|
2719
|
+
request: proto_clarifai_api_service_pb.PostComputeClustersRequest,
|
|
2720
|
+
metadata?: grpcWeb.Metadata
|
|
2721
|
+
): Promise<proto_clarifai_api_service_pb.MultiComputeClusterResponse>;
|
|
2722
|
+
|
|
2723
|
+
deleteComputeClusters(
|
|
2724
|
+
request: proto_clarifai_api_service_pb.DeleteComputeClustersRequest,
|
|
2725
|
+
metadata?: grpcWeb.Metadata
|
|
2726
|
+
): Promise<proto_clarifai_api_status_status_pb.BaseResponse>;
|
|
2727
|
+
|
|
2728
|
+
getNodepool(
|
|
2729
|
+
request: proto_clarifai_api_service_pb.GetNodepoolRequest,
|
|
2730
|
+
metadata?: grpcWeb.Metadata
|
|
2731
|
+
): Promise<proto_clarifai_api_service_pb.SingleNodepoolResponse>;
|
|
2732
|
+
|
|
2733
|
+
listNodepools(
|
|
2734
|
+
request: proto_clarifai_api_service_pb.ListNodepoolsRequest,
|
|
2735
|
+
metadata?: grpcWeb.Metadata
|
|
2736
|
+
): Promise<proto_clarifai_api_service_pb.MultiNodepoolResponse>;
|
|
2737
|
+
|
|
2738
|
+
postNodepools(
|
|
2739
|
+
request: proto_clarifai_api_service_pb.PostNodepoolsRequest,
|
|
2740
|
+
metadata?: grpcWeb.Metadata
|
|
2741
|
+
): Promise<proto_clarifai_api_service_pb.MultiNodepoolResponse>;
|
|
2742
|
+
|
|
2743
|
+
patchNodepools(
|
|
2744
|
+
request: proto_clarifai_api_service_pb.PatchNodepoolsRequest,
|
|
2745
|
+
metadata?: grpcWeb.Metadata
|
|
2746
|
+
): Promise<proto_clarifai_api_service_pb.MultiNodepoolResponse>;
|
|
2747
|
+
|
|
2748
|
+
deleteNodepools(
|
|
2749
|
+
request: proto_clarifai_api_service_pb.DeleteNodepoolsRequest,
|
|
2750
|
+
metadata?: grpcWeb.Metadata
|
|
2751
|
+
): Promise<proto_clarifai_api_status_status_pb.BaseResponse>;
|
|
2752
|
+
|
|
2645
2753
|
}
|
|
2646
2754
|
|
|
@@ -13449,5 +13449,554 @@ proto.clarifai.api.V2PromiseClient.prototype.postModelVersionsTrainingTimeEstima
|
|
|
13449
13449
|
};
|
|
13450
13450
|
|
|
13451
13451
|
|
|
13452
|
+
/**
|
|
13453
|
+
* @const
|
|
13454
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
13455
|
+
* !proto.clarifai.api.GetComputeClusterRequest,
|
|
13456
|
+
* !proto.clarifai.api.SingleComputeClusterResponse>}
|
|
13457
|
+
*/
|
|
13458
|
+
const methodDescriptor_V2_GetComputeCluster = new grpc.web.MethodDescriptor(
|
|
13459
|
+
'/clarifai.api.V2/GetComputeCluster',
|
|
13460
|
+
grpc.web.MethodType.UNARY,
|
|
13461
|
+
proto.clarifai.api.GetComputeClusterRequest,
|
|
13462
|
+
proto.clarifai.api.SingleComputeClusterResponse,
|
|
13463
|
+
/**
|
|
13464
|
+
* @param {!proto.clarifai.api.GetComputeClusterRequest} request
|
|
13465
|
+
* @return {!Uint8Array}
|
|
13466
|
+
*/
|
|
13467
|
+
function(request) {
|
|
13468
|
+
return request.serializeBinary();
|
|
13469
|
+
},
|
|
13470
|
+
proto.clarifai.api.SingleComputeClusterResponse.deserializeBinary
|
|
13471
|
+
);
|
|
13472
|
+
|
|
13473
|
+
|
|
13474
|
+
/**
|
|
13475
|
+
* @param {!proto.clarifai.api.GetComputeClusterRequest} request The
|
|
13476
|
+
* request proto
|
|
13477
|
+
* @param {?Object<string, string>} metadata User defined
|
|
13478
|
+
* call metadata
|
|
13479
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.SingleComputeClusterResponse)}
|
|
13480
|
+
* callback The callback function(error, response)
|
|
13481
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.SingleComputeClusterResponse>|undefined}
|
|
13482
|
+
* The XHR Node Readable Stream
|
|
13483
|
+
*/
|
|
13484
|
+
proto.clarifai.api.V2Client.prototype.getComputeCluster =
|
|
13485
|
+
function(request, metadata, callback) {
|
|
13486
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
13487
|
+
'/clarifai.api.V2/GetComputeCluster',
|
|
13488
|
+
request,
|
|
13489
|
+
metadata || {},
|
|
13490
|
+
methodDescriptor_V2_GetComputeCluster,
|
|
13491
|
+
callback);
|
|
13492
|
+
};
|
|
13493
|
+
|
|
13494
|
+
|
|
13495
|
+
/**
|
|
13496
|
+
* @param {!proto.clarifai.api.GetComputeClusterRequest} request The
|
|
13497
|
+
* request proto
|
|
13498
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
13499
|
+
* call metadata
|
|
13500
|
+
* @return {!Promise<!proto.clarifai.api.SingleComputeClusterResponse>}
|
|
13501
|
+
* Promise that resolves to the response
|
|
13502
|
+
*/
|
|
13503
|
+
proto.clarifai.api.V2PromiseClient.prototype.getComputeCluster =
|
|
13504
|
+
function(request, metadata) {
|
|
13505
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
13506
|
+
'/clarifai.api.V2/GetComputeCluster',
|
|
13507
|
+
request,
|
|
13508
|
+
metadata || {},
|
|
13509
|
+
methodDescriptor_V2_GetComputeCluster);
|
|
13510
|
+
};
|
|
13511
|
+
|
|
13512
|
+
|
|
13513
|
+
/**
|
|
13514
|
+
* @const
|
|
13515
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
13516
|
+
* !proto.clarifai.api.ListComputeClustersRequest,
|
|
13517
|
+
* !proto.clarifai.api.MultiComputeClusterResponse>}
|
|
13518
|
+
*/
|
|
13519
|
+
const methodDescriptor_V2_ListComputeClusters = new grpc.web.MethodDescriptor(
|
|
13520
|
+
'/clarifai.api.V2/ListComputeClusters',
|
|
13521
|
+
grpc.web.MethodType.UNARY,
|
|
13522
|
+
proto.clarifai.api.ListComputeClustersRequest,
|
|
13523
|
+
proto.clarifai.api.MultiComputeClusterResponse,
|
|
13524
|
+
/**
|
|
13525
|
+
* @param {!proto.clarifai.api.ListComputeClustersRequest} request
|
|
13526
|
+
* @return {!Uint8Array}
|
|
13527
|
+
*/
|
|
13528
|
+
function(request) {
|
|
13529
|
+
return request.serializeBinary();
|
|
13530
|
+
},
|
|
13531
|
+
proto.clarifai.api.MultiComputeClusterResponse.deserializeBinary
|
|
13532
|
+
);
|
|
13533
|
+
|
|
13534
|
+
|
|
13535
|
+
/**
|
|
13536
|
+
* @param {!proto.clarifai.api.ListComputeClustersRequest} request The
|
|
13537
|
+
* request proto
|
|
13538
|
+
* @param {?Object<string, string>} metadata User defined
|
|
13539
|
+
* call metadata
|
|
13540
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiComputeClusterResponse)}
|
|
13541
|
+
* callback The callback function(error, response)
|
|
13542
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiComputeClusterResponse>|undefined}
|
|
13543
|
+
* The XHR Node Readable Stream
|
|
13544
|
+
*/
|
|
13545
|
+
proto.clarifai.api.V2Client.prototype.listComputeClusters =
|
|
13546
|
+
function(request, metadata, callback) {
|
|
13547
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
13548
|
+
'/clarifai.api.V2/ListComputeClusters',
|
|
13549
|
+
request,
|
|
13550
|
+
metadata || {},
|
|
13551
|
+
methodDescriptor_V2_ListComputeClusters,
|
|
13552
|
+
callback);
|
|
13553
|
+
};
|
|
13554
|
+
|
|
13555
|
+
|
|
13556
|
+
/**
|
|
13557
|
+
* @param {!proto.clarifai.api.ListComputeClustersRequest} request The
|
|
13558
|
+
* request proto
|
|
13559
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
13560
|
+
* call metadata
|
|
13561
|
+
* @return {!Promise<!proto.clarifai.api.MultiComputeClusterResponse>}
|
|
13562
|
+
* Promise that resolves to the response
|
|
13563
|
+
*/
|
|
13564
|
+
proto.clarifai.api.V2PromiseClient.prototype.listComputeClusters =
|
|
13565
|
+
function(request, metadata) {
|
|
13566
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
13567
|
+
'/clarifai.api.V2/ListComputeClusters',
|
|
13568
|
+
request,
|
|
13569
|
+
metadata || {},
|
|
13570
|
+
methodDescriptor_V2_ListComputeClusters);
|
|
13571
|
+
};
|
|
13572
|
+
|
|
13573
|
+
|
|
13574
|
+
/**
|
|
13575
|
+
* @const
|
|
13576
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
13577
|
+
* !proto.clarifai.api.PostComputeClustersRequest,
|
|
13578
|
+
* !proto.clarifai.api.MultiComputeClusterResponse>}
|
|
13579
|
+
*/
|
|
13580
|
+
const methodDescriptor_V2_PostComputeClusters = new grpc.web.MethodDescriptor(
|
|
13581
|
+
'/clarifai.api.V2/PostComputeClusters',
|
|
13582
|
+
grpc.web.MethodType.UNARY,
|
|
13583
|
+
proto.clarifai.api.PostComputeClustersRequest,
|
|
13584
|
+
proto.clarifai.api.MultiComputeClusterResponse,
|
|
13585
|
+
/**
|
|
13586
|
+
* @param {!proto.clarifai.api.PostComputeClustersRequest} request
|
|
13587
|
+
* @return {!Uint8Array}
|
|
13588
|
+
*/
|
|
13589
|
+
function(request) {
|
|
13590
|
+
return request.serializeBinary();
|
|
13591
|
+
},
|
|
13592
|
+
proto.clarifai.api.MultiComputeClusterResponse.deserializeBinary
|
|
13593
|
+
);
|
|
13594
|
+
|
|
13595
|
+
|
|
13596
|
+
/**
|
|
13597
|
+
* @param {!proto.clarifai.api.PostComputeClustersRequest} request The
|
|
13598
|
+
* request proto
|
|
13599
|
+
* @param {?Object<string, string>} metadata User defined
|
|
13600
|
+
* call metadata
|
|
13601
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiComputeClusterResponse)}
|
|
13602
|
+
* callback The callback function(error, response)
|
|
13603
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiComputeClusterResponse>|undefined}
|
|
13604
|
+
* The XHR Node Readable Stream
|
|
13605
|
+
*/
|
|
13606
|
+
proto.clarifai.api.V2Client.prototype.postComputeClusters =
|
|
13607
|
+
function(request, metadata, callback) {
|
|
13608
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
13609
|
+
'/clarifai.api.V2/PostComputeClusters',
|
|
13610
|
+
request,
|
|
13611
|
+
metadata || {},
|
|
13612
|
+
methodDescriptor_V2_PostComputeClusters,
|
|
13613
|
+
callback);
|
|
13614
|
+
};
|
|
13615
|
+
|
|
13616
|
+
|
|
13617
|
+
/**
|
|
13618
|
+
* @param {!proto.clarifai.api.PostComputeClustersRequest} request The
|
|
13619
|
+
* request proto
|
|
13620
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
13621
|
+
* call metadata
|
|
13622
|
+
* @return {!Promise<!proto.clarifai.api.MultiComputeClusterResponse>}
|
|
13623
|
+
* Promise that resolves to the response
|
|
13624
|
+
*/
|
|
13625
|
+
proto.clarifai.api.V2PromiseClient.prototype.postComputeClusters =
|
|
13626
|
+
function(request, metadata) {
|
|
13627
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
13628
|
+
'/clarifai.api.V2/PostComputeClusters',
|
|
13629
|
+
request,
|
|
13630
|
+
metadata || {},
|
|
13631
|
+
methodDescriptor_V2_PostComputeClusters);
|
|
13632
|
+
};
|
|
13633
|
+
|
|
13634
|
+
|
|
13635
|
+
/**
|
|
13636
|
+
* @const
|
|
13637
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
13638
|
+
* !proto.clarifai.api.DeleteComputeClustersRequest,
|
|
13639
|
+
* !proto.clarifai.api.status.BaseResponse>}
|
|
13640
|
+
*/
|
|
13641
|
+
const methodDescriptor_V2_DeleteComputeClusters = new grpc.web.MethodDescriptor(
|
|
13642
|
+
'/clarifai.api.V2/DeleteComputeClusters',
|
|
13643
|
+
grpc.web.MethodType.UNARY,
|
|
13644
|
+
proto.clarifai.api.DeleteComputeClustersRequest,
|
|
13645
|
+
proto_clarifai_api_status_status_pb.BaseResponse,
|
|
13646
|
+
/**
|
|
13647
|
+
* @param {!proto.clarifai.api.DeleteComputeClustersRequest} request
|
|
13648
|
+
* @return {!Uint8Array}
|
|
13649
|
+
*/
|
|
13650
|
+
function(request) {
|
|
13651
|
+
return request.serializeBinary();
|
|
13652
|
+
},
|
|
13653
|
+
proto_clarifai_api_status_status_pb.BaseResponse.deserializeBinary
|
|
13654
|
+
);
|
|
13655
|
+
|
|
13656
|
+
|
|
13657
|
+
/**
|
|
13658
|
+
* @param {!proto.clarifai.api.DeleteComputeClustersRequest} request The
|
|
13659
|
+
* request proto
|
|
13660
|
+
* @param {?Object<string, string>} metadata User defined
|
|
13661
|
+
* call metadata
|
|
13662
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.status.BaseResponse)}
|
|
13663
|
+
* callback The callback function(error, response)
|
|
13664
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.status.BaseResponse>|undefined}
|
|
13665
|
+
* The XHR Node Readable Stream
|
|
13666
|
+
*/
|
|
13667
|
+
proto.clarifai.api.V2Client.prototype.deleteComputeClusters =
|
|
13668
|
+
function(request, metadata, callback) {
|
|
13669
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
13670
|
+
'/clarifai.api.V2/DeleteComputeClusters',
|
|
13671
|
+
request,
|
|
13672
|
+
metadata || {},
|
|
13673
|
+
methodDescriptor_V2_DeleteComputeClusters,
|
|
13674
|
+
callback);
|
|
13675
|
+
};
|
|
13676
|
+
|
|
13677
|
+
|
|
13678
|
+
/**
|
|
13679
|
+
* @param {!proto.clarifai.api.DeleteComputeClustersRequest} request The
|
|
13680
|
+
* request proto
|
|
13681
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
13682
|
+
* call metadata
|
|
13683
|
+
* @return {!Promise<!proto.clarifai.api.status.BaseResponse>}
|
|
13684
|
+
* Promise that resolves to the response
|
|
13685
|
+
*/
|
|
13686
|
+
proto.clarifai.api.V2PromiseClient.prototype.deleteComputeClusters =
|
|
13687
|
+
function(request, metadata) {
|
|
13688
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
13689
|
+
'/clarifai.api.V2/DeleteComputeClusters',
|
|
13690
|
+
request,
|
|
13691
|
+
metadata || {},
|
|
13692
|
+
methodDescriptor_V2_DeleteComputeClusters);
|
|
13693
|
+
};
|
|
13694
|
+
|
|
13695
|
+
|
|
13696
|
+
/**
|
|
13697
|
+
* @const
|
|
13698
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
13699
|
+
* !proto.clarifai.api.GetNodepoolRequest,
|
|
13700
|
+
* !proto.clarifai.api.SingleNodepoolResponse>}
|
|
13701
|
+
*/
|
|
13702
|
+
const methodDescriptor_V2_GetNodepool = new grpc.web.MethodDescriptor(
|
|
13703
|
+
'/clarifai.api.V2/GetNodepool',
|
|
13704
|
+
grpc.web.MethodType.UNARY,
|
|
13705
|
+
proto.clarifai.api.GetNodepoolRequest,
|
|
13706
|
+
proto.clarifai.api.SingleNodepoolResponse,
|
|
13707
|
+
/**
|
|
13708
|
+
* @param {!proto.clarifai.api.GetNodepoolRequest} request
|
|
13709
|
+
* @return {!Uint8Array}
|
|
13710
|
+
*/
|
|
13711
|
+
function(request) {
|
|
13712
|
+
return request.serializeBinary();
|
|
13713
|
+
},
|
|
13714
|
+
proto.clarifai.api.SingleNodepoolResponse.deserializeBinary
|
|
13715
|
+
);
|
|
13716
|
+
|
|
13717
|
+
|
|
13718
|
+
/**
|
|
13719
|
+
* @param {!proto.clarifai.api.GetNodepoolRequest} request The
|
|
13720
|
+
* request proto
|
|
13721
|
+
* @param {?Object<string, string>} metadata User defined
|
|
13722
|
+
* call metadata
|
|
13723
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.SingleNodepoolResponse)}
|
|
13724
|
+
* callback The callback function(error, response)
|
|
13725
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.SingleNodepoolResponse>|undefined}
|
|
13726
|
+
* The XHR Node Readable Stream
|
|
13727
|
+
*/
|
|
13728
|
+
proto.clarifai.api.V2Client.prototype.getNodepool =
|
|
13729
|
+
function(request, metadata, callback) {
|
|
13730
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
13731
|
+
'/clarifai.api.V2/GetNodepool',
|
|
13732
|
+
request,
|
|
13733
|
+
metadata || {},
|
|
13734
|
+
methodDescriptor_V2_GetNodepool,
|
|
13735
|
+
callback);
|
|
13736
|
+
};
|
|
13737
|
+
|
|
13738
|
+
|
|
13739
|
+
/**
|
|
13740
|
+
* @param {!proto.clarifai.api.GetNodepoolRequest} request The
|
|
13741
|
+
* request proto
|
|
13742
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
13743
|
+
* call metadata
|
|
13744
|
+
* @return {!Promise<!proto.clarifai.api.SingleNodepoolResponse>}
|
|
13745
|
+
* Promise that resolves to the response
|
|
13746
|
+
*/
|
|
13747
|
+
proto.clarifai.api.V2PromiseClient.prototype.getNodepool =
|
|
13748
|
+
function(request, metadata) {
|
|
13749
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
13750
|
+
'/clarifai.api.V2/GetNodepool',
|
|
13751
|
+
request,
|
|
13752
|
+
metadata || {},
|
|
13753
|
+
methodDescriptor_V2_GetNodepool);
|
|
13754
|
+
};
|
|
13755
|
+
|
|
13756
|
+
|
|
13757
|
+
/**
|
|
13758
|
+
* @const
|
|
13759
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
13760
|
+
* !proto.clarifai.api.ListNodepoolsRequest,
|
|
13761
|
+
* !proto.clarifai.api.MultiNodepoolResponse>}
|
|
13762
|
+
*/
|
|
13763
|
+
const methodDescriptor_V2_ListNodepools = new grpc.web.MethodDescriptor(
|
|
13764
|
+
'/clarifai.api.V2/ListNodepools',
|
|
13765
|
+
grpc.web.MethodType.UNARY,
|
|
13766
|
+
proto.clarifai.api.ListNodepoolsRequest,
|
|
13767
|
+
proto.clarifai.api.MultiNodepoolResponse,
|
|
13768
|
+
/**
|
|
13769
|
+
* @param {!proto.clarifai.api.ListNodepoolsRequest} request
|
|
13770
|
+
* @return {!Uint8Array}
|
|
13771
|
+
*/
|
|
13772
|
+
function(request) {
|
|
13773
|
+
return request.serializeBinary();
|
|
13774
|
+
},
|
|
13775
|
+
proto.clarifai.api.MultiNodepoolResponse.deserializeBinary
|
|
13776
|
+
);
|
|
13777
|
+
|
|
13778
|
+
|
|
13779
|
+
/**
|
|
13780
|
+
* @param {!proto.clarifai.api.ListNodepoolsRequest} request The
|
|
13781
|
+
* request proto
|
|
13782
|
+
* @param {?Object<string, string>} metadata User defined
|
|
13783
|
+
* call metadata
|
|
13784
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiNodepoolResponse)}
|
|
13785
|
+
* callback The callback function(error, response)
|
|
13786
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiNodepoolResponse>|undefined}
|
|
13787
|
+
* The XHR Node Readable Stream
|
|
13788
|
+
*/
|
|
13789
|
+
proto.clarifai.api.V2Client.prototype.listNodepools =
|
|
13790
|
+
function(request, metadata, callback) {
|
|
13791
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
13792
|
+
'/clarifai.api.V2/ListNodepools',
|
|
13793
|
+
request,
|
|
13794
|
+
metadata || {},
|
|
13795
|
+
methodDescriptor_V2_ListNodepools,
|
|
13796
|
+
callback);
|
|
13797
|
+
};
|
|
13798
|
+
|
|
13799
|
+
|
|
13800
|
+
/**
|
|
13801
|
+
* @param {!proto.clarifai.api.ListNodepoolsRequest} request The
|
|
13802
|
+
* request proto
|
|
13803
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
13804
|
+
* call metadata
|
|
13805
|
+
* @return {!Promise<!proto.clarifai.api.MultiNodepoolResponse>}
|
|
13806
|
+
* Promise that resolves to the response
|
|
13807
|
+
*/
|
|
13808
|
+
proto.clarifai.api.V2PromiseClient.prototype.listNodepools =
|
|
13809
|
+
function(request, metadata) {
|
|
13810
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
13811
|
+
'/clarifai.api.V2/ListNodepools',
|
|
13812
|
+
request,
|
|
13813
|
+
metadata || {},
|
|
13814
|
+
methodDescriptor_V2_ListNodepools);
|
|
13815
|
+
};
|
|
13816
|
+
|
|
13817
|
+
|
|
13818
|
+
/**
|
|
13819
|
+
* @const
|
|
13820
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
13821
|
+
* !proto.clarifai.api.PostNodepoolsRequest,
|
|
13822
|
+
* !proto.clarifai.api.MultiNodepoolResponse>}
|
|
13823
|
+
*/
|
|
13824
|
+
const methodDescriptor_V2_PostNodepools = new grpc.web.MethodDescriptor(
|
|
13825
|
+
'/clarifai.api.V2/PostNodepools',
|
|
13826
|
+
grpc.web.MethodType.UNARY,
|
|
13827
|
+
proto.clarifai.api.PostNodepoolsRequest,
|
|
13828
|
+
proto.clarifai.api.MultiNodepoolResponse,
|
|
13829
|
+
/**
|
|
13830
|
+
* @param {!proto.clarifai.api.PostNodepoolsRequest} request
|
|
13831
|
+
* @return {!Uint8Array}
|
|
13832
|
+
*/
|
|
13833
|
+
function(request) {
|
|
13834
|
+
return request.serializeBinary();
|
|
13835
|
+
},
|
|
13836
|
+
proto.clarifai.api.MultiNodepoolResponse.deserializeBinary
|
|
13837
|
+
);
|
|
13838
|
+
|
|
13839
|
+
|
|
13840
|
+
/**
|
|
13841
|
+
* @param {!proto.clarifai.api.PostNodepoolsRequest} request The
|
|
13842
|
+
* request proto
|
|
13843
|
+
* @param {?Object<string, string>} metadata User defined
|
|
13844
|
+
* call metadata
|
|
13845
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiNodepoolResponse)}
|
|
13846
|
+
* callback The callback function(error, response)
|
|
13847
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiNodepoolResponse>|undefined}
|
|
13848
|
+
* The XHR Node Readable Stream
|
|
13849
|
+
*/
|
|
13850
|
+
proto.clarifai.api.V2Client.prototype.postNodepools =
|
|
13851
|
+
function(request, metadata, callback) {
|
|
13852
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
13853
|
+
'/clarifai.api.V2/PostNodepools',
|
|
13854
|
+
request,
|
|
13855
|
+
metadata || {},
|
|
13856
|
+
methodDescriptor_V2_PostNodepools,
|
|
13857
|
+
callback);
|
|
13858
|
+
};
|
|
13859
|
+
|
|
13860
|
+
|
|
13861
|
+
/**
|
|
13862
|
+
* @param {!proto.clarifai.api.PostNodepoolsRequest} request The
|
|
13863
|
+
* request proto
|
|
13864
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
13865
|
+
* call metadata
|
|
13866
|
+
* @return {!Promise<!proto.clarifai.api.MultiNodepoolResponse>}
|
|
13867
|
+
* Promise that resolves to the response
|
|
13868
|
+
*/
|
|
13869
|
+
proto.clarifai.api.V2PromiseClient.prototype.postNodepools =
|
|
13870
|
+
function(request, metadata) {
|
|
13871
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
13872
|
+
'/clarifai.api.V2/PostNodepools',
|
|
13873
|
+
request,
|
|
13874
|
+
metadata || {},
|
|
13875
|
+
methodDescriptor_V2_PostNodepools);
|
|
13876
|
+
};
|
|
13877
|
+
|
|
13878
|
+
|
|
13879
|
+
/**
|
|
13880
|
+
* @const
|
|
13881
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
13882
|
+
* !proto.clarifai.api.PatchNodepoolsRequest,
|
|
13883
|
+
* !proto.clarifai.api.MultiNodepoolResponse>}
|
|
13884
|
+
*/
|
|
13885
|
+
const methodDescriptor_V2_PatchNodepools = new grpc.web.MethodDescriptor(
|
|
13886
|
+
'/clarifai.api.V2/PatchNodepools',
|
|
13887
|
+
grpc.web.MethodType.UNARY,
|
|
13888
|
+
proto.clarifai.api.PatchNodepoolsRequest,
|
|
13889
|
+
proto.clarifai.api.MultiNodepoolResponse,
|
|
13890
|
+
/**
|
|
13891
|
+
* @param {!proto.clarifai.api.PatchNodepoolsRequest} request
|
|
13892
|
+
* @return {!Uint8Array}
|
|
13893
|
+
*/
|
|
13894
|
+
function(request) {
|
|
13895
|
+
return request.serializeBinary();
|
|
13896
|
+
},
|
|
13897
|
+
proto.clarifai.api.MultiNodepoolResponse.deserializeBinary
|
|
13898
|
+
);
|
|
13899
|
+
|
|
13900
|
+
|
|
13901
|
+
/**
|
|
13902
|
+
* @param {!proto.clarifai.api.PatchNodepoolsRequest} request The
|
|
13903
|
+
* request proto
|
|
13904
|
+
* @param {?Object<string, string>} metadata User defined
|
|
13905
|
+
* call metadata
|
|
13906
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiNodepoolResponse)}
|
|
13907
|
+
* callback The callback function(error, response)
|
|
13908
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiNodepoolResponse>|undefined}
|
|
13909
|
+
* The XHR Node Readable Stream
|
|
13910
|
+
*/
|
|
13911
|
+
proto.clarifai.api.V2Client.prototype.patchNodepools =
|
|
13912
|
+
function(request, metadata, callback) {
|
|
13913
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
13914
|
+
'/clarifai.api.V2/PatchNodepools',
|
|
13915
|
+
request,
|
|
13916
|
+
metadata || {},
|
|
13917
|
+
methodDescriptor_V2_PatchNodepools,
|
|
13918
|
+
callback);
|
|
13919
|
+
};
|
|
13920
|
+
|
|
13921
|
+
|
|
13922
|
+
/**
|
|
13923
|
+
* @param {!proto.clarifai.api.PatchNodepoolsRequest} request The
|
|
13924
|
+
* request proto
|
|
13925
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
13926
|
+
* call metadata
|
|
13927
|
+
* @return {!Promise<!proto.clarifai.api.MultiNodepoolResponse>}
|
|
13928
|
+
* Promise that resolves to the response
|
|
13929
|
+
*/
|
|
13930
|
+
proto.clarifai.api.V2PromiseClient.prototype.patchNodepools =
|
|
13931
|
+
function(request, metadata) {
|
|
13932
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
13933
|
+
'/clarifai.api.V2/PatchNodepools',
|
|
13934
|
+
request,
|
|
13935
|
+
metadata || {},
|
|
13936
|
+
methodDescriptor_V2_PatchNodepools);
|
|
13937
|
+
};
|
|
13938
|
+
|
|
13939
|
+
|
|
13940
|
+
/**
|
|
13941
|
+
* @const
|
|
13942
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
13943
|
+
* !proto.clarifai.api.DeleteNodepoolsRequest,
|
|
13944
|
+
* !proto.clarifai.api.status.BaseResponse>}
|
|
13945
|
+
*/
|
|
13946
|
+
const methodDescriptor_V2_DeleteNodepools = new grpc.web.MethodDescriptor(
|
|
13947
|
+
'/clarifai.api.V2/DeleteNodepools',
|
|
13948
|
+
grpc.web.MethodType.UNARY,
|
|
13949
|
+
proto.clarifai.api.DeleteNodepoolsRequest,
|
|
13950
|
+
proto_clarifai_api_status_status_pb.BaseResponse,
|
|
13951
|
+
/**
|
|
13952
|
+
* @param {!proto.clarifai.api.DeleteNodepoolsRequest} request
|
|
13953
|
+
* @return {!Uint8Array}
|
|
13954
|
+
*/
|
|
13955
|
+
function(request) {
|
|
13956
|
+
return request.serializeBinary();
|
|
13957
|
+
},
|
|
13958
|
+
proto_clarifai_api_status_status_pb.BaseResponse.deserializeBinary
|
|
13959
|
+
);
|
|
13960
|
+
|
|
13961
|
+
|
|
13962
|
+
/**
|
|
13963
|
+
* @param {!proto.clarifai.api.DeleteNodepoolsRequest} request The
|
|
13964
|
+
* request proto
|
|
13965
|
+
* @param {?Object<string, string>} metadata User defined
|
|
13966
|
+
* call metadata
|
|
13967
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.status.BaseResponse)}
|
|
13968
|
+
* callback The callback function(error, response)
|
|
13969
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.status.BaseResponse>|undefined}
|
|
13970
|
+
* The XHR Node Readable Stream
|
|
13971
|
+
*/
|
|
13972
|
+
proto.clarifai.api.V2Client.prototype.deleteNodepools =
|
|
13973
|
+
function(request, metadata, callback) {
|
|
13974
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
13975
|
+
'/clarifai.api.V2/DeleteNodepools',
|
|
13976
|
+
request,
|
|
13977
|
+
metadata || {},
|
|
13978
|
+
methodDescriptor_V2_DeleteNodepools,
|
|
13979
|
+
callback);
|
|
13980
|
+
};
|
|
13981
|
+
|
|
13982
|
+
|
|
13983
|
+
/**
|
|
13984
|
+
* @param {!proto.clarifai.api.DeleteNodepoolsRequest} request The
|
|
13985
|
+
* request proto
|
|
13986
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
13987
|
+
* call metadata
|
|
13988
|
+
* @return {!Promise<!proto.clarifai.api.status.BaseResponse>}
|
|
13989
|
+
* Promise that resolves to the response
|
|
13990
|
+
*/
|
|
13991
|
+
proto.clarifai.api.V2PromiseClient.prototype.deleteNodepools =
|
|
13992
|
+
function(request, metadata) {
|
|
13993
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
13994
|
+
'/clarifai.api.V2/DeleteNodepools',
|
|
13995
|
+
request,
|
|
13996
|
+
metadata || {},
|
|
13997
|
+
methodDescriptor_V2_DeleteNodepools);
|
|
13998
|
+
};
|
|
13999
|
+
|
|
14000
|
+
|
|
13452
14001
|
module.exports = proto.clarifai.api;
|
|
13453
14002
|
|