clarifai-web-grpc 11.5.2 → 11.6.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.
@@ -128,6 +128,7 @@ goog.exportSymbol('proto.clarifai.api.DeleteConcepts', null, global);
128
128
  goog.exportSymbol('proto.clarifai.api.DeleteFromDataset', null, global);
129
129
  goog.exportSymbol('proto.clarifai.api.DeleteGeo', null, global);
130
130
  goog.exportSymbol('proto.clarifai.api.DeleteMetadata', null, global);
131
+ goog.exportSymbol('proto.clarifai.api.DeployRestriction', null, global);
131
132
  goog.exportSymbol('proto.clarifai.api.Deployment', null, global);
132
133
  goog.exportSymbol('proto.clarifai.api.Deployment.SchedulingChoice', null, global);
133
134
  goog.exportSymbol('proto.clarifai.api.DetailConceptCount', null, global);
@@ -163,6 +164,7 @@ goog.exportSymbol('proto.clarifai.api.ImportInfo', null, global);
163
164
  goog.exportSymbol('proto.clarifai.api.Input', null, global);
164
165
  goog.exportSymbol('proto.clarifai.api.InputBatch', null, global);
165
166
  goog.exportSymbol('proto.clarifai.api.InputCount', null, global);
167
+ goog.exportSymbol('proto.clarifai.api.InputEvaluationMetricValue', null, global);
166
168
  goog.exportSymbol('proto.clarifai.api.InputIDConflictResolution', null, global);
167
169
  goog.exportSymbol('proto.clarifai.api.InputIDs', null, global);
168
170
  goog.exportSymbol('proto.clarifai.api.InputInfo', null, global);
@@ -237,6 +239,7 @@ goog.exportSymbol('proto.clarifai.api.Part', null, global);
237
239
  goog.exportSymbol('proto.clarifai.api.Password', null, global);
238
240
  goog.exportSymbol('proto.clarifai.api.PasswordViolations', null, global);
239
241
  goog.exportSymbol('proto.clarifai.api.PatchAction', null, global);
242
+ goog.exportSymbol('proto.clarifai.api.Pipeline', null, global);
240
243
  goog.exportSymbol('proto.clarifai.api.PipelineStep', null, global);
241
244
  goog.exportSymbol('proto.clarifai.api.PipelineStepInputParam', null, global);
242
245
  goog.exportSymbol('proto.clarifai.api.PipelineStepVersion', null, global);
@@ -262,6 +265,7 @@ goog.exportSymbol('proto.clarifai.api.RunnerSelector', null, global);
262
265
  goog.exportSymbol('proto.clarifai.api.ScopeDeps', null, global);
263
266
  goog.exportSymbol('proto.clarifai.api.Search', null, global);
264
267
  goog.exportSymbol('proto.clarifai.api.Search.Metric', null, global);
268
+ goog.exportSymbol('proto.clarifai.api.Secret', null, global);
265
269
  goog.exportSymbol('proto.clarifai.api.Span', null, global);
266
270
  goog.exportSymbol('proto.clarifai.api.SplitIntoDatasets', null, global);
267
271
  goog.exportSymbol('proto.clarifai.api.SplitIntoDatasets.DatasetSplitMethod', null, global);
@@ -325,6 +329,7 @@ goog.exportSymbol('proto.clarifai.api.W3C', null, global);
325
329
  goog.exportSymbol('proto.clarifai.api.Worker', null, global);
326
330
  goog.exportSymbol('proto.clarifai.api.Worker.WorkerCase', null, global);
327
331
  goog.exportSymbol('proto.clarifai.api.Workflow', null, global);
332
+ goog.exportSymbol('proto.clarifai.api.WorkflowEvaluationInputResult', null, global);
328
333
  goog.exportSymbol('proto.clarifai.api.WorkflowEvaluationResult', null, global);
329
334
  goog.exportSymbol('proto.clarifai.api.WorkflowEvaluationResultSummary', null, global);
330
335
  goog.exportSymbol('proto.clarifai.api.WorkflowModelUseCase', null, global);
@@ -333,6 +338,7 @@ goog.exportSymbol('proto.clarifai.api.WorkflowResult', null, global);
333
338
  goog.exportSymbol('proto.clarifai.api.WorkflowState', null, global);
334
339
  goog.exportSymbol('proto.clarifai.api.WorkflowVersion', null, global);
335
340
  goog.exportSymbol('proto.clarifai.api.WorkflowVersionEvaluation', null, global);
341
+ goog.exportSymbol('proto.clarifai.api.WorkflowVersionEvaluationData', null, global);
336
342
  goog.exportSymbol('proto.clarifai.api.WorkflowVersionEvaluationMetric', null, global);
337
343
  goog.exportSymbol('proto.clarifai.api.WorkflowVersionEvaluationMetric.DataType', null, global);
338
344
  goog.exportSymbol('proto.clarifai.api.WorkflowVersionEvaluationMetric.VisualisationType', null, global);
@@ -5168,6 +5174,27 @@ if (goog.DEBUG && !COMPILED) {
5168
5174
  */
5169
5175
  proto.clarifai.api.EvaluationMetricValue.displayName = 'proto.clarifai.api.EvaluationMetricValue';
5170
5176
  }
5177
+ /**
5178
+ * Generated by JsPbCodeGenerator.
5179
+ * @param {Array=} opt_data Optional initial data array, typically from a
5180
+ * server response, or constructed directly in Javascript. The array is used
5181
+ * in place and becomes part of the constructed object. It is not cloned.
5182
+ * If no data is provided, the constructed object will be empty, but still
5183
+ * valid.
5184
+ * @extends {jspb.Message}
5185
+ * @constructor
5186
+ */
5187
+ proto.clarifai.api.InputEvaluationMetricValue = function(opt_data) {
5188
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
5189
+ };
5190
+ goog.inherits(proto.clarifai.api.InputEvaluationMetricValue, jspb.Message);
5191
+ if (goog.DEBUG && !COMPILED) {
5192
+ /**
5193
+ * @public
5194
+ * @override
5195
+ */
5196
+ proto.clarifai.api.InputEvaluationMetricValue.displayName = 'proto.clarifai.api.InputEvaluationMetricValue';
5197
+ }
5171
5198
  /**
5172
5199
  * Generated by JsPbCodeGenerator.
5173
5200
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -5189,6 +5216,48 @@ if (goog.DEBUG && !COMPILED) {
5189
5216
  */
5190
5217
  proto.clarifai.api.MetricValue.displayName = 'proto.clarifai.api.MetricValue';
5191
5218
  }
5219
+ /**
5220
+ * Generated by JsPbCodeGenerator.
5221
+ * @param {Array=} opt_data Optional initial data array, typically from a
5222
+ * server response, or constructed directly in Javascript. The array is used
5223
+ * in place and becomes part of the constructed object. It is not cloned.
5224
+ * If no data is provided, the constructed object will be empty, but still
5225
+ * valid.
5226
+ * @extends {jspb.Message}
5227
+ * @constructor
5228
+ */
5229
+ proto.clarifai.api.WorkflowEvaluationInputResult = function(opt_data) {
5230
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.WorkflowEvaluationInputResult.repeatedFields_, null);
5231
+ };
5232
+ goog.inherits(proto.clarifai.api.WorkflowEvaluationInputResult, jspb.Message);
5233
+ if (goog.DEBUG && !COMPILED) {
5234
+ /**
5235
+ * @public
5236
+ * @override
5237
+ */
5238
+ proto.clarifai.api.WorkflowEvaluationInputResult.displayName = 'proto.clarifai.api.WorkflowEvaluationInputResult';
5239
+ }
5240
+ /**
5241
+ * Generated by JsPbCodeGenerator.
5242
+ * @param {Array=} opt_data Optional initial data array, typically from a
5243
+ * server response, or constructed directly in Javascript. The array is used
5244
+ * in place and becomes part of the constructed object. It is not cloned.
5245
+ * If no data is provided, the constructed object will be empty, but still
5246
+ * valid.
5247
+ * @extends {jspb.Message}
5248
+ * @constructor
5249
+ */
5250
+ proto.clarifai.api.WorkflowVersionEvaluationData = function(opt_data) {
5251
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.WorkflowVersionEvaluationData.repeatedFields_, null);
5252
+ };
5253
+ goog.inherits(proto.clarifai.api.WorkflowVersionEvaluationData, jspb.Message);
5254
+ if (goog.DEBUG && !COMPILED) {
5255
+ /**
5256
+ * @public
5257
+ * @override
5258
+ */
5259
+ proto.clarifai.api.WorkflowVersionEvaluationData.displayName = 'proto.clarifai.api.WorkflowVersionEvaluationData';
5260
+ }
5192
5261
  /**
5193
5262
  * Generated by JsPbCodeGenerator.
5194
5263
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -5336,6 +5405,27 @@ if (goog.DEBUG && !COMPILED) {
5336
5405
  */
5337
5406
  proto.clarifai.api.PipelineStepVersion.displayName = 'proto.clarifai.api.PipelineStepVersion';
5338
5407
  }
5408
+ /**
5409
+ * Generated by JsPbCodeGenerator.
5410
+ * @param {Array=} opt_data Optional initial data array, typically from a
5411
+ * server response, or constructed directly in Javascript. The array is used
5412
+ * in place and becomes part of the constructed object. It is not cloned.
5413
+ * If no data is provided, the constructed object will be empty, but still
5414
+ * valid.
5415
+ * @extends {jspb.Message}
5416
+ * @constructor
5417
+ */
5418
+ proto.clarifai.api.Pipeline = function(opt_data) {
5419
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
5420
+ };
5421
+ goog.inherits(proto.clarifai.api.Pipeline, jspb.Message);
5422
+ if (goog.DEBUG && !COMPILED) {
5423
+ /**
5424
+ * @public
5425
+ * @override
5426
+ */
5427
+ proto.clarifai.api.Pipeline.displayName = 'proto.clarifai.api.Pipeline';
5428
+ }
5339
5429
  /**
5340
5430
  * Generated by JsPbCodeGenerator.
5341
5431
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -5420,6 +5510,27 @@ if (goog.DEBUG && !COMPILED) {
5420
5510
  */
5421
5511
  proto.clarifai.api.PipelineVersionRun.displayName = 'proto.clarifai.api.PipelineVersionRun';
5422
5512
  }
5513
+ /**
5514
+ * Generated by JsPbCodeGenerator.
5515
+ * @param {Array=} opt_data Optional initial data array, typically from a
5516
+ * server response, or constructed directly in Javascript. The array is used
5517
+ * in place and becomes part of the constructed object. It is not cloned.
5518
+ * If no data is provided, the constructed object will be empty, but still
5519
+ * valid.
5520
+ * @extends {jspb.Message}
5521
+ * @constructor
5522
+ */
5523
+ proto.clarifai.api.Secret = function(opt_data) {
5524
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
5525
+ };
5526
+ goog.inherits(proto.clarifai.api.Secret, jspb.Message);
5527
+ if (goog.DEBUG && !COMPILED) {
5528
+ /**
5529
+ * @public
5530
+ * @override
5531
+ */
5532
+ proto.clarifai.api.Secret.displayName = 'proto.clarifai.api.Secret';
5533
+ }
5423
5534
 
5424
5535
 
5425
5536
 
@@ -25396,7 +25507,9 @@ proto.clarifai.api.Model.toObject = function(includeInstance, msg) {
25396
25507
  creator: jspb.Message.getFieldWithDefault(msg, 37, ""),
25397
25508
  versionCount: jspb.Message.getFieldWithDefault(msg, 38, 0),
25398
25509
  billingType: jspb.Message.getFieldWithDefault(msg, 40, 0),
25399
- featuredOrder: (f = msg.getFeaturedOrder()) && google_protobuf_wrappers_pb.Int32Value.toObject(includeInstance, f)
25510
+ featuredOrder: (f = msg.getFeaturedOrder()) && google_protobuf_wrappers_pb.Int32Value.toObject(includeInstance, f),
25511
+ deployRestriction: jspb.Message.getFieldWithDefault(msg, 42, 0),
25512
+ replicaCount: jspb.Message.getFieldWithDefault(msg, 43, 0)
25400
25513
  };
25401
25514
 
25402
25515
  if (includeInstance) {
@@ -25578,6 +25691,14 @@ proto.clarifai.api.Model.deserializeBinaryFromReader = function(msg, reader) {
25578
25691
  reader.readMessage(value,google_protobuf_wrappers_pb.Int32Value.deserializeBinaryFromReader);
25579
25692
  msg.setFeaturedOrder(value);
25580
25693
  break;
25694
+ case 42:
25695
+ var value = /** @type {!proto.clarifai.api.DeployRestriction} */ (reader.readEnum());
25696
+ msg.setDeployRestriction(value);
25697
+ break;
25698
+ case 43:
25699
+ var value = /** @type {number} */ (reader.readUint32());
25700
+ msg.setReplicaCount(value);
25701
+ break;
25581
25702
  default:
25582
25703
  reader.skipField();
25583
25704
  break;
@@ -25851,6 +25972,20 @@ proto.clarifai.api.Model.serializeBinaryToWriter = function(message, writer) {
25851
25972
  google_protobuf_wrappers_pb.Int32Value.serializeBinaryToWriter
25852
25973
  );
25853
25974
  }
25975
+ f = message.getDeployRestriction();
25976
+ if (f !== 0.0) {
25977
+ writer.writeEnum(
25978
+ 42,
25979
+ f
25980
+ );
25981
+ }
25982
+ f = message.getReplicaCount();
25983
+ if (f !== 0) {
25984
+ writer.writeUint32(
25985
+ 43,
25986
+ f
25987
+ );
25988
+ }
25854
25989
  };
25855
25990
 
25856
25991
 
@@ -26790,6 +26925,42 @@ proto.clarifai.api.Model.prototype.hasFeaturedOrder = function() {
26790
26925
  };
26791
26926
 
26792
26927
 
26928
+ /**
26929
+ * optional DeployRestriction deploy_restriction = 42;
26930
+ * @return {!proto.clarifai.api.DeployRestriction}
26931
+ */
26932
+ proto.clarifai.api.Model.prototype.getDeployRestriction = function() {
26933
+ return /** @type {!proto.clarifai.api.DeployRestriction} */ (jspb.Message.getFieldWithDefault(this, 42, 0));
26934
+ };
26935
+
26936
+
26937
+ /**
26938
+ * @param {!proto.clarifai.api.DeployRestriction} value
26939
+ * @return {!proto.clarifai.api.Model} returns this
26940
+ */
26941
+ proto.clarifai.api.Model.prototype.setDeployRestriction = function(value) {
26942
+ return jspb.Message.setProto3EnumField(this, 42, value);
26943
+ };
26944
+
26945
+
26946
+ /**
26947
+ * optional uint32 replica_count = 43;
26948
+ * @return {number}
26949
+ */
26950
+ proto.clarifai.api.Model.prototype.getReplicaCount = function() {
26951
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 43, 0));
26952
+ };
26953
+
26954
+
26955
+ /**
26956
+ * @param {number} value
26957
+ * @return {!proto.clarifai.api.Model} returns this
26958
+ */
26959
+ proto.clarifai.api.Model.prototype.setReplicaCount = function(value) {
26960
+ return jspb.Message.setProto3IntField(this, 43, value);
26961
+ };
26962
+
26963
+
26793
26964
 
26794
26965
 
26795
26966
 
@@ -53801,7 +53972,8 @@ proto.clarifai.api.TaskAIAssistant.prototype.toObject = function(opt_includeInst
53801
53972
  */
53802
53973
  proto.clarifai.api.TaskAIAssistant.toObject = function(includeInstance, msg) {
53803
53974
  var f, obj = {
53804
- workflowId: jspb.Message.getFieldWithDefault(msg, 1, "")
53975
+ workflowId: jspb.Message.getFieldWithDefault(msg, 1, ""),
53976
+ workflow: (f = msg.getWorkflow()) && proto.clarifai.api.Workflow.toObject(includeInstance, f)
53805
53977
  };
53806
53978
 
53807
53979
  if (includeInstance) {
@@ -53842,6 +54014,11 @@ proto.clarifai.api.TaskAIAssistant.deserializeBinaryFromReader = function(msg, r
53842
54014
  var value = /** @type {string} */ (reader.readString());
53843
54015
  msg.setWorkflowId(value);
53844
54016
  break;
54017
+ case 2:
54018
+ var value = new proto.clarifai.api.Workflow;
54019
+ reader.readMessage(value,proto.clarifai.api.Workflow.deserializeBinaryFromReader);
54020
+ msg.setWorkflow(value);
54021
+ break;
53845
54022
  default:
53846
54023
  reader.skipField();
53847
54024
  break;
@@ -53878,6 +54055,14 @@ proto.clarifai.api.TaskAIAssistant.serializeBinaryToWriter = function(message, w
53878
54055
  f
53879
54056
  );
53880
54057
  }
54058
+ f = message.getWorkflow();
54059
+ if (f != null) {
54060
+ writer.writeMessage(
54061
+ 2,
54062
+ f,
54063
+ proto.clarifai.api.Workflow.serializeBinaryToWriter
54064
+ );
54065
+ }
53881
54066
  };
53882
54067
 
53883
54068
 
@@ -53899,6 +54084,43 @@ proto.clarifai.api.TaskAIAssistant.prototype.setWorkflowId = function(value) {
53899
54084
  };
53900
54085
 
53901
54086
 
54087
+ /**
54088
+ * optional Workflow workflow = 2;
54089
+ * @return {?proto.clarifai.api.Workflow}
54090
+ */
54091
+ proto.clarifai.api.TaskAIAssistant.prototype.getWorkflow = function() {
54092
+ return /** @type{?proto.clarifai.api.Workflow} */ (
54093
+ jspb.Message.getWrapperField(this, proto.clarifai.api.Workflow, 2));
54094
+ };
54095
+
54096
+
54097
+ /**
54098
+ * @param {?proto.clarifai.api.Workflow|undefined} value
54099
+ * @return {!proto.clarifai.api.TaskAIAssistant} returns this
54100
+ */
54101
+ proto.clarifai.api.TaskAIAssistant.prototype.setWorkflow = function(value) {
54102
+ return jspb.Message.setWrapperField(this, 2, value);
54103
+ };
54104
+
54105
+
54106
+ /**
54107
+ * Clears the message field making it undefined.
54108
+ * @return {!proto.clarifai.api.TaskAIAssistant} returns this
54109
+ */
54110
+ proto.clarifai.api.TaskAIAssistant.prototype.clearWorkflow = function() {
54111
+ return this.setWorkflow(undefined);
54112
+ };
54113
+
54114
+
54115
+ /**
54116
+ * Returns whether this field is set.
54117
+ * @return {boolean}
54118
+ */
54119
+ proto.clarifai.api.TaskAIAssistant.prototype.hasWorkflow = function() {
54120
+ return jspb.Message.getField(this, 2) != null;
54121
+ };
54122
+
54123
+
53902
54124
 
53903
54125
 
53904
54126
 
@@ -78765,6 +78987,251 @@ proto.clarifai.api.EvaluationMetricValue.prototype.clearPerConceptValuesMap = fu
78765
78987
 
78766
78988
 
78767
78989
 
78990
+
78991
+
78992
+ if (jspb.Message.GENERATE_TO_OBJECT) {
78993
+ /**
78994
+ * Creates an object representation of this proto.
78995
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
78996
+ * Optional fields that are not set will be set to undefined.
78997
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
78998
+ * For the list of reserved names please see:
78999
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
79000
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
79001
+ * JSPB instance for transitional soy proto support:
79002
+ * http://goto/soy-param-migration
79003
+ * @return {!Object}
79004
+ */
79005
+ proto.clarifai.api.InputEvaluationMetricValue.prototype.toObject = function(opt_includeInstance) {
79006
+ return proto.clarifai.api.InputEvaluationMetricValue.toObject(opt_includeInstance, this);
79007
+ };
79008
+
79009
+
79010
+ /**
79011
+ * Static version of the {@see toObject} method.
79012
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
79013
+ * the JSPB instance for transitional soy proto support:
79014
+ * http://goto/soy-param-migration
79015
+ * @param {!proto.clarifai.api.InputEvaluationMetricValue} msg The msg instance to transform.
79016
+ * @return {!Object}
79017
+ * @suppress {unusedLocalVariables} f is only used for nested messages
79018
+ */
79019
+ proto.clarifai.api.InputEvaluationMetricValue.toObject = function(includeInstance, msg) {
79020
+ var f, obj = {
79021
+ evaluationMetricId: jspb.Message.getFieldWithDefault(msg, 1, ""),
79022
+ metricValue: (f = msg.getMetricValue()) && proto.clarifai.api.MetricValue.toObject(includeInstance, f),
79023
+ explanation: jspb.Message.getFieldWithDefault(msg, 3, ""),
79024
+ perRegionValuesMap: (f = msg.getPerRegionValuesMap()) ? f.toObject(includeInstance, proto.clarifai.api.MetricValue.toObject) : []
79025
+ };
79026
+
79027
+ if (includeInstance) {
79028
+ obj.$jspbMessageInstance = msg;
79029
+ }
79030
+ return obj;
79031
+ };
79032
+ }
79033
+
79034
+
79035
+ /**
79036
+ * Deserializes binary data (in protobuf wire format).
79037
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
79038
+ * @return {!proto.clarifai.api.InputEvaluationMetricValue}
79039
+ */
79040
+ proto.clarifai.api.InputEvaluationMetricValue.deserializeBinary = function(bytes) {
79041
+ var reader = new jspb.BinaryReader(bytes);
79042
+ var msg = new proto.clarifai.api.InputEvaluationMetricValue;
79043
+ return proto.clarifai.api.InputEvaluationMetricValue.deserializeBinaryFromReader(msg, reader);
79044
+ };
79045
+
79046
+
79047
+ /**
79048
+ * Deserializes binary data (in protobuf wire format) from the
79049
+ * given reader into the given message object.
79050
+ * @param {!proto.clarifai.api.InputEvaluationMetricValue} msg The message object to deserialize into.
79051
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
79052
+ * @return {!proto.clarifai.api.InputEvaluationMetricValue}
79053
+ */
79054
+ proto.clarifai.api.InputEvaluationMetricValue.deserializeBinaryFromReader = function(msg, reader) {
79055
+ while (reader.nextField()) {
79056
+ if (reader.isEndGroup()) {
79057
+ break;
79058
+ }
79059
+ var field = reader.getFieldNumber();
79060
+ switch (field) {
79061
+ case 1:
79062
+ var value = /** @type {string} */ (reader.readString());
79063
+ msg.setEvaluationMetricId(value);
79064
+ break;
79065
+ case 2:
79066
+ var value = new proto.clarifai.api.MetricValue;
79067
+ reader.readMessage(value,proto.clarifai.api.MetricValue.deserializeBinaryFromReader);
79068
+ msg.setMetricValue(value);
79069
+ break;
79070
+ case 3:
79071
+ var value = /** @type {string} */ (reader.readString());
79072
+ msg.setExplanation(value);
79073
+ break;
79074
+ case 4:
79075
+ var value = msg.getPerRegionValuesMap();
79076
+ reader.readMessage(value, function(message, reader) {
79077
+ jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.clarifai.api.MetricValue.deserializeBinaryFromReader, "", new proto.clarifai.api.MetricValue());
79078
+ });
79079
+ break;
79080
+ default:
79081
+ reader.skipField();
79082
+ break;
79083
+ }
79084
+ }
79085
+ return msg;
79086
+ };
79087
+
79088
+
79089
+ /**
79090
+ * Serializes the message to binary data (in protobuf wire format).
79091
+ * @return {!Uint8Array}
79092
+ */
79093
+ proto.clarifai.api.InputEvaluationMetricValue.prototype.serializeBinary = function() {
79094
+ var writer = new jspb.BinaryWriter();
79095
+ proto.clarifai.api.InputEvaluationMetricValue.serializeBinaryToWriter(this, writer);
79096
+ return writer.getResultBuffer();
79097
+ };
79098
+
79099
+
79100
+ /**
79101
+ * Serializes the given message to binary data (in protobuf wire
79102
+ * format), writing to the given BinaryWriter.
79103
+ * @param {!proto.clarifai.api.InputEvaluationMetricValue} message
79104
+ * @param {!jspb.BinaryWriter} writer
79105
+ * @suppress {unusedLocalVariables} f is only used for nested messages
79106
+ */
79107
+ proto.clarifai.api.InputEvaluationMetricValue.serializeBinaryToWriter = function(message, writer) {
79108
+ var f = undefined;
79109
+ f = message.getEvaluationMetricId();
79110
+ if (f.length > 0) {
79111
+ writer.writeString(
79112
+ 1,
79113
+ f
79114
+ );
79115
+ }
79116
+ f = message.getMetricValue();
79117
+ if (f != null) {
79118
+ writer.writeMessage(
79119
+ 2,
79120
+ f,
79121
+ proto.clarifai.api.MetricValue.serializeBinaryToWriter
79122
+ );
79123
+ }
79124
+ f = message.getExplanation();
79125
+ if (f.length > 0) {
79126
+ writer.writeString(
79127
+ 3,
79128
+ f
79129
+ );
79130
+ }
79131
+ f = message.getPerRegionValuesMap(true);
79132
+ if (f && f.getLength() > 0) {
79133
+ f.serializeBinary(4, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.clarifai.api.MetricValue.serializeBinaryToWriter);
79134
+ }
79135
+ };
79136
+
79137
+
79138
+ /**
79139
+ * optional string evaluation_metric_id = 1;
79140
+ * @return {string}
79141
+ */
79142
+ proto.clarifai.api.InputEvaluationMetricValue.prototype.getEvaluationMetricId = function() {
79143
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
79144
+ };
79145
+
79146
+
79147
+ /**
79148
+ * @param {string} value
79149
+ * @return {!proto.clarifai.api.InputEvaluationMetricValue} returns this
79150
+ */
79151
+ proto.clarifai.api.InputEvaluationMetricValue.prototype.setEvaluationMetricId = function(value) {
79152
+ return jspb.Message.setProto3StringField(this, 1, value);
79153
+ };
79154
+
79155
+
79156
+ /**
79157
+ * optional MetricValue metric_value = 2;
79158
+ * @return {?proto.clarifai.api.MetricValue}
79159
+ */
79160
+ proto.clarifai.api.InputEvaluationMetricValue.prototype.getMetricValue = function() {
79161
+ return /** @type{?proto.clarifai.api.MetricValue} */ (
79162
+ jspb.Message.getWrapperField(this, proto.clarifai.api.MetricValue, 2));
79163
+ };
79164
+
79165
+
79166
+ /**
79167
+ * @param {?proto.clarifai.api.MetricValue|undefined} value
79168
+ * @return {!proto.clarifai.api.InputEvaluationMetricValue} returns this
79169
+ */
79170
+ proto.clarifai.api.InputEvaluationMetricValue.prototype.setMetricValue = function(value) {
79171
+ return jspb.Message.setWrapperField(this, 2, value);
79172
+ };
79173
+
79174
+
79175
+ /**
79176
+ * Clears the message field making it undefined.
79177
+ * @return {!proto.clarifai.api.InputEvaluationMetricValue} returns this
79178
+ */
79179
+ proto.clarifai.api.InputEvaluationMetricValue.prototype.clearMetricValue = function() {
79180
+ return this.setMetricValue(undefined);
79181
+ };
79182
+
79183
+
79184
+ /**
79185
+ * Returns whether this field is set.
79186
+ * @return {boolean}
79187
+ */
79188
+ proto.clarifai.api.InputEvaluationMetricValue.prototype.hasMetricValue = function() {
79189
+ return jspb.Message.getField(this, 2) != null;
79190
+ };
79191
+
79192
+
79193
+ /**
79194
+ * optional string explanation = 3;
79195
+ * @return {string}
79196
+ */
79197
+ proto.clarifai.api.InputEvaluationMetricValue.prototype.getExplanation = function() {
79198
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
79199
+ };
79200
+
79201
+
79202
+ /**
79203
+ * @param {string} value
79204
+ * @return {!proto.clarifai.api.InputEvaluationMetricValue} returns this
79205
+ */
79206
+ proto.clarifai.api.InputEvaluationMetricValue.prototype.setExplanation = function(value) {
79207
+ return jspb.Message.setProto3StringField(this, 3, value);
79208
+ };
79209
+
79210
+
79211
+ /**
79212
+ * map<string, MetricValue> per_region_values = 4;
79213
+ * @param {boolean=} opt_noLazyCreate Do not create the map if
79214
+ * empty, instead returning `undefined`
79215
+ * @return {!jspb.Map<string,!proto.clarifai.api.MetricValue>}
79216
+ */
79217
+ proto.clarifai.api.InputEvaluationMetricValue.prototype.getPerRegionValuesMap = function(opt_noLazyCreate) {
79218
+ return /** @type {!jspb.Map<string,!proto.clarifai.api.MetricValue>} */ (
79219
+ jspb.Message.getMapField(this, 4, opt_noLazyCreate,
79220
+ proto.clarifai.api.MetricValue));
79221
+ };
79222
+
79223
+
79224
+ /**
79225
+ * Clears values from the map. The map will be non-null.
79226
+ * @return {!proto.clarifai.api.InputEvaluationMetricValue} returns this
79227
+ */
79228
+ proto.clarifai.api.InputEvaluationMetricValue.prototype.clearPerRegionValuesMap = function() {
79229
+ this.getPerRegionValuesMap().clear();
79230
+ return this;
79231
+ };
79232
+
79233
+
79234
+
78768
79235
  /**
78769
79236
  * Oneof group definitions for this message. Each group defines the field
78770
79237
  * numbers belonging to that group. When of these fields' value is set, all
@@ -79036,6 +79503,511 @@ proto.clarifai.api.MetricValue.prototype.hasIntValue = function() {
79036
79503
 
79037
79504
 
79038
79505
 
79506
+ /**
79507
+ * List of repeated fields within this message type.
79508
+ * @private {!Array<number>}
79509
+ * @const
79510
+ */
79511
+ proto.clarifai.api.WorkflowEvaluationInputResult.repeatedFields_ = [1];
79512
+
79513
+
79514
+
79515
+ if (jspb.Message.GENERATE_TO_OBJECT) {
79516
+ /**
79517
+ * Creates an object representation of this proto.
79518
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
79519
+ * Optional fields that are not set will be set to undefined.
79520
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
79521
+ * For the list of reserved names please see:
79522
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
79523
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
79524
+ * JSPB instance for transitional soy proto support:
79525
+ * http://goto/soy-param-migration
79526
+ * @return {!Object}
79527
+ */
79528
+ proto.clarifai.api.WorkflowEvaluationInputResult.prototype.toObject = function(opt_includeInstance) {
79529
+ return proto.clarifai.api.WorkflowEvaluationInputResult.toObject(opt_includeInstance, this);
79530
+ };
79531
+
79532
+
79533
+ /**
79534
+ * Static version of the {@see toObject} method.
79535
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
79536
+ * the JSPB instance for transitional soy proto support:
79537
+ * http://goto/soy-param-migration
79538
+ * @param {!proto.clarifai.api.WorkflowEvaluationInputResult} msg The msg instance to transform.
79539
+ * @return {!Object}
79540
+ * @suppress {unusedLocalVariables} f is only used for nested messages
79541
+ */
79542
+ proto.clarifai.api.WorkflowEvaluationInputResult.toObject = function(includeInstance, msg) {
79543
+ var f, obj = {
79544
+ inputEvaluationMetricValuesList: jspb.Message.toObjectList(msg.getInputEvaluationMetricValuesList(),
79545
+ proto.clarifai.api.InputEvaluationMetricValue.toObject, includeInstance)
79546
+ };
79547
+
79548
+ if (includeInstance) {
79549
+ obj.$jspbMessageInstance = msg;
79550
+ }
79551
+ return obj;
79552
+ };
79553
+ }
79554
+
79555
+
79556
+ /**
79557
+ * Deserializes binary data (in protobuf wire format).
79558
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
79559
+ * @return {!proto.clarifai.api.WorkflowEvaluationInputResult}
79560
+ */
79561
+ proto.clarifai.api.WorkflowEvaluationInputResult.deserializeBinary = function(bytes) {
79562
+ var reader = new jspb.BinaryReader(bytes);
79563
+ var msg = new proto.clarifai.api.WorkflowEvaluationInputResult;
79564
+ return proto.clarifai.api.WorkflowEvaluationInputResult.deserializeBinaryFromReader(msg, reader);
79565
+ };
79566
+
79567
+
79568
+ /**
79569
+ * Deserializes binary data (in protobuf wire format) from the
79570
+ * given reader into the given message object.
79571
+ * @param {!proto.clarifai.api.WorkflowEvaluationInputResult} msg The message object to deserialize into.
79572
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
79573
+ * @return {!proto.clarifai.api.WorkflowEvaluationInputResult}
79574
+ */
79575
+ proto.clarifai.api.WorkflowEvaluationInputResult.deserializeBinaryFromReader = function(msg, reader) {
79576
+ while (reader.nextField()) {
79577
+ if (reader.isEndGroup()) {
79578
+ break;
79579
+ }
79580
+ var field = reader.getFieldNumber();
79581
+ switch (field) {
79582
+ case 1:
79583
+ var value = new proto.clarifai.api.InputEvaluationMetricValue;
79584
+ reader.readMessage(value,proto.clarifai.api.InputEvaluationMetricValue.deserializeBinaryFromReader);
79585
+ msg.addInputEvaluationMetricValues(value);
79586
+ break;
79587
+ default:
79588
+ reader.skipField();
79589
+ break;
79590
+ }
79591
+ }
79592
+ return msg;
79593
+ };
79594
+
79595
+
79596
+ /**
79597
+ * Serializes the message to binary data (in protobuf wire format).
79598
+ * @return {!Uint8Array}
79599
+ */
79600
+ proto.clarifai.api.WorkflowEvaluationInputResult.prototype.serializeBinary = function() {
79601
+ var writer = new jspb.BinaryWriter();
79602
+ proto.clarifai.api.WorkflowEvaluationInputResult.serializeBinaryToWriter(this, writer);
79603
+ return writer.getResultBuffer();
79604
+ };
79605
+
79606
+
79607
+ /**
79608
+ * Serializes the given message to binary data (in protobuf wire
79609
+ * format), writing to the given BinaryWriter.
79610
+ * @param {!proto.clarifai.api.WorkflowEvaluationInputResult} message
79611
+ * @param {!jspb.BinaryWriter} writer
79612
+ * @suppress {unusedLocalVariables} f is only used for nested messages
79613
+ */
79614
+ proto.clarifai.api.WorkflowEvaluationInputResult.serializeBinaryToWriter = function(message, writer) {
79615
+ var f = undefined;
79616
+ f = message.getInputEvaluationMetricValuesList();
79617
+ if (f.length > 0) {
79618
+ writer.writeRepeatedMessage(
79619
+ 1,
79620
+ f,
79621
+ proto.clarifai.api.InputEvaluationMetricValue.serializeBinaryToWriter
79622
+ );
79623
+ }
79624
+ };
79625
+
79626
+
79627
+ /**
79628
+ * repeated InputEvaluationMetricValue input_evaluation_metric_values = 1;
79629
+ * @return {!Array<!proto.clarifai.api.InputEvaluationMetricValue>}
79630
+ */
79631
+ proto.clarifai.api.WorkflowEvaluationInputResult.prototype.getInputEvaluationMetricValuesList = function() {
79632
+ return /** @type{!Array<!proto.clarifai.api.InputEvaluationMetricValue>} */ (
79633
+ jspb.Message.getRepeatedWrapperField(this, proto.clarifai.api.InputEvaluationMetricValue, 1));
79634
+ };
79635
+
79636
+
79637
+ /**
79638
+ * @param {!Array<!proto.clarifai.api.InputEvaluationMetricValue>} value
79639
+ * @return {!proto.clarifai.api.WorkflowEvaluationInputResult} returns this
79640
+ */
79641
+ proto.clarifai.api.WorkflowEvaluationInputResult.prototype.setInputEvaluationMetricValuesList = function(value) {
79642
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
79643
+ };
79644
+
79645
+
79646
+ /**
79647
+ * @param {!proto.clarifai.api.InputEvaluationMetricValue=} opt_value
79648
+ * @param {number=} opt_index
79649
+ * @return {!proto.clarifai.api.InputEvaluationMetricValue}
79650
+ */
79651
+ proto.clarifai.api.WorkflowEvaluationInputResult.prototype.addInputEvaluationMetricValues = function(opt_value, opt_index) {
79652
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.clarifai.api.InputEvaluationMetricValue, opt_index);
79653
+ };
79654
+
79655
+
79656
+ /**
79657
+ * Clears the list making it empty but non-null.
79658
+ * @return {!proto.clarifai.api.WorkflowEvaluationInputResult} returns this
79659
+ */
79660
+ proto.clarifai.api.WorkflowEvaluationInputResult.prototype.clearInputEvaluationMetricValuesList = function() {
79661
+ return this.setInputEvaluationMetricValuesList([]);
79662
+ };
79663
+
79664
+
79665
+
79666
+ /**
79667
+ * List of repeated fields within this message type.
79668
+ * @private {!Array<number>}
79669
+ * @const
79670
+ */
79671
+ proto.clarifai.api.WorkflowVersionEvaluationData.repeatedFields_ = [3,4];
79672
+
79673
+
79674
+
79675
+ if (jspb.Message.GENERATE_TO_OBJECT) {
79676
+ /**
79677
+ * Creates an object representation of this proto.
79678
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
79679
+ * Optional fields that are not set will be set to undefined.
79680
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
79681
+ * For the list of reserved names please see:
79682
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
79683
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
79684
+ * JSPB instance for transitional soy proto support:
79685
+ * http://goto/soy-param-migration
79686
+ * @return {!Object}
79687
+ */
79688
+ proto.clarifai.api.WorkflowVersionEvaluationData.prototype.toObject = function(opt_includeInstance) {
79689
+ return proto.clarifai.api.WorkflowVersionEvaluationData.toObject(opt_includeInstance, this);
79690
+ };
79691
+
79692
+
79693
+ /**
79694
+ * Static version of the {@see toObject} method.
79695
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
79696
+ * the JSPB instance for transitional soy proto support:
79697
+ * http://goto/soy-param-migration
79698
+ * @param {!proto.clarifai.api.WorkflowVersionEvaluationData} msg The msg instance to transform.
79699
+ * @return {!Object}
79700
+ * @suppress {unusedLocalVariables} f is only used for nested messages
79701
+ */
79702
+ proto.clarifai.api.WorkflowVersionEvaluationData.toObject = function(includeInstance, msg) {
79703
+ var f, obj = {
79704
+ id: jspb.Message.getFieldWithDefault(msg, 1, ""),
79705
+ input: (f = msg.getInput()) && proto.clarifai.api.Input.toObject(includeInstance, f),
79706
+ groundTruthsList: jspb.Message.toObjectList(msg.getGroundTruthsList(),
79707
+ proto.clarifai.api.Data.toObject, includeInstance),
79708
+ predictionsList: jspb.Message.toObjectList(msg.getPredictionsList(),
79709
+ proto.clarifai.api.Data.toObject, includeInstance),
79710
+ workflowEvaluationSampleResult: (f = msg.getWorkflowEvaluationSampleResult()) && proto.clarifai.api.WorkflowEvaluationInputResult.toObject(includeInstance, f)
79711
+ };
79712
+
79713
+ if (includeInstance) {
79714
+ obj.$jspbMessageInstance = msg;
79715
+ }
79716
+ return obj;
79717
+ };
79718
+ }
79719
+
79720
+
79721
+ /**
79722
+ * Deserializes binary data (in protobuf wire format).
79723
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
79724
+ * @return {!proto.clarifai.api.WorkflowVersionEvaluationData}
79725
+ */
79726
+ proto.clarifai.api.WorkflowVersionEvaluationData.deserializeBinary = function(bytes) {
79727
+ var reader = new jspb.BinaryReader(bytes);
79728
+ var msg = new proto.clarifai.api.WorkflowVersionEvaluationData;
79729
+ return proto.clarifai.api.WorkflowVersionEvaluationData.deserializeBinaryFromReader(msg, reader);
79730
+ };
79731
+
79732
+
79733
+ /**
79734
+ * Deserializes binary data (in protobuf wire format) from the
79735
+ * given reader into the given message object.
79736
+ * @param {!proto.clarifai.api.WorkflowVersionEvaluationData} msg The message object to deserialize into.
79737
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
79738
+ * @return {!proto.clarifai.api.WorkflowVersionEvaluationData}
79739
+ */
79740
+ proto.clarifai.api.WorkflowVersionEvaluationData.deserializeBinaryFromReader = function(msg, reader) {
79741
+ while (reader.nextField()) {
79742
+ if (reader.isEndGroup()) {
79743
+ break;
79744
+ }
79745
+ var field = reader.getFieldNumber();
79746
+ switch (field) {
79747
+ case 1:
79748
+ var value = /** @type {string} */ (reader.readString());
79749
+ msg.setId(value);
79750
+ break;
79751
+ case 2:
79752
+ var value = new proto.clarifai.api.Input;
79753
+ reader.readMessage(value,proto.clarifai.api.Input.deserializeBinaryFromReader);
79754
+ msg.setInput(value);
79755
+ break;
79756
+ case 3:
79757
+ var value = new proto.clarifai.api.Data;
79758
+ reader.readMessage(value,proto.clarifai.api.Data.deserializeBinaryFromReader);
79759
+ msg.addGroundTruths(value);
79760
+ break;
79761
+ case 4:
79762
+ var value = new proto.clarifai.api.Data;
79763
+ reader.readMessage(value,proto.clarifai.api.Data.deserializeBinaryFromReader);
79764
+ msg.addPredictions(value);
79765
+ break;
79766
+ case 5:
79767
+ var value = new proto.clarifai.api.WorkflowEvaluationInputResult;
79768
+ reader.readMessage(value,proto.clarifai.api.WorkflowEvaluationInputResult.deserializeBinaryFromReader);
79769
+ msg.setWorkflowEvaluationSampleResult(value);
79770
+ break;
79771
+ default:
79772
+ reader.skipField();
79773
+ break;
79774
+ }
79775
+ }
79776
+ return msg;
79777
+ };
79778
+
79779
+
79780
+ /**
79781
+ * Serializes the message to binary data (in protobuf wire format).
79782
+ * @return {!Uint8Array}
79783
+ */
79784
+ proto.clarifai.api.WorkflowVersionEvaluationData.prototype.serializeBinary = function() {
79785
+ var writer = new jspb.BinaryWriter();
79786
+ proto.clarifai.api.WorkflowVersionEvaluationData.serializeBinaryToWriter(this, writer);
79787
+ return writer.getResultBuffer();
79788
+ };
79789
+
79790
+
79791
+ /**
79792
+ * Serializes the given message to binary data (in protobuf wire
79793
+ * format), writing to the given BinaryWriter.
79794
+ * @param {!proto.clarifai.api.WorkflowVersionEvaluationData} message
79795
+ * @param {!jspb.BinaryWriter} writer
79796
+ * @suppress {unusedLocalVariables} f is only used for nested messages
79797
+ */
79798
+ proto.clarifai.api.WorkflowVersionEvaluationData.serializeBinaryToWriter = function(message, writer) {
79799
+ var f = undefined;
79800
+ f = message.getId();
79801
+ if (f.length > 0) {
79802
+ writer.writeString(
79803
+ 1,
79804
+ f
79805
+ );
79806
+ }
79807
+ f = message.getInput();
79808
+ if (f != null) {
79809
+ writer.writeMessage(
79810
+ 2,
79811
+ f,
79812
+ proto.clarifai.api.Input.serializeBinaryToWriter
79813
+ );
79814
+ }
79815
+ f = message.getGroundTruthsList();
79816
+ if (f.length > 0) {
79817
+ writer.writeRepeatedMessage(
79818
+ 3,
79819
+ f,
79820
+ proto.clarifai.api.Data.serializeBinaryToWriter
79821
+ );
79822
+ }
79823
+ f = message.getPredictionsList();
79824
+ if (f.length > 0) {
79825
+ writer.writeRepeatedMessage(
79826
+ 4,
79827
+ f,
79828
+ proto.clarifai.api.Data.serializeBinaryToWriter
79829
+ );
79830
+ }
79831
+ f = message.getWorkflowEvaluationSampleResult();
79832
+ if (f != null) {
79833
+ writer.writeMessage(
79834
+ 5,
79835
+ f,
79836
+ proto.clarifai.api.WorkflowEvaluationInputResult.serializeBinaryToWriter
79837
+ );
79838
+ }
79839
+ };
79840
+
79841
+
79842
+ /**
79843
+ * optional string id = 1;
79844
+ * @return {string}
79845
+ */
79846
+ proto.clarifai.api.WorkflowVersionEvaluationData.prototype.getId = function() {
79847
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
79848
+ };
79849
+
79850
+
79851
+ /**
79852
+ * @param {string} value
79853
+ * @return {!proto.clarifai.api.WorkflowVersionEvaluationData} returns this
79854
+ */
79855
+ proto.clarifai.api.WorkflowVersionEvaluationData.prototype.setId = function(value) {
79856
+ return jspb.Message.setProto3StringField(this, 1, value);
79857
+ };
79858
+
79859
+
79860
+ /**
79861
+ * optional Input input = 2;
79862
+ * @return {?proto.clarifai.api.Input}
79863
+ */
79864
+ proto.clarifai.api.WorkflowVersionEvaluationData.prototype.getInput = function() {
79865
+ return /** @type{?proto.clarifai.api.Input} */ (
79866
+ jspb.Message.getWrapperField(this, proto.clarifai.api.Input, 2));
79867
+ };
79868
+
79869
+
79870
+ /**
79871
+ * @param {?proto.clarifai.api.Input|undefined} value
79872
+ * @return {!proto.clarifai.api.WorkflowVersionEvaluationData} returns this
79873
+ */
79874
+ proto.clarifai.api.WorkflowVersionEvaluationData.prototype.setInput = function(value) {
79875
+ return jspb.Message.setWrapperField(this, 2, value);
79876
+ };
79877
+
79878
+
79879
+ /**
79880
+ * Clears the message field making it undefined.
79881
+ * @return {!proto.clarifai.api.WorkflowVersionEvaluationData} returns this
79882
+ */
79883
+ proto.clarifai.api.WorkflowVersionEvaluationData.prototype.clearInput = function() {
79884
+ return this.setInput(undefined);
79885
+ };
79886
+
79887
+
79888
+ /**
79889
+ * Returns whether this field is set.
79890
+ * @return {boolean}
79891
+ */
79892
+ proto.clarifai.api.WorkflowVersionEvaluationData.prototype.hasInput = function() {
79893
+ return jspb.Message.getField(this, 2) != null;
79894
+ };
79895
+
79896
+
79897
+ /**
79898
+ * repeated Data ground_truths = 3;
79899
+ * @return {!Array<!proto.clarifai.api.Data>}
79900
+ */
79901
+ proto.clarifai.api.WorkflowVersionEvaluationData.prototype.getGroundTruthsList = function() {
79902
+ return /** @type{!Array<!proto.clarifai.api.Data>} */ (
79903
+ jspb.Message.getRepeatedWrapperField(this, proto.clarifai.api.Data, 3));
79904
+ };
79905
+
79906
+
79907
+ /**
79908
+ * @param {!Array<!proto.clarifai.api.Data>} value
79909
+ * @return {!proto.clarifai.api.WorkflowVersionEvaluationData} returns this
79910
+ */
79911
+ proto.clarifai.api.WorkflowVersionEvaluationData.prototype.setGroundTruthsList = function(value) {
79912
+ return jspb.Message.setRepeatedWrapperField(this, 3, value);
79913
+ };
79914
+
79915
+
79916
+ /**
79917
+ * @param {!proto.clarifai.api.Data=} opt_value
79918
+ * @param {number=} opt_index
79919
+ * @return {!proto.clarifai.api.Data}
79920
+ */
79921
+ proto.clarifai.api.WorkflowVersionEvaluationData.prototype.addGroundTruths = function(opt_value, opt_index) {
79922
+ return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.clarifai.api.Data, opt_index);
79923
+ };
79924
+
79925
+
79926
+ /**
79927
+ * Clears the list making it empty but non-null.
79928
+ * @return {!proto.clarifai.api.WorkflowVersionEvaluationData} returns this
79929
+ */
79930
+ proto.clarifai.api.WorkflowVersionEvaluationData.prototype.clearGroundTruthsList = function() {
79931
+ return this.setGroundTruthsList([]);
79932
+ };
79933
+
79934
+
79935
+ /**
79936
+ * repeated Data predictions = 4;
79937
+ * @return {!Array<!proto.clarifai.api.Data>}
79938
+ */
79939
+ proto.clarifai.api.WorkflowVersionEvaluationData.prototype.getPredictionsList = function() {
79940
+ return /** @type{!Array<!proto.clarifai.api.Data>} */ (
79941
+ jspb.Message.getRepeatedWrapperField(this, proto.clarifai.api.Data, 4));
79942
+ };
79943
+
79944
+
79945
+ /**
79946
+ * @param {!Array<!proto.clarifai.api.Data>} value
79947
+ * @return {!proto.clarifai.api.WorkflowVersionEvaluationData} returns this
79948
+ */
79949
+ proto.clarifai.api.WorkflowVersionEvaluationData.prototype.setPredictionsList = function(value) {
79950
+ return jspb.Message.setRepeatedWrapperField(this, 4, value);
79951
+ };
79952
+
79953
+
79954
+ /**
79955
+ * @param {!proto.clarifai.api.Data=} opt_value
79956
+ * @param {number=} opt_index
79957
+ * @return {!proto.clarifai.api.Data}
79958
+ */
79959
+ proto.clarifai.api.WorkflowVersionEvaluationData.prototype.addPredictions = function(opt_value, opt_index) {
79960
+ return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.clarifai.api.Data, opt_index);
79961
+ };
79962
+
79963
+
79964
+ /**
79965
+ * Clears the list making it empty but non-null.
79966
+ * @return {!proto.clarifai.api.WorkflowVersionEvaluationData} returns this
79967
+ */
79968
+ proto.clarifai.api.WorkflowVersionEvaluationData.prototype.clearPredictionsList = function() {
79969
+ return this.setPredictionsList([]);
79970
+ };
79971
+
79972
+
79973
+ /**
79974
+ * optional WorkflowEvaluationInputResult workflow_evaluation_sample_result = 5;
79975
+ * @return {?proto.clarifai.api.WorkflowEvaluationInputResult}
79976
+ */
79977
+ proto.clarifai.api.WorkflowVersionEvaluationData.prototype.getWorkflowEvaluationSampleResult = function() {
79978
+ return /** @type{?proto.clarifai.api.WorkflowEvaluationInputResult} */ (
79979
+ jspb.Message.getWrapperField(this, proto.clarifai.api.WorkflowEvaluationInputResult, 5));
79980
+ };
79981
+
79982
+
79983
+ /**
79984
+ * @param {?proto.clarifai.api.WorkflowEvaluationInputResult|undefined} value
79985
+ * @return {!proto.clarifai.api.WorkflowVersionEvaluationData} returns this
79986
+ */
79987
+ proto.clarifai.api.WorkflowVersionEvaluationData.prototype.setWorkflowEvaluationSampleResult = function(value) {
79988
+ return jspb.Message.setWrapperField(this, 5, value);
79989
+ };
79990
+
79991
+
79992
+ /**
79993
+ * Clears the message field making it undefined.
79994
+ * @return {!proto.clarifai.api.WorkflowVersionEvaluationData} returns this
79995
+ */
79996
+ proto.clarifai.api.WorkflowVersionEvaluationData.prototype.clearWorkflowEvaluationSampleResult = function() {
79997
+ return this.setWorkflowEvaluationSampleResult(undefined);
79998
+ };
79999
+
80000
+
80001
+ /**
80002
+ * Returns whether this field is set.
80003
+ * @return {boolean}
80004
+ */
80005
+ proto.clarifai.api.WorkflowVersionEvaluationData.prototype.hasWorkflowEvaluationSampleResult = function() {
80006
+ return jspb.Message.getField(this, 5) != null;
80007
+ };
80008
+
80009
+
80010
+
79039
80011
 
79040
80012
 
79041
80013
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -81038,6 +82010,511 @@ proto.clarifai.api.PipelineStepVersion.prototype.hasModifiedAt = function() {
81038
82010
 
81039
82011
 
81040
82012
 
82013
+ if (jspb.Message.GENERATE_TO_OBJECT) {
82014
+ /**
82015
+ * Creates an object representation of this proto.
82016
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
82017
+ * Optional fields that are not set will be set to undefined.
82018
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
82019
+ * For the list of reserved names please see:
82020
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
82021
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
82022
+ * JSPB instance for transitional soy proto support:
82023
+ * http://goto/soy-param-migration
82024
+ * @return {!Object}
82025
+ */
82026
+ proto.clarifai.api.Pipeline.prototype.toObject = function(opt_includeInstance) {
82027
+ return proto.clarifai.api.Pipeline.toObject(opt_includeInstance, this);
82028
+ };
82029
+
82030
+
82031
+ /**
82032
+ * Static version of the {@see toObject} method.
82033
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
82034
+ * the JSPB instance for transitional soy proto support:
82035
+ * http://goto/soy-param-migration
82036
+ * @param {!proto.clarifai.api.Pipeline} msg The msg instance to transform.
82037
+ * @return {!Object}
82038
+ * @suppress {unusedLocalVariables} f is only used for nested messages
82039
+ */
82040
+ proto.clarifai.api.Pipeline.toObject = function(includeInstance, msg) {
82041
+ var f, obj = {
82042
+ id: jspb.Message.getFieldWithDefault(msg, 1, ""),
82043
+ userId: jspb.Message.getFieldWithDefault(msg, 2, ""),
82044
+ appId: jspb.Message.getFieldWithDefault(msg, 3, ""),
82045
+ pipelineVersion: (f = msg.getPipelineVersion()) && proto.clarifai.api.PipelineVersion.toObject(includeInstance, f),
82046
+ description: jspb.Message.getFieldWithDefault(msg, 6, ""),
82047
+ visibility: (f = msg.getVisibility()) && proto.clarifai.api.Visibility.toObject(includeInstance, f),
82048
+ notes: jspb.Message.getFieldWithDefault(msg, 8, ""),
82049
+ metadata: (f = msg.getMetadata()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f),
82050
+ createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
82051
+ modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
82052
+ };
82053
+
82054
+ if (includeInstance) {
82055
+ obj.$jspbMessageInstance = msg;
82056
+ }
82057
+ return obj;
82058
+ };
82059
+ }
82060
+
82061
+
82062
+ /**
82063
+ * Deserializes binary data (in protobuf wire format).
82064
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
82065
+ * @return {!proto.clarifai.api.Pipeline}
82066
+ */
82067
+ proto.clarifai.api.Pipeline.deserializeBinary = function(bytes) {
82068
+ var reader = new jspb.BinaryReader(bytes);
82069
+ var msg = new proto.clarifai.api.Pipeline;
82070
+ return proto.clarifai.api.Pipeline.deserializeBinaryFromReader(msg, reader);
82071
+ };
82072
+
82073
+
82074
+ /**
82075
+ * Deserializes binary data (in protobuf wire format) from the
82076
+ * given reader into the given message object.
82077
+ * @param {!proto.clarifai.api.Pipeline} msg The message object to deserialize into.
82078
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
82079
+ * @return {!proto.clarifai.api.Pipeline}
82080
+ */
82081
+ proto.clarifai.api.Pipeline.deserializeBinaryFromReader = function(msg, reader) {
82082
+ while (reader.nextField()) {
82083
+ if (reader.isEndGroup()) {
82084
+ break;
82085
+ }
82086
+ var field = reader.getFieldNumber();
82087
+ switch (field) {
82088
+ case 1:
82089
+ var value = /** @type {string} */ (reader.readString());
82090
+ msg.setId(value);
82091
+ break;
82092
+ case 2:
82093
+ var value = /** @type {string} */ (reader.readString());
82094
+ msg.setUserId(value);
82095
+ break;
82096
+ case 3:
82097
+ var value = /** @type {string} */ (reader.readString());
82098
+ msg.setAppId(value);
82099
+ break;
82100
+ case 5:
82101
+ var value = new proto.clarifai.api.PipelineVersion;
82102
+ reader.readMessage(value,proto.clarifai.api.PipelineVersion.deserializeBinaryFromReader);
82103
+ msg.setPipelineVersion(value);
82104
+ break;
82105
+ case 6:
82106
+ var value = /** @type {string} */ (reader.readString());
82107
+ msg.setDescription(value);
82108
+ break;
82109
+ case 7:
82110
+ var value = new proto.clarifai.api.Visibility;
82111
+ reader.readMessage(value,proto.clarifai.api.Visibility.deserializeBinaryFromReader);
82112
+ msg.setVisibility(value);
82113
+ break;
82114
+ case 8:
82115
+ var value = /** @type {string} */ (reader.readString());
82116
+ msg.setNotes(value);
82117
+ break;
82118
+ case 9:
82119
+ var value = new google_protobuf_struct_pb.Struct;
82120
+ reader.readMessage(value,google_protobuf_struct_pb.Struct.deserializeBinaryFromReader);
82121
+ msg.setMetadata(value);
82122
+ break;
82123
+ case 10:
82124
+ var value = new google_protobuf_timestamp_pb.Timestamp;
82125
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
82126
+ msg.setCreatedAt(value);
82127
+ break;
82128
+ case 11:
82129
+ var value = new google_protobuf_timestamp_pb.Timestamp;
82130
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
82131
+ msg.setModifiedAt(value);
82132
+ break;
82133
+ default:
82134
+ reader.skipField();
82135
+ break;
82136
+ }
82137
+ }
82138
+ return msg;
82139
+ };
82140
+
82141
+
82142
+ /**
82143
+ * Serializes the message to binary data (in protobuf wire format).
82144
+ * @return {!Uint8Array}
82145
+ */
82146
+ proto.clarifai.api.Pipeline.prototype.serializeBinary = function() {
82147
+ var writer = new jspb.BinaryWriter();
82148
+ proto.clarifai.api.Pipeline.serializeBinaryToWriter(this, writer);
82149
+ return writer.getResultBuffer();
82150
+ };
82151
+
82152
+
82153
+ /**
82154
+ * Serializes the given message to binary data (in protobuf wire
82155
+ * format), writing to the given BinaryWriter.
82156
+ * @param {!proto.clarifai.api.Pipeline} message
82157
+ * @param {!jspb.BinaryWriter} writer
82158
+ * @suppress {unusedLocalVariables} f is only used for nested messages
82159
+ */
82160
+ proto.clarifai.api.Pipeline.serializeBinaryToWriter = function(message, writer) {
82161
+ var f = undefined;
82162
+ f = message.getId();
82163
+ if (f.length > 0) {
82164
+ writer.writeString(
82165
+ 1,
82166
+ f
82167
+ );
82168
+ }
82169
+ f = message.getUserId();
82170
+ if (f.length > 0) {
82171
+ writer.writeString(
82172
+ 2,
82173
+ f
82174
+ );
82175
+ }
82176
+ f = message.getAppId();
82177
+ if (f.length > 0) {
82178
+ writer.writeString(
82179
+ 3,
82180
+ f
82181
+ );
82182
+ }
82183
+ f = message.getPipelineVersion();
82184
+ if (f != null) {
82185
+ writer.writeMessage(
82186
+ 5,
82187
+ f,
82188
+ proto.clarifai.api.PipelineVersion.serializeBinaryToWriter
82189
+ );
82190
+ }
82191
+ f = message.getDescription();
82192
+ if (f.length > 0) {
82193
+ writer.writeString(
82194
+ 6,
82195
+ f
82196
+ );
82197
+ }
82198
+ f = message.getVisibility();
82199
+ if (f != null) {
82200
+ writer.writeMessage(
82201
+ 7,
82202
+ f,
82203
+ proto.clarifai.api.Visibility.serializeBinaryToWriter
82204
+ );
82205
+ }
82206
+ f = message.getNotes();
82207
+ if (f.length > 0) {
82208
+ writer.writeString(
82209
+ 8,
82210
+ f
82211
+ );
82212
+ }
82213
+ f = message.getMetadata();
82214
+ if (f != null) {
82215
+ writer.writeMessage(
82216
+ 9,
82217
+ f,
82218
+ google_protobuf_struct_pb.Struct.serializeBinaryToWriter
82219
+ );
82220
+ }
82221
+ f = message.getCreatedAt();
82222
+ if (f != null) {
82223
+ writer.writeMessage(
82224
+ 10,
82225
+ f,
82226
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
82227
+ );
82228
+ }
82229
+ f = message.getModifiedAt();
82230
+ if (f != null) {
82231
+ writer.writeMessage(
82232
+ 11,
82233
+ f,
82234
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
82235
+ );
82236
+ }
82237
+ };
82238
+
82239
+
82240
+ /**
82241
+ * optional string id = 1;
82242
+ * @return {string}
82243
+ */
82244
+ proto.clarifai.api.Pipeline.prototype.getId = function() {
82245
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
82246
+ };
82247
+
82248
+
82249
+ /**
82250
+ * @param {string} value
82251
+ * @return {!proto.clarifai.api.Pipeline} returns this
82252
+ */
82253
+ proto.clarifai.api.Pipeline.prototype.setId = function(value) {
82254
+ return jspb.Message.setProto3StringField(this, 1, value);
82255
+ };
82256
+
82257
+
82258
+ /**
82259
+ * optional string user_id = 2;
82260
+ * @return {string}
82261
+ */
82262
+ proto.clarifai.api.Pipeline.prototype.getUserId = function() {
82263
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
82264
+ };
82265
+
82266
+
82267
+ /**
82268
+ * @param {string} value
82269
+ * @return {!proto.clarifai.api.Pipeline} returns this
82270
+ */
82271
+ proto.clarifai.api.Pipeline.prototype.setUserId = function(value) {
82272
+ return jspb.Message.setProto3StringField(this, 2, value);
82273
+ };
82274
+
82275
+
82276
+ /**
82277
+ * optional string app_id = 3;
82278
+ * @return {string}
82279
+ */
82280
+ proto.clarifai.api.Pipeline.prototype.getAppId = function() {
82281
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
82282
+ };
82283
+
82284
+
82285
+ /**
82286
+ * @param {string} value
82287
+ * @return {!proto.clarifai.api.Pipeline} returns this
82288
+ */
82289
+ proto.clarifai.api.Pipeline.prototype.setAppId = function(value) {
82290
+ return jspb.Message.setProto3StringField(this, 3, value);
82291
+ };
82292
+
82293
+
82294
+ /**
82295
+ * optional PipelineVersion pipeline_version = 5;
82296
+ * @return {?proto.clarifai.api.PipelineVersion}
82297
+ */
82298
+ proto.clarifai.api.Pipeline.prototype.getPipelineVersion = function() {
82299
+ return /** @type{?proto.clarifai.api.PipelineVersion} */ (
82300
+ jspb.Message.getWrapperField(this, proto.clarifai.api.PipelineVersion, 5));
82301
+ };
82302
+
82303
+
82304
+ /**
82305
+ * @param {?proto.clarifai.api.PipelineVersion|undefined} value
82306
+ * @return {!proto.clarifai.api.Pipeline} returns this
82307
+ */
82308
+ proto.clarifai.api.Pipeline.prototype.setPipelineVersion = function(value) {
82309
+ return jspb.Message.setWrapperField(this, 5, value);
82310
+ };
82311
+
82312
+
82313
+ /**
82314
+ * Clears the message field making it undefined.
82315
+ * @return {!proto.clarifai.api.Pipeline} returns this
82316
+ */
82317
+ proto.clarifai.api.Pipeline.prototype.clearPipelineVersion = function() {
82318
+ return this.setPipelineVersion(undefined);
82319
+ };
82320
+
82321
+
82322
+ /**
82323
+ * Returns whether this field is set.
82324
+ * @return {boolean}
82325
+ */
82326
+ proto.clarifai.api.Pipeline.prototype.hasPipelineVersion = function() {
82327
+ return jspb.Message.getField(this, 5) != null;
82328
+ };
82329
+
82330
+
82331
+ /**
82332
+ * optional string description = 6;
82333
+ * @return {string}
82334
+ */
82335
+ proto.clarifai.api.Pipeline.prototype.getDescription = function() {
82336
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
82337
+ };
82338
+
82339
+
82340
+ /**
82341
+ * @param {string} value
82342
+ * @return {!proto.clarifai.api.Pipeline} returns this
82343
+ */
82344
+ proto.clarifai.api.Pipeline.prototype.setDescription = function(value) {
82345
+ return jspb.Message.setProto3StringField(this, 6, value);
82346
+ };
82347
+
82348
+
82349
+ /**
82350
+ * optional Visibility visibility = 7;
82351
+ * @return {?proto.clarifai.api.Visibility}
82352
+ */
82353
+ proto.clarifai.api.Pipeline.prototype.getVisibility = function() {
82354
+ return /** @type{?proto.clarifai.api.Visibility} */ (
82355
+ jspb.Message.getWrapperField(this, proto.clarifai.api.Visibility, 7));
82356
+ };
82357
+
82358
+
82359
+ /**
82360
+ * @param {?proto.clarifai.api.Visibility|undefined} value
82361
+ * @return {!proto.clarifai.api.Pipeline} returns this
82362
+ */
82363
+ proto.clarifai.api.Pipeline.prototype.setVisibility = function(value) {
82364
+ return jspb.Message.setWrapperField(this, 7, value);
82365
+ };
82366
+
82367
+
82368
+ /**
82369
+ * Clears the message field making it undefined.
82370
+ * @return {!proto.clarifai.api.Pipeline} returns this
82371
+ */
82372
+ proto.clarifai.api.Pipeline.prototype.clearVisibility = function() {
82373
+ return this.setVisibility(undefined);
82374
+ };
82375
+
82376
+
82377
+ /**
82378
+ * Returns whether this field is set.
82379
+ * @return {boolean}
82380
+ */
82381
+ proto.clarifai.api.Pipeline.prototype.hasVisibility = function() {
82382
+ return jspb.Message.getField(this, 7) != null;
82383
+ };
82384
+
82385
+
82386
+ /**
82387
+ * optional string notes = 8;
82388
+ * @return {string}
82389
+ */
82390
+ proto.clarifai.api.Pipeline.prototype.getNotes = function() {
82391
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
82392
+ };
82393
+
82394
+
82395
+ /**
82396
+ * @param {string} value
82397
+ * @return {!proto.clarifai.api.Pipeline} returns this
82398
+ */
82399
+ proto.clarifai.api.Pipeline.prototype.setNotes = function(value) {
82400
+ return jspb.Message.setProto3StringField(this, 8, value);
82401
+ };
82402
+
82403
+
82404
+ /**
82405
+ * optional google.protobuf.Struct metadata = 9;
82406
+ * @return {?proto.google.protobuf.Struct}
82407
+ */
82408
+ proto.clarifai.api.Pipeline.prototype.getMetadata = function() {
82409
+ return /** @type{?proto.google.protobuf.Struct} */ (
82410
+ jspb.Message.getWrapperField(this, google_protobuf_struct_pb.Struct, 9));
82411
+ };
82412
+
82413
+
82414
+ /**
82415
+ * @param {?proto.google.protobuf.Struct|undefined} value
82416
+ * @return {!proto.clarifai.api.Pipeline} returns this
82417
+ */
82418
+ proto.clarifai.api.Pipeline.prototype.setMetadata = function(value) {
82419
+ return jspb.Message.setWrapperField(this, 9, value);
82420
+ };
82421
+
82422
+
82423
+ /**
82424
+ * Clears the message field making it undefined.
82425
+ * @return {!proto.clarifai.api.Pipeline} returns this
82426
+ */
82427
+ proto.clarifai.api.Pipeline.prototype.clearMetadata = function() {
82428
+ return this.setMetadata(undefined);
82429
+ };
82430
+
82431
+
82432
+ /**
82433
+ * Returns whether this field is set.
82434
+ * @return {boolean}
82435
+ */
82436
+ proto.clarifai.api.Pipeline.prototype.hasMetadata = function() {
82437
+ return jspb.Message.getField(this, 9) != null;
82438
+ };
82439
+
82440
+
82441
+ /**
82442
+ * optional google.protobuf.Timestamp created_at = 10;
82443
+ * @return {?proto.google.protobuf.Timestamp}
82444
+ */
82445
+ proto.clarifai.api.Pipeline.prototype.getCreatedAt = function() {
82446
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
82447
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 10));
82448
+ };
82449
+
82450
+
82451
+ /**
82452
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
82453
+ * @return {!proto.clarifai.api.Pipeline} returns this
82454
+ */
82455
+ proto.clarifai.api.Pipeline.prototype.setCreatedAt = function(value) {
82456
+ return jspb.Message.setWrapperField(this, 10, value);
82457
+ };
82458
+
82459
+
82460
+ /**
82461
+ * Clears the message field making it undefined.
82462
+ * @return {!proto.clarifai.api.Pipeline} returns this
82463
+ */
82464
+ proto.clarifai.api.Pipeline.prototype.clearCreatedAt = function() {
82465
+ return this.setCreatedAt(undefined);
82466
+ };
82467
+
82468
+
82469
+ /**
82470
+ * Returns whether this field is set.
82471
+ * @return {boolean}
82472
+ */
82473
+ proto.clarifai.api.Pipeline.prototype.hasCreatedAt = function() {
82474
+ return jspb.Message.getField(this, 10) != null;
82475
+ };
82476
+
82477
+
82478
+ /**
82479
+ * optional google.protobuf.Timestamp modified_at = 11;
82480
+ * @return {?proto.google.protobuf.Timestamp}
82481
+ */
82482
+ proto.clarifai.api.Pipeline.prototype.getModifiedAt = function() {
82483
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
82484
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 11));
82485
+ };
82486
+
82487
+
82488
+ /**
82489
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
82490
+ * @return {!proto.clarifai.api.Pipeline} returns this
82491
+ */
82492
+ proto.clarifai.api.Pipeline.prototype.setModifiedAt = function(value) {
82493
+ return jspb.Message.setWrapperField(this, 11, value);
82494
+ };
82495
+
82496
+
82497
+ /**
82498
+ * Clears the message field making it undefined.
82499
+ * @return {!proto.clarifai.api.Pipeline} returns this
82500
+ */
82501
+ proto.clarifai.api.Pipeline.prototype.clearModifiedAt = function() {
82502
+ return this.setModifiedAt(undefined);
82503
+ };
82504
+
82505
+
82506
+ /**
82507
+ * Returns whether this field is set.
82508
+ * @return {boolean}
82509
+ */
82510
+ proto.clarifai.api.Pipeline.prototype.hasModifiedAt = function() {
82511
+ return jspb.Message.getField(this, 11) != null;
82512
+ };
82513
+
82514
+
82515
+
82516
+
82517
+
81041
82518
  if (jspb.Message.GENERATE_TO_OBJECT) {
81042
82519
  /**
81043
82520
  * Creates an object representation of this proto.
@@ -81942,7 +83419,9 @@ proto.clarifai.api.PipelineVersionRun.toObject = function(includeInstance, msg)
81942
83419
  proto.clarifai.api.Nodepool.toObject, includeInstance),
81943
83420
  orchestrationStatus: (f = msg.getOrchestrationStatus()) && proto.clarifai.api.OrchestrationStatus.toObject(includeInstance, f),
81944
83421
  userId: jspb.Message.getFieldWithDefault(msg, 5, ""),
81945
- appId: jspb.Message.getFieldWithDefault(msg, 6, "")
83422
+ appId: jspb.Message.getFieldWithDefault(msg, 6, ""),
83423
+ createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
83424
+ modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
81946
83425
  };
81947
83426
 
81948
83427
  if (includeInstance) {
@@ -82006,6 +83485,16 @@ proto.clarifai.api.PipelineVersionRun.deserializeBinaryFromReader = function(msg
82006
83485
  var value = /** @type {string} */ (reader.readString());
82007
83486
  msg.setAppId(value);
82008
83487
  break;
83488
+ case 7:
83489
+ var value = new google_protobuf_timestamp_pb.Timestamp;
83490
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
83491
+ msg.setCreatedAt(value);
83492
+ break;
83493
+ case 8:
83494
+ var value = new google_protobuf_timestamp_pb.Timestamp;
83495
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
83496
+ msg.setModifiedAt(value);
83497
+ break;
82009
83498
  default:
82010
83499
  reader.skipField();
82011
83500
  break;
@@ -82080,6 +83569,22 @@ proto.clarifai.api.PipelineVersionRun.serializeBinaryToWriter = function(message
82080
83569
  f
82081
83570
  );
82082
83571
  }
83572
+ f = message.getCreatedAt();
83573
+ if (f != null) {
83574
+ writer.writeMessage(
83575
+ 7,
83576
+ f,
83577
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
83578
+ );
83579
+ }
83580
+ f = message.getModifiedAt();
83581
+ if (f != null) {
83582
+ writer.writeMessage(
83583
+ 8,
83584
+ f,
83585
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
83586
+ );
83587
+ }
82083
83588
  };
82084
83589
 
82085
83590
 
@@ -82249,6 +83754,564 @@ proto.clarifai.api.PipelineVersionRun.prototype.setAppId = function(value) {
82249
83754
  };
82250
83755
 
82251
83756
 
83757
+ /**
83758
+ * optional google.protobuf.Timestamp created_at = 7;
83759
+ * @return {?proto.google.protobuf.Timestamp}
83760
+ */
83761
+ proto.clarifai.api.PipelineVersionRun.prototype.getCreatedAt = function() {
83762
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
83763
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 7));
83764
+ };
83765
+
83766
+
83767
+ /**
83768
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
83769
+ * @return {!proto.clarifai.api.PipelineVersionRun} returns this
83770
+ */
83771
+ proto.clarifai.api.PipelineVersionRun.prototype.setCreatedAt = function(value) {
83772
+ return jspb.Message.setWrapperField(this, 7, value);
83773
+ };
83774
+
83775
+
83776
+ /**
83777
+ * Clears the message field making it undefined.
83778
+ * @return {!proto.clarifai.api.PipelineVersionRun} returns this
83779
+ */
83780
+ proto.clarifai.api.PipelineVersionRun.prototype.clearCreatedAt = function() {
83781
+ return this.setCreatedAt(undefined);
83782
+ };
83783
+
83784
+
83785
+ /**
83786
+ * Returns whether this field is set.
83787
+ * @return {boolean}
83788
+ */
83789
+ proto.clarifai.api.PipelineVersionRun.prototype.hasCreatedAt = function() {
83790
+ return jspb.Message.getField(this, 7) != null;
83791
+ };
83792
+
83793
+
83794
+ /**
83795
+ * optional google.protobuf.Timestamp modified_at = 8;
83796
+ * @return {?proto.google.protobuf.Timestamp}
83797
+ */
83798
+ proto.clarifai.api.PipelineVersionRun.prototype.getModifiedAt = function() {
83799
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
83800
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 8));
83801
+ };
83802
+
83803
+
83804
+ /**
83805
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
83806
+ * @return {!proto.clarifai.api.PipelineVersionRun} returns this
83807
+ */
83808
+ proto.clarifai.api.PipelineVersionRun.prototype.setModifiedAt = function(value) {
83809
+ return jspb.Message.setWrapperField(this, 8, value);
83810
+ };
83811
+
83812
+
83813
+ /**
83814
+ * Clears the message field making it undefined.
83815
+ * @return {!proto.clarifai.api.PipelineVersionRun} returns this
83816
+ */
83817
+ proto.clarifai.api.PipelineVersionRun.prototype.clearModifiedAt = function() {
83818
+ return this.setModifiedAt(undefined);
83819
+ };
83820
+
83821
+
83822
+ /**
83823
+ * Returns whether this field is set.
83824
+ * @return {boolean}
83825
+ */
83826
+ proto.clarifai.api.PipelineVersionRun.prototype.hasModifiedAt = function() {
83827
+ return jspb.Message.getField(this, 8) != null;
83828
+ };
83829
+
83830
+
83831
+
83832
+
83833
+
83834
+ if (jspb.Message.GENERATE_TO_OBJECT) {
83835
+ /**
83836
+ * Creates an object representation of this proto.
83837
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
83838
+ * Optional fields that are not set will be set to undefined.
83839
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
83840
+ * For the list of reserved names please see:
83841
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
83842
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
83843
+ * JSPB instance for transitional soy proto support:
83844
+ * http://goto/soy-param-migration
83845
+ * @return {!Object}
83846
+ */
83847
+ proto.clarifai.api.Secret.prototype.toObject = function(opt_includeInstance) {
83848
+ return proto.clarifai.api.Secret.toObject(opt_includeInstance, this);
83849
+ };
83850
+
83851
+
83852
+ /**
83853
+ * Static version of the {@see toObject} method.
83854
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
83855
+ * the JSPB instance for transitional soy proto support:
83856
+ * http://goto/soy-param-migration
83857
+ * @param {!proto.clarifai.api.Secret} msg The msg instance to transform.
83858
+ * @return {!Object}
83859
+ * @suppress {unusedLocalVariables} f is only used for nested messages
83860
+ */
83861
+ proto.clarifai.api.Secret.toObject = function(includeInstance, msg) {
83862
+ var f, obj = {
83863
+ id: jspb.Message.getFieldWithDefault(msg, 1, ""),
83864
+ appId: jspb.Message.getFieldWithDefault(msg, 2, ""),
83865
+ name: jspb.Message.getFieldWithDefault(msg, 3, ""),
83866
+ value: jspb.Message.getFieldWithDefault(msg, 4, ""),
83867
+ version: jspb.Message.getFieldWithDefault(msg, 5, 0),
83868
+ description: jspb.Message.getFieldWithDefault(msg, 6, ""),
83869
+ createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
83870
+ modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
83871
+ visibility: (f = msg.getVisibility()) && proto.clarifai.api.Visibility.toObject(includeInstance, f),
83872
+ expiresAt: (f = msg.getExpiresAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
83873
+ };
83874
+
83875
+ if (includeInstance) {
83876
+ obj.$jspbMessageInstance = msg;
83877
+ }
83878
+ return obj;
83879
+ };
83880
+ }
83881
+
83882
+
83883
+ /**
83884
+ * Deserializes binary data (in protobuf wire format).
83885
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
83886
+ * @return {!proto.clarifai.api.Secret}
83887
+ */
83888
+ proto.clarifai.api.Secret.deserializeBinary = function(bytes) {
83889
+ var reader = new jspb.BinaryReader(bytes);
83890
+ var msg = new proto.clarifai.api.Secret;
83891
+ return proto.clarifai.api.Secret.deserializeBinaryFromReader(msg, reader);
83892
+ };
83893
+
83894
+
83895
+ /**
83896
+ * Deserializes binary data (in protobuf wire format) from the
83897
+ * given reader into the given message object.
83898
+ * @param {!proto.clarifai.api.Secret} msg The message object to deserialize into.
83899
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
83900
+ * @return {!proto.clarifai.api.Secret}
83901
+ */
83902
+ proto.clarifai.api.Secret.deserializeBinaryFromReader = function(msg, reader) {
83903
+ while (reader.nextField()) {
83904
+ if (reader.isEndGroup()) {
83905
+ break;
83906
+ }
83907
+ var field = reader.getFieldNumber();
83908
+ switch (field) {
83909
+ case 1:
83910
+ var value = /** @type {string} */ (reader.readString());
83911
+ msg.setId(value);
83912
+ break;
83913
+ case 2:
83914
+ var value = /** @type {string} */ (reader.readString());
83915
+ msg.setAppId(value);
83916
+ break;
83917
+ case 3:
83918
+ var value = /** @type {string} */ (reader.readString());
83919
+ msg.setName(value);
83920
+ break;
83921
+ case 4:
83922
+ var value = /** @type {string} */ (reader.readString());
83923
+ msg.setValue(value);
83924
+ break;
83925
+ case 5:
83926
+ var value = /** @type {number} */ (reader.readUint32());
83927
+ msg.setVersion(value);
83928
+ break;
83929
+ case 6:
83930
+ var value = /** @type {string} */ (reader.readString());
83931
+ msg.setDescription(value);
83932
+ break;
83933
+ case 7:
83934
+ var value = new google_protobuf_timestamp_pb.Timestamp;
83935
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
83936
+ msg.setCreatedAt(value);
83937
+ break;
83938
+ case 8:
83939
+ var value = new google_protobuf_timestamp_pb.Timestamp;
83940
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
83941
+ msg.setModifiedAt(value);
83942
+ break;
83943
+ case 9:
83944
+ var value = new proto.clarifai.api.Visibility;
83945
+ reader.readMessage(value,proto.clarifai.api.Visibility.deserializeBinaryFromReader);
83946
+ msg.setVisibility(value);
83947
+ break;
83948
+ case 10:
83949
+ var value = new google_protobuf_timestamp_pb.Timestamp;
83950
+ reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
83951
+ msg.setExpiresAt(value);
83952
+ break;
83953
+ default:
83954
+ reader.skipField();
83955
+ break;
83956
+ }
83957
+ }
83958
+ return msg;
83959
+ };
83960
+
83961
+
83962
+ /**
83963
+ * Serializes the message to binary data (in protobuf wire format).
83964
+ * @return {!Uint8Array}
83965
+ */
83966
+ proto.clarifai.api.Secret.prototype.serializeBinary = function() {
83967
+ var writer = new jspb.BinaryWriter();
83968
+ proto.clarifai.api.Secret.serializeBinaryToWriter(this, writer);
83969
+ return writer.getResultBuffer();
83970
+ };
83971
+
83972
+
83973
+ /**
83974
+ * Serializes the given message to binary data (in protobuf wire
83975
+ * format), writing to the given BinaryWriter.
83976
+ * @param {!proto.clarifai.api.Secret} message
83977
+ * @param {!jspb.BinaryWriter} writer
83978
+ * @suppress {unusedLocalVariables} f is only used for nested messages
83979
+ */
83980
+ proto.clarifai.api.Secret.serializeBinaryToWriter = function(message, writer) {
83981
+ var f = undefined;
83982
+ f = message.getId();
83983
+ if (f.length > 0) {
83984
+ writer.writeString(
83985
+ 1,
83986
+ f
83987
+ );
83988
+ }
83989
+ f = message.getAppId();
83990
+ if (f.length > 0) {
83991
+ writer.writeString(
83992
+ 2,
83993
+ f
83994
+ );
83995
+ }
83996
+ f = message.getName();
83997
+ if (f.length > 0) {
83998
+ writer.writeString(
83999
+ 3,
84000
+ f
84001
+ );
84002
+ }
84003
+ f = message.getValue();
84004
+ if (f.length > 0) {
84005
+ writer.writeString(
84006
+ 4,
84007
+ f
84008
+ );
84009
+ }
84010
+ f = message.getVersion();
84011
+ if (f !== 0) {
84012
+ writer.writeUint32(
84013
+ 5,
84014
+ f
84015
+ );
84016
+ }
84017
+ f = message.getDescription();
84018
+ if (f.length > 0) {
84019
+ writer.writeString(
84020
+ 6,
84021
+ f
84022
+ );
84023
+ }
84024
+ f = message.getCreatedAt();
84025
+ if (f != null) {
84026
+ writer.writeMessage(
84027
+ 7,
84028
+ f,
84029
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
84030
+ );
84031
+ }
84032
+ f = message.getModifiedAt();
84033
+ if (f != null) {
84034
+ writer.writeMessage(
84035
+ 8,
84036
+ f,
84037
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
84038
+ );
84039
+ }
84040
+ f = message.getVisibility();
84041
+ if (f != null) {
84042
+ writer.writeMessage(
84043
+ 9,
84044
+ f,
84045
+ proto.clarifai.api.Visibility.serializeBinaryToWriter
84046
+ );
84047
+ }
84048
+ f = message.getExpiresAt();
84049
+ if (f != null) {
84050
+ writer.writeMessage(
84051
+ 10,
84052
+ f,
84053
+ google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
84054
+ );
84055
+ }
84056
+ };
84057
+
84058
+
84059
+ /**
84060
+ * optional string id = 1;
84061
+ * @return {string}
84062
+ */
84063
+ proto.clarifai.api.Secret.prototype.getId = function() {
84064
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
84065
+ };
84066
+
84067
+
84068
+ /**
84069
+ * @param {string} value
84070
+ * @return {!proto.clarifai.api.Secret} returns this
84071
+ */
84072
+ proto.clarifai.api.Secret.prototype.setId = function(value) {
84073
+ return jspb.Message.setProto3StringField(this, 1, value);
84074
+ };
84075
+
84076
+
84077
+ /**
84078
+ * optional string app_id = 2;
84079
+ * @return {string}
84080
+ */
84081
+ proto.clarifai.api.Secret.prototype.getAppId = function() {
84082
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
84083
+ };
84084
+
84085
+
84086
+ /**
84087
+ * @param {string} value
84088
+ * @return {!proto.clarifai.api.Secret} returns this
84089
+ */
84090
+ proto.clarifai.api.Secret.prototype.setAppId = function(value) {
84091
+ return jspb.Message.setProto3StringField(this, 2, value);
84092
+ };
84093
+
84094
+
84095
+ /**
84096
+ * optional string name = 3;
84097
+ * @return {string}
84098
+ */
84099
+ proto.clarifai.api.Secret.prototype.getName = function() {
84100
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
84101
+ };
84102
+
84103
+
84104
+ /**
84105
+ * @param {string} value
84106
+ * @return {!proto.clarifai.api.Secret} returns this
84107
+ */
84108
+ proto.clarifai.api.Secret.prototype.setName = function(value) {
84109
+ return jspb.Message.setProto3StringField(this, 3, value);
84110
+ };
84111
+
84112
+
84113
+ /**
84114
+ * optional string value = 4;
84115
+ * @return {string}
84116
+ */
84117
+ proto.clarifai.api.Secret.prototype.getValue = function() {
84118
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
84119
+ };
84120
+
84121
+
84122
+ /**
84123
+ * @param {string} value
84124
+ * @return {!proto.clarifai.api.Secret} returns this
84125
+ */
84126
+ proto.clarifai.api.Secret.prototype.setValue = function(value) {
84127
+ return jspb.Message.setProto3StringField(this, 4, value);
84128
+ };
84129
+
84130
+
84131
+ /**
84132
+ * optional uint32 version = 5;
84133
+ * @return {number}
84134
+ */
84135
+ proto.clarifai.api.Secret.prototype.getVersion = function() {
84136
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
84137
+ };
84138
+
84139
+
84140
+ /**
84141
+ * @param {number} value
84142
+ * @return {!proto.clarifai.api.Secret} returns this
84143
+ */
84144
+ proto.clarifai.api.Secret.prototype.setVersion = function(value) {
84145
+ return jspb.Message.setProto3IntField(this, 5, value);
84146
+ };
84147
+
84148
+
84149
+ /**
84150
+ * optional string description = 6;
84151
+ * @return {string}
84152
+ */
84153
+ proto.clarifai.api.Secret.prototype.getDescription = function() {
84154
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
84155
+ };
84156
+
84157
+
84158
+ /**
84159
+ * @param {string} value
84160
+ * @return {!proto.clarifai.api.Secret} returns this
84161
+ */
84162
+ proto.clarifai.api.Secret.prototype.setDescription = function(value) {
84163
+ return jspb.Message.setProto3StringField(this, 6, value);
84164
+ };
84165
+
84166
+
84167
+ /**
84168
+ * optional google.protobuf.Timestamp created_at = 7;
84169
+ * @return {?proto.google.protobuf.Timestamp}
84170
+ */
84171
+ proto.clarifai.api.Secret.prototype.getCreatedAt = function() {
84172
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
84173
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 7));
84174
+ };
84175
+
84176
+
84177
+ /**
84178
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
84179
+ * @return {!proto.clarifai.api.Secret} returns this
84180
+ */
84181
+ proto.clarifai.api.Secret.prototype.setCreatedAt = function(value) {
84182
+ return jspb.Message.setWrapperField(this, 7, value);
84183
+ };
84184
+
84185
+
84186
+ /**
84187
+ * Clears the message field making it undefined.
84188
+ * @return {!proto.clarifai.api.Secret} returns this
84189
+ */
84190
+ proto.clarifai.api.Secret.prototype.clearCreatedAt = function() {
84191
+ return this.setCreatedAt(undefined);
84192
+ };
84193
+
84194
+
84195
+ /**
84196
+ * Returns whether this field is set.
84197
+ * @return {boolean}
84198
+ */
84199
+ proto.clarifai.api.Secret.prototype.hasCreatedAt = function() {
84200
+ return jspb.Message.getField(this, 7) != null;
84201
+ };
84202
+
84203
+
84204
+ /**
84205
+ * optional google.protobuf.Timestamp modified_at = 8;
84206
+ * @return {?proto.google.protobuf.Timestamp}
84207
+ */
84208
+ proto.clarifai.api.Secret.prototype.getModifiedAt = function() {
84209
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
84210
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 8));
84211
+ };
84212
+
84213
+
84214
+ /**
84215
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
84216
+ * @return {!proto.clarifai.api.Secret} returns this
84217
+ */
84218
+ proto.clarifai.api.Secret.prototype.setModifiedAt = function(value) {
84219
+ return jspb.Message.setWrapperField(this, 8, value);
84220
+ };
84221
+
84222
+
84223
+ /**
84224
+ * Clears the message field making it undefined.
84225
+ * @return {!proto.clarifai.api.Secret} returns this
84226
+ */
84227
+ proto.clarifai.api.Secret.prototype.clearModifiedAt = function() {
84228
+ return this.setModifiedAt(undefined);
84229
+ };
84230
+
84231
+
84232
+ /**
84233
+ * Returns whether this field is set.
84234
+ * @return {boolean}
84235
+ */
84236
+ proto.clarifai.api.Secret.prototype.hasModifiedAt = function() {
84237
+ return jspb.Message.getField(this, 8) != null;
84238
+ };
84239
+
84240
+
84241
+ /**
84242
+ * optional Visibility visibility = 9;
84243
+ * @return {?proto.clarifai.api.Visibility}
84244
+ */
84245
+ proto.clarifai.api.Secret.prototype.getVisibility = function() {
84246
+ return /** @type{?proto.clarifai.api.Visibility} */ (
84247
+ jspb.Message.getWrapperField(this, proto.clarifai.api.Visibility, 9));
84248
+ };
84249
+
84250
+
84251
+ /**
84252
+ * @param {?proto.clarifai.api.Visibility|undefined} value
84253
+ * @return {!proto.clarifai.api.Secret} returns this
84254
+ */
84255
+ proto.clarifai.api.Secret.prototype.setVisibility = function(value) {
84256
+ return jspb.Message.setWrapperField(this, 9, value);
84257
+ };
84258
+
84259
+
84260
+ /**
84261
+ * Clears the message field making it undefined.
84262
+ * @return {!proto.clarifai.api.Secret} returns this
84263
+ */
84264
+ proto.clarifai.api.Secret.prototype.clearVisibility = function() {
84265
+ return this.setVisibility(undefined);
84266
+ };
84267
+
84268
+
84269
+ /**
84270
+ * Returns whether this field is set.
84271
+ * @return {boolean}
84272
+ */
84273
+ proto.clarifai.api.Secret.prototype.hasVisibility = function() {
84274
+ return jspb.Message.getField(this, 9) != null;
84275
+ };
84276
+
84277
+
84278
+ /**
84279
+ * optional google.protobuf.Timestamp expires_at = 10;
84280
+ * @return {?proto.google.protobuf.Timestamp}
84281
+ */
84282
+ proto.clarifai.api.Secret.prototype.getExpiresAt = function() {
84283
+ return /** @type{?proto.google.protobuf.Timestamp} */ (
84284
+ jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 10));
84285
+ };
84286
+
84287
+
84288
+ /**
84289
+ * @param {?proto.google.protobuf.Timestamp|undefined} value
84290
+ * @return {!proto.clarifai.api.Secret} returns this
84291
+ */
84292
+ proto.clarifai.api.Secret.prototype.setExpiresAt = function(value) {
84293
+ return jspb.Message.setWrapperField(this, 10, value);
84294
+ };
84295
+
84296
+
84297
+ /**
84298
+ * Clears the message field making it undefined.
84299
+ * @return {!proto.clarifai.api.Secret} returns this
84300
+ */
84301
+ proto.clarifai.api.Secret.prototype.clearExpiresAt = function() {
84302
+ return this.setExpiresAt(undefined);
84303
+ };
84304
+
84305
+
84306
+ /**
84307
+ * Returns whether this field is set.
84308
+ * @return {boolean}
84309
+ */
84310
+ proto.clarifai.api.Secret.prototype.hasExpiresAt = function() {
84311
+ return jspb.Message.getField(this, 10) != null;
84312
+ };
84313
+
84314
+
82252
84315
  /**
82253
84316
  * @enum {number}
82254
84317
  */
@@ -82324,6 +84387,16 @@ proto.clarifai.api.LicenseType = {
82324
84387
  CLOSED_SOURCE: 3
82325
84388
  };
82326
84389
 
84390
+ /**
84391
+ * @enum {number}
84392
+ */
84393
+ proto.clarifai.api.DeployRestriction = {
84394
+ USAGE_RESTRICTION_NOT_SET: 0,
84395
+ NO_LIMITS: 1,
84396
+ SHARED_COMPUTE_ONLY: 2,
84397
+ DEDICATED_COMPUTE_ONLY: 3
84398
+ };
84399
+
82327
84400
  /**
82328
84401
  * @enum {number}
82329
84402
  */