clarifai-web-grpc 10.10.1 → 10.10.2

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 CHANGED
@@ -1 +1 @@
1
- 10.10.1
1
+ 10.10.2
@@ -56665,7 +56665,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
56665
56665
  proto.clarifai.api.ProcessingInfo.toObject = function (includeInstance, msg) {
56666
56666
  var f, obj = {
56667
56667
  runnerMethodType: jspb.Message.getFieldWithDefault(msg, 1, 0),
56668
- status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f)
56668
+ status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
56669
+ processingId: jspb.Message.getFieldWithDefault(msg, 3, "")
56669
56670
  };
56670
56671
  if (includeInstance) {
56671
56672
  obj.$jspbMessageInstance = msg;
@@ -56706,6 +56707,10 @@ proto.clarifai.api.ProcessingInfo.deserializeBinaryFromReader = function (msg, r
56706
56707
  reader.readMessage(value, proto_clarifai_api_status_status_pb.Status.deserializeBinaryFromReader);
56707
56708
  msg.setStatus(value);
56708
56709
  break;
56710
+ case 3:
56711
+ var value = /** @type {string} */ (reader.readString());
56712
+ msg.setProcessingId(value);
56713
+ break;
56709
56714
  default:
56710
56715
  reader.skipField();
56711
56716
  break;
@@ -56739,6 +56744,10 @@ proto.clarifai.api.ProcessingInfo.serializeBinaryToWriter = function (message, w
56739
56744
  if (f != null) {
56740
56745
  writer.writeMessage(2, f, proto_clarifai_api_status_status_pb.Status.serializeBinaryToWriter);
56741
56746
  }
56747
+ f = message.getProcessingId();
56748
+ if (f.length > 0) {
56749
+ writer.writeString(3, f);
56750
+ }
56742
56751
  };
56743
56752
  /**
56744
56753
  * optional RunnerMethodType runner_method_type = 1;
@@ -56782,6 +56791,20 @@ proto.clarifai.api.ProcessingInfo.prototype.clearStatus = function () {
56782
56791
  proto.clarifai.api.ProcessingInfo.prototype.hasStatus = function () {
56783
56792
  return jspb.Message.getField(this, 2) != null;
56784
56793
  };
56794
+ /**
56795
+ * optional string processing_id = 3;
56796
+ * @return {string}
56797
+ */
56798
+ proto.clarifai.api.ProcessingInfo.prototype.getProcessingId = function () {
56799
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
56800
+ };
56801
+ /**
56802
+ * @param {string} value
56803
+ * @return {!proto.clarifai.api.ProcessingInfo} returns this
56804
+ */
56805
+ proto.clarifai.api.ProcessingInfo.prototype.setProcessingId = function (value) {
56806
+ return jspb.Message.setProto3StringField(this, 3, value);
56807
+ };
56785
56808
  /**
56786
56809
  * Oneof group definitions for this message. Each group defines the field
56787
56810
  * numbers belonging to that group. When of these fields' value is set, all
@@ -56665,7 +56665,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
56665
56665
  proto.clarifai.api.ProcessingInfo.toObject = function (includeInstance, msg) {
56666
56666
  var f, obj = {
56667
56667
  runnerMethodType: jspb.Message.getFieldWithDefault(msg, 1, 0),
56668
- status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f)
56668
+ status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
56669
+ processingId: jspb.Message.getFieldWithDefault(msg, 3, "")
56669
56670
  };
56670
56671
  if (includeInstance) {
56671
56672
  obj.$jspbMessageInstance = msg;
@@ -56706,6 +56707,10 @@ proto.clarifai.api.ProcessingInfo.deserializeBinaryFromReader = function (msg, r
56706
56707
  reader.readMessage(value, proto_clarifai_api_status_status_pb.Status.deserializeBinaryFromReader);
56707
56708
  msg.setStatus(value);
56708
56709
  break;
56710
+ case 3:
56711
+ var value = /** @type {string} */ (reader.readString());
56712
+ msg.setProcessingId(value);
56713
+ break;
56709
56714
  default:
56710
56715
  reader.skipField();
56711
56716
  break;
@@ -56739,6 +56744,10 @@ proto.clarifai.api.ProcessingInfo.serializeBinaryToWriter = function (message, w
56739
56744
  if (f != null) {
56740
56745
  writer.writeMessage(2, f, proto_clarifai_api_status_status_pb.Status.serializeBinaryToWriter);
56741
56746
  }
56747
+ f = message.getProcessingId();
56748
+ if (f.length > 0) {
56749
+ writer.writeString(3, f);
56750
+ }
56742
56751
  };
56743
56752
  /**
56744
56753
  * optional RunnerMethodType runner_method_type = 1;
@@ -56782,6 +56791,20 @@ proto.clarifai.api.ProcessingInfo.prototype.clearStatus = function () {
56782
56791
  proto.clarifai.api.ProcessingInfo.prototype.hasStatus = function () {
56783
56792
  return jspb.Message.getField(this, 2) != null;
56784
56793
  };
56794
+ /**
56795
+ * optional string processing_id = 3;
56796
+ * @return {string}
56797
+ */
56798
+ proto.clarifai.api.ProcessingInfo.prototype.getProcessingId = function () {
56799
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
56800
+ };
56801
+ /**
56802
+ * @param {string} value
56803
+ * @return {!proto.clarifai.api.ProcessingInfo} returns this
56804
+ */
56805
+ proto.clarifai.api.ProcessingInfo.prototype.setProcessingId = function (value) {
56806
+ return jspb.Message.setProto3StringField(this, 3, value);
56807
+ };
56785
56808
  /**
56786
56809
  * Oneof group definitions for this message. Each group defines the field
56787
56810
  * numbers belonging to that group. When of these fields' value is set, all
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clarifai-web-grpc",
3
- "version": "10.10.1",
3
+ "version": "10.10.2",
4
4
  "description": "The official Clarifai gRPC-web client",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -8634,6 +8634,9 @@ export class ProcessingInfo extends jspb.Message {
8634
8634
  hasStatus(): boolean;
8635
8635
  clearStatus(): ProcessingInfo;
8636
8636
 
8637
+ getProcessingId(): string;
8638
+ setProcessingId(value: string): ProcessingInfo;
8639
+
8637
8640
  serializeBinary(): Uint8Array;
8638
8641
  toObject(includeInstance?: boolean): ProcessingInfo.AsObject;
8639
8642
  static toObject(includeInstance: boolean, msg: ProcessingInfo): ProcessingInfo.AsObject;
@@ -8646,6 +8649,7 @@ export namespace ProcessingInfo {
8646
8649
  export type AsObject = {
8647
8650
  runnerMethodType: RunnerMethodType,
8648
8651
  status?: proto_clarifai_api_status_status_pb.Status.AsObject,
8652
+ processingId: string,
8649
8653
  }
8650
8654
  }
8651
8655
 
@@ -70914,7 +70914,8 @@ proto.clarifai.api.ProcessingInfo.prototype.toObject = function(opt_includeInsta
70914
70914
  proto.clarifai.api.ProcessingInfo.toObject = function(includeInstance, msg) {
70915
70915
  var f, obj = {
70916
70916
  runnerMethodType: jspb.Message.getFieldWithDefault(msg, 1, 0),
70917
- status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f)
70917
+ status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
70918
+ processingId: jspb.Message.getFieldWithDefault(msg, 3, "")
70918
70919
  };
70919
70920
 
70920
70921
  if (includeInstance) {
@@ -70960,6 +70961,10 @@ proto.clarifai.api.ProcessingInfo.deserializeBinaryFromReader = function(msg, re
70960
70961
  reader.readMessage(value,proto_clarifai_api_status_status_pb.Status.deserializeBinaryFromReader);
70961
70962
  msg.setStatus(value);
70962
70963
  break;
70964
+ case 3:
70965
+ var value = /** @type {string} */ (reader.readString());
70966
+ msg.setProcessingId(value);
70967
+ break;
70963
70968
  default:
70964
70969
  reader.skipField();
70965
70970
  break;
@@ -71004,6 +71009,13 @@ proto.clarifai.api.ProcessingInfo.serializeBinaryToWriter = function(message, wr
71004
71009
  proto_clarifai_api_status_status_pb.Status.serializeBinaryToWriter
71005
71010
  );
71006
71011
  }
71012
+ f = message.getProcessingId();
71013
+ if (f.length > 0) {
71014
+ writer.writeString(
71015
+ 3,
71016
+ f
71017
+ );
71018
+ }
71007
71019
  };
71008
71020
 
71009
71021
 
@@ -71062,6 +71074,24 @@ proto.clarifai.api.ProcessingInfo.prototype.hasStatus = function() {
71062
71074
  };
71063
71075
 
71064
71076
 
71077
+ /**
71078
+ * optional string processing_id = 3;
71079
+ * @return {string}
71080
+ */
71081
+ proto.clarifai.api.ProcessingInfo.prototype.getProcessingId = function() {
71082
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
71083
+ };
71084
+
71085
+
71086
+ /**
71087
+ * @param {string} value
71088
+ * @return {!proto.clarifai.api.ProcessingInfo} returns this
71089
+ */
71090
+ proto.clarifai.api.ProcessingInfo.prototype.setProcessingId = function(value) {
71091
+ return jspb.Message.setProto3StringField(this, 3, value);
71092
+ };
71093
+
71094
+
71065
71095
 
71066
71096
  /**
71067
71097
  * Oneof group definitions for this message. Each group defines the field