clarifai-web-grpc 11.3.1 → 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 +567 -107
- package/dist/cjs/proto/clarifai/api/service_pb.js +183 -7
- 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 +567 -107
- package/dist/esm/proto/clarifai/api/service_pb.js +183 -7
- 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 +111 -28
- package/proto/clarifai/api/resources_pb.js +729 -118
- package/proto/clarifai/api/service_pb.d.ts +30 -0
- package/proto/clarifai/api/service_pb.js +238 -7
- 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
|
@@ -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.
|
|
@@ -30306,7 +30352,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
30306
30352
|
modelVersionIdsList: (f = jspb.Message.getRepeatedField(msg, 28)) == null ? undefined : f,
|
|
30307
30353
|
licenseType: jspb.Message.getFieldWithDefault(msg, 29, 0),
|
|
30308
30354
|
source: jspb.Message.getFieldWithDefault(msg, 30, 0),
|
|
30309
|
-
creator: jspb.Message.getFieldWithDefault(msg, 31, "")
|
|
30355
|
+
creator: jspb.Message.getFieldWithDefault(msg, 31, ""),
|
|
30356
|
+
minReplicas: jspb.Message.getFieldWithDefault(msg, 33, 0)
|
|
30310
30357
|
};
|
|
30311
30358
|
if (includeInstance) {
|
|
30312
30359
|
obj.$jspbMessageInstance = msg;
|
|
@@ -30459,6 +30506,10 @@ proto.clarifai.api.ListModelsRequest.deserializeBinaryFromReader = function (msg
|
|
|
30459
30506
|
var value = /** @type {string} */ (reader.readString());
|
|
30460
30507
|
msg.setCreator(value);
|
|
30461
30508
|
break;
|
|
30509
|
+
case 33:
|
|
30510
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
30511
|
+
msg.setMinReplicas(value);
|
|
30512
|
+
break;
|
|
30462
30513
|
default:
|
|
30463
30514
|
reader.skipField();
|
|
30464
30515
|
break;
|
|
@@ -30604,6 +30655,10 @@ proto.clarifai.api.ListModelsRequest.serializeBinaryToWriter = function (message
|
|
|
30604
30655
|
if (f.length > 0) {
|
|
30605
30656
|
writer.writeString(31, f);
|
|
30606
30657
|
}
|
|
30658
|
+
f = message.getMinReplicas();
|
|
30659
|
+
if (f !== 0) {
|
|
30660
|
+
writer.writeUint32(33, f);
|
|
30661
|
+
}
|
|
30607
30662
|
};
|
|
30608
30663
|
/**
|
|
30609
30664
|
* optional UserAppIDSet user_app_id = 1;
|
|
@@ -31214,6 +31269,20 @@ proto.clarifai.api.ListModelsRequest.prototype.getCreator = function () {
|
|
|
31214
31269
|
proto.clarifai.api.ListModelsRequest.prototype.setCreator = function (value) {
|
|
31215
31270
|
return jspb.Message.setProto3StringField(this, 31, value);
|
|
31216
31271
|
};
|
|
31272
|
+
/**
|
|
31273
|
+
* optional uint32 min_replicas = 33;
|
|
31274
|
+
* @return {number}
|
|
31275
|
+
*/
|
|
31276
|
+
proto.clarifai.api.ListModelsRequest.prototype.getMinReplicas = function () {
|
|
31277
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 33, 0));
|
|
31278
|
+
};
|
|
31279
|
+
/**
|
|
31280
|
+
* @param {number} value
|
|
31281
|
+
* @return {!proto.clarifai.api.ListModelsRequest} returns this
|
|
31282
|
+
*/
|
|
31283
|
+
proto.clarifai.api.ListModelsRequest.prototype.setMinReplicas = function (value) {
|
|
31284
|
+
return jspb.Message.setProto3IntField(this, 33, value);
|
|
31285
|
+
};
|
|
31217
31286
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
31218
31287
|
/**
|
|
31219
31288
|
* Creates an object representation of this proto.
|
|
@@ -34360,7 +34429,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
34360
34429
|
proto.clarifai.api.SingleModelResponse.toObject = function (includeInstance, msg) {
|
|
34361
34430
|
var f, obj = {
|
|
34362
34431
|
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
|
|
34363
|
-
model: (f = msg.getModel()) && proto_clarifai_api_resources_pb.Model.toObject(includeInstance, f)
|
|
34432
|
+
model: (f = msg.getModel()) && proto_clarifai_api_resources_pb.Model.toObject(includeInstance, f),
|
|
34433
|
+
workflowCount: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
34364
34434
|
};
|
|
34365
34435
|
if (includeInstance) {
|
|
34366
34436
|
obj.$jspbMessageInstance = msg;
|
|
@@ -34402,6 +34472,10 @@ proto.clarifai.api.SingleModelResponse.deserializeBinaryFromReader = function (m
|
|
|
34402
34472
|
reader.readMessage(value, proto_clarifai_api_resources_pb.Model.deserializeBinaryFromReader);
|
|
34403
34473
|
msg.setModel(value);
|
|
34404
34474
|
break;
|
|
34475
|
+
case 4:
|
|
34476
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
34477
|
+
msg.setWorkflowCount(value);
|
|
34478
|
+
break;
|
|
34405
34479
|
default:
|
|
34406
34480
|
reader.skipField();
|
|
34407
34481
|
break;
|
|
@@ -34435,6 +34509,10 @@ proto.clarifai.api.SingleModelResponse.serializeBinaryToWriter = function (messa
|
|
|
34435
34509
|
if (f != null) {
|
|
34436
34510
|
writer.writeMessage(2, f, proto_clarifai_api_resources_pb.Model.serializeBinaryToWriter);
|
|
34437
34511
|
}
|
|
34512
|
+
f = message.getWorkflowCount();
|
|
34513
|
+
if (f !== 0) {
|
|
34514
|
+
writer.writeInt32(4, f);
|
|
34515
|
+
}
|
|
34438
34516
|
};
|
|
34439
34517
|
/**
|
|
34440
34518
|
* optional status.Status status = 1;
|
|
@@ -34492,6 +34570,20 @@ proto.clarifai.api.SingleModelResponse.prototype.clearModel = function () {
|
|
|
34492
34570
|
proto.clarifai.api.SingleModelResponse.prototype.hasModel = function () {
|
|
34493
34571
|
return jspb.Message.getField(this, 2) != null;
|
|
34494
34572
|
};
|
|
34573
|
+
/**
|
|
34574
|
+
* optional int32 workflow_count = 4;
|
|
34575
|
+
* @return {number}
|
|
34576
|
+
*/
|
|
34577
|
+
proto.clarifai.api.SingleModelResponse.prototype.getWorkflowCount = function () {
|
|
34578
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
34579
|
+
};
|
|
34580
|
+
/**
|
|
34581
|
+
* @param {number} value
|
|
34582
|
+
* @return {!proto.clarifai.api.SingleModelResponse} returns this
|
|
34583
|
+
*/
|
|
34584
|
+
proto.clarifai.api.SingleModelResponse.prototype.setWorkflowCount = function (value) {
|
|
34585
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
34586
|
+
};
|
|
34495
34587
|
/**
|
|
34496
34588
|
* List of repeated fields within this message type.
|
|
34497
34589
|
* @private {!Array<number>}
|
|
@@ -35108,7 +35200,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
35108
35200
|
sortByStatusCode: jspb.Message.getBooleanFieldWithDefault(msg, 8, false),
|
|
35109
35201
|
sortByNumInputs: jspb.Message.getBooleanFieldWithDefault(msg, 9, false),
|
|
35110
35202
|
sortByDescription: jspb.Message.getBooleanFieldWithDefault(msg, 10, false),
|
|
35111
|
-
sortByCreatedAt: jspb.Message.getBooleanFieldWithDefault(msg, 11, false)
|
|
35203
|
+
sortByCreatedAt: jspb.Message.getBooleanFieldWithDefault(msg, 11, false),
|
|
35204
|
+
minReplicas: jspb.Message.getFieldWithDefault(msg, 12, 0)
|
|
35112
35205
|
};
|
|
35113
35206
|
if (includeInstance) {
|
|
35114
35207
|
obj.$jspbMessageInstance = msg;
|
|
@@ -35185,6 +35278,10 @@ proto.clarifai.api.ListModelVersionsRequest.deserializeBinaryFromReader = functi
|
|
|
35185
35278
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
35186
35279
|
msg.setSortByCreatedAt(value);
|
|
35187
35280
|
break;
|
|
35281
|
+
case 12:
|
|
35282
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
35283
|
+
msg.setMinReplicas(value);
|
|
35284
|
+
break;
|
|
35188
35285
|
default:
|
|
35189
35286
|
reader.skipField();
|
|
35190
35287
|
break;
|
|
@@ -35254,6 +35351,10 @@ proto.clarifai.api.ListModelVersionsRequest.serializeBinaryToWriter = function (
|
|
|
35254
35351
|
if (f != null) {
|
|
35255
35352
|
writer.writeBool(11, f);
|
|
35256
35353
|
}
|
|
35354
|
+
f = message.getMinReplicas();
|
|
35355
|
+
if (f !== 0) {
|
|
35356
|
+
writer.writeUint32(12, f);
|
|
35357
|
+
}
|
|
35257
35358
|
};
|
|
35258
35359
|
/**
|
|
35259
35360
|
* optional UserAppIDSet user_app_id = 1;
|
|
@@ -35494,6 +35595,20 @@ proto.clarifai.api.ListModelVersionsRequest.prototype.clearSortByCreatedAt = fun
|
|
|
35494
35595
|
proto.clarifai.api.ListModelVersionsRequest.prototype.hasSortByCreatedAt = function () {
|
|
35495
35596
|
return jspb.Message.getField(this, 11) != null;
|
|
35496
35597
|
};
|
|
35598
|
+
/**
|
|
35599
|
+
* optional uint32 min_replicas = 12;
|
|
35600
|
+
* @return {number}
|
|
35601
|
+
*/
|
|
35602
|
+
proto.clarifai.api.ListModelVersionsRequest.prototype.getMinReplicas = function () {
|
|
35603
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 12, 0));
|
|
35604
|
+
};
|
|
35605
|
+
/**
|
|
35606
|
+
* @param {number} value
|
|
35607
|
+
* @return {!proto.clarifai.api.ListModelVersionsRequest} returns this
|
|
35608
|
+
*/
|
|
35609
|
+
proto.clarifai.api.ListModelVersionsRequest.prototype.setMinReplicas = function (value) {
|
|
35610
|
+
return jspb.Message.setProto3IntField(this, 12, value);
|
|
35611
|
+
};
|
|
35497
35612
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
35498
35613
|
/**
|
|
35499
35614
|
* Creates an object representation of this proto.
|
|
@@ -43181,7 +43296,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
43181
43296
|
proto.clarifai.api.MultiOutputResponse.toObject = function (includeInstance, msg) {
|
|
43182
43297
|
var f, obj = {
|
|
43183
43298
|
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
|
|
43184
|
-
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)
|
|
43185
43301
|
};
|
|
43186
43302
|
if (includeInstance) {
|
|
43187
43303
|
obj.$jspbMessageInstance = msg;
|
|
@@ -43223,6 +43339,11 @@ proto.clarifai.api.MultiOutputResponse.deserializeBinaryFromReader = function (m
|
|
|
43223
43339
|
reader.readMessage(value, proto_clarifai_api_resources_pb.Output.deserializeBinaryFromReader);
|
|
43224
43340
|
msg.addOutputs(value);
|
|
43225
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;
|
|
43226
43347
|
default:
|
|
43227
43348
|
reader.skipField();
|
|
43228
43349
|
break;
|
|
@@ -43256,6 +43377,10 @@ proto.clarifai.api.MultiOutputResponse.serializeBinaryToWriter = function (messa
|
|
|
43256
43377
|
if (f.length > 0) {
|
|
43257
43378
|
writer.writeRepeatedMessage(2, f, proto_clarifai_api_resources_pb.Output.serializeBinaryToWriter);
|
|
43258
43379
|
}
|
|
43380
|
+
f = message.getRunnerSelector();
|
|
43381
|
+
if (f != null) {
|
|
43382
|
+
writer.writeMessage(3, f, proto_clarifai_api_resources_pb.RunnerSelector.serializeBinaryToWriter);
|
|
43383
|
+
}
|
|
43259
43384
|
};
|
|
43260
43385
|
/**
|
|
43261
43386
|
* optional status.Status status = 1;
|
|
@@ -43314,6 +43439,34 @@ proto.clarifai.api.MultiOutputResponse.prototype.addOutputs = function (opt_valu
|
|
|
43314
43439
|
proto.clarifai.api.MultiOutputResponse.prototype.clearOutputsList = function () {
|
|
43315
43440
|
return this.setOutputsList([]);
|
|
43316
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
|
+
};
|
|
43317
43470
|
/**
|
|
43318
43471
|
* List of repeated fields within this message type.
|
|
43319
43472
|
* @private {!Array<number>}
|
|
@@ -76118,7 +76271,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
76118
76271
|
page: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
76119
76272
|
perPage: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
76120
76273
|
modelVersionIdsList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f,
|
|
76121
|
-
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, "")
|
|
76122
76276
|
};
|
|
76123
76277
|
if (includeInstance) {
|
|
76124
76278
|
obj.$jspbMessageInstance = msg;
|
|
@@ -76175,6 +76329,10 @@ proto.clarifai.api.ListDeploymentsRequest.deserializeBinaryFromReader = function
|
|
|
76175
76329
|
var value = /** @type {string} */ (reader.readString());
|
|
76176
76330
|
msg.addWorkflowVersionIds(value);
|
|
76177
76331
|
break;
|
|
76332
|
+
case 7:
|
|
76333
|
+
var value = /** @type {string} */ (reader.readString());
|
|
76334
|
+
msg.setComputeClusterId(value);
|
|
76335
|
+
break;
|
|
76178
76336
|
default:
|
|
76179
76337
|
reader.skipField();
|
|
76180
76338
|
break;
|
|
@@ -76224,6 +76382,10 @@ proto.clarifai.api.ListDeploymentsRequest.serializeBinaryToWriter = function (me
|
|
|
76224
76382
|
if (f.length > 0) {
|
|
76225
76383
|
writer.writeRepeatedString(6, f);
|
|
76226
76384
|
}
|
|
76385
|
+
f = message.getComputeClusterId();
|
|
76386
|
+
if (f.length > 0) {
|
|
76387
|
+
writer.writeString(7, f);
|
|
76388
|
+
}
|
|
76227
76389
|
};
|
|
76228
76390
|
/**
|
|
76229
76391
|
* optional UserAppIDSet user_app_id = 1;
|
|
@@ -76353,6 +76515,20 @@ proto.clarifai.api.ListDeploymentsRequest.prototype.addWorkflowVersionIds = func
|
|
|
76353
76515
|
proto.clarifai.api.ListDeploymentsRequest.prototype.clearWorkflowVersionIdsList = function () {
|
|
76354
76516
|
return this.setWorkflowVersionIdsList([]);
|
|
76355
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
|
+
};
|
|
76356
76532
|
/**
|
|
76357
76533
|
* List of repeated fields within this message type.
|
|
76358
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
|