clarifai-web-grpc 11.7.4 → 11.7.5
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
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
11.7.
|
|
1
|
+
11.7.5
|
|
@@ -6338,16 +6338,17 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
6338
6338
|
proto.clarifai.api.AnnotationTrack.toObject = function (includeInstance, msg) {
|
|
6339
6339
|
var f, obj = {
|
|
6340
6340
|
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
6341
|
-
appId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
6342
6341
|
inputId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
6343
6342
|
concept: (f = msg.getConcept()) && proto.clarifai.api.Concept.toObject(includeInstance, f),
|
|
6344
|
-
userId: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
6345
6343
|
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
|
|
6346
|
-
|
|
6347
|
-
|
|
6344
|
+
startFrameNr: jspb.Message.getFieldWithDefault(msg, 16, 0),
|
|
6345
|
+
endFrameNr: jspb.Message.getFieldWithDefault(msg, 17, 0),
|
|
6346
|
+
startFrameMs: jspb.Message.getFieldWithDefault(msg, 14, 0),
|
|
6347
|
+
endFrameMs: jspb.Message.getFieldWithDefault(msg, 15, 0),
|
|
6348
6348
|
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
6349
6349
|
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
6350
|
-
|
|
6350
|
+
sampleRateMs: jspb.Message.getFieldWithDefault(msg, 12, 0),
|
|
6351
|
+
sampleRateFrame: jspb.Message.getFieldWithDefault(msg, 13, 0)
|
|
6351
6352
|
};
|
|
6352
6353
|
if (includeInstance) {
|
|
6353
6354
|
obj.$jspbMessageInstance = msg;
|
|
@@ -6383,10 +6384,6 @@ proto.clarifai.api.AnnotationTrack.deserializeBinaryFromReader = function (msg,
|
|
|
6383
6384
|
var value = /** @type {string} */ (reader.readString());
|
|
6384
6385
|
msg.setId(value);
|
|
6385
6386
|
break;
|
|
6386
|
-
case 2:
|
|
6387
|
-
var value = /** @type {string} */ (reader.readString());
|
|
6388
|
-
msg.setAppId(value);
|
|
6389
|
-
break;
|
|
6390
6387
|
case 3:
|
|
6391
6388
|
var value = /** @type {string} */ (reader.readString());
|
|
6392
6389
|
msg.setInputId(value);
|
|
@@ -6396,22 +6393,26 @@ proto.clarifai.api.AnnotationTrack.deserializeBinaryFromReader = function (msg,
|
|
|
6396
6393
|
reader.readMessage(value, proto.clarifai.api.Concept.deserializeBinaryFromReader);
|
|
6397
6394
|
msg.setConcept(value);
|
|
6398
6395
|
break;
|
|
6399
|
-
case 5:
|
|
6400
|
-
var value = /** @type {string} */ (reader.readString());
|
|
6401
|
-
msg.setUserId(value);
|
|
6402
|
-
break;
|
|
6403
6396
|
case 6:
|
|
6404
6397
|
var value = new proto_clarifai_api_status_status_pb.Status;
|
|
6405
6398
|
reader.readMessage(value, proto_clarifai_api_status_status_pb.Status.deserializeBinaryFromReader);
|
|
6406
6399
|
msg.setStatus(value);
|
|
6407
6400
|
break;
|
|
6408
|
-
case
|
|
6401
|
+
case 16:
|
|
6409
6402
|
var value = /** @type {number} */ (reader.readUint32());
|
|
6410
|
-
msg.
|
|
6403
|
+
msg.setStartFrameNr(value);
|
|
6411
6404
|
break;
|
|
6412
|
-
case
|
|
6405
|
+
case 17:
|
|
6413
6406
|
var value = /** @type {number} */ (reader.readUint32());
|
|
6414
|
-
msg.
|
|
6407
|
+
msg.setEndFrameNr(value);
|
|
6408
|
+
break;
|
|
6409
|
+
case 14:
|
|
6410
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
6411
|
+
msg.setStartFrameMs(value);
|
|
6412
|
+
break;
|
|
6413
|
+
case 15:
|
|
6414
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
6415
|
+
msg.setEndFrameMs(value);
|
|
6415
6416
|
break;
|
|
6416
6417
|
case 9:
|
|
6417
6418
|
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
@@ -6423,9 +6424,13 @@ proto.clarifai.api.AnnotationTrack.deserializeBinaryFromReader = function (msg,
|
|
|
6423
6424
|
reader.readMessage(value, google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
6424
6425
|
msg.setModifiedAt(value);
|
|
6425
6426
|
break;
|
|
6426
|
-
case
|
|
6427
|
+
case 12:
|
|
6428
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
6429
|
+
msg.setSampleRateMs(value);
|
|
6430
|
+
break;
|
|
6431
|
+
case 13:
|
|
6427
6432
|
var value = /** @type {number} */ (reader.readUint32());
|
|
6428
|
-
msg.
|
|
6433
|
+
msg.setSampleRateFrame(value);
|
|
6429
6434
|
break;
|
|
6430
6435
|
default:
|
|
6431
6436
|
reader.skipField();
|
|
@@ -6456,10 +6461,6 @@ proto.clarifai.api.AnnotationTrack.serializeBinaryToWriter = function (message,
|
|
|
6456
6461
|
if (f.length > 0) {
|
|
6457
6462
|
writer.writeString(1, f);
|
|
6458
6463
|
}
|
|
6459
|
-
f = message.getAppId();
|
|
6460
|
-
if (f.length > 0) {
|
|
6461
|
-
writer.writeString(2, f);
|
|
6462
|
-
}
|
|
6463
6464
|
f = message.getInputId();
|
|
6464
6465
|
if (f.length > 0) {
|
|
6465
6466
|
writer.writeString(3, f);
|
|
@@ -6468,21 +6469,25 @@ proto.clarifai.api.AnnotationTrack.serializeBinaryToWriter = function (message,
|
|
|
6468
6469
|
if (f != null) {
|
|
6469
6470
|
writer.writeMessage(4, f, proto.clarifai.api.Concept.serializeBinaryToWriter);
|
|
6470
6471
|
}
|
|
6471
|
-
f = message.getUserId();
|
|
6472
|
-
if (f.length > 0) {
|
|
6473
|
-
writer.writeString(5, f);
|
|
6474
|
-
}
|
|
6475
6472
|
f = message.getStatus();
|
|
6476
6473
|
if (f != null) {
|
|
6477
6474
|
writer.writeMessage(6, f, proto_clarifai_api_status_status_pb.Status.serializeBinaryToWriter);
|
|
6478
6475
|
}
|
|
6479
|
-
f = message.
|
|
6476
|
+
f = message.getStartFrameNr();
|
|
6480
6477
|
if (f !== 0) {
|
|
6481
|
-
writer.writeUint32(
|
|
6478
|
+
writer.writeUint32(16, f);
|
|
6482
6479
|
}
|
|
6483
|
-
f = message.
|
|
6480
|
+
f = message.getEndFrameNr();
|
|
6484
6481
|
if (f !== 0) {
|
|
6485
|
-
writer.writeUint32(
|
|
6482
|
+
writer.writeUint32(17, f);
|
|
6483
|
+
}
|
|
6484
|
+
f = message.getStartFrameMs();
|
|
6485
|
+
if (f !== 0) {
|
|
6486
|
+
writer.writeUint32(14, f);
|
|
6487
|
+
}
|
|
6488
|
+
f = message.getEndFrameMs();
|
|
6489
|
+
if (f !== 0) {
|
|
6490
|
+
writer.writeUint32(15, f);
|
|
6486
6491
|
}
|
|
6487
6492
|
f = message.getCreatedAt();
|
|
6488
6493
|
if (f != null) {
|
|
@@ -6492,9 +6497,13 @@ proto.clarifai.api.AnnotationTrack.serializeBinaryToWriter = function (message,
|
|
|
6492
6497
|
if (f != null) {
|
|
6493
6498
|
writer.writeMessage(10, f, google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter);
|
|
6494
6499
|
}
|
|
6495
|
-
f = message.
|
|
6500
|
+
f = message.getSampleRateMs();
|
|
6496
6501
|
if (f !== 0) {
|
|
6497
|
-
writer.writeUint32(
|
|
6502
|
+
writer.writeUint32(12, f);
|
|
6503
|
+
}
|
|
6504
|
+
f = message.getSampleRateFrame();
|
|
6505
|
+
if (f !== 0) {
|
|
6506
|
+
writer.writeUint32(13, f);
|
|
6498
6507
|
}
|
|
6499
6508
|
};
|
|
6500
6509
|
/**
|
|
@@ -6511,20 +6520,6 @@ proto.clarifai.api.AnnotationTrack.prototype.getId = function () {
|
|
|
6511
6520
|
proto.clarifai.api.AnnotationTrack.prototype.setId = function (value) {
|
|
6512
6521
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
6513
6522
|
};
|
|
6514
|
-
/**
|
|
6515
|
-
* optional string app_id = 2;
|
|
6516
|
-
* @return {string}
|
|
6517
|
-
*/
|
|
6518
|
-
proto.clarifai.api.AnnotationTrack.prototype.getAppId = function () {
|
|
6519
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
6520
|
-
};
|
|
6521
|
-
/**
|
|
6522
|
-
* @param {string} value
|
|
6523
|
-
* @return {!proto.clarifai.api.AnnotationTrack} returns this
|
|
6524
|
-
*/
|
|
6525
|
-
proto.clarifai.api.AnnotationTrack.prototype.setAppId = function (value) {
|
|
6526
|
-
return jspb.Message.setProto3StringField(this, 2, value);
|
|
6527
|
-
};
|
|
6528
6523
|
/**
|
|
6529
6524
|
* optional string input_id = 3;
|
|
6530
6525
|
* @return {string}
|
|
@@ -6567,20 +6562,6 @@ proto.clarifai.api.AnnotationTrack.prototype.clearConcept = function () {
|
|
|
6567
6562
|
proto.clarifai.api.AnnotationTrack.prototype.hasConcept = function () {
|
|
6568
6563
|
return jspb.Message.getField(this, 4) != null;
|
|
6569
6564
|
};
|
|
6570
|
-
/**
|
|
6571
|
-
* optional string user_id = 5;
|
|
6572
|
-
* @return {string}
|
|
6573
|
-
*/
|
|
6574
|
-
proto.clarifai.api.AnnotationTrack.prototype.getUserId = function () {
|
|
6575
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
6576
|
-
};
|
|
6577
|
-
/**
|
|
6578
|
-
* @param {string} value
|
|
6579
|
-
* @return {!proto.clarifai.api.AnnotationTrack} returns this
|
|
6580
|
-
*/
|
|
6581
|
-
proto.clarifai.api.AnnotationTrack.prototype.setUserId = function (value) {
|
|
6582
|
-
return jspb.Message.setProto3StringField(this, 5, value);
|
|
6583
|
-
};
|
|
6584
6565
|
/**
|
|
6585
6566
|
* optional status.Status status = 6;
|
|
6586
6567
|
* @return {?proto.clarifai.api.status.Status}
|
|
@@ -6610,32 +6591,60 @@ proto.clarifai.api.AnnotationTrack.prototype.hasStatus = function () {
|
|
|
6610
6591
|
return jspb.Message.getField(this, 6) != null;
|
|
6611
6592
|
};
|
|
6612
6593
|
/**
|
|
6613
|
-
* optional uint32
|
|
6594
|
+
* optional uint32 start_frame_nr = 16;
|
|
6614
6595
|
* @return {number}
|
|
6615
6596
|
*/
|
|
6616
|
-
proto.clarifai.api.AnnotationTrack.prototype.
|
|
6617
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
|
6597
|
+
proto.clarifai.api.AnnotationTrack.prototype.getStartFrameNr = function () {
|
|
6598
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 16, 0));
|
|
6618
6599
|
};
|
|
6619
6600
|
/**
|
|
6620
6601
|
* @param {number} value
|
|
6621
6602
|
* @return {!proto.clarifai.api.AnnotationTrack} returns this
|
|
6622
6603
|
*/
|
|
6623
|
-
proto.clarifai.api.AnnotationTrack.prototype.
|
|
6624
|
-
return jspb.Message.setProto3IntField(this,
|
|
6604
|
+
proto.clarifai.api.AnnotationTrack.prototype.setStartFrameNr = function (value) {
|
|
6605
|
+
return jspb.Message.setProto3IntField(this, 16, value);
|
|
6625
6606
|
};
|
|
6626
6607
|
/**
|
|
6627
|
-
* optional uint32
|
|
6608
|
+
* optional uint32 end_frame_nr = 17;
|
|
6628
6609
|
* @return {number}
|
|
6629
6610
|
*/
|
|
6630
|
-
proto.clarifai.api.AnnotationTrack.prototype.
|
|
6631
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
|
6611
|
+
proto.clarifai.api.AnnotationTrack.prototype.getEndFrameNr = function () {
|
|
6612
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 17, 0));
|
|
6632
6613
|
};
|
|
6633
6614
|
/**
|
|
6634
6615
|
* @param {number} value
|
|
6635
6616
|
* @return {!proto.clarifai.api.AnnotationTrack} returns this
|
|
6636
6617
|
*/
|
|
6637
|
-
proto.clarifai.api.AnnotationTrack.prototype.
|
|
6638
|
-
return jspb.Message.setProto3IntField(this,
|
|
6618
|
+
proto.clarifai.api.AnnotationTrack.prototype.setEndFrameNr = function (value) {
|
|
6619
|
+
return jspb.Message.setProto3IntField(this, 17, value);
|
|
6620
|
+
};
|
|
6621
|
+
/**
|
|
6622
|
+
* optional uint32 start_frame_ms = 14;
|
|
6623
|
+
* @return {number}
|
|
6624
|
+
*/
|
|
6625
|
+
proto.clarifai.api.AnnotationTrack.prototype.getStartFrameMs = function () {
|
|
6626
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 14, 0));
|
|
6627
|
+
};
|
|
6628
|
+
/**
|
|
6629
|
+
* @param {number} value
|
|
6630
|
+
* @return {!proto.clarifai.api.AnnotationTrack} returns this
|
|
6631
|
+
*/
|
|
6632
|
+
proto.clarifai.api.AnnotationTrack.prototype.setStartFrameMs = function (value) {
|
|
6633
|
+
return jspb.Message.setProto3IntField(this, 14, value);
|
|
6634
|
+
};
|
|
6635
|
+
/**
|
|
6636
|
+
* optional uint32 end_frame_ms = 15;
|
|
6637
|
+
* @return {number}
|
|
6638
|
+
*/
|
|
6639
|
+
proto.clarifai.api.AnnotationTrack.prototype.getEndFrameMs = function () {
|
|
6640
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 15, 0));
|
|
6641
|
+
};
|
|
6642
|
+
/**
|
|
6643
|
+
* @param {number} value
|
|
6644
|
+
* @return {!proto.clarifai.api.AnnotationTrack} returns this
|
|
6645
|
+
*/
|
|
6646
|
+
proto.clarifai.api.AnnotationTrack.prototype.setEndFrameMs = function (value) {
|
|
6647
|
+
return jspb.Message.setProto3IntField(this, 15, value);
|
|
6639
6648
|
};
|
|
6640
6649
|
/**
|
|
6641
6650
|
* optional google.protobuf.Timestamp created_at = 9;
|
|
@@ -6694,18 +6703,32 @@ proto.clarifai.api.AnnotationTrack.prototype.hasModifiedAt = function () {
|
|
|
6694
6703
|
return jspb.Message.getField(this, 10) != null;
|
|
6695
6704
|
};
|
|
6696
6705
|
/**
|
|
6697
|
-
* optional uint32
|
|
6706
|
+
* optional uint32 sample_rate_ms = 12;
|
|
6698
6707
|
* @return {number}
|
|
6699
6708
|
*/
|
|
6700
|
-
proto.clarifai.api.AnnotationTrack.prototype.
|
|
6701
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
|
6709
|
+
proto.clarifai.api.AnnotationTrack.prototype.getSampleRateMs = function () {
|
|
6710
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 12, 0));
|
|
6702
6711
|
};
|
|
6703
6712
|
/**
|
|
6704
6713
|
* @param {number} value
|
|
6705
6714
|
* @return {!proto.clarifai.api.AnnotationTrack} returns this
|
|
6706
6715
|
*/
|
|
6707
|
-
proto.clarifai.api.AnnotationTrack.prototype.
|
|
6708
|
-
return jspb.Message.setProto3IntField(this,
|
|
6716
|
+
proto.clarifai.api.AnnotationTrack.prototype.setSampleRateMs = function (value) {
|
|
6717
|
+
return jspb.Message.setProto3IntField(this, 12, value);
|
|
6718
|
+
};
|
|
6719
|
+
/**
|
|
6720
|
+
* optional uint32 sample_rate_frame = 13;
|
|
6721
|
+
* @return {number}
|
|
6722
|
+
*/
|
|
6723
|
+
proto.clarifai.api.AnnotationTrack.prototype.getSampleRateFrame = function () {
|
|
6724
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 13, 0));
|
|
6725
|
+
};
|
|
6726
|
+
/**
|
|
6727
|
+
* @param {number} value
|
|
6728
|
+
* @return {!proto.clarifai.api.AnnotationTrack} returns this
|
|
6729
|
+
*/
|
|
6730
|
+
proto.clarifai.api.AnnotationTrack.prototype.setSampleRateFrame = function (value) {
|
|
6731
|
+
return jspb.Message.setProto3IntField(this, 13, value);
|
|
6709
6732
|
};
|
|
6710
6733
|
/**
|
|
6711
6734
|
* Oneof group definitions for this message. Each group defines the field
|
|
@@ -6338,16 +6338,17 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
6338
6338
|
proto.clarifai.api.AnnotationTrack.toObject = function (includeInstance, msg) {
|
|
6339
6339
|
var f, obj = {
|
|
6340
6340
|
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
6341
|
-
appId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
6342
6341
|
inputId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
6343
6342
|
concept: (f = msg.getConcept()) && proto.clarifai.api.Concept.toObject(includeInstance, f),
|
|
6344
|
-
userId: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
6345
6343
|
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
|
|
6346
|
-
|
|
6347
|
-
|
|
6344
|
+
startFrameNr: jspb.Message.getFieldWithDefault(msg, 16, 0),
|
|
6345
|
+
endFrameNr: jspb.Message.getFieldWithDefault(msg, 17, 0),
|
|
6346
|
+
startFrameMs: jspb.Message.getFieldWithDefault(msg, 14, 0),
|
|
6347
|
+
endFrameMs: jspb.Message.getFieldWithDefault(msg, 15, 0),
|
|
6348
6348
|
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
6349
6349
|
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
6350
|
-
|
|
6350
|
+
sampleRateMs: jspb.Message.getFieldWithDefault(msg, 12, 0),
|
|
6351
|
+
sampleRateFrame: jspb.Message.getFieldWithDefault(msg, 13, 0)
|
|
6351
6352
|
};
|
|
6352
6353
|
if (includeInstance) {
|
|
6353
6354
|
obj.$jspbMessageInstance = msg;
|
|
@@ -6383,10 +6384,6 @@ proto.clarifai.api.AnnotationTrack.deserializeBinaryFromReader = function (msg,
|
|
|
6383
6384
|
var value = /** @type {string} */ (reader.readString());
|
|
6384
6385
|
msg.setId(value);
|
|
6385
6386
|
break;
|
|
6386
|
-
case 2:
|
|
6387
|
-
var value = /** @type {string} */ (reader.readString());
|
|
6388
|
-
msg.setAppId(value);
|
|
6389
|
-
break;
|
|
6390
6387
|
case 3:
|
|
6391
6388
|
var value = /** @type {string} */ (reader.readString());
|
|
6392
6389
|
msg.setInputId(value);
|
|
@@ -6396,22 +6393,26 @@ proto.clarifai.api.AnnotationTrack.deserializeBinaryFromReader = function (msg,
|
|
|
6396
6393
|
reader.readMessage(value, proto.clarifai.api.Concept.deserializeBinaryFromReader);
|
|
6397
6394
|
msg.setConcept(value);
|
|
6398
6395
|
break;
|
|
6399
|
-
case 5:
|
|
6400
|
-
var value = /** @type {string} */ (reader.readString());
|
|
6401
|
-
msg.setUserId(value);
|
|
6402
|
-
break;
|
|
6403
6396
|
case 6:
|
|
6404
6397
|
var value = new proto_clarifai_api_status_status_pb.Status;
|
|
6405
6398
|
reader.readMessage(value, proto_clarifai_api_status_status_pb.Status.deserializeBinaryFromReader);
|
|
6406
6399
|
msg.setStatus(value);
|
|
6407
6400
|
break;
|
|
6408
|
-
case
|
|
6401
|
+
case 16:
|
|
6409
6402
|
var value = /** @type {number} */ (reader.readUint32());
|
|
6410
|
-
msg.
|
|
6403
|
+
msg.setStartFrameNr(value);
|
|
6411
6404
|
break;
|
|
6412
|
-
case
|
|
6405
|
+
case 17:
|
|
6413
6406
|
var value = /** @type {number} */ (reader.readUint32());
|
|
6414
|
-
msg.
|
|
6407
|
+
msg.setEndFrameNr(value);
|
|
6408
|
+
break;
|
|
6409
|
+
case 14:
|
|
6410
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
6411
|
+
msg.setStartFrameMs(value);
|
|
6412
|
+
break;
|
|
6413
|
+
case 15:
|
|
6414
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
6415
|
+
msg.setEndFrameMs(value);
|
|
6415
6416
|
break;
|
|
6416
6417
|
case 9:
|
|
6417
6418
|
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
@@ -6423,9 +6424,13 @@ proto.clarifai.api.AnnotationTrack.deserializeBinaryFromReader = function (msg,
|
|
|
6423
6424
|
reader.readMessage(value, google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
6424
6425
|
msg.setModifiedAt(value);
|
|
6425
6426
|
break;
|
|
6426
|
-
case
|
|
6427
|
+
case 12:
|
|
6428
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
6429
|
+
msg.setSampleRateMs(value);
|
|
6430
|
+
break;
|
|
6431
|
+
case 13:
|
|
6427
6432
|
var value = /** @type {number} */ (reader.readUint32());
|
|
6428
|
-
msg.
|
|
6433
|
+
msg.setSampleRateFrame(value);
|
|
6429
6434
|
break;
|
|
6430
6435
|
default:
|
|
6431
6436
|
reader.skipField();
|
|
@@ -6456,10 +6461,6 @@ proto.clarifai.api.AnnotationTrack.serializeBinaryToWriter = function (message,
|
|
|
6456
6461
|
if (f.length > 0) {
|
|
6457
6462
|
writer.writeString(1, f);
|
|
6458
6463
|
}
|
|
6459
|
-
f = message.getAppId();
|
|
6460
|
-
if (f.length > 0) {
|
|
6461
|
-
writer.writeString(2, f);
|
|
6462
|
-
}
|
|
6463
6464
|
f = message.getInputId();
|
|
6464
6465
|
if (f.length > 0) {
|
|
6465
6466
|
writer.writeString(3, f);
|
|
@@ -6468,21 +6469,25 @@ proto.clarifai.api.AnnotationTrack.serializeBinaryToWriter = function (message,
|
|
|
6468
6469
|
if (f != null) {
|
|
6469
6470
|
writer.writeMessage(4, f, proto.clarifai.api.Concept.serializeBinaryToWriter);
|
|
6470
6471
|
}
|
|
6471
|
-
f = message.getUserId();
|
|
6472
|
-
if (f.length > 0) {
|
|
6473
|
-
writer.writeString(5, f);
|
|
6474
|
-
}
|
|
6475
6472
|
f = message.getStatus();
|
|
6476
6473
|
if (f != null) {
|
|
6477
6474
|
writer.writeMessage(6, f, proto_clarifai_api_status_status_pb.Status.serializeBinaryToWriter);
|
|
6478
6475
|
}
|
|
6479
|
-
f = message.
|
|
6476
|
+
f = message.getStartFrameNr();
|
|
6480
6477
|
if (f !== 0) {
|
|
6481
|
-
writer.writeUint32(
|
|
6478
|
+
writer.writeUint32(16, f);
|
|
6482
6479
|
}
|
|
6483
|
-
f = message.
|
|
6480
|
+
f = message.getEndFrameNr();
|
|
6484
6481
|
if (f !== 0) {
|
|
6485
|
-
writer.writeUint32(
|
|
6482
|
+
writer.writeUint32(17, f);
|
|
6483
|
+
}
|
|
6484
|
+
f = message.getStartFrameMs();
|
|
6485
|
+
if (f !== 0) {
|
|
6486
|
+
writer.writeUint32(14, f);
|
|
6487
|
+
}
|
|
6488
|
+
f = message.getEndFrameMs();
|
|
6489
|
+
if (f !== 0) {
|
|
6490
|
+
writer.writeUint32(15, f);
|
|
6486
6491
|
}
|
|
6487
6492
|
f = message.getCreatedAt();
|
|
6488
6493
|
if (f != null) {
|
|
@@ -6492,9 +6497,13 @@ proto.clarifai.api.AnnotationTrack.serializeBinaryToWriter = function (message,
|
|
|
6492
6497
|
if (f != null) {
|
|
6493
6498
|
writer.writeMessage(10, f, google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter);
|
|
6494
6499
|
}
|
|
6495
|
-
f = message.
|
|
6500
|
+
f = message.getSampleRateMs();
|
|
6496
6501
|
if (f !== 0) {
|
|
6497
|
-
writer.writeUint32(
|
|
6502
|
+
writer.writeUint32(12, f);
|
|
6503
|
+
}
|
|
6504
|
+
f = message.getSampleRateFrame();
|
|
6505
|
+
if (f !== 0) {
|
|
6506
|
+
writer.writeUint32(13, f);
|
|
6498
6507
|
}
|
|
6499
6508
|
};
|
|
6500
6509
|
/**
|
|
@@ -6511,20 +6520,6 @@ proto.clarifai.api.AnnotationTrack.prototype.getId = function () {
|
|
|
6511
6520
|
proto.clarifai.api.AnnotationTrack.prototype.setId = function (value) {
|
|
6512
6521
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
6513
6522
|
};
|
|
6514
|
-
/**
|
|
6515
|
-
* optional string app_id = 2;
|
|
6516
|
-
* @return {string}
|
|
6517
|
-
*/
|
|
6518
|
-
proto.clarifai.api.AnnotationTrack.prototype.getAppId = function () {
|
|
6519
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
6520
|
-
};
|
|
6521
|
-
/**
|
|
6522
|
-
* @param {string} value
|
|
6523
|
-
* @return {!proto.clarifai.api.AnnotationTrack} returns this
|
|
6524
|
-
*/
|
|
6525
|
-
proto.clarifai.api.AnnotationTrack.prototype.setAppId = function (value) {
|
|
6526
|
-
return jspb.Message.setProto3StringField(this, 2, value);
|
|
6527
|
-
};
|
|
6528
6523
|
/**
|
|
6529
6524
|
* optional string input_id = 3;
|
|
6530
6525
|
* @return {string}
|
|
@@ -6567,20 +6562,6 @@ proto.clarifai.api.AnnotationTrack.prototype.clearConcept = function () {
|
|
|
6567
6562
|
proto.clarifai.api.AnnotationTrack.prototype.hasConcept = function () {
|
|
6568
6563
|
return jspb.Message.getField(this, 4) != null;
|
|
6569
6564
|
};
|
|
6570
|
-
/**
|
|
6571
|
-
* optional string user_id = 5;
|
|
6572
|
-
* @return {string}
|
|
6573
|
-
*/
|
|
6574
|
-
proto.clarifai.api.AnnotationTrack.prototype.getUserId = function () {
|
|
6575
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
6576
|
-
};
|
|
6577
|
-
/**
|
|
6578
|
-
* @param {string} value
|
|
6579
|
-
* @return {!proto.clarifai.api.AnnotationTrack} returns this
|
|
6580
|
-
*/
|
|
6581
|
-
proto.clarifai.api.AnnotationTrack.prototype.setUserId = function (value) {
|
|
6582
|
-
return jspb.Message.setProto3StringField(this, 5, value);
|
|
6583
|
-
};
|
|
6584
6565
|
/**
|
|
6585
6566
|
* optional status.Status status = 6;
|
|
6586
6567
|
* @return {?proto.clarifai.api.status.Status}
|
|
@@ -6610,32 +6591,60 @@ proto.clarifai.api.AnnotationTrack.prototype.hasStatus = function () {
|
|
|
6610
6591
|
return jspb.Message.getField(this, 6) != null;
|
|
6611
6592
|
};
|
|
6612
6593
|
/**
|
|
6613
|
-
* optional uint32
|
|
6594
|
+
* optional uint32 start_frame_nr = 16;
|
|
6614
6595
|
* @return {number}
|
|
6615
6596
|
*/
|
|
6616
|
-
proto.clarifai.api.AnnotationTrack.prototype.
|
|
6617
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
|
6597
|
+
proto.clarifai.api.AnnotationTrack.prototype.getStartFrameNr = function () {
|
|
6598
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 16, 0));
|
|
6618
6599
|
};
|
|
6619
6600
|
/**
|
|
6620
6601
|
* @param {number} value
|
|
6621
6602
|
* @return {!proto.clarifai.api.AnnotationTrack} returns this
|
|
6622
6603
|
*/
|
|
6623
|
-
proto.clarifai.api.AnnotationTrack.prototype.
|
|
6624
|
-
return jspb.Message.setProto3IntField(this,
|
|
6604
|
+
proto.clarifai.api.AnnotationTrack.prototype.setStartFrameNr = function (value) {
|
|
6605
|
+
return jspb.Message.setProto3IntField(this, 16, value);
|
|
6625
6606
|
};
|
|
6626
6607
|
/**
|
|
6627
|
-
* optional uint32
|
|
6608
|
+
* optional uint32 end_frame_nr = 17;
|
|
6628
6609
|
* @return {number}
|
|
6629
6610
|
*/
|
|
6630
|
-
proto.clarifai.api.AnnotationTrack.prototype.
|
|
6631
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
|
6611
|
+
proto.clarifai.api.AnnotationTrack.prototype.getEndFrameNr = function () {
|
|
6612
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 17, 0));
|
|
6632
6613
|
};
|
|
6633
6614
|
/**
|
|
6634
6615
|
* @param {number} value
|
|
6635
6616
|
* @return {!proto.clarifai.api.AnnotationTrack} returns this
|
|
6636
6617
|
*/
|
|
6637
|
-
proto.clarifai.api.AnnotationTrack.prototype.
|
|
6638
|
-
return jspb.Message.setProto3IntField(this,
|
|
6618
|
+
proto.clarifai.api.AnnotationTrack.prototype.setEndFrameNr = function (value) {
|
|
6619
|
+
return jspb.Message.setProto3IntField(this, 17, value);
|
|
6620
|
+
};
|
|
6621
|
+
/**
|
|
6622
|
+
* optional uint32 start_frame_ms = 14;
|
|
6623
|
+
* @return {number}
|
|
6624
|
+
*/
|
|
6625
|
+
proto.clarifai.api.AnnotationTrack.prototype.getStartFrameMs = function () {
|
|
6626
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 14, 0));
|
|
6627
|
+
};
|
|
6628
|
+
/**
|
|
6629
|
+
* @param {number} value
|
|
6630
|
+
* @return {!proto.clarifai.api.AnnotationTrack} returns this
|
|
6631
|
+
*/
|
|
6632
|
+
proto.clarifai.api.AnnotationTrack.prototype.setStartFrameMs = function (value) {
|
|
6633
|
+
return jspb.Message.setProto3IntField(this, 14, value);
|
|
6634
|
+
};
|
|
6635
|
+
/**
|
|
6636
|
+
* optional uint32 end_frame_ms = 15;
|
|
6637
|
+
* @return {number}
|
|
6638
|
+
*/
|
|
6639
|
+
proto.clarifai.api.AnnotationTrack.prototype.getEndFrameMs = function () {
|
|
6640
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 15, 0));
|
|
6641
|
+
};
|
|
6642
|
+
/**
|
|
6643
|
+
* @param {number} value
|
|
6644
|
+
* @return {!proto.clarifai.api.AnnotationTrack} returns this
|
|
6645
|
+
*/
|
|
6646
|
+
proto.clarifai.api.AnnotationTrack.prototype.setEndFrameMs = function (value) {
|
|
6647
|
+
return jspb.Message.setProto3IntField(this, 15, value);
|
|
6639
6648
|
};
|
|
6640
6649
|
/**
|
|
6641
6650
|
* optional google.protobuf.Timestamp created_at = 9;
|
|
@@ -6694,18 +6703,32 @@ proto.clarifai.api.AnnotationTrack.prototype.hasModifiedAt = function () {
|
|
|
6694
6703
|
return jspb.Message.getField(this, 10) != null;
|
|
6695
6704
|
};
|
|
6696
6705
|
/**
|
|
6697
|
-
* optional uint32
|
|
6706
|
+
* optional uint32 sample_rate_ms = 12;
|
|
6698
6707
|
* @return {number}
|
|
6699
6708
|
*/
|
|
6700
|
-
proto.clarifai.api.AnnotationTrack.prototype.
|
|
6701
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
|
6709
|
+
proto.clarifai.api.AnnotationTrack.prototype.getSampleRateMs = function () {
|
|
6710
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 12, 0));
|
|
6702
6711
|
};
|
|
6703
6712
|
/**
|
|
6704
6713
|
* @param {number} value
|
|
6705
6714
|
* @return {!proto.clarifai.api.AnnotationTrack} returns this
|
|
6706
6715
|
*/
|
|
6707
|
-
proto.clarifai.api.AnnotationTrack.prototype.
|
|
6708
|
-
return jspb.Message.setProto3IntField(this,
|
|
6716
|
+
proto.clarifai.api.AnnotationTrack.prototype.setSampleRateMs = function (value) {
|
|
6717
|
+
return jspb.Message.setProto3IntField(this, 12, value);
|
|
6718
|
+
};
|
|
6719
|
+
/**
|
|
6720
|
+
* optional uint32 sample_rate_frame = 13;
|
|
6721
|
+
* @return {number}
|
|
6722
|
+
*/
|
|
6723
|
+
proto.clarifai.api.AnnotationTrack.prototype.getSampleRateFrame = function () {
|
|
6724
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 13, 0));
|
|
6725
|
+
};
|
|
6726
|
+
/**
|
|
6727
|
+
* @param {number} value
|
|
6728
|
+
* @return {!proto.clarifai.api.AnnotationTrack} returns this
|
|
6729
|
+
*/
|
|
6730
|
+
proto.clarifai.api.AnnotationTrack.prototype.setSampleRateFrame = function (value) {
|
|
6731
|
+
return jspb.Message.setProto3IntField(this, 13, value);
|
|
6709
6732
|
};
|
|
6710
6733
|
/**
|
|
6711
6734
|
* Oneof group definitions for this message. Each group defines the field
|
package/package.json
CHANGED
|
@@ -102,9 +102,6 @@ export class AnnotationTrack extends jspb.Message {
|
|
|
102
102
|
getId(): string;
|
|
103
103
|
setId(value: string): AnnotationTrack;
|
|
104
104
|
|
|
105
|
-
getAppId(): string;
|
|
106
|
-
setAppId(value: string): AnnotationTrack;
|
|
107
|
-
|
|
108
105
|
getInputId(): string;
|
|
109
106
|
setInputId(value: string): AnnotationTrack;
|
|
110
107
|
|
|
@@ -113,19 +110,22 @@ export class AnnotationTrack extends jspb.Message {
|
|
|
113
110
|
hasConcept(): boolean;
|
|
114
111
|
clearConcept(): AnnotationTrack;
|
|
115
112
|
|
|
116
|
-
getUserId(): string;
|
|
117
|
-
setUserId(value: string): AnnotationTrack;
|
|
118
|
-
|
|
119
113
|
getStatus(): proto_clarifai_api_status_status_pb.Status | undefined;
|
|
120
114
|
setStatus(value?: proto_clarifai_api_status_status_pb.Status): AnnotationTrack;
|
|
121
115
|
hasStatus(): boolean;
|
|
122
116
|
clearStatus(): AnnotationTrack;
|
|
123
117
|
|
|
124
|
-
|
|
125
|
-
|
|
118
|
+
getStartFrameNr(): number;
|
|
119
|
+
setStartFrameNr(value: number): AnnotationTrack;
|
|
120
|
+
|
|
121
|
+
getEndFrameNr(): number;
|
|
122
|
+
setEndFrameNr(value: number): AnnotationTrack;
|
|
126
123
|
|
|
127
|
-
|
|
128
|
-
|
|
124
|
+
getStartFrameMs(): number;
|
|
125
|
+
setStartFrameMs(value: number): AnnotationTrack;
|
|
126
|
+
|
|
127
|
+
getEndFrameMs(): number;
|
|
128
|
+
setEndFrameMs(value: number): AnnotationTrack;
|
|
129
129
|
|
|
130
130
|
getCreatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
131
131
|
setCreatedAt(value?: google_protobuf_timestamp_pb.Timestamp): AnnotationTrack;
|
|
@@ -137,8 +137,11 @@ export class AnnotationTrack extends jspb.Message {
|
|
|
137
137
|
hasModifiedAt(): boolean;
|
|
138
138
|
clearModifiedAt(): AnnotationTrack;
|
|
139
139
|
|
|
140
|
-
|
|
141
|
-
|
|
140
|
+
getSampleRateMs(): number;
|
|
141
|
+
setSampleRateMs(value: number): AnnotationTrack;
|
|
142
|
+
|
|
143
|
+
getSampleRateFrame(): number;
|
|
144
|
+
setSampleRateFrame(value: number): AnnotationTrack;
|
|
142
145
|
|
|
143
146
|
serializeBinary(): Uint8Array;
|
|
144
147
|
toObject(includeInstance?: boolean): AnnotationTrack.AsObject;
|
|
@@ -151,16 +154,17 @@ export class AnnotationTrack extends jspb.Message {
|
|
|
151
154
|
export namespace AnnotationTrack {
|
|
152
155
|
export type AsObject = {
|
|
153
156
|
id: string,
|
|
154
|
-
appId: string,
|
|
155
157
|
inputId: string,
|
|
156
158
|
concept?: Concept.AsObject,
|
|
157
|
-
userId: string,
|
|
158
159
|
status?: proto_clarifai_api_status_status_pb.Status.AsObject,
|
|
159
|
-
|
|
160
|
-
|
|
160
|
+
startFrameNr: number,
|
|
161
|
+
endFrameNr: number,
|
|
162
|
+
startFrameMs: number,
|
|
163
|
+
endFrameMs: number,
|
|
161
164
|
createdAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
162
165
|
modifiedAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
163
|
-
|
|
166
|
+
sampleRateMs: number,
|
|
167
|
+
sampleRateFrame: number,
|
|
164
168
|
}
|
|
165
169
|
}
|
|
166
170
|
|
|
@@ -6508,16 +6508,17 @@ proto.clarifai.api.AnnotationTrack.prototype.toObject = function(opt_includeInst
|
|
|
6508
6508
|
proto.clarifai.api.AnnotationTrack.toObject = function(includeInstance, msg) {
|
|
6509
6509
|
var f, obj = {
|
|
6510
6510
|
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
6511
|
-
appId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
6512
6511
|
inputId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
6513
6512
|
concept: (f = msg.getConcept()) && proto.clarifai.api.Concept.toObject(includeInstance, f),
|
|
6514
|
-
userId: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
6515
6513
|
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
|
|
6516
|
-
|
|
6517
|
-
|
|
6514
|
+
startFrameNr: jspb.Message.getFieldWithDefault(msg, 16, 0),
|
|
6515
|
+
endFrameNr: jspb.Message.getFieldWithDefault(msg, 17, 0),
|
|
6516
|
+
startFrameMs: jspb.Message.getFieldWithDefault(msg, 14, 0),
|
|
6517
|
+
endFrameMs: jspb.Message.getFieldWithDefault(msg, 15, 0),
|
|
6518
6518
|
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
6519
6519
|
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
6520
|
-
|
|
6520
|
+
sampleRateMs: jspb.Message.getFieldWithDefault(msg, 12, 0),
|
|
6521
|
+
sampleRateFrame: jspb.Message.getFieldWithDefault(msg, 13, 0)
|
|
6521
6522
|
};
|
|
6522
6523
|
|
|
6523
6524
|
if (includeInstance) {
|
|
@@ -6558,10 +6559,6 @@ proto.clarifai.api.AnnotationTrack.deserializeBinaryFromReader = function(msg, r
|
|
|
6558
6559
|
var value = /** @type {string} */ (reader.readString());
|
|
6559
6560
|
msg.setId(value);
|
|
6560
6561
|
break;
|
|
6561
|
-
case 2:
|
|
6562
|
-
var value = /** @type {string} */ (reader.readString());
|
|
6563
|
-
msg.setAppId(value);
|
|
6564
|
-
break;
|
|
6565
6562
|
case 3:
|
|
6566
6563
|
var value = /** @type {string} */ (reader.readString());
|
|
6567
6564
|
msg.setInputId(value);
|
|
@@ -6571,22 +6568,26 @@ proto.clarifai.api.AnnotationTrack.deserializeBinaryFromReader = function(msg, r
|
|
|
6571
6568
|
reader.readMessage(value,proto.clarifai.api.Concept.deserializeBinaryFromReader);
|
|
6572
6569
|
msg.setConcept(value);
|
|
6573
6570
|
break;
|
|
6574
|
-
case 5:
|
|
6575
|
-
var value = /** @type {string} */ (reader.readString());
|
|
6576
|
-
msg.setUserId(value);
|
|
6577
|
-
break;
|
|
6578
6571
|
case 6:
|
|
6579
6572
|
var value = new proto_clarifai_api_status_status_pb.Status;
|
|
6580
6573
|
reader.readMessage(value,proto_clarifai_api_status_status_pb.Status.deserializeBinaryFromReader);
|
|
6581
6574
|
msg.setStatus(value);
|
|
6582
6575
|
break;
|
|
6583
|
-
case
|
|
6576
|
+
case 16:
|
|
6584
6577
|
var value = /** @type {number} */ (reader.readUint32());
|
|
6585
|
-
msg.
|
|
6578
|
+
msg.setStartFrameNr(value);
|
|
6586
6579
|
break;
|
|
6587
|
-
case
|
|
6580
|
+
case 17:
|
|
6588
6581
|
var value = /** @type {number} */ (reader.readUint32());
|
|
6589
|
-
msg.
|
|
6582
|
+
msg.setEndFrameNr(value);
|
|
6583
|
+
break;
|
|
6584
|
+
case 14:
|
|
6585
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
6586
|
+
msg.setStartFrameMs(value);
|
|
6587
|
+
break;
|
|
6588
|
+
case 15:
|
|
6589
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
6590
|
+
msg.setEndFrameMs(value);
|
|
6590
6591
|
break;
|
|
6591
6592
|
case 9:
|
|
6592
6593
|
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
@@ -6598,9 +6599,13 @@ proto.clarifai.api.AnnotationTrack.deserializeBinaryFromReader = function(msg, r
|
|
|
6598
6599
|
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
6599
6600
|
msg.setModifiedAt(value);
|
|
6600
6601
|
break;
|
|
6601
|
-
case
|
|
6602
|
+
case 12:
|
|
6602
6603
|
var value = /** @type {number} */ (reader.readUint32());
|
|
6603
|
-
msg.
|
|
6604
|
+
msg.setSampleRateMs(value);
|
|
6605
|
+
break;
|
|
6606
|
+
case 13:
|
|
6607
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
6608
|
+
msg.setSampleRateFrame(value);
|
|
6604
6609
|
break;
|
|
6605
6610
|
default:
|
|
6606
6611
|
reader.skipField();
|
|
@@ -6638,13 +6643,6 @@ proto.clarifai.api.AnnotationTrack.serializeBinaryToWriter = function(message, w
|
|
|
6638
6643
|
f
|
|
6639
6644
|
);
|
|
6640
6645
|
}
|
|
6641
|
-
f = message.getAppId();
|
|
6642
|
-
if (f.length > 0) {
|
|
6643
|
-
writer.writeString(
|
|
6644
|
-
2,
|
|
6645
|
-
f
|
|
6646
|
-
);
|
|
6647
|
-
}
|
|
6648
6646
|
f = message.getInputId();
|
|
6649
6647
|
if (f.length > 0) {
|
|
6650
6648
|
writer.writeString(
|
|
@@ -6660,13 +6658,6 @@ proto.clarifai.api.AnnotationTrack.serializeBinaryToWriter = function(message, w
|
|
|
6660
6658
|
proto.clarifai.api.Concept.serializeBinaryToWriter
|
|
6661
6659
|
);
|
|
6662
6660
|
}
|
|
6663
|
-
f = message.getUserId();
|
|
6664
|
-
if (f.length > 0) {
|
|
6665
|
-
writer.writeString(
|
|
6666
|
-
5,
|
|
6667
|
-
f
|
|
6668
|
-
);
|
|
6669
|
-
}
|
|
6670
6661
|
f = message.getStatus();
|
|
6671
6662
|
if (f != null) {
|
|
6672
6663
|
writer.writeMessage(
|
|
@@ -6675,17 +6666,31 @@ proto.clarifai.api.AnnotationTrack.serializeBinaryToWriter = function(message, w
|
|
|
6675
6666
|
proto_clarifai_api_status_status_pb.Status.serializeBinaryToWriter
|
|
6676
6667
|
);
|
|
6677
6668
|
}
|
|
6678
|
-
f = message.
|
|
6669
|
+
f = message.getStartFrameNr();
|
|
6679
6670
|
if (f !== 0) {
|
|
6680
6671
|
writer.writeUint32(
|
|
6681
|
-
|
|
6672
|
+
16,
|
|
6682
6673
|
f
|
|
6683
6674
|
);
|
|
6684
6675
|
}
|
|
6685
|
-
f = message.
|
|
6676
|
+
f = message.getEndFrameNr();
|
|
6686
6677
|
if (f !== 0) {
|
|
6687
6678
|
writer.writeUint32(
|
|
6688
|
-
|
|
6679
|
+
17,
|
|
6680
|
+
f
|
|
6681
|
+
);
|
|
6682
|
+
}
|
|
6683
|
+
f = message.getStartFrameMs();
|
|
6684
|
+
if (f !== 0) {
|
|
6685
|
+
writer.writeUint32(
|
|
6686
|
+
14,
|
|
6687
|
+
f
|
|
6688
|
+
);
|
|
6689
|
+
}
|
|
6690
|
+
f = message.getEndFrameMs();
|
|
6691
|
+
if (f !== 0) {
|
|
6692
|
+
writer.writeUint32(
|
|
6693
|
+
15,
|
|
6689
6694
|
f
|
|
6690
6695
|
);
|
|
6691
6696
|
}
|
|
@@ -6705,10 +6710,17 @@ proto.clarifai.api.AnnotationTrack.serializeBinaryToWriter = function(message, w
|
|
|
6705
6710
|
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
6706
6711
|
);
|
|
6707
6712
|
}
|
|
6708
|
-
f = message.
|
|
6713
|
+
f = message.getSampleRateMs();
|
|
6709
6714
|
if (f !== 0) {
|
|
6710
6715
|
writer.writeUint32(
|
|
6711
|
-
|
|
6716
|
+
12,
|
|
6717
|
+
f
|
|
6718
|
+
);
|
|
6719
|
+
}
|
|
6720
|
+
f = message.getSampleRateFrame();
|
|
6721
|
+
if (f !== 0) {
|
|
6722
|
+
writer.writeUint32(
|
|
6723
|
+
13,
|
|
6712
6724
|
f
|
|
6713
6725
|
);
|
|
6714
6726
|
}
|
|
@@ -6733,24 +6745,6 @@ proto.clarifai.api.AnnotationTrack.prototype.setId = function(value) {
|
|
|
6733
6745
|
};
|
|
6734
6746
|
|
|
6735
6747
|
|
|
6736
|
-
/**
|
|
6737
|
-
* optional string app_id = 2;
|
|
6738
|
-
* @return {string}
|
|
6739
|
-
*/
|
|
6740
|
-
proto.clarifai.api.AnnotationTrack.prototype.getAppId = function() {
|
|
6741
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
6742
|
-
};
|
|
6743
|
-
|
|
6744
|
-
|
|
6745
|
-
/**
|
|
6746
|
-
* @param {string} value
|
|
6747
|
-
* @return {!proto.clarifai.api.AnnotationTrack} returns this
|
|
6748
|
-
*/
|
|
6749
|
-
proto.clarifai.api.AnnotationTrack.prototype.setAppId = function(value) {
|
|
6750
|
-
return jspb.Message.setProto3StringField(this, 2, value);
|
|
6751
|
-
};
|
|
6752
|
-
|
|
6753
|
-
|
|
6754
6748
|
/**
|
|
6755
6749
|
* optional string input_id = 3;
|
|
6756
6750
|
* @return {string}
|
|
@@ -6806,24 +6800,6 @@ proto.clarifai.api.AnnotationTrack.prototype.hasConcept = function() {
|
|
|
6806
6800
|
};
|
|
6807
6801
|
|
|
6808
6802
|
|
|
6809
|
-
/**
|
|
6810
|
-
* optional string user_id = 5;
|
|
6811
|
-
* @return {string}
|
|
6812
|
-
*/
|
|
6813
|
-
proto.clarifai.api.AnnotationTrack.prototype.getUserId = function() {
|
|
6814
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
6815
|
-
};
|
|
6816
|
-
|
|
6817
|
-
|
|
6818
|
-
/**
|
|
6819
|
-
* @param {string} value
|
|
6820
|
-
* @return {!proto.clarifai.api.AnnotationTrack} returns this
|
|
6821
|
-
*/
|
|
6822
|
-
proto.clarifai.api.AnnotationTrack.prototype.setUserId = function(value) {
|
|
6823
|
-
return jspb.Message.setProto3StringField(this, 5, value);
|
|
6824
|
-
};
|
|
6825
|
-
|
|
6826
|
-
|
|
6827
6803
|
/**
|
|
6828
6804
|
* optional status.Status status = 6;
|
|
6829
6805
|
* @return {?proto.clarifai.api.status.Status}
|
|
@@ -6862,11 +6838,11 @@ proto.clarifai.api.AnnotationTrack.prototype.hasStatus = function() {
|
|
|
6862
6838
|
|
|
6863
6839
|
|
|
6864
6840
|
/**
|
|
6865
|
-
* optional uint32
|
|
6841
|
+
* optional uint32 start_frame_nr = 16;
|
|
6866
6842
|
* @return {number}
|
|
6867
6843
|
*/
|
|
6868
|
-
proto.clarifai.api.AnnotationTrack.prototype.
|
|
6869
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
|
6844
|
+
proto.clarifai.api.AnnotationTrack.prototype.getStartFrameNr = function() {
|
|
6845
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 16, 0));
|
|
6870
6846
|
};
|
|
6871
6847
|
|
|
6872
6848
|
|
|
@@ -6874,17 +6850,17 @@ proto.clarifai.api.AnnotationTrack.prototype.getStartFrame = function() {
|
|
|
6874
6850
|
* @param {number} value
|
|
6875
6851
|
* @return {!proto.clarifai.api.AnnotationTrack} returns this
|
|
6876
6852
|
*/
|
|
6877
|
-
proto.clarifai.api.AnnotationTrack.prototype.
|
|
6878
|
-
return jspb.Message.setProto3IntField(this,
|
|
6853
|
+
proto.clarifai.api.AnnotationTrack.prototype.setStartFrameNr = function(value) {
|
|
6854
|
+
return jspb.Message.setProto3IntField(this, 16, value);
|
|
6879
6855
|
};
|
|
6880
6856
|
|
|
6881
6857
|
|
|
6882
6858
|
/**
|
|
6883
|
-
* optional uint32
|
|
6859
|
+
* optional uint32 end_frame_nr = 17;
|
|
6884
6860
|
* @return {number}
|
|
6885
6861
|
*/
|
|
6886
|
-
proto.clarifai.api.AnnotationTrack.prototype.
|
|
6887
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
|
6862
|
+
proto.clarifai.api.AnnotationTrack.prototype.getEndFrameNr = function() {
|
|
6863
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 17, 0));
|
|
6888
6864
|
};
|
|
6889
6865
|
|
|
6890
6866
|
|
|
@@ -6892,8 +6868,44 @@ proto.clarifai.api.AnnotationTrack.prototype.getEndFrame = function() {
|
|
|
6892
6868
|
* @param {number} value
|
|
6893
6869
|
* @return {!proto.clarifai.api.AnnotationTrack} returns this
|
|
6894
6870
|
*/
|
|
6895
|
-
proto.clarifai.api.AnnotationTrack.prototype.
|
|
6896
|
-
return jspb.Message.setProto3IntField(this,
|
|
6871
|
+
proto.clarifai.api.AnnotationTrack.prototype.setEndFrameNr = function(value) {
|
|
6872
|
+
return jspb.Message.setProto3IntField(this, 17, value);
|
|
6873
|
+
};
|
|
6874
|
+
|
|
6875
|
+
|
|
6876
|
+
/**
|
|
6877
|
+
* optional uint32 start_frame_ms = 14;
|
|
6878
|
+
* @return {number}
|
|
6879
|
+
*/
|
|
6880
|
+
proto.clarifai.api.AnnotationTrack.prototype.getStartFrameMs = function() {
|
|
6881
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 14, 0));
|
|
6882
|
+
};
|
|
6883
|
+
|
|
6884
|
+
|
|
6885
|
+
/**
|
|
6886
|
+
* @param {number} value
|
|
6887
|
+
* @return {!proto.clarifai.api.AnnotationTrack} returns this
|
|
6888
|
+
*/
|
|
6889
|
+
proto.clarifai.api.AnnotationTrack.prototype.setStartFrameMs = function(value) {
|
|
6890
|
+
return jspb.Message.setProto3IntField(this, 14, value);
|
|
6891
|
+
};
|
|
6892
|
+
|
|
6893
|
+
|
|
6894
|
+
/**
|
|
6895
|
+
* optional uint32 end_frame_ms = 15;
|
|
6896
|
+
* @return {number}
|
|
6897
|
+
*/
|
|
6898
|
+
proto.clarifai.api.AnnotationTrack.prototype.getEndFrameMs = function() {
|
|
6899
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 15, 0));
|
|
6900
|
+
};
|
|
6901
|
+
|
|
6902
|
+
|
|
6903
|
+
/**
|
|
6904
|
+
* @param {number} value
|
|
6905
|
+
* @return {!proto.clarifai.api.AnnotationTrack} returns this
|
|
6906
|
+
*/
|
|
6907
|
+
proto.clarifai.api.AnnotationTrack.prototype.setEndFrameMs = function(value) {
|
|
6908
|
+
return jspb.Message.setProto3IntField(this, 15, value);
|
|
6897
6909
|
};
|
|
6898
6910
|
|
|
6899
6911
|
|
|
@@ -6972,11 +6984,11 @@ proto.clarifai.api.AnnotationTrack.prototype.hasModifiedAt = function() {
|
|
|
6972
6984
|
|
|
6973
6985
|
|
|
6974
6986
|
/**
|
|
6975
|
-
* optional uint32
|
|
6987
|
+
* optional uint32 sample_rate_ms = 12;
|
|
6976
6988
|
* @return {number}
|
|
6977
6989
|
*/
|
|
6978
|
-
proto.clarifai.api.AnnotationTrack.prototype.
|
|
6979
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
|
6990
|
+
proto.clarifai.api.AnnotationTrack.prototype.getSampleRateMs = function() {
|
|
6991
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 12, 0));
|
|
6980
6992
|
};
|
|
6981
6993
|
|
|
6982
6994
|
|
|
@@ -6984,8 +6996,26 @@ proto.clarifai.api.AnnotationTrack.prototype.getFrameRate = function() {
|
|
|
6984
6996
|
* @param {number} value
|
|
6985
6997
|
* @return {!proto.clarifai.api.AnnotationTrack} returns this
|
|
6986
6998
|
*/
|
|
6987
|
-
proto.clarifai.api.AnnotationTrack.prototype.
|
|
6988
|
-
return jspb.Message.setProto3IntField(this,
|
|
6999
|
+
proto.clarifai.api.AnnotationTrack.prototype.setSampleRateMs = function(value) {
|
|
7000
|
+
return jspb.Message.setProto3IntField(this, 12, value);
|
|
7001
|
+
};
|
|
7002
|
+
|
|
7003
|
+
|
|
7004
|
+
/**
|
|
7005
|
+
* optional uint32 sample_rate_frame = 13;
|
|
7006
|
+
* @return {number}
|
|
7007
|
+
*/
|
|
7008
|
+
proto.clarifai.api.AnnotationTrack.prototype.getSampleRateFrame = function() {
|
|
7009
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 13, 0));
|
|
7010
|
+
};
|
|
7011
|
+
|
|
7012
|
+
|
|
7013
|
+
/**
|
|
7014
|
+
* @param {number} value
|
|
7015
|
+
* @return {!proto.clarifai.api.AnnotationTrack} returns this
|
|
7016
|
+
*/
|
|
7017
|
+
proto.clarifai.api.AnnotationTrack.prototype.setSampleRateFrame = function(value) {
|
|
7018
|
+
return jspb.Message.setProto3IntField(this, 13, value);
|
|
6989
7019
|
};
|
|
6990
7020
|
|
|
6991
7021
|
|