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
|
@@ -3051,6 +3051,9 @@ export class PostModelOutputsRequest extends jspb.Message {
|
|
|
3051
3051
|
getUsePredictCache(): boolean;
|
|
3052
3052
|
setUsePredictCache(value: boolean): PostModelOutputsRequest;
|
|
3053
3053
|
|
|
3054
|
+
getEnableLogSummaryOnError(): boolean;
|
|
3055
|
+
setEnableLogSummaryOnError(value: boolean): PostModelOutputsRequest;
|
|
3056
|
+
|
|
3054
3057
|
serializeBinary(): Uint8Array;
|
|
3055
3058
|
toObject(includeInstance?: boolean): PostModelOutputsRequest.AsObject;
|
|
3056
3059
|
static toObject(includeInstance: boolean, msg: PostModelOutputsRequest): PostModelOutputsRequest.AsObject;
|
|
@@ -3068,6 +3071,7 @@ export namespace PostModelOutputsRequest {
|
|
|
3068
3071
|
model?: proto_clarifai_api_resources_pb.Model.AsObject,
|
|
3069
3072
|
runnerSelector?: proto_clarifai_api_resources_pb.RunnerSelector.AsObject,
|
|
3070
3073
|
usePredictCache: boolean,
|
|
3074
|
+
enableLogSummaryOnError: boolean,
|
|
3071
3075
|
}
|
|
3072
3076
|
}
|
|
3073
3077
|
|
|
@@ -3324,6 +3328,9 @@ export class ListKeysRequest extends jspb.Message {
|
|
|
3324
3328
|
clearEndpointsList(): ListKeysRequest;
|
|
3325
3329
|
addEndpoints(value: string, index?: number): ListKeysRequest;
|
|
3326
3330
|
|
|
3331
|
+
getType(): string;
|
|
3332
|
+
setType(value: string): ListKeysRequest;
|
|
3333
|
+
|
|
3327
3334
|
serializeBinary(): Uint8Array;
|
|
3328
3335
|
toObject(includeInstance?: boolean): ListKeysRequest.AsObject;
|
|
3329
3336
|
static toObject(includeInstance: boolean, msg: ListKeysRequest): ListKeysRequest.AsObject;
|
|
@@ -3340,6 +3347,7 @@ export namespace ListKeysRequest {
|
|
|
3340
3347
|
notExpired: boolean,
|
|
3341
3348
|
scopesList: Array<string>,
|
|
3342
3349
|
endpointsList: Array<string>,
|
|
3350
|
+
type: string,
|
|
3343
3351
|
}
|
|
3344
3352
|
}
|
|
3345
3353
|
|
|
@@ -3652,6 +3660,9 @@ export class ListModelsRequest extends jspb.Message {
|
|
|
3652
3660
|
getCreator(): string;
|
|
3653
3661
|
setCreator(value: string): ListModelsRequest;
|
|
3654
3662
|
|
|
3663
|
+
getMinReplicas(): number;
|
|
3664
|
+
setMinReplicas(value: number): ListModelsRequest;
|
|
3665
|
+
|
|
3655
3666
|
getSortByCase(): ListModelsRequest.SortByCase;
|
|
3656
3667
|
|
|
3657
3668
|
serializeBinary(): Uint8Array;
|
|
@@ -3694,6 +3705,7 @@ export namespace ListModelsRequest {
|
|
|
3694
3705
|
licenseType: proto_clarifai_api_resources_pb.LicenseType,
|
|
3695
3706
|
source: number,
|
|
3696
3707
|
creator: string,
|
|
3708
|
+
minReplicas: number,
|
|
3697
3709
|
}
|
|
3698
3710
|
|
|
3699
3711
|
export enum SortByCase {
|
|
@@ -4217,6 +4229,9 @@ export class SingleModelResponse extends jspb.Message {
|
|
|
4217
4229
|
hasModel(): boolean;
|
|
4218
4230
|
clearModel(): SingleModelResponse;
|
|
4219
4231
|
|
|
4232
|
+
getWorkflowCount(): number;
|
|
4233
|
+
setWorkflowCount(value: number): SingleModelResponse;
|
|
4234
|
+
|
|
4220
4235
|
serializeBinary(): Uint8Array;
|
|
4221
4236
|
toObject(includeInstance?: boolean): SingleModelResponse.AsObject;
|
|
4222
4237
|
static toObject(includeInstance: boolean, msg: SingleModelResponse): SingleModelResponse.AsObject;
|
|
@@ -4229,6 +4244,7 @@ export namespace SingleModelResponse {
|
|
|
4229
4244
|
export type AsObject = {
|
|
4230
4245
|
status?: proto_clarifai_api_status_status_pb.Status.AsObject,
|
|
4231
4246
|
model?: proto_clarifai_api_resources_pb.Model.AsObject,
|
|
4247
|
+
workflowCount: number,
|
|
4232
4248
|
}
|
|
4233
4249
|
}
|
|
4234
4250
|
|
|
@@ -4358,6 +4374,9 @@ export class ListModelVersionsRequest extends jspb.Message {
|
|
|
4358
4374
|
getSortByCreatedAt(): boolean;
|
|
4359
4375
|
setSortByCreatedAt(value: boolean): ListModelVersionsRequest;
|
|
4360
4376
|
|
|
4377
|
+
getMinReplicas(): number;
|
|
4378
|
+
setMinReplicas(value: number): ListModelVersionsRequest;
|
|
4379
|
+
|
|
4361
4380
|
getSortByCase(): ListModelVersionsRequest.SortByCase;
|
|
4362
4381
|
|
|
4363
4382
|
serializeBinary(): Uint8Array;
|
|
@@ -4381,6 +4400,7 @@ export namespace ListModelVersionsRequest {
|
|
|
4381
4400
|
sortByNumInputs: boolean,
|
|
4382
4401
|
sortByDescription: boolean,
|
|
4383
4402
|
sortByCreatedAt: boolean,
|
|
4403
|
+
minReplicas: number,
|
|
4384
4404
|
}
|
|
4385
4405
|
|
|
4386
4406
|
export enum SortByCase {
|
|
@@ -5643,6 +5663,11 @@ export class MultiOutputResponse extends jspb.Message {
|
|
|
5643
5663
|
clearOutputsList(): MultiOutputResponse;
|
|
5644
5664
|
addOutputs(value?: proto_clarifai_api_resources_pb.Output, index?: number): proto_clarifai_api_resources_pb.Output;
|
|
5645
5665
|
|
|
5666
|
+
getRunnerSelector(): proto_clarifai_api_resources_pb.RunnerSelector | undefined;
|
|
5667
|
+
setRunnerSelector(value?: proto_clarifai_api_resources_pb.RunnerSelector): MultiOutputResponse;
|
|
5668
|
+
hasRunnerSelector(): boolean;
|
|
5669
|
+
clearRunnerSelector(): MultiOutputResponse;
|
|
5670
|
+
|
|
5646
5671
|
serializeBinary(): Uint8Array;
|
|
5647
5672
|
toObject(includeInstance?: boolean): MultiOutputResponse.AsObject;
|
|
5648
5673
|
static toObject(includeInstance: boolean, msg: MultiOutputResponse): MultiOutputResponse.AsObject;
|
|
@@ -5655,6 +5680,7 @@ export namespace MultiOutputResponse {
|
|
|
5655
5680
|
export type AsObject = {
|
|
5656
5681
|
status?: proto_clarifai_api_status_status_pb.Status.AsObject,
|
|
5657
5682
|
outputsList: Array<proto_clarifai_api_resources_pb.Output.AsObject>,
|
|
5683
|
+
runnerSelector?: proto_clarifai_api_resources_pb.RunnerSelector.AsObject,
|
|
5658
5684
|
}
|
|
5659
5685
|
}
|
|
5660
5686
|
|
|
@@ -10949,6 +10975,9 @@ export class ListDeploymentsRequest extends jspb.Message {
|
|
|
10949
10975
|
clearWorkflowVersionIdsList(): ListDeploymentsRequest;
|
|
10950
10976
|
addWorkflowVersionIds(value: string, index?: number): ListDeploymentsRequest;
|
|
10951
10977
|
|
|
10978
|
+
getComputeClusterId(): string;
|
|
10979
|
+
setComputeClusterId(value: string): ListDeploymentsRequest;
|
|
10980
|
+
|
|
10952
10981
|
serializeBinary(): Uint8Array;
|
|
10953
10982
|
toObject(includeInstance?: boolean): ListDeploymentsRequest.AsObject;
|
|
10954
10983
|
static toObject(includeInstance: boolean, msg: ListDeploymentsRequest): ListDeploymentsRequest.AsObject;
|
|
@@ -10965,6 +10994,7 @@ export namespace ListDeploymentsRequest {
|
|
|
10965
10994
|
perPage: number,
|
|
10966
10995
|
modelVersionIdsList: Array<string>,
|
|
10967
10996
|
workflowVersionIdsList: Array<string>,
|
|
10997
|
+
computeClusterId: string,
|
|
10968
10998
|
}
|
|
10969
10999
|
}
|
|
10970
11000
|
|
|
@@ -32011,7 +32011,8 @@ proto.clarifai.api.PostModelOutputsRequest.toObject = function(includeInstance,
|
|
|
32011
32011
|
proto_clarifai_api_resources_pb.Input.toObject, includeInstance),
|
|
32012
32012
|
model: (f = msg.getModel()) && proto_clarifai_api_resources_pb.Model.toObject(includeInstance, f),
|
|
32013
32013
|
runnerSelector: (f = msg.getRunnerSelector()) && proto_clarifai_api_resources_pb.RunnerSelector.toObject(includeInstance, f),
|
|
32014
|
-
usePredictCache: jspb.Message.getBooleanFieldWithDefault(msg, 7, false)
|
|
32014
|
+
usePredictCache: jspb.Message.getBooleanFieldWithDefault(msg, 7, false),
|
|
32015
|
+
enableLogSummaryOnError: jspb.Message.getBooleanFieldWithDefault(msg, 8, false)
|
|
32015
32016
|
};
|
|
32016
32017
|
|
|
32017
32018
|
if (includeInstance) {
|
|
@@ -32080,6 +32081,10 @@ proto.clarifai.api.PostModelOutputsRequest.deserializeBinaryFromReader = functio
|
|
|
32080
32081
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
32081
32082
|
msg.setUsePredictCache(value);
|
|
32082
32083
|
break;
|
|
32084
|
+
case 8:
|
|
32085
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
32086
|
+
msg.setEnableLogSummaryOnError(value);
|
|
32087
|
+
break;
|
|
32083
32088
|
default:
|
|
32084
32089
|
reader.skipField();
|
|
32085
32090
|
break;
|
|
@@ -32162,6 +32167,13 @@ proto.clarifai.api.PostModelOutputsRequest.serializeBinaryToWriter = function(me
|
|
|
32162
32167
|
f
|
|
32163
32168
|
);
|
|
32164
32169
|
}
|
|
32170
|
+
f = message.getEnableLogSummaryOnError();
|
|
32171
|
+
if (f) {
|
|
32172
|
+
writer.writeBool(
|
|
32173
|
+
8,
|
|
32174
|
+
f
|
|
32175
|
+
);
|
|
32176
|
+
}
|
|
32165
32177
|
};
|
|
32166
32178
|
|
|
32167
32179
|
|
|
@@ -32368,6 +32380,24 @@ proto.clarifai.api.PostModelOutputsRequest.prototype.setUsePredictCache = functi
|
|
|
32368
32380
|
};
|
|
32369
32381
|
|
|
32370
32382
|
|
|
32383
|
+
/**
|
|
32384
|
+
* optional bool enable_log_summary_on_error = 8;
|
|
32385
|
+
* @return {boolean}
|
|
32386
|
+
*/
|
|
32387
|
+
proto.clarifai.api.PostModelOutputsRequest.prototype.getEnableLogSummaryOnError = function() {
|
|
32388
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 8, false));
|
|
32389
|
+
};
|
|
32390
|
+
|
|
32391
|
+
|
|
32392
|
+
/**
|
|
32393
|
+
* @param {boolean} value
|
|
32394
|
+
* @return {!proto.clarifai.api.PostModelOutputsRequest} returns this
|
|
32395
|
+
*/
|
|
32396
|
+
proto.clarifai.api.PostModelOutputsRequest.prototype.setEnableLogSummaryOnError = function(value) {
|
|
32397
|
+
return jspb.Message.setProto3BooleanField(this, 8, value);
|
|
32398
|
+
};
|
|
32399
|
+
|
|
32400
|
+
|
|
32371
32401
|
|
|
32372
32402
|
|
|
32373
32403
|
|
|
@@ -34146,7 +34176,8 @@ proto.clarifai.api.ListKeysRequest.toObject = function(includeInstance, msg) {
|
|
|
34146
34176
|
perPage: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
34147
34177
|
notExpired: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
|
|
34148
34178
|
scopesList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f,
|
|
34149
|
-
endpointsList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f
|
|
34179
|
+
endpointsList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f,
|
|
34180
|
+
type: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
34150
34181
|
};
|
|
34151
34182
|
|
|
34152
34183
|
if (includeInstance) {
|
|
@@ -34208,6 +34239,10 @@ proto.clarifai.api.ListKeysRequest.deserializeBinaryFromReader = function(msg, r
|
|
|
34208
34239
|
var value = /** @type {string} */ (reader.readString());
|
|
34209
34240
|
msg.addEndpoints(value);
|
|
34210
34241
|
break;
|
|
34242
|
+
case 7:
|
|
34243
|
+
var value = /** @type {string} */ (reader.readString());
|
|
34244
|
+
msg.setType(value);
|
|
34245
|
+
break;
|
|
34211
34246
|
default:
|
|
34212
34247
|
reader.skipField();
|
|
34213
34248
|
break;
|
|
@@ -34280,6 +34315,13 @@ proto.clarifai.api.ListKeysRequest.serializeBinaryToWriter = function(message, w
|
|
|
34280
34315
|
f
|
|
34281
34316
|
);
|
|
34282
34317
|
}
|
|
34318
|
+
f = message.getType();
|
|
34319
|
+
if (f.length > 0) {
|
|
34320
|
+
writer.writeString(
|
|
34321
|
+
7,
|
|
34322
|
+
f
|
|
34323
|
+
);
|
|
34324
|
+
}
|
|
34283
34325
|
};
|
|
34284
34326
|
|
|
34285
34327
|
|
|
@@ -34448,6 +34490,24 @@ proto.clarifai.api.ListKeysRequest.prototype.clearEndpointsList = function() {
|
|
|
34448
34490
|
};
|
|
34449
34491
|
|
|
34450
34492
|
|
|
34493
|
+
/**
|
|
34494
|
+
* optional string type = 7;
|
|
34495
|
+
* @return {string}
|
|
34496
|
+
*/
|
|
34497
|
+
proto.clarifai.api.ListKeysRequest.prototype.getType = function() {
|
|
34498
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
34499
|
+
};
|
|
34500
|
+
|
|
34501
|
+
|
|
34502
|
+
/**
|
|
34503
|
+
* @param {string} value
|
|
34504
|
+
* @return {!proto.clarifai.api.ListKeysRequest} returns this
|
|
34505
|
+
*/
|
|
34506
|
+
proto.clarifai.api.ListKeysRequest.prototype.setType = function(value) {
|
|
34507
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
34508
|
+
};
|
|
34509
|
+
|
|
34510
|
+
|
|
34451
34511
|
|
|
34452
34512
|
|
|
34453
34513
|
|
|
@@ -36129,7 +36189,8 @@ proto.clarifai.api.ListModelsRequest.toObject = function(includeInstance, msg) {
|
|
|
36129
36189
|
modelVersionIdsList: (f = jspb.Message.getRepeatedField(msg, 28)) == null ? undefined : f,
|
|
36130
36190
|
licenseType: jspb.Message.getFieldWithDefault(msg, 29, 0),
|
|
36131
36191
|
source: jspb.Message.getFieldWithDefault(msg, 30, 0),
|
|
36132
|
-
creator: jspb.Message.getFieldWithDefault(msg, 31, "")
|
|
36192
|
+
creator: jspb.Message.getFieldWithDefault(msg, 31, ""),
|
|
36193
|
+
minReplicas: jspb.Message.getFieldWithDefault(msg, 33, 0)
|
|
36133
36194
|
};
|
|
36134
36195
|
|
|
36135
36196
|
if (includeInstance) {
|
|
@@ -36287,6 +36348,10 @@ proto.clarifai.api.ListModelsRequest.deserializeBinaryFromReader = function(msg,
|
|
|
36287
36348
|
var value = /** @type {string} */ (reader.readString());
|
|
36288
36349
|
msg.setCreator(value);
|
|
36289
36350
|
break;
|
|
36351
|
+
case 33:
|
|
36352
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
36353
|
+
msg.setMinReplicas(value);
|
|
36354
|
+
break;
|
|
36290
36355
|
default:
|
|
36291
36356
|
reader.skipField();
|
|
36292
36357
|
break;
|
|
@@ -36527,6 +36592,13 @@ proto.clarifai.api.ListModelsRequest.serializeBinaryToWriter = function(message,
|
|
|
36527
36592
|
f
|
|
36528
36593
|
);
|
|
36529
36594
|
}
|
|
36595
|
+
f = message.getMinReplicas();
|
|
36596
|
+
if (f !== 0) {
|
|
36597
|
+
writer.writeUint32(
|
|
36598
|
+
33,
|
|
36599
|
+
f
|
|
36600
|
+
);
|
|
36601
|
+
}
|
|
36530
36602
|
};
|
|
36531
36603
|
|
|
36532
36604
|
|
|
@@ -37312,6 +37384,24 @@ proto.clarifai.api.ListModelsRequest.prototype.setCreator = function(value) {
|
|
|
37312
37384
|
};
|
|
37313
37385
|
|
|
37314
37386
|
|
|
37387
|
+
/**
|
|
37388
|
+
* optional uint32 min_replicas = 33;
|
|
37389
|
+
* @return {number}
|
|
37390
|
+
*/
|
|
37391
|
+
proto.clarifai.api.ListModelsRequest.prototype.getMinReplicas = function() {
|
|
37392
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 33, 0));
|
|
37393
|
+
};
|
|
37394
|
+
|
|
37395
|
+
|
|
37396
|
+
/**
|
|
37397
|
+
* @param {number} value
|
|
37398
|
+
* @return {!proto.clarifai.api.ListModelsRequest} returns this
|
|
37399
|
+
*/
|
|
37400
|
+
proto.clarifai.api.ListModelsRequest.prototype.setMinReplicas = function(value) {
|
|
37401
|
+
return jspb.Message.setProto3IntField(this, 33, value);
|
|
37402
|
+
};
|
|
37403
|
+
|
|
37404
|
+
|
|
37315
37405
|
|
|
37316
37406
|
|
|
37317
37407
|
|
|
@@ -41268,7 +41358,8 @@ proto.clarifai.api.SingleModelResponse.prototype.toObject = function(opt_include
|
|
|
41268
41358
|
proto.clarifai.api.SingleModelResponse.toObject = function(includeInstance, msg) {
|
|
41269
41359
|
var f, obj = {
|
|
41270
41360
|
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
|
|
41271
|
-
model: (f = msg.getModel()) && proto_clarifai_api_resources_pb.Model.toObject(includeInstance, f)
|
|
41361
|
+
model: (f = msg.getModel()) && proto_clarifai_api_resources_pb.Model.toObject(includeInstance, f),
|
|
41362
|
+
workflowCount: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
41272
41363
|
};
|
|
41273
41364
|
|
|
41274
41365
|
if (includeInstance) {
|
|
@@ -41315,6 +41406,10 @@ proto.clarifai.api.SingleModelResponse.deserializeBinaryFromReader = function(ms
|
|
|
41315
41406
|
reader.readMessage(value,proto_clarifai_api_resources_pb.Model.deserializeBinaryFromReader);
|
|
41316
41407
|
msg.setModel(value);
|
|
41317
41408
|
break;
|
|
41409
|
+
case 4:
|
|
41410
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
41411
|
+
msg.setWorkflowCount(value);
|
|
41412
|
+
break;
|
|
41318
41413
|
default:
|
|
41319
41414
|
reader.skipField();
|
|
41320
41415
|
break;
|
|
@@ -41360,6 +41455,13 @@ proto.clarifai.api.SingleModelResponse.serializeBinaryToWriter = function(messag
|
|
|
41360
41455
|
proto_clarifai_api_resources_pb.Model.serializeBinaryToWriter
|
|
41361
41456
|
);
|
|
41362
41457
|
}
|
|
41458
|
+
f = message.getWorkflowCount();
|
|
41459
|
+
if (f !== 0) {
|
|
41460
|
+
writer.writeInt32(
|
|
41461
|
+
4,
|
|
41462
|
+
f
|
|
41463
|
+
);
|
|
41464
|
+
}
|
|
41363
41465
|
};
|
|
41364
41466
|
|
|
41365
41467
|
|
|
@@ -41437,6 +41539,24 @@ proto.clarifai.api.SingleModelResponse.prototype.hasModel = function() {
|
|
|
41437
41539
|
};
|
|
41438
41540
|
|
|
41439
41541
|
|
|
41542
|
+
/**
|
|
41543
|
+
* optional int32 workflow_count = 4;
|
|
41544
|
+
* @return {number}
|
|
41545
|
+
*/
|
|
41546
|
+
proto.clarifai.api.SingleModelResponse.prototype.getWorkflowCount = function() {
|
|
41547
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
41548
|
+
};
|
|
41549
|
+
|
|
41550
|
+
|
|
41551
|
+
/**
|
|
41552
|
+
* @param {number} value
|
|
41553
|
+
* @return {!proto.clarifai.api.SingleModelResponse} returns this
|
|
41554
|
+
*/
|
|
41555
|
+
proto.clarifai.api.SingleModelResponse.prototype.setWorkflowCount = function(value) {
|
|
41556
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
41557
|
+
};
|
|
41558
|
+
|
|
41559
|
+
|
|
41440
41560
|
|
|
41441
41561
|
/**
|
|
41442
41562
|
* List of repeated fields within this message type.
|
|
@@ -42207,7 +42327,8 @@ proto.clarifai.api.ListModelVersionsRequest.toObject = function(includeInstance,
|
|
|
42207
42327
|
sortByStatusCode: jspb.Message.getBooleanFieldWithDefault(msg, 8, false),
|
|
42208
42328
|
sortByNumInputs: jspb.Message.getBooleanFieldWithDefault(msg, 9, false),
|
|
42209
42329
|
sortByDescription: jspb.Message.getBooleanFieldWithDefault(msg, 10, false),
|
|
42210
|
-
sortByCreatedAt: jspb.Message.getBooleanFieldWithDefault(msg, 11, false)
|
|
42330
|
+
sortByCreatedAt: jspb.Message.getBooleanFieldWithDefault(msg, 11, false),
|
|
42331
|
+
minReplicas: jspb.Message.getFieldWithDefault(msg, 12, 0)
|
|
42211
42332
|
};
|
|
42212
42333
|
|
|
42213
42334
|
if (includeInstance) {
|
|
@@ -42289,6 +42410,10 @@ proto.clarifai.api.ListModelVersionsRequest.deserializeBinaryFromReader = functi
|
|
|
42289
42410
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
42290
42411
|
msg.setSortByCreatedAt(value);
|
|
42291
42412
|
break;
|
|
42413
|
+
case 12:
|
|
42414
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
42415
|
+
msg.setMinReplicas(value);
|
|
42416
|
+
break;
|
|
42292
42417
|
default:
|
|
42293
42418
|
reader.skipField();
|
|
42294
42419
|
break;
|
|
@@ -42396,6 +42521,13 @@ proto.clarifai.api.ListModelVersionsRequest.serializeBinaryToWriter = function(m
|
|
|
42396
42521
|
f
|
|
42397
42522
|
);
|
|
42398
42523
|
}
|
|
42524
|
+
f = message.getMinReplicas();
|
|
42525
|
+
if (f !== 0) {
|
|
42526
|
+
writer.writeUint32(
|
|
42527
|
+
12,
|
|
42528
|
+
f
|
|
42529
|
+
);
|
|
42530
|
+
}
|
|
42399
42531
|
};
|
|
42400
42532
|
|
|
42401
42533
|
|
|
@@ -42707,6 +42839,24 @@ proto.clarifai.api.ListModelVersionsRequest.prototype.hasSortByCreatedAt = funct
|
|
|
42707
42839
|
};
|
|
42708
42840
|
|
|
42709
42841
|
|
|
42842
|
+
/**
|
|
42843
|
+
* optional uint32 min_replicas = 12;
|
|
42844
|
+
* @return {number}
|
|
42845
|
+
*/
|
|
42846
|
+
proto.clarifai.api.ListModelVersionsRequest.prototype.getMinReplicas = function() {
|
|
42847
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 12, 0));
|
|
42848
|
+
};
|
|
42849
|
+
|
|
42850
|
+
|
|
42851
|
+
/**
|
|
42852
|
+
* @param {number} value
|
|
42853
|
+
* @return {!proto.clarifai.api.ListModelVersionsRequest} returns this
|
|
42854
|
+
*/
|
|
42855
|
+
proto.clarifai.api.ListModelVersionsRequest.prototype.setMinReplicas = function(value) {
|
|
42856
|
+
return jspb.Message.setProto3IntField(this, 12, value);
|
|
42857
|
+
};
|
|
42858
|
+
|
|
42859
|
+
|
|
42710
42860
|
|
|
42711
42861
|
|
|
42712
42862
|
|
|
@@ -52421,7 +52571,8 @@ proto.clarifai.api.MultiOutputResponse.toObject = function(includeInstance, msg)
|
|
|
52421
52571
|
var f, obj = {
|
|
52422
52572
|
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
|
|
52423
52573
|
outputsList: jspb.Message.toObjectList(msg.getOutputsList(),
|
|
52424
|
-
proto_clarifai_api_resources_pb.Output.toObject, includeInstance)
|
|
52574
|
+
proto_clarifai_api_resources_pb.Output.toObject, includeInstance),
|
|
52575
|
+
runnerSelector: (f = msg.getRunnerSelector()) && proto_clarifai_api_resources_pb.RunnerSelector.toObject(includeInstance, f)
|
|
52425
52576
|
};
|
|
52426
52577
|
|
|
52427
52578
|
if (includeInstance) {
|
|
@@ -52468,6 +52619,11 @@ proto.clarifai.api.MultiOutputResponse.deserializeBinaryFromReader = function(ms
|
|
|
52468
52619
|
reader.readMessage(value,proto_clarifai_api_resources_pb.Output.deserializeBinaryFromReader);
|
|
52469
52620
|
msg.addOutputs(value);
|
|
52470
52621
|
break;
|
|
52622
|
+
case 3:
|
|
52623
|
+
var value = new proto_clarifai_api_resources_pb.RunnerSelector;
|
|
52624
|
+
reader.readMessage(value,proto_clarifai_api_resources_pb.RunnerSelector.deserializeBinaryFromReader);
|
|
52625
|
+
msg.setRunnerSelector(value);
|
|
52626
|
+
break;
|
|
52471
52627
|
default:
|
|
52472
52628
|
reader.skipField();
|
|
52473
52629
|
break;
|
|
@@ -52513,6 +52669,14 @@ proto.clarifai.api.MultiOutputResponse.serializeBinaryToWriter = function(messag
|
|
|
52513
52669
|
proto_clarifai_api_resources_pb.Output.serializeBinaryToWriter
|
|
52514
52670
|
);
|
|
52515
52671
|
}
|
|
52672
|
+
f = message.getRunnerSelector();
|
|
52673
|
+
if (f != null) {
|
|
52674
|
+
writer.writeMessage(
|
|
52675
|
+
3,
|
|
52676
|
+
f,
|
|
52677
|
+
proto_clarifai_api_resources_pb.RunnerSelector.serializeBinaryToWriter
|
|
52678
|
+
);
|
|
52679
|
+
}
|
|
52516
52680
|
};
|
|
52517
52681
|
|
|
52518
52682
|
|
|
@@ -52591,6 +52755,43 @@ proto.clarifai.api.MultiOutputResponse.prototype.clearOutputsList = function() {
|
|
|
52591
52755
|
};
|
|
52592
52756
|
|
|
52593
52757
|
|
|
52758
|
+
/**
|
|
52759
|
+
* optional RunnerSelector runner_selector = 3;
|
|
52760
|
+
* @return {?proto.clarifai.api.RunnerSelector}
|
|
52761
|
+
*/
|
|
52762
|
+
proto.clarifai.api.MultiOutputResponse.prototype.getRunnerSelector = function() {
|
|
52763
|
+
return /** @type{?proto.clarifai.api.RunnerSelector} */ (
|
|
52764
|
+
jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.RunnerSelector, 3));
|
|
52765
|
+
};
|
|
52766
|
+
|
|
52767
|
+
|
|
52768
|
+
/**
|
|
52769
|
+
* @param {?proto.clarifai.api.RunnerSelector|undefined} value
|
|
52770
|
+
* @return {!proto.clarifai.api.MultiOutputResponse} returns this
|
|
52771
|
+
*/
|
|
52772
|
+
proto.clarifai.api.MultiOutputResponse.prototype.setRunnerSelector = function(value) {
|
|
52773
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
52774
|
+
};
|
|
52775
|
+
|
|
52776
|
+
|
|
52777
|
+
/**
|
|
52778
|
+
* Clears the message field making it undefined.
|
|
52779
|
+
* @return {!proto.clarifai.api.MultiOutputResponse} returns this
|
|
52780
|
+
*/
|
|
52781
|
+
proto.clarifai.api.MultiOutputResponse.prototype.clearRunnerSelector = function() {
|
|
52782
|
+
return this.setRunnerSelector(undefined);
|
|
52783
|
+
};
|
|
52784
|
+
|
|
52785
|
+
|
|
52786
|
+
/**
|
|
52787
|
+
* Returns whether this field is set.
|
|
52788
|
+
* @return {boolean}
|
|
52789
|
+
*/
|
|
52790
|
+
proto.clarifai.api.MultiOutputResponse.prototype.hasRunnerSelector = function() {
|
|
52791
|
+
return jspb.Message.getField(this, 3) != null;
|
|
52792
|
+
};
|
|
52793
|
+
|
|
52794
|
+
|
|
52594
52795
|
|
|
52595
52796
|
/**
|
|
52596
52797
|
* List of repeated fields within this message type.
|
|
@@ -94020,7 +94221,8 @@ proto.clarifai.api.ListDeploymentsRequest.toObject = function(includeInstance, m
|
|
|
94020
94221
|
page: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
94021
94222
|
perPage: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
94022
94223
|
modelVersionIdsList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f,
|
|
94023
|
-
workflowVersionIdsList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f
|
|
94224
|
+
workflowVersionIdsList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f,
|
|
94225
|
+
computeClusterId: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
94024
94226
|
};
|
|
94025
94227
|
|
|
94026
94228
|
if (includeInstance) {
|
|
@@ -94082,6 +94284,10 @@ proto.clarifai.api.ListDeploymentsRequest.deserializeBinaryFromReader = function
|
|
|
94082
94284
|
var value = /** @type {string} */ (reader.readString());
|
|
94083
94285
|
msg.addWorkflowVersionIds(value);
|
|
94084
94286
|
break;
|
|
94287
|
+
case 7:
|
|
94288
|
+
var value = /** @type {string} */ (reader.readString());
|
|
94289
|
+
msg.setComputeClusterId(value);
|
|
94290
|
+
break;
|
|
94085
94291
|
default:
|
|
94086
94292
|
reader.skipField();
|
|
94087
94293
|
break;
|
|
@@ -94154,6 +94360,13 @@ proto.clarifai.api.ListDeploymentsRequest.serializeBinaryToWriter = function(mes
|
|
|
94154
94360
|
f
|
|
94155
94361
|
);
|
|
94156
94362
|
}
|
|
94363
|
+
f = message.getComputeClusterId();
|
|
94364
|
+
if (f.length > 0) {
|
|
94365
|
+
writer.writeString(
|
|
94366
|
+
7,
|
|
94367
|
+
f
|
|
94368
|
+
);
|
|
94369
|
+
}
|
|
94157
94370
|
};
|
|
94158
94371
|
|
|
94159
94372
|
|
|
@@ -94322,6 +94535,24 @@ proto.clarifai.api.ListDeploymentsRequest.prototype.clearWorkflowVersionIdsList
|
|
|
94322
94535
|
};
|
|
94323
94536
|
|
|
94324
94537
|
|
|
94538
|
+
/**
|
|
94539
|
+
* optional string compute_cluster_id = 7;
|
|
94540
|
+
* @return {string}
|
|
94541
|
+
*/
|
|
94542
|
+
proto.clarifai.api.ListDeploymentsRequest.prototype.getComputeClusterId = function() {
|
|
94543
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
94544
|
+
};
|
|
94545
|
+
|
|
94546
|
+
|
|
94547
|
+
/**
|
|
94548
|
+
* @param {string} value
|
|
94549
|
+
* @return {!proto.clarifai.api.ListDeploymentsRequest} returns this
|
|
94550
|
+
*/
|
|
94551
|
+
proto.clarifai.api.ListDeploymentsRequest.prototype.setComputeClusterId = function(value) {
|
|
94552
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
94553
|
+
};
|
|
94554
|
+
|
|
94555
|
+
|
|
94325
94556
|
|
|
94326
94557
|
/**
|
|
94327
94558
|
* List of repeated fields within this message type.
|
|
@@ -167,6 +167,15 @@ export enum StatusCode {
|
|
|
167
167
|
INSTANCE_TYPE_INVALID_ARGUMENT = 26001,
|
|
168
168
|
INSTANCE_TYPE_INVALID_REQUEST = 26002,
|
|
169
169
|
COMPUTE_PLANE_METRICS_INVALID_REQUEST = 26100,
|
|
170
|
+
PIPELINE_STEP_DOES_NOT_EXIST = 26200,
|
|
171
|
+
PIPELINE_STEP_INVALID_ARGUMENT = 26201,
|
|
172
|
+
PIPELINE_STEP_INVALID_REQUEST = 26202,
|
|
173
|
+
PIPELINE_STEP_UPLOADING = 26203,
|
|
174
|
+
PIPELINE_STEP_UPLOADING_FAILED = 26204,
|
|
175
|
+
PIPELINE_STEP_BUILDING = 26205,
|
|
176
|
+
PIPELINE_STEP_BUILDING_FAILED = 26206,
|
|
177
|
+
PIPELINE_STEP_BUILD_UNEXPECTED_ERROR = 26207,
|
|
178
|
+
PIPELINE_STEP_READY = 26208,
|
|
170
179
|
INPUT_SUCCESS = 30000,
|
|
171
180
|
INPUT_PENDING = 30001,
|
|
172
181
|
INPUT_FAILED = 30002,
|
|
@@ -373,6 +382,7 @@ export enum StatusCode {
|
|
|
373
382
|
UPLOAD_CANCELED = 68005,
|
|
374
383
|
UPLOAD_CONFLICT = 68006,
|
|
375
384
|
BILLING_INVALID_INFO = 69000,
|
|
385
|
+
BILLING_MISSING_TOKENS = 69001,
|
|
376
386
|
LOG_ENTRIES_INVALID_REQUEST = 70000,
|
|
377
387
|
INTERNAL_SERVER_ISSUE = 98004,
|
|
378
388
|
INTERNAL_FETCHING_ISSUE = 98005,
|
|
@@ -388,6 +398,8 @@ export enum StatusCode {
|
|
|
388
398
|
INTERNAL_AWS_UNCATEGORIZED = 98016,
|
|
389
399
|
INTERNAL_AZURE_UNCATEGORIZED = 98017,
|
|
390
400
|
INTERNAL_VECTORDB_UNCATEGORIZED = 98018,
|
|
401
|
+
INTERNAL_ORACLE_UNCATEGORIZED = 98019,
|
|
402
|
+
INTERNAL_VULTR_UNCATEGORIZED = 98020,
|
|
391
403
|
CONN_UNCATEGORIZED = 99001,
|
|
392
404
|
MODEL_UNCATEGORIZED = 99002,
|
|
393
405
|
INPUT_UNCATEGORIZED = 99003,
|
|
@@ -190,6 +190,15 @@ proto.clarifai.api.status.StatusCode = {
|
|
|
190
190
|
INSTANCE_TYPE_INVALID_ARGUMENT: 26001,
|
|
191
191
|
INSTANCE_TYPE_INVALID_REQUEST: 26002,
|
|
192
192
|
COMPUTE_PLANE_METRICS_INVALID_REQUEST: 26100,
|
|
193
|
+
PIPELINE_STEP_DOES_NOT_EXIST: 26200,
|
|
194
|
+
PIPELINE_STEP_INVALID_ARGUMENT: 26201,
|
|
195
|
+
PIPELINE_STEP_INVALID_REQUEST: 26202,
|
|
196
|
+
PIPELINE_STEP_UPLOADING: 26203,
|
|
197
|
+
PIPELINE_STEP_UPLOADING_FAILED: 26204,
|
|
198
|
+
PIPELINE_STEP_BUILDING: 26205,
|
|
199
|
+
PIPELINE_STEP_BUILDING_FAILED: 26206,
|
|
200
|
+
PIPELINE_STEP_BUILD_UNEXPECTED_ERROR: 26207,
|
|
201
|
+
PIPELINE_STEP_READY: 26208,
|
|
193
202
|
INPUT_SUCCESS: 30000,
|
|
194
203
|
INPUT_PENDING: 30001,
|
|
195
204
|
INPUT_FAILED: 30002,
|
|
@@ -396,6 +405,7 @@ proto.clarifai.api.status.StatusCode = {
|
|
|
396
405
|
UPLOAD_CANCELED: 68005,
|
|
397
406
|
UPLOAD_CONFLICT: 68006,
|
|
398
407
|
BILLING_INVALID_INFO: 69000,
|
|
408
|
+
BILLING_MISSING_TOKENS: 69001,
|
|
399
409
|
LOG_ENTRIES_INVALID_REQUEST: 70000,
|
|
400
410
|
INTERNAL_SERVER_ISSUE: 98004,
|
|
401
411
|
INTERNAL_FETCHING_ISSUE: 98005,
|
|
@@ -411,6 +421,8 @@ proto.clarifai.api.status.StatusCode = {
|
|
|
411
421
|
INTERNAL_AWS_UNCATEGORIZED: 98016,
|
|
412
422
|
INTERNAL_AZURE_UNCATEGORIZED: 98017,
|
|
413
423
|
INTERNAL_VECTORDB_UNCATEGORIZED: 98018,
|
|
424
|
+
INTERNAL_ORACLE_UNCATEGORIZED: 98019,
|
|
425
|
+
INTERNAL_VULTR_UNCATEGORIZED: 98020,
|
|
414
426
|
CONN_UNCATEGORIZED: 99001,
|
|
415
427
|
MODEL_UNCATEGORIZED: 99002,
|
|
416
428
|
INPUT_UNCATEGORIZED: 99003,
|
|
@@ -364,7 +364,10 @@ proto.clarifai.auth.scope.S = {
|
|
|
364
364
|
WORKFLOWVERSIONEVALUATIONS_GET: 152,
|
|
365
365
|
WORKFLOWVERSIONEVALUATIONS_ADD: 153,
|
|
366
366
|
PIPELINE_GET: 154,
|
|
367
|
-
PIPELINE_ADD: 155
|
|
367
|
+
PIPELINE_ADD: 155,
|
|
368
|
+
PIPELINESTEP_GET: 157,
|
|
369
|
+
PIPELINESTEP_ADD: 158,
|
|
370
|
+
PIPELINESTEP_PULL: 159
|
|
368
371
|
};
|
|
369
372
|
|
|
370
373
|
|