clarifai-web-grpc 9.10.8 → 9.11.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 +0 -304
- package/dist/cjs/proto/clarifai/api/service_grpc_web_pb.js +0 -42
- package/dist/cjs/proto/clarifai/api/service_pb.js +18 -367
- package/dist/esm/proto/clarifai/api/resources_pb.js +0 -304
- package/dist/esm/proto/clarifai/api/service_grpc_web_pb.js +0 -42
- package/dist/esm/proto/clarifai/api/service_pb.js +18 -367
- package/package.json +1 -1
- package/proto/clarifai/api/resources_pb.d.ts +0 -46
- package/proto/clarifai/api/resources_pb.js +0 -386
- package/proto/clarifai/api/service_grpc_web_pb.d.ts +0 -12
- package/proto/clarifai/api/service_grpc_web_pb.js +0 -61
- package/proto/clarifai/api/service_pb.d.ts +5 -55
- package/proto/clarifai/api/service_pb.js +20 -447
|
@@ -91,7 +91,6 @@ goog.exportSymbol('proto.clarifai.api.DataSourceURL', null, global);
|
|
|
91
91
|
goog.exportSymbol('proto.clarifai.api.DataType', null, global);
|
|
92
92
|
goog.exportSymbol('proto.clarifai.api.Dataset', null, global);
|
|
93
93
|
goog.exportSymbol('proto.clarifai.api.DatasetInput', null, global);
|
|
94
|
-
goog.exportSymbol('proto.clarifai.api.DatasetInputsSearchAddJob', null, global);
|
|
95
94
|
goog.exportSymbol('proto.clarifai.api.DatasetSplit', null, global);
|
|
96
95
|
goog.exportSymbol('proto.clarifai.api.DatasetSplit.MethodInfoCase', null, global);
|
|
97
96
|
goog.exportSymbol('proto.clarifai.api.DatasetStar', null, global);
|
|
@@ -3459,27 +3458,6 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
3459
3458
|
*/
|
|
3460
3459
|
proto.clarifai.api.StatValueAggregateQuery.displayName = 'proto.clarifai.api.StatValueAggregateQuery';
|
|
3461
3460
|
}
|
|
3462
|
-
/**
|
|
3463
|
-
* Generated by JsPbCodeGenerator.
|
|
3464
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
3465
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
3466
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
3467
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
3468
|
-
* valid.
|
|
3469
|
-
* @extends {jspb.Message}
|
|
3470
|
-
* @constructor
|
|
3471
|
-
*/
|
|
3472
|
-
proto.clarifai.api.DatasetInputsSearchAddJob = function(opt_data) {
|
|
3473
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
3474
|
-
};
|
|
3475
|
-
goog.inherits(proto.clarifai.api.DatasetInputsSearchAddJob, jspb.Message);
|
|
3476
|
-
if (goog.DEBUG && !COMPILED) {
|
|
3477
|
-
/**
|
|
3478
|
-
* @public
|
|
3479
|
-
* @override
|
|
3480
|
-
*/
|
|
3481
|
-
proto.clarifai.api.DatasetInputsSearchAddJob.displayName = 'proto.clarifai.api.DatasetInputsSearchAddJob';
|
|
3482
|
-
}
|
|
3483
3461
|
/**
|
|
3484
3462
|
* Generated by JsPbCodeGenerator.
|
|
3485
3463
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -52375,370 +52353,6 @@ proto.clarifai.api.StatValueAggregateQuery.prototype.hasEndTime = function() {
|
|
|
52375
52353
|
|
|
52376
52354
|
|
|
52377
52355
|
|
|
52378
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
52379
|
-
/**
|
|
52380
|
-
* Creates an object representation of this proto.
|
|
52381
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
52382
|
-
* Optional fields that are not set will be set to undefined.
|
|
52383
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
52384
|
-
* For the list of reserved names please see:
|
|
52385
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
52386
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
52387
|
-
* JSPB instance for transitional soy proto support:
|
|
52388
|
-
* http://goto/soy-param-migration
|
|
52389
|
-
* @return {!Object}
|
|
52390
|
-
*/
|
|
52391
|
-
proto.clarifai.api.DatasetInputsSearchAddJob.prototype.toObject = function(opt_includeInstance) {
|
|
52392
|
-
return proto.clarifai.api.DatasetInputsSearchAddJob.toObject(opt_includeInstance, this);
|
|
52393
|
-
};
|
|
52394
|
-
|
|
52395
|
-
|
|
52396
|
-
/**
|
|
52397
|
-
* Static version of the {@see toObject} method.
|
|
52398
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
52399
|
-
* the JSPB instance for transitional soy proto support:
|
|
52400
|
-
* http://goto/soy-param-migration
|
|
52401
|
-
* @param {!proto.clarifai.api.DatasetInputsSearchAddJob} msg The msg instance to transform.
|
|
52402
|
-
* @return {!Object}
|
|
52403
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
52404
|
-
*/
|
|
52405
|
-
proto.clarifai.api.DatasetInputsSearchAddJob.toObject = function(includeInstance, msg) {
|
|
52406
|
-
var f, obj = {
|
|
52407
|
-
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
52408
|
-
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
52409
|
-
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
52410
|
-
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
|
|
52411
|
-
datasetId: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
52412
|
-
search: (f = msg.getSearch()) && proto.clarifai.api.Search.toObject(includeInstance, f)
|
|
52413
|
-
};
|
|
52414
|
-
|
|
52415
|
-
if (includeInstance) {
|
|
52416
|
-
obj.$jspbMessageInstance = msg;
|
|
52417
|
-
}
|
|
52418
|
-
return obj;
|
|
52419
|
-
};
|
|
52420
|
-
}
|
|
52421
|
-
|
|
52422
|
-
|
|
52423
|
-
/**
|
|
52424
|
-
* Deserializes binary data (in protobuf wire format).
|
|
52425
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
52426
|
-
* @return {!proto.clarifai.api.DatasetInputsSearchAddJob}
|
|
52427
|
-
*/
|
|
52428
|
-
proto.clarifai.api.DatasetInputsSearchAddJob.deserializeBinary = function(bytes) {
|
|
52429
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
52430
|
-
var msg = new proto.clarifai.api.DatasetInputsSearchAddJob;
|
|
52431
|
-
return proto.clarifai.api.DatasetInputsSearchAddJob.deserializeBinaryFromReader(msg, reader);
|
|
52432
|
-
};
|
|
52433
|
-
|
|
52434
|
-
|
|
52435
|
-
/**
|
|
52436
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
52437
|
-
* given reader into the given message object.
|
|
52438
|
-
* @param {!proto.clarifai.api.DatasetInputsSearchAddJob} msg The message object to deserialize into.
|
|
52439
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
52440
|
-
* @return {!proto.clarifai.api.DatasetInputsSearchAddJob}
|
|
52441
|
-
*/
|
|
52442
|
-
proto.clarifai.api.DatasetInputsSearchAddJob.deserializeBinaryFromReader = function(msg, reader) {
|
|
52443
|
-
while (reader.nextField()) {
|
|
52444
|
-
if (reader.isEndGroup()) {
|
|
52445
|
-
break;
|
|
52446
|
-
}
|
|
52447
|
-
var field = reader.getFieldNumber();
|
|
52448
|
-
switch (field) {
|
|
52449
|
-
case 1:
|
|
52450
|
-
var value = /** @type {string} */ (reader.readString());
|
|
52451
|
-
msg.setId(value);
|
|
52452
|
-
break;
|
|
52453
|
-
case 2:
|
|
52454
|
-
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
52455
|
-
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
52456
|
-
msg.setCreatedAt(value);
|
|
52457
|
-
break;
|
|
52458
|
-
case 3:
|
|
52459
|
-
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
52460
|
-
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
52461
|
-
msg.setModifiedAt(value);
|
|
52462
|
-
break;
|
|
52463
|
-
case 4:
|
|
52464
|
-
var value = new proto_clarifai_api_status_status_pb.Status;
|
|
52465
|
-
reader.readMessage(value,proto_clarifai_api_status_status_pb.Status.deserializeBinaryFromReader);
|
|
52466
|
-
msg.setStatus(value);
|
|
52467
|
-
break;
|
|
52468
|
-
case 5:
|
|
52469
|
-
var value = /** @type {string} */ (reader.readString());
|
|
52470
|
-
msg.setDatasetId(value);
|
|
52471
|
-
break;
|
|
52472
|
-
case 6:
|
|
52473
|
-
var value = new proto.clarifai.api.Search;
|
|
52474
|
-
reader.readMessage(value,proto.clarifai.api.Search.deserializeBinaryFromReader);
|
|
52475
|
-
msg.setSearch(value);
|
|
52476
|
-
break;
|
|
52477
|
-
default:
|
|
52478
|
-
reader.skipField();
|
|
52479
|
-
break;
|
|
52480
|
-
}
|
|
52481
|
-
}
|
|
52482
|
-
return msg;
|
|
52483
|
-
};
|
|
52484
|
-
|
|
52485
|
-
|
|
52486
|
-
/**
|
|
52487
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
52488
|
-
* @return {!Uint8Array}
|
|
52489
|
-
*/
|
|
52490
|
-
proto.clarifai.api.DatasetInputsSearchAddJob.prototype.serializeBinary = function() {
|
|
52491
|
-
var writer = new jspb.BinaryWriter();
|
|
52492
|
-
proto.clarifai.api.DatasetInputsSearchAddJob.serializeBinaryToWriter(this, writer);
|
|
52493
|
-
return writer.getResultBuffer();
|
|
52494
|
-
};
|
|
52495
|
-
|
|
52496
|
-
|
|
52497
|
-
/**
|
|
52498
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
52499
|
-
* format), writing to the given BinaryWriter.
|
|
52500
|
-
* @param {!proto.clarifai.api.DatasetInputsSearchAddJob} message
|
|
52501
|
-
* @param {!jspb.BinaryWriter} writer
|
|
52502
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
52503
|
-
*/
|
|
52504
|
-
proto.clarifai.api.DatasetInputsSearchAddJob.serializeBinaryToWriter = function(message, writer) {
|
|
52505
|
-
var f = undefined;
|
|
52506
|
-
f = message.getId();
|
|
52507
|
-
if (f.length > 0) {
|
|
52508
|
-
writer.writeString(
|
|
52509
|
-
1,
|
|
52510
|
-
f
|
|
52511
|
-
);
|
|
52512
|
-
}
|
|
52513
|
-
f = message.getCreatedAt();
|
|
52514
|
-
if (f != null) {
|
|
52515
|
-
writer.writeMessage(
|
|
52516
|
-
2,
|
|
52517
|
-
f,
|
|
52518
|
-
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
52519
|
-
);
|
|
52520
|
-
}
|
|
52521
|
-
f = message.getModifiedAt();
|
|
52522
|
-
if (f != null) {
|
|
52523
|
-
writer.writeMessage(
|
|
52524
|
-
3,
|
|
52525
|
-
f,
|
|
52526
|
-
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
52527
|
-
);
|
|
52528
|
-
}
|
|
52529
|
-
f = message.getStatus();
|
|
52530
|
-
if (f != null) {
|
|
52531
|
-
writer.writeMessage(
|
|
52532
|
-
4,
|
|
52533
|
-
f,
|
|
52534
|
-
proto_clarifai_api_status_status_pb.Status.serializeBinaryToWriter
|
|
52535
|
-
);
|
|
52536
|
-
}
|
|
52537
|
-
f = message.getDatasetId();
|
|
52538
|
-
if (f.length > 0) {
|
|
52539
|
-
writer.writeString(
|
|
52540
|
-
5,
|
|
52541
|
-
f
|
|
52542
|
-
);
|
|
52543
|
-
}
|
|
52544
|
-
f = message.getSearch();
|
|
52545
|
-
if (f != null) {
|
|
52546
|
-
writer.writeMessage(
|
|
52547
|
-
6,
|
|
52548
|
-
f,
|
|
52549
|
-
proto.clarifai.api.Search.serializeBinaryToWriter
|
|
52550
|
-
);
|
|
52551
|
-
}
|
|
52552
|
-
};
|
|
52553
|
-
|
|
52554
|
-
|
|
52555
|
-
/**
|
|
52556
|
-
* optional string id = 1;
|
|
52557
|
-
* @return {string}
|
|
52558
|
-
*/
|
|
52559
|
-
proto.clarifai.api.DatasetInputsSearchAddJob.prototype.getId = function() {
|
|
52560
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
52561
|
-
};
|
|
52562
|
-
|
|
52563
|
-
|
|
52564
|
-
/**
|
|
52565
|
-
* @param {string} value
|
|
52566
|
-
* @return {!proto.clarifai.api.DatasetInputsSearchAddJob} returns this
|
|
52567
|
-
*/
|
|
52568
|
-
proto.clarifai.api.DatasetInputsSearchAddJob.prototype.setId = function(value) {
|
|
52569
|
-
return jspb.Message.setProto3StringField(this, 1, value);
|
|
52570
|
-
};
|
|
52571
|
-
|
|
52572
|
-
|
|
52573
|
-
/**
|
|
52574
|
-
* optional google.protobuf.Timestamp created_at = 2;
|
|
52575
|
-
* @return {?proto.google.protobuf.Timestamp}
|
|
52576
|
-
*/
|
|
52577
|
-
proto.clarifai.api.DatasetInputsSearchAddJob.prototype.getCreatedAt = function() {
|
|
52578
|
-
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
52579
|
-
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 2));
|
|
52580
|
-
};
|
|
52581
|
-
|
|
52582
|
-
|
|
52583
|
-
/**
|
|
52584
|
-
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
52585
|
-
* @return {!proto.clarifai.api.DatasetInputsSearchAddJob} returns this
|
|
52586
|
-
*/
|
|
52587
|
-
proto.clarifai.api.DatasetInputsSearchAddJob.prototype.setCreatedAt = function(value) {
|
|
52588
|
-
return jspb.Message.setWrapperField(this, 2, value);
|
|
52589
|
-
};
|
|
52590
|
-
|
|
52591
|
-
|
|
52592
|
-
/**
|
|
52593
|
-
* Clears the message field making it undefined.
|
|
52594
|
-
* @return {!proto.clarifai.api.DatasetInputsSearchAddJob} returns this
|
|
52595
|
-
*/
|
|
52596
|
-
proto.clarifai.api.DatasetInputsSearchAddJob.prototype.clearCreatedAt = function() {
|
|
52597
|
-
return this.setCreatedAt(undefined);
|
|
52598
|
-
};
|
|
52599
|
-
|
|
52600
|
-
|
|
52601
|
-
/**
|
|
52602
|
-
* Returns whether this field is set.
|
|
52603
|
-
* @return {boolean}
|
|
52604
|
-
*/
|
|
52605
|
-
proto.clarifai.api.DatasetInputsSearchAddJob.prototype.hasCreatedAt = function() {
|
|
52606
|
-
return jspb.Message.getField(this, 2) != null;
|
|
52607
|
-
};
|
|
52608
|
-
|
|
52609
|
-
|
|
52610
|
-
/**
|
|
52611
|
-
* optional google.protobuf.Timestamp modified_at = 3;
|
|
52612
|
-
* @return {?proto.google.protobuf.Timestamp}
|
|
52613
|
-
*/
|
|
52614
|
-
proto.clarifai.api.DatasetInputsSearchAddJob.prototype.getModifiedAt = function() {
|
|
52615
|
-
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
52616
|
-
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 3));
|
|
52617
|
-
};
|
|
52618
|
-
|
|
52619
|
-
|
|
52620
|
-
/**
|
|
52621
|
-
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
52622
|
-
* @return {!proto.clarifai.api.DatasetInputsSearchAddJob} returns this
|
|
52623
|
-
*/
|
|
52624
|
-
proto.clarifai.api.DatasetInputsSearchAddJob.prototype.setModifiedAt = function(value) {
|
|
52625
|
-
return jspb.Message.setWrapperField(this, 3, value);
|
|
52626
|
-
};
|
|
52627
|
-
|
|
52628
|
-
|
|
52629
|
-
/**
|
|
52630
|
-
* Clears the message field making it undefined.
|
|
52631
|
-
* @return {!proto.clarifai.api.DatasetInputsSearchAddJob} returns this
|
|
52632
|
-
*/
|
|
52633
|
-
proto.clarifai.api.DatasetInputsSearchAddJob.prototype.clearModifiedAt = function() {
|
|
52634
|
-
return this.setModifiedAt(undefined);
|
|
52635
|
-
};
|
|
52636
|
-
|
|
52637
|
-
|
|
52638
|
-
/**
|
|
52639
|
-
* Returns whether this field is set.
|
|
52640
|
-
* @return {boolean}
|
|
52641
|
-
*/
|
|
52642
|
-
proto.clarifai.api.DatasetInputsSearchAddJob.prototype.hasModifiedAt = function() {
|
|
52643
|
-
return jspb.Message.getField(this, 3) != null;
|
|
52644
|
-
};
|
|
52645
|
-
|
|
52646
|
-
|
|
52647
|
-
/**
|
|
52648
|
-
* optional status.Status status = 4;
|
|
52649
|
-
* @return {?proto.clarifai.api.status.Status}
|
|
52650
|
-
*/
|
|
52651
|
-
proto.clarifai.api.DatasetInputsSearchAddJob.prototype.getStatus = function() {
|
|
52652
|
-
return /** @type{?proto.clarifai.api.status.Status} */ (
|
|
52653
|
-
jspb.Message.getWrapperField(this, proto_clarifai_api_status_status_pb.Status, 4));
|
|
52654
|
-
};
|
|
52655
|
-
|
|
52656
|
-
|
|
52657
|
-
/**
|
|
52658
|
-
* @param {?proto.clarifai.api.status.Status|undefined} value
|
|
52659
|
-
* @return {!proto.clarifai.api.DatasetInputsSearchAddJob} returns this
|
|
52660
|
-
*/
|
|
52661
|
-
proto.clarifai.api.DatasetInputsSearchAddJob.prototype.setStatus = function(value) {
|
|
52662
|
-
return jspb.Message.setWrapperField(this, 4, value);
|
|
52663
|
-
};
|
|
52664
|
-
|
|
52665
|
-
|
|
52666
|
-
/**
|
|
52667
|
-
* Clears the message field making it undefined.
|
|
52668
|
-
* @return {!proto.clarifai.api.DatasetInputsSearchAddJob} returns this
|
|
52669
|
-
*/
|
|
52670
|
-
proto.clarifai.api.DatasetInputsSearchAddJob.prototype.clearStatus = function() {
|
|
52671
|
-
return this.setStatus(undefined);
|
|
52672
|
-
};
|
|
52673
|
-
|
|
52674
|
-
|
|
52675
|
-
/**
|
|
52676
|
-
* Returns whether this field is set.
|
|
52677
|
-
* @return {boolean}
|
|
52678
|
-
*/
|
|
52679
|
-
proto.clarifai.api.DatasetInputsSearchAddJob.prototype.hasStatus = function() {
|
|
52680
|
-
return jspb.Message.getField(this, 4) != null;
|
|
52681
|
-
};
|
|
52682
|
-
|
|
52683
|
-
|
|
52684
|
-
/**
|
|
52685
|
-
* optional string dataset_id = 5;
|
|
52686
|
-
* @return {string}
|
|
52687
|
-
*/
|
|
52688
|
-
proto.clarifai.api.DatasetInputsSearchAddJob.prototype.getDatasetId = function() {
|
|
52689
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
52690
|
-
};
|
|
52691
|
-
|
|
52692
|
-
|
|
52693
|
-
/**
|
|
52694
|
-
* @param {string} value
|
|
52695
|
-
* @return {!proto.clarifai.api.DatasetInputsSearchAddJob} returns this
|
|
52696
|
-
*/
|
|
52697
|
-
proto.clarifai.api.DatasetInputsSearchAddJob.prototype.setDatasetId = function(value) {
|
|
52698
|
-
return jspb.Message.setProto3StringField(this, 5, value);
|
|
52699
|
-
};
|
|
52700
|
-
|
|
52701
|
-
|
|
52702
|
-
/**
|
|
52703
|
-
* optional Search search = 6;
|
|
52704
|
-
* @return {?proto.clarifai.api.Search}
|
|
52705
|
-
*/
|
|
52706
|
-
proto.clarifai.api.DatasetInputsSearchAddJob.prototype.getSearch = function() {
|
|
52707
|
-
return /** @type{?proto.clarifai.api.Search} */ (
|
|
52708
|
-
jspb.Message.getWrapperField(this, proto.clarifai.api.Search, 6));
|
|
52709
|
-
};
|
|
52710
|
-
|
|
52711
|
-
|
|
52712
|
-
/**
|
|
52713
|
-
* @param {?proto.clarifai.api.Search|undefined} value
|
|
52714
|
-
* @return {!proto.clarifai.api.DatasetInputsSearchAddJob} returns this
|
|
52715
|
-
*/
|
|
52716
|
-
proto.clarifai.api.DatasetInputsSearchAddJob.prototype.setSearch = function(value) {
|
|
52717
|
-
return jspb.Message.setWrapperField(this, 6, value);
|
|
52718
|
-
};
|
|
52719
|
-
|
|
52720
|
-
|
|
52721
|
-
/**
|
|
52722
|
-
* Clears the message field making it undefined.
|
|
52723
|
-
* @return {!proto.clarifai.api.DatasetInputsSearchAddJob} returns this
|
|
52724
|
-
*/
|
|
52725
|
-
proto.clarifai.api.DatasetInputsSearchAddJob.prototype.clearSearch = function() {
|
|
52726
|
-
return this.setSearch(undefined);
|
|
52727
|
-
};
|
|
52728
|
-
|
|
52729
|
-
|
|
52730
|
-
/**
|
|
52731
|
-
* Returns whether this field is set.
|
|
52732
|
-
* @return {boolean}
|
|
52733
|
-
*/
|
|
52734
|
-
proto.clarifai.api.DatasetInputsSearchAddJob.prototype.hasSearch = function() {
|
|
52735
|
-
return jspb.Message.getField(this, 6) != null;
|
|
52736
|
-
};
|
|
52737
|
-
|
|
52738
|
-
|
|
52739
|
-
|
|
52740
|
-
|
|
52741
|
-
|
|
52742
52356
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
52743
52357
|
/**
|
|
52744
52358
|
* Creates an object representation of this proto.
|
|
@@ -1353,13 +1353,6 @@ export class V2Client {
|
|
|
1353
1353
|
response: proto_clarifai_api_status_status_pb.BaseResponse) => void
|
|
1354
1354
|
): grpcWeb.ClientReadableStream<proto_clarifai_api_status_status_pb.BaseResponse>;
|
|
1355
1355
|
|
|
1356
|
-
getDatasetInputsSearchAddJob(
|
|
1357
|
-
request: proto_clarifai_api_service_pb.GetDatasetInputsSearchAddJobRequest,
|
|
1358
|
-
metadata: grpcWeb.Metadata | undefined,
|
|
1359
|
-
callback: (err: grpcWeb.RpcError,
|
|
1360
|
-
response: proto_clarifai_api_service_pb.SingleDatasetInputsSearchAddJobResponse) => void
|
|
1361
|
-
): grpcWeb.ClientReadableStream<proto_clarifai_api_service_pb.SingleDatasetInputsSearchAddJobResponse>;
|
|
1362
|
-
|
|
1363
1356
|
listNextTaskAssignments(
|
|
1364
1357
|
request: proto_clarifai_api_service_pb.ListNextTaskAssignmentsRequest,
|
|
1365
1358
|
metadata: grpcWeb.Metadata | undefined,
|
|
@@ -2481,11 +2474,6 @@ export class V2PromiseClient {
|
|
|
2481
2474
|
metadata?: grpcWeb.Metadata
|
|
2482
2475
|
): Promise<proto_clarifai_api_status_status_pb.BaseResponse>;
|
|
2483
2476
|
|
|
2484
|
-
getDatasetInputsSearchAddJob(
|
|
2485
|
-
request: proto_clarifai_api_service_pb.GetDatasetInputsSearchAddJobRequest,
|
|
2486
|
-
metadata?: grpcWeb.Metadata
|
|
2487
|
-
): Promise<proto_clarifai_api_service_pb.SingleDatasetInputsSearchAddJobResponse>;
|
|
2488
|
-
|
|
2489
2477
|
listNextTaskAssignments(
|
|
2490
2478
|
request: proto_clarifai_api_service_pb.ListNextTaskAssignmentsRequest,
|
|
2491
2479
|
metadata?: grpcWeb.Metadata
|
|
@@ -11807,67 +11807,6 @@ proto.clarifai.api.V2PromiseClient.prototype.deleteBulkOperations =
|
|
|
11807
11807
|
};
|
|
11808
11808
|
|
|
11809
11809
|
|
|
11810
|
-
/**
|
|
11811
|
-
* @const
|
|
11812
|
-
* @type {!grpc.web.MethodDescriptor<
|
|
11813
|
-
* !proto.clarifai.api.GetDatasetInputsSearchAddJobRequest,
|
|
11814
|
-
* !proto.clarifai.api.SingleDatasetInputsSearchAddJobResponse>}
|
|
11815
|
-
*/
|
|
11816
|
-
const methodDescriptor_V2_GetDatasetInputsSearchAddJob = new grpc.web.MethodDescriptor(
|
|
11817
|
-
'/clarifai.api.V2/GetDatasetInputsSearchAddJob',
|
|
11818
|
-
grpc.web.MethodType.UNARY,
|
|
11819
|
-
proto.clarifai.api.GetDatasetInputsSearchAddJobRequest,
|
|
11820
|
-
proto.clarifai.api.SingleDatasetInputsSearchAddJobResponse,
|
|
11821
|
-
/**
|
|
11822
|
-
* @param {!proto.clarifai.api.GetDatasetInputsSearchAddJobRequest} request
|
|
11823
|
-
* @return {!Uint8Array}
|
|
11824
|
-
*/
|
|
11825
|
-
function(request) {
|
|
11826
|
-
return request.serializeBinary();
|
|
11827
|
-
},
|
|
11828
|
-
proto.clarifai.api.SingleDatasetInputsSearchAddJobResponse.deserializeBinary
|
|
11829
|
-
);
|
|
11830
|
-
|
|
11831
|
-
|
|
11832
|
-
/**
|
|
11833
|
-
* @param {!proto.clarifai.api.GetDatasetInputsSearchAddJobRequest} request The
|
|
11834
|
-
* request proto
|
|
11835
|
-
* @param {?Object<string, string>} metadata User defined
|
|
11836
|
-
* call metadata
|
|
11837
|
-
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.SingleDatasetInputsSearchAddJobResponse)}
|
|
11838
|
-
* callback The callback function(error, response)
|
|
11839
|
-
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.SingleDatasetInputsSearchAddJobResponse>|undefined}
|
|
11840
|
-
* The XHR Node Readable Stream
|
|
11841
|
-
*/
|
|
11842
|
-
proto.clarifai.api.V2Client.prototype.getDatasetInputsSearchAddJob =
|
|
11843
|
-
function(request, metadata, callback) {
|
|
11844
|
-
return this.client_.rpcCall(this.hostname_ +
|
|
11845
|
-
'/clarifai.api.V2/GetDatasetInputsSearchAddJob',
|
|
11846
|
-
request,
|
|
11847
|
-
metadata || {},
|
|
11848
|
-
methodDescriptor_V2_GetDatasetInputsSearchAddJob,
|
|
11849
|
-
callback);
|
|
11850
|
-
};
|
|
11851
|
-
|
|
11852
|
-
|
|
11853
|
-
/**
|
|
11854
|
-
* @param {!proto.clarifai.api.GetDatasetInputsSearchAddJobRequest} request The
|
|
11855
|
-
* request proto
|
|
11856
|
-
* @param {?Object<string, string>=} metadata User defined
|
|
11857
|
-
* call metadata
|
|
11858
|
-
* @return {!Promise<!proto.clarifai.api.SingleDatasetInputsSearchAddJobResponse>}
|
|
11859
|
-
* Promise that resolves to the response
|
|
11860
|
-
*/
|
|
11861
|
-
proto.clarifai.api.V2PromiseClient.prototype.getDatasetInputsSearchAddJob =
|
|
11862
|
-
function(request, metadata) {
|
|
11863
|
-
return this.client_.unaryCall(this.hostname_ +
|
|
11864
|
-
'/clarifai.api.V2/GetDatasetInputsSearchAddJob',
|
|
11865
|
-
request,
|
|
11866
|
-
metadata || {},
|
|
11867
|
-
methodDescriptor_V2_GetDatasetInputsSearchAddJob);
|
|
11868
|
-
};
|
|
11869
|
-
|
|
11870
|
-
|
|
11871
11810
|
/**
|
|
11872
11811
|
* @const
|
|
11873
11812
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -2629,10 +2629,10 @@ export class MultiDatasetInputResponse extends jspb.Message {
|
|
|
2629
2629
|
clearDatasetInputsList(): MultiDatasetInputResponse;
|
|
2630
2630
|
addDatasetInputs(value?: proto_clarifai_api_resources_pb.DatasetInput, index?: number): proto_clarifai_api_resources_pb.DatasetInput;
|
|
2631
2631
|
|
|
2632
|
-
|
|
2633
|
-
|
|
2634
|
-
|
|
2635
|
-
|
|
2632
|
+
getBulkOperation(): proto_clarifai_api_resources_pb.BulkOperation | undefined;
|
|
2633
|
+
setBulkOperation(value?: proto_clarifai_api_resources_pb.BulkOperation): MultiDatasetInputResponse;
|
|
2634
|
+
hasBulkOperation(): boolean;
|
|
2635
|
+
clearBulkOperation(): MultiDatasetInputResponse;
|
|
2636
2636
|
|
|
2637
2637
|
serializeBinary(): Uint8Array;
|
|
2638
2638
|
toObject(includeInstance?: boolean): MultiDatasetInputResponse.AsObject;
|
|
@@ -2646,7 +2646,7 @@ export namespace MultiDatasetInputResponse {
|
|
|
2646
2646
|
export type AsObject = {
|
|
2647
2647
|
status?: proto_clarifai_api_status_status_pb.Status.AsObject,
|
|
2648
2648
|
datasetInputsList: Array<proto_clarifai_api_resources_pb.DatasetInput.AsObject>,
|
|
2649
|
-
|
|
2649
|
+
bulkOperation?: proto_clarifai_api_resources_pb.BulkOperation.AsObject,
|
|
2650
2650
|
}
|
|
2651
2651
|
}
|
|
2652
2652
|
|
|
@@ -3022,56 +3022,6 @@ export namespace SingleDatasetVersionResponse {
|
|
|
3022
3022
|
}
|
|
3023
3023
|
}
|
|
3024
3024
|
|
|
3025
|
-
export class GetDatasetInputsSearchAddJobRequest extends jspb.Message {
|
|
3026
|
-
getUserAppId(): proto_clarifai_api_resources_pb.UserAppIDSet | undefined;
|
|
3027
|
-
setUserAppId(value?: proto_clarifai_api_resources_pb.UserAppIDSet): GetDatasetInputsSearchAddJobRequest;
|
|
3028
|
-
hasUserAppId(): boolean;
|
|
3029
|
-
clearUserAppId(): GetDatasetInputsSearchAddJobRequest;
|
|
3030
|
-
|
|
3031
|
-
getJobId(): string;
|
|
3032
|
-
setJobId(value: string): GetDatasetInputsSearchAddJobRequest;
|
|
3033
|
-
|
|
3034
|
-
serializeBinary(): Uint8Array;
|
|
3035
|
-
toObject(includeInstance?: boolean): GetDatasetInputsSearchAddJobRequest.AsObject;
|
|
3036
|
-
static toObject(includeInstance: boolean, msg: GetDatasetInputsSearchAddJobRequest): GetDatasetInputsSearchAddJobRequest.AsObject;
|
|
3037
|
-
static serializeBinaryToWriter(message: GetDatasetInputsSearchAddJobRequest, writer: jspb.BinaryWriter): void;
|
|
3038
|
-
static deserializeBinary(bytes: Uint8Array): GetDatasetInputsSearchAddJobRequest;
|
|
3039
|
-
static deserializeBinaryFromReader(message: GetDatasetInputsSearchAddJobRequest, reader: jspb.BinaryReader): GetDatasetInputsSearchAddJobRequest;
|
|
3040
|
-
}
|
|
3041
|
-
|
|
3042
|
-
export namespace GetDatasetInputsSearchAddJobRequest {
|
|
3043
|
-
export type AsObject = {
|
|
3044
|
-
userAppId?: proto_clarifai_api_resources_pb.UserAppIDSet.AsObject,
|
|
3045
|
-
jobId: string,
|
|
3046
|
-
}
|
|
3047
|
-
}
|
|
3048
|
-
|
|
3049
|
-
export class SingleDatasetInputsSearchAddJobResponse extends jspb.Message {
|
|
3050
|
-
getStatus(): proto_clarifai_api_status_status_pb.Status | undefined;
|
|
3051
|
-
setStatus(value?: proto_clarifai_api_status_status_pb.Status): SingleDatasetInputsSearchAddJobResponse;
|
|
3052
|
-
hasStatus(): boolean;
|
|
3053
|
-
clearStatus(): SingleDatasetInputsSearchAddJobResponse;
|
|
3054
|
-
|
|
3055
|
-
getJob(): proto_clarifai_api_resources_pb.DatasetInputsSearchAddJob | undefined;
|
|
3056
|
-
setJob(value?: proto_clarifai_api_resources_pb.DatasetInputsSearchAddJob): SingleDatasetInputsSearchAddJobResponse;
|
|
3057
|
-
hasJob(): boolean;
|
|
3058
|
-
clearJob(): SingleDatasetInputsSearchAddJobResponse;
|
|
3059
|
-
|
|
3060
|
-
serializeBinary(): Uint8Array;
|
|
3061
|
-
toObject(includeInstance?: boolean): SingleDatasetInputsSearchAddJobResponse.AsObject;
|
|
3062
|
-
static toObject(includeInstance: boolean, msg: SingleDatasetInputsSearchAddJobResponse): SingleDatasetInputsSearchAddJobResponse.AsObject;
|
|
3063
|
-
static serializeBinaryToWriter(message: SingleDatasetInputsSearchAddJobResponse, writer: jspb.BinaryWriter): void;
|
|
3064
|
-
static deserializeBinary(bytes: Uint8Array): SingleDatasetInputsSearchAddJobResponse;
|
|
3065
|
-
static deserializeBinaryFromReader(message: SingleDatasetInputsSearchAddJobResponse, reader: jspb.BinaryReader): SingleDatasetInputsSearchAddJobResponse;
|
|
3066
|
-
}
|
|
3067
|
-
|
|
3068
|
-
export namespace SingleDatasetInputsSearchAddJobResponse {
|
|
3069
|
-
export type AsObject = {
|
|
3070
|
-
status?: proto_clarifai_api_status_status_pb.Status.AsObject,
|
|
3071
|
-
job?: proto_clarifai_api_resources_pb.DatasetInputsSearchAddJob.AsObject,
|
|
3072
|
-
}
|
|
3073
|
-
}
|
|
3074
|
-
|
|
3075
3025
|
export class PostModelOutputsRequest extends jspb.Message {
|
|
3076
3026
|
getUserAppId(): proto_clarifai_api_resources_pb.UserAppIDSet | undefined;
|
|
3077
3027
|
setUserAppId(value?: proto_clarifai_api_resources_pb.UserAppIDSet): PostModelOutputsRequest;
|