clarifai-web-grpc 10.11.2 → 11.0.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 +2132 -6
- package/dist/cjs/proto/clarifai/api/service_pb.js +47 -1
- package/dist/cjs/proto/clarifai/api/status/status_code_pb.js +6 -0
- package/dist/esm/proto/clarifai/api/resources_pb.js +2132 -6
- package/dist/esm/proto/clarifai/api/service_pb.js +47 -1
- package/dist/esm/proto/clarifai/api/status/status_code_pb.js +6 -0
- package/package.json +1 -1
- package/proto/clarifai/api/resources_pb.d.ts +335 -0
- package/proto/clarifai/api/resources_pb.js +2664 -6
- package/proto/clarifai/api/service_pb.d.ts +8 -0
- package/proto/clarifai/api/service_pb.js +61 -1
- package/proto/clarifai/api/status/status_code_pb.d.ts +6 -0
- package/proto/clarifai/api/status/status_code_pb.js +6 -0
|
@@ -42336,7 +42336,9 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
42336
42336
|
proto.clarifai.api.MultiLogEntryResponse.toObject = function (includeInstance, msg) {
|
|
42337
42337
|
var f, obj = {
|
|
42338
42338
|
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
|
|
42339
|
-
logEntriesList: jspb.Message.toObjectList(msg.getLogEntriesList(), proto_clarifai_api_resources_pb.LogEntry.toObject, includeInstance)
|
|
42339
|
+
logEntriesList: jspb.Message.toObjectList(msg.getLogEntriesList(), proto_clarifai_api_resources_pb.LogEntry.toObject, includeInstance),
|
|
42340
|
+
page: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
42341
|
+
perPage: jspb.Message.getFieldWithDefault(msg, 5, 0)
|
|
42340
42342
|
};
|
|
42341
42343
|
if (includeInstance) {
|
|
42342
42344
|
obj.$jspbMessageInstance = msg;
|
|
@@ -42378,6 +42380,14 @@ proto.clarifai.api.MultiLogEntryResponse.deserializeBinaryFromReader = function
|
|
|
42378
42380
|
reader.readMessage(value, proto_clarifai_api_resources_pb.LogEntry.deserializeBinaryFromReader);
|
|
42379
42381
|
msg.addLogEntries(value);
|
|
42380
42382
|
break;
|
|
42383
|
+
case 4:
|
|
42384
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
42385
|
+
msg.setPage(value);
|
|
42386
|
+
break;
|
|
42387
|
+
case 5:
|
|
42388
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
42389
|
+
msg.setPerPage(value);
|
|
42390
|
+
break;
|
|
42381
42391
|
default:
|
|
42382
42392
|
reader.skipField();
|
|
42383
42393
|
break;
|
|
@@ -42411,6 +42421,14 @@ proto.clarifai.api.MultiLogEntryResponse.serializeBinaryToWriter = function (mes
|
|
|
42411
42421
|
if (f.length > 0) {
|
|
42412
42422
|
writer.writeRepeatedMessage(2, f, proto_clarifai_api_resources_pb.LogEntry.serializeBinaryToWriter);
|
|
42413
42423
|
}
|
|
42424
|
+
f = message.getPage();
|
|
42425
|
+
if (f !== 0) {
|
|
42426
|
+
writer.writeUint32(4, f);
|
|
42427
|
+
}
|
|
42428
|
+
f = message.getPerPage();
|
|
42429
|
+
if (f !== 0) {
|
|
42430
|
+
writer.writeUint32(5, f);
|
|
42431
|
+
}
|
|
42414
42432
|
};
|
|
42415
42433
|
/**
|
|
42416
42434
|
* optional status.Status status = 1;
|
|
@@ -42469,6 +42487,34 @@ proto.clarifai.api.MultiLogEntryResponse.prototype.addLogEntries = function (opt
|
|
|
42469
42487
|
proto.clarifai.api.MultiLogEntryResponse.prototype.clearLogEntriesList = function () {
|
|
42470
42488
|
return this.setLogEntriesList([]);
|
|
42471
42489
|
};
|
|
42490
|
+
/**
|
|
42491
|
+
* optional uint32 page = 4;
|
|
42492
|
+
* @return {number}
|
|
42493
|
+
*/
|
|
42494
|
+
proto.clarifai.api.MultiLogEntryResponse.prototype.getPage = function () {
|
|
42495
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
42496
|
+
};
|
|
42497
|
+
/**
|
|
42498
|
+
* @param {number} value
|
|
42499
|
+
* @return {!proto.clarifai.api.MultiLogEntryResponse} returns this
|
|
42500
|
+
*/
|
|
42501
|
+
proto.clarifai.api.MultiLogEntryResponse.prototype.setPage = function (value) {
|
|
42502
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
42503
|
+
};
|
|
42504
|
+
/**
|
|
42505
|
+
* optional uint32 per_page = 5;
|
|
42506
|
+
* @return {number}
|
|
42507
|
+
*/
|
|
42508
|
+
proto.clarifai.api.MultiLogEntryResponse.prototype.getPerPage = function () {
|
|
42509
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
42510
|
+
};
|
|
42511
|
+
/**
|
|
42512
|
+
* @param {number} value
|
|
42513
|
+
* @return {!proto.clarifai.api.MultiLogEntryResponse} returns this
|
|
42514
|
+
*/
|
|
42515
|
+
proto.clarifai.api.MultiLogEntryResponse.prototype.setPerPage = function (value) {
|
|
42516
|
+
return jspb.Message.setProto3IntField(this, 5, value);
|
|
42517
|
+
};
|
|
42472
42518
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
42473
42519
|
/**
|
|
42474
42520
|
* Creates an object representation of this proto.
|
|
@@ -92,6 +92,8 @@ proto.clarifai.api.status.StatusCode = {
|
|
|
92
92
|
MODEL_DEPLOYING: 21351,
|
|
93
93
|
MODEL_QUEUED_FOR_DEPLOYMENT: 21352,
|
|
94
94
|
MODEL_NOT_DEPLOYED: 21353,
|
|
95
|
+
MODEL_BUSY_PLEASE_RETRY: 21354,
|
|
96
|
+
MODEL_LOADING: 21355,
|
|
95
97
|
MODEL_REFERENCE_INVALID_ARGUMENT: 21400,
|
|
96
98
|
MODEL_EXAMPLE_INPUT_INVALID_ARGUMENT: 21420,
|
|
97
99
|
MODEL_EXPORTED: 21500,
|
|
@@ -185,6 +187,10 @@ proto.clarifai.api.status.StatusCode = {
|
|
|
185
187
|
INSTANCE_TYPE_DOES_NOT_EXIST: 26000,
|
|
186
188
|
INSTANCE_TYPE_INVALID_ARGUMENT: 26001,
|
|
187
189
|
INSTANCE_TYPE_INVALID_REQUEST: 26002,
|
|
190
|
+
INPUT_SUCCESS: 30000,
|
|
191
|
+
INPUT_PENDING: 30001,
|
|
192
|
+
INPUT_FAILED: 30002,
|
|
193
|
+
INPUT_IN_PROGRESS: 30003,
|
|
188
194
|
INPUT_DOWNLOAD_SUCCESS: 30000,
|
|
189
195
|
INPUT_DOWNLOAD_PENDING: 30001,
|
|
190
196
|
INPUT_DOWNLOAD_FAILED: 30002,
|