clarifai-web-grpc 10.8.6 → 10.8.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 CHANGED
@@ -1 +1 @@
1
- 10.8.6
1
+ 10.8.7
@@ -50296,7 +50296,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
50296
50296
  inputsList: jspb.Message.toObjectList(msg.getInputsList(), proto_clarifai_api_resources_pb.Input.toObject, includeInstance),
50297
50297
  outputConfig: (f = msg.getOutputConfig()) && proto_clarifai_api_resources_pb.OutputConfig.toObject(includeInstance, f),
50298
50298
  favorClarifaiWorkflows: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
50299
- workflowState: (f = msg.getWorkflowState()) && proto_clarifai_api_resources_pb.WorkflowState.toObject(includeInstance, f)
50299
+ workflowState: (f = msg.getWorkflowState()) && proto_clarifai_api_resources_pb.WorkflowState.toObject(includeInstance, f),
50300
+ nodeRunnerSelectorsMap: (f = msg.getNodeRunnerSelectorsMap()) ? f.toObject(includeInstance, proto.clarifai.api.RunnerSelector.toObject) : []
50300
50301
  };
50301
50302
  if (includeInstance) {
50302
50303
  obj.$jspbMessageInstance = msg;
@@ -50360,6 +50361,12 @@ proto.clarifai.api.PostWorkflowResultsRequest.deserializeBinaryFromReader = func
50360
50361
  reader.readMessage(value, proto_clarifai_api_resources_pb.WorkflowState.deserializeBinaryFromReader);
50361
50362
  msg.setWorkflowState(value);
50362
50363
  break;
50364
+ case 8:
50365
+ var value = msg.getNodeRunnerSelectorsMap();
50366
+ reader.readMessage(value, function (message, reader) {
50367
+ jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.clarifai.api.RunnerSelector.deserializeBinaryFromReader, "", new proto.clarifai.api.RunnerSelector());
50368
+ });
50369
+ break;
50363
50370
  default:
50364
50371
  reader.skipField();
50365
50372
  break;
@@ -50413,6 +50420,10 @@ proto.clarifai.api.PostWorkflowResultsRequest.serializeBinaryToWriter = function
50413
50420
  if (f != null) {
50414
50421
  writer.writeMessage(6, f, proto_clarifai_api_resources_pb.WorkflowState.serializeBinaryToWriter);
50415
50422
  }
50423
+ f = message.getNodeRunnerSelectorsMap(true);
50424
+ if (f && f.getLength() > 0) {
50425
+ f.serializeBinary(8, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.clarifai.api.RunnerSelector.serializeBinaryToWriter);
50426
+ }
50416
50427
  };
50417
50428
  /**
50418
50429
  * optional UserAppIDSet user_app_id = 1;
@@ -50569,6 +50580,23 @@ proto.clarifai.api.PostWorkflowResultsRequest.prototype.clearWorkflowState = fun
50569
50580
  proto.clarifai.api.PostWorkflowResultsRequest.prototype.hasWorkflowState = function () {
50570
50581
  return jspb.Message.getField(this, 6) != null;
50571
50582
  };
50583
+ /**
50584
+ * map<string, RunnerSelector> node_runner_selectors = 8;
50585
+ * @param {boolean=} opt_noLazyCreate Do not create the map if
50586
+ * empty, instead returning `undefined`
50587
+ * @return {!jspb.Map<string,!proto.clarifai.api.RunnerSelector>}
50588
+ */
50589
+ proto.clarifai.api.PostWorkflowResultsRequest.prototype.getNodeRunnerSelectorsMap = function (opt_noLazyCreate) {
50590
+ return /** @type {!jspb.Map<string,!proto.clarifai.api.RunnerSelector>} */ (jspb.Message.getMapField(this, 8, opt_noLazyCreate, proto.clarifai.api.RunnerSelector));
50591
+ };
50592
+ /**
50593
+ * Clears values from the map. The map will be non-null.
50594
+ * @return {!proto.clarifai.api.PostWorkflowResultsRequest} returns this
50595
+ */
50596
+ proto.clarifai.api.PostWorkflowResultsRequest.prototype.clearNodeRunnerSelectorsMap = function () {
50597
+ this.getNodeRunnerSelectorsMap().clear();
50598
+ return this;
50599
+ };
50572
50600
  /**
50573
50601
  * List of repeated fields within this message type.
50574
50602
  * @private {!Array<number>}
@@ -50296,7 +50296,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
50296
50296
  inputsList: jspb.Message.toObjectList(msg.getInputsList(), proto_clarifai_api_resources_pb.Input.toObject, includeInstance),
50297
50297
  outputConfig: (f = msg.getOutputConfig()) && proto_clarifai_api_resources_pb.OutputConfig.toObject(includeInstance, f),
50298
50298
  favorClarifaiWorkflows: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
50299
- workflowState: (f = msg.getWorkflowState()) && proto_clarifai_api_resources_pb.WorkflowState.toObject(includeInstance, f)
50299
+ workflowState: (f = msg.getWorkflowState()) && proto_clarifai_api_resources_pb.WorkflowState.toObject(includeInstance, f),
50300
+ nodeRunnerSelectorsMap: (f = msg.getNodeRunnerSelectorsMap()) ? f.toObject(includeInstance, proto.clarifai.api.RunnerSelector.toObject) : []
50300
50301
  };
50301
50302
  if (includeInstance) {
50302
50303
  obj.$jspbMessageInstance = msg;
@@ -50360,6 +50361,12 @@ proto.clarifai.api.PostWorkflowResultsRequest.deserializeBinaryFromReader = func
50360
50361
  reader.readMessage(value, proto_clarifai_api_resources_pb.WorkflowState.deserializeBinaryFromReader);
50361
50362
  msg.setWorkflowState(value);
50362
50363
  break;
50364
+ case 8:
50365
+ var value = msg.getNodeRunnerSelectorsMap();
50366
+ reader.readMessage(value, function (message, reader) {
50367
+ jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.clarifai.api.RunnerSelector.deserializeBinaryFromReader, "", new proto.clarifai.api.RunnerSelector());
50368
+ });
50369
+ break;
50363
50370
  default:
50364
50371
  reader.skipField();
50365
50372
  break;
@@ -50413,6 +50420,10 @@ proto.clarifai.api.PostWorkflowResultsRequest.serializeBinaryToWriter = function
50413
50420
  if (f != null) {
50414
50421
  writer.writeMessage(6, f, proto_clarifai_api_resources_pb.WorkflowState.serializeBinaryToWriter);
50415
50422
  }
50423
+ f = message.getNodeRunnerSelectorsMap(true);
50424
+ if (f && f.getLength() > 0) {
50425
+ f.serializeBinary(8, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.clarifai.api.RunnerSelector.serializeBinaryToWriter);
50426
+ }
50416
50427
  };
50417
50428
  /**
50418
50429
  * optional UserAppIDSet user_app_id = 1;
@@ -50569,6 +50580,23 @@ proto.clarifai.api.PostWorkflowResultsRequest.prototype.clearWorkflowState = fun
50569
50580
  proto.clarifai.api.PostWorkflowResultsRequest.prototype.hasWorkflowState = function () {
50570
50581
  return jspb.Message.getField(this, 6) != null;
50571
50582
  };
50583
+ /**
50584
+ * map<string, RunnerSelector> node_runner_selectors = 8;
50585
+ * @param {boolean=} opt_noLazyCreate Do not create the map if
50586
+ * empty, instead returning `undefined`
50587
+ * @return {!jspb.Map<string,!proto.clarifai.api.RunnerSelector>}
50588
+ */
50589
+ proto.clarifai.api.PostWorkflowResultsRequest.prototype.getNodeRunnerSelectorsMap = function (opt_noLazyCreate) {
50590
+ return /** @type {!jspb.Map<string,!proto.clarifai.api.RunnerSelector>} */ (jspb.Message.getMapField(this, 8, opt_noLazyCreate, proto.clarifai.api.RunnerSelector));
50591
+ };
50592
+ /**
50593
+ * Clears values from the map. The map will be non-null.
50594
+ * @return {!proto.clarifai.api.PostWorkflowResultsRequest} returns this
50595
+ */
50596
+ proto.clarifai.api.PostWorkflowResultsRequest.prototype.clearNodeRunnerSelectorsMap = function () {
50597
+ this.getNodeRunnerSelectorsMap().clear();
50598
+ return this;
50599
+ };
50572
50600
  /**
50573
50601
  * List of repeated fields within this message type.
50574
50602
  * @private {!Array<number>}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clarifai-web-grpc",
3
- "version": "10.8.6",
3
+ "version": "10.8.7",
4
4
  "description": "The official Clarifai gRPC-web client",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -6855,6 +6855,9 @@ export class PostWorkflowResultsRequest extends jspb.Message {
6855
6855
  hasWorkflowState(): boolean;
6856
6856
  clearWorkflowState(): PostWorkflowResultsRequest;
6857
6857
 
6858
+ getNodeRunnerSelectorsMap(): jspb.Map<string, proto_clarifai_api_resources_pb.RunnerSelector>;
6859
+ clearNodeRunnerSelectorsMap(): PostWorkflowResultsRequest;
6860
+
6858
6861
  serializeBinary(): Uint8Array;
6859
6862
  toObject(includeInstance?: boolean): PostWorkflowResultsRequest.AsObject;
6860
6863
  static toObject(includeInstance: boolean, msg: PostWorkflowResultsRequest): PostWorkflowResultsRequest.AsObject;
@@ -6872,6 +6875,7 @@ export namespace PostWorkflowResultsRequest {
6872
6875
  outputConfig?: proto_clarifai_api_resources_pb.OutputConfig.AsObject,
6873
6876
  favorClarifaiWorkflows: boolean,
6874
6877
  workflowState?: proto_clarifai_api_resources_pb.WorkflowState.AsObject,
6878
+ nodeRunnerSelectorsMap: Array<[string, proto_clarifai_api_resources_pb.RunnerSelector.AsObject]>,
6875
6879
  }
6876
6880
  }
6877
6881
 
@@ -61507,7 +61507,8 @@ proto.clarifai.api.PostWorkflowResultsRequest.toObject = function(includeInstanc
61507
61507
  proto_clarifai_api_resources_pb.Input.toObject, includeInstance),
61508
61508
  outputConfig: (f = msg.getOutputConfig()) && proto_clarifai_api_resources_pb.OutputConfig.toObject(includeInstance, f),
61509
61509
  favorClarifaiWorkflows: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
61510
- workflowState: (f = msg.getWorkflowState()) && proto_clarifai_api_resources_pb.WorkflowState.toObject(includeInstance, f)
61510
+ workflowState: (f = msg.getWorkflowState()) && proto_clarifai_api_resources_pb.WorkflowState.toObject(includeInstance, f),
61511
+ nodeRunnerSelectorsMap: (f = msg.getNodeRunnerSelectorsMap()) ? f.toObject(includeInstance, proto.clarifai.api.RunnerSelector.toObject) : []
61511
61512
  };
61512
61513
 
61513
61514
  if (includeInstance) {
@@ -61576,6 +61577,12 @@ proto.clarifai.api.PostWorkflowResultsRequest.deserializeBinaryFromReader = func
61576
61577
  reader.readMessage(value,proto_clarifai_api_resources_pb.WorkflowState.deserializeBinaryFromReader);
61577
61578
  msg.setWorkflowState(value);
61578
61579
  break;
61580
+ case 8:
61581
+ var value = msg.getNodeRunnerSelectorsMap();
61582
+ reader.readMessage(value, function(message, reader) {
61583
+ jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.clarifai.api.RunnerSelector.deserializeBinaryFromReader, "", new proto.clarifai.api.RunnerSelector());
61584
+ });
61585
+ break;
61579
61586
  default:
61580
61587
  reader.skipField();
61581
61588
  break;
@@ -61658,6 +61665,10 @@ proto.clarifai.api.PostWorkflowResultsRequest.serializeBinaryToWriter = function
61658
61665
  proto_clarifai_api_resources_pb.WorkflowState.serializeBinaryToWriter
61659
61666
  );
61660
61667
  }
61668
+ f = message.getNodeRunnerSelectorsMap(true);
61669
+ if (f && f.getLength() > 0) {
61670
+ f.serializeBinary(8, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.clarifai.api.RunnerSelector.serializeBinaryToWriter);
61671
+ }
61661
61672
  };
61662
61673
 
61663
61674
 
@@ -61864,6 +61875,29 @@ proto.clarifai.api.PostWorkflowResultsRequest.prototype.hasWorkflowState = funct
61864
61875
  };
61865
61876
 
61866
61877
 
61878
+ /**
61879
+ * map<string, RunnerSelector> node_runner_selectors = 8;
61880
+ * @param {boolean=} opt_noLazyCreate Do not create the map if
61881
+ * empty, instead returning `undefined`
61882
+ * @return {!jspb.Map<string,!proto.clarifai.api.RunnerSelector>}
61883
+ */
61884
+ proto.clarifai.api.PostWorkflowResultsRequest.prototype.getNodeRunnerSelectorsMap = function(opt_noLazyCreate) {
61885
+ return /** @type {!jspb.Map<string,!proto.clarifai.api.RunnerSelector>} */ (
61886
+ jspb.Message.getMapField(this, 8, opt_noLazyCreate,
61887
+ proto.clarifai.api.RunnerSelector));
61888
+ };
61889
+
61890
+
61891
+ /**
61892
+ * Clears values from the map. The map will be non-null.
61893
+ * @return {!proto.clarifai.api.PostWorkflowResultsRequest} returns this
61894
+ */
61895
+ proto.clarifai.api.PostWorkflowResultsRequest.prototype.clearNodeRunnerSelectorsMap = function() {
61896
+ this.getNodeRunnerSelectorsMap().clear();
61897
+ return this;
61898
+ };
61899
+
61900
+
61867
61901
 
61868
61902
  /**
61869
61903
  * List of repeated fields within this message type.