clarifai-web-grpc 11.5.2 → 11.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/VERSION +1 -1
- package/dist/cjs/proto/clarifai/api/resources_pb.js +1638 -3
- package/dist/cjs/proto/clarifai/api/service_grpc_web_pb.js +910 -70
- package/dist/cjs/proto/clarifai/api/service_pb.js +6855 -739
- package/dist/cjs/proto/clarifai/api/status/status_code_pb.js +1 -0
- package/dist/cjs/proto/clarifai/auth/scope/scope_pb.js +5 -1
- package/dist/esm/proto/clarifai/api/resources_pb.js +1638 -3
- package/dist/esm/proto/clarifai/api/service_grpc_web_pb.js +910 -70
- package/dist/esm/proto/clarifai/api/service_pb.js +6855 -739
- package/dist/esm/proto/clarifai/api/status/status_code_pb.js +1 -0
- package/dist/esm/proto/clarifai/auth/scope/scope_pb.js +5 -1
- package/package.json +1 -1
- package/proto/clarifai/api/resources_pb.d.ts +252 -0
- package/proto/clarifai/api/resources_pb.js +2076 -3
- package/proto/clarifai/api/service_grpc_web_pb.d.ts +240 -0
- package/proto/clarifai/api/service_grpc_web_pb.js +1315 -95
- package/proto/clarifai/api/service_pb.d.ts +890 -8
- package/proto/clarifai/api/service_pb.js +8719 -1155
- package/proto/clarifai/api/status/status_code_pb.d.ts +1 -0
- package/proto/clarifai/api/status/status_code_pb.js +1 -0
- package/proto/clarifai/auth/scope/scope_pb.d.ts +4 -0
- package/proto/clarifai/auth/scope/scope_pb.js +5 -1
|
@@ -126,6 +126,7 @@ goog.exportSymbol('proto.clarifai.api.DeleteConcepts', null, global);
|
|
|
126
126
|
goog.exportSymbol('proto.clarifai.api.DeleteFromDataset', null, global);
|
|
127
127
|
goog.exportSymbol('proto.clarifai.api.DeleteGeo', null, global);
|
|
128
128
|
goog.exportSymbol('proto.clarifai.api.DeleteMetadata', null, global);
|
|
129
|
+
goog.exportSymbol('proto.clarifai.api.DeployRestriction', null, global);
|
|
129
130
|
goog.exportSymbol('proto.clarifai.api.Deployment', null, global);
|
|
130
131
|
goog.exportSymbol('proto.clarifai.api.Deployment.SchedulingChoice', null, global);
|
|
131
132
|
goog.exportSymbol('proto.clarifai.api.DetailConceptCount', null, global);
|
|
@@ -161,6 +162,7 @@ goog.exportSymbol('proto.clarifai.api.ImportInfo', null, global);
|
|
|
161
162
|
goog.exportSymbol('proto.clarifai.api.Input', null, global);
|
|
162
163
|
goog.exportSymbol('proto.clarifai.api.InputBatch', null, global);
|
|
163
164
|
goog.exportSymbol('proto.clarifai.api.InputCount', null, global);
|
|
165
|
+
goog.exportSymbol('proto.clarifai.api.InputEvaluationMetricValue', null, global);
|
|
164
166
|
goog.exportSymbol('proto.clarifai.api.InputIDConflictResolution', null, global);
|
|
165
167
|
goog.exportSymbol('proto.clarifai.api.InputIDs', null, global);
|
|
166
168
|
goog.exportSymbol('proto.clarifai.api.InputInfo', null, global);
|
|
@@ -235,6 +237,7 @@ goog.exportSymbol('proto.clarifai.api.Part', null, global);
|
|
|
235
237
|
goog.exportSymbol('proto.clarifai.api.Password', null, global);
|
|
236
238
|
goog.exportSymbol('proto.clarifai.api.PasswordViolations', null, global);
|
|
237
239
|
goog.exportSymbol('proto.clarifai.api.PatchAction', null, global);
|
|
240
|
+
goog.exportSymbol('proto.clarifai.api.Pipeline', null, global);
|
|
238
241
|
goog.exportSymbol('proto.clarifai.api.PipelineStep', null, global);
|
|
239
242
|
goog.exportSymbol('proto.clarifai.api.PipelineStepInputParam', null, global);
|
|
240
243
|
goog.exportSymbol('proto.clarifai.api.PipelineStepVersion', null, global);
|
|
@@ -260,6 +263,7 @@ goog.exportSymbol('proto.clarifai.api.RunnerSelector', null, global);
|
|
|
260
263
|
goog.exportSymbol('proto.clarifai.api.ScopeDeps', null, global);
|
|
261
264
|
goog.exportSymbol('proto.clarifai.api.Search', null, global);
|
|
262
265
|
goog.exportSymbol('proto.clarifai.api.Search.Metric', null, global);
|
|
266
|
+
goog.exportSymbol('proto.clarifai.api.Secret', null, global);
|
|
263
267
|
goog.exportSymbol('proto.clarifai.api.Span', null, global);
|
|
264
268
|
goog.exportSymbol('proto.clarifai.api.SplitIntoDatasets', null, global);
|
|
265
269
|
goog.exportSymbol('proto.clarifai.api.SplitIntoDatasets.DatasetSplitMethod', null, global);
|
|
@@ -323,6 +327,7 @@ goog.exportSymbol('proto.clarifai.api.W3C', null, global);
|
|
|
323
327
|
goog.exportSymbol('proto.clarifai.api.Worker', null, global);
|
|
324
328
|
goog.exportSymbol('proto.clarifai.api.Worker.WorkerCase', null, global);
|
|
325
329
|
goog.exportSymbol('proto.clarifai.api.Workflow', null, global);
|
|
330
|
+
goog.exportSymbol('proto.clarifai.api.WorkflowEvaluationInputResult', null, global);
|
|
326
331
|
goog.exportSymbol('proto.clarifai.api.WorkflowEvaluationResult', null, global);
|
|
327
332
|
goog.exportSymbol('proto.clarifai.api.WorkflowEvaluationResultSummary', null, global);
|
|
328
333
|
goog.exportSymbol('proto.clarifai.api.WorkflowModelUseCase', null, global);
|
|
@@ -331,6 +336,7 @@ goog.exportSymbol('proto.clarifai.api.WorkflowResult', null, global);
|
|
|
331
336
|
goog.exportSymbol('proto.clarifai.api.WorkflowState', null, global);
|
|
332
337
|
goog.exportSymbol('proto.clarifai.api.WorkflowVersion', null, global);
|
|
333
338
|
goog.exportSymbol('proto.clarifai.api.WorkflowVersionEvaluation', null, global);
|
|
339
|
+
goog.exportSymbol('proto.clarifai.api.WorkflowVersionEvaluationData', null, global);
|
|
334
340
|
goog.exportSymbol('proto.clarifai.api.WorkflowVersionEvaluationMetric', null, global);
|
|
335
341
|
goog.exportSymbol('proto.clarifai.api.WorkflowVersionEvaluationMetric.DataType', null, global);
|
|
336
342
|
goog.exportSymbol('proto.clarifai.api.WorkflowVersionEvaluationMetric.VisualisationType', null, global);
|
|
@@ -5166,6 +5172,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
5166
5172
|
*/
|
|
5167
5173
|
proto.clarifai.api.EvaluationMetricValue.displayName = 'proto.clarifai.api.EvaluationMetricValue';
|
|
5168
5174
|
}
|
|
5175
|
+
/**
|
|
5176
|
+
* Generated by JsPbCodeGenerator.
|
|
5177
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
5178
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
5179
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
5180
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
5181
|
+
* valid.
|
|
5182
|
+
* @extends {jspb.Message}
|
|
5183
|
+
* @constructor
|
|
5184
|
+
*/
|
|
5185
|
+
proto.clarifai.api.InputEvaluationMetricValue = function (opt_data) {
|
|
5186
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
5187
|
+
};
|
|
5188
|
+
goog.inherits(proto.clarifai.api.InputEvaluationMetricValue, jspb.Message);
|
|
5189
|
+
if (goog.DEBUG && !COMPILED) {
|
|
5190
|
+
/**
|
|
5191
|
+
* @public
|
|
5192
|
+
* @override
|
|
5193
|
+
*/
|
|
5194
|
+
proto.clarifai.api.InputEvaluationMetricValue.displayName = 'proto.clarifai.api.InputEvaluationMetricValue';
|
|
5195
|
+
}
|
|
5169
5196
|
/**
|
|
5170
5197
|
* Generated by JsPbCodeGenerator.
|
|
5171
5198
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -5187,6 +5214,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
5187
5214
|
*/
|
|
5188
5215
|
proto.clarifai.api.MetricValue.displayName = 'proto.clarifai.api.MetricValue';
|
|
5189
5216
|
}
|
|
5217
|
+
/**
|
|
5218
|
+
* Generated by JsPbCodeGenerator.
|
|
5219
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
5220
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
5221
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
5222
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
5223
|
+
* valid.
|
|
5224
|
+
* @extends {jspb.Message}
|
|
5225
|
+
* @constructor
|
|
5226
|
+
*/
|
|
5227
|
+
proto.clarifai.api.WorkflowEvaluationInputResult = function (opt_data) {
|
|
5228
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.WorkflowEvaluationInputResult.repeatedFields_, null);
|
|
5229
|
+
};
|
|
5230
|
+
goog.inherits(proto.clarifai.api.WorkflowEvaluationInputResult, jspb.Message);
|
|
5231
|
+
if (goog.DEBUG && !COMPILED) {
|
|
5232
|
+
/**
|
|
5233
|
+
* @public
|
|
5234
|
+
* @override
|
|
5235
|
+
*/
|
|
5236
|
+
proto.clarifai.api.WorkflowEvaluationInputResult.displayName = 'proto.clarifai.api.WorkflowEvaluationInputResult';
|
|
5237
|
+
}
|
|
5238
|
+
/**
|
|
5239
|
+
* Generated by JsPbCodeGenerator.
|
|
5240
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
5241
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
5242
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
5243
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
5244
|
+
* valid.
|
|
5245
|
+
* @extends {jspb.Message}
|
|
5246
|
+
* @constructor
|
|
5247
|
+
*/
|
|
5248
|
+
proto.clarifai.api.WorkflowVersionEvaluationData = function (opt_data) {
|
|
5249
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.WorkflowVersionEvaluationData.repeatedFields_, null);
|
|
5250
|
+
};
|
|
5251
|
+
goog.inherits(proto.clarifai.api.WorkflowVersionEvaluationData, jspb.Message);
|
|
5252
|
+
if (goog.DEBUG && !COMPILED) {
|
|
5253
|
+
/**
|
|
5254
|
+
* @public
|
|
5255
|
+
* @override
|
|
5256
|
+
*/
|
|
5257
|
+
proto.clarifai.api.WorkflowVersionEvaluationData.displayName = 'proto.clarifai.api.WorkflowVersionEvaluationData';
|
|
5258
|
+
}
|
|
5190
5259
|
/**
|
|
5191
5260
|
* Generated by JsPbCodeGenerator.
|
|
5192
5261
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -5334,6 +5403,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
5334
5403
|
*/
|
|
5335
5404
|
proto.clarifai.api.PipelineStepVersion.displayName = 'proto.clarifai.api.PipelineStepVersion';
|
|
5336
5405
|
}
|
|
5406
|
+
/**
|
|
5407
|
+
* Generated by JsPbCodeGenerator.
|
|
5408
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
5409
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
5410
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
5411
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
5412
|
+
* valid.
|
|
5413
|
+
* @extends {jspb.Message}
|
|
5414
|
+
* @constructor
|
|
5415
|
+
*/
|
|
5416
|
+
proto.clarifai.api.Pipeline = function (opt_data) {
|
|
5417
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
5418
|
+
};
|
|
5419
|
+
goog.inherits(proto.clarifai.api.Pipeline, jspb.Message);
|
|
5420
|
+
if (goog.DEBUG && !COMPILED) {
|
|
5421
|
+
/**
|
|
5422
|
+
* @public
|
|
5423
|
+
* @override
|
|
5424
|
+
*/
|
|
5425
|
+
proto.clarifai.api.Pipeline.displayName = 'proto.clarifai.api.Pipeline';
|
|
5426
|
+
}
|
|
5337
5427
|
/**
|
|
5338
5428
|
* Generated by JsPbCodeGenerator.
|
|
5339
5429
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -5418,6 +5508,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
5418
5508
|
*/
|
|
5419
5509
|
proto.clarifai.api.PipelineVersionRun.displayName = 'proto.clarifai.api.PipelineVersionRun';
|
|
5420
5510
|
}
|
|
5511
|
+
/**
|
|
5512
|
+
* Generated by JsPbCodeGenerator.
|
|
5513
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
5514
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
5515
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
5516
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
5517
|
+
* valid.
|
|
5518
|
+
* @extends {jspb.Message}
|
|
5519
|
+
* @constructor
|
|
5520
|
+
*/
|
|
5521
|
+
proto.clarifai.api.Secret = function (opt_data) {
|
|
5522
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
5523
|
+
};
|
|
5524
|
+
goog.inherits(proto.clarifai.api.Secret, jspb.Message);
|
|
5525
|
+
if (goog.DEBUG && !COMPILED) {
|
|
5526
|
+
/**
|
|
5527
|
+
* @public
|
|
5528
|
+
* @override
|
|
5529
|
+
*/
|
|
5530
|
+
proto.clarifai.api.Secret.displayName = 'proto.clarifai.api.Secret';
|
|
5531
|
+
}
|
|
5421
5532
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
5422
5533
|
/**
|
|
5423
5534
|
* Creates an object representation of this proto.
|
|
@@ -21073,7 +21184,9 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
21073
21184
|
creator: jspb.Message.getFieldWithDefault(msg, 37, ""),
|
|
21074
21185
|
versionCount: jspb.Message.getFieldWithDefault(msg, 38, 0),
|
|
21075
21186
|
billingType: jspb.Message.getFieldWithDefault(msg, 40, 0),
|
|
21076
|
-
featuredOrder: (f = msg.getFeaturedOrder()) && google_protobuf_wrappers_pb.Int32Value.toObject(includeInstance, f)
|
|
21187
|
+
featuredOrder: (f = msg.getFeaturedOrder()) && google_protobuf_wrappers_pb.Int32Value.toObject(includeInstance, f),
|
|
21188
|
+
deployRestriction: jspb.Message.getFieldWithDefault(msg, 42, 0),
|
|
21189
|
+
replicaCount: jspb.Message.getFieldWithDefault(msg, 43, 0)
|
|
21077
21190
|
};
|
|
21078
21191
|
if (includeInstance) {
|
|
21079
21192
|
obj.$jspbMessageInstance = msg;
|
|
@@ -21250,6 +21363,14 @@ proto.clarifai.api.Model.deserializeBinaryFromReader = function (msg, reader) {
|
|
|
21250
21363
|
reader.readMessage(value, google_protobuf_wrappers_pb.Int32Value.deserializeBinaryFromReader);
|
|
21251
21364
|
msg.setFeaturedOrder(value);
|
|
21252
21365
|
break;
|
|
21366
|
+
case 42:
|
|
21367
|
+
var value = /** @type {!proto.clarifai.api.DeployRestriction} */ (reader.readEnum());
|
|
21368
|
+
msg.setDeployRestriction(value);
|
|
21369
|
+
break;
|
|
21370
|
+
case 43:
|
|
21371
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
21372
|
+
msg.setReplicaCount(value);
|
|
21373
|
+
break;
|
|
21253
21374
|
default:
|
|
21254
21375
|
reader.skipField();
|
|
21255
21376
|
break;
|
|
@@ -21407,6 +21528,14 @@ proto.clarifai.api.Model.serializeBinaryToWriter = function (message, writer) {
|
|
|
21407
21528
|
if (f != null) {
|
|
21408
21529
|
writer.writeMessage(41, f, google_protobuf_wrappers_pb.Int32Value.serializeBinaryToWriter);
|
|
21409
21530
|
}
|
|
21531
|
+
f = message.getDeployRestriction();
|
|
21532
|
+
if (f !== 0.0) {
|
|
21533
|
+
writer.writeEnum(42, f);
|
|
21534
|
+
}
|
|
21535
|
+
f = message.getReplicaCount();
|
|
21536
|
+
if (f !== 0) {
|
|
21537
|
+
writer.writeUint32(43, f);
|
|
21538
|
+
}
|
|
21410
21539
|
};
|
|
21411
21540
|
/**
|
|
21412
21541
|
* @enum {number}
|
|
@@ -22129,6 +22258,34 @@ proto.clarifai.api.Model.prototype.clearFeaturedOrder = function () {
|
|
|
22129
22258
|
proto.clarifai.api.Model.prototype.hasFeaturedOrder = function () {
|
|
22130
22259
|
return jspb.Message.getField(this, 41) != null;
|
|
22131
22260
|
};
|
|
22261
|
+
/**
|
|
22262
|
+
* optional DeployRestriction deploy_restriction = 42;
|
|
22263
|
+
* @return {!proto.clarifai.api.DeployRestriction}
|
|
22264
|
+
*/
|
|
22265
|
+
proto.clarifai.api.Model.prototype.getDeployRestriction = function () {
|
|
22266
|
+
return /** @type {!proto.clarifai.api.DeployRestriction} */ (jspb.Message.getFieldWithDefault(this, 42, 0));
|
|
22267
|
+
};
|
|
22268
|
+
/**
|
|
22269
|
+
* @param {!proto.clarifai.api.DeployRestriction} value
|
|
22270
|
+
* @return {!proto.clarifai.api.Model} returns this
|
|
22271
|
+
*/
|
|
22272
|
+
proto.clarifai.api.Model.prototype.setDeployRestriction = function (value) {
|
|
22273
|
+
return jspb.Message.setProto3EnumField(this, 42, value);
|
|
22274
|
+
};
|
|
22275
|
+
/**
|
|
22276
|
+
* optional uint32 replica_count = 43;
|
|
22277
|
+
* @return {number}
|
|
22278
|
+
*/
|
|
22279
|
+
proto.clarifai.api.Model.prototype.getReplicaCount = function () {
|
|
22280
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 43, 0));
|
|
22281
|
+
};
|
|
22282
|
+
/**
|
|
22283
|
+
* @param {number} value
|
|
22284
|
+
* @return {!proto.clarifai.api.Model} returns this
|
|
22285
|
+
*/
|
|
22286
|
+
proto.clarifai.api.Model.prototype.setReplicaCount = function (value) {
|
|
22287
|
+
return jspb.Message.setProto3IntField(this, 43, value);
|
|
22288
|
+
};
|
|
22132
22289
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
22133
22290
|
/**
|
|
22134
22291
|
* Creates an object representation of this proto.
|
|
@@ -43264,7 +43421,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
43264
43421
|
*/
|
|
43265
43422
|
proto.clarifai.api.TaskAIAssistant.toObject = function (includeInstance, msg) {
|
|
43266
43423
|
var f, obj = {
|
|
43267
|
-
workflowId: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
43424
|
+
workflowId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
43425
|
+
workflow: (f = msg.getWorkflow()) && proto.clarifai.api.Workflow.toObject(includeInstance, f)
|
|
43268
43426
|
};
|
|
43269
43427
|
if (includeInstance) {
|
|
43270
43428
|
obj.$jspbMessageInstance = msg;
|
|
@@ -43300,6 +43458,11 @@ proto.clarifai.api.TaskAIAssistant.deserializeBinaryFromReader = function (msg,
|
|
|
43300
43458
|
var value = /** @type {string} */ (reader.readString());
|
|
43301
43459
|
msg.setWorkflowId(value);
|
|
43302
43460
|
break;
|
|
43461
|
+
case 2:
|
|
43462
|
+
var value = new proto.clarifai.api.Workflow;
|
|
43463
|
+
reader.readMessage(value, proto.clarifai.api.Workflow.deserializeBinaryFromReader);
|
|
43464
|
+
msg.setWorkflow(value);
|
|
43465
|
+
break;
|
|
43303
43466
|
default:
|
|
43304
43467
|
reader.skipField();
|
|
43305
43468
|
break;
|
|
@@ -43329,6 +43492,10 @@ proto.clarifai.api.TaskAIAssistant.serializeBinaryToWriter = function (message,
|
|
|
43329
43492
|
if (f.length > 0) {
|
|
43330
43493
|
writer.writeString(1, f);
|
|
43331
43494
|
}
|
|
43495
|
+
f = message.getWorkflow();
|
|
43496
|
+
if (f != null) {
|
|
43497
|
+
writer.writeMessage(2, f, proto.clarifai.api.Workflow.serializeBinaryToWriter);
|
|
43498
|
+
}
|
|
43332
43499
|
};
|
|
43333
43500
|
/**
|
|
43334
43501
|
* optional string workflow_id = 1;
|
|
@@ -43344,6 +43511,34 @@ proto.clarifai.api.TaskAIAssistant.prototype.getWorkflowId = function () {
|
|
|
43344
43511
|
proto.clarifai.api.TaskAIAssistant.prototype.setWorkflowId = function (value) {
|
|
43345
43512
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
43346
43513
|
};
|
|
43514
|
+
/**
|
|
43515
|
+
* optional Workflow workflow = 2;
|
|
43516
|
+
* @return {?proto.clarifai.api.Workflow}
|
|
43517
|
+
*/
|
|
43518
|
+
proto.clarifai.api.TaskAIAssistant.prototype.getWorkflow = function () {
|
|
43519
|
+
return /** @type{?proto.clarifai.api.Workflow} */ (jspb.Message.getWrapperField(this, proto.clarifai.api.Workflow, 2));
|
|
43520
|
+
};
|
|
43521
|
+
/**
|
|
43522
|
+
* @param {?proto.clarifai.api.Workflow|undefined} value
|
|
43523
|
+
* @return {!proto.clarifai.api.TaskAIAssistant} returns this
|
|
43524
|
+
*/
|
|
43525
|
+
proto.clarifai.api.TaskAIAssistant.prototype.setWorkflow = function (value) {
|
|
43526
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
43527
|
+
};
|
|
43528
|
+
/**
|
|
43529
|
+
* Clears the message field making it undefined.
|
|
43530
|
+
* @return {!proto.clarifai.api.TaskAIAssistant} returns this
|
|
43531
|
+
*/
|
|
43532
|
+
proto.clarifai.api.TaskAIAssistant.prototype.clearWorkflow = function () {
|
|
43533
|
+
return this.setWorkflow(undefined);
|
|
43534
|
+
};
|
|
43535
|
+
/**
|
|
43536
|
+
* Returns whether this field is set.
|
|
43537
|
+
* @return {boolean}
|
|
43538
|
+
*/
|
|
43539
|
+
proto.clarifai.api.TaskAIAssistant.prototype.hasWorkflow = function () {
|
|
43540
|
+
return jspb.Message.getField(this, 2) != null;
|
|
43541
|
+
};
|
|
43347
43542
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
43348
43543
|
/**
|
|
43349
43544
|
* Creates an object representation of this proto.
|
|
@@ -62892,6 +63087,202 @@ proto.clarifai.api.EvaluationMetricValue.prototype.clearPerConceptValuesMap = fu
|
|
|
62892
63087
|
this.getPerConceptValuesMap().clear();
|
|
62893
63088
|
return this;
|
|
62894
63089
|
};
|
|
63090
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
63091
|
+
/**
|
|
63092
|
+
* Creates an object representation of this proto.
|
|
63093
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
63094
|
+
* Optional fields that are not set will be set to undefined.
|
|
63095
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
63096
|
+
* For the list of reserved names please see:
|
|
63097
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
63098
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
63099
|
+
* JSPB instance for transitional soy proto support:
|
|
63100
|
+
* http://goto/soy-param-migration
|
|
63101
|
+
* @return {!Object}
|
|
63102
|
+
*/
|
|
63103
|
+
proto.clarifai.api.InputEvaluationMetricValue.prototype.toObject = function (opt_includeInstance) {
|
|
63104
|
+
return proto.clarifai.api.InputEvaluationMetricValue.toObject(opt_includeInstance, this);
|
|
63105
|
+
};
|
|
63106
|
+
/**
|
|
63107
|
+
* Static version of the {@see toObject} method.
|
|
63108
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
63109
|
+
* the JSPB instance for transitional soy proto support:
|
|
63110
|
+
* http://goto/soy-param-migration
|
|
63111
|
+
* @param {!proto.clarifai.api.InputEvaluationMetricValue} msg The msg instance to transform.
|
|
63112
|
+
* @return {!Object}
|
|
63113
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
63114
|
+
*/
|
|
63115
|
+
proto.clarifai.api.InputEvaluationMetricValue.toObject = function (includeInstance, msg) {
|
|
63116
|
+
var f, obj = {
|
|
63117
|
+
evaluationMetricId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
63118
|
+
metricValue: (f = msg.getMetricValue()) && proto.clarifai.api.MetricValue.toObject(includeInstance, f),
|
|
63119
|
+
explanation: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
63120
|
+
perRegionValuesMap: (f = msg.getPerRegionValuesMap()) ? f.toObject(includeInstance, proto.clarifai.api.MetricValue.toObject) : []
|
|
63121
|
+
};
|
|
63122
|
+
if (includeInstance) {
|
|
63123
|
+
obj.$jspbMessageInstance = msg;
|
|
63124
|
+
}
|
|
63125
|
+
return obj;
|
|
63126
|
+
};
|
|
63127
|
+
}
|
|
63128
|
+
/**
|
|
63129
|
+
* Deserializes binary data (in protobuf wire format).
|
|
63130
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
63131
|
+
* @return {!proto.clarifai.api.InputEvaluationMetricValue}
|
|
63132
|
+
*/
|
|
63133
|
+
proto.clarifai.api.InputEvaluationMetricValue.deserializeBinary = function (bytes) {
|
|
63134
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
63135
|
+
var msg = new proto.clarifai.api.InputEvaluationMetricValue;
|
|
63136
|
+
return proto.clarifai.api.InputEvaluationMetricValue.deserializeBinaryFromReader(msg, reader);
|
|
63137
|
+
};
|
|
63138
|
+
/**
|
|
63139
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
63140
|
+
* given reader into the given message object.
|
|
63141
|
+
* @param {!proto.clarifai.api.InputEvaluationMetricValue} msg The message object to deserialize into.
|
|
63142
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
63143
|
+
* @return {!proto.clarifai.api.InputEvaluationMetricValue}
|
|
63144
|
+
*/
|
|
63145
|
+
proto.clarifai.api.InputEvaluationMetricValue.deserializeBinaryFromReader = function (msg, reader) {
|
|
63146
|
+
while (reader.nextField()) {
|
|
63147
|
+
if (reader.isEndGroup()) {
|
|
63148
|
+
break;
|
|
63149
|
+
}
|
|
63150
|
+
var field = reader.getFieldNumber();
|
|
63151
|
+
switch (field) {
|
|
63152
|
+
case 1:
|
|
63153
|
+
var value = /** @type {string} */ (reader.readString());
|
|
63154
|
+
msg.setEvaluationMetricId(value);
|
|
63155
|
+
break;
|
|
63156
|
+
case 2:
|
|
63157
|
+
var value = new proto.clarifai.api.MetricValue;
|
|
63158
|
+
reader.readMessage(value, proto.clarifai.api.MetricValue.deserializeBinaryFromReader);
|
|
63159
|
+
msg.setMetricValue(value);
|
|
63160
|
+
break;
|
|
63161
|
+
case 3:
|
|
63162
|
+
var value = /** @type {string} */ (reader.readString());
|
|
63163
|
+
msg.setExplanation(value);
|
|
63164
|
+
break;
|
|
63165
|
+
case 4:
|
|
63166
|
+
var value = msg.getPerRegionValuesMap();
|
|
63167
|
+
reader.readMessage(value, function (message, reader) {
|
|
63168
|
+
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.clarifai.api.MetricValue.deserializeBinaryFromReader, "", new proto.clarifai.api.MetricValue());
|
|
63169
|
+
});
|
|
63170
|
+
break;
|
|
63171
|
+
default:
|
|
63172
|
+
reader.skipField();
|
|
63173
|
+
break;
|
|
63174
|
+
}
|
|
63175
|
+
}
|
|
63176
|
+
return msg;
|
|
63177
|
+
};
|
|
63178
|
+
/**
|
|
63179
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
63180
|
+
* @return {!Uint8Array}
|
|
63181
|
+
*/
|
|
63182
|
+
proto.clarifai.api.InputEvaluationMetricValue.prototype.serializeBinary = function () {
|
|
63183
|
+
var writer = new jspb.BinaryWriter();
|
|
63184
|
+
proto.clarifai.api.InputEvaluationMetricValue.serializeBinaryToWriter(this, writer);
|
|
63185
|
+
return writer.getResultBuffer();
|
|
63186
|
+
};
|
|
63187
|
+
/**
|
|
63188
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
63189
|
+
* format), writing to the given BinaryWriter.
|
|
63190
|
+
* @param {!proto.clarifai.api.InputEvaluationMetricValue} message
|
|
63191
|
+
* @param {!jspb.BinaryWriter} writer
|
|
63192
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
63193
|
+
*/
|
|
63194
|
+
proto.clarifai.api.InputEvaluationMetricValue.serializeBinaryToWriter = function (message, writer) {
|
|
63195
|
+
var f = undefined;
|
|
63196
|
+
f = message.getEvaluationMetricId();
|
|
63197
|
+
if (f.length > 0) {
|
|
63198
|
+
writer.writeString(1, f);
|
|
63199
|
+
}
|
|
63200
|
+
f = message.getMetricValue();
|
|
63201
|
+
if (f != null) {
|
|
63202
|
+
writer.writeMessage(2, f, proto.clarifai.api.MetricValue.serializeBinaryToWriter);
|
|
63203
|
+
}
|
|
63204
|
+
f = message.getExplanation();
|
|
63205
|
+
if (f.length > 0) {
|
|
63206
|
+
writer.writeString(3, f);
|
|
63207
|
+
}
|
|
63208
|
+
f = message.getPerRegionValuesMap(true);
|
|
63209
|
+
if (f && f.getLength() > 0) {
|
|
63210
|
+
f.serializeBinary(4, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.clarifai.api.MetricValue.serializeBinaryToWriter);
|
|
63211
|
+
}
|
|
63212
|
+
};
|
|
63213
|
+
/**
|
|
63214
|
+
* optional string evaluation_metric_id = 1;
|
|
63215
|
+
* @return {string}
|
|
63216
|
+
*/
|
|
63217
|
+
proto.clarifai.api.InputEvaluationMetricValue.prototype.getEvaluationMetricId = function () {
|
|
63218
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
63219
|
+
};
|
|
63220
|
+
/**
|
|
63221
|
+
* @param {string} value
|
|
63222
|
+
* @return {!proto.clarifai.api.InputEvaluationMetricValue} returns this
|
|
63223
|
+
*/
|
|
63224
|
+
proto.clarifai.api.InputEvaluationMetricValue.prototype.setEvaluationMetricId = function (value) {
|
|
63225
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
63226
|
+
};
|
|
63227
|
+
/**
|
|
63228
|
+
* optional MetricValue metric_value = 2;
|
|
63229
|
+
* @return {?proto.clarifai.api.MetricValue}
|
|
63230
|
+
*/
|
|
63231
|
+
proto.clarifai.api.InputEvaluationMetricValue.prototype.getMetricValue = function () {
|
|
63232
|
+
return /** @type{?proto.clarifai.api.MetricValue} */ (jspb.Message.getWrapperField(this, proto.clarifai.api.MetricValue, 2));
|
|
63233
|
+
};
|
|
63234
|
+
/**
|
|
63235
|
+
* @param {?proto.clarifai.api.MetricValue|undefined} value
|
|
63236
|
+
* @return {!proto.clarifai.api.InputEvaluationMetricValue} returns this
|
|
63237
|
+
*/
|
|
63238
|
+
proto.clarifai.api.InputEvaluationMetricValue.prototype.setMetricValue = function (value) {
|
|
63239
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
63240
|
+
};
|
|
63241
|
+
/**
|
|
63242
|
+
* Clears the message field making it undefined.
|
|
63243
|
+
* @return {!proto.clarifai.api.InputEvaluationMetricValue} returns this
|
|
63244
|
+
*/
|
|
63245
|
+
proto.clarifai.api.InputEvaluationMetricValue.prototype.clearMetricValue = function () {
|
|
63246
|
+
return this.setMetricValue(undefined);
|
|
63247
|
+
};
|
|
63248
|
+
/**
|
|
63249
|
+
* Returns whether this field is set.
|
|
63250
|
+
* @return {boolean}
|
|
63251
|
+
*/
|
|
63252
|
+
proto.clarifai.api.InputEvaluationMetricValue.prototype.hasMetricValue = function () {
|
|
63253
|
+
return jspb.Message.getField(this, 2) != null;
|
|
63254
|
+
};
|
|
63255
|
+
/**
|
|
63256
|
+
* optional string explanation = 3;
|
|
63257
|
+
* @return {string}
|
|
63258
|
+
*/
|
|
63259
|
+
proto.clarifai.api.InputEvaluationMetricValue.prototype.getExplanation = function () {
|
|
63260
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
63261
|
+
};
|
|
63262
|
+
/**
|
|
63263
|
+
* @param {string} value
|
|
63264
|
+
* @return {!proto.clarifai.api.InputEvaluationMetricValue} returns this
|
|
63265
|
+
*/
|
|
63266
|
+
proto.clarifai.api.InputEvaluationMetricValue.prototype.setExplanation = function (value) {
|
|
63267
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
63268
|
+
};
|
|
63269
|
+
/**
|
|
63270
|
+
* map<string, MetricValue> per_region_values = 4;
|
|
63271
|
+
* @param {boolean=} opt_noLazyCreate Do not create the map if
|
|
63272
|
+
* empty, instead returning `undefined`
|
|
63273
|
+
* @return {!jspb.Map<string,!proto.clarifai.api.MetricValue>}
|
|
63274
|
+
*/
|
|
63275
|
+
proto.clarifai.api.InputEvaluationMetricValue.prototype.getPerRegionValuesMap = function (opt_noLazyCreate) {
|
|
63276
|
+
return /** @type {!jspb.Map<string,!proto.clarifai.api.MetricValue>} */ (jspb.Message.getMapField(this, 4, opt_noLazyCreate, proto.clarifai.api.MetricValue));
|
|
63277
|
+
};
|
|
63278
|
+
/**
|
|
63279
|
+
* Clears values from the map. The map will be non-null.
|
|
63280
|
+
* @return {!proto.clarifai.api.InputEvaluationMetricValue} returns this
|
|
63281
|
+
*/
|
|
63282
|
+
proto.clarifai.api.InputEvaluationMetricValue.prototype.clearPerRegionValuesMap = function () {
|
|
63283
|
+
this.getPerRegionValuesMap().clear();
|
|
63284
|
+
return this;
|
|
63285
|
+
};
|
|
62895
63286
|
/**
|
|
62896
63287
|
* Oneof group definitions for this message. Each group defines the field
|
|
62897
63288
|
* numbers belonging to that group. When of these fields' value is set, all
|
|
@@ -63111,6 +63502,402 @@ proto.clarifai.api.MetricValue.prototype.clearIntValue = function () {
|
|
|
63111
63502
|
proto.clarifai.api.MetricValue.prototype.hasIntValue = function () {
|
|
63112
63503
|
return jspb.Message.getField(this, 3) != null;
|
|
63113
63504
|
};
|
|
63505
|
+
/**
|
|
63506
|
+
* List of repeated fields within this message type.
|
|
63507
|
+
* @private {!Array<number>}
|
|
63508
|
+
* @const
|
|
63509
|
+
*/
|
|
63510
|
+
proto.clarifai.api.WorkflowEvaluationInputResult.repeatedFields_ = [1];
|
|
63511
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
63512
|
+
/**
|
|
63513
|
+
* Creates an object representation of this proto.
|
|
63514
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
63515
|
+
* Optional fields that are not set will be set to undefined.
|
|
63516
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
63517
|
+
* For the list of reserved names please see:
|
|
63518
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
63519
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
63520
|
+
* JSPB instance for transitional soy proto support:
|
|
63521
|
+
* http://goto/soy-param-migration
|
|
63522
|
+
* @return {!Object}
|
|
63523
|
+
*/
|
|
63524
|
+
proto.clarifai.api.WorkflowEvaluationInputResult.prototype.toObject = function (opt_includeInstance) {
|
|
63525
|
+
return proto.clarifai.api.WorkflowEvaluationInputResult.toObject(opt_includeInstance, this);
|
|
63526
|
+
};
|
|
63527
|
+
/**
|
|
63528
|
+
* Static version of the {@see toObject} method.
|
|
63529
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
63530
|
+
* the JSPB instance for transitional soy proto support:
|
|
63531
|
+
* http://goto/soy-param-migration
|
|
63532
|
+
* @param {!proto.clarifai.api.WorkflowEvaluationInputResult} msg The msg instance to transform.
|
|
63533
|
+
* @return {!Object}
|
|
63534
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
63535
|
+
*/
|
|
63536
|
+
proto.clarifai.api.WorkflowEvaluationInputResult.toObject = function (includeInstance, msg) {
|
|
63537
|
+
var f, obj = {
|
|
63538
|
+
inputEvaluationMetricValuesList: jspb.Message.toObjectList(msg.getInputEvaluationMetricValuesList(), proto.clarifai.api.InputEvaluationMetricValue.toObject, includeInstance)
|
|
63539
|
+
};
|
|
63540
|
+
if (includeInstance) {
|
|
63541
|
+
obj.$jspbMessageInstance = msg;
|
|
63542
|
+
}
|
|
63543
|
+
return obj;
|
|
63544
|
+
};
|
|
63545
|
+
}
|
|
63546
|
+
/**
|
|
63547
|
+
* Deserializes binary data (in protobuf wire format).
|
|
63548
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
63549
|
+
* @return {!proto.clarifai.api.WorkflowEvaluationInputResult}
|
|
63550
|
+
*/
|
|
63551
|
+
proto.clarifai.api.WorkflowEvaluationInputResult.deserializeBinary = function (bytes) {
|
|
63552
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
63553
|
+
var msg = new proto.clarifai.api.WorkflowEvaluationInputResult;
|
|
63554
|
+
return proto.clarifai.api.WorkflowEvaluationInputResult.deserializeBinaryFromReader(msg, reader);
|
|
63555
|
+
};
|
|
63556
|
+
/**
|
|
63557
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
63558
|
+
* given reader into the given message object.
|
|
63559
|
+
* @param {!proto.clarifai.api.WorkflowEvaluationInputResult} msg The message object to deserialize into.
|
|
63560
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
63561
|
+
* @return {!proto.clarifai.api.WorkflowEvaluationInputResult}
|
|
63562
|
+
*/
|
|
63563
|
+
proto.clarifai.api.WorkflowEvaluationInputResult.deserializeBinaryFromReader = function (msg, reader) {
|
|
63564
|
+
while (reader.nextField()) {
|
|
63565
|
+
if (reader.isEndGroup()) {
|
|
63566
|
+
break;
|
|
63567
|
+
}
|
|
63568
|
+
var field = reader.getFieldNumber();
|
|
63569
|
+
switch (field) {
|
|
63570
|
+
case 1:
|
|
63571
|
+
var value = new proto.clarifai.api.InputEvaluationMetricValue;
|
|
63572
|
+
reader.readMessage(value, proto.clarifai.api.InputEvaluationMetricValue.deserializeBinaryFromReader);
|
|
63573
|
+
msg.addInputEvaluationMetricValues(value);
|
|
63574
|
+
break;
|
|
63575
|
+
default:
|
|
63576
|
+
reader.skipField();
|
|
63577
|
+
break;
|
|
63578
|
+
}
|
|
63579
|
+
}
|
|
63580
|
+
return msg;
|
|
63581
|
+
};
|
|
63582
|
+
/**
|
|
63583
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
63584
|
+
* @return {!Uint8Array}
|
|
63585
|
+
*/
|
|
63586
|
+
proto.clarifai.api.WorkflowEvaluationInputResult.prototype.serializeBinary = function () {
|
|
63587
|
+
var writer = new jspb.BinaryWriter();
|
|
63588
|
+
proto.clarifai.api.WorkflowEvaluationInputResult.serializeBinaryToWriter(this, writer);
|
|
63589
|
+
return writer.getResultBuffer();
|
|
63590
|
+
};
|
|
63591
|
+
/**
|
|
63592
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
63593
|
+
* format), writing to the given BinaryWriter.
|
|
63594
|
+
* @param {!proto.clarifai.api.WorkflowEvaluationInputResult} message
|
|
63595
|
+
* @param {!jspb.BinaryWriter} writer
|
|
63596
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
63597
|
+
*/
|
|
63598
|
+
proto.clarifai.api.WorkflowEvaluationInputResult.serializeBinaryToWriter = function (message, writer) {
|
|
63599
|
+
var f = undefined;
|
|
63600
|
+
f = message.getInputEvaluationMetricValuesList();
|
|
63601
|
+
if (f.length > 0) {
|
|
63602
|
+
writer.writeRepeatedMessage(1, f, proto.clarifai.api.InputEvaluationMetricValue.serializeBinaryToWriter);
|
|
63603
|
+
}
|
|
63604
|
+
};
|
|
63605
|
+
/**
|
|
63606
|
+
* repeated InputEvaluationMetricValue input_evaluation_metric_values = 1;
|
|
63607
|
+
* @return {!Array<!proto.clarifai.api.InputEvaluationMetricValue>}
|
|
63608
|
+
*/
|
|
63609
|
+
proto.clarifai.api.WorkflowEvaluationInputResult.prototype.getInputEvaluationMetricValuesList = function () {
|
|
63610
|
+
return /** @type{!Array<!proto.clarifai.api.InputEvaluationMetricValue>} */ (jspb.Message.getRepeatedWrapperField(this, proto.clarifai.api.InputEvaluationMetricValue, 1));
|
|
63611
|
+
};
|
|
63612
|
+
/**
|
|
63613
|
+
* @param {!Array<!proto.clarifai.api.InputEvaluationMetricValue>} value
|
|
63614
|
+
* @return {!proto.clarifai.api.WorkflowEvaluationInputResult} returns this
|
|
63615
|
+
*/
|
|
63616
|
+
proto.clarifai.api.WorkflowEvaluationInputResult.prototype.setInputEvaluationMetricValuesList = function (value) {
|
|
63617
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
63618
|
+
};
|
|
63619
|
+
/**
|
|
63620
|
+
* @param {!proto.clarifai.api.InputEvaluationMetricValue=} opt_value
|
|
63621
|
+
* @param {number=} opt_index
|
|
63622
|
+
* @return {!proto.clarifai.api.InputEvaluationMetricValue}
|
|
63623
|
+
*/
|
|
63624
|
+
proto.clarifai.api.WorkflowEvaluationInputResult.prototype.addInputEvaluationMetricValues = function (opt_value, opt_index) {
|
|
63625
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.clarifai.api.InputEvaluationMetricValue, opt_index);
|
|
63626
|
+
};
|
|
63627
|
+
/**
|
|
63628
|
+
* Clears the list making it empty but non-null.
|
|
63629
|
+
* @return {!proto.clarifai.api.WorkflowEvaluationInputResult} returns this
|
|
63630
|
+
*/
|
|
63631
|
+
proto.clarifai.api.WorkflowEvaluationInputResult.prototype.clearInputEvaluationMetricValuesList = function () {
|
|
63632
|
+
return this.setInputEvaluationMetricValuesList([]);
|
|
63633
|
+
};
|
|
63634
|
+
/**
|
|
63635
|
+
* List of repeated fields within this message type.
|
|
63636
|
+
* @private {!Array<number>}
|
|
63637
|
+
* @const
|
|
63638
|
+
*/
|
|
63639
|
+
proto.clarifai.api.WorkflowVersionEvaluationData.repeatedFields_ = [3, 4];
|
|
63640
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
63641
|
+
/**
|
|
63642
|
+
* Creates an object representation of this proto.
|
|
63643
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
63644
|
+
* Optional fields that are not set will be set to undefined.
|
|
63645
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
63646
|
+
* For the list of reserved names please see:
|
|
63647
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
63648
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
63649
|
+
* JSPB instance for transitional soy proto support:
|
|
63650
|
+
* http://goto/soy-param-migration
|
|
63651
|
+
* @return {!Object}
|
|
63652
|
+
*/
|
|
63653
|
+
proto.clarifai.api.WorkflowVersionEvaluationData.prototype.toObject = function (opt_includeInstance) {
|
|
63654
|
+
return proto.clarifai.api.WorkflowVersionEvaluationData.toObject(opt_includeInstance, this);
|
|
63655
|
+
};
|
|
63656
|
+
/**
|
|
63657
|
+
* Static version of the {@see toObject} method.
|
|
63658
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
63659
|
+
* the JSPB instance for transitional soy proto support:
|
|
63660
|
+
* http://goto/soy-param-migration
|
|
63661
|
+
* @param {!proto.clarifai.api.WorkflowVersionEvaluationData} msg The msg instance to transform.
|
|
63662
|
+
* @return {!Object}
|
|
63663
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
63664
|
+
*/
|
|
63665
|
+
proto.clarifai.api.WorkflowVersionEvaluationData.toObject = function (includeInstance, msg) {
|
|
63666
|
+
var f, obj = {
|
|
63667
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
63668
|
+
input: (f = msg.getInput()) && proto.clarifai.api.Input.toObject(includeInstance, f),
|
|
63669
|
+
groundTruthsList: jspb.Message.toObjectList(msg.getGroundTruthsList(), proto.clarifai.api.Data.toObject, includeInstance),
|
|
63670
|
+
predictionsList: jspb.Message.toObjectList(msg.getPredictionsList(), proto.clarifai.api.Data.toObject, includeInstance),
|
|
63671
|
+
workflowEvaluationSampleResult: (f = msg.getWorkflowEvaluationSampleResult()) && proto.clarifai.api.WorkflowEvaluationInputResult.toObject(includeInstance, f)
|
|
63672
|
+
};
|
|
63673
|
+
if (includeInstance) {
|
|
63674
|
+
obj.$jspbMessageInstance = msg;
|
|
63675
|
+
}
|
|
63676
|
+
return obj;
|
|
63677
|
+
};
|
|
63678
|
+
}
|
|
63679
|
+
/**
|
|
63680
|
+
* Deserializes binary data (in protobuf wire format).
|
|
63681
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
63682
|
+
* @return {!proto.clarifai.api.WorkflowVersionEvaluationData}
|
|
63683
|
+
*/
|
|
63684
|
+
proto.clarifai.api.WorkflowVersionEvaluationData.deserializeBinary = function (bytes) {
|
|
63685
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
63686
|
+
var msg = new proto.clarifai.api.WorkflowVersionEvaluationData;
|
|
63687
|
+
return proto.clarifai.api.WorkflowVersionEvaluationData.deserializeBinaryFromReader(msg, reader);
|
|
63688
|
+
};
|
|
63689
|
+
/**
|
|
63690
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
63691
|
+
* given reader into the given message object.
|
|
63692
|
+
* @param {!proto.clarifai.api.WorkflowVersionEvaluationData} msg The message object to deserialize into.
|
|
63693
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
63694
|
+
* @return {!proto.clarifai.api.WorkflowVersionEvaluationData}
|
|
63695
|
+
*/
|
|
63696
|
+
proto.clarifai.api.WorkflowVersionEvaluationData.deserializeBinaryFromReader = function (msg, reader) {
|
|
63697
|
+
while (reader.nextField()) {
|
|
63698
|
+
if (reader.isEndGroup()) {
|
|
63699
|
+
break;
|
|
63700
|
+
}
|
|
63701
|
+
var field = reader.getFieldNumber();
|
|
63702
|
+
switch (field) {
|
|
63703
|
+
case 1:
|
|
63704
|
+
var value = /** @type {string} */ (reader.readString());
|
|
63705
|
+
msg.setId(value);
|
|
63706
|
+
break;
|
|
63707
|
+
case 2:
|
|
63708
|
+
var value = new proto.clarifai.api.Input;
|
|
63709
|
+
reader.readMessage(value, proto.clarifai.api.Input.deserializeBinaryFromReader);
|
|
63710
|
+
msg.setInput(value);
|
|
63711
|
+
break;
|
|
63712
|
+
case 3:
|
|
63713
|
+
var value = new proto.clarifai.api.Data;
|
|
63714
|
+
reader.readMessage(value, proto.clarifai.api.Data.deserializeBinaryFromReader);
|
|
63715
|
+
msg.addGroundTruths(value);
|
|
63716
|
+
break;
|
|
63717
|
+
case 4:
|
|
63718
|
+
var value = new proto.clarifai.api.Data;
|
|
63719
|
+
reader.readMessage(value, proto.clarifai.api.Data.deserializeBinaryFromReader);
|
|
63720
|
+
msg.addPredictions(value);
|
|
63721
|
+
break;
|
|
63722
|
+
case 5:
|
|
63723
|
+
var value = new proto.clarifai.api.WorkflowEvaluationInputResult;
|
|
63724
|
+
reader.readMessage(value, proto.clarifai.api.WorkflowEvaluationInputResult.deserializeBinaryFromReader);
|
|
63725
|
+
msg.setWorkflowEvaluationSampleResult(value);
|
|
63726
|
+
break;
|
|
63727
|
+
default:
|
|
63728
|
+
reader.skipField();
|
|
63729
|
+
break;
|
|
63730
|
+
}
|
|
63731
|
+
}
|
|
63732
|
+
return msg;
|
|
63733
|
+
};
|
|
63734
|
+
/**
|
|
63735
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
63736
|
+
* @return {!Uint8Array}
|
|
63737
|
+
*/
|
|
63738
|
+
proto.clarifai.api.WorkflowVersionEvaluationData.prototype.serializeBinary = function () {
|
|
63739
|
+
var writer = new jspb.BinaryWriter();
|
|
63740
|
+
proto.clarifai.api.WorkflowVersionEvaluationData.serializeBinaryToWriter(this, writer);
|
|
63741
|
+
return writer.getResultBuffer();
|
|
63742
|
+
};
|
|
63743
|
+
/**
|
|
63744
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
63745
|
+
* format), writing to the given BinaryWriter.
|
|
63746
|
+
* @param {!proto.clarifai.api.WorkflowVersionEvaluationData} message
|
|
63747
|
+
* @param {!jspb.BinaryWriter} writer
|
|
63748
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
63749
|
+
*/
|
|
63750
|
+
proto.clarifai.api.WorkflowVersionEvaluationData.serializeBinaryToWriter = function (message, writer) {
|
|
63751
|
+
var f = undefined;
|
|
63752
|
+
f = message.getId();
|
|
63753
|
+
if (f.length > 0) {
|
|
63754
|
+
writer.writeString(1, f);
|
|
63755
|
+
}
|
|
63756
|
+
f = message.getInput();
|
|
63757
|
+
if (f != null) {
|
|
63758
|
+
writer.writeMessage(2, f, proto.clarifai.api.Input.serializeBinaryToWriter);
|
|
63759
|
+
}
|
|
63760
|
+
f = message.getGroundTruthsList();
|
|
63761
|
+
if (f.length > 0) {
|
|
63762
|
+
writer.writeRepeatedMessage(3, f, proto.clarifai.api.Data.serializeBinaryToWriter);
|
|
63763
|
+
}
|
|
63764
|
+
f = message.getPredictionsList();
|
|
63765
|
+
if (f.length > 0) {
|
|
63766
|
+
writer.writeRepeatedMessage(4, f, proto.clarifai.api.Data.serializeBinaryToWriter);
|
|
63767
|
+
}
|
|
63768
|
+
f = message.getWorkflowEvaluationSampleResult();
|
|
63769
|
+
if (f != null) {
|
|
63770
|
+
writer.writeMessage(5, f, proto.clarifai.api.WorkflowEvaluationInputResult.serializeBinaryToWriter);
|
|
63771
|
+
}
|
|
63772
|
+
};
|
|
63773
|
+
/**
|
|
63774
|
+
* optional string id = 1;
|
|
63775
|
+
* @return {string}
|
|
63776
|
+
*/
|
|
63777
|
+
proto.clarifai.api.WorkflowVersionEvaluationData.prototype.getId = function () {
|
|
63778
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
63779
|
+
};
|
|
63780
|
+
/**
|
|
63781
|
+
* @param {string} value
|
|
63782
|
+
* @return {!proto.clarifai.api.WorkflowVersionEvaluationData} returns this
|
|
63783
|
+
*/
|
|
63784
|
+
proto.clarifai.api.WorkflowVersionEvaluationData.prototype.setId = function (value) {
|
|
63785
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
63786
|
+
};
|
|
63787
|
+
/**
|
|
63788
|
+
* optional Input input = 2;
|
|
63789
|
+
* @return {?proto.clarifai.api.Input}
|
|
63790
|
+
*/
|
|
63791
|
+
proto.clarifai.api.WorkflowVersionEvaluationData.prototype.getInput = function () {
|
|
63792
|
+
return /** @type{?proto.clarifai.api.Input} */ (jspb.Message.getWrapperField(this, proto.clarifai.api.Input, 2));
|
|
63793
|
+
};
|
|
63794
|
+
/**
|
|
63795
|
+
* @param {?proto.clarifai.api.Input|undefined} value
|
|
63796
|
+
* @return {!proto.clarifai.api.WorkflowVersionEvaluationData} returns this
|
|
63797
|
+
*/
|
|
63798
|
+
proto.clarifai.api.WorkflowVersionEvaluationData.prototype.setInput = function (value) {
|
|
63799
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
63800
|
+
};
|
|
63801
|
+
/**
|
|
63802
|
+
* Clears the message field making it undefined.
|
|
63803
|
+
* @return {!proto.clarifai.api.WorkflowVersionEvaluationData} returns this
|
|
63804
|
+
*/
|
|
63805
|
+
proto.clarifai.api.WorkflowVersionEvaluationData.prototype.clearInput = function () {
|
|
63806
|
+
return this.setInput(undefined);
|
|
63807
|
+
};
|
|
63808
|
+
/**
|
|
63809
|
+
* Returns whether this field is set.
|
|
63810
|
+
* @return {boolean}
|
|
63811
|
+
*/
|
|
63812
|
+
proto.clarifai.api.WorkflowVersionEvaluationData.prototype.hasInput = function () {
|
|
63813
|
+
return jspb.Message.getField(this, 2) != null;
|
|
63814
|
+
};
|
|
63815
|
+
/**
|
|
63816
|
+
* repeated Data ground_truths = 3;
|
|
63817
|
+
* @return {!Array<!proto.clarifai.api.Data>}
|
|
63818
|
+
*/
|
|
63819
|
+
proto.clarifai.api.WorkflowVersionEvaluationData.prototype.getGroundTruthsList = function () {
|
|
63820
|
+
return /** @type{!Array<!proto.clarifai.api.Data>} */ (jspb.Message.getRepeatedWrapperField(this, proto.clarifai.api.Data, 3));
|
|
63821
|
+
};
|
|
63822
|
+
/**
|
|
63823
|
+
* @param {!Array<!proto.clarifai.api.Data>} value
|
|
63824
|
+
* @return {!proto.clarifai.api.WorkflowVersionEvaluationData} returns this
|
|
63825
|
+
*/
|
|
63826
|
+
proto.clarifai.api.WorkflowVersionEvaluationData.prototype.setGroundTruthsList = function (value) {
|
|
63827
|
+
return jspb.Message.setRepeatedWrapperField(this, 3, value);
|
|
63828
|
+
};
|
|
63829
|
+
/**
|
|
63830
|
+
* @param {!proto.clarifai.api.Data=} opt_value
|
|
63831
|
+
* @param {number=} opt_index
|
|
63832
|
+
* @return {!proto.clarifai.api.Data}
|
|
63833
|
+
*/
|
|
63834
|
+
proto.clarifai.api.WorkflowVersionEvaluationData.prototype.addGroundTruths = function (opt_value, opt_index) {
|
|
63835
|
+
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.clarifai.api.Data, opt_index);
|
|
63836
|
+
};
|
|
63837
|
+
/**
|
|
63838
|
+
* Clears the list making it empty but non-null.
|
|
63839
|
+
* @return {!proto.clarifai.api.WorkflowVersionEvaluationData} returns this
|
|
63840
|
+
*/
|
|
63841
|
+
proto.clarifai.api.WorkflowVersionEvaluationData.prototype.clearGroundTruthsList = function () {
|
|
63842
|
+
return this.setGroundTruthsList([]);
|
|
63843
|
+
};
|
|
63844
|
+
/**
|
|
63845
|
+
* repeated Data predictions = 4;
|
|
63846
|
+
* @return {!Array<!proto.clarifai.api.Data>}
|
|
63847
|
+
*/
|
|
63848
|
+
proto.clarifai.api.WorkflowVersionEvaluationData.prototype.getPredictionsList = function () {
|
|
63849
|
+
return /** @type{!Array<!proto.clarifai.api.Data>} */ (jspb.Message.getRepeatedWrapperField(this, proto.clarifai.api.Data, 4));
|
|
63850
|
+
};
|
|
63851
|
+
/**
|
|
63852
|
+
* @param {!Array<!proto.clarifai.api.Data>} value
|
|
63853
|
+
* @return {!proto.clarifai.api.WorkflowVersionEvaluationData} returns this
|
|
63854
|
+
*/
|
|
63855
|
+
proto.clarifai.api.WorkflowVersionEvaluationData.prototype.setPredictionsList = function (value) {
|
|
63856
|
+
return jspb.Message.setRepeatedWrapperField(this, 4, value);
|
|
63857
|
+
};
|
|
63858
|
+
/**
|
|
63859
|
+
* @param {!proto.clarifai.api.Data=} opt_value
|
|
63860
|
+
* @param {number=} opt_index
|
|
63861
|
+
* @return {!proto.clarifai.api.Data}
|
|
63862
|
+
*/
|
|
63863
|
+
proto.clarifai.api.WorkflowVersionEvaluationData.prototype.addPredictions = function (opt_value, opt_index) {
|
|
63864
|
+
return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.clarifai.api.Data, opt_index);
|
|
63865
|
+
};
|
|
63866
|
+
/**
|
|
63867
|
+
* Clears the list making it empty but non-null.
|
|
63868
|
+
* @return {!proto.clarifai.api.WorkflowVersionEvaluationData} returns this
|
|
63869
|
+
*/
|
|
63870
|
+
proto.clarifai.api.WorkflowVersionEvaluationData.prototype.clearPredictionsList = function () {
|
|
63871
|
+
return this.setPredictionsList([]);
|
|
63872
|
+
};
|
|
63873
|
+
/**
|
|
63874
|
+
* optional WorkflowEvaluationInputResult workflow_evaluation_sample_result = 5;
|
|
63875
|
+
* @return {?proto.clarifai.api.WorkflowEvaluationInputResult}
|
|
63876
|
+
*/
|
|
63877
|
+
proto.clarifai.api.WorkflowVersionEvaluationData.prototype.getWorkflowEvaluationSampleResult = function () {
|
|
63878
|
+
return /** @type{?proto.clarifai.api.WorkflowEvaluationInputResult} */ (jspb.Message.getWrapperField(this, proto.clarifai.api.WorkflowEvaluationInputResult, 5));
|
|
63879
|
+
};
|
|
63880
|
+
/**
|
|
63881
|
+
* @param {?proto.clarifai.api.WorkflowEvaluationInputResult|undefined} value
|
|
63882
|
+
* @return {!proto.clarifai.api.WorkflowVersionEvaluationData} returns this
|
|
63883
|
+
*/
|
|
63884
|
+
proto.clarifai.api.WorkflowVersionEvaluationData.prototype.setWorkflowEvaluationSampleResult = function (value) {
|
|
63885
|
+
return jspb.Message.setWrapperField(this, 5, value);
|
|
63886
|
+
};
|
|
63887
|
+
/**
|
|
63888
|
+
* Clears the message field making it undefined.
|
|
63889
|
+
* @return {!proto.clarifai.api.WorkflowVersionEvaluationData} returns this
|
|
63890
|
+
*/
|
|
63891
|
+
proto.clarifai.api.WorkflowVersionEvaluationData.prototype.clearWorkflowEvaluationSampleResult = function () {
|
|
63892
|
+
return this.setWorkflowEvaluationSampleResult(undefined);
|
|
63893
|
+
};
|
|
63894
|
+
/**
|
|
63895
|
+
* Returns whether this field is set.
|
|
63896
|
+
* @return {boolean}
|
|
63897
|
+
*/
|
|
63898
|
+
proto.clarifai.api.WorkflowVersionEvaluationData.prototype.hasWorkflowEvaluationSampleResult = function () {
|
|
63899
|
+
return jspb.Message.getField(this, 5) != null;
|
|
63900
|
+
};
|
|
63114
63901
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
63115
63902
|
/**
|
|
63116
63903
|
* Creates an object representation of this proto.
|
|
@@ -64686,6 +65473,395 @@ proto.clarifai.api.PipelineStepVersion.prototype.clearModifiedAt = function () {
|
|
|
64686
65473
|
proto.clarifai.api.PipelineStepVersion.prototype.hasModifiedAt = function () {
|
|
64687
65474
|
return jspb.Message.getField(this, 13) != null;
|
|
64688
65475
|
};
|
|
65476
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
65477
|
+
/**
|
|
65478
|
+
* Creates an object representation of this proto.
|
|
65479
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
65480
|
+
* Optional fields that are not set will be set to undefined.
|
|
65481
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
65482
|
+
* For the list of reserved names please see:
|
|
65483
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
65484
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
65485
|
+
* JSPB instance for transitional soy proto support:
|
|
65486
|
+
* http://goto/soy-param-migration
|
|
65487
|
+
* @return {!Object}
|
|
65488
|
+
*/
|
|
65489
|
+
proto.clarifai.api.Pipeline.prototype.toObject = function (opt_includeInstance) {
|
|
65490
|
+
return proto.clarifai.api.Pipeline.toObject(opt_includeInstance, this);
|
|
65491
|
+
};
|
|
65492
|
+
/**
|
|
65493
|
+
* Static version of the {@see toObject} method.
|
|
65494
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
65495
|
+
* the JSPB instance for transitional soy proto support:
|
|
65496
|
+
* http://goto/soy-param-migration
|
|
65497
|
+
* @param {!proto.clarifai.api.Pipeline} msg The msg instance to transform.
|
|
65498
|
+
* @return {!Object}
|
|
65499
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
65500
|
+
*/
|
|
65501
|
+
proto.clarifai.api.Pipeline.toObject = function (includeInstance, msg) {
|
|
65502
|
+
var f, obj = {
|
|
65503
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
65504
|
+
userId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
65505
|
+
appId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
65506
|
+
pipelineVersion: (f = msg.getPipelineVersion()) && proto.clarifai.api.PipelineVersion.toObject(includeInstance, f),
|
|
65507
|
+
description: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
65508
|
+
visibility: (f = msg.getVisibility()) && proto.clarifai.api.Visibility.toObject(includeInstance, f),
|
|
65509
|
+
notes: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
65510
|
+
metadata: (f = msg.getMetadata()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f),
|
|
65511
|
+
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
65512
|
+
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
|
|
65513
|
+
};
|
|
65514
|
+
if (includeInstance) {
|
|
65515
|
+
obj.$jspbMessageInstance = msg;
|
|
65516
|
+
}
|
|
65517
|
+
return obj;
|
|
65518
|
+
};
|
|
65519
|
+
}
|
|
65520
|
+
/**
|
|
65521
|
+
* Deserializes binary data (in protobuf wire format).
|
|
65522
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
65523
|
+
* @return {!proto.clarifai.api.Pipeline}
|
|
65524
|
+
*/
|
|
65525
|
+
proto.clarifai.api.Pipeline.deserializeBinary = function (bytes) {
|
|
65526
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
65527
|
+
var msg = new proto.clarifai.api.Pipeline;
|
|
65528
|
+
return proto.clarifai.api.Pipeline.deserializeBinaryFromReader(msg, reader);
|
|
65529
|
+
};
|
|
65530
|
+
/**
|
|
65531
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
65532
|
+
* given reader into the given message object.
|
|
65533
|
+
* @param {!proto.clarifai.api.Pipeline} msg The message object to deserialize into.
|
|
65534
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
65535
|
+
* @return {!proto.clarifai.api.Pipeline}
|
|
65536
|
+
*/
|
|
65537
|
+
proto.clarifai.api.Pipeline.deserializeBinaryFromReader = function (msg, reader) {
|
|
65538
|
+
while (reader.nextField()) {
|
|
65539
|
+
if (reader.isEndGroup()) {
|
|
65540
|
+
break;
|
|
65541
|
+
}
|
|
65542
|
+
var field = reader.getFieldNumber();
|
|
65543
|
+
switch (field) {
|
|
65544
|
+
case 1:
|
|
65545
|
+
var value = /** @type {string} */ (reader.readString());
|
|
65546
|
+
msg.setId(value);
|
|
65547
|
+
break;
|
|
65548
|
+
case 2:
|
|
65549
|
+
var value = /** @type {string} */ (reader.readString());
|
|
65550
|
+
msg.setUserId(value);
|
|
65551
|
+
break;
|
|
65552
|
+
case 3:
|
|
65553
|
+
var value = /** @type {string} */ (reader.readString());
|
|
65554
|
+
msg.setAppId(value);
|
|
65555
|
+
break;
|
|
65556
|
+
case 5:
|
|
65557
|
+
var value = new proto.clarifai.api.PipelineVersion;
|
|
65558
|
+
reader.readMessage(value, proto.clarifai.api.PipelineVersion.deserializeBinaryFromReader);
|
|
65559
|
+
msg.setPipelineVersion(value);
|
|
65560
|
+
break;
|
|
65561
|
+
case 6:
|
|
65562
|
+
var value = /** @type {string} */ (reader.readString());
|
|
65563
|
+
msg.setDescription(value);
|
|
65564
|
+
break;
|
|
65565
|
+
case 7:
|
|
65566
|
+
var value = new proto.clarifai.api.Visibility;
|
|
65567
|
+
reader.readMessage(value, proto.clarifai.api.Visibility.deserializeBinaryFromReader);
|
|
65568
|
+
msg.setVisibility(value);
|
|
65569
|
+
break;
|
|
65570
|
+
case 8:
|
|
65571
|
+
var value = /** @type {string} */ (reader.readString());
|
|
65572
|
+
msg.setNotes(value);
|
|
65573
|
+
break;
|
|
65574
|
+
case 9:
|
|
65575
|
+
var value = new google_protobuf_struct_pb.Struct;
|
|
65576
|
+
reader.readMessage(value, google_protobuf_struct_pb.Struct.deserializeBinaryFromReader);
|
|
65577
|
+
msg.setMetadata(value);
|
|
65578
|
+
break;
|
|
65579
|
+
case 10:
|
|
65580
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
65581
|
+
reader.readMessage(value, google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
65582
|
+
msg.setCreatedAt(value);
|
|
65583
|
+
break;
|
|
65584
|
+
case 11:
|
|
65585
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
65586
|
+
reader.readMessage(value, google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
65587
|
+
msg.setModifiedAt(value);
|
|
65588
|
+
break;
|
|
65589
|
+
default:
|
|
65590
|
+
reader.skipField();
|
|
65591
|
+
break;
|
|
65592
|
+
}
|
|
65593
|
+
}
|
|
65594
|
+
return msg;
|
|
65595
|
+
};
|
|
65596
|
+
/**
|
|
65597
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
65598
|
+
* @return {!Uint8Array}
|
|
65599
|
+
*/
|
|
65600
|
+
proto.clarifai.api.Pipeline.prototype.serializeBinary = function () {
|
|
65601
|
+
var writer = new jspb.BinaryWriter();
|
|
65602
|
+
proto.clarifai.api.Pipeline.serializeBinaryToWriter(this, writer);
|
|
65603
|
+
return writer.getResultBuffer();
|
|
65604
|
+
};
|
|
65605
|
+
/**
|
|
65606
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
65607
|
+
* format), writing to the given BinaryWriter.
|
|
65608
|
+
* @param {!proto.clarifai.api.Pipeline} message
|
|
65609
|
+
* @param {!jspb.BinaryWriter} writer
|
|
65610
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
65611
|
+
*/
|
|
65612
|
+
proto.clarifai.api.Pipeline.serializeBinaryToWriter = function (message, writer) {
|
|
65613
|
+
var f = undefined;
|
|
65614
|
+
f = message.getId();
|
|
65615
|
+
if (f.length > 0) {
|
|
65616
|
+
writer.writeString(1, f);
|
|
65617
|
+
}
|
|
65618
|
+
f = message.getUserId();
|
|
65619
|
+
if (f.length > 0) {
|
|
65620
|
+
writer.writeString(2, f);
|
|
65621
|
+
}
|
|
65622
|
+
f = message.getAppId();
|
|
65623
|
+
if (f.length > 0) {
|
|
65624
|
+
writer.writeString(3, f);
|
|
65625
|
+
}
|
|
65626
|
+
f = message.getPipelineVersion();
|
|
65627
|
+
if (f != null) {
|
|
65628
|
+
writer.writeMessage(5, f, proto.clarifai.api.PipelineVersion.serializeBinaryToWriter);
|
|
65629
|
+
}
|
|
65630
|
+
f = message.getDescription();
|
|
65631
|
+
if (f.length > 0) {
|
|
65632
|
+
writer.writeString(6, f);
|
|
65633
|
+
}
|
|
65634
|
+
f = message.getVisibility();
|
|
65635
|
+
if (f != null) {
|
|
65636
|
+
writer.writeMessage(7, f, proto.clarifai.api.Visibility.serializeBinaryToWriter);
|
|
65637
|
+
}
|
|
65638
|
+
f = message.getNotes();
|
|
65639
|
+
if (f.length > 0) {
|
|
65640
|
+
writer.writeString(8, f);
|
|
65641
|
+
}
|
|
65642
|
+
f = message.getMetadata();
|
|
65643
|
+
if (f != null) {
|
|
65644
|
+
writer.writeMessage(9, f, google_protobuf_struct_pb.Struct.serializeBinaryToWriter);
|
|
65645
|
+
}
|
|
65646
|
+
f = message.getCreatedAt();
|
|
65647
|
+
if (f != null) {
|
|
65648
|
+
writer.writeMessage(10, f, google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter);
|
|
65649
|
+
}
|
|
65650
|
+
f = message.getModifiedAt();
|
|
65651
|
+
if (f != null) {
|
|
65652
|
+
writer.writeMessage(11, f, google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter);
|
|
65653
|
+
}
|
|
65654
|
+
};
|
|
65655
|
+
/**
|
|
65656
|
+
* optional string id = 1;
|
|
65657
|
+
* @return {string}
|
|
65658
|
+
*/
|
|
65659
|
+
proto.clarifai.api.Pipeline.prototype.getId = function () {
|
|
65660
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
65661
|
+
};
|
|
65662
|
+
/**
|
|
65663
|
+
* @param {string} value
|
|
65664
|
+
* @return {!proto.clarifai.api.Pipeline} returns this
|
|
65665
|
+
*/
|
|
65666
|
+
proto.clarifai.api.Pipeline.prototype.setId = function (value) {
|
|
65667
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
65668
|
+
};
|
|
65669
|
+
/**
|
|
65670
|
+
* optional string user_id = 2;
|
|
65671
|
+
* @return {string}
|
|
65672
|
+
*/
|
|
65673
|
+
proto.clarifai.api.Pipeline.prototype.getUserId = function () {
|
|
65674
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
65675
|
+
};
|
|
65676
|
+
/**
|
|
65677
|
+
* @param {string} value
|
|
65678
|
+
* @return {!proto.clarifai.api.Pipeline} returns this
|
|
65679
|
+
*/
|
|
65680
|
+
proto.clarifai.api.Pipeline.prototype.setUserId = function (value) {
|
|
65681
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
65682
|
+
};
|
|
65683
|
+
/**
|
|
65684
|
+
* optional string app_id = 3;
|
|
65685
|
+
* @return {string}
|
|
65686
|
+
*/
|
|
65687
|
+
proto.clarifai.api.Pipeline.prototype.getAppId = function () {
|
|
65688
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
65689
|
+
};
|
|
65690
|
+
/**
|
|
65691
|
+
* @param {string} value
|
|
65692
|
+
* @return {!proto.clarifai.api.Pipeline} returns this
|
|
65693
|
+
*/
|
|
65694
|
+
proto.clarifai.api.Pipeline.prototype.setAppId = function (value) {
|
|
65695
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
65696
|
+
};
|
|
65697
|
+
/**
|
|
65698
|
+
* optional PipelineVersion pipeline_version = 5;
|
|
65699
|
+
* @return {?proto.clarifai.api.PipelineVersion}
|
|
65700
|
+
*/
|
|
65701
|
+
proto.clarifai.api.Pipeline.prototype.getPipelineVersion = function () {
|
|
65702
|
+
return /** @type{?proto.clarifai.api.PipelineVersion} */ (jspb.Message.getWrapperField(this, proto.clarifai.api.PipelineVersion, 5));
|
|
65703
|
+
};
|
|
65704
|
+
/**
|
|
65705
|
+
* @param {?proto.clarifai.api.PipelineVersion|undefined} value
|
|
65706
|
+
* @return {!proto.clarifai.api.Pipeline} returns this
|
|
65707
|
+
*/
|
|
65708
|
+
proto.clarifai.api.Pipeline.prototype.setPipelineVersion = function (value) {
|
|
65709
|
+
return jspb.Message.setWrapperField(this, 5, value);
|
|
65710
|
+
};
|
|
65711
|
+
/**
|
|
65712
|
+
* Clears the message field making it undefined.
|
|
65713
|
+
* @return {!proto.clarifai.api.Pipeline} returns this
|
|
65714
|
+
*/
|
|
65715
|
+
proto.clarifai.api.Pipeline.prototype.clearPipelineVersion = function () {
|
|
65716
|
+
return this.setPipelineVersion(undefined);
|
|
65717
|
+
};
|
|
65718
|
+
/**
|
|
65719
|
+
* Returns whether this field is set.
|
|
65720
|
+
* @return {boolean}
|
|
65721
|
+
*/
|
|
65722
|
+
proto.clarifai.api.Pipeline.prototype.hasPipelineVersion = function () {
|
|
65723
|
+
return jspb.Message.getField(this, 5) != null;
|
|
65724
|
+
};
|
|
65725
|
+
/**
|
|
65726
|
+
* optional string description = 6;
|
|
65727
|
+
* @return {string}
|
|
65728
|
+
*/
|
|
65729
|
+
proto.clarifai.api.Pipeline.prototype.getDescription = function () {
|
|
65730
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
65731
|
+
};
|
|
65732
|
+
/**
|
|
65733
|
+
* @param {string} value
|
|
65734
|
+
* @return {!proto.clarifai.api.Pipeline} returns this
|
|
65735
|
+
*/
|
|
65736
|
+
proto.clarifai.api.Pipeline.prototype.setDescription = function (value) {
|
|
65737
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
65738
|
+
};
|
|
65739
|
+
/**
|
|
65740
|
+
* optional Visibility visibility = 7;
|
|
65741
|
+
* @return {?proto.clarifai.api.Visibility}
|
|
65742
|
+
*/
|
|
65743
|
+
proto.clarifai.api.Pipeline.prototype.getVisibility = function () {
|
|
65744
|
+
return /** @type{?proto.clarifai.api.Visibility} */ (jspb.Message.getWrapperField(this, proto.clarifai.api.Visibility, 7));
|
|
65745
|
+
};
|
|
65746
|
+
/**
|
|
65747
|
+
* @param {?proto.clarifai.api.Visibility|undefined} value
|
|
65748
|
+
* @return {!proto.clarifai.api.Pipeline} returns this
|
|
65749
|
+
*/
|
|
65750
|
+
proto.clarifai.api.Pipeline.prototype.setVisibility = function (value) {
|
|
65751
|
+
return jspb.Message.setWrapperField(this, 7, value);
|
|
65752
|
+
};
|
|
65753
|
+
/**
|
|
65754
|
+
* Clears the message field making it undefined.
|
|
65755
|
+
* @return {!proto.clarifai.api.Pipeline} returns this
|
|
65756
|
+
*/
|
|
65757
|
+
proto.clarifai.api.Pipeline.prototype.clearVisibility = function () {
|
|
65758
|
+
return this.setVisibility(undefined);
|
|
65759
|
+
};
|
|
65760
|
+
/**
|
|
65761
|
+
* Returns whether this field is set.
|
|
65762
|
+
* @return {boolean}
|
|
65763
|
+
*/
|
|
65764
|
+
proto.clarifai.api.Pipeline.prototype.hasVisibility = function () {
|
|
65765
|
+
return jspb.Message.getField(this, 7) != null;
|
|
65766
|
+
};
|
|
65767
|
+
/**
|
|
65768
|
+
* optional string notes = 8;
|
|
65769
|
+
* @return {string}
|
|
65770
|
+
*/
|
|
65771
|
+
proto.clarifai.api.Pipeline.prototype.getNotes = function () {
|
|
65772
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
65773
|
+
};
|
|
65774
|
+
/**
|
|
65775
|
+
* @param {string} value
|
|
65776
|
+
* @return {!proto.clarifai.api.Pipeline} returns this
|
|
65777
|
+
*/
|
|
65778
|
+
proto.clarifai.api.Pipeline.prototype.setNotes = function (value) {
|
|
65779
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
65780
|
+
};
|
|
65781
|
+
/**
|
|
65782
|
+
* optional google.protobuf.Struct metadata = 9;
|
|
65783
|
+
* @return {?proto.google.protobuf.Struct}
|
|
65784
|
+
*/
|
|
65785
|
+
proto.clarifai.api.Pipeline.prototype.getMetadata = function () {
|
|
65786
|
+
return /** @type{?proto.google.protobuf.Struct} */ (jspb.Message.getWrapperField(this, google_protobuf_struct_pb.Struct, 9));
|
|
65787
|
+
};
|
|
65788
|
+
/**
|
|
65789
|
+
* @param {?proto.google.protobuf.Struct|undefined} value
|
|
65790
|
+
* @return {!proto.clarifai.api.Pipeline} returns this
|
|
65791
|
+
*/
|
|
65792
|
+
proto.clarifai.api.Pipeline.prototype.setMetadata = function (value) {
|
|
65793
|
+
return jspb.Message.setWrapperField(this, 9, value);
|
|
65794
|
+
};
|
|
65795
|
+
/**
|
|
65796
|
+
* Clears the message field making it undefined.
|
|
65797
|
+
* @return {!proto.clarifai.api.Pipeline} returns this
|
|
65798
|
+
*/
|
|
65799
|
+
proto.clarifai.api.Pipeline.prototype.clearMetadata = function () {
|
|
65800
|
+
return this.setMetadata(undefined);
|
|
65801
|
+
};
|
|
65802
|
+
/**
|
|
65803
|
+
* Returns whether this field is set.
|
|
65804
|
+
* @return {boolean}
|
|
65805
|
+
*/
|
|
65806
|
+
proto.clarifai.api.Pipeline.prototype.hasMetadata = function () {
|
|
65807
|
+
return jspb.Message.getField(this, 9) != null;
|
|
65808
|
+
};
|
|
65809
|
+
/**
|
|
65810
|
+
* optional google.protobuf.Timestamp created_at = 10;
|
|
65811
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
65812
|
+
*/
|
|
65813
|
+
proto.clarifai.api.Pipeline.prototype.getCreatedAt = function () {
|
|
65814
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 10));
|
|
65815
|
+
};
|
|
65816
|
+
/**
|
|
65817
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
65818
|
+
* @return {!proto.clarifai.api.Pipeline} returns this
|
|
65819
|
+
*/
|
|
65820
|
+
proto.clarifai.api.Pipeline.prototype.setCreatedAt = function (value) {
|
|
65821
|
+
return jspb.Message.setWrapperField(this, 10, value);
|
|
65822
|
+
};
|
|
65823
|
+
/**
|
|
65824
|
+
* Clears the message field making it undefined.
|
|
65825
|
+
* @return {!proto.clarifai.api.Pipeline} returns this
|
|
65826
|
+
*/
|
|
65827
|
+
proto.clarifai.api.Pipeline.prototype.clearCreatedAt = function () {
|
|
65828
|
+
return this.setCreatedAt(undefined);
|
|
65829
|
+
};
|
|
65830
|
+
/**
|
|
65831
|
+
* Returns whether this field is set.
|
|
65832
|
+
* @return {boolean}
|
|
65833
|
+
*/
|
|
65834
|
+
proto.clarifai.api.Pipeline.prototype.hasCreatedAt = function () {
|
|
65835
|
+
return jspb.Message.getField(this, 10) != null;
|
|
65836
|
+
};
|
|
65837
|
+
/**
|
|
65838
|
+
* optional google.protobuf.Timestamp modified_at = 11;
|
|
65839
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
65840
|
+
*/
|
|
65841
|
+
proto.clarifai.api.Pipeline.prototype.getModifiedAt = function () {
|
|
65842
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 11));
|
|
65843
|
+
};
|
|
65844
|
+
/**
|
|
65845
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
65846
|
+
* @return {!proto.clarifai.api.Pipeline} returns this
|
|
65847
|
+
*/
|
|
65848
|
+
proto.clarifai.api.Pipeline.prototype.setModifiedAt = function (value) {
|
|
65849
|
+
return jspb.Message.setWrapperField(this, 11, value);
|
|
65850
|
+
};
|
|
65851
|
+
/**
|
|
65852
|
+
* Clears the message field making it undefined.
|
|
65853
|
+
* @return {!proto.clarifai.api.Pipeline} returns this
|
|
65854
|
+
*/
|
|
65855
|
+
proto.clarifai.api.Pipeline.prototype.clearModifiedAt = function () {
|
|
65856
|
+
return this.setModifiedAt(undefined);
|
|
65857
|
+
};
|
|
65858
|
+
/**
|
|
65859
|
+
* Returns whether this field is set.
|
|
65860
|
+
* @return {boolean}
|
|
65861
|
+
*/
|
|
65862
|
+
proto.clarifai.api.Pipeline.prototype.hasModifiedAt = function () {
|
|
65863
|
+
return jspb.Message.getField(this, 11) != null;
|
|
65864
|
+
};
|
|
64689
65865
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
64690
65866
|
/**
|
|
64691
65867
|
* Creates an object representation of this proto.
|
|
@@ -65402,7 +66578,9 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
65402
66578
|
nodepoolsList: jspb.Message.toObjectList(msg.getNodepoolsList(), proto.clarifai.api.Nodepool.toObject, includeInstance),
|
|
65403
66579
|
orchestrationStatus: (f = msg.getOrchestrationStatus()) && proto.clarifai.api.OrchestrationStatus.toObject(includeInstance, f),
|
|
65404
66580
|
userId: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
65405
|
-
appId: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
66581
|
+
appId: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
66582
|
+
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
66583
|
+
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
|
|
65406
66584
|
};
|
|
65407
66585
|
if (includeInstance) {
|
|
65408
66586
|
obj.$jspbMessageInstance = msg;
|
|
@@ -65461,6 +66639,16 @@ proto.clarifai.api.PipelineVersionRun.deserializeBinaryFromReader = function (ms
|
|
|
65461
66639
|
var value = /** @type {string} */ (reader.readString());
|
|
65462
66640
|
msg.setAppId(value);
|
|
65463
66641
|
break;
|
|
66642
|
+
case 7:
|
|
66643
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
66644
|
+
reader.readMessage(value, google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
66645
|
+
msg.setCreatedAt(value);
|
|
66646
|
+
break;
|
|
66647
|
+
case 8:
|
|
66648
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
66649
|
+
reader.readMessage(value, google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
66650
|
+
msg.setModifiedAt(value);
|
|
66651
|
+
break;
|
|
65464
66652
|
default:
|
|
65465
66653
|
reader.skipField();
|
|
65466
66654
|
break;
|
|
@@ -65510,6 +66698,14 @@ proto.clarifai.api.PipelineVersionRun.serializeBinaryToWriter = function (messag
|
|
|
65510
66698
|
if (f.length > 0) {
|
|
65511
66699
|
writer.writeString(6, f);
|
|
65512
66700
|
}
|
|
66701
|
+
f = message.getCreatedAt();
|
|
66702
|
+
if (f != null) {
|
|
66703
|
+
writer.writeMessage(7, f, google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter);
|
|
66704
|
+
}
|
|
66705
|
+
f = message.getModifiedAt();
|
|
66706
|
+
if (f != null) {
|
|
66707
|
+
writer.writeMessage(8, f, google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter);
|
|
66708
|
+
}
|
|
65513
66709
|
};
|
|
65514
66710
|
/**
|
|
65515
66711
|
* optional string id = 1;
|
|
@@ -65638,6 +66834,436 @@ proto.clarifai.api.PipelineVersionRun.prototype.getAppId = function () {
|
|
|
65638
66834
|
proto.clarifai.api.PipelineVersionRun.prototype.setAppId = function (value) {
|
|
65639
66835
|
return jspb.Message.setProto3StringField(this, 6, value);
|
|
65640
66836
|
};
|
|
66837
|
+
/**
|
|
66838
|
+
* optional google.protobuf.Timestamp created_at = 7;
|
|
66839
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
66840
|
+
*/
|
|
66841
|
+
proto.clarifai.api.PipelineVersionRun.prototype.getCreatedAt = function () {
|
|
66842
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 7));
|
|
66843
|
+
};
|
|
66844
|
+
/**
|
|
66845
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
66846
|
+
* @return {!proto.clarifai.api.PipelineVersionRun} returns this
|
|
66847
|
+
*/
|
|
66848
|
+
proto.clarifai.api.PipelineVersionRun.prototype.setCreatedAt = function (value) {
|
|
66849
|
+
return jspb.Message.setWrapperField(this, 7, value);
|
|
66850
|
+
};
|
|
66851
|
+
/**
|
|
66852
|
+
* Clears the message field making it undefined.
|
|
66853
|
+
* @return {!proto.clarifai.api.PipelineVersionRun} returns this
|
|
66854
|
+
*/
|
|
66855
|
+
proto.clarifai.api.PipelineVersionRun.prototype.clearCreatedAt = function () {
|
|
66856
|
+
return this.setCreatedAt(undefined);
|
|
66857
|
+
};
|
|
66858
|
+
/**
|
|
66859
|
+
* Returns whether this field is set.
|
|
66860
|
+
* @return {boolean}
|
|
66861
|
+
*/
|
|
66862
|
+
proto.clarifai.api.PipelineVersionRun.prototype.hasCreatedAt = function () {
|
|
66863
|
+
return jspb.Message.getField(this, 7) != null;
|
|
66864
|
+
};
|
|
66865
|
+
/**
|
|
66866
|
+
* optional google.protobuf.Timestamp modified_at = 8;
|
|
66867
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
66868
|
+
*/
|
|
66869
|
+
proto.clarifai.api.PipelineVersionRun.prototype.getModifiedAt = function () {
|
|
66870
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 8));
|
|
66871
|
+
};
|
|
66872
|
+
/**
|
|
66873
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
66874
|
+
* @return {!proto.clarifai.api.PipelineVersionRun} returns this
|
|
66875
|
+
*/
|
|
66876
|
+
proto.clarifai.api.PipelineVersionRun.prototype.setModifiedAt = function (value) {
|
|
66877
|
+
return jspb.Message.setWrapperField(this, 8, value);
|
|
66878
|
+
};
|
|
66879
|
+
/**
|
|
66880
|
+
* Clears the message field making it undefined.
|
|
66881
|
+
* @return {!proto.clarifai.api.PipelineVersionRun} returns this
|
|
66882
|
+
*/
|
|
66883
|
+
proto.clarifai.api.PipelineVersionRun.prototype.clearModifiedAt = function () {
|
|
66884
|
+
return this.setModifiedAt(undefined);
|
|
66885
|
+
};
|
|
66886
|
+
/**
|
|
66887
|
+
* Returns whether this field is set.
|
|
66888
|
+
* @return {boolean}
|
|
66889
|
+
*/
|
|
66890
|
+
proto.clarifai.api.PipelineVersionRun.prototype.hasModifiedAt = function () {
|
|
66891
|
+
return jspb.Message.getField(this, 8) != null;
|
|
66892
|
+
};
|
|
66893
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
66894
|
+
/**
|
|
66895
|
+
* Creates an object representation of this proto.
|
|
66896
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
66897
|
+
* Optional fields that are not set will be set to undefined.
|
|
66898
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
66899
|
+
* For the list of reserved names please see:
|
|
66900
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
66901
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
66902
|
+
* JSPB instance for transitional soy proto support:
|
|
66903
|
+
* http://goto/soy-param-migration
|
|
66904
|
+
* @return {!Object}
|
|
66905
|
+
*/
|
|
66906
|
+
proto.clarifai.api.Secret.prototype.toObject = function (opt_includeInstance) {
|
|
66907
|
+
return proto.clarifai.api.Secret.toObject(opt_includeInstance, this);
|
|
66908
|
+
};
|
|
66909
|
+
/**
|
|
66910
|
+
* Static version of the {@see toObject} method.
|
|
66911
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
66912
|
+
* the JSPB instance for transitional soy proto support:
|
|
66913
|
+
* http://goto/soy-param-migration
|
|
66914
|
+
* @param {!proto.clarifai.api.Secret} msg The msg instance to transform.
|
|
66915
|
+
* @return {!Object}
|
|
66916
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
66917
|
+
*/
|
|
66918
|
+
proto.clarifai.api.Secret.toObject = function (includeInstance, msg) {
|
|
66919
|
+
var f, obj = {
|
|
66920
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
66921
|
+
appId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
66922
|
+
name: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
66923
|
+
value: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
66924
|
+
version: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
66925
|
+
description: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
66926
|
+
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
66927
|
+
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
66928
|
+
visibility: (f = msg.getVisibility()) && proto.clarifai.api.Visibility.toObject(includeInstance, f),
|
|
66929
|
+
expiresAt: (f = msg.getExpiresAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
|
|
66930
|
+
};
|
|
66931
|
+
if (includeInstance) {
|
|
66932
|
+
obj.$jspbMessageInstance = msg;
|
|
66933
|
+
}
|
|
66934
|
+
return obj;
|
|
66935
|
+
};
|
|
66936
|
+
}
|
|
66937
|
+
/**
|
|
66938
|
+
* Deserializes binary data (in protobuf wire format).
|
|
66939
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
66940
|
+
* @return {!proto.clarifai.api.Secret}
|
|
66941
|
+
*/
|
|
66942
|
+
proto.clarifai.api.Secret.deserializeBinary = function (bytes) {
|
|
66943
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
66944
|
+
var msg = new proto.clarifai.api.Secret;
|
|
66945
|
+
return proto.clarifai.api.Secret.deserializeBinaryFromReader(msg, reader);
|
|
66946
|
+
};
|
|
66947
|
+
/**
|
|
66948
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
66949
|
+
* given reader into the given message object.
|
|
66950
|
+
* @param {!proto.clarifai.api.Secret} msg The message object to deserialize into.
|
|
66951
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
66952
|
+
* @return {!proto.clarifai.api.Secret}
|
|
66953
|
+
*/
|
|
66954
|
+
proto.clarifai.api.Secret.deserializeBinaryFromReader = function (msg, reader) {
|
|
66955
|
+
while (reader.nextField()) {
|
|
66956
|
+
if (reader.isEndGroup()) {
|
|
66957
|
+
break;
|
|
66958
|
+
}
|
|
66959
|
+
var field = reader.getFieldNumber();
|
|
66960
|
+
switch (field) {
|
|
66961
|
+
case 1:
|
|
66962
|
+
var value = /** @type {string} */ (reader.readString());
|
|
66963
|
+
msg.setId(value);
|
|
66964
|
+
break;
|
|
66965
|
+
case 2:
|
|
66966
|
+
var value = /** @type {string} */ (reader.readString());
|
|
66967
|
+
msg.setAppId(value);
|
|
66968
|
+
break;
|
|
66969
|
+
case 3:
|
|
66970
|
+
var value = /** @type {string} */ (reader.readString());
|
|
66971
|
+
msg.setName(value);
|
|
66972
|
+
break;
|
|
66973
|
+
case 4:
|
|
66974
|
+
var value = /** @type {string} */ (reader.readString());
|
|
66975
|
+
msg.setValue(value);
|
|
66976
|
+
break;
|
|
66977
|
+
case 5:
|
|
66978
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
66979
|
+
msg.setVersion(value);
|
|
66980
|
+
break;
|
|
66981
|
+
case 6:
|
|
66982
|
+
var value = /** @type {string} */ (reader.readString());
|
|
66983
|
+
msg.setDescription(value);
|
|
66984
|
+
break;
|
|
66985
|
+
case 7:
|
|
66986
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
66987
|
+
reader.readMessage(value, google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
66988
|
+
msg.setCreatedAt(value);
|
|
66989
|
+
break;
|
|
66990
|
+
case 8:
|
|
66991
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
66992
|
+
reader.readMessage(value, google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
66993
|
+
msg.setModifiedAt(value);
|
|
66994
|
+
break;
|
|
66995
|
+
case 9:
|
|
66996
|
+
var value = new proto.clarifai.api.Visibility;
|
|
66997
|
+
reader.readMessage(value, proto.clarifai.api.Visibility.deserializeBinaryFromReader);
|
|
66998
|
+
msg.setVisibility(value);
|
|
66999
|
+
break;
|
|
67000
|
+
case 10:
|
|
67001
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
67002
|
+
reader.readMessage(value, google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
67003
|
+
msg.setExpiresAt(value);
|
|
67004
|
+
break;
|
|
67005
|
+
default:
|
|
67006
|
+
reader.skipField();
|
|
67007
|
+
break;
|
|
67008
|
+
}
|
|
67009
|
+
}
|
|
67010
|
+
return msg;
|
|
67011
|
+
};
|
|
67012
|
+
/**
|
|
67013
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
67014
|
+
* @return {!Uint8Array}
|
|
67015
|
+
*/
|
|
67016
|
+
proto.clarifai.api.Secret.prototype.serializeBinary = function () {
|
|
67017
|
+
var writer = new jspb.BinaryWriter();
|
|
67018
|
+
proto.clarifai.api.Secret.serializeBinaryToWriter(this, writer);
|
|
67019
|
+
return writer.getResultBuffer();
|
|
67020
|
+
};
|
|
67021
|
+
/**
|
|
67022
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
67023
|
+
* format), writing to the given BinaryWriter.
|
|
67024
|
+
* @param {!proto.clarifai.api.Secret} message
|
|
67025
|
+
* @param {!jspb.BinaryWriter} writer
|
|
67026
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
67027
|
+
*/
|
|
67028
|
+
proto.clarifai.api.Secret.serializeBinaryToWriter = function (message, writer) {
|
|
67029
|
+
var f = undefined;
|
|
67030
|
+
f = message.getId();
|
|
67031
|
+
if (f.length > 0) {
|
|
67032
|
+
writer.writeString(1, f);
|
|
67033
|
+
}
|
|
67034
|
+
f = message.getAppId();
|
|
67035
|
+
if (f.length > 0) {
|
|
67036
|
+
writer.writeString(2, f);
|
|
67037
|
+
}
|
|
67038
|
+
f = message.getName();
|
|
67039
|
+
if (f.length > 0) {
|
|
67040
|
+
writer.writeString(3, f);
|
|
67041
|
+
}
|
|
67042
|
+
f = message.getValue();
|
|
67043
|
+
if (f.length > 0) {
|
|
67044
|
+
writer.writeString(4, f);
|
|
67045
|
+
}
|
|
67046
|
+
f = message.getVersion();
|
|
67047
|
+
if (f !== 0) {
|
|
67048
|
+
writer.writeUint32(5, f);
|
|
67049
|
+
}
|
|
67050
|
+
f = message.getDescription();
|
|
67051
|
+
if (f.length > 0) {
|
|
67052
|
+
writer.writeString(6, f);
|
|
67053
|
+
}
|
|
67054
|
+
f = message.getCreatedAt();
|
|
67055
|
+
if (f != null) {
|
|
67056
|
+
writer.writeMessage(7, f, google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter);
|
|
67057
|
+
}
|
|
67058
|
+
f = message.getModifiedAt();
|
|
67059
|
+
if (f != null) {
|
|
67060
|
+
writer.writeMessage(8, f, google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter);
|
|
67061
|
+
}
|
|
67062
|
+
f = message.getVisibility();
|
|
67063
|
+
if (f != null) {
|
|
67064
|
+
writer.writeMessage(9, f, proto.clarifai.api.Visibility.serializeBinaryToWriter);
|
|
67065
|
+
}
|
|
67066
|
+
f = message.getExpiresAt();
|
|
67067
|
+
if (f != null) {
|
|
67068
|
+
writer.writeMessage(10, f, google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter);
|
|
67069
|
+
}
|
|
67070
|
+
};
|
|
67071
|
+
/**
|
|
67072
|
+
* optional string id = 1;
|
|
67073
|
+
* @return {string}
|
|
67074
|
+
*/
|
|
67075
|
+
proto.clarifai.api.Secret.prototype.getId = function () {
|
|
67076
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
67077
|
+
};
|
|
67078
|
+
/**
|
|
67079
|
+
* @param {string} value
|
|
67080
|
+
* @return {!proto.clarifai.api.Secret} returns this
|
|
67081
|
+
*/
|
|
67082
|
+
proto.clarifai.api.Secret.prototype.setId = function (value) {
|
|
67083
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
67084
|
+
};
|
|
67085
|
+
/**
|
|
67086
|
+
* optional string app_id = 2;
|
|
67087
|
+
* @return {string}
|
|
67088
|
+
*/
|
|
67089
|
+
proto.clarifai.api.Secret.prototype.getAppId = function () {
|
|
67090
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
67091
|
+
};
|
|
67092
|
+
/**
|
|
67093
|
+
* @param {string} value
|
|
67094
|
+
* @return {!proto.clarifai.api.Secret} returns this
|
|
67095
|
+
*/
|
|
67096
|
+
proto.clarifai.api.Secret.prototype.setAppId = function (value) {
|
|
67097
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
67098
|
+
};
|
|
67099
|
+
/**
|
|
67100
|
+
* optional string name = 3;
|
|
67101
|
+
* @return {string}
|
|
67102
|
+
*/
|
|
67103
|
+
proto.clarifai.api.Secret.prototype.getName = function () {
|
|
67104
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
67105
|
+
};
|
|
67106
|
+
/**
|
|
67107
|
+
* @param {string} value
|
|
67108
|
+
* @return {!proto.clarifai.api.Secret} returns this
|
|
67109
|
+
*/
|
|
67110
|
+
proto.clarifai.api.Secret.prototype.setName = function (value) {
|
|
67111
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
67112
|
+
};
|
|
67113
|
+
/**
|
|
67114
|
+
* optional string value = 4;
|
|
67115
|
+
* @return {string}
|
|
67116
|
+
*/
|
|
67117
|
+
proto.clarifai.api.Secret.prototype.getValue = function () {
|
|
67118
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
67119
|
+
};
|
|
67120
|
+
/**
|
|
67121
|
+
* @param {string} value
|
|
67122
|
+
* @return {!proto.clarifai.api.Secret} returns this
|
|
67123
|
+
*/
|
|
67124
|
+
proto.clarifai.api.Secret.prototype.setValue = function (value) {
|
|
67125
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
67126
|
+
};
|
|
67127
|
+
/**
|
|
67128
|
+
* optional uint32 version = 5;
|
|
67129
|
+
* @return {number}
|
|
67130
|
+
*/
|
|
67131
|
+
proto.clarifai.api.Secret.prototype.getVersion = function () {
|
|
67132
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
67133
|
+
};
|
|
67134
|
+
/**
|
|
67135
|
+
* @param {number} value
|
|
67136
|
+
* @return {!proto.clarifai.api.Secret} returns this
|
|
67137
|
+
*/
|
|
67138
|
+
proto.clarifai.api.Secret.prototype.setVersion = function (value) {
|
|
67139
|
+
return jspb.Message.setProto3IntField(this, 5, value);
|
|
67140
|
+
};
|
|
67141
|
+
/**
|
|
67142
|
+
* optional string description = 6;
|
|
67143
|
+
* @return {string}
|
|
67144
|
+
*/
|
|
67145
|
+
proto.clarifai.api.Secret.prototype.getDescription = function () {
|
|
67146
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
67147
|
+
};
|
|
67148
|
+
/**
|
|
67149
|
+
* @param {string} value
|
|
67150
|
+
* @return {!proto.clarifai.api.Secret} returns this
|
|
67151
|
+
*/
|
|
67152
|
+
proto.clarifai.api.Secret.prototype.setDescription = function (value) {
|
|
67153
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
67154
|
+
};
|
|
67155
|
+
/**
|
|
67156
|
+
* optional google.protobuf.Timestamp created_at = 7;
|
|
67157
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
67158
|
+
*/
|
|
67159
|
+
proto.clarifai.api.Secret.prototype.getCreatedAt = function () {
|
|
67160
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 7));
|
|
67161
|
+
};
|
|
67162
|
+
/**
|
|
67163
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
67164
|
+
* @return {!proto.clarifai.api.Secret} returns this
|
|
67165
|
+
*/
|
|
67166
|
+
proto.clarifai.api.Secret.prototype.setCreatedAt = function (value) {
|
|
67167
|
+
return jspb.Message.setWrapperField(this, 7, value);
|
|
67168
|
+
};
|
|
67169
|
+
/**
|
|
67170
|
+
* Clears the message field making it undefined.
|
|
67171
|
+
* @return {!proto.clarifai.api.Secret} returns this
|
|
67172
|
+
*/
|
|
67173
|
+
proto.clarifai.api.Secret.prototype.clearCreatedAt = function () {
|
|
67174
|
+
return this.setCreatedAt(undefined);
|
|
67175
|
+
};
|
|
67176
|
+
/**
|
|
67177
|
+
* Returns whether this field is set.
|
|
67178
|
+
* @return {boolean}
|
|
67179
|
+
*/
|
|
67180
|
+
proto.clarifai.api.Secret.prototype.hasCreatedAt = function () {
|
|
67181
|
+
return jspb.Message.getField(this, 7) != null;
|
|
67182
|
+
};
|
|
67183
|
+
/**
|
|
67184
|
+
* optional google.protobuf.Timestamp modified_at = 8;
|
|
67185
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
67186
|
+
*/
|
|
67187
|
+
proto.clarifai.api.Secret.prototype.getModifiedAt = function () {
|
|
67188
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 8));
|
|
67189
|
+
};
|
|
67190
|
+
/**
|
|
67191
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
67192
|
+
* @return {!proto.clarifai.api.Secret} returns this
|
|
67193
|
+
*/
|
|
67194
|
+
proto.clarifai.api.Secret.prototype.setModifiedAt = function (value) {
|
|
67195
|
+
return jspb.Message.setWrapperField(this, 8, value);
|
|
67196
|
+
};
|
|
67197
|
+
/**
|
|
67198
|
+
* Clears the message field making it undefined.
|
|
67199
|
+
* @return {!proto.clarifai.api.Secret} returns this
|
|
67200
|
+
*/
|
|
67201
|
+
proto.clarifai.api.Secret.prototype.clearModifiedAt = function () {
|
|
67202
|
+
return this.setModifiedAt(undefined);
|
|
67203
|
+
};
|
|
67204
|
+
/**
|
|
67205
|
+
* Returns whether this field is set.
|
|
67206
|
+
* @return {boolean}
|
|
67207
|
+
*/
|
|
67208
|
+
proto.clarifai.api.Secret.prototype.hasModifiedAt = function () {
|
|
67209
|
+
return jspb.Message.getField(this, 8) != null;
|
|
67210
|
+
};
|
|
67211
|
+
/**
|
|
67212
|
+
* optional Visibility visibility = 9;
|
|
67213
|
+
* @return {?proto.clarifai.api.Visibility}
|
|
67214
|
+
*/
|
|
67215
|
+
proto.clarifai.api.Secret.prototype.getVisibility = function () {
|
|
67216
|
+
return /** @type{?proto.clarifai.api.Visibility} */ (jspb.Message.getWrapperField(this, proto.clarifai.api.Visibility, 9));
|
|
67217
|
+
};
|
|
67218
|
+
/**
|
|
67219
|
+
* @param {?proto.clarifai.api.Visibility|undefined} value
|
|
67220
|
+
* @return {!proto.clarifai.api.Secret} returns this
|
|
67221
|
+
*/
|
|
67222
|
+
proto.clarifai.api.Secret.prototype.setVisibility = function (value) {
|
|
67223
|
+
return jspb.Message.setWrapperField(this, 9, value);
|
|
67224
|
+
};
|
|
67225
|
+
/**
|
|
67226
|
+
* Clears the message field making it undefined.
|
|
67227
|
+
* @return {!proto.clarifai.api.Secret} returns this
|
|
67228
|
+
*/
|
|
67229
|
+
proto.clarifai.api.Secret.prototype.clearVisibility = function () {
|
|
67230
|
+
return this.setVisibility(undefined);
|
|
67231
|
+
};
|
|
67232
|
+
/**
|
|
67233
|
+
* Returns whether this field is set.
|
|
67234
|
+
* @return {boolean}
|
|
67235
|
+
*/
|
|
67236
|
+
proto.clarifai.api.Secret.prototype.hasVisibility = function () {
|
|
67237
|
+
return jspb.Message.getField(this, 9) != null;
|
|
67238
|
+
};
|
|
67239
|
+
/**
|
|
67240
|
+
* optional google.protobuf.Timestamp expires_at = 10;
|
|
67241
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
67242
|
+
*/
|
|
67243
|
+
proto.clarifai.api.Secret.prototype.getExpiresAt = function () {
|
|
67244
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 10));
|
|
67245
|
+
};
|
|
67246
|
+
/**
|
|
67247
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
67248
|
+
* @return {!proto.clarifai.api.Secret} returns this
|
|
67249
|
+
*/
|
|
67250
|
+
proto.clarifai.api.Secret.prototype.setExpiresAt = function (value) {
|
|
67251
|
+
return jspb.Message.setWrapperField(this, 10, value);
|
|
67252
|
+
};
|
|
67253
|
+
/**
|
|
67254
|
+
* Clears the message field making it undefined.
|
|
67255
|
+
* @return {!proto.clarifai.api.Secret} returns this
|
|
67256
|
+
*/
|
|
67257
|
+
proto.clarifai.api.Secret.prototype.clearExpiresAt = function () {
|
|
67258
|
+
return this.setExpiresAt(undefined);
|
|
67259
|
+
};
|
|
67260
|
+
/**
|
|
67261
|
+
* Returns whether this field is set.
|
|
67262
|
+
* @return {boolean}
|
|
67263
|
+
*/
|
|
67264
|
+
proto.clarifai.api.Secret.prototype.hasExpiresAt = function () {
|
|
67265
|
+
return jspb.Message.getField(this, 10) != null;
|
|
67266
|
+
};
|
|
65641
67267
|
/**
|
|
65642
67268
|
* @enum {number}
|
|
65643
67269
|
*/
|
|
@@ -65706,6 +67332,15 @@ proto.clarifai.api.LicenseType = {
|
|
|
65706
67332
|
OPEN_SOURCE: 2,
|
|
65707
67333
|
CLOSED_SOURCE: 3
|
|
65708
67334
|
};
|
|
67335
|
+
/**
|
|
67336
|
+
* @enum {number}
|
|
67337
|
+
*/
|
|
67338
|
+
proto.clarifai.api.DeployRestriction = {
|
|
67339
|
+
USAGE_RESTRICTION_NOT_SET: 0,
|
|
67340
|
+
NO_LIMITS: 1,
|
|
67341
|
+
SHARED_COMPUTE_ONLY: 2,
|
|
67342
|
+
DEDICATED_COMPUTE_ONLY: 3
|
|
67343
|
+
};
|
|
65709
67344
|
/**
|
|
65710
67345
|
* @enum {number}
|
|
65711
67346
|
*/
|