clarifai-web-grpc 9.10.5 → 9.10.7
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/status/status_code_pb.js +1 -0
- package/dist/cjs/proto/clarifai/api/status/status_pb.js +24 -1
- package/dist/esm/proto/clarifai/api/status/status_code_pb.js +1 -0
- package/dist/esm/proto/clarifai/api/status/status_pb.js +24 -1
- package/package.json +1 -1
- package/proto/clarifai/api/status/status_code_pb.d.ts +1 -0
- package/proto/clarifai/api/status/status_code_pb.js +1 -0
- package/proto/clarifai/api/status/status_pb.d.ts +4 -0
- package/proto/clarifai/api/status/status_pb.js +31 -1
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
9.10.
|
|
1
|
+
9.10.7
|
|
@@ -130,7 +130,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
130
130
|
timeRemaining: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
131
131
|
reqId: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
132
132
|
internalDetails: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
133
|
-
redirectInfo: (f = msg.getRedirectInfo()) && proto.clarifai.api.status.RedirectInfo.toObject(includeInstance, f)
|
|
133
|
+
redirectInfo: (f = msg.getRedirectInfo()) && proto.clarifai.api.status.RedirectInfo.toObject(includeInstance, f),
|
|
134
|
+
developerNotes: jspb.Message.getFieldWithDefault(msg, 10, "")
|
|
134
135
|
};
|
|
135
136
|
if (includeInstance) {
|
|
136
137
|
obj.$jspbMessageInstance = msg;
|
|
@@ -199,6 +200,10 @@ proto.clarifai.api.status.Status.deserializeBinaryFromReader = function (msg, re
|
|
|
199
200
|
reader.readMessage(value, proto.clarifai.api.status.RedirectInfo.deserializeBinaryFromReader);
|
|
200
201
|
msg.setRedirectInfo(value);
|
|
201
202
|
break;
|
|
203
|
+
case 10:
|
|
204
|
+
var value = /** @type {string} */ (reader.readString());
|
|
205
|
+
msg.setDeveloperNotes(value);
|
|
206
|
+
break;
|
|
202
207
|
default:
|
|
203
208
|
reader.skipField();
|
|
204
209
|
break;
|
|
@@ -260,6 +265,10 @@ proto.clarifai.api.status.Status.serializeBinaryToWriter = function (message, wr
|
|
|
260
265
|
if (f != null) {
|
|
261
266
|
writer.writeMessage(9, f, proto.clarifai.api.status.RedirectInfo.serializeBinaryToWriter);
|
|
262
267
|
}
|
|
268
|
+
f = message.getDeveloperNotes();
|
|
269
|
+
if (f.length > 0) {
|
|
270
|
+
writer.writeString(10, f);
|
|
271
|
+
}
|
|
263
272
|
};
|
|
264
273
|
/**
|
|
265
274
|
* optional StatusCode code = 1;
|
|
@@ -416,6 +425,20 @@ proto.clarifai.api.status.Status.prototype.clearRedirectInfo = function () {
|
|
|
416
425
|
proto.clarifai.api.status.Status.prototype.hasRedirectInfo = function () {
|
|
417
426
|
return jspb.Message.getField(this, 9) != null;
|
|
418
427
|
};
|
|
428
|
+
/**
|
|
429
|
+
* optional string developer_notes = 10;
|
|
430
|
+
* @return {string}
|
|
431
|
+
*/
|
|
432
|
+
proto.clarifai.api.status.Status.prototype.getDeveloperNotes = function () {
|
|
433
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
434
|
+
};
|
|
435
|
+
/**
|
|
436
|
+
* @param {string} value
|
|
437
|
+
* @return {!proto.clarifai.api.status.Status} returns this
|
|
438
|
+
*/
|
|
439
|
+
proto.clarifai.api.status.Status.prototype.setDeveloperNotes = function (value) {
|
|
440
|
+
return jspb.Message.setProto3StringField(this, 10, value);
|
|
441
|
+
};
|
|
419
442
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
420
443
|
/**
|
|
421
444
|
* Creates an object representation of this proto.
|
|
@@ -130,7 +130,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
130
130
|
timeRemaining: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
131
131
|
reqId: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
132
132
|
internalDetails: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
133
|
-
redirectInfo: (f = msg.getRedirectInfo()) && proto.clarifai.api.status.RedirectInfo.toObject(includeInstance, f)
|
|
133
|
+
redirectInfo: (f = msg.getRedirectInfo()) && proto.clarifai.api.status.RedirectInfo.toObject(includeInstance, f),
|
|
134
|
+
developerNotes: jspb.Message.getFieldWithDefault(msg, 10, "")
|
|
134
135
|
};
|
|
135
136
|
if (includeInstance) {
|
|
136
137
|
obj.$jspbMessageInstance = msg;
|
|
@@ -199,6 +200,10 @@ proto.clarifai.api.status.Status.deserializeBinaryFromReader = function (msg, re
|
|
|
199
200
|
reader.readMessage(value, proto.clarifai.api.status.RedirectInfo.deserializeBinaryFromReader);
|
|
200
201
|
msg.setRedirectInfo(value);
|
|
201
202
|
break;
|
|
203
|
+
case 10:
|
|
204
|
+
var value = /** @type {string} */ (reader.readString());
|
|
205
|
+
msg.setDeveloperNotes(value);
|
|
206
|
+
break;
|
|
202
207
|
default:
|
|
203
208
|
reader.skipField();
|
|
204
209
|
break;
|
|
@@ -260,6 +265,10 @@ proto.clarifai.api.status.Status.serializeBinaryToWriter = function (message, wr
|
|
|
260
265
|
if (f != null) {
|
|
261
266
|
writer.writeMessage(9, f, proto.clarifai.api.status.RedirectInfo.serializeBinaryToWriter);
|
|
262
267
|
}
|
|
268
|
+
f = message.getDeveloperNotes();
|
|
269
|
+
if (f.length > 0) {
|
|
270
|
+
writer.writeString(10, f);
|
|
271
|
+
}
|
|
263
272
|
};
|
|
264
273
|
/**
|
|
265
274
|
* optional StatusCode code = 1;
|
|
@@ -416,6 +425,20 @@ proto.clarifai.api.status.Status.prototype.clearRedirectInfo = function () {
|
|
|
416
425
|
proto.clarifai.api.status.Status.prototype.hasRedirectInfo = function () {
|
|
417
426
|
return jspb.Message.getField(this, 9) != null;
|
|
418
427
|
};
|
|
428
|
+
/**
|
|
429
|
+
* optional string developer_notes = 10;
|
|
430
|
+
* @return {string}
|
|
431
|
+
*/
|
|
432
|
+
proto.clarifai.api.status.Status.prototype.getDeveloperNotes = function () {
|
|
433
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
434
|
+
};
|
|
435
|
+
/**
|
|
436
|
+
* @param {string} value
|
|
437
|
+
* @return {!proto.clarifai.api.status.Status} returns this
|
|
438
|
+
*/
|
|
439
|
+
proto.clarifai.api.status.Status.prototype.setDeveloperNotes = function (value) {
|
|
440
|
+
return jspb.Message.setProto3StringField(this, 10, value);
|
|
441
|
+
};
|
|
419
442
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
420
443
|
/**
|
|
421
444
|
* Creates an object representation of this proto.
|
package/package.json
CHANGED
|
@@ -36,6 +36,9 @@ export class Status extends jspb.Message {
|
|
|
36
36
|
hasRedirectInfo(): boolean;
|
|
37
37
|
clearRedirectInfo(): Status;
|
|
38
38
|
|
|
39
|
+
getDeveloperNotes(): string;
|
|
40
|
+
setDeveloperNotes(value: string): Status;
|
|
41
|
+
|
|
39
42
|
serializeBinary(): Uint8Array;
|
|
40
43
|
toObject(includeInstance?: boolean): Status.AsObject;
|
|
41
44
|
static toObject(includeInstance: boolean, msg: Status): Status.AsObject;
|
|
@@ -55,6 +58,7 @@ export namespace Status {
|
|
|
55
58
|
reqId: string,
|
|
56
59
|
internalDetails: string,
|
|
57
60
|
redirectInfo?: RedirectInfo.AsObject,
|
|
61
|
+
developerNotes: string,
|
|
58
62
|
}
|
|
59
63
|
}
|
|
60
64
|
|
|
@@ -138,7 +138,8 @@ proto.clarifai.api.status.Status.toObject = function(includeInstance, msg) {
|
|
|
138
138
|
timeRemaining: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
139
139
|
reqId: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
140
140
|
internalDetails: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
141
|
-
redirectInfo: (f = msg.getRedirectInfo()) && proto.clarifai.api.status.RedirectInfo.toObject(includeInstance, f)
|
|
141
|
+
redirectInfo: (f = msg.getRedirectInfo()) && proto.clarifai.api.status.RedirectInfo.toObject(includeInstance, f),
|
|
142
|
+
developerNotes: jspb.Message.getFieldWithDefault(msg, 10, "")
|
|
142
143
|
};
|
|
143
144
|
|
|
144
145
|
if (includeInstance) {
|
|
@@ -212,6 +213,10 @@ proto.clarifai.api.status.Status.deserializeBinaryFromReader = function(msg, rea
|
|
|
212
213
|
reader.readMessage(value,proto.clarifai.api.status.RedirectInfo.deserializeBinaryFromReader);
|
|
213
214
|
msg.setRedirectInfo(value);
|
|
214
215
|
break;
|
|
216
|
+
case 10:
|
|
217
|
+
var value = /** @type {string} */ (reader.readString());
|
|
218
|
+
msg.setDeveloperNotes(value);
|
|
219
|
+
break;
|
|
215
220
|
default:
|
|
216
221
|
reader.skipField();
|
|
217
222
|
break;
|
|
@@ -305,6 +310,13 @@ proto.clarifai.api.status.Status.serializeBinaryToWriter = function(message, wri
|
|
|
305
310
|
proto.clarifai.api.status.RedirectInfo.serializeBinaryToWriter
|
|
306
311
|
);
|
|
307
312
|
}
|
|
313
|
+
f = message.getDeveloperNotes();
|
|
314
|
+
if (f.length > 0) {
|
|
315
|
+
writer.writeString(
|
|
316
|
+
10,
|
|
317
|
+
f
|
|
318
|
+
);
|
|
319
|
+
}
|
|
308
320
|
};
|
|
309
321
|
|
|
310
322
|
|
|
@@ -508,6 +520,24 @@ proto.clarifai.api.status.Status.prototype.hasRedirectInfo = function() {
|
|
|
508
520
|
};
|
|
509
521
|
|
|
510
522
|
|
|
523
|
+
/**
|
|
524
|
+
* optional string developer_notes = 10;
|
|
525
|
+
* @return {string}
|
|
526
|
+
*/
|
|
527
|
+
proto.clarifai.api.status.Status.prototype.getDeveloperNotes = function() {
|
|
528
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
529
|
+
};
|
|
530
|
+
|
|
531
|
+
|
|
532
|
+
/**
|
|
533
|
+
* @param {string} value
|
|
534
|
+
* @return {!proto.clarifai.api.status.Status} returns this
|
|
535
|
+
*/
|
|
536
|
+
proto.clarifai.api.status.Status.prototype.setDeveloperNotes = function(value) {
|
|
537
|
+
return jspb.Message.setProto3StringField(this, 10, value);
|
|
538
|
+
};
|
|
539
|
+
|
|
540
|
+
|
|
511
541
|
|
|
512
542
|
|
|
513
543
|
|