clarifai-web-grpc 11.9.11 → 11.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -59,9 +59,11 @@ goog.exportSymbol('proto.clarifai.api.AppDuplicationFilters', null, global);
|
|
|
59
59
|
goog.exportSymbol('proto.clarifai.api.AppExtraInfo', null, global);
|
|
60
60
|
goog.exportSymbol('proto.clarifai.api.AppQuery', null, global);
|
|
61
61
|
goog.exportSymbol('proto.clarifai.api.AppResourceCounts', null, global);
|
|
62
|
+
goog.exportSymbol('proto.clarifai.api.ArgoArgsOverride', null, global);
|
|
62
63
|
goog.exportSymbol('proto.clarifai.api.ArgoOrchestrationSpec', null, global);
|
|
63
64
|
goog.exportSymbol('proto.clarifai.api.ArgoOrchestrationStatus', null, global);
|
|
64
65
|
goog.exportSymbol('proto.clarifai.api.ArgoOrchestrationStepSpec', null, global);
|
|
66
|
+
goog.exportSymbol('proto.clarifai.api.ArgoParameterOverride', null, global);
|
|
65
67
|
goog.exportSymbol('proto.clarifai.api.Audio', null, global);
|
|
66
68
|
goog.exportSymbol('proto.clarifai.api.AudioInfo', null, global);
|
|
67
69
|
goog.exportSymbol('proto.clarifai.api.AuditLogEntry', null, global);
|
|
@@ -243,6 +245,8 @@ goog.exportSymbol('proto.clarifai.api.OpenRouterInfo', null, global);
|
|
|
243
245
|
goog.exportSymbol('proto.clarifai.api.Operation', null, global);
|
|
244
246
|
goog.exportSymbol('proto.clarifai.api.Operation.AnnotationOperationCase', null, global);
|
|
245
247
|
goog.exportSymbol('proto.clarifai.api.Operation.OperationCase', null, global);
|
|
248
|
+
goog.exportSymbol('proto.clarifai.api.OrchestrationArgsOverride', null, global);
|
|
249
|
+
goog.exportSymbol('proto.clarifai.api.OrchestrationArgsOverride.OverrideCase', null, global);
|
|
246
250
|
goog.exportSymbol('proto.clarifai.api.OrchestrationSpec', null, global);
|
|
247
251
|
goog.exportSymbol('proto.clarifai.api.OrchestrationSpec.OrchestrationCase', null, global);
|
|
248
252
|
goog.exportSymbol('proto.clarifai.api.OrchestrationStatus', null, global);
|
|
@@ -5387,6 +5391,69 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
5387
5391
|
*/
|
|
5388
5392
|
proto.clarifai.api.WorkflowVersionEvaluationData.displayName = 'proto.clarifai.api.WorkflowVersionEvaluationData';
|
|
5389
5393
|
}
|
|
5394
|
+
/**
|
|
5395
|
+
* Generated by JsPbCodeGenerator.
|
|
5396
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
5397
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
5398
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
5399
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
5400
|
+
* valid.
|
|
5401
|
+
* @extends {jspb.Message}
|
|
5402
|
+
* @constructor
|
|
5403
|
+
*/
|
|
5404
|
+
proto.clarifai.api.ArgoParameterOverride = function(opt_data) {
|
|
5405
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
5406
|
+
};
|
|
5407
|
+
goog.inherits(proto.clarifai.api.ArgoParameterOverride, jspb.Message);
|
|
5408
|
+
if (goog.DEBUG && !COMPILED) {
|
|
5409
|
+
/**
|
|
5410
|
+
* @public
|
|
5411
|
+
* @override
|
|
5412
|
+
*/
|
|
5413
|
+
proto.clarifai.api.ArgoParameterOverride.displayName = 'proto.clarifai.api.ArgoParameterOverride';
|
|
5414
|
+
}
|
|
5415
|
+
/**
|
|
5416
|
+
* Generated by JsPbCodeGenerator.
|
|
5417
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
5418
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
5419
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
5420
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
5421
|
+
* valid.
|
|
5422
|
+
* @extends {jspb.Message}
|
|
5423
|
+
* @constructor
|
|
5424
|
+
*/
|
|
5425
|
+
proto.clarifai.api.ArgoArgsOverride = function(opt_data) {
|
|
5426
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.ArgoArgsOverride.repeatedFields_, null);
|
|
5427
|
+
};
|
|
5428
|
+
goog.inherits(proto.clarifai.api.ArgoArgsOverride, jspb.Message);
|
|
5429
|
+
if (goog.DEBUG && !COMPILED) {
|
|
5430
|
+
/**
|
|
5431
|
+
* @public
|
|
5432
|
+
* @override
|
|
5433
|
+
*/
|
|
5434
|
+
proto.clarifai.api.ArgoArgsOverride.displayName = 'proto.clarifai.api.ArgoArgsOverride';
|
|
5435
|
+
}
|
|
5436
|
+
/**
|
|
5437
|
+
* Generated by JsPbCodeGenerator.
|
|
5438
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
5439
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
5440
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
5441
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
5442
|
+
* valid.
|
|
5443
|
+
* @extends {jspb.Message}
|
|
5444
|
+
* @constructor
|
|
5445
|
+
*/
|
|
5446
|
+
proto.clarifai.api.OrchestrationArgsOverride = function(opt_data) {
|
|
5447
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.clarifai.api.OrchestrationArgsOverride.oneofGroups_);
|
|
5448
|
+
};
|
|
5449
|
+
goog.inherits(proto.clarifai.api.OrchestrationArgsOverride, jspb.Message);
|
|
5450
|
+
if (goog.DEBUG && !COMPILED) {
|
|
5451
|
+
/**
|
|
5452
|
+
* @public
|
|
5453
|
+
* @override
|
|
5454
|
+
*/
|
|
5455
|
+
proto.clarifai.api.OrchestrationArgsOverride.displayName = 'proto.clarifai.api.OrchestrationArgsOverride';
|
|
5456
|
+
}
|
|
5390
5457
|
/**
|
|
5391
5458
|
* Generated by JsPbCodeGenerator.
|
|
5392
5459
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -82331,6 +82398,502 @@ proto.clarifai.api.WorkflowVersionEvaluationData.prototype.hasWorkflowEvaluation
|
|
|
82331
82398
|
|
|
82332
82399
|
|
|
82333
82400
|
|
|
82401
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
82402
|
+
/**
|
|
82403
|
+
* Creates an object representation of this proto.
|
|
82404
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
82405
|
+
* Optional fields that are not set will be set to undefined.
|
|
82406
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
82407
|
+
* For the list of reserved names please see:
|
|
82408
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
82409
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
82410
|
+
* JSPB instance for transitional soy proto support:
|
|
82411
|
+
* http://goto/soy-param-migration
|
|
82412
|
+
* @return {!Object}
|
|
82413
|
+
*/
|
|
82414
|
+
proto.clarifai.api.ArgoParameterOverride.prototype.toObject = function(opt_includeInstance) {
|
|
82415
|
+
return proto.clarifai.api.ArgoParameterOverride.toObject(opt_includeInstance, this);
|
|
82416
|
+
};
|
|
82417
|
+
|
|
82418
|
+
|
|
82419
|
+
/**
|
|
82420
|
+
* Static version of the {@see toObject} method.
|
|
82421
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
82422
|
+
* the JSPB instance for transitional soy proto support:
|
|
82423
|
+
* http://goto/soy-param-migration
|
|
82424
|
+
* @param {!proto.clarifai.api.ArgoParameterOverride} msg The msg instance to transform.
|
|
82425
|
+
* @return {!Object}
|
|
82426
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
82427
|
+
*/
|
|
82428
|
+
proto.clarifai.api.ArgoParameterOverride.toObject = function(includeInstance, msg) {
|
|
82429
|
+
var f, obj = {
|
|
82430
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
82431
|
+
value: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
82432
|
+
};
|
|
82433
|
+
|
|
82434
|
+
if (includeInstance) {
|
|
82435
|
+
obj.$jspbMessageInstance = msg;
|
|
82436
|
+
}
|
|
82437
|
+
return obj;
|
|
82438
|
+
};
|
|
82439
|
+
}
|
|
82440
|
+
|
|
82441
|
+
|
|
82442
|
+
/**
|
|
82443
|
+
* Deserializes binary data (in protobuf wire format).
|
|
82444
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
82445
|
+
* @return {!proto.clarifai.api.ArgoParameterOverride}
|
|
82446
|
+
*/
|
|
82447
|
+
proto.clarifai.api.ArgoParameterOverride.deserializeBinary = function(bytes) {
|
|
82448
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
82449
|
+
var msg = new proto.clarifai.api.ArgoParameterOverride;
|
|
82450
|
+
return proto.clarifai.api.ArgoParameterOverride.deserializeBinaryFromReader(msg, reader);
|
|
82451
|
+
};
|
|
82452
|
+
|
|
82453
|
+
|
|
82454
|
+
/**
|
|
82455
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
82456
|
+
* given reader into the given message object.
|
|
82457
|
+
* @param {!proto.clarifai.api.ArgoParameterOverride} msg The message object to deserialize into.
|
|
82458
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
82459
|
+
* @return {!proto.clarifai.api.ArgoParameterOverride}
|
|
82460
|
+
*/
|
|
82461
|
+
proto.clarifai.api.ArgoParameterOverride.deserializeBinaryFromReader = function(msg, reader) {
|
|
82462
|
+
while (reader.nextField()) {
|
|
82463
|
+
if (reader.isEndGroup()) {
|
|
82464
|
+
break;
|
|
82465
|
+
}
|
|
82466
|
+
var field = reader.getFieldNumber();
|
|
82467
|
+
switch (field) {
|
|
82468
|
+
case 1:
|
|
82469
|
+
var value = /** @type {string} */ (reader.readString());
|
|
82470
|
+
msg.setName(value);
|
|
82471
|
+
break;
|
|
82472
|
+
case 2:
|
|
82473
|
+
var value = /** @type {string} */ (reader.readString());
|
|
82474
|
+
msg.setValue(value);
|
|
82475
|
+
break;
|
|
82476
|
+
default:
|
|
82477
|
+
reader.skipField();
|
|
82478
|
+
break;
|
|
82479
|
+
}
|
|
82480
|
+
}
|
|
82481
|
+
return msg;
|
|
82482
|
+
};
|
|
82483
|
+
|
|
82484
|
+
|
|
82485
|
+
/**
|
|
82486
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
82487
|
+
* @return {!Uint8Array}
|
|
82488
|
+
*/
|
|
82489
|
+
proto.clarifai.api.ArgoParameterOverride.prototype.serializeBinary = function() {
|
|
82490
|
+
var writer = new jspb.BinaryWriter();
|
|
82491
|
+
proto.clarifai.api.ArgoParameterOverride.serializeBinaryToWriter(this, writer);
|
|
82492
|
+
return writer.getResultBuffer();
|
|
82493
|
+
};
|
|
82494
|
+
|
|
82495
|
+
|
|
82496
|
+
/**
|
|
82497
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
82498
|
+
* format), writing to the given BinaryWriter.
|
|
82499
|
+
* @param {!proto.clarifai.api.ArgoParameterOverride} message
|
|
82500
|
+
* @param {!jspb.BinaryWriter} writer
|
|
82501
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
82502
|
+
*/
|
|
82503
|
+
proto.clarifai.api.ArgoParameterOverride.serializeBinaryToWriter = function(message, writer) {
|
|
82504
|
+
var f = undefined;
|
|
82505
|
+
f = message.getName();
|
|
82506
|
+
if (f.length > 0) {
|
|
82507
|
+
writer.writeString(
|
|
82508
|
+
1,
|
|
82509
|
+
f
|
|
82510
|
+
);
|
|
82511
|
+
}
|
|
82512
|
+
f = message.getValue();
|
|
82513
|
+
if (f.length > 0) {
|
|
82514
|
+
writer.writeString(
|
|
82515
|
+
2,
|
|
82516
|
+
f
|
|
82517
|
+
);
|
|
82518
|
+
}
|
|
82519
|
+
};
|
|
82520
|
+
|
|
82521
|
+
|
|
82522
|
+
/**
|
|
82523
|
+
* optional string name = 1;
|
|
82524
|
+
* @return {string}
|
|
82525
|
+
*/
|
|
82526
|
+
proto.clarifai.api.ArgoParameterOverride.prototype.getName = function() {
|
|
82527
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
82528
|
+
};
|
|
82529
|
+
|
|
82530
|
+
|
|
82531
|
+
/**
|
|
82532
|
+
* @param {string} value
|
|
82533
|
+
* @return {!proto.clarifai.api.ArgoParameterOverride} returns this
|
|
82534
|
+
*/
|
|
82535
|
+
proto.clarifai.api.ArgoParameterOverride.prototype.setName = function(value) {
|
|
82536
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
82537
|
+
};
|
|
82538
|
+
|
|
82539
|
+
|
|
82540
|
+
/**
|
|
82541
|
+
* optional string value = 2;
|
|
82542
|
+
* @return {string}
|
|
82543
|
+
*/
|
|
82544
|
+
proto.clarifai.api.ArgoParameterOverride.prototype.getValue = function() {
|
|
82545
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
82546
|
+
};
|
|
82547
|
+
|
|
82548
|
+
|
|
82549
|
+
/**
|
|
82550
|
+
* @param {string} value
|
|
82551
|
+
* @return {!proto.clarifai.api.ArgoParameterOverride} returns this
|
|
82552
|
+
*/
|
|
82553
|
+
proto.clarifai.api.ArgoParameterOverride.prototype.setValue = function(value) {
|
|
82554
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
82555
|
+
};
|
|
82556
|
+
|
|
82557
|
+
|
|
82558
|
+
|
|
82559
|
+
/**
|
|
82560
|
+
* List of repeated fields within this message type.
|
|
82561
|
+
* @private {!Array<number>}
|
|
82562
|
+
* @const
|
|
82563
|
+
*/
|
|
82564
|
+
proto.clarifai.api.ArgoArgsOverride.repeatedFields_ = [1];
|
|
82565
|
+
|
|
82566
|
+
|
|
82567
|
+
|
|
82568
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
82569
|
+
/**
|
|
82570
|
+
* Creates an object representation of this proto.
|
|
82571
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
82572
|
+
* Optional fields that are not set will be set to undefined.
|
|
82573
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
82574
|
+
* For the list of reserved names please see:
|
|
82575
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
82576
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
82577
|
+
* JSPB instance for transitional soy proto support:
|
|
82578
|
+
* http://goto/soy-param-migration
|
|
82579
|
+
* @return {!Object}
|
|
82580
|
+
*/
|
|
82581
|
+
proto.clarifai.api.ArgoArgsOverride.prototype.toObject = function(opt_includeInstance) {
|
|
82582
|
+
return proto.clarifai.api.ArgoArgsOverride.toObject(opt_includeInstance, this);
|
|
82583
|
+
};
|
|
82584
|
+
|
|
82585
|
+
|
|
82586
|
+
/**
|
|
82587
|
+
* Static version of the {@see toObject} method.
|
|
82588
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
82589
|
+
* the JSPB instance for transitional soy proto support:
|
|
82590
|
+
* http://goto/soy-param-migration
|
|
82591
|
+
* @param {!proto.clarifai.api.ArgoArgsOverride} msg The msg instance to transform.
|
|
82592
|
+
* @return {!Object}
|
|
82593
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
82594
|
+
*/
|
|
82595
|
+
proto.clarifai.api.ArgoArgsOverride.toObject = function(includeInstance, msg) {
|
|
82596
|
+
var f, obj = {
|
|
82597
|
+
parametersList: jspb.Message.toObjectList(msg.getParametersList(),
|
|
82598
|
+
proto.clarifai.api.ArgoParameterOverride.toObject, includeInstance)
|
|
82599
|
+
};
|
|
82600
|
+
|
|
82601
|
+
if (includeInstance) {
|
|
82602
|
+
obj.$jspbMessageInstance = msg;
|
|
82603
|
+
}
|
|
82604
|
+
return obj;
|
|
82605
|
+
};
|
|
82606
|
+
}
|
|
82607
|
+
|
|
82608
|
+
|
|
82609
|
+
/**
|
|
82610
|
+
* Deserializes binary data (in protobuf wire format).
|
|
82611
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
82612
|
+
* @return {!proto.clarifai.api.ArgoArgsOverride}
|
|
82613
|
+
*/
|
|
82614
|
+
proto.clarifai.api.ArgoArgsOverride.deserializeBinary = function(bytes) {
|
|
82615
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
82616
|
+
var msg = new proto.clarifai.api.ArgoArgsOverride;
|
|
82617
|
+
return proto.clarifai.api.ArgoArgsOverride.deserializeBinaryFromReader(msg, reader);
|
|
82618
|
+
};
|
|
82619
|
+
|
|
82620
|
+
|
|
82621
|
+
/**
|
|
82622
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
82623
|
+
* given reader into the given message object.
|
|
82624
|
+
* @param {!proto.clarifai.api.ArgoArgsOverride} msg The message object to deserialize into.
|
|
82625
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
82626
|
+
* @return {!proto.clarifai.api.ArgoArgsOverride}
|
|
82627
|
+
*/
|
|
82628
|
+
proto.clarifai.api.ArgoArgsOverride.deserializeBinaryFromReader = function(msg, reader) {
|
|
82629
|
+
while (reader.nextField()) {
|
|
82630
|
+
if (reader.isEndGroup()) {
|
|
82631
|
+
break;
|
|
82632
|
+
}
|
|
82633
|
+
var field = reader.getFieldNumber();
|
|
82634
|
+
switch (field) {
|
|
82635
|
+
case 1:
|
|
82636
|
+
var value = new proto.clarifai.api.ArgoParameterOverride;
|
|
82637
|
+
reader.readMessage(value,proto.clarifai.api.ArgoParameterOverride.deserializeBinaryFromReader);
|
|
82638
|
+
msg.addParameters(value);
|
|
82639
|
+
break;
|
|
82640
|
+
default:
|
|
82641
|
+
reader.skipField();
|
|
82642
|
+
break;
|
|
82643
|
+
}
|
|
82644
|
+
}
|
|
82645
|
+
return msg;
|
|
82646
|
+
};
|
|
82647
|
+
|
|
82648
|
+
|
|
82649
|
+
/**
|
|
82650
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
82651
|
+
* @return {!Uint8Array}
|
|
82652
|
+
*/
|
|
82653
|
+
proto.clarifai.api.ArgoArgsOverride.prototype.serializeBinary = function() {
|
|
82654
|
+
var writer = new jspb.BinaryWriter();
|
|
82655
|
+
proto.clarifai.api.ArgoArgsOverride.serializeBinaryToWriter(this, writer);
|
|
82656
|
+
return writer.getResultBuffer();
|
|
82657
|
+
};
|
|
82658
|
+
|
|
82659
|
+
|
|
82660
|
+
/**
|
|
82661
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
82662
|
+
* format), writing to the given BinaryWriter.
|
|
82663
|
+
* @param {!proto.clarifai.api.ArgoArgsOverride} message
|
|
82664
|
+
* @param {!jspb.BinaryWriter} writer
|
|
82665
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
82666
|
+
*/
|
|
82667
|
+
proto.clarifai.api.ArgoArgsOverride.serializeBinaryToWriter = function(message, writer) {
|
|
82668
|
+
var f = undefined;
|
|
82669
|
+
f = message.getParametersList();
|
|
82670
|
+
if (f.length > 0) {
|
|
82671
|
+
writer.writeRepeatedMessage(
|
|
82672
|
+
1,
|
|
82673
|
+
f,
|
|
82674
|
+
proto.clarifai.api.ArgoParameterOverride.serializeBinaryToWriter
|
|
82675
|
+
);
|
|
82676
|
+
}
|
|
82677
|
+
};
|
|
82678
|
+
|
|
82679
|
+
|
|
82680
|
+
/**
|
|
82681
|
+
* repeated ArgoParameterOverride parameters = 1;
|
|
82682
|
+
* @return {!Array<!proto.clarifai.api.ArgoParameterOverride>}
|
|
82683
|
+
*/
|
|
82684
|
+
proto.clarifai.api.ArgoArgsOverride.prototype.getParametersList = function() {
|
|
82685
|
+
return /** @type{!Array<!proto.clarifai.api.ArgoParameterOverride>} */ (
|
|
82686
|
+
jspb.Message.getRepeatedWrapperField(this, proto.clarifai.api.ArgoParameterOverride, 1));
|
|
82687
|
+
};
|
|
82688
|
+
|
|
82689
|
+
|
|
82690
|
+
/**
|
|
82691
|
+
* @param {!Array<!proto.clarifai.api.ArgoParameterOverride>} value
|
|
82692
|
+
* @return {!proto.clarifai.api.ArgoArgsOverride} returns this
|
|
82693
|
+
*/
|
|
82694
|
+
proto.clarifai.api.ArgoArgsOverride.prototype.setParametersList = function(value) {
|
|
82695
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
82696
|
+
};
|
|
82697
|
+
|
|
82698
|
+
|
|
82699
|
+
/**
|
|
82700
|
+
* @param {!proto.clarifai.api.ArgoParameterOverride=} opt_value
|
|
82701
|
+
* @param {number=} opt_index
|
|
82702
|
+
* @return {!proto.clarifai.api.ArgoParameterOverride}
|
|
82703
|
+
*/
|
|
82704
|
+
proto.clarifai.api.ArgoArgsOverride.prototype.addParameters = function(opt_value, opt_index) {
|
|
82705
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.clarifai.api.ArgoParameterOverride, opt_index);
|
|
82706
|
+
};
|
|
82707
|
+
|
|
82708
|
+
|
|
82709
|
+
/**
|
|
82710
|
+
* Clears the list making it empty but non-null.
|
|
82711
|
+
* @return {!proto.clarifai.api.ArgoArgsOverride} returns this
|
|
82712
|
+
*/
|
|
82713
|
+
proto.clarifai.api.ArgoArgsOverride.prototype.clearParametersList = function() {
|
|
82714
|
+
return this.setParametersList([]);
|
|
82715
|
+
};
|
|
82716
|
+
|
|
82717
|
+
|
|
82718
|
+
|
|
82719
|
+
/**
|
|
82720
|
+
* Oneof group definitions for this message. Each group defines the field
|
|
82721
|
+
* numbers belonging to that group. When of these fields' value is set, all
|
|
82722
|
+
* other fields in the group are cleared. During deserialization, if multiple
|
|
82723
|
+
* fields are encountered for a group, only the last value seen will be kept.
|
|
82724
|
+
* @private {!Array<!Array<number>>}
|
|
82725
|
+
* @const
|
|
82726
|
+
*/
|
|
82727
|
+
proto.clarifai.api.OrchestrationArgsOverride.oneofGroups_ = [[1]];
|
|
82728
|
+
|
|
82729
|
+
/**
|
|
82730
|
+
* @enum {number}
|
|
82731
|
+
*/
|
|
82732
|
+
proto.clarifai.api.OrchestrationArgsOverride.OverrideCase = {
|
|
82733
|
+
OVERRIDE_NOT_SET: 0,
|
|
82734
|
+
ARGO_ARGS_OVERRIDE: 1
|
|
82735
|
+
};
|
|
82736
|
+
|
|
82737
|
+
/**
|
|
82738
|
+
* @return {proto.clarifai.api.OrchestrationArgsOverride.OverrideCase}
|
|
82739
|
+
*/
|
|
82740
|
+
proto.clarifai.api.OrchestrationArgsOverride.prototype.getOverrideCase = function() {
|
|
82741
|
+
return /** @type {proto.clarifai.api.OrchestrationArgsOverride.OverrideCase} */(jspb.Message.computeOneofCase(this, proto.clarifai.api.OrchestrationArgsOverride.oneofGroups_[0]));
|
|
82742
|
+
};
|
|
82743
|
+
|
|
82744
|
+
|
|
82745
|
+
|
|
82746
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
82747
|
+
/**
|
|
82748
|
+
* Creates an object representation of this proto.
|
|
82749
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
82750
|
+
* Optional fields that are not set will be set to undefined.
|
|
82751
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
82752
|
+
* For the list of reserved names please see:
|
|
82753
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
82754
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
82755
|
+
* JSPB instance for transitional soy proto support:
|
|
82756
|
+
* http://goto/soy-param-migration
|
|
82757
|
+
* @return {!Object}
|
|
82758
|
+
*/
|
|
82759
|
+
proto.clarifai.api.OrchestrationArgsOverride.prototype.toObject = function(opt_includeInstance) {
|
|
82760
|
+
return proto.clarifai.api.OrchestrationArgsOverride.toObject(opt_includeInstance, this);
|
|
82761
|
+
};
|
|
82762
|
+
|
|
82763
|
+
|
|
82764
|
+
/**
|
|
82765
|
+
* Static version of the {@see toObject} method.
|
|
82766
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
82767
|
+
* the JSPB instance for transitional soy proto support:
|
|
82768
|
+
* http://goto/soy-param-migration
|
|
82769
|
+
* @param {!proto.clarifai.api.OrchestrationArgsOverride} msg The msg instance to transform.
|
|
82770
|
+
* @return {!Object}
|
|
82771
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
82772
|
+
*/
|
|
82773
|
+
proto.clarifai.api.OrchestrationArgsOverride.toObject = function(includeInstance, msg) {
|
|
82774
|
+
var f, obj = {
|
|
82775
|
+
argoArgsOverride: (f = msg.getArgoArgsOverride()) && proto.clarifai.api.ArgoArgsOverride.toObject(includeInstance, f)
|
|
82776
|
+
};
|
|
82777
|
+
|
|
82778
|
+
if (includeInstance) {
|
|
82779
|
+
obj.$jspbMessageInstance = msg;
|
|
82780
|
+
}
|
|
82781
|
+
return obj;
|
|
82782
|
+
};
|
|
82783
|
+
}
|
|
82784
|
+
|
|
82785
|
+
|
|
82786
|
+
/**
|
|
82787
|
+
* Deserializes binary data (in protobuf wire format).
|
|
82788
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
82789
|
+
* @return {!proto.clarifai.api.OrchestrationArgsOverride}
|
|
82790
|
+
*/
|
|
82791
|
+
proto.clarifai.api.OrchestrationArgsOverride.deserializeBinary = function(bytes) {
|
|
82792
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
82793
|
+
var msg = new proto.clarifai.api.OrchestrationArgsOverride;
|
|
82794
|
+
return proto.clarifai.api.OrchestrationArgsOverride.deserializeBinaryFromReader(msg, reader);
|
|
82795
|
+
};
|
|
82796
|
+
|
|
82797
|
+
|
|
82798
|
+
/**
|
|
82799
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
82800
|
+
* given reader into the given message object.
|
|
82801
|
+
* @param {!proto.clarifai.api.OrchestrationArgsOverride} msg The message object to deserialize into.
|
|
82802
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
82803
|
+
* @return {!proto.clarifai.api.OrchestrationArgsOverride}
|
|
82804
|
+
*/
|
|
82805
|
+
proto.clarifai.api.OrchestrationArgsOverride.deserializeBinaryFromReader = function(msg, reader) {
|
|
82806
|
+
while (reader.nextField()) {
|
|
82807
|
+
if (reader.isEndGroup()) {
|
|
82808
|
+
break;
|
|
82809
|
+
}
|
|
82810
|
+
var field = reader.getFieldNumber();
|
|
82811
|
+
switch (field) {
|
|
82812
|
+
case 1:
|
|
82813
|
+
var value = new proto.clarifai.api.ArgoArgsOverride;
|
|
82814
|
+
reader.readMessage(value,proto.clarifai.api.ArgoArgsOverride.deserializeBinaryFromReader);
|
|
82815
|
+
msg.setArgoArgsOverride(value);
|
|
82816
|
+
break;
|
|
82817
|
+
default:
|
|
82818
|
+
reader.skipField();
|
|
82819
|
+
break;
|
|
82820
|
+
}
|
|
82821
|
+
}
|
|
82822
|
+
return msg;
|
|
82823
|
+
};
|
|
82824
|
+
|
|
82825
|
+
|
|
82826
|
+
/**
|
|
82827
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
82828
|
+
* @return {!Uint8Array}
|
|
82829
|
+
*/
|
|
82830
|
+
proto.clarifai.api.OrchestrationArgsOverride.prototype.serializeBinary = function() {
|
|
82831
|
+
var writer = new jspb.BinaryWriter();
|
|
82832
|
+
proto.clarifai.api.OrchestrationArgsOverride.serializeBinaryToWriter(this, writer);
|
|
82833
|
+
return writer.getResultBuffer();
|
|
82834
|
+
};
|
|
82835
|
+
|
|
82836
|
+
|
|
82837
|
+
/**
|
|
82838
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
82839
|
+
* format), writing to the given BinaryWriter.
|
|
82840
|
+
* @param {!proto.clarifai.api.OrchestrationArgsOverride} message
|
|
82841
|
+
* @param {!jspb.BinaryWriter} writer
|
|
82842
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
82843
|
+
*/
|
|
82844
|
+
proto.clarifai.api.OrchestrationArgsOverride.serializeBinaryToWriter = function(message, writer) {
|
|
82845
|
+
var f = undefined;
|
|
82846
|
+
f = message.getArgoArgsOverride();
|
|
82847
|
+
if (f != null) {
|
|
82848
|
+
writer.writeMessage(
|
|
82849
|
+
1,
|
|
82850
|
+
f,
|
|
82851
|
+
proto.clarifai.api.ArgoArgsOverride.serializeBinaryToWriter
|
|
82852
|
+
);
|
|
82853
|
+
}
|
|
82854
|
+
};
|
|
82855
|
+
|
|
82856
|
+
|
|
82857
|
+
/**
|
|
82858
|
+
* optional ArgoArgsOverride argo_args_override = 1;
|
|
82859
|
+
* @return {?proto.clarifai.api.ArgoArgsOverride}
|
|
82860
|
+
*/
|
|
82861
|
+
proto.clarifai.api.OrchestrationArgsOverride.prototype.getArgoArgsOverride = function() {
|
|
82862
|
+
return /** @type{?proto.clarifai.api.ArgoArgsOverride} */ (
|
|
82863
|
+
jspb.Message.getWrapperField(this, proto.clarifai.api.ArgoArgsOverride, 1));
|
|
82864
|
+
};
|
|
82865
|
+
|
|
82866
|
+
|
|
82867
|
+
/**
|
|
82868
|
+
* @param {?proto.clarifai.api.ArgoArgsOverride|undefined} value
|
|
82869
|
+
* @return {!proto.clarifai.api.OrchestrationArgsOverride} returns this
|
|
82870
|
+
*/
|
|
82871
|
+
proto.clarifai.api.OrchestrationArgsOverride.prototype.setArgoArgsOverride = function(value) {
|
|
82872
|
+
return jspb.Message.setOneofWrapperField(this, 1, proto.clarifai.api.OrchestrationArgsOverride.oneofGroups_[0], value);
|
|
82873
|
+
};
|
|
82874
|
+
|
|
82875
|
+
|
|
82876
|
+
/**
|
|
82877
|
+
* Clears the message field making it undefined.
|
|
82878
|
+
* @return {!proto.clarifai.api.OrchestrationArgsOverride} returns this
|
|
82879
|
+
*/
|
|
82880
|
+
proto.clarifai.api.OrchestrationArgsOverride.prototype.clearArgoArgsOverride = function() {
|
|
82881
|
+
return this.setArgoArgsOverride(undefined);
|
|
82882
|
+
};
|
|
82883
|
+
|
|
82884
|
+
|
|
82885
|
+
/**
|
|
82886
|
+
* Returns whether this field is set.
|
|
82887
|
+
* @return {boolean}
|
|
82888
|
+
*/
|
|
82889
|
+
proto.clarifai.api.OrchestrationArgsOverride.prototype.hasArgoArgsOverride = function() {
|
|
82890
|
+
return jspb.Message.getField(this, 1) != null;
|
|
82891
|
+
};
|
|
82892
|
+
|
|
82893
|
+
|
|
82894
|
+
|
|
82895
|
+
|
|
82896
|
+
|
|
82334
82897
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
82335
82898
|
/**
|
|
82336
82899
|
* Creates an object representation of this proto.
|
|
@@ -86061,7 +86624,9 @@ proto.clarifai.api.PipelineVersionRun.toObject = function(includeInstance, msg)
|
|
|
86061
86624
|
userId: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
86062
86625
|
appId: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
86063
86626
|
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
86064
|
-
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
|
|
86627
|
+
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
86628
|
+
inputArgsOverride: (f = msg.getInputArgsOverride()) && proto.clarifai.api.OrchestrationArgsOverride.toObject(includeInstance, f),
|
|
86629
|
+
orchestrationSpec: (f = msg.getOrchestrationSpec()) && proto.clarifai.api.OrchestrationSpec.toObject(includeInstance, f)
|
|
86065
86630
|
};
|
|
86066
86631
|
|
|
86067
86632
|
if (includeInstance) {
|
|
@@ -86135,6 +86700,16 @@ proto.clarifai.api.PipelineVersionRun.deserializeBinaryFromReader = function(msg
|
|
|
86135
86700
|
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
86136
86701
|
msg.setModifiedAt(value);
|
|
86137
86702
|
break;
|
|
86703
|
+
case 9:
|
|
86704
|
+
var value = new proto.clarifai.api.OrchestrationArgsOverride;
|
|
86705
|
+
reader.readMessage(value,proto.clarifai.api.OrchestrationArgsOverride.deserializeBinaryFromReader);
|
|
86706
|
+
msg.setInputArgsOverride(value);
|
|
86707
|
+
break;
|
|
86708
|
+
case 10:
|
|
86709
|
+
var value = new proto.clarifai.api.OrchestrationSpec;
|
|
86710
|
+
reader.readMessage(value,proto.clarifai.api.OrchestrationSpec.deserializeBinaryFromReader);
|
|
86711
|
+
msg.setOrchestrationSpec(value);
|
|
86712
|
+
break;
|
|
86138
86713
|
default:
|
|
86139
86714
|
reader.skipField();
|
|
86140
86715
|
break;
|
|
@@ -86225,6 +86800,22 @@ proto.clarifai.api.PipelineVersionRun.serializeBinaryToWriter = function(message
|
|
|
86225
86800
|
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
86226
86801
|
);
|
|
86227
86802
|
}
|
|
86803
|
+
f = message.getInputArgsOverride();
|
|
86804
|
+
if (f != null) {
|
|
86805
|
+
writer.writeMessage(
|
|
86806
|
+
9,
|
|
86807
|
+
f,
|
|
86808
|
+
proto.clarifai.api.OrchestrationArgsOverride.serializeBinaryToWriter
|
|
86809
|
+
);
|
|
86810
|
+
}
|
|
86811
|
+
f = message.getOrchestrationSpec();
|
|
86812
|
+
if (f != null) {
|
|
86813
|
+
writer.writeMessage(
|
|
86814
|
+
10,
|
|
86815
|
+
f,
|
|
86816
|
+
proto.clarifai.api.OrchestrationSpec.serializeBinaryToWriter
|
|
86817
|
+
);
|
|
86818
|
+
}
|
|
86228
86819
|
};
|
|
86229
86820
|
|
|
86230
86821
|
|
|
@@ -86468,6 +87059,80 @@ proto.clarifai.api.PipelineVersionRun.prototype.hasModifiedAt = function() {
|
|
|
86468
87059
|
};
|
|
86469
87060
|
|
|
86470
87061
|
|
|
87062
|
+
/**
|
|
87063
|
+
* optional OrchestrationArgsOverride input_args_override = 9;
|
|
87064
|
+
* @return {?proto.clarifai.api.OrchestrationArgsOverride}
|
|
87065
|
+
*/
|
|
87066
|
+
proto.clarifai.api.PipelineVersionRun.prototype.getInputArgsOverride = function() {
|
|
87067
|
+
return /** @type{?proto.clarifai.api.OrchestrationArgsOverride} */ (
|
|
87068
|
+
jspb.Message.getWrapperField(this, proto.clarifai.api.OrchestrationArgsOverride, 9));
|
|
87069
|
+
};
|
|
87070
|
+
|
|
87071
|
+
|
|
87072
|
+
/**
|
|
87073
|
+
* @param {?proto.clarifai.api.OrchestrationArgsOverride|undefined} value
|
|
87074
|
+
* @return {!proto.clarifai.api.PipelineVersionRun} returns this
|
|
87075
|
+
*/
|
|
87076
|
+
proto.clarifai.api.PipelineVersionRun.prototype.setInputArgsOverride = function(value) {
|
|
87077
|
+
return jspb.Message.setWrapperField(this, 9, value);
|
|
87078
|
+
};
|
|
87079
|
+
|
|
87080
|
+
|
|
87081
|
+
/**
|
|
87082
|
+
* Clears the message field making it undefined.
|
|
87083
|
+
* @return {!proto.clarifai.api.PipelineVersionRun} returns this
|
|
87084
|
+
*/
|
|
87085
|
+
proto.clarifai.api.PipelineVersionRun.prototype.clearInputArgsOverride = function() {
|
|
87086
|
+
return this.setInputArgsOverride(undefined);
|
|
87087
|
+
};
|
|
87088
|
+
|
|
87089
|
+
|
|
87090
|
+
/**
|
|
87091
|
+
* Returns whether this field is set.
|
|
87092
|
+
* @return {boolean}
|
|
87093
|
+
*/
|
|
87094
|
+
proto.clarifai.api.PipelineVersionRun.prototype.hasInputArgsOverride = function() {
|
|
87095
|
+
return jspb.Message.getField(this, 9) != null;
|
|
87096
|
+
};
|
|
87097
|
+
|
|
87098
|
+
|
|
87099
|
+
/**
|
|
87100
|
+
* optional OrchestrationSpec orchestration_spec = 10;
|
|
87101
|
+
* @return {?proto.clarifai.api.OrchestrationSpec}
|
|
87102
|
+
*/
|
|
87103
|
+
proto.clarifai.api.PipelineVersionRun.prototype.getOrchestrationSpec = function() {
|
|
87104
|
+
return /** @type{?proto.clarifai.api.OrchestrationSpec} */ (
|
|
87105
|
+
jspb.Message.getWrapperField(this, proto.clarifai.api.OrchestrationSpec, 10));
|
|
87106
|
+
};
|
|
87107
|
+
|
|
87108
|
+
|
|
87109
|
+
/**
|
|
87110
|
+
* @param {?proto.clarifai.api.OrchestrationSpec|undefined} value
|
|
87111
|
+
* @return {!proto.clarifai.api.PipelineVersionRun} returns this
|
|
87112
|
+
*/
|
|
87113
|
+
proto.clarifai.api.PipelineVersionRun.prototype.setOrchestrationSpec = function(value) {
|
|
87114
|
+
return jspb.Message.setWrapperField(this, 10, value);
|
|
87115
|
+
};
|
|
87116
|
+
|
|
87117
|
+
|
|
87118
|
+
/**
|
|
87119
|
+
* Clears the message field making it undefined.
|
|
87120
|
+
* @return {!proto.clarifai.api.PipelineVersionRun} returns this
|
|
87121
|
+
*/
|
|
87122
|
+
proto.clarifai.api.PipelineVersionRun.prototype.clearOrchestrationSpec = function() {
|
|
87123
|
+
return this.setOrchestrationSpec(undefined);
|
|
87124
|
+
};
|
|
87125
|
+
|
|
87126
|
+
|
|
87127
|
+
/**
|
|
87128
|
+
* Returns whether this field is set.
|
|
87129
|
+
* @return {boolean}
|
|
87130
|
+
*/
|
|
87131
|
+
proto.clarifai.api.PipelineVersionRun.prototype.hasOrchestrationSpec = function() {
|
|
87132
|
+
return jspb.Message.getField(this, 10) != null;
|
|
87133
|
+
};
|
|
87134
|
+
|
|
87135
|
+
|
|
86471
87136
|
|
|
86472
87137
|
|
|
86473
87138
|
|