@ondewo/s2t-client-typescript 5.4.0 → 5.5.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/api/ondewo/s2t/speech-to-text_pb.d.ts +60 -136
- package/api/ondewo/s2t/speech-to-text_pb.js +448 -1159
- package/package.json +1 -1
- package/public-api.js +1 -1
|
@@ -35,15 +35,11 @@ goog.exportSymbol('proto.ondewo.s2t.ListS2tLanguagesResponse', null, global);
|
|
|
35
35
|
goog.exportSymbol('proto.ondewo.s2t.ListS2tPipelinesRequest', null, global);
|
|
36
36
|
goog.exportSymbol('proto.ondewo.s2t.ListS2tPipelinesResponse', null, global);
|
|
37
37
|
goog.exportSymbol('proto.ondewo.s2t.Logging', null, global);
|
|
38
|
-
goog.exportSymbol('proto.ondewo.s2t.Matchbox', null, global);
|
|
39
38
|
goog.exportSymbol('proto.ondewo.s2t.PostProcessing', null, global);
|
|
40
39
|
goog.exportSymbol('proto.ondewo.s2t.PostProcessingOptions', null, global);
|
|
41
40
|
goog.exportSymbol('proto.ondewo.s2t.PostProcessors', null, global);
|
|
42
41
|
goog.exportSymbol('proto.ondewo.s2t.PtFiles', null, global);
|
|
43
42
|
goog.exportSymbol('proto.ondewo.s2t.Pyannote', null, global);
|
|
44
|
-
goog.exportSymbol('proto.ondewo.s2t.Pyannote.OneofLogScaleCase', null, global);
|
|
45
|
-
goog.exportSymbol('proto.ondewo.s2t.Quartznet', null, global);
|
|
46
|
-
goog.exportSymbol('proto.ondewo.s2t.QuartznetTriton', null, global);
|
|
47
43
|
goog.exportSymbol('proto.ondewo.s2t.S2TDescription', null, global);
|
|
48
44
|
goog.exportSymbol('proto.ondewo.s2t.S2TGetServiceInfoResponse', null, global);
|
|
49
45
|
goog.exportSymbol('proto.ondewo.s2t.S2TInference', null, global);
|
|
@@ -665,27 +661,6 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
665
661
|
*/
|
|
666
662
|
proto.ondewo.s2t.Wav2VecTriton.displayName = 'proto.ondewo.s2t.Wav2VecTriton';
|
|
667
663
|
}
|
|
668
|
-
/**
|
|
669
|
-
* Generated by JsPbCodeGenerator.
|
|
670
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
671
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
672
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
673
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
674
|
-
* valid.
|
|
675
|
-
* @extends {jspb.Message}
|
|
676
|
-
* @constructor
|
|
677
|
-
*/
|
|
678
|
-
proto.ondewo.s2t.Quartznet = function(opt_data) {
|
|
679
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
680
|
-
};
|
|
681
|
-
goog.inherits(proto.ondewo.s2t.Quartznet, jspb.Message);
|
|
682
|
-
if (goog.DEBUG && !COMPILED) {
|
|
683
|
-
/**
|
|
684
|
-
* @public
|
|
685
|
-
* @override
|
|
686
|
-
*/
|
|
687
|
-
proto.ondewo.s2t.Quartznet.displayName = 'proto.ondewo.s2t.Quartznet';
|
|
688
|
-
}
|
|
689
664
|
/**
|
|
690
665
|
* Generated by JsPbCodeGenerator.
|
|
691
666
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -728,27 +703,6 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
728
703
|
*/
|
|
729
704
|
proto.ondewo.s2t.CkptFile.displayName = 'proto.ondewo.s2t.CkptFile';
|
|
730
705
|
}
|
|
731
|
-
/**
|
|
732
|
-
* Generated by JsPbCodeGenerator.
|
|
733
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
734
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
735
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
736
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
737
|
-
* valid.
|
|
738
|
-
* @extends {jspb.Message}
|
|
739
|
-
* @constructor
|
|
740
|
-
*/
|
|
741
|
-
proto.ondewo.s2t.QuartznetTriton = function(opt_data) {
|
|
742
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
743
|
-
};
|
|
744
|
-
goog.inherits(proto.ondewo.s2t.QuartznetTriton, jspb.Message);
|
|
745
|
-
if (goog.DEBUG && !COMPILED) {
|
|
746
|
-
/**
|
|
747
|
-
* @public
|
|
748
|
-
* @override
|
|
749
|
-
*/
|
|
750
|
-
proto.ondewo.s2t.QuartznetTriton.displayName = 'proto.ondewo.s2t.QuartznetTriton';
|
|
751
|
-
}
|
|
752
706
|
/**
|
|
753
707
|
* Generated by JsPbCodeGenerator.
|
|
754
708
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -844,7 +798,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
844
798
|
* @constructor
|
|
845
799
|
*/
|
|
846
800
|
proto.ondewo.s2t.Pyannote = function(opt_data) {
|
|
847
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null,
|
|
801
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
848
802
|
};
|
|
849
803
|
goog.inherits(proto.ondewo.s2t.Pyannote, jspb.Message);
|
|
850
804
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -854,27 +808,6 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
854
808
|
*/
|
|
855
809
|
proto.ondewo.s2t.Pyannote.displayName = 'proto.ondewo.s2t.Pyannote';
|
|
856
810
|
}
|
|
857
|
-
/**
|
|
858
|
-
* Generated by JsPbCodeGenerator.
|
|
859
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
860
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
861
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
862
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
863
|
-
* valid.
|
|
864
|
-
* @extends {jspb.Message}
|
|
865
|
-
* @constructor
|
|
866
|
-
*/
|
|
867
|
-
proto.ondewo.s2t.Matchbox = function(opt_data) {
|
|
868
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
869
|
-
};
|
|
870
|
-
goog.inherits(proto.ondewo.s2t.Matchbox, jspb.Message);
|
|
871
|
-
if (goog.DEBUG && !COMPILED) {
|
|
872
|
-
/**
|
|
873
|
-
* @public
|
|
874
|
-
* @override
|
|
875
|
-
*/
|
|
876
|
-
proto.ondewo.s2t.Matchbox.displayName = 'proto.ondewo.s2t.Matchbox';
|
|
877
|
-
}
|
|
878
811
|
/**
|
|
879
812
|
* Generated by JsPbCodeGenerator.
|
|
880
813
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -1136,7 +1069,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1136
1069
|
* @private {!Array<!Array<number>>}
|
|
1137
1070
|
* @const
|
|
1138
1071
|
*/
|
|
1139
|
-
proto.ondewo.s2t.TranscribeRequestConfig.oneofGroups_ = [[3],[4],[5],[6
|
|
1072
|
+
proto.ondewo.s2t.TranscribeRequestConfig.oneofGroups_ = [[3],[4],[5],[6],[8]];
|
|
1140
1073
|
|
|
1141
1074
|
/**
|
|
1142
1075
|
* @enum {number}
|
|
@@ -1188,8 +1121,7 @@ proto.ondewo.s2t.TranscribeRequestConfig.prototype.getOneofUtteranceDetectionCas
|
|
|
1188
1121
|
*/
|
|
1189
1122
|
proto.ondewo.s2t.TranscribeRequestConfig.VoiceActivityDetectionCase = {
|
|
1190
1123
|
VOICE_ACTIVITY_DETECTION_NOT_SET: 0,
|
|
1191
|
-
PYANNOTE: 6
|
|
1192
|
-
MATCHBOX: 7
|
|
1124
|
+
PYANNOTE: 6
|
|
1193
1125
|
};
|
|
1194
1126
|
|
|
1195
1127
|
/**
|
|
@@ -1251,8 +1183,9 @@ proto.ondewo.s2t.TranscribeRequestConfig.toObject = function(includeInstance, ms
|
|
|
1251
1183
|
postProcessing: (f = msg.getPostProcessing()) && proto.ondewo.s2t.PostProcessingOptions.toObject(includeInstance, f),
|
|
1252
1184
|
utteranceDetection: (f = msg.getUtteranceDetection()) && proto.ondewo.s2t.UtteranceDetectionOptions.toObject(includeInstance, f),
|
|
1253
1185
|
pyannote: (f = msg.getPyannote()) && proto.ondewo.s2t.Pyannote.toObject(includeInstance, f),
|
|
1254
|
-
|
|
1255
|
-
|
|
1186
|
+
returnOptions: (f = msg.getReturnOptions()) && proto.ondewo.s2t.TranscriptionReturnOptions.toObject(includeInstance, f),
|
|
1187
|
+
language: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
1188
|
+
task: jspb.Message.getFieldWithDefault(msg, 10, "")
|
|
1256
1189
|
};
|
|
1257
1190
|
|
|
1258
1191
|
if (includeInstance) {
|
|
@@ -1316,16 +1249,19 @@ proto.ondewo.s2t.TranscribeRequestConfig.deserializeBinaryFromReader = function(
|
|
|
1316
1249
|
reader.readMessage(value,proto.ondewo.s2t.Pyannote.deserializeBinaryFromReader);
|
|
1317
1250
|
msg.setPyannote(value);
|
|
1318
1251
|
break;
|
|
1319
|
-
case 7:
|
|
1320
|
-
var value = new proto.ondewo.s2t.Matchbox;
|
|
1321
|
-
reader.readMessage(value,proto.ondewo.s2t.Matchbox.deserializeBinaryFromReader);
|
|
1322
|
-
msg.setMatchbox(value);
|
|
1323
|
-
break;
|
|
1324
1252
|
case 8:
|
|
1325
1253
|
var value = new proto.ondewo.s2t.TranscriptionReturnOptions;
|
|
1326
1254
|
reader.readMessage(value,proto.ondewo.s2t.TranscriptionReturnOptions.deserializeBinaryFromReader);
|
|
1327
1255
|
msg.setReturnOptions(value);
|
|
1328
1256
|
break;
|
|
1257
|
+
case 9:
|
|
1258
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1259
|
+
msg.setLanguage(value);
|
|
1260
|
+
break;
|
|
1261
|
+
case 10:
|
|
1262
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1263
|
+
msg.setTask(value);
|
|
1264
|
+
break;
|
|
1329
1265
|
default:
|
|
1330
1266
|
reader.skipField();
|
|
1331
1267
|
break;
|
|
@@ -1400,14 +1336,6 @@ proto.ondewo.s2t.TranscribeRequestConfig.serializeBinaryToWriter = function(mess
|
|
|
1400
1336
|
proto.ondewo.s2t.Pyannote.serializeBinaryToWriter
|
|
1401
1337
|
);
|
|
1402
1338
|
}
|
|
1403
|
-
f = message.getMatchbox();
|
|
1404
|
-
if (f != null) {
|
|
1405
|
-
writer.writeMessage(
|
|
1406
|
-
7,
|
|
1407
|
-
f,
|
|
1408
|
-
proto.ondewo.s2t.Matchbox.serializeBinaryToWriter
|
|
1409
|
-
);
|
|
1410
|
-
}
|
|
1411
1339
|
f = message.getReturnOptions();
|
|
1412
1340
|
if (f != null) {
|
|
1413
1341
|
writer.writeMessage(
|
|
@@ -1416,6 +1344,20 @@ proto.ondewo.s2t.TranscribeRequestConfig.serializeBinaryToWriter = function(mess
|
|
|
1416
1344
|
proto.ondewo.s2t.TranscriptionReturnOptions.serializeBinaryToWriter
|
|
1417
1345
|
);
|
|
1418
1346
|
}
|
|
1347
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 9));
|
|
1348
|
+
if (f != null) {
|
|
1349
|
+
writer.writeString(
|
|
1350
|
+
9,
|
|
1351
|
+
f
|
|
1352
|
+
);
|
|
1353
|
+
}
|
|
1354
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 10));
|
|
1355
|
+
if (f != null) {
|
|
1356
|
+
writer.writeString(
|
|
1357
|
+
10,
|
|
1358
|
+
f
|
|
1359
|
+
);
|
|
1360
|
+
}
|
|
1419
1361
|
};
|
|
1420
1362
|
|
|
1421
1363
|
|
|
@@ -1603,21 +1545,21 @@ proto.ondewo.s2t.TranscribeRequestConfig.prototype.hasPyannote = function() {
|
|
|
1603
1545
|
|
|
1604
1546
|
|
|
1605
1547
|
/**
|
|
1606
|
-
* optional
|
|
1607
|
-
* @return {?proto.ondewo.s2t.
|
|
1548
|
+
* optional TranscriptionReturnOptions return_options = 8;
|
|
1549
|
+
* @return {?proto.ondewo.s2t.TranscriptionReturnOptions}
|
|
1608
1550
|
*/
|
|
1609
|
-
proto.ondewo.s2t.TranscribeRequestConfig.prototype.
|
|
1610
|
-
return /** @type{?proto.ondewo.s2t.
|
|
1611
|
-
jspb.Message.getWrapperField(this, proto.ondewo.s2t.
|
|
1551
|
+
proto.ondewo.s2t.TranscribeRequestConfig.prototype.getReturnOptions = function() {
|
|
1552
|
+
return /** @type{?proto.ondewo.s2t.TranscriptionReturnOptions} */ (
|
|
1553
|
+
jspb.Message.getWrapperField(this, proto.ondewo.s2t.TranscriptionReturnOptions, 8));
|
|
1612
1554
|
};
|
|
1613
1555
|
|
|
1614
1556
|
|
|
1615
1557
|
/**
|
|
1616
|
-
* @param {?proto.ondewo.s2t.
|
|
1558
|
+
* @param {?proto.ondewo.s2t.TranscriptionReturnOptions|undefined} value
|
|
1617
1559
|
* @return {!proto.ondewo.s2t.TranscribeRequestConfig} returns this
|
|
1618
1560
|
*/
|
|
1619
|
-
proto.ondewo.s2t.TranscribeRequestConfig.prototype.
|
|
1620
|
-
return jspb.Message.setOneofWrapperField(this,
|
|
1561
|
+
proto.ondewo.s2t.TranscribeRequestConfig.prototype.setReturnOptions = function(value) {
|
|
1562
|
+
return jspb.Message.setOneofWrapperField(this, 8, proto.ondewo.s2t.TranscribeRequestConfig.oneofGroups_[4], value);
|
|
1621
1563
|
};
|
|
1622
1564
|
|
|
1623
1565
|
|
|
@@ -1625,8 +1567,8 @@ proto.ondewo.s2t.TranscribeRequestConfig.prototype.setMatchbox = function(value)
|
|
|
1625
1567
|
* Clears the message field making it undefined.
|
|
1626
1568
|
* @return {!proto.ondewo.s2t.TranscribeRequestConfig} returns this
|
|
1627
1569
|
*/
|
|
1628
|
-
proto.ondewo.s2t.TranscribeRequestConfig.prototype.
|
|
1629
|
-
return this.
|
|
1570
|
+
proto.ondewo.s2t.TranscribeRequestConfig.prototype.clearReturnOptions = function() {
|
|
1571
|
+
return this.setReturnOptions(undefined);
|
|
1630
1572
|
};
|
|
1631
1573
|
|
|
1632
1574
|
|
|
@@ -1634,36 +1576,35 @@ proto.ondewo.s2t.TranscribeRequestConfig.prototype.clearMatchbox = function() {
|
|
|
1634
1576
|
* Returns whether this field is set.
|
|
1635
1577
|
* @return {boolean}
|
|
1636
1578
|
*/
|
|
1637
|
-
proto.ondewo.s2t.TranscribeRequestConfig.prototype.
|
|
1638
|
-
return jspb.Message.getField(this,
|
|
1579
|
+
proto.ondewo.s2t.TranscribeRequestConfig.prototype.hasReturnOptions = function() {
|
|
1580
|
+
return jspb.Message.getField(this, 8) != null;
|
|
1639
1581
|
};
|
|
1640
1582
|
|
|
1641
1583
|
|
|
1642
1584
|
/**
|
|
1643
|
-
* optional
|
|
1644
|
-
* @return {
|
|
1585
|
+
* optional string language = 9;
|
|
1586
|
+
* @return {string}
|
|
1645
1587
|
*/
|
|
1646
|
-
proto.ondewo.s2t.TranscribeRequestConfig.prototype.
|
|
1647
|
-
return /** @type{
|
|
1648
|
-
jspb.Message.getWrapperField(this, proto.ondewo.s2t.TranscriptionReturnOptions, 8));
|
|
1588
|
+
proto.ondewo.s2t.TranscribeRequestConfig.prototype.getLanguage = function() {
|
|
1589
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
1649
1590
|
};
|
|
1650
1591
|
|
|
1651
1592
|
|
|
1652
1593
|
/**
|
|
1653
|
-
* @param {
|
|
1594
|
+
* @param {string} value
|
|
1654
1595
|
* @return {!proto.ondewo.s2t.TranscribeRequestConfig} returns this
|
|
1655
|
-
*/
|
|
1656
|
-
proto.ondewo.s2t.TranscribeRequestConfig.prototype.
|
|
1657
|
-
return jspb.Message.
|
|
1596
|
+
*/
|
|
1597
|
+
proto.ondewo.s2t.TranscribeRequestConfig.prototype.setLanguage = function(value) {
|
|
1598
|
+
return jspb.Message.setField(this, 9, value);
|
|
1658
1599
|
};
|
|
1659
1600
|
|
|
1660
1601
|
|
|
1661
1602
|
/**
|
|
1662
|
-
* Clears the
|
|
1603
|
+
* Clears the field making it undefined.
|
|
1663
1604
|
* @return {!proto.ondewo.s2t.TranscribeRequestConfig} returns this
|
|
1664
1605
|
*/
|
|
1665
|
-
proto.ondewo.s2t.TranscribeRequestConfig.prototype.
|
|
1666
|
-
return
|
|
1606
|
+
proto.ondewo.s2t.TranscribeRequestConfig.prototype.clearLanguage = function() {
|
|
1607
|
+
return jspb.Message.setField(this, 9, undefined);
|
|
1667
1608
|
};
|
|
1668
1609
|
|
|
1669
1610
|
|
|
@@ -1671,8 +1612,44 @@ proto.ondewo.s2t.TranscribeRequestConfig.prototype.clearReturnOptions = function
|
|
|
1671
1612
|
* Returns whether this field is set.
|
|
1672
1613
|
* @return {boolean}
|
|
1673
1614
|
*/
|
|
1674
|
-
proto.ondewo.s2t.TranscribeRequestConfig.prototype.
|
|
1675
|
-
return jspb.Message.getField(this,
|
|
1615
|
+
proto.ondewo.s2t.TranscribeRequestConfig.prototype.hasLanguage = function() {
|
|
1616
|
+
return jspb.Message.getField(this, 9) != null;
|
|
1617
|
+
};
|
|
1618
|
+
|
|
1619
|
+
|
|
1620
|
+
/**
|
|
1621
|
+
* optional string task = 10;
|
|
1622
|
+
* @return {string}
|
|
1623
|
+
*/
|
|
1624
|
+
proto.ondewo.s2t.TranscribeRequestConfig.prototype.getTask = function() {
|
|
1625
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
1626
|
+
};
|
|
1627
|
+
|
|
1628
|
+
|
|
1629
|
+
/**
|
|
1630
|
+
* @param {string} value
|
|
1631
|
+
* @return {!proto.ondewo.s2t.TranscribeRequestConfig} returns this
|
|
1632
|
+
*/
|
|
1633
|
+
proto.ondewo.s2t.TranscribeRequestConfig.prototype.setTask = function(value) {
|
|
1634
|
+
return jspb.Message.setField(this, 10, value);
|
|
1635
|
+
};
|
|
1636
|
+
|
|
1637
|
+
|
|
1638
|
+
/**
|
|
1639
|
+
* Clears the field making it undefined.
|
|
1640
|
+
* @return {!proto.ondewo.s2t.TranscribeRequestConfig} returns this
|
|
1641
|
+
*/
|
|
1642
|
+
proto.ondewo.s2t.TranscribeRequestConfig.prototype.clearTask = function() {
|
|
1643
|
+
return jspb.Message.setField(this, 10, undefined);
|
|
1644
|
+
};
|
|
1645
|
+
|
|
1646
|
+
|
|
1647
|
+
/**
|
|
1648
|
+
* Returns whether this field is set.
|
|
1649
|
+
* @return {boolean}
|
|
1650
|
+
*/
|
|
1651
|
+
proto.ondewo.s2t.TranscribeRequestConfig.prototype.hasTask = function() {
|
|
1652
|
+
return jspb.Message.getField(this, 10) != null;
|
|
1676
1653
|
};
|
|
1677
1654
|
|
|
1678
1655
|
|
|
@@ -6930,8 +6907,6 @@ proto.ondewo.s2t.AcousticModels.prototype.toObject = function(opt_includeInstanc
|
|
|
6930
6907
|
proto.ondewo.s2t.AcousticModels.toObject = function(includeInstance, msg) {
|
|
6931
6908
|
var f, obj = {
|
|
6932
6909
|
type: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
6933
|
-
quartznet: (f = msg.getQuartznet()) && proto.ondewo.s2t.Quartznet.toObject(includeInstance, f),
|
|
6934
|
-
quartznetTriton: (f = msg.getQuartznetTriton()) && proto.ondewo.s2t.QuartznetTriton.toObject(includeInstance, f),
|
|
6935
6910
|
wav2vec: (f = msg.getWav2vec()) && proto.ondewo.s2t.Wav2Vec.toObject(includeInstance, f),
|
|
6936
6911
|
wav2vecTriton: (f = msg.getWav2vecTriton()) && proto.ondewo.s2t.Wav2VecTriton.toObject(includeInstance, f),
|
|
6937
6912
|
whisper: (f = msg.getWhisper()) && proto.ondewo.s2t.Whisper.toObject(includeInstance, f),
|
|
@@ -6977,31 +6952,21 @@ proto.ondewo.s2t.AcousticModels.deserializeBinaryFromReader = function(msg, read
|
|
|
6977
6952
|
msg.setType(value);
|
|
6978
6953
|
break;
|
|
6979
6954
|
case 2:
|
|
6980
|
-
var value = new proto.ondewo.s2t.Quartznet;
|
|
6981
|
-
reader.readMessage(value,proto.ondewo.s2t.Quartznet.deserializeBinaryFromReader);
|
|
6982
|
-
msg.setQuartznet(value);
|
|
6983
|
-
break;
|
|
6984
|
-
case 3:
|
|
6985
|
-
var value = new proto.ondewo.s2t.QuartznetTriton;
|
|
6986
|
-
reader.readMessage(value,proto.ondewo.s2t.QuartznetTriton.deserializeBinaryFromReader);
|
|
6987
|
-
msg.setQuartznetTriton(value);
|
|
6988
|
-
break;
|
|
6989
|
-
case 4:
|
|
6990
6955
|
var value = new proto.ondewo.s2t.Wav2Vec;
|
|
6991
6956
|
reader.readMessage(value,proto.ondewo.s2t.Wav2Vec.deserializeBinaryFromReader);
|
|
6992
6957
|
msg.setWav2vec(value);
|
|
6993
6958
|
break;
|
|
6994
|
-
case
|
|
6959
|
+
case 3:
|
|
6995
6960
|
var value = new proto.ondewo.s2t.Wav2VecTriton;
|
|
6996
6961
|
reader.readMessage(value,proto.ondewo.s2t.Wav2VecTriton.deserializeBinaryFromReader);
|
|
6997
6962
|
msg.setWav2vecTriton(value);
|
|
6998
6963
|
break;
|
|
6999
|
-
case
|
|
6964
|
+
case 4:
|
|
7000
6965
|
var value = new proto.ondewo.s2t.Whisper;
|
|
7001
6966
|
reader.readMessage(value,proto.ondewo.s2t.Whisper.deserializeBinaryFromReader);
|
|
7002
6967
|
msg.setWhisper(value);
|
|
7003
6968
|
break;
|
|
7004
|
-
case
|
|
6969
|
+
case 5:
|
|
7005
6970
|
var value = new proto.ondewo.s2t.WhisperTriton;
|
|
7006
6971
|
reader.readMessage(value,proto.ondewo.s2t.WhisperTriton.deserializeBinaryFromReader);
|
|
7007
6972
|
msg.setWhisperTriton(value);
|
|
@@ -7042,26 +7007,10 @@ proto.ondewo.s2t.AcousticModels.serializeBinaryToWriter = function(message, writ
|
|
|
7042
7007
|
f
|
|
7043
7008
|
);
|
|
7044
7009
|
}
|
|
7045
|
-
f = message.getQuartznet();
|
|
7046
|
-
if (f != null) {
|
|
7047
|
-
writer.writeMessage(
|
|
7048
|
-
2,
|
|
7049
|
-
f,
|
|
7050
|
-
proto.ondewo.s2t.Quartznet.serializeBinaryToWriter
|
|
7051
|
-
);
|
|
7052
|
-
}
|
|
7053
|
-
f = message.getQuartznetTriton();
|
|
7054
|
-
if (f != null) {
|
|
7055
|
-
writer.writeMessage(
|
|
7056
|
-
3,
|
|
7057
|
-
f,
|
|
7058
|
-
proto.ondewo.s2t.QuartznetTriton.serializeBinaryToWriter
|
|
7059
|
-
);
|
|
7060
|
-
}
|
|
7061
7010
|
f = message.getWav2vec();
|
|
7062
7011
|
if (f != null) {
|
|
7063
7012
|
writer.writeMessage(
|
|
7064
|
-
|
|
7013
|
+
2,
|
|
7065
7014
|
f,
|
|
7066
7015
|
proto.ondewo.s2t.Wav2Vec.serializeBinaryToWriter
|
|
7067
7016
|
);
|
|
@@ -7069,7 +7018,7 @@ proto.ondewo.s2t.AcousticModels.serializeBinaryToWriter = function(message, writ
|
|
|
7069
7018
|
f = message.getWav2vecTriton();
|
|
7070
7019
|
if (f != null) {
|
|
7071
7020
|
writer.writeMessage(
|
|
7072
|
-
|
|
7021
|
+
3,
|
|
7073
7022
|
f,
|
|
7074
7023
|
proto.ondewo.s2t.Wav2VecTriton.serializeBinaryToWriter
|
|
7075
7024
|
);
|
|
@@ -7077,7 +7026,7 @@ proto.ondewo.s2t.AcousticModels.serializeBinaryToWriter = function(message, writ
|
|
|
7077
7026
|
f = message.getWhisper();
|
|
7078
7027
|
if (f != null) {
|
|
7079
7028
|
writer.writeMessage(
|
|
7080
|
-
|
|
7029
|
+
4,
|
|
7081
7030
|
f,
|
|
7082
7031
|
proto.ondewo.s2t.Whisper.serializeBinaryToWriter
|
|
7083
7032
|
);
|
|
@@ -7085,7 +7034,7 @@ proto.ondewo.s2t.AcousticModels.serializeBinaryToWriter = function(message, writ
|
|
|
7085
7034
|
f = message.getWhisperTriton();
|
|
7086
7035
|
if (f != null) {
|
|
7087
7036
|
writer.writeMessage(
|
|
7088
|
-
|
|
7037
|
+
5,
|
|
7089
7038
|
f,
|
|
7090
7039
|
proto.ondewo.s2t.WhisperTriton.serializeBinaryToWriter
|
|
7091
7040
|
);
|
|
@@ -7112,86 +7061,12 @@ proto.ondewo.s2t.AcousticModels.prototype.setType = function(value) {
|
|
|
7112
7061
|
|
|
7113
7062
|
|
|
7114
7063
|
/**
|
|
7115
|
-
* optional
|
|
7116
|
-
* @return {?proto.ondewo.s2t.Quartznet}
|
|
7117
|
-
*/
|
|
7118
|
-
proto.ondewo.s2t.AcousticModels.prototype.getQuartznet = function() {
|
|
7119
|
-
return /** @type{?proto.ondewo.s2t.Quartznet} */ (
|
|
7120
|
-
jspb.Message.getWrapperField(this, proto.ondewo.s2t.Quartznet, 2));
|
|
7121
|
-
};
|
|
7122
|
-
|
|
7123
|
-
|
|
7124
|
-
/**
|
|
7125
|
-
* @param {?proto.ondewo.s2t.Quartznet|undefined} value
|
|
7126
|
-
* @return {!proto.ondewo.s2t.AcousticModels} returns this
|
|
7127
|
-
*/
|
|
7128
|
-
proto.ondewo.s2t.AcousticModels.prototype.setQuartznet = function(value) {
|
|
7129
|
-
return jspb.Message.setWrapperField(this, 2, value);
|
|
7130
|
-
};
|
|
7131
|
-
|
|
7132
|
-
|
|
7133
|
-
/**
|
|
7134
|
-
* Clears the message field making it undefined.
|
|
7135
|
-
* @return {!proto.ondewo.s2t.AcousticModels} returns this
|
|
7136
|
-
*/
|
|
7137
|
-
proto.ondewo.s2t.AcousticModels.prototype.clearQuartznet = function() {
|
|
7138
|
-
return this.setQuartznet(undefined);
|
|
7139
|
-
};
|
|
7140
|
-
|
|
7141
|
-
|
|
7142
|
-
/**
|
|
7143
|
-
* Returns whether this field is set.
|
|
7144
|
-
* @return {boolean}
|
|
7145
|
-
*/
|
|
7146
|
-
proto.ondewo.s2t.AcousticModels.prototype.hasQuartznet = function() {
|
|
7147
|
-
return jspb.Message.getField(this, 2) != null;
|
|
7148
|
-
};
|
|
7149
|
-
|
|
7150
|
-
|
|
7151
|
-
/**
|
|
7152
|
-
* optional QuartznetTriton quartznet_triton = 3;
|
|
7153
|
-
* @return {?proto.ondewo.s2t.QuartznetTriton}
|
|
7154
|
-
*/
|
|
7155
|
-
proto.ondewo.s2t.AcousticModels.prototype.getQuartznetTriton = function() {
|
|
7156
|
-
return /** @type{?proto.ondewo.s2t.QuartznetTriton} */ (
|
|
7157
|
-
jspb.Message.getWrapperField(this, proto.ondewo.s2t.QuartznetTriton, 3));
|
|
7158
|
-
};
|
|
7159
|
-
|
|
7160
|
-
|
|
7161
|
-
/**
|
|
7162
|
-
* @param {?proto.ondewo.s2t.QuartznetTriton|undefined} value
|
|
7163
|
-
* @return {!proto.ondewo.s2t.AcousticModels} returns this
|
|
7164
|
-
*/
|
|
7165
|
-
proto.ondewo.s2t.AcousticModels.prototype.setQuartznetTriton = function(value) {
|
|
7166
|
-
return jspb.Message.setWrapperField(this, 3, value);
|
|
7167
|
-
};
|
|
7168
|
-
|
|
7169
|
-
|
|
7170
|
-
/**
|
|
7171
|
-
* Clears the message field making it undefined.
|
|
7172
|
-
* @return {!proto.ondewo.s2t.AcousticModels} returns this
|
|
7173
|
-
*/
|
|
7174
|
-
proto.ondewo.s2t.AcousticModels.prototype.clearQuartznetTriton = function() {
|
|
7175
|
-
return this.setQuartznetTriton(undefined);
|
|
7176
|
-
};
|
|
7177
|
-
|
|
7178
|
-
|
|
7179
|
-
/**
|
|
7180
|
-
* Returns whether this field is set.
|
|
7181
|
-
* @return {boolean}
|
|
7182
|
-
*/
|
|
7183
|
-
proto.ondewo.s2t.AcousticModels.prototype.hasQuartznetTriton = function() {
|
|
7184
|
-
return jspb.Message.getField(this, 3) != null;
|
|
7185
|
-
};
|
|
7186
|
-
|
|
7187
|
-
|
|
7188
|
-
/**
|
|
7189
|
-
* optional Wav2Vec wav2vec = 4;
|
|
7064
|
+
* optional Wav2Vec wav2vec = 2;
|
|
7190
7065
|
* @return {?proto.ondewo.s2t.Wav2Vec}
|
|
7191
7066
|
*/
|
|
7192
7067
|
proto.ondewo.s2t.AcousticModels.prototype.getWav2vec = function() {
|
|
7193
7068
|
return /** @type{?proto.ondewo.s2t.Wav2Vec} */ (
|
|
7194
|
-
jspb.Message.getWrapperField(this, proto.ondewo.s2t.Wav2Vec,
|
|
7069
|
+
jspb.Message.getWrapperField(this, proto.ondewo.s2t.Wav2Vec, 2));
|
|
7195
7070
|
};
|
|
7196
7071
|
|
|
7197
7072
|
|
|
@@ -7200,7 +7075,7 @@ proto.ondewo.s2t.AcousticModels.prototype.getWav2vec = function() {
|
|
|
7200
7075
|
* @return {!proto.ondewo.s2t.AcousticModels} returns this
|
|
7201
7076
|
*/
|
|
7202
7077
|
proto.ondewo.s2t.AcousticModels.prototype.setWav2vec = function(value) {
|
|
7203
|
-
return jspb.Message.setWrapperField(this,
|
|
7078
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
7204
7079
|
};
|
|
7205
7080
|
|
|
7206
7081
|
|
|
@@ -7218,17 +7093,17 @@ proto.ondewo.s2t.AcousticModels.prototype.clearWav2vec = function() {
|
|
|
7218
7093
|
* @return {boolean}
|
|
7219
7094
|
*/
|
|
7220
7095
|
proto.ondewo.s2t.AcousticModels.prototype.hasWav2vec = function() {
|
|
7221
|
-
return jspb.Message.getField(this,
|
|
7096
|
+
return jspb.Message.getField(this, 2) != null;
|
|
7222
7097
|
};
|
|
7223
7098
|
|
|
7224
7099
|
|
|
7225
7100
|
/**
|
|
7226
|
-
* optional Wav2VecTriton wav2vec_triton =
|
|
7101
|
+
* optional Wav2VecTriton wav2vec_triton = 3;
|
|
7227
7102
|
* @return {?proto.ondewo.s2t.Wav2VecTriton}
|
|
7228
7103
|
*/
|
|
7229
7104
|
proto.ondewo.s2t.AcousticModels.prototype.getWav2vecTriton = function() {
|
|
7230
7105
|
return /** @type{?proto.ondewo.s2t.Wav2VecTriton} */ (
|
|
7231
|
-
jspb.Message.getWrapperField(this, proto.ondewo.s2t.Wav2VecTriton,
|
|
7106
|
+
jspb.Message.getWrapperField(this, proto.ondewo.s2t.Wav2VecTriton, 3));
|
|
7232
7107
|
};
|
|
7233
7108
|
|
|
7234
7109
|
|
|
@@ -7237,7 +7112,7 @@ proto.ondewo.s2t.AcousticModels.prototype.getWav2vecTriton = function() {
|
|
|
7237
7112
|
* @return {!proto.ondewo.s2t.AcousticModels} returns this
|
|
7238
7113
|
*/
|
|
7239
7114
|
proto.ondewo.s2t.AcousticModels.prototype.setWav2vecTriton = function(value) {
|
|
7240
|
-
return jspb.Message.setWrapperField(this,
|
|
7115
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
7241
7116
|
};
|
|
7242
7117
|
|
|
7243
7118
|
|
|
@@ -7255,17 +7130,17 @@ proto.ondewo.s2t.AcousticModels.prototype.clearWav2vecTriton = function() {
|
|
|
7255
7130
|
* @return {boolean}
|
|
7256
7131
|
*/
|
|
7257
7132
|
proto.ondewo.s2t.AcousticModels.prototype.hasWav2vecTriton = function() {
|
|
7258
|
-
return jspb.Message.getField(this,
|
|
7133
|
+
return jspb.Message.getField(this, 3) != null;
|
|
7259
7134
|
};
|
|
7260
7135
|
|
|
7261
7136
|
|
|
7262
7137
|
/**
|
|
7263
|
-
* optional Whisper whisper =
|
|
7138
|
+
* optional Whisper whisper = 4;
|
|
7264
7139
|
* @return {?proto.ondewo.s2t.Whisper}
|
|
7265
7140
|
*/
|
|
7266
7141
|
proto.ondewo.s2t.AcousticModels.prototype.getWhisper = function() {
|
|
7267
7142
|
return /** @type{?proto.ondewo.s2t.Whisper} */ (
|
|
7268
|
-
jspb.Message.getWrapperField(this, proto.ondewo.s2t.Whisper,
|
|
7143
|
+
jspb.Message.getWrapperField(this, proto.ondewo.s2t.Whisper, 4));
|
|
7269
7144
|
};
|
|
7270
7145
|
|
|
7271
7146
|
|
|
@@ -7274,7 +7149,7 @@ proto.ondewo.s2t.AcousticModels.prototype.getWhisper = function() {
|
|
|
7274
7149
|
* @return {!proto.ondewo.s2t.AcousticModels} returns this
|
|
7275
7150
|
*/
|
|
7276
7151
|
proto.ondewo.s2t.AcousticModels.prototype.setWhisper = function(value) {
|
|
7277
|
-
return jspb.Message.setWrapperField(this,
|
|
7152
|
+
return jspb.Message.setWrapperField(this, 4, value);
|
|
7278
7153
|
};
|
|
7279
7154
|
|
|
7280
7155
|
|
|
@@ -7292,17 +7167,17 @@ proto.ondewo.s2t.AcousticModels.prototype.clearWhisper = function() {
|
|
|
7292
7167
|
* @return {boolean}
|
|
7293
7168
|
*/
|
|
7294
7169
|
proto.ondewo.s2t.AcousticModels.prototype.hasWhisper = function() {
|
|
7295
|
-
return jspb.Message.getField(this,
|
|
7170
|
+
return jspb.Message.getField(this, 4) != null;
|
|
7296
7171
|
};
|
|
7297
7172
|
|
|
7298
7173
|
|
|
7299
7174
|
/**
|
|
7300
|
-
* optional WhisperTriton whisper_triton =
|
|
7175
|
+
* optional WhisperTriton whisper_triton = 5;
|
|
7301
7176
|
* @return {?proto.ondewo.s2t.WhisperTriton}
|
|
7302
7177
|
*/
|
|
7303
7178
|
proto.ondewo.s2t.AcousticModels.prototype.getWhisperTriton = function() {
|
|
7304
7179
|
return /** @type{?proto.ondewo.s2t.WhisperTriton} */ (
|
|
7305
|
-
jspb.Message.getWrapperField(this, proto.ondewo.s2t.WhisperTriton,
|
|
7180
|
+
jspb.Message.getWrapperField(this, proto.ondewo.s2t.WhisperTriton, 5));
|
|
7306
7181
|
};
|
|
7307
7182
|
|
|
7308
7183
|
|
|
@@ -7311,7 +7186,7 @@ proto.ondewo.s2t.AcousticModels.prototype.getWhisperTriton = function() {
|
|
|
7311
7186
|
* @return {!proto.ondewo.s2t.AcousticModels} returns this
|
|
7312
7187
|
*/
|
|
7313
7188
|
proto.ondewo.s2t.AcousticModels.prototype.setWhisperTriton = function(value) {
|
|
7314
|
-
return jspb.Message.setWrapperField(this,
|
|
7189
|
+
return jspb.Message.setWrapperField(this, 5, value);
|
|
7315
7190
|
};
|
|
7316
7191
|
|
|
7317
7192
|
|
|
@@ -7329,7 +7204,7 @@ proto.ondewo.s2t.AcousticModels.prototype.clearWhisperTriton = function() {
|
|
|
7329
7204
|
* @return {boolean}
|
|
7330
7205
|
*/
|
|
7331
7206
|
proto.ondewo.s2t.AcousticModels.prototype.hasWhisperTriton = function() {
|
|
7332
|
-
return jspb.Message.getField(this,
|
|
7207
|
+
return jspb.Message.getField(this, 5) != null;
|
|
7333
7208
|
};
|
|
7334
7209
|
|
|
7335
7210
|
|
|
@@ -7367,7 +7242,8 @@ proto.ondewo.s2t.Whisper.toObject = function(includeInstance, msg) {
|
|
|
7367
7242
|
var f, obj = {
|
|
7368
7243
|
modelPath: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
7369
7244
|
useGpu: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
|
|
7370
|
-
language: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
7245
|
+
language: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
7246
|
+
task: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
7371
7247
|
};
|
|
7372
7248
|
|
|
7373
7249
|
if (includeInstance) {
|
|
@@ -7416,6 +7292,10 @@ proto.ondewo.s2t.Whisper.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
7416
7292
|
var value = /** @type {string} */ (reader.readString());
|
|
7417
7293
|
msg.setLanguage(value);
|
|
7418
7294
|
break;
|
|
7295
|
+
case 4:
|
|
7296
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7297
|
+
msg.setTask(value);
|
|
7298
|
+
break;
|
|
7419
7299
|
default:
|
|
7420
7300
|
reader.skipField();
|
|
7421
7301
|
break;
|
|
@@ -7466,6 +7346,13 @@ proto.ondewo.s2t.Whisper.serializeBinaryToWriter = function(message, writer) {
|
|
|
7466
7346
|
f
|
|
7467
7347
|
);
|
|
7468
7348
|
}
|
|
7349
|
+
f = message.getTask();
|
|
7350
|
+
if (f.length > 0) {
|
|
7351
|
+
writer.writeString(
|
|
7352
|
+
4,
|
|
7353
|
+
f
|
|
7354
|
+
);
|
|
7355
|
+
}
|
|
7469
7356
|
};
|
|
7470
7357
|
|
|
7471
7358
|
|
|
@@ -7523,15 +7410,33 @@ proto.ondewo.s2t.Whisper.prototype.setLanguage = function(value) {
|
|
|
7523
7410
|
};
|
|
7524
7411
|
|
|
7525
7412
|
|
|
7413
|
+
/**
|
|
7414
|
+
* optional string task = 4;
|
|
7415
|
+
* @return {string}
|
|
7416
|
+
*/
|
|
7417
|
+
proto.ondewo.s2t.Whisper.prototype.getTask = function() {
|
|
7418
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
7419
|
+
};
|
|
7526
7420
|
|
|
7527
7421
|
|
|
7528
|
-
|
|
7529
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
7530
7422
|
/**
|
|
7531
|
-
*
|
|
7532
|
-
*
|
|
7533
|
-
|
|
7534
|
-
|
|
7423
|
+
* @param {string} value
|
|
7424
|
+
* @return {!proto.ondewo.s2t.Whisper} returns this
|
|
7425
|
+
*/
|
|
7426
|
+
proto.ondewo.s2t.Whisper.prototype.setTask = function(value) {
|
|
7427
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
7428
|
+
};
|
|
7429
|
+
|
|
7430
|
+
|
|
7431
|
+
|
|
7432
|
+
|
|
7433
|
+
|
|
7434
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
7435
|
+
/**
|
|
7436
|
+
* Creates an object representation of this proto.
|
|
7437
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
7438
|
+
* Optional fields that are not set will be set to undefined.
|
|
7439
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
7535
7440
|
* For the list of reserved names please see:
|
|
7536
7441
|
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
7537
7442
|
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
@@ -7558,7 +7463,11 @@ proto.ondewo.s2t.WhisperTriton.toObject = function(includeInstance, msg) {
|
|
|
7558
7463
|
processorPath: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
7559
7464
|
tritonModelName: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
7560
7465
|
tritonModelVersion: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
7561
|
-
checkStatusTimeout: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
7466
|
+
checkStatusTimeout: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
7467
|
+
language: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
7468
|
+
task: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
7469
|
+
tritonServerHost: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
7470
|
+
tritonServerPort: jspb.Message.getFieldWithDefault(msg, 8, 0)
|
|
7562
7471
|
};
|
|
7563
7472
|
|
|
7564
7473
|
if (includeInstance) {
|
|
@@ -7611,6 +7520,22 @@ proto.ondewo.s2t.WhisperTriton.deserializeBinaryFromReader = function(msg, reade
|
|
|
7611
7520
|
var value = /** @type {number} */ (reader.readInt64());
|
|
7612
7521
|
msg.setCheckStatusTimeout(value);
|
|
7613
7522
|
break;
|
|
7523
|
+
case 5:
|
|
7524
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7525
|
+
msg.setLanguage(value);
|
|
7526
|
+
break;
|
|
7527
|
+
case 6:
|
|
7528
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7529
|
+
msg.setTask(value);
|
|
7530
|
+
break;
|
|
7531
|
+
case 7:
|
|
7532
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7533
|
+
msg.setTritonServerHost(value);
|
|
7534
|
+
break;
|
|
7535
|
+
case 8:
|
|
7536
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
7537
|
+
msg.setTritonServerPort(value);
|
|
7538
|
+
break;
|
|
7614
7539
|
default:
|
|
7615
7540
|
reader.skipField();
|
|
7616
7541
|
break;
|
|
@@ -7668,6 +7593,34 @@ proto.ondewo.s2t.WhisperTriton.serializeBinaryToWriter = function(message, write
|
|
|
7668
7593
|
f
|
|
7669
7594
|
);
|
|
7670
7595
|
}
|
|
7596
|
+
f = message.getLanguage();
|
|
7597
|
+
if (f.length > 0) {
|
|
7598
|
+
writer.writeString(
|
|
7599
|
+
5,
|
|
7600
|
+
f
|
|
7601
|
+
);
|
|
7602
|
+
}
|
|
7603
|
+
f = message.getTask();
|
|
7604
|
+
if (f.length > 0) {
|
|
7605
|
+
writer.writeString(
|
|
7606
|
+
6,
|
|
7607
|
+
f
|
|
7608
|
+
);
|
|
7609
|
+
}
|
|
7610
|
+
f = message.getTritonServerHost();
|
|
7611
|
+
if (f.length > 0) {
|
|
7612
|
+
writer.writeString(
|
|
7613
|
+
7,
|
|
7614
|
+
f
|
|
7615
|
+
);
|
|
7616
|
+
}
|
|
7617
|
+
f = message.getTritonServerPort();
|
|
7618
|
+
if (f !== 0) {
|
|
7619
|
+
writer.writeInt64(
|
|
7620
|
+
8,
|
|
7621
|
+
f
|
|
7622
|
+
);
|
|
7623
|
+
}
|
|
7671
7624
|
};
|
|
7672
7625
|
|
|
7673
7626
|
|
|
@@ -7743,6 +7696,78 @@ proto.ondewo.s2t.WhisperTriton.prototype.setCheckStatusTimeout = function(value)
|
|
|
7743
7696
|
};
|
|
7744
7697
|
|
|
7745
7698
|
|
|
7699
|
+
/**
|
|
7700
|
+
* optional string language = 5;
|
|
7701
|
+
* @return {string}
|
|
7702
|
+
*/
|
|
7703
|
+
proto.ondewo.s2t.WhisperTriton.prototype.getLanguage = function() {
|
|
7704
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
7705
|
+
};
|
|
7706
|
+
|
|
7707
|
+
|
|
7708
|
+
/**
|
|
7709
|
+
* @param {string} value
|
|
7710
|
+
* @return {!proto.ondewo.s2t.WhisperTriton} returns this
|
|
7711
|
+
*/
|
|
7712
|
+
proto.ondewo.s2t.WhisperTriton.prototype.setLanguage = function(value) {
|
|
7713
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
7714
|
+
};
|
|
7715
|
+
|
|
7716
|
+
|
|
7717
|
+
/**
|
|
7718
|
+
* optional string task = 6;
|
|
7719
|
+
* @return {string}
|
|
7720
|
+
*/
|
|
7721
|
+
proto.ondewo.s2t.WhisperTriton.prototype.getTask = function() {
|
|
7722
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
7723
|
+
};
|
|
7724
|
+
|
|
7725
|
+
|
|
7726
|
+
/**
|
|
7727
|
+
* @param {string} value
|
|
7728
|
+
* @return {!proto.ondewo.s2t.WhisperTriton} returns this
|
|
7729
|
+
*/
|
|
7730
|
+
proto.ondewo.s2t.WhisperTriton.prototype.setTask = function(value) {
|
|
7731
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
7732
|
+
};
|
|
7733
|
+
|
|
7734
|
+
|
|
7735
|
+
/**
|
|
7736
|
+
* optional string triton_server_host = 7;
|
|
7737
|
+
* @return {string}
|
|
7738
|
+
*/
|
|
7739
|
+
proto.ondewo.s2t.WhisperTriton.prototype.getTritonServerHost = function() {
|
|
7740
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
7741
|
+
};
|
|
7742
|
+
|
|
7743
|
+
|
|
7744
|
+
/**
|
|
7745
|
+
* @param {string} value
|
|
7746
|
+
* @return {!proto.ondewo.s2t.WhisperTriton} returns this
|
|
7747
|
+
*/
|
|
7748
|
+
proto.ondewo.s2t.WhisperTriton.prototype.setTritonServerHost = function(value) {
|
|
7749
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
7750
|
+
};
|
|
7751
|
+
|
|
7752
|
+
|
|
7753
|
+
/**
|
|
7754
|
+
* optional int64 triton_server_port = 8;
|
|
7755
|
+
* @return {number}
|
|
7756
|
+
*/
|
|
7757
|
+
proto.ondewo.s2t.WhisperTriton.prototype.getTritonServerPort = function() {
|
|
7758
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
|
|
7759
|
+
};
|
|
7760
|
+
|
|
7761
|
+
|
|
7762
|
+
/**
|
|
7763
|
+
* @param {number} value
|
|
7764
|
+
* @return {!proto.ondewo.s2t.WhisperTriton} returns this
|
|
7765
|
+
*/
|
|
7766
|
+
proto.ondewo.s2t.WhisperTriton.prototype.setTritonServerPort = function(value) {
|
|
7767
|
+
return jspb.Message.setProto3IntField(this, 8, value);
|
|
7768
|
+
};
|
|
7769
|
+
|
|
7770
|
+
|
|
7746
7771
|
|
|
7747
7772
|
|
|
7748
7773
|
|
|
@@ -7938,7 +7963,9 @@ proto.ondewo.s2t.Wav2VecTriton.toObject = function(includeInstance, msg) {
|
|
|
7938
7963
|
processorPath: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
7939
7964
|
tritonModelName: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
7940
7965
|
tritonModelVersion: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
7941
|
-
checkStatusTimeout: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
7966
|
+
checkStatusTimeout: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
7967
|
+
tritonServerHost: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
7968
|
+
tritonServerPort: jspb.Message.getFieldWithDefault(msg, 6, 0)
|
|
7942
7969
|
};
|
|
7943
7970
|
|
|
7944
7971
|
if (includeInstance) {
|
|
@@ -7991,6 +8018,14 @@ proto.ondewo.s2t.Wav2VecTriton.deserializeBinaryFromReader = function(msg, reade
|
|
|
7991
8018
|
var value = /** @type {number} */ (reader.readInt64());
|
|
7992
8019
|
msg.setCheckStatusTimeout(value);
|
|
7993
8020
|
break;
|
|
8021
|
+
case 5:
|
|
8022
|
+
var value = /** @type {string} */ (reader.readString());
|
|
8023
|
+
msg.setTritonServerHost(value);
|
|
8024
|
+
break;
|
|
8025
|
+
case 6:
|
|
8026
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
8027
|
+
msg.setTritonServerPort(value);
|
|
8028
|
+
break;
|
|
7994
8029
|
default:
|
|
7995
8030
|
reader.skipField();
|
|
7996
8031
|
break;
|
|
@@ -8048,6 +8083,20 @@ proto.ondewo.s2t.Wav2VecTriton.serializeBinaryToWriter = function(message, write
|
|
|
8048
8083
|
f
|
|
8049
8084
|
);
|
|
8050
8085
|
}
|
|
8086
|
+
f = message.getTritonServerHost();
|
|
8087
|
+
if (f.length > 0) {
|
|
8088
|
+
writer.writeString(
|
|
8089
|
+
5,
|
|
8090
|
+
f
|
|
8091
|
+
);
|
|
8092
|
+
}
|
|
8093
|
+
f = message.getTritonServerPort();
|
|
8094
|
+
if (f !== 0) {
|
|
8095
|
+
writer.writeInt64(
|
|
8096
|
+
6,
|
|
8097
|
+
f
|
|
8098
|
+
);
|
|
8099
|
+
}
|
|
8051
8100
|
};
|
|
8052
8101
|
|
|
8053
8102
|
|
|
@@ -8123,6 +8172,42 @@ proto.ondewo.s2t.Wav2VecTriton.prototype.setCheckStatusTimeout = function(value)
|
|
|
8123
8172
|
};
|
|
8124
8173
|
|
|
8125
8174
|
|
|
8175
|
+
/**
|
|
8176
|
+
* optional string triton_server_host = 5;
|
|
8177
|
+
* @return {string}
|
|
8178
|
+
*/
|
|
8179
|
+
proto.ondewo.s2t.Wav2VecTriton.prototype.getTritonServerHost = function() {
|
|
8180
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
8181
|
+
};
|
|
8182
|
+
|
|
8183
|
+
|
|
8184
|
+
/**
|
|
8185
|
+
* @param {string} value
|
|
8186
|
+
* @return {!proto.ondewo.s2t.Wav2VecTriton} returns this
|
|
8187
|
+
*/
|
|
8188
|
+
proto.ondewo.s2t.Wav2VecTriton.prototype.setTritonServerHost = function(value) {
|
|
8189
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
8190
|
+
};
|
|
8191
|
+
|
|
8192
|
+
|
|
8193
|
+
/**
|
|
8194
|
+
* optional int64 triton_server_port = 6;
|
|
8195
|
+
* @return {number}
|
|
8196
|
+
*/
|
|
8197
|
+
proto.ondewo.s2t.Wav2VecTriton.prototype.getTritonServerPort = function() {
|
|
8198
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
8199
|
+
};
|
|
8200
|
+
|
|
8201
|
+
|
|
8202
|
+
/**
|
|
8203
|
+
* @param {number} value
|
|
8204
|
+
* @return {!proto.ondewo.s2t.Wav2VecTriton} returns this
|
|
8205
|
+
*/
|
|
8206
|
+
proto.ondewo.s2t.Wav2VecTriton.prototype.setTritonServerPort = function(value) {
|
|
8207
|
+
return jspb.Message.setProto3IntField(this, 6, value);
|
|
8208
|
+
};
|
|
8209
|
+
|
|
8210
|
+
|
|
8126
8211
|
|
|
8127
8212
|
|
|
8128
8213
|
|
|
@@ -8139,8 +8224,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
8139
8224
|
* http://goto/soy-param-migration
|
|
8140
8225
|
* @return {!Object}
|
|
8141
8226
|
*/
|
|
8142
|
-
proto.ondewo.s2t.
|
|
8143
|
-
return proto.ondewo.s2t.
|
|
8227
|
+
proto.ondewo.s2t.PtFiles.prototype.toObject = function(opt_includeInstance) {
|
|
8228
|
+
return proto.ondewo.s2t.PtFiles.toObject(opt_includeInstance, this);
|
|
8144
8229
|
};
|
|
8145
8230
|
|
|
8146
8231
|
|
|
@@ -8149,17 +8234,14 @@ proto.ondewo.s2t.Quartznet.prototype.toObject = function(opt_includeInstance) {
|
|
|
8149
8234
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
8150
8235
|
* the JSPB instance for transitional soy proto support:
|
|
8151
8236
|
* http://goto/soy-param-migration
|
|
8152
|
-
* @param {!proto.ondewo.s2t.
|
|
8237
|
+
* @param {!proto.ondewo.s2t.PtFiles} msg The msg instance to transform.
|
|
8153
8238
|
* @return {!Object}
|
|
8154
8239
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
8155
8240
|
*/
|
|
8156
|
-
proto.ondewo.s2t.
|
|
8241
|
+
proto.ondewo.s2t.PtFiles.toObject = function(includeInstance, msg) {
|
|
8157
8242
|
var f, obj = {
|
|
8158
|
-
|
|
8159
|
-
|
|
8160
|
-
ptFiles: (f = msg.getPtFiles()) && proto.ondewo.s2t.PtFiles.toObject(includeInstance, f),
|
|
8161
|
-
ckptFile: (f = msg.getCkptFile()) && proto.ondewo.s2t.CkptFile.toObject(includeInstance, f),
|
|
8162
|
-
useGpu: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
|
|
8243
|
+
path: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
8244
|
+
step: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
8163
8245
|
};
|
|
8164
8246
|
|
|
8165
8247
|
if (includeInstance) {
|
|
@@ -8173,23 +8255,23 @@ proto.ondewo.s2t.Quartznet.toObject = function(includeInstance, msg) {
|
|
|
8173
8255
|
/**
|
|
8174
8256
|
* Deserializes binary data (in protobuf wire format).
|
|
8175
8257
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
8176
|
-
* @return {!proto.ondewo.s2t.
|
|
8258
|
+
* @return {!proto.ondewo.s2t.PtFiles}
|
|
8177
8259
|
*/
|
|
8178
|
-
proto.ondewo.s2t.
|
|
8260
|
+
proto.ondewo.s2t.PtFiles.deserializeBinary = function(bytes) {
|
|
8179
8261
|
var reader = new jspb.BinaryReader(bytes);
|
|
8180
|
-
var msg = new proto.ondewo.s2t.
|
|
8181
|
-
return proto.ondewo.s2t.
|
|
8262
|
+
var msg = new proto.ondewo.s2t.PtFiles;
|
|
8263
|
+
return proto.ondewo.s2t.PtFiles.deserializeBinaryFromReader(msg, reader);
|
|
8182
8264
|
};
|
|
8183
8265
|
|
|
8184
8266
|
|
|
8185
8267
|
/**
|
|
8186
8268
|
* Deserializes binary data (in protobuf wire format) from the
|
|
8187
8269
|
* given reader into the given message object.
|
|
8188
|
-
* @param {!proto.ondewo.s2t.
|
|
8270
|
+
* @param {!proto.ondewo.s2t.PtFiles} msg The message object to deserialize into.
|
|
8189
8271
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
8190
|
-
* @return {!proto.ondewo.s2t.
|
|
8272
|
+
* @return {!proto.ondewo.s2t.PtFiles}
|
|
8191
8273
|
*/
|
|
8192
|
-
proto.ondewo.s2t.
|
|
8274
|
+
proto.ondewo.s2t.PtFiles.deserializeBinaryFromReader = function(msg, reader) {
|
|
8193
8275
|
while (reader.nextField()) {
|
|
8194
8276
|
if (reader.isEndGroup()) {
|
|
8195
8277
|
break;
|
|
@@ -8198,25 +8280,11 @@ proto.ondewo.s2t.Quartznet.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
8198
8280
|
switch (field) {
|
|
8199
8281
|
case 1:
|
|
8200
8282
|
var value = /** @type {string} */ (reader.readString());
|
|
8201
|
-
msg.
|
|
8283
|
+
msg.setPath(value);
|
|
8202
8284
|
break;
|
|
8203
8285
|
case 2:
|
|
8204
8286
|
var value = /** @type {string} */ (reader.readString());
|
|
8205
|
-
msg.
|
|
8206
|
-
break;
|
|
8207
|
-
case 3:
|
|
8208
|
-
var value = new proto.ondewo.s2t.PtFiles;
|
|
8209
|
-
reader.readMessage(value,proto.ondewo.s2t.PtFiles.deserializeBinaryFromReader);
|
|
8210
|
-
msg.setPtFiles(value);
|
|
8211
|
-
break;
|
|
8212
|
-
case 4:
|
|
8213
|
-
var value = new proto.ondewo.s2t.CkptFile;
|
|
8214
|
-
reader.readMessage(value,proto.ondewo.s2t.CkptFile.deserializeBinaryFromReader);
|
|
8215
|
-
msg.setCkptFile(value);
|
|
8216
|
-
break;
|
|
8217
|
-
case 5:
|
|
8218
|
-
var value = /** @type {boolean} */ (reader.readBool());
|
|
8219
|
-
msg.setUseGpu(value);
|
|
8287
|
+
msg.setStep(value);
|
|
8220
8288
|
break;
|
|
8221
8289
|
default:
|
|
8222
8290
|
reader.skipField();
|
|
@@ -8231,9 +8299,9 @@ proto.ondewo.s2t.Quartznet.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
8231
8299
|
* Serializes the message to binary data (in protobuf wire format).
|
|
8232
8300
|
* @return {!Uint8Array}
|
|
8233
8301
|
*/
|
|
8234
|
-
proto.ondewo.s2t.
|
|
8302
|
+
proto.ondewo.s2t.PtFiles.prototype.serializeBinary = function() {
|
|
8235
8303
|
var writer = new jspb.BinaryWriter();
|
|
8236
|
-
proto.ondewo.s2t.
|
|
8304
|
+
proto.ondewo.s2t.PtFiles.serializeBinaryToWriter(this, writer);
|
|
8237
8305
|
return writer.getResultBuffer();
|
|
8238
8306
|
};
|
|
8239
8307
|
|
|
@@ -8241,392 +8309,117 @@ proto.ondewo.s2t.Quartznet.prototype.serializeBinary = function() {
|
|
|
8241
8309
|
/**
|
|
8242
8310
|
* Serializes the given message to binary data (in protobuf wire
|
|
8243
8311
|
* format), writing to the given BinaryWriter.
|
|
8244
|
-
* @param {!proto.ondewo.s2t.
|
|
8312
|
+
* @param {!proto.ondewo.s2t.PtFiles} message
|
|
8245
8313
|
* @param {!jspb.BinaryWriter} writer
|
|
8246
8314
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
8247
8315
|
*/
|
|
8248
|
-
proto.ondewo.s2t.
|
|
8316
|
+
proto.ondewo.s2t.PtFiles.serializeBinaryToWriter = function(message, writer) {
|
|
8249
8317
|
var f = undefined;
|
|
8250
|
-
f = message.
|
|
8318
|
+
f = message.getPath();
|
|
8251
8319
|
if (f.length > 0) {
|
|
8252
8320
|
writer.writeString(
|
|
8253
8321
|
1,
|
|
8254
8322
|
f
|
|
8255
8323
|
);
|
|
8256
8324
|
}
|
|
8257
|
-
f = message.
|
|
8325
|
+
f = message.getStep();
|
|
8258
8326
|
if (f.length > 0) {
|
|
8259
8327
|
writer.writeString(
|
|
8260
8328
|
2,
|
|
8261
8329
|
f
|
|
8262
8330
|
);
|
|
8263
8331
|
}
|
|
8264
|
-
f = message.getPtFiles();
|
|
8265
|
-
if (f != null) {
|
|
8266
|
-
writer.writeMessage(
|
|
8267
|
-
3,
|
|
8268
|
-
f,
|
|
8269
|
-
proto.ondewo.s2t.PtFiles.serializeBinaryToWriter
|
|
8270
|
-
);
|
|
8271
|
-
}
|
|
8272
|
-
f = message.getCkptFile();
|
|
8273
|
-
if (f != null) {
|
|
8274
|
-
writer.writeMessage(
|
|
8275
|
-
4,
|
|
8276
|
-
f,
|
|
8277
|
-
proto.ondewo.s2t.CkptFile.serializeBinaryToWriter
|
|
8278
|
-
);
|
|
8279
|
-
}
|
|
8280
|
-
f = message.getUseGpu();
|
|
8281
|
-
if (f) {
|
|
8282
|
-
writer.writeBool(
|
|
8283
|
-
5,
|
|
8284
|
-
f
|
|
8285
|
-
);
|
|
8286
|
-
}
|
|
8287
8332
|
};
|
|
8288
8333
|
|
|
8289
8334
|
|
|
8290
8335
|
/**
|
|
8291
|
-
* optional string
|
|
8336
|
+
* optional string path = 1;
|
|
8292
8337
|
* @return {string}
|
|
8293
8338
|
*/
|
|
8294
|
-
proto.ondewo.s2t.
|
|
8339
|
+
proto.ondewo.s2t.PtFiles.prototype.getPath = function() {
|
|
8295
8340
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
8296
8341
|
};
|
|
8297
8342
|
|
|
8298
8343
|
|
|
8299
8344
|
/**
|
|
8300
8345
|
* @param {string} value
|
|
8301
|
-
* @return {!proto.ondewo.s2t.
|
|
8346
|
+
* @return {!proto.ondewo.s2t.PtFiles} returns this
|
|
8302
8347
|
*/
|
|
8303
|
-
proto.ondewo.s2t.
|
|
8348
|
+
proto.ondewo.s2t.PtFiles.prototype.setPath = function(value) {
|
|
8304
8349
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
8305
8350
|
};
|
|
8306
8351
|
|
|
8307
8352
|
|
|
8308
8353
|
/**
|
|
8309
|
-
* optional string
|
|
8354
|
+
* optional string step = 2;
|
|
8310
8355
|
* @return {string}
|
|
8311
8356
|
*/
|
|
8312
|
-
proto.ondewo.s2t.
|
|
8357
|
+
proto.ondewo.s2t.PtFiles.prototype.getStep = function() {
|
|
8313
8358
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
8314
8359
|
};
|
|
8315
8360
|
|
|
8316
8361
|
|
|
8317
8362
|
/**
|
|
8318
8363
|
* @param {string} value
|
|
8319
|
-
* @return {!proto.ondewo.s2t.
|
|
8364
|
+
* @return {!proto.ondewo.s2t.PtFiles} returns this
|
|
8320
8365
|
*/
|
|
8321
|
-
proto.ondewo.s2t.
|
|
8366
|
+
proto.ondewo.s2t.PtFiles.prototype.setStep = function(value) {
|
|
8322
8367
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
8323
8368
|
};
|
|
8324
8369
|
|
|
8325
8370
|
|
|
8326
|
-
/**
|
|
8327
|
-
* optional PtFiles pt_files = 3;
|
|
8328
|
-
* @return {?proto.ondewo.s2t.PtFiles}
|
|
8329
|
-
*/
|
|
8330
|
-
proto.ondewo.s2t.Quartznet.prototype.getPtFiles = function() {
|
|
8331
|
-
return /** @type{?proto.ondewo.s2t.PtFiles} */ (
|
|
8332
|
-
jspb.Message.getWrapperField(this, proto.ondewo.s2t.PtFiles, 3));
|
|
8333
|
-
};
|
|
8334
8371
|
|
|
8335
8372
|
|
|
8373
|
+
|
|
8374
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
8336
8375
|
/**
|
|
8337
|
-
*
|
|
8338
|
-
*
|
|
8339
|
-
|
|
8340
|
-
|
|
8341
|
-
|
|
8376
|
+
* Creates an object representation of this proto.
|
|
8377
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
8378
|
+
* Optional fields that are not set will be set to undefined.
|
|
8379
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
8380
|
+
* For the list of reserved names please see:
|
|
8381
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
8382
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
8383
|
+
* JSPB instance for transitional soy proto support:
|
|
8384
|
+
* http://goto/soy-param-migration
|
|
8385
|
+
* @return {!Object}
|
|
8386
|
+
*/
|
|
8387
|
+
proto.ondewo.s2t.CkptFile.prototype.toObject = function(opt_includeInstance) {
|
|
8388
|
+
return proto.ondewo.s2t.CkptFile.toObject(opt_includeInstance, this);
|
|
8342
8389
|
};
|
|
8343
8390
|
|
|
8344
8391
|
|
|
8345
8392
|
/**
|
|
8346
|
-
*
|
|
8347
|
-
* @
|
|
8393
|
+
* Static version of the {@see toObject} method.
|
|
8394
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
8395
|
+
* the JSPB instance for transitional soy proto support:
|
|
8396
|
+
* http://goto/soy-param-migration
|
|
8397
|
+
* @param {!proto.ondewo.s2t.CkptFile} msg The msg instance to transform.
|
|
8398
|
+
* @return {!Object}
|
|
8399
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
8348
8400
|
*/
|
|
8349
|
-
proto.ondewo.s2t.
|
|
8350
|
-
|
|
8401
|
+
proto.ondewo.s2t.CkptFile.toObject = function(includeInstance, msg) {
|
|
8402
|
+
var f, obj = {
|
|
8403
|
+
path: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
8404
|
+
};
|
|
8405
|
+
|
|
8406
|
+
if (includeInstance) {
|
|
8407
|
+
obj.$jspbMessageInstance = msg;
|
|
8408
|
+
}
|
|
8409
|
+
return obj;
|
|
8351
8410
|
};
|
|
8411
|
+
}
|
|
8352
8412
|
|
|
8353
8413
|
|
|
8354
8414
|
/**
|
|
8355
|
-
*
|
|
8356
|
-
* @
|
|
8415
|
+
* Deserializes binary data (in protobuf wire format).
|
|
8416
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
8417
|
+
* @return {!proto.ondewo.s2t.CkptFile}
|
|
8357
8418
|
*/
|
|
8358
|
-
proto.ondewo.s2t.
|
|
8359
|
-
|
|
8360
|
-
|
|
8361
|
-
|
|
8362
|
-
|
|
8363
|
-
/**
|
|
8364
|
-
* optional CkptFile ckpt_file = 4;
|
|
8365
|
-
* @return {?proto.ondewo.s2t.CkptFile}
|
|
8366
|
-
*/
|
|
8367
|
-
proto.ondewo.s2t.Quartznet.prototype.getCkptFile = function() {
|
|
8368
|
-
return /** @type{?proto.ondewo.s2t.CkptFile} */ (
|
|
8369
|
-
jspb.Message.getWrapperField(this, proto.ondewo.s2t.CkptFile, 4));
|
|
8370
|
-
};
|
|
8371
|
-
|
|
8372
|
-
|
|
8373
|
-
/**
|
|
8374
|
-
* @param {?proto.ondewo.s2t.CkptFile|undefined} value
|
|
8375
|
-
* @return {!proto.ondewo.s2t.Quartznet} returns this
|
|
8376
|
-
*/
|
|
8377
|
-
proto.ondewo.s2t.Quartznet.prototype.setCkptFile = function(value) {
|
|
8378
|
-
return jspb.Message.setWrapperField(this, 4, value);
|
|
8379
|
-
};
|
|
8380
|
-
|
|
8381
|
-
|
|
8382
|
-
/**
|
|
8383
|
-
* Clears the message field making it undefined.
|
|
8384
|
-
* @return {!proto.ondewo.s2t.Quartznet} returns this
|
|
8385
|
-
*/
|
|
8386
|
-
proto.ondewo.s2t.Quartznet.prototype.clearCkptFile = function() {
|
|
8387
|
-
return this.setCkptFile(undefined);
|
|
8388
|
-
};
|
|
8389
|
-
|
|
8390
|
-
|
|
8391
|
-
/**
|
|
8392
|
-
* Returns whether this field is set.
|
|
8393
|
-
* @return {boolean}
|
|
8394
|
-
*/
|
|
8395
|
-
proto.ondewo.s2t.Quartznet.prototype.hasCkptFile = function() {
|
|
8396
|
-
return jspb.Message.getField(this, 4) != null;
|
|
8397
|
-
};
|
|
8398
|
-
|
|
8399
|
-
|
|
8400
|
-
/**
|
|
8401
|
-
* optional bool use_gpu = 5;
|
|
8402
|
-
* @return {boolean}
|
|
8403
|
-
*/
|
|
8404
|
-
proto.ondewo.s2t.Quartznet.prototype.getUseGpu = function() {
|
|
8405
|
-
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
|
|
8406
|
-
};
|
|
8407
|
-
|
|
8408
|
-
|
|
8409
|
-
/**
|
|
8410
|
-
* @param {boolean} value
|
|
8411
|
-
* @return {!proto.ondewo.s2t.Quartznet} returns this
|
|
8412
|
-
*/
|
|
8413
|
-
proto.ondewo.s2t.Quartznet.prototype.setUseGpu = function(value) {
|
|
8414
|
-
return jspb.Message.setProto3BooleanField(this, 5, value);
|
|
8415
|
-
};
|
|
8416
|
-
|
|
8417
|
-
|
|
8418
|
-
|
|
8419
|
-
|
|
8420
|
-
|
|
8421
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
8422
|
-
/**
|
|
8423
|
-
* Creates an object representation of this proto.
|
|
8424
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
8425
|
-
* Optional fields that are not set will be set to undefined.
|
|
8426
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
8427
|
-
* For the list of reserved names please see:
|
|
8428
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
8429
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
8430
|
-
* JSPB instance for transitional soy proto support:
|
|
8431
|
-
* http://goto/soy-param-migration
|
|
8432
|
-
* @return {!Object}
|
|
8433
|
-
*/
|
|
8434
|
-
proto.ondewo.s2t.PtFiles.prototype.toObject = function(opt_includeInstance) {
|
|
8435
|
-
return proto.ondewo.s2t.PtFiles.toObject(opt_includeInstance, this);
|
|
8436
|
-
};
|
|
8437
|
-
|
|
8438
|
-
|
|
8439
|
-
/**
|
|
8440
|
-
* Static version of the {@see toObject} method.
|
|
8441
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
8442
|
-
* the JSPB instance for transitional soy proto support:
|
|
8443
|
-
* http://goto/soy-param-migration
|
|
8444
|
-
* @param {!proto.ondewo.s2t.PtFiles} msg The msg instance to transform.
|
|
8445
|
-
* @return {!Object}
|
|
8446
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
8447
|
-
*/
|
|
8448
|
-
proto.ondewo.s2t.PtFiles.toObject = function(includeInstance, msg) {
|
|
8449
|
-
var f, obj = {
|
|
8450
|
-
path: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
8451
|
-
step: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
8452
|
-
};
|
|
8453
|
-
|
|
8454
|
-
if (includeInstance) {
|
|
8455
|
-
obj.$jspbMessageInstance = msg;
|
|
8456
|
-
}
|
|
8457
|
-
return obj;
|
|
8458
|
-
};
|
|
8459
|
-
}
|
|
8460
|
-
|
|
8461
|
-
|
|
8462
|
-
/**
|
|
8463
|
-
* Deserializes binary data (in protobuf wire format).
|
|
8464
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
8465
|
-
* @return {!proto.ondewo.s2t.PtFiles}
|
|
8466
|
-
*/
|
|
8467
|
-
proto.ondewo.s2t.PtFiles.deserializeBinary = function(bytes) {
|
|
8468
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
8469
|
-
var msg = new proto.ondewo.s2t.PtFiles;
|
|
8470
|
-
return proto.ondewo.s2t.PtFiles.deserializeBinaryFromReader(msg, reader);
|
|
8471
|
-
};
|
|
8472
|
-
|
|
8473
|
-
|
|
8474
|
-
/**
|
|
8475
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
8476
|
-
* given reader into the given message object.
|
|
8477
|
-
* @param {!proto.ondewo.s2t.PtFiles} msg The message object to deserialize into.
|
|
8478
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
8479
|
-
* @return {!proto.ondewo.s2t.PtFiles}
|
|
8480
|
-
*/
|
|
8481
|
-
proto.ondewo.s2t.PtFiles.deserializeBinaryFromReader = function(msg, reader) {
|
|
8482
|
-
while (reader.nextField()) {
|
|
8483
|
-
if (reader.isEndGroup()) {
|
|
8484
|
-
break;
|
|
8485
|
-
}
|
|
8486
|
-
var field = reader.getFieldNumber();
|
|
8487
|
-
switch (field) {
|
|
8488
|
-
case 1:
|
|
8489
|
-
var value = /** @type {string} */ (reader.readString());
|
|
8490
|
-
msg.setPath(value);
|
|
8491
|
-
break;
|
|
8492
|
-
case 2:
|
|
8493
|
-
var value = /** @type {string} */ (reader.readString());
|
|
8494
|
-
msg.setStep(value);
|
|
8495
|
-
break;
|
|
8496
|
-
default:
|
|
8497
|
-
reader.skipField();
|
|
8498
|
-
break;
|
|
8499
|
-
}
|
|
8500
|
-
}
|
|
8501
|
-
return msg;
|
|
8502
|
-
};
|
|
8503
|
-
|
|
8504
|
-
|
|
8505
|
-
/**
|
|
8506
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
8507
|
-
* @return {!Uint8Array}
|
|
8508
|
-
*/
|
|
8509
|
-
proto.ondewo.s2t.PtFiles.prototype.serializeBinary = function() {
|
|
8510
|
-
var writer = new jspb.BinaryWriter();
|
|
8511
|
-
proto.ondewo.s2t.PtFiles.serializeBinaryToWriter(this, writer);
|
|
8512
|
-
return writer.getResultBuffer();
|
|
8513
|
-
};
|
|
8514
|
-
|
|
8515
|
-
|
|
8516
|
-
/**
|
|
8517
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
8518
|
-
* format), writing to the given BinaryWriter.
|
|
8519
|
-
* @param {!proto.ondewo.s2t.PtFiles} message
|
|
8520
|
-
* @param {!jspb.BinaryWriter} writer
|
|
8521
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
8522
|
-
*/
|
|
8523
|
-
proto.ondewo.s2t.PtFiles.serializeBinaryToWriter = function(message, writer) {
|
|
8524
|
-
var f = undefined;
|
|
8525
|
-
f = message.getPath();
|
|
8526
|
-
if (f.length > 0) {
|
|
8527
|
-
writer.writeString(
|
|
8528
|
-
1,
|
|
8529
|
-
f
|
|
8530
|
-
);
|
|
8531
|
-
}
|
|
8532
|
-
f = message.getStep();
|
|
8533
|
-
if (f.length > 0) {
|
|
8534
|
-
writer.writeString(
|
|
8535
|
-
2,
|
|
8536
|
-
f
|
|
8537
|
-
);
|
|
8538
|
-
}
|
|
8539
|
-
};
|
|
8540
|
-
|
|
8541
|
-
|
|
8542
|
-
/**
|
|
8543
|
-
* optional string path = 1;
|
|
8544
|
-
* @return {string}
|
|
8545
|
-
*/
|
|
8546
|
-
proto.ondewo.s2t.PtFiles.prototype.getPath = function() {
|
|
8547
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
8548
|
-
};
|
|
8549
|
-
|
|
8550
|
-
|
|
8551
|
-
/**
|
|
8552
|
-
* @param {string} value
|
|
8553
|
-
* @return {!proto.ondewo.s2t.PtFiles} returns this
|
|
8554
|
-
*/
|
|
8555
|
-
proto.ondewo.s2t.PtFiles.prototype.setPath = function(value) {
|
|
8556
|
-
return jspb.Message.setProto3StringField(this, 1, value);
|
|
8557
|
-
};
|
|
8558
|
-
|
|
8559
|
-
|
|
8560
|
-
/**
|
|
8561
|
-
* optional string step = 2;
|
|
8562
|
-
* @return {string}
|
|
8563
|
-
*/
|
|
8564
|
-
proto.ondewo.s2t.PtFiles.prototype.getStep = function() {
|
|
8565
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
8566
|
-
};
|
|
8567
|
-
|
|
8568
|
-
|
|
8569
|
-
/**
|
|
8570
|
-
* @param {string} value
|
|
8571
|
-
* @return {!proto.ondewo.s2t.PtFiles} returns this
|
|
8572
|
-
*/
|
|
8573
|
-
proto.ondewo.s2t.PtFiles.prototype.setStep = function(value) {
|
|
8574
|
-
return jspb.Message.setProto3StringField(this, 2, value);
|
|
8575
|
-
};
|
|
8576
|
-
|
|
8577
|
-
|
|
8578
|
-
|
|
8579
|
-
|
|
8580
|
-
|
|
8581
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
8582
|
-
/**
|
|
8583
|
-
* Creates an object representation of this proto.
|
|
8584
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
8585
|
-
* Optional fields that are not set will be set to undefined.
|
|
8586
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
8587
|
-
* For the list of reserved names please see:
|
|
8588
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
8589
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
8590
|
-
* JSPB instance for transitional soy proto support:
|
|
8591
|
-
* http://goto/soy-param-migration
|
|
8592
|
-
* @return {!Object}
|
|
8593
|
-
*/
|
|
8594
|
-
proto.ondewo.s2t.CkptFile.prototype.toObject = function(opt_includeInstance) {
|
|
8595
|
-
return proto.ondewo.s2t.CkptFile.toObject(opt_includeInstance, this);
|
|
8596
|
-
};
|
|
8597
|
-
|
|
8598
|
-
|
|
8599
|
-
/**
|
|
8600
|
-
* Static version of the {@see toObject} method.
|
|
8601
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
8602
|
-
* the JSPB instance for transitional soy proto support:
|
|
8603
|
-
* http://goto/soy-param-migration
|
|
8604
|
-
* @param {!proto.ondewo.s2t.CkptFile} msg The msg instance to transform.
|
|
8605
|
-
* @return {!Object}
|
|
8606
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
8607
|
-
*/
|
|
8608
|
-
proto.ondewo.s2t.CkptFile.toObject = function(includeInstance, msg) {
|
|
8609
|
-
var f, obj = {
|
|
8610
|
-
path: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
8611
|
-
};
|
|
8612
|
-
|
|
8613
|
-
if (includeInstance) {
|
|
8614
|
-
obj.$jspbMessageInstance = msg;
|
|
8615
|
-
}
|
|
8616
|
-
return obj;
|
|
8617
|
-
};
|
|
8618
|
-
}
|
|
8619
|
-
|
|
8620
|
-
|
|
8621
|
-
/**
|
|
8622
|
-
* Deserializes binary data (in protobuf wire format).
|
|
8623
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
8624
|
-
* @return {!proto.ondewo.s2t.CkptFile}
|
|
8625
|
-
*/
|
|
8626
|
-
proto.ondewo.s2t.CkptFile.deserializeBinary = function(bytes) {
|
|
8627
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
8628
|
-
var msg = new proto.ondewo.s2t.CkptFile;
|
|
8629
|
-
return proto.ondewo.s2t.CkptFile.deserializeBinaryFromReader(msg, reader);
|
|
8419
|
+
proto.ondewo.s2t.CkptFile.deserializeBinary = function(bytes) {
|
|
8420
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
8421
|
+
var msg = new proto.ondewo.s2t.CkptFile;
|
|
8422
|
+
return proto.ondewo.s2t.CkptFile.deserializeBinaryFromReader(msg, reader);
|
|
8630
8423
|
};
|
|
8631
8424
|
|
|
8632
8425
|
|
|
@@ -8708,196 +8501,6 @@ proto.ondewo.s2t.CkptFile.prototype.setPath = function(value) {
|
|
|
8708
8501
|
|
|
8709
8502
|
|
|
8710
8503
|
|
|
8711
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
8712
|
-
/**
|
|
8713
|
-
* Creates an object representation of this proto.
|
|
8714
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
8715
|
-
* Optional fields that are not set will be set to undefined.
|
|
8716
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
8717
|
-
* For the list of reserved names please see:
|
|
8718
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
8719
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
8720
|
-
* JSPB instance for transitional soy proto support:
|
|
8721
|
-
* http://goto/soy-param-migration
|
|
8722
|
-
* @return {!Object}
|
|
8723
|
-
*/
|
|
8724
|
-
proto.ondewo.s2t.QuartznetTriton.prototype.toObject = function(opt_includeInstance) {
|
|
8725
|
-
return proto.ondewo.s2t.QuartznetTriton.toObject(opt_includeInstance, this);
|
|
8726
|
-
};
|
|
8727
|
-
|
|
8728
|
-
|
|
8729
|
-
/**
|
|
8730
|
-
* Static version of the {@see toObject} method.
|
|
8731
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
8732
|
-
* the JSPB instance for transitional soy proto support:
|
|
8733
|
-
* http://goto/soy-param-migration
|
|
8734
|
-
* @param {!proto.ondewo.s2t.QuartznetTriton} msg The msg instance to transform.
|
|
8735
|
-
* @return {!Object}
|
|
8736
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
8737
|
-
*/
|
|
8738
|
-
proto.ondewo.s2t.QuartznetTriton.toObject = function(includeInstance, msg) {
|
|
8739
|
-
var f, obj = {
|
|
8740
|
-
configPath: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
8741
|
-
tritonUrl: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
8742
|
-
tritonModel: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
8743
|
-
};
|
|
8744
|
-
|
|
8745
|
-
if (includeInstance) {
|
|
8746
|
-
obj.$jspbMessageInstance = msg;
|
|
8747
|
-
}
|
|
8748
|
-
return obj;
|
|
8749
|
-
};
|
|
8750
|
-
}
|
|
8751
|
-
|
|
8752
|
-
|
|
8753
|
-
/**
|
|
8754
|
-
* Deserializes binary data (in protobuf wire format).
|
|
8755
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
8756
|
-
* @return {!proto.ondewo.s2t.QuartznetTriton}
|
|
8757
|
-
*/
|
|
8758
|
-
proto.ondewo.s2t.QuartznetTriton.deserializeBinary = function(bytes) {
|
|
8759
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
8760
|
-
var msg = new proto.ondewo.s2t.QuartznetTriton;
|
|
8761
|
-
return proto.ondewo.s2t.QuartznetTriton.deserializeBinaryFromReader(msg, reader);
|
|
8762
|
-
};
|
|
8763
|
-
|
|
8764
|
-
|
|
8765
|
-
/**
|
|
8766
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
8767
|
-
* given reader into the given message object.
|
|
8768
|
-
* @param {!proto.ondewo.s2t.QuartznetTriton} msg The message object to deserialize into.
|
|
8769
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
8770
|
-
* @return {!proto.ondewo.s2t.QuartznetTriton}
|
|
8771
|
-
*/
|
|
8772
|
-
proto.ondewo.s2t.QuartznetTriton.deserializeBinaryFromReader = function(msg, reader) {
|
|
8773
|
-
while (reader.nextField()) {
|
|
8774
|
-
if (reader.isEndGroup()) {
|
|
8775
|
-
break;
|
|
8776
|
-
}
|
|
8777
|
-
var field = reader.getFieldNumber();
|
|
8778
|
-
switch (field) {
|
|
8779
|
-
case 1:
|
|
8780
|
-
var value = /** @type {string} */ (reader.readString());
|
|
8781
|
-
msg.setConfigPath(value);
|
|
8782
|
-
break;
|
|
8783
|
-
case 2:
|
|
8784
|
-
var value = /** @type {string} */ (reader.readString());
|
|
8785
|
-
msg.setTritonUrl(value);
|
|
8786
|
-
break;
|
|
8787
|
-
case 3:
|
|
8788
|
-
var value = /** @type {string} */ (reader.readString());
|
|
8789
|
-
msg.setTritonModel(value);
|
|
8790
|
-
break;
|
|
8791
|
-
default:
|
|
8792
|
-
reader.skipField();
|
|
8793
|
-
break;
|
|
8794
|
-
}
|
|
8795
|
-
}
|
|
8796
|
-
return msg;
|
|
8797
|
-
};
|
|
8798
|
-
|
|
8799
|
-
|
|
8800
|
-
/**
|
|
8801
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
8802
|
-
* @return {!Uint8Array}
|
|
8803
|
-
*/
|
|
8804
|
-
proto.ondewo.s2t.QuartznetTriton.prototype.serializeBinary = function() {
|
|
8805
|
-
var writer = new jspb.BinaryWriter();
|
|
8806
|
-
proto.ondewo.s2t.QuartznetTriton.serializeBinaryToWriter(this, writer);
|
|
8807
|
-
return writer.getResultBuffer();
|
|
8808
|
-
};
|
|
8809
|
-
|
|
8810
|
-
|
|
8811
|
-
/**
|
|
8812
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
8813
|
-
* format), writing to the given BinaryWriter.
|
|
8814
|
-
* @param {!proto.ondewo.s2t.QuartznetTriton} message
|
|
8815
|
-
* @param {!jspb.BinaryWriter} writer
|
|
8816
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
8817
|
-
*/
|
|
8818
|
-
proto.ondewo.s2t.QuartznetTriton.serializeBinaryToWriter = function(message, writer) {
|
|
8819
|
-
var f = undefined;
|
|
8820
|
-
f = message.getConfigPath();
|
|
8821
|
-
if (f.length > 0) {
|
|
8822
|
-
writer.writeString(
|
|
8823
|
-
1,
|
|
8824
|
-
f
|
|
8825
|
-
);
|
|
8826
|
-
}
|
|
8827
|
-
f = message.getTritonUrl();
|
|
8828
|
-
if (f.length > 0) {
|
|
8829
|
-
writer.writeString(
|
|
8830
|
-
2,
|
|
8831
|
-
f
|
|
8832
|
-
);
|
|
8833
|
-
}
|
|
8834
|
-
f = message.getTritonModel();
|
|
8835
|
-
if (f.length > 0) {
|
|
8836
|
-
writer.writeString(
|
|
8837
|
-
3,
|
|
8838
|
-
f
|
|
8839
|
-
);
|
|
8840
|
-
}
|
|
8841
|
-
};
|
|
8842
|
-
|
|
8843
|
-
|
|
8844
|
-
/**
|
|
8845
|
-
* optional string config_path = 1;
|
|
8846
|
-
* @return {string}
|
|
8847
|
-
*/
|
|
8848
|
-
proto.ondewo.s2t.QuartznetTriton.prototype.getConfigPath = function() {
|
|
8849
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
8850
|
-
};
|
|
8851
|
-
|
|
8852
|
-
|
|
8853
|
-
/**
|
|
8854
|
-
* @param {string} value
|
|
8855
|
-
* @return {!proto.ondewo.s2t.QuartznetTriton} returns this
|
|
8856
|
-
*/
|
|
8857
|
-
proto.ondewo.s2t.QuartznetTriton.prototype.setConfigPath = function(value) {
|
|
8858
|
-
return jspb.Message.setProto3StringField(this, 1, value);
|
|
8859
|
-
};
|
|
8860
|
-
|
|
8861
|
-
|
|
8862
|
-
/**
|
|
8863
|
-
* optional string triton_url = 2;
|
|
8864
|
-
* @return {string}
|
|
8865
|
-
*/
|
|
8866
|
-
proto.ondewo.s2t.QuartznetTriton.prototype.getTritonUrl = function() {
|
|
8867
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
8868
|
-
};
|
|
8869
|
-
|
|
8870
|
-
|
|
8871
|
-
/**
|
|
8872
|
-
* @param {string} value
|
|
8873
|
-
* @return {!proto.ondewo.s2t.QuartznetTriton} returns this
|
|
8874
|
-
*/
|
|
8875
|
-
proto.ondewo.s2t.QuartznetTriton.prototype.setTritonUrl = function(value) {
|
|
8876
|
-
return jspb.Message.setProto3StringField(this, 2, value);
|
|
8877
|
-
};
|
|
8878
|
-
|
|
8879
|
-
|
|
8880
|
-
/**
|
|
8881
|
-
* optional string triton_model = 3;
|
|
8882
|
-
* @return {string}
|
|
8883
|
-
*/
|
|
8884
|
-
proto.ondewo.s2t.QuartznetTriton.prototype.getTritonModel = function() {
|
|
8885
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
8886
|
-
};
|
|
8887
|
-
|
|
8888
|
-
|
|
8889
|
-
/**
|
|
8890
|
-
* @param {string} value
|
|
8891
|
-
* @return {!proto.ondewo.s2t.QuartznetTriton} returns this
|
|
8892
|
-
*/
|
|
8893
|
-
proto.ondewo.s2t.QuartznetTriton.prototype.setTritonModel = function(value) {
|
|
8894
|
-
return jspb.Message.setProto3StringField(this, 3, value);
|
|
8895
|
-
};
|
|
8896
|
-
|
|
8897
|
-
|
|
8898
|
-
|
|
8899
|
-
|
|
8900
|
-
|
|
8901
8504
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
8902
8505
|
/**
|
|
8903
8506
|
* Creates an object representation of this proto.
|
|
@@ -9730,8 +9333,7 @@ proto.ondewo.s2t.VoiceActivityDetection.toObject = function(includeInstance, msg
|
|
|
9730
9333
|
var f, obj = {
|
|
9731
9334
|
active: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
9732
9335
|
samplingRate: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
9733
|
-
pyannote: (f = msg.getPyannote()) && proto.ondewo.s2t.Pyannote.toObject(includeInstance, f)
|
|
9734
|
-
matchbox: (f = msg.getMatchbox()) && proto.ondewo.s2t.Matchbox.toObject(includeInstance, f)
|
|
9336
|
+
pyannote: (f = msg.getPyannote()) && proto.ondewo.s2t.Pyannote.toObject(includeInstance, f)
|
|
9735
9337
|
};
|
|
9736
9338
|
|
|
9737
9339
|
if (includeInstance) {
|
|
@@ -9781,11 +9383,6 @@ proto.ondewo.s2t.VoiceActivityDetection.deserializeBinaryFromReader = function(m
|
|
|
9781
9383
|
reader.readMessage(value,proto.ondewo.s2t.Pyannote.deserializeBinaryFromReader);
|
|
9782
9384
|
msg.setPyannote(value);
|
|
9783
9385
|
break;
|
|
9784
|
-
case 4:
|
|
9785
|
-
var value = new proto.ondewo.s2t.Matchbox;
|
|
9786
|
-
reader.readMessage(value,proto.ondewo.s2t.Matchbox.deserializeBinaryFromReader);
|
|
9787
|
-
msg.setMatchbox(value);
|
|
9788
|
-
break;
|
|
9789
9386
|
default:
|
|
9790
9387
|
reader.skipField();
|
|
9791
9388
|
break;
|
|
@@ -9837,14 +9434,6 @@ proto.ondewo.s2t.VoiceActivityDetection.serializeBinaryToWriter = function(messa
|
|
|
9837
9434
|
proto.ondewo.s2t.Pyannote.serializeBinaryToWriter
|
|
9838
9435
|
);
|
|
9839
9436
|
}
|
|
9840
|
-
f = message.getMatchbox();
|
|
9841
|
-
if (f != null) {
|
|
9842
|
-
writer.writeMessage(
|
|
9843
|
-
4,
|
|
9844
|
-
f,
|
|
9845
|
-
proto.ondewo.s2t.Matchbox.serializeBinaryToWriter
|
|
9846
|
-
);
|
|
9847
|
-
}
|
|
9848
9437
|
};
|
|
9849
9438
|
|
|
9850
9439
|
|
|
@@ -9898,45 +9487,8 @@ proto.ondewo.s2t.VoiceActivityDetection.prototype.getPyannote = function() {
|
|
|
9898
9487
|
* @param {?proto.ondewo.s2t.Pyannote|undefined} value
|
|
9899
9488
|
* @return {!proto.ondewo.s2t.VoiceActivityDetection} returns this
|
|
9900
9489
|
*/
|
|
9901
|
-
proto.ondewo.s2t.VoiceActivityDetection.prototype.setPyannote = function(value) {
|
|
9902
|
-
return jspb.Message.setWrapperField(this, 3, value);
|
|
9903
|
-
};
|
|
9904
|
-
|
|
9905
|
-
|
|
9906
|
-
/**
|
|
9907
|
-
* Clears the message field making it undefined.
|
|
9908
|
-
* @return {!proto.ondewo.s2t.VoiceActivityDetection} returns this
|
|
9909
|
-
*/
|
|
9910
|
-
proto.ondewo.s2t.VoiceActivityDetection.prototype.clearPyannote = function() {
|
|
9911
|
-
return this.setPyannote(undefined);
|
|
9912
|
-
};
|
|
9913
|
-
|
|
9914
|
-
|
|
9915
|
-
/**
|
|
9916
|
-
* Returns whether this field is set.
|
|
9917
|
-
* @return {boolean}
|
|
9918
|
-
*/
|
|
9919
|
-
proto.ondewo.s2t.VoiceActivityDetection.prototype.hasPyannote = function() {
|
|
9920
|
-
return jspb.Message.getField(this, 3) != null;
|
|
9921
|
-
};
|
|
9922
|
-
|
|
9923
|
-
|
|
9924
|
-
/**
|
|
9925
|
-
* optional Matchbox matchbox = 4;
|
|
9926
|
-
* @return {?proto.ondewo.s2t.Matchbox}
|
|
9927
|
-
*/
|
|
9928
|
-
proto.ondewo.s2t.VoiceActivityDetection.prototype.getMatchbox = function() {
|
|
9929
|
-
return /** @type{?proto.ondewo.s2t.Matchbox} */ (
|
|
9930
|
-
jspb.Message.getWrapperField(this, proto.ondewo.s2t.Matchbox, 4));
|
|
9931
|
-
};
|
|
9932
|
-
|
|
9933
|
-
|
|
9934
|
-
/**
|
|
9935
|
-
* @param {?proto.ondewo.s2t.Matchbox|undefined} value
|
|
9936
|
-
* @return {!proto.ondewo.s2t.VoiceActivityDetection} returns this
|
|
9937
|
-
*/
|
|
9938
|
-
proto.ondewo.s2t.VoiceActivityDetection.prototype.setMatchbox = function(value) {
|
|
9939
|
-
return jspb.Message.setWrapperField(this, 4, value);
|
|
9490
|
+
proto.ondewo.s2t.VoiceActivityDetection.prototype.setPyannote = function(value) {
|
|
9491
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
9940
9492
|
};
|
|
9941
9493
|
|
|
9942
9494
|
|
|
@@ -9944,8 +9496,8 @@ proto.ondewo.s2t.VoiceActivityDetection.prototype.setMatchbox = function(value)
|
|
|
9944
9496
|
* Clears the message field making it undefined.
|
|
9945
9497
|
* @return {!proto.ondewo.s2t.VoiceActivityDetection} returns this
|
|
9946
9498
|
*/
|
|
9947
|
-
proto.ondewo.s2t.VoiceActivityDetection.prototype.
|
|
9948
|
-
return this.
|
|
9499
|
+
proto.ondewo.s2t.VoiceActivityDetection.prototype.clearPyannote = function() {
|
|
9500
|
+
return this.setPyannote(undefined);
|
|
9949
9501
|
};
|
|
9950
9502
|
|
|
9951
9503
|
|
|
@@ -9953,37 +9505,12 @@ proto.ondewo.s2t.VoiceActivityDetection.prototype.clearMatchbox = function() {
|
|
|
9953
9505
|
* Returns whether this field is set.
|
|
9954
9506
|
* @return {boolean}
|
|
9955
9507
|
*/
|
|
9956
|
-
proto.ondewo.s2t.VoiceActivityDetection.prototype.
|
|
9957
|
-
return jspb.Message.getField(this,
|
|
9508
|
+
proto.ondewo.s2t.VoiceActivityDetection.prototype.hasPyannote = function() {
|
|
9509
|
+
return jspb.Message.getField(this, 3) != null;
|
|
9958
9510
|
};
|
|
9959
9511
|
|
|
9960
9512
|
|
|
9961
9513
|
|
|
9962
|
-
/**
|
|
9963
|
-
* Oneof group definitions for this message. Each group defines the field
|
|
9964
|
-
* numbers belonging to that group. When of these fields' value is set, all
|
|
9965
|
-
* other fields in the group are cleared. During deserialization, if multiple
|
|
9966
|
-
* fields are encountered for a group, only the last value seen will be kept.
|
|
9967
|
-
* @private {!Array<!Array<number>>}
|
|
9968
|
-
* @const
|
|
9969
|
-
*/
|
|
9970
|
-
proto.ondewo.s2t.Pyannote.oneofGroups_ = [[5]];
|
|
9971
|
-
|
|
9972
|
-
/**
|
|
9973
|
-
* @enum {number}
|
|
9974
|
-
*/
|
|
9975
|
-
proto.ondewo.s2t.Pyannote.OneofLogScaleCase = {
|
|
9976
|
-
ONEOF_LOG_SCALE_NOT_SET: 0,
|
|
9977
|
-
LOG_SCALE: 5
|
|
9978
|
-
};
|
|
9979
|
-
|
|
9980
|
-
/**
|
|
9981
|
-
* @return {proto.ondewo.s2t.Pyannote.OneofLogScaleCase}
|
|
9982
|
-
*/
|
|
9983
|
-
proto.ondewo.s2t.Pyannote.prototype.getOneofLogScaleCase = function() {
|
|
9984
|
-
return /** @type {proto.ondewo.s2t.Pyannote.OneofLogScaleCase} */(jspb.Message.computeOneofCase(this, proto.ondewo.s2t.Pyannote.oneofGroups_[0]));
|
|
9985
|
-
};
|
|
9986
|
-
|
|
9987
9514
|
|
|
9988
9515
|
|
|
9989
9516
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -10015,13 +9542,12 @@ proto.ondewo.s2t.Pyannote.prototype.toObject = function(opt_includeInstance) {
|
|
|
10015
9542
|
*/
|
|
10016
9543
|
proto.ondewo.s2t.Pyannote.toObject = function(includeInstance, msg) {
|
|
10017
9544
|
var f, obj = {
|
|
10018
|
-
|
|
9545
|
+
modelName: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
10019
9546
|
minAudioSize: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
10020
|
-
|
|
10021
|
-
|
|
10022
|
-
|
|
10023
|
-
|
|
10024
|
-
minDurationOn: jspb.Message.getFloatingPointFieldWithDefault(msg, 7, 0.0)
|
|
9547
|
+
minDurationOff: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
|
|
9548
|
+
minDurationOn: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
|
|
9549
|
+
tritonServerHost: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
9550
|
+
tritonServerPort: jspb.Message.getFieldWithDefault(msg, 6, 0)
|
|
10025
9551
|
};
|
|
10026
9552
|
|
|
10027
9553
|
if (includeInstance) {
|
|
@@ -10060,7 +9586,7 @@ proto.ondewo.s2t.Pyannote.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
10060
9586
|
switch (field) {
|
|
10061
9587
|
case 1:
|
|
10062
9588
|
var value = /** @type {string} */ (reader.readString());
|
|
10063
|
-
msg.
|
|
9589
|
+
msg.setModelName(value);
|
|
10064
9590
|
break;
|
|
10065
9591
|
case 2:
|
|
10066
9592
|
var value = /** @type {number} */ (reader.readInt64());
|
|
@@ -10068,23 +9594,19 @@ proto.ondewo.s2t.Pyannote.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
10068
9594
|
break;
|
|
10069
9595
|
case 3:
|
|
10070
9596
|
var value = /** @type {number} */ (reader.readFloat());
|
|
10071
|
-
msg.
|
|
9597
|
+
msg.setMinDurationOff(value);
|
|
10072
9598
|
break;
|
|
10073
9599
|
case 4:
|
|
10074
9600
|
var value = /** @type {number} */ (reader.readFloat());
|
|
10075
|
-
msg.
|
|
9601
|
+
msg.setMinDurationOn(value);
|
|
10076
9602
|
break;
|
|
10077
9603
|
case 5:
|
|
10078
|
-
var value = /** @type {
|
|
10079
|
-
msg.
|
|
9604
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9605
|
+
msg.setTritonServerHost(value);
|
|
10080
9606
|
break;
|
|
10081
9607
|
case 6:
|
|
10082
|
-
var value = /** @type {number} */ (reader.
|
|
10083
|
-
msg.
|
|
10084
|
-
break;
|
|
10085
|
-
case 7:
|
|
10086
|
-
var value = /** @type {number} */ (reader.readFloat());
|
|
10087
|
-
msg.setMinDurationOn(value);
|
|
9608
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
9609
|
+
msg.setTritonServerPort(value);
|
|
10088
9610
|
break;
|
|
10089
9611
|
default:
|
|
10090
9612
|
reader.skipField();
|
|
@@ -10115,7 +9637,7 @@ proto.ondewo.s2t.Pyannote.prototype.serializeBinary = function() {
|
|
|
10115
9637
|
*/
|
|
10116
9638
|
proto.ondewo.s2t.Pyannote.serializeBinaryToWriter = function(message, writer) {
|
|
10117
9639
|
var f = undefined;
|
|
10118
|
-
f = message.
|
|
9640
|
+
f = message.getModelName();
|
|
10119
9641
|
if (f.length > 0) {
|
|
10120
9642
|
writer.writeString(
|
|
10121
9643
|
1,
|
|
@@ -10129,49 +9651,42 @@ proto.ondewo.s2t.Pyannote.serializeBinaryToWriter = function(message, writer) {
|
|
|
10129
9651
|
f
|
|
10130
9652
|
);
|
|
10131
9653
|
}
|
|
10132
|
-
f = message.
|
|
9654
|
+
f = message.getMinDurationOff();
|
|
10133
9655
|
if (f !== 0.0) {
|
|
10134
9656
|
writer.writeFloat(
|
|
10135
9657
|
3,
|
|
10136
9658
|
f
|
|
10137
9659
|
);
|
|
10138
9660
|
}
|
|
10139
|
-
f = message.
|
|
9661
|
+
f = message.getMinDurationOn();
|
|
10140
9662
|
if (f !== 0.0) {
|
|
10141
9663
|
writer.writeFloat(
|
|
10142
9664
|
4,
|
|
10143
9665
|
f
|
|
10144
9666
|
);
|
|
10145
9667
|
}
|
|
10146
|
-
f =
|
|
10147
|
-
if (f
|
|
10148
|
-
writer.
|
|
9668
|
+
f = message.getTritonServerHost();
|
|
9669
|
+
if (f.length > 0) {
|
|
9670
|
+
writer.writeString(
|
|
10149
9671
|
5,
|
|
10150
9672
|
f
|
|
10151
9673
|
);
|
|
10152
9674
|
}
|
|
10153
|
-
f = message.
|
|
10154
|
-
if (f !== 0
|
|
10155
|
-
writer.
|
|
9675
|
+
f = message.getTritonServerPort();
|
|
9676
|
+
if (f !== 0) {
|
|
9677
|
+
writer.writeInt64(
|
|
10156
9678
|
6,
|
|
10157
9679
|
f
|
|
10158
9680
|
);
|
|
10159
9681
|
}
|
|
10160
|
-
f = message.getMinDurationOn();
|
|
10161
|
-
if (f !== 0.0) {
|
|
10162
|
-
writer.writeFloat(
|
|
10163
|
-
7,
|
|
10164
|
-
f
|
|
10165
|
-
);
|
|
10166
|
-
}
|
|
10167
9682
|
};
|
|
10168
9683
|
|
|
10169
9684
|
|
|
10170
9685
|
/**
|
|
10171
|
-
* optional string
|
|
9686
|
+
* optional string model_name = 1;
|
|
10172
9687
|
* @return {string}
|
|
10173
9688
|
*/
|
|
10174
|
-
proto.ondewo.s2t.Pyannote.prototype.
|
|
9689
|
+
proto.ondewo.s2t.Pyannote.prototype.getModelName = function() {
|
|
10175
9690
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
10176
9691
|
};
|
|
10177
9692
|
|
|
@@ -10180,7 +9695,7 @@ proto.ondewo.s2t.Pyannote.prototype.getModelPath = function() {
|
|
|
10180
9695
|
* @param {string} value
|
|
10181
9696
|
* @return {!proto.ondewo.s2t.Pyannote} returns this
|
|
10182
9697
|
*/
|
|
10183
|
-
proto.ondewo.s2t.Pyannote.prototype.
|
|
9698
|
+
proto.ondewo.s2t.Pyannote.prototype.setModelName = function(value) {
|
|
10184
9699
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
10185
9700
|
};
|
|
10186
9701
|
|
|
@@ -10204,10 +9719,10 @@ proto.ondewo.s2t.Pyannote.prototype.setMinAudioSize = function(value) {
|
|
|
10204
9719
|
|
|
10205
9720
|
|
|
10206
9721
|
/**
|
|
10207
|
-
* optional float
|
|
9722
|
+
* optional float min_duration_off = 3;
|
|
10208
9723
|
* @return {number}
|
|
10209
9724
|
*/
|
|
10210
|
-
proto.ondewo.s2t.Pyannote.prototype.
|
|
9725
|
+
proto.ondewo.s2t.Pyannote.prototype.getMinDurationOff = function() {
|
|
10211
9726
|
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0));
|
|
10212
9727
|
};
|
|
10213
9728
|
|
|
@@ -10216,16 +9731,16 @@ proto.ondewo.s2t.Pyannote.prototype.getOffset = function() {
|
|
|
10216
9731
|
* @param {number} value
|
|
10217
9732
|
* @return {!proto.ondewo.s2t.Pyannote} returns this
|
|
10218
9733
|
*/
|
|
10219
|
-
proto.ondewo.s2t.Pyannote.prototype.
|
|
9734
|
+
proto.ondewo.s2t.Pyannote.prototype.setMinDurationOff = function(value) {
|
|
10220
9735
|
return jspb.Message.setProto3FloatField(this, 3, value);
|
|
10221
9736
|
};
|
|
10222
9737
|
|
|
10223
9738
|
|
|
10224
9739
|
/**
|
|
10225
|
-
* optional float
|
|
9740
|
+
* optional float min_duration_on = 4;
|
|
10226
9741
|
* @return {number}
|
|
10227
9742
|
*/
|
|
10228
|
-
proto.ondewo.s2t.Pyannote.prototype.
|
|
9743
|
+
proto.ondewo.s2t.Pyannote.prototype.getMinDurationOn = function() {
|
|
10229
9744
|
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
|
|
10230
9745
|
};
|
|
10231
9746
|
|
|
@@ -10234,71 +9749,35 @@ proto.ondewo.s2t.Pyannote.prototype.getOnset = function() {
|
|
|
10234
9749
|
* @param {number} value
|
|
10235
9750
|
* @return {!proto.ondewo.s2t.Pyannote} returns this
|
|
10236
9751
|
*/
|
|
10237
|
-
proto.ondewo.s2t.Pyannote.prototype.
|
|
9752
|
+
proto.ondewo.s2t.Pyannote.prototype.setMinDurationOn = function(value) {
|
|
10238
9753
|
return jspb.Message.setProto3FloatField(this, 4, value);
|
|
10239
9754
|
};
|
|
10240
9755
|
|
|
10241
9756
|
|
|
10242
9757
|
/**
|
|
10243
|
-
* optional
|
|
10244
|
-
* @return {
|
|
10245
|
-
*/
|
|
10246
|
-
proto.ondewo.s2t.Pyannote.prototype.getLogScale = function() {
|
|
10247
|
-
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
|
|
10248
|
-
};
|
|
10249
|
-
|
|
10250
|
-
|
|
10251
|
-
/**
|
|
10252
|
-
* @param {boolean} value
|
|
10253
|
-
* @return {!proto.ondewo.s2t.Pyannote} returns this
|
|
10254
|
-
*/
|
|
10255
|
-
proto.ondewo.s2t.Pyannote.prototype.setLogScale = function(value) {
|
|
10256
|
-
return jspb.Message.setOneofField(this, 5, proto.ondewo.s2t.Pyannote.oneofGroups_[0], value);
|
|
10257
|
-
};
|
|
10258
|
-
|
|
10259
|
-
|
|
10260
|
-
/**
|
|
10261
|
-
* Clears the field making it undefined.
|
|
10262
|
-
* @return {!proto.ondewo.s2t.Pyannote} returns this
|
|
10263
|
-
*/
|
|
10264
|
-
proto.ondewo.s2t.Pyannote.prototype.clearLogScale = function() {
|
|
10265
|
-
return jspb.Message.setOneofField(this, 5, proto.ondewo.s2t.Pyannote.oneofGroups_[0], undefined);
|
|
10266
|
-
};
|
|
10267
|
-
|
|
10268
|
-
|
|
10269
|
-
/**
|
|
10270
|
-
* Returns whether this field is set.
|
|
10271
|
-
* @return {boolean}
|
|
10272
|
-
*/
|
|
10273
|
-
proto.ondewo.s2t.Pyannote.prototype.hasLogScale = function() {
|
|
10274
|
-
return jspb.Message.getField(this, 5) != null;
|
|
10275
|
-
};
|
|
10276
|
-
|
|
10277
|
-
|
|
10278
|
-
/**
|
|
10279
|
-
* optional float min_duration_off = 6;
|
|
10280
|
-
* @return {number}
|
|
9758
|
+
* optional string triton_server_host = 5;
|
|
9759
|
+
* @return {string}
|
|
10281
9760
|
*/
|
|
10282
|
-
proto.ondewo.s2t.Pyannote.prototype.
|
|
10283
|
-
return /** @type {
|
|
9761
|
+
proto.ondewo.s2t.Pyannote.prototype.getTritonServerHost = function() {
|
|
9762
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
10284
9763
|
};
|
|
10285
9764
|
|
|
10286
9765
|
|
|
10287
9766
|
/**
|
|
10288
|
-
* @param {
|
|
9767
|
+
* @param {string} value
|
|
10289
9768
|
* @return {!proto.ondewo.s2t.Pyannote} returns this
|
|
10290
9769
|
*/
|
|
10291
|
-
proto.ondewo.s2t.Pyannote.prototype.
|
|
10292
|
-
return jspb.Message.
|
|
9770
|
+
proto.ondewo.s2t.Pyannote.prototype.setTritonServerHost = function(value) {
|
|
9771
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
10293
9772
|
};
|
|
10294
9773
|
|
|
10295
9774
|
|
|
10296
9775
|
/**
|
|
10297
|
-
* optional
|
|
9776
|
+
* optional int64 triton_server_port = 6;
|
|
10298
9777
|
* @return {number}
|
|
10299
9778
|
*/
|
|
10300
|
-
proto.ondewo.s2t.Pyannote.prototype.
|
|
10301
|
-
return /** @type {number} */ (jspb.Message.
|
|
9779
|
+
proto.ondewo.s2t.Pyannote.prototype.getTritonServerPort = function() {
|
|
9780
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
10302
9781
|
};
|
|
10303
9782
|
|
|
10304
9783
|
|
|
@@ -10306,198 +9785,8 @@ proto.ondewo.s2t.Pyannote.prototype.getMinDurationOn = function() {
|
|
|
10306
9785
|
* @param {number} value
|
|
10307
9786
|
* @return {!proto.ondewo.s2t.Pyannote} returns this
|
|
10308
9787
|
*/
|
|
10309
|
-
proto.ondewo.s2t.Pyannote.prototype.
|
|
10310
|
-
return jspb.Message.
|
|
10311
|
-
};
|
|
10312
|
-
|
|
10313
|
-
|
|
10314
|
-
|
|
10315
|
-
|
|
10316
|
-
|
|
10317
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
10318
|
-
/**
|
|
10319
|
-
* Creates an object representation of this proto.
|
|
10320
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
10321
|
-
* Optional fields that are not set will be set to undefined.
|
|
10322
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
10323
|
-
* For the list of reserved names please see:
|
|
10324
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
10325
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
10326
|
-
* JSPB instance for transitional soy proto support:
|
|
10327
|
-
* http://goto/soy-param-migration
|
|
10328
|
-
* @return {!Object}
|
|
10329
|
-
*/
|
|
10330
|
-
proto.ondewo.s2t.Matchbox.prototype.toObject = function(opt_includeInstance) {
|
|
10331
|
-
return proto.ondewo.s2t.Matchbox.toObject(opt_includeInstance, this);
|
|
10332
|
-
};
|
|
10333
|
-
|
|
10334
|
-
|
|
10335
|
-
/**
|
|
10336
|
-
* Static version of the {@see toObject} method.
|
|
10337
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
10338
|
-
* the JSPB instance for transitional soy proto support:
|
|
10339
|
-
* http://goto/soy-param-migration
|
|
10340
|
-
* @param {!proto.ondewo.s2t.Matchbox} msg The msg instance to transform.
|
|
10341
|
-
* @return {!Object}
|
|
10342
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10343
|
-
*/
|
|
10344
|
-
proto.ondewo.s2t.Matchbox.toObject = function(includeInstance, msg) {
|
|
10345
|
-
var f, obj = {
|
|
10346
|
-
modelConfig: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
10347
|
-
encoderPath: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
10348
|
-
decoderPath: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
10349
|
-
};
|
|
10350
|
-
|
|
10351
|
-
if (includeInstance) {
|
|
10352
|
-
obj.$jspbMessageInstance = msg;
|
|
10353
|
-
}
|
|
10354
|
-
return obj;
|
|
10355
|
-
};
|
|
10356
|
-
}
|
|
10357
|
-
|
|
10358
|
-
|
|
10359
|
-
/**
|
|
10360
|
-
* Deserializes binary data (in protobuf wire format).
|
|
10361
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
10362
|
-
* @return {!proto.ondewo.s2t.Matchbox}
|
|
10363
|
-
*/
|
|
10364
|
-
proto.ondewo.s2t.Matchbox.deserializeBinary = function(bytes) {
|
|
10365
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
10366
|
-
var msg = new proto.ondewo.s2t.Matchbox;
|
|
10367
|
-
return proto.ondewo.s2t.Matchbox.deserializeBinaryFromReader(msg, reader);
|
|
10368
|
-
};
|
|
10369
|
-
|
|
10370
|
-
|
|
10371
|
-
/**
|
|
10372
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
10373
|
-
* given reader into the given message object.
|
|
10374
|
-
* @param {!proto.ondewo.s2t.Matchbox} msg The message object to deserialize into.
|
|
10375
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
10376
|
-
* @return {!proto.ondewo.s2t.Matchbox}
|
|
10377
|
-
*/
|
|
10378
|
-
proto.ondewo.s2t.Matchbox.deserializeBinaryFromReader = function(msg, reader) {
|
|
10379
|
-
while (reader.nextField()) {
|
|
10380
|
-
if (reader.isEndGroup()) {
|
|
10381
|
-
break;
|
|
10382
|
-
}
|
|
10383
|
-
var field = reader.getFieldNumber();
|
|
10384
|
-
switch (field) {
|
|
10385
|
-
case 1:
|
|
10386
|
-
var value = /** @type {string} */ (reader.readString());
|
|
10387
|
-
msg.setModelConfig(value);
|
|
10388
|
-
break;
|
|
10389
|
-
case 2:
|
|
10390
|
-
var value = /** @type {string} */ (reader.readString());
|
|
10391
|
-
msg.setEncoderPath(value);
|
|
10392
|
-
break;
|
|
10393
|
-
case 3:
|
|
10394
|
-
var value = /** @type {string} */ (reader.readString());
|
|
10395
|
-
msg.setDecoderPath(value);
|
|
10396
|
-
break;
|
|
10397
|
-
default:
|
|
10398
|
-
reader.skipField();
|
|
10399
|
-
break;
|
|
10400
|
-
}
|
|
10401
|
-
}
|
|
10402
|
-
return msg;
|
|
10403
|
-
};
|
|
10404
|
-
|
|
10405
|
-
|
|
10406
|
-
/**
|
|
10407
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
10408
|
-
* @return {!Uint8Array}
|
|
10409
|
-
*/
|
|
10410
|
-
proto.ondewo.s2t.Matchbox.prototype.serializeBinary = function() {
|
|
10411
|
-
var writer = new jspb.BinaryWriter();
|
|
10412
|
-
proto.ondewo.s2t.Matchbox.serializeBinaryToWriter(this, writer);
|
|
10413
|
-
return writer.getResultBuffer();
|
|
10414
|
-
};
|
|
10415
|
-
|
|
10416
|
-
|
|
10417
|
-
/**
|
|
10418
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
10419
|
-
* format), writing to the given BinaryWriter.
|
|
10420
|
-
* @param {!proto.ondewo.s2t.Matchbox} message
|
|
10421
|
-
* @param {!jspb.BinaryWriter} writer
|
|
10422
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10423
|
-
*/
|
|
10424
|
-
proto.ondewo.s2t.Matchbox.serializeBinaryToWriter = function(message, writer) {
|
|
10425
|
-
var f = undefined;
|
|
10426
|
-
f = message.getModelConfig();
|
|
10427
|
-
if (f.length > 0) {
|
|
10428
|
-
writer.writeString(
|
|
10429
|
-
1,
|
|
10430
|
-
f
|
|
10431
|
-
);
|
|
10432
|
-
}
|
|
10433
|
-
f = message.getEncoderPath();
|
|
10434
|
-
if (f.length > 0) {
|
|
10435
|
-
writer.writeString(
|
|
10436
|
-
2,
|
|
10437
|
-
f
|
|
10438
|
-
);
|
|
10439
|
-
}
|
|
10440
|
-
f = message.getDecoderPath();
|
|
10441
|
-
if (f.length > 0) {
|
|
10442
|
-
writer.writeString(
|
|
10443
|
-
3,
|
|
10444
|
-
f
|
|
10445
|
-
);
|
|
10446
|
-
}
|
|
10447
|
-
};
|
|
10448
|
-
|
|
10449
|
-
|
|
10450
|
-
/**
|
|
10451
|
-
* optional string model_config = 1;
|
|
10452
|
-
* @return {string}
|
|
10453
|
-
*/
|
|
10454
|
-
proto.ondewo.s2t.Matchbox.prototype.getModelConfig = function() {
|
|
10455
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
10456
|
-
};
|
|
10457
|
-
|
|
10458
|
-
|
|
10459
|
-
/**
|
|
10460
|
-
* @param {string} value
|
|
10461
|
-
* @return {!proto.ondewo.s2t.Matchbox} returns this
|
|
10462
|
-
*/
|
|
10463
|
-
proto.ondewo.s2t.Matchbox.prototype.setModelConfig = function(value) {
|
|
10464
|
-
return jspb.Message.setProto3StringField(this, 1, value);
|
|
10465
|
-
};
|
|
10466
|
-
|
|
10467
|
-
|
|
10468
|
-
/**
|
|
10469
|
-
* optional string encoder_path = 2;
|
|
10470
|
-
* @return {string}
|
|
10471
|
-
*/
|
|
10472
|
-
proto.ondewo.s2t.Matchbox.prototype.getEncoderPath = function() {
|
|
10473
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
10474
|
-
};
|
|
10475
|
-
|
|
10476
|
-
|
|
10477
|
-
/**
|
|
10478
|
-
* @param {string} value
|
|
10479
|
-
* @return {!proto.ondewo.s2t.Matchbox} returns this
|
|
10480
|
-
*/
|
|
10481
|
-
proto.ondewo.s2t.Matchbox.prototype.setEncoderPath = function(value) {
|
|
10482
|
-
return jspb.Message.setProto3StringField(this, 2, value);
|
|
10483
|
-
};
|
|
10484
|
-
|
|
10485
|
-
|
|
10486
|
-
/**
|
|
10487
|
-
* optional string decoder_path = 3;
|
|
10488
|
-
* @return {string}
|
|
10489
|
-
*/
|
|
10490
|
-
proto.ondewo.s2t.Matchbox.prototype.getDecoderPath = function() {
|
|
10491
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
10492
|
-
};
|
|
10493
|
-
|
|
10494
|
-
|
|
10495
|
-
/**
|
|
10496
|
-
* @param {string} value
|
|
10497
|
-
* @return {!proto.ondewo.s2t.Matchbox} returns this
|
|
10498
|
-
*/
|
|
10499
|
-
proto.ondewo.s2t.Matchbox.prototype.setDecoderPath = function(value) {
|
|
10500
|
-
return jspb.Message.setProto3StringField(this, 3, value);
|
|
9788
|
+
proto.ondewo.s2t.Pyannote.prototype.setTritonServerPort = function(value) {
|
|
9789
|
+
return jspb.Message.setProto3IntField(this, 6, value);
|
|
10501
9790
|
};
|
|
10502
9791
|
|
|
10503
9792
|
|