clarifai-web-grpc 11.3.1 → 11.4.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.
@@ -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: 20,
25130
- TUPLE: 21,
25131
- LIST: 22
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,10 @@ 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, ""),
56522
+ allowedCapacityTypes: (f = msg.getAllowedCapacityTypes()) && proto.clarifai.api.NodeCapacityType.toObject(includeInstance, f)
56436
56523
  };
56437
56524
  if (includeInstance) {
56438
56525
  obj.$jspbMessageInstance = msg;
@@ -56481,6 +56568,20 @@ proto.clarifai.api.InstanceType.deserializeBinaryFromReader = function (msg, rea
56481
56568
  var value = /** @type {string} */ (reader.readString());
56482
56569
  msg.setPrice(value);
56483
56570
  break;
56571
+ case 5:
56572
+ var value = new proto.clarifai.api.CloudProvider;
56573
+ reader.readMessage(value, proto.clarifai.api.CloudProvider.deserializeBinaryFromReader);
56574
+ msg.setCloudProvider(value);
56575
+ break;
56576
+ case 6:
56577
+ var value = /** @type {string} */ (reader.readString());
56578
+ msg.setRegion(value);
56579
+ break;
56580
+ case 7:
56581
+ var value = new proto.clarifai.api.NodeCapacityType;
56582
+ reader.readMessage(value, proto.clarifai.api.NodeCapacityType.deserializeBinaryFromReader);
56583
+ msg.setAllowedCapacityTypes(value);
56584
+ break;
56484
56585
  default:
56485
56586
  reader.skipField();
56486
56587
  break;
@@ -56522,6 +56623,18 @@ proto.clarifai.api.InstanceType.serializeBinaryToWriter = function (message, wri
56522
56623
  if (f.length > 0) {
56523
56624
  writer.writeString(4, f);
56524
56625
  }
56626
+ f = message.getCloudProvider();
56627
+ if (f != null) {
56628
+ writer.writeMessage(5, f, proto.clarifai.api.CloudProvider.serializeBinaryToWriter);
56629
+ }
56630
+ f = message.getRegion();
56631
+ if (f.length > 0) {
56632
+ writer.writeString(6, f);
56633
+ }
56634
+ f = message.getAllowedCapacityTypes();
56635
+ if (f != null) {
56636
+ writer.writeMessage(7, f, proto.clarifai.api.NodeCapacityType.serializeBinaryToWriter);
56637
+ }
56525
56638
  };
56526
56639
  /**
56527
56640
  * optional string id = 1;
@@ -56593,6 +56706,76 @@ proto.clarifai.api.InstanceType.prototype.getPrice = function () {
56593
56706
  proto.clarifai.api.InstanceType.prototype.setPrice = function (value) {
56594
56707
  return jspb.Message.setProto3StringField(this, 4, value);
56595
56708
  };
56709
+ /**
56710
+ * optional CloudProvider cloud_provider = 5;
56711
+ * @return {?proto.clarifai.api.CloudProvider}
56712
+ */
56713
+ proto.clarifai.api.InstanceType.prototype.getCloudProvider = function () {
56714
+ return /** @type{?proto.clarifai.api.CloudProvider} */ (jspb.Message.getWrapperField(this, proto.clarifai.api.CloudProvider, 5));
56715
+ };
56716
+ /**
56717
+ * @param {?proto.clarifai.api.CloudProvider|undefined} value
56718
+ * @return {!proto.clarifai.api.InstanceType} returns this
56719
+ */
56720
+ proto.clarifai.api.InstanceType.prototype.setCloudProvider = function (value) {
56721
+ return jspb.Message.setWrapperField(this, 5, value);
56722
+ };
56723
+ /**
56724
+ * Clears the message field making it undefined.
56725
+ * @return {!proto.clarifai.api.InstanceType} returns this
56726
+ */
56727
+ proto.clarifai.api.InstanceType.prototype.clearCloudProvider = function () {
56728
+ return this.setCloudProvider(undefined);
56729
+ };
56730
+ /**
56731
+ * Returns whether this field is set.
56732
+ * @return {boolean}
56733
+ */
56734
+ proto.clarifai.api.InstanceType.prototype.hasCloudProvider = function () {
56735
+ return jspb.Message.getField(this, 5) != null;
56736
+ };
56737
+ /**
56738
+ * optional string region = 6;
56739
+ * @return {string}
56740
+ */
56741
+ proto.clarifai.api.InstanceType.prototype.getRegion = function () {
56742
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
56743
+ };
56744
+ /**
56745
+ * @param {string} value
56746
+ * @return {!proto.clarifai.api.InstanceType} returns this
56747
+ */
56748
+ proto.clarifai.api.InstanceType.prototype.setRegion = function (value) {
56749
+ return jspb.Message.setProto3StringField(this, 6, value);
56750
+ };
56751
+ /**
56752
+ * optional NodeCapacityType allowed_capacity_types = 7;
56753
+ * @return {?proto.clarifai.api.NodeCapacityType}
56754
+ */
56755
+ proto.clarifai.api.InstanceType.prototype.getAllowedCapacityTypes = function () {
56756
+ return /** @type{?proto.clarifai.api.NodeCapacityType} */ (jspb.Message.getWrapperField(this, proto.clarifai.api.NodeCapacityType, 7));
56757
+ };
56758
+ /**
56759
+ * @param {?proto.clarifai.api.NodeCapacityType|undefined} value
56760
+ * @return {!proto.clarifai.api.InstanceType} returns this
56761
+ */
56762
+ proto.clarifai.api.InstanceType.prototype.setAllowedCapacityTypes = function (value) {
56763
+ return jspb.Message.setWrapperField(this, 7, value);
56764
+ };
56765
+ /**
56766
+ * Clears the message field making it undefined.
56767
+ * @return {!proto.clarifai.api.InstanceType} returns this
56768
+ */
56769
+ proto.clarifai.api.InstanceType.prototype.clearAllowedCapacityTypes = function () {
56770
+ return this.setAllowedCapacityTypes(undefined);
56771
+ };
56772
+ /**
56773
+ * Returns whether this field is set.
56774
+ * @return {boolean}
56775
+ */
56776
+ proto.clarifai.api.InstanceType.prototype.hasAllowedCapacityTypes = function () {
56777
+ return jspb.Message.getField(this, 7) != null;
56778
+ };
56596
56779
  if (jspb.Message.GENERATE_TO_OBJECT) {
56597
56780
  /**
56598
56781
  * Creates an object representation of this proto.
@@ -57170,6 +57353,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
57170
57353
  var f, obj = {
57171
57354
  cpuLimit: jspb.Message.getFieldWithDefault(msg, 6, ""),
57172
57355
  cpuMemory: jspb.Message.getFieldWithDefault(msg, 2, ""),
57356
+ cpuRequests: jspb.Message.getFieldWithDefault(msg, 7, ""),
57357
+ cpuMemoryRequests: jspb.Message.getFieldWithDefault(msg, 8, ""),
57173
57358
  numAccelerators: jspb.Message.getFieldWithDefault(msg, 3, 0),
57174
57359
  acceleratorMemory: jspb.Message.getFieldWithDefault(msg, 4, ""),
57175
57360
  acceleratorTypeList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f
@@ -57212,6 +57397,14 @@ proto.clarifai.api.ComputeInfo.deserializeBinaryFromReader = function (msg, read
57212
57397
  var value = /** @type {string} */ (reader.readString());
57213
57398
  msg.setCpuMemory(value);
57214
57399
  break;
57400
+ case 7:
57401
+ var value = /** @type {string} */ (reader.readString());
57402
+ msg.setCpuRequests(value);
57403
+ break;
57404
+ case 8:
57405
+ var value = /** @type {string} */ (reader.readString());
57406
+ msg.setCpuMemoryRequests(value);
57407
+ break;
57215
57408
  case 3:
57216
57409
  var value = /** @type {number} */ (reader.readUint32());
57217
57410
  msg.setNumAccelerators(value);
@@ -57257,6 +57450,14 @@ proto.clarifai.api.ComputeInfo.serializeBinaryToWriter = function (message, writ
57257
57450
  if (f.length > 0) {
57258
57451
  writer.writeString(2, f);
57259
57452
  }
57453
+ f = message.getCpuRequests();
57454
+ if (f.length > 0) {
57455
+ writer.writeString(7, f);
57456
+ }
57457
+ f = message.getCpuMemoryRequests();
57458
+ if (f.length > 0) {
57459
+ writer.writeString(8, f);
57460
+ }
57260
57461
  f = message.getNumAccelerators();
57261
57462
  if (f !== 0) {
57262
57463
  writer.writeUint32(3, f);
@@ -57298,6 +57499,34 @@ proto.clarifai.api.ComputeInfo.prototype.getCpuMemory = function () {
57298
57499
  proto.clarifai.api.ComputeInfo.prototype.setCpuMemory = function (value) {
57299
57500
  return jspb.Message.setProto3StringField(this, 2, value);
57300
57501
  };
57502
+ /**
57503
+ * optional string cpu_requests = 7;
57504
+ * @return {string}
57505
+ */
57506
+ proto.clarifai.api.ComputeInfo.prototype.getCpuRequests = function () {
57507
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
57508
+ };
57509
+ /**
57510
+ * @param {string} value
57511
+ * @return {!proto.clarifai.api.ComputeInfo} returns this
57512
+ */
57513
+ proto.clarifai.api.ComputeInfo.prototype.setCpuRequests = function (value) {
57514
+ return jspb.Message.setProto3StringField(this, 7, value);
57515
+ };
57516
+ /**
57517
+ * optional string cpu_memory_requests = 8;
57518
+ * @return {string}
57519
+ */
57520
+ proto.clarifai.api.ComputeInfo.prototype.getCpuMemoryRequests = function () {
57521
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
57522
+ };
57523
+ /**
57524
+ * @param {string} value
57525
+ * @return {!proto.clarifai.api.ComputeInfo} returns this
57526
+ */
57527
+ proto.clarifai.api.ComputeInfo.prototype.setCpuMemoryRequests = function (value) {
57528
+ return jspb.Message.setProto3StringField(this, 8, value);
57529
+ };
57301
57530
  /**
57302
57531
  * optional uint32 num_accelerators = 3;
57303
57532
  * @return {number}
@@ -57643,7 +57872,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
57643
57872
  description: jspb.Message.getFieldWithDefault(msg, 10, ""),
57644
57873
  worker: (f = msg.getWorker()) && proto.clarifai.api.Worker.toObject(includeInstance, f),
57645
57874
  createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
57646
- modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
57875
+ modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
57876
+ deployLatestVersion: jspb.Message.getBooleanFieldWithDefault(msg, 14, false)
57647
57877
  };
57648
57878
  if (includeInstance) {
57649
57879
  obj.$jspbMessageInstance = msg;
@@ -57726,6 +57956,10 @@ proto.clarifai.api.Deployment.deserializeBinaryFromReader = function (msg, reade
57726
57956
  reader.readMessage(value, google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
57727
57957
  msg.setModifiedAt(value);
57728
57958
  break;
57959
+ case 14:
57960
+ var value = /** @type {boolean} */ (reader.readBool());
57961
+ msg.setDeployLatestVersion(value);
57962
+ break;
57729
57963
  default:
57730
57964
  reader.skipField();
57731
57965
  break;
@@ -57795,6 +58029,10 @@ proto.clarifai.api.Deployment.serializeBinaryToWriter = function (message, write
57795
58029
  if (f != null) {
57796
58030
  writer.writeMessage(13, f, google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter);
57797
58031
  }
58032
+ f = message.getDeployLatestVersion();
58033
+ if (f) {
58034
+ writer.writeBool(14, f);
58035
+ }
57798
58036
  };
57799
58037
  /**
57800
58038
  * @enum {number}
@@ -58063,6 +58301,20 @@ proto.clarifai.api.Deployment.prototype.clearModifiedAt = function () {
58063
58301
  proto.clarifai.api.Deployment.prototype.hasModifiedAt = function () {
58064
58302
  return jspb.Message.getField(this, 13) != null;
58065
58303
  };
58304
+ /**
58305
+ * optional bool deploy_latest_version = 14;
58306
+ * @return {boolean}
58307
+ */
58308
+ proto.clarifai.api.Deployment.prototype.getDeployLatestVersion = function () {
58309
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 14, false));
58310
+ };
58311
+ /**
58312
+ * @param {boolean} value
58313
+ * @return {!proto.clarifai.api.Deployment} returns this
58314
+ */
58315
+ proto.clarifai.api.Deployment.prototype.setDeployLatestVersion = function (value) {
58316
+ return jspb.Message.setProto3BooleanField(this, 14, value);
58317
+ };
58066
58318
  if (jspb.Message.GENERATE_TO_OBJECT) {
58067
58319
  /**
58068
58320
  * Creates an object representation of this proto.
@@ -58437,7 +58689,7 @@ proto.clarifai.api.ProcessingInfo.prototype.setProcessingId = function (value) {
58437
58689
  * @private {!Array<!Array<number>>}
58438
58690
  * @const
58439
58691
  */
58440
- proto.clarifai.api.AuditLogTarget.oneofGroups_ = [[1, 2, 3, 4, 5, 6, 7, 8, 9, 10]];
58692
+ proto.clarifai.api.AuditLogTarget.oneofGroups_ = [[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13]];
58441
58693
  /**
58442
58694
  * @enum {number}
58443
58695
  */
@@ -58452,7 +58704,10 @@ proto.clarifai.api.AuditLogTarget.TargetCase = {
58452
58704
  WORKFLOW: 7,
58453
58705
  WORKFLOW_VERSION: 8,
58454
58706
  MODEL: 9,
58455
- MODEL_VERSION: 10
58707
+ MODEL_VERSION: 10,
58708
+ COMPUTE_CLUSTER: 11,
58709
+ NODEPOOL: 12,
58710
+ DEPLOYMENT: 13
58456
58711
  };
58457
58712
  /**
58458
58713
  * @return {proto.clarifai.api.AuditLogTarget.TargetCase}
@@ -58496,7 +58751,10 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
58496
58751
  workflow: (f = msg.getWorkflow()) && proto.clarifai.api.Workflow.toObject(includeInstance, f),
58497
58752
  workflowVersion: (f = msg.getWorkflowVersion()) && proto.clarifai.api.WorkflowVersion.toObject(includeInstance, f),
58498
58753
  model: (f = msg.getModel()) && proto.clarifai.api.Model.toObject(includeInstance, f),
58499
- modelVersion: (f = msg.getModelVersion()) && proto.clarifai.api.ModelVersion.toObject(includeInstance, f)
58754
+ modelVersion: (f = msg.getModelVersion()) && proto.clarifai.api.ModelVersion.toObject(includeInstance, f),
58755
+ computeCluster: (f = msg.getComputeCluster()) && proto.clarifai.api.ComputeCluster.toObject(includeInstance, f),
58756
+ nodepool: (f = msg.getNodepool()) && proto.clarifai.api.Nodepool.toObject(includeInstance, f),
58757
+ deployment: (f = msg.getDeployment()) && proto.clarifai.api.Deployment.toObject(includeInstance, f)
58500
58758
  };
58501
58759
  if (includeInstance) {
58502
58760
  obj.$jspbMessageInstance = msg;
@@ -58578,6 +58836,21 @@ proto.clarifai.api.AuditLogTarget.deserializeBinaryFromReader = function (msg, r
58578
58836
  reader.readMessage(value, proto.clarifai.api.ModelVersion.deserializeBinaryFromReader);
58579
58837
  msg.setModelVersion(value);
58580
58838
  break;
58839
+ case 11:
58840
+ var value = new proto.clarifai.api.ComputeCluster;
58841
+ reader.readMessage(value, proto.clarifai.api.ComputeCluster.deserializeBinaryFromReader);
58842
+ msg.setComputeCluster(value);
58843
+ break;
58844
+ case 12:
58845
+ var value = new proto.clarifai.api.Nodepool;
58846
+ reader.readMessage(value, proto.clarifai.api.Nodepool.deserializeBinaryFromReader);
58847
+ msg.setNodepool(value);
58848
+ break;
58849
+ case 13:
58850
+ var value = new proto.clarifai.api.Deployment;
58851
+ reader.readMessage(value, proto.clarifai.api.Deployment.deserializeBinaryFromReader);
58852
+ msg.setDeployment(value);
58853
+ break;
58581
58854
  default:
58582
58855
  reader.skipField();
58583
58856
  break;
@@ -58643,6 +58916,18 @@ proto.clarifai.api.AuditLogTarget.serializeBinaryToWriter = function (message, w
58643
58916
  if (f != null) {
58644
58917
  writer.writeMessage(10, f, proto.clarifai.api.ModelVersion.serializeBinaryToWriter);
58645
58918
  }
58919
+ f = message.getComputeCluster();
58920
+ if (f != null) {
58921
+ writer.writeMessage(11, f, proto.clarifai.api.ComputeCluster.serializeBinaryToWriter);
58922
+ }
58923
+ f = message.getNodepool();
58924
+ if (f != null) {
58925
+ writer.writeMessage(12, f, proto.clarifai.api.Nodepool.serializeBinaryToWriter);
58926
+ }
58927
+ f = message.getDeployment();
58928
+ if (f != null) {
58929
+ writer.writeMessage(13, f, proto.clarifai.api.Deployment.serializeBinaryToWriter);
58930
+ }
58646
58931
  };
58647
58932
  /**
58648
58933
  * optional User user = 1;
@@ -58924,6 +59209,90 @@ proto.clarifai.api.AuditLogTarget.prototype.clearModelVersion = function () {
58924
59209
  proto.clarifai.api.AuditLogTarget.prototype.hasModelVersion = function () {
58925
59210
  return jspb.Message.getField(this, 10) != null;
58926
59211
  };
59212
+ /**
59213
+ * optional ComputeCluster compute_cluster = 11;
59214
+ * @return {?proto.clarifai.api.ComputeCluster}
59215
+ */
59216
+ proto.clarifai.api.AuditLogTarget.prototype.getComputeCluster = function () {
59217
+ return /** @type{?proto.clarifai.api.ComputeCluster} */ (jspb.Message.getWrapperField(this, proto.clarifai.api.ComputeCluster, 11));
59218
+ };
59219
+ /**
59220
+ * @param {?proto.clarifai.api.ComputeCluster|undefined} value
59221
+ * @return {!proto.clarifai.api.AuditLogTarget} returns this
59222
+ */
59223
+ proto.clarifai.api.AuditLogTarget.prototype.setComputeCluster = function (value) {
59224
+ return jspb.Message.setOneofWrapperField(this, 11, proto.clarifai.api.AuditLogTarget.oneofGroups_[0], value);
59225
+ };
59226
+ /**
59227
+ * Clears the message field making it undefined.
59228
+ * @return {!proto.clarifai.api.AuditLogTarget} returns this
59229
+ */
59230
+ proto.clarifai.api.AuditLogTarget.prototype.clearComputeCluster = function () {
59231
+ return this.setComputeCluster(undefined);
59232
+ };
59233
+ /**
59234
+ * Returns whether this field is set.
59235
+ * @return {boolean}
59236
+ */
59237
+ proto.clarifai.api.AuditLogTarget.prototype.hasComputeCluster = function () {
59238
+ return jspb.Message.getField(this, 11) != null;
59239
+ };
59240
+ /**
59241
+ * optional Nodepool nodepool = 12;
59242
+ * @return {?proto.clarifai.api.Nodepool}
59243
+ */
59244
+ proto.clarifai.api.AuditLogTarget.prototype.getNodepool = function () {
59245
+ return /** @type{?proto.clarifai.api.Nodepool} */ (jspb.Message.getWrapperField(this, proto.clarifai.api.Nodepool, 12));
59246
+ };
59247
+ /**
59248
+ * @param {?proto.clarifai.api.Nodepool|undefined} value
59249
+ * @return {!proto.clarifai.api.AuditLogTarget} returns this
59250
+ */
59251
+ proto.clarifai.api.AuditLogTarget.prototype.setNodepool = function (value) {
59252
+ return jspb.Message.setOneofWrapperField(this, 12, proto.clarifai.api.AuditLogTarget.oneofGroups_[0], value);
59253
+ };
59254
+ /**
59255
+ * Clears the message field making it undefined.
59256
+ * @return {!proto.clarifai.api.AuditLogTarget} returns this
59257
+ */
59258
+ proto.clarifai.api.AuditLogTarget.prototype.clearNodepool = function () {
59259
+ return this.setNodepool(undefined);
59260
+ };
59261
+ /**
59262
+ * Returns whether this field is set.
59263
+ * @return {boolean}
59264
+ */
59265
+ proto.clarifai.api.AuditLogTarget.prototype.hasNodepool = function () {
59266
+ return jspb.Message.getField(this, 12) != null;
59267
+ };
59268
+ /**
59269
+ * optional Deployment deployment = 13;
59270
+ * @return {?proto.clarifai.api.Deployment}
59271
+ */
59272
+ proto.clarifai.api.AuditLogTarget.prototype.getDeployment = function () {
59273
+ return /** @type{?proto.clarifai.api.Deployment} */ (jspb.Message.getWrapperField(this, proto.clarifai.api.Deployment, 13));
59274
+ };
59275
+ /**
59276
+ * @param {?proto.clarifai.api.Deployment|undefined} value
59277
+ * @return {!proto.clarifai.api.AuditLogTarget} returns this
59278
+ */
59279
+ proto.clarifai.api.AuditLogTarget.prototype.setDeployment = function (value) {
59280
+ return jspb.Message.setOneofWrapperField(this, 13, proto.clarifai.api.AuditLogTarget.oneofGroups_[0], value);
59281
+ };
59282
+ /**
59283
+ * Clears the message field making it undefined.
59284
+ * @return {!proto.clarifai.api.AuditLogTarget} returns this
59285
+ */
59286
+ proto.clarifai.api.AuditLogTarget.prototype.clearDeployment = function () {
59287
+ return this.setDeployment(undefined);
59288
+ };
59289
+ /**
59290
+ * Returns whether this field is set.
59291
+ * @return {boolean}
59292
+ */
59293
+ proto.clarifai.api.AuditLogTarget.prototype.hasDeployment = function () {
59294
+ return jspb.Message.getField(this, 13) != null;
59295
+ };
58927
59296
  /**
58928
59297
  * List of repeated fields within this message type.
58929
59298
  * @private {!Array<number>}
@@ -61146,7 +61515,9 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
61146
61515
  runnerId: jspb.Message.getFieldWithDefault(msg, 8, ""),
61147
61516
  pipelineId: jspb.Message.getFieldWithDefault(msg, 9, ""),
61148
61517
  pipelineVersionId: jspb.Message.getFieldWithDefault(msg, 10, ""),
61149
- pipelineVersionRunId: jspb.Message.getFieldWithDefault(msg, 11, "")
61518
+ pipelineVersionRunId: jspb.Message.getFieldWithDefault(msg, 11, ""),
61519
+ pipelineStepId: jspb.Message.getFieldWithDefault(msg, 12, ""),
61520
+ pipelineStepVersionId: jspb.Message.getFieldWithDefault(msg, 13, "")
61150
61521
  };
61151
61522
  if (includeInstance) {
61152
61523
  obj.$jspbMessageInstance = msg;
@@ -61219,6 +61590,14 @@ proto.clarifai.api.ComputeSourceMetadata.deserializeBinaryFromReader = function
61219
61590
  var value = /** @type {string} */ (reader.readString());
61220
61591
  msg.setPipelineVersionRunId(value);
61221
61592
  break;
61593
+ case 12:
61594
+ var value = /** @type {string} */ (reader.readString());
61595
+ msg.setPipelineStepId(value);
61596
+ break;
61597
+ case 13:
61598
+ var value = /** @type {string} */ (reader.readString());
61599
+ msg.setPipelineStepVersionId(value);
61600
+ break;
61222
61601
  default:
61223
61602
  reader.skipField();
61224
61603
  break;
@@ -61284,6 +61663,14 @@ proto.clarifai.api.ComputeSourceMetadata.serializeBinaryToWriter = function (mes
61284
61663
  if (f.length > 0) {
61285
61664
  writer.writeString(11, f);
61286
61665
  }
61666
+ f = message.getPipelineStepId();
61667
+ if (f.length > 0) {
61668
+ writer.writeString(12, f);
61669
+ }
61670
+ f = message.getPipelineStepVersionId();
61671
+ if (f.length > 0) {
61672
+ writer.writeString(13, f);
61673
+ }
61287
61674
  };
61288
61675
  /**
61289
61676
  * optional UserAppIDSet user_app_id = 1;
@@ -61439,6 +61826,34 @@ proto.clarifai.api.ComputeSourceMetadata.prototype.getPipelineVersionRunId = fun
61439
61826
  proto.clarifai.api.ComputeSourceMetadata.prototype.setPipelineVersionRunId = function (value) {
61440
61827
  return jspb.Message.setProto3StringField(this, 11, value);
61441
61828
  };
61829
+ /**
61830
+ * optional string pipeline_step_id = 12;
61831
+ * @return {string}
61832
+ */
61833
+ proto.clarifai.api.ComputeSourceMetadata.prototype.getPipelineStepId = function () {
61834
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
61835
+ };
61836
+ /**
61837
+ * @param {string} value
61838
+ * @return {!proto.clarifai.api.ComputeSourceMetadata} returns this
61839
+ */
61840
+ proto.clarifai.api.ComputeSourceMetadata.prototype.setPipelineStepId = function (value) {
61841
+ return jspb.Message.setProto3StringField(this, 12, value);
61842
+ };
61843
+ /**
61844
+ * optional string pipeline_step_version_id = 13;
61845
+ * @return {string}
61846
+ */
61847
+ proto.clarifai.api.ComputeSourceMetadata.prototype.getPipelineStepVersionId = function () {
61848
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
61849
+ };
61850
+ /**
61851
+ * @param {string} value
61852
+ * @return {!proto.clarifai.api.ComputeSourceMetadata} returns this
61853
+ */
61854
+ proto.clarifai.api.ComputeSourceMetadata.prototype.setPipelineStepVersionId = function (value) {
61855
+ return jspb.Message.setProto3StringField(this, 13, value);
61856
+ };
61442
61857
  if (jspb.Message.GENERATE_TO_OBJECT) {
61443
61858
  /**
61444
61859
  * Creates an object representation of this proto.
@@ -61467,18 +61882,17 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
61467
61882
  proto.clarifai.api.WorkflowVersionEvaluation.toObject = function (includeInstance, msg) {
61468
61883
  var f, obj = {
61469
61884
  id: jspb.Message.getFieldWithDefault(msg, 1, ""),
61470
- workflowId: jspb.Message.getFieldWithDefault(msg, 2, ""),
61471
- workflowVersionId: jspb.Message.getFieldWithDefault(msg, 3, ""),
61472
- groundTruthDatasetId: jspb.Message.getFieldWithDefault(msg, 4, ""),
61473
- groundTruthDatasetVersionId: jspb.Message.getFieldWithDefault(msg, 5, ""),
61474
- predictionsDatasetId: jspb.Message.getFieldWithDefault(msg, 6, ""),
61475
- predictionsDatasetVersionId: jspb.Message.getFieldWithDefault(msg, 7, ""),
61476
- evaluationTemplateId: jspb.Message.getFieldWithDefault(msg, 8, ""),
61885
+ workflowVersion: (f = msg.getWorkflowVersion()) && proto.clarifai.api.WorkflowVersion.toObject(includeInstance, f),
61886
+ targetNodeId: jspb.Message.getFieldWithDefault(msg, 3, ""),
61887
+ groundTruthDatasetVersion: (f = msg.getGroundTruthDatasetVersion()) && proto.clarifai.api.DatasetVersion.toObject(includeInstance, f),
61888
+ predictionsDatasetVersion: (f = msg.getPredictionsDatasetVersion()) && proto.clarifai.api.DatasetVersion.toObject(includeInstance, f),
61889
+ workflowVersionEvaluationTemplate: (f = msg.getWorkflowVersionEvaluationTemplate()) && proto.clarifai.api.WorkflowVersionEvaluationTemplate.toObject(includeInstance, f),
61890
+ userId: jspb.Message.getFieldWithDefault(msg, 7, ""),
61891
+ appId: jspb.Message.getFieldWithDefault(msg, 8, ""),
61477
61892
  workflowEvaluationResult: (f = msg.getWorkflowEvaluationResult()) && proto.clarifai.api.WorkflowEvaluationResult.toObject(includeInstance, f),
61478
61893
  status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
61479
61894
  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, "")
61895
+ modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
61482
61896
  };
61483
61897
  if (includeInstance) {
61484
61898
  obj.$jspbMessageInstance = msg;
@@ -61515,32 +61929,36 @@ proto.clarifai.api.WorkflowVersionEvaluation.deserializeBinaryFromReader = funct
61515
61929
  msg.setId(value);
61516
61930
  break;
61517
61931
  case 2:
61518
- var value = /** @type {string} */ (reader.readString());
61519
- msg.setWorkflowId(value);
61932
+ var value = new proto.clarifai.api.WorkflowVersion;
61933
+ reader.readMessage(value, proto.clarifai.api.WorkflowVersion.deserializeBinaryFromReader);
61934
+ msg.setWorkflowVersion(value);
61520
61935
  break;
61521
61936
  case 3:
61522
61937
  var value = /** @type {string} */ (reader.readString());
61523
- msg.setWorkflowVersionId(value);
61938
+ msg.setTargetNodeId(value);
61524
61939
  break;
61525
61940
  case 4:
61526
- var value = /** @type {string} */ (reader.readString());
61527
- msg.setGroundTruthDatasetId(value);
61941
+ var value = new proto.clarifai.api.DatasetVersion;
61942
+ reader.readMessage(value, proto.clarifai.api.DatasetVersion.deserializeBinaryFromReader);
61943
+ msg.setGroundTruthDatasetVersion(value);
61528
61944
  break;
61529
61945
  case 5:
61530
- var value = /** @type {string} */ (reader.readString());
61531
- msg.setGroundTruthDatasetVersionId(value);
61946
+ var value = new proto.clarifai.api.DatasetVersion;
61947
+ reader.readMessage(value, proto.clarifai.api.DatasetVersion.deserializeBinaryFromReader);
61948
+ msg.setPredictionsDatasetVersion(value);
61532
61949
  break;
61533
61950
  case 6:
61534
- var value = /** @type {string} */ (reader.readString());
61535
- msg.setPredictionsDatasetId(value);
61951
+ var value = new proto.clarifai.api.WorkflowVersionEvaluationTemplate;
61952
+ reader.readMessage(value, proto.clarifai.api.WorkflowVersionEvaluationTemplate.deserializeBinaryFromReader);
61953
+ msg.setWorkflowVersionEvaluationTemplate(value);
61536
61954
  break;
61537
61955
  case 7:
61538
61956
  var value = /** @type {string} */ (reader.readString());
61539
- msg.setPredictionsDatasetVersionId(value);
61957
+ msg.setUserId(value);
61540
61958
  break;
61541
61959
  case 8:
61542
61960
  var value = /** @type {string} */ (reader.readString());
61543
- msg.setEvaluationTemplateId(value);
61961
+ msg.setAppId(value);
61544
61962
  break;
61545
61963
  case 9:
61546
61964
  var value = new proto.clarifai.api.WorkflowEvaluationResult;
@@ -61562,10 +61980,6 @@ proto.clarifai.api.WorkflowVersionEvaluation.deserializeBinaryFromReader = funct
61562
61980
  reader.readMessage(value, google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
61563
61981
  msg.setModifiedAt(value);
61564
61982
  break;
61565
- case 13:
61566
- var value = /** @type {string} */ (reader.readString());
61567
- msg.setTargetNodeId(value);
61568
- break;
61569
61983
  default:
61570
61984
  reader.skipField();
61571
61985
  break;
@@ -61595,31 +62009,31 @@ proto.clarifai.api.WorkflowVersionEvaluation.serializeBinaryToWriter = function
61595
62009
  if (f.length > 0) {
61596
62010
  writer.writeString(1, f);
61597
62011
  }
61598
- f = message.getWorkflowId();
61599
- if (f.length > 0) {
61600
- writer.writeString(2, f);
62012
+ f = message.getWorkflowVersion();
62013
+ if (f != null) {
62014
+ writer.writeMessage(2, f, proto.clarifai.api.WorkflowVersion.serializeBinaryToWriter);
61601
62015
  }
61602
- f = message.getWorkflowVersionId();
62016
+ f = message.getTargetNodeId();
61603
62017
  if (f.length > 0) {
61604
62018
  writer.writeString(3, f);
61605
62019
  }
61606
- f = message.getGroundTruthDatasetId();
61607
- if (f.length > 0) {
61608
- writer.writeString(4, f);
62020
+ f = message.getGroundTruthDatasetVersion();
62021
+ if (f != null) {
62022
+ writer.writeMessage(4, f, proto.clarifai.api.DatasetVersion.serializeBinaryToWriter);
61609
62023
  }
61610
- f = message.getGroundTruthDatasetVersionId();
61611
- if (f.length > 0) {
61612
- writer.writeString(5, f);
62024
+ f = message.getPredictionsDatasetVersion();
62025
+ if (f != null) {
62026
+ writer.writeMessage(5, f, proto.clarifai.api.DatasetVersion.serializeBinaryToWriter);
61613
62027
  }
61614
- f = message.getPredictionsDatasetId();
61615
- if (f.length > 0) {
61616
- writer.writeString(6, f);
62028
+ f = message.getWorkflowVersionEvaluationTemplate();
62029
+ if (f != null) {
62030
+ writer.writeMessage(6, f, proto.clarifai.api.WorkflowVersionEvaluationTemplate.serializeBinaryToWriter);
61617
62031
  }
61618
- f = message.getPredictionsDatasetVersionId();
62032
+ f = message.getUserId();
61619
62033
  if (f.length > 0) {
61620
62034
  writer.writeString(7, f);
61621
62035
  }
61622
- f = message.getEvaluationTemplateId();
62036
+ f = message.getAppId();
61623
62037
  if (f.length > 0) {
61624
62038
  writer.writeString(8, f);
61625
62039
  }
@@ -61639,10 +62053,6 @@ proto.clarifai.api.WorkflowVersionEvaluation.serializeBinaryToWriter = function
61639
62053
  if (f != null) {
61640
62054
  writer.writeMessage(12, f, google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter);
61641
62055
  }
61642
- f = message.getTargetNodeId();
61643
- if (f.length > 0) {
61644
- writer.writeString(13, f);
61645
- }
61646
62056
  };
61647
62057
  /**
61648
62058
  * optional string id = 1;
@@ -61659,101 +62069,157 @@ proto.clarifai.api.WorkflowVersionEvaluation.prototype.setId = function (value)
61659
62069
  return jspb.Message.setProto3StringField(this, 1, value);
61660
62070
  };
61661
62071
  /**
61662
- * optional string workflow_id = 2;
61663
- * @return {string}
62072
+ * optional WorkflowVersion workflow_version = 2;
62073
+ * @return {?proto.clarifai.api.WorkflowVersion}
61664
62074
  */
61665
- proto.clarifai.api.WorkflowVersionEvaluation.prototype.getWorkflowId = function () {
61666
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
62075
+ proto.clarifai.api.WorkflowVersionEvaluation.prototype.getWorkflowVersion = function () {
62076
+ return /** @type{?proto.clarifai.api.WorkflowVersion} */ (jspb.Message.getWrapperField(this, proto.clarifai.api.WorkflowVersion, 2));
61667
62077
  };
61668
62078
  /**
61669
- * @param {string} value
62079
+ * @param {?proto.clarifai.api.WorkflowVersion|undefined} value
62080
+ * @return {!proto.clarifai.api.WorkflowVersionEvaluation} returns this
62081
+ */
62082
+ proto.clarifai.api.WorkflowVersionEvaluation.prototype.setWorkflowVersion = function (value) {
62083
+ return jspb.Message.setWrapperField(this, 2, value);
62084
+ };
62085
+ /**
62086
+ * Clears the message field making it undefined.
61670
62087
  * @return {!proto.clarifai.api.WorkflowVersionEvaluation} returns this
61671
62088
  */
61672
- proto.clarifai.api.WorkflowVersionEvaluation.prototype.setWorkflowId = function (value) {
61673
- return jspb.Message.setProto3StringField(this, 2, value);
62089
+ proto.clarifai.api.WorkflowVersionEvaluation.prototype.clearWorkflowVersion = function () {
62090
+ return this.setWorkflowVersion(undefined);
62091
+ };
62092
+ /**
62093
+ * Returns whether this field is set.
62094
+ * @return {boolean}
62095
+ */
62096
+ proto.clarifai.api.WorkflowVersionEvaluation.prototype.hasWorkflowVersion = function () {
62097
+ return jspb.Message.getField(this, 2) != null;
61674
62098
  };
61675
62099
  /**
61676
- * optional string workflow_version_id = 3;
62100
+ * optional string target_node_id = 3;
61677
62101
  * @return {string}
61678
62102
  */
61679
- proto.clarifai.api.WorkflowVersionEvaluation.prototype.getWorkflowVersionId = function () {
62103
+ proto.clarifai.api.WorkflowVersionEvaluation.prototype.getTargetNodeId = function () {
61680
62104
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
61681
62105
  };
61682
62106
  /**
61683
62107
  * @param {string} value
61684
62108
  * @return {!proto.clarifai.api.WorkflowVersionEvaluation} returns this
61685
62109
  */
61686
- proto.clarifai.api.WorkflowVersionEvaluation.prototype.setWorkflowVersionId = function (value) {
62110
+ proto.clarifai.api.WorkflowVersionEvaluation.prototype.setTargetNodeId = function (value) {
61687
62111
  return jspb.Message.setProto3StringField(this, 3, value);
61688
62112
  };
61689
62113
  /**
61690
- * optional string ground_truth_dataset_id = 4;
61691
- * @return {string}
62114
+ * optional DatasetVersion ground_truth_dataset_version = 4;
62115
+ * @return {?proto.clarifai.api.DatasetVersion}
61692
62116
  */
61693
- proto.clarifai.api.WorkflowVersionEvaluation.prototype.getGroundTruthDatasetId = function () {
61694
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
62117
+ proto.clarifai.api.WorkflowVersionEvaluation.prototype.getGroundTruthDatasetVersion = function () {
62118
+ return /** @type{?proto.clarifai.api.DatasetVersion} */ (jspb.Message.getWrapperField(this, proto.clarifai.api.DatasetVersion, 4));
61695
62119
  };
61696
62120
  /**
61697
- * @param {string} value
62121
+ * @param {?proto.clarifai.api.DatasetVersion|undefined} value
62122
+ * @return {!proto.clarifai.api.WorkflowVersionEvaluation} returns this
62123
+ */
62124
+ proto.clarifai.api.WorkflowVersionEvaluation.prototype.setGroundTruthDatasetVersion = function (value) {
62125
+ return jspb.Message.setWrapperField(this, 4, value);
62126
+ };
62127
+ /**
62128
+ * Clears the message field making it undefined.
61698
62129
  * @return {!proto.clarifai.api.WorkflowVersionEvaluation} returns this
61699
62130
  */
61700
- proto.clarifai.api.WorkflowVersionEvaluation.prototype.setGroundTruthDatasetId = function (value) {
61701
- return jspb.Message.setProto3StringField(this, 4, value);
62131
+ proto.clarifai.api.WorkflowVersionEvaluation.prototype.clearGroundTruthDatasetVersion = function () {
62132
+ return this.setGroundTruthDatasetVersion(undefined);
61702
62133
  };
61703
62134
  /**
61704
- * optional string ground_truth_dataset_version_id = 5;
61705
- * @return {string}
62135
+ * Returns whether this field is set.
62136
+ * @return {boolean}
61706
62137
  */
61707
- proto.clarifai.api.WorkflowVersionEvaluation.prototype.getGroundTruthDatasetVersionId = function () {
61708
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
62138
+ proto.clarifai.api.WorkflowVersionEvaluation.prototype.hasGroundTruthDatasetVersion = function () {
62139
+ return jspb.Message.getField(this, 4) != null;
61709
62140
  };
61710
62141
  /**
61711
- * @param {string} value
62142
+ * optional DatasetVersion predictions_dataset_version = 5;
62143
+ * @return {?proto.clarifai.api.DatasetVersion}
62144
+ */
62145
+ proto.clarifai.api.WorkflowVersionEvaluation.prototype.getPredictionsDatasetVersion = function () {
62146
+ return /** @type{?proto.clarifai.api.DatasetVersion} */ (jspb.Message.getWrapperField(this, proto.clarifai.api.DatasetVersion, 5));
62147
+ };
62148
+ /**
62149
+ * @param {?proto.clarifai.api.DatasetVersion|undefined} value
62150
+ * @return {!proto.clarifai.api.WorkflowVersionEvaluation} returns this
62151
+ */
62152
+ proto.clarifai.api.WorkflowVersionEvaluation.prototype.setPredictionsDatasetVersion = function (value) {
62153
+ return jspb.Message.setWrapperField(this, 5, value);
62154
+ };
62155
+ /**
62156
+ * Clears the message field making it undefined.
61712
62157
  * @return {!proto.clarifai.api.WorkflowVersionEvaluation} returns this
61713
62158
  */
61714
- proto.clarifai.api.WorkflowVersionEvaluation.prototype.setGroundTruthDatasetVersionId = function (value) {
61715
- return jspb.Message.setProto3StringField(this, 5, value);
62159
+ proto.clarifai.api.WorkflowVersionEvaluation.prototype.clearPredictionsDatasetVersion = function () {
62160
+ return this.setPredictionsDatasetVersion(undefined);
61716
62161
  };
61717
62162
  /**
61718
- * optional string predictions_dataset_id = 6;
61719
- * @return {string}
62163
+ * Returns whether this field is set.
62164
+ * @return {boolean}
61720
62165
  */
61721
- proto.clarifai.api.WorkflowVersionEvaluation.prototype.getPredictionsDatasetId = function () {
61722
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
62166
+ proto.clarifai.api.WorkflowVersionEvaluation.prototype.hasPredictionsDatasetVersion = function () {
62167
+ return jspb.Message.getField(this, 5) != null;
61723
62168
  };
61724
62169
  /**
61725
- * @param {string} value
62170
+ * optional WorkflowVersionEvaluationTemplate workflow_version_evaluation_template = 6;
62171
+ * @return {?proto.clarifai.api.WorkflowVersionEvaluationTemplate}
62172
+ */
62173
+ proto.clarifai.api.WorkflowVersionEvaluation.prototype.getWorkflowVersionEvaluationTemplate = function () {
62174
+ return /** @type{?proto.clarifai.api.WorkflowVersionEvaluationTemplate} */ (jspb.Message.getWrapperField(this, proto.clarifai.api.WorkflowVersionEvaluationTemplate, 6));
62175
+ };
62176
+ /**
62177
+ * @param {?proto.clarifai.api.WorkflowVersionEvaluationTemplate|undefined} value
62178
+ * @return {!proto.clarifai.api.WorkflowVersionEvaluation} returns this
62179
+ */
62180
+ proto.clarifai.api.WorkflowVersionEvaluation.prototype.setWorkflowVersionEvaluationTemplate = function (value) {
62181
+ return jspb.Message.setWrapperField(this, 6, value);
62182
+ };
62183
+ /**
62184
+ * Clears the message field making it undefined.
61726
62185
  * @return {!proto.clarifai.api.WorkflowVersionEvaluation} returns this
61727
62186
  */
61728
- proto.clarifai.api.WorkflowVersionEvaluation.prototype.setPredictionsDatasetId = function (value) {
61729
- return jspb.Message.setProto3StringField(this, 6, value);
62187
+ proto.clarifai.api.WorkflowVersionEvaluation.prototype.clearWorkflowVersionEvaluationTemplate = function () {
62188
+ return this.setWorkflowVersionEvaluationTemplate(undefined);
62189
+ };
62190
+ /**
62191
+ * Returns whether this field is set.
62192
+ * @return {boolean}
62193
+ */
62194
+ proto.clarifai.api.WorkflowVersionEvaluation.prototype.hasWorkflowVersionEvaluationTemplate = function () {
62195
+ return jspb.Message.getField(this, 6) != null;
61730
62196
  };
61731
62197
  /**
61732
- * optional string predictions_dataset_version_id = 7;
62198
+ * optional string user_id = 7;
61733
62199
  * @return {string}
61734
62200
  */
61735
- proto.clarifai.api.WorkflowVersionEvaluation.prototype.getPredictionsDatasetVersionId = function () {
62201
+ proto.clarifai.api.WorkflowVersionEvaluation.prototype.getUserId = function () {
61736
62202
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
61737
62203
  };
61738
62204
  /**
61739
62205
  * @param {string} value
61740
62206
  * @return {!proto.clarifai.api.WorkflowVersionEvaluation} returns this
61741
62207
  */
61742
- proto.clarifai.api.WorkflowVersionEvaluation.prototype.setPredictionsDatasetVersionId = function (value) {
62208
+ proto.clarifai.api.WorkflowVersionEvaluation.prototype.setUserId = function (value) {
61743
62209
  return jspb.Message.setProto3StringField(this, 7, value);
61744
62210
  };
61745
62211
  /**
61746
- * optional string evaluation_template_id = 8;
62212
+ * optional string app_id = 8;
61747
62213
  * @return {string}
61748
62214
  */
61749
- proto.clarifai.api.WorkflowVersionEvaluation.prototype.getEvaluationTemplateId = function () {
62215
+ proto.clarifai.api.WorkflowVersionEvaluation.prototype.getAppId = function () {
61750
62216
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
61751
62217
  };
61752
62218
  /**
61753
62219
  * @param {string} value
61754
62220
  * @return {!proto.clarifai.api.WorkflowVersionEvaluation} returns this
61755
62221
  */
61756
- proto.clarifai.api.WorkflowVersionEvaluation.prototype.setEvaluationTemplateId = function (value) {
62222
+ proto.clarifai.api.WorkflowVersionEvaluation.prototype.setAppId = function (value) {
61757
62223
  return jspb.Message.setProto3StringField(this, 8, value);
61758
62224
  };
61759
62225
  /**
@@ -61868,20 +62334,6 @@ proto.clarifai.api.WorkflowVersionEvaluation.prototype.clearModifiedAt = functio
61868
62334
  proto.clarifai.api.WorkflowVersionEvaluation.prototype.hasModifiedAt = function () {
61869
62335
  return jspb.Message.getField(this, 12) != null;
61870
62336
  };
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
62337
  if (jspb.Message.GENERATE_TO_OBJECT) {
61886
62338
  /**
61887
62339
  * Creates an object representation of this proto.
@@ -64002,6 +64454,14 @@ proto.clarifai.api.EventType = {
64002
64454
  COLLABORATOR_ADD: 700,
64003
64455
  COLLABORATOR_UPDATE: 701,
64004
64456
  COLLABORATOR_REMOVE: 702,
64005
- USER_UPDATE: 800
64457
+ USER_UPDATE: 800,
64458
+ COMPUTE_CLUSTER_CREATE: 900,
64459
+ COMPUTE_CLUSTER_DELETE: 901,
64460
+ NODEPOOL_CREATE: 1000,
64461
+ NODEPOOL_UPDATE: 1001,
64462
+ NODEPOOL_DELETE: 1002,
64463
+ DEPLOYMENT_CREATE: 1100,
64464
+ DEPLOYMENT_UPDATE: 1101,
64465
+ DEPLOYMENT_DELETE: 1102
64006
64466
  };
64007
64467
  goog.object.extend(exports, proto.clarifai.api);