clarifai-web-grpc 11.8.6 → 11.9.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 +215 -2
- package/dist/cjs/proto/clarifai/api/service_grpc_web_pb.js +42 -0
- package/dist/cjs/proto/clarifai/api/service_pb.js +683 -150
- package/dist/cjs/proto/clarifai/api/status/status_code_pb.js +1 -0
- package/dist/esm/proto/clarifai/api/resources_pb.js +215 -2
- package/dist/esm/proto/clarifai/api/service_grpc_web_pb.js +42 -0
- package/dist/esm/proto/clarifai/api/service_pb.js +683 -150
- package/dist/esm/proto/clarifai/api/status/status_code_pb.js +1 -0
- package/package.json +1 -1
- package/proto/clarifai/api/resources_pb.d.ts +32 -0
- package/proto/clarifai/api/resources_pb.js +265 -2
- package/proto/clarifai/api/service_grpc_web_pb.d.ts +12 -0
- package/proto/clarifai/api/service_grpc_web_pb.js +61 -0
- package/proto/clarifai/api/service_pb.d.ts +103 -24
- package/proto/clarifai/api/service_pb.js +871 -192
- package/proto/clarifai/api/status/status_code_pb.d.ts +1 -0
- package/proto/clarifai/api/status/status_code_pb.js +1 -0
|
@@ -403,6 +403,7 @@ goog.exportSymbol('proto.clarifai.api.PostSecretsRequest', null, global);
|
|
|
403
403
|
goog.exportSymbol('proto.clarifai.api.PostStatValuesAggregateRequest', null, global);
|
|
404
404
|
goog.exportSymbol('proto.clarifai.api.PostStatValuesRequest', null, global);
|
|
405
405
|
goog.exportSymbol('proto.clarifai.api.PostTasksRequest', null, global);
|
|
406
|
+
goog.exportSymbol('proto.clarifai.api.PostTrackAnnotationsSearchesRequest', null, global);
|
|
406
407
|
goog.exportSymbol('proto.clarifai.api.PostUploadsRequest', null, global);
|
|
407
408
|
goog.exportSymbol('proto.clarifai.api.PostValidatePasswordRequest', null, global);
|
|
408
409
|
goog.exportSymbol('proto.clarifai.api.PostWorkflowResultsRequest', null, global);
|
|
@@ -541,6 +542,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
541
542
|
*/
|
|
542
543
|
proto.clarifai.api.ListAnnotationsRequest.displayName = 'proto.clarifai.api.ListAnnotationsRequest';
|
|
543
544
|
}
|
|
545
|
+
/**
|
|
546
|
+
* Generated by JsPbCodeGenerator.
|
|
547
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
548
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
549
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
550
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
551
|
+
* valid.
|
|
552
|
+
* @extends {jspb.Message}
|
|
553
|
+
* @constructor
|
|
554
|
+
*/
|
|
555
|
+
proto.clarifai.api.PostTrackAnnotationsSearchesRequest = function(opt_data) {
|
|
556
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
557
|
+
};
|
|
558
|
+
goog.inherits(proto.clarifai.api.PostTrackAnnotationsSearchesRequest, jspb.Message);
|
|
559
|
+
if (goog.DEBUG && !COMPILED) {
|
|
560
|
+
/**
|
|
561
|
+
* @public
|
|
562
|
+
* @override
|
|
563
|
+
*/
|
|
564
|
+
proto.clarifai.api.PostTrackAnnotationsSearchesRequest.displayName = 'proto.clarifai.api.PostTrackAnnotationsSearchesRequest';
|
|
565
|
+
}
|
|
544
566
|
/**
|
|
545
567
|
* Generated by JsPbCodeGenerator.
|
|
546
568
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -10339,6 +10361,418 @@ proto.clarifai.api.ListAnnotationsRequest.prototype.setTaskId = function(value)
|
|
|
10339
10361
|
|
|
10340
10362
|
|
|
10341
10363
|
|
|
10364
|
+
|
|
10365
|
+
|
|
10366
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
10367
|
+
/**
|
|
10368
|
+
* Creates an object representation of this proto.
|
|
10369
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
10370
|
+
* Optional fields that are not set will be set to undefined.
|
|
10371
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
10372
|
+
* For the list of reserved names please see:
|
|
10373
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
10374
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
10375
|
+
* JSPB instance for transitional soy proto support:
|
|
10376
|
+
* http://goto/soy-param-migration
|
|
10377
|
+
* @return {!Object}
|
|
10378
|
+
*/
|
|
10379
|
+
proto.clarifai.api.PostTrackAnnotationsSearchesRequest.prototype.toObject = function(opt_includeInstance) {
|
|
10380
|
+
return proto.clarifai.api.PostTrackAnnotationsSearchesRequest.toObject(opt_includeInstance, this);
|
|
10381
|
+
};
|
|
10382
|
+
|
|
10383
|
+
|
|
10384
|
+
/**
|
|
10385
|
+
* Static version of the {@see toObject} method.
|
|
10386
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
10387
|
+
* the JSPB instance for transitional soy proto support:
|
|
10388
|
+
* http://goto/soy-param-migration
|
|
10389
|
+
* @param {!proto.clarifai.api.PostTrackAnnotationsSearchesRequest} msg The msg instance to transform.
|
|
10390
|
+
* @return {!Object}
|
|
10391
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10392
|
+
*/
|
|
10393
|
+
proto.clarifai.api.PostTrackAnnotationsSearchesRequest.toObject = function(includeInstance, msg) {
|
|
10394
|
+
var f, obj = {
|
|
10395
|
+
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
10396
|
+
inputId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
10397
|
+
trackId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
10398
|
+
frameNumberStart: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
10399
|
+
frameTimeStart: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
10400
|
+
annotationType: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
10401
|
+
maxFrames: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
|
10402
|
+
maxDuration: jspb.Message.getFieldWithDefault(msg, 8, 0),
|
|
10403
|
+
worker: (f = msg.getWorker()) && proto_clarifai_api_resources_pb.Worker.toObject(includeInstance, f)
|
|
10404
|
+
};
|
|
10405
|
+
|
|
10406
|
+
if (includeInstance) {
|
|
10407
|
+
obj.$jspbMessageInstance = msg;
|
|
10408
|
+
}
|
|
10409
|
+
return obj;
|
|
10410
|
+
};
|
|
10411
|
+
}
|
|
10412
|
+
|
|
10413
|
+
|
|
10414
|
+
/**
|
|
10415
|
+
* Deserializes binary data (in protobuf wire format).
|
|
10416
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
10417
|
+
* @return {!proto.clarifai.api.PostTrackAnnotationsSearchesRequest}
|
|
10418
|
+
*/
|
|
10419
|
+
proto.clarifai.api.PostTrackAnnotationsSearchesRequest.deserializeBinary = function(bytes) {
|
|
10420
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
10421
|
+
var msg = new proto.clarifai.api.PostTrackAnnotationsSearchesRequest;
|
|
10422
|
+
return proto.clarifai.api.PostTrackAnnotationsSearchesRequest.deserializeBinaryFromReader(msg, reader);
|
|
10423
|
+
};
|
|
10424
|
+
|
|
10425
|
+
|
|
10426
|
+
/**
|
|
10427
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
10428
|
+
* given reader into the given message object.
|
|
10429
|
+
* @param {!proto.clarifai.api.PostTrackAnnotationsSearchesRequest} msg The message object to deserialize into.
|
|
10430
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
10431
|
+
* @return {!proto.clarifai.api.PostTrackAnnotationsSearchesRequest}
|
|
10432
|
+
*/
|
|
10433
|
+
proto.clarifai.api.PostTrackAnnotationsSearchesRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
10434
|
+
while (reader.nextField()) {
|
|
10435
|
+
if (reader.isEndGroup()) {
|
|
10436
|
+
break;
|
|
10437
|
+
}
|
|
10438
|
+
var field = reader.getFieldNumber();
|
|
10439
|
+
switch (field) {
|
|
10440
|
+
case 1:
|
|
10441
|
+
var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
|
|
10442
|
+
reader.readMessage(value,proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
|
|
10443
|
+
msg.setUserAppId(value);
|
|
10444
|
+
break;
|
|
10445
|
+
case 2:
|
|
10446
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10447
|
+
msg.setInputId(value);
|
|
10448
|
+
break;
|
|
10449
|
+
case 3:
|
|
10450
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10451
|
+
msg.setTrackId(value);
|
|
10452
|
+
break;
|
|
10453
|
+
case 4:
|
|
10454
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
10455
|
+
msg.setFrameNumberStart(value);
|
|
10456
|
+
break;
|
|
10457
|
+
case 5:
|
|
10458
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
10459
|
+
msg.setFrameTimeStart(value);
|
|
10460
|
+
break;
|
|
10461
|
+
case 6:
|
|
10462
|
+
var value = /** @type {!proto.clarifai.api.AnnotationDataType} */ (reader.readEnum());
|
|
10463
|
+
msg.setAnnotationType(value);
|
|
10464
|
+
break;
|
|
10465
|
+
case 7:
|
|
10466
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
10467
|
+
msg.setMaxFrames(value);
|
|
10468
|
+
break;
|
|
10469
|
+
case 8:
|
|
10470
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
10471
|
+
msg.setMaxDuration(value);
|
|
10472
|
+
break;
|
|
10473
|
+
case 9:
|
|
10474
|
+
var value = new proto_clarifai_api_resources_pb.Worker;
|
|
10475
|
+
reader.readMessage(value,proto_clarifai_api_resources_pb.Worker.deserializeBinaryFromReader);
|
|
10476
|
+
msg.setWorker(value);
|
|
10477
|
+
break;
|
|
10478
|
+
default:
|
|
10479
|
+
reader.skipField();
|
|
10480
|
+
break;
|
|
10481
|
+
}
|
|
10482
|
+
}
|
|
10483
|
+
return msg;
|
|
10484
|
+
};
|
|
10485
|
+
|
|
10486
|
+
|
|
10487
|
+
/**
|
|
10488
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
10489
|
+
* @return {!Uint8Array}
|
|
10490
|
+
*/
|
|
10491
|
+
proto.clarifai.api.PostTrackAnnotationsSearchesRequest.prototype.serializeBinary = function() {
|
|
10492
|
+
var writer = new jspb.BinaryWriter();
|
|
10493
|
+
proto.clarifai.api.PostTrackAnnotationsSearchesRequest.serializeBinaryToWriter(this, writer);
|
|
10494
|
+
return writer.getResultBuffer();
|
|
10495
|
+
};
|
|
10496
|
+
|
|
10497
|
+
|
|
10498
|
+
/**
|
|
10499
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
10500
|
+
* format), writing to the given BinaryWriter.
|
|
10501
|
+
* @param {!proto.clarifai.api.PostTrackAnnotationsSearchesRequest} message
|
|
10502
|
+
* @param {!jspb.BinaryWriter} writer
|
|
10503
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10504
|
+
*/
|
|
10505
|
+
proto.clarifai.api.PostTrackAnnotationsSearchesRequest.serializeBinaryToWriter = function(message, writer) {
|
|
10506
|
+
var f = undefined;
|
|
10507
|
+
f = message.getUserAppId();
|
|
10508
|
+
if (f != null) {
|
|
10509
|
+
writer.writeMessage(
|
|
10510
|
+
1,
|
|
10511
|
+
f,
|
|
10512
|
+
proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter
|
|
10513
|
+
);
|
|
10514
|
+
}
|
|
10515
|
+
f = message.getInputId();
|
|
10516
|
+
if (f.length > 0) {
|
|
10517
|
+
writer.writeString(
|
|
10518
|
+
2,
|
|
10519
|
+
f
|
|
10520
|
+
);
|
|
10521
|
+
}
|
|
10522
|
+
f = message.getTrackId();
|
|
10523
|
+
if (f.length > 0) {
|
|
10524
|
+
writer.writeString(
|
|
10525
|
+
3,
|
|
10526
|
+
f
|
|
10527
|
+
);
|
|
10528
|
+
}
|
|
10529
|
+
f = message.getFrameNumberStart();
|
|
10530
|
+
if (f !== 0) {
|
|
10531
|
+
writer.writeUint32(
|
|
10532
|
+
4,
|
|
10533
|
+
f
|
|
10534
|
+
);
|
|
10535
|
+
}
|
|
10536
|
+
f = message.getFrameTimeStart();
|
|
10537
|
+
if (f !== 0) {
|
|
10538
|
+
writer.writeUint32(
|
|
10539
|
+
5,
|
|
10540
|
+
f
|
|
10541
|
+
);
|
|
10542
|
+
}
|
|
10543
|
+
f = message.getAnnotationType();
|
|
10544
|
+
if (f !== 0.0) {
|
|
10545
|
+
writer.writeEnum(
|
|
10546
|
+
6,
|
|
10547
|
+
f
|
|
10548
|
+
);
|
|
10549
|
+
}
|
|
10550
|
+
f = message.getMaxFrames();
|
|
10551
|
+
if (f !== 0) {
|
|
10552
|
+
writer.writeUint32(
|
|
10553
|
+
7,
|
|
10554
|
+
f
|
|
10555
|
+
);
|
|
10556
|
+
}
|
|
10557
|
+
f = message.getMaxDuration();
|
|
10558
|
+
if (f !== 0) {
|
|
10559
|
+
writer.writeUint32(
|
|
10560
|
+
8,
|
|
10561
|
+
f
|
|
10562
|
+
);
|
|
10563
|
+
}
|
|
10564
|
+
f = message.getWorker();
|
|
10565
|
+
if (f != null) {
|
|
10566
|
+
writer.writeMessage(
|
|
10567
|
+
9,
|
|
10568
|
+
f,
|
|
10569
|
+
proto_clarifai_api_resources_pb.Worker.serializeBinaryToWriter
|
|
10570
|
+
);
|
|
10571
|
+
}
|
|
10572
|
+
};
|
|
10573
|
+
|
|
10574
|
+
|
|
10575
|
+
/**
|
|
10576
|
+
* optional UserAppIDSet user_app_id = 1;
|
|
10577
|
+
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
10578
|
+
*/
|
|
10579
|
+
proto.clarifai.api.PostTrackAnnotationsSearchesRequest.prototype.getUserAppId = function() {
|
|
10580
|
+
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (
|
|
10581
|
+
jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
10582
|
+
};
|
|
10583
|
+
|
|
10584
|
+
|
|
10585
|
+
/**
|
|
10586
|
+
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
10587
|
+
* @return {!proto.clarifai.api.PostTrackAnnotationsSearchesRequest} returns this
|
|
10588
|
+
*/
|
|
10589
|
+
proto.clarifai.api.PostTrackAnnotationsSearchesRequest.prototype.setUserAppId = function(value) {
|
|
10590
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
10591
|
+
};
|
|
10592
|
+
|
|
10593
|
+
|
|
10594
|
+
/**
|
|
10595
|
+
* Clears the message field making it undefined.
|
|
10596
|
+
* @return {!proto.clarifai.api.PostTrackAnnotationsSearchesRequest} returns this
|
|
10597
|
+
*/
|
|
10598
|
+
proto.clarifai.api.PostTrackAnnotationsSearchesRequest.prototype.clearUserAppId = function() {
|
|
10599
|
+
return this.setUserAppId(undefined);
|
|
10600
|
+
};
|
|
10601
|
+
|
|
10602
|
+
|
|
10603
|
+
/**
|
|
10604
|
+
* Returns whether this field is set.
|
|
10605
|
+
* @return {boolean}
|
|
10606
|
+
*/
|
|
10607
|
+
proto.clarifai.api.PostTrackAnnotationsSearchesRequest.prototype.hasUserAppId = function() {
|
|
10608
|
+
return jspb.Message.getField(this, 1) != null;
|
|
10609
|
+
};
|
|
10610
|
+
|
|
10611
|
+
|
|
10612
|
+
/**
|
|
10613
|
+
* optional string input_id = 2;
|
|
10614
|
+
* @return {string}
|
|
10615
|
+
*/
|
|
10616
|
+
proto.clarifai.api.PostTrackAnnotationsSearchesRequest.prototype.getInputId = function() {
|
|
10617
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
10618
|
+
};
|
|
10619
|
+
|
|
10620
|
+
|
|
10621
|
+
/**
|
|
10622
|
+
* @param {string} value
|
|
10623
|
+
* @return {!proto.clarifai.api.PostTrackAnnotationsSearchesRequest} returns this
|
|
10624
|
+
*/
|
|
10625
|
+
proto.clarifai.api.PostTrackAnnotationsSearchesRequest.prototype.setInputId = function(value) {
|
|
10626
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
10627
|
+
};
|
|
10628
|
+
|
|
10629
|
+
|
|
10630
|
+
/**
|
|
10631
|
+
* optional string track_id = 3;
|
|
10632
|
+
* @return {string}
|
|
10633
|
+
*/
|
|
10634
|
+
proto.clarifai.api.PostTrackAnnotationsSearchesRequest.prototype.getTrackId = function() {
|
|
10635
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
10636
|
+
};
|
|
10637
|
+
|
|
10638
|
+
|
|
10639
|
+
/**
|
|
10640
|
+
* @param {string} value
|
|
10641
|
+
* @return {!proto.clarifai.api.PostTrackAnnotationsSearchesRequest} returns this
|
|
10642
|
+
*/
|
|
10643
|
+
proto.clarifai.api.PostTrackAnnotationsSearchesRequest.prototype.setTrackId = function(value) {
|
|
10644
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
10645
|
+
};
|
|
10646
|
+
|
|
10647
|
+
|
|
10648
|
+
/**
|
|
10649
|
+
* optional uint32 frame_number_start = 4;
|
|
10650
|
+
* @return {number}
|
|
10651
|
+
*/
|
|
10652
|
+
proto.clarifai.api.PostTrackAnnotationsSearchesRequest.prototype.getFrameNumberStart = function() {
|
|
10653
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
10654
|
+
};
|
|
10655
|
+
|
|
10656
|
+
|
|
10657
|
+
/**
|
|
10658
|
+
* @param {number} value
|
|
10659
|
+
* @return {!proto.clarifai.api.PostTrackAnnotationsSearchesRequest} returns this
|
|
10660
|
+
*/
|
|
10661
|
+
proto.clarifai.api.PostTrackAnnotationsSearchesRequest.prototype.setFrameNumberStart = function(value) {
|
|
10662
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
10663
|
+
};
|
|
10664
|
+
|
|
10665
|
+
|
|
10666
|
+
/**
|
|
10667
|
+
* optional uint32 frame_time_start = 5;
|
|
10668
|
+
* @return {number}
|
|
10669
|
+
*/
|
|
10670
|
+
proto.clarifai.api.PostTrackAnnotationsSearchesRequest.prototype.getFrameTimeStart = function() {
|
|
10671
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
10672
|
+
};
|
|
10673
|
+
|
|
10674
|
+
|
|
10675
|
+
/**
|
|
10676
|
+
* @param {number} value
|
|
10677
|
+
* @return {!proto.clarifai.api.PostTrackAnnotationsSearchesRequest} returns this
|
|
10678
|
+
*/
|
|
10679
|
+
proto.clarifai.api.PostTrackAnnotationsSearchesRequest.prototype.setFrameTimeStart = function(value) {
|
|
10680
|
+
return jspb.Message.setProto3IntField(this, 5, value);
|
|
10681
|
+
};
|
|
10682
|
+
|
|
10683
|
+
|
|
10684
|
+
/**
|
|
10685
|
+
* optional AnnotationDataType annotation_type = 6;
|
|
10686
|
+
* @return {!proto.clarifai.api.AnnotationDataType}
|
|
10687
|
+
*/
|
|
10688
|
+
proto.clarifai.api.PostTrackAnnotationsSearchesRequest.prototype.getAnnotationType = function() {
|
|
10689
|
+
return /** @type {!proto.clarifai.api.AnnotationDataType} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
10690
|
+
};
|
|
10691
|
+
|
|
10692
|
+
|
|
10693
|
+
/**
|
|
10694
|
+
* @param {!proto.clarifai.api.AnnotationDataType} value
|
|
10695
|
+
* @return {!proto.clarifai.api.PostTrackAnnotationsSearchesRequest} returns this
|
|
10696
|
+
*/
|
|
10697
|
+
proto.clarifai.api.PostTrackAnnotationsSearchesRequest.prototype.setAnnotationType = function(value) {
|
|
10698
|
+
return jspb.Message.setProto3EnumField(this, 6, value);
|
|
10699
|
+
};
|
|
10700
|
+
|
|
10701
|
+
|
|
10702
|
+
/**
|
|
10703
|
+
* optional uint32 max_frames = 7;
|
|
10704
|
+
* @return {number}
|
|
10705
|
+
*/
|
|
10706
|
+
proto.clarifai.api.PostTrackAnnotationsSearchesRequest.prototype.getMaxFrames = function() {
|
|
10707
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
|
|
10708
|
+
};
|
|
10709
|
+
|
|
10710
|
+
|
|
10711
|
+
/**
|
|
10712
|
+
* @param {number} value
|
|
10713
|
+
* @return {!proto.clarifai.api.PostTrackAnnotationsSearchesRequest} returns this
|
|
10714
|
+
*/
|
|
10715
|
+
proto.clarifai.api.PostTrackAnnotationsSearchesRequest.prototype.setMaxFrames = function(value) {
|
|
10716
|
+
return jspb.Message.setProto3IntField(this, 7, value);
|
|
10717
|
+
};
|
|
10718
|
+
|
|
10719
|
+
|
|
10720
|
+
/**
|
|
10721
|
+
* optional uint32 max_duration = 8;
|
|
10722
|
+
* @return {number}
|
|
10723
|
+
*/
|
|
10724
|
+
proto.clarifai.api.PostTrackAnnotationsSearchesRequest.prototype.getMaxDuration = function() {
|
|
10725
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
|
|
10726
|
+
};
|
|
10727
|
+
|
|
10728
|
+
|
|
10729
|
+
/**
|
|
10730
|
+
* @param {number} value
|
|
10731
|
+
* @return {!proto.clarifai.api.PostTrackAnnotationsSearchesRequest} returns this
|
|
10732
|
+
*/
|
|
10733
|
+
proto.clarifai.api.PostTrackAnnotationsSearchesRequest.prototype.setMaxDuration = function(value) {
|
|
10734
|
+
return jspb.Message.setProto3IntField(this, 8, value);
|
|
10735
|
+
};
|
|
10736
|
+
|
|
10737
|
+
|
|
10738
|
+
/**
|
|
10739
|
+
* optional Worker worker = 9;
|
|
10740
|
+
* @return {?proto.clarifai.api.Worker}
|
|
10741
|
+
*/
|
|
10742
|
+
proto.clarifai.api.PostTrackAnnotationsSearchesRequest.prototype.getWorker = function() {
|
|
10743
|
+
return /** @type{?proto.clarifai.api.Worker} */ (
|
|
10744
|
+
jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.Worker, 9));
|
|
10745
|
+
};
|
|
10746
|
+
|
|
10747
|
+
|
|
10748
|
+
/**
|
|
10749
|
+
* @param {?proto.clarifai.api.Worker|undefined} value
|
|
10750
|
+
* @return {!proto.clarifai.api.PostTrackAnnotationsSearchesRequest} returns this
|
|
10751
|
+
*/
|
|
10752
|
+
proto.clarifai.api.PostTrackAnnotationsSearchesRequest.prototype.setWorker = function(value) {
|
|
10753
|
+
return jspb.Message.setWrapperField(this, 9, value);
|
|
10754
|
+
};
|
|
10755
|
+
|
|
10756
|
+
|
|
10757
|
+
/**
|
|
10758
|
+
* Clears the message field making it undefined.
|
|
10759
|
+
* @return {!proto.clarifai.api.PostTrackAnnotationsSearchesRequest} returns this
|
|
10760
|
+
*/
|
|
10761
|
+
proto.clarifai.api.PostTrackAnnotationsSearchesRequest.prototype.clearWorker = function() {
|
|
10762
|
+
return this.setWorker(undefined);
|
|
10763
|
+
};
|
|
10764
|
+
|
|
10765
|
+
|
|
10766
|
+
/**
|
|
10767
|
+
* Returns whether this field is set.
|
|
10768
|
+
* @return {boolean}
|
|
10769
|
+
*/
|
|
10770
|
+
proto.clarifai.api.PostTrackAnnotationsSearchesRequest.prototype.hasWorker = function() {
|
|
10771
|
+
return jspb.Message.getField(this, 9) != null;
|
|
10772
|
+
};
|
|
10773
|
+
|
|
10774
|
+
|
|
10775
|
+
|
|
10342
10776
|
/**
|
|
10343
10777
|
* List of repeated fields within this message type.
|
|
10344
10778
|
* @private {!Array<number>}
|
|
@@ -14273,7 +14707,7 @@ proto.clarifai.api.ListAppsRequest.repeatedFields_ = [10];
|
|
|
14273
14707
|
* @private {!Array<!Array<number>>}
|
|
14274
14708
|
* @const
|
|
14275
14709
|
*/
|
|
14276
|
-
proto.clarifai.api.ListAppsRequest.oneofGroups_ = [[6,7,12,13,17]];
|
|
14710
|
+
proto.clarifai.api.ListAppsRequest.oneofGroups_ = [[6,7,12,13,17,19]];
|
|
14277
14711
|
|
|
14278
14712
|
/**
|
|
14279
14713
|
* @enum {number}
|
|
@@ -14284,7 +14718,8 @@ proto.clarifai.api.ListAppsRequest.SortByCase = {
|
|
|
14284
14718
|
SORT_BY_MODIFIED_AT: 7,
|
|
14285
14719
|
SORT_BY_CREATED_AT: 12,
|
|
14286
14720
|
SORT_BY_STAR_COUNT: 13,
|
|
14287
|
-
SORT_BY_ID: 17
|
|
14721
|
+
SORT_BY_ID: 17,
|
|
14722
|
+
SORT_BY_RELEVANCE: 19
|
|
14288
14723
|
};
|
|
14289
14724
|
|
|
14290
14725
|
/**
|
|
@@ -14335,6 +14770,7 @@ proto.clarifai.api.ListAppsRequest.toObject = function(includeInstance, msg) {
|
|
|
14335
14770
|
sortByCreatedAt: jspb.Message.getBooleanFieldWithDefault(msg, 12, false),
|
|
14336
14771
|
sortByStarCount: jspb.Message.getBooleanFieldWithDefault(msg, 13, false),
|
|
14337
14772
|
sortById: jspb.Message.getBooleanFieldWithDefault(msg, 17, false),
|
|
14773
|
+
sortByRelevance: jspb.Message.getBooleanFieldWithDefault(msg, 19, false),
|
|
14338
14774
|
featuredOnly: jspb.Message.getBooleanFieldWithDefault(msg, 9, false),
|
|
14339
14775
|
starredOnly: jspb.Message.getBooleanFieldWithDefault(msg, 11, false),
|
|
14340
14776
|
templateOnly: jspb.Message.getBooleanFieldWithDefault(msg, 16, false),
|
|
@@ -14420,6 +14856,10 @@ proto.clarifai.api.ListAppsRequest.deserializeBinaryFromReader = function(msg, r
|
|
|
14420
14856
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
14421
14857
|
msg.setSortById(value);
|
|
14422
14858
|
break;
|
|
14859
|
+
case 19:
|
|
14860
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
14861
|
+
msg.setSortByRelevance(value);
|
|
14862
|
+
break;
|
|
14423
14863
|
case 9:
|
|
14424
14864
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
14425
14865
|
msg.setFeaturedOnly(value);
|
|
@@ -14553,6 +14993,13 @@ proto.clarifai.api.ListAppsRequest.serializeBinaryToWriter = function(message, w
|
|
|
14553
14993
|
f
|
|
14554
14994
|
);
|
|
14555
14995
|
}
|
|
14996
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 19));
|
|
14997
|
+
if (f != null) {
|
|
14998
|
+
writer.writeBool(
|
|
14999
|
+
19,
|
|
15000
|
+
f
|
|
15001
|
+
);
|
|
15002
|
+
}
|
|
14556
15003
|
f = message.getFeaturedOnly();
|
|
14557
15004
|
if (f) {
|
|
14558
15005
|
writer.writeBool(
|
|
@@ -14921,6 +15368,42 @@ proto.clarifai.api.ListAppsRequest.prototype.hasSortById = function() {
|
|
|
14921
15368
|
};
|
|
14922
15369
|
|
|
14923
15370
|
|
|
15371
|
+
/**
|
|
15372
|
+
* optional bool sort_by_relevance = 19;
|
|
15373
|
+
* @return {boolean}
|
|
15374
|
+
*/
|
|
15375
|
+
proto.clarifai.api.ListAppsRequest.prototype.getSortByRelevance = function() {
|
|
15376
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 19, false));
|
|
15377
|
+
};
|
|
15378
|
+
|
|
15379
|
+
|
|
15380
|
+
/**
|
|
15381
|
+
* @param {boolean} value
|
|
15382
|
+
* @return {!proto.clarifai.api.ListAppsRequest} returns this
|
|
15383
|
+
*/
|
|
15384
|
+
proto.clarifai.api.ListAppsRequest.prototype.setSortByRelevance = function(value) {
|
|
15385
|
+
return jspb.Message.setOneofField(this, 19, proto.clarifai.api.ListAppsRequest.oneofGroups_[0], value);
|
|
15386
|
+
};
|
|
15387
|
+
|
|
15388
|
+
|
|
15389
|
+
/**
|
|
15390
|
+
* Clears the field making it undefined.
|
|
15391
|
+
* @return {!proto.clarifai.api.ListAppsRequest} returns this
|
|
15392
|
+
*/
|
|
15393
|
+
proto.clarifai.api.ListAppsRequest.prototype.clearSortByRelevance = function() {
|
|
15394
|
+
return jspb.Message.setOneofField(this, 19, proto.clarifai.api.ListAppsRequest.oneofGroups_[0], undefined);
|
|
15395
|
+
};
|
|
15396
|
+
|
|
15397
|
+
|
|
15398
|
+
/**
|
|
15399
|
+
* Returns whether this field is set.
|
|
15400
|
+
* @return {boolean}
|
|
15401
|
+
*/
|
|
15402
|
+
proto.clarifai.api.ListAppsRequest.prototype.hasSortByRelevance = function() {
|
|
15403
|
+
return jspb.Message.getField(this, 19) != null;
|
|
15404
|
+
};
|
|
15405
|
+
|
|
15406
|
+
|
|
14924
15407
|
/**
|
|
14925
15408
|
* optional bool featured_only = 9;
|
|
14926
15409
|
* @return {boolean}
|
|
@@ -28203,7 +28686,7 @@ proto.clarifai.api.ListDatasetsRequest.repeatedFields_ = [5];
|
|
|
28203
28686
|
* @private {!Array<!Array<number>>}
|
|
28204
28687
|
* @const
|
|
28205
28688
|
*/
|
|
28206
|
-
proto.clarifai.api.ListDatasetsRequest.oneofGroups_ = [[7,8,9,11]];
|
|
28689
|
+
proto.clarifai.api.ListDatasetsRequest.oneofGroups_ = [[7,8,9,11,14]];
|
|
28207
28690
|
|
|
28208
28691
|
/**
|
|
28209
28692
|
* @enum {number}
|
|
@@ -28213,7 +28696,8 @@ proto.clarifai.api.ListDatasetsRequest.SortByCase = {
|
|
|
28213
28696
|
SORT_BY_CREATED_AT: 7,
|
|
28214
28697
|
SORT_BY_STAR_COUNT: 8,
|
|
28215
28698
|
SORT_BY_MODIFIED_AT: 9,
|
|
28216
|
-
SORT_BY_ID: 11
|
|
28699
|
+
SORT_BY_ID: 11,
|
|
28700
|
+
SORT_BY_RELEVANCE: 14
|
|
28217
28701
|
};
|
|
28218
28702
|
|
|
28219
28703
|
/**
|
|
@@ -28263,6 +28747,7 @@ proto.clarifai.api.ListDatasetsRequest.toObject = function(includeInstance, msg)
|
|
|
28263
28747
|
sortByStarCount: jspb.Message.getBooleanFieldWithDefault(msg, 8, false),
|
|
28264
28748
|
sortByModifiedAt: jspb.Message.getBooleanFieldWithDefault(msg, 9, false),
|
|
28265
28749
|
sortById: jspb.Message.getBooleanFieldWithDefault(msg, 11, false),
|
|
28750
|
+
sortByRelevance: jspb.Message.getBooleanFieldWithDefault(msg, 14, false),
|
|
28266
28751
|
starredOnly: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
|
|
28267
28752
|
bookmark: jspb.Message.getBooleanFieldWithDefault(msg, 10, false),
|
|
28268
28753
|
search: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
@@ -28340,6 +28825,10 @@ proto.clarifai.api.ListDatasetsRequest.deserializeBinaryFromReader = function(ms
|
|
|
28340
28825
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
28341
28826
|
msg.setSortById(value);
|
|
28342
28827
|
break;
|
|
28828
|
+
case 14:
|
|
28829
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
28830
|
+
msg.setSortByRelevance(value);
|
|
28831
|
+
break;
|
|
28343
28832
|
case 4:
|
|
28344
28833
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
28345
28834
|
msg.setStarredOnly(value);
|
|
@@ -28449,6 +28938,13 @@ proto.clarifai.api.ListDatasetsRequest.serializeBinaryToWriter = function(messag
|
|
|
28449
28938
|
f
|
|
28450
28939
|
);
|
|
28451
28940
|
}
|
|
28941
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 14));
|
|
28942
|
+
if (f != null) {
|
|
28943
|
+
writer.writeBool(
|
|
28944
|
+
14,
|
|
28945
|
+
f
|
|
28946
|
+
);
|
|
28947
|
+
}
|
|
28452
28948
|
f = message.getStarredOnly();
|
|
28453
28949
|
if (f) {
|
|
28454
28950
|
writer.writeBool(
|
|
@@ -28752,6 +29248,42 @@ proto.clarifai.api.ListDatasetsRequest.prototype.hasSortById = function() {
|
|
|
28752
29248
|
};
|
|
28753
29249
|
|
|
28754
29250
|
|
|
29251
|
+
/**
|
|
29252
|
+
* optional bool sort_by_relevance = 14;
|
|
29253
|
+
* @return {boolean}
|
|
29254
|
+
*/
|
|
29255
|
+
proto.clarifai.api.ListDatasetsRequest.prototype.getSortByRelevance = function() {
|
|
29256
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 14, false));
|
|
29257
|
+
};
|
|
29258
|
+
|
|
29259
|
+
|
|
29260
|
+
/**
|
|
29261
|
+
* @param {boolean} value
|
|
29262
|
+
* @return {!proto.clarifai.api.ListDatasetsRequest} returns this
|
|
29263
|
+
*/
|
|
29264
|
+
proto.clarifai.api.ListDatasetsRequest.prototype.setSortByRelevance = function(value) {
|
|
29265
|
+
return jspb.Message.setOneofField(this, 14, proto.clarifai.api.ListDatasetsRequest.oneofGroups_[0], value);
|
|
29266
|
+
};
|
|
29267
|
+
|
|
29268
|
+
|
|
29269
|
+
/**
|
|
29270
|
+
* Clears the field making it undefined.
|
|
29271
|
+
* @return {!proto.clarifai.api.ListDatasetsRequest} returns this
|
|
29272
|
+
*/
|
|
29273
|
+
proto.clarifai.api.ListDatasetsRequest.prototype.clearSortByRelevance = function() {
|
|
29274
|
+
return jspb.Message.setOneofField(this, 14, proto.clarifai.api.ListDatasetsRequest.oneofGroups_[0], undefined);
|
|
29275
|
+
};
|
|
29276
|
+
|
|
29277
|
+
|
|
29278
|
+
/**
|
|
29279
|
+
* Returns whether this field is set.
|
|
29280
|
+
* @return {boolean}
|
|
29281
|
+
*/
|
|
29282
|
+
proto.clarifai.api.ListDatasetsRequest.prototype.hasSortByRelevance = function() {
|
|
29283
|
+
return jspb.Message.getField(this, 14) != null;
|
|
29284
|
+
};
|
|
29285
|
+
|
|
29286
|
+
|
|
28755
29287
|
/**
|
|
28756
29288
|
* optional bool starred_only = 4;
|
|
28757
29289
|
* @return {boolean}
|
|
@@ -38697,7 +39229,7 @@ proto.clarifai.api.ListModelsRequest.repeatedFields_ = [19,8,9,17,18,21,28];
|
|
|
38697
39229
|
* @private {!Array<!Array<number>>}
|
|
38698
39230
|
* @const
|
|
38699
39231
|
*/
|
|
38700
|
-
proto.clarifai.api.ListModelsRequest.oneofGroups_ = [[11,12,13,24,25]];
|
|
39232
|
+
proto.clarifai.api.ListModelsRequest.oneofGroups_ = [[11,12,13,24,25,36]];
|
|
38701
39233
|
|
|
38702
39234
|
/**
|
|
38703
39235
|
* @enum {number}
|
|
@@ -38708,7 +39240,8 @@ proto.clarifai.api.ListModelsRequest.SortByCase = {
|
|
|
38708
39240
|
SORT_BY_NUM_INPUTS: 12,
|
|
38709
39241
|
SORT_BY_MODIFIED_AT: 13,
|
|
38710
39242
|
SORT_BY_CREATED_AT: 24,
|
|
38711
|
-
SORT_BY_STAR_COUNT: 25
|
|
39243
|
+
SORT_BY_STAR_COUNT: 25,
|
|
39244
|
+
SORT_BY_RELEVANCE: 36
|
|
38712
39245
|
};
|
|
38713
39246
|
|
|
38714
39247
|
/**
|
|
@@ -38753,12 +39286,14 @@ proto.clarifai.api.ListModelsRequest.toObject = function(includeInstance, msg) {
|
|
|
38753
39286
|
page: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
38754
39287
|
perPage: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
38755
39288
|
additionalFieldsList: (f = jspb.Message.getRepeatedField(msg, 19)) == null ? undefined : f,
|
|
39289
|
+
showReplicas: jspb.Message.getBooleanFieldWithDefault(msg, 34, false),
|
|
38756
39290
|
sortAscending: jspb.Message.getBooleanFieldWithDefault(msg, 10, false),
|
|
38757
39291
|
sortByName: jspb.Message.getBooleanFieldWithDefault(msg, 11, false),
|
|
38758
39292
|
sortByNumInputs: jspb.Message.getBooleanFieldWithDefault(msg, 12, false),
|
|
38759
39293
|
sortByModifiedAt: jspb.Message.getBooleanFieldWithDefault(msg, 13, false),
|
|
38760
39294
|
sortByCreatedAt: jspb.Message.getBooleanFieldWithDefault(msg, 24, false),
|
|
38761
39295
|
sortByStarCount: jspb.Message.getBooleanFieldWithDefault(msg, 25, false),
|
|
39296
|
+
sortByRelevance: jspb.Message.getBooleanFieldWithDefault(msg, 36, false),
|
|
38762
39297
|
modelTypeId: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
38763
39298
|
trainedOnly: jspb.Message.getBooleanFieldWithDefault(msg, 7, false),
|
|
38764
39299
|
inputFieldsList: (f = jspb.Message.getRepeatedField(msg, 8)) == null ? undefined : f,
|
|
@@ -38771,17 +39306,16 @@ proto.clarifai.api.ListModelsRequest.toObject = function(includeInstance, msg) {
|
|
|
38771
39306
|
languagesList: (f = jspb.Message.getRepeatedField(msg, 21)) == null ? undefined : f,
|
|
38772
39307
|
dontFetchFromMain: jspb.Message.getBooleanFieldWithDefault(msg, 23, false),
|
|
38773
39308
|
bookmark: jspb.Message.getBooleanFieldWithDefault(msg, 26, false),
|
|
38774
|
-
search: jspb.Message.getFieldWithDefault(msg, 27, ""),
|
|
38775
|
-
query: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
38776
|
-
name: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
38777
|
-
filterByUserId: jspb.Message.getBooleanFieldWithDefault(msg, 22, false),
|
|
38778
39309
|
modelVersionIdsList: (f = jspb.Message.getRepeatedField(msg, 28)) == null ? undefined : f,
|
|
38779
39310
|
licenseType: jspb.Message.getFieldWithDefault(msg, 29, 0),
|
|
38780
39311
|
source: jspb.Message.getFieldWithDefault(msg, 30, 0),
|
|
38781
39312
|
creator: jspb.Message.getFieldWithDefault(msg, 31, ""),
|
|
38782
39313
|
minReplicas: jspb.Message.getFieldWithDefault(msg, 33, 0),
|
|
38783
|
-
|
|
38784
|
-
|
|
39314
|
+
visibility: (f = msg.getVisibility()) && proto_clarifai_api_resources_pb.Visibility.toObject(includeInstance, f),
|
|
39315
|
+
search: jspb.Message.getFieldWithDefault(msg, 27, ""),
|
|
39316
|
+
query: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
39317
|
+
name: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
39318
|
+
filterByUserId: jspb.Message.getBooleanFieldWithDefault(msg, 22, false)
|
|
38785
39319
|
};
|
|
38786
39320
|
|
|
38787
39321
|
if (includeInstance) {
|
|
@@ -38835,6 +39369,10 @@ proto.clarifai.api.ListModelsRequest.deserializeBinaryFromReader = function(msg,
|
|
|
38835
39369
|
var value = /** @type {string} */ (reader.readString());
|
|
38836
39370
|
msg.addAdditionalFields(value);
|
|
38837
39371
|
break;
|
|
39372
|
+
case 34:
|
|
39373
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
39374
|
+
msg.setShowReplicas(value);
|
|
39375
|
+
break;
|
|
38838
39376
|
case 10:
|
|
38839
39377
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
38840
39378
|
msg.setSortAscending(value);
|
|
@@ -38859,6 +39397,10 @@ proto.clarifai.api.ListModelsRequest.deserializeBinaryFromReader = function(msg,
|
|
|
38859
39397
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
38860
39398
|
msg.setSortByStarCount(value);
|
|
38861
39399
|
break;
|
|
39400
|
+
case 36:
|
|
39401
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
39402
|
+
msg.setSortByRelevance(value);
|
|
39403
|
+
break;
|
|
38862
39404
|
case 6:
|
|
38863
39405
|
var value = /** @type {string} */ (reader.readString());
|
|
38864
39406
|
msg.setModelTypeId(value);
|
|
@@ -38907,22 +39449,6 @@ proto.clarifai.api.ListModelsRequest.deserializeBinaryFromReader = function(msg,
|
|
|
38907
39449
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
38908
39450
|
msg.setBookmark(value);
|
|
38909
39451
|
break;
|
|
38910
|
-
case 27:
|
|
38911
|
-
var value = /** @type {string} */ (reader.readString());
|
|
38912
|
-
msg.setSearch(value);
|
|
38913
|
-
break;
|
|
38914
|
-
case 14:
|
|
38915
|
-
var value = /** @type {string} */ (reader.readString());
|
|
38916
|
-
msg.setQuery(value);
|
|
38917
|
-
break;
|
|
38918
|
-
case 5:
|
|
38919
|
-
var value = /** @type {string} */ (reader.readString());
|
|
38920
|
-
msg.setName(value);
|
|
38921
|
-
break;
|
|
38922
|
-
case 22:
|
|
38923
|
-
var value = /** @type {boolean} */ (reader.readBool());
|
|
38924
|
-
msg.setFilterByUserId(value);
|
|
38925
|
-
break;
|
|
38926
39452
|
case 28:
|
|
38927
39453
|
var value = /** @type {string} */ (reader.readString());
|
|
38928
39454
|
msg.addModelVersionIds(value);
|
|
@@ -38943,15 +39469,27 @@ proto.clarifai.api.ListModelsRequest.deserializeBinaryFromReader = function(msg,
|
|
|
38943
39469
|
var value = /** @type {number} */ (reader.readUint32());
|
|
38944
39470
|
msg.setMinReplicas(value);
|
|
38945
39471
|
break;
|
|
38946
|
-
case 34:
|
|
38947
|
-
var value = /** @type {boolean} */ (reader.readBool());
|
|
38948
|
-
msg.setShowReplicas(value);
|
|
38949
|
-
break;
|
|
38950
39472
|
case 35:
|
|
38951
39473
|
var value = new proto_clarifai_api_resources_pb.Visibility;
|
|
38952
39474
|
reader.readMessage(value,proto_clarifai_api_resources_pb.Visibility.deserializeBinaryFromReader);
|
|
38953
39475
|
msg.setVisibility(value);
|
|
38954
39476
|
break;
|
|
39477
|
+
case 27:
|
|
39478
|
+
var value = /** @type {string} */ (reader.readString());
|
|
39479
|
+
msg.setSearch(value);
|
|
39480
|
+
break;
|
|
39481
|
+
case 14:
|
|
39482
|
+
var value = /** @type {string} */ (reader.readString());
|
|
39483
|
+
msg.setQuery(value);
|
|
39484
|
+
break;
|
|
39485
|
+
case 5:
|
|
39486
|
+
var value = /** @type {string} */ (reader.readString());
|
|
39487
|
+
msg.setName(value);
|
|
39488
|
+
break;
|
|
39489
|
+
case 22:
|
|
39490
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
39491
|
+
msg.setFilterByUserId(value);
|
|
39492
|
+
break;
|
|
38955
39493
|
default:
|
|
38956
39494
|
reader.skipField();
|
|
38957
39495
|
break;
|
|
@@ -39010,6 +39548,13 @@ proto.clarifai.api.ListModelsRequest.serializeBinaryToWriter = function(message,
|
|
|
39010
39548
|
f
|
|
39011
39549
|
);
|
|
39012
39550
|
}
|
|
39551
|
+
f = message.getShowReplicas();
|
|
39552
|
+
if (f) {
|
|
39553
|
+
writer.writeBool(
|
|
39554
|
+
34,
|
|
39555
|
+
f
|
|
39556
|
+
);
|
|
39557
|
+
}
|
|
39013
39558
|
f = message.getSortAscending();
|
|
39014
39559
|
if (f) {
|
|
39015
39560
|
writer.writeBool(
|
|
@@ -39052,6 +39597,13 @@ proto.clarifai.api.ListModelsRequest.serializeBinaryToWriter = function(message,
|
|
|
39052
39597
|
f
|
|
39053
39598
|
);
|
|
39054
39599
|
}
|
|
39600
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 36));
|
|
39601
|
+
if (f != null) {
|
|
39602
|
+
writer.writeBool(
|
|
39603
|
+
36,
|
|
39604
|
+
f
|
|
39605
|
+
);
|
|
39606
|
+
}
|
|
39055
39607
|
f = message.getModelTypeId();
|
|
39056
39608
|
if (f.length > 0) {
|
|
39057
39609
|
writer.writeString(
|
|
@@ -39136,34 +39688,6 @@ proto.clarifai.api.ListModelsRequest.serializeBinaryToWriter = function(message,
|
|
|
39136
39688
|
f
|
|
39137
39689
|
);
|
|
39138
39690
|
}
|
|
39139
|
-
f = message.getSearch();
|
|
39140
|
-
if (f.length > 0) {
|
|
39141
|
-
writer.writeString(
|
|
39142
|
-
27,
|
|
39143
|
-
f
|
|
39144
|
-
);
|
|
39145
|
-
}
|
|
39146
|
-
f = message.getQuery();
|
|
39147
|
-
if (f.length > 0) {
|
|
39148
|
-
writer.writeString(
|
|
39149
|
-
14,
|
|
39150
|
-
f
|
|
39151
|
-
);
|
|
39152
|
-
}
|
|
39153
|
-
f = message.getName();
|
|
39154
|
-
if (f.length > 0) {
|
|
39155
|
-
writer.writeString(
|
|
39156
|
-
5,
|
|
39157
|
-
f
|
|
39158
|
-
);
|
|
39159
|
-
}
|
|
39160
|
-
f = message.getFilterByUserId();
|
|
39161
|
-
if (f) {
|
|
39162
|
-
writer.writeBool(
|
|
39163
|
-
22,
|
|
39164
|
-
f
|
|
39165
|
-
);
|
|
39166
|
-
}
|
|
39167
39691
|
f = message.getModelVersionIdsList();
|
|
39168
39692
|
if (f.length > 0) {
|
|
39169
39693
|
writer.writeRepeatedString(
|
|
@@ -39199,13 +39723,6 @@ proto.clarifai.api.ListModelsRequest.serializeBinaryToWriter = function(message,
|
|
|
39199
39723
|
f
|
|
39200
39724
|
);
|
|
39201
39725
|
}
|
|
39202
|
-
f = message.getShowReplicas();
|
|
39203
|
-
if (f) {
|
|
39204
|
-
writer.writeBool(
|
|
39205
|
-
34,
|
|
39206
|
-
f
|
|
39207
|
-
);
|
|
39208
|
-
}
|
|
39209
39726
|
f = message.getVisibility();
|
|
39210
39727
|
if (f != null) {
|
|
39211
39728
|
writer.writeMessage(
|
|
@@ -39214,6 +39731,34 @@ proto.clarifai.api.ListModelsRequest.serializeBinaryToWriter = function(message,
|
|
|
39214
39731
|
proto_clarifai_api_resources_pb.Visibility.serializeBinaryToWriter
|
|
39215
39732
|
);
|
|
39216
39733
|
}
|
|
39734
|
+
f = message.getSearch();
|
|
39735
|
+
if (f.length > 0) {
|
|
39736
|
+
writer.writeString(
|
|
39737
|
+
27,
|
|
39738
|
+
f
|
|
39739
|
+
);
|
|
39740
|
+
}
|
|
39741
|
+
f = message.getQuery();
|
|
39742
|
+
if (f.length > 0) {
|
|
39743
|
+
writer.writeString(
|
|
39744
|
+
14,
|
|
39745
|
+
f
|
|
39746
|
+
);
|
|
39747
|
+
}
|
|
39748
|
+
f = message.getName();
|
|
39749
|
+
if (f.length > 0) {
|
|
39750
|
+
writer.writeString(
|
|
39751
|
+
5,
|
|
39752
|
+
f
|
|
39753
|
+
);
|
|
39754
|
+
}
|
|
39755
|
+
f = message.getFilterByUserId();
|
|
39756
|
+
if (f) {
|
|
39757
|
+
writer.writeBool(
|
|
39758
|
+
22,
|
|
39759
|
+
f
|
|
39760
|
+
);
|
|
39761
|
+
}
|
|
39217
39762
|
};
|
|
39218
39763
|
|
|
39219
39764
|
|
|
@@ -39327,6 +39872,24 @@ proto.clarifai.api.ListModelsRequest.prototype.clearAdditionalFieldsList = funct
|
|
|
39327
39872
|
};
|
|
39328
39873
|
|
|
39329
39874
|
|
|
39875
|
+
/**
|
|
39876
|
+
* optional bool show_replicas = 34;
|
|
39877
|
+
* @return {boolean}
|
|
39878
|
+
*/
|
|
39879
|
+
proto.clarifai.api.ListModelsRequest.prototype.getShowReplicas = function() {
|
|
39880
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 34, false));
|
|
39881
|
+
};
|
|
39882
|
+
|
|
39883
|
+
|
|
39884
|
+
/**
|
|
39885
|
+
* @param {boolean} value
|
|
39886
|
+
* @return {!proto.clarifai.api.ListModelsRequest} returns this
|
|
39887
|
+
*/
|
|
39888
|
+
proto.clarifai.api.ListModelsRequest.prototype.setShowReplicas = function(value) {
|
|
39889
|
+
return jspb.Message.setProto3BooleanField(this, 34, value);
|
|
39890
|
+
};
|
|
39891
|
+
|
|
39892
|
+
|
|
39330
39893
|
/**
|
|
39331
39894
|
* optional bool sort_ascending = 10;
|
|
39332
39895
|
* @return {boolean}
|
|
@@ -39525,6 +40088,42 @@ proto.clarifai.api.ListModelsRequest.prototype.hasSortByStarCount = function() {
|
|
|
39525
40088
|
};
|
|
39526
40089
|
|
|
39527
40090
|
|
|
40091
|
+
/**
|
|
40092
|
+
* optional bool sort_by_relevance = 36;
|
|
40093
|
+
* @return {boolean}
|
|
40094
|
+
*/
|
|
40095
|
+
proto.clarifai.api.ListModelsRequest.prototype.getSortByRelevance = function() {
|
|
40096
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 36, false));
|
|
40097
|
+
};
|
|
40098
|
+
|
|
40099
|
+
|
|
40100
|
+
/**
|
|
40101
|
+
* @param {boolean} value
|
|
40102
|
+
* @return {!proto.clarifai.api.ListModelsRequest} returns this
|
|
40103
|
+
*/
|
|
40104
|
+
proto.clarifai.api.ListModelsRequest.prototype.setSortByRelevance = function(value) {
|
|
40105
|
+
return jspb.Message.setOneofField(this, 36, proto.clarifai.api.ListModelsRequest.oneofGroups_[0], value);
|
|
40106
|
+
};
|
|
40107
|
+
|
|
40108
|
+
|
|
40109
|
+
/**
|
|
40110
|
+
* Clears the field making it undefined.
|
|
40111
|
+
* @return {!proto.clarifai.api.ListModelsRequest} returns this
|
|
40112
|
+
*/
|
|
40113
|
+
proto.clarifai.api.ListModelsRequest.prototype.clearSortByRelevance = function() {
|
|
40114
|
+
return jspb.Message.setOneofField(this, 36, proto.clarifai.api.ListModelsRequest.oneofGroups_[0], undefined);
|
|
40115
|
+
};
|
|
40116
|
+
|
|
40117
|
+
|
|
40118
|
+
/**
|
|
40119
|
+
* Returns whether this field is set.
|
|
40120
|
+
* @return {boolean}
|
|
40121
|
+
*/
|
|
40122
|
+
proto.clarifai.api.ListModelsRequest.prototype.hasSortByRelevance = function() {
|
|
40123
|
+
return jspb.Message.getField(this, 36) != null;
|
|
40124
|
+
};
|
|
40125
|
+
|
|
40126
|
+
|
|
39528
40127
|
/**
|
|
39529
40128
|
* optional string model_type_id = 6;
|
|
39530
40129
|
* @return {string}
|
|
@@ -39836,78 +40435,6 @@ proto.clarifai.api.ListModelsRequest.prototype.setBookmark = function(value) {
|
|
|
39836
40435
|
};
|
|
39837
40436
|
|
|
39838
40437
|
|
|
39839
|
-
/**
|
|
39840
|
-
* optional string search = 27;
|
|
39841
|
-
* @return {string}
|
|
39842
|
-
*/
|
|
39843
|
-
proto.clarifai.api.ListModelsRequest.prototype.getSearch = function() {
|
|
39844
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 27, ""));
|
|
39845
|
-
};
|
|
39846
|
-
|
|
39847
|
-
|
|
39848
|
-
/**
|
|
39849
|
-
* @param {string} value
|
|
39850
|
-
* @return {!proto.clarifai.api.ListModelsRequest} returns this
|
|
39851
|
-
*/
|
|
39852
|
-
proto.clarifai.api.ListModelsRequest.prototype.setSearch = function(value) {
|
|
39853
|
-
return jspb.Message.setProto3StringField(this, 27, value);
|
|
39854
|
-
};
|
|
39855
|
-
|
|
39856
|
-
|
|
39857
|
-
/**
|
|
39858
|
-
* optional string query = 14;
|
|
39859
|
-
* @return {string}
|
|
39860
|
-
*/
|
|
39861
|
-
proto.clarifai.api.ListModelsRequest.prototype.getQuery = function() {
|
|
39862
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
|
|
39863
|
-
};
|
|
39864
|
-
|
|
39865
|
-
|
|
39866
|
-
/**
|
|
39867
|
-
* @param {string} value
|
|
39868
|
-
* @return {!proto.clarifai.api.ListModelsRequest} returns this
|
|
39869
|
-
*/
|
|
39870
|
-
proto.clarifai.api.ListModelsRequest.prototype.setQuery = function(value) {
|
|
39871
|
-
return jspb.Message.setProto3StringField(this, 14, value);
|
|
39872
|
-
};
|
|
39873
|
-
|
|
39874
|
-
|
|
39875
|
-
/**
|
|
39876
|
-
* optional string name = 5;
|
|
39877
|
-
* @return {string}
|
|
39878
|
-
*/
|
|
39879
|
-
proto.clarifai.api.ListModelsRequest.prototype.getName = function() {
|
|
39880
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
39881
|
-
};
|
|
39882
|
-
|
|
39883
|
-
|
|
39884
|
-
/**
|
|
39885
|
-
* @param {string} value
|
|
39886
|
-
* @return {!proto.clarifai.api.ListModelsRequest} returns this
|
|
39887
|
-
*/
|
|
39888
|
-
proto.clarifai.api.ListModelsRequest.prototype.setName = function(value) {
|
|
39889
|
-
return jspb.Message.setProto3StringField(this, 5, value);
|
|
39890
|
-
};
|
|
39891
|
-
|
|
39892
|
-
|
|
39893
|
-
/**
|
|
39894
|
-
* optional bool filter_by_user_id = 22;
|
|
39895
|
-
* @return {boolean}
|
|
39896
|
-
*/
|
|
39897
|
-
proto.clarifai.api.ListModelsRequest.prototype.getFilterByUserId = function() {
|
|
39898
|
-
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 22, false));
|
|
39899
|
-
};
|
|
39900
|
-
|
|
39901
|
-
|
|
39902
|
-
/**
|
|
39903
|
-
* @param {boolean} value
|
|
39904
|
-
* @return {!proto.clarifai.api.ListModelsRequest} returns this
|
|
39905
|
-
*/
|
|
39906
|
-
proto.clarifai.api.ListModelsRequest.prototype.setFilterByUserId = function(value) {
|
|
39907
|
-
return jspb.Message.setProto3BooleanField(this, 22, value);
|
|
39908
|
-
};
|
|
39909
|
-
|
|
39910
|
-
|
|
39911
40438
|
/**
|
|
39912
40439
|
* repeated string model_version_ids = 28;
|
|
39913
40440
|
* @return {!Array<string>}
|
|
@@ -40017,24 +40544,6 @@ proto.clarifai.api.ListModelsRequest.prototype.setMinReplicas = function(value)
|
|
|
40017
40544
|
};
|
|
40018
40545
|
|
|
40019
40546
|
|
|
40020
|
-
/**
|
|
40021
|
-
* optional bool show_replicas = 34;
|
|
40022
|
-
* @return {boolean}
|
|
40023
|
-
*/
|
|
40024
|
-
proto.clarifai.api.ListModelsRequest.prototype.getShowReplicas = function() {
|
|
40025
|
-
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 34, false));
|
|
40026
|
-
};
|
|
40027
|
-
|
|
40028
|
-
|
|
40029
|
-
/**
|
|
40030
|
-
* @param {boolean} value
|
|
40031
|
-
* @return {!proto.clarifai.api.ListModelsRequest} returns this
|
|
40032
|
-
*/
|
|
40033
|
-
proto.clarifai.api.ListModelsRequest.prototype.setShowReplicas = function(value) {
|
|
40034
|
-
return jspb.Message.setProto3BooleanField(this, 34, value);
|
|
40035
|
-
};
|
|
40036
|
-
|
|
40037
|
-
|
|
40038
40547
|
/**
|
|
40039
40548
|
* optional Visibility visibility = 35;
|
|
40040
40549
|
* @return {?proto.clarifai.api.Visibility}
|
|
@@ -40072,6 +40581,78 @@ proto.clarifai.api.ListModelsRequest.prototype.hasVisibility = function() {
|
|
|
40072
40581
|
};
|
|
40073
40582
|
|
|
40074
40583
|
|
|
40584
|
+
/**
|
|
40585
|
+
* optional string search = 27;
|
|
40586
|
+
* @return {string}
|
|
40587
|
+
*/
|
|
40588
|
+
proto.clarifai.api.ListModelsRequest.prototype.getSearch = function() {
|
|
40589
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 27, ""));
|
|
40590
|
+
};
|
|
40591
|
+
|
|
40592
|
+
|
|
40593
|
+
/**
|
|
40594
|
+
* @param {string} value
|
|
40595
|
+
* @return {!proto.clarifai.api.ListModelsRequest} returns this
|
|
40596
|
+
*/
|
|
40597
|
+
proto.clarifai.api.ListModelsRequest.prototype.setSearch = function(value) {
|
|
40598
|
+
return jspb.Message.setProto3StringField(this, 27, value);
|
|
40599
|
+
};
|
|
40600
|
+
|
|
40601
|
+
|
|
40602
|
+
/**
|
|
40603
|
+
* optional string query = 14;
|
|
40604
|
+
* @return {string}
|
|
40605
|
+
*/
|
|
40606
|
+
proto.clarifai.api.ListModelsRequest.prototype.getQuery = function() {
|
|
40607
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
|
|
40608
|
+
};
|
|
40609
|
+
|
|
40610
|
+
|
|
40611
|
+
/**
|
|
40612
|
+
* @param {string} value
|
|
40613
|
+
* @return {!proto.clarifai.api.ListModelsRequest} returns this
|
|
40614
|
+
*/
|
|
40615
|
+
proto.clarifai.api.ListModelsRequest.prototype.setQuery = function(value) {
|
|
40616
|
+
return jspb.Message.setProto3StringField(this, 14, value);
|
|
40617
|
+
};
|
|
40618
|
+
|
|
40619
|
+
|
|
40620
|
+
/**
|
|
40621
|
+
* optional string name = 5;
|
|
40622
|
+
* @return {string}
|
|
40623
|
+
*/
|
|
40624
|
+
proto.clarifai.api.ListModelsRequest.prototype.getName = function() {
|
|
40625
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
40626
|
+
};
|
|
40627
|
+
|
|
40628
|
+
|
|
40629
|
+
/**
|
|
40630
|
+
* @param {string} value
|
|
40631
|
+
* @return {!proto.clarifai.api.ListModelsRequest} returns this
|
|
40632
|
+
*/
|
|
40633
|
+
proto.clarifai.api.ListModelsRequest.prototype.setName = function(value) {
|
|
40634
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
40635
|
+
};
|
|
40636
|
+
|
|
40637
|
+
|
|
40638
|
+
/**
|
|
40639
|
+
* optional bool filter_by_user_id = 22;
|
|
40640
|
+
* @return {boolean}
|
|
40641
|
+
*/
|
|
40642
|
+
proto.clarifai.api.ListModelsRequest.prototype.getFilterByUserId = function() {
|
|
40643
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 22, false));
|
|
40644
|
+
};
|
|
40645
|
+
|
|
40646
|
+
|
|
40647
|
+
/**
|
|
40648
|
+
* @param {boolean} value
|
|
40649
|
+
* @return {!proto.clarifai.api.ListModelsRequest} returns this
|
|
40650
|
+
*/
|
|
40651
|
+
proto.clarifai.api.ListModelsRequest.prototype.setFilterByUserId = function(value) {
|
|
40652
|
+
return jspb.Message.setProto3BooleanField(this, 22, value);
|
|
40653
|
+
};
|
|
40654
|
+
|
|
40655
|
+
|
|
40075
40656
|
|
|
40076
40657
|
|
|
40077
40658
|
|
|
@@ -44993,12 +45574,12 @@ proto.clarifai.api.ListModelVersionsRequest.toObject = function(includeInstance,
|
|
|
44993
45574
|
perPage: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
44994
45575
|
conceptIdsList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f,
|
|
44995
45576
|
trainedOnly: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
|
|
45577
|
+
minReplicas: jspb.Message.getFieldWithDefault(msg, 12, 0),
|
|
44996
45578
|
sortAscending: jspb.Message.getBooleanFieldWithDefault(msg, 7, false),
|
|
44997
45579
|
sortByStatusCode: jspb.Message.getBooleanFieldWithDefault(msg, 8, false),
|
|
44998
45580
|
sortByNumInputs: jspb.Message.getBooleanFieldWithDefault(msg, 9, false),
|
|
44999
45581
|
sortByDescription: jspb.Message.getBooleanFieldWithDefault(msg, 10, false),
|
|
45000
|
-
sortByCreatedAt: jspb.Message.getBooleanFieldWithDefault(msg, 11, false)
|
|
45001
|
-
minReplicas: jspb.Message.getFieldWithDefault(msg, 12, 0)
|
|
45582
|
+
sortByCreatedAt: jspb.Message.getBooleanFieldWithDefault(msg, 11, false)
|
|
45002
45583
|
};
|
|
45003
45584
|
|
|
45004
45585
|
if (includeInstance) {
|
|
@@ -45060,6 +45641,10 @@ proto.clarifai.api.ListModelVersionsRequest.deserializeBinaryFromReader = functi
|
|
|
45060
45641
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
45061
45642
|
msg.setTrainedOnly(value);
|
|
45062
45643
|
break;
|
|
45644
|
+
case 12:
|
|
45645
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
45646
|
+
msg.setMinReplicas(value);
|
|
45647
|
+
break;
|
|
45063
45648
|
case 7:
|
|
45064
45649
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
45065
45650
|
msg.setSortAscending(value);
|
|
@@ -45080,10 +45665,6 @@ proto.clarifai.api.ListModelVersionsRequest.deserializeBinaryFromReader = functi
|
|
|
45080
45665
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
45081
45666
|
msg.setSortByCreatedAt(value);
|
|
45082
45667
|
break;
|
|
45083
|
-
case 12:
|
|
45084
|
-
var value = /** @type {number} */ (reader.readUint32());
|
|
45085
|
-
msg.setMinReplicas(value);
|
|
45086
|
-
break;
|
|
45087
45668
|
default:
|
|
45088
45669
|
reader.skipField();
|
|
45089
45670
|
break;
|
|
@@ -45156,6 +45737,13 @@ proto.clarifai.api.ListModelVersionsRequest.serializeBinaryToWriter = function(m
|
|
|
45156
45737
|
f
|
|
45157
45738
|
);
|
|
45158
45739
|
}
|
|
45740
|
+
f = message.getMinReplicas();
|
|
45741
|
+
if (f !== 0) {
|
|
45742
|
+
writer.writeUint32(
|
|
45743
|
+
12,
|
|
45744
|
+
f
|
|
45745
|
+
);
|
|
45746
|
+
}
|
|
45159
45747
|
f = message.getSortAscending();
|
|
45160
45748
|
if (f) {
|
|
45161
45749
|
writer.writeBool(
|
|
@@ -45191,13 +45779,6 @@ proto.clarifai.api.ListModelVersionsRequest.serializeBinaryToWriter = function(m
|
|
|
45191
45779
|
f
|
|
45192
45780
|
);
|
|
45193
45781
|
}
|
|
45194
|
-
f = message.getMinReplicas();
|
|
45195
|
-
if (f !== 0) {
|
|
45196
|
-
writer.writeUint32(
|
|
45197
|
-
12,
|
|
45198
|
-
f
|
|
45199
|
-
);
|
|
45200
|
-
}
|
|
45201
45782
|
};
|
|
45202
45783
|
|
|
45203
45784
|
|
|
@@ -45347,6 +45928,24 @@ proto.clarifai.api.ListModelVersionsRequest.prototype.setTrainedOnly = function(
|
|
|
45347
45928
|
};
|
|
45348
45929
|
|
|
45349
45930
|
|
|
45931
|
+
/**
|
|
45932
|
+
* optional uint32 min_replicas = 12;
|
|
45933
|
+
* @return {number}
|
|
45934
|
+
*/
|
|
45935
|
+
proto.clarifai.api.ListModelVersionsRequest.prototype.getMinReplicas = function() {
|
|
45936
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 12, 0));
|
|
45937
|
+
};
|
|
45938
|
+
|
|
45939
|
+
|
|
45940
|
+
/**
|
|
45941
|
+
* @param {number} value
|
|
45942
|
+
* @return {!proto.clarifai.api.ListModelVersionsRequest} returns this
|
|
45943
|
+
*/
|
|
45944
|
+
proto.clarifai.api.ListModelVersionsRequest.prototype.setMinReplicas = function(value) {
|
|
45945
|
+
return jspb.Message.setProto3IntField(this, 12, value);
|
|
45946
|
+
};
|
|
45947
|
+
|
|
45948
|
+
|
|
45350
45949
|
/**
|
|
45351
45950
|
* optional bool sort_ascending = 7;
|
|
45352
45951
|
* @return {boolean}
|
|
@@ -45509,24 +46108,6 @@ proto.clarifai.api.ListModelVersionsRequest.prototype.hasSortByCreatedAt = funct
|
|
|
45509
46108
|
};
|
|
45510
46109
|
|
|
45511
46110
|
|
|
45512
|
-
/**
|
|
45513
|
-
* optional uint32 min_replicas = 12;
|
|
45514
|
-
* @return {number}
|
|
45515
|
-
*/
|
|
45516
|
-
proto.clarifai.api.ListModelVersionsRequest.prototype.getMinReplicas = function() {
|
|
45517
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 12, 0));
|
|
45518
|
-
};
|
|
45519
|
-
|
|
45520
|
-
|
|
45521
|
-
/**
|
|
45522
|
-
* @param {number} value
|
|
45523
|
-
* @return {!proto.clarifai.api.ListModelVersionsRequest} returns this
|
|
45524
|
-
*/
|
|
45525
|
-
proto.clarifai.api.ListModelVersionsRequest.prototype.setMinReplicas = function(value) {
|
|
45526
|
-
return jspb.Message.setProto3IntField(this, 12, value);
|
|
45527
|
-
};
|
|
45528
|
-
|
|
45529
|
-
|
|
45530
46111
|
|
|
45531
46112
|
|
|
45532
46113
|
|
|
@@ -64103,7 +64684,7 @@ proto.clarifai.api.ListWorkflowsRequest.repeatedFields_ = [10];
|
|
|
64103
64684
|
* @private {!Array<!Array<number>>}
|
|
64104
64685
|
* @const
|
|
64105
64686
|
*/
|
|
64106
|
-
proto.clarifai.api.ListWorkflowsRequest.oneofGroups_ = [[6,7,13,14]];
|
|
64687
|
+
proto.clarifai.api.ListWorkflowsRequest.oneofGroups_ = [[6,7,13,14,18]];
|
|
64107
64688
|
|
|
64108
64689
|
/**
|
|
64109
64690
|
* @enum {number}
|
|
@@ -64113,7 +64694,8 @@ proto.clarifai.api.ListWorkflowsRequest.SortByCase = {
|
|
|
64113
64694
|
SORT_BY_ID: 6,
|
|
64114
64695
|
SORT_BY_MODIFIED_AT: 7,
|
|
64115
64696
|
SORT_BY_CREATED_AT: 13,
|
|
64116
|
-
SORT_BY_STAR_COUNT: 14
|
|
64697
|
+
SORT_BY_STAR_COUNT: 14,
|
|
64698
|
+
SORT_BY_RELEVANCE: 18
|
|
64117
64699
|
};
|
|
64118
64700
|
|
|
64119
64701
|
/**
|
|
@@ -64163,6 +64745,7 @@ proto.clarifai.api.ListWorkflowsRequest.toObject = function(includeInstance, msg
|
|
|
64163
64745
|
sortByModifiedAt: jspb.Message.getBooleanFieldWithDefault(msg, 7, false),
|
|
64164
64746
|
sortByCreatedAt: jspb.Message.getBooleanFieldWithDefault(msg, 13, false),
|
|
64165
64747
|
sortByStarCount: jspb.Message.getBooleanFieldWithDefault(msg, 14, false),
|
|
64748
|
+
sortByRelevance: jspb.Message.getBooleanFieldWithDefault(msg, 18, false),
|
|
64166
64749
|
featuredOnly: jspb.Message.getBooleanFieldWithDefault(msg, 9, false),
|
|
64167
64750
|
starredOnly: jspb.Message.getBooleanFieldWithDefault(msg, 11, false),
|
|
64168
64751
|
bookmark: jspb.Message.getBooleanFieldWithDefault(msg, 15, false),
|
|
@@ -64244,6 +64827,10 @@ proto.clarifai.api.ListWorkflowsRequest.deserializeBinaryFromReader = function(m
|
|
|
64244
64827
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
64245
64828
|
msg.setSortByStarCount(value);
|
|
64246
64829
|
break;
|
|
64830
|
+
case 18:
|
|
64831
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
64832
|
+
msg.setSortByRelevance(value);
|
|
64833
|
+
break;
|
|
64247
64834
|
case 9:
|
|
64248
64835
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
64249
64836
|
msg.setFeaturedOnly(value);
|
|
@@ -64370,6 +64957,13 @@ proto.clarifai.api.ListWorkflowsRequest.serializeBinaryToWriter = function(messa
|
|
|
64370
64957
|
f
|
|
64371
64958
|
);
|
|
64372
64959
|
}
|
|
64960
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 18));
|
|
64961
|
+
if (f != null) {
|
|
64962
|
+
writer.writeBool(
|
|
64963
|
+
18,
|
|
64964
|
+
f
|
|
64965
|
+
);
|
|
64966
|
+
}
|
|
64373
64967
|
f = message.getFeaturedOnly();
|
|
64374
64968
|
if (f) {
|
|
64375
64969
|
writer.writeBool(
|
|
@@ -64702,6 +65296,42 @@ proto.clarifai.api.ListWorkflowsRequest.prototype.hasSortByStarCount = function(
|
|
|
64702
65296
|
};
|
|
64703
65297
|
|
|
64704
65298
|
|
|
65299
|
+
/**
|
|
65300
|
+
* optional bool sort_by_relevance = 18;
|
|
65301
|
+
* @return {boolean}
|
|
65302
|
+
*/
|
|
65303
|
+
proto.clarifai.api.ListWorkflowsRequest.prototype.getSortByRelevance = function() {
|
|
65304
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 18, false));
|
|
65305
|
+
};
|
|
65306
|
+
|
|
65307
|
+
|
|
65308
|
+
/**
|
|
65309
|
+
* @param {boolean} value
|
|
65310
|
+
* @return {!proto.clarifai.api.ListWorkflowsRequest} returns this
|
|
65311
|
+
*/
|
|
65312
|
+
proto.clarifai.api.ListWorkflowsRequest.prototype.setSortByRelevance = function(value) {
|
|
65313
|
+
return jspb.Message.setOneofField(this, 18, proto.clarifai.api.ListWorkflowsRequest.oneofGroups_[0], value);
|
|
65314
|
+
};
|
|
65315
|
+
|
|
65316
|
+
|
|
65317
|
+
/**
|
|
65318
|
+
* Clears the field making it undefined.
|
|
65319
|
+
* @return {!proto.clarifai.api.ListWorkflowsRequest} returns this
|
|
65320
|
+
*/
|
|
65321
|
+
proto.clarifai.api.ListWorkflowsRequest.prototype.clearSortByRelevance = function() {
|
|
65322
|
+
return jspb.Message.setOneofField(this, 18, proto.clarifai.api.ListWorkflowsRequest.oneofGroups_[0], undefined);
|
|
65323
|
+
};
|
|
65324
|
+
|
|
65325
|
+
|
|
65326
|
+
/**
|
|
65327
|
+
* Returns whether this field is set.
|
|
65328
|
+
* @return {boolean}
|
|
65329
|
+
*/
|
|
65330
|
+
proto.clarifai.api.ListWorkflowsRequest.prototype.hasSortByRelevance = function() {
|
|
65331
|
+
return jspb.Message.getField(this, 18) != null;
|
|
65332
|
+
};
|
|
65333
|
+
|
|
65334
|
+
|
|
64705
65335
|
/**
|
|
64706
65336
|
* optional bool featured_only = 9;
|
|
64707
65337
|
* @return {boolean}
|
|
@@ -76070,7 +76700,7 @@ proto.clarifai.api.ListModulesRequest.repeatedFields_ = [5];
|
|
|
76070
76700
|
* @private {!Array<!Array<number>>}
|
|
76071
76701
|
* @const
|
|
76072
76702
|
*/
|
|
76073
|
-
proto.clarifai.api.ListModulesRequest.oneofGroups_ = [[7,8,9,11]];
|
|
76703
|
+
proto.clarifai.api.ListModulesRequest.oneofGroups_ = [[7,8,9,11,16]];
|
|
76074
76704
|
|
|
76075
76705
|
/**
|
|
76076
76706
|
* @enum {number}
|
|
@@ -76080,7 +76710,8 @@ proto.clarifai.api.ListModulesRequest.SortByCase = {
|
|
|
76080
76710
|
SORT_BY_CREATED_AT: 7,
|
|
76081
76711
|
SORT_BY_STAR_COUNT: 8,
|
|
76082
76712
|
SORT_BY_MODIFIED_AT: 9,
|
|
76083
|
-
SORT_BY_ID: 11
|
|
76713
|
+
SORT_BY_ID: 11,
|
|
76714
|
+
SORT_BY_RELEVANCE: 16
|
|
76084
76715
|
};
|
|
76085
76716
|
|
|
76086
76717
|
/**
|
|
@@ -76130,6 +76761,7 @@ proto.clarifai.api.ListModulesRequest.toObject = function(includeInstance, msg)
|
|
|
76130
76761
|
sortByStarCount: jspb.Message.getBooleanFieldWithDefault(msg, 8, false),
|
|
76131
76762
|
sortByModifiedAt: jspb.Message.getBooleanFieldWithDefault(msg, 9, false),
|
|
76132
76763
|
sortById: jspb.Message.getBooleanFieldWithDefault(msg, 11, false),
|
|
76764
|
+
sortByRelevance: jspb.Message.getBooleanFieldWithDefault(msg, 16, false),
|
|
76133
76765
|
starredOnly: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
|
|
76134
76766
|
bookmark: jspb.Message.getBooleanFieldWithDefault(msg, 10, false),
|
|
76135
76767
|
search: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
@@ -76209,6 +76841,10 @@ proto.clarifai.api.ListModulesRequest.deserializeBinaryFromReader = function(msg
|
|
|
76209
76841
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
76210
76842
|
msg.setSortById(value);
|
|
76211
76843
|
break;
|
|
76844
|
+
case 16:
|
|
76845
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
76846
|
+
msg.setSortByRelevance(value);
|
|
76847
|
+
break;
|
|
76212
76848
|
case 4:
|
|
76213
76849
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
76214
76850
|
msg.setStarredOnly(value);
|
|
@@ -76327,6 +76963,13 @@ proto.clarifai.api.ListModulesRequest.serializeBinaryToWriter = function(message
|
|
|
76327
76963
|
f
|
|
76328
76964
|
);
|
|
76329
76965
|
}
|
|
76966
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 16));
|
|
76967
|
+
if (f != null) {
|
|
76968
|
+
writer.writeBool(
|
|
76969
|
+
16,
|
|
76970
|
+
f
|
|
76971
|
+
);
|
|
76972
|
+
}
|
|
76330
76973
|
f = message.getStarredOnly();
|
|
76331
76974
|
if (f) {
|
|
76332
76975
|
writer.writeBool(
|
|
@@ -76645,6 +77288,42 @@ proto.clarifai.api.ListModulesRequest.prototype.hasSortById = function() {
|
|
|
76645
77288
|
};
|
|
76646
77289
|
|
|
76647
77290
|
|
|
77291
|
+
/**
|
|
77292
|
+
* optional bool sort_by_relevance = 16;
|
|
77293
|
+
* @return {boolean}
|
|
77294
|
+
*/
|
|
77295
|
+
proto.clarifai.api.ListModulesRequest.prototype.getSortByRelevance = function() {
|
|
77296
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 16, false));
|
|
77297
|
+
};
|
|
77298
|
+
|
|
77299
|
+
|
|
77300
|
+
/**
|
|
77301
|
+
* @param {boolean} value
|
|
77302
|
+
* @return {!proto.clarifai.api.ListModulesRequest} returns this
|
|
77303
|
+
*/
|
|
77304
|
+
proto.clarifai.api.ListModulesRequest.prototype.setSortByRelevance = function(value) {
|
|
77305
|
+
return jspb.Message.setOneofField(this, 16, proto.clarifai.api.ListModulesRequest.oneofGroups_[0], value);
|
|
77306
|
+
};
|
|
77307
|
+
|
|
77308
|
+
|
|
77309
|
+
/**
|
|
77310
|
+
* Clears the field making it undefined.
|
|
77311
|
+
* @return {!proto.clarifai.api.ListModulesRequest} returns this
|
|
77312
|
+
*/
|
|
77313
|
+
proto.clarifai.api.ListModulesRequest.prototype.clearSortByRelevance = function() {
|
|
77314
|
+
return jspb.Message.setOneofField(this, 16, proto.clarifai.api.ListModulesRequest.oneofGroups_[0], undefined);
|
|
77315
|
+
};
|
|
77316
|
+
|
|
77317
|
+
|
|
77318
|
+
/**
|
|
77319
|
+
* Returns whether this field is set.
|
|
77320
|
+
* @return {boolean}
|
|
77321
|
+
*/
|
|
77322
|
+
proto.clarifai.api.ListModulesRequest.prototype.hasSortByRelevance = function() {
|
|
77323
|
+
return jspb.Message.getField(this, 16) != null;
|
|
77324
|
+
};
|
|
77325
|
+
|
|
77326
|
+
|
|
76648
77327
|
/**
|
|
76649
77328
|
* optional bool starred_only = 4;
|
|
76650
77329
|
* @return {boolean}
|