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.
@@ -25284,7 +25284,8 @@ proto.clarifai.api.Model.toObject = function(includeInstance, msg) {
25284
25284
  source: jspb.Message.getFieldWithDefault(msg, 36, 0),
25285
25285
  creator: jspb.Message.getFieldWithDefault(msg, 37, ""),
25286
25286
  versionCount: jspb.Message.getFieldWithDefault(msg, 38, 0),
25287
- billingType: jspb.Message.getFieldWithDefault(msg, 40, 0)
25287
+ billingType: jspb.Message.getFieldWithDefault(msg, 40, 0),
25288
+ featuredOrder: (f = msg.getFeaturedOrder()) && google_protobuf_wrappers_pb.Int32Value.toObject(includeInstance, f)
25288
25289
  };
25289
25290
 
25290
25291
  if (includeInstance) {
@@ -25461,6 +25462,11 @@ proto.clarifai.api.Model.deserializeBinaryFromReader = function(msg, reader) {
25461
25462
  var value = /** @type {!proto.clarifai.api.Model.BillingType} */ (reader.readEnum());
25462
25463
  msg.setBillingType(value);
25463
25464
  break;
25465
+ case 41:
25466
+ var value = new google_protobuf_wrappers_pb.Int32Value;
25467
+ reader.readMessage(value,google_protobuf_wrappers_pb.Int32Value.deserializeBinaryFromReader);
25468
+ msg.setFeaturedOrder(value);
25469
+ break;
25464
25470
  default:
25465
25471
  reader.skipField();
25466
25472
  break;
@@ -25726,6 +25732,14 @@ proto.clarifai.api.Model.serializeBinaryToWriter = function(message, writer) {
25726
25732
  f
25727
25733
  );
25728
25734
  }
25735
+ f = message.getFeaturedOrder();
25736
+ if (f != null) {
25737
+ writer.writeMessage(
25738
+ 41,
25739
+ f,
25740
+ google_protobuf_wrappers_pb.Int32Value.serializeBinaryToWriter
25741
+ );
25742
+ }
25729
25743
  };
25730
25744
 
25731
25745
 
@@ -26628,6 +26642,43 @@ proto.clarifai.api.Model.prototype.setBillingType = function(value) {
26628
26642
  };
26629
26643
 
26630
26644
 
26645
+ /**
26646
+ * optional google.protobuf.Int32Value featured_order = 41;
26647
+ * @return {?proto.google.protobuf.Int32Value}
26648
+ */
26649
+ proto.clarifai.api.Model.prototype.getFeaturedOrder = function() {
26650
+ return /** @type{?proto.google.protobuf.Int32Value} */ (
26651
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.Int32Value, 41));
26652
+ };
26653
+
26654
+
26655
+ /**
26656
+ * @param {?proto.google.protobuf.Int32Value|undefined} value
26657
+ * @return {!proto.clarifai.api.Model} returns this
26658
+ */
26659
+ proto.clarifai.api.Model.prototype.setFeaturedOrder = function(value) {
26660
+ return jspb.Message.setWrapperField(this, 41, value);
26661
+ };
26662
+
26663
+
26664
+ /**
26665
+ * Clears the message field making it undefined.
26666
+ * @return {!proto.clarifai.api.Model} returns this
26667
+ */
26668
+ proto.clarifai.api.Model.prototype.clearFeaturedOrder = function() {
26669
+ return this.setFeaturedOrder(undefined);
26670
+ };
26671
+
26672
+
26673
+ /**
26674
+ * Returns whether this field is set.
26675
+ * @return {boolean}
26676
+ */
26677
+ proto.clarifai.api.Model.prototype.hasFeaturedOrder = function() {
26678
+ return jspb.Message.getField(this, 41) != null;
26679
+ };
26680
+
26681
+
26631
26682
 
26632
26683
 
26633
26684
 
@@ -30354,7 +30405,8 @@ proto.clarifai.api.ModelTypeField.toObject = function(includeInstance, msg) {
30354
30405
  typeArgsList: jspb.Message.toObjectList(msg.getTypeArgsList(),
30355
30406
  proto.clarifai.api.ModelTypeField.toObject, includeInstance),
30356
30407
  iterator: jspb.Message.getBooleanFieldWithDefault(msg, 13, false),
30357
- pb_default: jspb.Message.getFieldWithDefault(msg, 14, "")
30408
+ pb_default: jspb.Message.getFieldWithDefault(msg, 14, ""),
30409
+ isParam: jspb.Message.getBooleanFieldWithDefault(msg, 15, false)
30358
30410
  };
30359
30411
 
30360
30412
  if (includeInstance) {
@@ -30451,6 +30503,10 @@ proto.clarifai.api.ModelTypeField.deserializeBinaryFromReader = function(msg, re
30451
30503
  var value = /** @type {string} */ (reader.readString());
30452
30504
  msg.setDefault(value);
30453
30505
  break;
30506
+ case 15:
30507
+ var value = /** @type {boolean} */ (reader.readBool());
30508
+ msg.setIsParam(value);
30509
+ break;
30454
30510
  default:
30455
30511
  reader.skipField();
30456
30512
  break;
@@ -30582,6 +30638,13 @@ proto.clarifai.api.ModelTypeField.serializeBinaryToWriter = function(message, wr
30582
30638
  f
30583
30639
  );
30584
30640
  }
30641
+ f = message.getIsParam();
30642
+ if (f) {
30643
+ writer.writeBool(
30644
+ 15,
30645
+ f
30646
+ );
30647
+ }
30585
30648
  };
30586
30649
 
30587
30650
 
@@ -30632,9 +30695,9 @@ proto.clarifai.api.ModelTypeField.DataType = {
30632
30695
  FRAME: 12,
30633
30696
  AUDIO: 13,
30634
30697
  VIDEO: 14,
30635
- NAMED_FIELDS: 20,
30636
- TUPLE: 21,
30637
- LIST: 22
30698
+ NAMED_FIELDS: 15,
30699
+ TUPLE: 16,
30700
+ LIST: 17
30638
30701
  };
30639
30702
 
30640
30703
  /**
@@ -30967,6 +31030,24 @@ proto.clarifai.api.ModelTypeField.prototype.setDefault = function(value) {
30967
31030
  };
30968
31031
 
30969
31032
 
31033
+ /**
31034
+ * optional bool is_param = 15;
31035
+ * @return {boolean}
31036
+ */
31037
+ proto.clarifai.api.ModelTypeField.prototype.getIsParam = function() {
31038
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 15, false));
31039
+ };
31040
+
31041
+
31042
+ /**
31043
+ * @param {boolean} value
31044
+ * @return {!proto.clarifai.api.ModelTypeField} returns this
31045
+ */
31046
+ proto.clarifai.api.ModelTypeField.prototype.setIsParam = function(value) {
31047
+ return jspb.Message.setProto3BooleanField(this, 15, value);
31048
+ };
31049
+
31050
+
30970
31051
 
30971
31052
 
30972
31053
 
@@ -47757,7 +47838,8 @@ proto.clarifai.api.WorkflowVersion.toObject = function(includeInstance, msg) {
47757
47838
  appId: jspb.Message.getFieldWithDefault(msg, 8, ""),
47758
47839
  userId: jspb.Message.getFieldWithDefault(msg, 9, ""),
47759
47840
  description: jspb.Message.getFieldWithDefault(msg, 10, ""),
47760
- license: jspb.Message.getFieldWithDefault(msg, 11, "")
47841
+ license: jspb.Message.getFieldWithDefault(msg, 11, ""),
47842
+ isDeprecated: jspb.Message.getBooleanFieldWithDefault(msg, 12, false)
47761
47843
  };
47762
47844
 
47763
47845
  if (includeInstance) {
@@ -47843,6 +47925,10 @@ proto.clarifai.api.WorkflowVersion.deserializeBinaryFromReader = function(msg, r
47843
47925
  var value = /** @type {string} */ (reader.readString());
47844
47926
  msg.setLicense(value);
47845
47927
  break;
47928
+ case 12:
47929
+ var value = /** @type {boolean} */ (reader.readBool());
47930
+ msg.setIsDeprecated(value);
47931
+ break;
47846
47932
  default:
47847
47933
  reader.skipField();
47848
47934
  break;
@@ -47954,6 +48040,13 @@ proto.clarifai.api.WorkflowVersion.serializeBinaryToWriter = function(message, w
47954
48040
  f
47955
48041
  );
47956
48042
  }
48043
+ f = message.getIsDeprecated();
48044
+ if (f) {
48045
+ writer.writeBool(
48046
+ 12,
48047
+ f
48048
+ );
48049
+ }
47957
48050
  };
47958
48051
 
47959
48052
 
@@ -48251,6 +48344,24 @@ proto.clarifai.api.WorkflowVersion.prototype.setLicense = function(value) {
48251
48344
  };
48252
48345
 
48253
48346
 
48347
+ /**
48348
+ * optional bool is_deprecated = 12;
48349
+ * @return {boolean}
48350
+ */
48351
+ proto.clarifai.api.WorkflowVersion.prototype.getIsDeprecated = function() {
48352
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 12, false));
48353
+ };
48354
+
48355
+
48356
+ /**
48357
+ * @param {boolean} value
48358
+ * @return {!proto.clarifai.api.WorkflowVersion} returns this
48359
+ */
48360
+ proto.clarifai.api.WorkflowVersion.prototype.setIsDeprecated = function(value) {
48361
+ return jspb.Message.setProto3BooleanField(this, 12, value);
48362
+ };
48363
+
48364
+
48254
48365
 
48255
48366
  /**
48256
48367
  * List of repeated fields within this message type.
@@ -70516,7 +70627,10 @@ proto.clarifai.api.InstanceType.toObject = function(includeInstance, msg) {
70516
70627
  id: jspb.Message.getFieldWithDefault(msg, 1, ""),
70517
70628
  description: jspb.Message.getFieldWithDefault(msg, 2, ""),
70518
70629
  computeInfo: (f = msg.getComputeInfo()) && proto.clarifai.api.ComputeInfo.toObject(includeInstance, f),
70519
- price: jspb.Message.getFieldWithDefault(msg, 4, "")
70630
+ price: jspb.Message.getFieldWithDefault(msg, 4, ""),
70631
+ cloudProvider: (f = msg.getCloudProvider()) && proto.clarifai.api.CloudProvider.toObject(includeInstance, f),
70632
+ region: jspb.Message.getFieldWithDefault(msg, 6, ""),
70633
+ allowedCapacityTypes: (f = msg.getAllowedCapacityTypes()) && proto.clarifai.api.NodeCapacityType.toObject(includeInstance, f)
70520
70634
  };
70521
70635
 
70522
70636
  if (includeInstance) {
@@ -70570,6 +70684,20 @@ proto.clarifai.api.InstanceType.deserializeBinaryFromReader = function(msg, read
70570
70684
  var value = /** @type {string} */ (reader.readString());
70571
70685
  msg.setPrice(value);
70572
70686
  break;
70687
+ case 5:
70688
+ var value = new proto.clarifai.api.CloudProvider;
70689
+ reader.readMessage(value,proto.clarifai.api.CloudProvider.deserializeBinaryFromReader);
70690
+ msg.setCloudProvider(value);
70691
+ break;
70692
+ case 6:
70693
+ var value = /** @type {string} */ (reader.readString());
70694
+ msg.setRegion(value);
70695
+ break;
70696
+ case 7:
70697
+ var value = new proto.clarifai.api.NodeCapacityType;
70698
+ reader.readMessage(value,proto.clarifai.api.NodeCapacityType.deserializeBinaryFromReader);
70699
+ msg.setAllowedCapacityTypes(value);
70700
+ break;
70573
70701
  default:
70574
70702
  reader.skipField();
70575
70703
  break;
@@ -70628,6 +70756,29 @@ proto.clarifai.api.InstanceType.serializeBinaryToWriter = function(message, writ
70628
70756
  f
70629
70757
  );
70630
70758
  }
70759
+ f = message.getCloudProvider();
70760
+ if (f != null) {
70761
+ writer.writeMessage(
70762
+ 5,
70763
+ f,
70764
+ proto.clarifai.api.CloudProvider.serializeBinaryToWriter
70765
+ );
70766
+ }
70767
+ f = message.getRegion();
70768
+ if (f.length > 0) {
70769
+ writer.writeString(
70770
+ 6,
70771
+ f
70772
+ );
70773
+ }
70774
+ f = message.getAllowedCapacityTypes();
70775
+ if (f != null) {
70776
+ writer.writeMessage(
70777
+ 7,
70778
+ f,
70779
+ proto.clarifai.api.NodeCapacityType.serializeBinaryToWriter
70780
+ );
70781
+ }
70631
70782
  };
70632
70783
 
70633
70784
 
@@ -70722,6 +70873,98 @@ proto.clarifai.api.InstanceType.prototype.setPrice = function(value) {
70722
70873
  };
70723
70874
 
70724
70875
 
70876
+ /**
70877
+ * optional CloudProvider cloud_provider = 5;
70878
+ * @return {?proto.clarifai.api.CloudProvider}
70879
+ */
70880
+ proto.clarifai.api.InstanceType.prototype.getCloudProvider = function() {
70881
+ return /** @type{?proto.clarifai.api.CloudProvider} */ (
70882
+ jspb.Message.getWrapperField(this, proto.clarifai.api.CloudProvider, 5));
70883
+ };
70884
+
70885
+
70886
+ /**
70887
+ * @param {?proto.clarifai.api.CloudProvider|undefined} value
70888
+ * @return {!proto.clarifai.api.InstanceType} returns this
70889
+ */
70890
+ proto.clarifai.api.InstanceType.prototype.setCloudProvider = function(value) {
70891
+ return jspb.Message.setWrapperField(this, 5, value);
70892
+ };
70893
+
70894
+
70895
+ /**
70896
+ * Clears the message field making it undefined.
70897
+ * @return {!proto.clarifai.api.InstanceType} returns this
70898
+ */
70899
+ proto.clarifai.api.InstanceType.prototype.clearCloudProvider = function() {
70900
+ return this.setCloudProvider(undefined);
70901
+ };
70902
+
70903
+
70904
+ /**
70905
+ * Returns whether this field is set.
70906
+ * @return {boolean}
70907
+ */
70908
+ proto.clarifai.api.InstanceType.prototype.hasCloudProvider = function() {
70909
+ return jspb.Message.getField(this, 5) != null;
70910
+ };
70911
+
70912
+
70913
+ /**
70914
+ * optional string region = 6;
70915
+ * @return {string}
70916
+ */
70917
+ proto.clarifai.api.InstanceType.prototype.getRegion = function() {
70918
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
70919
+ };
70920
+
70921
+
70922
+ /**
70923
+ * @param {string} value
70924
+ * @return {!proto.clarifai.api.InstanceType} returns this
70925
+ */
70926
+ proto.clarifai.api.InstanceType.prototype.setRegion = function(value) {
70927
+ return jspb.Message.setProto3StringField(this, 6, value);
70928
+ };
70929
+
70930
+
70931
+ /**
70932
+ * optional NodeCapacityType allowed_capacity_types = 7;
70933
+ * @return {?proto.clarifai.api.NodeCapacityType}
70934
+ */
70935
+ proto.clarifai.api.InstanceType.prototype.getAllowedCapacityTypes = function() {
70936
+ return /** @type{?proto.clarifai.api.NodeCapacityType} */ (
70937
+ jspb.Message.getWrapperField(this, proto.clarifai.api.NodeCapacityType, 7));
70938
+ };
70939
+
70940
+
70941
+ /**
70942
+ * @param {?proto.clarifai.api.NodeCapacityType|undefined} value
70943
+ * @return {!proto.clarifai.api.InstanceType} returns this
70944
+ */
70945
+ proto.clarifai.api.InstanceType.prototype.setAllowedCapacityTypes = function(value) {
70946
+ return jspb.Message.setWrapperField(this, 7, value);
70947
+ };
70948
+
70949
+
70950
+ /**
70951
+ * Clears the message field making it undefined.
70952
+ * @return {!proto.clarifai.api.InstanceType} returns this
70953
+ */
70954
+ proto.clarifai.api.InstanceType.prototype.clearAllowedCapacityTypes = function() {
70955
+ return this.setAllowedCapacityTypes(undefined);
70956
+ };
70957
+
70958
+
70959
+ /**
70960
+ * Returns whether this field is set.
70961
+ * @return {boolean}
70962
+ */
70963
+ proto.clarifai.api.InstanceType.prototype.hasAllowedCapacityTypes = function() {
70964
+ return jspb.Message.getField(this, 7) != null;
70965
+ };
70966
+
70967
+
70725
70968
 
70726
70969
 
70727
70970
 
@@ -71458,6 +71701,8 @@ proto.clarifai.api.ComputeInfo.toObject = function(includeInstance, msg) {
71458
71701
  var f, obj = {
71459
71702
  cpuLimit: jspb.Message.getFieldWithDefault(msg, 6, ""),
71460
71703
  cpuMemory: jspb.Message.getFieldWithDefault(msg, 2, ""),
71704
+ cpuRequests: jspb.Message.getFieldWithDefault(msg, 7, ""),
71705
+ cpuMemoryRequests: jspb.Message.getFieldWithDefault(msg, 8, ""),
71461
71706
  numAccelerators: jspb.Message.getFieldWithDefault(msg, 3, 0),
71462
71707
  acceleratorMemory: jspb.Message.getFieldWithDefault(msg, 4, ""),
71463
71708
  acceleratorTypeList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f
@@ -71505,6 +71750,14 @@ proto.clarifai.api.ComputeInfo.deserializeBinaryFromReader = function(msg, reade
71505
71750
  var value = /** @type {string} */ (reader.readString());
71506
71751
  msg.setCpuMemory(value);
71507
71752
  break;
71753
+ case 7:
71754
+ var value = /** @type {string} */ (reader.readString());
71755
+ msg.setCpuRequests(value);
71756
+ break;
71757
+ case 8:
71758
+ var value = /** @type {string} */ (reader.readString());
71759
+ msg.setCpuMemoryRequests(value);
71760
+ break;
71508
71761
  case 3:
71509
71762
  var value = /** @type {number} */ (reader.readUint32());
71510
71763
  msg.setNumAccelerators(value);
@@ -71560,6 +71813,20 @@ proto.clarifai.api.ComputeInfo.serializeBinaryToWriter = function(message, write
71560
71813
  f
71561
71814
  );
71562
71815
  }
71816
+ f = message.getCpuRequests();
71817
+ if (f.length > 0) {
71818
+ writer.writeString(
71819
+ 7,
71820
+ f
71821
+ );
71822
+ }
71823
+ f = message.getCpuMemoryRequests();
71824
+ if (f.length > 0) {
71825
+ writer.writeString(
71826
+ 8,
71827
+ f
71828
+ );
71829
+ }
71563
71830
  f = message.getNumAccelerators();
71564
71831
  if (f !== 0) {
71565
71832
  writer.writeUint32(
@@ -71620,6 +71887,42 @@ proto.clarifai.api.ComputeInfo.prototype.setCpuMemory = function(value) {
71620
71887
  };
71621
71888
 
71622
71889
 
71890
+ /**
71891
+ * optional string cpu_requests = 7;
71892
+ * @return {string}
71893
+ */
71894
+ proto.clarifai.api.ComputeInfo.prototype.getCpuRequests = function() {
71895
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
71896
+ };
71897
+
71898
+
71899
+ /**
71900
+ * @param {string} value
71901
+ * @return {!proto.clarifai.api.ComputeInfo} returns this
71902
+ */
71903
+ proto.clarifai.api.ComputeInfo.prototype.setCpuRequests = function(value) {
71904
+ return jspb.Message.setProto3StringField(this, 7, value);
71905
+ };
71906
+
71907
+
71908
+ /**
71909
+ * optional string cpu_memory_requests = 8;
71910
+ * @return {string}
71911
+ */
71912
+ proto.clarifai.api.ComputeInfo.prototype.getCpuMemoryRequests = function() {
71913
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
71914
+ };
71915
+
71916
+
71917
+ /**
71918
+ * @param {string} value
71919
+ * @return {!proto.clarifai.api.ComputeInfo} returns this
71920
+ */
71921
+ proto.clarifai.api.ComputeInfo.prototype.setCpuMemoryRequests = function(value) {
71922
+ return jspb.Message.setProto3StringField(this, 8, value);
71923
+ };
71924
+
71925
+
71623
71926
  /**
71624
71927
  * optional uint32 num_accelerators = 3;
71625
71928
  * @return {number}
@@ -72053,7 +72356,8 @@ proto.clarifai.api.Deployment.toObject = function(includeInstance, msg) {
72053
72356
  description: jspb.Message.getFieldWithDefault(msg, 10, ""),
72054
72357
  worker: (f = msg.getWorker()) && proto.clarifai.api.Worker.toObject(includeInstance, f),
72055
72358
  createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
72056
- modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
72359
+ modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
72360
+ deployLatestVersion: jspb.Message.getBooleanFieldWithDefault(msg, 14, false)
72057
72361
  };
72058
72362
 
72059
72363
  if (includeInstance) {
@@ -72141,6 +72445,10 @@ proto.clarifai.api.Deployment.deserializeBinaryFromReader = function(msg, reader
72141
72445
  reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
72142
72446
  msg.setModifiedAt(value);
72143
72447
  break;
72448
+ case 14:
72449
+ var value = /** @type {boolean} */ (reader.readBool());
72450
+ msg.setDeployLatestVersion(value);
72451
+ break;
72144
72452
  default:
72145
72453
  reader.skipField();
72146
72454
  break;
@@ -72254,6 +72562,13 @@ proto.clarifai.api.Deployment.serializeBinaryToWriter = function(message, writer
72254
72562
  google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
72255
72563
  );
72256
72564
  }
72565
+ f = message.getDeployLatestVersion();
72566
+ if (f) {
72567
+ writer.writeBool(
72568
+ 14,
72569
+ f
72570
+ );
72571
+ }
72257
72572
  };
72258
72573
 
72259
72574
 
@@ -72604,6 +72919,24 @@ proto.clarifai.api.Deployment.prototype.hasModifiedAt = function() {
72604
72919
  };
72605
72920
 
72606
72921
 
72922
+ /**
72923
+ * optional bool deploy_latest_version = 14;
72924
+ * @return {boolean}
72925
+ */
72926
+ proto.clarifai.api.Deployment.prototype.getDeployLatestVersion = function() {
72927
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 14, false));
72928
+ };
72929
+
72930
+
72931
+ /**
72932
+ * @param {boolean} value
72933
+ * @return {!proto.clarifai.api.Deployment} returns this
72934
+ */
72935
+ proto.clarifai.api.Deployment.prototype.setDeployLatestVersion = function(value) {
72936
+ return jspb.Message.setProto3BooleanField(this, 14, value);
72937
+ };
72938
+
72939
+
72607
72940
 
72608
72941
 
72609
72942
 
@@ -73077,7 +73410,7 @@ proto.clarifai.api.ProcessingInfo.prototype.setProcessingId = function(value) {
73077
73410
  * @private {!Array<!Array<number>>}
73078
73411
  * @const
73079
73412
  */
73080
- proto.clarifai.api.AuditLogTarget.oneofGroups_ = [[1,2,3,4,5,6,7,8,9,10]];
73413
+ proto.clarifai.api.AuditLogTarget.oneofGroups_ = [[1,2,3,4,5,6,7,8,9,10,11,12,13]];
73081
73414
 
73082
73415
  /**
73083
73416
  * @enum {number}
@@ -73093,7 +73426,10 @@ proto.clarifai.api.AuditLogTarget.TargetCase = {
73093
73426
  WORKFLOW: 7,
73094
73427
  WORKFLOW_VERSION: 8,
73095
73428
  MODEL: 9,
73096
- MODEL_VERSION: 10
73429
+ MODEL_VERSION: 10,
73430
+ COMPUTE_CLUSTER: 11,
73431
+ NODEPOOL: 12,
73432
+ DEPLOYMENT: 13
73097
73433
  };
73098
73434
 
73099
73435
  /**
@@ -73143,7 +73479,10 @@ proto.clarifai.api.AuditLogTarget.toObject = function(includeInstance, msg) {
73143
73479
  workflow: (f = msg.getWorkflow()) && proto.clarifai.api.Workflow.toObject(includeInstance, f),
73144
73480
  workflowVersion: (f = msg.getWorkflowVersion()) && proto.clarifai.api.WorkflowVersion.toObject(includeInstance, f),
73145
73481
  model: (f = msg.getModel()) && proto.clarifai.api.Model.toObject(includeInstance, f),
73146
- modelVersion: (f = msg.getModelVersion()) && proto.clarifai.api.ModelVersion.toObject(includeInstance, f)
73482
+ modelVersion: (f = msg.getModelVersion()) && proto.clarifai.api.ModelVersion.toObject(includeInstance, f),
73483
+ computeCluster: (f = msg.getComputeCluster()) && proto.clarifai.api.ComputeCluster.toObject(includeInstance, f),
73484
+ nodepool: (f = msg.getNodepool()) && proto.clarifai.api.Nodepool.toObject(includeInstance, f),
73485
+ deployment: (f = msg.getDeployment()) && proto.clarifai.api.Deployment.toObject(includeInstance, f)
73147
73486
  };
73148
73487
 
73149
73488
  if (includeInstance) {
@@ -73230,6 +73569,21 @@ proto.clarifai.api.AuditLogTarget.deserializeBinaryFromReader = function(msg, re
73230
73569
  reader.readMessage(value,proto.clarifai.api.ModelVersion.deserializeBinaryFromReader);
73231
73570
  msg.setModelVersion(value);
73232
73571
  break;
73572
+ case 11:
73573
+ var value = new proto.clarifai.api.ComputeCluster;
73574
+ reader.readMessage(value,proto.clarifai.api.ComputeCluster.deserializeBinaryFromReader);
73575
+ msg.setComputeCluster(value);
73576
+ break;
73577
+ case 12:
73578
+ var value = new proto.clarifai.api.Nodepool;
73579
+ reader.readMessage(value,proto.clarifai.api.Nodepool.deserializeBinaryFromReader);
73580
+ msg.setNodepool(value);
73581
+ break;
73582
+ case 13:
73583
+ var value = new proto.clarifai.api.Deployment;
73584
+ reader.readMessage(value,proto.clarifai.api.Deployment.deserializeBinaryFromReader);
73585
+ msg.setDeployment(value);
73586
+ break;
73233
73587
  default:
73234
73588
  reader.skipField();
73235
73589
  break;
@@ -73339,6 +73693,30 @@ proto.clarifai.api.AuditLogTarget.serializeBinaryToWriter = function(message, wr
73339
73693
  proto.clarifai.api.ModelVersion.serializeBinaryToWriter
73340
73694
  );
73341
73695
  }
73696
+ f = message.getComputeCluster();
73697
+ if (f != null) {
73698
+ writer.writeMessage(
73699
+ 11,
73700
+ f,
73701
+ proto.clarifai.api.ComputeCluster.serializeBinaryToWriter
73702
+ );
73703
+ }
73704
+ f = message.getNodepool();
73705
+ if (f != null) {
73706
+ writer.writeMessage(
73707
+ 12,
73708
+ f,
73709
+ proto.clarifai.api.Nodepool.serializeBinaryToWriter
73710
+ );
73711
+ }
73712
+ f = message.getDeployment();
73713
+ if (f != null) {
73714
+ writer.writeMessage(
73715
+ 13,
73716
+ f,
73717
+ proto.clarifai.api.Deployment.serializeBinaryToWriter
73718
+ );
73719
+ }
73342
73720
  };
73343
73721
 
73344
73722
 
@@ -73712,6 +74090,117 @@ proto.clarifai.api.AuditLogTarget.prototype.hasModelVersion = function() {
73712
74090
  };
73713
74091
 
73714
74092
 
74093
+ /**
74094
+ * optional ComputeCluster compute_cluster = 11;
74095
+ * @return {?proto.clarifai.api.ComputeCluster}
74096
+ */
74097
+ proto.clarifai.api.AuditLogTarget.prototype.getComputeCluster = function() {
74098
+ return /** @type{?proto.clarifai.api.ComputeCluster} */ (
74099
+ jspb.Message.getWrapperField(this, proto.clarifai.api.ComputeCluster, 11));
74100
+ };
74101
+
74102
+
74103
+ /**
74104
+ * @param {?proto.clarifai.api.ComputeCluster|undefined} value
74105
+ * @return {!proto.clarifai.api.AuditLogTarget} returns this
74106
+ */
74107
+ proto.clarifai.api.AuditLogTarget.prototype.setComputeCluster = function(value) {
74108
+ return jspb.Message.setOneofWrapperField(this, 11, proto.clarifai.api.AuditLogTarget.oneofGroups_[0], value);
74109
+ };
74110
+
74111
+
74112
+ /**
74113
+ * Clears the message field making it undefined.
74114
+ * @return {!proto.clarifai.api.AuditLogTarget} returns this
74115
+ */
74116
+ proto.clarifai.api.AuditLogTarget.prototype.clearComputeCluster = function() {
74117
+ return this.setComputeCluster(undefined);
74118
+ };
74119
+
74120
+
74121
+ /**
74122
+ * Returns whether this field is set.
74123
+ * @return {boolean}
74124
+ */
74125
+ proto.clarifai.api.AuditLogTarget.prototype.hasComputeCluster = function() {
74126
+ return jspb.Message.getField(this, 11) != null;
74127
+ };
74128
+
74129
+
74130
+ /**
74131
+ * optional Nodepool nodepool = 12;
74132
+ * @return {?proto.clarifai.api.Nodepool}
74133
+ */
74134
+ proto.clarifai.api.AuditLogTarget.prototype.getNodepool = function() {
74135
+ return /** @type{?proto.clarifai.api.Nodepool} */ (
74136
+ jspb.Message.getWrapperField(this, proto.clarifai.api.Nodepool, 12));
74137
+ };
74138
+
74139
+
74140
+ /**
74141
+ * @param {?proto.clarifai.api.Nodepool|undefined} value
74142
+ * @return {!proto.clarifai.api.AuditLogTarget} returns this
74143
+ */
74144
+ proto.clarifai.api.AuditLogTarget.prototype.setNodepool = function(value) {
74145
+ return jspb.Message.setOneofWrapperField(this, 12, proto.clarifai.api.AuditLogTarget.oneofGroups_[0], value);
74146
+ };
74147
+
74148
+
74149
+ /**
74150
+ * Clears the message field making it undefined.
74151
+ * @return {!proto.clarifai.api.AuditLogTarget} returns this
74152
+ */
74153
+ proto.clarifai.api.AuditLogTarget.prototype.clearNodepool = function() {
74154
+ return this.setNodepool(undefined);
74155
+ };
74156
+
74157
+
74158
+ /**
74159
+ * Returns whether this field is set.
74160
+ * @return {boolean}
74161
+ */
74162
+ proto.clarifai.api.AuditLogTarget.prototype.hasNodepool = function() {
74163
+ return jspb.Message.getField(this, 12) != null;
74164
+ };
74165
+
74166
+
74167
+ /**
74168
+ * optional Deployment deployment = 13;
74169
+ * @return {?proto.clarifai.api.Deployment}
74170
+ */
74171
+ proto.clarifai.api.AuditLogTarget.prototype.getDeployment = function() {
74172
+ return /** @type{?proto.clarifai.api.Deployment} */ (
74173
+ jspb.Message.getWrapperField(this, proto.clarifai.api.Deployment, 13));
74174
+ };
74175
+
74176
+
74177
+ /**
74178
+ * @param {?proto.clarifai.api.Deployment|undefined} value
74179
+ * @return {!proto.clarifai.api.AuditLogTarget} returns this
74180
+ */
74181
+ proto.clarifai.api.AuditLogTarget.prototype.setDeployment = function(value) {
74182
+ return jspb.Message.setOneofWrapperField(this, 13, proto.clarifai.api.AuditLogTarget.oneofGroups_[0], value);
74183
+ };
74184
+
74185
+
74186
+ /**
74187
+ * Clears the message field making it undefined.
74188
+ * @return {!proto.clarifai.api.AuditLogTarget} returns this
74189
+ */
74190
+ proto.clarifai.api.AuditLogTarget.prototype.clearDeployment = function() {
74191
+ return this.setDeployment(undefined);
74192
+ };
74193
+
74194
+
74195
+ /**
74196
+ * Returns whether this field is set.
74197
+ * @return {boolean}
74198
+ */
74199
+ proto.clarifai.api.AuditLogTarget.prototype.hasDeployment = function() {
74200
+ return jspb.Message.getField(this, 13) != null;
74201
+ };
74202
+
74203
+
73715
74204
 
73716
74205
  /**
73717
74206
  * List of repeated fields within this message type.
@@ -76540,7 +77029,9 @@ proto.clarifai.api.ComputeSourceMetadata.toObject = function(includeInstance, ms
76540
77029
  runnerId: jspb.Message.getFieldWithDefault(msg, 8, ""),
76541
77030
  pipelineId: jspb.Message.getFieldWithDefault(msg, 9, ""),
76542
77031
  pipelineVersionId: jspb.Message.getFieldWithDefault(msg, 10, ""),
76543
- pipelineVersionRunId: jspb.Message.getFieldWithDefault(msg, 11, "")
77032
+ pipelineVersionRunId: jspb.Message.getFieldWithDefault(msg, 11, ""),
77033
+ pipelineStepId: jspb.Message.getFieldWithDefault(msg, 12, ""),
77034
+ pipelineStepVersionId: jspb.Message.getFieldWithDefault(msg, 13, "")
76544
77035
  };
76545
77036
 
76546
77037
  if (includeInstance) {
@@ -76618,6 +77109,14 @@ proto.clarifai.api.ComputeSourceMetadata.deserializeBinaryFromReader = function(
76618
77109
  var value = /** @type {string} */ (reader.readString());
76619
77110
  msg.setPipelineVersionRunId(value);
76620
77111
  break;
77112
+ case 12:
77113
+ var value = /** @type {string} */ (reader.readString());
77114
+ msg.setPipelineStepId(value);
77115
+ break;
77116
+ case 13:
77117
+ var value = /** @type {string} */ (reader.readString());
77118
+ msg.setPipelineStepVersionId(value);
77119
+ break;
76621
77120
  default:
76622
77121
  reader.skipField();
76623
77122
  break;
@@ -76718,6 +77217,20 @@ proto.clarifai.api.ComputeSourceMetadata.serializeBinaryToWriter = function(mess
76718
77217
  f
76719
77218
  );
76720
77219
  }
77220
+ f = message.getPipelineStepId();
77221
+ if (f.length > 0) {
77222
+ writer.writeString(
77223
+ 12,
77224
+ f
77225
+ );
77226
+ }
77227
+ f = message.getPipelineStepVersionId();
77228
+ if (f.length > 0) {
77229
+ writer.writeString(
77230
+ 13,
77231
+ f
77232
+ );
77233
+ }
76721
77234
  };
76722
77235
 
76723
77236
 
@@ -76920,6 +77433,42 @@ proto.clarifai.api.ComputeSourceMetadata.prototype.setPipelineVersionRunId = fun
76920
77433
  };
76921
77434
 
76922
77435
 
77436
+ /**
77437
+ * optional string pipeline_step_id = 12;
77438
+ * @return {string}
77439
+ */
77440
+ proto.clarifai.api.ComputeSourceMetadata.prototype.getPipelineStepId = function() {
77441
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
77442
+ };
77443
+
77444
+
77445
+ /**
77446
+ * @param {string} value
77447
+ * @return {!proto.clarifai.api.ComputeSourceMetadata} returns this
77448
+ */
77449
+ proto.clarifai.api.ComputeSourceMetadata.prototype.setPipelineStepId = function(value) {
77450
+ return jspb.Message.setProto3StringField(this, 12, value);
77451
+ };
77452
+
77453
+
77454
+ /**
77455
+ * optional string pipeline_step_version_id = 13;
77456
+ * @return {string}
77457
+ */
77458
+ proto.clarifai.api.ComputeSourceMetadata.prototype.getPipelineStepVersionId = function() {
77459
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
77460
+ };
77461
+
77462
+
77463
+ /**
77464
+ * @param {string} value
77465
+ * @return {!proto.clarifai.api.ComputeSourceMetadata} returns this
77466
+ */
77467
+ proto.clarifai.api.ComputeSourceMetadata.prototype.setPipelineStepVersionId = function(value) {
77468
+ return jspb.Message.setProto3StringField(this, 13, value);
77469
+ };
77470
+
77471
+
76923
77472
 
76924
77473
 
76925
77474
 
@@ -76953,18 +77502,17 @@ proto.clarifai.api.WorkflowVersionEvaluation.prototype.toObject = function(opt_i
76953
77502
  proto.clarifai.api.WorkflowVersionEvaluation.toObject = function(includeInstance, msg) {
76954
77503
  var f, obj = {
76955
77504
  id: jspb.Message.getFieldWithDefault(msg, 1, ""),
76956
- workflowId: jspb.Message.getFieldWithDefault(msg, 2, ""),
76957
- workflowVersionId: jspb.Message.getFieldWithDefault(msg, 3, ""),
76958
- groundTruthDatasetId: jspb.Message.getFieldWithDefault(msg, 4, ""),
76959
- groundTruthDatasetVersionId: jspb.Message.getFieldWithDefault(msg, 5, ""),
76960
- predictionsDatasetId: jspb.Message.getFieldWithDefault(msg, 6, ""),
76961
- predictionsDatasetVersionId: jspb.Message.getFieldWithDefault(msg, 7, ""),
76962
- evaluationTemplateId: jspb.Message.getFieldWithDefault(msg, 8, ""),
77505
+ workflowVersion: (f = msg.getWorkflowVersion()) && proto.clarifai.api.WorkflowVersion.toObject(includeInstance, f),
77506
+ targetNodeId: jspb.Message.getFieldWithDefault(msg, 3, ""),
77507
+ groundTruthDatasetVersion: (f = msg.getGroundTruthDatasetVersion()) && proto.clarifai.api.DatasetVersion.toObject(includeInstance, f),
77508
+ predictionsDatasetVersion: (f = msg.getPredictionsDatasetVersion()) && proto.clarifai.api.DatasetVersion.toObject(includeInstance, f),
77509
+ workflowVersionEvaluationTemplate: (f = msg.getWorkflowVersionEvaluationTemplate()) && proto.clarifai.api.WorkflowVersionEvaluationTemplate.toObject(includeInstance, f),
77510
+ userId: jspb.Message.getFieldWithDefault(msg, 7, ""),
77511
+ appId: jspb.Message.getFieldWithDefault(msg, 8, ""),
76963
77512
  workflowEvaluationResult: (f = msg.getWorkflowEvaluationResult()) && proto.clarifai.api.WorkflowEvaluationResult.toObject(includeInstance, f),
76964
77513
  status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
76965
77514
  createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
76966
- modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
76967
- targetNodeId: jspb.Message.getFieldWithDefault(msg, 13, "")
77515
+ modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
76968
77516
  };
76969
77517
 
76970
77518
  if (includeInstance) {
@@ -77006,32 +77554,36 @@ proto.clarifai.api.WorkflowVersionEvaluation.deserializeBinaryFromReader = funct
77006
77554
  msg.setId(value);
77007
77555
  break;
77008
77556
  case 2:
77009
- var value = /** @type {string} */ (reader.readString());
77010
- msg.setWorkflowId(value);
77557
+ var value = new proto.clarifai.api.WorkflowVersion;
77558
+ reader.readMessage(value,proto.clarifai.api.WorkflowVersion.deserializeBinaryFromReader);
77559
+ msg.setWorkflowVersion(value);
77011
77560
  break;
77012
77561
  case 3:
77013
77562
  var value = /** @type {string} */ (reader.readString());
77014
- msg.setWorkflowVersionId(value);
77563
+ msg.setTargetNodeId(value);
77015
77564
  break;
77016
77565
  case 4:
77017
- var value = /** @type {string} */ (reader.readString());
77018
- msg.setGroundTruthDatasetId(value);
77566
+ var value = new proto.clarifai.api.DatasetVersion;
77567
+ reader.readMessage(value,proto.clarifai.api.DatasetVersion.deserializeBinaryFromReader);
77568
+ msg.setGroundTruthDatasetVersion(value);
77019
77569
  break;
77020
77570
  case 5:
77021
- var value = /** @type {string} */ (reader.readString());
77022
- msg.setGroundTruthDatasetVersionId(value);
77571
+ var value = new proto.clarifai.api.DatasetVersion;
77572
+ reader.readMessage(value,proto.clarifai.api.DatasetVersion.deserializeBinaryFromReader);
77573
+ msg.setPredictionsDatasetVersion(value);
77023
77574
  break;
77024
77575
  case 6:
77025
- var value = /** @type {string} */ (reader.readString());
77026
- msg.setPredictionsDatasetId(value);
77576
+ var value = new proto.clarifai.api.WorkflowVersionEvaluationTemplate;
77577
+ reader.readMessage(value,proto.clarifai.api.WorkflowVersionEvaluationTemplate.deserializeBinaryFromReader);
77578
+ msg.setWorkflowVersionEvaluationTemplate(value);
77027
77579
  break;
77028
77580
  case 7:
77029
77581
  var value = /** @type {string} */ (reader.readString());
77030
- msg.setPredictionsDatasetVersionId(value);
77582
+ msg.setUserId(value);
77031
77583
  break;
77032
77584
  case 8:
77033
77585
  var value = /** @type {string} */ (reader.readString());
77034
- msg.setEvaluationTemplateId(value);
77586
+ msg.setAppId(value);
77035
77587
  break;
77036
77588
  case 9:
77037
77589
  var value = new proto.clarifai.api.WorkflowEvaluationResult;
@@ -77053,10 +77605,6 @@ proto.clarifai.api.WorkflowVersionEvaluation.deserializeBinaryFromReader = funct
77053
77605
  reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
77054
77606
  msg.setModifiedAt(value);
77055
77607
  break;
77056
- case 13:
77057
- var value = /** @type {string} */ (reader.readString());
77058
- msg.setTargetNodeId(value);
77059
- break;
77060
77608
  default:
77061
77609
  reader.skipField();
77062
77610
  break;
@@ -77093,49 +77641,53 @@ proto.clarifai.api.WorkflowVersionEvaluation.serializeBinaryToWriter = function(
77093
77641
  f
77094
77642
  );
77095
77643
  }
77096
- f = message.getWorkflowId();
77097
- if (f.length > 0) {
77098
- writer.writeString(
77644
+ f = message.getWorkflowVersion();
77645
+ if (f != null) {
77646
+ writer.writeMessage(
77099
77647
  2,
77100
- f
77648
+ f,
77649
+ proto.clarifai.api.WorkflowVersion.serializeBinaryToWriter
77101
77650
  );
77102
77651
  }
77103
- f = message.getWorkflowVersionId();
77652
+ f = message.getTargetNodeId();
77104
77653
  if (f.length > 0) {
77105
77654
  writer.writeString(
77106
77655
  3,
77107
77656
  f
77108
77657
  );
77109
77658
  }
77110
- f = message.getGroundTruthDatasetId();
77111
- if (f.length > 0) {
77112
- writer.writeString(
77659
+ f = message.getGroundTruthDatasetVersion();
77660
+ if (f != null) {
77661
+ writer.writeMessage(
77113
77662
  4,
77114
- f
77663
+ f,
77664
+ proto.clarifai.api.DatasetVersion.serializeBinaryToWriter
77115
77665
  );
77116
77666
  }
77117
- f = message.getGroundTruthDatasetVersionId();
77118
- if (f.length > 0) {
77119
- writer.writeString(
77667
+ f = message.getPredictionsDatasetVersion();
77668
+ if (f != null) {
77669
+ writer.writeMessage(
77120
77670
  5,
77121
- f
77671
+ f,
77672
+ proto.clarifai.api.DatasetVersion.serializeBinaryToWriter
77122
77673
  );
77123
77674
  }
77124
- f = message.getPredictionsDatasetId();
77125
- if (f.length > 0) {
77126
- writer.writeString(
77675
+ f = message.getWorkflowVersionEvaluationTemplate();
77676
+ if (f != null) {
77677
+ writer.writeMessage(
77127
77678
  6,
77128
- f
77679
+ f,
77680
+ proto.clarifai.api.WorkflowVersionEvaluationTemplate.serializeBinaryToWriter
77129
77681
  );
77130
77682
  }
77131
- f = message.getPredictionsDatasetVersionId();
77683
+ f = message.getUserId();
77132
77684
  if (f.length > 0) {
77133
77685
  writer.writeString(
77134
77686
  7,
77135
77687
  f
77136
77688
  );
77137
77689
  }
77138
- f = message.getEvaluationTemplateId();
77690
+ f = message.getAppId();
77139
77691
  if (f.length > 0) {
77140
77692
  writer.writeString(
77141
77693
  8,
@@ -77174,13 +77726,6 @@ proto.clarifai.api.WorkflowVersionEvaluation.serializeBinaryToWriter = function(
77174
77726
  google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
77175
77727
  );
77176
77728
  }
77177
- f = message.getTargetNodeId();
77178
- if (f.length > 0) {
77179
- writer.writeString(
77180
- 13,
77181
- f
77182
- );
77183
- }
77184
77729
  };
77185
77730
 
77186
77731
 
@@ -77203,28 +77748,47 @@ proto.clarifai.api.WorkflowVersionEvaluation.prototype.setId = function(value) {
77203
77748
 
77204
77749
 
77205
77750
  /**
77206
- * optional string workflow_id = 2;
77207
- * @return {string}
77751
+ * optional WorkflowVersion workflow_version = 2;
77752
+ * @return {?proto.clarifai.api.WorkflowVersion}
77208
77753
  */
77209
- proto.clarifai.api.WorkflowVersionEvaluation.prototype.getWorkflowId = function() {
77210
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
77754
+ proto.clarifai.api.WorkflowVersionEvaluation.prototype.getWorkflowVersion = function() {
77755
+ return /** @type{?proto.clarifai.api.WorkflowVersion} */ (
77756
+ jspb.Message.getWrapperField(this, proto.clarifai.api.WorkflowVersion, 2));
77211
77757
  };
77212
77758
 
77213
77759
 
77214
77760
  /**
77215
- * @param {string} value
77761
+ * @param {?proto.clarifai.api.WorkflowVersion|undefined} value
77762
+ * @return {!proto.clarifai.api.WorkflowVersionEvaluation} returns this
77763
+ */
77764
+ proto.clarifai.api.WorkflowVersionEvaluation.prototype.setWorkflowVersion = function(value) {
77765
+ return jspb.Message.setWrapperField(this, 2, value);
77766
+ };
77767
+
77768
+
77769
+ /**
77770
+ * Clears the message field making it undefined.
77216
77771
  * @return {!proto.clarifai.api.WorkflowVersionEvaluation} returns this
77217
77772
  */
77218
- proto.clarifai.api.WorkflowVersionEvaluation.prototype.setWorkflowId = function(value) {
77219
- return jspb.Message.setProto3StringField(this, 2, value);
77773
+ proto.clarifai.api.WorkflowVersionEvaluation.prototype.clearWorkflowVersion = function() {
77774
+ return this.setWorkflowVersion(undefined);
77775
+ };
77776
+
77777
+
77778
+ /**
77779
+ * Returns whether this field is set.
77780
+ * @return {boolean}
77781
+ */
77782
+ proto.clarifai.api.WorkflowVersionEvaluation.prototype.hasWorkflowVersion = function() {
77783
+ return jspb.Message.getField(this, 2) != null;
77220
77784
  };
77221
77785
 
77222
77786
 
77223
77787
  /**
77224
- * optional string workflow_version_id = 3;
77788
+ * optional string target_node_id = 3;
77225
77789
  * @return {string}
77226
77790
  */
77227
- proto.clarifai.api.WorkflowVersionEvaluation.prototype.getWorkflowVersionId = function() {
77791
+ proto.clarifai.api.WorkflowVersionEvaluation.prototype.getTargetNodeId = function() {
77228
77792
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
77229
77793
  };
77230
77794
 
@@ -77233,70 +77797,127 @@ proto.clarifai.api.WorkflowVersionEvaluation.prototype.getWorkflowVersionId = fu
77233
77797
  * @param {string} value
77234
77798
  * @return {!proto.clarifai.api.WorkflowVersionEvaluation} returns this
77235
77799
  */
77236
- proto.clarifai.api.WorkflowVersionEvaluation.prototype.setWorkflowVersionId = function(value) {
77800
+ proto.clarifai.api.WorkflowVersionEvaluation.prototype.setTargetNodeId = function(value) {
77237
77801
  return jspb.Message.setProto3StringField(this, 3, value);
77238
77802
  };
77239
77803
 
77240
77804
 
77241
77805
  /**
77242
- * optional string ground_truth_dataset_id = 4;
77243
- * @return {string}
77806
+ * optional DatasetVersion ground_truth_dataset_version = 4;
77807
+ * @return {?proto.clarifai.api.DatasetVersion}
77244
77808
  */
77245
- proto.clarifai.api.WorkflowVersionEvaluation.prototype.getGroundTruthDatasetId = function() {
77246
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
77809
+ proto.clarifai.api.WorkflowVersionEvaluation.prototype.getGroundTruthDatasetVersion = function() {
77810
+ return /** @type{?proto.clarifai.api.DatasetVersion} */ (
77811
+ jspb.Message.getWrapperField(this, proto.clarifai.api.DatasetVersion, 4));
77247
77812
  };
77248
77813
 
77249
77814
 
77250
77815
  /**
77251
- * @param {string} value
77816
+ * @param {?proto.clarifai.api.DatasetVersion|undefined} value
77817
+ * @return {!proto.clarifai.api.WorkflowVersionEvaluation} returns this
77818
+ */
77819
+ proto.clarifai.api.WorkflowVersionEvaluation.prototype.setGroundTruthDatasetVersion = function(value) {
77820
+ return jspb.Message.setWrapperField(this, 4, value);
77821
+ };
77822
+
77823
+
77824
+ /**
77825
+ * Clears the message field making it undefined.
77252
77826
  * @return {!proto.clarifai.api.WorkflowVersionEvaluation} returns this
77253
77827
  */
77254
- proto.clarifai.api.WorkflowVersionEvaluation.prototype.setGroundTruthDatasetId = function(value) {
77255
- return jspb.Message.setProto3StringField(this, 4, value);
77828
+ proto.clarifai.api.WorkflowVersionEvaluation.prototype.clearGroundTruthDatasetVersion = function() {
77829
+ return this.setGroundTruthDatasetVersion(undefined);
77256
77830
  };
77257
77831
 
77258
77832
 
77259
77833
  /**
77260
- * optional string ground_truth_dataset_version_id = 5;
77261
- * @return {string}
77834
+ * Returns whether this field is set.
77835
+ * @return {boolean}
77262
77836
  */
77263
- proto.clarifai.api.WorkflowVersionEvaluation.prototype.getGroundTruthDatasetVersionId = function() {
77264
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
77837
+ proto.clarifai.api.WorkflowVersionEvaluation.prototype.hasGroundTruthDatasetVersion = function() {
77838
+ return jspb.Message.getField(this, 4) != null;
77265
77839
  };
77266
77840
 
77267
77841
 
77268
77842
  /**
77269
- * @param {string} value
77843
+ * optional DatasetVersion predictions_dataset_version = 5;
77844
+ * @return {?proto.clarifai.api.DatasetVersion}
77845
+ */
77846
+ proto.clarifai.api.WorkflowVersionEvaluation.prototype.getPredictionsDatasetVersion = function() {
77847
+ return /** @type{?proto.clarifai.api.DatasetVersion} */ (
77848
+ jspb.Message.getWrapperField(this, proto.clarifai.api.DatasetVersion, 5));
77849
+ };
77850
+
77851
+
77852
+ /**
77853
+ * @param {?proto.clarifai.api.DatasetVersion|undefined} value
77854
+ * @return {!proto.clarifai.api.WorkflowVersionEvaluation} returns this
77855
+ */
77856
+ proto.clarifai.api.WorkflowVersionEvaluation.prototype.setPredictionsDatasetVersion = function(value) {
77857
+ return jspb.Message.setWrapperField(this, 5, value);
77858
+ };
77859
+
77860
+
77861
+ /**
77862
+ * Clears the message field making it undefined.
77270
77863
  * @return {!proto.clarifai.api.WorkflowVersionEvaluation} returns this
77271
77864
  */
77272
- proto.clarifai.api.WorkflowVersionEvaluation.prototype.setGroundTruthDatasetVersionId = function(value) {
77273
- return jspb.Message.setProto3StringField(this, 5, value);
77865
+ proto.clarifai.api.WorkflowVersionEvaluation.prototype.clearPredictionsDatasetVersion = function() {
77866
+ return this.setPredictionsDatasetVersion(undefined);
77274
77867
  };
77275
77868
 
77276
77869
 
77277
77870
  /**
77278
- * optional string predictions_dataset_id = 6;
77279
- * @return {string}
77871
+ * Returns whether this field is set.
77872
+ * @return {boolean}
77280
77873
  */
77281
- proto.clarifai.api.WorkflowVersionEvaluation.prototype.getPredictionsDatasetId = function() {
77282
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
77874
+ proto.clarifai.api.WorkflowVersionEvaluation.prototype.hasPredictionsDatasetVersion = function() {
77875
+ return jspb.Message.getField(this, 5) != null;
77283
77876
  };
77284
77877
 
77285
77878
 
77286
77879
  /**
77287
- * @param {string} value
77880
+ * optional WorkflowVersionEvaluationTemplate workflow_version_evaluation_template = 6;
77881
+ * @return {?proto.clarifai.api.WorkflowVersionEvaluationTemplate}
77882
+ */
77883
+ proto.clarifai.api.WorkflowVersionEvaluation.prototype.getWorkflowVersionEvaluationTemplate = function() {
77884
+ return /** @type{?proto.clarifai.api.WorkflowVersionEvaluationTemplate} */ (
77885
+ jspb.Message.getWrapperField(this, proto.clarifai.api.WorkflowVersionEvaluationTemplate, 6));
77886
+ };
77887
+
77888
+
77889
+ /**
77890
+ * @param {?proto.clarifai.api.WorkflowVersionEvaluationTemplate|undefined} value
77891
+ * @return {!proto.clarifai.api.WorkflowVersionEvaluation} returns this
77892
+ */
77893
+ proto.clarifai.api.WorkflowVersionEvaluation.prototype.setWorkflowVersionEvaluationTemplate = function(value) {
77894
+ return jspb.Message.setWrapperField(this, 6, value);
77895
+ };
77896
+
77897
+
77898
+ /**
77899
+ * Clears the message field making it undefined.
77288
77900
  * @return {!proto.clarifai.api.WorkflowVersionEvaluation} returns this
77289
77901
  */
77290
- proto.clarifai.api.WorkflowVersionEvaluation.prototype.setPredictionsDatasetId = function(value) {
77291
- return jspb.Message.setProto3StringField(this, 6, value);
77902
+ proto.clarifai.api.WorkflowVersionEvaluation.prototype.clearWorkflowVersionEvaluationTemplate = function() {
77903
+ return this.setWorkflowVersionEvaluationTemplate(undefined);
77904
+ };
77905
+
77906
+
77907
+ /**
77908
+ * Returns whether this field is set.
77909
+ * @return {boolean}
77910
+ */
77911
+ proto.clarifai.api.WorkflowVersionEvaluation.prototype.hasWorkflowVersionEvaluationTemplate = function() {
77912
+ return jspb.Message.getField(this, 6) != null;
77292
77913
  };
77293
77914
 
77294
77915
 
77295
77916
  /**
77296
- * optional string predictions_dataset_version_id = 7;
77917
+ * optional string user_id = 7;
77297
77918
  * @return {string}
77298
77919
  */
77299
- proto.clarifai.api.WorkflowVersionEvaluation.prototype.getPredictionsDatasetVersionId = function() {
77920
+ proto.clarifai.api.WorkflowVersionEvaluation.prototype.getUserId = function() {
77300
77921
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
77301
77922
  };
77302
77923
 
@@ -77305,16 +77926,16 @@ proto.clarifai.api.WorkflowVersionEvaluation.prototype.getPredictionsDatasetVers
77305
77926
  * @param {string} value
77306
77927
  * @return {!proto.clarifai.api.WorkflowVersionEvaluation} returns this
77307
77928
  */
77308
- proto.clarifai.api.WorkflowVersionEvaluation.prototype.setPredictionsDatasetVersionId = function(value) {
77929
+ proto.clarifai.api.WorkflowVersionEvaluation.prototype.setUserId = function(value) {
77309
77930
  return jspb.Message.setProto3StringField(this, 7, value);
77310
77931
  };
77311
77932
 
77312
77933
 
77313
77934
  /**
77314
- * optional string evaluation_template_id = 8;
77935
+ * optional string app_id = 8;
77315
77936
  * @return {string}
77316
77937
  */
77317
- proto.clarifai.api.WorkflowVersionEvaluation.prototype.getEvaluationTemplateId = function() {
77938
+ proto.clarifai.api.WorkflowVersionEvaluation.prototype.getAppId = function() {
77318
77939
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
77319
77940
  };
77320
77941
 
@@ -77323,7 +77944,7 @@ proto.clarifai.api.WorkflowVersionEvaluation.prototype.getEvaluationTemplateId =
77323
77944
  * @param {string} value
77324
77945
  * @return {!proto.clarifai.api.WorkflowVersionEvaluation} returns this
77325
77946
  */
77326
- proto.clarifai.api.WorkflowVersionEvaluation.prototype.setEvaluationTemplateId = function(value) {
77947
+ proto.clarifai.api.WorkflowVersionEvaluation.prototype.setAppId = function(value) {
77327
77948
  return jspb.Message.setProto3StringField(this, 8, value);
77328
77949
  };
77329
77950
 
@@ -77476,24 +78097,6 @@ proto.clarifai.api.WorkflowVersionEvaluation.prototype.hasModifiedAt = function(
77476
78097
  };
77477
78098
 
77478
78099
 
77479
- /**
77480
- * optional string target_node_id = 13;
77481
- * @return {string}
77482
- */
77483
- proto.clarifai.api.WorkflowVersionEvaluation.prototype.getTargetNodeId = function() {
77484
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
77485
- };
77486
-
77487
-
77488
- /**
77489
- * @param {string} value
77490
- * @return {!proto.clarifai.api.WorkflowVersionEvaluation} returns this
77491
- */
77492
- proto.clarifai.api.WorkflowVersionEvaluation.prototype.setTargetNodeId = function(value) {
77493
- return jspb.Message.setProto3StringField(this, 13, value);
77494
- };
77495
-
77496
-
77497
78100
 
77498
78101
 
77499
78102
 
@@ -80118,7 +80721,15 @@ proto.clarifai.api.EventType = {
80118
80721
  COLLABORATOR_ADD: 700,
80119
80722
  COLLABORATOR_UPDATE: 701,
80120
80723
  COLLABORATOR_REMOVE: 702,
80121
- USER_UPDATE: 800
80724
+ USER_UPDATE: 800,
80725
+ COMPUTE_CLUSTER_CREATE: 900,
80726
+ COMPUTE_CLUSTER_DELETE: 901,
80727
+ NODEPOOL_CREATE: 1000,
80728
+ NODEPOOL_UPDATE: 1001,
80729
+ NODEPOOL_DELETE: 1002,
80730
+ DEPLOYMENT_CREATE: 1100,
80731
+ DEPLOYMENT_UPDATE: 1101,
80732
+ DEPLOYMENT_DELETE: 1102
80122
80733
  };
80123
80734
 
80124
80735
  goog.object.extend(exports, proto.clarifai.api);