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
|
@@ -401,6 +401,7 @@ goog.exportSymbol('proto.clarifai.api.PostSecretsRequest', null, global);
|
|
|
401
401
|
goog.exportSymbol('proto.clarifai.api.PostStatValuesAggregateRequest', null, global);
|
|
402
402
|
goog.exportSymbol('proto.clarifai.api.PostStatValuesRequest', null, global);
|
|
403
403
|
goog.exportSymbol('proto.clarifai.api.PostTasksRequest', null, global);
|
|
404
|
+
goog.exportSymbol('proto.clarifai.api.PostTrackAnnotationsSearchesRequest', null, global);
|
|
404
405
|
goog.exportSymbol('proto.clarifai.api.PostUploadsRequest', null, global);
|
|
405
406
|
goog.exportSymbol('proto.clarifai.api.PostValidatePasswordRequest', null, global);
|
|
406
407
|
goog.exportSymbol('proto.clarifai.api.PostWorkflowResultsRequest', null, global);
|
|
@@ -539,6 +540,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
539
540
|
*/
|
|
540
541
|
proto.clarifai.api.ListAnnotationsRequest.displayName = 'proto.clarifai.api.ListAnnotationsRequest';
|
|
541
542
|
}
|
|
543
|
+
/**
|
|
544
|
+
* Generated by JsPbCodeGenerator.
|
|
545
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
546
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
547
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
548
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
549
|
+
* valid.
|
|
550
|
+
* @extends {jspb.Message}
|
|
551
|
+
* @constructor
|
|
552
|
+
*/
|
|
553
|
+
proto.clarifai.api.PostTrackAnnotationsSearchesRequest = function (opt_data) {
|
|
554
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
555
|
+
};
|
|
556
|
+
goog.inherits(proto.clarifai.api.PostTrackAnnotationsSearchesRequest, jspb.Message);
|
|
557
|
+
if (goog.DEBUG && !COMPILED) {
|
|
558
|
+
/**
|
|
559
|
+
* @public
|
|
560
|
+
* @override
|
|
561
|
+
*/
|
|
562
|
+
proto.clarifai.api.PostTrackAnnotationsSearchesRequest.displayName = 'proto.clarifai.api.PostTrackAnnotationsSearchesRequest';
|
|
563
|
+
}
|
|
542
564
|
/**
|
|
543
565
|
* Generated by JsPbCodeGenerator.
|
|
544
566
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -10129,6 +10151,327 @@ proto.clarifai.api.ListAnnotationsRequest.prototype.getTaskId = function () {
|
|
|
10129
10151
|
proto.clarifai.api.ListAnnotationsRequest.prototype.setTaskId = function (value) {
|
|
10130
10152
|
return jspb.Message.setProto3StringField(this, 11, value);
|
|
10131
10153
|
};
|
|
10154
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
10155
|
+
/**
|
|
10156
|
+
* Creates an object representation of this proto.
|
|
10157
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
10158
|
+
* Optional fields that are not set will be set to undefined.
|
|
10159
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
10160
|
+
* For the list of reserved names please see:
|
|
10161
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
10162
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
10163
|
+
* JSPB instance for transitional soy proto support:
|
|
10164
|
+
* http://goto/soy-param-migration
|
|
10165
|
+
* @return {!Object}
|
|
10166
|
+
*/
|
|
10167
|
+
proto.clarifai.api.PostTrackAnnotationsSearchesRequest.prototype.toObject = function (opt_includeInstance) {
|
|
10168
|
+
return proto.clarifai.api.PostTrackAnnotationsSearchesRequest.toObject(opt_includeInstance, this);
|
|
10169
|
+
};
|
|
10170
|
+
/**
|
|
10171
|
+
* Static version of the {@see toObject} method.
|
|
10172
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
10173
|
+
* the JSPB instance for transitional soy proto support:
|
|
10174
|
+
* http://goto/soy-param-migration
|
|
10175
|
+
* @param {!proto.clarifai.api.PostTrackAnnotationsSearchesRequest} msg The msg instance to transform.
|
|
10176
|
+
* @return {!Object}
|
|
10177
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10178
|
+
*/
|
|
10179
|
+
proto.clarifai.api.PostTrackAnnotationsSearchesRequest.toObject = function (includeInstance, msg) {
|
|
10180
|
+
var f, obj = {
|
|
10181
|
+
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
10182
|
+
inputId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
10183
|
+
trackId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
10184
|
+
frameNumberStart: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
10185
|
+
frameTimeStart: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
10186
|
+
annotationType: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
10187
|
+
maxFrames: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
|
10188
|
+
maxDuration: jspb.Message.getFieldWithDefault(msg, 8, 0),
|
|
10189
|
+
worker: (f = msg.getWorker()) && proto_clarifai_api_resources_pb.Worker.toObject(includeInstance, f)
|
|
10190
|
+
};
|
|
10191
|
+
if (includeInstance) {
|
|
10192
|
+
obj.$jspbMessageInstance = msg;
|
|
10193
|
+
}
|
|
10194
|
+
return obj;
|
|
10195
|
+
};
|
|
10196
|
+
}
|
|
10197
|
+
/**
|
|
10198
|
+
* Deserializes binary data (in protobuf wire format).
|
|
10199
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
10200
|
+
* @return {!proto.clarifai.api.PostTrackAnnotationsSearchesRequest}
|
|
10201
|
+
*/
|
|
10202
|
+
proto.clarifai.api.PostTrackAnnotationsSearchesRequest.deserializeBinary = function (bytes) {
|
|
10203
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
10204
|
+
var msg = new proto.clarifai.api.PostTrackAnnotationsSearchesRequest;
|
|
10205
|
+
return proto.clarifai.api.PostTrackAnnotationsSearchesRequest.deserializeBinaryFromReader(msg, reader);
|
|
10206
|
+
};
|
|
10207
|
+
/**
|
|
10208
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
10209
|
+
* given reader into the given message object.
|
|
10210
|
+
* @param {!proto.clarifai.api.PostTrackAnnotationsSearchesRequest} msg The message object to deserialize into.
|
|
10211
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
10212
|
+
* @return {!proto.clarifai.api.PostTrackAnnotationsSearchesRequest}
|
|
10213
|
+
*/
|
|
10214
|
+
proto.clarifai.api.PostTrackAnnotationsSearchesRequest.deserializeBinaryFromReader = function (msg, reader) {
|
|
10215
|
+
while (reader.nextField()) {
|
|
10216
|
+
if (reader.isEndGroup()) {
|
|
10217
|
+
break;
|
|
10218
|
+
}
|
|
10219
|
+
var field = reader.getFieldNumber();
|
|
10220
|
+
switch (field) {
|
|
10221
|
+
case 1:
|
|
10222
|
+
var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
|
|
10223
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
|
|
10224
|
+
msg.setUserAppId(value);
|
|
10225
|
+
break;
|
|
10226
|
+
case 2:
|
|
10227
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10228
|
+
msg.setInputId(value);
|
|
10229
|
+
break;
|
|
10230
|
+
case 3:
|
|
10231
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10232
|
+
msg.setTrackId(value);
|
|
10233
|
+
break;
|
|
10234
|
+
case 4:
|
|
10235
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
10236
|
+
msg.setFrameNumberStart(value);
|
|
10237
|
+
break;
|
|
10238
|
+
case 5:
|
|
10239
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
10240
|
+
msg.setFrameTimeStart(value);
|
|
10241
|
+
break;
|
|
10242
|
+
case 6:
|
|
10243
|
+
var value = /** @type {!proto.clarifai.api.AnnotationDataType} */ (reader.readEnum());
|
|
10244
|
+
msg.setAnnotationType(value);
|
|
10245
|
+
break;
|
|
10246
|
+
case 7:
|
|
10247
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
10248
|
+
msg.setMaxFrames(value);
|
|
10249
|
+
break;
|
|
10250
|
+
case 8:
|
|
10251
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
10252
|
+
msg.setMaxDuration(value);
|
|
10253
|
+
break;
|
|
10254
|
+
case 9:
|
|
10255
|
+
var value = new proto_clarifai_api_resources_pb.Worker;
|
|
10256
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.Worker.deserializeBinaryFromReader);
|
|
10257
|
+
msg.setWorker(value);
|
|
10258
|
+
break;
|
|
10259
|
+
default:
|
|
10260
|
+
reader.skipField();
|
|
10261
|
+
break;
|
|
10262
|
+
}
|
|
10263
|
+
}
|
|
10264
|
+
return msg;
|
|
10265
|
+
};
|
|
10266
|
+
/**
|
|
10267
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
10268
|
+
* @return {!Uint8Array}
|
|
10269
|
+
*/
|
|
10270
|
+
proto.clarifai.api.PostTrackAnnotationsSearchesRequest.prototype.serializeBinary = function () {
|
|
10271
|
+
var writer = new jspb.BinaryWriter();
|
|
10272
|
+
proto.clarifai.api.PostTrackAnnotationsSearchesRequest.serializeBinaryToWriter(this, writer);
|
|
10273
|
+
return writer.getResultBuffer();
|
|
10274
|
+
};
|
|
10275
|
+
/**
|
|
10276
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
10277
|
+
* format), writing to the given BinaryWriter.
|
|
10278
|
+
* @param {!proto.clarifai.api.PostTrackAnnotationsSearchesRequest} message
|
|
10279
|
+
* @param {!jspb.BinaryWriter} writer
|
|
10280
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10281
|
+
*/
|
|
10282
|
+
proto.clarifai.api.PostTrackAnnotationsSearchesRequest.serializeBinaryToWriter = function (message, writer) {
|
|
10283
|
+
var f = undefined;
|
|
10284
|
+
f = message.getUserAppId();
|
|
10285
|
+
if (f != null) {
|
|
10286
|
+
writer.writeMessage(1, f, proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter);
|
|
10287
|
+
}
|
|
10288
|
+
f = message.getInputId();
|
|
10289
|
+
if (f.length > 0) {
|
|
10290
|
+
writer.writeString(2, f);
|
|
10291
|
+
}
|
|
10292
|
+
f = message.getTrackId();
|
|
10293
|
+
if (f.length > 0) {
|
|
10294
|
+
writer.writeString(3, f);
|
|
10295
|
+
}
|
|
10296
|
+
f = message.getFrameNumberStart();
|
|
10297
|
+
if (f !== 0) {
|
|
10298
|
+
writer.writeUint32(4, f);
|
|
10299
|
+
}
|
|
10300
|
+
f = message.getFrameTimeStart();
|
|
10301
|
+
if (f !== 0) {
|
|
10302
|
+
writer.writeUint32(5, f);
|
|
10303
|
+
}
|
|
10304
|
+
f = message.getAnnotationType();
|
|
10305
|
+
if (f !== 0.0) {
|
|
10306
|
+
writer.writeEnum(6, f);
|
|
10307
|
+
}
|
|
10308
|
+
f = message.getMaxFrames();
|
|
10309
|
+
if (f !== 0) {
|
|
10310
|
+
writer.writeUint32(7, f);
|
|
10311
|
+
}
|
|
10312
|
+
f = message.getMaxDuration();
|
|
10313
|
+
if (f !== 0) {
|
|
10314
|
+
writer.writeUint32(8, f);
|
|
10315
|
+
}
|
|
10316
|
+
f = message.getWorker();
|
|
10317
|
+
if (f != null) {
|
|
10318
|
+
writer.writeMessage(9, f, proto_clarifai_api_resources_pb.Worker.serializeBinaryToWriter);
|
|
10319
|
+
}
|
|
10320
|
+
};
|
|
10321
|
+
/**
|
|
10322
|
+
* optional UserAppIDSet user_app_id = 1;
|
|
10323
|
+
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
10324
|
+
*/
|
|
10325
|
+
proto.clarifai.api.PostTrackAnnotationsSearchesRequest.prototype.getUserAppId = function () {
|
|
10326
|
+
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
10327
|
+
};
|
|
10328
|
+
/**
|
|
10329
|
+
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
10330
|
+
* @return {!proto.clarifai.api.PostTrackAnnotationsSearchesRequest} returns this
|
|
10331
|
+
*/
|
|
10332
|
+
proto.clarifai.api.PostTrackAnnotationsSearchesRequest.prototype.setUserAppId = function (value) {
|
|
10333
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
10334
|
+
};
|
|
10335
|
+
/**
|
|
10336
|
+
* Clears the message field making it undefined.
|
|
10337
|
+
* @return {!proto.clarifai.api.PostTrackAnnotationsSearchesRequest} returns this
|
|
10338
|
+
*/
|
|
10339
|
+
proto.clarifai.api.PostTrackAnnotationsSearchesRequest.prototype.clearUserAppId = function () {
|
|
10340
|
+
return this.setUserAppId(undefined);
|
|
10341
|
+
};
|
|
10342
|
+
/**
|
|
10343
|
+
* Returns whether this field is set.
|
|
10344
|
+
* @return {boolean}
|
|
10345
|
+
*/
|
|
10346
|
+
proto.clarifai.api.PostTrackAnnotationsSearchesRequest.prototype.hasUserAppId = function () {
|
|
10347
|
+
return jspb.Message.getField(this, 1) != null;
|
|
10348
|
+
};
|
|
10349
|
+
/**
|
|
10350
|
+
* optional string input_id = 2;
|
|
10351
|
+
* @return {string}
|
|
10352
|
+
*/
|
|
10353
|
+
proto.clarifai.api.PostTrackAnnotationsSearchesRequest.prototype.getInputId = function () {
|
|
10354
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
10355
|
+
};
|
|
10356
|
+
/**
|
|
10357
|
+
* @param {string} value
|
|
10358
|
+
* @return {!proto.clarifai.api.PostTrackAnnotationsSearchesRequest} returns this
|
|
10359
|
+
*/
|
|
10360
|
+
proto.clarifai.api.PostTrackAnnotationsSearchesRequest.prototype.setInputId = function (value) {
|
|
10361
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
10362
|
+
};
|
|
10363
|
+
/**
|
|
10364
|
+
* optional string track_id = 3;
|
|
10365
|
+
* @return {string}
|
|
10366
|
+
*/
|
|
10367
|
+
proto.clarifai.api.PostTrackAnnotationsSearchesRequest.prototype.getTrackId = function () {
|
|
10368
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
10369
|
+
};
|
|
10370
|
+
/**
|
|
10371
|
+
* @param {string} value
|
|
10372
|
+
* @return {!proto.clarifai.api.PostTrackAnnotationsSearchesRequest} returns this
|
|
10373
|
+
*/
|
|
10374
|
+
proto.clarifai.api.PostTrackAnnotationsSearchesRequest.prototype.setTrackId = function (value) {
|
|
10375
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
10376
|
+
};
|
|
10377
|
+
/**
|
|
10378
|
+
* optional uint32 frame_number_start = 4;
|
|
10379
|
+
* @return {number}
|
|
10380
|
+
*/
|
|
10381
|
+
proto.clarifai.api.PostTrackAnnotationsSearchesRequest.prototype.getFrameNumberStart = function () {
|
|
10382
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
10383
|
+
};
|
|
10384
|
+
/**
|
|
10385
|
+
* @param {number} value
|
|
10386
|
+
* @return {!proto.clarifai.api.PostTrackAnnotationsSearchesRequest} returns this
|
|
10387
|
+
*/
|
|
10388
|
+
proto.clarifai.api.PostTrackAnnotationsSearchesRequest.prototype.setFrameNumberStart = function (value) {
|
|
10389
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
10390
|
+
};
|
|
10391
|
+
/**
|
|
10392
|
+
* optional uint32 frame_time_start = 5;
|
|
10393
|
+
* @return {number}
|
|
10394
|
+
*/
|
|
10395
|
+
proto.clarifai.api.PostTrackAnnotationsSearchesRequest.prototype.getFrameTimeStart = function () {
|
|
10396
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
10397
|
+
};
|
|
10398
|
+
/**
|
|
10399
|
+
* @param {number} value
|
|
10400
|
+
* @return {!proto.clarifai.api.PostTrackAnnotationsSearchesRequest} returns this
|
|
10401
|
+
*/
|
|
10402
|
+
proto.clarifai.api.PostTrackAnnotationsSearchesRequest.prototype.setFrameTimeStart = function (value) {
|
|
10403
|
+
return jspb.Message.setProto3IntField(this, 5, value);
|
|
10404
|
+
};
|
|
10405
|
+
/**
|
|
10406
|
+
* optional AnnotationDataType annotation_type = 6;
|
|
10407
|
+
* @return {!proto.clarifai.api.AnnotationDataType}
|
|
10408
|
+
*/
|
|
10409
|
+
proto.clarifai.api.PostTrackAnnotationsSearchesRequest.prototype.getAnnotationType = function () {
|
|
10410
|
+
return /** @type {!proto.clarifai.api.AnnotationDataType} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
10411
|
+
};
|
|
10412
|
+
/**
|
|
10413
|
+
* @param {!proto.clarifai.api.AnnotationDataType} value
|
|
10414
|
+
* @return {!proto.clarifai.api.PostTrackAnnotationsSearchesRequest} returns this
|
|
10415
|
+
*/
|
|
10416
|
+
proto.clarifai.api.PostTrackAnnotationsSearchesRequest.prototype.setAnnotationType = function (value) {
|
|
10417
|
+
return jspb.Message.setProto3EnumField(this, 6, value);
|
|
10418
|
+
};
|
|
10419
|
+
/**
|
|
10420
|
+
* optional uint32 max_frames = 7;
|
|
10421
|
+
* @return {number}
|
|
10422
|
+
*/
|
|
10423
|
+
proto.clarifai.api.PostTrackAnnotationsSearchesRequest.prototype.getMaxFrames = function () {
|
|
10424
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
|
|
10425
|
+
};
|
|
10426
|
+
/**
|
|
10427
|
+
* @param {number} value
|
|
10428
|
+
* @return {!proto.clarifai.api.PostTrackAnnotationsSearchesRequest} returns this
|
|
10429
|
+
*/
|
|
10430
|
+
proto.clarifai.api.PostTrackAnnotationsSearchesRequest.prototype.setMaxFrames = function (value) {
|
|
10431
|
+
return jspb.Message.setProto3IntField(this, 7, value);
|
|
10432
|
+
};
|
|
10433
|
+
/**
|
|
10434
|
+
* optional uint32 max_duration = 8;
|
|
10435
|
+
* @return {number}
|
|
10436
|
+
*/
|
|
10437
|
+
proto.clarifai.api.PostTrackAnnotationsSearchesRequest.prototype.getMaxDuration = function () {
|
|
10438
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
|
|
10439
|
+
};
|
|
10440
|
+
/**
|
|
10441
|
+
* @param {number} value
|
|
10442
|
+
* @return {!proto.clarifai.api.PostTrackAnnotationsSearchesRequest} returns this
|
|
10443
|
+
*/
|
|
10444
|
+
proto.clarifai.api.PostTrackAnnotationsSearchesRequest.prototype.setMaxDuration = function (value) {
|
|
10445
|
+
return jspb.Message.setProto3IntField(this, 8, value);
|
|
10446
|
+
};
|
|
10447
|
+
/**
|
|
10448
|
+
* optional Worker worker = 9;
|
|
10449
|
+
* @return {?proto.clarifai.api.Worker}
|
|
10450
|
+
*/
|
|
10451
|
+
proto.clarifai.api.PostTrackAnnotationsSearchesRequest.prototype.getWorker = function () {
|
|
10452
|
+
return /** @type{?proto.clarifai.api.Worker} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.Worker, 9));
|
|
10453
|
+
};
|
|
10454
|
+
/**
|
|
10455
|
+
* @param {?proto.clarifai.api.Worker|undefined} value
|
|
10456
|
+
* @return {!proto.clarifai.api.PostTrackAnnotationsSearchesRequest} returns this
|
|
10457
|
+
*/
|
|
10458
|
+
proto.clarifai.api.PostTrackAnnotationsSearchesRequest.prototype.setWorker = function (value) {
|
|
10459
|
+
return jspb.Message.setWrapperField(this, 9, value);
|
|
10460
|
+
};
|
|
10461
|
+
/**
|
|
10462
|
+
* Clears the message field making it undefined.
|
|
10463
|
+
* @return {!proto.clarifai.api.PostTrackAnnotationsSearchesRequest} returns this
|
|
10464
|
+
*/
|
|
10465
|
+
proto.clarifai.api.PostTrackAnnotationsSearchesRequest.prototype.clearWorker = function () {
|
|
10466
|
+
return this.setWorker(undefined);
|
|
10467
|
+
};
|
|
10468
|
+
/**
|
|
10469
|
+
* Returns whether this field is set.
|
|
10470
|
+
* @return {boolean}
|
|
10471
|
+
*/
|
|
10472
|
+
proto.clarifai.api.PostTrackAnnotationsSearchesRequest.prototype.hasWorker = function () {
|
|
10473
|
+
return jspb.Message.getField(this, 9) != null;
|
|
10474
|
+
};
|
|
10132
10475
|
/**
|
|
10133
10476
|
* List of repeated fields within this message type.
|
|
10134
10477
|
* @private {!Array<number>}
|
|
@@ -13248,7 +13591,7 @@ proto.clarifai.api.ListAppsRequest.repeatedFields_ = [10];
|
|
|
13248
13591
|
* @private {!Array<!Array<number>>}
|
|
13249
13592
|
* @const
|
|
13250
13593
|
*/
|
|
13251
|
-
proto.clarifai.api.ListAppsRequest.oneofGroups_ = [[6, 7, 12, 13, 17]];
|
|
13594
|
+
proto.clarifai.api.ListAppsRequest.oneofGroups_ = [[6, 7, 12, 13, 17, 19]];
|
|
13252
13595
|
/**
|
|
13253
13596
|
* @enum {number}
|
|
13254
13597
|
*/
|
|
@@ -13258,7 +13601,8 @@ proto.clarifai.api.ListAppsRequest.SortByCase = {
|
|
|
13258
13601
|
SORT_BY_MODIFIED_AT: 7,
|
|
13259
13602
|
SORT_BY_CREATED_AT: 12,
|
|
13260
13603
|
SORT_BY_STAR_COUNT: 13,
|
|
13261
|
-
SORT_BY_ID: 17
|
|
13604
|
+
SORT_BY_ID: 17,
|
|
13605
|
+
SORT_BY_RELEVANCE: 19
|
|
13262
13606
|
};
|
|
13263
13607
|
/**
|
|
13264
13608
|
* @return {proto.clarifai.api.ListAppsRequest.SortByCase}
|
|
@@ -13303,6 +13647,7 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
13303
13647
|
sortByCreatedAt: jspb.Message.getBooleanFieldWithDefault(msg, 12, false),
|
|
13304
13648
|
sortByStarCount: jspb.Message.getBooleanFieldWithDefault(msg, 13, false),
|
|
13305
13649
|
sortById: jspb.Message.getBooleanFieldWithDefault(msg, 17, false),
|
|
13650
|
+
sortByRelevance: jspb.Message.getBooleanFieldWithDefault(msg, 19, false),
|
|
13306
13651
|
featuredOnly: jspb.Message.getBooleanFieldWithDefault(msg, 9, false),
|
|
13307
13652
|
starredOnly: jspb.Message.getBooleanFieldWithDefault(msg, 11, false),
|
|
13308
13653
|
templateOnly: jspb.Message.getBooleanFieldWithDefault(msg, 16, false),
|
|
@@ -13383,6 +13728,10 @@ proto.clarifai.api.ListAppsRequest.deserializeBinaryFromReader = function (msg,
|
|
|
13383
13728
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
13384
13729
|
msg.setSortById(value);
|
|
13385
13730
|
break;
|
|
13731
|
+
case 19:
|
|
13732
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
13733
|
+
msg.setSortByRelevance(value);
|
|
13734
|
+
break;
|
|
13386
13735
|
case 9:
|
|
13387
13736
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
13388
13737
|
msg.setFeaturedOnly(value);
|
|
@@ -13481,6 +13830,10 @@ proto.clarifai.api.ListAppsRequest.serializeBinaryToWriter = function (message,
|
|
|
13481
13830
|
if (f != null) {
|
|
13482
13831
|
writer.writeBool(17, f);
|
|
13483
13832
|
}
|
|
13833
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 19));
|
|
13834
|
+
if (f != null) {
|
|
13835
|
+
writer.writeBool(19, f);
|
|
13836
|
+
}
|
|
13484
13837
|
f = message.getFeaturedOnly();
|
|
13485
13838
|
if (f) {
|
|
13486
13839
|
writer.writeBool(9, f);
|
|
@@ -13753,6 +14106,34 @@ proto.clarifai.api.ListAppsRequest.prototype.clearSortById = function () {
|
|
|
13753
14106
|
proto.clarifai.api.ListAppsRequest.prototype.hasSortById = function () {
|
|
13754
14107
|
return jspb.Message.getField(this, 17) != null;
|
|
13755
14108
|
};
|
|
14109
|
+
/**
|
|
14110
|
+
* optional bool sort_by_relevance = 19;
|
|
14111
|
+
* @return {boolean}
|
|
14112
|
+
*/
|
|
14113
|
+
proto.clarifai.api.ListAppsRequest.prototype.getSortByRelevance = function () {
|
|
14114
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 19, false));
|
|
14115
|
+
};
|
|
14116
|
+
/**
|
|
14117
|
+
* @param {boolean} value
|
|
14118
|
+
* @return {!proto.clarifai.api.ListAppsRequest} returns this
|
|
14119
|
+
*/
|
|
14120
|
+
proto.clarifai.api.ListAppsRequest.prototype.setSortByRelevance = function (value) {
|
|
14121
|
+
return jspb.Message.setOneofField(this, 19, proto.clarifai.api.ListAppsRequest.oneofGroups_[0], value);
|
|
14122
|
+
};
|
|
14123
|
+
/**
|
|
14124
|
+
* Clears the field making it undefined.
|
|
14125
|
+
* @return {!proto.clarifai.api.ListAppsRequest} returns this
|
|
14126
|
+
*/
|
|
14127
|
+
proto.clarifai.api.ListAppsRequest.prototype.clearSortByRelevance = function () {
|
|
14128
|
+
return jspb.Message.setOneofField(this, 19, proto.clarifai.api.ListAppsRequest.oneofGroups_[0], undefined);
|
|
14129
|
+
};
|
|
14130
|
+
/**
|
|
14131
|
+
* Returns whether this field is set.
|
|
14132
|
+
* @return {boolean}
|
|
14133
|
+
*/
|
|
14134
|
+
proto.clarifai.api.ListAppsRequest.prototype.hasSortByRelevance = function () {
|
|
14135
|
+
return jspb.Message.getField(this, 19) != null;
|
|
14136
|
+
};
|
|
13756
14137
|
/**
|
|
13757
14138
|
* optional bool featured_only = 9;
|
|
13758
14139
|
* @return {boolean}
|
|
@@ -24270,7 +24651,7 @@ proto.clarifai.api.ListDatasetsRequest.repeatedFields_ = [5];
|
|
|
24270
24651
|
* @private {!Array<!Array<number>>}
|
|
24271
24652
|
* @const
|
|
24272
24653
|
*/
|
|
24273
|
-
proto.clarifai.api.ListDatasetsRequest.oneofGroups_ = [[7, 8, 9, 11]];
|
|
24654
|
+
proto.clarifai.api.ListDatasetsRequest.oneofGroups_ = [[7, 8, 9, 11, 14]];
|
|
24274
24655
|
/**
|
|
24275
24656
|
* @enum {number}
|
|
24276
24657
|
*/
|
|
@@ -24279,7 +24660,8 @@ proto.clarifai.api.ListDatasetsRequest.SortByCase = {
|
|
|
24279
24660
|
SORT_BY_CREATED_AT: 7,
|
|
24280
24661
|
SORT_BY_STAR_COUNT: 8,
|
|
24281
24662
|
SORT_BY_MODIFIED_AT: 9,
|
|
24282
|
-
SORT_BY_ID: 11
|
|
24663
|
+
SORT_BY_ID: 11,
|
|
24664
|
+
SORT_BY_RELEVANCE: 14
|
|
24283
24665
|
};
|
|
24284
24666
|
/**
|
|
24285
24667
|
* @return {proto.clarifai.api.ListDatasetsRequest.SortByCase}
|
|
@@ -24323,6 +24705,7 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
24323
24705
|
sortByStarCount: jspb.Message.getBooleanFieldWithDefault(msg, 8, false),
|
|
24324
24706
|
sortByModifiedAt: jspb.Message.getBooleanFieldWithDefault(msg, 9, false),
|
|
24325
24707
|
sortById: jspb.Message.getBooleanFieldWithDefault(msg, 11, false),
|
|
24708
|
+
sortByRelevance: jspb.Message.getBooleanFieldWithDefault(msg, 14, false),
|
|
24326
24709
|
starredOnly: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
|
|
24327
24710
|
bookmark: jspb.Message.getBooleanFieldWithDefault(msg, 10, false),
|
|
24328
24711
|
search: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
@@ -24395,6 +24778,10 @@ proto.clarifai.api.ListDatasetsRequest.deserializeBinaryFromReader = function (m
|
|
|
24395
24778
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
24396
24779
|
msg.setSortById(value);
|
|
24397
24780
|
break;
|
|
24781
|
+
case 14:
|
|
24782
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
24783
|
+
msg.setSortByRelevance(value);
|
|
24784
|
+
break;
|
|
24398
24785
|
case 4:
|
|
24399
24786
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
24400
24787
|
msg.setStarredOnly(value);
|
|
@@ -24472,6 +24859,10 @@ proto.clarifai.api.ListDatasetsRequest.serializeBinaryToWriter = function (messa
|
|
|
24472
24859
|
if (f != null) {
|
|
24473
24860
|
writer.writeBool(11, f);
|
|
24474
24861
|
}
|
|
24862
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 14));
|
|
24863
|
+
if (f != null) {
|
|
24864
|
+
writer.writeBool(14, f);
|
|
24865
|
+
}
|
|
24475
24866
|
f = message.getStarredOnly();
|
|
24476
24867
|
if (f) {
|
|
24477
24868
|
writer.writeBool(4, f);
|
|
@@ -24700,6 +25091,34 @@ proto.clarifai.api.ListDatasetsRequest.prototype.clearSortById = function () {
|
|
|
24700
25091
|
proto.clarifai.api.ListDatasetsRequest.prototype.hasSortById = function () {
|
|
24701
25092
|
return jspb.Message.getField(this, 11) != null;
|
|
24702
25093
|
};
|
|
25094
|
+
/**
|
|
25095
|
+
* optional bool sort_by_relevance = 14;
|
|
25096
|
+
* @return {boolean}
|
|
25097
|
+
*/
|
|
25098
|
+
proto.clarifai.api.ListDatasetsRequest.prototype.getSortByRelevance = function () {
|
|
25099
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 14, false));
|
|
25100
|
+
};
|
|
25101
|
+
/**
|
|
25102
|
+
* @param {boolean} value
|
|
25103
|
+
* @return {!proto.clarifai.api.ListDatasetsRequest} returns this
|
|
25104
|
+
*/
|
|
25105
|
+
proto.clarifai.api.ListDatasetsRequest.prototype.setSortByRelevance = function (value) {
|
|
25106
|
+
return jspb.Message.setOneofField(this, 14, proto.clarifai.api.ListDatasetsRequest.oneofGroups_[0], value);
|
|
25107
|
+
};
|
|
25108
|
+
/**
|
|
25109
|
+
* Clears the field making it undefined.
|
|
25110
|
+
* @return {!proto.clarifai.api.ListDatasetsRequest} returns this
|
|
25111
|
+
*/
|
|
25112
|
+
proto.clarifai.api.ListDatasetsRequest.prototype.clearSortByRelevance = function () {
|
|
25113
|
+
return jspb.Message.setOneofField(this, 14, proto.clarifai.api.ListDatasetsRequest.oneofGroups_[0], undefined);
|
|
25114
|
+
};
|
|
25115
|
+
/**
|
|
25116
|
+
* Returns whether this field is set.
|
|
25117
|
+
* @return {boolean}
|
|
25118
|
+
*/
|
|
25119
|
+
proto.clarifai.api.ListDatasetsRequest.prototype.hasSortByRelevance = function () {
|
|
25120
|
+
return jspb.Message.getField(this, 14) != null;
|
|
25121
|
+
};
|
|
24703
25122
|
/**
|
|
24704
25123
|
* optional bool starred_only = 4;
|
|
24705
25124
|
* @return {boolean}
|
|
@@ -32549,7 +32968,7 @@ proto.clarifai.api.ListModelsRequest.repeatedFields_ = [19, 8, 9, 17, 18, 21, 28
|
|
|
32549
32968
|
* @private {!Array<!Array<number>>}
|
|
32550
32969
|
* @const
|
|
32551
32970
|
*/
|
|
32552
|
-
proto.clarifai.api.ListModelsRequest.oneofGroups_ = [[11, 12, 13, 24, 25]];
|
|
32971
|
+
proto.clarifai.api.ListModelsRequest.oneofGroups_ = [[11, 12, 13, 24, 25, 36]];
|
|
32553
32972
|
/**
|
|
32554
32973
|
* @enum {number}
|
|
32555
32974
|
*/
|
|
@@ -32559,7 +32978,8 @@ proto.clarifai.api.ListModelsRequest.SortByCase = {
|
|
|
32559
32978
|
SORT_BY_NUM_INPUTS: 12,
|
|
32560
32979
|
SORT_BY_MODIFIED_AT: 13,
|
|
32561
32980
|
SORT_BY_CREATED_AT: 24,
|
|
32562
|
-
SORT_BY_STAR_COUNT: 25
|
|
32981
|
+
SORT_BY_STAR_COUNT: 25,
|
|
32982
|
+
SORT_BY_RELEVANCE: 36
|
|
32563
32983
|
};
|
|
32564
32984
|
/**
|
|
32565
32985
|
* @return {proto.clarifai.api.ListModelsRequest.SortByCase}
|
|
@@ -32598,12 +33018,14 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
32598
33018
|
page: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
32599
33019
|
perPage: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
32600
33020
|
additionalFieldsList: (f = jspb.Message.getRepeatedField(msg, 19)) == null ? undefined : f,
|
|
33021
|
+
showReplicas: jspb.Message.getBooleanFieldWithDefault(msg, 34, false),
|
|
32601
33022
|
sortAscending: jspb.Message.getBooleanFieldWithDefault(msg, 10, false),
|
|
32602
33023
|
sortByName: jspb.Message.getBooleanFieldWithDefault(msg, 11, false),
|
|
32603
33024
|
sortByNumInputs: jspb.Message.getBooleanFieldWithDefault(msg, 12, false),
|
|
32604
33025
|
sortByModifiedAt: jspb.Message.getBooleanFieldWithDefault(msg, 13, false),
|
|
32605
33026
|
sortByCreatedAt: jspb.Message.getBooleanFieldWithDefault(msg, 24, false),
|
|
32606
33027
|
sortByStarCount: jspb.Message.getBooleanFieldWithDefault(msg, 25, false),
|
|
33028
|
+
sortByRelevance: jspb.Message.getBooleanFieldWithDefault(msg, 36, false),
|
|
32607
33029
|
modelTypeId: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
32608
33030
|
trainedOnly: jspb.Message.getBooleanFieldWithDefault(msg, 7, false),
|
|
32609
33031
|
inputFieldsList: (f = jspb.Message.getRepeatedField(msg, 8)) == null ? undefined : f,
|
|
@@ -32616,17 +33038,16 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
32616
33038
|
languagesList: (f = jspb.Message.getRepeatedField(msg, 21)) == null ? undefined : f,
|
|
32617
33039
|
dontFetchFromMain: jspb.Message.getBooleanFieldWithDefault(msg, 23, false),
|
|
32618
33040
|
bookmark: jspb.Message.getBooleanFieldWithDefault(msg, 26, false),
|
|
32619
|
-
search: jspb.Message.getFieldWithDefault(msg, 27, ""),
|
|
32620
|
-
query: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
32621
|
-
name: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
32622
|
-
filterByUserId: jspb.Message.getBooleanFieldWithDefault(msg, 22, false),
|
|
32623
33041
|
modelVersionIdsList: (f = jspb.Message.getRepeatedField(msg, 28)) == null ? undefined : f,
|
|
32624
33042
|
licenseType: jspb.Message.getFieldWithDefault(msg, 29, 0),
|
|
32625
33043
|
source: jspb.Message.getFieldWithDefault(msg, 30, 0),
|
|
32626
33044
|
creator: jspb.Message.getFieldWithDefault(msg, 31, ""),
|
|
32627
33045
|
minReplicas: jspb.Message.getFieldWithDefault(msg, 33, 0),
|
|
32628
|
-
|
|
32629
|
-
|
|
33046
|
+
visibility: (f = msg.getVisibility()) && proto_clarifai_api_resources_pb.Visibility.toObject(includeInstance, f),
|
|
33047
|
+
search: jspb.Message.getFieldWithDefault(msg, 27, ""),
|
|
33048
|
+
query: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
33049
|
+
name: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
33050
|
+
filterByUserId: jspb.Message.getBooleanFieldWithDefault(msg, 22, false)
|
|
32630
33051
|
};
|
|
32631
33052
|
if (includeInstance) {
|
|
32632
33053
|
obj.$jspbMessageInstance = msg;
|
|
@@ -32675,6 +33096,10 @@ proto.clarifai.api.ListModelsRequest.deserializeBinaryFromReader = function (msg
|
|
|
32675
33096
|
var value = /** @type {string} */ (reader.readString());
|
|
32676
33097
|
msg.addAdditionalFields(value);
|
|
32677
33098
|
break;
|
|
33099
|
+
case 34:
|
|
33100
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
33101
|
+
msg.setShowReplicas(value);
|
|
33102
|
+
break;
|
|
32678
33103
|
case 10:
|
|
32679
33104
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
32680
33105
|
msg.setSortAscending(value);
|
|
@@ -32699,6 +33124,10 @@ proto.clarifai.api.ListModelsRequest.deserializeBinaryFromReader = function (msg
|
|
|
32699
33124
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
32700
33125
|
msg.setSortByStarCount(value);
|
|
32701
33126
|
break;
|
|
33127
|
+
case 36:
|
|
33128
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
33129
|
+
msg.setSortByRelevance(value);
|
|
33130
|
+
break;
|
|
32702
33131
|
case 6:
|
|
32703
33132
|
var value = /** @type {string} */ (reader.readString());
|
|
32704
33133
|
msg.setModelTypeId(value);
|
|
@@ -32747,22 +33176,6 @@ proto.clarifai.api.ListModelsRequest.deserializeBinaryFromReader = function (msg
|
|
|
32747
33176
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
32748
33177
|
msg.setBookmark(value);
|
|
32749
33178
|
break;
|
|
32750
|
-
case 27:
|
|
32751
|
-
var value = /** @type {string} */ (reader.readString());
|
|
32752
|
-
msg.setSearch(value);
|
|
32753
|
-
break;
|
|
32754
|
-
case 14:
|
|
32755
|
-
var value = /** @type {string} */ (reader.readString());
|
|
32756
|
-
msg.setQuery(value);
|
|
32757
|
-
break;
|
|
32758
|
-
case 5:
|
|
32759
|
-
var value = /** @type {string} */ (reader.readString());
|
|
32760
|
-
msg.setName(value);
|
|
32761
|
-
break;
|
|
32762
|
-
case 22:
|
|
32763
|
-
var value = /** @type {boolean} */ (reader.readBool());
|
|
32764
|
-
msg.setFilterByUserId(value);
|
|
32765
|
-
break;
|
|
32766
33179
|
case 28:
|
|
32767
33180
|
var value = /** @type {string} */ (reader.readString());
|
|
32768
33181
|
msg.addModelVersionIds(value);
|
|
@@ -32783,15 +33196,27 @@ proto.clarifai.api.ListModelsRequest.deserializeBinaryFromReader = function (msg
|
|
|
32783
33196
|
var value = /** @type {number} */ (reader.readUint32());
|
|
32784
33197
|
msg.setMinReplicas(value);
|
|
32785
33198
|
break;
|
|
32786
|
-
case 34:
|
|
32787
|
-
var value = /** @type {boolean} */ (reader.readBool());
|
|
32788
|
-
msg.setShowReplicas(value);
|
|
32789
|
-
break;
|
|
32790
33199
|
case 35:
|
|
32791
33200
|
var value = new proto_clarifai_api_resources_pb.Visibility;
|
|
32792
33201
|
reader.readMessage(value, proto_clarifai_api_resources_pb.Visibility.deserializeBinaryFromReader);
|
|
32793
33202
|
msg.setVisibility(value);
|
|
32794
33203
|
break;
|
|
33204
|
+
case 27:
|
|
33205
|
+
var value = /** @type {string} */ (reader.readString());
|
|
33206
|
+
msg.setSearch(value);
|
|
33207
|
+
break;
|
|
33208
|
+
case 14:
|
|
33209
|
+
var value = /** @type {string} */ (reader.readString());
|
|
33210
|
+
msg.setQuery(value);
|
|
33211
|
+
break;
|
|
33212
|
+
case 5:
|
|
33213
|
+
var value = /** @type {string} */ (reader.readString());
|
|
33214
|
+
msg.setName(value);
|
|
33215
|
+
break;
|
|
33216
|
+
case 22:
|
|
33217
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
33218
|
+
msg.setFilterByUserId(value);
|
|
33219
|
+
break;
|
|
32795
33220
|
default:
|
|
32796
33221
|
reader.skipField();
|
|
32797
33222
|
break;
|
|
@@ -32833,6 +33258,10 @@ proto.clarifai.api.ListModelsRequest.serializeBinaryToWriter = function (message
|
|
|
32833
33258
|
if (f.length > 0) {
|
|
32834
33259
|
writer.writeRepeatedString(19, f);
|
|
32835
33260
|
}
|
|
33261
|
+
f = message.getShowReplicas();
|
|
33262
|
+
if (f) {
|
|
33263
|
+
writer.writeBool(34, f);
|
|
33264
|
+
}
|
|
32836
33265
|
f = message.getSortAscending();
|
|
32837
33266
|
if (f) {
|
|
32838
33267
|
writer.writeBool(10, f);
|
|
@@ -32857,6 +33286,10 @@ proto.clarifai.api.ListModelsRequest.serializeBinaryToWriter = function (message
|
|
|
32857
33286
|
if (f != null) {
|
|
32858
33287
|
writer.writeBool(25, f);
|
|
32859
33288
|
}
|
|
33289
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 36));
|
|
33290
|
+
if (f != null) {
|
|
33291
|
+
writer.writeBool(36, f);
|
|
33292
|
+
}
|
|
32860
33293
|
f = message.getModelTypeId();
|
|
32861
33294
|
if (f.length > 0) {
|
|
32862
33295
|
writer.writeString(6, f);
|
|
@@ -32905,22 +33338,6 @@ proto.clarifai.api.ListModelsRequest.serializeBinaryToWriter = function (message
|
|
|
32905
33338
|
if (f) {
|
|
32906
33339
|
writer.writeBool(26, f);
|
|
32907
33340
|
}
|
|
32908
|
-
f = message.getSearch();
|
|
32909
|
-
if (f.length > 0) {
|
|
32910
|
-
writer.writeString(27, f);
|
|
32911
|
-
}
|
|
32912
|
-
f = message.getQuery();
|
|
32913
|
-
if (f.length > 0) {
|
|
32914
|
-
writer.writeString(14, f);
|
|
32915
|
-
}
|
|
32916
|
-
f = message.getName();
|
|
32917
|
-
if (f.length > 0) {
|
|
32918
|
-
writer.writeString(5, f);
|
|
32919
|
-
}
|
|
32920
|
-
f = message.getFilterByUserId();
|
|
32921
|
-
if (f) {
|
|
32922
|
-
writer.writeBool(22, f);
|
|
32923
|
-
}
|
|
32924
33341
|
f = message.getModelVersionIdsList();
|
|
32925
33342
|
if (f.length > 0) {
|
|
32926
33343
|
writer.writeRepeatedString(28, f);
|
|
@@ -32941,14 +33358,26 @@ proto.clarifai.api.ListModelsRequest.serializeBinaryToWriter = function (message
|
|
|
32941
33358
|
if (f !== 0) {
|
|
32942
33359
|
writer.writeUint32(33, f);
|
|
32943
33360
|
}
|
|
32944
|
-
f = message.getShowReplicas();
|
|
32945
|
-
if (f) {
|
|
32946
|
-
writer.writeBool(34, f);
|
|
32947
|
-
}
|
|
32948
33361
|
f = message.getVisibility();
|
|
32949
33362
|
if (f != null) {
|
|
32950
33363
|
writer.writeMessage(35, f, proto_clarifai_api_resources_pb.Visibility.serializeBinaryToWriter);
|
|
32951
33364
|
}
|
|
33365
|
+
f = message.getSearch();
|
|
33366
|
+
if (f.length > 0) {
|
|
33367
|
+
writer.writeString(27, f);
|
|
33368
|
+
}
|
|
33369
|
+
f = message.getQuery();
|
|
33370
|
+
if (f.length > 0) {
|
|
33371
|
+
writer.writeString(14, f);
|
|
33372
|
+
}
|
|
33373
|
+
f = message.getName();
|
|
33374
|
+
if (f.length > 0) {
|
|
33375
|
+
writer.writeString(5, f);
|
|
33376
|
+
}
|
|
33377
|
+
f = message.getFilterByUserId();
|
|
33378
|
+
if (f) {
|
|
33379
|
+
writer.writeBool(22, f);
|
|
33380
|
+
}
|
|
32952
33381
|
};
|
|
32953
33382
|
/**
|
|
32954
33383
|
* optional UserAppIDSet user_app_id = 1;
|
|
@@ -33035,6 +33464,20 @@ proto.clarifai.api.ListModelsRequest.prototype.addAdditionalFields = function (v
|
|
|
33035
33464
|
proto.clarifai.api.ListModelsRequest.prototype.clearAdditionalFieldsList = function () {
|
|
33036
33465
|
return this.setAdditionalFieldsList([]);
|
|
33037
33466
|
};
|
|
33467
|
+
/**
|
|
33468
|
+
* optional bool show_replicas = 34;
|
|
33469
|
+
* @return {boolean}
|
|
33470
|
+
*/
|
|
33471
|
+
proto.clarifai.api.ListModelsRequest.prototype.getShowReplicas = function () {
|
|
33472
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 34, false));
|
|
33473
|
+
};
|
|
33474
|
+
/**
|
|
33475
|
+
* @param {boolean} value
|
|
33476
|
+
* @return {!proto.clarifai.api.ListModelsRequest} returns this
|
|
33477
|
+
*/
|
|
33478
|
+
proto.clarifai.api.ListModelsRequest.prototype.setShowReplicas = function (value) {
|
|
33479
|
+
return jspb.Message.setProto3BooleanField(this, 34, value);
|
|
33480
|
+
};
|
|
33038
33481
|
/**
|
|
33039
33482
|
* optional bool sort_ascending = 10;
|
|
33040
33483
|
* @return {boolean}
|
|
@@ -33189,6 +33632,34 @@ proto.clarifai.api.ListModelsRequest.prototype.clearSortByStarCount = function (
|
|
|
33189
33632
|
proto.clarifai.api.ListModelsRequest.prototype.hasSortByStarCount = function () {
|
|
33190
33633
|
return jspb.Message.getField(this, 25) != null;
|
|
33191
33634
|
};
|
|
33635
|
+
/**
|
|
33636
|
+
* optional bool sort_by_relevance = 36;
|
|
33637
|
+
* @return {boolean}
|
|
33638
|
+
*/
|
|
33639
|
+
proto.clarifai.api.ListModelsRequest.prototype.getSortByRelevance = function () {
|
|
33640
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 36, false));
|
|
33641
|
+
};
|
|
33642
|
+
/**
|
|
33643
|
+
* @param {boolean} value
|
|
33644
|
+
* @return {!proto.clarifai.api.ListModelsRequest} returns this
|
|
33645
|
+
*/
|
|
33646
|
+
proto.clarifai.api.ListModelsRequest.prototype.setSortByRelevance = function (value) {
|
|
33647
|
+
return jspb.Message.setOneofField(this, 36, proto.clarifai.api.ListModelsRequest.oneofGroups_[0], value);
|
|
33648
|
+
};
|
|
33649
|
+
/**
|
|
33650
|
+
* Clears the field making it undefined.
|
|
33651
|
+
* @return {!proto.clarifai.api.ListModelsRequest} returns this
|
|
33652
|
+
*/
|
|
33653
|
+
proto.clarifai.api.ListModelsRequest.prototype.clearSortByRelevance = function () {
|
|
33654
|
+
return jspb.Message.setOneofField(this, 36, proto.clarifai.api.ListModelsRequest.oneofGroups_[0], undefined);
|
|
33655
|
+
};
|
|
33656
|
+
/**
|
|
33657
|
+
* Returns whether this field is set.
|
|
33658
|
+
* @return {boolean}
|
|
33659
|
+
*/
|
|
33660
|
+
proto.clarifai.api.ListModelsRequest.prototype.hasSortByRelevance = function () {
|
|
33661
|
+
return jspb.Message.getField(this, 36) != null;
|
|
33662
|
+
};
|
|
33192
33663
|
/**
|
|
33193
33664
|
* optional string model_type_id = 6;
|
|
33194
33665
|
* @return {string}
|
|
@@ -33432,62 +33903,6 @@ proto.clarifai.api.ListModelsRequest.prototype.getBookmark = function () {
|
|
|
33432
33903
|
proto.clarifai.api.ListModelsRequest.prototype.setBookmark = function (value) {
|
|
33433
33904
|
return jspb.Message.setProto3BooleanField(this, 26, value);
|
|
33434
33905
|
};
|
|
33435
|
-
/**
|
|
33436
|
-
* optional string search = 27;
|
|
33437
|
-
* @return {string}
|
|
33438
|
-
*/
|
|
33439
|
-
proto.clarifai.api.ListModelsRequest.prototype.getSearch = function () {
|
|
33440
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 27, ""));
|
|
33441
|
-
};
|
|
33442
|
-
/**
|
|
33443
|
-
* @param {string} value
|
|
33444
|
-
* @return {!proto.clarifai.api.ListModelsRequest} returns this
|
|
33445
|
-
*/
|
|
33446
|
-
proto.clarifai.api.ListModelsRequest.prototype.setSearch = function (value) {
|
|
33447
|
-
return jspb.Message.setProto3StringField(this, 27, value);
|
|
33448
|
-
};
|
|
33449
|
-
/**
|
|
33450
|
-
* optional string query = 14;
|
|
33451
|
-
* @return {string}
|
|
33452
|
-
*/
|
|
33453
|
-
proto.clarifai.api.ListModelsRequest.prototype.getQuery = function () {
|
|
33454
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
|
|
33455
|
-
};
|
|
33456
|
-
/**
|
|
33457
|
-
* @param {string} value
|
|
33458
|
-
* @return {!proto.clarifai.api.ListModelsRequest} returns this
|
|
33459
|
-
*/
|
|
33460
|
-
proto.clarifai.api.ListModelsRequest.prototype.setQuery = function (value) {
|
|
33461
|
-
return jspb.Message.setProto3StringField(this, 14, value);
|
|
33462
|
-
};
|
|
33463
|
-
/**
|
|
33464
|
-
* optional string name = 5;
|
|
33465
|
-
* @return {string}
|
|
33466
|
-
*/
|
|
33467
|
-
proto.clarifai.api.ListModelsRequest.prototype.getName = function () {
|
|
33468
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
33469
|
-
};
|
|
33470
|
-
/**
|
|
33471
|
-
* @param {string} value
|
|
33472
|
-
* @return {!proto.clarifai.api.ListModelsRequest} returns this
|
|
33473
|
-
*/
|
|
33474
|
-
proto.clarifai.api.ListModelsRequest.prototype.setName = function (value) {
|
|
33475
|
-
return jspb.Message.setProto3StringField(this, 5, value);
|
|
33476
|
-
};
|
|
33477
|
-
/**
|
|
33478
|
-
* optional bool filter_by_user_id = 22;
|
|
33479
|
-
* @return {boolean}
|
|
33480
|
-
*/
|
|
33481
|
-
proto.clarifai.api.ListModelsRequest.prototype.getFilterByUserId = function () {
|
|
33482
|
-
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 22, false));
|
|
33483
|
-
};
|
|
33484
|
-
/**
|
|
33485
|
-
* @param {boolean} value
|
|
33486
|
-
* @return {!proto.clarifai.api.ListModelsRequest} returns this
|
|
33487
|
-
*/
|
|
33488
|
-
proto.clarifai.api.ListModelsRequest.prototype.setFilterByUserId = function (value) {
|
|
33489
|
-
return jspb.Message.setProto3BooleanField(this, 22, value);
|
|
33490
|
-
};
|
|
33491
33906
|
/**
|
|
33492
33907
|
* repeated string model_version_ids = 28;
|
|
33493
33908
|
* @return {!Array<string>}
|
|
@@ -33573,20 +33988,6 @@ proto.clarifai.api.ListModelsRequest.prototype.getMinReplicas = function () {
|
|
|
33573
33988
|
proto.clarifai.api.ListModelsRequest.prototype.setMinReplicas = function (value) {
|
|
33574
33989
|
return jspb.Message.setProto3IntField(this, 33, value);
|
|
33575
33990
|
};
|
|
33576
|
-
/**
|
|
33577
|
-
* optional bool show_replicas = 34;
|
|
33578
|
-
* @return {boolean}
|
|
33579
|
-
*/
|
|
33580
|
-
proto.clarifai.api.ListModelsRequest.prototype.getShowReplicas = function () {
|
|
33581
|
-
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 34, false));
|
|
33582
|
-
};
|
|
33583
|
-
/**
|
|
33584
|
-
* @param {boolean} value
|
|
33585
|
-
* @return {!proto.clarifai.api.ListModelsRequest} returns this
|
|
33586
|
-
*/
|
|
33587
|
-
proto.clarifai.api.ListModelsRequest.prototype.setShowReplicas = function (value) {
|
|
33588
|
-
return jspb.Message.setProto3BooleanField(this, 34, value);
|
|
33589
|
-
};
|
|
33590
33991
|
/**
|
|
33591
33992
|
* optional Visibility visibility = 35;
|
|
33592
33993
|
* @return {?proto.clarifai.api.Visibility}
|
|
@@ -33615,6 +34016,62 @@ proto.clarifai.api.ListModelsRequest.prototype.clearVisibility = function () {
|
|
|
33615
34016
|
proto.clarifai.api.ListModelsRequest.prototype.hasVisibility = function () {
|
|
33616
34017
|
return jspb.Message.getField(this, 35) != null;
|
|
33617
34018
|
};
|
|
34019
|
+
/**
|
|
34020
|
+
* optional string search = 27;
|
|
34021
|
+
* @return {string}
|
|
34022
|
+
*/
|
|
34023
|
+
proto.clarifai.api.ListModelsRequest.prototype.getSearch = function () {
|
|
34024
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 27, ""));
|
|
34025
|
+
};
|
|
34026
|
+
/**
|
|
34027
|
+
* @param {string} value
|
|
34028
|
+
* @return {!proto.clarifai.api.ListModelsRequest} returns this
|
|
34029
|
+
*/
|
|
34030
|
+
proto.clarifai.api.ListModelsRequest.prototype.setSearch = function (value) {
|
|
34031
|
+
return jspb.Message.setProto3StringField(this, 27, value);
|
|
34032
|
+
};
|
|
34033
|
+
/**
|
|
34034
|
+
* optional string query = 14;
|
|
34035
|
+
* @return {string}
|
|
34036
|
+
*/
|
|
34037
|
+
proto.clarifai.api.ListModelsRequest.prototype.getQuery = function () {
|
|
34038
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
|
|
34039
|
+
};
|
|
34040
|
+
/**
|
|
34041
|
+
* @param {string} value
|
|
34042
|
+
* @return {!proto.clarifai.api.ListModelsRequest} returns this
|
|
34043
|
+
*/
|
|
34044
|
+
proto.clarifai.api.ListModelsRequest.prototype.setQuery = function (value) {
|
|
34045
|
+
return jspb.Message.setProto3StringField(this, 14, value);
|
|
34046
|
+
};
|
|
34047
|
+
/**
|
|
34048
|
+
* optional string name = 5;
|
|
34049
|
+
* @return {string}
|
|
34050
|
+
*/
|
|
34051
|
+
proto.clarifai.api.ListModelsRequest.prototype.getName = function () {
|
|
34052
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
34053
|
+
};
|
|
34054
|
+
/**
|
|
34055
|
+
* @param {string} value
|
|
34056
|
+
* @return {!proto.clarifai.api.ListModelsRequest} returns this
|
|
34057
|
+
*/
|
|
34058
|
+
proto.clarifai.api.ListModelsRequest.prototype.setName = function (value) {
|
|
34059
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
34060
|
+
};
|
|
34061
|
+
/**
|
|
34062
|
+
* optional bool filter_by_user_id = 22;
|
|
34063
|
+
* @return {boolean}
|
|
34064
|
+
*/
|
|
34065
|
+
proto.clarifai.api.ListModelsRequest.prototype.getFilterByUserId = function () {
|
|
34066
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 22, false));
|
|
34067
|
+
};
|
|
34068
|
+
/**
|
|
34069
|
+
* @param {boolean} value
|
|
34070
|
+
* @return {!proto.clarifai.api.ListModelsRequest} returns this
|
|
34071
|
+
*/
|
|
34072
|
+
proto.clarifai.api.ListModelsRequest.prototype.setFilterByUserId = function (value) {
|
|
34073
|
+
return jspb.Message.setProto3BooleanField(this, 22, value);
|
|
34074
|
+
};
|
|
33618
34075
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
33619
34076
|
/**
|
|
33620
34077
|
* Creates an object representation of this proto.
|
|
@@ -37528,12 +37985,12 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
37528
37985
|
perPage: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
37529
37986
|
conceptIdsList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f,
|
|
37530
37987
|
trainedOnly: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
|
|
37988
|
+
minReplicas: jspb.Message.getFieldWithDefault(msg, 12, 0),
|
|
37531
37989
|
sortAscending: jspb.Message.getBooleanFieldWithDefault(msg, 7, false),
|
|
37532
37990
|
sortByStatusCode: jspb.Message.getBooleanFieldWithDefault(msg, 8, false),
|
|
37533
37991
|
sortByNumInputs: jspb.Message.getBooleanFieldWithDefault(msg, 9, false),
|
|
37534
37992
|
sortByDescription: jspb.Message.getBooleanFieldWithDefault(msg, 10, false),
|
|
37535
|
-
sortByCreatedAt: jspb.Message.getBooleanFieldWithDefault(msg, 11, false)
|
|
37536
|
-
minReplicas: jspb.Message.getFieldWithDefault(msg, 12, 0)
|
|
37993
|
+
sortByCreatedAt: jspb.Message.getBooleanFieldWithDefault(msg, 11, false)
|
|
37537
37994
|
};
|
|
37538
37995
|
if (includeInstance) {
|
|
37539
37996
|
obj.$jspbMessageInstance = msg;
|
|
@@ -37590,6 +38047,10 @@ proto.clarifai.api.ListModelVersionsRequest.deserializeBinaryFromReader = functi
|
|
|
37590
38047
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
37591
38048
|
msg.setTrainedOnly(value);
|
|
37592
38049
|
break;
|
|
38050
|
+
case 12:
|
|
38051
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
38052
|
+
msg.setMinReplicas(value);
|
|
38053
|
+
break;
|
|
37593
38054
|
case 7:
|
|
37594
38055
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
37595
38056
|
msg.setSortAscending(value);
|
|
@@ -37610,10 +38071,6 @@ proto.clarifai.api.ListModelVersionsRequest.deserializeBinaryFromReader = functi
|
|
|
37610
38071
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
37611
38072
|
msg.setSortByCreatedAt(value);
|
|
37612
38073
|
break;
|
|
37613
|
-
case 12:
|
|
37614
|
-
var value = /** @type {number} */ (reader.readUint32());
|
|
37615
|
-
msg.setMinReplicas(value);
|
|
37616
|
-
break;
|
|
37617
38074
|
default:
|
|
37618
38075
|
reader.skipField();
|
|
37619
38076
|
break;
|
|
@@ -37663,6 +38120,10 @@ proto.clarifai.api.ListModelVersionsRequest.serializeBinaryToWriter = function (
|
|
|
37663
38120
|
if (f) {
|
|
37664
38121
|
writer.writeBool(6, f);
|
|
37665
38122
|
}
|
|
38123
|
+
f = message.getMinReplicas();
|
|
38124
|
+
if (f !== 0) {
|
|
38125
|
+
writer.writeUint32(12, f);
|
|
38126
|
+
}
|
|
37666
38127
|
f = message.getSortAscending();
|
|
37667
38128
|
if (f) {
|
|
37668
38129
|
writer.writeBool(7, f);
|
|
@@ -37683,10 +38144,6 @@ proto.clarifai.api.ListModelVersionsRequest.serializeBinaryToWriter = function (
|
|
|
37683
38144
|
if (f != null) {
|
|
37684
38145
|
writer.writeBool(11, f);
|
|
37685
38146
|
}
|
|
37686
|
-
f = message.getMinReplicas();
|
|
37687
|
-
if (f !== 0) {
|
|
37688
|
-
writer.writeUint32(12, f);
|
|
37689
|
-
}
|
|
37690
38147
|
};
|
|
37691
38148
|
/**
|
|
37692
38149
|
* optional UserAppIDSet user_app_id = 1;
|
|
@@ -37801,6 +38258,20 @@ proto.clarifai.api.ListModelVersionsRequest.prototype.getTrainedOnly = function
|
|
|
37801
38258
|
proto.clarifai.api.ListModelVersionsRequest.prototype.setTrainedOnly = function (value) {
|
|
37802
38259
|
return jspb.Message.setProto3BooleanField(this, 6, value);
|
|
37803
38260
|
};
|
|
38261
|
+
/**
|
|
38262
|
+
* optional uint32 min_replicas = 12;
|
|
38263
|
+
* @return {number}
|
|
38264
|
+
*/
|
|
38265
|
+
proto.clarifai.api.ListModelVersionsRequest.prototype.getMinReplicas = function () {
|
|
38266
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 12, 0));
|
|
38267
|
+
};
|
|
38268
|
+
/**
|
|
38269
|
+
* @param {number} value
|
|
38270
|
+
* @return {!proto.clarifai.api.ListModelVersionsRequest} returns this
|
|
38271
|
+
*/
|
|
38272
|
+
proto.clarifai.api.ListModelVersionsRequest.prototype.setMinReplicas = function (value) {
|
|
38273
|
+
return jspb.Message.setProto3IntField(this, 12, value);
|
|
38274
|
+
};
|
|
37804
38275
|
/**
|
|
37805
38276
|
* optional bool sort_ascending = 7;
|
|
37806
38277
|
* @return {boolean}
|
|
@@ -37927,20 +38398,6 @@ proto.clarifai.api.ListModelVersionsRequest.prototype.clearSortByCreatedAt = fun
|
|
|
37927
38398
|
proto.clarifai.api.ListModelVersionsRequest.prototype.hasSortByCreatedAt = function () {
|
|
37928
38399
|
return jspb.Message.getField(this, 11) != null;
|
|
37929
38400
|
};
|
|
37930
|
-
/**
|
|
37931
|
-
* optional uint32 min_replicas = 12;
|
|
37932
|
-
* @return {number}
|
|
37933
|
-
*/
|
|
37934
|
-
proto.clarifai.api.ListModelVersionsRequest.prototype.getMinReplicas = function () {
|
|
37935
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 12, 0));
|
|
37936
|
-
};
|
|
37937
|
-
/**
|
|
37938
|
-
* @param {number} value
|
|
37939
|
-
* @return {!proto.clarifai.api.ListModelVersionsRequest} returns this
|
|
37940
|
-
*/
|
|
37941
|
-
proto.clarifai.api.ListModelVersionsRequest.prototype.setMinReplicas = function (value) {
|
|
37942
|
-
return jspb.Message.setProto3IntField(this, 12, value);
|
|
37943
|
-
};
|
|
37944
38401
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
37945
38402
|
/**
|
|
37946
38403
|
* Creates an object representation of this proto.
|
|
@@ -52635,7 +53092,7 @@ proto.clarifai.api.ListWorkflowsRequest.repeatedFields_ = [10];
|
|
|
52635
53092
|
* @private {!Array<!Array<number>>}
|
|
52636
53093
|
* @const
|
|
52637
53094
|
*/
|
|
52638
|
-
proto.clarifai.api.ListWorkflowsRequest.oneofGroups_ = [[6, 7, 13, 14]];
|
|
53095
|
+
proto.clarifai.api.ListWorkflowsRequest.oneofGroups_ = [[6, 7, 13, 14, 18]];
|
|
52639
53096
|
/**
|
|
52640
53097
|
* @enum {number}
|
|
52641
53098
|
*/
|
|
@@ -52644,7 +53101,8 @@ proto.clarifai.api.ListWorkflowsRequest.SortByCase = {
|
|
|
52644
53101
|
SORT_BY_ID: 6,
|
|
52645
53102
|
SORT_BY_MODIFIED_AT: 7,
|
|
52646
53103
|
SORT_BY_CREATED_AT: 13,
|
|
52647
|
-
SORT_BY_STAR_COUNT: 14
|
|
53104
|
+
SORT_BY_STAR_COUNT: 14,
|
|
53105
|
+
SORT_BY_RELEVANCE: 18
|
|
52648
53106
|
};
|
|
52649
53107
|
/**
|
|
52650
53108
|
* @return {proto.clarifai.api.ListWorkflowsRequest.SortByCase}
|
|
@@ -52688,6 +53146,7 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
52688
53146
|
sortByModifiedAt: jspb.Message.getBooleanFieldWithDefault(msg, 7, false),
|
|
52689
53147
|
sortByCreatedAt: jspb.Message.getBooleanFieldWithDefault(msg, 13, false),
|
|
52690
53148
|
sortByStarCount: jspb.Message.getBooleanFieldWithDefault(msg, 14, false),
|
|
53149
|
+
sortByRelevance: jspb.Message.getBooleanFieldWithDefault(msg, 18, false),
|
|
52691
53150
|
featuredOnly: jspb.Message.getBooleanFieldWithDefault(msg, 9, false),
|
|
52692
53151
|
starredOnly: jspb.Message.getBooleanFieldWithDefault(msg, 11, false),
|
|
52693
53152
|
bookmark: jspb.Message.getBooleanFieldWithDefault(msg, 15, false),
|
|
@@ -52764,6 +53223,10 @@ proto.clarifai.api.ListWorkflowsRequest.deserializeBinaryFromReader = function (
|
|
|
52764
53223
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
52765
53224
|
msg.setSortByStarCount(value);
|
|
52766
53225
|
break;
|
|
53226
|
+
case 18:
|
|
53227
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
53228
|
+
msg.setSortByRelevance(value);
|
|
53229
|
+
break;
|
|
52767
53230
|
case 9:
|
|
52768
53231
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
52769
53232
|
msg.setFeaturedOnly(value);
|
|
@@ -52858,6 +53321,10 @@ proto.clarifai.api.ListWorkflowsRequest.serializeBinaryToWriter = function (mess
|
|
|
52858
53321
|
if (f != null) {
|
|
52859
53322
|
writer.writeBool(14, f);
|
|
52860
53323
|
}
|
|
53324
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 18));
|
|
53325
|
+
if (f != null) {
|
|
53326
|
+
writer.writeBool(18, f);
|
|
53327
|
+
}
|
|
52861
53328
|
f = message.getFeaturedOnly();
|
|
52862
53329
|
if (f) {
|
|
52863
53330
|
writer.writeBool(9, f);
|
|
@@ -53102,6 +53569,34 @@ proto.clarifai.api.ListWorkflowsRequest.prototype.clearSortByStarCount = functio
|
|
|
53102
53569
|
proto.clarifai.api.ListWorkflowsRequest.prototype.hasSortByStarCount = function () {
|
|
53103
53570
|
return jspb.Message.getField(this, 14) != null;
|
|
53104
53571
|
};
|
|
53572
|
+
/**
|
|
53573
|
+
* optional bool sort_by_relevance = 18;
|
|
53574
|
+
* @return {boolean}
|
|
53575
|
+
*/
|
|
53576
|
+
proto.clarifai.api.ListWorkflowsRequest.prototype.getSortByRelevance = function () {
|
|
53577
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 18, false));
|
|
53578
|
+
};
|
|
53579
|
+
/**
|
|
53580
|
+
* @param {boolean} value
|
|
53581
|
+
* @return {!proto.clarifai.api.ListWorkflowsRequest} returns this
|
|
53582
|
+
*/
|
|
53583
|
+
proto.clarifai.api.ListWorkflowsRequest.prototype.setSortByRelevance = function (value) {
|
|
53584
|
+
return jspb.Message.setOneofField(this, 18, proto.clarifai.api.ListWorkflowsRequest.oneofGroups_[0], value);
|
|
53585
|
+
};
|
|
53586
|
+
/**
|
|
53587
|
+
* Clears the field making it undefined.
|
|
53588
|
+
* @return {!proto.clarifai.api.ListWorkflowsRequest} returns this
|
|
53589
|
+
*/
|
|
53590
|
+
proto.clarifai.api.ListWorkflowsRequest.prototype.clearSortByRelevance = function () {
|
|
53591
|
+
return jspb.Message.setOneofField(this, 18, proto.clarifai.api.ListWorkflowsRequest.oneofGroups_[0], undefined);
|
|
53592
|
+
};
|
|
53593
|
+
/**
|
|
53594
|
+
* Returns whether this field is set.
|
|
53595
|
+
* @return {boolean}
|
|
53596
|
+
*/
|
|
53597
|
+
proto.clarifai.api.ListWorkflowsRequest.prototype.hasSortByRelevance = function () {
|
|
53598
|
+
return jspb.Message.getField(this, 18) != null;
|
|
53599
|
+
};
|
|
53105
53600
|
/**
|
|
53106
53601
|
* optional bool featured_only = 9;
|
|
53107
53602
|
* @return {boolean}
|
|
@@ -62099,7 +62594,7 @@ proto.clarifai.api.ListModulesRequest.repeatedFields_ = [5];
|
|
|
62099
62594
|
* @private {!Array<!Array<number>>}
|
|
62100
62595
|
* @const
|
|
62101
62596
|
*/
|
|
62102
|
-
proto.clarifai.api.ListModulesRequest.oneofGroups_ = [[7, 8, 9, 11]];
|
|
62597
|
+
proto.clarifai.api.ListModulesRequest.oneofGroups_ = [[7, 8, 9, 11, 16]];
|
|
62103
62598
|
/**
|
|
62104
62599
|
* @enum {number}
|
|
62105
62600
|
*/
|
|
@@ -62108,7 +62603,8 @@ proto.clarifai.api.ListModulesRequest.SortByCase = {
|
|
|
62108
62603
|
SORT_BY_CREATED_AT: 7,
|
|
62109
62604
|
SORT_BY_STAR_COUNT: 8,
|
|
62110
62605
|
SORT_BY_MODIFIED_AT: 9,
|
|
62111
|
-
SORT_BY_ID: 11
|
|
62606
|
+
SORT_BY_ID: 11,
|
|
62607
|
+
SORT_BY_RELEVANCE: 16
|
|
62112
62608
|
};
|
|
62113
62609
|
/**
|
|
62114
62610
|
* @return {proto.clarifai.api.ListModulesRequest.SortByCase}
|
|
@@ -62152,6 +62648,7 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
62152
62648
|
sortByStarCount: jspb.Message.getBooleanFieldWithDefault(msg, 8, false),
|
|
62153
62649
|
sortByModifiedAt: jspb.Message.getBooleanFieldWithDefault(msg, 9, false),
|
|
62154
62650
|
sortById: jspb.Message.getBooleanFieldWithDefault(msg, 11, false),
|
|
62651
|
+
sortByRelevance: jspb.Message.getBooleanFieldWithDefault(msg, 16, false),
|
|
62155
62652
|
starredOnly: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
|
|
62156
62653
|
bookmark: jspb.Message.getBooleanFieldWithDefault(msg, 10, false),
|
|
62157
62654
|
search: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
@@ -62226,6 +62723,10 @@ proto.clarifai.api.ListModulesRequest.deserializeBinaryFromReader = function (ms
|
|
|
62226
62723
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
62227
62724
|
msg.setSortById(value);
|
|
62228
62725
|
break;
|
|
62726
|
+
case 16:
|
|
62727
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
62728
|
+
msg.setSortByRelevance(value);
|
|
62729
|
+
break;
|
|
62229
62730
|
case 4:
|
|
62230
62731
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
62231
62732
|
msg.setStarredOnly(value);
|
|
@@ -62312,6 +62813,10 @@ proto.clarifai.api.ListModulesRequest.serializeBinaryToWriter = function (messag
|
|
|
62312
62813
|
if (f != null) {
|
|
62313
62814
|
writer.writeBool(11, f);
|
|
62314
62815
|
}
|
|
62816
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 16));
|
|
62817
|
+
if (f != null) {
|
|
62818
|
+
writer.writeBool(16, f);
|
|
62819
|
+
}
|
|
62315
62820
|
f = message.getStarredOnly();
|
|
62316
62821
|
if (f) {
|
|
62317
62822
|
writer.writeBool(4, f);
|
|
@@ -62548,6 +63053,34 @@ proto.clarifai.api.ListModulesRequest.prototype.clearSortById = function () {
|
|
|
62548
63053
|
proto.clarifai.api.ListModulesRequest.prototype.hasSortById = function () {
|
|
62549
63054
|
return jspb.Message.getField(this, 11) != null;
|
|
62550
63055
|
};
|
|
63056
|
+
/**
|
|
63057
|
+
* optional bool sort_by_relevance = 16;
|
|
63058
|
+
* @return {boolean}
|
|
63059
|
+
*/
|
|
63060
|
+
proto.clarifai.api.ListModulesRequest.prototype.getSortByRelevance = function () {
|
|
63061
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 16, false));
|
|
63062
|
+
};
|
|
63063
|
+
/**
|
|
63064
|
+
* @param {boolean} value
|
|
63065
|
+
* @return {!proto.clarifai.api.ListModulesRequest} returns this
|
|
63066
|
+
*/
|
|
63067
|
+
proto.clarifai.api.ListModulesRequest.prototype.setSortByRelevance = function (value) {
|
|
63068
|
+
return jspb.Message.setOneofField(this, 16, proto.clarifai.api.ListModulesRequest.oneofGroups_[0], value);
|
|
63069
|
+
};
|
|
63070
|
+
/**
|
|
63071
|
+
* Clears the field making it undefined.
|
|
63072
|
+
* @return {!proto.clarifai.api.ListModulesRequest} returns this
|
|
63073
|
+
*/
|
|
63074
|
+
proto.clarifai.api.ListModulesRequest.prototype.clearSortByRelevance = function () {
|
|
63075
|
+
return jspb.Message.setOneofField(this, 16, proto.clarifai.api.ListModulesRequest.oneofGroups_[0], undefined);
|
|
63076
|
+
};
|
|
63077
|
+
/**
|
|
63078
|
+
* Returns whether this field is set.
|
|
63079
|
+
* @return {boolean}
|
|
63080
|
+
*/
|
|
63081
|
+
proto.clarifai.api.ListModulesRequest.prototype.hasSortByRelevance = function () {
|
|
63082
|
+
return jspb.Message.getField(this, 16) != null;
|
|
63083
|
+
};
|
|
62551
63084
|
/**
|
|
62552
63085
|
* optional bool starred_only = 4;
|
|
62553
63086
|
* @return {boolean}
|