clarifai-web-grpc 10.3.2 → 10.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/VERSION +1 -1
- package/dist/cjs/proto/clarifai/api/resources_pb.js +1210 -135
- package/dist/cjs/proto/clarifai/api/service_grpc_web_pb.js +210 -0
- package/dist/cjs/proto/clarifai/api/service_pb.js +1341 -1
- package/dist/cjs/proto/clarifai/api/status/status_code_pb.js +6 -0
- package/dist/cjs/proto/clarifai/auth/scope/scope_pb.js +4 -1
- package/dist/esm/proto/clarifai/api/resources_pb.js +1210 -135
- package/dist/esm/proto/clarifai/api/service_grpc_web_pb.js +210 -0
- package/dist/esm/proto/clarifai/api/service_pb.js +1341 -1
- package/dist/esm/proto/clarifai/api/status/status_code_pb.js +6 -0
- package/dist/esm/proto/clarifai/auth/scope/scope_pb.js +4 -1
- package/package.json +1 -1
- package/proto/clarifai/api/resources_pb.d.ts +196 -39
- package/proto/clarifai/api/resources_pb.js +1498 -142
- package/proto/clarifai/api/service_grpc_web_pb.d.ts +60 -0
- package/proto/clarifai/api/service_grpc_web_pb.js +305 -0
- package/proto/clarifai/api/service_pb.d.ts +190 -0
- package/proto/clarifai/api/service_pb.js +1649 -1
- package/proto/clarifai/api/status/status_code_pb.d.ts +6 -0
- package/proto/clarifai/api/status/status_code_pb.js +6 -0
- package/proto/clarifai/auth/scope/scope_pb.d.ts +3 -0
- package/proto/clarifai/auth/scope/scope_pb.js +4 -1
|
@@ -1540,6 +1540,41 @@ 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
|
+
getNodepool(
|
|
1544
|
+
request: proto_clarifai_api_service_pb.GetNodepoolRequest,
|
|
1545
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
1546
|
+
callback: (err: grpcWeb.RpcError,
|
|
1547
|
+
response: proto_clarifai_api_service_pb.SingleNodepoolResponse) => void
|
|
1548
|
+
): grpcWeb.ClientReadableStream<proto_clarifai_api_service_pb.SingleNodepoolResponse>;
|
|
1549
|
+
|
|
1550
|
+
listNodepools(
|
|
1551
|
+
request: proto_clarifai_api_service_pb.ListNodepoolsRequest,
|
|
1552
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
1553
|
+
callback: (err: grpcWeb.RpcError,
|
|
1554
|
+
response: proto_clarifai_api_service_pb.MultiNodepoolResponse) => void
|
|
1555
|
+
): grpcWeb.ClientReadableStream<proto_clarifai_api_service_pb.MultiNodepoolResponse>;
|
|
1556
|
+
|
|
1557
|
+
postNodepools(
|
|
1558
|
+
request: proto_clarifai_api_service_pb.PostNodepoolsRequest,
|
|
1559
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
1560
|
+
callback: (err: grpcWeb.RpcError,
|
|
1561
|
+
response: proto_clarifai_api_service_pb.MultiNodepoolResponse) => void
|
|
1562
|
+
): grpcWeb.ClientReadableStream<proto_clarifai_api_service_pb.MultiNodepoolResponse>;
|
|
1563
|
+
|
|
1564
|
+
patchNodepools(
|
|
1565
|
+
request: proto_clarifai_api_service_pb.PatchNodepoolsRequest,
|
|
1566
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
1567
|
+
callback: (err: grpcWeb.RpcError,
|
|
1568
|
+
response: proto_clarifai_api_service_pb.MultiNodepoolResponse) => void
|
|
1569
|
+
): grpcWeb.ClientReadableStream<proto_clarifai_api_service_pb.MultiNodepoolResponse>;
|
|
1570
|
+
|
|
1571
|
+
deleteNodepools(
|
|
1572
|
+
request: proto_clarifai_api_service_pb.DeleteNodepoolsRequest,
|
|
1573
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
1574
|
+
callback: (err: grpcWeb.RpcError,
|
|
1575
|
+
response: proto_clarifai_api_status_status_pb.BaseResponse) => void
|
|
1576
|
+
): grpcWeb.ClientReadableStream<proto_clarifai_api_status_status_pb.BaseResponse>;
|
|
1577
|
+
|
|
1543
1578
|
}
|
|
1544
1579
|
|
|
1545
1580
|
export class V2PromiseClient {
|
|
@@ -2642,5 +2677,30 @@ export class V2PromiseClient {
|
|
|
2642
2677
|
metadata?: grpcWeb.Metadata
|
|
2643
2678
|
): Promise<proto_clarifai_api_service_pb.MultiTrainingTimeEstimateResponse>;
|
|
2644
2679
|
|
|
2680
|
+
getNodepool(
|
|
2681
|
+
request: proto_clarifai_api_service_pb.GetNodepoolRequest,
|
|
2682
|
+
metadata?: grpcWeb.Metadata
|
|
2683
|
+
): Promise<proto_clarifai_api_service_pb.SingleNodepoolResponse>;
|
|
2684
|
+
|
|
2685
|
+
listNodepools(
|
|
2686
|
+
request: proto_clarifai_api_service_pb.ListNodepoolsRequest,
|
|
2687
|
+
metadata?: grpcWeb.Metadata
|
|
2688
|
+
): Promise<proto_clarifai_api_service_pb.MultiNodepoolResponse>;
|
|
2689
|
+
|
|
2690
|
+
postNodepools(
|
|
2691
|
+
request: proto_clarifai_api_service_pb.PostNodepoolsRequest,
|
|
2692
|
+
metadata?: grpcWeb.Metadata
|
|
2693
|
+
): Promise<proto_clarifai_api_service_pb.MultiNodepoolResponse>;
|
|
2694
|
+
|
|
2695
|
+
patchNodepools(
|
|
2696
|
+
request: proto_clarifai_api_service_pb.PatchNodepoolsRequest,
|
|
2697
|
+
metadata?: grpcWeb.Metadata
|
|
2698
|
+
): Promise<proto_clarifai_api_service_pb.MultiNodepoolResponse>;
|
|
2699
|
+
|
|
2700
|
+
deleteNodepools(
|
|
2701
|
+
request: proto_clarifai_api_service_pb.DeleteNodepoolsRequest,
|
|
2702
|
+
metadata?: grpcWeb.Metadata
|
|
2703
|
+
): Promise<proto_clarifai_api_status_status_pb.BaseResponse>;
|
|
2704
|
+
|
|
2645
2705
|
}
|
|
2646
2706
|
|
|
@@ -13449,5 +13449,310 @@ proto.clarifai.api.V2PromiseClient.prototype.postModelVersionsTrainingTimeEstima
|
|
|
13449
13449
|
};
|
|
13450
13450
|
|
|
13451
13451
|
|
|
13452
|
+
/**
|
|
13453
|
+
* @const
|
|
13454
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
13455
|
+
* !proto.clarifai.api.GetNodepoolRequest,
|
|
13456
|
+
* !proto.clarifai.api.SingleNodepoolResponse>}
|
|
13457
|
+
*/
|
|
13458
|
+
const methodDescriptor_V2_GetNodepool = new grpc.web.MethodDescriptor(
|
|
13459
|
+
'/clarifai.api.V2/GetNodepool',
|
|
13460
|
+
grpc.web.MethodType.UNARY,
|
|
13461
|
+
proto.clarifai.api.GetNodepoolRequest,
|
|
13462
|
+
proto.clarifai.api.SingleNodepoolResponse,
|
|
13463
|
+
/**
|
|
13464
|
+
* @param {!proto.clarifai.api.GetNodepoolRequest} request
|
|
13465
|
+
* @return {!Uint8Array}
|
|
13466
|
+
*/
|
|
13467
|
+
function(request) {
|
|
13468
|
+
return request.serializeBinary();
|
|
13469
|
+
},
|
|
13470
|
+
proto.clarifai.api.SingleNodepoolResponse.deserializeBinary
|
|
13471
|
+
);
|
|
13472
|
+
|
|
13473
|
+
|
|
13474
|
+
/**
|
|
13475
|
+
* @param {!proto.clarifai.api.GetNodepoolRequest} 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.SingleNodepoolResponse)}
|
|
13480
|
+
* callback The callback function(error, response)
|
|
13481
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.SingleNodepoolResponse>|undefined}
|
|
13482
|
+
* The XHR Node Readable Stream
|
|
13483
|
+
*/
|
|
13484
|
+
proto.clarifai.api.V2Client.prototype.getNodepool =
|
|
13485
|
+
function(request, metadata, callback) {
|
|
13486
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
13487
|
+
'/clarifai.api.V2/GetNodepool',
|
|
13488
|
+
request,
|
|
13489
|
+
metadata || {},
|
|
13490
|
+
methodDescriptor_V2_GetNodepool,
|
|
13491
|
+
callback);
|
|
13492
|
+
};
|
|
13493
|
+
|
|
13494
|
+
|
|
13495
|
+
/**
|
|
13496
|
+
* @param {!proto.clarifai.api.GetNodepoolRequest} request The
|
|
13497
|
+
* request proto
|
|
13498
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
13499
|
+
* call metadata
|
|
13500
|
+
* @return {!Promise<!proto.clarifai.api.SingleNodepoolResponse>}
|
|
13501
|
+
* Promise that resolves to the response
|
|
13502
|
+
*/
|
|
13503
|
+
proto.clarifai.api.V2PromiseClient.prototype.getNodepool =
|
|
13504
|
+
function(request, metadata) {
|
|
13505
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
13506
|
+
'/clarifai.api.V2/GetNodepool',
|
|
13507
|
+
request,
|
|
13508
|
+
metadata || {},
|
|
13509
|
+
methodDescriptor_V2_GetNodepool);
|
|
13510
|
+
};
|
|
13511
|
+
|
|
13512
|
+
|
|
13513
|
+
/**
|
|
13514
|
+
* @const
|
|
13515
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
13516
|
+
* !proto.clarifai.api.ListNodepoolsRequest,
|
|
13517
|
+
* !proto.clarifai.api.MultiNodepoolResponse>}
|
|
13518
|
+
*/
|
|
13519
|
+
const methodDescriptor_V2_ListNodepools = new grpc.web.MethodDescriptor(
|
|
13520
|
+
'/clarifai.api.V2/ListNodepools',
|
|
13521
|
+
grpc.web.MethodType.UNARY,
|
|
13522
|
+
proto.clarifai.api.ListNodepoolsRequest,
|
|
13523
|
+
proto.clarifai.api.MultiNodepoolResponse,
|
|
13524
|
+
/**
|
|
13525
|
+
* @param {!proto.clarifai.api.ListNodepoolsRequest} request
|
|
13526
|
+
* @return {!Uint8Array}
|
|
13527
|
+
*/
|
|
13528
|
+
function(request) {
|
|
13529
|
+
return request.serializeBinary();
|
|
13530
|
+
},
|
|
13531
|
+
proto.clarifai.api.MultiNodepoolResponse.deserializeBinary
|
|
13532
|
+
);
|
|
13533
|
+
|
|
13534
|
+
|
|
13535
|
+
/**
|
|
13536
|
+
* @param {!proto.clarifai.api.ListNodepoolsRequest} 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.MultiNodepoolResponse)}
|
|
13541
|
+
* callback The callback function(error, response)
|
|
13542
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiNodepoolResponse>|undefined}
|
|
13543
|
+
* The XHR Node Readable Stream
|
|
13544
|
+
*/
|
|
13545
|
+
proto.clarifai.api.V2Client.prototype.listNodepools =
|
|
13546
|
+
function(request, metadata, callback) {
|
|
13547
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
13548
|
+
'/clarifai.api.V2/ListNodepools',
|
|
13549
|
+
request,
|
|
13550
|
+
metadata || {},
|
|
13551
|
+
methodDescriptor_V2_ListNodepools,
|
|
13552
|
+
callback);
|
|
13553
|
+
};
|
|
13554
|
+
|
|
13555
|
+
|
|
13556
|
+
/**
|
|
13557
|
+
* @param {!proto.clarifai.api.ListNodepoolsRequest} request The
|
|
13558
|
+
* request proto
|
|
13559
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
13560
|
+
* call metadata
|
|
13561
|
+
* @return {!Promise<!proto.clarifai.api.MultiNodepoolResponse>}
|
|
13562
|
+
* Promise that resolves to the response
|
|
13563
|
+
*/
|
|
13564
|
+
proto.clarifai.api.V2PromiseClient.prototype.listNodepools =
|
|
13565
|
+
function(request, metadata) {
|
|
13566
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
13567
|
+
'/clarifai.api.V2/ListNodepools',
|
|
13568
|
+
request,
|
|
13569
|
+
metadata || {},
|
|
13570
|
+
methodDescriptor_V2_ListNodepools);
|
|
13571
|
+
};
|
|
13572
|
+
|
|
13573
|
+
|
|
13574
|
+
/**
|
|
13575
|
+
* @const
|
|
13576
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
13577
|
+
* !proto.clarifai.api.PostNodepoolsRequest,
|
|
13578
|
+
* !proto.clarifai.api.MultiNodepoolResponse>}
|
|
13579
|
+
*/
|
|
13580
|
+
const methodDescriptor_V2_PostNodepools = new grpc.web.MethodDescriptor(
|
|
13581
|
+
'/clarifai.api.V2/PostNodepools',
|
|
13582
|
+
grpc.web.MethodType.UNARY,
|
|
13583
|
+
proto.clarifai.api.PostNodepoolsRequest,
|
|
13584
|
+
proto.clarifai.api.MultiNodepoolResponse,
|
|
13585
|
+
/**
|
|
13586
|
+
* @param {!proto.clarifai.api.PostNodepoolsRequest} request
|
|
13587
|
+
* @return {!Uint8Array}
|
|
13588
|
+
*/
|
|
13589
|
+
function(request) {
|
|
13590
|
+
return request.serializeBinary();
|
|
13591
|
+
},
|
|
13592
|
+
proto.clarifai.api.MultiNodepoolResponse.deserializeBinary
|
|
13593
|
+
);
|
|
13594
|
+
|
|
13595
|
+
|
|
13596
|
+
/**
|
|
13597
|
+
* @param {!proto.clarifai.api.PostNodepoolsRequest} 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.MultiNodepoolResponse)}
|
|
13602
|
+
* callback The callback function(error, response)
|
|
13603
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiNodepoolResponse>|undefined}
|
|
13604
|
+
* The XHR Node Readable Stream
|
|
13605
|
+
*/
|
|
13606
|
+
proto.clarifai.api.V2Client.prototype.postNodepools =
|
|
13607
|
+
function(request, metadata, callback) {
|
|
13608
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
13609
|
+
'/clarifai.api.V2/PostNodepools',
|
|
13610
|
+
request,
|
|
13611
|
+
metadata || {},
|
|
13612
|
+
methodDescriptor_V2_PostNodepools,
|
|
13613
|
+
callback);
|
|
13614
|
+
};
|
|
13615
|
+
|
|
13616
|
+
|
|
13617
|
+
/**
|
|
13618
|
+
* @param {!proto.clarifai.api.PostNodepoolsRequest} request The
|
|
13619
|
+
* request proto
|
|
13620
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
13621
|
+
* call metadata
|
|
13622
|
+
* @return {!Promise<!proto.clarifai.api.MultiNodepoolResponse>}
|
|
13623
|
+
* Promise that resolves to the response
|
|
13624
|
+
*/
|
|
13625
|
+
proto.clarifai.api.V2PromiseClient.prototype.postNodepools =
|
|
13626
|
+
function(request, metadata) {
|
|
13627
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
13628
|
+
'/clarifai.api.V2/PostNodepools',
|
|
13629
|
+
request,
|
|
13630
|
+
metadata || {},
|
|
13631
|
+
methodDescriptor_V2_PostNodepools);
|
|
13632
|
+
};
|
|
13633
|
+
|
|
13634
|
+
|
|
13635
|
+
/**
|
|
13636
|
+
* @const
|
|
13637
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
13638
|
+
* !proto.clarifai.api.PatchNodepoolsRequest,
|
|
13639
|
+
* !proto.clarifai.api.MultiNodepoolResponse>}
|
|
13640
|
+
*/
|
|
13641
|
+
const methodDescriptor_V2_PatchNodepools = new grpc.web.MethodDescriptor(
|
|
13642
|
+
'/clarifai.api.V2/PatchNodepools',
|
|
13643
|
+
grpc.web.MethodType.UNARY,
|
|
13644
|
+
proto.clarifai.api.PatchNodepoolsRequest,
|
|
13645
|
+
proto.clarifai.api.MultiNodepoolResponse,
|
|
13646
|
+
/**
|
|
13647
|
+
* @param {!proto.clarifai.api.PatchNodepoolsRequest} request
|
|
13648
|
+
* @return {!Uint8Array}
|
|
13649
|
+
*/
|
|
13650
|
+
function(request) {
|
|
13651
|
+
return request.serializeBinary();
|
|
13652
|
+
},
|
|
13653
|
+
proto.clarifai.api.MultiNodepoolResponse.deserializeBinary
|
|
13654
|
+
);
|
|
13655
|
+
|
|
13656
|
+
|
|
13657
|
+
/**
|
|
13658
|
+
* @param {!proto.clarifai.api.PatchNodepoolsRequest} 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.MultiNodepoolResponse)}
|
|
13663
|
+
* callback The callback function(error, response)
|
|
13664
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiNodepoolResponse>|undefined}
|
|
13665
|
+
* The XHR Node Readable Stream
|
|
13666
|
+
*/
|
|
13667
|
+
proto.clarifai.api.V2Client.prototype.patchNodepools =
|
|
13668
|
+
function(request, metadata, callback) {
|
|
13669
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
13670
|
+
'/clarifai.api.V2/PatchNodepools',
|
|
13671
|
+
request,
|
|
13672
|
+
metadata || {},
|
|
13673
|
+
methodDescriptor_V2_PatchNodepools,
|
|
13674
|
+
callback);
|
|
13675
|
+
};
|
|
13676
|
+
|
|
13677
|
+
|
|
13678
|
+
/**
|
|
13679
|
+
* @param {!proto.clarifai.api.PatchNodepoolsRequest} request The
|
|
13680
|
+
* request proto
|
|
13681
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
13682
|
+
* call metadata
|
|
13683
|
+
* @return {!Promise<!proto.clarifai.api.MultiNodepoolResponse>}
|
|
13684
|
+
* Promise that resolves to the response
|
|
13685
|
+
*/
|
|
13686
|
+
proto.clarifai.api.V2PromiseClient.prototype.patchNodepools =
|
|
13687
|
+
function(request, metadata) {
|
|
13688
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
13689
|
+
'/clarifai.api.V2/PatchNodepools',
|
|
13690
|
+
request,
|
|
13691
|
+
metadata || {},
|
|
13692
|
+
methodDescriptor_V2_PatchNodepools);
|
|
13693
|
+
};
|
|
13694
|
+
|
|
13695
|
+
|
|
13696
|
+
/**
|
|
13697
|
+
* @const
|
|
13698
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
13699
|
+
* !proto.clarifai.api.DeleteNodepoolsRequest,
|
|
13700
|
+
* !proto.clarifai.api.status.BaseResponse>}
|
|
13701
|
+
*/
|
|
13702
|
+
const methodDescriptor_V2_DeleteNodepools = new grpc.web.MethodDescriptor(
|
|
13703
|
+
'/clarifai.api.V2/DeleteNodepools',
|
|
13704
|
+
grpc.web.MethodType.UNARY,
|
|
13705
|
+
proto.clarifai.api.DeleteNodepoolsRequest,
|
|
13706
|
+
proto_clarifai_api_status_status_pb.BaseResponse,
|
|
13707
|
+
/**
|
|
13708
|
+
* @param {!proto.clarifai.api.DeleteNodepoolsRequest} request
|
|
13709
|
+
* @return {!Uint8Array}
|
|
13710
|
+
*/
|
|
13711
|
+
function(request) {
|
|
13712
|
+
return request.serializeBinary();
|
|
13713
|
+
},
|
|
13714
|
+
proto_clarifai_api_status_status_pb.BaseResponse.deserializeBinary
|
|
13715
|
+
);
|
|
13716
|
+
|
|
13717
|
+
|
|
13718
|
+
/**
|
|
13719
|
+
* @param {!proto.clarifai.api.DeleteNodepoolsRequest} 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.status.BaseResponse)}
|
|
13724
|
+
* callback The callback function(error, response)
|
|
13725
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.status.BaseResponse>|undefined}
|
|
13726
|
+
* The XHR Node Readable Stream
|
|
13727
|
+
*/
|
|
13728
|
+
proto.clarifai.api.V2Client.prototype.deleteNodepools =
|
|
13729
|
+
function(request, metadata, callback) {
|
|
13730
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
13731
|
+
'/clarifai.api.V2/DeleteNodepools',
|
|
13732
|
+
request,
|
|
13733
|
+
metadata || {},
|
|
13734
|
+
methodDescriptor_V2_DeleteNodepools,
|
|
13735
|
+
callback);
|
|
13736
|
+
};
|
|
13737
|
+
|
|
13738
|
+
|
|
13739
|
+
/**
|
|
13740
|
+
* @param {!proto.clarifai.api.DeleteNodepoolsRequest} request The
|
|
13741
|
+
* request proto
|
|
13742
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
13743
|
+
* call metadata
|
|
13744
|
+
* @return {!Promise<!proto.clarifai.api.status.BaseResponse>}
|
|
13745
|
+
* Promise that resolves to the response
|
|
13746
|
+
*/
|
|
13747
|
+
proto.clarifai.api.V2PromiseClient.prototype.deleteNodepools =
|
|
13748
|
+
function(request, metadata) {
|
|
13749
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
13750
|
+
'/clarifai.api.V2/DeleteNodepools',
|
|
13751
|
+
request,
|
|
13752
|
+
metadata || {},
|
|
13753
|
+
methodDescriptor_V2_DeleteNodepools);
|
|
13754
|
+
};
|
|
13755
|
+
|
|
13756
|
+
|
|
13452
13757
|
module.exports = proto.clarifai.api;
|
|
13453
13758
|
|
|
@@ -4418,6 +4418,9 @@ export class PostModelVersionsUploadConfig extends jspb.Message {
|
|
|
4418
4418
|
getTotalSize(): number;
|
|
4419
4419
|
setTotalSize(value: number): PostModelVersionsUploadConfig;
|
|
4420
4420
|
|
|
4421
|
+
getIsV3(): boolean;
|
|
4422
|
+
setIsV3(value: boolean): PostModelVersionsUploadConfig;
|
|
4423
|
+
|
|
4421
4424
|
serializeBinary(): Uint8Array;
|
|
4422
4425
|
toObject(includeInstance?: boolean): PostModelVersionsUploadConfig.AsObject;
|
|
4423
4426
|
static toObject(includeInstance: boolean, msg: PostModelVersionsUploadConfig): PostModelVersionsUploadConfig.AsObject;
|
|
@@ -4432,6 +4435,7 @@ export namespace PostModelVersionsUploadConfig {
|
|
|
4432
4435
|
modelId: string,
|
|
4433
4436
|
modelVersion?: proto_clarifai_api_resources_pb.ModelVersion.AsObject,
|
|
4434
4437
|
totalSize: number,
|
|
4438
|
+
isV3: boolean,
|
|
4435
4439
|
}
|
|
4436
4440
|
}
|
|
4437
4441
|
|
|
@@ -10147,6 +10151,192 @@ export namespace MultiTrainingTimeEstimateResponse {
|
|
|
10147
10151
|
}
|
|
10148
10152
|
}
|
|
10149
10153
|
|
|
10154
|
+
export class GetNodepoolRequest extends jspb.Message {
|
|
10155
|
+
getUserAppId(): proto_clarifai_api_resources_pb.UserAppIDSet | undefined;
|
|
10156
|
+
setUserAppId(value?: proto_clarifai_api_resources_pb.UserAppIDSet): GetNodepoolRequest;
|
|
10157
|
+
hasUserAppId(): boolean;
|
|
10158
|
+
clearUserAppId(): GetNodepoolRequest;
|
|
10159
|
+
|
|
10160
|
+
getNodepoolId(): string;
|
|
10161
|
+
setNodepoolId(value: string): GetNodepoolRequest;
|
|
10162
|
+
|
|
10163
|
+
serializeBinary(): Uint8Array;
|
|
10164
|
+
toObject(includeInstance?: boolean): GetNodepoolRequest.AsObject;
|
|
10165
|
+
static toObject(includeInstance: boolean, msg: GetNodepoolRequest): GetNodepoolRequest.AsObject;
|
|
10166
|
+
static serializeBinaryToWriter(message: GetNodepoolRequest, writer: jspb.BinaryWriter): void;
|
|
10167
|
+
static deserializeBinary(bytes: Uint8Array): GetNodepoolRequest;
|
|
10168
|
+
static deserializeBinaryFromReader(message: GetNodepoolRequest, reader: jspb.BinaryReader): GetNodepoolRequest;
|
|
10169
|
+
}
|
|
10170
|
+
|
|
10171
|
+
export namespace GetNodepoolRequest {
|
|
10172
|
+
export type AsObject = {
|
|
10173
|
+
userAppId?: proto_clarifai_api_resources_pb.UserAppIDSet.AsObject,
|
|
10174
|
+
nodepoolId: string,
|
|
10175
|
+
}
|
|
10176
|
+
}
|
|
10177
|
+
|
|
10178
|
+
export class ListNodepoolsRequest extends jspb.Message {
|
|
10179
|
+
getUserAppId(): proto_clarifai_api_resources_pb.UserAppIDSet | undefined;
|
|
10180
|
+
setUserAppId(value?: proto_clarifai_api_resources_pb.UserAppIDSet): ListNodepoolsRequest;
|
|
10181
|
+
hasUserAppId(): boolean;
|
|
10182
|
+
clearUserAppId(): ListNodepoolsRequest;
|
|
10183
|
+
|
|
10184
|
+
getPage(): number;
|
|
10185
|
+
setPage(value: number): ListNodepoolsRequest;
|
|
10186
|
+
|
|
10187
|
+
getPerPage(): number;
|
|
10188
|
+
setPerPage(value: number): ListNodepoolsRequest;
|
|
10189
|
+
|
|
10190
|
+
serializeBinary(): Uint8Array;
|
|
10191
|
+
toObject(includeInstance?: boolean): ListNodepoolsRequest.AsObject;
|
|
10192
|
+
static toObject(includeInstance: boolean, msg: ListNodepoolsRequest): ListNodepoolsRequest.AsObject;
|
|
10193
|
+
static serializeBinaryToWriter(message: ListNodepoolsRequest, writer: jspb.BinaryWriter): void;
|
|
10194
|
+
static deserializeBinary(bytes: Uint8Array): ListNodepoolsRequest;
|
|
10195
|
+
static deserializeBinaryFromReader(message: ListNodepoolsRequest, reader: jspb.BinaryReader): ListNodepoolsRequest;
|
|
10196
|
+
}
|
|
10197
|
+
|
|
10198
|
+
export namespace ListNodepoolsRequest {
|
|
10199
|
+
export type AsObject = {
|
|
10200
|
+
userAppId?: proto_clarifai_api_resources_pb.UserAppIDSet.AsObject,
|
|
10201
|
+
page: number,
|
|
10202
|
+
perPage: number,
|
|
10203
|
+
}
|
|
10204
|
+
}
|
|
10205
|
+
|
|
10206
|
+
export class PostNodepoolsRequest extends jspb.Message {
|
|
10207
|
+
getUserAppId(): proto_clarifai_api_resources_pb.UserAppIDSet | undefined;
|
|
10208
|
+
setUserAppId(value?: proto_clarifai_api_resources_pb.UserAppIDSet): PostNodepoolsRequest;
|
|
10209
|
+
hasUserAppId(): boolean;
|
|
10210
|
+
clearUserAppId(): PostNodepoolsRequest;
|
|
10211
|
+
|
|
10212
|
+
getNodepoolsList(): Array<proto_clarifai_api_resources_pb.Nodepool>;
|
|
10213
|
+
setNodepoolsList(value: Array<proto_clarifai_api_resources_pb.Nodepool>): PostNodepoolsRequest;
|
|
10214
|
+
clearNodepoolsList(): PostNodepoolsRequest;
|
|
10215
|
+
addNodepools(value?: proto_clarifai_api_resources_pb.Nodepool, index?: number): proto_clarifai_api_resources_pb.Nodepool;
|
|
10216
|
+
|
|
10217
|
+
serializeBinary(): Uint8Array;
|
|
10218
|
+
toObject(includeInstance?: boolean): PostNodepoolsRequest.AsObject;
|
|
10219
|
+
static toObject(includeInstance: boolean, msg: PostNodepoolsRequest): PostNodepoolsRequest.AsObject;
|
|
10220
|
+
static serializeBinaryToWriter(message: PostNodepoolsRequest, writer: jspb.BinaryWriter): void;
|
|
10221
|
+
static deserializeBinary(bytes: Uint8Array): PostNodepoolsRequest;
|
|
10222
|
+
static deserializeBinaryFromReader(message: PostNodepoolsRequest, reader: jspb.BinaryReader): PostNodepoolsRequest;
|
|
10223
|
+
}
|
|
10224
|
+
|
|
10225
|
+
export namespace PostNodepoolsRequest {
|
|
10226
|
+
export type AsObject = {
|
|
10227
|
+
userAppId?: proto_clarifai_api_resources_pb.UserAppIDSet.AsObject,
|
|
10228
|
+
nodepoolsList: Array<proto_clarifai_api_resources_pb.Nodepool.AsObject>,
|
|
10229
|
+
}
|
|
10230
|
+
}
|
|
10231
|
+
|
|
10232
|
+
export class PatchNodepoolsRequest extends jspb.Message {
|
|
10233
|
+
getUserAppId(): proto_clarifai_api_resources_pb.UserAppIDSet | undefined;
|
|
10234
|
+
setUserAppId(value?: proto_clarifai_api_resources_pb.UserAppIDSet): PatchNodepoolsRequest;
|
|
10235
|
+
hasUserAppId(): boolean;
|
|
10236
|
+
clearUserAppId(): PatchNodepoolsRequest;
|
|
10237
|
+
|
|
10238
|
+
getNodepoolsList(): Array<proto_clarifai_api_resources_pb.Nodepool>;
|
|
10239
|
+
setNodepoolsList(value: Array<proto_clarifai_api_resources_pb.Nodepool>): PatchNodepoolsRequest;
|
|
10240
|
+
clearNodepoolsList(): PatchNodepoolsRequest;
|
|
10241
|
+
addNodepools(value?: proto_clarifai_api_resources_pb.Nodepool, index?: number): proto_clarifai_api_resources_pb.Nodepool;
|
|
10242
|
+
|
|
10243
|
+
getAction(): string;
|
|
10244
|
+
setAction(value: string): PatchNodepoolsRequest;
|
|
10245
|
+
|
|
10246
|
+
serializeBinary(): Uint8Array;
|
|
10247
|
+
toObject(includeInstance?: boolean): PatchNodepoolsRequest.AsObject;
|
|
10248
|
+
static toObject(includeInstance: boolean, msg: PatchNodepoolsRequest): PatchNodepoolsRequest.AsObject;
|
|
10249
|
+
static serializeBinaryToWriter(message: PatchNodepoolsRequest, writer: jspb.BinaryWriter): void;
|
|
10250
|
+
static deserializeBinary(bytes: Uint8Array): PatchNodepoolsRequest;
|
|
10251
|
+
static deserializeBinaryFromReader(message: PatchNodepoolsRequest, reader: jspb.BinaryReader): PatchNodepoolsRequest;
|
|
10252
|
+
}
|
|
10253
|
+
|
|
10254
|
+
export namespace PatchNodepoolsRequest {
|
|
10255
|
+
export type AsObject = {
|
|
10256
|
+
userAppId?: proto_clarifai_api_resources_pb.UserAppIDSet.AsObject,
|
|
10257
|
+
nodepoolsList: Array<proto_clarifai_api_resources_pb.Nodepool.AsObject>,
|
|
10258
|
+
action: string,
|
|
10259
|
+
}
|
|
10260
|
+
}
|
|
10261
|
+
|
|
10262
|
+
export class DeleteNodepoolsRequest extends jspb.Message {
|
|
10263
|
+
getUserAppId(): proto_clarifai_api_resources_pb.UserAppIDSet | undefined;
|
|
10264
|
+
setUserAppId(value?: proto_clarifai_api_resources_pb.UserAppIDSet): DeleteNodepoolsRequest;
|
|
10265
|
+
hasUserAppId(): boolean;
|
|
10266
|
+
clearUserAppId(): DeleteNodepoolsRequest;
|
|
10267
|
+
|
|
10268
|
+
getIdsList(): Array<string>;
|
|
10269
|
+
setIdsList(value: Array<string>): DeleteNodepoolsRequest;
|
|
10270
|
+
clearIdsList(): DeleteNodepoolsRequest;
|
|
10271
|
+
addIds(value: string, index?: number): DeleteNodepoolsRequest;
|
|
10272
|
+
|
|
10273
|
+
serializeBinary(): Uint8Array;
|
|
10274
|
+
toObject(includeInstance?: boolean): DeleteNodepoolsRequest.AsObject;
|
|
10275
|
+
static toObject(includeInstance: boolean, msg: DeleteNodepoolsRequest): DeleteNodepoolsRequest.AsObject;
|
|
10276
|
+
static serializeBinaryToWriter(message: DeleteNodepoolsRequest, writer: jspb.BinaryWriter): void;
|
|
10277
|
+
static deserializeBinary(bytes: Uint8Array): DeleteNodepoolsRequest;
|
|
10278
|
+
static deserializeBinaryFromReader(message: DeleteNodepoolsRequest, reader: jspb.BinaryReader): DeleteNodepoolsRequest;
|
|
10279
|
+
}
|
|
10280
|
+
|
|
10281
|
+
export namespace DeleteNodepoolsRequest {
|
|
10282
|
+
export type AsObject = {
|
|
10283
|
+
userAppId?: proto_clarifai_api_resources_pb.UserAppIDSet.AsObject,
|
|
10284
|
+
idsList: Array<string>,
|
|
10285
|
+
}
|
|
10286
|
+
}
|
|
10287
|
+
|
|
10288
|
+
export class SingleNodepoolResponse extends jspb.Message {
|
|
10289
|
+
getStatus(): proto_clarifai_api_status_status_pb.Status | undefined;
|
|
10290
|
+
setStatus(value?: proto_clarifai_api_status_status_pb.Status): SingleNodepoolResponse;
|
|
10291
|
+
hasStatus(): boolean;
|
|
10292
|
+
clearStatus(): SingleNodepoolResponse;
|
|
10293
|
+
|
|
10294
|
+
getNodepool(): proto_clarifai_api_resources_pb.Nodepool | undefined;
|
|
10295
|
+
setNodepool(value?: proto_clarifai_api_resources_pb.Nodepool): SingleNodepoolResponse;
|
|
10296
|
+
hasNodepool(): boolean;
|
|
10297
|
+
clearNodepool(): SingleNodepoolResponse;
|
|
10298
|
+
|
|
10299
|
+
serializeBinary(): Uint8Array;
|
|
10300
|
+
toObject(includeInstance?: boolean): SingleNodepoolResponse.AsObject;
|
|
10301
|
+
static toObject(includeInstance: boolean, msg: SingleNodepoolResponse): SingleNodepoolResponse.AsObject;
|
|
10302
|
+
static serializeBinaryToWriter(message: SingleNodepoolResponse, writer: jspb.BinaryWriter): void;
|
|
10303
|
+
static deserializeBinary(bytes: Uint8Array): SingleNodepoolResponse;
|
|
10304
|
+
static deserializeBinaryFromReader(message: SingleNodepoolResponse, reader: jspb.BinaryReader): SingleNodepoolResponse;
|
|
10305
|
+
}
|
|
10306
|
+
|
|
10307
|
+
export namespace SingleNodepoolResponse {
|
|
10308
|
+
export type AsObject = {
|
|
10309
|
+
status?: proto_clarifai_api_status_status_pb.Status.AsObject,
|
|
10310
|
+
nodepool?: proto_clarifai_api_resources_pb.Nodepool.AsObject,
|
|
10311
|
+
}
|
|
10312
|
+
}
|
|
10313
|
+
|
|
10314
|
+
export class MultiNodepoolResponse extends jspb.Message {
|
|
10315
|
+
getStatus(): proto_clarifai_api_status_status_pb.Status | undefined;
|
|
10316
|
+
setStatus(value?: proto_clarifai_api_status_status_pb.Status): MultiNodepoolResponse;
|
|
10317
|
+
hasStatus(): boolean;
|
|
10318
|
+
clearStatus(): MultiNodepoolResponse;
|
|
10319
|
+
|
|
10320
|
+
getNodepoolsList(): Array<proto_clarifai_api_resources_pb.Nodepool>;
|
|
10321
|
+
setNodepoolsList(value: Array<proto_clarifai_api_resources_pb.Nodepool>): MultiNodepoolResponse;
|
|
10322
|
+
clearNodepoolsList(): MultiNodepoolResponse;
|
|
10323
|
+
addNodepools(value?: proto_clarifai_api_resources_pb.Nodepool, index?: number): proto_clarifai_api_resources_pb.Nodepool;
|
|
10324
|
+
|
|
10325
|
+
serializeBinary(): Uint8Array;
|
|
10326
|
+
toObject(includeInstance?: boolean): MultiNodepoolResponse.AsObject;
|
|
10327
|
+
static toObject(includeInstance: boolean, msg: MultiNodepoolResponse): MultiNodepoolResponse.AsObject;
|
|
10328
|
+
static serializeBinaryToWriter(message: MultiNodepoolResponse, writer: jspb.BinaryWriter): void;
|
|
10329
|
+
static deserializeBinary(bytes: Uint8Array): MultiNodepoolResponse;
|
|
10330
|
+
static deserializeBinaryFromReader(message: MultiNodepoolResponse, reader: jspb.BinaryReader): MultiNodepoolResponse;
|
|
10331
|
+
}
|
|
10332
|
+
|
|
10333
|
+
export namespace MultiNodepoolResponse {
|
|
10334
|
+
export type AsObject = {
|
|
10335
|
+
status?: proto_clarifai_api_status_status_pb.Status.AsObject,
|
|
10336
|
+
nodepoolsList: Array<proto_clarifai_api_resources_pb.Nodepool.AsObject>,
|
|
10337
|
+
}
|
|
10338
|
+
}
|
|
10339
|
+
|
|
10150
10340
|
export enum OrganizationInvitationStatus {
|
|
10151
10341
|
NOT_SET = 0,
|
|
10152
10342
|
PENDING = 1,
|