clarifai-web-grpc 11.3.1 → 11.3.3
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 +412 -105
- package/dist/cjs/proto/clarifai/api/service_pb.js +72 -3
- package/dist/esm/proto/clarifai/api/resources_pb.js +412 -105
- package/dist/esm/proto/clarifai/api/service_pb.js +72 -3
- package/package.json +1 -1
- package/proto/clarifai/api/resources_pb.d.ts +85 -28
- package/proto/clarifai/api/resources_pb.js +526 -116
- package/proto/clarifai/api/service_pb.d.ts +12 -0
- package/proto/clarifai/api/service_pb.js +93 -3
|
@@ -20961,7 +20961,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
20961
20961
|
source: jspb.Message.getFieldWithDefault(msg, 36, 0),
|
|
20962
20962
|
creator: jspb.Message.getFieldWithDefault(msg, 37, ""),
|
|
20963
20963
|
versionCount: jspb.Message.getFieldWithDefault(msg, 38, 0),
|
|
20964
|
-
billingType: jspb.Message.getFieldWithDefault(msg, 40, 0)
|
|
20964
|
+
billingType: jspb.Message.getFieldWithDefault(msg, 40, 0),
|
|
20965
|
+
featuredOrder: (f = msg.getFeaturedOrder()) && google_protobuf_wrappers_pb.Int32Value.toObject(includeInstance, f)
|
|
20965
20966
|
};
|
|
20966
20967
|
if (includeInstance) {
|
|
20967
20968
|
obj.$jspbMessageInstance = msg;
|
|
@@ -21133,6 +21134,11 @@ proto.clarifai.api.Model.deserializeBinaryFromReader = function (msg, reader) {
|
|
|
21133
21134
|
var value = /** @type {!proto.clarifai.api.Model.BillingType} */ (reader.readEnum());
|
|
21134
21135
|
msg.setBillingType(value);
|
|
21135
21136
|
break;
|
|
21137
|
+
case 41:
|
|
21138
|
+
var value = new google_protobuf_wrappers_pb.Int32Value;
|
|
21139
|
+
reader.readMessage(value, google_protobuf_wrappers_pb.Int32Value.deserializeBinaryFromReader);
|
|
21140
|
+
msg.setFeaturedOrder(value);
|
|
21141
|
+
break;
|
|
21136
21142
|
default:
|
|
21137
21143
|
reader.skipField();
|
|
21138
21144
|
break;
|
|
@@ -21286,6 +21292,10 @@ proto.clarifai.api.Model.serializeBinaryToWriter = function (message, writer) {
|
|
|
21286
21292
|
if (f !== 0.0) {
|
|
21287
21293
|
writer.writeEnum(40, f);
|
|
21288
21294
|
}
|
|
21295
|
+
f = message.getFeaturedOrder();
|
|
21296
|
+
if (f != null) {
|
|
21297
|
+
writer.writeMessage(41, f, google_protobuf_wrappers_pb.Int32Value.serializeBinaryToWriter);
|
|
21298
|
+
}
|
|
21289
21299
|
};
|
|
21290
21300
|
/**
|
|
21291
21301
|
* @enum {number}
|
|
@@ -21980,6 +21990,34 @@ proto.clarifai.api.Model.prototype.getBillingType = function () {
|
|
|
21980
21990
|
proto.clarifai.api.Model.prototype.setBillingType = function (value) {
|
|
21981
21991
|
return jspb.Message.setProto3EnumField(this, 40, value);
|
|
21982
21992
|
};
|
|
21993
|
+
/**
|
|
21994
|
+
* optional google.protobuf.Int32Value featured_order = 41;
|
|
21995
|
+
* @return {?proto.google.protobuf.Int32Value}
|
|
21996
|
+
*/
|
|
21997
|
+
proto.clarifai.api.Model.prototype.getFeaturedOrder = function () {
|
|
21998
|
+
return /** @type{?proto.google.protobuf.Int32Value} */ (jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.Int32Value, 41));
|
|
21999
|
+
};
|
|
22000
|
+
/**
|
|
22001
|
+
* @param {?proto.google.protobuf.Int32Value|undefined} value
|
|
22002
|
+
* @return {!proto.clarifai.api.Model} returns this
|
|
22003
|
+
*/
|
|
22004
|
+
proto.clarifai.api.Model.prototype.setFeaturedOrder = function (value) {
|
|
22005
|
+
return jspb.Message.setWrapperField(this, 41, value);
|
|
22006
|
+
};
|
|
22007
|
+
/**
|
|
22008
|
+
* Clears the message field making it undefined.
|
|
22009
|
+
* @return {!proto.clarifai.api.Model} returns this
|
|
22010
|
+
*/
|
|
22011
|
+
proto.clarifai.api.Model.prototype.clearFeaturedOrder = function () {
|
|
22012
|
+
return this.setFeaturedOrder(undefined);
|
|
22013
|
+
};
|
|
22014
|
+
/**
|
|
22015
|
+
* Returns whether this field is set.
|
|
22016
|
+
* @return {boolean}
|
|
22017
|
+
*/
|
|
22018
|
+
proto.clarifai.api.Model.prototype.hasFeaturedOrder = function () {
|
|
22019
|
+
return jspb.Message.getField(this, 41) != null;
|
|
22020
|
+
};
|
|
21983
22021
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
21984
22022
|
/**
|
|
21985
22023
|
* Creates an object representation of this proto.
|
|
@@ -24906,7 +24944,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
24906
24944
|
type: jspb.Message.getFieldWithDefault(msg, 11, 0),
|
|
24907
24945
|
typeArgsList: jspb.Message.toObjectList(msg.getTypeArgsList(), proto.clarifai.api.ModelTypeField.toObject, includeInstance),
|
|
24908
24946
|
iterator: jspb.Message.getBooleanFieldWithDefault(msg, 13, false),
|
|
24909
|
-
pb_default: jspb.Message.getFieldWithDefault(msg, 14, "")
|
|
24947
|
+
pb_default: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
24948
|
+
isParam: jspb.Message.getBooleanFieldWithDefault(msg, 15, false)
|
|
24910
24949
|
};
|
|
24911
24950
|
if (includeInstance) {
|
|
24912
24951
|
obj.$jspbMessageInstance = msg;
|
|
@@ -24998,6 +25037,10 @@ proto.clarifai.api.ModelTypeField.deserializeBinaryFromReader = function (msg, r
|
|
|
24998
25037
|
var value = /** @type {string} */ (reader.readString());
|
|
24999
25038
|
msg.setDefault(value);
|
|
25000
25039
|
break;
|
|
25040
|
+
case 15:
|
|
25041
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
25042
|
+
msg.setIsParam(value);
|
|
25043
|
+
break;
|
|
25001
25044
|
default:
|
|
25002
25045
|
reader.skipField();
|
|
25003
25046
|
break;
|
|
@@ -25079,6 +25122,10 @@ proto.clarifai.api.ModelTypeField.serializeBinaryToWriter = function (message, w
|
|
|
25079
25122
|
if (f.length > 0) {
|
|
25080
25123
|
writer.writeString(14, f);
|
|
25081
25124
|
}
|
|
25125
|
+
f = message.getIsParam();
|
|
25126
|
+
if (f) {
|
|
25127
|
+
writer.writeBool(15, f);
|
|
25128
|
+
}
|
|
25082
25129
|
};
|
|
25083
25130
|
/**
|
|
25084
25131
|
* @enum {number}
|
|
@@ -25126,9 +25173,9 @@ proto.clarifai.api.ModelTypeField.DataType = {
|
|
|
25126
25173
|
FRAME: 12,
|
|
25127
25174
|
AUDIO: 13,
|
|
25128
25175
|
VIDEO: 14,
|
|
25129
|
-
NAMED_FIELDS:
|
|
25130
|
-
TUPLE:
|
|
25131
|
-
LIST:
|
|
25176
|
+
NAMED_FIELDS: 15,
|
|
25177
|
+
TUPLE: 16,
|
|
25178
|
+
LIST: 17
|
|
25132
25179
|
};
|
|
25133
25180
|
/**
|
|
25134
25181
|
* optional string path = 1;
|
|
@@ -25384,6 +25431,20 @@ proto.clarifai.api.ModelTypeField.prototype.getDefault = function () {
|
|
|
25384
25431
|
proto.clarifai.api.ModelTypeField.prototype.setDefault = function (value) {
|
|
25385
25432
|
return jspb.Message.setProto3StringField(this, 14, value);
|
|
25386
25433
|
};
|
|
25434
|
+
/**
|
|
25435
|
+
* optional bool is_param = 15;
|
|
25436
|
+
* @return {boolean}
|
|
25437
|
+
*/
|
|
25438
|
+
proto.clarifai.api.ModelTypeField.prototype.getIsParam = function () {
|
|
25439
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 15, false));
|
|
25440
|
+
};
|
|
25441
|
+
/**
|
|
25442
|
+
* @param {boolean} value
|
|
25443
|
+
* @return {!proto.clarifai.api.ModelTypeField} returns this
|
|
25444
|
+
*/
|
|
25445
|
+
proto.clarifai.api.ModelTypeField.prototype.setIsParam = function (value) {
|
|
25446
|
+
return jspb.Message.setProto3BooleanField(this, 15, value);
|
|
25447
|
+
};
|
|
25387
25448
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
25388
25449
|
/**
|
|
25389
25450
|
* Creates an object representation of this proto.
|
|
@@ -38513,7 +38574,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
38513
38574
|
appId: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
38514
38575
|
userId: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
38515
38576
|
description: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
38516
|
-
license: jspb.Message.getFieldWithDefault(msg, 11, "")
|
|
38577
|
+
license: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
38578
|
+
isDeprecated: jspb.Message.getBooleanFieldWithDefault(msg, 12, false)
|
|
38517
38579
|
};
|
|
38518
38580
|
if (includeInstance) {
|
|
38519
38581
|
obj.$jspbMessageInstance = msg;
|
|
@@ -38594,6 +38656,10 @@ proto.clarifai.api.WorkflowVersion.deserializeBinaryFromReader = function (msg,
|
|
|
38594
38656
|
var value = /** @type {string} */ (reader.readString());
|
|
38595
38657
|
msg.setLicense(value);
|
|
38596
38658
|
break;
|
|
38659
|
+
case 12:
|
|
38660
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
38661
|
+
msg.setIsDeprecated(value);
|
|
38662
|
+
break;
|
|
38597
38663
|
default:
|
|
38598
38664
|
reader.skipField();
|
|
38599
38665
|
break;
|
|
@@ -38663,6 +38729,10 @@ proto.clarifai.api.WorkflowVersion.serializeBinaryToWriter = function (message,
|
|
|
38663
38729
|
if (f.length > 0) {
|
|
38664
38730
|
writer.writeString(11, f);
|
|
38665
38731
|
}
|
|
38732
|
+
f = message.getIsDeprecated();
|
|
38733
|
+
if (f) {
|
|
38734
|
+
writer.writeBool(12, f);
|
|
38735
|
+
}
|
|
38666
38736
|
};
|
|
38667
38737
|
/**
|
|
38668
38738
|
* optional string id = 1;
|
|
@@ -38889,6 +38959,20 @@ proto.clarifai.api.WorkflowVersion.prototype.getLicense = function () {
|
|
|
38889
38959
|
proto.clarifai.api.WorkflowVersion.prototype.setLicense = function (value) {
|
|
38890
38960
|
return jspb.Message.setProto3StringField(this, 11, value);
|
|
38891
38961
|
};
|
|
38962
|
+
/**
|
|
38963
|
+
* optional bool is_deprecated = 12;
|
|
38964
|
+
* @return {boolean}
|
|
38965
|
+
*/
|
|
38966
|
+
proto.clarifai.api.WorkflowVersion.prototype.getIsDeprecated = function () {
|
|
38967
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 12, false));
|
|
38968
|
+
};
|
|
38969
|
+
/**
|
|
38970
|
+
* @param {boolean} value
|
|
38971
|
+
* @return {!proto.clarifai.api.WorkflowVersion} returns this
|
|
38972
|
+
*/
|
|
38973
|
+
proto.clarifai.api.WorkflowVersion.prototype.setIsDeprecated = function (value) {
|
|
38974
|
+
return jspb.Message.setProto3BooleanField(this, 12, value);
|
|
38975
|
+
};
|
|
38892
38976
|
/**
|
|
38893
38977
|
* List of repeated fields within this message type.
|
|
38894
38978
|
* @private {!Array<number>}
|
|
@@ -56432,7 +56516,9 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
56432
56516
|
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
56433
56517
|
description: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
56434
56518
|
computeInfo: (f = msg.getComputeInfo()) && proto.clarifai.api.ComputeInfo.toObject(includeInstance, f),
|
|
56435
|
-
price: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
56519
|
+
price: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
56520
|
+
cloudProvider: (f = msg.getCloudProvider()) && proto.clarifai.api.CloudProvider.toObject(includeInstance, f),
|
|
56521
|
+
region: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
56436
56522
|
};
|
|
56437
56523
|
if (includeInstance) {
|
|
56438
56524
|
obj.$jspbMessageInstance = msg;
|
|
@@ -56481,6 +56567,15 @@ proto.clarifai.api.InstanceType.deserializeBinaryFromReader = function (msg, rea
|
|
|
56481
56567
|
var value = /** @type {string} */ (reader.readString());
|
|
56482
56568
|
msg.setPrice(value);
|
|
56483
56569
|
break;
|
|
56570
|
+
case 5:
|
|
56571
|
+
var value = new proto.clarifai.api.CloudProvider;
|
|
56572
|
+
reader.readMessage(value, proto.clarifai.api.CloudProvider.deserializeBinaryFromReader);
|
|
56573
|
+
msg.setCloudProvider(value);
|
|
56574
|
+
break;
|
|
56575
|
+
case 6:
|
|
56576
|
+
var value = /** @type {string} */ (reader.readString());
|
|
56577
|
+
msg.setRegion(value);
|
|
56578
|
+
break;
|
|
56484
56579
|
default:
|
|
56485
56580
|
reader.skipField();
|
|
56486
56581
|
break;
|
|
@@ -56522,6 +56617,14 @@ proto.clarifai.api.InstanceType.serializeBinaryToWriter = function (message, wri
|
|
|
56522
56617
|
if (f.length > 0) {
|
|
56523
56618
|
writer.writeString(4, f);
|
|
56524
56619
|
}
|
|
56620
|
+
f = message.getCloudProvider();
|
|
56621
|
+
if (f != null) {
|
|
56622
|
+
writer.writeMessage(5, f, proto.clarifai.api.CloudProvider.serializeBinaryToWriter);
|
|
56623
|
+
}
|
|
56624
|
+
f = message.getRegion();
|
|
56625
|
+
if (f.length > 0) {
|
|
56626
|
+
writer.writeString(6, f);
|
|
56627
|
+
}
|
|
56525
56628
|
};
|
|
56526
56629
|
/**
|
|
56527
56630
|
* optional string id = 1;
|
|
@@ -56593,6 +56696,48 @@ proto.clarifai.api.InstanceType.prototype.getPrice = function () {
|
|
|
56593
56696
|
proto.clarifai.api.InstanceType.prototype.setPrice = function (value) {
|
|
56594
56697
|
return jspb.Message.setProto3StringField(this, 4, value);
|
|
56595
56698
|
};
|
|
56699
|
+
/**
|
|
56700
|
+
* optional CloudProvider cloud_provider = 5;
|
|
56701
|
+
* @return {?proto.clarifai.api.CloudProvider}
|
|
56702
|
+
*/
|
|
56703
|
+
proto.clarifai.api.InstanceType.prototype.getCloudProvider = function () {
|
|
56704
|
+
return /** @type{?proto.clarifai.api.CloudProvider} */ (jspb.Message.getWrapperField(this, proto.clarifai.api.CloudProvider, 5));
|
|
56705
|
+
};
|
|
56706
|
+
/**
|
|
56707
|
+
* @param {?proto.clarifai.api.CloudProvider|undefined} value
|
|
56708
|
+
* @return {!proto.clarifai.api.InstanceType} returns this
|
|
56709
|
+
*/
|
|
56710
|
+
proto.clarifai.api.InstanceType.prototype.setCloudProvider = function (value) {
|
|
56711
|
+
return jspb.Message.setWrapperField(this, 5, value);
|
|
56712
|
+
};
|
|
56713
|
+
/**
|
|
56714
|
+
* Clears the message field making it undefined.
|
|
56715
|
+
* @return {!proto.clarifai.api.InstanceType} returns this
|
|
56716
|
+
*/
|
|
56717
|
+
proto.clarifai.api.InstanceType.prototype.clearCloudProvider = function () {
|
|
56718
|
+
return this.setCloudProvider(undefined);
|
|
56719
|
+
};
|
|
56720
|
+
/**
|
|
56721
|
+
* Returns whether this field is set.
|
|
56722
|
+
* @return {boolean}
|
|
56723
|
+
*/
|
|
56724
|
+
proto.clarifai.api.InstanceType.prototype.hasCloudProvider = function () {
|
|
56725
|
+
return jspb.Message.getField(this, 5) != null;
|
|
56726
|
+
};
|
|
56727
|
+
/**
|
|
56728
|
+
* optional string region = 6;
|
|
56729
|
+
* @return {string}
|
|
56730
|
+
*/
|
|
56731
|
+
proto.clarifai.api.InstanceType.prototype.getRegion = function () {
|
|
56732
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
56733
|
+
};
|
|
56734
|
+
/**
|
|
56735
|
+
* @param {string} value
|
|
56736
|
+
* @return {!proto.clarifai.api.InstanceType} returns this
|
|
56737
|
+
*/
|
|
56738
|
+
proto.clarifai.api.InstanceType.prototype.setRegion = function (value) {
|
|
56739
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
56740
|
+
};
|
|
56596
56741
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
56597
56742
|
/**
|
|
56598
56743
|
* Creates an object representation of this proto.
|
|
@@ -58437,7 +58582,7 @@ proto.clarifai.api.ProcessingInfo.prototype.setProcessingId = function (value) {
|
|
|
58437
58582
|
* @private {!Array<!Array<number>>}
|
|
58438
58583
|
* @const
|
|
58439
58584
|
*/
|
|
58440
|
-
proto.clarifai.api.AuditLogTarget.oneofGroups_ = [[1, 2, 3, 4, 5, 6, 7, 8, 9, 10]];
|
|
58585
|
+
proto.clarifai.api.AuditLogTarget.oneofGroups_ = [[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13]];
|
|
58441
58586
|
/**
|
|
58442
58587
|
* @enum {number}
|
|
58443
58588
|
*/
|
|
@@ -58452,7 +58597,10 @@ proto.clarifai.api.AuditLogTarget.TargetCase = {
|
|
|
58452
58597
|
WORKFLOW: 7,
|
|
58453
58598
|
WORKFLOW_VERSION: 8,
|
|
58454
58599
|
MODEL: 9,
|
|
58455
|
-
MODEL_VERSION: 10
|
|
58600
|
+
MODEL_VERSION: 10,
|
|
58601
|
+
COMPUTE_CLUSTER: 11,
|
|
58602
|
+
NODEPOOL: 12,
|
|
58603
|
+
DEPLOYMENT: 13
|
|
58456
58604
|
};
|
|
58457
58605
|
/**
|
|
58458
58606
|
* @return {proto.clarifai.api.AuditLogTarget.TargetCase}
|
|
@@ -58496,7 +58644,10 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
58496
58644
|
workflow: (f = msg.getWorkflow()) && proto.clarifai.api.Workflow.toObject(includeInstance, f),
|
|
58497
58645
|
workflowVersion: (f = msg.getWorkflowVersion()) && proto.clarifai.api.WorkflowVersion.toObject(includeInstance, f),
|
|
58498
58646
|
model: (f = msg.getModel()) && proto.clarifai.api.Model.toObject(includeInstance, f),
|
|
58499
|
-
modelVersion: (f = msg.getModelVersion()) && proto.clarifai.api.ModelVersion.toObject(includeInstance, f)
|
|
58647
|
+
modelVersion: (f = msg.getModelVersion()) && proto.clarifai.api.ModelVersion.toObject(includeInstance, f),
|
|
58648
|
+
computeCluster: (f = msg.getComputeCluster()) && proto.clarifai.api.ComputeCluster.toObject(includeInstance, f),
|
|
58649
|
+
nodepool: (f = msg.getNodepool()) && proto.clarifai.api.Nodepool.toObject(includeInstance, f),
|
|
58650
|
+
deployment: (f = msg.getDeployment()) && proto.clarifai.api.Deployment.toObject(includeInstance, f)
|
|
58500
58651
|
};
|
|
58501
58652
|
if (includeInstance) {
|
|
58502
58653
|
obj.$jspbMessageInstance = msg;
|
|
@@ -58578,6 +58729,21 @@ proto.clarifai.api.AuditLogTarget.deserializeBinaryFromReader = function (msg, r
|
|
|
58578
58729
|
reader.readMessage(value, proto.clarifai.api.ModelVersion.deserializeBinaryFromReader);
|
|
58579
58730
|
msg.setModelVersion(value);
|
|
58580
58731
|
break;
|
|
58732
|
+
case 11:
|
|
58733
|
+
var value = new proto.clarifai.api.ComputeCluster;
|
|
58734
|
+
reader.readMessage(value, proto.clarifai.api.ComputeCluster.deserializeBinaryFromReader);
|
|
58735
|
+
msg.setComputeCluster(value);
|
|
58736
|
+
break;
|
|
58737
|
+
case 12:
|
|
58738
|
+
var value = new proto.clarifai.api.Nodepool;
|
|
58739
|
+
reader.readMessage(value, proto.clarifai.api.Nodepool.deserializeBinaryFromReader);
|
|
58740
|
+
msg.setNodepool(value);
|
|
58741
|
+
break;
|
|
58742
|
+
case 13:
|
|
58743
|
+
var value = new proto.clarifai.api.Deployment;
|
|
58744
|
+
reader.readMessage(value, proto.clarifai.api.Deployment.deserializeBinaryFromReader);
|
|
58745
|
+
msg.setDeployment(value);
|
|
58746
|
+
break;
|
|
58581
58747
|
default:
|
|
58582
58748
|
reader.skipField();
|
|
58583
58749
|
break;
|
|
@@ -58643,6 +58809,18 @@ proto.clarifai.api.AuditLogTarget.serializeBinaryToWriter = function (message, w
|
|
|
58643
58809
|
if (f != null) {
|
|
58644
58810
|
writer.writeMessage(10, f, proto.clarifai.api.ModelVersion.serializeBinaryToWriter);
|
|
58645
58811
|
}
|
|
58812
|
+
f = message.getComputeCluster();
|
|
58813
|
+
if (f != null) {
|
|
58814
|
+
writer.writeMessage(11, f, proto.clarifai.api.ComputeCluster.serializeBinaryToWriter);
|
|
58815
|
+
}
|
|
58816
|
+
f = message.getNodepool();
|
|
58817
|
+
if (f != null) {
|
|
58818
|
+
writer.writeMessage(12, f, proto.clarifai.api.Nodepool.serializeBinaryToWriter);
|
|
58819
|
+
}
|
|
58820
|
+
f = message.getDeployment();
|
|
58821
|
+
if (f != null) {
|
|
58822
|
+
writer.writeMessage(13, f, proto.clarifai.api.Deployment.serializeBinaryToWriter);
|
|
58823
|
+
}
|
|
58646
58824
|
};
|
|
58647
58825
|
/**
|
|
58648
58826
|
* optional User user = 1;
|
|
@@ -58924,6 +59102,90 @@ proto.clarifai.api.AuditLogTarget.prototype.clearModelVersion = function () {
|
|
|
58924
59102
|
proto.clarifai.api.AuditLogTarget.prototype.hasModelVersion = function () {
|
|
58925
59103
|
return jspb.Message.getField(this, 10) != null;
|
|
58926
59104
|
};
|
|
59105
|
+
/**
|
|
59106
|
+
* optional ComputeCluster compute_cluster = 11;
|
|
59107
|
+
* @return {?proto.clarifai.api.ComputeCluster}
|
|
59108
|
+
*/
|
|
59109
|
+
proto.clarifai.api.AuditLogTarget.prototype.getComputeCluster = function () {
|
|
59110
|
+
return /** @type{?proto.clarifai.api.ComputeCluster} */ (jspb.Message.getWrapperField(this, proto.clarifai.api.ComputeCluster, 11));
|
|
59111
|
+
};
|
|
59112
|
+
/**
|
|
59113
|
+
* @param {?proto.clarifai.api.ComputeCluster|undefined} value
|
|
59114
|
+
* @return {!proto.clarifai.api.AuditLogTarget} returns this
|
|
59115
|
+
*/
|
|
59116
|
+
proto.clarifai.api.AuditLogTarget.prototype.setComputeCluster = function (value) {
|
|
59117
|
+
return jspb.Message.setOneofWrapperField(this, 11, proto.clarifai.api.AuditLogTarget.oneofGroups_[0], value);
|
|
59118
|
+
};
|
|
59119
|
+
/**
|
|
59120
|
+
* Clears the message field making it undefined.
|
|
59121
|
+
* @return {!proto.clarifai.api.AuditLogTarget} returns this
|
|
59122
|
+
*/
|
|
59123
|
+
proto.clarifai.api.AuditLogTarget.prototype.clearComputeCluster = function () {
|
|
59124
|
+
return this.setComputeCluster(undefined);
|
|
59125
|
+
};
|
|
59126
|
+
/**
|
|
59127
|
+
* Returns whether this field is set.
|
|
59128
|
+
* @return {boolean}
|
|
59129
|
+
*/
|
|
59130
|
+
proto.clarifai.api.AuditLogTarget.prototype.hasComputeCluster = function () {
|
|
59131
|
+
return jspb.Message.getField(this, 11) != null;
|
|
59132
|
+
};
|
|
59133
|
+
/**
|
|
59134
|
+
* optional Nodepool nodepool = 12;
|
|
59135
|
+
* @return {?proto.clarifai.api.Nodepool}
|
|
59136
|
+
*/
|
|
59137
|
+
proto.clarifai.api.AuditLogTarget.prototype.getNodepool = function () {
|
|
59138
|
+
return /** @type{?proto.clarifai.api.Nodepool} */ (jspb.Message.getWrapperField(this, proto.clarifai.api.Nodepool, 12));
|
|
59139
|
+
};
|
|
59140
|
+
/**
|
|
59141
|
+
* @param {?proto.clarifai.api.Nodepool|undefined} value
|
|
59142
|
+
* @return {!proto.clarifai.api.AuditLogTarget} returns this
|
|
59143
|
+
*/
|
|
59144
|
+
proto.clarifai.api.AuditLogTarget.prototype.setNodepool = function (value) {
|
|
59145
|
+
return jspb.Message.setOneofWrapperField(this, 12, proto.clarifai.api.AuditLogTarget.oneofGroups_[0], value);
|
|
59146
|
+
};
|
|
59147
|
+
/**
|
|
59148
|
+
* Clears the message field making it undefined.
|
|
59149
|
+
* @return {!proto.clarifai.api.AuditLogTarget} returns this
|
|
59150
|
+
*/
|
|
59151
|
+
proto.clarifai.api.AuditLogTarget.prototype.clearNodepool = function () {
|
|
59152
|
+
return this.setNodepool(undefined);
|
|
59153
|
+
};
|
|
59154
|
+
/**
|
|
59155
|
+
* Returns whether this field is set.
|
|
59156
|
+
* @return {boolean}
|
|
59157
|
+
*/
|
|
59158
|
+
proto.clarifai.api.AuditLogTarget.prototype.hasNodepool = function () {
|
|
59159
|
+
return jspb.Message.getField(this, 12) != null;
|
|
59160
|
+
};
|
|
59161
|
+
/**
|
|
59162
|
+
* optional Deployment deployment = 13;
|
|
59163
|
+
* @return {?proto.clarifai.api.Deployment}
|
|
59164
|
+
*/
|
|
59165
|
+
proto.clarifai.api.AuditLogTarget.prototype.getDeployment = function () {
|
|
59166
|
+
return /** @type{?proto.clarifai.api.Deployment} */ (jspb.Message.getWrapperField(this, proto.clarifai.api.Deployment, 13));
|
|
59167
|
+
};
|
|
59168
|
+
/**
|
|
59169
|
+
* @param {?proto.clarifai.api.Deployment|undefined} value
|
|
59170
|
+
* @return {!proto.clarifai.api.AuditLogTarget} returns this
|
|
59171
|
+
*/
|
|
59172
|
+
proto.clarifai.api.AuditLogTarget.prototype.setDeployment = function (value) {
|
|
59173
|
+
return jspb.Message.setOneofWrapperField(this, 13, proto.clarifai.api.AuditLogTarget.oneofGroups_[0], value);
|
|
59174
|
+
};
|
|
59175
|
+
/**
|
|
59176
|
+
* Clears the message field making it undefined.
|
|
59177
|
+
* @return {!proto.clarifai.api.AuditLogTarget} returns this
|
|
59178
|
+
*/
|
|
59179
|
+
proto.clarifai.api.AuditLogTarget.prototype.clearDeployment = function () {
|
|
59180
|
+
return this.setDeployment(undefined);
|
|
59181
|
+
};
|
|
59182
|
+
/**
|
|
59183
|
+
* Returns whether this field is set.
|
|
59184
|
+
* @return {boolean}
|
|
59185
|
+
*/
|
|
59186
|
+
proto.clarifai.api.AuditLogTarget.prototype.hasDeployment = function () {
|
|
59187
|
+
return jspb.Message.getField(this, 13) != null;
|
|
59188
|
+
};
|
|
58927
59189
|
/**
|
|
58928
59190
|
* List of repeated fields within this message type.
|
|
58929
59191
|
* @private {!Array<number>}
|
|
@@ -61467,18 +61729,17 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
61467
61729
|
proto.clarifai.api.WorkflowVersionEvaluation.toObject = function (includeInstance, msg) {
|
|
61468
61730
|
var f, obj = {
|
|
61469
61731
|
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
61470
|
-
|
|
61471
|
-
|
|
61472
|
-
|
|
61473
|
-
|
|
61474
|
-
|
|
61475
|
-
|
|
61476
|
-
|
|
61732
|
+
workflowVersion: (f = msg.getWorkflowVersion()) && proto.clarifai.api.WorkflowVersion.toObject(includeInstance, f),
|
|
61733
|
+
targetNodeId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
61734
|
+
groundTruthDatasetVersion: (f = msg.getGroundTruthDatasetVersion()) && proto.clarifai.api.DatasetVersion.toObject(includeInstance, f),
|
|
61735
|
+
predictionsDatasetVersion: (f = msg.getPredictionsDatasetVersion()) && proto.clarifai.api.DatasetVersion.toObject(includeInstance, f),
|
|
61736
|
+
workflowVersionEvaluationTemplate: (f = msg.getWorkflowVersionEvaluationTemplate()) && proto.clarifai.api.WorkflowVersionEvaluationTemplate.toObject(includeInstance, f),
|
|
61737
|
+
userId: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
61738
|
+
appId: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
61477
61739
|
workflowEvaluationResult: (f = msg.getWorkflowEvaluationResult()) && proto.clarifai.api.WorkflowEvaluationResult.toObject(includeInstance, f),
|
|
61478
61740
|
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
|
|
61479
61741
|
createdAt: (f = msg.getCreatedAt()) && 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, "")
|
|
61742
|
+
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
|
|
61482
61743
|
};
|
|
61483
61744
|
if (includeInstance) {
|
|
61484
61745
|
obj.$jspbMessageInstance = msg;
|
|
@@ -61515,32 +61776,36 @@ proto.clarifai.api.WorkflowVersionEvaluation.deserializeBinaryFromReader = funct
|
|
|
61515
61776
|
msg.setId(value);
|
|
61516
61777
|
break;
|
|
61517
61778
|
case 2:
|
|
61518
|
-
var value =
|
|
61519
|
-
|
|
61779
|
+
var value = new proto.clarifai.api.WorkflowVersion;
|
|
61780
|
+
reader.readMessage(value, proto.clarifai.api.WorkflowVersion.deserializeBinaryFromReader);
|
|
61781
|
+
msg.setWorkflowVersion(value);
|
|
61520
61782
|
break;
|
|
61521
61783
|
case 3:
|
|
61522
61784
|
var value = /** @type {string} */ (reader.readString());
|
|
61523
|
-
msg.
|
|
61785
|
+
msg.setTargetNodeId(value);
|
|
61524
61786
|
break;
|
|
61525
61787
|
case 4:
|
|
61526
|
-
var value =
|
|
61527
|
-
|
|
61788
|
+
var value = new proto.clarifai.api.DatasetVersion;
|
|
61789
|
+
reader.readMessage(value, proto.clarifai.api.DatasetVersion.deserializeBinaryFromReader);
|
|
61790
|
+
msg.setGroundTruthDatasetVersion(value);
|
|
61528
61791
|
break;
|
|
61529
61792
|
case 5:
|
|
61530
|
-
var value =
|
|
61531
|
-
|
|
61793
|
+
var value = new proto.clarifai.api.DatasetVersion;
|
|
61794
|
+
reader.readMessage(value, proto.clarifai.api.DatasetVersion.deserializeBinaryFromReader);
|
|
61795
|
+
msg.setPredictionsDatasetVersion(value);
|
|
61532
61796
|
break;
|
|
61533
61797
|
case 6:
|
|
61534
|
-
var value =
|
|
61535
|
-
|
|
61798
|
+
var value = new proto.clarifai.api.WorkflowVersionEvaluationTemplate;
|
|
61799
|
+
reader.readMessage(value, proto.clarifai.api.WorkflowVersionEvaluationTemplate.deserializeBinaryFromReader);
|
|
61800
|
+
msg.setWorkflowVersionEvaluationTemplate(value);
|
|
61536
61801
|
break;
|
|
61537
61802
|
case 7:
|
|
61538
61803
|
var value = /** @type {string} */ (reader.readString());
|
|
61539
|
-
msg.
|
|
61804
|
+
msg.setUserId(value);
|
|
61540
61805
|
break;
|
|
61541
61806
|
case 8:
|
|
61542
61807
|
var value = /** @type {string} */ (reader.readString());
|
|
61543
|
-
msg.
|
|
61808
|
+
msg.setAppId(value);
|
|
61544
61809
|
break;
|
|
61545
61810
|
case 9:
|
|
61546
61811
|
var value = new proto.clarifai.api.WorkflowEvaluationResult;
|
|
@@ -61562,10 +61827,6 @@ proto.clarifai.api.WorkflowVersionEvaluation.deserializeBinaryFromReader = funct
|
|
|
61562
61827
|
reader.readMessage(value, google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
61563
61828
|
msg.setModifiedAt(value);
|
|
61564
61829
|
break;
|
|
61565
|
-
case 13:
|
|
61566
|
-
var value = /** @type {string} */ (reader.readString());
|
|
61567
|
-
msg.setTargetNodeId(value);
|
|
61568
|
-
break;
|
|
61569
61830
|
default:
|
|
61570
61831
|
reader.skipField();
|
|
61571
61832
|
break;
|
|
@@ -61595,31 +61856,31 @@ proto.clarifai.api.WorkflowVersionEvaluation.serializeBinaryToWriter = function
|
|
|
61595
61856
|
if (f.length > 0) {
|
|
61596
61857
|
writer.writeString(1, f);
|
|
61597
61858
|
}
|
|
61598
|
-
f = message.
|
|
61599
|
-
if (f
|
|
61600
|
-
writer.
|
|
61859
|
+
f = message.getWorkflowVersion();
|
|
61860
|
+
if (f != null) {
|
|
61861
|
+
writer.writeMessage(2, f, proto.clarifai.api.WorkflowVersion.serializeBinaryToWriter);
|
|
61601
61862
|
}
|
|
61602
|
-
f = message.
|
|
61863
|
+
f = message.getTargetNodeId();
|
|
61603
61864
|
if (f.length > 0) {
|
|
61604
61865
|
writer.writeString(3, f);
|
|
61605
61866
|
}
|
|
61606
|
-
f = message.
|
|
61607
|
-
if (f
|
|
61608
|
-
writer.
|
|
61867
|
+
f = message.getGroundTruthDatasetVersion();
|
|
61868
|
+
if (f != null) {
|
|
61869
|
+
writer.writeMessage(4, f, proto.clarifai.api.DatasetVersion.serializeBinaryToWriter);
|
|
61609
61870
|
}
|
|
61610
|
-
f = message.
|
|
61611
|
-
if (f
|
|
61612
|
-
writer.
|
|
61871
|
+
f = message.getPredictionsDatasetVersion();
|
|
61872
|
+
if (f != null) {
|
|
61873
|
+
writer.writeMessage(5, f, proto.clarifai.api.DatasetVersion.serializeBinaryToWriter);
|
|
61613
61874
|
}
|
|
61614
|
-
f = message.
|
|
61615
|
-
if (f
|
|
61616
|
-
writer.
|
|
61875
|
+
f = message.getWorkflowVersionEvaluationTemplate();
|
|
61876
|
+
if (f != null) {
|
|
61877
|
+
writer.writeMessage(6, f, proto.clarifai.api.WorkflowVersionEvaluationTemplate.serializeBinaryToWriter);
|
|
61617
61878
|
}
|
|
61618
|
-
f = message.
|
|
61879
|
+
f = message.getUserId();
|
|
61619
61880
|
if (f.length > 0) {
|
|
61620
61881
|
writer.writeString(7, f);
|
|
61621
61882
|
}
|
|
61622
|
-
f = message.
|
|
61883
|
+
f = message.getAppId();
|
|
61623
61884
|
if (f.length > 0) {
|
|
61624
61885
|
writer.writeString(8, f);
|
|
61625
61886
|
}
|
|
@@ -61639,10 +61900,6 @@ proto.clarifai.api.WorkflowVersionEvaluation.serializeBinaryToWriter = function
|
|
|
61639
61900
|
if (f != null) {
|
|
61640
61901
|
writer.writeMessage(12, f, google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter);
|
|
61641
61902
|
}
|
|
61642
|
-
f = message.getTargetNodeId();
|
|
61643
|
-
if (f.length > 0) {
|
|
61644
|
-
writer.writeString(13, f);
|
|
61645
|
-
}
|
|
61646
61903
|
};
|
|
61647
61904
|
/**
|
|
61648
61905
|
* optional string id = 1;
|
|
@@ -61659,101 +61916,157 @@ proto.clarifai.api.WorkflowVersionEvaluation.prototype.setId = function (value)
|
|
|
61659
61916
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
61660
61917
|
};
|
|
61661
61918
|
/**
|
|
61662
|
-
* optional
|
|
61663
|
-
* @return {
|
|
61919
|
+
* optional WorkflowVersion workflow_version = 2;
|
|
61920
|
+
* @return {?proto.clarifai.api.WorkflowVersion}
|
|
61664
61921
|
*/
|
|
61665
|
-
proto.clarifai.api.WorkflowVersionEvaluation.prototype.
|
|
61666
|
-
return /** @type
|
|
61922
|
+
proto.clarifai.api.WorkflowVersionEvaluation.prototype.getWorkflowVersion = function () {
|
|
61923
|
+
return /** @type{?proto.clarifai.api.WorkflowVersion} */ (jspb.Message.getWrapperField(this, proto.clarifai.api.WorkflowVersion, 2));
|
|
61667
61924
|
};
|
|
61668
61925
|
/**
|
|
61669
|
-
* @param {
|
|
61926
|
+
* @param {?proto.clarifai.api.WorkflowVersion|undefined} value
|
|
61927
|
+
* @return {!proto.clarifai.api.WorkflowVersionEvaluation} returns this
|
|
61928
|
+
*/
|
|
61929
|
+
proto.clarifai.api.WorkflowVersionEvaluation.prototype.setWorkflowVersion = function (value) {
|
|
61930
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
61931
|
+
};
|
|
61932
|
+
/**
|
|
61933
|
+
* Clears the message field making it undefined.
|
|
61670
61934
|
* @return {!proto.clarifai.api.WorkflowVersionEvaluation} returns this
|
|
61671
61935
|
*/
|
|
61672
|
-
proto.clarifai.api.WorkflowVersionEvaluation.prototype.
|
|
61673
|
-
return
|
|
61936
|
+
proto.clarifai.api.WorkflowVersionEvaluation.prototype.clearWorkflowVersion = function () {
|
|
61937
|
+
return this.setWorkflowVersion(undefined);
|
|
61674
61938
|
};
|
|
61675
61939
|
/**
|
|
61676
|
-
*
|
|
61940
|
+
* Returns whether this field is set.
|
|
61941
|
+
* @return {boolean}
|
|
61942
|
+
*/
|
|
61943
|
+
proto.clarifai.api.WorkflowVersionEvaluation.prototype.hasWorkflowVersion = function () {
|
|
61944
|
+
return jspb.Message.getField(this, 2) != null;
|
|
61945
|
+
};
|
|
61946
|
+
/**
|
|
61947
|
+
* optional string target_node_id = 3;
|
|
61677
61948
|
* @return {string}
|
|
61678
61949
|
*/
|
|
61679
|
-
proto.clarifai.api.WorkflowVersionEvaluation.prototype.
|
|
61950
|
+
proto.clarifai.api.WorkflowVersionEvaluation.prototype.getTargetNodeId = function () {
|
|
61680
61951
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
61681
61952
|
};
|
|
61682
61953
|
/**
|
|
61683
61954
|
* @param {string} value
|
|
61684
61955
|
* @return {!proto.clarifai.api.WorkflowVersionEvaluation} returns this
|
|
61685
61956
|
*/
|
|
61686
|
-
proto.clarifai.api.WorkflowVersionEvaluation.prototype.
|
|
61957
|
+
proto.clarifai.api.WorkflowVersionEvaluation.prototype.setTargetNodeId = function (value) {
|
|
61687
61958
|
return jspb.Message.setProto3StringField(this, 3, value);
|
|
61688
61959
|
};
|
|
61689
61960
|
/**
|
|
61690
|
-
* optional
|
|
61691
|
-
* @return {
|
|
61961
|
+
* optional DatasetVersion ground_truth_dataset_version = 4;
|
|
61962
|
+
* @return {?proto.clarifai.api.DatasetVersion}
|
|
61692
61963
|
*/
|
|
61693
|
-
proto.clarifai.api.WorkflowVersionEvaluation.prototype.
|
|
61694
|
-
return /** @type
|
|
61964
|
+
proto.clarifai.api.WorkflowVersionEvaluation.prototype.getGroundTruthDatasetVersion = function () {
|
|
61965
|
+
return /** @type{?proto.clarifai.api.DatasetVersion} */ (jspb.Message.getWrapperField(this, proto.clarifai.api.DatasetVersion, 4));
|
|
61695
61966
|
};
|
|
61696
61967
|
/**
|
|
61697
|
-
* @param {
|
|
61968
|
+
* @param {?proto.clarifai.api.DatasetVersion|undefined} value
|
|
61969
|
+
* @return {!proto.clarifai.api.WorkflowVersionEvaluation} returns this
|
|
61970
|
+
*/
|
|
61971
|
+
proto.clarifai.api.WorkflowVersionEvaluation.prototype.setGroundTruthDatasetVersion = function (value) {
|
|
61972
|
+
return jspb.Message.setWrapperField(this, 4, value);
|
|
61973
|
+
};
|
|
61974
|
+
/**
|
|
61975
|
+
* Clears the message field making it undefined.
|
|
61698
61976
|
* @return {!proto.clarifai.api.WorkflowVersionEvaluation} returns this
|
|
61699
61977
|
*/
|
|
61700
|
-
proto.clarifai.api.WorkflowVersionEvaluation.prototype.
|
|
61701
|
-
return
|
|
61978
|
+
proto.clarifai.api.WorkflowVersionEvaluation.prototype.clearGroundTruthDatasetVersion = function () {
|
|
61979
|
+
return this.setGroundTruthDatasetVersion(undefined);
|
|
61702
61980
|
};
|
|
61703
61981
|
/**
|
|
61704
|
-
*
|
|
61705
|
-
* @return {
|
|
61982
|
+
* Returns whether this field is set.
|
|
61983
|
+
* @return {boolean}
|
|
61706
61984
|
*/
|
|
61707
|
-
proto.clarifai.api.WorkflowVersionEvaluation.prototype.
|
|
61708
|
-
return
|
|
61985
|
+
proto.clarifai.api.WorkflowVersionEvaluation.prototype.hasGroundTruthDatasetVersion = function () {
|
|
61986
|
+
return jspb.Message.getField(this, 4) != null;
|
|
61709
61987
|
};
|
|
61710
61988
|
/**
|
|
61711
|
-
*
|
|
61989
|
+
* optional DatasetVersion predictions_dataset_version = 5;
|
|
61990
|
+
* @return {?proto.clarifai.api.DatasetVersion}
|
|
61991
|
+
*/
|
|
61992
|
+
proto.clarifai.api.WorkflowVersionEvaluation.prototype.getPredictionsDatasetVersion = function () {
|
|
61993
|
+
return /** @type{?proto.clarifai.api.DatasetVersion} */ (jspb.Message.getWrapperField(this, proto.clarifai.api.DatasetVersion, 5));
|
|
61994
|
+
};
|
|
61995
|
+
/**
|
|
61996
|
+
* @param {?proto.clarifai.api.DatasetVersion|undefined} value
|
|
61997
|
+
* @return {!proto.clarifai.api.WorkflowVersionEvaluation} returns this
|
|
61998
|
+
*/
|
|
61999
|
+
proto.clarifai.api.WorkflowVersionEvaluation.prototype.setPredictionsDatasetVersion = function (value) {
|
|
62000
|
+
return jspb.Message.setWrapperField(this, 5, value);
|
|
62001
|
+
};
|
|
62002
|
+
/**
|
|
62003
|
+
* Clears the message field making it undefined.
|
|
61712
62004
|
* @return {!proto.clarifai.api.WorkflowVersionEvaluation} returns this
|
|
61713
62005
|
*/
|
|
61714
|
-
proto.clarifai.api.WorkflowVersionEvaluation.prototype.
|
|
61715
|
-
return
|
|
62006
|
+
proto.clarifai.api.WorkflowVersionEvaluation.prototype.clearPredictionsDatasetVersion = function () {
|
|
62007
|
+
return this.setPredictionsDatasetVersion(undefined);
|
|
61716
62008
|
};
|
|
61717
62009
|
/**
|
|
61718
|
-
*
|
|
61719
|
-
* @return {
|
|
62010
|
+
* Returns whether this field is set.
|
|
62011
|
+
* @return {boolean}
|
|
61720
62012
|
*/
|
|
61721
|
-
proto.clarifai.api.WorkflowVersionEvaluation.prototype.
|
|
61722
|
-
return
|
|
62013
|
+
proto.clarifai.api.WorkflowVersionEvaluation.prototype.hasPredictionsDatasetVersion = function () {
|
|
62014
|
+
return jspb.Message.getField(this, 5) != null;
|
|
61723
62015
|
};
|
|
61724
62016
|
/**
|
|
61725
|
-
*
|
|
62017
|
+
* optional WorkflowVersionEvaluationTemplate workflow_version_evaluation_template = 6;
|
|
62018
|
+
* @return {?proto.clarifai.api.WorkflowVersionEvaluationTemplate}
|
|
62019
|
+
*/
|
|
62020
|
+
proto.clarifai.api.WorkflowVersionEvaluation.prototype.getWorkflowVersionEvaluationTemplate = function () {
|
|
62021
|
+
return /** @type{?proto.clarifai.api.WorkflowVersionEvaluationTemplate} */ (jspb.Message.getWrapperField(this, proto.clarifai.api.WorkflowVersionEvaluationTemplate, 6));
|
|
62022
|
+
};
|
|
62023
|
+
/**
|
|
62024
|
+
* @param {?proto.clarifai.api.WorkflowVersionEvaluationTemplate|undefined} value
|
|
62025
|
+
* @return {!proto.clarifai.api.WorkflowVersionEvaluation} returns this
|
|
62026
|
+
*/
|
|
62027
|
+
proto.clarifai.api.WorkflowVersionEvaluation.prototype.setWorkflowVersionEvaluationTemplate = function (value) {
|
|
62028
|
+
return jspb.Message.setWrapperField(this, 6, value);
|
|
62029
|
+
};
|
|
62030
|
+
/**
|
|
62031
|
+
* Clears the message field making it undefined.
|
|
61726
62032
|
* @return {!proto.clarifai.api.WorkflowVersionEvaluation} returns this
|
|
61727
62033
|
*/
|
|
61728
|
-
proto.clarifai.api.WorkflowVersionEvaluation.prototype.
|
|
61729
|
-
return
|
|
62034
|
+
proto.clarifai.api.WorkflowVersionEvaluation.prototype.clearWorkflowVersionEvaluationTemplate = function () {
|
|
62035
|
+
return this.setWorkflowVersionEvaluationTemplate(undefined);
|
|
61730
62036
|
};
|
|
61731
62037
|
/**
|
|
61732
|
-
*
|
|
62038
|
+
* Returns whether this field is set.
|
|
62039
|
+
* @return {boolean}
|
|
62040
|
+
*/
|
|
62041
|
+
proto.clarifai.api.WorkflowVersionEvaluation.prototype.hasWorkflowVersionEvaluationTemplate = function () {
|
|
62042
|
+
return jspb.Message.getField(this, 6) != null;
|
|
62043
|
+
};
|
|
62044
|
+
/**
|
|
62045
|
+
* optional string user_id = 7;
|
|
61733
62046
|
* @return {string}
|
|
61734
62047
|
*/
|
|
61735
|
-
proto.clarifai.api.WorkflowVersionEvaluation.prototype.
|
|
62048
|
+
proto.clarifai.api.WorkflowVersionEvaluation.prototype.getUserId = function () {
|
|
61736
62049
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
61737
62050
|
};
|
|
61738
62051
|
/**
|
|
61739
62052
|
* @param {string} value
|
|
61740
62053
|
* @return {!proto.clarifai.api.WorkflowVersionEvaluation} returns this
|
|
61741
62054
|
*/
|
|
61742
|
-
proto.clarifai.api.WorkflowVersionEvaluation.prototype.
|
|
62055
|
+
proto.clarifai.api.WorkflowVersionEvaluation.prototype.setUserId = function (value) {
|
|
61743
62056
|
return jspb.Message.setProto3StringField(this, 7, value);
|
|
61744
62057
|
};
|
|
61745
62058
|
/**
|
|
61746
|
-
* optional string
|
|
62059
|
+
* optional string app_id = 8;
|
|
61747
62060
|
* @return {string}
|
|
61748
62061
|
*/
|
|
61749
|
-
proto.clarifai.api.WorkflowVersionEvaluation.prototype.
|
|
62062
|
+
proto.clarifai.api.WorkflowVersionEvaluation.prototype.getAppId = function () {
|
|
61750
62063
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
61751
62064
|
};
|
|
61752
62065
|
/**
|
|
61753
62066
|
* @param {string} value
|
|
61754
62067
|
* @return {!proto.clarifai.api.WorkflowVersionEvaluation} returns this
|
|
61755
62068
|
*/
|
|
61756
|
-
proto.clarifai.api.WorkflowVersionEvaluation.prototype.
|
|
62069
|
+
proto.clarifai.api.WorkflowVersionEvaluation.prototype.setAppId = function (value) {
|
|
61757
62070
|
return jspb.Message.setProto3StringField(this, 8, value);
|
|
61758
62071
|
};
|
|
61759
62072
|
/**
|
|
@@ -61868,20 +62181,6 @@ proto.clarifai.api.WorkflowVersionEvaluation.prototype.clearModifiedAt = functio
|
|
|
61868
62181
|
proto.clarifai.api.WorkflowVersionEvaluation.prototype.hasModifiedAt = function () {
|
|
61869
62182
|
return jspb.Message.getField(this, 12) != null;
|
|
61870
62183
|
};
|
|
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
|
-
};
|
|
61885
62184
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
61886
62185
|
/**
|
|
61887
62186
|
* Creates an object representation of this proto.
|
|
@@ -64002,6 +64301,14 @@ proto.clarifai.api.EventType = {
|
|
|
64002
64301
|
COLLABORATOR_ADD: 700,
|
|
64003
64302
|
COLLABORATOR_UPDATE: 701,
|
|
64004
64303
|
COLLABORATOR_REMOVE: 702,
|
|
64005
|
-
USER_UPDATE: 800
|
|
64304
|
+
USER_UPDATE: 800,
|
|
64305
|
+
COMPUTE_CLUSTER_CREATE: 900,
|
|
64306
|
+
COMPUTE_CLUSTER_DELETE: 901,
|
|
64307
|
+
NODEPOOL_CREATE: 1000,
|
|
64308
|
+
NODEPOOL_UPDATE: 1001,
|
|
64309
|
+
NODEPOOL_DELETE: 1002,
|
|
64310
|
+
DEPLOYMENT_CREATE: 1100,
|
|
64311
|
+
DEPLOYMENT_UPDATE: 1101,
|
|
64312
|
+
DEPLOYMENT_DELETE: 1102
|
|
64006
64313
|
};
|
|
64007
64314
|
goog.object.extend(exports, proto.clarifai.api);
|