clarifai-web-grpc 11.2.6 → 11.3.0
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 +70 -1
- package/dist/cjs/proto/clarifai/api/service_pb.js +41 -2
- package/dist/cjs/proto/clarifai/auth/scope/scope_pb.js +3 -1
- package/dist/esm/proto/clarifai/api/resources_pb.js +70 -1
- package/dist/esm/proto/clarifai/api/service_pb.js +41 -2
- package/dist/esm/proto/clarifai/auth/scope/scope_pb.js +3 -1
- package/package.json +1 -1
- package/proto/clarifai/api/resources_pb.d.ts +12 -0
- package/proto/clarifai/api/resources_pb.js +91 -1
- package/proto/clarifai/api/service_pb.d.ts +6 -0
- package/proto/clarifai/api/service_pb.js +55 -2
- package/proto/clarifai/auth/scope/scope_pb.d.ts +2 -0
- package/proto/clarifai/auth/scope/scope_pb.js +3 -1
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
11.
|
|
1
|
+
11.3.0
|
|
@@ -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.
|
|
@@ -77823,7 +77823,7 @@ proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse.prototype.clearWorkfl
|
|
|
77823
77823
|
* @private {!Array<number>}
|
|
77824
77824
|
* @const
|
|
77825
77825
|
*/
|
|
77826
|
-
proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.repeatedFields_ = [4];
|
|
77826
|
+
proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.repeatedFields_ = [4, 5];
|
|
77827
77827
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
77828
77828
|
/**
|
|
77829
77829
|
* Creates an object representation of this proto.
|
|
@@ -77854,7 +77854,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
77854
77854
|
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
77855
77855
|
workflowId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
77856
77856
|
workflowVersionId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
77857
|
-
workflowVersionEvaluationsList: jspb.Message.toObjectList(msg.getWorkflowVersionEvaluationsList(), proto_clarifai_api_resources_pb.WorkflowVersionEvaluation.toObject, includeInstance)
|
|
77857
|
+
workflowVersionEvaluationsList: jspb.Message.toObjectList(msg.getWorkflowVersionEvaluationsList(), proto_clarifai_api_resources_pb.WorkflowVersionEvaluation.toObject, includeInstance),
|
|
77858
|
+
runnerSelectorsList: jspb.Message.toObjectList(msg.getRunnerSelectorsList(), proto_clarifai_api_resources_pb.RunnerSelector.toObject, includeInstance)
|
|
77858
77859
|
};
|
|
77859
77860
|
if (includeInstance) {
|
|
77860
77861
|
obj.$jspbMessageInstance = msg;
|
|
@@ -77904,6 +77905,11 @@ proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.deserializeBinaryFromRe
|
|
|
77904
77905
|
reader.readMessage(value, proto_clarifai_api_resources_pb.WorkflowVersionEvaluation.deserializeBinaryFromReader);
|
|
77905
77906
|
msg.addWorkflowVersionEvaluations(value);
|
|
77906
77907
|
break;
|
|
77908
|
+
case 5:
|
|
77909
|
+
var value = new proto_clarifai_api_resources_pb.RunnerSelector;
|
|
77910
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.RunnerSelector.deserializeBinaryFromReader);
|
|
77911
|
+
msg.addRunnerSelectors(value);
|
|
77912
|
+
break;
|
|
77907
77913
|
default:
|
|
77908
77914
|
reader.skipField();
|
|
77909
77915
|
break;
|
|
@@ -77945,6 +77951,10 @@ proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.serializeBinaryToWriter
|
|
|
77945
77951
|
if (f.length > 0) {
|
|
77946
77952
|
writer.writeRepeatedMessage(4, f, proto_clarifai_api_resources_pb.WorkflowVersionEvaluation.serializeBinaryToWriter);
|
|
77947
77953
|
}
|
|
77954
|
+
f = message.getRunnerSelectorsList();
|
|
77955
|
+
if (f.length > 0) {
|
|
77956
|
+
writer.writeRepeatedMessage(5, f, proto_clarifai_api_resources_pb.RunnerSelector.serializeBinaryToWriter);
|
|
77957
|
+
}
|
|
77948
77958
|
};
|
|
77949
77959
|
/**
|
|
77950
77960
|
* optional UserAppIDSet user_app_id = 1;
|
|
@@ -78031,6 +78041,35 @@ proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.addWorkflowVe
|
|
|
78031
78041
|
proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.clearWorkflowVersionEvaluationsList = function () {
|
|
78032
78042
|
return this.setWorkflowVersionEvaluationsList([]);
|
|
78033
78043
|
};
|
|
78044
|
+
/**
|
|
78045
|
+
* repeated RunnerSelector runner_selectors = 5;
|
|
78046
|
+
* @return {!Array<!proto.clarifai.api.RunnerSelector>}
|
|
78047
|
+
*/
|
|
78048
|
+
proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.getRunnerSelectorsList = function () {
|
|
78049
|
+
return /** @type{!Array<!proto.clarifai.api.RunnerSelector>} */ (jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.RunnerSelector, 5));
|
|
78050
|
+
};
|
|
78051
|
+
/**
|
|
78052
|
+
* @param {!Array<!proto.clarifai.api.RunnerSelector>} value
|
|
78053
|
+
* @return {!proto.clarifai.api.PostWorkflowVersionEvaluationsRequest} returns this
|
|
78054
|
+
*/
|
|
78055
|
+
proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.setRunnerSelectorsList = function (value) {
|
|
78056
|
+
return jspb.Message.setRepeatedWrapperField(this, 5, value);
|
|
78057
|
+
};
|
|
78058
|
+
/**
|
|
78059
|
+
* @param {!proto.clarifai.api.RunnerSelector=} opt_value
|
|
78060
|
+
* @param {number=} opt_index
|
|
78061
|
+
* @return {!proto.clarifai.api.RunnerSelector}
|
|
78062
|
+
*/
|
|
78063
|
+
proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.addRunnerSelectors = function (opt_value, opt_index) {
|
|
78064
|
+
return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.clarifai.api.RunnerSelector, opt_index);
|
|
78065
|
+
};
|
|
78066
|
+
/**
|
|
78067
|
+
* Clears the list making it empty but non-null.
|
|
78068
|
+
* @return {!proto.clarifai.api.PostWorkflowVersionEvaluationsRequest} returns this
|
|
78069
|
+
*/
|
|
78070
|
+
proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.clearRunnerSelectorsList = function () {
|
|
78071
|
+
return this.setRunnerSelectorsList([]);
|
|
78072
|
+
};
|
|
78034
78073
|
/**
|
|
78035
78074
|
* List of repeated fields within this message type.
|
|
78036
78075
|
* @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.
|
|
@@ -77823,7 +77823,7 @@ proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse.prototype.clearWorkfl
|
|
|
77823
77823
|
* @private {!Array<number>}
|
|
77824
77824
|
* @const
|
|
77825
77825
|
*/
|
|
77826
|
-
proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.repeatedFields_ = [4];
|
|
77826
|
+
proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.repeatedFields_ = [4, 5];
|
|
77827
77827
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
77828
77828
|
/**
|
|
77829
77829
|
* Creates an object representation of this proto.
|
|
@@ -77854,7 +77854,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
77854
77854
|
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
77855
77855
|
workflowId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
77856
77856
|
workflowVersionId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
77857
|
-
workflowVersionEvaluationsList: jspb.Message.toObjectList(msg.getWorkflowVersionEvaluationsList(), proto_clarifai_api_resources_pb.WorkflowVersionEvaluation.toObject, includeInstance)
|
|
77857
|
+
workflowVersionEvaluationsList: jspb.Message.toObjectList(msg.getWorkflowVersionEvaluationsList(), proto_clarifai_api_resources_pb.WorkflowVersionEvaluation.toObject, includeInstance),
|
|
77858
|
+
runnerSelectorsList: jspb.Message.toObjectList(msg.getRunnerSelectorsList(), proto_clarifai_api_resources_pb.RunnerSelector.toObject, includeInstance)
|
|
77858
77859
|
};
|
|
77859
77860
|
if (includeInstance) {
|
|
77860
77861
|
obj.$jspbMessageInstance = msg;
|
|
@@ -77904,6 +77905,11 @@ proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.deserializeBinaryFromRe
|
|
|
77904
77905
|
reader.readMessage(value, proto_clarifai_api_resources_pb.WorkflowVersionEvaluation.deserializeBinaryFromReader);
|
|
77905
77906
|
msg.addWorkflowVersionEvaluations(value);
|
|
77906
77907
|
break;
|
|
77908
|
+
case 5:
|
|
77909
|
+
var value = new proto_clarifai_api_resources_pb.RunnerSelector;
|
|
77910
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.RunnerSelector.deserializeBinaryFromReader);
|
|
77911
|
+
msg.addRunnerSelectors(value);
|
|
77912
|
+
break;
|
|
77907
77913
|
default:
|
|
77908
77914
|
reader.skipField();
|
|
77909
77915
|
break;
|
|
@@ -77945,6 +77951,10 @@ proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.serializeBinaryToWriter
|
|
|
77945
77951
|
if (f.length > 0) {
|
|
77946
77952
|
writer.writeRepeatedMessage(4, f, proto_clarifai_api_resources_pb.WorkflowVersionEvaluation.serializeBinaryToWriter);
|
|
77947
77953
|
}
|
|
77954
|
+
f = message.getRunnerSelectorsList();
|
|
77955
|
+
if (f.length > 0) {
|
|
77956
|
+
writer.writeRepeatedMessage(5, f, proto_clarifai_api_resources_pb.RunnerSelector.serializeBinaryToWriter);
|
|
77957
|
+
}
|
|
77948
77958
|
};
|
|
77949
77959
|
/**
|
|
77950
77960
|
* optional UserAppIDSet user_app_id = 1;
|
|
@@ -78031,6 +78041,35 @@ proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.addWorkflowVe
|
|
|
78031
78041
|
proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.clearWorkflowVersionEvaluationsList = function () {
|
|
78032
78042
|
return this.setWorkflowVersionEvaluationsList([]);
|
|
78033
78043
|
};
|
|
78044
|
+
/**
|
|
78045
|
+
* repeated RunnerSelector runner_selectors = 5;
|
|
78046
|
+
* @return {!Array<!proto.clarifai.api.RunnerSelector>}
|
|
78047
|
+
*/
|
|
78048
|
+
proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.getRunnerSelectorsList = function () {
|
|
78049
|
+
return /** @type{!Array<!proto.clarifai.api.RunnerSelector>} */ (jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.RunnerSelector, 5));
|
|
78050
|
+
};
|
|
78051
|
+
/**
|
|
78052
|
+
* @param {!Array<!proto.clarifai.api.RunnerSelector>} value
|
|
78053
|
+
* @return {!proto.clarifai.api.PostWorkflowVersionEvaluationsRequest} returns this
|
|
78054
|
+
*/
|
|
78055
|
+
proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.setRunnerSelectorsList = function (value) {
|
|
78056
|
+
return jspb.Message.setRepeatedWrapperField(this, 5, value);
|
|
78057
|
+
};
|
|
78058
|
+
/**
|
|
78059
|
+
* @param {!proto.clarifai.api.RunnerSelector=} opt_value
|
|
78060
|
+
* @param {number=} opt_index
|
|
78061
|
+
* @return {!proto.clarifai.api.RunnerSelector}
|
|
78062
|
+
*/
|
|
78063
|
+
proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.addRunnerSelectors = function (opt_value, opt_index) {
|
|
78064
|
+
return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.clarifai.api.RunnerSelector, opt_index);
|
|
78065
|
+
};
|
|
78066
|
+
/**
|
|
78067
|
+
* Clears the list making it empty but non-null.
|
|
78068
|
+
* @return {!proto.clarifai.api.PostWorkflowVersionEvaluationsRequest} returns this
|
|
78069
|
+
*/
|
|
78070
|
+
proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.clearRunnerSelectorsList = function () {
|
|
78071
|
+
return this.setRunnerSelectorsList([]);
|
|
78072
|
+
};
|
|
78034
78073
|
/**
|
|
78035
78074
|
* List of repeated fields within this message type.
|
|
78036
78075
|
* @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
|
@@ -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
|
|
|
@@ -11217,6 +11217,11 @@ export class PostWorkflowVersionEvaluationsRequest extends jspb.Message {
|
|
|
11217
11217
|
clearWorkflowVersionEvaluationsList(): PostWorkflowVersionEvaluationsRequest;
|
|
11218
11218
|
addWorkflowVersionEvaluations(value?: proto_clarifai_api_resources_pb.WorkflowVersionEvaluation, index?: number): proto_clarifai_api_resources_pb.WorkflowVersionEvaluation;
|
|
11219
11219
|
|
|
11220
|
+
getRunnerSelectorsList(): Array<proto_clarifai_api_resources_pb.RunnerSelector>;
|
|
11221
|
+
setRunnerSelectorsList(value: Array<proto_clarifai_api_resources_pb.RunnerSelector>): PostWorkflowVersionEvaluationsRequest;
|
|
11222
|
+
clearRunnerSelectorsList(): PostWorkflowVersionEvaluationsRequest;
|
|
11223
|
+
addRunnerSelectors(value?: proto_clarifai_api_resources_pb.RunnerSelector, index?: number): proto_clarifai_api_resources_pb.RunnerSelector;
|
|
11224
|
+
|
|
11220
11225
|
serializeBinary(): Uint8Array;
|
|
11221
11226
|
toObject(includeInstance?: boolean): PostWorkflowVersionEvaluationsRequest.AsObject;
|
|
11222
11227
|
static toObject(includeInstance: boolean, msg: PostWorkflowVersionEvaluationsRequest): PostWorkflowVersionEvaluationsRequest.AsObject;
|
|
@@ -11231,6 +11236,7 @@ export namespace PostWorkflowVersionEvaluationsRequest {
|
|
|
11231
11236
|
workflowId: string,
|
|
11232
11237
|
workflowVersionId: string,
|
|
11233
11238
|
workflowVersionEvaluationsList: Array<proto_clarifai_api_resources_pb.WorkflowVersionEvaluation.AsObject>,
|
|
11239
|
+
runnerSelectorsList: Array<proto_clarifai_api_resources_pb.RunnerSelector.AsObject>,
|
|
11234
11240
|
}
|
|
11235
11241
|
}
|
|
11236
11242
|
|
|
@@ -96176,7 +96176,7 @@ proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse.prototype.clearWorkfl
|
|
|
96176
96176
|
* @private {!Array<number>}
|
|
96177
96177
|
* @const
|
|
96178
96178
|
*/
|
|
96179
|
-
proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.repeatedFields_ = [4];
|
|
96179
|
+
proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.repeatedFields_ = [4,5];
|
|
96180
96180
|
|
|
96181
96181
|
|
|
96182
96182
|
|
|
@@ -96213,7 +96213,9 @@ proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.toObject = function(inc
|
|
|
96213
96213
|
workflowId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
96214
96214
|
workflowVersionId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
96215
96215
|
workflowVersionEvaluationsList: jspb.Message.toObjectList(msg.getWorkflowVersionEvaluationsList(),
|
|
96216
|
-
proto_clarifai_api_resources_pb.WorkflowVersionEvaluation.toObject, includeInstance)
|
|
96216
|
+
proto_clarifai_api_resources_pb.WorkflowVersionEvaluation.toObject, includeInstance),
|
|
96217
|
+
runnerSelectorsList: jspb.Message.toObjectList(msg.getRunnerSelectorsList(),
|
|
96218
|
+
proto_clarifai_api_resources_pb.RunnerSelector.toObject, includeInstance)
|
|
96217
96219
|
};
|
|
96218
96220
|
|
|
96219
96221
|
if (includeInstance) {
|
|
@@ -96268,6 +96270,11 @@ proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.deserializeBinaryFromRe
|
|
|
96268
96270
|
reader.readMessage(value,proto_clarifai_api_resources_pb.WorkflowVersionEvaluation.deserializeBinaryFromReader);
|
|
96269
96271
|
msg.addWorkflowVersionEvaluations(value);
|
|
96270
96272
|
break;
|
|
96273
|
+
case 5:
|
|
96274
|
+
var value = new proto_clarifai_api_resources_pb.RunnerSelector;
|
|
96275
|
+
reader.readMessage(value,proto_clarifai_api_resources_pb.RunnerSelector.deserializeBinaryFromReader);
|
|
96276
|
+
msg.addRunnerSelectors(value);
|
|
96277
|
+
break;
|
|
96271
96278
|
default:
|
|
96272
96279
|
reader.skipField();
|
|
96273
96280
|
break;
|
|
@@ -96327,6 +96334,14 @@ proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.serializeBinaryToWriter
|
|
|
96327
96334
|
proto_clarifai_api_resources_pb.WorkflowVersionEvaluation.serializeBinaryToWriter
|
|
96328
96335
|
);
|
|
96329
96336
|
}
|
|
96337
|
+
f = message.getRunnerSelectorsList();
|
|
96338
|
+
if (f.length > 0) {
|
|
96339
|
+
writer.writeRepeatedMessage(
|
|
96340
|
+
5,
|
|
96341
|
+
f,
|
|
96342
|
+
proto_clarifai_api_resources_pb.RunnerSelector.serializeBinaryToWriter
|
|
96343
|
+
);
|
|
96344
|
+
}
|
|
96330
96345
|
};
|
|
96331
96346
|
|
|
96332
96347
|
|
|
@@ -96441,6 +96456,44 @@ proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.clearWorkflow
|
|
|
96441
96456
|
};
|
|
96442
96457
|
|
|
96443
96458
|
|
|
96459
|
+
/**
|
|
96460
|
+
* repeated RunnerSelector runner_selectors = 5;
|
|
96461
|
+
* @return {!Array<!proto.clarifai.api.RunnerSelector>}
|
|
96462
|
+
*/
|
|
96463
|
+
proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.getRunnerSelectorsList = function() {
|
|
96464
|
+
return /** @type{!Array<!proto.clarifai.api.RunnerSelector>} */ (
|
|
96465
|
+
jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.RunnerSelector, 5));
|
|
96466
|
+
};
|
|
96467
|
+
|
|
96468
|
+
|
|
96469
|
+
/**
|
|
96470
|
+
* @param {!Array<!proto.clarifai.api.RunnerSelector>} value
|
|
96471
|
+
* @return {!proto.clarifai.api.PostWorkflowVersionEvaluationsRequest} returns this
|
|
96472
|
+
*/
|
|
96473
|
+
proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.setRunnerSelectorsList = function(value) {
|
|
96474
|
+
return jspb.Message.setRepeatedWrapperField(this, 5, value);
|
|
96475
|
+
};
|
|
96476
|
+
|
|
96477
|
+
|
|
96478
|
+
/**
|
|
96479
|
+
* @param {!proto.clarifai.api.RunnerSelector=} opt_value
|
|
96480
|
+
* @param {number=} opt_index
|
|
96481
|
+
* @return {!proto.clarifai.api.RunnerSelector}
|
|
96482
|
+
*/
|
|
96483
|
+
proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.addRunnerSelectors = function(opt_value, opt_index) {
|
|
96484
|
+
return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.clarifai.api.RunnerSelector, opt_index);
|
|
96485
|
+
};
|
|
96486
|
+
|
|
96487
|
+
|
|
96488
|
+
/**
|
|
96489
|
+
* Clears the list making it empty but non-null.
|
|
96490
|
+
* @return {!proto.clarifai.api.PostWorkflowVersionEvaluationsRequest} returns this
|
|
96491
|
+
*/
|
|
96492
|
+
proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.clearRunnerSelectorsList = function() {
|
|
96493
|
+
return this.setRunnerSelectorsList([]);
|
|
96494
|
+
};
|
|
96495
|
+
|
|
96496
|
+
|
|
96444
96497
|
|
|
96445
96498
|
/**
|
|
96446
96499
|
* List of repeated fields within this message type.
|
|
@@ -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
|
|