clarifai-web-grpc 11.2.6 → 11.3.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 CHANGED
@@ -1 +1 @@
1
- 11.2.6
1
+ 11.3.1
@@ -55811,6 +55811,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
55811
55811
  instanceTypesList: jspb.Message.toObjectList(msg.getInstanceTypesList(), proto.clarifai.api.InstanceType.toObject, includeInstance),
55812
55812
  minInstances: jspb.Message.getFieldWithDefault(msg, 9, 0),
55813
55813
  maxInstances: jspb.Message.getFieldWithDefault(msg, 10, 0),
55814
+ enforcedMinInstances: jspb.Message.getFieldWithDefault(msg, 13, 0),
55815
+ enforcedMaxInstances: jspb.Message.getFieldWithDefault(msg, 14, 0),
55814
55816
  visibility: (f = msg.getVisibility()) && proto.clarifai.api.Visibility.toObject(includeInstance, f),
55815
55817
  metadata: (f = msg.getMetadata()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f)
55816
55818
  };
@@ -55885,6 +55887,14 @@ proto.clarifai.api.Nodepool.deserializeBinaryFromReader = function (msg, reader)
55885
55887
  var value = /** @type {number} */ (reader.readUint32());
55886
55888
  msg.setMaxInstances(value);
55887
55889
  break;
55890
+ case 13:
55891
+ var value = /** @type {number} */ (reader.readUint32());
55892
+ msg.setEnforcedMinInstances(value);
55893
+ break;
55894
+ case 14:
55895
+ var value = /** @type {number} */ (reader.readUint32());
55896
+ msg.setEnforcedMaxInstances(value);
55897
+ break;
55888
55898
  case 11:
55889
55899
  var value = new proto.clarifai.api.Visibility;
55890
55900
  reader.readMessage(value, proto.clarifai.api.Visibility.deserializeBinaryFromReader);
@@ -55956,6 +55966,14 @@ proto.clarifai.api.Nodepool.serializeBinaryToWriter = function (message, writer)
55956
55966
  if (f !== 0) {
55957
55967
  writer.writeUint32(10, f);
55958
55968
  }
55969
+ f = message.getEnforcedMinInstances();
55970
+ if (f !== 0) {
55971
+ writer.writeUint32(13, f);
55972
+ }
55973
+ f = message.getEnforcedMaxInstances();
55974
+ if (f !== 0) {
55975
+ writer.writeUint32(14, f);
55976
+ }
55959
55977
  f = message.getVisibility();
55960
55978
  if (f != null) {
55961
55979
  writer.writeMessage(11, f, proto.clarifai.api.Visibility.serializeBinaryToWriter);
@@ -56162,6 +56180,34 @@ proto.clarifai.api.Nodepool.prototype.getMaxInstances = function () {
56162
56180
  proto.clarifai.api.Nodepool.prototype.setMaxInstances = function (value) {
56163
56181
  return jspb.Message.setProto3IntField(this, 10, value);
56164
56182
  };
56183
+ /**
56184
+ * optional uint32 enforced_min_instances = 13;
56185
+ * @return {number}
56186
+ */
56187
+ proto.clarifai.api.Nodepool.prototype.getEnforcedMinInstances = function () {
56188
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 13, 0));
56189
+ };
56190
+ /**
56191
+ * @param {number} value
56192
+ * @return {!proto.clarifai.api.Nodepool} returns this
56193
+ */
56194
+ proto.clarifai.api.Nodepool.prototype.setEnforcedMinInstances = function (value) {
56195
+ return jspb.Message.setProto3IntField(this, 13, value);
56196
+ };
56197
+ /**
56198
+ * optional uint32 enforced_max_instances = 14;
56199
+ * @return {number}
56200
+ */
56201
+ proto.clarifai.api.Nodepool.prototype.getEnforcedMaxInstances = function () {
56202
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 14, 0));
56203
+ };
56204
+ /**
56205
+ * @param {number} value
56206
+ * @return {!proto.clarifai.api.Nodepool} returns this
56207
+ */
56208
+ proto.clarifai.api.Nodepool.prototype.setEnforcedMaxInstances = function (value) {
56209
+ return jspb.Message.setProto3IntField(this, 14, value);
56210
+ };
56165
56211
  /**
56166
56212
  * optional Visibility visibility = 11;
56167
56213
  * @return {?proto.clarifai.api.Visibility}
@@ -61431,7 +61477,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
61431
61477
  workflowEvaluationResult: (f = msg.getWorkflowEvaluationResult()) && proto.clarifai.api.WorkflowEvaluationResult.toObject(includeInstance, f),
61432
61478
  status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
61433
61479
  createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
61434
- modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
61480
+ modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
61481
+ targetNodeId: jspb.Message.getFieldWithDefault(msg, 13, "")
61435
61482
  };
61436
61483
  if (includeInstance) {
61437
61484
  obj.$jspbMessageInstance = msg;
@@ -61515,6 +61562,10 @@ proto.clarifai.api.WorkflowVersionEvaluation.deserializeBinaryFromReader = funct
61515
61562
  reader.readMessage(value, google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
61516
61563
  msg.setModifiedAt(value);
61517
61564
  break;
61565
+ case 13:
61566
+ var value = /** @type {string} */ (reader.readString());
61567
+ msg.setTargetNodeId(value);
61568
+ break;
61518
61569
  default:
61519
61570
  reader.skipField();
61520
61571
  break;
@@ -61588,6 +61639,10 @@ proto.clarifai.api.WorkflowVersionEvaluation.serializeBinaryToWriter = function
61588
61639
  if (f != null) {
61589
61640
  writer.writeMessage(12, f, google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter);
61590
61641
  }
61642
+ f = message.getTargetNodeId();
61643
+ if (f.length > 0) {
61644
+ writer.writeString(13, f);
61645
+ }
61591
61646
  };
61592
61647
  /**
61593
61648
  * optional string id = 1;
@@ -61813,6 +61868,20 @@ proto.clarifai.api.WorkflowVersionEvaluation.prototype.clearModifiedAt = functio
61813
61868
  proto.clarifai.api.WorkflowVersionEvaluation.prototype.hasModifiedAt = function () {
61814
61869
  return jspb.Message.getField(this, 12) != null;
61815
61870
  };
61871
+ /**
61872
+ * optional string target_node_id = 13;
61873
+ * @return {string}
61874
+ */
61875
+ proto.clarifai.api.WorkflowVersionEvaluation.prototype.getTargetNodeId = function () {
61876
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
61877
+ };
61878
+ /**
61879
+ * @param {string} value
61880
+ * @return {!proto.clarifai.api.WorkflowVersionEvaluation} returns this
61881
+ */
61882
+ proto.clarifai.api.WorkflowVersionEvaluation.prototype.setTargetNodeId = function (value) {
61883
+ return jspb.Message.setProto3StringField(this, 13, value);
61884
+ };
61816
61885
  if (jspb.Message.GENERATE_TO_OBJECT) {
61817
61886
  /**
61818
61887
  * Creates an object representation of this proto.
@@ -74832,7 +74832,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
74832
74832
  userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
74833
74833
  computeClusterId: jspb.Message.getFieldWithDefault(msg, 2, ""),
74834
74834
  page: jspb.Message.getFieldWithDefault(msg, 3, 0),
74835
- perPage: jspb.Message.getFieldWithDefault(msg, 4, 0)
74835
+ perPage: jspb.Message.getFieldWithDefault(msg, 4, 0),
74836
+ activeUsage: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
74836
74837
  };
74837
74838
  if (includeInstance) {
74838
74839
  obj.$jspbMessageInstance = msg;
@@ -74881,6 +74882,10 @@ proto.clarifai.api.ListNodepoolsRequest.deserializeBinaryFromReader = function (
74881
74882
  var value = /** @type {number} */ (reader.readUint32());
74882
74883
  msg.setPerPage(value);
74883
74884
  break;
74885
+ case 5:
74886
+ var value = /** @type {boolean} */ (reader.readBool());
74887
+ msg.setActiveUsage(value);
74888
+ break;
74884
74889
  default:
74885
74890
  reader.skipField();
74886
74891
  break;
@@ -74922,6 +74927,10 @@ proto.clarifai.api.ListNodepoolsRequest.serializeBinaryToWriter = function (mess
74922
74927
  if (f !== 0) {
74923
74928
  writer.writeUint32(4, f);
74924
74929
  }
74930
+ f = message.getActiveUsage();
74931
+ if (f) {
74932
+ writer.writeBool(5, f);
74933
+ }
74925
74934
  };
74926
74935
  /**
74927
74936
  * optional UserAppIDSet user_app_id = 1;
@@ -74993,6 +75002,20 @@ proto.clarifai.api.ListNodepoolsRequest.prototype.getPerPage = function () {
74993
75002
  proto.clarifai.api.ListNodepoolsRequest.prototype.setPerPage = function (value) {
74994
75003
  return jspb.Message.setProto3IntField(this, 4, value);
74995
75004
  };
75005
+ /**
75006
+ * optional bool active_usage = 5;
75007
+ * @return {boolean}
75008
+ */
75009
+ proto.clarifai.api.ListNodepoolsRequest.prototype.getActiveUsage = function () {
75010
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
75011
+ };
75012
+ /**
75013
+ * @param {boolean} value
75014
+ * @return {!proto.clarifai.api.ListNodepoolsRequest} returns this
75015
+ */
75016
+ proto.clarifai.api.ListNodepoolsRequest.prototype.setActiveUsage = function (value) {
75017
+ return jspb.Message.setProto3BooleanField(this, 5, value);
75018
+ };
74996
75019
  /**
74997
75020
  * List of repeated fields within this message type.
74998
75021
  * @private {!Array<number>}
@@ -77823,7 +77846,7 @@ proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse.prototype.clearWorkfl
77823
77846
  * @private {!Array<number>}
77824
77847
  * @const
77825
77848
  */
77826
- proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.repeatedFields_ = [4];
77849
+ proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.repeatedFields_ = [4, 5];
77827
77850
  if (jspb.Message.GENERATE_TO_OBJECT) {
77828
77851
  /**
77829
77852
  * Creates an object representation of this proto.
@@ -77854,7 +77877,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
77854
77877
  userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
77855
77878
  workflowId: jspb.Message.getFieldWithDefault(msg, 2, ""),
77856
77879
  workflowVersionId: jspb.Message.getFieldWithDefault(msg, 3, ""),
77857
- workflowVersionEvaluationsList: jspb.Message.toObjectList(msg.getWorkflowVersionEvaluationsList(), proto_clarifai_api_resources_pb.WorkflowVersionEvaluation.toObject, includeInstance)
77880
+ workflowVersionEvaluationsList: jspb.Message.toObjectList(msg.getWorkflowVersionEvaluationsList(), proto_clarifai_api_resources_pb.WorkflowVersionEvaluation.toObject, includeInstance),
77881
+ runnerSelectorsList: jspb.Message.toObjectList(msg.getRunnerSelectorsList(), proto_clarifai_api_resources_pb.RunnerSelector.toObject, includeInstance)
77858
77882
  };
77859
77883
  if (includeInstance) {
77860
77884
  obj.$jspbMessageInstance = msg;
@@ -77904,6 +77928,11 @@ proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.deserializeBinaryFromRe
77904
77928
  reader.readMessage(value, proto_clarifai_api_resources_pb.WorkflowVersionEvaluation.deserializeBinaryFromReader);
77905
77929
  msg.addWorkflowVersionEvaluations(value);
77906
77930
  break;
77931
+ case 5:
77932
+ var value = new proto_clarifai_api_resources_pb.RunnerSelector;
77933
+ reader.readMessage(value, proto_clarifai_api_resources_pb.RunnerSelector.deserializeBinaryFromReader);
77934
+ msg.addRunnerSelectors(value);
77935
+ break;
77907
77936
  default:
77908
77937
  reader.skipField();
77909
77938
  break;
@@ -77945,6 +77974,10 @@ proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.serializeBinaryToWriter
77945
77974
  if (f.length > 0) {
77946
77975
  writer.writeRepeatedMessage(4, f, proto_clarifai_api_resources_pb.WorkflowVersionEvaluation.serializeBinaryToWriter);
77947
77976
  }
77977
+ f = message.getRunnerSelectorsList();
77978
+ if (f.length > 0) {
77979
+ writer.writeRepeatedMessage(5, f, proto_clarifai_api_resources_pb.RunnerSelector.serializeBinaryToWriter);
77980
+ }
77948
77981
  };
77949
77982
  /**
77950
77983
  * optional UserAppIDSet user_app_id = 1;
@@ -78031,6 +78064,35 @@ proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.addWorkflowVe
78031
78064
  proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.clearWorkflowVersionEvaluationsList = function () {
78032
78065
  return this.setWorkflowVersionEvaluationsList([]);
78033
78066
  };
78067
+ /**
78068
+ * repeated RunnerSelector runner_selectors = 5;
78069
+ * @return {!Array<!proto.clarifai.api.RunnerSelector>}
78070
+ */
78071
+ proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.getRunnerSelectorsList = function () {
78072
+ return /** @type{!Array<!proto.clarifai.api.RunnerSelector>} */ (jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.RunnerSelector, 5));
78073
+ };
78074
+ /**
78075
+ * @param {!Array<!proto.clarifai.api.RunnerSelector>} value
78076
+ * @return {!proto.clarifai.api.PostWorkflowVersionEvaluationsRequest} returns this
78077
+ */
78078
+ proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.setRunnerSelectorsList = function (value) {
78079
+ return jspb.Message.setRepeatedWrapperField(this, 5, value);
78080
+ };
78081
+ /**
78082
+ * @param {!proto.clarifai.api.RunnerSelector=} opt_value
78083
+ * @param {number=} opt_index
78084
+ * @return {!proto.clarifai.api.RunnerSelector}
78085
+ */
78086
+ proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.addRunnerSelectors = function (opt_value, opt_index) {
78087
+ return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.clarifai.api.RunnerSelector, opt_index);
78088
+ };
78089
+ /**
78090
+ * Clears the list making it empty but non-null.
78091
+ * @return {!proto.clarifai.api.PostWorkflowVersionEvaluationsRequest} returns this
78092
+ */
78093
+ proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.clearRunnerSelectorsList = function () {
78094
+ return this.setRunnerSelectorsList([]);
78095
+ };
78034
78096
  /**
78035
78097
  * List of repeated fields within this message type.
78036
78098
  * @private {!Array<number>}
@@ -321,7 +321,9 @@ proto.clarifai.auth.scope.S = {
321
321
  AUDITLOGS_GET: 149,
322
322
  LOGENTRIES_GET: 151,
323
323
  WORKFLOWVERSIONEVALUATIONS_GET: 152,
324
- WORKFLOWVERSIONEVALUATIONS_ADD: 153
324
+ WORKFLOWVERSIONEVALUATIONS_ADD: 153,
325
+ PIPELINE_GET: 154,
326
+ PIPELINE_ADD: 155
325
327
  };
326
328
  /**
327
329
  * A tuple of {field number, class constructor} for the extension
@@ -55811,6 +55811,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
55811
55811
  instanceTypesList: jspb.Message.toObjectList(msg.getInstanceTypesList(), proto.clarifai.api.InstanceType.toObject, includeInstance),
55812
55812
  minInstances: jspb.Message.getFieldWithDefault(msg, 9, 0),
55813
55813
  maxInstances: jspb.Message.getFieldWithDefault(msg, 10, 0),
55814
+ enforcedMinInstances: jspb.Message.getFieldWithDefault(msg, 13, 0),
55815
+ enforcedMaxInstances: jspb.Message.getFieldWithDefault(msg, 14, 0),
55814
55816
  visibility: (f = msg.getVisibility()) && proto.clarifai.api.Visibility.toObject(includeInstance, f),
55815
55817
  metadata: (f = msg.getMetadata()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f)
55816
55818
  };
@@ -55885,6 +55887,14 @@ proto.clarifai.api.Nodepool.deserializeBinaryFromReader = function (msg, reader)
55885
55887
  var value = /** @type {number} */ (reader.readUint32());
55886
55888
  msg.setMaxInstances(value);
55887
55889
  break;
55890
+ case 13:
55891
+ var value = /** @type {number} */ (reader.readUint32());
55892
+ msg.setEnforcedMinInstances(value);
55893
+ break;
55894
+ case 14:
55895
+ var value = /** @type {number} */ (reader.readUint32());
55896
+ msg.setEnforcedMaxInstances(value);
55897
+ break;
55888
55898
  case 11:
55889
55899
  var value = new proto.clarifai.api.Visibility;
55890
55900
  reader.readMessage(value, proto.clarifai.api.Visibility.deserializeBinaryFromReader);
@@ -55956,6 +55966,14 @@ proto.clarifai.api.Nodepool.serializeBinaryToWriter = function (message, writer)
55956
55966
  if (f !== 0) {
55957
55967
  writer.writeUint32(10, f);
55958
55968
  }
55969
+ f = message.getEnforcedMinInstances();
55970
+ if (f !== 0) {
55971
+ writer.writeUint32(13, f);
55972
+ }
55973
+ f = message.getEnforcedMaxInstances();
55974
+ if (f !== 0) {
55975
+ writer.writeUint32(14, f);
55976
+ }
55959
55977
  f = message.getVisibility();
55960
55978
  if (f != null) {
55961
55979
  writer.writeMessage(11, f, proto.clarifai.api.Visibility.serializeBinaryToWriter);
@@ -56162,6 +56180,34 @@ proto.clarifai.api.Nodepool.prototype.getMaxInstances = function () {
56162
56180
  proto.clarifai.api.Nodepool.prototype.setMaxInstances = function (value) {
56163
56181
  return jspb.Message.setProto3IntField(this, 10, value);
56164
56182
  };
56183
+ /**
56184
+ * optional uint32 enforced_min_instances = 13;
56185
+ * @return {number}
56186
+ */
56187
+ proto.clarifai.api.Nodepool.prototype.getEnforcedMinInstances = function () {
56188
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 13, 0));
56189
+ };
56190
+ /**
56191
+ * @param {number} value
56192
+ * @return {!proto.clarifai.api.Nodepool} returns this
56193
+ */
56194
+ proto.clarifai.api.Nodepool.prototype.setEnforcedMinInstances = function (value) {
56195
+ return jspb.Message.setProto3IntField(this, 13, value);
56196
+ };
56197
+ /**
56198
+ * optional uint32 enforced_max_instances = 14;
56199
+ * @return {number}
56200
+ */
56201
+ proto.clarifai.api.Nodepool.prototype.getEnforcedMaxInstances = function () {
56202
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 14, 0));
56203
+ };
56204
+ /**
56205
+ * @param {number} value
56206
+ * @return {!proto.clarifai.api.Nodepool} returns this
56207
+ */
56208
+ proto.clarifai.api.Nodepool.prototype.setEnforcedMaxInstances = function (value) {
56209
+ return jspb.Message.setProto3IntField(this, 14, value);
56210
+ };
56165
56211
  /**
56166
56212
  * optional Visibility visibility = 11;
56167
56213
  * @return {?proto.clarifai.api.Visibility}
@@ -61431,7 +61477,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
61431
61477
  workflowEvaluationResult: (f = msg.getWorkflowEvaluationResult()) && proto.clarifai.api.WorkflowEvaluationResult.toObject(includeInstance, f),
61432
61478
  status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
61433
61479
  createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
61434
- modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
61480
+ modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
61481
+ targetNodeId: jspb.Message.getFieldWithDefault(msg, 13, "")
61435
61482
  };
61436
61483
  if (includeInstance) {
61437
61484
  obj.$jspbMessageInstance = msg;
@@ -61515,6 +61562,10 @@ proto.clarifai.api.WorkflowVersionEvaluation.deserializeBinaryFromReader = funct
61515
61562
  reader.readMessage(value, google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
61516
61563
  msg.setModifiedAt(value);
61517
61564
  break;
61565
+ case 13:
61566
+ var value = /** @type {string} */ (reader.readString());
61567
+ msg.setTargetNodeId(value);
61568
+ break;
61518
61569
  default:
61519
61570
  reader.skipField();
61520
61571
  break;
@@ -61588,6 +61639,10 @@ proto.clarifai.api.WorkflowVersionEvaluation.serializeBinaryToWriter = function
61588
61639
  if (f != null) {
61589
61640
  writer.writeMessage(12, f, google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter);
61590
61641
  }
61642
+ f = message.getTargetNodeId();
61643
+ if (f.length > 0) {
61644
+ writer.writeString(13, f);
61645
+ }
61591
61646
  };
61592
61647
  /**
61593
61648
  * optional string id = 1;
@@ -61813,6 +61868,20 @@ proto.clarifai.api.WorkflowVersionEvaluation.prototype.clearModifiedAt = functio
61813
61868
  proto.clarifai.api.WorkflowVersionEvaluation.prototype.hasModifiedAt = function () {
61814
61869
  return jspb.Message.getField(this, 12) != null;
61815
61870
  };
61871
+ /**
61872
+ * optional string target_node_id = 13;
61873
+ * @return {string}
61874
+ */
61875
+ proto.clarifai.api.WorkflowVersionEvaluation.prototype.getTargetNodeId = function () {
61876
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
61877
+ };
61878
+ /**
61879
+ * @param {string} value
61880
+ * @return {!proto.clarifai.api.WorkflowVersionEvaluation} returns this
61881
+ */
61882
+ proto.clarifai.api.WorkflowVersionEvaluation.prototype.setTargetNodeId = function (value) {
61883
+ return jspb.Message.setProto3StringField(this, 13, value);
61884
+ };
61816
61885
  if (jspb.Message.GENERATE_TO_OBJECT) {
61817
61886
  /**
61818
61887
  * Creates an object representation of this proto.
@@ -74832,7 +74832,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
74832
74832
  userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
74833
74833
  computeClusterId: jspb.Message.getFieldWithDefault(msg, 2, ""),
74834
74834
  page: jspb.Message.getFieldWithDefault(msg, 3, 0),
74835
- perPage: jspb.Message.getFieldWithDefault(msg, 4, 0)
74835
+ perPage: jspb.Message.getFieldWithDefault(msg, 4, 0),
74836
+ activeUsage: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
74836
74837
  };
74837
74838
  if (includeInstance) {
74838
74839
  obj.$jspbMessageInstance = msg;
@@ -74881,6 +74882,10 @@ proto.clarifai.api.ListNodepoolsRequest.deserializeBinaryFromReader = function (
74881
74882
  var value = /** @type {number} */ (reader.readUint32());
74882
74883
  msg.setPerPage(value);
74883
74884
  break;
74885
+ case 5:
74886
+ var value = /** @type {boolean} */ (reader.readBool());
74887
+ msg.setActiveUsage(value);
74888
+ break;
74884
74889
  default:
74885
74890
  reader.skipField();
74886
74891
  break;
@@ -74922,6 +74927,10 @@ proto.clarifai.api.ListNodepoolsRequest.serializeBinaryToWriter = function (mess
74922
74927
  if (f !== 0) {
74923
74928
  writer.writeUint32(4, f);
74924
74929
  }
74930
+ f = message.getActiveUsage();
74931
+ if (f) {
74932
+ writer.writeBool(5, f);
74933
+ }
74925
74934
  };
74926
74935
  /**
74927
74936
  * optional UserAppIDSet user_app_id = 1;
@@ -74993,6 +75002,20 @@ proto.clarifai.api.ListNodepoolsRequest.prototype.getPerPage = function () {
74993
75002
  proto.clarifai.api.ListNodepoolsRequest.prototype.setPerPage = function (value) {
74994
75003
  return jspb.Message.setProto3IntField(this, 4, value);
74995
75004
  };
75005
+ /**
75006
+ * optional bool active_usage = 5;
75007
+ * @return {boolean}
75008
+ */
75009
+ proto.clarifai.api.ListNodepoolsRequest.prototype.getActiveUsage = function () {
75010
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
75011
+ };
75012
+ /**
75013
+ * @param {boolean} value
75014
+ * @return {!proto.clarifai.api.ListNodepoolsRequest} returns this
75015
+ */
75016
+ proto.clarifai.api.ListNodepoolsRequest.prototype.setActiveUsage = function (value) {
75017
+ return jspb.Message.setProto3BooleanField(this, 5, value);
75018
+ };
74996
75019
  /**
74997
75020
  * List of repeated fields within this message type.
74998
75021
  * @private {!Array<number>}
@@ -77823,7 +77846,7 @@ proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse.prototype.clearWorkfl
77823
77846
  * @private {!Array<number>}
77824
77847
  * @const
77825
77848
  */
77826
- proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.repeatedFields_ = [4];
77849
+ proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.repeatedFields_ = [4, 5];
77827
77850
  if (jspb.Message.GENERATE_TO_OBJECT) {
77828
77851
  /**
77829
77852
  * Creates an object representation of this proto.
@@ -77854,7 +77877,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
77854
77877
  userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
77855
77878
  workflowId: jspb.Message.getFieldWithDefault(msg, 2, ""),
77856
77879
  workflowVersionId: jspb.Message.getFieldWithDefault(msg, 3, ""),
77857
- workflowVersionEvaluationsList: jspb.Message.toObjectList(msg.getWorkflowVersionEvaluationsList(), proto_clarifai_api_resources_pb.WorkflowVersionEvaluation.toObject, includeInstance)
77880
+ workflowVersionEvaluationsList: jspb.Message.toObjectList(msg.getWorkflowVersionEvaluationsList(), proto_clarifai_api_resources_pb.WorkflowVersionEvaluation.toObject, includeInstance),
77881
+ runnerSelectorsList: jspb.Message.toObjectList(msg.getRunnerSelectorsList(), proto_clarifai_api_resources_pb.RunnerSelector.toObject, includeInstance)
77858
77882
  };
77859
77883
  if (includeInstance) {
77860
77884
  obj.$jspbMessageInstance = msg;
@@ -77904,6 +77928,11 @@ proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.deserializeBinaryFromRe
77904
77928
  reader.readMessage(value, proto_clarifai_api_resources_pb.WorkflowVersionEvaluation.deserializeBinaryFromReader);
77905
77929
  msg.addWorkflowVersionEvaluations(value);
77906
77930
  break;
77931
+ case 5:
77932
+ var value = new proto_clarifai_api_resources_pb.RunnerSelector;
77933
+ reader.readMessage(value, proto_clarifai_api_resources_pb.RunnerSelector.deserializeBinaryFromReader);
77934
+ msg.addRunnerSelectors(value);
77935
+ break;
77907
77936
  default:
77908
77937
  reader.skipField();
77909
77938
  break;
@@ -77945,6 +77974,10 @@ proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.serializeBinaryToWriter
77945
77974
  if (f.length > 0) {
77946
77975
  writer.writeRepeatedMessage(4, f, proto_clarifai_api_resources_pb.WorkflowVersionEvaluation.serializeBinaryToWriter);
77947
77976
  }
77977
+ f = message.getRunnerSelectorsList();
77978
+ if (f.length > 0) {
77979
+ writer.writeRepeatedMessage(5, f, proto_clarifai_api_resources_pb.RunnerSelector.serializeBinaryToWriter);
77980
+ }
77948
77981
  };
77949
77982
  /**
77950
77983
  * optional UserAppIDSet user_app_id = 1;
@@ -78031,6 +78064,35 @@ proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.addWorkflowVe
78031
78064
  proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.clearWorkflowVersionEvaluationsList = function () {
78032
78065
  return this.setWorkflowVersionEvaluationsList([]);
78033
78066
  };
78067
+ /**
78068
+ * repeated RunnerSelector runner_selectors = 5;
78069
+ * @return {!Array<!proto.clarifai.api.RunnerSelector>}
78070
+ */
78071
+ proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.getRunnerSelectorsList = function () {
78072
+ return /** @type{!Array<!proto.clarifai.api.RunnerSelector>} */ (jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.RunnerSelector, 5));
78073
+ };
78074
+ /**
78075
+ * @param {!Array<!proto.clarifai.api.RunnerSelector>} value
78076
+ * @return {!proto.clarifai.api.PostWorkflowVersionEvaluationsRequest} returns this
78077
+ */
78078
+ proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.setRunnerSelectorsList = function (value) {
78079
+ return jspb.Message.setRepeatedWrapperField(this, 5, value);
78080
+ };
78081
+ /**
78082
+ * @param {!proto.clarifai.api.RunnerSelector=} opt_value
78083
+ * @param {number=} opt_index
78084
+ * @return {!proto.clarifai.api.RunnerSelector}
78085
+ */
78086
+ proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.addRunnerSelectors = function (opt_value, opt_index) {
78087
+ return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.clarifai.api.RunnerSelector, opt_index);
78088
+ };
78089
+ /**
78090
+ * Clears the list making it empty but non-null.
78091
+ * @return {!proto.clarifai.api.PostWorkflowVersionEvaluationsRequest} returns this
78092
+ */
78093
+ proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.clearRunnerSelectorsList = function () {
78094
+ return this.setRunnerSelectorsList([]);
78095
+ };
78034
78096
  /**
78035
78097
  * List of repeated fields within this message type.
78036
78098
  * @private {!Array<number>}
@@ -321,7 +321,9 @@ proto.clarifai.auth.scope.S = {
321
321
  AUDITLOGS_GET: 149,
322
322
  LOGENTRIES_GET: 151,
323
323
  WORKFLOWVERSIONEVALUATIONS_GET: 152,
324
- WORKFLOWVERSIONEVALUATIONS_ADD: 153
324
+ WORKFLOWVERSIONEVALUATIONS_ADD: 153,
325
+ PIPELINE_GET: 154,
326
+ PIPELINE_ADD: 155
325
327
  };
326
328
  /**
327
329
  * A tuple of {field number, class constructor} for the extension
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clarifai-web-grpc",
3
- "version": "11.2.6",
3
+ "version": "11.3.1",
4
4
  "description": "The official Clarifai gRPC-web client",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -8470,6 +8470,12 @@ export class Nodepool extends jspb.Message {
8470
8470
  getMaxInstances(): number;
8471
8471
  setMaxInstances(value: number): Nodepool;
8472
8472
 
8473
+ getEnforcedMinInstances(): number;
8474
+ setEnforcedMinInstances(value: number): Nodepool;
8475
+
8476
+ getEnforcedMaxInstances(): number;
8477
+ setEnforcedMaxInstances(value: number): Nodepool;
8478
+
8473
8479
  getVisibility(): Visibility | undefined;
8474
8480
  setVisibility(value?: Visibility): Nodepool;
8475
8481
  hasVisibility(): boolean;
@@ -8499,6 +8505,8 @@ export namespace Nodepool {
8499
8505
  instanceTypesList: Array<InstanceType.AsObject>,
8500
8506
  minInstances: number,
8501
8507
  maxInstances: number,
8508
+ enforcedMinInstances: number,
8509
+ enforcedMaxInstances: number,
8502
8510
  visibility?: Visibility.AsObject,
8503
8511
  metadata?: google_protobuf_struct_pb.Struct.AsObject,
8504
8512
  }
@@ -9436,6 +9444,9 @@ export class WorkflowVersionEvaluation extends jspb.Message {
9436
9444
  hasModifiedAt(): boolean;
9437
9445
  clearModifiedAt(): WorkflowVersionEvaluation;
9438
9446
 
9447
+ getTargetNodeId(): string;
9448
+ setTargetNodeId(value: string): WorkflowVersionEvaluation;
9449
+
9439
9450
  serializeBinary(): Uint8Array;
9440
9451
  toObject(includeInstance?: boolean): WorkflowVersionEvaluation.AsObject;
9441
9452
  static toObject(includeInstance: boolean, msg: WorkflowVersionEvaluation): WorkflowVersionEvaluation.AsObject;
@@ -9458,6 +9469,7 @@ export namespace WorkflowVersionEvaluation {
9458
9469
  status?: proto_clarifai_api_status_status_pb.Status.AsObject,
9459
9470
  createdAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
9460
9471
  modifiedAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
9472
+ targetNodeId: string,
9461
9473
  }
9462
9474
  }
9463
9475
 
@@ -69717,6 +69717,8 @@ proto.clarifai.api.Nodepool.toObject = function(includeInstance, msg) {
69717
69717
  proto.clarifai.api.InstanceType.toObject, includeInstance),
69718
69718
  minInstances: jspb.Message.getFieldWithDefault(msg, 9, 0),
69719
69719
  maxInstances: jspb.Message.getFieldWithDefault(msg, 10, 0),
69720
+ enforcedMinInstances: jspb.Message.getFieldWithDefault(msg, 13, 0),
69721
+ enforcedMaxInstances: jspb.Message.getFieldWithDefault(msg, 14, 0),
69720
69722
  visibility: (f = msg.getVisibility()) && proto.clarifai.api.Visibility.toObject(includeInstance, f),
69721
69723
  metadata: (f = msg.getMetadata()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f)
69722
69724
  };
@@ -69796,6 +69798,14 @@ proto.clarifai.api.Nodepool.deserializeBinaryFromReader = function(msg, reader)
69796
69798
  var value = /** @type {number} */ (reader.readUint32());
69797
69799
  msg.setMaxInstances(value);
69798
69800
  break;
69801
+ case 13:
69802
+ var value = /** @type {number} */ (reader.readUint32());
69803
+ msg.setEnforcedMinInstances(value);
69804
+ break;
69805
+ case 14:
69806
+ var value = /** @type {number} */ (reader.readUint32());
69807
+ msg.setEnforcedMaxInstances(value);
69808
+ break;
69799
69809
  case 11:
69800
69810
  var value = new proto.clarifai.api.Visibility;
69801
69811
  reader.readMessage(value,proto.clarifai.api.Visibility.deserializeBinaryFromReader);
@@ -69903,6 +69913,20 @@ proto.clarifai.api.Nodepool.serializeBinaryToWriter = function(message, writer)
69903
69913
  f
69904
69914
  );
69905
69915
  }
69916
+ f = message.getEnforcedMinInstances();
69917
+ if (f !== 0) {
69918
+ writer.writeUint32(
69919
+ 13,
69920
+ f
69921
+ );
69922
+ }
69923
+ f = message.getEnforcedMaxInstances();
69924
+ if (f !== 0) {
69925
+ writer.writeUint32(
69926
+ 14,
69927
+ f
69928
+ );
69929
+ }
69906
69930
  f = message.getVisibility();
69907
69931
  if (f != null) {
69908
69932
  writer.writeMessage(
@@ -70180,6 +70204,42 @@ proto.clarifai.api.Nodepool.prototype.setMaxInstances = function(value) {
70180
70204
  };
70181
70205
 
70182
70206
 
70207
+ /**
70208
+ * optional uint32 enforced_min_instances = 13;
70209
+ * @return {number}
70210
+ */
70211
+ proto.clarifai.api.Nodepool.prototype.getEnforcedMinInstances = function() {
70212
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 13, 0));
70213
+ };
70214
+
70215
+
70216
+ /**
70217
+ * @param {number} value
70218
+ * @return {!proto.clarifai.api.Nodepool} returns this
70219
+ */
70220
+ proto.clarifai.api.Nodepool.prototype.setEnforcedMinInstances = function(value) {
70221
+ return jspb.Message.setProto3IntField(this, 13, value);
70222
+ };
70223
+
70224
+
70225
+ /**
70226
+ * optional uint32 enforced_max_instances = 14;
70227
+ * @return {number}
70228
+ */
70229
+ proto.clarifai.api.Nodepool.prototype.getEnforcedMaxInstances = function() {
70230
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 14, 0));
70231
+ };
70232
+
70233
+
70234
+ /**
70235
+ * @param {number} value
70236
+ * @return {!proto.clarifai.api.Nodepool} returns this
70237
+ */
70238
+ proto.clarifai.api.Nodepool.prototype.setEnforcedMaxInstances = function(value) {
70239
+ return jspb.Message.setProto3IntField(this, 14, value);
70240
+ };
70241
+
70242
+
70183
70243
  /**
70184
70244
  * optional Visibility visibility = 11;
70185
70245
  * @return {?proto.clarifai.api.Visibility}
@@ -76903,7 +76963,8 @@ proto.clarifai.api.WorkflowVersionEvaluation.toObject = function(includeInstance
76903
76963
  workflowEvaluationResult: (f = msg.getWorkflowEvaluationResult()) && proto.clarifai.api.WorkflowEvaluationResult.toObject(includeInstance, f),
76904
76964
  status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
76905
76965
  createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
76906
- modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
76966
+ modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
76967
+ targetNodeId: jspb.Message.getFieldWithDefault(msg, 13, "")
76907
76968
  };
76908
76969
 
76909
76970
  if (includeInstance) {
@@ -76992,6 +77053,10 @@ proto.clarifai.api.WorkflowVersionEvaluation.deserializeBinaryFromReader = funct
76992
77053
  reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
76993
77054
  msg.setModifiedAt(value);
76994
77055
  break;
77056
+ case 13:
77057
+ var value = /** @type {string} */ (reader.readString());
77058
+ msg.setTargetNodeId(value);
77059
+ break;
76995
77060
  default:
76996
77061
  reader.skipField();
76997
77062
  break;
@@ -77109,6 +77174,13 @@ proto.clarifai.api.WorkflowVersionEvaluation.serializeBinaryToWriter = function(
77109
77174
  google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
77110
77175
  );
77111
77176
  }
77177
+ f = message.getTargetNodeId();
77178
+ if (f.length > 0) {
77179
+ writer.writeString(
77180
+ 13,
77181
+ f
77182
+ );
77183
+ }
77112
77184
  };
77113
77185
 
77114
77186
 
@@ -77404,6 +77476,24 @@ proto.clarifai.api.WorkflowVersionEvaluation.prototype.hasModifiedAt = function(
77404
77476
  };
77405
77477
 
77406
77478
 
77479
+ /**
77480
+ * optional string target_node_id = 13;
77481
+ * @return {string}
77482
+ */
77483
+ proto.clarifai.api.WorkflowVersionEvaluation.prototype.getTargetNodeId = function() {
77484
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
77485
+ };
77486
+
77487
+
77488
+ /**
77489
+ * @param {string} value
77490
+ * @return {!proto.clarifai.api.WorkflowVersionEvaluation} returns this
77491
+ */
77492
+ proto.clarifai.api.WorkflowVersionEvaluation.prototype.setTargetNodeId = function(value) {
77493
+ return jspb.Message.setProto3StringField(this, 13, value);
77494
+ };
77495
+
77496
+
77407
77497
 
77408
77498
 
77409
77499
 
@@ -10733,6 +10733,9 @@ export class ListNodepoolsRequest extends jspb.Message {
10733
10733
  getPerPage(): number;
10734
10734
  setPerPage(value: number): ListNodepoolsRequest;
10735
10735
 
10736
+ getActiveUsage(): boolean;
10737
+ setActiveUsage(value: boolean): ListNodepoolsRequest;
10738
+
10736
10739
  serializeBinary(): Uint8Array;
10737
10740
  toObject(includeInstance?: boolean): ListNodepoolsRequest.AsObject;
10738
10741
  static toObject(includeInstance: boolean, msg: ListNodepoolsRequest): ListNodepoolsRequest.AsObject;
@@ -10747,6 +10750,7 @@ export namespace ListNodepoolsRequest {
10747
10750
  computeClusterId: string,
10748
10751
  page: number,
10749
10752
  perPage: number,
10753
+ activeUsage: boolean,
10750
10754
  }
10751
10755
  }
10752
10756
 
@@ -11217,6 +11221,11 @@ export class PostWorkflowVersionEvaluationsRequest extends jspb.Message {
11217
11221
  clearWorkflowVersionEvaluationsList(): PostWorkflowVersionEvaluationsRequest;
11218
11222
  addWorkflowVersionEvaluations(value?: proto_clarifai_api_resources_pb.WorkflowVersionEvaluation, index?: number): proto_clarifai_api_resources_pb.WorkflowVersionEvaluation;
11219
11223
 
11224
+ getRunnerSelectorsList(): Array<proto_clarifai_api_resources_pb.RunnerSelector>;
11225
+ setRunnerSelectorsList(value: Array<proto_clarifai_api_resources_pb.RunnerSelector>): PostWorkflowVersionEvaluationsRequest;
11226
+ clearRunnerSelectorsList(): PostWorkflowVersionEvaluationsRequest;
11227
+ addRunnerSelectors(value?: proto_clarifai_api_resources_pb.RunnerSelector, index?: number): proto_clarifai_api_resources_pb.RunnerSelector;
11228
+
11220
11229
  serializeBinary(): Uint8Array;
11221
11230
  toObject(includeInstance?: boolean): PostWorkflowVersionEvaluationsRequest.AsObject;
11222
11231
  static toObject(includeInstance: boolean, msg: PostWorkflowVersionEvaluationsRequest): PostWorkflowVersionEvaluationsRequest.AsObject;
@@ -11231,6 +11240,7 @@ export namespace PostWorkflowVersionEvaluationsRequest {
11231
11240
  workflowId: string,
11232
11241
  workflowVersionId: string,
11233
11242
  workflowVersionEvaluationsList: Array<proto_clarifai_api_resources_pb.WorkflowVersionEvaluation.AsObject>,
11243
+ runnerSelectorsList: Array<proto_clarifai_api_resources_pb.RunnerSelector.AsObject>,
11234
11244
  }
11235
11245
  }
11236
11246
 
@@ -92397,7 +92397,8 @@ proto.clarifai.api.ListNodepoolsRequest.toObject = function(includeInstance, msg
92397
92397
  userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
92398
92398
  computeClusterId: jspb.Message.getFieldWithDefault(msg, 2, ""),
92399
92399
  page: jspb.Message.getFieldWithDefault(msg, 3, 0),
92400
- perPage: jspb.Message.getFieldWithDefault(msg, 4, 0)
92400
+ perPage: jspb.Message.getFieldWithDefault(msg, 4, 0),
92401
+ activeUsage: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
92401
92402
  };
92402
92403
 
92403
92404
  if (includeInstance) {
@@ -92451,6 +92452,10 @@ proto.clarifai.api.ListNodepoolsRequest.deserializeBinaryFromReader = function(m
92451
92452
  var value = /** @type {number} */ (reader.readUint32());
92452
92453
  msg.setPerPage(value);
92453
92454
  break;
92455
+ case 5:
92456
+ var value = /** @type {boolean} */ (reader.readBool());
92457
+ msg.setActiveUsage(value);
92458
+ break;
92454
92459
  default:
92455
92460
  reader.skipField();
92456
92461
  break;
@@ -92509,6 +92514,13 @@ proto.clarifai.api.ListNodepoolsRequest.serializeBinaryToWriter = function(messa
92509
92514
  f
92510
92515
  );
92511
92516
  }
92517
+ f = message.getActiveUsage();
92518
+ if (f) {
92519
+ writer.writeBool(
92520
+ 5,
92521
+ f
92522
+ );
92523
+ }
92512
92524
  };
92513
92525
 
92514
92526
 
@@ -92603,6 +92615,24 @@ proto.clarifai.api.ListNodepoolsRequest.prototype.setPerPage = function(value) {
92603
92615
  };
92604
92616
 
92605
92617
 
92618
+ /**
92619
+ * optional bool active_usage = 5;
92620
+ * @return {boolean}
92621
+ */
92622
+ proto.clarifai.api.ListNodepoolsRequest.prototype.getActiveUsage = function() {
92623
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
92624
+ };
92625
+
92626
+
92627
+ /**
92628
+ * @param {boolean} value
92629
+ * @return {!proto.clarifai.api.ListNodepoolsRequest} returns this
92630
+ */
92631
+ proto.clarifai.api.ListNodepoolsRequest.prototype.setActiveUsage = function(value) {
92632
+ return jspb.Message.setProto3BooleanField(this, 5, value);
92633
+ };
92634
+
92635
+
92606
92636
 
92607
92637
  /**
92608
92638
  * List of repeated fields within this message type.
@@ -96176,7 +96206,7 @@ proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse.prototype.clearWorkfl
96176
96206
  * @private {!Array<number>}
96177
96207
  * @const
96178
96208
  */
96179
- proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.repeatedFields_ = [4];
96209
+ proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.repeatedFields_ = [4,5];
96180
96210
 
96181
96211
 
96182
96212
 
@@ -96213,7 +96243,9 @@ proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.toObject = function(inc
96213
96243
  workflowId: jspb.Message.getFieldWithDefault(msg, 2, ""),
96214
96244
  workflowVersionId: jspb.Message.getFieldWithDefault(msg, 3, ""),
96215
96245
  workflowVersionEvaluationsList: jspb.Message.toObjectList(msg.getWorkflowVersionEvaluationsList(),
96216
- proto_clarifai_api_resources_pb.WorkflowVersionEvaluation.toObject, includeInstance)
96246
+ proto_clarifai_api_resources_pb.WorkflowVersionEvaluation.toObject, includeInstance),
96247
+ runnerSelectorsList: jspb.Message.toObjectList(msg.getRunnerSelectorsList(),
96248
+ proto_clarifai_api_resources_pb.RunnerSelector.toObject, includeInstance)
96217
96249
  };
96218
96250
 
96219
96251
  if (includeInstance) {
@@ -96268,6 +96300,11 @@ proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.deserializeBinaryFromRe
96268
96300
  reader.readMessage(value,proto_clarifai_api_resources_pb.WorkflowVersionEvaluation.deserializeBinaryFromReader);
96269
96301
  msg.addWorkflowVersionEvaluations(value);
96270
96302
  break;
96303
+ case 5:
96304
+ var value = new proto_clarifai_api_resources_pb.RunnerSelector;
96305
+ reader.readMessage(value,proto_clarifai_api_resources_pb.RunnerSelector.deserializeBinaryFromReader);
96306
+ msg.addRunnerSelectors(value);
96307
+ break;
96271
96308
  default:
96272
96309
  reader.skipField();
96273
96310
  break;
@@ -96327,6 +96364,14 @@ proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.serializeBinaryToWriter
96327
96364
  proto_clarifai_api_resources_pb.WorkflowVersionEvaluation.serializeBinaryToWriter
96328
96365
  );
96329
96366
  }
96367
+ f = message.getRunnerSelectorsList();
96368
+ if (f.length > 0) {
96369
+ writer.writeRepeatedMessage(
96370
+ 5,
96371
+ f,
96372
+ proto_clarifai_api_resources_pb.RunnerSelector.serializeBinaryToWriter
96373
+ );
96374
+ }
96330
96375
  };
96331
96376
 
96332
96377
 
@@ -96441,6 +96486,44 @@ proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.clearWorkflow
96441
96486
  };
96442
96487
 
96443
96488
 
96489
+ /**
96490
+ * repeated RunnerSelector runner_selectors = 5;
96491
+ * @return {!Array<!proto.clarifai.api.RunnerSelector>}
96492
+ */
96493
+ proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.getRunnerSelectorsList = function() {
96494
+ return /** @type{!Array<!proto.clarifai.api.RunnerSelector>} */ (
96495
+ jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.RunnerSelector, 5));
96496
+ };
96497
+
96498
+
96499
+ /**
96500
+ * @param {!Array<!proto.clarifai.api.RunnerSelector>} value
96501
+ * @return {!proto.clarifai.api.PostWorkflowVersionEvaluationsRequest} returns this
96502
+ */
96503
+ proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.setRunnerSelectorsList = function(value) {
96504
+ return jspb.Message.setRepeatedWrapperField(this, 5, value);
96505
+ };
96506
+
96507
+
96508
+ /**
96509
+ * @param {!proto.clarifai.api.RunnerSelector=} opt_value
96510
+ * @param {number=} opt_index
96511
+ * @return {!proto.clarifai.api.RunnerSelector}
96512
+ */
96513
+ proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.addRunnerSelectors = function(opt_value, opt_index) {
96514
+ return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.clarifai.api.RunnerSelector, opt_index);
96515
+ };
96516
+
96517
+
96518
+ /**
96519
+ * Clears the list making it empty but non-null.
96520
+ * @return {!proto.clarifai.api.PostWorkflowVersionEvaluationsRequest} returns this
96521
+ */
96522
+ proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.clearRunnerSelectorsList = function() {
96523
+ return this.setRunnerSelectorsList([]);
96524
+ };
96525
+
96526
+
96444
96527
 
96445
96528
  /**
96446
96529
  * List of repeated fields within this message type.
@@ -134,4 +134,6 @@ export enum S {
134
134
  LOGENTRIES_GET = 151,
135
135
  WORKFLOWVERSIONEVALUATIONS_GET = 152,
136
136
  WORKFLOWVERSIONEVALUATIONS_ADD = 153,
137
+ PIPELINE_GET = 154,
138
+ PIPELINE_ADD = 155,
137
139
  }
@@ -362,7 +362,9 @@ proto.clarifai.auth.scope.S = {
362
362
  AUDITLOGS_GET: 149,
363
363
  LOGENTRIES_GET: 151,
364
364
  WORKFLOWVERSIONEVALUATIONS_GET: 152,
365
- WORKFLOWVERSIONEVALUATIONS_ADD: 153
365
+ WORKFLOWVERSIONEVALUATIONS_ADD: 153,
366
+ PIPELINE_GET: 154,
367
+ PIPELINE_ADD: 155
366
368
  };
367
369
 
368
370