clarifai-web-grpc 10.6.3 → 10.6.5
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 +53 -16
- package/dist/cjs/proto/clarifai/api/service_grpc_web_pb.js +42 -0
- package/dist/cjs/proto/clarifai/api/service_pb.js +396 -2
- package/dist/cjs/proto/clarifai/api/status/status_code_pb.js +3 -0
- package/dist/cjs/proto/clarifai/auth/scope/scope_pb.js +2 -1
- package/dist/esm/proto/clarifai/api/resources_pb.js +53 -16
- package/dist/esm/proto/clarifai/api/service_grpc_web_pb.js +42 -0
- package/dist/esm/proto/clarifai/api/service_pb.js +396 -2
- package/dist/esm/proto/clarifai/api/status/status_code_pb.js +3 -0
- package/dist/esm/proto/clarifai/auth/scope/scope_pb.js +2 -1
- package/package.json +1 -1
- package/proto/clarifai/api/resources_pb.d.ts +12 -3
- package/proto/clarifai/api/resources_pb.js +61 -17
- package/proto/clarifai/api/service_grpc_web_pb.d.ts +12 -0
- package/proto/clarifai/api/service_grpc_web_pb.js +61 -0
- package/proto/clarifai/api/service_pb.d.ts +56 -0
- package/proto/clarifai/api/service_pb.js +487 -2
- package/proto/clarifai/api/status/status_code_pb.d.ts +3 -0
- package/proto/clarifai/api/status/status_code_pb.js +3 -0
- package/proto/clarifai/auth/scope/scope_pb.d.ts +1 -0
- package/proto/clarifai/auth/scope/scope_pb.js +2 -1
|
@@ -57,6 +57,7 @@ goog.exportSymbol('proto.clarifai.api.AppQuery', null, global);
|
|
|
57
57
|
goog.exportSymbol('proto.clarifai.api.AppResourceCounts', null, global);
|
|
58
58
|
goog.exportSymbol('proto.clarifai.api.Audio', null, global);
|
|
59
59
|
goog.exportSymbol('proto.clarifai.api.AudioInfo', null, global);
|
|
60
|
+
goog.exportSymbol('proto.clarifai.api.AuditOperationType', null, global);
|
|
60
61
|
goog.exportSymbol('proto.clarifai.api.AutoscaleConfig', null, global);
|
|
61
62
|
goog.exportSymbol('proto.clarifai.api.AzureBlobCreds', null, global);
|
|
62
63
|
goog.exportSymbol('proto.clarifai.api.BinaryMetrics', null, global);
|
|
@@ -14326,7 +14327,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
14326
14327
|
base64: msg.getBase64_asB64(),
|
|
14327
14328
|
allowDuplicateUrl: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
|
|
14328
14329
|
hosted: (f = msg.getHosted()) && proto.clarifai.api.HostedURL.toObject(includeInstance, f),
|
|
14329
|
-
imageInfo: (f = msg.getImageInfo()) && proto.clarifai.api.ImageInfo.toObject(includeInstance, f)
|
|
14330
|
+
imageInfo: (f = msg.getImageInfo()) && proto.clarifai.api.ImageInfo.toObject(includeInstance, f),
|
|
14331
|
+
hostedImageInfoMap: (f = msg.getHostedImageInfoMap()) ? f.toObject(includeInstance, proto.clarifai.api.ImageInfo.toObject) : []
|
|
14330
14332
|
};
|
|
14331
14333
|
if (includeInstance) {
|
|
14332
14334
|
obj.$jspbMessageInstance = msg;
|
|
@@ -14380,6 +14382,12 @@ proto.clarifai.api.Image.deserializeBinaryFromReader = function (msg, reader) {
|
|
|
14380
14382
|
reader.readMessage(value, proto.clarifai.api.ImageInfo.deserializeBinaryFromReader);
|
|
14381
14383
|
msg.setImageInfo(value);
|
|
14382
14384
|
break;
|
|
14385
|
+
case 7:
|
|
14386
|
+
var value = msg.getHostedImageInfoMap();
|
|
14387
|
+
reader.readMessage(value, function (message, reader) {
|
|
14388
|
+
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.clarifai.api.ImageInfo.deserializeBinaryFromReader, "", new proto.clarifai.api.ImageInfo());
|
|
14389
|
+
});
|
|
14390
|
+
break;
|
|
14383
14391
|
default:
|
|
14384
14392
|
reader.skipField();
|
|
14385
14393
|
break;
|
|
@@ -14425,6 +14433,10 @@ proto.clarifai.api.Image.serializeBinaryToWriter = function (message, writer) {
|
|
|
14425
14433
|
if (f != null) {
|
|
14426
14434
|
writer.writeMessage(6, f, proto.clarifai.api.ImageInfo.serializeBinaryToWriter);
|
|
14427
14435
|
}
|
|
14436
|
+
f = message.getHostedImageInfoMap(true);
|
|
14437
|
+
if (f && f.getLength() > 0) {
|
|
14438
|
+
f.serializeBinary(7, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.clarifai.api.ImageInfo.serializeBinaryToWriter);
|
|
14439
|
+
}
|
|
14428
14440
|
};
|
|
14429
14441
|
/**
|
|
14430
14442
|
* optional string url = 1;
|
|
@@ -14542,6 +14554,23 @@ proto.clarifai.api.Image.prototype.clearImageInfo = function () {
|
|
|
14542
14554
|
proto.clarifai.api.Image.prototype.hasImageInfo = function () {
|
|
14543
14555
|
return jspb.Message.getField(this, 6) != null;
|
|
14544
14556
|
};
|
|
14557
|
+
/**
|
|
14558
|
+
* map<string, ImageInfo> hosted_image_info = 7;
|
|
14559
|
+
* @param {boolean=} opt_noLazyCreate Do not create the map if
|
|
14560
|
+
* empty, instead returning `undefined`
|
|
14561
|
+
* @return {!jspb.Map<string,!proto.clarifai.api.ImageInfo>}
|
|
14562
|
+
*/
|
|
14563
|
+
proto.clarifai.api.Image.prototype.getHostedImageInfoMap = function (opt_noLazyCreate) {
|
|
14564
|
+
return /** @type {!jspb.Map<string,!proto.clarifai.api.ImageInfo>} */ (jspb.Message.getMapField(this, 7, opt_noLazyCreate, proto.clarifai.api.ImageInfo));
|
|
14565
|
+
};
|
|
14566
|
+
/**
|
|
14567
|
+
* Clears values from the map. The map will be non-null.
|
|
14568
|
+
* @return {!proto.clarifai.api.Image} returns this
|
|
14569
|
+
*/
|
|
14570
|
+
proto.clarifai.api.Image.prototype.clearHostedImageInfoMap = function () {
|
|
14571
|
+
this.getHostedImageInfoMap().clear();
|
|
14572
|
+
return this;
|
|
14573
|
+
};
|
|
14545
14574
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
14546
14575
|
/**
|
|
14547
14576
|
* Creates an object representation of this proto.
|
|
@@ -39890,7 +39919,8 @@ proto.clarifai.api.TaskWorker.serializeBinaryToWriter = function (message, write
|
|
|
39890
39919
|
proto.clarifai.api.TaskWorker.TaskWorkerStrategy = {
|
|
39891
39920
|
WORKER_STRATEGY_NOT_SET: 0,
|
|
39892
39921
|
PARTITIONED: 2,
|
|
39893
|
-
FULL: 3
|
|
39922
|
+
FULL: 3,
|
|
39923
|
+
DYNAMIC: 4
|
|
39894
39924
|
};
|
|
39895
39925
|
/**
|
|
39896
39926
|
* optional TaskWorkerStrategy strategy = 1;
|
|
@@ -54374,7 +54404,7 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
54374
54404
|
*/
|
|
54375
54405
|
proto.clarifai.api.ComputeInfo.toObject = function (includeInstance, msg) {
|
|
54376
54406
|
var f, obj = {
|
|
54377
|
-
|
|
54407
|
+
cpuLimit: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
54378
54408
|
cpuMemory: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
54379
54409
|
numAccelerators: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
54380
54410
|
acceleratorMemory: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
@@ -54410,9 +54440,9 @@ proto.clarifai.api.ComputeInfo.deserializeBinaryFromReader = function (msg, read
|
|
|
54410
54440
|
}
|
|
54411
54441
|
var field = reader.getFieldNumber();
|
|
54412
54442
|
switch (field) {
|
|
54413
|
-
case
|
|
54414
|
-
var value = /** @type {
|
|
54415
|
-
msg.
|
|
54443
|
+
case 6:
|
|
54444
|
+
var value = /** @type {string} */ (reader.readString());
|
|
54445
|
+
msg.setCpuLimit(value);
|
|
54416
54446
|
break;
|
|
54417
54447
|
case 2:
|
|
54418
54448
|
var value = /** @type {string} */ (reader.readString());
|
|
@@ -54455,9 +54485,9 @@ proto.clarifai.api.ComputeInfo.prototype.serializeBinary = function () {
|
|
|
54455
54485
|
*/
|
|
54456
54486
|
proto.clarifai.api.ComputeInfo.serializeBinaryToWriter = function (message, writer) {
|
|
54457
54487
|
var f = undefined;
|
|
54458
|
-
f = message.
|
|
54459
|
-
if (f
|
|
54460
|
-
writer.
|
|
54488
|
+
f = message.getCpuLimit();
|
|
54489
|
+
if (f.length > 0) {
|
|
54490
|
+
writer.writeString(6, f);
|
|
54461
54491
|
}
|
|
54462
54492
|
f = message.getCpuMemory();
|
|
54463
54493
|
if (f.length > 0) {
|
|
@@ -54477,18 +54507,18 @@ proto.clarifai.api.ComputeInfo.serializeBinaryToWriter = function (message, writ
|
|
|
54477
54507
|
}
|
|
54478
54508
|
};
|
|
54479
54509
|
/**
|
|
54480
|
-
* optional
|
|
54481
|
-
* @return {
|
|
54510
|
+
* optional string cpu_limit = 6;
|
|
54511
|
+
* @return {string}
|
|
54482
54512
|
*/
|
|
54483
|
-
proto.clarifai.api.ComputeInfo.prototype.
|
|
54484
|
-
return /** @type {
|
|
54513
|
+
proto.clarifai.api.ComputeInfo.prototype.getCpuLimit = function () {
|
|
54514
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
54485
54515
|
};
|
|
54486
54516
|
/**
|
|
54487
|
-
* @param {
|
|
54517
|
+
* @param {string} value
|
|
54488
54518
|
* @return {!proto.clarifai.api.ComputeInfo} returns this
|
|
54489
54519
|
*/
|
|
54490
|
-
proto.clarifai.api.ComputeInfo.prototype.
|
|
54491
|
-
return jspb.Message.
|
|
54520
|
+
proto.clarifai.api.ComputeInfo.prototype.setCpuLimit = function (value) {
|
|
54521
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
54492
54522
|
};
|
|
54493
54523
|
/**
|
|
54494
54524
|
* optional string cpu_memory = 2;
|
|
@@ -55765,4 +55795,11 @@ proto.clarifai.api.RunnerMethodType = {
|
|
|
55765
55795
|
STREAMING_UNARY: 3,
|
|
55766
55796
|
STREAMING_STREAMING: 4
|
|
55767
55797
|
};
|
|
55798
|
+
/**
|
|
55799
|
+
* @enum {number}
|
|
55800
|
+
*/
|
|
55801
|
+
proto.clarifai.api.AuditOperationType = {
|
|
55802
|
+
AUDIT_OPERATION_TYPE_NOT_SET: 0,
|
|
55803
|
+
APPLICATION_CREATE: 100
|
|
55804
|
+
};
|
|
55768
55805
|
goog.object.extend(exports, proto.clarifai.api);
|
|
@@ -9264,6 +9264,48 @@ proto.clarifai.api.V2PromiseClient.prototype.postModelVersionsTrainingTimeEstima
|
|
|
9264
9264
|
return this.client_.unaryCall(this.hostname_ +
|
|
9265
9265
|
'/clarifai.api.V2/PostModelVersionsTrainingTimeEstimate', request, metadata || {}, methodDescriptor_V2_PostModelVersionsTrainingTimeEstimate);
|
|
9266
9266
|
};
|
|
9267
|
+
/**
|
|
9268
|
+
* @const
|
|
9269
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
9270
|
+
* !proto.clarifai.api.ListInstanceTypesRequest,
|
|
9271
|
+
* !proto.clarifai.api.MultiInstanceTypeResponse>}
|
|
9272
|
+
*/
|
|
9273
|
+
const methodDescriptor_V2_ListInstanceTypes = new grpc.web.MethodDescriptor('/clarifai.api.V2/ListInstanceTypes', grpc.web.MethodType.UNARY, proto.clarifai.api.ListInstanceTypesRequest, proto.clarifai.api.MultiInstanceTypeResponse,
|
|
9274
|
+
/**
|
|
9275
|
+
* @param {!proto.clarifai.api.ListInstanceTypesRequest} request
|
|
9276
|
+
* @return {!Uint8Array}
|
|
9277
|
+
*/
|
|
9278
|
+
function (request) {
|
|
9279
|
+
return request.serializeBinary();
|
|
9280
|
+
}, proto.clarifai.api.MultiInstanceTypeResponse.deserializeBinary);
|
|
9281
|
+
/**
|
|
9282
|
+
* @param {!proto.clarifai.api.ListInstanceTypesRequest} request The
|
|
9283
|
+
* request proto
|
|
9284
|
+
* @param {?Object<string, string>} metadata User defined
|
|
9285
|
+
* call metadata
|
|
9286
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiInstanceTypeResponse)}
|
|
9287
|
+
* callback The callback function(error, response)
|
|
9288
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiInstanceTypeResponse>|undefined}
|
|
9289
|
+
* The XHR Node Readable Stream
|
|
9290
|
+
*/
|
|
9291
|
+
proto.clarifai.api.V2Client.prototype.listInstanceTypes =
|
|
9292
|
+
function (request, metadata, callback) {
|
|
9293
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
9294
|
+
'/clarifai.api.V2/ListInstanceTypes', request, metadata || {}, methodDescriptor_V2_ListInstanceTypes, callback);
|
|
9295
|
+
};
|
|
9296
|
+
/**
|
|
9297
|
+
* @param {!proto.clarifai.api.ListInstanceTypesRequest} request The
|
|
9298
|
+
* request proto
|
|
9299
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
9300
|
+
* call metadata
|
|
9301
|
+
* @return {!Promise<!proto.clarifai.api.MultiInstanceTypeResponse>}
|
|
9302
|
+
* Promise that resolves to the response
|
|
9303
|
+
*/
|
|
9304
|
+
proto.clarifai.api.V2PromiseClient.prototype.listInstanceTypes =
|
|
9305
|
+
function (request, metadata) {
|
|
9306
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
9307
|
+
'/clarifai.api.V2/ListInstanceTypes', request, metadata || {}, methodDescriptor_V2_ListInstanceTypes);
|
|
9308
|
+
};
|
|
9267
9309
|
/**
|
|
9268
9310
|
* @const
|
|
9269
9311
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -153,6 +153,7 @@ goog.exportSymbol('proto.clarifai.api.ListInputsAddJobsRequest', null, global);
|
|
|
153
153
|
goog.exportSymbol('proto.clarifai.api.ListInputsExtractionJobsRequest', null, global);
|
|
154
154
|
goog.exportSymbol('proto.clarifai.api.ListInputsRequest', null, global);
|
|
155
155
|
goog.exportSymbol('proto.clarifai.api.ListInstalledModuleVersionsRequest', null, global);
|
|
156
|
+
goog.exportSymbol('proto.clarifai.api.ListInstanceTypesRequest', null, global);
|
|
156
157
|
goog.exportSymbol('proto.clarifai.api.ListKeysRequest', null, global);
|
|
157
158
|
goog.exportSymbol('proto.clarifai.api.ListKnowledgeGraphsRequest', null, global);
|
|
158
159
|
goog.exportSymbol('proto.clarifai.api.ListLabelOrdersRequest', null, global);
|
|
@@ -212,6 +213,7 @@ goog.exportSymbol('proto.clarifai.api.MultiInputResponse', null, global);
|
|
|
212
213
|
goog.exportSymbol('proto.clarifai.api.MultiInputsAddJobResponse', null, global);
|
|
213
214
|
goog.exportSymbol('proto.clarifai.api.MultiInputsExtractionJobResponse', null, global);
|
|
214
215
|
goog.exportSymbol('proto.clarifai.api.MultiInstalledModuleVersionResponse', null, global);
|
|
216
|
+
goog.exportSymbol('proto.clarifai.api.MultiInstanceTypeResponse', null, global);
|
|
215
217
|
goog.exportSymbol('proto.clarifai.api.MultiKeyResponse', null, global);
|
|
216
218
|
goog.exportSymbol('proto.clarifai.api.MultiKnowledgeGraphResponse', null, global);
|
|
217
219
|
goog.exportSymbol('proto.clarifai.api.MultiLabelOrderResponse', null, global);
|
|
@@ -7420,6 +7422,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
7420
7422
|
*/
|
|
7421
7423
|
proto.clarifai.api.MultiTrainingTimeEstimateResponse.displayName = 'proto.clarifai.api.MultiTrainingTimeEstimateResponse';
|
|
7422
7424
|
}
|
|
7425
|
+
/**
|
|
7426
|
+
* Generated by JsPbCodeGenerator.
|
|
7427
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
7428
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
7429
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
7430
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
7431
|
+
* valid.
|
|
7432
|
+
* @extends {jspb.Message}
|
|
7433
|
+
* @constructor
|
|
7434
|
+
*/
|
|
7435
|
+
proto.clarifai.api.ListInstanceTypesRequest = function (opt_data) {
|
|
7436
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
7437
|
+
};
|
|
7438
|
+
goog.inherits(proto.clarifai.api.ListInstanceTypesRequest, jspb.Message);
|
|
7439
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7440
|
+
/**
|
|
7441
|
+
* @public
|
|
7442
|
+
* @override
|
|
7443
|
+
*/
|
|
7444
|
+
proto.clarifai.api.ListInstanceTypesRequest.displayName = 'proto.clarifai.api.ListInstanceTypesRequest';
|
|
7445
|
+
}
|
|
7446
|
+
/**
|
|
7447
|
+
* Generated by JsPbCodeGenerator.
|
|
7448
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
7449
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
7450
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
7451
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
7452
|
+
* valid.
|
|
7453
|
+
* @extends {jspb.Message}
|
|
7454
|
+
* @constructor
|
|
7455
|
+
*/
|
|
7456
|
+
proto.clarifai.api.MultiInstanceTypeResponse = function (opt_data) {
|
|
7457
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.MultiInstanceTypeResponse.repeatedFields_, null);
|
|
7458
|
+
};
|
|
7459
|
+
goog.inherits(proto.clarifai.api.MultiInstanceTypeResponse, jspb.Message);
|
|
7460
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7461
|
+
/**
|
|
7462
|
+
* @public
|
|
7463
|
+
* @override
|
|
7464
|
+
*/
|
|
7465
|
+
proto.clarifai.api.MultiInstanceTypeResponse.displayName = 'proto.clarifai.api.MultiInstanceTypeResponse';
|
|
7466
|
+
}
|
|
7423
7467
|
/**
|
|
7424
7468
|
* Generated by JsPbCodeGenerator.
|
|
7425
7469
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -28736,7 +28780,7 @@ proto.clarifai.api.GetModelRequest.prototype.clearAdditionalFieldsList = functio
|
|
|
28736
28780
|
* @private {!Array<number>}
|
|
28737
28781
|
* @const
|
|
28738
28782
|
*/
|
|
28739
|
-
proto.clarifai.api.ListModelsRequest.repeatedFields_ = [19, 8, 9, 17, 18, 21];
|
|
28783
|
+
proto.clarifai.api.ListModelsRequest.repeatedFields_ = [19, 8, 9, 17, 18, 21, 28];
|
|
28740
28784
|
/**
|
|
28741
28785
|
* Oneof group definitions for this message. Each group defines the field
|
|
28742
28786
|
* numbers belonging to that group. When of these fields' value is set, all
|
|
@@ -28815,7 +28859,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
28815
28859
|
search: jspb.Message.getFieldWithDefault(msg, 27, ""),
|
|
28816
28860
|
query: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
28817
28861
|
name: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
28818
|
-
filterByUserId: jspb.Message.getBooleanFieldWithDefault(msg, 22, false)
|
|
28862
|
+
filterByUserId: jspb.Message.getBooleanFieldWithDefault(msg, 22, false),
|
|
28863
|
+
modelVersionIdsList: (f = jspb.Message.getRepeatedField(msg, 28)) == null ? undefined : f
|
|
28819
28864
|
};
|
|
28820
28865
|
if (includeInstance) {
|
|
28821
28866
|
obj.$jspbMessageInstance = msg;
|
|
@@ -28952,6 +28997,10 @@ proto.clarifai.api.ListModelsRequest.deserializeBinaryFromReader = function (msg
|
|
|
28952
28997
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
28953
28998
|
msg.setFilterByUserId(value);
|
|
28954
28999
|
break;
|
|
29000
|
+
case 28:
|
|
29001
|
+
var value = /** @type {string} */ (reader.readString());
|
|
29002
|
+
msg.addModelVersionIds(value);
|
|
29003
|
+
break;
|
|
28955
29004
|
default:
|
|
28956
29005
|
reader.skipField();
|
|
28957
29006
|
break;
|
|
@@ -29081,6 +29130,10 @@ proto.clarifai.api.ListModelsRequest.serializeBinaryToWriter = function (message
|
|
|
29081
29130
|
if (f) {
|
|
29082
29131
|
writer.writeBool(22, f);
|
|
29083
29132
|
}
|
|
29133
|
+
f = message.getModelVersionIdsList();
|
|
29134
|
+
if (f.length > 0) {
|
|
29135
|
+
writer.writeRepeatedString(28, f);
|
|
29136
|
+
}
|
|
29084
29137
|
};
|
|
29085
29138
|
/**
|
|
29086
29139
|
* optional UserAppIDSet user_app_id = 1;
|
|
@@ -29620,6 +29673,35 @@ proto.clarifai.api.ListModelsRequest.prototype.getFilterByUserId = function () {
|
|
|
29620
29673
|
proto.clarifai.api.ListModelsRequest.prototype.setFilterByUserId = function (value) {
|
|
29621
29674
|
return jspb.Message.setProto3BooleanField(this, 22, value);
|
|
29622
29675
|
};
|
|
29676
|
+
/**
|
|
29677
|
+
* repeated string model_version_ids = 28;
|
|
29678
|
+
* @return {!Array<string>}
|
|
29679
|
+
*/
|
|
29680
|
+
proto.clarifai.api.ListModelsRequest.prototype.getModelVersionIdsList = function () {
|
|
29681
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 28));
|
|
29682
|
+
};
|
|
29683
|
+
/**
|
|
29684
|
+
* @param {!Array<string>} value
|
|
29685
|
+
* @return {!proto.clarifai.api.ListModelsRequest} returns this
|
|
29686
|
+
*/
|
|
29687
|
+
proto.clarifai.api.ListModelsRequest.prototype.setModelVersionIdsList = function (value) {
|
|
29688
|
+
return jspb.Message.setField(this, 28, value || []);
|
|
29689
|
+
};
|
|
29690
|
+
/**
|
|
29691
|
+
* @param {string} value
|
|
29692
|
+
* @param {number=} opt_index
|
|
29693
|
+
* @return {!proto.clarifai.api.ListModelsRequest} returns this
|
|
29694
|
+
*/
|
|
29695
|
+
proto.clarifai.api.ListModelsRequest.prototype.addModelVersionIds = function (value, opt_index) {
|
|
29696
|
+
return jspb.Message.addToRepeatedField(this, 28, value, opt_index);
|
|
29697
|
+
};
|
|
29698
|
+
/**
|
|
29699
|
+
* Clears the list making it empty but non-null.
|
|
29700
|
+
* @return {!proto.clarifai.api.ListModelsRequest} returns this
|
|
29701
|
+
*/
|
|
29702
|
+
proto.clarifai.api.ListModelsRequest.prototype.clearModelVersionIdsList = function () {
|
|
29703
|
+
return this.setModelVersionIdsList([]);
|
|
29704
|
+
};
|
|
29623
29705
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
29624
29706
|
/**
|
|
29625
29707
|
* Creates an object representation of this proto.
|
|
@@ -71247,6 +71329,318 @@ proto.clarifai.api.MultiTrainingTimeEstimateResponse.prototype.addTrainingTimeEs
|
|
|
71247
71329
|
proto.clarifai.api.MultiTrainingTimeEstimateResponse.prototype.clearTrainingTimeEstimatesList = function () {
|
|
71248
71330
|
return this.setTrainingTimeEstimatesList([]);
|
|
71249
71331
|
};
|
|
71332
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
71333
|
+
/**
|
|
71334
|
+
* Creates an object representation of this proto.
|
|
71335
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
71336
|
+
* Optional fields that are not set will be set to undefined.
|
|
71337
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
71338
|
+
* For the list of reserved names please see:
|
|
71339
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
71340
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
71341
|
+
* JSPB instance for transitional soy proto support:
|
|
71342
|
+
* http://goto/soy-param-migration
|
|
71343
|
+
* @return {!Object}
|
|
71344
|
+
*/
|
|
71345
|
+
proto.clarifai.api.ListInstanceTypesRequest.prototype.toObject = function (opt_includeInstance) {
|
|
71346
|
+
return proto.clarifai.api.ListInstanceTypesRequest.toObject(opt_includeInstance, this);
|
|
71347
|
+
};
|
|
71348
|
+
/**
|
|
71349
|
+
* Static version of the {@see toObject} method.
|
|
71350
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
71351
|
+
* the JSPB instance for transitional soy proto support:
|
|
71352
|
+
* http://goto/soy-param-migration
|
|
71353
|
+
* @param {!proto.clarifai.api.ListInstanceTypesRequest} msg The msg instance to transform.
|
|
71354
|
+
* @return {!Object}
|
|
71355
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
71356
|
+
*/
|
|
71357
|
+
proto.clarifai.api.ListInstanceTypesRequest.toObject = function (includeInstance, msg) {
|
|
71358
|
+
var f, obj = {
|
|
71359
|
+
cloudProvider: (f = msg.getCloudProvider()) && proto_clarifai_api_resources_pb.CloudProvider.toObject(includeInstance, f),
|
|
71360
|
+
region: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
71361
|
+
};
|
|
71362
|
+
if (includeInstance) {
|
|
71363
|
+
obj.$jspbMessageInstance = msg;
|
|
71364
|
+
}
|
|
71365
|
+
return obj;
|
|
71366
|
+
};
|
|
71367
|
+
}
|
|
71368
|
+
/**
|
|
71369
|
+
* Deserializes binary data (in protobuf wire format).
|
|
71370
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
71371
|
+
* @return {!proto.clarifai.api.ListInstanceTypesRequest}
|
|
71372
|
+
*/
|
|
71373
|
+
proto.clarifai.api.ListInstanceTypesRequest.deserializeBinary = function (bytes) {
|
|
71374
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
71375
|
+
var msg = new proto.clarifai.api.ListInstanceTypesRequest;
|
|
71376
|
+
return proto.clarifai.api.ListInstanceTypesRequest.deserializeBinaryFromReader(msg, reader);
|
|
71377
|
+
};
|
|
71378
|
+
/**
|
|
71379
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
71380
|
+
* given reader into the given message object.
|
|
71381
|
+
* @param {!proto.clarifai.api.ListInstanceTypesRequest} msg The message object to deserialize into.
|
|
71382
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
71383
|
+
* @return {!proto.clarifai.api.ListInstanceTypesRequest}
|
|
71384
|
+
*/
|
|
71385
|
+
proto.clarifai.api.ListInstanceTypesRequest.deserializeBinaryFromReader = function (msg, reader) {
|
|
71386
|
+
while (reader.nextField()) {
|
|
71387
|
+
if (reader.isEndGroup()) {
|
|
71388
|
+
break;
|
|
71389
|
+
}
|
|
71390
|
+
var field = reader.getFieldNumber();
|
|
71391
|
+
switch (field) {
|
|
71392
|
+
case 1:
|
|
71393
|
+
var value = new proto_clarifai_api_resources_pb.CloudProvider;
|
|
71394
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.CloudProvider.deserializeBinaryFromReader);
|
|
71395
|
+
msg.setCloudProvider(value);
|
|
71396
|
+
break;
|
|
71397
|
+
case 2:
|
|
71398
|
+
var value = /** @type {string} */ (reader.readString());
|
|
71399
|
+
msg.setRegion(value);
|
|
71400
|
+
break;
|
|
71401
|
+
default:
|
|
71402
|
+
reader.skipField();
|
|
71403
|
+
break;
|
|
71404
|
+
}
|
|
71405
|
+
}
|
|
71406
|
+
return msg;
|
|
71407
|
+
};
|
|
71408
|
+
/**
|
|
71409
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
71410
|
+
* @return {!Uint8Array}
|
|
71411
|
+
*/
|
|
71412
|
+
proto.clarifai.api.ListInstanceTypesRequest.prototype.serializeBinary = function () {
|
|
71413
|
+
var writer = new jspb.BinaryWriter();
|
|
71414
|
+
proto.clarifai.api.ListInstanceTypesRequest.serializeBinaryToWriter(this, writer);
|
|
71415
|
+
return writer.getResultBuffer();
|
|
71416
|
+
};
|
|
71417
|
+
/**
|
|
71418
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
71419
|
+
* format), writing to the given BinaryWriter.
|
|
71420
|
+
* @param {!proto.clarifai.api.ListInstanceTypesRequest} message
|
|
71421
|
+
* @param {!jspb.BinaryWriter} writer
|
|
71422
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
71423
|
+
*/
|
|
71424
|
+
proto.clarifai.api.ListInstanceTypesRequest.serializeBinaryToWriter = function (message, writer) {
|
|
71425
|
+
var f = undefined;
|
|
71426
|
+
f = message.getCloudProvider();
|
|
71427
|
+
if (f != null) {
|
|
71428
|
+
writer.writeMessage(1, f, proto_clarifai_api_resources_pb.CloudProvider.serializeBinaryToWriter);
|
|
71429
|
+
}
|
|
71430
|
+
f = message.getRegion();
|
|
71431
|
+
if (f.length > 0) {
|
|
71432
|
+
writer.writeString(2, f);
|
|
71433
|
+
}
|
|
71434
|
+
};
|
|
71435
|
+
/**
|
|
71436
|
+
* optional CloudProvider cloud_provider = 1;
|
|
71437
|
+
* @return {?proto.clarifai.api.CloudProvider}
|
|
71438
|
+
*/
|
|
71439
|
+
proto.clarifai.api.ListInstanceTypesRequest.prototype.getCloudProvider = function () {
|
|
71440
|
+
return /** @type{?proto.clarifai.api.CloudProvider} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.CloudProvider, 1));
|
|
71441
|
+
};
|
|
71442
|
+
/**
|
|
71443
|
+
* @param {?proto.clarifai.api.CloudProvider|undefined} value
|
|
71444
|
+
* @return {!proto.clarifai.api.ListInstanceTypesRequest} returns this
|
|
71445
|
+
*/
|
|
71446
|
+
proto.clarifai.api.ListInstanceTypesRequest.prototype.setCloudProvider = function (value) {
|
|
71447
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
71448
|
+
};
|
|
71449
|
+
/**
|
|
71450
|
+
* Clears the message field making it undefined.
|
|
71451
|
+
* @return {!proto.clarifai.api.ListInstanceTypesRequest} returns this
|
|
71452
|
+
*/
|
|
71453
|
+
proto.clarifai.api.ListInstanceTypesRequest.prototype.clearCloudProvider = function () {
|
|
71454
|
+
return this.setCloudProvider(undefined);
|
|
71455
|
+
};
|
|
71456
|
+
/**
|
|
71457
|
+
* Returns whether this field is set.
|
|
71458
|
+
* @return {boolean}
|
|
71459
|
+
*/
|
|
71460
|
+
proto.clarifai.api.ListInstanceTypesRequest.prototype.hasCloudProvider = function () {
|
|
71461
|
+
return jspb.Message.getField(this, 1) != null;
|
|
71462
|
+
};
|
|
71463
|
+
/**
|
|
71464
|
+
* optional string region = 2;
|
|
71465
|
+
* @return {string}
|
|
71466
|
+
*/
|
|
71467
|
+
proto.clarifai.api.ListInstanceTypesRequest.prototype.getRegion = function () {
|
|
71468
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
71469
|
+
};
|
|
71470
|
+
/**
|
|
71471
|
+
* @param {string} value
|
|
71472
|
+
* @return {!proto.clarifai.api.ListInstanceTypesRequest} returns this
|
|
71473
|
+
*/
|
|
71474
|
+
proto.clarifai.api.ListInstanceTypesRequest.prototype.setRegion = function (value) {
|
|
71475
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
71476
|
+
};
|
|
71477
|
+
/**
|
|
71478
|
+
* List of repeated fields within this message type.
|
|
71479
|
+
* @private {!Array<number>}
|
|
71480
|
+
* @const
|
|
71481
|
+
*/
|
|
71482
|
+
proto.clarifai.api.MultiInstanceTypeResponse.repeatedFields_ = [2];
|
|
71483
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
71484
|
+
/**
|
|
71485
|
+
* Creates an object representation of this proto.
|
|
71486
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
71487
|
+
* Optional fields that are not set will be set to undefined.
|
|
71488
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
71489
|
+
* For the list of reserved names please see:
|
|
71490
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
71491
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
71492
|
+
* JSPB instance for transitional soy proto support:
|
|
71493
|
+
* http://goto/soy-param-migration
|
|
71494
|
+
* @return {!Object}
|
|
71495
|
+
*/
|
|
71496
|
+
proto.clarifai.api.MultiInstanceTypeResponse.prototype.toObject = function (opt_includeInstance) {
|
|
71497
|
+
return proto.clarifai.api.MultiInstanceTypeResponse.toObject(opt_includeInstance, this);
|
|
71498
|
+
};
|
|
71499
|
+
/**
|
|
71500
|
+
* Static version of the {@see toObject} method.
|
|
71501
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
71502
|
+
* the JSPB instance for transitional soy proto support:
|
|
71503
|
+
* http://goto/soy-param-migration
|
|
71504
|
+
* @param {!proto.clarifai.api.MultiInstanceTypeResponse} msg The msg instance to transform.
|
|
71505
|
+
* @return {!Object}
|
|
71506
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
71507
|
+
*/
|
|
71508
|
+
proto.clarifai.api.MultiInstanceTypeResponse.toObject = function (includeInstance, msg) {
|
|
71509
|
+
var f, obj = {
|
|
71510
|
+
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
|
|
71511
|
+
instanceTypesList: jspb.Message.toObjectList(msg.getInstanceTypesList(), proto_clarifai_api_resources_pb.InstanceType.toObject, includeInstance)
|
|
71512
|
+
};
|
|
71513
|
+
if (includeInstance) {
|
|
71514
|
+
obj.$jspbMessageInstance = msg;
|
|
71515
|
+
}
|
|
71516
|
+
return obj;
|
|
71517
|
+
};
|
|
71518
|
+
}
|
|
71519
|
+
/**
|
|
71520
|
+
* Deserializes binary data (in protobuf wire format).
|
|
71521
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
71522
|
+
* @return {!proto.clarifai.api.MultiInstanceTypeResponse}
|
|
71523
|
+
*/
|
|
71524
|
+
proto.clarifai.api.MultiInstanceTypeResponse.deserializeBinary = function (bytes) {
|
|
71525
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
71526
|
+
var msg = new proto.clarifai.api.MultiInstanceTypeResponse;
|
|
71527
|
+
return proto.clarifai.api.MultiInstanceTypeResponse.deserializeBinaryFromReader(msg, reader);
|
|
71528
|
+
};
|
|
71529
|
+
/**
|
|
71530
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
71531
|
+
* given reader into the given message object.
|
|
71532
|
+
* @param {!proto.clarifai.api.MultiInstanceTypeResponse} msg The message object to deserialize into.
|
|
71533
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
71534
|
+
* @return {!proto.clarifai.api.MultiInstanceTypeResponse}
|
|
71535
|
+
*/
|
|
71536
|
+
proto.clarifai.api.MultiInstanceTypeResponse.deserializeBinaryFromReader = function (msg, reader) {
|
|
71537
|
+
while (reader.nextField()) {
|
|
71538
|
+
if (reader.isEndGroup()) {
|
|
71539
|
+
break;
|
|
71540
|
+
}
|
|
71541
|
+
var field = reader.getFieldNumber();
|
|
71542
|
+
switch (field) {
|
|
71543
|
+
case 1:
|
|
71544
|
+
var value = new proto_clarifai_api_status_status_pb.Status;
|
|
71545
|
+
reader.readMessage(value, proto_clarifai_api_status_status_pb.Status.deserializeBinaryFromReader);
|
|
71546
|
+
msg.setStatus(value);
|
|
71547
|
+
break;
|
|
71548
|
+
case 2:
|
|
71549
|
+
var value = new proto_clarifai_api_resources_pb.InstanceType;
|
|
71550
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.InstanceType.deserializeBinaryFromReader);
|
|
71551
|
+
msg.addInstanceTypes(value);
|
|
71552
|
+
break;
|
|
71553
|
+
default:
|
|
71554
|
+
reader.skipField();
|
|
71555
|
+
break;
|
|
71556
|
+
}
|
|
71557
|
+
}
|
|
71558
|
+
return msg;
|
|
71559
|
+
};
|
|
71560
|
+
/**
|
|
71561
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
71562
|
+
* @return {!Uint8Array}
|
|
71563
|
+
*/
|
|
71564
|
+
proto.clarifai.api.MultiInstanceTypeResponse.prototype.serializeBinary = function () {
|
|
71565
|
+
var writer = new jspb.BinaryWriter();
|
|
71566
|
+
proto.clarifai.api.MultiInstanceTypeResponse.serializeBinaryToWriter(this, writer);
|
|
71567
|
+
return writer.getResultBuffer();
|
|
71568
|
+
};
|
|
71569
|
+
/**
|
|
71570
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
71571
|
+
* format), writing to the given BinaryWriter.
|
|
71572
|
+
* @param {!proto.clarifai.api.MultiInstanceTypeResponse} message
|
|
71573
|
+
* @param {!jspb.BinaryWriter} writer
|
|
71574
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
71575
|
+
*/
|
|
71576
|
+
proto.clarifai.api.MultiInstanceTypeResponse.serializeBinaryToWriter = function (message, writer) {
|
|
71577
|
+
var f = undefined;
|
|
71578
|
+
f = message.getStatus();
|
|
71579
|
+
if (f != null) {
|
|
71580
|
+
writer.writeMessage(1, f, proto_clarifai_api_status_status_pb.Status.serializeBinaryToWriter);
|
|
71581
|
+
}
|
|
71582
|
+
f = message.getInstanceTypesList();
|
|
71583
|
+
if (f.length > 0) {
|
|
71584
|
+
writer.writeRepeatedMessage(2, f, proto_clarifai_api_resources_pb.InstanceType.serializeBinaryToWriter);
|
|
71585
|
+
}
|
|
71586
|
+
};
|
|
71587
|
+
/**
|
|
71588
|
+
* optional status.Status status = 1;
|
|
71589
|
+
* @return {?proto.clarifai.api.status.Status}
|
|
71590
|
+
*/
|
|
71591
|
+
proto.clarifai.api.MultiInstanceTypeResponse.prototype.getStatus = function () {
|
|
71592
|
+
return /** @type{?proto.clarifai.api.status.Status} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_status_status_pb.Status, 1));
|
|
71593
|
+
};
|
|
71594
|
+
/**
|
|
71595
|
+
* @param {?proto.clarifai.api.status.Status|undefined} value
|
|
71596
|
+
* @return {!proto.clarifai.api.MultiInstanceTypeResponse} returns this
|
|
71597
|
+
*/
|
|
71598
|
+
proto.clarifai.api.MultiInstanceTypeResponse.prototype.setStatus = function (value) {
|
|
71599
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
71600
|
+
};
|
|
71601
|
+
/**
|
|
71602
|
+
* Clears the message field making it undefined.
|
|
71603
|
+
* @return {!proto.clarifai.api.MultiInstanceTypeResponse} returns this
|
|
71604
|
+
*/
|
|
71605
|
+
proto.clarifai.api.MultiInstanceTypeResponse.prototype.clearStatus = function () {
|
|
71606
|
+
return this.setStatus(undefined);
|
|
71607
|
+
};
|
|
71608
|
+
/**
|
|
71609
|
+
* Returns whether this field is set.
|
|
71610
|
+
* @return {boolean}
|
|
71611
|
+
*/
|
|
71612
|
+
proto.clarifai.api.MultiInstanceTypeResponse.prototype.hasStatus = function () {
|
|
71613
|
+
return jspb.Message.getField(this, 1) != null;
|
|
71614
|
+
};
|
|
71615
|
+
/**
|
|
71616
|
+
* repeated InstanceType instance_types = 2;
|
|
71617
|
+
* @return {!Array<!proto.clarifai.api.InstanceType>}
|
|
71618
|
+
*/
|
|
71619
|
+
proto.clarifai.api.MultiInstanceTypeResponse.prototype.getInstanceTypesList = function () {
|
|
71620
|
+
return /** @type{!Array<!proto.clarifai.api.InstanceType>} */ (jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.InstanceType, 2));
|
|
71621
|
+
};
|
|
71622
|
+
/**
|
|
71623
|
+
* @param {!Array<!proto.clarifai.api.InstanceType>} value
|
|
71624
|
+
* @return {!proto.clarifai.api.MultiInstanceTypeResponse} returns this
|
|
71625
|
+
*/
|
|
71626
|
+
proto.clarifai.api.MultiInstanceTypeResponse.prototype.setInstanceTypesList = function (value) {
|
|
71627
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
71628
|
+
};
|
|
71629
|
+
/**
|
|
71630
|
+
* @param {!proto.clarifai.api.InstanceType=} opt_value
|
|
71631
|
+
* @param {number=} opt_index
|
|
71632
|
+
* @return {!proto.clarifai.api.InstanceType}
|
|
71633
|
+
*/
|
|
71634
|
+
proto.clarifai.api.MultiInstanceTypeResponse.prototype.addInstanceTypes = function (opt_value, opt_index) {
|
|
71635
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.clarifai.api.InstanceType, opt_index);
|
|
71636
|
+
};
|
|
71637
|
+
/**
|
|
71638
|
+
* Clears the list making it empty but non-null.
|
|
71639
|
+
* @return {!proto.clarifai.api.MultiInstanceTypeResponse} returns this
|
|
71640
|
+
*/
|
|
71641
|
+
proto.clarifai.api.MultiInstanceTypeResponse.prototype.clearInstanceTypesList = function () {
|
|
71642
|
+
return this.setInstanceTypesList([]);
|
|
71643
|
+
};
|
|
71250
71644
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
71251
71645
|
/**
|
|
71252
71646
|
* Creates an object representation of this proto.
|
|
@@ -181,6 +181,9 @@ proto.clarifai.api.status.StatusCode = {
|
|
|
181
181
|
DEPLOYMENT_DOES_NOT_EXIST: 25900,
|
|
182
182
|
DEPLOYMENT_INVALID_ARGUMENT: 25901,
|
|
183
183
|
DEPLOYMENT_INVALID_REQUEST: 25902,
|
|
184
|
+
INSTANCE_TYPE_DOES_NOT_EXIST: 26000,
|
|
185
|
+
INSTANCE_TYPE_INVALID_ARGUMENT: 26001,
|
|
186
|
+
INSTANCE_TYPE_INVALID_REQUEST: 26002,
|
|
184
187
|
INPUT_DOWNLOAD_SUCCESS: 30000,
|
|
185
188
|
INPUT_DOWNLOAD_PENDING: 30001,
|
|
186
189
|
INPUT_DOWNLOAD_FAILED: 30002,
|
|
@@ -316,7 +316,8 @@ proto.clarifai.auth.scope.S = {
|
|
|
316
316
|
COMPUTECLUSTERS_DELETE: 141,
|
|
317
317
|
DEPLOYMENTS_GET: 144,
|
|
318
318
|
DEPLOYMENTS_ADD: 145,
|
|
319
|
-
DEPLOYMENTS_DELETE: 146
|
|
319
|
+
DEPLOYMENTS_DELETE: 146,
|
|
320
|
+
INSTANCETYPES_GET: 148
|
|
320
321
|
};
|
|
321
322
|
/**
|
|
322
323
|
* A tuple of {field number, class constructor} for the extension
|