clarifai-web-grpc 10.11.2 → 11.0.1
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 +417 -10
- 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 +417 -10
- 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 +80 -0
- package/proto/clarifai/api/resources_pb.js +523 -10
- 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
|
@@ -5545,6 +5545,12 @@ export class MultiLogEntryResponse extends jspb.Message {
|
|
|
5545
5545
|
clearLogEntriesList(): MultiLogEntryResponse;
|
|
5546
5546
|
addLogEntries(value?: proto_clarifai_api_resources_pb.LogEntry, index?: number): proto_clarifai_api_resources_pb.LogEntry;
|
|
5547
5547
|
|
|
5548
|
+
getPage(): number;
|
|
5549
|
+
setPage(value: number): MultiLogEntryResponse;
|
|
5550
|
+
|
|
5551
|
+
getPerPage(): number;
|
|
5552
|
+
setPerPage(value: number): MultiLogEntryResponse;
|
|
5553
|
+
|
|
5548
5554
|
serializeBinary(): Uint8Array;
|
|
5549
5555
|
toObject(includeInstance?: boolean): MultiLogEntryResponse.AsObject;
|
|
5550
5556
|
static toObject(includeInstance: boolean, msg: MultiLogEntryResponse): MultiLogEntryResponse.AsObject;
|
|
@@ -5557,6 +5563,8 @@ export namespace MultiLogEntryResponse {
|
|
|
5557
5563
|
export type AsObject = {
|
|
5558
5564
|
status?: proto_clarifai_api_status_status_pb.Status.AsObject,
|
|
5559
5565
|
logEntriesList: Array<proto_clarifai_api_resources_pb.LogEntry.AsObject>,
|
|
5566
|
+
page: number,
|
|
5567
|
+
perPage: number,
|
|
5560
5568
|
}
|
|
5561
5569
|
}
|
|
5562
5570
|
|
|
@@ -51417,7 +51417,9 @@ proto.clarifai.api.MultiLogEntryResponse.toObject = function(includeInstance, ms
|
|
|
51417
51417
|
var f, obj = {
|
|
51418
51418
|
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
|
|
51419
51419
|
logEntriesList: jspb.Message.toObjectList(msg.getLogEntriesList(),
|
|
51420
|
-
proto_clarifai_api_resources_pb.LogEntry.toObject, includeInstance)
|
|
51420
|
+
proto_clarifai_api_resources_pb.LogEntry.toObject, includeInstance),
|
|
51421
|
+
page: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
51422
|
+
perPage: jspb.Message.getFieldWithDefault(msg, 5, 0)
|
|
51421
51423
|
};
|
|
51422
51424
|
|
|
51423
51425
|
if (includeInstance) {
|
|
@@ -51464,6 +51466,14 @@ proto.clarifai.api.MultiLogEntryResponse.deserializeBinaryFromReader = function(
|
|
|
51464
51466
|
reader.readMessage(value,proto_clarifai_api_resources_pb.LogEntry.deserializeBinaryFromReader);
|
|
51465
51467
|
msg.addLogEntries(value);
|
|
51466
51468
|
break;
|
|
51469
|
+
case 4:
|
|
51470
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
51471
|
+
msg.setPage(value);
|
|
51472
|
+
break;
|
|
51473
|
+
case 5:
|
|
51474
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
51475
|
+
msg.setPerPage(value);
|
|
51476
|
+
break;
|
|
51467
51477
|
default:
|
|
51468
51478
|
reader.skipField();
|
|
51469
51479
|
break;
|
|
@@ -51509,6 +51519,20 @@ proto.clarifai.api.MultiLogEntryResponse.serializeBinaryToWriter = function(mess
|
|
|
51509
51519
|
proto_clarifai_api_resources_pb.LogEntry.serializeBinaryToWriter
|
|
51510
51520
|
);
|
|
51511
51521
|
}
|
|
51522
|
+
f = message.getPage();
|
|
51523
|
+
if (f !== 0) {
|
|
51524
|
+
writer.writeUint32(
|
|
51525
|
+
4,
|
|
51526
|
+
f
|
|
51527
|
+
);
|
|
51528
|
+
}
|
|
51529
|
+
f = message.getPerPage();
|
|
51530
|
+
if (f !== 0) {
|
|
51531
|
+
writer.writeUint32(
|
|
51532
|
+
5,
|
|
51533
|
+
f
|
|
51534
|
+
);
|
|
51535
|
+
}
|
|
51512
51536
|
};
|
|
51513
51537
|
|
|
51514
51538
|
|
|
@@ -51587,6 +51611,42 @@ proto.clarifai.api.MultiLogEntryResponse.prototype.clearLogEntriesList = functio
|
|
|
51587
51611
|
};
|
|
51588
51612
|
|
|
51589
51613
|
|
|
51614
|
+
/**
|
|
51615
|
+
* optional uint32 page = 4;
|
|
51616
|
+
* @return {number}
|
|
51617
|
+
*/
|
|
51618
|
+
proto.clarifai.api.MultiLogEntryResponse.prototype.getPage = function() {
|
|
51619
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
51620
|
+
};
|
|
51621
|
+
|
|
51622
|
+
|
|
51623
|
+
/**
|
|
51624
|
+
* @param {number} value
|
|
51625
|
+
* @return {!proto.clarifai.api.MultiLogEntryResponse} returns this
|
|
51626
|
+
*/
|
|
51627
|
+
proto.clarifai.api.MultiLogEntryResponse.prototype.setPage = function(value) {
|
|
51628
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
51629
|
+
};
|
|
51630
|
+
|
|
51631
|
+
|
|
51632
|
+
/**
|
|
51633
|
+
* optional uint32 per_page = 5;
|
|
51634
|
+
* @return {number}
|
|
51635
|
+
*/
|
|
51636
|
+
proto.clarifai.api.MultiLogEntryResponse.prototype.getPerPage = function() {
|
|
51637
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
51638
|
+
};
|
|
51639
|
+
|
|
51640
|
+
|
|
51641
|
+
/**
|
|
51642
|
+
* @param {number} value
|
|
51643
|
+
* @return {!proto.clarifai.api.MultiLogEntryResponse} returns this
|
|
51644
|
+
*/
|
|
51645
|
+
proto.clarifai.api.MultiLogEntryResponse.prototype.setPerPage = function(value) {
|
|
51646
|
+
return jspb.Message.setProto3IntField(this, 5, value);
|
|
51647
|
+
};
|
|
51648
|
+
|
|
51649
|
+
|
|
51590
51650
|
|
|
51591
51651
|
|
|
51592
51652
|
|
|
@@ -71,6 +71,8 @@ export enum StatusCode {
|
|
|
71
71
|
MODEL_DEPLOYING = 21351,
|
|
72
72
|
MODEL_QUEUED_FOR_DEPLOYMENT = 21352,
|
|
73
73
|
MODEL_NOT_DEPLOYED = 21353,
|
|
74
|
+
MODEL_BUSY_PLEASE_RETRY = 21354,
|
|
75
|
+
MODEL_LOADING = 21355,
|
|
74
76
|
MODEL_REFERENCE_INVALID_ARGUMENT = 21400,
|
|
75
77
|
MODEL_EXAMPLE_INPUT_INVALID_ARGUMENT = 21420,
|
|
76
78
|
MODEL_EXPORTED = 21500,
|
|
@@ -164,6 +166,10 @@ export enum StatusCode {
|
|
|
164
166
|
INSTANCE_TYPE_DOES_NOT_EXIST = 26000,
|
|
165
167
|
INSTANCE_TYPE_INVALID_ARGUMENT = 26001,
|
|
166
168
|
INSTANCE_TYPE_INVALID_REQUEST = 26002,
|
|
169
|
+
INPUT_SUCCESS = 30000,
|
|
170
|
+
INPUT_PENDING = 30001,
|
|
171
|
+
INPUT_FAILED = 30002,
|
|
172
|
+
INPUT_IN_PROGRESS = 30003,
|
|
167
173
|
INPUT_DOWNLOAD_SUCCESS = 30000,
|
|
168
174
|
INPUT_DOWNLOAD_PENDING = 30001,
|
|
169
175
|
INPUT_DOWNLOAD_FAILED = 30002,
|
|
@@ -94,6 +94,8 @@ proto.clarifai.api.status.StatusCode = {
|
|
|
94
94
|
MODEL_DEPLOYING: 21351,
|
|
95
95
|
MODEL_QUEUED_FOR_DEPLOYMENT: 21352,
|
|
96
96
|
MODEL_NOT_DEPLOYED: 21353,
|
|
97
|
+
MODEL_BUSY_PLEASE_RETRY: 21354,
|
|
98
|
+
MODEL_LOADING: 21355,
|
|
97
99
|
MODEL_REFERENCE_INVALID_ARGUMENT: 21400,
|
|
98
100
|
MODEL_EXAMPLE_INPUT_INVALID_ARGUMENT: 21420,
|
|
99
101
|
MODEL_EXPORTED: 21500,
|
|
@@ -187,6 +189,10 @@ proto.clarifai.api.status.StatusCode = {
|
|
|
187
189
|
INSTANCE_TYPE_DOES_NOT_EXIST: 26000,
|
|
188
190
|
INSTANCE_TYPE_INVALID_ARGUMENT: 26001,
|
|
189
191
|
INSTANCE_TYPE_INVALID_REQUEST: 26002,
|
|
192
|
+
INPUT_SUCCESS: 30000,
|
|
193
|
+
INPUT_PENDING: 30001,
|
|
194
|
+
INPUT_FAILED: 30002,
|
|
195
|
+
INPUT_IN_PROGRESS: 30003,
|
|
190
196
|
INPUT_DOWNLOAD_SUCCESS: 30000,
|
|
191
197
|
INPUT_DOWNLOAD_PENDING: 30001,
|
|
192
198
|
INPUT_DOWNLOAD_FAILED: 30002,
|