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
|
@@ -70629,7 +70629,8 @@ proto.clarifai.api.InstanceType.toObject = function(includeInstance, msg) {
|
|
|
70629
70629
|
computeInfo: (f = msg.getComputeInfo()) && proto.clarifai.api.ComputeInfo.toObject(includeInstance, f),
|
|
70630
70630
|
price: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
70631
70631
|
cloudProvider: (f = msg.getCloudProvider()) && proto.clarifai.api.CloudProvider.toObject(includeInstance, f),
|
|
70632
|
-
region: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
70632
|
+
region: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
70633
|
+
allowedCapacityTypes: (f = msg.getAllowedCapacityTypes()) && proto.clarifai.api.NodeCapacityType.toObject(includeInstance, f)
|
|
70633
70634
|
};
|
|
70634
70635
|
|
|
70635
70636
|
if (includeInstance) {
|
|
@@ -70692,6 +70693,11 @@ proto.clarifai.api.InstanceType.deserializeBinaryFromReader = function(msg, read
|
|
|
70692
70693
|
var value = /** @type {string} */ (reader.readString());
|
|
70693
70694
|
msg.setRegion(value);
|
|
70694
70695
|
break;
|
|
70696
|
+
case 7:
|
|
70697
|
+
var value = new proto.clarifai.api.NodeCapacityType;
|
|
70698
|
+
reader.readMessage(value,proto.clarifai.api.NodeCapacityType.deserializeBinaryFromReader);
|
|
70699
|
+
msg.setAllowedCapacityTypes(value);
|
|
70700
|
+
break;
|
|
70695
70701
|
default:
|
|
70696
70702
|
reader.skipField();
|
|
70697
70703
|
break;
|
|
@@ -70765,6 +70771,14 @@ proto.clarifai.api.InstanceType.serializeBinaryToWriter = function(message, writ
|
|
|
70765
70771
|
f
|
|
70766
70772
|
);
|
|
70767
70773
|
}
|
|
70774
|
+
f = message.getAllowedCapacityTypes();
|
|
70775
|
+
if (f != null) {
|
|
70776
|
+
writer.writeMessage(
|
|
70777
|
+
7,
|
|
70778
|
+
f,
|
|
70779
|
+
proto.clarifai.api.NodeCapacityType.serializeBinaryToWriter
|
|
70780
|
+
);
|
|
70781
|
+
}
|
|
70768
70782
|
};
|
|
70769
70783
|
|
|
70770
70784
|
|
|
@@ -70914,6 +70928,43 @@ proto.clarifai.api.InstanceType.prototype.setRegion = function(value) {
|
|
|
70914
70928
|
};
|
|
70915
70929
|
|
|
70916
70930
|
|
|
70931
|
+
/**
|
|
70932
|
+
* optional NodeCapacityType allowed_capacity_types = 7;
|
|
70933
|
+
* @return {?proto.clarifai.api.NodeCapacityType}
|
|
70934
|
+
*/
|
|
70935
|
+
proto.clarifai.api.InstanceType.prototype.getAllowedCapacityTypes = function() {
|
|
70936
|
+
return /** @type{?proto.clarifai.api.NodeCapacityType} */ (
|
|
70937
|
+
jspb.Message.getWrapperField(this, proto.clarifai.api.NodeCapacityType, 7));
|
|
70938
|
+
};
|
|
70939
|
+
|
|
70940
|
+
|
|
70941
|
+
/**
|
|
70942
|
+
* @param {?proto.clarifai.api.NodeCapacityType|undefined} value
|
|
70943
|
+
* @return {!proto.clarifai.api.InstanceType} returns this
|
|
70944
|
+
*/
|
|
70945
|
+
proto.clarifai.api.InstanceType.prototype.setAllowedCapacityTypes = function(value) {
|
|
70946
|
+
return jspb.Message.setWrapperField(this, 7, value);
|
|
70947
|
+
};
|
|
70948
|
+
|
|
70949
|
+
|
|
70950
|
+
/**
|
|
70951
|
+
* Clears the message field making it undefined.
|
|
70952
|
+
* @return {!proto.clarifai.api.InstanceType} returns this
|
|
70953
|
+
*/
|
|
70954
|
+
proto.clarifai.api.InstanceType.prototype.clearAllowedCapacityTypes = function() {
|
|
70955
|
+
return this.setAllowedCapacityTypes(undefined);
|
|
70956
|
+
};
|
|
70957
|
+
|
|
70958
|
+
|
|
70959
|
+
/**
|
|
70960
|
+
* Returns whether this field is set.
|
|
70961
|
+
* @return {boolean}
|
|
70962
|
+
*/
|
|
70963
|
+
proto.clarifai.api.InstanceType.prototype.hasAllowedCapacityTypes = function() {
|
|
70964
|
+
return jspb.Message.getField(this, 7) != null;
|
|
70965
|
+
};
|
|
70966
|
+
|
|
70967
|
+
|
|
70917
70968
|
|
|
70918
70969
|
|
|
70919
70970
|
|
|
@@ -71650,6 +71701,8 @@ proto.clarifai.api.ComputeInfo.toObject = function(includeInstance, msg) {
|
|
|
71650
71701
|
var f, obj = {
|
|
71651
71702
|
cpuLimit: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
71652
71703
|
cpuMemory: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
71704
|
+
cpuRequests: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
71705
|
+
cpuMemoryRequests: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
71653
71706
|
numAccelerators: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
71654
71707
|
acceleratorMemory: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
71655
71708
|
acceleratorTypeList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f
|
|
@@ -71697,6 +71750,14 @@ proto.clarifai.api.ComputeInfo.deserializeBinaryFromReader = function(msg, reade
|
|
|
71697
71750
|
var value = /** @type {string} */ (reader.readString());
|
|
71698
71751
|
msg.setCpuMemory(value);
|
|
71699
71752
|
break;
|
|
71753
|
+
case 7:
|
|
71754
|
+
var value = /** @type {string} */ (reader.readString());
|
|
71755
|
+
msg.setCpuRequests(value);
|
|
71756
|
+
break;
|
|
71757
|
+
case 8:
|
|
71758
|
+
var value = /** @type {string} */ (reader.readString());
|
|
71759
|
+
msg.setCpuMemoryRequests(value);
|
|
71760
|
+
break;
|
|
71700
71761
|
case 3:
|
|
71701
71762
|
var value = /** @type {number} */ (reader.readUint32());
|
|
71702
71763
|
msg.setNumAccelerators(value);
|
|
@@ -71752,6 +71813,20 @@ proto.clarifai.api.ComputeInfo.serializeBinaryToWriter = function(message, write
|
|
|
71752
71813
|
f
|
|
71753
71814
|
);
|
|
71754
71815
|
}
|
|
71816
|
+
f = message.getCpuRequests();
|
|
71817
|
+
if (f.length > 0) {
|
|
71818
|
+
writer.writeString(
|
|
71819
|
+
7,
|
|
71820
|
+
f
|
|
71821
|
+
);
|
|
71822
|
+
}
|
|
71823
|
+
f = message.getCpuMemoryRequests();
|
|
71824
|
+
if (f.length > 0) {
|
|
71825
|
+
writer.writeString(
|
|
71826
|
+
8,
|
|
71827
|
+
f
|
|
71828
|
+
);
|
|
71829
|
+
}
|
|
71755
71830
|
f = message.getNumAccelerators();
|
|
71756
71831
|
if (f !== 0) {
|
|
71757
71832
|
writer.writeUint32(
|
|
@@ -71812,6 +71887,42 @@ proto.clarifai.api.ComputeInfo.prototype.setCpuMemory = function(value) {
|
|
|
71812
71887
|
};
|
|
71813
71888
|
|
|
71814
71889
|
|
|
71890
|
+
/**
|
|
71891
|
+
* optional string cpu_requests = 7;
|
|
71892
|
+
* @return {string}
|
|
71893
|
+
*/
|
|
71894
|
+
proto.clarifai.api.ComputeInfo.prototype.getCpuRequests = function() {
|
|
71895
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
71896
|
+
};
|
|
71897
|
+
|
|
71898
|
+
|
|
71899
|
+
/**
|
|
71900
|
+
* @param {string} value
|
|
71901
|
+
* @return {!proto.clarifai.api.ComputeInfo} returns this
|
|
71902
|
+
*/
|
|
71903
|
+
proto.clarifai.api.ComputeInfo.prototype.setCpuRequests = function(value) {
|
|
71904
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
71905
|
+
};
|
|
71906
|
+
|
|
71907
|
+
|
|
71908
|
+
/**
|
|
71909
|
+
* optional string cpu_memory_requests = 8;
|
|
71910
|
+
* @return {string}
|
|
71911
|
+
*/
|
|
71912
|
+
proto.clarifai.api.ComputeInfo.prototype.getCpuMemoryRequests = function() {
|
|
71913
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
71914
|
+
};
|
|
71915
|
+
|
|
71916
|
+
|
|
71917
|
+
/**
|
|
71918
|
+
* @param {string} value
|
|
71919
|
+
* @return {!proto.clarifai.api.ComputeInfo} returns this
|
|
71920
|
+
*/
|
|
71921
|
+
proto.clarifai.api.ComputeInfo.prototype.setCpuMemoryRequests = function(value) {
|
|
71922
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
71923
|
+
};
|
|
71924
|
+
|
|
71925
|
+
|
|
71815
71926
|
/**
|
|
71816
71927
|
* optional uint32 num_accelerators = 3;
|
|
71817
71928
|
* @return {number}
|
|
@@ -72245,7 +72356,8 @@ proto.clarifai.api.Deployment.toObject = function(includeInstance, msg) {
|
|
|
72245
72356
|
description: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
72246
72357
|
worker: (f = msg.getWorker()) && proto.clarifai.api.Worker.toObject(includeInstance, f),
|
|
72247
72358
|
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
72248
|
-
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
|
|
72359
|
+
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
72360
|
+
deployLatestVersion: jspb.Message.getBooleanFieldWithDefault(msg, 14, false)
|
|
72249
72361
|
};
|
|
72250
72362
|
|
|
72251
72363
|
if (includeInstance) {
|
|
@@ -72333,6 +72445,10 @@ proto.clarifai.api.Deployment.deserializeBinaryFromReader = function(msg, reader
|
|
|
72333
72445
|
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
72334
72446
|
msg.setModifiedAt(value);
|
|
72335
72447
|
break;
|
|
72448
|
+
case 14:
|
|
72449
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
72450
|
+
msg.setDeployLatestVersion(value);
|
|
72451
|
+
break;
|
|
72336
72452
|
default:
|
|
72337
72453
|
reader.skipField();
|
|
72338
72454
|
break;
|
|
@@ -72446,6 +72562,13 @@ proto.clarifai.api.Deployment.serializeBinaryToWriter = function(message, writer
|
|
|
72446
72562
|
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
72447
72563
|
);
|
|
72448
72564
|
}
|
|
72565
|
+
f = message.getDeployLatestVersion();
|
|
72566
|
+
if (f) {
|
|
72567
|
+
writer.writeBool(
|
|
72568
|
+
14,
|
|
72569
|
+
f
|
|
72570
|
+
);
|
|
72571
|
+
}
|
|
72449
72572
|
};
|
|
72450
72573
|
|
|
72451
72574
|
|
|
@@ -72796,6 +72919,24 @@ proto.clarifai.api.Deployment.prototype.hasModifiedAt = function() {
|
|
|
72796
72919
|
};
|
|
72797
72920
|
|
|
72798
72921
|
|
|
72922
|
+
/**
|
|
72923
|
+
* optional bool deploy_latest_version = 14;
|
|
72924
|
+
* @return {boolean}
|
|
72925
|
+
*/
|
|
72926
|
+
proto.clarifai.api.Deployment.prototype.getDeployLatestVersion = function() {
|
|
72927
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 14, false));
|
|
72928
|
+
};
|
|
72929
|
+
|
|
72930
|
+
|
|
72931
|
+
/**
|
|
72932
|
+
* @param {boolean} value
|
|
72933
|
+
* @return {!proto.clarifai.api.Deployment} returns this
|
|
72934
|
+
*/
|
|
72935
|
+
proto.clarifai.api.Deployment.prototype.setDeployLatestVersion = function(value) {
|
|
72936
|
+
return jspb.Message.setProto3BooleanField(this, 14, value);
|
|
72937
|
+
};
|
|
72938
|
+
|
|
72939
|
+
|
|
72799
72940
|
|
|
72800
72941
|
|
|
72801
72942
|
|
|
@@ -76888,7 +77029,9 @@ proto.clarifai.api.ComputeSourceMetadata.toObject = function(includeInstance, ms
|
|
|
76888
77029
|
runnerId: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
76889
77030
|
pipelineId: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
76890
77031
|
pipelineVersionId: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
76891
|
-
pipelineVersionRunId: jspb.Message.getFieldWithDefault(msg, 11, "")
|
|
77032
|
+
pipelineVersionRunId: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
77033
|
+
pipelineStepId: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
77034
|
+
pipelineStepVersionId: jspb.Message.getFieldWithDefault(msg, 13, "")
|
|
76892
77035
|
};
|
|
76893
77036
|
|
|
76894
77037
|
if (includeInstance) {
|
|
@@ -76966,6 +77109,14 @@ proto.clarifai.api.ComputeSourceMetadata.deserializeBinaryFromReader = function(
|
|
|
76966
77109
|
var value = /** @type {string} */ (reader.readString());
|
|
76967
77110
|
msg.setPipelineVersionRunId(value);
|
|
76968
77111
|
break;
|
|
77112
|
+
case 12:
|
|
77113
|
+
var value = /** @type {string} */ (reader.readString());
|
|
77114
|
+
msg.setPipelineStepId(value);
|
|
77115
|
+
break;
|
|
77116
|
+
case 13:
|
|
77117
|
+
var value = /** @type {string} */ (reader.readString());
|
|
77118
|
+
msg.setPipelineStepVersionId(value);
|
|
77119
|
+
break;
|
|
76969
77120
|
default:
|
|
76970
77121
|
reader.skipField();
|
|
76971
77122
|
break;
|
|
@@ -77066,6 +77217,20 @@ proto.clarifai.api.ComputeSourceMetadata.serializeBinaryToWriter = function(mess
|
|
|
77066
77217
|
f
|
|
77067
77218
|
);
|
|
77068
77219
|
}
|
|
77220
|
+
f = message.getPipelineStepId();
|
|
77221
|
+
if (f.length > 0) {
|
|
77222
|
+
writer.writeString(
|
|
77223
|
+
12,
|
|
77224
|
+
f
|
|
77225
|
+
);
|
|
77226
|
+
}
|
|
77227
|
+
f = message.getPipelineStepVersionId();
|
|
77228
|
+
if (f.length > 0) {
|
|
77229
|
+
writer.writeString(
|
|
77230
|
+
13,
|
|
77231
|
+
f
|
|
77232
|
+
);
|
|
77233
|
+
}
|
|
77069
77234
|
};
|
|
77070
77235
|
|
|
77071
77236
|
|
|
@@ -77268,6 +77433,42 @@ proto.clarifai.api.ComputeSourceMetadata.prototype.setPipelineVersionRunId = fun
|
|
|
77268
77433
|
};
|
|
77269
77434
|
|
|
77270
77435
|
|
|
77436
|
+
/**
|
|
77437
|
+
* optional string pipeline_step_id = 12;
|
|
77438
|
+
* @return {string}
|
|
77439
|
+
*/
|
|
77440
|
+
proto.clarifai.api.ComputeSourceMetadata.prototype.getPipelineStepId = function() {
|
|
77441
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
77442
|
+
};
|
|
77443
|
+
|
|
77444
|
+
|
|
77445
|
+
/**
|
|
77446
|
+
* @param {string} value
|
|
77447
|
+
* @return {!proto.clarifai.api.ComputeSourceMetadata} returns this
|
|
77448
|
+
*/
|
|
77449
|
+
proto.clarifai.api.ComputeSourceMetadata.prototype.setPipelineStepId = function(value) {
|
|
77450
|
+
return jspb.Message.setProto3StringField(this, 12, value);
|
|
77451
|
+
};
|
|
77452
|
+
|
|
77453
|
+
|
|
77454
|
+
/**
|
|
77455
|
+
* optional string pipeline_step_version_id = 13;
|
|
77456
|
+
* @return {string}
|
|
77457
|
+
*/
|
|
77458
|
+
proto.clarifai.api.ComputeSourceMetadata.prototype.getPipelineStepVersionId = function() {
|
|
77459
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
|
|
77460
|
+
};
|
|
77461
|
+
|
|
77462
|
+
|
|
77463
|
+
/**
|
|
77464
|
+
* @param {string} value
|
|
77465
|
+
* @return {!proto.clarifai.api.ComputeSourceMetadata} returns this
|
|
77466
|
+
*/
|
|
77467
|
+
proto.clarifai.api.ComputeSourceMetadata.prototype.setPipelineStepVersionId = function(value) {
|
|
77468
|
+
return jspb.Message.setProto3StringField(this, 13, value);
|
|
77469
|
+
};
|
|
77470
|
+
|
|
77471
|
+
|
|
77271
77472
|
|
|
77272
77473
|
|
|
77273
77474
|
|
|
@@ -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
|
|
|
@@ -5655,6 +5663,11 @@ export class MultiOutputResponse extends jspb.Message {
|
|
|
5655
5663
|
clearOutputsList(): MultiOutputResponse;
|
|
5656
5664
|
addOutputs(value?: proto_clarifai_api_resources_pb.Output, index?: number): proto_clarifai_api_resources_pb.Output;
|
|
5657
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
|
+
|
|
5658
5671
|
serializeBinary(): Uint8Array;
|
|
5659
5672
|
toObject(includeInstance?: boolean): MultiOutputResponse.AsObject;
|
|
5660
5673
|
static toObject(includeInstance: boolean, msg: MultiOutputResponse): MultiOutputResponse.AsObject;
|
|
@@ -5667,6 +5680,7 @@ export namespace MultiOutputResponse {
|
|
|
5667
5680
|
export type AsObject = {
|
|
5668
5681
|
status?: proto_clarifai_api_status_status_pb.Status.AsObject,
|
|
5669
5682
|
outputsList: Array<proto_clarifai_api_resources_pb.Output.AsObject>,
|
|
5683
|
+
runnerSelector?: proto_clarifai_api_resources_pb.RunnerSelector.AsObject,
|
|
5670
5684
|
}
|
|
5671
5685
|
}
|
|
5672
5686
|
|
|
@@ -10961,6 +10975,9 @@ export class ListDeploymentsRequest extends jspb.Message {
|
|
|
10961
10975
|
clearWorkflowVersionIdsList(): ListDeploymentsRequest;
|
|
10962
10976
|
addWorkflowVersionIds(value: string, index?: number): ListDeploymentsRequest;
|
|
10963
10977
|
|
|
10978
|
+
getComputeClusterId(): string;
|
|
10979
|
+
setComputeClusterId(value: string): ListDeploymentsRequest;
|
|
10980
|
+
|
|
10964
10981
|
serializeBinary(): Uint8Array;
|
|
10965
10982
|
toObject(includeInstance?: boolean): ListDeploymentsRequest.AsObject;
|
|
10966
10983
|
static toObject(includeInstance: boolean, msg: ListDeploymentsRequest): ListDeploymentsRequest.AsObject;
|
|
@@ -10977,6 +10994,7 @@ export namespace ListDeploymentsRequest {
|
|
|
10977
10994
|
perPage: number,
|
|
10978
10995
|
modelVersionIdsList: Array<string>,
|
|
10979
10996
|
workflowVersionIdsList: Array<string>,
|
|
10997
|
+
computeClusterId: string,
|
|
10980
10998
|
}
|
|
10981
10999
|
}
|
|
10982
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
|
|
|
@@ -52511,7 +52571,8 @@ proto.clarifai.api.MultiOutputResponse.toObject = function(includeInstance, msg)
|
|
|
52511
52571
|
var f, obj = {
|
|
52512
52572
|
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
|
|
52513
52573
|
outputsList: jspb.Message.toObjectList(msg.getOutputsList(),
|
|
52514
|
-
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)
|
|
52515
52576
|
};
|
|
52516
52577
|
|
|
52517
52578
|
if (includeInstance) {
|
|
@@ -52558,6 +52619,11 @@ proto.clarifai.api.MultiOutputResponse.deserializeBinaryFromReader = function(ms
|
|
|
52558
52619
|
reader.readMessage(value,proto_clarifai_api_resources_pb.Output.deserializeBinaryFromReader);
|
|
52559
52620
|
msg.addOutputs(value);
|
|
52560
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;
|
|
52561
52627
|
default:
|
|
52562
52628
|
reader.skipField();
|
|
52563
52629
|
break;
|
|
@@ -52603,6 +52669,14 @@ proto.clarifai.api.MultiOutputResponse.serializeBinaryToWriter = function(messag
|
|
|
52603
52669
|
proto_clarifai_api_resources_pb.Output.serializeBinaryToWriter
|
|
52604
52670
|
);
|
|
52605
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
|
+
}
|
|
52606
52680
|
};
|
|
52607
52681
|
|
|
52608
52682
|
|
|
@@ -52681,6 +52755,43 @@ proto.clarifai.api.MultiOutputResponse.prototype.clearOutputsList = function() {
|
|
|
52681
52755
|
};
|
|
52682
52756
|
|
|
52683
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
|
+
|
|
52684
52795
|
|
|
52685
52796
|
/**
|
|
52686
52797
|
* List of repeated fields within this message type.
|
|
@@ -94110,7 +94221,8 @@ proto.clarifai.api.ListDeploymentsRequest.toObject = function(includeInstance, m
|
|
|
94110
94221
|
page: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
94111
94222
|
perPage: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
94112
94223
|
modelVersionIdsList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f,
|
|
94113
|
-
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, "")
|
|
94114
94226
|
};
|
|
94115
94227
|
|
|
94116
94228
|
if (includeInstance) {
|
|
@@ -94172,6 +94284,10 @@ proto.clarifai.api.ListDeploymentsRequest.deserializeBinaryFromReader = function
|
|
|
94172
94284
|
var value = /** @type {string} */ (reader.readString());
|
|
94173
94285
|
msg.addWorkflowVersionIds(value);
|
|
94174
94286
|
break;
|
|
94287
|
+
case 7:
|
|
94288
|
+
var value = /** @type {string} */ (reader.readString());
|
|
94289
|
+
msg.setComputeClusterId(value);
|
|
94290
|
+
break;
|
|
94175
94291
|
default:
|
|
94176
94292
|
reader.skipField();
|
|
94177
94293
|
break;
|
|
@@ -94244,6 +94360,13 @@ proto.clarifai.api.ListDeploymentsRequest.serializeBinaryToWriter = function(mes
|
|
|
94244
94360
|
f
|
|
94245
94361
|
);
|
|
94246
94362
|
}
|
|
94363
|
+
f = message.getComputeClusterId();
|
|
94364
|
+
if (f.length > 0) {
|
|
94365
|
+
writer.writeString(
|
|
94366
|
+
7,
|
|
94367
|
+
f
|
|
94368
|
+
);
|
|
94369
|
+
}
|
|
94247
94370
|
};
|
|
94248
94371
|
|
|
94249
94372
|
|
|
@@ -94412,6 +94535,24 @@ proto.clarifai.api.ListDeploymentsRequest.prototype.clearWorkflowVersionIdsList
|
|
|
94412
94535
|
};
|
|
94413
94536
|
|
|
94414
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
|
+
|
|
94415
94556
|
|
|
94416
94557
|
/**
|
|
94417
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,
|