clarifai-web-grpc 11.11.0 → 12.0.2

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.
@@ -31,6 +31,8 @@ var proto_clarifai_api_utils_matrix_pb = require('../../../proto/clarifai/api/ut
31
31
  goog.object.extend(proto, proto_clarifai_api_utils_matrix_pb);
32
32
  var proto_clarifai_auth_util_extension_pb = require('../../../proto/clarifai/auth/util/extension_pb.js');
33
33
  goog.object.extend(proto, proto_clarifai_auth_util_extension_pb);
34
+ var google_protobuf_duration_pb = require('google-protobuf/google/protobuf/duration_pb.js');
35
+ goog.object.extend(proto, google_protobuf_duration_pb);
34
36
  var google_protobuf_struct_pb = require('google-protobuf/google/protobuf/struct_pb.js');
35
37
  goog.object.extend(proto, google_protobuf_struct_pb);
36
38
  var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
@@ -82,6 +84,7 @@ goog.exportSymbol('proto.clarifai.api.BulkOperation', null, global);
82
84
  goog.exportSymbol('proto.clarifai.api.BulkOperation.AnnotationSourceCase', null, global);
83
85
  goog.exportSymbol('proto.clarifai.api.BulkOperation.InputSourceCase', null, global);
84
86
  goog.exportSymbol('proto.clarifai.api.CloudProvider', null, global);
87
+ goog.exportSymbol('proto.clarifai.api.CloudRegion', null, global);
85
88
  goog.exportSymbol('proto.clarifai.api.Cluster', null, global);
86
89
  goog.exportSymbol('proto.clarifai.api.Collaboration', null, global);
87
90
  goog.exportSymbol('proto.clarifai.api.Collaborator', null, global);
@@ -267,6 +270,7 @@ goog.exportSymbol('proto.clarifai.api.PipelineStepVersion', null, global);
267
270
  goog.exportSymbol('proto.clarifai.api.PipelineVersion', null, global);
268
271
  goog.exportSymbol('proto.clarifai.api.PipelineVersionConfig', null, global);
269
272
  goog.exportSymbol('proto.clarifai.api.PipelineVersionRun', null, global);
273
+ goog.exportSymbol('proto.clarifai.api.PipelineVersionRunStatusLog', null, global);
270
274
  goog.exportSymbol('proto.clarifai.api.Point', null, global);
271
275
  goog.exportSymbol('proto.clarifai.api.Point.Visibility', null, global);
272
276
  goog.exportSymbol('proto.clarifai.api.Polygon', null, global);
@@ -4832,7 +4836,7 @@ if (goog.DEBUG && !COMPILED) {
4832
4836
  * @constructor
4833
4837
  */
4834
4838
  proto.clarifai.api.CloudProvider = function(opt_data) {
4835
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
4839
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.CloudProvider.repeatedFields_, null);
4836
4840
  };
4837
4841
  goog.inherits(proto.clarifai.api.CloudProvider, jspb.Message);
4838
4842
  if (goog.DEBUG && !COMPILED) {
@@ -4842,6 +4846,27 @@ if (goog.DEBUG && !COMPILED) {
4842
4846
  */
4843
4847
  proto.clarifai.api.CloudProvider.displayName = 'proto.clarifai.api.CloudProvider';
4844
4848
  }
4849
+ /**
4850
+ * Generated by JsPbCodeGenerator.
4851
+ * @param {Array=} opt_data Optional initial data array, typically from a
4852
+ * server response, or constructed directly in Javascript. The array is used
4853
+ * in place and becomes part of the constructed object. It is not cloned.
4854
+ * If no data is provided, the constructed object will be empty, but still
4855
+ * valid.
4856
+ * @extends {jspb.Message}
4857
+ * @constructor
4858
+ */
4859
+ proto.clarifai.api.CloudRegion = function(opt_data) {
4860
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.CloudRegion.repeatedFields_, null);
4861
+ };
4862
+ goog.inherits(proto.clarifai.api.CloudRegion, jspb.Message);
4863
+ if (goog.DEBUG && !COMPILED) {
4864
+ /**
4865
+ * @public
4866
+ * @override
4867
+ */
4868
+ proto.clarifai.api.CloudRegion.displayName = 'proto.clarifai.api.CloudRegion';
4869
+ }
4845
4870
  /**
4846
4871
  * Generated by JsPbCodeGenerator.
4847
4872
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -5682,6 +5707,27 @@ if (goog.DEBUG && !COMPILED) {
5682
5707
  */
5683
5708
  proto.clarifai.api.PipelineVersionRun.displayName = 'proto.clarifai.api.PipelineVersionRun';
5684
5709
  }
5710
+ /**
5711
+ * Generated by JsPbCodeGenerator.
5712
+ * @param {Array=} opt_data Optional initial data array, typically from a
5713
+ * server response, or constructed directly in Javascript. The array is used
5714
+ * in place and becomes part of the constructed object. It is not cloned.
5715
+ * If no data is provided, the constructed object will be empty, but still
5716
+ * valid.
5717
+ * @extends {jspb.Message}
5718
+ * @constructor
5719
+ */
5720
+ proto.clarifai.api.PipelineVersionRunStatusLog = function(opt_data) {
5721
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
5722
+ };
5723
+ goog.inherits(proto.clarifai.api.PipelineVersionRunStatusLog, jspb.Message);
5724
+ if (goog.DEBUG && !COMPILED) {
5725
+ /**
5726
+ * @public
5727
+ * @override
5728
+ */
5729
+ proto.clarifai.api.PipelineVersionRunStatusLog.displayName = 'proto.clarifai.api.PipelineVersionRunStatusLog';
5730
+ }
5685
5731
  /**
5686
5732
  * Generated by JsPbCodeGenerator.
5687
5733
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -8751,7 +8797,8 @@ proto.clarifai.api.AppResourceCounts.toObject = function(includeInstance, msg) {
8751
8797
  models: jspb.Message.getFieldWithDefault(msg, 2, 0),
8752
8798
  workflows: jspb.Message.getFieldWithDefault(msg, 3, 0),
8753
8799
  modules: jspb.Message.getFieldWithDefault(msg, 4, 0),
8754
- inputs: jspb.Message.getFieldWithDefault(msg, 5, 0)
8800
+ inputs: jspb.Message.getFieldWithDefault(msg, 5, 0),
8801
+ pipelines: jspb.Message.getFieldWithDefault(msg, 6, 0)
8755
8802
  };
8756
8803
 
8757
8804
  if (includeInstance) {
@@ -8808,6 +8855,10 @@ proto.clarifai.api.AppResourceCounts.deserializeBinaryFromReader = function(msg,
8808
8855
  var value = /** @type {number} */ (reader.readInt64());
8809
8856
  msg.setInputs(value);
8810
8857
  break;
8858
+ case 6:
8859
+ var value = /** @type {number} */ (reader.readInt64());
8860
+ msg.setPipelines(value);
8861
+ break;
8811
8862
  default:
8812
8863
  reader.skipField();
8813
8864
  break;
@@ -8872,6 +8923,13 @@ proto.clarifai.api.AppResourceCounts.serializeBinaryToWriter = function(message,
8872
8923
  f
8873
8924
  );
8874
8925
  }
8926
+ f = message.getPipelines();
8927
+ if (f !== 0) {
8928
+ writer.writeInt64(
8929
+ 6,
8930
+ f
8931
+ );
8932
+ }
8875
8933
  };
8876
8934
 
8877
8935
 
@@ -8965,6 +9023,24 @@ proto.clarifai.api.AppResourceCounts.prototype.setInputs = function(value) {
8965
9023
  };
8966
9024
 
8967
9025
 
9026
+ /**
9027
+ * optional int64 pipelines = 6;
9028
+ * @return {number}
9029
+ */
9030
+ proto.clarifai.api.AppResourceCounts.prototype.getPipelines = function() {
9031
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
9032
+ };
9033
+
9034
+
9035
+ /**
9036
+ * @param {number} value
9037
+ * @return {!proto.clarifai.api.AppResourceCounts} returns this
9038
+ */
9039
+ proto.clarifai.api.AppResourceCounts.prototype.setPipelines = function(value) {
9040
+ return jspb.Message.setProto3IntField(this, 6, value);
9041
+ };
9042
+
9043
+
8968
9044
 
8969
9045
  /**
8970
9046
  * List of repeated fields within this message type.
@@ -28575,7 +28651,8 @@ proto.clarifai.api.SpecialHandling.serializeBinaryToWriter = function(message, w
28575
28651
  */
28576
28652
  proto.clarifai.api.SpecialHandling.Reason = {
28577
28653
  REASON_NOT_SET: 0,
28578
- CONTACT_SALES: 1
28654
+ CONTACT_SALES: 1,
28655
+ INTERNAL_ONLY: 2
28579
28656
  };
28580
28657
 
28581
28658
  /**
@@ -46116,7 +46193,8 @@ proto.clarifai.api.UserDetail.toObject = function(includeInstance, msg) {
46116
46193
  teamsCount: jspb.Message.getFieldWithDefault(msg, 10, 0),
46117
46194
  country: jspb.Message.getFieldWithDefault(msg, 11, ""),
46118
46195
  state: jspb.Message.getFieldWithDefault(msg, 12, ""),
46119
- commitmentValue: (f = msg.getCommitmentValue()) && proto.clarifai.api.CommitmentValue.toObject(includeInstance, f)
46196
+ commitmentValue: (f = msg.getCommitmentValue()) && proto.clarifai.api.CommitmentValue.toObject(includeInstance, f),
46197
+ phoneVerified: jspb.Message.getBooleanFieldWithDefault(msg, 15, false)
46120
46198
  };
46121
46199
 
46122
46200
  if (includeInstance) {
@@ -46212,6 +46290,10 @@ proto.clarifai.api.UserDetail.deserializeBinaryFromReader = function(msg, reader
46212
46290
  reader.readMessage(value,proto.clarifai.api.CommitmentValue.deserializeBinaryFromReader);
46213
46291
  msg.setCommitmentValue(value);
46214
46292
  break;
46293
+ case 15:
46294
+ var value = /** @type {boolean} */ (reader.readBool());
46295
+ msg.setPhoneVerified(value);
46296
+ break;
46215
46297
  default:
46216
46298
  reader.skipField();
46217
46299
  break;
@@ -46339,6 +46421,13 @@ proto.clarifai.api.UserDetail.serializeBinaryToWriter = function(message, writer
46339
46421
  proto.clarifai.api.CommitmentValue.serializeBinaryToWriter
46340
46422
  );
46341
46423
  }
46424
+ f = message.getPhoneVerified();
46425
+ if (f) {
46426
+ writer.writeBool(
46427
+ 15,
46428
+ f
46429
+ );
46430
+ }
46342
46431
  };
46343
46432
 
46344
46433
 
@@ -46710,6 +46799,24 @@ proto.clarifai.api.UserDetail.prototype.hasCommitmentValue = function() {
46710
46799
  };
46711
46800
 
46712
46801
 
46802
+ /**
46803
+ * optional bool phone_verified = 15;
46804
+ * @return {boolean}
46805
+ */
46806
+ proto.clarifai.api.UserDetail.prototype.getPhoneVerified = function() {
46807
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 15, false));
46808
+ };
46809
+
46810
+
46811
+ /**
46812
+ * @param {boolean} value
46813
+ * @return {!proto.clarifai.api.UserDetail} returns this
46814
+ */
46815
+ proto.clarifai.api.UserDetail.prototype.setPhoneVerified = function(value) {
46816
+ return jspb.Message.setProto3BooleanField(this, 15, value);
46817
+ };
46818
+
46819
+
46713
46820
 
46714
46821
 
46715
46822
 
@@ -53593,7 +53700,7 @@ proto.clarifai.api.AiAssistParameters.prototype.clearConceptRelationIdsList = fu
53593
53700
  * @private {!Array<number>}
53594
53701
  * @const
53595
53702
  */
53596
- proto.clarifai.api.TaskWorker.repeatedFields_ = [2,4,7];
53703
+ proto.clarifai.api.TaskWorker.repeatedFields_ = [2,4,7,9];
53597
53704
 
53598
53705
  /**
53599
53706
  * Oneof group definitions for this message. Each group defines the field
@@ -53658,7 +53765,9 @@ proto.clarifai.api.TaskWorker.toObject = function(includeInstance, msg) {
53658
53765
  partitionedStrategyInfo: (f = msg.getPartitionedStrategyInfo()) && proto.clarifai.api.TaskWorkerPartitionedStrategyInfo.toObject(includeInstance, f),
53659
53766
  workersList: jspb.Message.toObjectList(msg.getWorkersList(),
53660
53767
  proto.clarifai.api.Worker.toObject, includeInstance),
53661
- type: jspb.Message.getFieldWithDefault(msg, 8, 0)
53768
+ type: jspb.Message.getFieldWithDefault(msg, 8, 0),
53769
+ runnerSelectorsList: jspb.Message.toObjectList(msg.getRunnerSelectorsList(),
53770
+ proto.clarifai.api.RunnerSelector.toObject, includeInstance)
53662
53771
  };
53663
53772
 
53664
53773
  if (includeInstance) {
@@ -53722,6 +53831,11 @@ proto.clarifai.api.TaskWorker.deserializeBinaryFromReader = function(msg, reader
53722
53831
  var value = /** @type {!proto.clarifai.api.TaskWorker.WorkerType} */ (reader.readEnum());
53723
53832
  msg.setType(value);
53724
53833
  break;
53834
+ case 9:
53835
+ var value = new proto.clarifai.api.RunnerSelector;
53836
+ reader.readMessage(value,proto.clarifai.api.RunnerSelector.deserializeBinaryFromReader);
53837
+ msg.addRunnerSelectors(value);
53838
+ break;
53725
53839
  default:
53726
53840
  reader.skipField();
53727
53841
  break;
@@ -53796,6 +53910,14 @@ proto.clarifai.api.TaskWorker.serializeBinaryToWriter = function(message, writer
53796
53910
  f
53797
53911
  );
53798
53912
  }
53913
+ f = message.getRunnerSelectorsList();
53914
+ if (f.length > 0) {
53915
+ writer.writeRepeatedMessage(
53916
+ 9,
53917
+ f,
53918
+ proto.clarifai.api.RunnerSelector.serializeBinaryToWriter
53919
+ );
53920
+ }
53799
53921
  };
53800
53922
 
53801
53923
 
@@ -54004,6 +54126,44 @@ proto.clarifai.api.TaskWorker.prototype.setType = function(value) {
54004
54126
  };
54005
54127
 
54006
54128
 
54129
+ /**
54130
+ * repeated RunnerSelector runner_selectors = 9;
54131
+ * @return {!Array<!proto.clarifai.api.RunnerSelector>}
54132
+ */
54133
+ proto.clarifai.api.TaskWorker.prototype.getRunnerSelectorsList = function() {
54134
+ return /** @type{!Array<!proto.clarifai.api.RunnerSelector>} */ (
54135
+ jspb.Message.getRepeatedWrapperField(this, proto.clarifai.api.RunnerSelector, 9));
54136
+ };
54137
+
54138
+
54139
+ /**
54140
+ * @param {!Array<!proto.clarifai.api.RunnerSelector>} value
54141
+ * @return {!proto.clarifai.api.TaskWorker} returns this
54142
+ */
54143
+ proto.clarifai.api.TaskWorker.prototype.setRunnerSelectorsList = function(value) {
54144
+ return jspb.Message.setRepeatedWrapperField(this, 9, value);
54145
+ };
54146
+
54147
+
54148
+ /**
54149
+ * @param {!proto.clarifai.api.RunnerSelector=} opt_value
54150
+ * @param {number=} opt_index
54151
+ * @return {!proto.clarifai.api.RunnerSelector}
54152
+ */
54153
+ proto.clarifai.api.TaskWorker.prototype.addRunnerSelectors = function(opt_value, opt_index) {
54154
+ return jspb.Message.addToRepeatedWrapperField(this, 9, opt_value, proto.clarifai.api.RunnerSelector, opt_index);
54155
+ };
54156
+
54157
+
54158
+ /**
54159
+ * Clears the list making it empty but non-null.
54160
+ * @return {!proto.clarifai.api.TaskWorker} returns this
54161
+ */
54162
+ proto.clarifai.api.TaskWorker.prototype.clearRunnerSelectorsList = function() {
54163
+ return this.setRunnerSelectorsList([]);
54164
+ };
54165
+
54166
+
54007
54167
 
54008
54168
 
54009
54169
 
@@ -54355,7 +54515,8 @@ proto.clarifai.api.TaskInputSource.TaskInputSourceType = {
54355
54515
  INPUT_SOURCE_TYPE_NOT_SET: 0,
54356
54516
  ALL_INPUTS: 1,
54357
54517
  SAVED_SEARCH: 2,
54358
- DATASET: 3
54518
+ DATASET: 3,
54519
+ INPUT: 4
54359
54520
  };
54360
54521
 
54361
54522
  /**
@@ -72472,7 +72633,8 @@ proto.clarifai.api.InstanceType.toObject = function(includeInstance, msg) {
72472
72633
  featureFlagGroup: jspb.Message.getFieldWithDefault(msg, 8, ""),
72473
72634
  specialHandlingList: jspb.Message.toObjectList(msg.getSpecialHandlingList(),
72474
72635
  proto.clarifai.api.SpecialHandling.toObject, includeInstance),
72475
- architecture: jspb.Message.getFieldWithDefault(msg, 10, "")
72636
+ architecture: jspb.Message.getFieldWithDefault(msg, 10, ""),
72637
+ availableComputeInfo: (f = msg.getAvailableComputeInfo()) && proto.clarifai.api.ComputeInfo.toObject(includeInstance, f)
72476
72638
  };
72477
72639
 
72478
72640
  if (includeInstance) {
@@ -72553,6 +72715,11 @@ proto.clarifai.api.InstanceType.deserializeBinaryFromReader = function(msg, read
72553
72715
  var value = /** @type {string} */ (reader.readString());
72554
72716
  msg.setArchitecture(value);
72555
72717
  break;
72718
+ case 11:
72719
+ var value = new proto.clarifai.api.ComputeInfo;
72720
+ reader.readMessage(value,proto.clarifai.api.ComputeInfo.deserializeBinaryFromReader);
72721
+ msg.setAvailableComputeInfo(value);
72722
+ break;
72556
72723
  default:
72557
72724
  reader.skipField();
72558
72725
  break;
@@ -72656,6 +72823,14 @@ proto.clarifai.api.InstanceType.serializeBinaryToWriter = function(message, writ
72656
72823
  f
72657
72824
  );
72658
72825
  }
72826
+ f = message.getAvailableComputeInfo();
72827
+ if (f != null) {
72828
+ writer.writeMessage(
72829
+ 11,
72830
+ f,
72831
+ proto.clarifai.api.ComputeInfo.serializeBinaryToWriter
72832
+ );
72833
+ }
72659
72834
  };
72660
72835
 
72661
72836
 
@@ -72916,6 +73091,50 @@ proto.clarifai.api.InstanceType.prototype.setArchitecture = function(value) {
72916
73091
  };
72917
73092
 
72918
73093
 
73094
+ /**
73095
+ * optional ComputeInfo available_compute_info = 11;
73096
+ * @return {?proto.clarifai.api.ComputeInfo}
73097
+ */
73098
+ proto.clarifai.api.InstanceType.prototype.getAvailableComputeInfo = function() {
73099
+ return /** @type{?proto.clarifai.api.ComputeInfo} */ (
73100
+ jspb.Message.getWrapperField(this, proto.clarifai.api.ComputeInfo, 11));
73101
+ };
73102
+
73103
+
73104
+ /**
73105
+ * @param {?proto.clarifai.api.ComputeInfo|undefined} value
73106
+ * @return {!proto.clarifai.api.InstanceType} returns this
73107
+ */
73108
+ proto.clarifai.api.InstanceType.prototype.setAvailableComputeInfo = function(value) {
73109
+ return jspb.Message.setWrapperField(this, 11, value);
73110
+ };
73111
+
73112
+
73113
+ /**
73114
+ * Clears the message field making it undefined.
73115
+ * @return {!proto.clarifai.api.InstanceType} returns this
73116
+ */
73117
+ proto.clarifai.api.InstanceType.prototype.clearAvailableComputeInfo = function() {
73118
+ return this.setAvailableComputeInfo(undefined);
73119
+ };
73120
+
73121
+
73122
+ /**
73123
+ * Returns whether this field is set.
73124
+ * @return {boolean}
73125
+ */
73126
+ proto.clarifai.api.InstanceType.prototype.hasAvailableComputeInfo = function() {
73127
+ return jspb.Message.getField(this, 11) != null;
73128
+ };
73129
+
73130
+
73131
+
73132
+ /**
73133
+ * List of repeated fields within this message type.
73134
+ * @private {!Array<number>}
73135
+ * @const
73136
+ */
73137
+ proto.clarifai.api.CloudProvider.repeatedFields_ = [3];
72919
73138
 
72920
73139
 
72921
73140
 
@@ -72949,7 +73168,9 @@ proto.clarifai.api.CloudProvider.prototype.toObject = function(opt_includeInstan
72949
73168
  proto.clarifai.api.CloudProvider.toObject = function(includeInstance, msg) {
72950
73169
  var f, obj = {
72951
73170
  id: jspb.Message.getFieldWithDefault(msg, 1, ""),
72952
- name: jspb.Message.getFieldWithDefault(msg, 2, "")
73171
+ name: jspb.Message.getFieldWithDefault(msg, 2, ""),
73172
+ specialHandlingList: jspb.Message.toObjectList(msg.getSpecialHandlingList(),
73173
+ proto.clarifai.api.SpecialHandling.toObject, includeInstance)
72953
73174
  };
72954
73175
 
72955
73176
  if (includeInstance) {
@@ -72994,6 +73215,11 @@ proto.clarifai.api.CloudProvider.deserializeBinaryFromReader = function(msg, rea
72994
73215
  var value = /** @type {string} */ (reader.readString());
72995
73216
  msg.setName(value);
72996
73217
  break;
73218
+ case 3:
73219
+ var value = new proto.clarifai.api.SpecialHandling;
73220
+ reader.readMessage(value,proto.clarifai.api.SpecialHandling.deserializeBinaryFromReader);
73221
+ msg.addSpecialHandling(value);
73222
+ break;
72997
73223
  default:
72998
73224
  reader.skipField();
72999
73225
  break;
@@ -73037,6 +73263,14 @@ proto.clarifai.api.CloudProvider.serializeBinaryToWriter = function(message, wri
73037
73263
  f
73038
73264
  );
73039
73265
  }
73266
+ f = message.getSpecialHandlingList();
73267
+ if (f.length > 0) {
73268
+ writer.writeRepeatedMessage(
73269
+ 3,
73270
+ f,
73271
+ proto.clarifai.api.SpecialHandling.serializeBinaryToWriter
73272
+ );
73273
+ }
73040
73274
  };
73041
73275
 
73042
73276
 
@@ -73076,6 +73310,234 @@ proto.clarifai.api.CloudProvider.prototype.setName = function(value) {
73076
73310
  };
73077
73311
 
73078
73312
 
73313
+ /**
73314
+ * repeated SpecialHandling special_handling = 3;
73315
+ * @return {!Array<!proto.clarifai.api.SpecialHandling>}
73316
+ */
73317
+ proto.clarifai.api.CloudProvider.prototype.getSpecialHandlingList = function() {
73318
+ return /** @type{!Array<!proto.clarifai.api.SpecialHandling>} */ (
73319
+ jspb.Message.getRepeatedWrapperField(this, proto.clarifai.api.SpecialHandling, 3));
73320
+ };
73321
+
73322
+
73323
+ /**
73324
+ * @param {!Array<!proto.clarifai.api.SpecialHandling>} value
73325
+ * @return {!proto.clarifai.api.CloudProvider} returns this
73326
+ */
73327
+ proto.clarifai.api.CloudProvider.prototype.setSpecialHandlingList = function(value) {
73328
+ return jspb.Message.setRepeatedWrapperField(this, 3, value);
73329
+ };
73330
+
73331
+
73332
+ /**
73333
+ * @param {!proto.clarifai.api.SpecialHandling=} opt_value
73334
+ * @param {number=} opt_index
73335
+ * @return {!proto.clarifai.api.SpecialHandling}
73336
+ */
73337
+ proto.clarifai.api.CloudProvider.prototype.addSpecialHandling = function(opt_value, opt_index) {
73338
+ return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.clarifai.api.SpecialHandling, opt_index);
73339
+ };
73340
+
73341
+
73342
+ /**
73343
+ * Clears the list making it empty but non-null.
73344
+ * @return {!proto.clarifai.api.CloudProvider} returns this
73345
+ */
73346
+ proto.clarifai.api.CloudProvider.prototype.clearSpecialHandlingList = function() {
73347
+ return this.setSpecialHandlingList([]);
73348
+ };
73349
+
73350
+
73351
+
73352
+ /**
73353
+ * List of repeated fields within this message type.
73354
+ * @private {!Array<number>}
73355
+ * @const
73356
+ */
73357
+ proto.clarifai.api.CloudRegion.repeatedFields_ = [2];
73358
+
73359
+
73360
+
73361
+ if (jspb.Message.GENERATE_TO_OBJECT) {
73362
+ /**
73363
+ * Creates an object representation of this proto.
73364
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
73365
+ * Optional fields that are not set will be set to undefined.
73366
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
73367
+ * For the list of reserved names please see:
73368
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
73369
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
73370
+ * JSPB instance for transitional soy proto support:
73371
+ * http://goto/soy-param-migration
73372
+ * @return {!Object}
73373
+ */
73374
+ proto.clarifai.api.CloudRegion.prototype.toObject = function(opt_includeInstance) {
73375
+ return proto.clarifai.api.CloudRegion.toObject(opt_includeInstance, this);
73376
+ };
73377
+
73378
+
73379
+ /**
73380
+ * Static version of the {@see toObject} method.
73381
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
73382
+ * the JSPB instance for transitional soy proto support:
73383
+ * http://goto/soy-param-migration
73384
+ * @param {!proto.clarifai.api.CloudRegion} msg The msg instance to transform.
73385
+ * @return {!Object}
73386
+ * @suppress {unusedLocalVariables} f is only used for nested messages
73387
+ */
73388
+ proto.clarifai.api.CloudRegion.toObject = function(includeInstance, msg) {
73389
+ var f, obj = {
73390
+ id: jspb.Message.getFieldWithDefault(msg, 1, ""),
73391
+ specialHandlingList: jspb.Message.toObjectList(msg.getSpecialHandlingList(),
73392
+ proto.clarifai.api.SpecialHandling.toObject, includeInstance)
73393
+ };
73394
+
73395
+ if (includeInstance) {
73396
+ obj.$jspbMessageInstance = msg;
73397
+ }
73398
+ return obj;
73399
+ };
73400
+ }
73401
+
73402
+
73403
+ /**
73404
+ * Deserializes binary data (in protobuf wire format).
73405
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
73406
+ * @return {!proto.clarifai.api.CloudRegion}
73407
+ */
73408
+ proto.clarifai.api.CloudRegion.deserializeBinary = function(bytes) {
73409
+ var reader = new jspb.BinaryReader(bytes);
73410
+ var msg = new proto.clarifai.api.CloudRegion;
73411
+ return proto.clarifai.api.CloudRegion.deserializeBinaryFromReader(msg, reader);
73412
+ };
73413
+
73414
+
73415
+ /**
73416
+ * Deserializes binary data (in protobuf wire format) from the
73417
+ * given reader into the given message object.
73418
+ * @param {!proto.clarifai.api.CloudRegion} msg The message object to deserialize into.
73419
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
73420
+ * @return {!proto.clarifai.api.CloudRegion}
73421
+ */
73422
+ proto.clarifai.api.CloudRegion.deserializeBinaryFromReader = function(msg, reader) {
73423
+ while (reader.nextField()) {
73424
+ if (reader.isEndGroup()) {
73425
+ break;
73426
+ }
73427
+ var field = reader.getFieldNumber();
73428
+ switch (field) {
73429
+ case 1:
73430
+ var value = /** @type {string} */ (reader.readString());
73431
+ msg.setId(value);
73432
+ break;
73433
+ case 2:
73434
+ var value = new proto.clarifai.api.SpecialHandling;
73435
+ reader.readMessage(value,proto.clarifai.api.SpecialHandling.deserializeBinaryFromReader);
73436
+ msg.addSpecialHandling(value);
73437
+ break;
73438
+ default:
73439
+ reader.skipField();
73440
+ break;
73441
+ }
73442
+ }
73443
+ return msg;
73444
+ };
73445
+
73446
+
73447
+ /**
73448
+ * Serializes the message to binary data (in protobuf wire format).
73449
+ * @return {!Uint8Array}
73450
+ */
73451
+ proto.clarifai.api.CloudRegion.prototype.serializeBinary = function() {
73452
+ var writer = new jspb.BinaryWriter();
73453
+ proto.clarifai.api.CloudRegion.serializeBinaryToWriter(this, writer);
73454
+ return writer.getResultBuffer();
73455
+ };
73456
+
73457
+
73458
+ /**
73459
+ * Serializes the given message to binary data (in protobuf wire
73460
+ * format), writing to the given BinaryWriter.
73461
+ * @param {!proto.clarifai.api.CloudRegion} message
73462
+ * @param {!jspb.BinaryWriter} writer
73463
+ * @suppress {unusedLocalVariables} f is only used for nested messages
73464
+ */
73465
+ proto.clarifai.api.CloudRegion.serializeBinaryToWriter = function(message, writer) {
73466
+ var f = undefined;
73467
+ f = message.getId();
73468
+ if (f.length > 0) {
73469
+ writer.writeString(
73470
+ 1,
73471
+ f
73472
+ );
73473
+ }
73474
+ f = message.getSpecialHandlingList();
73475
+ if (f.length > 0) {
73476
+ writer.writeRepeatedMessage(
73477
+ 2,
73478
+ f,
73479
+ proto.clarifai.api.SpecialHandling.serializeBinaryToWriter
73480
+ );
73481
+ }
73482
+ };
73483
+
73484
+
73485
+ /**
73486
+ * optional string id = 1;
73487
+ * @return {string}
73488
+ */
73489
+ proto.clarifai.api.CloudRegion.prototype.getId = function() {
73490
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
73491
+ };
73492
+
73493
+
73494
+ /**
73495
+ * @param {string} value
73496
+ * @return {!proto.clarifai.api.CloudRegion} returns this
73497
+ */
73498
+ proto.clarifai.api.CloudRegion.prototype.setId = function(value) {
73499
+ return jspb.Message.setProto3StringField(this, 1, value);
73500
+ };
73501
+
73502
+
73503
+ /**
73504
+ * repeated SpecialHandling special_handling = 2;
73505
+ * @return {!Array<!proto.clarifai.api.SpecialHandling>}
73506
+ */
73507
+ proto.clarifai.api.CloudRegion.prototype.getSpecialHandlingList = function() {
73508
+ return /** @type{!Array<!proto.clarifai.api.SpecialHandling>} */ (
73509
+ jspb.Message.getRepeatedWrapperField(this, proto.clarifai.api.SpecialHandling, 2));
73510
+ };
73511
+
73512
+
73513
+ /**
73514
+ * @param {!Array<!proto.clarifai.api.SpecialHandling>} value
73515
+ * @return {!proto.clarifai.api.CloudRegion} returns this
73516
+ */
73517
+ proto.clarifai.api.CloudRegion.prototype.setSpecialHandlingList = function(value) {
73518
+ return jspb.Message.setRepeatedWrapperField(this, 2, value);
73519
+ };
73520
+
73521
+
73522
+ /**
73523
+ * @param {!proto.clarifai.api.SpecialHandling=} opt_value
73524
+ * @param {number=} opt_index
73525
+ * @return {!proto.clarifai.api.SpecialHandling}
73526
+ */
73527
+ proto.clarifai.api.CloudRegion.prototype.addSpecialHandling = function(opt_value, opt_index) {
73528
+ return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.clarifai.api.SpecialHandling, opt_index);
73529
+ };
73530
+
73531
+
73532
+ /**
73533
+ * Clears the list making it empty but non-null.
73534
+ * @return {!proto.clarifai.api.CloudRegion} returns this
73535
+ */
73536
+ proto.clarifai.api.CloudRegion.prototype.clearSpecialHandlingList = function() {
73537
+ return this.setSpecialHandlingList([]);
73538
+ };
73539
+
73540
+
73079
73541
 
73080
73542
 
73081
73543
 
@@ -74355,6 +74817,7 @@ proto.clarifai.api.Deployment.toObject = function(includeInstance, msg) {
74355
74817
  metadata: (f = msg.getMetadata()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f),
74356
74818
  description: jspb.Message.getFieldWithDefault(msg, 10, ""),
74357
74819
  worker: (f = msg.getWorker()) && proto.clarifai.api.Worker.toObject(includeInstance, f),
74820
+ desiredWorker: (f = msg.getDesiredWorker()) && proto.clarifai.api.Worker.toObject(includeInstance, f),
74358
74821
  createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
74359
74822
  modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
74360
74823
  deployLatestVersion: jspb.Message.getBooleanFieldWithDefault(msg, 14, false),
@@ -74437,6 +74900,11 @@ proto.clarifai.api.Deployment.deserializeBinaryFromReader = function(msg, reader
74437
74900
  reader.readMessage(value,proto.clarifai.api.Worker.deserializeBinaryFromReader);
74438
74901
  msg.setWorker(value);
74439
74902
  break;
74903
+ case 16:
74904
+ var value = new proto.clarifai.api.Worker;
74905
+ reader.readMessage(value,proto.clarifai.api.Worker.deserializeBinaryFromReader);
74906
+ msg.setDesiredWorker(value);
74907
+ break;
74440
74908
  case 12:
74441
74909
  var value = new google_protobuf_timestamp_pb.Timestamp;
74442
74910
  reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
@@ -74553,6 +75021,14 @@ proto.clarifai.api.Deployment.serializeBinaryToWriter = function(message, writer
74553
75021
  proto.clarifai.api.Worker.serializeBinaryToWriter
74554
75022
  );
74555
75023
  }
75024
+ f = message.getDesiredWorker();
75025
+ if (f != null) {
75026
+ writer.writeMessage(
75027
+ 16,
75028
+ f,
75029
+ proto.clarifai.api.Worker.serializeBinaryToWriter
75030
+ );
75031
+ }
74556
75032
  f = message.getCreatedAt();
74557
75033
  if (f != null) {
74558
75034
  writer.writeMessage(
@@ -74860,6 +75336,43 @@ proto.clarifai.api.Deployment.prototype.hasWorker = function() {
74860
75336
  };
74861
75337
 
74862
75338
 
75339
+ /**
75340
+ * optional Worker desired_worker = 16;
75341
+ * @return {?proto.clarifai.api.Worker}
75342
+ */
75343
+ proto.clarifai.api.Deployment.prototype.getDesiredWorker = function() {
75344
+ return /** @type{?proto.clarifai.api.Worker} */ (
75345
+ jspb.Message.getWrapperField(this, proto.clarifai.api.Worker, 16));
75346
+ };
75347
+
75348
+
75349
+ /**
75350
+ * @param {?proto.clarifai.api.Worker|undefined} value
75351
+ * @return {!proto.clarifai.api.Deployment} returns this
75352
+ */
75353
+ proto.clarifai.api.Deployment.prototype.setDesiredWorker = function(value) {
75354
+ return jspb.Message.setWrapperField(this, 16, value);
75355
+ };
75356
+
75357
+
75358
+ /**
75359
+ * Clears the message field making it undefined.
75360
+ * @return {!proto.clarifai.api.Deployment} returns this
75361
+ */
75362
+ proto.clarifai.api.Deployment.prototype.clearDesiredWorker = function() {
75363
+ return this.setDesiredWorker(undefined);
75364
+ };
75365
+
75366
+
75367
+ /**
75368
+ * Returns whether this field is set.
75369
+ * @return {boolean}
75370
+ */
75371
+ proto.clarifai.api.Deployment.prototype.hasDesiredWorker = function() {
75372
+ return jspb.Message.getField(this, 16) != null;
75373
+ };
75374
+
75375
+
74863
75376
  /**
74864
75377
  * optional google.protobuf.Timestamp created_at = 12;
74865
75378
  * @return {?proto.google.protobuf.Timestamp}
@@ -85854,7 +86367,10 @@ proto.clarifai.api.PipelineVersionRun.toObject = function(includeInstance, msg)
85854
86367
  createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
85855
86368
  modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
85856
86369
  inputArgsOverride: (f = msg.getInputArgsOverride()) && proto.clarifai.api.OrchestrationArgsOverride.toObject(includeInstance, f),
85857
- orchestrationSpec: (f = msg.getOrchestrationSpec()) && proto.clarifai.api.OrchestrationSpec.toObject(includeInstance, f)
86370
+ orchestrationSpec: (f = msg.getOrchestrationSpec()) && proto.clarifai.api.OrchestrationSpec.toObject(includeInstance, f),
86371
+ startedAt: (f = msg.getStartedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
86372
+ endedAt: (f = msg.getEndedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
86373
+ totalRunDuration: (f = msg.getTotalRunDuration()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f)
85858
86374
  };
85859
86375
 
85860
86376
  if (includeInstance) {
@@ -85938,6 +86454,21 @@ proto.clarifai.api.PipelineVersionRun.deserializeBinaryFromReader = function(msg
85938
86454
  reader.readMessage(value,proto.clarifai.api.OrchestrationSpec.deserializeBinaryFromReader);
85939
86455
  msg.setOrchestrationSpec(value);
85940
86456
  break;
86457
+ case 11:
86458
+ var value = new google_protobuf_timestamp_pb.Timestamp;
86459
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
86460
+ msg.setStartedAt(value);
86461
+ break;
86462
+ case 12:
86463
+ var value = new google_protobuf_timestamp_pb.Timestamp;
86464
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
86465
+ msg.setEndedAt(value);
86466
+ break;
86467
+ case 13:
86468
+ var value = new google_protobuf_duration_pb.Duration;
86469
+ reader.readMessage(value,google_protobuf_duration_pb.Duration.deserializeBinaryFromReader);
86470
+ msg.setTotalRunDuration(value);
86471
+ break;
85941
86472
  default:
85942
86473
  reader.skipField();
85943
86474
  break;
@@ -86044,6 +86575,30 @@ proto.clarifai.api.PipelineVersionRun.serializeBinaryToWriter = function(message
86044
86575
  proto.clarifai.api.OrchestrationSpec.serializeBinaryToWriter
86045
86576
  );
86046
86577
  }
86578
+ f = message.getStartedAt();
86579
+ if (f != null) {
86580
+ writer.writeMessage(
86581
+ 11,
86582
+ f,
86583
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
86584
+ );
86585
+ }
86586
+ f = message.getEndedAt();
86587
+ if (f != null) {
86588
+ writer.writeMessage(
86589
+ 12,
86590
+ f,
86591
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
86592
+ );
86593
+ }
86594
+ f = message.getTotalRunDuration();
86595
+ if (f != null) {
86596
+ writer.writeMessage(
86597
+ 13,
86598
+ f,
86599
+ google_protobuf_duration_pb.Duration.serializeBinaryToWriter
86600
+ );
86601
+ }
86047
86602
  };
86048
86603
 
86049
86604
 
@@ -86361,6 +86916,439 @@ proto.clarifai.api.PipelineVersionRun.prototype.hasOrchestrationSpec = function(
86361
86916
  };
86362
86917
 
86363
86918
 
86919
+ /**
86920
+ * optional google.protobuf.Timestamp started_at = 11;
86921
+ * @return {?proto.google.protobuf.Timestamp}
86922
+ */
86923
+ proto.clarifai.api.PipelineVersionRun.prototype.getStartedAt = function() {
86924
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
86925
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 11));
86926
+ };
86927
+
86928
+
86929
+ /**
86930
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
86931
+ * @return {!proto.clarifai.api.PipelineVersionRun} returns this
86932
+ */
86933
+ proto.clarifai.api.PipelineVersionRun.prototype.setStartedAt = function(value) {
86934
+ return jspb.Message.setWrapperField(this, 11, value);
86935
+ };
86936
+
86937
+
86938
+ /**
86939
+ * Clears the message field making it undefined.
86940
+ * @return {!proto.clarifai.api.PipelineVersionRun} returns this
86941
+ */
86942
+ proto.clarifai.api.PipelineVersionRun.prototype.clearStartedAt = function() {
86943
+ return this.setStartedAt(undefined);
86944
+ };
86945
+
86946
+
86947
+ /**
86948
+ * Returns whether this field is set.
86949
+ * @return {boolean}
86950
+ */
86951
+ proto.clarifai.api.PipelineVersionRun.prototype.hasStartedAt = function() {
86952
+ return jspb.Message.getField(this, 11) != null;
86953
+ };
86954
+
86955
+
86956
+ /**
86957
+ * optional google.protobuf.Timestamp ended_at = 12;
86958
+ * @return {?proto.google.protobuf.Timestamp}
86959
+ */
86960
+ proto.clarifai.api.PipelineVersionRun.prototype.getEndedAt = function() {
86961
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
86962
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 12));
86963
+ };
86964
+
86965
+
86966
+ /**
86967
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
86968
+ * @return {!proto.clarifai.api.PipelineVersionRun} returns this
86969
+ */
86970
+ proto.clarifai.api.PipelineVersionRun.prototype.setEndedAt = function(value) {
86971
+ return jspb.Message.setWrapperField(this, 12, value);
86972
+ };
86973
+
86974
+
86975
+ /**
86976
+ * Clears the message field making it undefined.
86977
+ * @return {!proto.clarifai.api.PipelineVersionRun} returns this
86978
+ */
86979
+ proto.clarifai.api.PipelineVersionRun.prototype.clearEndedAt = function() {
86980
+ return this.setEndedAt(undefined);
86981
+ };
86982
+
86983
+
86984
+ /**
86985
+ * Returns whether this field is set.
86986
+ * @return {boolean}
86987
+ */
86988
+ proto.clarifai.api.PipelineVersionRun.prototype.hasEndedAt = function() {
86989
+ return jspb.Message.getField(this, 12) != null;
86990
+ };
86991
+
86992
+
86993
+ /**
86994
+ * optional google.protobuf.Duration total_run_duration = 13;
86995
+ * @return {?proto.google.protobuf.Duration}
86996
+ */
86997
+ proto.clarifai.api.PipelineVersionRun.prototype.getTotalRunDuration = function() {
86998
+ return /** @type{?proto.google.protobuf.Duration} */ (
86999
+ jspb.Message.getWrapperField(this, google_protobuf_duration_pb.Duration, 13));
87000
+ };
87001
+
87002
+
87003
+ /**
87004
+ * @param {?proto.google.protobuf.Duration|undefined} value
87005
+ * @return {!proto.clarifai.api.PipelineVersionRun} returns this
87006
+ */
87007
+ proto.clarifai.api.PipelineVersionRun.prototype.setTotalRunDuration = function(value) {
87008
+ return jspb.Message.setWrapperField(this, 13, value);
87009
+ };
87010
+
87011
+
87012
+ /**
87013
+ * Clears the message field making it undefined.
87014
+ * @return {!proto.clarifai.api.PipelineVersionRun} returns this
87015
+ */
87016
+ proto.clarifai.api.PipelineVersionRun.prototype.clearTotalRunDuration = function() {
87017
+ return this.setTotalRunDuration(undefined);
87018
+ };
87019
+
87020
+
87021
+ /**
87022
+ * Returns whether this field is set.
87023
+ * @return {boolean}
87024
+ */
87025
+ proto.clarifai.api.PipelineVersionRun.prototype.hasTotalRunDuration = function() {
87026
+ return jspb.Message.getField(this, 13) != null;
87027
+ };
87028
+
87029
+
87030
+
87031
+
87032
+
87033
+ if (jspb.Message.GENERATE_TO_OBJECT) {
87034
+ /**
87035
+ * Creates an object representation of this proto.
87036
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
87037
+ * Optional fields that are not set will be set to undefined.
87038
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
87039
+ * For the list of reserved names please see:
87040
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
87041
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
87042
+ * JSPB instance for transitional soy proto support:
87043
+ * http://goto/soy-param-migration
87044
+ * @return {!Object}
87045
+ */
87046
+ proto.clarifai.api.PipelineVersionRunStatusLog.prototype.toObject = function(opt_includeInstance) {
87047
+ return proto.clarifai.api.PipelineVersionRunStatusLog.toObject(opt_includeInstance, this);
87048
+ };
87049
+
87050
+
87051
+ /**
87052
+ * Static version of the {@see toObject} method.
87053
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
87054
+ * the JSPB instance for transitional soy proto support:
87055
+ * http://goto/soy-param-migration
87056
+ * @param {!proto.clarifai.api.PipelineVersionRunStatusLog} msg The msg instance to transform.
87057
+ * @return {!Object}
87058
+ * @suppress {unusedLocalVariables} f is only used for nested messages
87059
+ */
87060
+ proto.clarifai.api.PipelineVersionRunStatusLog.toObject = function(includeInstance, msg) {
87061
+ var f, obj = {
87062
+ id: jspb.Message.getFieldWithDefault(msg, 1, ""),
87063
+ pipelineVersionRunId: jspb.Message.getFieldWithDefault(msg, 2, ""),
87064
+ status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
87065
+ message: jspb.Message.getFieldWithDefault(msg, 4, ""),
87066
+ triggeredByUserId: jspb.Message.getFieldWithDefault(msg, 5, ""),
87067
+ createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
87068
+ };
87069
+
87070
+ if (includeInstance) {
87071
+ obj.$jspbMessageInstance = msg;
87072
+ }
87073
+ return obj;
87074
+ };
87075
+ }
87076
+
87077
+
87078
+ /**
87079
+ * Deserializes binary data (in protobuf wire format).
87080
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
87081
+ * @return {!proto.clarifai.api.PipelineVersionRunStatusLog}
87082
+ */
87083
+ proto.clarifai.api.PipelineVersionRunStatusLog.deserializeBinary = function(bytes) {
87084
+ var reader = new jspb.BinaryReader(bytes);
87085
+ var msg = new proto.clarifai.api.PipelineVersionRunStatusLog;
87086
+ return proto.clarifai.api.PipelineVersionRunStatusLog.deserializeBinaryFromReader(msg, reader);
87087
+ };
87088
+
87089
+
87090
+ /**
87091
+ * Deserializes binary data (in protobuf wire format) from the
87092
+ * given reader into the given message object.
87093
+ * @param {!proto.clarifai.api.PipelineVersionRunStatusLog} msg The message object to deserialize into.
87094
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
87095
+ * @return {!proto.clarifai.api.PipelineVersionRunStatusLog}
87096
+ */
87097
+ proto.clarifai.api.PipelineVersionRunStatusLog.deserializeBinaryFromReader = function(msg, reader) {
87098
+ while (reader.nextField()) {
87099
+ if (reader.isEndGroup()) {
87100
+ break;
87101
+ }
87102
+ var field = reader.getFieldNumber();
87103
+ switch (field) {
87104
+ case 1:
87105
+ var value = /** @type {string} */ (reader.readString());
87106
+ msg.setId(value);
87107
+ break;
87108
+ case 2:
87109
+ var value = /** @type {string} */ (reader.readString());
87110
+ msg.setPipelineVersionRunId(value);
87111
+ break;
87112
+ case 3:
87113
+ var value = new proto_clarifai_api_status_status_pb.Status;
87114
+ reader.readMessage(value,proto_clarifai_api_status_status_pb.Status.deserializeBinaryFromReader);
87115
+ msg.setStatus(value);
87116
+ break;
87117
+ case 4:
87118
+ var value = /** @type {string} */ (reader.readString());
87119
+ msg.setMessage(value);
87120
+ break;
87121
+ case 5:
87122
+ var value = /** @type {string} */ (reader.readString());
87123
+ msg.setTriggeredByUserId(value);
87124
+ break;
87125
+ case 6:
87126
+ var value = new google_protobuf_timestamp_pb.Timestamp;
87127
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
87128
+ msg.setCreatedAt(value);
87129
+ break;
87130
+ default:
87131
+ reader.skipField();
87132
+ break;
87133
+ }
87134
+ }
87135
+ return msg;
87136
+ };
87137
+
87138
+
87139
+ /**
87140
+ * Serializes the message to binary data (in protobuf wire format).
87141
+ * @return {!Uint8Array}
87142
+ */
87143
+ proto.clarifai.api.PipelineVersionRunStatusLog.prototype.serializeBinary = function() {
87144
+ var writer = new jspb.BinaryWriter();
87145
+ proto.clarifai.api.PipelineVersionRunStatusLog.serializeBinaryToWriter(this, writer);
87146
+ return writer.getResultBuffer();
87147
+ };
87148
+
87149
+
87150
+ /**
87151
+ * Serializes the given message to binary data (in protobuf wire
87152
+ * format), writing to the given BinaryWriter.
87153
+ * @param {!proto.clarifai.api.PipelineVersionRunStatusLog} message
87154
+ * @param {!jspb.BinaryWriter} writer
87155
+ * @suppress {unusedLocalVariables} f is only used for nested messages
87156
+ */
87157
+ proto.clarifai.api.PipelineVersionRunStatusLog.serializeBinaryToWriter = function(message, writer) {
87158
+ var f = undefined;
87159
+ f = message.getId();
87160
+ if (f.length > 0) {
87161
+ writer.writeString(
87162
+ 1,
87163
+ f
87164
+ );
87165
+ }
87166
+ f = message.getPipelineVersionRunId();
87167
+ if (f.length > 0) {
87168
+ writer.writeString(
87169
+ 2,
87170
+ f
87171
+ );
87172
+ }
87173
+ f = message.getStatus();
87174
+ if (f != null) {
87175
+ writer.writeMessage(
87176
+ 3,
87177
+ f,
87178
+ proto_clarifai_api_status_status_pb.Status.serializeBinaryToWriter
87179
+ );
87180
+ }
87181
+ f = message.getMessage();
87182
+ if (f.length > 0) {
87183
+ writer.writeString(
87184
+ 4,
87185
+ f
87186
+ );
87187
+ }
87188
+ f = message.getTriggeredByUserId();
87189
+ if (f.length > 0) {
87190
+ writer.writeString(
87191
+ 5,
87192
+ f
87193
+ );
87194
+ }
87195
+ f = message.getCreatedAt();
87196
+ if (f != null) {
87197
+ writer.writeMessage(
87198
+ 6,
87199
+ f,
87200
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
87201
+ );
87202
+ }
87203
+ };
87204
+
87205
+
87206
+ /**
87207
+ * optional string id = 1;
87208
+ * @return {string}
87209
+ */
87210
+ proto.clarifai.api.PipelineVersionRunStatusLog.prototype.getId = function() {
87211
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
87212
+ };
87213
+
87214
+
87215
+ /**
87216
+ * @param {string} value
87217
+ * @return {!proto.clarifai.api.PipelineVersionRunStatusLog} returns this
87218
+ */
87219
+ proto.clarifai.api.PipelineVersionRunStatusLog.prototype.setId = function(value) {
87220
+ return jspb.Message.setProto3StringField(this, 1, value);
87221
+ };
87222
+
87223
+
87224
+ /**
87225
+ * optional string pipeline_version_run_id = 2;
87226
+ * @return {string}
87227
+ */
87228
+ proto.clarifai.api.PipelineVersionRunStatusLog.prototype.getPipelineVersionRunId = function() {
87229
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
87230
+ };
87231
+
87232
+
87233
+ /**
87234
+ * @param {string} value
87235
+ * @return {!proto.clarifai.api.PipelineVersionRunStatusLog} returns this
87236
+ */
87237
+ proto.clarifai.api.PipelineVersionRunStatusLog.prototype.setPipelineVersionRunId = function(value) {
87238
+ return jspb.Message.setProto3StringField(this, 2, value);
87239
+ };
87240
+
87241
+
87242
+ /**
87243
+ * optional status.Status status = 3;
87244
+ * @return {?proto.clarifai.api.status.Status}
87245
+ */
87246
+ proto.clarifai.api.PipelineVersionRunStatusLog.prototype.getStatus = function() {
87247
+ return /** @type{?proto.clarifai.api.status.Status} */ (
87248
+ jspb.Message.getWrapperField(this, proto_clarifai_api_status_status_pb.Status, 3));
87249
+ };
87250
+
87251
+
87252
+ /**
87253
+ * @param {?proto.clarifai.api.status.Status|undefined} value
87254
+ * @return {!proto.clarifai.api.PipelineVersionRunStatusLog} returns this
87255
+ */
87256
+ proto.clarifai.api.PipelineVersionRunStatusLog.prototype.setStatus = function(value) {
87257
+ return jspb.Message.setWrapperField(this, 3, value);
87258
+ };
87259
+
87260
+
87261
+ /**
87262
+ * Clears the message field making it undefined.
87263
+ * @return {!proto.clarifai.api.PipelineVersionRunStatusLog} returns this
87264
+ */
87265
+ proto.clarifai.api.PipelineVersionRunStatusLog.prototype.clearStatus = function() {
87266
+ return this.setStatus(undefined);
87267
+ };
87268
+
87269
+
87270
+ /**
87271
+ * Returns whether this field is set.
87272
+ * @return {boolean}
87273
+ */
87274
+ proto.clarifai.api.PipelineVersionRunStatusLog.prototype.hasStatus = function() {
87275
+ return jspb.Message.getField(this, 3) != null;
87276
+ };
87277
+
87278
+
87279
+ /**
87280
+ * optional string message = 4;
87281
+ * @return {string}
87282
+ */
87283
+ proto.clarifai.api.PipelineVersionRunStatusLog.prototype.getMessage = function() {
87284
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
87285
+ };
87286
+
87287
+
87288
+ /**
87289
+ * @param {string} value
87290
+ * @return {!proto.clarifai.api.PipelineVersionRunStatusLog} returns this
87291
+ */
87292
+ proto.clarifai.api.PipelineVersionRunStatusLog.prototype.setMessage = function(value) {
87293
+ return jspb.Message.setProto3StringField(this, 4, value);
87294
+ };
87295
+
87296
+
87297
+ /**
87298
+ * optional string triggered_by_user_id = 5;
87299
+ * @return {string}
87300
+ */
87301
+ proto.clarifai.api.PipelineVersionRunStatusLog.prototype.getTriggeredByUserId = function() {
87302
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
87303
+ };
87304
+
87305
+
87306
+ /**
87307
+ * @param {string} value
87308
+ * @return {!proto.clarifai.api.PipelineVersionRunStatusLog} returns this
87309
+ */
87310
+ proto.clarifai.api.PipelineVersionRunStatusLog.prototype.setTriggeredByUserId = function(value) {
87311
+ return jspb.Message.setProto3StringField(this, 5, value);
87312
+ };
87313
+
87314
+
87315
+ /**
87316
+ * optional google.protobuf.Timestamp created_at = 6;
87317
+ * @return {?proto.google.protobuf.Timestamp}
87318
+ */
87319
+ proto.clarifai.api.PipelineVersionRunStatusLog.prototype.getCreatedAt = function() {
87320
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
87321
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 6));
87322
+ };
87323
+
87324
+
87325
+ /**
87326
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
87327
+ * @return {!proto.clarifai.api.PipelineVersionRunStatusLog} returns this
87328
+ */
87329
+ proto.clarifai.api.PipelineVersionRunStatusLog.prototype.setCreatedAt = function(value) {
87330
+ return jspb.Message.setWrapperField(this, 6, value);
87331
+ };
87332
+
87333
+
87334
+ /**
87335
+ * Clears the message field making it undefined.
87336
+ * @return {!proto.clarifai.api.PipelineVersionRunStatusLog} returns this
87337
+ */
87338
+ proto.clarifai.api.PipelineVersionRunStatusLog.prototype.clearCreatedAt = function() {
87339
+ return this.setCreatedAt(undefined);
87340
+ };
87341
+
87342
+
87343
+ /**
87344
+ * Returns whether this field is set.
87345
+ * @return {boolean}
87346
+ */
87347
+ proto.clarifai.api.PipelineVersionRunStatusLog.prototype.hasCreatedAt = function() {
87348
+ return jspb.Message.getField(this, 6) != null;
87349
+ };
87350
+
87351
+
86364
87352
 
86365
87353
 
86366
87354