clarifai-web-grpc 11.3.3 → 11.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 +156 -3
- package/dist/cjs/proto/clarifai/api/service_pb.js +111 -4
- package/dist/cjs/proto/clarifai/api/status/status_code_pb.js +12 -0
- package/dist/cjs/proto/clarifai/auth/scope/scope_pb.js +4 -1
- package/dist/esm/proto/clarifai/api/resources_pb.js +156 -3
- package/dist/esm/proto/clarifai/api/service_pb.js +111 -4
- package/dist/esm/proto/clarifai/api/status/status_code_pb.js +12 -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 +26 -0
- package/proto/clarifai/api/resources_pb.js +204 -3
- package/proto/clarifai/api/service_pb.d.ts +18 -0
- package/proto/clarifai/api/service_pb.js +145 -4
- package/proto/clarifai/api/status/status_code_pb.d.ts +12 -0
- package/proto/clarifai/api/status/status_code_pb.js +12 -0
- package/proto/clarifai/auth/scope/scope_pb.d.ts +3 -0
- package/proto/clarifai/auth/scope/scope_pb.js +4 -1
|
@@ -56518,7 +56518,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
56518
56518
|
computeInfo: (f = msg.getComputeInfo()) && proto.clarifai.api.ComputeInfo.toObject(includeInstance, f),
|
|
56519
56519
|
price: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
56520
56520
|
cloudProvider: (f = msg.getCloudProvider()) && proto.clarifai.api.CloudProvider.toObject(includeInstance, f),
|
|
56521
|
-
region: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
56521
|
+
region: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
56522
|
+
allowedCapacityTypes: (f = msg.getAllowedCapacityTypes()) && proto.clarifai.api.NodeCapacityType.toObject(includeInstance, f)
|
|
56522
56523
|
};
|
|
56523
56524
|
if (includeInstance) {
|
|
56524
56525
|
obj.$jspbMessageInstance = msg;
|
|
@@ -56576,6 +56577,11 @@ proto.clarifai.api.InstanceType.deserializeBinaryFromReader = function (msg, rea
|
|
|
56576
56577
|
var value = /** @type {string} */ (reader.readString());
|
|
56577
56578
|
msg.setRegion(value);
|
|
56578
56579
|
break;
|
|
56580
|
+
case 7:
|
|
56581
|
+
var value = new proto.clarifai.api.NodeCapacityType;
|
|
56582
|
+
reader.readMessage(value, proto.clarifai.api.NodeCapacityType.deserializeBinaryFromReader);
|
|
56583
|
+
msg.setAllowedCapacityTypes(value);
|
|
56584
|
+
break;
|
|
56579
56585
|
default:
|
|
56580
56586
|
reader.skipField();
|
|
56581
56587
|
break;
|
|
@@ -56625,6 +56631,10 @@ proto.clarifai.api.InstanceType.serializeBinaryToWriter = function (message, wri
|
|
|
56625
56631
|
if (f.length > 0) {
|
|
56626
56632
|
writer.writeString(6, f);
|
|
56627
56633
|
}
|
|
56634
|
+
f = message.getAllowedCapacityTypes();
|
|
56635
|
+
if (f != null) {
|
|
56636
|
+
writer.writeMessage(7, f, proto.clarifai.api.NodeCapacityType.serializeBinaryToWriter);
|
|
56637
|
+
}
|
|
56628
56638
|
};
|
|
56629
56639
|
/**
|
|
56630
56640
|
* optional string id = 1;
|
|
@@ -56738,6 +56748,34 @@ proto.clarifai.api.InstanceType.prototype.getRegion = function () {
|
|
|
56738
56748
|
proto.clarifai.api.InstanceType.prototype.setRegion = function (value) {
|
|
56739
56749
|
return jspb.Message.setProto3StringField(this, 6, value);
|
|
56740
56750
|
};
|
|
56751
|
+
/**
|
|
56752
|
+
* optional NodeCapacityType allowed_capacity_types = 7;
|
|
56753
|
+
* @return {?proto.clarifai.api.NodeCapacityType}
|
|
56754
|
+
*/
|
|
56755
|
+
proto.clarifai.api.InstanceType.prototype.getAllowedCapacityTypes = function () {
|
|
56756
|
+
return /** @type{?proto.clarifai.api.NodeCapacityType} */ (jspb.Message.getWrapperField(this, proto.clarifai.api.NodeCapacityType, 7));
|
|
56757
|
+
};
|
|
56758
|
+
/**
|
|
56759
|
+
* @param {?proto.clarifai.api.NodeCapacityType|undefined} value
|
|
56760
|
+
* @return {!proto.clarifai.api.InstanceType} returns this
|
|
56761
|
+
*/
|
|
56762
|
+
proto.clarifai.api.InstanceType.prototype.setAllowedCapacityTypes = function (value) {
|
|
56763
|
+
return jspb.Message.setWrapperField(this, 7, value);
|
|
56764
|
+
};
|
|
56765
|
+
/**
|
|
56766
|
+
* Clears the message field making it undefined.
|
|
56767
|
+
* @return {!proto.clarifai.api.InstanceType} returns this
|
|
56768
|
+
*/
|
|
56769
|
+
proto.clarifai.api.InstanceType.prototype.clearAllowedCapacityTypes = function () {
|
|
56770
|
+
return this.setAllowedCapacityTypes(undefined);
|
|
56771
|
+
};
|
|
56772
|
+
/**
|
|
56773
|
+
* Returns whether this field is set.
|
|
56774
|
+
* @return {boolean}
|
|
56775
|
+
*/
|
|
56776
|
+
proto.clarifai.api.InstanceType.prototype.hasAllowedCapacityTypes = function () {
|
|
56777
|
+
return jspb.Message.getField(this, 7) != null;
|
|
56778
|
+
};
|
|
56741
56779
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
56742
56780
|
/**
|
|
56743
56781
|
* Creates an object representation of this proto.
|
|
@@ -57315,6 +57353,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
57315
57353
|
var f, obj = {
|
|
57316
57354
|
cpuLimit: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
57317
57355
|
cpuMemory: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
57356
|
+
cpuRequests: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
57357
|
+
cpuMemoryRequests: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
57318
57358
|
numAccelerators: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
57319
57359
|
acceleratorMemory: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
57320
57360
|
acceleratorTypeList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f
|
|
@@ -57357,6 +57397,14 @@ proto.clarifai.api.ComputeInfo.deserializeBinaryFromReader = function (msg, read
|
|
|
57357
57397
|
var value = /** @type {string} */ (reader.readString());
|
|
57358
57398
|
msg.setCpuMemory(value);
|
|
57359
57399
|
break;
|
|
57400
|
+
case 7:
|
|
57401
|
+
var value = /** @type {string} */ (reader.readString());
|
|
57402
|
+
msg.setCpuRequests(value);
|
|
57403
|
+
break;
|
|
57404
|
+
case 8:
|
|
57405
|
+
var value = /** @type {string} */ (reader.readString());
|
|
57406
|
+
msg.setCpuMemoryRequests(value);
|
|
57407
|
+
break;
|
|
57360
57408
|
case 3:
|
|
57361
57409
|
var value = /** @type {number} */ (reader.readUint32());
|
|
57362
57410
|
msg.setNumAccelerators(value);
|
|
@@ -57402,6 +57450,14 @@ proto.clarifai.api.ComputeInfo.serializeBinaryToWriter = function (message, writ
|
|
|
57402
57450
|
if (f.length > 0) {
|
|
57403
57451
|
writer.writeString(2, f);
|
|
57404
57452
|
}
|
|
57453
|
+
f = message.getCpuRequests();
|
|
57454
|
+
if (f.length > 0) {
|
|
57455
|
+
writer.writeString(7, f);
|
|
57456
|
+
}
|
|
57457
|
+
f = message.getCpuMemoryRequests();
|
|
57458
|
+
if (f.length > 0) {
|
|
57459
|
+
writer.writeString(8, f);
|
|
57460
|
+
}
|
|
57405
57461
|
f = message.getNumAccelerators();
|
|
57406
57462
|
if (f !== 0) {
|
|
57407
57463
|
writer.writeUint32(3, f);
|
|
@@ -57443,6 +57499,34 @@ proto.clarifai.api.ComputeInfo.prototype.getCpuMemory = function () {
|
|
|
57443
57499
|
proto.clarifai.api.ComputeInfo.prototype.setCpuMemory = function (value) {
|
|
57444
57500
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
57445
57501
|
};
|
|
57502
|
+
/**
|
|
57503
|
+
* optional string cpu_requests = 7;
|
|
57504
|
+
* @return {string}
|
|
57505
|
+
*/
|
|
57506
|
+
proto.clarifai.api.ComputeInfo.prototype.getCpuRequests = function () {
|
|
57507
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
57508
|
+
};
|
|
57509
|
+
/**
|
|
57510
|
+
* @param {string} value
|
|
57511
|
+
* @return {!proto.clarifai.api.ComputeInfo} returns this
|
|
57512
|
+
*/
|
|
57513
|
+
proto.clarifai.api.ComputeInfo.prototype.setCpuRequests = function (value) {
|
|
57514
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
57515
|
+
};
|
|
57516
|
+
/**
|
|
57517
|
+
* optional string cpu_memory_requests = 8;
|
|
57518
|
+
* @return {string}
|
|
57519
|
+
*/
|
|
57520
|
+
proto.clarifai.api.ComputeInfo.prototype.getCpuMemoryRequests = function () {
|
|
57521
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
57522
|
+
};
|
|
57523
|
+
/**
|
|
57524
|
+
* @param {string} value
|
|
57525
|
+
* @return {!proto.clarifai.api.ComputeInfo} returns this
|
|
57526
|
+
*/
|
|
57527
|
+
proto.clarifai.api.ComputeInfo.prototype.setCpuMemoryRequests = function (value) {
|
|
57528
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
57529
|
+
};
|
|
57446
57530
|
/**
|
|
57447
57531
|
* optional uint32 num_accelerators = 3;
|
|
57448
57532
|
* @return {number}
|
|
@@ -57788,7 +57872,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
57788
57872
|
description: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
57789
57873
|
worker: (f = msg.getWorker()) && proto.clarifai.api.Worker.toObject(includeInstance, f),
|
|
57790
57874
|
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
57791
|
-
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
|
|
57875
|
+
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
57876
|
+
deployLatestVersion: jspb.Message.getBooleanFieldWithDefault(msg, 14, false)
|
|
57792
57877
|
};
|
|
57793
57878
|
if (includeInstance) {
|
|
57794
57879
|
obj.$jspbMessageInstance = msg;
|
|
@@ -57871,6 +57956,10 @@ proto.clarifai.api.Deployment.deserializeBinaryFromReader = function (msg, reade
|
|
|
57871
57956
|
reader.readMessage(value, google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
57872
57957
|
msg.setModifiedAt(value);
|
|
57873
57958
|
break;
|
|
57959
|
+
case 14:
|
|
57960
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
57961
|
+
msg.setDeployLatestVersion(value);
|
|
57962
|
+
break;
|
|
57874
57963
|
default:
|
|
57875
57964
|
reader.skipField();
|
|
57876
57965
|
break;
|
|
@@ -57940,6 +58029,10 @@ proto.clarifai.api.Deployment.serializeBinaryToWriter = function (message, write
|
|
|
57940
58029
|
if (f != null) {
|
|
57941
58030
|
writer.writeMessage(13, f, google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter);
|
|
57942
58031
|
}
|
|
58032
|
+
f = message.getDeployLatestVersion();
|
|
58033
|
+
if (f) {
|
|
58034
|
+
writer.writeBool(14, f);
|
|
58035
|
+
}
|
|
57943
58036
|
};
|
|
57944
58037
|
/**
|
|
57945
58038
|
* @enum {number}
|
|
@@ -58208,6 +58301,20 @@ proto.clarifai.api.Deployment.prototype.clearModifiedAt = function () {
|
|
|
58208
58301
|
proto.clarifai.api.Deployment.prototype.hasModifiedAt = function () {
|
|
58209
58302
|
return jspb.Message.getField(this, 13) != null;
|
|
58210
58303
|
};
|
|
58304
|
+
/**
|
|
58305
|
+
* optional bool deploy_latest_version = 14;
|
|
58306
|
+
* @return {boolean}
|
|
58307
|
+
*/
|
|
58308
|
+
proto.clarifai.api.Deployment.prototype.getDeployLatestVersion = function () {
|
|
58309
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 14, false));
|
|
58310
|
+
};
|
|
58311
|
+
/**
|
|
58312
|
+
* @param {boolean} value
|
|
58313
|
+
* @return {!proto.clarifai.api.Deployment} returns this
|
|
58314
|
+
*/
|
|
58315
|
+
proto.clarifai.api.Deployment.prototype.setDeployLatestVersion = function (value) {
|
|
58316
|
+
return jspb.Message.setProto3BooleanField(this, 14, value);
|
|
58317
|
+
};
|
|
58211
58318
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
58212
58319
|
/**
|
|
58213
58320
|
* Creates an object representation of this proto.
|
|
@@ -61408,7 +61515,9 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
61408
61515
|
runnerId: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
61409
61516
|
pipelineId: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
61410
61517
|
pipelineVersionId: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
61411
|
-
pipelineVersionRunId: jspb.Message.getFieldWithDefault(msg, 11, "")
|
|
61518
|
+
pipelineVersionRunId: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
61519
|
+
pipelineStepId: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
61520
|
+
pipelineStepVersionId: jspb.Message.getFieldWithDefault(msg, 13, "")
|
|
61412
61521
|
};
|
|
61413
61522
|
if (includeInstance) {
|
|
61414
61523
|
obj.$jspbMessageInstance = msg;
|
|
@@ -61481,6 +61590,14 @@ proto.clarifai.api.ComputeSourceMetadata.deserializeBinaryFromReader = function
|
|
|
61481
61590
|
var value = /** @type {string} */ (reader.readString());
|
|
61482
61591
|
msg.setPipelineVersionRunId(value);
|
|
61483
61592
|
break;
|
|
61593
|
+
case 12:
|
|
61594
|
+
var value = /** @type {string} */ (reader.readString());
|
|
61595
|
+
msg.setPipelineStepId(value);
|
|
61596
|
+
break;
|
|
61597
|
+
case 13:
|
|
61598
|
+
var value = /** @type {string} */ (reader.readString());
|
|
61599
|
+
msg.setPipelineStepVersionId(value);
|
|
61600
|
+
break;
|
|
61484
61601
|
default:
|
|
61485
61602
|
reader.skipField();
|
|
61486
61603
|
break;
|
|
@@ -61546,6 +61663,14 @@ proto.clarifai.api.ComputeSourceMetadata.serializeBinaryToWriter = function (mes
|
|
|
61546
61663
|
if (f.length > 0) {
|
|
61547
61664
|
writer.writeString(11, f);
|
|
61548
61665
|
}
|
|
61666
|
+
f = message.getPipelineStepId();
|
|
61667
|
+
if (f.length > 0) {
|
|
61668
|
+
writer.writeString(12, f);
|
|
61669
|
+
}
|
|
61670
|
+
f = message.getPipelineStepVersionId();
|
|
61671
|
+
if (f.length > 0) {
|
|
61672
|
+
writer.writeString(13, f);
|
|
61673
|
+
}
|
|
61549
61674
|
};
|
|
61550
61675
|
/**
|
|
61551
61676
|
* optional UserAppIDSet user_app_id = 1;
|
|
@@ -61701,6 +61826,34 @@ proto.clarifai.api.ComputeSourceMetadata.prototype.getPipelineVersionRunId = fun
|
|
|
61701
61826
|
proto.clarifai.api.ComputeSourceMetadata.prototype.setPipelineVersionRunId = function (value) {
|
|
61702
61827
|
return jspb.Message.setProto3StringField(this, 11, value);
|
|
61703
61828
|
};
|
|
61829
|
+
/**
|
|
61830
|
+
* optional string pipeline_step_id = 12;
|
|
61831
|
+
* @return {string}
|
|
61832
|
+
*/
|
|
61833
|
+
proto.clarifai.api.ComputeSourceMetadata.prototype.getPipelineStepId = function () {
|
|
61834
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
61835
|
+
};
|
|
61836
|
+
/**
|
|
61837
|
+
* @param {string} value
|
|
61838
|
+
* @return {!proto.clarifai.api.ComputeSourceMetadata} returns this
|
|
61839
|
+
*/
|
|
61840
|
+
proto.clarifai.api.ComputeSourceMetadata.prototype.setPipelineStepId = function (value) {
|
|
61841
|
+
return jspb.Message.setProto3StringField(this, 12, value);
|
|
61842
|
+
};
|
|
61843
|
+
/**
|
|
61844
|
+
* optional string pipeline_step_version_id = 13;
|
|
61845
|
+
* @return {string}
|
|
61846
|
+
*/
|
|
61847
|
+
proto.clarifai.api.ComputeSourceMetadata.prototype.getPipelineStepVersionId = function () {
|
|
61848
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
|
|
61849
|
+
};
|
|
61850
|
+
/**
|
|
61851
|
+
* @param {string} value
|
|
61852
|
+
* @return {!proto.clarifai.api.ComputeSourceMetadata} returns this
|
|
61853
|
+
*/
|
|
61854
|
+
proto.clarifai.api.ComputeSourceMetadata.prototype.setPipelineStepVersionId = function (value) {
|
|
61855
|
+
return jspb.Message.setProto3StringField(this, 13, value);
|
|
61856
|
+
};
|
|
61704
61857
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
61705
61858
|
/**
|
|
61706
61859
|
* Creates an object representation of this proto.
|
|
@@ -27050,7 +27050,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
27050
27050
|
inputsList: jspb.Message.toObjectList(msg.getInputsList(), proto_clarifai_api_resources_pb.Input.toObject, includeInstance),
|
|
27051
27051
|
model: (f = msg.getModel()) && proto_clarifai_api_resources_pb.Model.toObject(includeInstance, f),
|
|
27052
27052
|
runnerSelector: (f = msg.getRunnerSelector()) && proto_clarifai_api_resources_pb.RunnerSelector.toObject(includeInstance, f),
|
|
27053
|
-
usePredictCache: jspb.Message.getBooleanFieldWithDefault(msg, 7, false)
|
|
27053
|
+
usePredictCache: jspb.Message.getBooleanFieldWithDefault(msg, 7, false),
|
|
27054
|
+
enableLogSummaryOnError: jspb.Message.getBooleanFieldWithDefault(msg, 8, false)
|
|
27054
27055
|
};
|
|
27055
27056
|
if (includeInstance) {
|
|
27056
27057
|
obj.$jspbMessageInstance = msg;
|
|
@@ -27114,6 +27115,10 @@ proto.clarifai.api.PostModelOutputsRequest.deserializeBinaryFromReader = functio
|
|
|
27114
27115
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
27115
27116
|
msg.setUsePredictCache(value);
|
|
27116
27117
|
break;
|
|
27118
|
+
case 8:
|
|
27119
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
27120
|
+
msg.setEnableLogSummaryOnError(value);
|
|
27121
|
+
break;
|
|
27117
27122
|
default:
|
|
27118
27123
|
reader.skipField();
|
|
27119
27124
|
break;
|
|
@@ -27167,6 +27172,10 @@ proto.clarifai.api.PostModelOutputsRequest.serializeBinaryToWriter = function (m
|
|
|
27167
27172
|
if (f) {
|
|
27168
27173
|
writer.writeBool(7, f);
|
|
27169
27174
|
}
|
|
27175
|
+
f = message.getEnableLogSummaryOnError();
|
|
27176
|
+
if (f) {
|
|
27177
|
+
writer.writeBool(8, f);
|
|
27178
|
+
}
|
|
27170
27179
|
};
|
|
27171
27180
|
/**
|
|
27172
27181
|
* optional UserAppIDSet user_app_id = 1;
|
|
@@ -27323,6 +27332,20 @@ proto.clarifai.api.PostModelOutputsRequest.prototype.getUsePredictCache = functi
|
|
|
27323
27332
|
proto.clarifai.api.PostModelOutputsRequest.prototype.setUsePredictCache = function (value) {
|
|
27324
27333
|
return jspb.Message.setProto3BooleanField(this, 7, value);
|
|
27325
27334
|
};
|
|
27335
|
+
/**
|
|
27336
|
+
* optional bool enable_log_summary_on_error = 8;
|
|
27337
|
+
* @return {boolean}
|
|
27338
|
+
*/
|
|
27339
|
+
proto.clarifai.api.PostModelOutputsRequest.prototype.getEnableLogSummaryOnError = function () {
|
|
27340
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 8, false));
|
|
27341
|
+
};
|
|
27342
|
+
/**
|
|
27343
|
+
* @param {boolean} value
|
|
27344
|
+
* @return {!proto.clarifai.api.PostModelOutputsRequest} returns this
|
|
27345
|
+
*/
|
|
27346
|
+
proto.clarifai.api.PostModelOutputsRequest.prototype.setEnableLogSummaryOnError = function (value) {
|
|
27347
|
+
return jspb.Message.setProto3BooleanField(this, 8, value);
|
|
27348
|
+
};
|
|
27326
27349
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
27327
27350
|
/**
|
|
27328
27351
|
* Creates an object representation of this proto.
|
|
@@ -28728,7 +28751,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
28728
28751
|
perPage: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
28729
28752
|
notExpired: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
|
|
28730
28753
|
scopesList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f,
|
|
28731
|
-
endpointsList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f
|
|
28754
|
+
endpointsList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f,
|
|
28755
|
+
type: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
28732
28756
|
};
|
|
28733
28757
|
if (includeInstance) {
|
|
28734
28758
|
obj.$jspbMessageInstance = msg;
|
|
@@ -28785,6 +28809,10 @@ proto.clarifai.api.ListKeysRequest.deserializeBinaryFromReader = function (msg,
|
|
|
28785
28809
|
var value = /** @type {string} */ (reader.readString());
|
|
28786
28810
|
msg.addEndpoints(value);
|
|
28787
28811
|
break;
|
|
28812
|
+
case 7:
|
|
28813
|
+
var value = /** @type {string} */ (reader.readString());
|
|
28814
|
+
msg.setType(value);
|
|
28815
|
+
break;
|
|
28788
28816
|
default:
|
|
28789
28817
|
reader.skipField();
|
|
28790
28818
|
break;
|
|
@@ -28834,6 +28862,10 @@ proto.clarifai.api.ListKeysRequest.serializeBinaryToWriter = function (message,
|
|
|
28834
28862
|
if (f.length > 0) {
|
|
28835
28863
|
writer.writeRepeatedString(6, f);
|
|
28836
28864
|
}
|
|
28865
|
+
f = message.getType();
|
|
28866
|
+
if (f.length > 0) {
|
|
28867
|
+
writer.writeString(7, f);
|
|
28868
|
+
}
|
|
28837
28869
|
};
|
|
28838
28870
|
/**
|
|
28839
28871
|
* optional UserAppIDSet user_app_id = 1;
|
|
@@ -28963,6 +28995,20 @@ proto.clarifai.api.ListKeysRequest.prototype.addEndpoints = function (value, opt
|
|
|
28963
28995
|
proto.clarifai.api.ListKeysRequest.prototype.clearEndpointsList = function () {
|
|
28964
28996
|
return this.setEndpointsList([]);
|
|
28965
28997
|
};
|
|
28998
|
+
/**
|
|
28999
|
+
* optional string type = 7;
|
|
29000
|
+
* @return {string}
|
|
29001
|
+
*/
|
|
29002
|
+
proto.clarifai.api.ListKeysRequest.prototype.getType = function () {
|
|
29003
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
29004
|
+
};
|
|
29005
|
+
/**
|
|
29006
|
+
* @param {string} value
|
|
29007
|
+
* @return {!proto.clarifai.api.ListKeysRequest} returns this
|
|
29008
|
+
*/
|
|
29009
|
+
proto.clarifai.api.ListKeysRequest.prototype.setType = function (value) {
|
|
29010
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
29011
|
+
};
|
|
28966
29012
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
28967
29013
|
/**
|
|
28968
29014
|
* Creates an object representation of this proto.
|
|
@@ -43250,7 +43296,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
43250
43296
|
proto.clarifai.api.MultiOutputResponse.toObject = function (includeInstance, msg) {
|
|
43251
43297
|
var f, obj = {
|
|
43252
43298
|
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
|
|
43253
|
-
outputsList: jspb.Message.toObjectList(msg.getOutputsList(), proto_clarifai_api_resources_pb.Output.toObject, includeInstance)
|
|
43299
|
+
outputsList: jspb.Message.toObjectList(msg.getOutputsList(), proto_clarifai_api_resources_pb.Output.toObject, includeInstance),
|
|
43300
|
+
runnerSelector: (f = msg.getRunnerSelector()) && proto_clarifai_api_resources_pb.RunnerSelector.toObject(includeInstance, f)
|
|
43254
43301
|
};
|
|
43255
43302
|
if (includeInstance) {
|
|
43256
43303
|
obj.$jspbMessageInstance = msg;
|
|
@@ -43292,6 +43339,11 @@ proto.clarifai.api.MultiOutputResponse.deserializeBinaryFromReader = function (m
|
|
|
43292
43339
|
reader.readMessage(value, proto_clarifai_api_resources_pb.Output.deserializeBinaryFromReader);
|
|
43293
43340
|
msg.addOutputs(value);
|
|
43294
43341
|
break;
|
|
43342
|
+
case 3:
|
|
43343
|
+
var value = new proto_clarifai_api_resources_pb.RunnerSelector;
|
|
43344
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.RunnerSelector.deserializeBinaryFromReader);
|
|
43345
|
+
msg.setRunnerSelector(value);
|
|
43346
|
+
break;
|
|
43295
43347
|
default:
|
|
43296
43348
|
reader.skipField();
|
|
43297
43349
|
break;
|
|
@@ -43325,6 +43377,10 @@ proto.clarifai.api.MultiOutputResponse.serializeBinaryToWriter = function (messa
|
|
|
43325
43377
|
if (f.length > 0) {
|
|
43326
43378
|
writer.writeRepeatedMessage(2, f, proto_clarifai_api_resources_pb.Output.serializeBinaryToWriter);
|
|
43327
43379
|
}
|
|
43380
|
+
f = message.getRunnerSelector();
|
|
43381
|
+
if (f != null) {
|
|
43382
|
+
writer.writeMessage(3, f, proto_clarifai_api_resources_pb.RunnerSelector.serializeBinaryToWriter);
|
|
43383
|
+
}
|
|
43328
43384
|
};
|
|
43329
43385
|
/**
|
|
43330
43386
|
* optional status.Status status = 1;
|
|
@@ -43383,6 +43439,34 @@ proto.clarifai.api.MultiOutputResponse.prototype.addOutputs = function (opt_valu
|
|
|
43383
43439
|
proto.clarifai.api.MultiOutputResponse.prototype.clearOutputsList = function () {
|
|
43384
43440
|
return this.setOutputsList([]);
|
|
43385
43441
|
};
|
|
43442
|
+
/**
|
|
43443
|
+
* optional RunnerSelector runner_selector = 3;
|
|
43444
|
+
* @return {?proto.clarifai.api.RunnerSelector}
|
|
43445
|
+
*/
|
|
43446
|
+
proto.clarifai.api.MultiOutputResponse.prototype.getRunnerSelector = function () {
|
|
43447
|
+
return /** @type{?proto.clarifai.api.RunnerSelector} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.RunnerSelector, 3));
|
|
43448
|
+
};
|
|
43449
|
+
/**
|
|
43450
|
+
* @param {?proto.clarifai.api.RunnerSelector|undefined} value
|
|
43451
|
+
* @return {!proto.clarifai.api.MultiOutputResponse} returns this
|
|
43452
|
+
*/
|
|
43453
|
+
proto.clarifai.api.MultiOutputResponse.prototype.setRunnerSelector = function (value) {
|
|
43454
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
43455
|
+
};
|
|
43456
|
+
/**
|
|
43457
|
+
* Clears the message field making it undefined.
|
|
43458
|
+
* @return {!proto.clarifai.api.MultiOutputResponse} returns this
|
|
43459
|
+
*/
|
|
43460
|
+
proto.clarifai.api.MultiOutputResponse.prototype.clearRunnerSelector = function () {
|
|
43461
|
+
return this.setRunnerSelector(undefined);
|
|
43462
|
+
};
|
|
43463
|
+
/**
|
|
43464
|
+
* Returns whether this field is set.
|
|
43465
|
+
* @return {boolean}
|
|
43466
|
+
*/
|
|
43467
|
+
proto.clarifai.api.MultiOutputResponse.prototype.hasRunnerSelector = function () {
|
|
43468
|
+
return jspb.Message.getField(this, 3) != null;
|
|
43469
|
+
};
|
|
43386
43470
|
/**
|
|
43387
43471
|
* List of repeated fields within this message type.
|
|
43388
43472
|
* @private {!Array<number>}
|
|
@@ -76187,7 +76271,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
76187
76271
|
page: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
76188
76272
|
perPage: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
76189
76273
|
modelVersionIdsList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f,
|
|
76190
|
-
workflowVersionIdsList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f
|
|
76274
|
+
workflowVersionIdsList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f,
|
|
76275
|
+
computeClusterId: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
76191
76276
|
};
|
|
76192
76277
|
if (includeInstance) {
|
|
76193
76278
|
obj.$jspbMessageInstance = msg;
|
|
@@ -76244,6 +76329,10 @@ proto.clarifai.api.ListDeploymentsRequest.deserializeBinaryFromReader = function
|
|
|
76244
76329
|
var value = /** @type {string} */ (reader.readString());
|
|
76245
76330
|
msg.addWorkflowVersionIds(value);
|
|
76246
76331
|
break;
|
|
76332
|
+
case 7:
|
|
76333
|
+
var value = /** @type {string} */ (reader.readString());
|
|
76334
|
+
msg.setComputeClusterId(value);
|
|
76335
|
+
break;
|
|
76247
76336
|
default:
|
|
76248
76337
|
reader.skipField();
|
|
76249
76338
|
break;
|
|
@@ -76293,6 +76382,10 @@ proto.clarifai.api.ListDeploymentsRequest.serializeBinaryToWriter = function (me
|
|
|
76293
76382
|
if (f.length > 0) {
|
|
76294
76383
|
writer.writeRepeatedString(6, f);
|
|
76295
76384
|
}
|
|
76385
|
+
f = message.getComputeClusterId();
|
|
76386
|
+
if (f.length > 0) {
|
|
76387
|
+
writer.writeString(7, f);
|
|
76388
|
+
}
|
|
76296
76389
|
};
|
|
76297
76390
|
/**
|
|
76298
76391
|
* optional UserAppIDSet user_app_id = 1;
|
|
@@ -76422,6 +76515,20 @@ proto.clarifai.api.ListDeploymentsRequest.prototype.addWorkflowVersionIds = func
|
|
|
76422
76515
|
proto.clarifai.api.ListDeploymentsRequest.prototype.clearWorkflowVersionIdsList = function () {
|
|
76423
76516
|
return this.setWorkflowVersionIdsList([]);
|
|
76424
76517
|
};
|
|
76518
|
+
/**
|
|
76519
|
+
* optional string compute_cluster_id = 7;
|
|
76520
|
+
* @return {string}
|
|
76521
|
+
*/
|
|
76522
|
+
proto.clarifai.api.ListDeploymentsRequest.prototype.getComputeClusterId = function () {
|
|
76523
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
76524
|
+
};
|
|
76525
|
+
/**
|
|
76526
|
+
* @param {string} value
|
|
76527
|
+
* @return {!proto.clarifai.api.ListDeploymentsRequest} returns this
|
|
76528
|
+
*/
|
|
76529
|
+
proto.clarifai.api.ListDeploymentsRequest.prototype.setComputeClusterId = function (value) {
|
|
76530
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
76531
|
+
};
|
|
76425
76532
|
/**
|
|
76426
76533
|
* List of repeated fields within this message type.
|
|
76427
76534
|
* @private {!Array<number>}
|
|
@@ -188,6 +188,15 @@ proto.clarifai.api.status.StatusCode = {
|
|
|
188
188
|
INSTANCE_TYPE_INVALID_ARGUMENT: 26001,
|
|
189
189
|
INSTANCE_TYPE_INVALID_REQUEST: 26002,
|
|
190
190
|
COMPUTE_PLANE_METRICS_INVALID_REQUEST: 26100,
|
|
191
|
+
PIPELINE_STEP_DOES_NOT_EXIST: 26200,
|
|
192
|
+
PIPELINE_STEP_INVALID_ARGUMENT: 26201,
|
|
193
|
+
PIPELINE_STEP_INVALID_REQUEST: 26202,
|
|
194
|
+
PIPELINE_STEP_UPLOADING: 26203,
|
|
195
|
+
PIPELINE_STEP_UPLOADING_FAILED: 26204,
|
|
196
|
+
PIPELINE_STEP_BUILDING: 26205,
|
|
197
|
+
PIPELINE_STEP_BUILDING_FAILED: 26206,
|
|
198
|
+
PIPELINE_STEP_BUILD_UNEXPECTED_ERROR: 26207,
|
|
199
|
+
PIPELINE_STEP_READY: 26208,
|
|
191
200
|
INPUT_SUCCESS: 30000,
|
|
192
201
|
INPUT_PENDING: 30001,
|
|
193
202
|
INPUT_FAILED: 30002,
|
|
@@ -394,6 +403,7 @@ proto.clarifai.api.status.StatusCode = {
|
|
|
394
403
|
UPLOAD_CANCELED: 68005,
|
|
395
404
|
UPLOAD_CONFLICT: 68006,
|
|
396
405
|
BILLING_INVALID_INFO: 69000,
|
|
406
|
+
BILLING_MISSING_TOKENS: 69001,
|
|
397
407
|
LOG_ENTRIES_INVALID_REQUEST: 70000,
|
|
398
408
|
INTERNAL_SERVER_ISSUE: 98004,
|
|
399
409
|
INTERNAL_FETCHING_ISSUE: 98005,
|
|
@@ -409,6 +419,8 @@ proto.clarifai.api.status.StatusCode = {
|
|
|
409
419
|
INTERNAL_AWS_UNCATEGORIZED: 98016,
|
|
410
420
|
INTERNAL_AZURE_UNCATEGORIZED: 98017,
|
|
411
421
|
INTERNAL_VECTORDB_UNCATEGORIZED: 98018,
|
|
422
|
+
INTERNAL_ORACLE_UNCATEGORIZED: 98019,
|
|
423
|
+
INTERNAL_VULTR_UNCATEGORIZED: 98020,
|
|
412
424
|
CONN_UNCATEGORIZED: 99001,
|
|
413
425
|
MODEL_UNCATEGORIZED: 99002,
|
|
414
426
|
INPUT_UNCATEGORIZED: 99003,
|
|
@@ -323,7 +323,10 @@ proto.clarifai.auth.scope.S = {
|
|
|
323
323
|
WORKFLOWVERSIONEVALUATIONS_GET: 152,
|
|
324
324
|
WORKFLOWVERSIONEVALUATIONS_ADD: 153,
|
|
325
325
|
PIPELINE_GET: 154,
|
|
326
|
-
PIPELINE_ADD: 155
|
|
326
|
+
PIPELINE_ADD: 155,
|
|
327
|
+
PIPELINESTEP_GET: 157,
|
|
328
|
+
PIPELINESTEP_ADD: 158,
|
|
329
|
+
PIPELINESTEP_PULL: 159
|
|
327
330
|
};
|
|
328
331
|
/**
|
|
329
332
|
* A tuple of {field number, class constructor} for the extension
|
package/package.json
CHANGED
|
@@ -8575,6 +8575,11 @@ export class InstanceType extends jspb.Message {
|
|
|
8575
8575
|
getRegion(): string;
|
|
8576
8576
|
setRegion(value: string): InstanceType;
|
|
8577
8577
|
|
|
8578
|
+
getAllowedCapacityTypes(): NodeCapacityType | undefined;
|
|
8579
|
+
setAllowedCapacityTypes(value?: NodeCapacityType): InstanceType;
|
|
8580
|
+
hasAllowedCapacityTypes(): boolean;
|
|
8581
|
+
clearAllowedCapacityTypes(): InstanceType;
|
|
8582
|
+
|
|
8578
8583
|
serializeBinary(): Uint8Array;
|
|
8579
8584
|
toObject(includeInstance?: boolean): InstanceType.AsObject;
|
|
8580
8585
|
static toObject(includeInstance: boolean, msg: InstanceType): InstanceType.AsObject;
|
|
@@ -8591,6 +8596,7 @@ export namespace InstanceType {
|
|
|
8591
8596
|
price: string,
|
|
8592
8597
|
cloudProvider?: CloudProvider.AsObject,
|
|
8593
8598
|
region: string,
|
|
8599
|
+
allowedCapacityTypes?: NodeCapacityType.AsObject,
|
|
8594
8600
|
}
|
|
8595
8601
|
}
|
|
8596
8602
|
|
|
@@ -8691,6 +8697,12 @@ export class ComputeInfo extends jspb.Message {
|
|
|
8691
8697
|
getCpuMemory(): string;
|
|
8692
8698
|
setCpuMemory(value: string): ComputeInfo;
|
|
8693
8699
|
|
|
8700
|
+
getCpuRequests(): string;
|
|
8701
|
+
setCpuRequests(value: string): ComputeInfo;
|
|
8702
|
+
|
|
8703
|
+
getCpuMemoryRequests(): string;
|
|
8704
|
+
setCpuMemoryRequests(value: string): ComputeInfo;
|
|
8705
|
+
|
|
8694
8706
|
getNumAccelerators(): number;
|
|
8695
8707
|
setNumAccelerators(value: number): ComputeInfo;
|
|
8696
8708
|
|
|
@@ -8714,6 +8726,8 @@ export namespace ComputeInfo {
|
|
|
8714
8726
|
export type AsObject = {
|
|
8715
8727
|
cpuLimit: string,
|
|
8716
8728
|
cpuMemory: string,
|
|
8729
|
+
cpuRequests: string,
|
|
8730
|
+
cpuMemoryRequests: string,
|
|
8717
8731
|
numAccelerators: number,
|
|
8718
8732
|
acceleratorMemory: string,
|
|
8719
8733
|
acceleratorTypeList: Array<string>,
|
|
@@ -8810,6 +8824,9 @@ export class Deployment extends jspb.Message {
|
|
|
8810
8824
|
hasModifiedAt(): boolean;
|
|
8811
8825
|
clearModifiedAt(): Deployment;
|
|
8812
8826
|
|
|
8827
|
+
getDeployLatestVersion(): boolean;
|
|
8828
|
+
setDeployLatestVersion(value: boolean): Deployment;
|
|
8829
|
+
|
|
8813
8830
|
serializeBinary(): Uint8Array;
|
|
8814
8831
|
toObject(includeInstance?: boolean): Deployment.AsObject;
|
|
8815
8832
|
static toObject(includeInstance: boolean, msg: Deployment): Deployment.AsObject;
|
|
@@ -8831,6 +8848,7 @@ export namespace Deployment {
|
|
|
8831
8848
|
worker?: Worker.AsObject,
|
|
8832
8849
|
createdAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
8833
8850
|
modifiedAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
8851
|
+
deployLatestVersion: boolean,
|
|
8834
8852
|
}
|
|
8835
8853
|
|
|
8836
8854
|
export enum SchedulingChoice {
|
|
@@ -9421,6 +9439,12 @@ export class ComputeSourceMetadata extends jspb.Message {
|
|
|
9421
9439
|
getPipelineVersionRunId(): string;
|
|
9422
9440
|
setPipelineVersionRunId(value: string): ComputeSourceMetadata;
|
|
9423
9441
|
|
|
9442
|
+
getPipelineStepId(): string;
|
|
9443
|
+
setPipelineStepId(value: string): ComputeSourceMetadata;
|
|
9444
|
+
|
|
9445
|
+
getPipelineStepVersionId(): string;
|
|
9446
|
+
setPipelineStepVersionId(value: string): ComputeSourceMetadata;
|
|
9447
|
+
|
|
9424
9448
|
serializeBinary(): Uint8Array;
|
|
9425
9449
|
toObject(includeInstance?: boolean): ComputeSourceMetadata.AsObject;
|
|
9426
9450
|
static toObject(includeInstance: boolean, msg: ComputeSourceMetadata): ComputeSourceMetadata.AsObject;
|
|
@@ -9441,6 +9465,8 @@ export namespace ComputeSourceMetadata {
|
|
|
9441
9465
|
pipelineId: string,
|
|
9442
9466
|
pipelineVersionId: string,
|
|
9443
9467
|
pipelineVersionRunId: string,
|
|
9468
|
+
pipelineStepId: string,
|
|
9469
|
+
pipelineStepVersionId: string,
|
|
9444
9470
|
}
|
|
9445
9471
|
}
|
|
9446
9472
|
|