clarifai-web-grpc 11.9.10 → 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.
- package/VERSION +1 -1
- package/dist/cjs/proto/clarifai/api/resources_pb.js +874 -21
- package/dist/cjs/proto/clarifai/auth/scope/scope_pb.js +4 -1
- package/dist/esm/proto/clarifai/api/resources_pb.js +874 -21
- package/dist/esm/proto/clarifai/auth/scope/scope_pb.js +4 -1
- package/package.json +1 -1
- package/proto/clarifai/api/resources_pb.d.ts +128 -5
- package/proto/clarifai/api/resources_pb.js +1054 -22
- package/proto/clarifai/auth/scope/scope_pb.d.ts +3 -0
- package/proto/clarifai/auth/scope/scope_pb.js +4 -1
|
@@ -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);
|
|
@@ -263,6 +267,7 @@ goog.exportSymbol('proto.clarifai.api.PipelineStep', null, global);
|
|
|
263
267
|
goog.exportSymbol('proto.clarifai.api.PipelineStepInputParam', null, global);
|
|
264
268
|
goog.exportSymbol('proto.clarifai.api.PipelineStepVersion', null, global);
|
|
265
269
|
goog.exportSymbol('proto.clarifai.api.PipelineVersion', null, global);
|
|
270
|
+
goog.exportSymbol('proto.clarifai.api.PipelineVersionConfig', null, global);
|
|
266
271
|
goog.exportSymbol('proto.clarifai.api.PipelineVersionRun', null, global);
|
|
267
272
|
goog.exportSymbol('proto.clarifai.api.Point', null, global);
|
|
268
273
|
goog.exportSymbol('proto.clarifai.api.Point.Visibility', null, global);
|
|
@@ -297,6 +302,7 @@ goog.exportSymbol('proto.clarifai.api.StatValueAggType', null, global);
|
|
|
297
302
|
goog.exportSymbol('proto.clarifai.api.StatValueAggregate', null, global);
|
|
298
303
|
goog.exportSymbol('proto.clarifai.api.StatValueAggregateQuery', null, global);
|
|
299
304
|
goog.exportSymbol('proto.clarifai.api.StatValueAggregateResult', null, global);
|
|
305
|
+
goog.exportSymbol('proto.clarifai.api.StepSecretConfig', null, global);
|
|
300
306
|
goog.exportSymbol('proto.clarifai.api.Task', null, global);
|
|
301
307
|
goog.exportSymbol('proto.clarifai.api.Task.TaskPriority', null, global);
|
|
302
308
|
goog.exportSymbol('proto.clarifai.api.Task.TaskType', null, global);
|
|
@@ -5385,6 +5391,69 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
5385
5391
|
*/
|
|
5386
5392
|
proto.clarifai.api.WorkflowVersionEvaluationData.displayName = 'proto.clarifai.api.WorkflowVersionEvaluationData';
|
|
5387
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
|
+
}
|
|
5388
5457
|
/**
|
|
5389
5458
|
* Generated by JsPbCodeGenerator.
|
|
5390
5459
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -5553,6 +5622,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
5553
5622
|
*/
|
|
5554
5623
|
proto.clarifai.api.Pipeline.displayName = 'proto.clarifai.api.Pipeline';
|
|
5555
5624
|
}
|
|
5625
|
+
/**
|
|
5626
|
+
* Generated by JsPbCodeGenerator.
|
|
5627
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
5628
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
5629
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
5630
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
5631
|
+
* valid.
|
|
5632
|
+
* @extends {jspb.Message}
|
|
5633
|
+
* @constructor
|
|
5634
|
+
*/
|
|
5635
|
+
proto.clarifai.api.PipelineVersionConfig = function(opt_data) {
|
|
5636
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
5637
|
+
};
|
|
5638
|
+
goog.inherits(proto.clarifai.api.PipelineVersionConfig, jspb.Message);
|
|
5639
|
+
if (goog.DEBUG && !COMPILED) {
|
|
5640
|
+
/**
|
|
5641
|
+
* @public
|
|
5642
|
+
* @override
|
|
5643
|
+
*/
|
|
5644
|
+
proto.clarifai.api.PipelineVersionConfig.displayName = 'proto.clarifai.api.PipelineVersionConfig';
|
|
5645
|
+
}
|
|
5646
|
+
/**
|
|
5647
|
+
* Generated by JsPbCodeGenerator.
|
|
5648
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
5649
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
5650
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
5651
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
5652
|
+
* valid.
|
|
5653
|
+
* @extends {jspb.Message}
|
|
5654
|
+
* @constructor
|
|
5655
|
+
*/
|
|
5656
|
+
proto.clarifai.api.StepSecretConfig = function(opt_data) {
|
|
5657
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
5658
|
+
};
|
|
5659
|
+
goog.inherits(proto.clarifai.api.StepSecretConfig, jspb.Message);
|
|
5660
|
+
if (goog.DEBUG && !COMPILED) {
|
|
5661
|
+
/**
|
|
5662
|
+
* @public
|
|
5663
|
+
* @override
|
|
5664
|
+
*/
|
|
5665
|
+
proto.clarifai.api.StepSecretConfig.displayName = 'proto.clarifai.api.StepSecretConfig';
|
|
5666
|
+
}
|
|
5556
5667
|
/**
|
|
5557
5668
|
* Generated by JsPbCodeGenerator.
|
|
5558
5669
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -20875,7 +20986,8 @@ proto.clarifai.api.InputSettings.toObject = function(includeInstance, msg) {
|
|
|
20875
20986
|
worker: (f = msg.getWorker()) && proto.clarifai.api.Worker.toObject(includeInstance, f),
|
|
20876
20987
|
sampleRateMs: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
20877
20988
|
sampleRateFrame: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
20878
|
-
|
|
20989
|
+
pinnedConceptsList: jspb.Message.toObjectList(msg.getPinnedConceptsList(),
|
|
20990
|
+
proto.clarifai.api.Concept.toObject, includeInstance)
|
|
20879
20991
|
};
|
|
20880
20992
|
|
|
20881
20993
|
if (includeInstance) {
|
|
@@ -20926,8 +21038,9 @@ proto.clarifai.api.InputSettings.deserializeBinaryFromReader = function(msg, rea
|
|
|
20926
21038
|
msg.setSampleRateFrame(value);
|
|
20927
21039
|
break;
|
|
20928
21040
|
case 4:
|
|
20929
|
-
var value =
|
|
20930
|
-
|
|
21041
|
+
var value = new proto.clarifai.api.Concept;
|
|
21042
|
+
reader.readMessage(value,proto.clarifai.api.Concept.deserializeBinaryFromReader);
|
|
21043
|
+
msg.addPinnedConcepts(value);
|
|
20931
21044
|
break;
|
|
20932
21045
|
default:
|
|
20933
21046
|
reader.skipField();
|
|
@@ -20980,11 +21093,12 @@ proto.clarifai.api.InputSettings.serializeBinaryToWriter = function(message, wri
|
|
|
20980
21093
|
f
|
|
20981
21094
|
);
|
|
20982
21095
|
}
|
|
20983
|
-
f = message.
|
|
21096
|
+
f = message.getPinnedConceptsList();
|
|
20984
21097
|
if (f.length > 0) {
|
|
20985
|
-
writer.
|
|
21098
|
+
writer.writeRepeatedMessage(
|
|
20986
21099
|
4,
|
|
20987
|
-
f
|
|
21100
|
+
f,
|
|
21101
|
+
proto.clarifai.api.Concept.serializeBinaryToWriter
|
|
20988
21102
|
);
|
|
20989
21103
|
}
|
|
20990
21104
|
};
|
|
@@ -21064,30 +21178,31 @@ proto.clarifai.api.InputSettings.prototype.setSampleRateFrame = function(value)
|
|
|
21064
21178
|
|
|
21065
21179
|
|
|
21066
21180
|
/**
|
|
21067
|
-
* repeated
|
|
21068
|
-
* @return {!Array
|
|
21181
|
+
* repeated Concept pinned_concepts = 4;
|
|
21182
|
+
* @return {!Array<!proto.clarifai.api.Concept>}
|
|
21069
21183
|
*/
|
|
21070
|
-
proto.clarifai.api.InputSettings.prototype.
|
|
21071
|
-
return /** @type
|
|
21184
|
+
proto.clarifai.api.InputSettings.prototype.getPinnedConceptsList = function() {
|
|
21185
|
+
return /** @type{!Array<!proto.clarifai.api.Concept>} */ (
|
|
21186
|
+
jspb.Message.getRepeatedWrapperField(this, proto.clarifai.api.Concept, 4));
|
|
21072
21187
|
};
|
|
21073
21188
|
|
|
21074
21189
|
|
|
21075
21190
|
/**
|
|
21076
|
-
* @param {!Array
|
|
21191
|
+
* @param {!Array<!proto.clarifai.api.Concept>} value
|
|
21077
21192
|
* @return {!proto.clarifai.api.InputSettings} returns this
|
|
21078
|
-
|
|
21079
|
-
proto.clarifai.api.InputSettings.prototype.
|
|
21080
|
-
return jspb.Message.
|
|
21193
|
+
*/
|
|
21194
|
+
proto.clarifai.api.InputSettings.prototype.setPinnedConceptsList = function(value) {
|
|
21195
|
+
return jspb.Message.setRepeatedWrapperField(this, 4, value);
|
|
21081
21196
|
};
|
|
21082
21197
|
|
|
21083
21198
|
|
|
21084
21199
|
/**
|
|
21085
|
-
* @param {
|
|
21200
|
+
* @param {!proto.clarifai.api.Concept=} opt_value
|
|
21086
21201
|
* @param {number=} opt_index
|
|
21087
|
-
* @return {!proto.clarifai.api.
|
|
21202
|
+
* @return {!proto.clarifai.api.Concept}
|
|
21088
21203
|
*/
|
|
21089
|
-
proto.clarifai.api.InputSettings.prototype.
|
|
21090
|
-
return jspb.Message.
|
|
21204
|
+
proto.clarifai.api.InputSettings.prototype.addPinnedConcepts = function(opt_value, opt_index) {
|
|
21205
|
+
return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.clarifai.api.Concept, opt_index);
|
|
21091
21206
|
};
|
|
21092
21207
|
|
|
21093
21208
|
|
|
@@ -21095,8 +21210,8 @@ proto.clarifai.api.InputSettings.prototype.addPinnedConceptIds = function(value,
|
|
|
21095
21210
|
* Clears the list making it empty but non-null.
|
|
21096
21211
|
* @return {!proto.clarifai.api.InputSettings} returns this
|
|
21097
21212
|
*/
|
|
21098
|
-
proto.clarifai.api.InputSettings.prototype.
|
|
21099
|
-
return this.
|
|
21213
|
+
proto.clarifai.api.InputSettings.prototype.clearPinnedConceptsList = function() {
|
|
21214
|
+
return this.setPinnedConceptsList([]);
|
|
21100
21215
|
};
|
|
21101
21216
|
|
|
21102
21217
|
|
|
@@ -82283,6 +82398,502 @@ proto.clarifai.api.WorkflowVersionEvaluationData.prototype.hasWorkflowEvaluation
|
|
|
82283
82398
|
|
|
82284
82399
|
|
|
82285
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
|
+
|
|
82286
82897
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
82287
82898
|
/**
|
|
82288
82899
|
* Creates an object representation of this proto.
|
|
@@ -84788,6 +85399,274 @@ proto.clarifai.api.Pipeline.prototype.hasModifiedAt = function() {
|
|
|
84788
85399
|
|
|
84789
85400
|
|
|
84790
85401
|
|
|
85402
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
85403
|
+
/**
|
|
85404
|
+
* Creates an object representation of this proto.
|
|
85405
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
85406
|
+
* Optional fields that are not set will be set to undefined.
|
|
85407
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
85408
|
+
* For the list of reserved names please see:
|
|
85409
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
85410
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
85411
|
+
* JSPB instance for transitional soy proto support:
|
|
85412
|
+
* http://goto/soy-param-migration
|
|
85413
|
+
* @return {!Object}
|
|
85414
|
+
*/
|
|
85415
|
+
proto.clarifai.api.PipelineVersionConfig.prototype.toObject = function(opt_includeInstance) {
|
|
85416
|
+
return proto.clarifai.api.PipelineVersionConfig.toObject(opt_includeInstance, this);
|
|
85417
|
+
};
|
|
85418
|
+
|
|
85419
|
+
|
|
85420
|
+
/**
|
|
85421
|
+
* Static version of the {@see toObject} method.
|
|
85422
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
85423
|
+
* the JSPB instance for transitional soy proto support:
|
|
85424
|
+
* http://goto/soy-param-migration
|
|
85425
|
+
* @param {!proto.clarifai.api.PipelineVersionConfig} msg The msg instance to transform.
|
|
85426
|
+
* @return {!Object}
|
|
85427
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
85428
|
+
*/
|
|
85429
|
+
proto.clarifai.api.PipelineVersionConfig.toObject = function(includeInstance, msg) {
|
|
85430
|
+
var f, obj = {
|
|
85431
|
+
stepVersionSecretsMap: (f = msg.getStepVersionSecretsMap()) ? f.toObject(includeInstance, proto.clarifai.api.StepSecretConfig.toObject) : []
|
|
85432
|
+
};
|
|
85433
|
+
|
|
85434
|
+
if (includeInstance) {
|
|
85435
|
+
obj.$jspbMessageInstance = msg;
|
|
85436
|
+
}
|
|
85437
|
+
return obj;
|
|
85438
|
+
};
|
|
85439
|
+
}
|
|
85440
|
+
|
|
85441
|
+
|
|
85442
|
+
/**
|
|
85443
|
+
* Deserializes binary data (in protobuf wire format).
|
|
85444
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
85445
|
+
* @return {!proto.clarifai.api.PipelineVersionConfig}
|
|
85446
|
+
*/
|
|
85447
|
+
proto.clarifai.api.PipelineVersionConfig.deserializeBinary = function(bytes) {
|
|
85448
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
85449
|
+
var msg = new proto.clarifai.api.PipelineVersionConfig;
|
|
85450
|
+
return proto.clarifai.api.PipelineVersionConfig.deserializeBinaryFromReader(msg, reader);
|
|
85451
|
+
};
|
|
85452
|
+
|
|
85453
|
+
|
|
85454
|
+
/**
|
|
85455
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
85456
|
+
* given reader into the given message object.
|
|
85457
|
+
* @param {!proto.clarifai.api.PipelineVersionConfig} msg The message object to deserialize into.
|
|
85458
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
85459
|
+
* @return {!proto.clarifai.api.PipelineVersionConfig}
|
|
85460
|
+
*/
|
|
85461
|
+
proto.clarifai.api.PipelineVersionConfig.deserializeBinaryFromReader = function(msg, reader) {
|
|
85462
|
+
while (reader.nextField()) {
|
|
85463
|
+
if (reader.isEndGroup()) {
|
|
85464
|
+
break;
|
|
85465
|
+
}
|
|
85466
|
+
var field = reader.getFieldNumber();
|
|
85467
|
+
switch (field) {
|
|
85468
|
+
case 1:
|
|
85469
|
+
var value = msg.getStepVersionSecretsMap();
|
|
85470
|
+
reader.readMessage(value, function(message, reader) {
|
|
85471
|
+
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.clarifai.api.StepSecretConfig.deserializeBinaryFromReader, "", new proto.clarifai.api.StepSecretConfig());
|
|
85472
|
+
});
|
|
85473
|
+
break;
|
|
85474
|
+
default:
|
|
85475
|
+
reader.skipField();
|
|
85476
|
+
break;
|
|
85477
|
+
}
|
|
85478
|
+
}
|
|
85479
|
+
return msg;
|
|
85480
|
+
};
|
|
85481
|
+
|
|
85482
|
+
|
|
85483
|
+
/**
|
|
85484
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
85485
|
+
* @return {!Uint8Array}
|
|
85486
|
+
*/
|
|
85487
|
+
proto.clarifai.api.PipelineVersionConfig.prototype.serializeBinary = function() {
|
|
85488
|
+
var writer = new jspb.BinaryWriter();
|
|
85489
|
+
proto.clarifai.api.PipelineVersionConfig.serializeBinaryToWriter(this, writer);
|
|
85490
|
+
return writer.getResultBuffer();
|
|
85491
|
+
};
|
|
85492
|
+
|
|
85493
|
+
|
|
85494
|
+
/**
|
|
85495
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
85496
|
+
* format), writing to the given BinaryWriter.
|
|
85497
|
+
* @param {!proto.clarifai.api.PipelineVersionConfig} message
|
|
85498
|
+
* @param {!jspb.BinaryWriter} writer
|
|
85499
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
85500
|
+
*/
|
|
85501
|
+
proto.clarifai.api.PipelineVersionConfig.serializeBinaryToWriter = function(message, writer) {
|
|
85502
|
+
var f = undefined;
|
|
85503
|
+
f = message.getStepVersionSecretsMap(true);
|
|
85504
|
+
if (f && f.getLength() > 0) {
|
|
85505
|
+
f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.clarifai.api.StepSecretConfig.serializeBinaryToWriter);
|
|
85506
|
+
}
|
|
85507
|
+
};
|
|
85508
|
+
|
|
85509
|
+
|
|
85510
|
+
/**
|
|
85511
|
+
* map<string, StepSecretConfig> step_version_secrets = 1;
|
|
85512
|
+
* @param {boolean=} opt_noLazyCreate Do not create the map if
|
|
85513
|
+
* empty, instead returning `undefined`
|
|
85514
|
+
* @return {!jspb.Map<string,!proto.clarifai.api.StepSecretConfig>}
|
|
85515
|
+
*/
|
|
85516
|
+
proto.clarifai.api.PipelineVersionConfig.prototype.getStepVersionSecretsMap = function(opt_noLazyCreate) {
|
|
85517
|
+
return /** @type {!jspb.Map<string,!proto.clarifai.api.StepSecretConfig>} */ (
|
|
85518
|
+
jspb.Message.getMapField(this, 1, opt_noLazyCreate,
|
|
85519
|
+
proto.clarifai.api.StepSecretConfig));
|
|
85520
|
+
};
|
|
85521
|
+
|
|
85522
|
+
|
|
85523
|
+
/**
|
|
85524
|
+
* Clears values from the map. The map will be non-null.
|
|
85525
|
+
* @return {!proto.clarifai.api.PipelineVersionConfig} returns this
|
|
85526
|
+
*/
|
|
85527
|
+
proto.clarifai.api.PipelineVersionConfig.prototype.clearStepVersionSecretsMap = function() {
|
|
85528
|
+
this.getStepVersionSecretsMap().clear();
|
|
85529
|
+
return this;
|
|
85530
|
+
};
|
|
85531
|
+
|
|
85532
|
+
|
|
85533
|
+
|
|
85534
|
+
|
|
85535
|
+
|
|
85536
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
85537
|
+
/**
|
|
85538
|
+
* Creates an object representation of this proto.
|
|
85539
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
85540
|
+
* Optional fields that are not set will be set to undefined.
|
|
85541
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
85542
|
+
* For the list of reserved names please see:
|
|
85543
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
85544
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
85545
|
+
* JSPB instance for transitional soy proto support:
|
|
85546
|
+
* http://goto/soy-param-migration
|
|
85547
|
+
* @return {!Object}
|
|
85548
|
+
*/
|
|
85549
|
+
proto.clarifai.api.StepSecretConfig.prototype.toObject = function(opt_includeInstance) {
|
|
85550
|
+
return proto.clarifai.api.StepSecretConfig.toObject(opt_includeInstance, this);
|
|
85551
|
+
};
|
|
85552
|
+
|
|
85553
|
+
|
|
85554
|
+
/**
|
|
85555
|
+
* Static version of the {@see toObject} method.
|
|
85556
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
85557
|
+
* the JSPB instance for transitional soy proto support:
|
|
85558
|
+
* http://goto/soy-param-migration
|
|
85559
|
+
* @param {!proto.clarifai.api.StepSecretConfig} msg The msg instance to transform.
|
|
85560
|
+
* @return {!Object}
|
|
85561
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
85562
|
+
*/
|
|
85563
|
+
proto.clarifai.api.StepSecretConfig.toObject = function(includeInstance, msg) {
|
|
85564
|
+
var f, obj = {
|
|
85565
|
+
secretsMap: (f = msg.getSecretsMap()) ? f.toObject(includeInstance, undefined) : []
|
|
85566
|
+
};
|
|
85567
|
+
|
|
85568
|
+
if (includeInstance) {
|
|
85569
|
+
obj.$jspbMessageInstance = msg;
|
|
85570
|
+
}
|
|
85571
|
+
return obj;
|
|
85572
|
+
};
|
|
85573
|
+
}
|
|
85574
|
+
|
|
85575
|
+
|
|
85576
|
+
/**
|
|
85577
|
+
* Deserializes binary data (in protobuf wire format).
|
|
85578
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
85579
|
+
* @return {!proto.clarifai.api.StepSecretConfig}
|
|
85580
|
+
*/
|
|
85581
|
+
proto.clarifai.api.StepSecretConfig.deserializeBinary = function(bytes) {
|
|
85582
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
85583
|
+
var msg = new proto.clarifai.api.StepSecretConfig;
|
|
85584
|
+
return proto.clarifai.api.StepSecretConfig.deserializeBinaryFromReader(msg, reader);
|
|
85585
|
+
};
|
|
85586
|
+
|
|
85587
|
+
|
|
85588
|
+
/**
|
|
85589
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
85590
|
+
* given reader into the given message object.
|
|
85591
|
+
* @param {!proto.clarifai.api.StepSecretConfig} msg The message object to deserialize into.
|
|
85592
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
85593
|
+
* @return {!proto.clarifai.api.StepSecretConfig}
|
|
85594
|
+
*/
|
|
85595
|
+
proto.clarifai.api.StepSecretConfig.deserializeBinaryFromReader = function(msg, reader) {
|
|
85596
|
+
while (reader.nextField()) {
|
|
85597
|
+
if (reader.isEndGroup()) {
|
|
85598
|
+
break;
|
|
85599
|
+
}
|
|
85600
|
+
var field = reader.getFieldNumber();
|
|
85601
|
+
switch (field) {
|
|
85602
|
+
case 1:
|
|
85603
|
+
var value = msg.getSecretsMap();
|
|
85604
|
+
reader.readMessage(value, function(message, reader) {
|
|
85605
|
+
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
|
|
85606
|
+
});
|
|
85607
|
+
break;
|
|
85608
|
+
default:
|
|
85609
|
+
reader.skipField();
|
|
85610
|
+
break;
|
|
85611
|
+
}
|
|
85612
|
+
}
|
|
85613
|
+
return msg;
|
|
85614
|
+
};
|
|
85615
|
+
|
|
85616
|
+
|
|
85617
|
+
/**
|
|
85618
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
85619
|
+
* @return {!Uint8Array}
|
|
85620
|
+
*/
|
|
85621
|
+
proto.clarifai.api.StepSecretConfig.prototype.serializeBinary = function() {
|
|
85622
|
+
var writer = new jspb.BinaryWriter();
|
|
85623
|
+
proto.clarifai.api.StepSecretConfig.serializeBinaryToWriter(this, writer);
|
|
85624
|
+
return writer.getResultBuffer();
|
|
85625
|
+
};
|
|
85626
|
+
|
|
85627
|
+
|
|
85628
|
+
/**
|
|
85629
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
85630
|
+
* format), writing to the given BinaryWriter.
|
|
85631
|
+
* @param {!proto.clarifai.api.StepSecretConfig} message
|
|
85632
|
+
* @param {!jspb.BinaryWriter} writer
|
|
85633
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
85634
|
+
*/
|
|
85635
|
+
proto.clarifai.api.StepSecretConfig.serializeBinaryToWriter = function(message, writer) {
|
|
85636
|
+
var f = undefined;
|
|
85637
|
+
f = message.getSecretsMap(true);
|
|
85638
|
+
if (f && f.getLength() > 0) {
|
|
85639
|
+
f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
|
|
85640
|
+
}
|
|
85641
|
+
};
|
|
85642
|
+
|
|
85643
|
+
|
|
85644
|
+
/**
|
|
85645
|
+
* map<string, string> secrets = 1;
|
|
85646
|
+
* @param {boolean=} opt_noLazyCreate Do not create the map if
|
|
85647
|
+
* empty, instead returning `undefined`
|
|
85648
|
+
* @return {!jspb.Map<string,string>}
|
|
85649
|
+
*/
|
|
85650
|
+
proto.clarifai.api.StepSecretConfig.prototype.getSecretsMap = function(opt_noLazyCreate) {
|
|
85651
|
+
return /** @type {!jspb.Map<string,string>} */ (
|
|
85652
|
+
jspb.Message.getMapField(this, 1, opt_noLazyCreate,
|
|
85653
|
+
null));
|
|
85654
|
+
};
|
|
85655
|
+
|
|
85656
|
+
|
|
85657
|
+
/**
|
|
85658
|
+
* Clears values from the map. The map will be non-null.
|
|
85659
|
+
* @return {!proto.clarifai.api.StepSecretConfig} returns this
|
|
85660
|
+
*/
|
|
85661
|
+
proto.clarifai.api.StepSecretConfig.prototype.clearSecretsMap = function() {
|
|
85662
|
+
this.getSecretsMap().clear();
|
|
85663
|
+
return this;
|
|
85664
|
+
};
|
|
85665
|
+
|
|
85666
|
+
|
|
85667
|
+
|
|
85668
|
+
|
|
85669
|
+
|
|
84791
85670
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
84792
85671
|
/**
|
|
84793
85672
|
* Creates an object representation of this proto.
|
|
@@ -84826,7 +85705,8 @@ proto.clarifai.api.PipelineVersion.toObject = function(includeInstance, msg) {
|
|
|
84826
85705
|
visibility: (f = msg.getVisibility()) && proto.clarifai.api.Visibility.toObject(includeInstance, f),
|
|
84827
85706
|
metadata: (f = msg.getMetadata()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f),
|
|
84828
85707
|
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
84829
|
-
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
|
|
85708
|
+
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
85709
|
+
config: (f = msg.getConfig()) && proto.clarifai.api.PipelineVersionConfig.toObject(includeInstance, f)
|
|
84830
85710
|
};
|
|
84831
85711
|
|
|
84832
85712
|
if (includeInstance) {
|
|
@@ -84908,6 +85788,11 @@ proto.clarifai.api.PipelineVersion.deserializeBinaryFromReader = function(msg, r
|
|
|
84908
85788
|
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
84909
85789
|
msg.setModifiedAt(value);
|
|
84910
85790
|
break;
|
|
85791
|
+
case 11:
|
|
85792
|
+
var value = new proto.clarifai.api.PipelineVersionConfig;
|
|
85793
|
+
reader.readMessage(value,proto.clarifai.api.PipelineVersionConfig.deserializeBinaryFromReader);
|
|
85794
|
+
msg.setConfig(value);
|
|
85795
|
+
break;
|
|
84911
85796
|
default:
|
|
84912
85797
|
reader.skipField();
|
|
84913
85798
|
break;
|
|
@@ -85012,6 +85897,14 @@ proto.clarifai.api.PipelineVersion.serializeBinaryToWriter = function(message, w
|
|
|
85012
85897
|
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
85013
85898
|
);
|
|
85014
85899
|
}
|
|
85900
|
+
f = message.getConfig();
|
|
85901
|
+
if (f != null) {
|
|
85902
|
+
writer.writeMessage(
|
|
85903
|
+
11,
|
|
85904
|
+
f,
|
|
85905
|
+
proto.clarifai.api.PipelineVersionConfig.serializeBinaryToWriter
|
|
85906
|
+
);
|
|
85907
|
+
}
|
|
85015
85908
|
};
|
|
85016
85909
|
|
|
85017
85910
|
|
|
@@ -85290,6 +86183,43 @@ proto.clarifai.api.PipelineVersion.prototype.hasModifiedAt = function() {
|
|
|
85290
86183
|
};
|
|
85291
86184
|
|
|
85292
86185
|
|
|
86186
|
+
/**
|
|
86187
|
+
* optional PipelineVersionConfig config = 11;
|
|
86188
|
+
* @return {?proto.clarifai.api.PipelineVersionConfig}
|
|
86189
|
+
*/
|
|
86190
|
+
proto.clarifai.api.PipelineVersion.prototype.getConfig = function() {
|
|
86191
|
+
return /** @type{?proto.clarifai.api.PipelineVersionConfig} */ (
|
|
86192
|
+
jspb.Message.getWrapperField(this, proto.clarifai.api.PipelineVersionConfig, 11));
|
|
86193
|
+
};
|
|
86194
|
+
|
|
86195
|
+
|
|
86196
|
+
/**
|
|
86197
|
+
* @param {?proto.clarifai.api.PipelineVersionConfig|undefined} value
|
|
86198
|
+
* @return {!proto.clarifai.api.PipelineVersion} returns this
|
|
86199
|
+
*/
|
|
86200
|
+
proto.clarifai.api.PipelineVersion.prototype.setConfig = function(value) {
|
|
86201
|
+
return jspb.Message.setWrapperField(this, 11, value);
|
|
86202
|
+
};
|
|
86203
|
+
|
|
86204
|
+
|
|
86205
|
+
/**
|
|
86206
|
+
* Clears the message field making it undefined.
|
|
86207
|
+
* @return {!proto.clarifai.api.PipelineVersion} returns this
|
|
86208
|
+
*/
|
|
86209
|
+
proto.clarifai.api.PipelineVersion.prototype.clearConfig = function() {
|
|
86210
|
+
return this.setConfig(undefined);
|
|
86211
|
+
};
|
|
86212
|
+
|
|
86213
|
+
|
|
86214
|
+
/**
|
|
86215
|
+
* Returns whether this field is set.
|
|
86216
|
+
* @return {boolean}
|
|
86217
|
+
*/
|
|
86218
|
+
proto.clarifai.api.PipelineVersion.prototype.hasConfig = function() {
|
|
86219
|
+
return jspb.Message.getField(this, 11) != null;
|
|
86220
|
+
};
|
|
86221
|
+
|
|
86222
|
+
|
|
85293
86223
|
|
|
85294
86224
|
/**
|
|
85295
86225
|
* Oneof group definitions for this message. Each group defines the field
|
|
@@ -85694,7 +86624,9 @@ proto.clarifai.api.PipelineVersionRun.toObject = function(includeInstance, msg)
|
|
|
85694
86624
|
userId: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
85695
86625
|
appId: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
85696
86626
|
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
85697
|
-
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)
|
|
85698
86630
|
};
|
|
85699
86631
|
|
|
85700
86632
|
if (includeInstance) {
|
|
@@ -85768,6 +86700,16 @@ proto.clarifai.api.PipelineVersionRun.deserializeBinaryFromReader = function(msg
|
|
|
85768
86700
|
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
85769
86701
|
msg.setModifiedAt(value);
|
|
85770
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;
|
|
85771
86713
|
default:
|
|
85772
86714
|
reader.skipField();
|
|
85773
86715
|
break;
|
|
@@ -85858,6 +86800,22 @@ proto.clarifai.api.PipelineVersionRun.serializeBinaryToWriter = function(message
|
|
|
85858
86800
|
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
85859
86801
|
);
|
|
85860
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
|
+
}
|
|
85861
86819
|
};
|
|
85862
86820
|
|
|
85863
86821
|
|
|
@@ -86101,6 +87059,80 @@ proto.clarifai.api.PipelineVersionRun.prototype.hasModifiedAt = function() {
|
|
|
86101
87059
|
};
|
|
86102
87060
|
|
|
86103
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
|
+
|
|
86104
87136
|
|
|
86105
87137
|
|
|
86106
87138
|
|