clarifai-web-grpc 9.11.0 → 9.11.2
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 +61 -23
- package/dist/cjs/proto/clarifai/api/service_pb.js +24 -1
- package/dist/esm/proto/clarifai/api/resources_pb.js +61 -23
- package/dist/esm/proto/clarifai/api/service_pb.js +24 -1
- package/package.json +1 -1
- package/proto/clarifai/api/resources_pb.d.ts +10 -4
- package/proto/clarifai/api/resources_pb.js +81 -30
- package/proto/clarifai/api/service_pb.d.ts +4 -0
- package/proto/clarifai/api/service_pb.js +31 -1
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
9.11.
|
|
1
|
+
9.11.2
|
|
@@ -36471,10 +36471,10 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
36471
36471
|
proto.clarifai.api.AppDuplication.toObject = function (includeInstance, msg) {
|
|
36472
36472
|
var f, obj = {
|
|
36473
36473
|
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
36474
|
+
destinationApp: (f = msg.getDestinationApp()) && proto.clarifai.api.App.toObject(includeInstance, f),
|
|
36474
36475
|
existingAppId: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
36475
36476
|
newAppId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
36476
36477
|
newAppName: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
36477
|
-
newAppDescription: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
36478
36478
|
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
|
|
36479
36479
|
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
36480
36480
|
lastModifiedAt: (f = msg.getLastModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
@@ -36515,6 +36515,11 @@ proto.clarifai.api.AppDuplication.deserializeBinaryFromReader = function (msg, r
|
|
|
36515
36515
|
var value = /** @type {string} */ (reader.readString());
|
|
36516
36516
|
msg.setId(value);
|
|
36517
36517
|
break;
|
|
36518
|
+
case 10:
|
|
36519
|
+
var value = new proto.clarifai.api.App;
|
|
36520
|
+
reader.readMessage(value, proto.clarifai.api.App.deserializeBinaryFromReader);
|
|
36521
|
+
msg.setDestinationApp(value);
|
|
36522
|
+
break;
|
|
36518
36523
|
case 8:
|
|
36519
36524
|
var value = /** @type {string} */ (reader.readString());
|
|
36520
36525
|
msg.setExistingAppId(value);
|
|
@@ -36527,10 +36532,6 @@ proto.clarifai.api.AppDuplication.deserializeBinaryFromReader = function (msg, r
|
|
|
36527
36532
|
var value = /** @type {string} */ (reader.readString());
|
|
36528
36533
|
msg.setNewAppName(value);
|
|
36529
36534
|
break;
|
|
36530
|
-
case 10:
|
|
36531
|
-
var value = /** @type {string} */ (reader.readString());
|
|
36532
|
-
msg.setNewAppDescription(value);
|
|
36533
|
-
break;
|
|
36534
36535
|
case 4:
|
|
36535
36536
|
var value = new proto_clarifai_api_status_status_pb.Status;
|
|
36536
36537
|
reader.readMessage(value, proto_clarifai_api_status_status_pb.Status.deserializeBinaryFromReader);
|
|
@@ -36585,6 +36586,10 @@ proto.clarifai.api.AppDuplication.serializeBinaryToWriter = function (message, w
|
|
|
36585
36586
|
if (f.length > 0) {
|
|
36586
36587
|
writer.writeString(1, f);
|
|
36587
36588
|
}
|
|
36589
|
+
f = message.getDestinationApp();
|
|
36590
|
+
if (f != null) {
|
|
36591
|
+
writer.writeMessage(10, f, proto.clarifai.api.App.serializeBinaryToWriter);
|
|
36592
|
+
}
|
|
36588
36593
|
f = message.getExistingAppId();
|
|
36589
36594
|
if (f.length > 0) {
|
|
36590
36595
|
writer.writeString(8, f);
|
|
@@ -36597,10 +36602,6 @@ proto.clarifai.api.AppDuplication.serializeBinaryToWriter = function (message, w
|
|
|
36597
36602
|
if (f.length > 0) {
|
|
36598
36603
|
writer.writeString(3, f);
|
|
36599
36604
|
}
|
|
36600
|
-
f = message.getNewAppDescription();
|
|
36601
|
-
if (f.length > 0) {
|
|
36602
|
-
writer.writeString(10, f);
|
|
36603
|
-
}
|
|
36604
36605
|
f = message.getStatus();
|
|
36605
36606
|
if (f != null) {
|
|
36606
36607
|
writer.writeMessage(4, f, proto_clarifai_api_status_status_pb.Status.serializeBinaryToWriter);
|
|
@@ -36636,6 +36637,34 @@ proto.clarifai.api.AppDuplication.prototype.getId = function () {
|
|
|
36636
36637
|
proto.clarifai.api.AppDuplication.prototype.setId = function (value) {
|
|
36637
36638
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
36638
36639
|
};
|
|
36640
|
+
/**
|
|
36641
|
+
* optional App destination_app = 10;
|
|
36642
|
+
* @return {?proto.clarifai.api.App}
|
|
36643
|
+
*/
|
|
36644
|
+
proto.clarifai.api.AppDuplication.prototype.getDestinationApp = function () {
|
|
36645
|
+
return /** @type{?proto.clarifai.api.App} */ (jspb.Message.getWrapperField(this, proto.clarifai.api.App, 10));
|
|
36646
|
+
};
|
|
36647
|
+
/**
|
|
36648
|
+
* @param {?proto.clarifai.api.App|undefined} value
|
|
36649
|
+
* @return {!proto.clarifai.api.AppDuplication} returns this
|
|
36650
|
+
*/
|
|
36651
|
+
proto.clarifai.api.AppDuplication.prototype.setDestinationApp = function (value) {
|
|
36652
|
+
return jspb.Message.setWrapperField(this, 10, value);
|
|
36653
|
+
};
|
|
36654
|
+
/**
|
|
36655
|
+
* Clears the message field making it undefined.
|
|
36656
|
+
* @return {!proto.clarifai.api.AppDuplication} returns this
|
|
36657
|
+
*/
|
|
36658
|
+
proto.clarifai.api.AppDuplication.prototype.clearDestinationApp = function () {
|
|
36659
|
+
return this.setDestinationApp(undefined);
|
|
36660
|
+
};
|
|
36661
|
+
/**
|
|
36662
|
+
* Returns whether this field is set.
|
|
36663
|
+
* @return {boolean}
|
|
36664
|
+
*/
|
|
36665
|
+
proto.clarifai.api.AppDuplication.prototype.hasDestinationApp = function () {
|
|
36666
|
+
return jspb.Message.getField(this, 10) != null;
|
|
36667
|
+
};
|
|
36639
36668
|
/**
|
|
36640
36669
|
* optional string existing_app_id = 8;
|
|
36641
36670
|
* @return {string}
|
|
@@ -36678,20 +36707,6 @@ proto.clarifai.api.AppDuplication.prototype.getNewAppName = function () {
|
|
|
36678
36707
|
proto.clarifai.api.AppDuplication.prototype.setNewAppName = function (value) {
|
|
36679
36708
|
return jspb.Message.setProto3StringField(this, 3, value);
|
|
36680
36709
|
};
|
|
36681
|
-
/**
|
|
36682
|
-
* optional string new_app_description = 10;
|
|
36683
|
-
* @return {string}
|
|
36684
|
-
*/
|
|
36685
|
-
proto.clarifai.api.AppDuplication.prototype.getNewAppDescription = function () {
|
|
36686
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
36687
|
-
};
|
|
36688
|
-
/**
|
|
36689
|
-
* @param {string} value
|
|
36690
|
-
* @return {!proto.clarifai.api.AppDuplication} returns this
|
|
36691
|
-
*/
|
|
36692
|
-
proto.clarifai.api.AppDuplication.prototype.setNewAppDescription = function (value) {
|
|
36693
|
-
return jspb.Message.setProto3StringField(this, 10, value);
|
|
36694
|
-
};
|
|
36695
36710
|
/**
|
|
36696
36711
|
* optional status.Status status = 4;
|
|
36697
36712
|
* @return {?proto.clarifai.api.status.Status}
|
|
@@ -40492,6 +40507,7 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
40492
40507
|
description: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
40493
40508
|
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
40494
40509
|
preQueueWorkflowId: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
40510
|
+
preQueueRandomSample: jspb.Message.getFloatingPointFieldWithDefault(msg, 8, 0.0),
|
|
40495
40511
|
postQueueWorkflowId: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
40496
40512
|
collectorSource: (f = msg.getCollectorSource()) && proto.clarifai.api.CollectorSource.toObject(includeInstance, f),
|
|
40497
40513
|
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f)
|
|
@@ -40543,6 +40559,10 @@ proto.clarifai.api.Collector.deserializeBinaryFromReader = function (msg, reader
|
|
|
40543
40559
|
var value = /** @type {string} */ (reader.readString());
|
|
40544
40560
|
msg.setPreQueueWorkflowId(value);
|
|
40545
40561
|
break;
|
|
40562
|
+
case 8:
|
|
40563
|
+
var value = /** @type {number} */ (reader.readFloat());
|
|
40564
|
+
msg.setPreQueueRandomSample(value);
|
|
40565
|
+
break;
|
|
40546
40566
|
case 5:
|
|
40547
40567
|
var value = /** @type {string} */ (reader.readString());
|
|
40548
40568
|
msg.setPostQueueWorkflowId(value);
|
|
@@ -40598,6 +40618,10 @@ proto.clarifai.api.Collector.serializeBinaryToWriter = function (message, writer
|
|
|
40598
40618
|
if (f.length > 0) {
|
|
40599
40619
|
writer.writeString(4, f);
|
|
40600
40620
|
}
|
|
40621
|
+
f = message.getPreQueueRandomSample();
|
|
40622
|
+
if (f !== 0.0) {
|
|
40623
|
+
writer.writeFloat(8, f);
|
|
40624
|
+
}
|
|
40601
40625
|
f = message.getPostQueueWorkflowId();
|
|
40602
40626
|
if (f.length > 0) {
|
|
40603
40627
|
writer.writeString(5, f);
|
|
@@ -40681,6 +40705,20 @@ proto.clarifai.api.Collector.prototype.getPreQueueWorkflowId = function () {
|
|
|
40681
40705
|
proto.clarifai.api.Collector.prototype.setPreQueueWorkflowId = function (value) {
|
|
40682
40706
|
return jspb.Message.setProto3StringField(this, 4, value);
|
|
40683
40707
|
};
|
|
40708
|
+
/**
|
|
40709
|
+
* optional float pre_queue_random_sample = 8;
|
|
40710
|
+
* @return {number}
|
|
40711
|
+
*/
|
|
40712
|
+
proto.clarifai.api.Collector.prototype.getPreQueueRandomSample = function () {
|
|
40713
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 8, 0.0));
|
|
40714
|
+
};
|
|
40715
|
+
/**
|
|
40716
|
+
* @param {number} value
|
|
40717
|
+
* @return {!proto.clarifai.api.Collector} returns this
|
|
40718
|
+
*/
|
|
40719
|
+
proto.clarifai.api.Collector.prototype.setPreQueueRandomSample = function (value) {
|
|
40720
|
+
return jspb.Message.setProto3FloatField(this, 8, value);
|
|
40721
|
+
};
|
|
40684
40722
|
/**
|
|
40685
40723
|
* optional string post_queue_workflow_id = 5;
|
|
40686
40724
|
* @return {string}
|
|
@@ -14159,7 +14159,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
14159
14159
|
modelId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
14160
14160
|
versionId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
14161
14161
|
page: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
14162
|
-
perPage: jspb.Message.getFieldWithDefault(msg, 5, 0)
|
|
14162
|
+
perPage: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
14163
|
+
search: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
14163
14164
|
};
|
|
14164
14165
|
if (includeInstance) {
|
|
14165
14166
|
obj.$jspbMessageInstance = msg;
|
|
@@ -14212,6 +14213,10 @@ proto.clarifai.api.ListModelConceptsRequest.deserializeBinaryFromReader = functi
|
|
|
14212
14213
|
var value = /** @type {number} */ (reader.readUint32());
|
|
14213
14214
|
msg.setPerPage(value);
|
|
14214
14215
|
break;
|
|
14216
|
+
case 6:
|
|
14217
|
+
var value = /** @type {string} */ (reader.readString());
|
|
14218
|
+
msg.setSearch(value);
|
|
14219
|
+
break;
|
|
14215
14220
|
default:
|
|
14216
14221
|
reader.skipField();
|
|
14217
14222
|
break;
|
|
@@ -14257,6 +14262,10 @@ proto.clarifai.api.ListModelConceptsRequest.serializeBinaryToWriter = function (
|
|
|
14257
14262
|
if (f !== 0) {
|
|
14258
14263
|
writer.writeUint32(5, f);
|
|
14259
14264
|
}
|
|
14265
|
+
f = message.getSearch();
|
|
14266
|
+
if (f.length > 0) {
|
|
14267
|
+
writer.writeString(6, f);
|
|
14268
|
+
}
|
|
14260
14269
|
};
|
|
14261
14270
|
/**
|
|
14262
14271
|
* optional UserAppIDSet user_app_id = 1;
|
|
@@ -14342,6 +14351,20 @@ proto.clarifai.api.ListModelConceptsRequest.prototype.getPerPage = function () {
|
|
|
14342
14351
|
proto.clarifai.api.ListModelConceptsRequest.prototype.setPerPage = function (value) {
|
|
14343
14352
|
return jspb.Message.setProto3IntField(this, 5, value);
|
|
14344
14353
|
};
|
|
14354
|
+
/**
|
|
14355
|
+
* optional string search = 6;
|
|
14356
|
+
* @return {string}
|
|
14357
|
+
*/
|
|
14358
|
+
proto.clarifai.api.ListModelConceptsRequest.prototype.getSearch = function () {
|
|
14359
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
14360
|
+
};
|
|
14361
|
+
/**
|
|
14362
|
+
* @param {string} value
|
|
14363
|
+
* @return {!proto.clarifai.api.ListModelConceptsRequest} returns this
|
|
14364
|
+
*/
|
|
14365
|
+
proto.clarifai.api.ListModelConceptsRequest.prototype.setSearch = function (value) {
|
|
14366
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
14367
|
+
};
|
|
14345
14368
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
14346
14369
|
/**
|
|
14347
14370
|
* Creates an object representation of this proto.
|
|
@@ -36471,10 +36471,10 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
36471
36471
|
proto.clarifai.api.AppDuplication.toObject = function (includeInstance, msg) {
|
|
36472
36472
|
var f, obj = {
|
|
36473
36473
|
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
36474
|
+
destinationApp: (f = msg.getDestinationApp()) && proto.clarifai.api.App.toObject(includeInstance, f),
|
|
36474
36475
|
existingAppId: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
36475
36476
|
newAppId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
36476
36477
|
newAppName: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
36477
|
-
newAppDescription: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
36478
36478
|
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
|
|
36479
36479
|
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
36480
36480
|
lastModifiedAt: (f = msg.getLastModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
@@ -36515,6 +36515,11 @@ proto.clarifai.api.AppDuplication.deserializeBinaryFromReader = function (msg, r
|
|
|
36515
36515
|
var value = /** @type {string} */ (reader.readString());
|
|
36516
36516
|
msg.setId(value);
|
|
36517
36517
|
break;
|
|
36518
|
+
case 10:
|
|
36519
|
+
var value = new proto.clarifai.api.App;
|
|
36520
|
+
reader.readMessage(value, proto.clarifai.api.App.deserializeBinaryFromReader);
|
|
36521
|
+
msg.setDestinationApp(value);
|
|
36522
|
+
break;
|
|
36518
36523
|
case 8:
|
|
36519
36524
|
var value = /** @type {string} */ (reader.readString());
|
|
36520
36525
|
msg.setExistingAppId(value);
|
|
@@ -36527,10 +36532,6 @@ proto.clarifai.api.AppDuplication.deserializeBinaryFromReader = function (msg, r
|
|
|
36527
36532
|
var value = /** @type {string} */ (reader.readString());
|
|
36528
36533
|
msg.setNewAppName(value);
|
|
36529
36534
|
break;
|
|
36530
|
-
case 10:
|
|
36531
|
-
var value = /** @type {string} */ (reader.readString());
|
|
36532
|
-
msg.setNewAppDescription(value);
|
|
36533
|
-
break;
|
|
36534
36535
|
case 4:
|
|
36535
36536
|
var value = new proto_clarifai_api_status_status_pb.Status;
|
|
36536
36537
|
reader.readMessage(value, proto_clarifai_api_status_status_pb.Status.deserializeBinaryFromReader);
|
|
@@ -36585,6 +36586,10 @@ proto.clarifai.api.AppDuplication.serializeBinaryToWriter = function (message, w
|
|
|
36585
36586
|
if (f.length > 0) {
|
|
36586
36587
|
writer.writeString(1, f);
|
|
36587
36588
|
}
|
|
36589
|
+
f = message.getDestinationApp();
|
|
36590
|
+
if (f != null) {
|
|
36591
|
+
writer.writeMessage(10, f, proto.clarifai.api.App.serializeBinaryToWriter);
|
|
36592
|
+
}
|
|
36588
36593
|
f = message.getExistingAppId();
|
|
36589
36594
|
if (f.length > 0) {
|
|
36590
36595
|
writer.writeString(8, f);
|
|
@@ -36597,10 +36602,6 @@ proto.clarifai.api.AppDuplication.serializeBinaryToWriter = function (message, w
|
|
|
36597
36602
|
if (f.length > 0) {
|
|
36598
36603
|
writer.writeString(3, f);
|
|
36599
36604
|
}
|
|
36600
|
-
f = message.getNewAppDescription();
|
|
36601
|
-
if (f.length > 0) {
|
|
36602
|
-
writer.writeString(10, f);
|
|
36603
|
-
}
|
|
36604
36605
|
f = message.getStatus();
|
|
36605
36606
|
if (f != null) {
|
|
36606
36607
|
writer.writeMessage(4, f, proto_clarifai_api_status_status_pb.Status.serializeBinaryToWriter);
|
|
@@ -36636,6 +36637,34 @@ proto.clarifai.api.AppDuplication.prototype.getId = function () {
|
|
|
36636
36637
|
proto.clarifai.api.AppDuplication.prototype.setId = function (value) {
|
|
36637
36638
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
36638
36639
|
};
|
|
36640
|
+
/**
|
|
36641
|
+
* optional App destination_app = 10;
|
|
36642
|
+
* @return {?proto.clarifai.api.App}
|
|
36643
|
+
*/
|
|
36644
|
+
proto.clarifai.api.AppDuplication.prototype.getDestinationApp = function () {
|
|
36645
|
+
return /** @type{?proto.clarifai.api.App} */ (jspb.Message.getWrapperField(this, proto.clarifai.api.App, 10));
|
|
36646
|
+
};
|
|
36647
|
+
/**
|
|
36648
|
+
* @param {?proto.clarifai.api.App|undefined} value
|
|
36649
|
+
* @return {!proto.clarifai.api.AppDuplication} returns this
|
|
36650
|
+
*/
|
|
36651
|
+
proto.clarifai.api.AppDuplication.prototype.setDestinationApp = function (value) {
|
|
36652
|
+
return jspb.Message.setWrapperField(this, 10, value);
|
|
36653
|
+
};
|
|
36654
|
+
/**
|
|
36655
|
+
* Clears the message field making it undefined.
|
|
36656
|
+
* @return {!proto.clarifai.api.AppDuplication} returns this
|
|
36657
|
+
*/
|
|
36658
|
+
proto.clarifai.api.AppDuplication.prototype.clearDestinationApp = function () {
|
|
36659
|
+
return this.setDestinationApp(undefined);
|
|
36660
|
+
};
|
|
36661
|
+
/**
|
|
36662
|
+
* Returns whether this field is set.
|
|
36663
|
+
* @return {boolean}
|
|
36664
|
+
*/
|
|
36665
|
+
proto.clarifai.api.AppDuplication.prototype.hasDestinationApp = function () {
|
|
36666
|
+
return jspb.Message.getField(this, 10) != null;
|
|
36667
|
+
};
|
|
36639
36668
|
/**
|
|
36640
36669
|
* optional string existing_app_id = 8;
|
|
36641
36670
|
* @return {string}
|
|
@@ -36678,20 +36707,6 @@ proto.clarifai.api.AppDuplication.prototype.getNewAppName = function () {
|
|
|
36678
36707
|
proto.clarifai.api.AppDuplication.prototype.setNewAppName = function (value) {
|
|
36679
36708
|
return jspb.Message.setProto3StringField(this, 3, value);
|
|
36680
36709
|
};
|
|
36681
|
-
/**
|
|
36682
|
-
* optional string new_app_description = 10;
|
|
36683
|
-
* @return {string}
|
|
36684
|
-
*/
|
|
36685
|
-
proto.clarifai.api.AppDuplication.prototype.getNewAppDescription = function () {
|
|
36686
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
36687
|
-
};
|
|
36688
|
-
/**
|
|
36689
|
-
* @param {string} value
|
|
36690
|
-
* @return {!proto.clarifai.api.AppDuplication} returns this
|
|
36691
|
-
*/
|
|
36692
|
-
proto.clarifai.api.AppDuplication.prototype.setNewAppDescription = function (value) {
|
|
36693
|
-
return jspb.Message.setProto3StringField(this, 10, value);
|
|
36694
|
-
};
|
|
36695
36710
|
/**
|
|
36696
36711
|
* optional status.Status status = 4;
|
|
36697
36712
|
* @return {?proto.clarifai.api.status.Status}
|
|
@@ -40492,6 +40507,7 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
40492
40507
|
description: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
40493
40508
|
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
40494
40509
|
preQueueWorkflowId: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
40510
|
+
preQueueRandomSample: jspb.Message.getFloatingPointFieldWithDefault(msg, 8, 0.0),
|
|
40495
40511
|
postQueueWorkflowId: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
40496
40512
|
collectorSource: (f = msg.getCollectorSource()) && proto.clarifai.api.CollectorSource.toObject(includeInstance, f),
|
|
40497
40513
|
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f)
|
|
@@ -40543,6 +40559,10 @@ proto.clarifai.api.Collector.deserializeBinaryFromReader = function (msg, reader
|
|
|
40543
40559
|
var value = /** @type {string} */ (reader.readString());
|
|
40544
40560
|
msg.setPreQueueWorkflowId(value);
|
|
40545
40561
|
break;
|
|
40562
|
+
case 8:
|
|
40563
|
+
var value = /** @type {number} */ (reader.readFloat());
|
|
40564
|
+
msg.setPreQueueRandomSample(value);
|
|
40565
|
+
break;
|
|
40546
40566
|
case 5:
|
|
40547
40567
|
var value = /** @type {string} */ (reader.readString());
|
|
40548
40568
|
msg.setPostQueueWorkflowId(value);
|
|
@@ -40598,6 +40618,10 @@ proto.clarifai.api.Collector.serializeBinaryToWriter = function (message, writer
|
|
|
40598
40618
|
if (f.length > 0) {
|
|
40599
40619
|
writer.writeString(4, f);
|
|
40600
40620
|
}
|
|
40621
|
+
f = message.getPreQueueRandomSample();
|
|
40622
|
+
if (f !== 0.0) {
|
|
40623
|
+
writer.writeFloat(8, f);
|
|
40624
|
+
}
|
|
40601
40625
|
f = message.getPostQueueWorkflowId();
|
|
40602
40626
|
if (f.length > 0) {
|
|
40603
40627
|
writer.writeString(5, f);
|
|
@@ -40681,6 +40705,20 @@ proto.clarifai.api.Collector.prototype.getPreQueueWorkflowId = function () {
|
|
|
40681
40705
|
proto.clarifai.api.Collector.prototype.setPreQueueWorkflowId = function (value) {
|
|
40682
40706
|
return jspb.Message.setProto3StringField(this, 4, value);
|
|
40683
40707
|
};
|
|
40708
|
+
/**
|
|
40709
|
+
* optional float pre_queue_random_sample = 8;
|
|
40710
|
+
* @return {number}
|
|
40711
|
+
*/
|
|
40712
|
+
proto.clarifai.api.Collector.prototype.getPreQueueRandomSample = function () {
|
|
40713
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 8, 0.0));
|
|
40714
|
+
};
|
|
40715
|
+
/**
|
|
40716
|
+
* @param {number} value
|
|
40717
|
+
* @return {!proto.clarifai.api.Collector} returns this
|
|
40718
|
+
*/
|
|
40719
|
+
proto.clarifai.api.Collector.prototype.setPreQueueRandomSample = function (value) {
|
|
40720
|
+
return jspb.Message.setProto3FloatField(this, 8, value);
|
|
40721
|
+
};
|
|
40684
40722
|
/**
|
|
40685
40723
|
* optional string post_queue_workflow_id = 5;
|
|
40686
40724
|
* @return {string}
|
|
@@ -14159,7 +14159,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
14159
14159
|
modelId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
14160
14160
|
versionId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
14161
14161
|
page: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
14162
|
-
perPage: jspb.Message.getFieldWithDefault(msg, 5, 0)
|
|
14162
|
+
perPage: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
14163
|
+
search: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
14163
14164
|
};
|
|
14164
14165
|
if (includeInstance) {
|
|
14165
14166
|
obj.$jspbMessageInstance = msg;
|
|
@@ -14212,6 +14213,10 @@ proto.clarifai.api.ListModelConceptsRequest.deserializeBinaryFromReader = functi
|
|
|
14212
14213
|
var value = /** @type {number} */ (reader.readUint32());
|
|
14213
14214
|
msg.setPerPage(value);
|
|
14214
14215
|
break;
|
|
14216
|
+
case 6:
|
|
14217
|
+
var value = /** @type {string} */ (reader.readString());
|
|
14218
|
+
msg.setSearch(value);
|
|
14219
|
+
break;
|
|
14215
14220
|
default:
|
|
14216
14221
|
reader.skipField();
|
|
14217
14222
|
break;
|
|
@@ -14257,6 +14262,10 @@ proto.clarifai.api.ListModelConceptsRequest.serializeBinaryToWriter = function (
|
|
|
14257
14262
|
if (f !== 0) {
|
|
14258
14263
|
writer.writeUint32(5, f);
|
|
14259
14264
|
}
|
|
14265
|
+
f = message.getSearch();
|
|
14266
|
+
if (f.length > 0) {
|
|
14267
|
+
writer.writeString(6, f);
|
|
14268
|
+
}
|
|
14260
14269
|
};
|
|
14261
14270
|
/**
|
|
14262
14271
|
* optional UserAppIDSet user_app_id = 1;
|
|
@@ -14342,6 +14351,20 @@ proto.clarifai.api.ListModelConceptsRequest.prototype.getPerPage = function () {
|
|
|
14342
14351
|
proto.clarifai.api.ListModelConceptsRequest.prototype.setPerPage = function (value) {
|
|
14343
14352
|
return jspb.Message.setProto3IntField(this, 5, value);
|
|
14344
14353
|
};
|
|
14354
|
+
/**
|
|
14355
|
+
* optional string search = 6;
|
|
14356
|
+
* @return {string}
|
|
14357
|
+
*/
|
|
14358
|
+
proto.clarifai.api.ListModelConceptsRequest.prototype.getSearch = function () {
|
|
14359
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
14360
|
+
};
|
|
14361
|
+
/**
|
|
14362
|
+
* @param {string} value
|
|
14363
|
+
* @return {!proto.clarifai.api.ListModelConceptsRequest} returns this
|
|
14364
|
+
*/
|
|
14365
|
+
proto.clarifai.api.ListModelConceptsRequest.prototype.setSearch = function (value) {
|
|
14366
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
14367
|
+
};
|
|
14345
14368
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
14346
14369
|
/**
|
|
14347
14370
|
* Creates an object representation of this proto.
|
package/package.json
CHANGED
|
@@ -5293,6 +5293,11 @@ export class AppDuplication extends jspb.Message {
|
|
|
5293
5293
|
getId(): string;
|
|
5294
5294
|
setId(value: string): AppDuplication;
|
|
5295
5295
|
|
|
5296
|
+
getDestinationApp(): App | undefined;
|
|
5297
|
+
setDestinationApp(value?: App): AppDuplication;
|
|
5298
|
+
hasDestinationApp(): boolean;
|
|
5299
|
+
clearDestinationApp(): AppDuplication;
|
|
5300
|
+
|
|
5296
5301
|
getExistingAppId(): string;
|
|
5297
5302
|
setExistingAppId(value: string): AppDuplication;
|
|
5298
5303
|
|
|
@@ -5302,9 +5307,6 @@ export class AppDuplication extends jspb.Message {
|
|
|
5302
5307
|
getNewAppName(): string;
|
|
5303
5308
|
setNewAppName(value: string): AppDuplication;
|
|
5304
5309
|
|
|
5305
|
-
getNewAppDescription(): string;
|
|
5306
|
-
setNewAppDescription(value: string): AppDuplication;
|
|
5307
|
-
|
|
5308
5310
|
getStatus(): proto_clarifai_api_status_status_pb.Status | undefined;
|
|
5309
5311
|
setStatus(value?: proto_clarifai_api_status_status_pb.Status): AppDuplication;
|
|
5310
5312
|
hasStatus(): boolean;
|
|
@@ -5341,10 +5343,10 @@ export class AppDuplication extends jspb.Message {
|
|
|
5341
5343
|
export namespace AppDuplication {
|
|
5342
5344
|
export type AsObject = {
|
|
5343
5345
|
id: string,
|
|
5346
|
+
destinationApp?: App.AsObject,
|
|
5344
5347
|
existingAppId: string,
|
|
5345
5348
|
newAppId: string,
|
|
5346
5349
|
newAppName: string,
|
|
5347
|
-
newAppDescription: string,
|
|
5348
5350
|
status?: proto_clarifai_api_status_status_pb.Status.AsObject,
|
|
5349
5351
|
createdAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
5350
5352
|
lastModifiedAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
@@ -5998,6 +6000,9 @@ export class Collector extends jspb.Message {
|
|
|
5998
6000
|
getPreQueueWorkflowId(): string;
|
|
5999
6001
|
setPreQueueWorkflowId(value: string): Collector;
|
|
6000
6002
|
|
|
6003
|
+
getPreQueueRandomSample(): number;
|
|
6004
|
+
setPreQueueRandomSample(value: number): Collector;
|
|
6005
|
+
|
|
6001
6006
|
getPostQueueWorkflowId(): string;
|
|
6002
6007
|
setPostQueueWorkflowId(value: string): Collector;
|
|
6003
6008
|
|
|
@@ -6025,6 +6030,7 @@ export namespace Collector {
|
|
|
6025
6030
|
description: string,
|
|
6026
6031
|
createdAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
6027
6032
|
preQueueWorkflowId: string,
|
|
6033
|
+
preQueueRandomSample: number,
|
|
6028
6034
|
postQueueWorkflowId: string,
|
|
6029
6035
|
collectorSource?: CollectorSource.AsObject,
|
|
6030
6036
|
status?: proto_clarifai_api_status_status_pb.Status.AsObject,
|
|
@@ -45390,10 +45390,10 @@ proto.clarifai.api.AppDuplication.prototype.toObject = function(opt_includeInsta
|
|
|
45390
45390
|
proto.clarifai.api.AppDuplication.toObject = function(includeInstance, msg) {
|
|
45391
45391
|
var f, obj = {
|
|
45392
45392
|
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
45393
|
+
destinationApp: (f = msg.getDestinationApp()) && proto.clarifai.api.App.toObject(includeInstance, f),
|
|
45393
45394
|
existingAppId: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
45394
45395
|
newAppId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
45395
45396
|
newAppName: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
45396
|
-
newAppDescription: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
45397
45397
|
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
|
|
45398
45398
|
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
45399
45399
|
lastModifiedAt: (f = msg.getLastModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
@@ -45440,6 +45440,11 @@ proto.clarifai.api.AppDuplication.deserializeBinaryFromReader = function(msg, re
|
|
|
45440
45440
|
var value = /** @type {string} */ (reader.readString());
|
|
45441
45441
|
msg.setId(value);
|
|
45442
45442
|
break;
|
|
45443
|
+
case 10:
|
|
45444
|
+
var value = new proto.clarifai.api.App;
|
|
45445
|
+
reader.readMessage(value,proto.clarifai.api.App.deserializeBinaryFromReader);
|
|
45446
|
+
msg.setDestinationApp(value);
|
|
45447
|
+
break;
|
|
45443
45448
|
case 8:
|
|
45444
45449
|
var value = /** @type {string} */ (reader.readString());
|
|
45445
45450
|
msg.setExistingAppId(value);
|
|
@@ -45452,10 +45457,6 @@ proto.clarifai.api.AppDuplication.deserializeBinaryFromReader = function(msg, re
|
|
|
45452
45457
|
var value = /** @type {string} */ (reader.readString());
|
|
45453
45458
|
msg.setNewAppName(value);
|
|
45454
45459
|
break;
|
|
45455
|
-
case 10:
|
|
45456
|
-
var value = /** @type {string} */ (reader.readString());
|
|
45457
|
-
msg.setNewAppDescription(value);
|
|
45458
|
-
break;
|
|
45459
45460
|
case 4:
|
|
45460
45461
|
var value = new proto_clarifai_api_status_status_pb.Status;
|
|
45461
45462
|
reader.readMessage(value,proto_clarifai_api_status_status_pb.Status.deserializeBinaryFromReader);
|
|
@@ -45517,6 +45518,14 @@ proto.clarifai.api.AppDuplication.serializeBinaryToWriter = function(message, wr
|
|
|
45517
45518
|
f
|
|
45518
45519
|
);
|
|
45519
45520
|
}
|
|
45521
|
+
f = message.getDestinationApp();
|
|
45522
|
+
if (f != null) {
|
|
45523
|
+
writer.writeMessage(
|
|
45524
|
+
10,
|
|
45525
|
+
f,
|
|
45526
|
+
proto.clarifai.api.App.serializeBinaryToWriter
|
|
45527
|
+
);
|
|
45528
|
+
}
|
|
45520
45529
|
f = message.getExistingAppId();
|
|
45521
45530
|
if (f.length > 0) {
|
|
45522
45531
|
writer.writeString(
|
|
@@ -45538,13 +45547,6 @@ proto.clarifai.api.AppDuplication.serializeBinaryToWriter = function(message, wr
|
|
|
45538
45547
|
f
|
|
45539
45548
|
);
|
|
45540
45549
|
}
|
|
45541
|
-
f = message.getNewAppDescription();
|
|
45542
|
-
if (f.length > 0) {
|
|
45543
|
-
writer.writeString(
|
|
45544
|
-
10,
|
|
45545
|
-
f
|
|
45546
|
-
);
|
|
45547
|
-
}
|
|
45548
45550
|
f = message.getStatus();
|
|
45549
45551
|
if (f != null) {
|
|
45550
45552
|
writer.writeMessage(
|
|
@@ -45606,6 +45608,43 @@ proto.clarifai.api.AppDuplication.prototype.setId = function(value) {
|
|
|
45606
45608
|
};
|
|
45607
45609
|
|
|
45608
45610
|
|
|
45611
|
+
/**
|
|
45612
|
+
* optional App destination_app = 10;
|
|
45613
|
+
* @return {?proto.clarifai.api.App}
|
|
45614
|
+
*/
|
|
45615
|
+
proto.clarifai.api.AppDuplication.prototype.getDestinationApp = function() {
|
|
45616
|
+
return /** @type{?proto.clarifai.api.App} */ (
|
|
45617
|
+
jspb.Message.getWrapperField(this, proto.clarifai.api.App, 10));
|
|
45618
|
+
};
|
|
45619
|
+
|
|
45620
|
+
|
|
45621
|
+
/**
|
|
45622
|
+
* @param {?proto.clarifai.api.App|undefined} value
|
|
45623
|
+
* @return {!proto.clarifai.api.AppDuplication} returns this
|
|
45624
|
+
*/
|
|
45625
|
+
proto.clarifai.api.AppDuplication.prototype.setDestinationApp = function(value) {
|
|
45626
|
+
return jspb.Message.setWrapperField(this, 10, value);
|
|
45627
|
+
};
|
|
45628
|
+
|
|
45629
|
+
|
|
45630
|
+
/**
|
|
45631
|
+
* Clears the message field making it undefined.
|
|
45632
|
+
* @return {!proto.clarifai.api.AppDuplication} returns this
|
|
45633
|
+
*/
|
|
45634
|
+
proto.clarifai.api.AppDuplication.prototype.clearDestinationApp = function() {
|
|
45635
|
+
return this.setDestinationApp(undefined);
|
|
45636
|
+
};
|
|
45637
|
+
|
|
45638
|
+
|
|
45639
|
+
/**
|
|
45640
|
+
* Returns whether this field is set.
|
|
45641
|
+
* @return {boolean}
|
|
45642
|
+
*/
|
|
45643
|
+
proto.clarifai.api.AppDuplication.prototype.hasDestinationApp = function() {
|
|
45644
|
+
return jspb.Message.getField(this, 10) != null;
|
|
45645
|
+
};
|
|
45646
|
+
|
|
45647
|
+
|
|
45609
45648
|
/**
|
|
45610
45649
|
* optional string existing_app_id = 8;
|
|
45611
45650
|
* @return {string}
|
|
@@ -45660,24 +45699,6 @@ proto.clarifai.api.AppDuplication.prototype.setNewAppName = function(value) {
|
|
|
45660
45699
|
};
|
|
45661
45700
|
|
|
45662
45701
|
|
|
45663
|
-
/**
|
|
45664
|
-
* optional string new_app_description = 10;
|
|
45665
|
-
* @return {string}
|
|
45666
|
-
*/
|
|
45667
|
-
proto.clarifai.api.AppDuplication.prototype.getNewAppDescription = function() {
|
|
45668
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
45669
|
-
};
|
|
45670
|
-
|
|
45671
|
-
|
|
45672
|
-
/**
|
|
45673
|
-
* @param {string} value
|
|
45674
|
-
* @return {!proto.clarifai.api.AppDuplication} returns this
|
|
45675
|
-
*/
|
|
45676
|
-
proto.clarifai.api.AppDuplication.prototype.setNewAppDescription = function(value) {
|
|
45677
|
-
return jspb.Message.setProto3StringField(this, 10, value);
|
|
45678
|
-
};
|
|
45679
|
-
|
|
45680
|
-
|
|
45681
45702
|
/**
|
|
45682
45703
|
* optional status.Status status = 4;
|
|
45683
45704
|
* @return {?proto.clarifai.api.status.Status}
|
|
@@ -50500,6 +50521,7 @@ proto.clarifai.api.Collector.toObject = function(includeInstance, msg) {
|
|
|
50500
50521
|
description: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
50501
50522
|
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
50502
50523
|
preQueueWorkflowId: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
50524
|
+
preQueueRandomSample: jspb.Message.getFloatingPointFieldWithDefault(msg, 8, 0.0),
|
|
50503
50525
|
postQueueWorkflowId: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
50504
50526
|
collectorSource: (f = msg.getCollectorSource()) && proto.clarifai.api.CollectorSource.toObject(includeInstance, f),
|
|
50505
50527
|
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f)
|
|
@@ -50556,6 +50578,10 @@ proto.clarifai.api.Collector.deserializeBinaryFromReader = function(msg, reader)
|
|
|
50556
50578
|
var value = /** @type {string} */ (reader.readString());
|
|
50557
50579
|
msg.setPreQueueWorkflowId(value);
|
|
50558
50580
|
break;
|
|
50581
|
+
case 8:
|
|
50582
|
+
var value = /** @type {number} */ (reader.readFloat());
|
|
50583
|
+
msg.setPreQueueRandomSample(value);
|
|
50584
|
+
break;
|
|
50559
50585
|
case 5:
|
|
50560
50586
|
var value = /** @type {string} */ (reader.readString());
|
|
50561
50587
|
msg.setPostQueueWorkflowId(value);
|
|
@@ -50628,6 +50654,13 @@ proto.clarifai.api.Collector.serializeBinaryToWriter = function(message, writer)
|
|
|
50628
50654
|
f
|
|
50629
50655
|
);
|
|
50630
50656
|
}
|
|
50657
|
+
f = message.getPreQueueRandomSample();
|
|
50658
|
+
if (f !== 0.0) {
|
|
50659
|
+
writer.writeFloat(
|
|
50660
|
+
8,
|
|
50661
|
+
f
|
|
50662
|
+
);
|
|
50663
|
+
}
|
|
50631
50664
|
f = message.getPostQueueWorkflowId();
|
|
50632
50665
|
if (f.length > 0) {
|
|
50633
50666
|
writer.writeString(
|
|
@@ -50745,6 +50778,24 @@ proto.clarifai.api.Collector.prototype.setPreQueueWorkflowId = function(value) {
|
|
|
50745
50778
|
};
|
|
50746
50779
|
|
|
50747
50780
|
|
|
50781
|
+
/**
|
|
50782
|
+
* optional float pre_queue_random_sample = 8;
|
|
50783
|
+
* @return {number}
|
|
50784
|
+
*/
|
|
50785
|
+
proto.clarifai.api.Collector.prototype.getPreQueueRandomSample = function() {
|
|
50786
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 8, 0.0));
|
|
50787
|
+
};
|
|
50788
|
+
|
|
50789
|
+
|
|
50790
|
+
/**
|
|
50791
|
+
* @param {number} value
|
|
50792
|
+
* @return {!proto.clarifai.api.Collector} returns this
|
|
50793
|
+
*/
|
|
50794
|
+
proto.clarifai.api.Collector.prototype.setPreQueueRandomSample = function(value) {
|
|
50795
|
+
return jspb.Message.setProto3FloatField(this, 8, value);
|
|
50796
|
+
};
|
|
50797
|
+
|
|
50798
|
+
|
|
50748
50799
|
/**
|
|
50749
50800
|
* optional string post_queue_workflow_id = 5;
|
|
50750
50801
|
* @return {string}
|
|
@@ -1162,6 +1162,9 @@ export class ListModelConceptsRequest extends jspb.Message {
|
|
|
1162
1162
|
getPerPage(): number;
|
|
1163
1163
|
setPerPage(value: number): ListModelConceptsRequest;
|
|
1164
1164
|
|
|
1165
|
+
getSearch(): string;
|
|
1166
|
+
setSearch(value: string): ListModelConceptsRequest;
|
|
1167
|
+
|
|
1165
1168
|
serializeBinary(): Uint8Array;
|
|
1166
1169
|
toObject(includeInstance?: boolean): ListModelConceptsRequest.AsObject;
|
|
1167
1170
|
static toObject(includeInstance: boolean, msg: ListModelConceptsRequest): ListModelConceptsRequest.AsObject;
|
|
@@ -1177,6 +1180,7 @@ export namespace ListModelConceptsRequest {
|
|
|
1177
1180
|
versionId: string,
|
|
1178
1181
|
page: number,
|
|
1179
1182
|
perPage: number,
|
|
1183
|
+
search: string,
|
|
1180
1184
|
}
|
|
1181
1185
|
}
|
|
1182
1186
|
|
|
@@ -16024,7 +16024,8 @@ proto.clarifai.api.ListModelConceptsRequest.toObject = function(includeInstance,
|
|
|
16024
16024
|
modelId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
16025
16025
|
versionId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
16026
16026
|
page: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
16027
|
-
perPage: jspb.Message.getFieldWithDefault(msg, 5, 0)
|
|
16027
|
+
perPage: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
16028
|
+
search: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
16028
16029
|
};
|
|
16029
16030
|
|
|
16030
16031
|
if (includeInstance) {
|
|
@@ -16082,6 +16083,10 @@ proto.clarifai.api.ListModelConceptsRequest.deserializeBinaryFromReader = functi
|
|
|
16082
16083
|
var value = /** @type {number} */ (reader.readUint32());
|
|
16083
16084
|
msg.setPerPage(value);
|
|
16084
16085
|
break;
|
|
16086
|
+
case 6:
|
|
16087
|
+
var value = /** @type {string} */ (reader.readString());
|
|
16088
|
+
msg.setSearch(value);
|
|
16089
|
+
break;
|
|
16085
16090
|
default:
|
|
16086
16091
|
reader.skipField();
|
|
16087
16092
|
break;
|
|
@@ -16147,6 +16152,13 @@ proto.clarifai.api.ListModelConceptsRequest.serializeBinaryToWriter = function(m
|
|
|
16147
16152
|
f
|
|
16148
16153
|
);
|
|
16149
16154
|
}
|
|
16155
|
+
f = message.getSearch();
|
|
16156
|
+
if (f.length > 0) {
|
|
16157
|
+
writer.writeString(
|
|
16158
|
+
6,
|
|
16159
|
+
f
|
|
16160
|
+
);
|
|
16161
|
+
}
|
|
16150
16162
|
};
|
|
16151
16163
|
|
|
16152
16164
|
|
|
@@ -16259,6 +16271,24 @@ proto.clarifai.api.ListModelConceptsRequest.prototype.setPerPage = function(valu
|
|
|
16259
16271
|
};
|
|
16260
16272
|
|
|
16261
16273
|
|
|
16274
|
+
/**
|
|
16275
|
+
* optional string search = 6;
|
|
16276
|
+
* @return {string}
|
|
16277
|
+
*/
|
|
16278
|
+
proto.clarifai.api.ListModelConceptsRequest.prototype.getSearch = function() {
|
|
16279
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
16280
|
+
};
|
|
16281
|
+
|
|
16282
|
+
|
|
16283
|
+
/**
|
|
16284
|
+
* @param {string} value
|
|
16285
|
+
* @return {!proto.clarifai.api.ListModelConceptsRequest} returns this
|
|
16286
|
+
*/
|
|
16287
|
+
proto.clarifai.api.ListModelConceptsRequest.prototype.setSearch = function(value) {
|
|
16288
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
16289
|
+
};
|
|
16290
|
+
|
|
16291
|
+
|
|
16262
16292
|
|
|
16263
16293
|
|
|
16264
16294
|
|