@ondewo/s2t-client-typescript 5.4.0 → 5.6.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 -152
- package/api/ondewo/s2t/speech-to-text_pb.js +822 -1653
- 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
|
|
|
@@ -2074,9 +2051,7 @@ proto.ondewo.s2t.UtteranceDetectionOptions.prototype.toObject = function(opt_inc
|
|
|
2074
2051
|
proto.ondewo.s2t.UtteranceDetectionOptions.toObject = function(includeInstance, msg) {
|
|
2075
2052
|
var f, obj = {
|
|
2076
2053
|
transcribeNotFinal: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
|
|
2077
|
-
|
|
2078
|
-
endOfUtteranceThreshold: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
|
|
2079
|
-
nextChunkTimeout: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0)
|
|
2054
|
+
nextChunkTimeout: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0)
|
|
2080
2055
|
};
|
|
2081
2056
|
|
|
2082
2057
|
if (includeInstance) {
|
|
@@ -2118,14 +2093,6 @@ proto.ondewo.s2t.UtteranceDetectionOptions.deserializeBinaryFromReader = functio
|
|
|
2118
2093
|
msg.setTranscribeNotFinal(value);
|
|
2119
2094
|
break;
|
|
2120
2095
|
case 2:
|
|
2121
|
-
var value = /** @type {number} */ (reader.readFloat());
|
|
2122
|
-
msg.setStartOfUtteranceThreshold(value);
|
|
2123
|
-
break;
|
|
2124
|
-
case 3:
|
|
2125
|
-
var value = /** @type {number} */ (reader.readFloat());
|
|
2126
|
-
msg.setEndOfUtteranceThreshold(value);
|
|
2127
|
-
break;
|
|
2128
|
-
case 4:
|
|
2129
2096
|
var value = /** @type {number} */ (reader.readFloat());
|
|
2130
2097
|
msg.setNextChunkTimeout(value);
|
|
2131
2098
|
break;
|
|
@@ -2165,24 +2132,10 @@ proto.ondewo.s2t.UtteranceDetectionOptions.serializeBinaryToWriter = function(me
|
|
|
2165
2132
|
f
|
|
2166
2133
|
);
|
|
2167
2134
|
}
|
|
2168
|
-
f = message.getStartOfUtteranceThreshold();
|
|
2169
|
-
if (f !== 0.0) {
|
|
2170
|
-
writer.writeFloat(
|
|
2171
|
-
2,
|
|
2172
|
-
f
|
|
2173
|
-
);
|
|
2174
|
-
}
|
|
2175
|
-
f = message.getEndOfUtteranceThreshold();
|
|
2176
|
-
if (f !== 0.0) {
|
|
2177
|
-
writer.writeFloat(
|
|
2178
|
-
3,
|
|
2179
|
-
f
|
|
2180
|
-
);
|
|
2181
|
-
}
|
|
2182
2135
|
f = message.getNextChunkTimeout();
|
|
2183
2136
|
if (f !== 0.0) {
|
|
2184
2137
|
writer.writeFloat(
|
|
2185
|
-
|
|
2138
|
+
2,
|
|
2186
2139
|
f
|
|
2187
2140
|
);
|
|
2188
2141
|
}
|
|
@@ -2226,47 +2179,11 @@ proto.ondewo.s2t.UtteranceDetectionOptions.prototype.hasTranscribeNotFinal = fun
|
|
|
2226
2179
|
|
|
2227
2180
|
|
|
2228
2181
|
/**
|
|
2229
|
-
* optional float
|
|
2230
|
-
* @return {number}
|
|
2231
|
-
*/
|
|
2232
|
-
proto.ondewo.s2t.UtteranceDetectionOptions.prototype.getStartOfUtteranceThreshold = function() {
|
|
2233
|
-
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 2, 0.0));
|
|
2234
|
-
};
|
|
2235
|
-
|
|
2236
|
-
|
|
2237
|
-
/**
|
|
2238
|
-
* @param {number} value
|
|
2239
|
-
* @return {!proto.ondewo.s2t.UtteranceDetectionOptions} returns this
|
|
2240
|
-
*/
|
|
2241
|
-
proto.ondewo.s2t.UtteranceDetectionOptions.prototype.setStartOfUtteranceThreshold = function(value) {
|
|
2242
|
-
return jspb.Message.setProto3FloatField(this, 2, value);
|
|
2243
|
-
};
|
|
2244
|
-
|
|
2245
|
-
|
|
2246
|
-
/**
|
|
2247
|
-
* optional float end_of_utterance_threshold = 3;
|
|
2248
|
-
* @return {number}
|
|
2249
|
-
*/
|
|
2250
|
-
proto.ondewo.s2t.UtteranceDetectionOptions.prototype.getEndOfUtteranceThreshold = function() {
|
|
2251
|
-
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0));
|
|
2252
|
-
};
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
/**
|
|
2256
|
-
* @param {number} value
|
|
2257
|
-
* @return {!proto.ondewo.s2t.UtteranceDetectionOptions} returns this
|
|
2258
|
-
*/
|
|
2259
|
-
proto.ondewo.s2t.UtteranceDetectionOptions.prototype.setEndOfUtteranceThreshold = function(value) {
|
|
2260
|
-
return jspb.Message.setProto3FloatField(this, 3, value);
|
|
2261
|
-
};
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
/**
|
|
2265
|
-
* optional float next_chunk_timeout = 4;
|
|
2182
|
+
* optional float next_chunk_timeout = 2;
|
|
2266
2183
|
* @return {number}
|
|
2267
2184
|
*/
|
|
2268
2185
|
proto.ondewo.s2t.UtteranceDetectionOptions.prototype.getNextChunkTimeout = function() {
|
|
2269
|
-
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this,
|
|
2186
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 2, 0.0));
|
|
2270
2187
|
};
|
|
2271
2188
|
|
|
2272
2189
|
|
|
@@ -2275,7 +2192,7 @@ proto.ondewo.s2t.UtteranceDetectionOptions.prototype.getNextChunkTimeout = funct
|
|
|
2275
2192
|
* @return {!proto.ondewo.s2t.UtteranceDetectionOptions} returns this
|
|
2276
2193
|
*/
|
|
2277
2194
|
proto.ondewo.s2t.UtteranceDetectionOptions.prototype.setNextChunkTimeout = function(value) {
|
|
2278
|
-
return jspb.Message.setProto3FloatField(this,
|
|
2195
|
+
return jspb.Message.setProto3FloatField(this, 2, value);
|
|
2279
2196
|
};
|
|
2280
2197
|
|
|
2281
2198
|
|
|
@@ -6930,8 +6847,6 @@ proto.ondewo.s2t.AcousticModels.prototype.toObject = function(opt_includeInstanc
|
|
|
6930
6847
|
proto.ondewo.s2t.AcousticModels.toObject = function(includeInstance, msg) {
|
|
6931
6848
|
var f, obj = {
|
|
6932
6849
|
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
6850
|
wav2vec: (f = msg.getWav2vec()) && proto.ondewo.s2t.Wav2Vec.toObject(includeInstance, f),
|
|
6936
6851
|
wav2vecTriton: (f = msg.getWav2vecTriton()) && proto.ondewo.s2t.Wav2VecTriton.toObject(includeInstance, f),
|
|
6937
6852
|
whisper: (f = msg.getWhisper()) && proto.ondewo.s2t.Whisper.toObject(includeInstance, f),
|
|
@@ -6977,31 +6892,21 @@ proto.ondewo.s2t.AcousticModels.deserializeBinaryFromReader = function(msg, read
|
|
|
6977
6892
|
msg.setType(value);
|
|
6978
6893
|
break;
|
|
6979
6894
|
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
6895
|
var value = new proto.ondewo.s2t.Wav2Vec;
|
|
6991
6896
|
reader.readMessage(value,proto.ondewo.s2t.Wav2Vec.deserializeBinaryFromReader);
|
|
6992
6897
|
msg.setWav2vec(value);
|
|
6993
6898
|
break;
|
|
6994
|
-
case
|
|
6899
|
+
case 3:
|
|
6995
6900
|
var value = new proto.ondewo.s2t.Wav2VecTriton;
|
|
6996
6901
|
reader.readMessage(value,proto.ondewo.s2t.Wav2VecTriton.deserializeBinaryFromReader);
|
|
6997
6902
|
msg.setWav2vecTriton(value);
|
|
6998
6903
|
break;
|
|
6999
|
-
case
|
|
6904
|
+
case 4:
|
|
7000
6905
|
var value = new proto.ondewo.s2t.Whisper;
|
|
7001
6906
|
reader.readMessage(value,proto.ondewo.s2t.Whisper.deserializeBinaryFromReader);
|
|
7002
6907
|
msg.setWhisper(value);
|
|
7003
6908
|
break;
|
|
7004
|
-
case
|
|
6909
|
+
case 5:
|
|
7005
6910
|
var value = new proto.ondewo.s2t.WhisperTriton;
|
|
7006
6911
|
reader.readMessage(value,proto.ondewo.s2t.WhisperTriton.deserializeBinaryFromReader);
|
|
7007
6912
|
msg.setWhisperTriton(value);
|
|
@@ -7042,26 +6947,10 @@ proto.ondewo.s2t.AcousticModels.serializeBinaryToWriter = function(message, writ
|
|
|
7042
6947
|
f
|
|
7043
6948
|
);
|
|
7044
6949
|
}
|
|
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
6950
|
f = message.getWav2vec();
|
|
7062
6951
|
if (f != null) {
|
|
7063
6952
|
writer.writeMessage(
|
|
7064
|
-
|
|
6953
|
+
2,
|
|
7065
6954
|
f,
|
|
7066
6955
|
proto.ondewo.s2t.Wav2Vec.serializeBinaryToWriter
|
|
7067
6956
|
);
|
|
@@ -7069,7 +6958,7 @@ proto.ondewo.s2t.AcousticModels.serializeBinaryToWriter = function(message, writ
|
|
|
7069
6958
|
f = message.getWav2vecTriton();
|
|
7070
6959
|
if (f != null) {
|
|
7071
6960
|
writer.writeMessage(
|
|
7072
|
-
|
|
6961
|
+
3,
|
|
7073
6962
|
f,
|
|
7074
6963
|
proto.ondewo.s2t.Wav2VecTriton.serializeBinaryToWriter
|
|
7075
6964
|
);
|
|
@@ -7077,7 +6966,7 @@ proto.ondewo.s2t.AcousticModels.serializeBinaryToWriter = function(message, writ
|
|
|
7077
6966
|
f = message.getWhisper();
|
|
7078
6967
|
if (f != null) {
|
|
7079
6968
|
writer.writeMessage(
|
|
7080
|
-
|
|
6969
|
+
4,
|
|
7081
6970
|
f,
|
|
7082
6971
|
proto.ondewo.s2t.Whisper.serializeBinaryToWriter
|
|
7083
6972
|
);
|
|
@@ -7085,7 +6974,7 @@ proto.ondewo.s2t.AcousticModels.serializeBinaryToWriter = function(message, writ
|
|
|
7085
6974
|
f = message.getWhisperTriton();
|
|
7086
6975
|
if (f != null) {
|
|
7087
6976
|
writer.writeMessage(
|
|
7088
|
-
|
|
6977
|
+
5,
|
|
7089
6978
|
f,
|
|
7090
6979
|
proto.ondewo.s2t.WhisperTriton.serializeBinaryToWriter
|
|
7091
6980
|
);
|
|
@@ -7112,20 +7001,20 @@ proto.ondewo.s2t.AcousticModels.prototype.setType = function(value) {
|
|
|
7112
7001
|
|
|
7113
7002
|
|
|
7114
7003
|
/**
|
|
7115
|
-
* optional
|
|
7116
|
-
* @return {?proto.ondewo.s2t.
|
|
7004
|
+
* optional Wav2Vec wav2vec = 2;
|
|
7005
|
+
* @return {?proto.ondewo.s2t.Wav2Vec}
|
|
7117
7006
|
*/
|
|
7118
|
-
proto.ondewo.s2t.AcousticModels.prototype.
|
|
7119
|
-
return /** @type{?proto.ondewo.s2t.
|
|
7120
|
-
jspb.Message.getWrapperField(this, proto.ondewo.s2t.
|
|
7007
|
+
proto.ondewo.s2t.AcousticModels.prototype.getWav2vec = function() {
|
|
7008
|
+
return /** @type{?proto.ondewo.s2t.Wav2Vec} */ (
|
|
7009
|
+
jspb.Message.getWrapperField(this, proto.ondewo.s2t.Wav2Vec, 2));
|
|
7121
7010
|
};
|
|
7122
7011
|
|
|
7123
7012
|
|
|
7124
7013
|
/**
|
|
7125
|
-
* @param {?proto.ondewo.s2t.
|
|
7014
|
+
* @param {?proto.ondewo.s2t.Wav2Vec|undefined} value
|
|
7126
7015
|
* @return {!proto.ondewo.s2t.AcousticModels} returns this
|
|
7127
7016
|
*/
|
|
7128
|
-
proto.ondewo.s2t.AcousticModels.prototype.
|
|
7017
|
+
proto.ondewo.s2t.AcousticModels.prototype.setWav2vec = function(value) {
|
|
7129
7018
|
return jspb.Message.setWrapperField(this, 2, value);
|
|
7130
7019
|
};
|
|
7131
7020
|
|
|
@@ -7134,8 +7023,8 @@ proto.ondewo.s2t.AcousticModels.prototype.setQuartznet = function(value) {
|
|
|
7134
7023
|
* Clears the message field making it undefined.
|
|
7135
7024
|
* @return {!proto.ondewo.s2t.AcousticModels} returns this
|
|
7136
7025
|
*/
|
|
7137
|
-
proto.ondewo.s2t.AcousticModels.prototype.
|
|
7138
|
-
return this.
|
|
7026
|
+
proto.ondewo.s2t.AcousticModels.prototype.clearWav2vec = function() {
|
|
7027
|
+
return this.setWav2vec(undefined);
|
|
7139
7028
|
};
|
|
7140
7029
|
|
|
7141
7030
|
|
|
@@ -7143,26 +7032,26 @@ proto.ondewo.s2t.AcousticModels.prototype.clearQuartznet = function() {
|
|
|
7143
7032
|
* Returns whether this field is set.
|
|
7144
7033
|
* @return {boolean}
|
|
7145
7034
|
*/
|
|
7146
|
-
proto.ondewo.s2t.AcousticModels.prototype.
|
|
7035
|
+
proto.ondewo.s2t.AcousticModels.prototype.hasWav2vec = function() {
|
|
7147
7036
|
return jspb.Message.getField(this, 2) != null;
|
|
7148
7037
|
};
|
|
7149
7038
|
|
|
7150
7039
|
|
|
7151
7040
|
/**
|
|
7152
|
-
* optional
|
|
7153
|
-
* @return {?proto.ondewo.s2t.
|
|
7041
|
+
* optional Wav2VecTriton wav2vec_triton = 3;
|
|
7042
|
+
* @return {?proto.ondewo.s2t.Wav2VecTriton}
|
|
7154
7043
|
*/
|
|
7155
|
-
proto.ondewo.s2t.AcousticModels.prototype.
|
|
7156
|
-
return /** @type{?proto.ondewo.s2t.
|
|
7157
|
-
jspb.Message.getWrapperField(this, proto.ondewo.s2t.
|
|
7044
|
+
proto.ondewo.s2t.AcousticModels.prototype.getWav2vecTriton = function() {
|
|
7045
|
+
return /** @type{?proto.ondewo.s2t.Wav2VecTriton} */ (
|
|
7046
|
+
jspb.Message.getWrapperField(this, proto.ondewo.s2t.Wav2VecTriton, 3));
|
|
7158
7047
|
};
|
|
7159
7048
|
|
|
7160
7049
|
|
|
7161
7050
|
/**
|
|
7162
|
-
* @param {?proto.ondewo.s2t.
|
|
7051
|
+
* @param {?proto.ondewo.s2t.Wav2VecTriton|undefined} value
|
|
7163
7052
|
* @return {!proto.ondewo.s2t.AcousticModels} returns this
|
|
7164
7053
|
*/
|
|
7165
|
-
proto.ondewo.s2t.AcousticModels.prototype.
|
|
7054
|
+
proto.ondewo.s2t.AcousticModels.prototype.setWav2vecTriton = function(value) {
|
|
7166
7055
|
return jspb.Message.setWrapperField(this, 3, value);
|
|
7167
7056
|
};
|
|
7168
7057
|
|
|
@@ -7171,8 +7060,8 @@ proto.ondewo.s2t.AcousticModels.prototype.setQuartznetTriton = function(value) {
|
|
|
7171
7060
|
* Clears the message field making it undefined.
|
|
7172
7061
|
* @return {!proto.ondewo.s2t.AcousticModels} returns this
|
|
7173
7062
|
*/
|
|
7174
|
-
proto.ondewo.s2t.AcousticModels.prototype.
|
|
7175
|
-
return this.
|
|
7063
|
+
proto.ondewo.s2t.AcousticModels.prototype.clearWav2vecTriton = function() {
|
|
7064
|
+
return this.setWav2vecTriton(undefined);
|
|
7176
7065
|
};
|
|
7177
7066
|
|
|
7178
7067
|
|
|
@@ -7180,26 +7069,26 @@ proto.ondewo.s2t.AcousticModels.prototype.clearQuartznetTriton = function() {
|
|
|
7180
7069
|
* Returns whether this field is set.
|
|
7181
7070
|
* @return {boolean}
|
|
7182
7071
|
*/
|
|
7183
|
-
proto.ondewo.s2t.AcousticModels.prototype.
|
|
7072
|
+
proto.ondewo.s2t.AcousticModels.prototype.hasWav2vecTriton = function() {
|
|
7184
7073
|
return jspb.Message.getField(this, 3) != null;
|
|
7185
7074
|
};
|
|
7186
7075
|
|
|
7187
7076
|
|
|
7188
7077
|
/**
|
|
7189
|
-
* optional
|
|
7190
|
-
* @return {?proto.ondewo.s2t.
|
|
7078
|
+
* optional Whisper whisper = 4;
|
|
7079
|
+
* @return {?proto.ondewo.s2t.Whisper}
|
|
7191
7080
|
*/
|
|
7192
|
-
proto.ondewo.s2t.AcousticModels.prototype.
|
|
7193
|
-
return /** @type{?proto.ondewo.s2t.
|
|
7194
|
-
jspb.Message.getWrapperField(this, proto.ondewo.s2t.
|
|
7081
|
+
proto.ondewo.s2t.AcousticModels.prototype.getWhisper = function() {
|
|
7082
|
+
return /** @type{?proto.ondewo.s2t.Whisper} */ (
|
|
7083
|
+
jspb.Message.getWrapperField(this, proto.ondewo.s2t.Whisper, 4));
|
|
7195
7084
|
};
|
|
7196
7085
|
|
|
7197
7086
|
|
|
7198
7087
|
/**
|
|
7199
|
-
* @param {?proto.ondewo.s2t.
|
|
7088
|
+
* @param {?proto.ondewo.s2t.Whisper|undefined} value
|
|
7200
7089
|
* @return {!proto.ondewo.s2t.AcousticModels} returns this
|
|
7201
7090
|
*/
|
|
7202
|
-
proto.ondewo.s2t.AcousticModels.prototype.
|
|
7091
|
+
proto.ondewo.s2t.AcousticModels.prototype.setWhisper = function(value) {
|
|
7203
7092
|
return jspb.Message.setWrapperField(this, 4, value);
|
|
7204
7093
|
};
|
|
7205
7094
|
|
|
@@ -7208,8 +7097,8 @@ proto.ondewo.s2t.AcousticModels.prototype.setWav2vec = function(value) {
|
|
|
7208
7097
|
* Clears the message field making it undefined.
|
|
7209
7098
|
* @return {!proto.ondewo.s2t.AcousticModels} returns this
|
|
7210
7099
|
*/
|
|
7211
|
-
proto.ondewo.s2t.AcousticModels.prototype.
|
|
7212
|
-
return this.
|
|
7100
|
+
proto.ondewo.s2t.AcousticModels.prototype.clearWhisper = function() {
|
|
7101
|
+
return this.setWhisper(undefined);
|
|
7213
7102
|
};
|
|
7214
7103
|
|
|
7215
7104
|
|
|
@@ -7217,92 +7106,18 @@ proto.ondewo.s2t.AcousticModels.prototype.clearWav2vec = function() {
|
|
|
7217
7106
|
* Returns whether this field is set.
|
|
7218
7107
|
* @return {boolean}
|
|
7219
7108
|
*/
|
|
7220
|
-
proto.ondewo.s2t.AcousticModels.prototype.
|
|
7109
|
+
proto.ondewo.s2t.AcousticModels.prototype.hasWhisper = function() {
|
|
7221
7110
|
return jspb.Message.getField(this, 4) != null;
|
|
7222
7111
|
};
|
|
7223
7112
|
|
|
7224
7113
|
|
|
7225
7114
|
/**
|
|
7226
|
-
* optional
|
|
7227
|
-
* @return {?proto.ondewo.s2t.
|
|
7228
|
-
*/
|
|
7229
|
-
proto.ondewo.s2t.AcousticModels.prototype.getWav2vecTriton = function() {
|
|
7230
|
-
return /** @type{?proto.ondewo.s2t.Wav2VecTriton} */ (
|
|
7231
|
-
jspb.Message.getWrapperField(this, proto.ondewo.s2t.Wav2VecTriton, 5));
|
|
7232
|
-
};
|
|
7233
|
-
|
|
7234
|
-
|
|
7235
|
-
/**
|
|
7236
|
-
* @param {?proto.ondewo.s2t.Wav2VecTriton|undefined} value
|
|
7237
|
-
* @return {!proto.ondewo.s2t.AcousticModels} returns this
|
|
7238
|
-
*/
|
|
7239
|
-
proto.ondewo.s2t.AcousticModels.prototype.setWav2vecTriton = function(value) {
|
|
7240
|
-
return jspb.Message.setWrapperField(this, 5, value);
|
|
7241
|
-
};
|
|
7242
|
-
|
|
7243
|
-
|
|
7244
|
-
/**
|
|
7245
|
-
* Clears the message field making it undefined.
|
|
7246
|
-
* @return {!proto.ondewo.s2t.AcousticModels} returns this
|
|
7247
|
-
*/
|
|
7248
|
-
proto.ondewo.s2t.AcousticModels.prototype.clearWav2vecTriton = function() {
|
|
7249
|
-
return this.setWav2vecTriton(undefined);
|
|
7250
|
-
};
|
|
7251
|
-
|
|
7252
|
-
|
|
7253
|
-
/**
|
|
7254
|
-
* Returns whether this field is set.
|
|
7255
|
-
* @return {boolean}
|
|
7256
|
-
*/
|
|
7257
|
-
proto.ondewo.s2t.AcousticModels.prototype.hasWav2vecTriton = function() {
|
|
7258
|
-
return jspb.Message.getField(this, 5) != null;
|
|
7259
|
-
};
|
|
7260
|
-
|
|
7261
|
-
|
|
7262
|
-
/**
|
|
7263
|
-
* optional Whisper whisper = 6;
|
|
7264
|
-
* @return {?proto.ondewo.s2t.Whisper}
|
|
7265
|
-
*/
|
|
7266
|
-
proto.ondewo.s2t.AcousticModels.prototype.getWhisper = function() {
|
|
7267
|
-
return /** @type{?proto.ondewo.s2t.Whisper} */ (
|
|
7268
|
-
jspb.Message.getWrapperField(this, proto.ondewo.s2t.Whisper, 6));
|
|
7269
|
-
};
|
|
7270
|
-
|
|
7271
|
-
|
|
7272
|
-
/**
|
|
7273
|
-
* @param {?proto.ondewo.s2t.Whisper|undefined} value
|
|
7274
|
-
* @return {!proto.ondewo.s2t.AcousticModels} returns this
|
|
7275
|
-
*/
|
|
7276
|
-
proto.ondewo.s2t.AcousticModels.prototype.setWhisper = function(value) {
|
|
7277
|
-
return jspb.Message.setWrapperField(this, 6, value);
|
|
7278
|
-
};
|
|
7279
|
-
|
|
7280
|
-
|
|
7281
|
-
/**
|
|
7282
|
-
* Clears the message field making it undefined.
|
|
7283
|
-
* @return {!proto.ondewo.s2t.AcousticModels} returns this
|
|
7284
|
-
*/
|
|
7285
|
-
proto.ondewo.s2t.AcousticModels.prototype.clearWhisper = function() {
|
|
7286
|
-
return this.setWhisper(undefined);
|
|
7287
|
-
};
|
|
7288
|
-
|
|
7289
|
-
|
|
7290
|
-
/**
|
|
7291
|
-
* Returns whether this field is set.
|
|
7292
|
-
* @return {boolean}
|
|
7293
|
-
*/
|
|
7294
|
-
proto.ondewo.s2t.AcousticModels.prototype.hasWhisper = function() {
|
|
7295
|
-
return jspb.Message.getField(this, 6) != null;
|
|
7296
|
-
};
|
|
7297
|
-
|
|
7298
|
-
|
|
7299
|
-
/**
|
|
7300
|
-
* optional WhisperTriton whisper_triton = 7;
|
|
7301
|
-
* @return {?proto.ondewo.s2t.WhisperTriton}
|
|
7115
|
+
* optional WhisperTriton whisper_triton = 5;
|
|
7116
|
+
* @return {?proto.ondewo.s2t.WhisperTriton}
|
|
7302
7117
|
*/
|
|
7303
7118
|
proto.ondewo.s2t.AcousticModels.prototype.getWhisperTriton = function() {
|
|
7304
7119
|
return /** @type{?proto.ondewo.s2t.WhisperTriton} */ (
|
|
7305
|
-
jspb.Message.getWrapperField(this, proto.ondewo.s2t.WhisperTriton,
|
|
7120
|
+
jspb.Message.getWrapperField(this, proto.ondewo.s2t.WhisperTriton, 5));
|
|
7306
7121
|
};
|
|
7307
7122
|
|
|
7308
7123
|
|
|
@@ -7311,7 +7126,7 @@ proto.ondewo.s2t.AcousticModels.prototype.getWhisperTriton = function() {
|
|
|
7311
7126
|
* @return {!proto.ondewo.s2t.AcousticModels} returns this
|
|
7312
7127
|
*/
|
|
7313
7128
|
proto.ondewo.s2t.AcousticModels.prototype.setWhisperTriton = function(value) {
|
|
7314
|
-
return jspb.Message.setWrapperField(this,
|
|
7129
|
+
return jspb.Message.setWrapperField(this, 5, value);
|
|
7315
7130
|
};
|
|
7316
7131
|
|
|
7317
7132
|
|
|
@@ -7329,7 +7144,7 @@ proto.ondewo.s2t.AcousticModels.prototype.clearWhisperTriton = function() {
|
|
|
7329
7144
|
* @return {boolean}
|
|
7330
7145
|
*/
|
|
7331
7146
|
proto.ondewo.s2t.AcousticModels.prototype.hasWhisperTriton = function() {
|
|
7332
|
-
return jspb.Message.getField(this,
|
|
7147
|
+
return jspb.Message.getField(this, 5) != null;
|
|
7333
7148
|
};
|
|
7334
7149
|
|
|
7335
7150
|
|
|
@@ -7367,7 +7182,8 @@ proto.ondewo.s2t.Whisper.toObject = function(includeInstance, msg) {
|
|
|
7367
7182
|
var f, obj = {
|
|
7368
7183
|
modelPath: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
7369
7184
|
useGpu: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
|
|
7370
|
-
language: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
7185
|
+
language: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
7186
|
+
task: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
7371
7187
|
};
|
|
7372
7188
|
|
|
7373
7189
|
if (includeInstance) {
|
|
@@ -7416,6 +7232,10 @@ proto.ondewo.s2t.Whisper.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
7416
7232
|
var value = /** @type {string} */ (reader.readString());
|
|
7417
7233
|
msg.setLanguage(value);
|
|
7418
7234
|
break;
|
|
7235
|
+
case 4:
|
|
7236
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7237
|
+
msg.setTask(value);
|
|
7238
|
+
break;
|
|
7419
7239
|
default:
|
|
7420
7240
|
reader.skipField();
|
|
7421
7241
|
break;
|
|
@@ -7466,6 +7286,13 @@ proto.ondewo.s2t.Whisper.serializeBinaryToWriter = function(message, writer) {
|
|
|
7466
7286
|
f
|
|
7467
7287
|
);
|
|
7468
7288
|
}
|
|
7289
|
+
f = message.getTask();
|
|
7290
|
+
if (f.length > 0) {
|
|
7291
|
+
writer.writeString(
|
|
7292
|
+
4,
|
|
7293
|
+
f
|
|
7294
|
+
);
|
|
7295
|
+
}
|
|
7469
7296
|
};
|
|
7470
7297
|
|
|
7471
7298
|
|
|
@@ -7523,6 +7350,24 @@ proto.ondewo.s2t.Whisper.prototype.setLanguage = function(value) {
|
|
|
7523
7350
|
};
|
|
7524
7351
|
|
|
7525
7352
|
|
|
7353
|
+
/**
|
|
7354
|
+
* optional string task = 4;
|
|
7355
|
+
* @return {string}
|
|
7356
|
+
*/
|
|
7357
|
+
proto.ondewo.s2t.Whisper.prototype.getTask = function() {
|
|
7358
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
7359
|
+
};
|
|
7360
|
+
|
|
7361
|
+
|
|
7362
|
+
/**
|
|
7363
|
+
* @param {string} value
|
|
7364
|
+
* @return {!proto.ondewo.s2t.Whisper} returns this
|
|
7365
|
+
*/
|
|
7366
|
+
proto.ondewo.s2t.Whisper.prototype.setTask = function(value) {
|
|
7367
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
7368
|
+
};
|
|
7369
|
+
|
|
7370
|
+
|
|
7526
7371
|
|
|
7527
7372
|
|
|
7528
7373
|
|
|
@@ -7558,7 +7403,11 @@ proto.ondewo.s2t.WhisperTriton.toObject = function(includeInstance, msg) {
|
|
|
7558
7403
|
processorPath: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
7559
7404
|
tritonModelName: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
7560
7405
|
tritonModelVersion: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
7561
|
-
checkStatusTimeout: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
7406
|
+
checkStatusTimeout: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
7407
|
+
language: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
7408
|
+
task: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
7409
|
+
tritonServerHost: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
7410
|
+
tritonServerPort: jspb.Message.getFieldWithDefault(msg, 8, 0)
|
|
7562
7411
|
};
|
|
7563
7412
|
|
|
7564
7413
|
if (includeInstance) {
|
|
@@ -7611,6 +7460,22 @@ proto.ondewo.s2t.WhisperTriton.deserializeBinaryFromReader = function(msg, reade
|
|
|
7611
7460
|
var value = /** @type {number} */ (reader.readInt64());
|
|
7612
7461
|
msg.setCheckStatusTimeout(value);
|
|
7613
7462
|
break;
|
|
7463
|
+
case 5:
|
|
7464
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7465
|
+
msg.setLanguage(value);
|
|
7466
|
+
break;
|
|
7467
|
+
case 6:
|
|
7468
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7469
|
+
msg.setTask(value);
|
|
7470
|
+
break;
|
|
7471
|
+
case 7:
|
|
7472
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7473
|
+
msg.setTritonServerHost(value);
|
|
7474
|
+
break;
|
|
7475
|
+
case 8:
|
|
7476
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
7477
|
+
msg.setTritonServerPort(value);
|
|
7478
|
+
break;
|
|
7614
7479
|
default:
|
|
7615
7480
|
reader.skipField();
|
|
7616
7481
|
break;
|
|
@@ -7668,6 +7533,34 @@ proto.ondewo.s2t.WhisperTriton.serializeBinaryToWriter = function(message, write
|
|
|
7668
7533
|
f
|
|
7669
7534
|
);
|
|
7670
7535
|
}
|
|
7536
|
+
f = message.getLanguage();
|
|
7537
|
+
if (f.length > 0) {
|
|
7538
|
+
writer.writeString(
|
|
7539
|
+
5,
|
|
7540
|
+
f
|
|
7541
|
+
);
|
|
7542
|
+
}
|
|
7543
|
+
f = message.getTask();
|
|
7544
|
+
if (f.length > 0) {
|
|
7545
|
+
writer.writeString(
|
|
7546
|
+
6,
|
|
7547
|
+
f
|
|
7548
|
+
);
|
|
7549
|
+
}
|
|
7550
|
+
f = message.getTritonServerHost();
|
|
7551
|
+
if (f.length > 0) {
|
|
7552
|
+
writer.writeString(
|
|
7553
|
+
7,
|
|
7554
|
+
f
|
|
7555
|
+
);
|
|
7556
|
+
}
|
|
7557
|
+
f = message.getTritonServerPort();
|
|
7558
|
+
if (f !== 0) {
|
|
7559
|
+
writer.writeInt64(
|
|
7560
|
+
8,
|
|
7561
|
+
f
|
|
7562
|
+
);
|
|
7563
|
+
}
|
|
7671
7564
|
};
|
|
7672
7565
|
|
|
7673
7566
|
|
|
@@ -7743,6 +7636,78 @@ proto.ondewo.s2t.WhisperTriton.prototype.setCheckStatusTimeout = function(value)
|
|
|
7743
7636
|
};
|
|
7744
7637
|
|
|
7745
7638
|
|
|
7639
|
+
/**
|
|
7640
|
+
* optional string language = 5;
|
|
7641
|
+
* @return {string}
|
|
7642
|
+
*/
|
|
7643
|
+
proto.ondewo.s2t.WhisperTriton.prototype.getLanguage = function() {
|
|
7644
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
7645
|
+
};
|
|
7646
|
+
|
|
7647
|
+
|
|
7648
|
+
/**
|
|
7649
|
+
* @param {string} value
|
|
7650
|
+
* @return {!proto.ondewo.s2t.WhisperTriton} returns this
|
|
7651
|
+
*/
|
|
7652
|
+
proto.ondewo.s2t.WhisperTriton.prototype.setLanguage = function(value) {
|
|
7653
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
7654
|
+
};
|
|
7655
|
+
|
|
7656
|
+
|
|
7657
|
+
/**
|
|
7658
|
+
* optional string task = 6;
|
|
7659
|
+
* @return {string}
|
|
7660
|
+
*/
|
|
7661
|
+
proto.ondewo.s2t.WhisperTriton.prototype.getTask = function() {
|
|
7662
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
7663
|
+
};
|
|
7664
|
+
|
|
7665
|
+
|
|
7666
|
+
/**
|
|
7667
|
+
* @param {string} value
|
|
7668
|
+
* @return {!proto.ondewo.s2t.WhisperTriton} returns this
|
|
7669
|
+
*/
|
|
7670
|
+
proto.ondewo.s2t.WhisperTriton.prototype.setTask = function(value) {
|
|
7671
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
7672
|
+
};
|
|
7673
|
+
|
|
7674
|
+
|
|
7675
|
+
/**
|
|
7676
|
+
* optional string triton_server_host = 7;
|
|
7677
|
+
* @return {string}
|
|
7678
|
+
*/
|
|
7679
|
+
proto.ondewo.s2t.WhisperTriton.prototype.getTritonServerHost = function() {
|
|
7680
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
7681
|
+
};
|
|
7682
|
+
|
|
7683
|
+
|
|
7684
|
+
/**
|
|
7685
|
+
* @param {string} value
|
|
7686
|
+
* @return {!proto.ondewo.s2t.WhisperTriton} returns this
|
|
7687
|
+
*/
|
|
7688
|
+
proto.ondewo.s2t.WhisperTriton.prototype.setTritonServerHost = function(value) {
|
|
7689
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
7690
|
+
};
|
|
7691
|
+
|
|
7692
|
+
|
|
7693
|
+
/**
|
|
7694
|
+
* optional int64 triton_server_port = 8;
|
|
7695
|
+
* @return {number}
|
|
7696
|
+
*/
|
|
7697
|
+
proto.ondewo.s2t.WhisperTriton.prototype.getTritonServerPort = function() {
|
|
7698
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
|
|
7699
|
+
};
|
|
7700
|
+
|
|
7701
|
+
|
|
7702
|
+
/**
|
|
7703
|
+
* @param {number} value
|
|
7704
|
+
* @return {!proto.ondewo.s2t.WhisperTriton} returns this
|
|
7705
|
+
*/
|
|
7706
|
+
proto.ondewo.s2t.WhisperTriton.prototype.setTritonServerPort = function(value) {
|
|
7707
|
+
return jspb.Message.setProto3IntField(this, 8, value);
|
|
7708
|
+
};
|
|
7709
|
+
|
|
7710
|
+
|
|
7746
7711
|
|
|
7747
7712
|
|
|
7748
7713
|
|
|
@@ -7938,7 +7903,9 @@ proto.ondewo.s2t.Wav2VecTriton.toObject = function(includeInstance, msg) {
|
|
|
7938
7903
|
processorPath: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
7939
7904
|
tritonModelName: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
7940
7905
|
tritonModelVersion: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
7941
|
-
checkStatusTimeout: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
7906
|
+
checkStatusTimeout: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
7907
|
+
tritonServerHost: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
7908
|
+
tritonServerPort: jspb.Message.getFieldWithDefault(msg, 6, 0)
|
|
7942
7909
|
};
|
|
7943
7910
|
|
|
7944
7911
|
if (includeInstance) {
|
|
@@ -7991,6 +7958,14 @@ proto.ondewo.s2t.Wav2VecTriton.deserializeBinaryFromReader = function(msg, reade
|
|
|
7991
7958
|
var value = /** @type {number} */ (reader.readInt64());
|
|
7992
7959
|
msg.setCheckStatusTimeout(value);
|
|
7993
7960
|
break;
|
|
7961
|
+
case 5:
|
|
7962
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7963
|
+
msg.setTritonServerHost(value);
|
|
7964
|
+
break;
|
|
7965
|
+
case 6:
|
|
7966
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
7967
|
+
msg.setTritonServerPort(value);
|
|
7968
|
+
break;
|
|
7994
7969
|
default:
|
|
7995
7970
|
reader.skipField();
|
|
7996
7971
|
break;
|
|
@@ -8048,6 +8023,20 @@ proto.ondewo.s2t.Wav2VecTriton.serializeBinaryToWriter = function(message, write
|
|
|
8048
8023
|
f
|
|
8049
8024
|
);
|
|
8050
8025
|
}
|
|
8026
|
+
f = message.getTritonServerHost();
|
|
8027
|
+
if (f.length > 0) {
|
|
8028
|
+
writer.writeString(
|
|
8029
|
+
5,
|
|
8030
|
+
f
|
|
8031
|
+
);
|
|
8032
|
+
}
|
|
8033
|
+
f = message.getTritonServerPort();
|
|
8034
|
+
if (f !== 0) {
|
|
8035
|
+
writer.writeInt64(
|
|
8036
|
+
6,
|
|
8037
|
+
f
|
|
8038
|
+
);
|
|
8039
|
+
}
|
|
8051
8040
|
};
|
|
8052
8041
|
|
|
8053
8042
|
|
|
@@ -8123,6 +8112,42 @@ proto.ondewo.s2t.Wav2VecTriton.prototype.setCheckStatusTimeout = function(value)
|
|
|
8123
8112
|
};
|
|
8124
8113
|
|
|
8125
8114
|
|
|
8115
|
+
/**
|
|
8116
|
+
* optional string triton_server_host = 5;
|
|
8117
|
+
* @return {string}
|
|
8118
|
+
*/
|
|
8119
|
+
proto.ondewo.s2t.Wav2VecTriton.prototype.getTritonServerHost = function() {
|
|
8120
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
8121
|
+
};
|
|
8122
|
+
|
|
8123
|
+
|
|
8124
|
+
/**
|
|
8125
|
+
* @param {string} value
|
|
8126
|
+
* @return {!proto.ondewo.s2t.Wav2VecTriton} returns this
|
|
8127
|
+
*/
|
|
8128
|
+
proto.ondewo.s2t.Wav2VecTriton.prototype.setTritonServerHost = function(value) {
|
|
8129
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
8130
|
+
};
|
|
8131
|
+
|
|
8132
|
+
|
|
8133
|
+
/**
|
|
8134
|
+
* optional int64 triton_server_port = 6;
|
|
8135
|
+
* @return {number}
|
|
8136
|
+
*/
|
|
8137
|
+
proto.ondewo.s2t.Wav2VecTriton.prototype.getTritonServerPort = function() {
|
|
8138
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
8139
|
+
};
|
|
8140
|
+
|
|
8141
|
+
|
|
8142
|
+
/**
|
|
8143
|
+
* @param {number} value
|
|
8144
|
+
* @return {!proto.ondewo.s2t.Wav2VecTriton} returns this
|
|
8145
|
+
*/
|
|
8146
|
+
proto.ondewo.s2t.Wav2VecTriton.prototype.setTritonServerPort = function(value) {
|
|
8147
|
+
return jspb.Message.setProto3IntField(this, 6, value);
|
|
8148
|
+
};
|
|
8149
|
+
|
|
8150
|
+
|
|
8126
8151
|
|
|
8127
8152
|
|
|
8128
8153
|
|
|
@@ -8139,8 +8164,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
8139
8164
|
* http://goto/soy-param-migration
|
|
8140
8165
|
* @return {!Object}
|
|
8141
8166
|
*/
|
|
8142
|
-
proto.ondewo.s2t.
|
|
8143
|
-
return proto.ondewo.s2t.
|
|
8167
|
+
proto.ondewo.s2t.PtFiles.prototype.toObject = function(opt_includeInstance) {
|
|
8168
|
+
return proto.ondewo.s2t.PtFiles.toObject(opt_includeInstance, this);
|
|
8144
8169
|
};
|
|
8145
8170
|
|
|
8146
8171
|
|
|
@@ -8149,17 +8174,14 @@ proto.ondewo.s2t.Quartznet.prototype.toObject = function(opt_includeInstance) {
|
|
|
8149
8174
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
8150
8175
|
* the JSPB instance for transitional soy proto support:
|
|
8151
8176
|
* http://goto/soy-param-migration
|
|
8152
|
-
* @param {!proto.ondewo.s2t.
|
|
8177
|
+
* @param {!proto.ondewo.s2t.PtFiles} msg The msg instance to transform.
|
|
8153
8178
|
* @return {!Object}
|
|
8154
8179
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
8155
8180
|
*/
|
|
8156
|
-
proto.ondewo.s2t.
|
|
8181
|
+
proto.ondewo.s2t.PtFiles.toObject = function(includeInstance, msg) {
|
|
8157
8182
|
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)
|
|
8183
|
+
path: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
8184
|
+
step: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
8163
8185
|
};
|
|
8164
8186
|
|
|
8165
8187
|
if (includeInstance) {
|
|
@@ -8173,23 +8195,23 @@ proto.ondewo.s2t.Quartznet.toObject = function(includeInstance, msg) {
|
|
|
8173
8195
|
/**
|
|
8174
8196
|
* Deserializes binary data (in protobuf wire format).
|
|
8175
8197
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
8176
|
-
* @return {!proto.ondewo.s2t.
|
|
8198
|
+
* @return {!proto.ondewo.s2t.PtFiles}
|
|
8177
8199
|
*/
|
|
8178
|
-
proto.ondewo.s2t.
|
|
8200
|
+
proto.ondewo.s2t.PtFiles.deserializeBinary = function(bytes) {
|
|
8179
8201
|
var reader = new jspb.BinaryReader(bytes);
|
|
8180
|
-
var msg = new proto.ondewo.s2t.
|
|
8181
|
-
return proto.ondewo.s2t.
|
|
8202
|
+
var msg = new proto.ondewo.s2t.PtFiles;
|
|
8203
|
+
return proto.ondewo.s2t.PtFiles.deserializeBinaryFromReader(msg, reader);
|
|
8182
8204
|
};
|
|
8183
8205
|
|
|
8184
8206
|
|
|
8185
8207
|
/**
|
|
8186
8208
|
* Deserializes binary data (in protobuf wire format) from the
|
|
8187
8209
|
* given reader into the given message object.
|
|
8188
|
-
* @param {!proto.ondewo.s2t.
|
|
8210
|
+
* @param {!proto.ondewo.s2t.PtFiles} msg The message object to deserialize into.
|
|
8189
8211
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
8190
|
-
* @return {!proto.ondewo.s2t.
|
|
8212
|
+
* @return {!proto.ondewo.s2t.PtFiles}
|
|
8191
8213
|
*/
|
|
8192
|
-
proto.ondewo.s2t.
|
|
8214
|
+
proto.ondewo.s2t.PtFiles.deserializeBinaryFromReader = function(msg, reader) {
|
|
8193
8215
|
while (reader.nextField()) {
|
|
8194
8216
|
if (reader.isEndGroup()) {
|
|
8195
8217
|
break;
|
|
@@ -8198,25 +8220,11 @@ proto.ondewo.s2t.Quartznet.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
8198
8220
|
switch (field) {
|
|
8199
8221
|
case 1:
|
|
8200
8222
|
var value = /** @type {string} */ (reader.readString());
|
|
8201
|
-
msg.
|
|
8223
|
+
msg.setPath(value);
|
|
8202
8224
|
break;
|
|
8203
8225
|
case 2:
|
|
8204
8226
|
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);
|
|
8227
|
+
msg.setStep(value);
|
|
8220
8228
|
break;
|
|
8221
8229
|
default:
|
|
8222
8230
|
reader.skipField();
|
|
@@ -8231,9 +8239,9 @@ proto.ondewo.s2t.Quartznet.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
8231
8239
|
* Serializes the message to binary data (in protobuf wire format).
|
|
8232
8240
|
* @return {!Uint8Array}
|
|
8233
8241
|
*/
|
|
8234
|
-
proto.ondewo.s2t.
|
|
8242
|
+
proto.ondewo.s2t.PtFiles.prototype.serializeBinary = function() {
|
|
8235
8243
|
var writer = new jspb.BinaryWriter();
|
|
8236
|
-
proto.ondewo.s2t.
|
|
8244
|
+
proto.ondewo.s2t.PtFiles.serializeBinaryToWriter(this, writer);
|
|
8237
8245
|
return writer.getResultBuffer();
|
|
8238
8246
|
};
|
|
8239
8247
|
|
|
@@ -8241,180 +8249,65 @@ proto.ondewo.s2t.Quartznet.prototype.serializeBinary = function() {
|
|
|
8241
8249
|
/**
|
|
8242
8250
|
* Serializes the given message to binary data (in protobuf wire
|
|
8243
8251
|
* format), writing to the given BinaryWriter.
|
|
8244
|
-
* @param {!proto.ondewo.s2t.
|
|
8252
|
+
* @param {!proto.ondewo.s2t.PtFiles} message
|
|
8245
8253
|
* @param {!jspb.BinaryWriter} writer
|
|
8246
8254
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
8247
8255
|
*/
|
|
8248
|
-
proto.ondewo.s2t.
|
|
8256
|
+
proto.ondewo.s2t.PtFiles.serializeBinaryToWriter = function(message, writer) {
|
|
8249
8257
|
var f = undefined;
|
|
8250
|
-
f = message.
|
|
8258
|
+
f = message.getPath();
|
|
8251
8259
|
if (f.length > 0) {
|
|
8252
8260
|
writer.writeString(
|
|
8253
8261
|
1,
|
|
8254
8262
|
f
|
|
8255
8263
|
);
|
|
8256
8264
|
}
|
|
8257
|
-
f = message.
|
|
8265
|
+
f = message.getStep();
|
|
8258
8266
|
if (f.length > 0) {
|
|
8259
8267
|
writer.writeString(
|
|
8260
8268
|
2,
|
|
8261
8269
|
f
|
|
8262
8270
|
);
|
|
8263
8271
|
}
|
|
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
8272
|
};
|
|
8288
8273
|
|
|
8289
8274
|
|
|
8290
8275
|
/**
|
|
8291
|
-
* optional string
|
|
8276
|
+
* optional string path = 1;
|
|
8292
8277
|
* @return {string}
|
|
8293
8278
|
*/
|
|
8294
|
-
proto.ondewo.s2t.
|
|
8279
|
+
proto.ondewo.s2t.PtFiles.prototype.getPath = function() {
|
|
8295
8280
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
8296
8281
|
};
|
|
8297
8282
|
|
|
8298
8283
|
|
|
8299
8284
|
/**
|
|
8300
8285
|
* @param {string} value
|
|
8301
|
-
* @return {!proto.ondewo.s2t.
|
|
8286
|
+
* @return {!proto.ondewo.s2t.PtFiles} returns this
|
|
8302
8287
|
*/
|
|
8303
|
-
proto.ondewo.s2t.
|
|
8288
|
+
proto.ondewo.s2t.PtFiles.prototype.setPath = function(value) {
|
|
8304
8289
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
8305
8290
|
};
|
|
8306
8291
|
|
|
8307
8292
|
|
|
8308
8293
|
/**
|
|
8309
|
-
* optional string
|
|
8294
|
+
* optional string step = 2;
|
|
8310
8295
|
* @return {string}
|
|
8311
8296
|
*/
|
|
8312
|
-
proto.ondewo.s2t.
|
|
8297
|
+
proto.ondewo.s2t.PtFiles.prototype.getStep = function() {
|
|
8313
8298
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
8314
8299
|
};
|
|
8315
8300
|
|
|
8316
8301
|
|
|
8317
8302
|
/**
|
|
8318
8303
|
* @param {string} value
|
|
8319
|
-
* @return {!proto.ondewo.s2t.
|
|
8304
|
+
* @return {!proto.ondewo.s2t.PtFiles} returns this
|
|
8320
8305
|
*/
|
|
8321
|
-
proto.ondewo.s2t.
|
|
8306
|
+
proto.ondewo.s2t.PtFiles.prototype.setStep = function(value) {
|
|
8322
8307
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
8323
8308
|
};
|
|
8324
8309
|
|
|
8325
8310
|
|
|
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
|
-
|
|
8335
|
-
|
|
8336
|
-
/**
|
|
8337
|
-
* @param {?proto.ondewo.s2t.PtFiles|undefined} value
|
|
8338
|
-
* @return {!proto.ondewo.s2t.Quartznet} returns this
|
|
8339
|
-
*/
|
|
8340
|
-
proto.ondewo.s2t.Quartznet.prototype.setPtFiles = function(value) {
|
|
8341
|
-
return jspb.Message.setWrapperField(this, 3, value);
|
|
8342
|
-
};
|
|
8343
|
-
|
|
8344
|
-
|
|
8345
|
-
/**
|
|
8346
|
-
* Clears the message field making it undefined.
|
|
8347
|
-
* @return {!proto.ondewo.s2t.Quartznet} returns this
|
|
8348
|
-
*/
|
|
8349
|
-
proto.ondewo.s2t.Quartznet.prototype.clearPtFiles = function() {
|
|
8350
|
-
return this.setPtFiles(undefined);
|
|
8351
|
-
};
|
|
8352
|
-
|
|
8353
|
-
|
|
8354
|
-
/**
|
|
8355
|
-
* Returns whether this field is set.
|
|
8356
|
-
* @return {boolean}
|
|
8357
|
-
*/
|
|
8358
|
-
proto.ondewo.s2t.Quartznet.prototype.hasPtFiles = function() {
|
|
8359
|
-
return jspb.Message.getField(this, 3) != null;
|
|
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
8311
|
|
|
8419
8312
|
|
|
8420
8313
|
|
|
@@ -8431,8 +8324,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
8431
8324
|
* http://goto/soy-param-migration
|
|
8432
8325
|
* @return {!Object}
|
|
8433
8326
|
*/
|
|
8434
|
-
proto.ondewo.s2t.
|
|
8435
|
-
return proto.ondewo.s2t.
|
|
8327
|
+
proto.ondewo.s2t.CkptFile.prototype.toObject = function(opt_includeInstance) {
|
|
8328
|
+
return proto.ondewo.s2t.CkptFile.toObject(opt_includeInstance, this);
|
|
8436
8329
|
};
|
|
8437
8330
|
|
|
8438
8331
|
|
|
@@ -8441,14 +8334,13 @@ proto.ondewo.s2t.PtFiles.prototype.toObject = function(opt_includeInstance) {
|
|
|
8441
8334
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
8442
8335
|
* the JSPB instance for transitional soy proto support:
|
|
8443
8336
|
* http://goto/soy-param-migration
|
|
8444
|
-
* @param {!proto.ondewo.s2t.
|
|
8337
|
+
* @param {!proto.ondewo.s2t.CkptFile} msg The msg instance to transform.
|
|
8445
8338
|
* @return {!Object}
|
|
8446
8339
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
8447
8340
|
*/
|
|
8448
|
-
proto.ondewo.s2t.
|
|
8341
|
+
proto.ondewo.s2t.CkptFile.toObject = function(includeInstance, msg) {
|
|
8449
8342
|
var f, obj = {
|
|
8450
|
-
path: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
8451
|
-
step: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
8343
|
+
path: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
8452
8344
|
};
|
|
8453
8345
|
|
|
8454
8346
|
if (includeInstance) {
|
|
@@ -8462,23 +8354,23 @@ proto.ondewo.s2t.PtFiles.toObject = function(includeInstance, msg) {
|
|
|
8462
8354
|
/**
|
|
8463
8355
|
* Deserializes binary data (in protobuf wire format).
|
|
8464
8356
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
8465
|
-
* @return {!proto.ondewo.s2t.
|
|
8357
|
+
* @return {!proto.ondewo.s2t.CkptFile}
|
|
8466
8358
|
*/
|
|
8467
|
-
proto.ondewo.s2t.
|
|
8359
|
+
proto.ondewo.s2t.CkptFile.deserializeBinary = function(bytes) {
|
|
8468
8360
|
var reader = new jspb.BinaryReader(bytes);
|
|
8469
|
-
var msg = new proto.ondewo.s2t.
|
|
8470
|
-
return proto.ondewo.s2t.
|
|
8361
|
+
var msg = new proto.ondewo.s2t.CkptFile;
|
|
8362
|
+
return proto.ondewo.s2t.CkptFile.deserializeBinaryFromReader(msg, reader);
|
|
8471
8363
|
};
|
|
8472
8364
|
|
|
8473
8365
|
|
|
8474
8366
|
/**
|
|
8475
8367
|
* Deserializes binary data (in protobuf wire format) from the
|
|
8476
8368
|
* given reader into the given message object.
|
|
8477
|
-
* @param {!proto.ondewo.s2t.
|
|
8369
|
+
* @param {!proto.ondewo.s2t.CkptFile} msg The message object to deserialize into.
|
|
8478
8370
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
8479
|
-
* @return {!proto.ondewo.s2t.
|
|
8371
|
+
* @return {!proto.ondewo.s2t.CkptFile}
|
|
8480
8372
|
*/
|
|
8481
|
-
proto.ondewo.s2t.
|
|
8373
|
+
proto.ondewo.s2t.CkptFile.deserializeBinaryFromReader = function(msg, reader) {
|
|
8482
8374
|
while (reader.nextField()) {
|
|
8483
8375
|
if (reader.isEndGroup()) {
|
|
8484
8376
|
break;
|
|
@@ -8489,10 +8381,6 @@ proto.ondewo.s2t.PtFiles.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
8489
8381
|
var value = /** @type {string} */ (reader.readString());
|
|
8490
8382
|
msg.setPath(value);
|
|
8491
8383
|
break;
|
|
8492
|
-
case 2:
|
|
8493
|
-
var value = /** @type {string} */ (reader.readString());
|
|
8494
|
-
msg.setStep(value);
|
|
8495
|
-
break;
|
|
8496
8384
|
default:
|
|
8497
8385
|
reader.skipField();
|
|
8498
8386
|
break;
|
|
@@ -8506,9 +8394,9 @@ proto.ondewo.s2t.PtFiles.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
8506
8394
|
* Serializes the message to binary data (in protobuf wire format).
|
|
8507
8395
|
* @return {!Uint8Array}
|
|
8508
8396
|
*/
|
|
8509
|
-
proto.ondewo.s2t.
|
|
8397
|
+
proto.ondewo.s2t.CkptFile.prototype.serializeBinary = function() {
|
|
8510
8398
|
var writer = new jspb.BinaryWriter();
|
|
8511
|
-
proto.ondewo.s2t.
|
|
8399
|
+
proto.ondewo.s2t.CkptFile.serializeBinaryToWriter(this, writer);
|
|
8512
8400
|
return writer.getResultBuffer();
|
|
8513
8401
|
};
|
|
8514
8402
|
|
|
@@ -8516,11 +8404,11 @@ proto.ondewo.s2t.PtFiles.prototype.serializeBinary = function() {
|
|
|
8516
8404
|
/**
|
|
8517
8405
|
* Serializes the given message to binary data (in protobuf wire
|
|
8518
8406
|
* format), writing to the given BinaryWriter.
|
|
8519
|
-
* @param {!proto.ondewo.s2t.
|
|
8407
|
+
* @param {!proto.ondewo.s2t.CkptFile} message
|
|
8520
8408
|
* @param {!jspb.BinaryWriter} writer
|
|
8521
8409
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
8522
8410
|
*/
|
|
8523
|
-
proto.ondewo.s2t.
|
|
8411
|
+
proto.ondewo.s2t.CkptFile.serializeBinaryToWriter = function(message, writer) {
|
|
8524
8412
|
var f = undefined;
|
|
8525
8413
|
f = message.getPath();
|
|
8526
8414
|
if (f.length > 0) {
|
|
@@ -8529,13 +8417,6 @@ proto.ondewo.s2t.PtFiles.serializeBinaryToWriter = function(message, writer) {
|
|
|
8529
8417
|
f
|
|
8530
8418
|
);
|
|
8531
8419
|
}
|
|
8532
|
-
f = message.getStep();
|
|
8533
|
-
if (f.length > 0) {
|
|
8534
|
-
writer.writeString(
|
|
8535
|
-
2,
|
|
8536
|
-
f
|
|
8537
|
-
);
|
|
8538
|
-
}
|
|
8539
8420
|
};
|
|
8540
8421
|
|
|
8541
8422
|
|
|
@@ -8543,38 +8424,20 @@ proto.ondewo.s2t.PtFiles.serializeBinaryToWriter = function(message, writer) {
|
|
|
8543
8424
|
* optional string path = 1;
|
|
8544
8425
|
* @return {string}
|
|
8545
8426
|
*/
|
|
8546
|
-
proto.ondewo.s2t.
|
|
8427
|
+
proto.ondewo.s2t.CkptFile.prototype.getPath = function() {
|
|
8547
8428
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
8548
8429
|
};
|
|
8549
8430
|
|
|
8550
8431
|
|
|
8551
8432
|
/**
|
|
8552
8433
|
* @param {string} value
|
|
8553
|
-
* @return {!proto.ondewo.s2t.
|
|
8434
|
+
* @return {!proto.ondewo.s2t.CkptFile} returns this
|
|
8554
8435
|
*/
|
|
8555
|
-
proto.ondewo.s2t.
|
|
8436
|
+
proto.ondewo.s2t.CkptFile.prototype.setPath = function(value) {
|
|
8556
8437
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
8557
8438
|
};
|
|
8558
8439
|
|
|
8559
8440
|
|
|
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
8441
|
|
|
8579
8442
|
|
|
8580
8443
|
|
|
@@ -8591,8 +8454,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
8591
8454
|
* http://goto/soy-param-migration
|
|
8592
8455
|
* @return {!Object}
|
|
8593
8456
|
*/
|
|
8594
|
-
proto.ondewo.s2t.
|
|
8595
|
-
return proto.ondewo.s2t.
|
|
8457
|
+
proto.ondewo.s2t.LanguageModels.prototype.toObject = function(opt_includeInstance) {
|
|
8458
|
+
return proto.ondewo.s2t.LanguageModels.toObject(opt_includeInstance, this);
|
|
8596
8459
|
};
|
|
8597
8460
|
|
|
8598
8461
|
|
|
@@ -8601,13 +8464,17 @@ proto.ondewo.s2t.CkptFile.prototype.toObject = function(opt_includeInstance) {
|
|
|
8601
8464
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
8602
8465
|
* the JSPB instance for transitional soy proto support:
|
|
8603
8466
|
* http://goto/soy-param-migration
|
|
8604
|
-
* @param {!proto.ondewo.s2t.
|
|
8467
|
+
* @param {!proto.ondewo.s2t.LanguageModels} msg The msg instance to transform.
|
|
8605
8468
|
* @return {!Object}
|
|
8606
8469
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
8607
8470
|
*/
|
|
8608
|
-
proto.ondewo.s2t.
|
|
8471
|
+
proto.ondewo.s2t.LanguageModels.toObject = function(includeInstance, msg) {
|
|
8609
8472
|
var f, obj = {
|
|
8610
|
-
path: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
8473
|
+
path: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
8474
|
+
beamSize: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
8475
|
+
defaultLm: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
8476
|
+
beamSearchScorerAlpha: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
|
|
8477
|
+
beamSearchScorerBeta: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0)
|
|
8611
8478
|
};
|
|
8612
8479
|
|
|
8613
8480
|
if (includeInstance) {
|
|
@@ -8621,23 +8488,23 @@ proto.ondewo.s2t.CkptFile.toObject = function(includeInstance, msg) {
|
|
|
8621
8488
|
/**
|
|
8622
8489
|
* Deserializes binary data (in protobuf wire format).
|
|
8623
8490
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
8624
|
-
* @return {!proto.ondewo.s2t.
|
|
8491
|
+
* @return {!proto.ondewo.s2t.LanguageModels}
|
|
8625
8492
|
*/
|
|
8626
|
-
proto.ondewo.s2t.
|
|
8493
|
+
proto.ondewo.s2t.LanguageModels.deserializeBinary = function(bytes) {
|
|
8627
8494
|
var reader = new jspb.BinaryReader(bytes);
|
|
8628
|
-
var msg = new proto.ondewo.s2t.
|
|
8629
|
-
return proto.ondewo.s2t.
|
|
8495
|
+
var msg = new proto.ondewo.s2t.LanguageModels;
|
|
8496
|
+
return proto.ondewo.s2t.LanguageModels.deserializeBinaryFromReader(msg, reader);
|
|
8630
8497
|
};
|
|
8631
8498
|
|
|
8632
8499
|
|
|
8633
8500
|
/**
|
|
8634
8501
|
* Deserializes binary data (in protobuf wire format) from the
|
|
8635
8502
|
* given reader into the given message object.
|
|
8636
|
-
* @param {!proto.ondewo.s2t.
|
|
8503
|
+
* @param {!proto.ondewo.s2t.LanguageModels} msg The message object to deserialize into.
|
|
8637
8504
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
8638
|
-
* @return {!proto.ondewo.s2t.
|
|
8505
|
+
* @return {!proto.ondewo.s2t.LanguageModels}
|
|
8639
8506
|
*/
|
|
8640
|
-
proto.ondewo.s2t.
|
|
8507
|
+
proto.ondewo.s2t.LanguageModels.deserializeBinaryFromReader = function(msg, reader) {
|
|
8641
8508
|
while (reader.nextField()) {
|
|
8642
8509
|
if (reader.isEndGroup()) {
|
|
8643
8510
|
break;
|
|
@@ -8648,6 +8515,22 @@ proto.ondewo.s2t.CkptFile.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
8648
8515
|
var value = /** @type {string} */ (reader.readString());
|
|
8649
8516
|
msg.setPath(value);
|
|
8650
8517
|
break;
|
|
8518
|
+
case 2:
|
|
8519
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
8520
|
+
msg.setBeamSize(value);
|
|
8521
|
+
break;
|
|
8522
|
+
case 3:
|
|
8523
|
+
var value = /** @type {string} */ (reader.readString());
|
|
8524
|
+
msg.setDefaultLm(value);
|
|
8525
|
+
break;
|
|
8526
|
+
case 4:
|
|
8527
|
+
var value = /** @type {number} */ (reader.readFloat());
|
|
8528
|
+
msg.setBeamSearchScorerAlpha(value);
|
|
8529
|
+
break;
|
|
8530
|
+
case 5:
|
|
8531
|
+
var value = /** @type {number} */ (reader.readFloat());
|
|
8532
|
+
msg.setBeamSearchScorerBeta(value);
|
|
8533
|
+
break;
|
|
8651
8534
|
default:
|
|
8652
8535
|
reader.skipField();
|
|
8653
8536
|
break;
|
|
@@ -8661,9 +8544,9 @@ proto.ondewo.s2t.CkptFile.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
8661
8544
|
* Serializes the message to binary data (in protobuf wire format).
|
|
8662
8545
|
* @return {!Uint8Array}
|
|
8663
8546
|
*/
|
|
8664
|
-
proto.ondewo.s2t.
|
|
8547
|
+
proto.ondewo.s2t.LanguageModels.prototype.serializeBinary = function() {
|
|
8665
8548
|
var writer = new jspb.BinaryWriter();
|
|
8666
|
-
proto.ondewo.s2t.
|
|
8549
|
+
proto.ondewo.s2t.LanguageModels.serializeBinaryToWriter(this, writer);
|
|
8667
8550
|
return writer.getResultBuffer();
|
|
8668
8551
|
};
|
|
8669
8552
|
|
|
@@ -8671,11 +8554,11 @@ proto.ondewo.s2t.CkptFile.prototype.serializeBinary = function() {
|
|
|
8671
8554
|
/**
|
|
8672
8555
|
* Serializes the given message to binary data (in protobuf wire
|
|
8673
8556
|
* format), writing to the given BinaryWriter.
|
|
8674
|
-
* @param {!proto.ondewo.s2t.
|
|
8557
|
+
* @param {!proto.ondewo.s2t.LanguageModels} message
|
|
8675
8558
|
* @param {!jspb.BinaryWriter} writer
|
|
8676
8559
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
8677
8560
|
*/
|
|
8678
|
-
proto.ondewo.s2t.
|
|
8561
|
+
proto.ondewo.s2t.LanguageModels.serializeBinaryToWriter = function(message, writer) {
|
|
8679
8562
|
var f = undefined;
|
|
8680
8563
|
f = message.getPath();
|
|
8681
8564
|
if (f.length > 0) {
|
|
@@ -8684,6 +8567,34 @@ proto.ondewo.s2t.CkptFile.serializeBinaryToWriter = function(message, writer) {
|
|
|
8684
8567
|
f
|
|
8685
8568
|
);
|
|
8686
8569
|
}
|
|
8570
|
+
f = message.getBeamSize();
|
|
8571
|
+
if (f !== 0) {
|
|
8572
|
+
writer.writeInt64(
|
|
8573
|
+
2,
|
|
8574
|
+
f
|
|
8575
|
+
);
|
|
8576
|
+
}
|
|
8577
|
+
f = message.getDefaultLm();
|
|
8578
|
+
if (f.length > 0) {
|
|
8579
|
+
writer.writeString(
|
|
8580
|
+
3,
|
|
8581
|
+
f
|
|
8582
|
+
);
|
|
8583
|
+
}
|
|
8584
|
+
f = message.getBeamSearchScorerAlpha();
|
|
8585
|
+
if (f !== 0.0) {
|
|
8586
|
+
writer.writeFloat(
|
|
8587
|
+
4,
|
|
8588
|
+
f
|
|
8589
|
+
);
|
|
8590
|
+
}
|
|
8591
|
+
f = message.getBeamSearchScorerBeta();
|
|
8592
|
+
if (f !== 0.0) {
|
|
8593
|
+
writer.writeFloat(
|
|
8594
|
+
5,
|
|
8595
|
+
f
|
|
8596
|
+
);
|
|
8597
|
+
}
|
|
8687
8598
|
};
|
|
8688
8599
|
|
|
8689
8600
|
|
|
@@ -8691,23 +8602,95 @@ proto.ondewo.s2t.CkptFile.serializeBinaryToWriter = function(message, writer) {
|
|
|
8691
8602
|
* optional string path = 1;
|
|
8692
8603
|
* @return {string}
|
|
8693
8604
|
*/
|
|
8694
|
-
proto.ondewo.s2t.
|
|
8605
|
+
proto.ondewo.s2t.LanguageModels.prototype.getPath = function() {
|
|
8695
8606
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
8696
8607
|
};
|
|
8697
8608
|
|
|
8698
8609
|
|
|
8699
8610
|
/**
|
|
8700
8611
|
* @param {string} value
|
|
8701
|
-
* @return {!proto.ondewo.s2t.
|
|
8612
|
+
* @return {!proto.ondewo.s2t.LanguageModels} returns this
|
|
8702
8613
|
*/
|
|
8703
|
-
proto.ondewo.s2t.
|
|
8614
|
+
proto.ondewo.s2t.LanguageModels.prototype.setPath = function(value) {
|
|
8704
8615
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
8705
8616
|
};
|
|
8706
8617
|
|
|
8707
8618
|
|
|
8619
|
+
/**
|
|
8620
|
+
* optional int64 beam_size = 2;
|
|
8621
|
+
* @return {number}
|
|
8622
|
+
*/
|
|
8623
|
+
proto.ondewo.s2t.LanguageModels.prototype.getBeamSize = function() {
|
|
8624
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
8625
|
+
};
|
|
8626
|
+
|
|
8627
|
+
|
|
8628
|
+
/**
|
|
8629
|
+
* @param {number} value
|
|
8630
|
+
* @return {!proto.ondewo.s2t.LanguageModels} returns this
|
|
8631
|
+
*/
|
|
8632
|
+
proto.ondewo.s2t.LanguageModels.prototype.setBeamSize = function(value) {
|
|
8633
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
8634
|
+
};
|
|
8635
|
+
|
|
8636
|
+
|
|
8637
|
+
/**
|
|
8638
|
+
* optional string default_lm = 3;
|
|
8639
|
+
* @return {string}
|
|
8640
|
+
*/
|
|
8641
|
+
proto.ondewo.s2t.LanguageModels.prototype.getDefaultLm = function() {
|
|
8642
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
8643
|
+
};
|
|
8644
|
+
|
|
8645
|
+
|
|
8646
|
+
/**
|
|
8647
|
+
* @param {string} value
|
|
8648
|
+
* @return {!proto.ondewo.s2t.LanguageModels} returns this
|
|
8649
|
+
*/
|
|
8650
|
+
proto.ondewo.s2t.LanguageModels.prototype.setDefaultLm = function(value) {
|
|
8651
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
8652
|
+
};
|
|
8653
|
+
|
|
8654
|
+
|
|
8655
|
+
/**
|
|
8656
|
+
* optional float beam_search_scorer_alpha = 4;
|
|
8657
|
+
* @return {number}
|
|
8658
|
+
*/
|
|
8659
|
+
proto.ondewo.s2t.LanguageModels.prototype.getBeamSearchScorerAlpha = function() {
|
|
8660
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
|
|
8661
|
+
};
|
|
8662
|
+
|
|
8663
|
+
|
|
8664
|
+
/**
|
|
8665
|
+
* @param {number} value
|
|
8666
|
+
* @return {!proto.ondewo.s2t.LanguageModels} returns this
|
|
8667
|
+
*/
|
|
8668
|
+
proto.ondewo.s2t.LanguageModels.prototype.setBeamSearchScorerAlpha = function(value) {
|
|
8669
|
+
return jspb.Message.setProto3FloatField(this, 4, value);
|
|
8670
|
+
};
|
|
8671
|
+
|
|
8672
|
+
|
|
8673
|
+
/**
|
|
8674
|
+
* optional float beam_search_scorer_beta = 5;
|
|
8675
|
+
* @return {number}
|
|
8676
|
+
*/
|
|
8677
|
+
proto.ondewo.s2t.LanguageModels.prototype.getBeamSearchScorerBeta = function() {
|
|
8678
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
|
|
8679
|
+
};
|
|
8680
|
+
|
|
8681
|
+
|
|
8682
|
+
/**
|
|
8683
|
+
* @param {number} value
|
|
8684
|
+
* @return {!proto.ondewo.s2t.LanguageModels} returns this
|
|
8685
|
+
*/
|
|
8686
|
+
proto.ondewo.s2t.LanguageModels.prototype.setBeamSearchScorerBeta = function(value) {
|
|
8687
|
+
return jspb.Message.setProto3FloatField(this, 5, value);
|
|
8688
|
+
};
|
|
8689
|
+
|
|
8690
|
+
|
|
8691
|
+
|
|
8708
8692
|
|
|
8709
8693
|
|
|
8710
|
-
|
|
8711
8694
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
8712
8695
|
/**
|
|
8713
8696
|
* Creates an object representation of this proto.
|
|
@@ -8721,8 +8704,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
8721
8704
|
* http://goto/soy-param-migration
|
|
8722
8705
|
* @return {!Object}
|
|
8723
8706
|
*/
|
|
8724
|
-
proto.ondewo.s2t.
|
|
8725
|
-
return proto.ondewo.s2t.
|
|
8707
|
+
proto.ondewo.s2t.StreamingServer.prototype.toObject = function(opt_includeInstance) {
|
|
8708
|
+
return proto.ondewo.s2t.StreamingServer.toObject(opt_includeInstance, this);
|
|
8726
8709
|
};
|
|
8727
8710
|
|
|
8728
8711
|
|
|
@@ -8731,15 +8714,16 @@ proto.ondewo.s2t.QuartznetTriton.prototype.toObject = function(opt_includeInstan
|
|
|
8731
8714
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
8732
8715
|
* the JSPB instance for transitional soy proto support:
|
|
8733
8716
|
* http://goto/soy-param-migration
|
|
8734
|
-
* @param {!proto.ondewo.s2t.
|
|
8717
|
+
* @param {!proto.ondewo.s2t.StreamingServer} msg The msg instance to transform.
|
|
8735
8718
|
* @return {!Object}
|
|
8736
8719
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
8737
8720
|
*/
|
|
8738
|
-
proto.ondewo.s2t.
|
|
8721
|
+
proto.ondewo.s2t.StreamingServer.toObject = function(includeInstance, msg) {
|
|
8739
8722
|
var f, obj = {
|
|
8740
|
-
|
|
8741
|
-
|
|
8742
|
-
|
|
8723
|
+
host: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
8724
|
+
port: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
8725
|
+
outputStyle: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
8726
|
+
streamingSpeechRecognition: (f = msg.getStreamingSpeechRecognition()) && proto.ondewo.s2t.StreamingSpeechRecognition.toObject(includeInstance, f)
|
|
8743
8727
|
};
|
|
8744
8728
|
|
|
8745
8729
|
if (includeInstance) {
|
|
@@ -8753,23 +8737,23 @@ proto.ondewo.s2t.QuartznetTriton.toObject = function(includeInstance, msg) {
|
|
|
8753
8737
|
/**
|
|
8754
8738
|
* Deserializes binary data (in protobuf wire format).
|
|
8755
8739
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
8756
|
-
* @return {!proto.ondewo.s2t.
|
|
8740
|
+
* @return {!proto.ondewo.s2t.StreamingServer}
|
|
8757
8741
|
*/
|
|
8758
|
-
proto.ondewo.s2t.
|
|
8742
|
+
proto.ondewo.s2t.StreamingServer.deserializeBinary = function(bytes) {
|
|
8759
8743
|
var reader = new jspb.BinaryReader(bytes);
|
|
8760
|
-
var msg = new proto.ondewo.s2t.
|
|
8761
|
-
return proto.ondewo.s2t.
|
|
8744
|
+
var msg = new proto.ondewo.s2t.StreamingServer;
|
|
8745
|
+
return proto.ondewo.s2t.StreamingServer.deserializeBinaryFromReader(msg, reader);
|
|
8762
8746
|
};
|
|
8763
8747
|
|
|
8764
8748
|
|
|
8765
8749
|
/**
|
|
8766
8750
|
* Deserializes binary data (in protobuf wire format) from the
|
|
8767
8751
|
* given reader into the given message object.
|
|
8768
|
-
* @param {!proto.ondewo.s2t.
|
|
8752
|
+
* @param {!proto.ondewo.s2t.StreamingServer} msg The message object to deserialize into.
|
|
8769
8753
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
8770
|
-
* @return {!proto.ondewo.s2t.
|
|
8754
|
+
* @return {!proto.ondewo.s2t.StreamingServer}
|
|
8771
8755
|
*/
|
|
8772
|
-
proto.ondewo.s2t.
|
|
8756
|
+
proto.ondewo.s2t.StreamingServer.deserializeBinaryFromReader = function(msg, reader) {
|
|
8773
8757
|
while (reader.nextField()) {
|
|
8774
8758
|
if (reader.isEndGroup()) {
|
|
8775
8759
|
break;
|
|
@@ -8778,15 +8762,20 @@ proto.ondewo.s2t.QuartznetTriton.deserializeBinaryFromReader = function(msg, rea
|
|
|
8778
8762
|
switch (field) {
|
|
8779
8763
|
case 1:
|
|
8780
8764
|
var value = /** @type {string} */ (reader.readString());
|
|
8781
|
-
msg.
|
|
8765
|
+
msg.setHost(value);
|
|
8782
8766
|
break;
|
|
8783
8767
|
case 2:
|
|
8784
|
-
var value = /** @type {
|
|
8785
|
-
msg.
|
|
8768
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
8769
|
+
msg.setPort(value);
|
|
8786
8770
|
break;
|
|
8787
8771
|
case 3:
|
|
8788
8772
|
var value = /** @type {string} */ (reader.readString());
|
|
8789
|
-
msg.
|
|
8773
|
+
msg.setOutputStyle(value);
|
|
8774
|
+
break;
|
|
8775
|
+
case 4:
|
|
8776
|
+
var value = new proto.ondewo.s2t.StreamingSpeechRecognition;
|
|
8777
|
+
reader.readMessage(value,proto.ondewo.s2t.StreamingSpeechRecognition.deserializeBinaryFromReader);
|
|
8778
|
+
msg.setStreamingSpeechRecognition(value);
|
|
8790
8779
|
break;
|
|
8791
8780
|
default:
|
|
8792
8781
|
reader.skipField();
|
|
@@ -8801,9 +8790,9 @@ proto.ondewo.s2t.QuartznetTriton.deserializeBinaryFromReader = function(msg, rea
|
|
|
8801
8790
|
* Serializes the message to binary data (in protobuf wire format).
|
|
8802
8791
|
* @return {!Uint8Array}
|
|
8803
8792
|
*/
|
|
8804
|
-
proto.ondewo.s2t.
|
|
8793
|
+
proto.ondewo.s2t.StreamingServer.prototype.serializeBinary = function() {
|
|
8805
8794
|
var writer = new jspb.BinaryWriter();
|
|
8806
|
-
proto.ondewo.s2t.
|
|
8795
|
+
proto.ondewo.s2t.StreamingServer.serializeBinaryToWriter(this, writer);
|
|
8807
8796
|
return writer.getResultBuffer();
|
|
8808
8797
|
};
|
|
8809
8798
|
|
|
@@ -8811,90 +8800,135 @@ proto.ondewo.s2t.QuartznetTriton.prototype.serializeBinary = function() {
|
|
|
8811
8800
|
/**
|
|
8812
8801
|
* Serializes the given message to binary data (in protobuf wire
|
|
8813
8802
|
* format), writing to the given BinaryWriter.
|
|
8814
|
-
* @param {!proto.ondewo.s2t.
|
|
8803
|
+
* @param {!proto.ondewo.s2t.StreamingServer} message
|
|
8815
8804
|
* @param {!jspb.BinaryWriter} writer
|
|
8816
8805
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
8817
8806
|
*/
|
|
8818
|
-
proto.ondewo.s2t.
|
|
8807
|
+
proto.ondewo.s2t.StreamingServer.serializeBinaryToWriter = function(message, writer) {
|
|
8819
8808
|
var f = undefined;
|
|
8820
|
-
f = message.
|
|
8809
|
+
f = message.getHost();
|
|
8821
8810
|
if (f.length > 0) {
|
|
8822
8811
|
writer.writeString(
|
|
8823
8812
|
1,
|
|
8824
8813
|
f
|
|
8825
8814
|
);
|
|
8826
8815
|
}
|
|
8827
|
-
f = message.
|
|
8828
|
-
if (f
|
|
8829
|
-
writer.
|
|
8816
|
+
f = message.getPort();
|
|
8817
|
+
if (f !== 0) {
|
|
8818
|
+
writer.writeInt64(
|
|
8830
8819
|
2,
|
|
8831
8820
|
f
|
|
8832
8821
|
);
|
|
8833
8822
|
}
|
|
8834
|
-
f = message.
|
|
8823
|
+
f = message.getOutputStyle();
|
|
8835
8824
|
if (f.length > 0) {
|
|
8836
8825
|
writer.writeString(
|
|
8837
8826
|
3,
|
|
8838
8827
|
f
|
|
8839
8828
|
);
|
|
8840
8829
|
}
|
|
8830
|
+
f = message.getStreamingSpeechRecognition();
|
|
8831
|
+
if (f != null) {
|
|
8832
|
+
writer.writeMessage(
|
|
8833
|
+
4,
|
|
8834
|
+
f,
|
|
8835
|
+
proto.ondewo.s2t.StreamingSpeechRecognition.serializeBinaryToWriter
|
|
8836
|
+
);
|
|
8837
|
+
}
|
|
8841
8838
|
};
|
|
8842
8839
|
|
|
8843
8840
|
|
|
8844
8841
|
/**
|
|
8845
|
-
* optional string
|
|
8842
|
+
* optional string host = 1;
|
|
8846
8843
|
* @return {string}
|
|
8847
8844
|
*/
|
|
8848
|
-
proto.ondewo.s2t.
|
|
8845
|
+
proto.ondewo.s2t.StreamingServer.prototype.getHost = function() {
|
|
8849
8846
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
8850
8847
|
};
|
|
8851
8848
|
|
|
8852
8849
|
|
|
8853
8850
|
/**
|
|
8854
8851
|
* @param {string} value
|
|
8855
|
-
* @return {!proto.ondewo.s2t.
|
|
8852
|
+
* @return {!proto.ondewo.s2t.StreamingServer} returns this
|
|
8856
8853
|
*/
|
|
8857
|
-
proto.ondewo.s2t.
|
|
8854
|
+
proto.ondewo.s2t.StreamingServer.prototype.setHost = function(value) {
|
|
8858
8855
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
8859
8856
|
};
|
|
8860
8857
|
|
|
8861
8858
|
|
|
8862
8859
|
/**
|
|
8863
|
-
* optional
|
|
8864
|
-
* @return {
|
|
8860
|
+
* optional int64 port = 2;
|
|
8861
|
+
* @return {number}
|
|
8865
8862
|
*/
|
|
8866
|
-
proto.ondewo.s2t.
|
|
8867
|
-
return /** @type {
|
|
8863
|
+
proto.ondewo.s2t.StreamingServer.prototype.getPort = function() {
|
|
8864
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
8868
8865
|
};
|
|
8869
8866
|
|
|
8870
8867
|
|
|
8871
8868
|
/**
|
|
8872
|
-
* @param {
|
|
8873
|
-
* @return {!proto.ondewo.s2t.
|
|
8869
|
+
* @param {number} value
|
|
8870
|
+
* @return {!proto.ondewo.s2t.StreamingServer} returns this
|
|
8874
8871
|
*/
|
|
8875
|
-
proto.ondewo.s2t.
|
|
8876
|
-
return jspb.Message.
|
|
8872
|
+
proto.ondewo.s2t.StreamingServer.prototype.setPort = function(value) {
|
|
8873
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
8877
8874
|
};
|
|
8878
8875
|
|
|
8879
8876
|
|
|
8880
8877
|
/**
|
|
8881
|
-
* optional string
|
|
8878
|
+
* optional string output_style = 3;
|
|
8882
8879
|
* @return {string}
|
|
8883
8880
|
*/
|
|
8884
|
-
proto.ondewo.s2t.
|
|
8881
|
+
proto.ondewo.s2t.StreamingServer.prototype.getOutputStyle = function() {
|
|
8885
8882
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
8886
8883
|
};
|
|
8887
8884
|
|
|
8888
8885
|
|
|
8889
8886
|
/**
|
|
8890
8887
|
* @param {string} value
|
|
8891
|
-
* @return {!proto.ondewo.s2t.
|
|
8888
|
+
* @return {!proto.ondewo.s2t.StreamingServer} returns this
|
|
8892
8889
|
*/
|
|
8893
|
-
proto.ondewo.s2t.
|
|
8890
|
+
proto.ondewo.s2t.StreamingServer.prototype.setOutputStyle = function(value) {
|
|
8894
8891
|
return jspb.Message.setProto3StringField(this, 3, value);
|
|
8895
8892
|
};
|
|
8896
8893
|
|
|
8897
8894
|
|
|
8895
|
+
/**
|
|
8896
|
+
* optional StreamingSpeechRecognition streaming_speech_recognition = 4;
|
|
8897
|
+
* @return {?proto.ondewo.s2t.StreamingSpeechRecognition}
|
|
8898
|
+
*/
|
|
8899
|
+
proto.ondewo.s2t.StreamingServer.prototype.getStreamingSpeechRecognition = function() {
|
|
8900
|
+
return /** @type{?proto.ondewo.s2t.StreamingSpeechRecognition} */ (
|
|
8901
|
+
jspb.Message.getWrapperField(this, proto.ondewo.s2t.StreamingSpeechRecognition, 4));
|
|
8902
|
+
};
|
|
8903
|
+
|
|
8904
|
+
|
|
8905
|
+
/**
|
|
8906
|
+
* @param {?proto.ondewo.s2t.StreamingSpeechRecognition|undefined} value
|
|
8907
|
+
* @return {!proto.ondewo.s2t.StreamingServer} returns this
|
|
8908
|
+
*/
|
|
8909
|
+
proto.ondewo.s2t.StreamingServer.prototype.setStreamingSpeechRecognition = function(value) {
|
|
8910
|
+
return jspb.Message.setWrapperField(this, 4, value);
|
|
8911
|
+
};
|
|
8912
|
+
|
|
8913
|
+
|
|
8914
|
+
/**
|
|
8915
|
+
* Clears the message field making it undefined.
|
|
8916
|
+
* @return {!proto.ondewo.s2t.StreamingServer} returns this
|
|
8917
|
+
*/
|
|
8918
|
+
proto.ondewo.s2t.StreamingServer.prototype.clearStreamingSpeechRecognition = function() {
|
|
8919
|
+
return this.setStreamingSpeechRecognition(undefined);
|
|
8920
|
+
};
|
|
8921
|
+
|
|
8922
|
+
|
|
8923
|
+
/**
|
|
8924
|
+
* Returns whether this field is set.
|
|
8925
|
+
* @return {boolean}
|
|
8926
|
+
*/
|
|
8927
|
+
proto.ondewo.s2t.StreamingServer.prototype.hasStreamingSpeechRecognition = function() {
|
|
8928
|
+
return jspb.Message.getField(this, 4) != null;
|
|
8929
|
+
};
|
|
8930
|
+
|
|
8931
|
+
|
|
8898
8932
|
|
|
8899
8933
|
|
|
8900
8934
|
|
|
@@ -8911,8 +8945,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
8911
8945
|
* http://goto/soy-param-migration
|
|
8912
8946
|
* @return {!Object}
|
|
8913
8947
|
*/
|
|
8914
|
-
proto.ondewo.s2t.
|
|
8915
|
-
return proto.ondewo.s2t.
|
|
8948
|
+
proto.ondewo.s2t.StreamingSpeechRecognition.prototype.toObject = function(opt_includeInstance) {
|
|
8949
|
+
return proto.ondewo.s2t.StreamingSpeechRecognition.toObject(opt_includeInstance, this);
|
|
8916
8950
|
};
|
|
8917
8951
|
|
|
8918
8952
|
|
|
@@ -8921,17 +8955,17 @@ proto.ondewo.s2t.LanguageModels.prototype.toObject = function(opt_includeInstanc
|
|
|
8921
8955
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
8922
8956
|
* the JSPB instance for transitional soy proto support:
|
|
8923
8957
|
* http://goto/soy-param-migration
|
|
8924
|
-
* @param {!proto.ondewo.s2t.
|
|
8958
|
+
* @param {!proto.ondewo.s2t.StreamingSpeechRecognition} msg The msg instance to transform.
|
|
8925
8959
|
* @return {!Object}
|
|
8926
8960
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
8927
8961
|
*/
|
|
8928
|
-
proto.ondewo.s2t.
|
|
8962
|
+
proto.ondewo.s2t.StreamingSpeechRecognition.toObject = function(includeInstance, msg) {
|
|
8929
8963
|
var f, obj = {
|
|
8930
|
-
|
|
8931
|
-
|
|
8932
|
-
|
|
8933
|
-
|
|
8934
|
-
|
|
8964
|
+
transcribeNotFinal: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
|
|
8965
|
+
decodingMethod: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
8966
|
+
samplingRate: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
8967
|
+
minAudioChunkSize: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
8968
|
+
nextChunkTimeout: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0)
|
|
8935
8969
|
};
|
|
8936
8970
|
|
|
8937
8971
|
if (includeInstance) {
|
|
@@ -8945,23 +8979,23 @@ proto.ondewo.s2t.LanguageModels.toObject = function(includeInstance, msg) {
|
|
|
8945
8979
|
/**
|
|
8946
8980
|
* Deserializes binary data (in protobuf wire format).
|
|
8947
8981
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
8948
|
-
* @return {!proto.ondewo.s2t.
|
|
8982
|
+
* @return {!proto.ondewo.s2t.StreamingSpeechRecognition}
|
|
8949
8983
|
*/
|
|
8950
|
-
proto.ondewo.s2t.
|
|
8984
|
+
proto.ondewo.s2t.StreamingSpeechRecognition.deserializeBinary = function(bytes) {
|
|
8951
8985
|
var reader = new jspb.BinaryReader(bytes);
|
|
8952
|
-
var msg = new proto.ondewo.s2t.
|
|
8953
|
-
return proto.ondewo.s2t.
|
|
8986
|
+
var msg = new proto.ondewo.s2t.StreamingSpeechRecognition;
|
|
8987
|
+
return proto.ondewo.s2t.StreamingSpeechRecognition.deserializeBinaryFromReader(msg, reader);
|
|
8954
8988
|
};
|
|
8955
8989
|
|
|
8956
8990
|
|
|
8957
8991
|
/**
|
|
8958
8992
|
* Deserializes binary data (in protobuf wire format) from the
|
|
8959
8993
|
* given reader into the given message object.
|
|
8960
|
-
* @param {!proto.ondewo.s2t.
|
|
8994
|
+
* @param {!proto.ondewo.s2t.StreamingSpeechRecognition} msg The message object to deserialize into.
|
|
8961
8995
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
8962
|
-
* @return {!proto.ondewo.s2t.
|
|
8996
|
+
* @return {!proto.ondewo.s2t.StreamingSpeechRecognition}
|
|
8963
8997
|
*/
|
|
8964
|
-
proto.ondewo.s2t.
|
|
8998
|
+
proto.ondewo.s2t.StreamingSpeechRecognition.deserializeBinaryFromReader = function(msg, reader) {
|
|
8965
8999
|
while (reader.nextField()) {
|
|
8966
9000
|
if (reader.isEndGroup()) {
|
|
8967
9001
|
break;
|
|
@@ -8969,24 +9003,24 @@ proto.ondewo.s2t.LanguageModels.deserializeBinaryFromReader = function(msg, read
|
|
|
8969
9003
|
var field = reader.getFieldNumber();
|
|
8970
9004
|
switch (field) {
|
|
8971
9005
|
case 1:
|
|
8972
|
-
var value = /** @type {
|
|
8973
|
-
msg.
|
|
9006
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
9007
|
+
msg.setTranscribeNotFinal(value);
|
|
8974
9008
|
break;
|
|
8975
9009
|
case 2:
|
|
8976
|
-
var value = /** @type {
|
|
8977
|
-
msg.
|
|
9010
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9011
|
+
msg.setDecodingMethod(value);
|
|
8978
9012
|
break;
|
|
8979
9013
|
case 3:
|
|
8980
|
-
var value = /** @type {
|
|
8981
|
-
msg.
|
|
9014
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
9015
|
+
msg.setSamplingRate(value);
|
|
8982
9016
|
break;
|
|
8983
9017
|
case 4:
|
|
8984
|
-
var value = /** @type {number} */ (reader.
|
|
8985
|
-
msg.
|
|
9018
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
9019
|
+
msg.setMinAudioChunkSize(value);
|
|
8986
9020
|
break;
|
|
8987
9021
|
case 5:
|
|
8988
9022
|
var value = /** @type {number} */ (reader.readFloat());
|
|
8989
|
-
msg.
|
|
9023
|
+
msg.setNextChunkTimeout(value);
|
|
8990
9024
|
break;
|
|
8991
9025
|
default:
|
|
8992
9026
|
reader.skipField();
|
|
@@ -9001,9 +9035,9 @@ proto.ondewo.s2t.LanguageModels.deserializeBinaryFromReader = function(msg, read
|
|
|
9001
9035
|
* Serializes the message to binary data (in protobuf wire format).
|
|
9002
9036
|
* @return {!Uint8Array}
|
|
9003
9037
|
*/
|
|
9004
|
-
proto.ondewo.s2t.
|
|
9038
|
+
proto.ondewo.s2t.StreamingSpeechRecognition.prototype.serializeBinary = function() {
|
|
9005
9039
|
var writer = new jspb.BinaryWriter();
|
|
9006
|
-
proto.ondewo.s2t.
|
|
9040
|
+
proto.ondewo.s2t.StreamingSpeechRecognition.serializeBinaryToWriter(this, writer);
|
|
9007
9041
|
return writer.getResultBuffer();
|
|
9008
9042
|
};
|
|
9009
9043
|
|
|
@@ -9011,41 +9045,41 @@ proto.ondewo.s2t.LanguageModels.prototype.serializeBinary = function() {
|
|
|
9011
9045
|
/**
|
|
9012
9046
|
* Serializes the given message to binary data (in protobuf wire
|
|
9013
9047
|
* format), writing to the given BinaryWriter.
|
|
9014
|
-
* @param {!proto.ondewo.s2t.
|
|
9048
|
+
* @param {!proto.ondewo.s2t.StreamingSpeechRecognition} message
|
|
9015
9049
|
* @param {!jspb.BinaryWriter} writer
|
|
9016
9050
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
9017
9051
|
*/
|
|
9018
|
-
proto.ondewo.s2t.
|
|
9052
|
+
proto.ondewo.s2t.StreamingSpeechRecognition.serializeBinaryToWriter = function(message, writer) {
|
|
9019
9053
|
var f = undefined;
|
|
9020
|
-
f = message.
|
|
9021
|
-
if (f
|
|
9022
|
-
writer.
|
|
9054
|
+
f = message.getTranscribeNotFinal();
|
|
9055
|
+
if (f) {
|
|
9056
|
+
writer.writeBool(
|
|
9023
9057
|
1,
|
|
9024
9058
|
f
|
|
9025
9059
|
);
|
|
9026
9060
|
}
|
|
9027
|
-
f = message.
|
|
9028
|
-
if (f
|
|
9029
|
-
writer.
|
|
9061
|
+
f = message.getDecodingMethod();
|
|
9062
|
+
if (f.length > 0) {
|
|
9063
|
+
writer.writeString(
|
|
9030
9064
|
2,
|
|
9031
9065
|
f
|
|
9032
9066
|
);
|
|
9033
9067
|
}
|
|
9034
|
-
f = message.
|
|
9035
|
-
if (f
|
|
9036
|
-
writer.
|
|
9068
|
+
f = message.getSamplingRate();
|
|
9069
|
+
if (f !== 0) {
|
|
9070
|
+
writer.writeInt64(
|
|
9037
9071
|
3,
|
|
9038
9072
|
f
|
|
9039
9073
|
);
|
|
9040
9074
|
}
|
|
9041
|
-
f = message.
|
|
9042
|
-
if (f !== 0
|
|
9043
|
-
writer.
|
|
9075
|
+
f = message.getMinAudioChunkSize();
|
|
9076
|
+
if (f !== 0) {
|
|
9077
|
+
writer.writeInt64(
|
|
9044
9078
|
4,
|
|
9045
9079
|
f
|
|
9046
9080
|
);
|
|
9047
9081
|
}
|
|
9048
|
-
f = message.
|
|
9082
|
+
f = message.getNextChunkTimeout();
|
|
9049
9083
|
if (f !== 0.0) {
|
|
9050
9084
|
writer.writeFloat(
|
|
9051
9085
|
5,
|
|
@@ -9056,91 +9090,91 @@ proto.ondewo.s2t.LanguageModels.serializeBinaryToWriter = function(message, writ
|
|
|
9056
9090
|
|
|
9057
9091
|
|
|
9058
9092
|
/**
|
|
9059
|
-
* optional
|
|
9060
|
-
* @return {
|
|
9093
|
+
* optional bool transcribe_not_final = 1;
|
|
9094
|
+
* @return {boolean}
|
|
9061
9095
|
*/
|
|
9062
|
-
proto.ondewo.s2t.
|
|
9063
|
-
return /** @type {
|
|
9096
|
+
proto.ondewo.s2t.StreamingSpeechRecognition.prototype.getTranscribeNotFinal = function() {
|
|
9097
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
|
|
9064
9098
|
};
|
|
9065
9099
|
|
|
9066
9100
|
|
|
9067
9101
|
/**
|
|
9068
|
-
* @param {
|
|
9069
|
-
* @return {!proto.ondewo.s2t.
|
|
9102
|
+
* @param {boolean} value
|
|
9103
|
+
* @return {!proto.ondewo.s2t.StreamingSpeechRecognition} returns this
|
|
9070
9104
|
*/
|
|
9071
|
-
proto.ondewo.s2t.
|
|
9072
|
-
return jspb.Message.
|
|
9105
|
+
proto.ondewo.s2t.StreamingSpeechRecognition.prototype.setTranscribeNotFinal = function(value) {
|
|
9106
|
+
return jspb.Message.setProto3BooleanField(this, 1, value);
|
|
9073
9107
|
};
|
|
9074
9108
|
|
|
9075
9109
|
|
|
9076
9110
|
/**
|
|
9077
|
-
* optional
|
|
9078
|
-
* @return {
|
|
9111
|
+
* optional string decoding_method = 2;
|
|
9112
|
+
* @return {string}
|
|
9079
9113
|
*/
|
|
9080
|
-
proto.ondewo.s2t.
|
|
9081
|
-
return /** @type {
|
|
9114
|
+
proto.ondewo.s2t.StreamingSpeechRecognition.prototype.getDecodingMethod = function() {
|
|
9115
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
9082
9116
|
};
|
|
9083
9117
|
|
|
9084
9118
|
|
|
9085
9119
|
/**
|
|
9086
|
-
* @param {
|
|
9087
|
-
* @return {!proto.ondewo.s2t.
|
|
9120
|
+
* @param {string} value
|
|
9121
|
+
* @return {!proto.ondewo.s2t.StreamingSpeechRecognition} returns this
|
|
9088
9122
|
*/
|
|
9089
|
-
proto.ondewo.s2t.
|
|
9090
|
-
return jspb.Message.
|
|
9123
|
+
proto.ondewo.s2t.StreamingSpeechRecognition.prototype.setDecodingMethod = function(value) {
|
|
9124
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
9091
9125
|
};
|
|
9092
9126
|
|
|
9093
9127
|
|
|
9094
9128
|
/**
|
|
9095
|
-
* optional
|
|
9096
|
-
* @return {
|
|
9129
|
+
* optional int64 sampling_rate = 3;
|
|
9130
|
+
* @return {number}
|
|
9097
9131
|
*/
|
|
9098
|
-
proto.ondewo.s2t.
|
|
9099
|
-
return /** @type {
|
|
9132
|
+
proto.ondewo.s2t.StreamingSpeechRecognition.prototype.getSamplingRate = function() {
|
|
9133
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
9100
9134
|
};
|
|
9101
9135
|
|
|
9102
9136
|
|
|
9103
9137
|
/**
|
|
9104
|
-
* @param {
|
|
9105
|
-
* @return {!proto.ondewo.s2t.
|
|
9138
|
+
* @param {number} value
|
|
9139
|
+
* @return {!proto.ondewo.s2t.StreamingSpeechRecognition} returns this
|
|
9106
9140
|
*/
|
|
9107
|
-
proto.ondewo.s2t.
|
|
9108
|
-
return jspb.Message.
|
|
9141
|
+
proto.ondewo.s2t.StreamingSpeechRecognition.prototype.setSamplingRate = function(value) {
|
|
9142
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
9109
9143
|
};
|
|
9110
9144
|
|
|
9111
9145
|
|
|
9112
9146
|
/**
|
|
9113
|
-
* optional
|
|
9147
|
+
* optional int64 min_audio_chunk_size = 4;
|
|
9114
9148
|
* @return {number}
|
|
9115
9149
|
*/
|
|
9116
|
-
proto.ondewo.s2t.
|
|
9117
|
-
return /** @type {number} */ (jspb.Message.
|
|
9150
|
+
proto.ondewo.s2t.StreamingSpeechRecognition.prototype.getMinAudioChunkSize = function() {
|
|
9151
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
9118
9152
|
};
|
|
9119
9153
|
|
|
9120
9154
|
|
|
9121
9155
|
/**
|
|
9122
9156
|
* @param {number} value
|
|
9123
|
-
* @return {!proto.ondewo.s2t.
|
|
9157
|
+
* @return {!proto.ondewo.s2t.StreamingSpeechRecognition} returns this
|
|
9124
9158
|
*/
|
|
9125
|
-
proto.ondewo.s2t.
|
|
9126
|
-
return jspb.Message.
|
|
9159
|
+
proto.ondewo.s2t.StreamingSpeechRecognition.prototype.setMinAudioChunkSize = function(value) {
|
|
9160
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
9127
9161
|
};
|
|
9128
9162
|
|
|
9129
9163
|
|
|
9130
9164
|
/**
|
|
9131
|
-
* optional float
|
|
9165
|
+
* optional float next_chunk_timeout = 5;
|
|
9132
9166
|
* @return {number}
|
|
9133
9167
|
*/
|
|
9134
|
-
proto.ondewo.s2t.
|
|
9168
|
+
proto.ondewo.s2t.StreamingSpeechRecognition.prototype.getNextChunkTimeout = function() {
|
|
9135
9169
|
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
|
|
9136
9170
|
};
|
|
9137
9171
|
|
|
9138
9172
|
|
|
9139
9173
|
/**
|
|
9140
9174
|
* @param {number} value
|
|
9141
|
-
* @return {!proto.ondewo.s2t.
|
|
9175
|
+
* @return {!proto.ondewo.s2t.StreamingSpeechRecognition} returns this
|
|
9142
9176
|
*/
|
|
9143
|
-
proto.ondewo.s2t.
|
|
9177
|
+
proto.ondewo.s2t.StreamingSpeechRecognition.prototype.setNextChunkTimeout = function(value) {
|
|
9144
9178
|
return jspb.Message.setProto3FloatField(this, 5, value);
|
|
9145
9179
|
};
|
|
9146
9180
|
|
|
@@ -9161,8 +9195,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
9161
9195
|
* http://goto/soy-param-migration
|
|
9162
9196
|
* @return {!Object}
|
|
9163
9197
|
*/
|
|
9164
|
-
proto.ondewo.s2t.
|
|
9165
|
-
return proto.ondewo.s2t.
|
|
9198
|
+
proto.ondewo.s2t.VoiceActivityDetection.prototype.toObject = function(opt_includeInstance) {
|
|
9199
|
+
return proto.ondewo.s2t.VoiceActivityDetection.toObject(opt_includeInstance, this);
|
|
9166
9200
|
};
|
|
9167
9201
|
|
|
9168
9202
|
|
|
@@ -9171,16 +9205,15 @@ proto.ondewo.s2t.StreamingServer.prototype.toObject = function(opt_includeInstan
|
|
|
9171
9205
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
9172
9206
|
* the JSPB instance for transitional soy proto support:
|
|
9173
9207
|
* http://goto/soy-param-migration
|
|
9174
|
-
* @param {!proto.ondewo.s2t.
|
|
9208
|
+
* @param {!proto.ondewo.s2t.VoiceActivityDetection} msg The msg instance to transform.
|
|
9175
9209
|
* @return {!Object}
|
|
9176
9210
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
9177
9211
|
*/
|
|
9178
|
-
proto.ondewo.s2t.
|
|
9212
|
+
proto.ondewo.s2t.VoiceActivityDetection.toObject = function(includeInstance, msg) {
|
|
9179
9213
|
var f, obj = {
|
|
9180
|
-
|
|
9181
|
-
|
|
9182
|
-
|
|
9183
|
-
streamingSpeechRecognition: (f = msg.getStreamingSpeechRecognition()) && proto.ondewo.s2t.StreamingSpeechRecognition.toObject(includeInstance, f)
|
|
9214
|
+
active: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
9215
|
+
samplingRate: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
9216
|
+
pyannote: (f = msg.getPyannote()) && proto.ondewo.s2t.Pyannote.toObject(includeInstance, f)
|
|
9184
9217
|
};
|
|
9185
9218
|
|
|
9186
9219
|
if (includeInstance) {
|
|
@@ -9194,23 +9227,23 @@ proto.ondewo.s2t.StreamingServer.toObject = function(includeInstance, msg) {
|
|
|
9194
9227
|
/**
|
|
9195
9228
|
* Deserializes binary data (in protobuf wire format).
|
|
9196
9229
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
9197
|
-
* @return {!proto.ondewo.s2t.
|
|
9230
|
+
* @return {!proto.ondewo.s2t.VoiceActivityDetection}
|
|
9198
9231
|
*/
|
|
9199
|
-
proto.ondewo.s2t.
|
|
9232
|
+
proto.ondewo.s2t.VoiceActivityDetection.deserializeBinary = function(bytes) {
|
|
9200
9233
|
var reader = new jspb.BinaryReader(bytes);
|
|
9201
|
-
var msg = new proto.ondewo.s2t.
|
|
9202
|
-
return proto.ondewo.s2t.
|
|
9234
|
+
var msg = new proto.ondewo.s2t.VoiceActivityDetection;
|
|
9235
|
+
return proto.ondewo.s2t.VoiceActivityDetection.deserializeBinaryFromReader(msg, reader);
|
|
9203
9236
|
};
|
|
9204
9237
|
|
|
9205
9238
|
|
|
9206
9239
|
/**
|
|
9207
9240
|
* Deserializes binary data (in protobuf wire format) from the
|
|
9208
9241
|
* given reader into the given message object.
|
|
9209
|
-
* @param {!proto.ondewo.s2t.
|
|
9242
|
+
* @param {!proto.ondewo.s2t.VoiceActivityDetection} msg The message object to deserialize into.
|
|
9210
9243
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
9211
|
-
* @return {!proto.ondewo.s2t.
|
|
9244
|
+
* @return {!proto.ondewo.s2t.VoiceActivityDetection}
|
|
9212
9245
|
*/
|
|
9213
|
-
proto.ondewo.s2t.
|
|
9246
|
+
proto.ondewo.s2t.VoiceActivityDetection.deserializeBinaryFromReader = function(msg, reader) {
|
|
9214
9247
|
while (reader.nextField()) {
|
|
9215
9248
|
if (reader.isEndGroup()) {
|
|
9216
9249
|
break;
|
|
@@ -9219,20 +9252,16 @@ proto.ondewo.s2t.StreamingServer.deserializeBinaryFromReader = function(msg, rea
|
|
|
9219
9252
|
switch (field) {
|
|
9220
9253
|
case 1:
|
|
9221
9254
|
var value = /** @type {string} */ (reader.readString());
|
|
9222
|
-
msg.
|
|
9255
|
+
msg.setActive(value);
|
|
9223
9256
|
break;
|
|
9224
9257
|
case 2:
|
|
9225
9258
|
var value = /** @type {number} */ (reader.readInt64());
|
|
9226
|
-
msg.
|
|
9259
|
+
msg.setSamplingRate(value);
|
|
9227
9260
|
break;
|
|
9228
9261
|
case 3:
|
|
9229
|
-
var value =
|
|
9230
|
-
|
|
9231
|
-
|
|
9232
|
-
case 4:
|
|
9233
|
-
var value = new proto.ondewo.s2t.StreamingSpeechRecognition;
|
|
9234
|
-
reader.readMessage(value,proto.ondewo.s2t.StreamingSpeechRecognition.deserializeBinaryFromReader);
|
|
9235
|
-
msg.setStreamingSpeechRecognition(value);
|
|
9262
|
+
var value = new proto.ondewo.s2t.Pyannote;
|
|
9263
|
+
reader.readMessage(value,proto.ondewo.s2t.Pyannote.deserializeBinaryFromReader);
|
|
9264
|
+
msg.setPyannote(value);
|
|
9236
9265
|
break;
|
|
9237
9266
|
default:
|
|
9238
9267
|
reader.skipField();
|
|
@@ -9247,9 +9276,9 @@ proto.ondewo.s2t.StreamingServer.deserializeBinaryFromReader = function(msg, rea
|
|
|
9247
9276
|
* Serializes the message to binary data (in protobuf wire format).
|
|
9248
9277
|
* @return {!Uint8Array}
|
|
9249
9278
|
*/
|
|
9250
|
-
proto.ondewo.s2t.
|
|
9279
|
+
proto.ondewo.s2t.VoiceActivityDetection.prototype.serializeBinary = function() {
|
|
9251
9280
|
var writer = new jspb.BinaryWriter();
|
|
9252
|
-
proto.ondewo.s2t.
|
|
9281
|
+
proto.ondewo.s2t.VoiceActivityDetection.serializeBinaryToWriter(this, writer);
|
|
9253
9282
|
return writer.getResultBuffer();
|
|
9254
9283
|
};
|
|
9255
9284
|
|
|
@@ -9257,123 +9286,98 @@ proto.ondewo.s2t.StreamingServer.prototype.serializeBinary = function() {
|
|
|
9257
9286
|
/**
|
|
9258
9287
|
* Serializes the given message to binary data (in protobuf wire
|
|
9259
9288
|
* format), writing to the given BinaryWriter.
|
|
9260
|
-
* @param {!proto.ondewo.s2t.
|
|
9289
|
+
* @param {!proto.ondewo.s2t.VoiceActivityDetection} message
|
|
9261
9290
|
* @param {!jspb.BinaryWriter} writer
|
|
9262
9291
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
9263
9292
|
*/
|
|
9264
|
-
proto.ondewo.s2t.
|
|
9293
|
+
proto.ondewo.s2t.VoiceActivityDetection.serializeBinaryToWriter = function(message, writer) {
|
|
9265
9294
|
var f = undefined;
|
|
9266
|
-
f = message.
|
|
9295
|
+
f = message.getActive();
|
|
9267
9296
|
if (f.length > 0) {
|
|
9268
9297
|
writer.writeString(
|
|
9269
9298
|
1,
|
|
9270
9299
|
f
|
|
9271
9300
|
);
|
|
9272
9301
|
}
|
|
9273
|
-
f = message.
|
|
9302
|
+
f = message.getSamplingRate();
|
|
9274
9303
|
if (f !== 0) {
|
|
9275
9304
|
writer.writeInt64(
|
|
9276
9305
|
2,
|
|
9277
9306
|
f
|
|
9278
9307
|
);
|
|
9279
9308
|
}
|
|
9280
|
-
f = message.
|
|
9281
|
-
if (f.length > 0) {
|
|
9282
|
-
writer.writeString(
|
|
9283
|
-
3,
|
|
9284
|
-
f
|
|
9285
|
-
);
|
|
9286
|
-
}
|
|
9287
|
-
f = message.getStreamingSpeechRecognition();
|
|
9309
|
+
f = message.getPyannote();
|
|
9288
9310
|
if (f != null) {
|
|
9289
9311
|
writer.writeMessage(
|
|
9290
|
-
|
|
9312
|
+
3,
|
|
9291
9313
|
f,
|
|
9292
|
-
proto.ondewo.s2t.
|
|
9314
|
+
proto.ondewo.s2t.Pyannote.serializeBinaryToWriter
|
|
9293
9315
|
);
|
|
9294
9316
|
}
|
|
9295
9317
|
};
|
|
9296
9318
|
|
|
9297
9319
|
|
|
9298
9320
|
/**
|
|
9299
|
-
* optional string
|
|
9321
|
+
* optional string active = 1;
|
|
9300
9322
|
* @return {string}
|
|
9301
9323
|
*/
|
|
9302
|
-
proto.ondewo.s2t.
|
|
9324
|
+
proto.ondewo.s2t.VoiceActivityDetection.prototype.getActive = function() {
|
|
9303
9325
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
9304
9326
|
};
|
|
9305
9327
|
|
|
9306
9328
|
|
|
9307
9329
|
/**
|
|
9308
9330
|
* @param {string} value
|
|
9309
|
-
* @return {!proto.ondewo.s2t.
|
|
9331
|
+
* @return {!proto.ondewo.s2t.VoiceActivityDetection} returns this
|
|
9310
9332
|
*/
|
|
9311
|
-
proto.ondewo.s2t.
|
|
9333
|
+
proto.ondewo.s2t.VoiceActivityDetection.prototype.setActive = function(value) {
|
|
9312
9334
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
9313
9335
|
};
|
|
9314
9336
|
|
|
9315
9337
|
|
|
9316
9338
|
/**
|
|
9317
|
-
* optional int64
|
|
9339
|
+
* optional int64 sampling_rate = 2;
|
|
9318
9340
|
* @return {number}
|
|
9319
9341
|
*/
|
|
9320
|
-
proto.ondewo.s2t.
|
|
9342
|
+
proto.ondewo.s2t.VoiceActivityDetection.prototype.getSamplingRate = function() {
|
|
9321
9343
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
9322
9344
|
};
|
|
9323
9345
|
|
|
9324
9346
|
|
|
9325
9347
|
/**
|
|
9326
9348
|
* @param {number} value
|
|
9327
|
-
* @return {!proto.ondewo.s2t.
|
|
9349
|
+
* @return {!proto.ondewo.s2t.VoiceActivityDetection} returns this
|
|
9328
9350
|
*/
|
|
9329
|
-
proto.ondewo.s2t.
|
|
9351
|
+
proto.ondewo.s2t.VoiceActivityDetection.prototype.setSamplingRate = function(value) {
|
|
9330
9352
|
return jspb.Message.setProto3IntField(this, 2, value);
|
|
9331
9353
|
};
|
|
9332
9354
|
|
|
9333
9355
|
|
|
9334
9356
|
/**
|
|
9335
|
-
* optional
|
|
9336
|
-
* @return {
|
|
9337
|
-
*/
|
|
9338
|
-
proto.ondewo.s2t.StreamingServer.prototype.getOutputStyle = function() {
|
|
9339
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
9340
|
-
};
|
|
9341
|
-
|
|
9342
|
-
|
|
9343
|
-
/**
|
|
9344
|
-
* @param {string} value
|
|
9345
|
-
* @return {!proto.ondewo.s2t.StreamingServer} returns this
|
|
9346
|
-
*/
|
|
9347
|
-
proto.ondewo.s2t.StreamingServer.prototype.setOutputStyle = function(value) {
|
|
9348
|
-
return jspb.Message.setProto3StringField(this, 3, value);
|
|
9349
|
-
};
|
|
9350
|
-
|
|
9351
|
-
|
|
9352
|
-
/**
|
|
9353
|
-
* optional StreamingSpeechRecognition streaming_speech_recognition = 4;
|
|
9354
|
-
* @return {?proto.ondewo.s2t.StreamingSpeechRecognition}
|
|
9357
|
+
* optional Pyannote pyannote = 3;
|
|
9358
|
+
* @return {?proto.ondewo.s2t.Pyannote}
|
|
9355
9359
|
*/
|
|
9356
|
-
proto.ondewo.s2t.
|
|
9357
|
-
return /** @type{?proto.ondewo.s2t.
|
|
9358
|
-
jspb.Message.getWrapperField(this, proto.ondewo.s2t.
|
|
9360
|
+
proto.ondewo.s2t.VoiceActivityDetection.prototype.getPyannote = function() {
|
|
9361
|
+
return /** @type{?proto.ondewo.s2t.Pyannote} */ (
|
|
9362
|
+
jspb.Message.getWrapperField(this, proto.ondewo.s2t.Pyannote, 3));
|
|
9359
9363
|
};
|
|
9360
9364
|
|
|
9361
9365
|
|
|
9362
9366
|
/**
|
|
9363
|
-
* @param {?proto.ondewo.s2t.
|
|
9364
|
-
* @return {!proto.ondewo.s2t.
|
|
9367
|
+
* @param {?proto.ondewo.s2t.Pyannote|undefined} value
|
|
9368
|
+
* @return {!proto.ondewo.s2t.VoiceActivityDetection} returns this
|
|
9365
9369
|
*/
|
|
9366
|
-
proto.ondewo.s2t.
|
|
9367
|
-
return jspb.Message.setWrapperField(this,
|
|
9370
|
+
proto.ondewo.s2t.VoiceActivityDetection.prototype.setPyannote = function(value) {
|
|
9371
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
9368
9372
|
};
|
|
9369
9373
|
|
|
9370
9374
|
|
|
9371
9375
|
/**
|
|
9372
9376
|
* Clears the message field making it undefined.
|
|
9373
|
-
* @return {!proto.ondewo.s2t.
|
|
9377
|
+
* @return {!proto.ondewo.s2t.VoiceActivityDetection} returns this
|
|
9374
9378
|
*/
|
|
9375
|
-
proto.ondewo.s2t.
|
|
9376
|
-
return this.
|
|
9379
|
+
proto.ondewo.s2t.VoiceActivityDetection.prototype.clearPyannote = function() {
|
|
9380
|
+
return this.setPyannote(undefined);
|
|
9377
9381
|
};
|
|
9378
9382
|
|
|
9379
9383
|
|
|
@@ -9381,8 +9385,8 @@ proto.ondewo.s2t.StreamingServer.prototype.clearStreamingSpeechRecognition = fun
|
|
|
9381
9385
|
* Returns whether this field is set.
|
|
9382
9386
|
* @return {boolean}
|
|
9383
9387
|
*/
|
|
9384
|
-
proto.ondewo.s2t.
|
|
9385
|
-
return jspb.Message.getField(this,
|
|
9388
|
+
proto.ondewo.s2t.VoiceActivityDetection.prototype.hasPyannote = function() {
|
|
9389
|
+
return jspb.Message.getField(this, 3) != null;
|
|
9386
9390
|
};
|
|
9387
9391
|
|
|
9388
9392
|
|
|
@@ -9402,8 +9406,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
9402
9406
|
* http://goto/soy-param-migration
|
|
9403
9407
|
* @return {!Object}
|
|
9404
9408
|
*/
|
|
9405
|
-
proto.ondewo.s2t.
|
|
9406
|
-
return proto.ondewo.s2t.
|
|
9409
|
+
proto.ondewo.s2t.Pyannote.prototype.toObject = function(opt_includeInstance) {
|
|
9410
|
+
return proto.ondewo.s2t.Pyannote.toObject(opt_includeInstance, this);
|
|
9407
9411
|
};
|
|
9408
9412
|
|
|
9409
9413
|
|
|
@@ -9412,19 +9416,18 @@ proto.ondewo.s2t.StreamingSpeechRecognition.prototype.toObject = function(opt_in
|
|
|
9412
9416
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
9413
9417
|
* the JSPB instance for transitional soy proto support:
|
|
9414
9418
|
* http://goto/soy-param-migration
|
|
9415
|
-
* @param {!proto.ondewo.s2t.
|
|
9419
|
+
* @param {!proto.ondewo.s2t.Pyannote} msg The msg instance to transform.
|
|
9416
9420
|
* @return {!Object}
|
|
9417
9421
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
9418
9422
|
*/
|
|
9419
|
-
proto.ondewo.s2t.
|
|
9423
|
+
proto.ondewo.s2t.Pyannote.toObject = function(includeInstance, msg) {
|
|
9420
9424
|
var f, obj = {
|
|
9421
|
-
|
|
9422
|
-
|
|
9423
|
-
|
|
9424
|
-
|
|
9425
|
-
|
|
9426
|
-
|
|
9427
|
-
nextChunkTimeout: jspb.Message.getFloatingPointFieldWithDefault(msg, 7, 0.0)
|
|
9425
|
+
modelName: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
9426
|
+
minAudioSize: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
9427
|
+
minDurationOff: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
|
|
9428
|
+
minDurationOn: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
|
|
9429
|
+
tritonServerHost: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
9430
|
+
tritonServerPort: jspb.Message.getFieldWithDefault(msg, 6, 0)
|
|
9428
9431
|
};
|
|
9429
9432
|
|
|
9430
9433
|
if (includeInstance) {
|
|
@@ -9438,23 +9441,23 @@ proto.ondewo.s2t.StreamingSpeechRecognition.toObject = function(includeInstance,
|
|
|
9438
9441
|
/**
|
|
9439
9442
|
* Deserializes binary data (in protobuf wire format).
|
|
9440
9443
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
9441
|
-
* @return {!proto.ondewo.s2t.
|
|
9444
|
+
* @return {!proto.ondewo.s2t.Pyannote}
|
|
9442
9445
|
*/
|
|
9443
|
-
proto.ondewo.s2t.
|
|
9446
|
+
proto.ondewo.s2t.Pyannote.deserializeBinary = function(bytes) {
|
|
9444
9447
|
var reader = new jspb.BinaryReader(bytes);
|
|
9445
|
-
var msg = new proto.ondewo.s2t.
|
|
9446
|
-
return proto.ondewo.s2t.
|
|
9448
|
+
var msg = new proto.ondewo.s2t.Pyannote;
|
|
9449
|
+
return proto.ondewo.s2t.Pyannote.deserializeBinaryFromReader(msg, reader);
|
|
9447
9450
|
};
|
|
9448
9451
|
|
|
9449
9452
|
|
|
9450
9453
|
/**
|
|
9451
9454
|
* Deserializes binary data (in protobuf wire format) from the
|
|
9452
9455
|
* given reader into the given message object.
|
|
9453
|
-
* @param {!proto.ondewo.s2t.
|
|
9456
|
+
* @param {!proto.ondewo.s2t.Pyannote} msg The message object to deserialize into.
|
|
9454
9457
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
9455
|
-
* @return {!proto.ondewo.s2t.
|
|
9458
|
+
* @return {!proto.ondewo.s2t.Pyannote}
|
|
9456
9459
|
*/
|
|
9457
|
-
proto.ondewo.s2t.
|
|
9460
|
+
proto.ondewo.s2t.Pyannote.deserializeBinaryFromReader = function(msg, reader) {
|
|
9458
9461
|
while (reader.nextField()) {
|
|
9459
9462
|
if (reader.isEndGroup()) {
|
|
9460
9463
|
break;
|
|
@@ -9462,32 +9465,28 @@ proto.ondewo.s2t.StreamingSpeechRecognition.deserializeBinaryFromReader = functi
|
|
|
9462
9465
|
var field = reader.getFieldNumber();
|
|
9463
9466
|
switch (field) {
|
|
9464
9467
|
case 1:
|
|
9465
|
-
var value = /** @type {
|
|
9466
|
-
msg.
|
|
9468
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9469
|
+
msg.setModelName(value);
|
|
9467
9470
|
break;
|
|
9468
9471
|
case 2:
|
|
9469
|
-
var value = /** @type {
|
|
9470
|
-
msg.
|
|
9472
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
9473
|
+
msg.setMinAudioSize(value);
|
|
9471
9474
|
break;
|
|
9472
9475
|
case 3:
|
|
9473
|
-
var value = /** @type {number} */ (reader.
|
|
9474
|
-
msg.
|
|
9476
|
+
var value = /** @type {number} */ (reader.readFloat());
|
|
9477
|
+
msg.setMinDurationOff(value);
|
|
9475
9478
|
break;
|
|
9476
9479
|
case 4:
|
|
9477
|
-
var value = /** @type {number} */ (reader.
|
|
9478
|
-
msg.
|
|
9480
|
+
var value = /** @type {number} */ (reader.readFloat());
|
|
9481
|
+
msg.setMinDurationOn(value);
|
|
9479
9482
|
break;
|
|
9480
9483
|
case 5:
|
|
9481
|
-
var value = /** @type {
|
|
9482
|
-
msg.
|
|
9484
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9485
|
+
msg.setTritonServerHost(value);
|
|
9483
9486
|
break;
|
|
9484
9487
|
case 6:
|
|
9485
|
-
var value = /** @type {number} */ (reader.
|
|
9486
|
-
msg.
|
|
9487
|
-
break;
|
|
9488
|
-
case 7:
|
|
9489
|
-
var value = /** @type {number} */ (reader.readFloat());
|
|
9490
|
-
msg.setNextChunkTimeout(value);
|
|
9488
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
9489
|
+
msg.setTritonServerPort(value);
|
|
9491
9490
|
break;
|
|
9492
9491
|
default:
|
|
9493
9492
|
reader.skipField();
|
|
@@ -9502,9 +9501,9 @@ proto.ondewo.s2t.StreamingSpeechRecognition.deserializeBinaryFromReader = functi
|
|
|
9502
9501
|
* Serializes the message to binary data (in protobuf wire format).
|
|
9503
9502
|
* @return {!Uint8Array}
|
|
9504
9503
|
*/
|
|
9505
|
-
proto.ondewo.s2t.
|
|
9504
|
+
proto.ondewo.s2t.Pyannote.prototype.serializeBinary = function() {
|
|
9506
9505
|
var writer = new jspb.BinaryWriter();
|
|
9507
|
-
proto.ondewo.s2t.
|
|
9506
|
+
proto.ondewo.s2t.Pyannote.serializeBinaryToWriter(this, writer);
|
|
9508
9507
|
return writer.getResultBuffer();
|
|
9509
9508
|
};
|
|
9510
9509
|
|
|
@@ -9512,612 +9511,15 @@ proto.ondewo.s2t.StreamingSpeechRecognition.prototype.serializeBinary = function
|
|
|
9512
9511
|
/**
|
|
9513
9512
|
* Serializes the given message to binary data (in protobuf wire
|
|
9514
9513
|
* format), writing to the given BinaryWriter.
|
|
9515
|
-
* @param {!proto.ondewo.s2t.
|
|
9514
|
+
* @param {!proto.ondewo.s2t.Pyannote} message
|
|
9516
9515
|
* @param {!jspb.BinaryWriter} writer
|
|
9517
9516
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
9518
9517
|
*/
|
|
9519
|
-
proto.ondewo.s2t.
|
|
9518
|
+
proto.ondewo.s2t.Pyannote.serializeBinaryToWriter = function(message, writer) {
|
|
9520
9519
|
var f = undefined;
|
|
9521
|
-
f = message.
|
|
9522
|
-
if (f) {
|
|
9523
|
-
writer.
|
|
9524
|
-
1,
|
|
9525
|
-
f
|
|
9526
|
-
);
|
|
9527
|
-
}
|
|
9528
|
-
f = message.getDecodingMethod();
|
|
9529
|
-
if (f.length > 0) {
|
|
9530
|
-
writer.writeString(
|
|
9531
|
-
2,
|
|
9532
|
-
f
|
|
9533
|
-
);
|
|
9534
|
-
}
|
|
9535
|
-
f = message.getSamplingRate();
|
|
9536
|
-
if (f !== 0) {
|
|
9537
|
-
writer.writeInt64(
|
|
9538
|
-
3,
|
|
9539
|
-
f
|
|
9540
|
-
);
|
|
9541
|
-
}
|
|
9542
|
-
f = message.getMinAudioChunkSize();
|
|
9543
|
-
if (f !== 0) {
|
|
9544
|
-
writer.writeInt64(
|
|
9545
|
-
4,
|
|
9546
|
-
f
|
|
9547
|
-
);
|
|
9548
|
-
}
|
|
9549
|
-
f = message.getStartOfUtteranceThreshold();
|
|
9550
|
-
if (f !== 0.0) {
|
|
9551
|
-
writer.writeFloat(
|
|
9552
|
-
5,
|
|
9553
|
-
f
|
|
9554
|
-
);
|
|
9555
|
-
}
|
|
9556
|
-
f = message.getEndOfUtteranceThreshold();
|
|
9557
|
-
if (f !== 0.0) {
|
|
9558
|
-
writer.writeFloat(
|
|
9559
|
-
6,
|
|
9560
|
-
f
|
|
9561
|
-
);
|
|
9562
|
-
}
|
|
9563
|
-
f = message.getNextChunkTimeout();
|
|
9564
|
-
if (f !== 0.0) {
|
|
9565
|
-
writer.writeFloat(
|
|
9566
|
-
7,
|
|
9567
|
-
f
|
|
9568
|
-
);
|
|
9569
|
-
}
|
|
9570
|
-
};
|
|
9571
|
-
|
|
9572
|
-
|
|
9573
|
-
/**
|
|
9574
|
-
* optional bool transcribe_not_final = 1;
|
|
9575
|
-
* @return {boolean}
|
|
9576
|
-
*/
|
|
9577
|
-
proto.ondewo.s2t.StreamingSpeechRecognition.prototype.getTranscribeNotFinal = function() {
|
|
9578
|
-
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
|
|
9579
|
-
};
|
|
9580
|
-
|
|
9581
|
-
|
|
9582
|
-
/**
|
|
9583
|
-
* @param {boolean} value
|
|
9584
|
-
* @return {!proto.ondewo.s2t.StreamingSpeechRecognition} returns this
|
|
9585
|
-
*/
|
|
9586
|
-
proto.ondewo.s2t.StreamingSpeechRecognition.prototype.setTranscribeNotFinal = function(value) {
|
|
9587
|
-
return jspb.Message.setProto3BooleanField(this, 1, value);
|
|
9588
|
-
};
|
|
9589
|
-
|
|
9590
|
-
|
|
9591
|
-
/**
|
|
9592
|
-
* optional string decoding_method = 2;
|
|
9593
|
-
* @return {string}
|
|
9594
|
-
*/
|
|
9595
|
-
proto.ondewo.s2t.StreamingSpeechRecognition.prototype.getDecodingMethod = function() {
|
|
9596
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
9597
|
-
};
|
|
9598
|
-
|
|
9599
|
-
|
|
9600
|
-
/**
|
|
9601
|
-
* @param {string} value
|
|
9602
|
-
* @return {!proto.ondewo.s2t.StreamingSpeechRecognition} returns this
|
|
9603
|
-
*/
|
|
9604
|
-
proto.ondewo.s2t.StreamingSpeechRecognition.prototype.setDecodingMethod = function(value) {
|
|
9605
|
-
return jspb.Message.setProto3StringField(this, 2, value);
|
|
9606
|
-
};
|
|
9607
|
-
|
|
9608
|
-
|
|
9609
|
-
/**
|
|
9610
|
-
* optional int64 sampling_rate = 3;
|
|
9611
|
-
* @return {number}
|
|
9612
|
-
*/
|
|
9613
|
-
proto.ondewo.s2t.StreamingSpeechRecognition.prototype.getSamplingRate = function() {
|
|
9614
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
9615
|
-
};
|
|
9616
|
-
|
|
9617
|
-
|
|
9618
|
-
/**
|
|
9619
|
-
* @param {number} value
|
|
9620
|
-
* @return {!proto.ondewo.s2t.StreamingSpeechRecognition} returns this
|
|
9621
|
-
*/
|
|
9622
|
-
proto.ondewo.s2t.StreamingSpeechRecognition.prototype.setSamplingRate = function(value) {
|
|
9623
|
-
return jspb.Message.setProto3IntField(this, 3, value);
|
|
9624
|
-
};
|
|
9625
|
-
|
|
9626
|
-
|
|
9627
|
-
/**
|
|
9628
|
-
* optional int64 min_audio_chunk_size = 4;
|
|
9629
|
-
* @return {number}
|
|
9630
|
-
*/
|
|
9631
|
-
proto.ondewo.s2t.StreamingSpeechRecognition.prototype.getMinAudioChunkSize = function() {
|
|
9632
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
9633
|
-
};
|
|
9634
|
-
|
|
9635
|
-
|
|
9636
|
-
/**
|
|
9637
|
-
* @param {number} value
|
|
9638
|
-
* @return {!proto.ondewo.s2t.StreamingSpeechRecognition} returns this
|
|
9639
|
-
*/
|
|
9640
|
-
proto.ondewo.s2t.StreamingSpeechRecognition.prototype.setMinAudioChunkSize = function(value) {
|
|
9641
|
-
return jspb.Message.setProto3IntField(this, 4, value);
|
|
9642
|
-
};
|
|
9643
|
-
|
|
9644
|
-
|
|
9645
|
-
/**
|
|
9646
|
-
* optional float start_of_utterance_threshold = 5;
|
|
9647
|
-
* @return {number}
|
|
9648
|
-
*/
|
|
9649
|
-
proto.ondewo.s2t.StreamingSpeechRecognition.prototype.getStartOfUtteranceThreshold = function() {
|
|
9650
|
-
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
|
|
9651
|
-
};
|
|
9652
|
-
|
|
9653
|
-
|
|
9654
|
-
/**
|
|
9655
|
-
* @param {number} value
|
|
9656
|
-
* @return {!proto.ondewo.s2t.StreamingSpeechRecognition} returns this
|
|
9657
|
-
*/
|
|
9658
|
-
proto.ondewo.s2t.StreamingSpeechRecognition.prototype.setStartOfUtteranceThreshold = function(value) {
|
|
9659
|
-
return jspb.Message.setProto3FloatField(this, 5, value);
|
|
9660
|
-
};
|
|
9661
|
-
|
|
9662
|
-
|
|
9663
|
-
/**
|
|
9664
|
-
* optional float end_of_utterance_threshold = 6;
|
|
9665
|
-
* @return {number}
|
|
9666
|
-
*/
|
|
9667
|
-
proto.ondewo.s2t.StreamingSpeechRecognition.prototype.getEndOfUtteranceThreshold = function() {
|
|
9668
|
-
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 6, 0.0));
|
|
9669
|
-
};
|
|
9670
|
-
|
|
9671
|
-
|
|
9672
|
-
/**
|
|
9673
|
-
* @param {number} value
|
|
9674
|
-
* @return {!proto.ondewo.s2t.StreamingSpeechRecognition} returns this
|
|
9675
|
-
*/
|
|
9676
|
-
proto.ondewo.s2t.StreamingSpeechRecognition.prototype.setEndOfUtteranceThreshold = function(value) {
|
|
9677
|
-
return jspb.Message.setProto3FloatField(this, 6, value);
|
|
9678
|
-
};
|
|
9679
|
-
|
|
9680
|
-
|
|
9681
|
-
/**
|
|
9682
|
-
* optional float next_chunk_timeout = 7;
|
|
9683
|
-
* @return {number}
|
|
9684
|
-
*/
|
|
9685
|
-
proto.ondewo.s2t.StreamingSpeechRecognition.prototype.getNextChunkTimeout = function() {
|
|
9686
|
-
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 7, 0.0));
|
|
9687
|
-
};
|
|
9688
|
-
|
|
9689
|
-
|
|
9690
|
-
/**
|
|
9691
|
-
* @param {number} value
|
|
9692
|
-
* @return {!proto.ondewo.s2t.StreamingSpeechRecognition} returns this
|
|
9693
|
-
*/
|
|
9694
|
-
proto.ondewo.s2t.StreamingSpeechRecognition.prototype.setNextChunkTimeout = function(value) {
|
|
9695
|
-
return jspb.Message.setProto3FloatField(this, 7, value);
|
|
9696
|
-
};
|
|
9697
|
-
|
|
9698
|
-
|
|
9699
|
-
|
|
9700
|
-
|
|
9701
|
-
|
|
9702
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
9703
|
-
/**
|
|
9704
|
-
* Creates an object representation of this proto.
|
|
9705
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
9706
|
-
* Optional fields that are not set will be set to undefined.
|
|
9707
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
9708
|
-
* For the list of reserved names please see:
|
|
9709
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
9710
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
9711
|
-
* JSPB instance for transitional soy proto support:
|
|
9712
|
-
* http://goto/soy-param-migration
|
|
9713
|
-
* @return {!Object}
|
|
9714
|
-
*/
|
|
9715
|
-
proto.ondewo.s2t.VoiceActivityDetection.prototype.toObject = function(opt_includeInstance) {
|
|
9716
|
-
return proto.ondewo.s2t.VoiceActivityDetection.toObject(opt_includeInstance, this);
|
|
9717
|
-
};
|
|
9718
|
-
|
|
9719
|
-
|
|
9720
|
-
/**
|
|
9721
|
-
* Static version of the {@see toObject} method.
|
|
9722
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
9723
|
-
* the JSPB instance for transitional soy proto support:
|
|
9724
|
-
* http://goto/soy-param-migration
|
|
9725
|
-
* @param {!proto.ondewo.s2t.VoiceActivityDetection} msg The msg instance to transform.
|
|
9726
|
-
* @return {!Object}
|
|
9727
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
9728
|
-
*/
|
|
9729
|
-
proto.ondewo.s2t.VoiceActivityDetection.toObject = function(includeInstance, msg) {
|
|
9730
|
-
var f, obj = {
|
|
9731
|
-
active: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
9732
|
-
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)
|
|
9735
|
-
};
|
|
9736
|
-
|
|
9737
|
-
if (includeInstance) {
|
|
9738
|
-
obj.$jspbMessageInstance = msg;
|
|
9739
|
-
}
|
|
9740
|
-
return obj;
|
|
9741
|
-
};
|
|
9742
|
-
}
|
|
9743
|
-
|
|
9744
|
-
|
|
9745
|
-
/**
|
|
9746
|
-
* Deserializes binary data (in protobuf wire format).
|
|
9747
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
9748
|
-
* @return {!proto.ondewo.s2t.VoiceActivityDetection}
|
|
9749
|
-
*/
|
|
9750
|
-
proto.ondewo.s2t.VoiceActivityDetection.deserializeBinary = function(bytes) {
|
|
9751
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
9752
|
-
var msg = new proto.ondewo.s2t.VoiceActivityDetection;
|
|
9753
|
-
return proto.ondewo.s2t.VoiceActivityDetection.deserializeBinaryFromReader(msg, reader);
|
|
9754
|
-
};
|
|
9755
|
-
|
|
9756
|
-
|
|
9757
|
-
/**
|
|
9758
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
9759
|
-
* given reader into the given message object.
|
|
9760
|
-
* @param {!proto.ondewo.s2t.VoiceActivityDetection} msg The message object to deserialize into.
|
|
9761
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
9762
|
-
* @return {!proto.ondewo.s2t.VoiceActivityDetection}
|
|
9763
|
-
*/
|
|
9764
|
-
proto.ondewo.s2t.VoiceActivityDetection.deserializeBinaryFromReader = function(msg, reader) {
|
|
9765
|
-
while (reader.nextField()) {
|
|
9766
|
-
if (reader.isEndGroup()) {
|
|
9767
|
-
break;
|
|
9768
|
-
}
|
|
9769
|
-
var field = reader.getFieldNumber();
|
|
9770
|
-
switch (field) {
|
|
9771
|
-
case 1:
|
|
9772
|
-
var value = /** @type {string} */ (reader.readString());
|
|
9773
|
-
msg.setActive(value);
|
|
9774
|
-
break;
|
|
9775
|
-
case 2:
|
|
9776
|
-
var value = /** @type {number} */ (reader.readInt64());
|
|
9777
|
-
msg.setSamplingRate(value);
|
|
9778
|
-
break;
|
|
9779
|
-
case 3:
|
|
9780
|
-
var value = new proto.ondewo.s2t.Pyannote;
|
|
9781
|
-
reader.readMessage(value,proto.ondewo.s2t.Pyannote.deserializeBinaryFromReader);
|
|
9782
|
-
msg.setPyannote(value);
|
|
9783
|
-
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
|
-
default:
|
|
9790
|
-
reader.skipField();
|
|
9791
|
-
break;
|
|
9792
|
-
}
|
|
9793
|
-
}
|
|
9794
|
-
return msg;
|
|
9795
|
-
};
|
|
9796
|
-
|
|
9797
|
-
|
|
9798
|
-
/**
|
|
9799
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
9800
|
-
* @return {!Uint8Array}
|
|
9801
|
-
*/
|
|
9802
|
-
proto.ondewo.s2t.VoiceActivityDetection.prototype.serializeBinary = function() {
|
|
9803
|
-
var writer = new jspb.BinaryWriter();
|
|
9804
|
-
proto.ondewo.s2t.VoiceActivityDetection.serializeBinaryToWriter(this, writer);
|
|
9805
|
-
return writer.getResultBuffer();
|
|
9806
|
-
};
|
|
9807
|
-
|
|
9808
|
-
|
|
9809
|
-
/**
|
|
9810
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
9811
|
-
* format), writing to the given BinaryWriter.
|
|
9812
|
-
* @param {!proto.ondewo.s2t.VoiceActivityDetection} message
|
|
9813
|
-
* @param {!jspb.BinaryWriter} writer
|
|
9814
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
9815
|
-
*/
|
|
9816
|
-
proto.ondewo.s2t.VoiceActivityDetection.serializeBinaryToWriter = function(message, writer) {
|
|
9817
|
-
var f = undefined;
|
|
9818
|
-
f = message.getActive();
|
|
9819
|
-
if (f.length > 0) {
|
|
9820
|
-
writer.writeString(
|
|
9821
|
-
1,
|
|
9822
|
-
f
|
|
9823
|
-
);
|
|
9824
|
-
}
|
|
9825
|
-
f = message.getSamplingRate();
|
|
9826
|
-
if (f !== 0) {
|
|
9827
|
-
writer.writeInt64(
|
|
9828
|
-
2,
|
|
9829
|
-
f
|
|
9830
|
-
);
|
|
9831
|
-
}
|
|
9832
|
-
f = message.getPyannote();
|
|
9833
|
-
if (f != null) {
|
|
9834
|
-
writer.writeMessage(
|
|
9835
|
-
3,
|
|
9836
|
-
f,
|
|
9837
|
-
proto.ondewo.s2t.Pyannote.serializeBinaryToWriter
|
|
9838
|
-
);
|
|
9839
|
-
}
|
|
9840
|
-
f = message.getMatchbox();
|
|
9841
|
-
if (f != null) {
|
|
9842
|
-
writer.writeMessage(
|
|
9843
|
-
4,
|
|
9844
|
-
f,
|
|
9845
|
-
proto.ondewo.s2t.Matchbox.serializeBinaryToWriter
|
|
9846
|
-
);
|
|
9847
|
-
}
|
|
9848
|
-
};
|
|
9849
|
-
|
|
9850
|
-
|
|
9851
|
-
/**
|
|
9852
|
-
* optional string active = 1;
|
|
9853
|
-
* @return {string}
|
|
9854
|
-
*/
|
|
9855
|
-
proto.ondewo.s2t.VoiceActivityDetection.prototype.getActive = function() {
|
|
9856
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
9857
|
-
};
|
|
9858
|
-
|
|
9859
|
-
|
|
9860
|
-
/**
|
|
9861
|
-
* @param {string} value
|
|
9862
|
-
* @return {!proto.ondewo.s2t.VoiceActivityDetection} returns this
|
|
9863
|
-
*/
|
|
9864
|
-
proto.ondewo.s2t.VoiceActivityDetection.prototype.setActive = function(value) {
|
|
9865
|
-
return jspb.Message.setProto3StringField(this, 1, value);
|
|
9866
|
-
};
|
|
9867
|
-
|
|
9868
|
-
|
|
9869
|
-
/**
|
|
9870
|
-
* optional int64 sampling_rate = 2;
|
|
9871
|
-
* @return {number}
|
|
9872
|
-
*/
|
|
9873
|
-
proto.ondewo.s2t.VoiceActivityDetection.prototype.getSamplingRate = function() {
|
|
9874
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
9875
|
-
};
|
|
9876
|
-
|
|
9877
|
-
|
|
9878
|
-
/**
|
|
9879
|
-
* @param {number} value
|
|
9880
|
-
* @return {!proto.ondewo.s2t.VoiceActivityDetection} returns this
|
|
9881
|
-
*/
|
|
9882
|
-
proto.ondewo.s2t.VoiceActivityDetection.prototype.setSamplingRate = function(value) {
|
|
9883
|
-
return jspb.Message.setProto3IntField(this, 2, value);
|
|
9884
|
-
};
|
|
9885
|
-
|
|
9886
|
-
|
|
9887
|
-
/**
|
|
9888
|
-
* optional Pyannote pyannote = 3;
|
|
9889
|
-
* @return {?proto.ondewo.s2t.Pyannote}
|
|
9890
|
-
*/
|
|
9891
|
-
proto.ondewo.s2t.VoiceActivityDetection.prototype.getPyannote = function() {
|
|
9892
|
-
return /** @type{?proto.ondewo.s2t.Pyannote} */ (
|
|
9893
|
-
jspb.Message.getWrapperField(this, proto.ondewo.s2t.Pyannote, 3));
|
|
9894
|
-
};
|
|
9895
|
-
|
|
9896
|
-
|
|
9897
|
-
/**
|
|
9898
|
-
* @param {?proto.ondewo.s2t.Pyannote|undefined} value
|
|
9899
|
-
* @return {!proto.ondewo.s2t.VoiceActivityDetection} returns this
|
|
9900
|
-
*/
|
|
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);
|
|
9940
|
-
};
|
|
9941
|
-
|
|
9942
|
-
|
|
9943
|
-
/**
|
|
9944
|
-
* Clears the message field making it undefined.
|
|
9945
|
-
* @return {!proto.ondewo.s2t.VoiceActivityDetection} returns this
|
|
9946
|
-
*/
|
|
9947
|
-
proto.ondewo.s2t.VoiceActivityDetection.prototype.clearMatchbox = function() {
|
|
9948
|
-
return this.setMatchbox(undefined);
|
|
9949
|
-
};
|
|
9950
|
-
|
|
9951
|
-
|
|
9952
|
-
/**
|
|
9953
|
-
* Returns whether this field is set.
|
|
9954
|
-
* @return {boolean}
|
|
9955
|
-
*/
|
|
9956
|
-
proto.ondewo.s2t.VoiceActivityDetection.prototype.hasMatchbox = function() {
|
|
9957
|
-
return jspb.Message.getField(this, 4) != null;
|
|
9958
|
-
};
|
|
9959
|
-
|
|
9960
|
-
|
|
9961
|
-
|
|
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
|
-
|
|
9988
|
-
|
|
9989
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
9990
|
-
/**
|
|
9991
|
-
* Creates an object representation of this proto.
|
|
9992
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
9993
|
-
* Optional fields that are not set will be set to undefined.
|
|
9994
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
9995
|
-
* For the list of reserved names please see:
|
|
9996
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
9997
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
9998
|
-
* JSPB instance for transitional soy proto support:
|
|
9999
|
-
* http://goto/soy-param-migration
|
|
10000
|
-
* @return {!Object}
|
|
10001
|
-
*/
|
|
10002
|
-
proto.ondewo.s2t.Pyannote.prototype.toObject = function(opt_includeInstance) {
|
|
10003
|
-
return proto.ondewo.s2t.Pyannote.toObject(opt_includeInstance, this);
|
|
10004
|
-
};
|
|
10005
|
-
|
|
10006
|
-
|
|
10007
|
-
/**
|
|
10008
|
-
* Static version of the {@see toObject} method.
|
|
10009
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
10010
|
-
* the JSPB instance for transitional soy proto support:
|
|
10011
|
-
* http://goto/soy-param-migration
|
|
10012
|
-
* @param {!proto.ondewo.s2t.Pyannote} msg The msg instance to transform.
|
|
10013
|
-
* @return {!Object}
|
|
10014
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10015
|
-
*/
|
|
10016
|
-
proto.ondewo.s2t.Pyannote.toObject = function(includeInstance, msg) {
|
|
10017
|
-
var f, obj = {
|
|
10018
|
-
modelPath: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
10019
|
-
minAudioSize: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
10020
|
-
offset: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
|
|
10021
|
-
onset: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
|
|
10022
|
-
logScale: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
|
|
10023
|
-
minDurationOff: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
|
|
10024
|
-
minDurationOn: jspb.Message.getFloatingPointFieldWithDefault(msg, 7, 0.0)
|
|
10025
|
-
};
|
|
10026
|
-
|
|
10027
|
-
if (includeInstance) {
|
|
10028
|
-
obj.$jspbMessageInstance = msg;
|
|
10029
|
-
}
|
|
10030
|
-
return obj;
|
|
10031
|
-
};
|
|
10032
|
-
}
|
|
10033
|
-
|
|
10034
|
-
|
|
10035
|
-
/**
|
|
10036
|
-
* Deserializes binary data (in protobuf wire format).
|
|
10037
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
10038
|
-
* @return {!proto.ondewo.s2t.Pyannote}
|
|
10039
|
-
*/
|
|
10040
|
-
proto.ondewo.s2t.Pyannote.deserializeBinary = function(bytes) {
|
|
10041
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
10042
|
-
var msg = new proto.ondewo.s2t.Pyannote;
|
|
10043
|
-
return proto.ondewo.s2t.Pyannote.deserializeBinaryFromReader(msg, reader);
|
|
10044
|
-
};
|
|
10045
|
-
|
|
10046
|
-
|
|
10047
|
-
/**
|
|
10048
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
10049
|
-
* given reader into the given message object.
|
|
10050
|
-
* @param {!proto.ondewo.s2t.Pyannote} msg The message object to deserialize into.
|
|
10051
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
10052
|
-
* @return {!proto.ondewo.s2t.Pyannote}
|
|
10053
|
-
*/
|
|
10054
|
-
proto.ondewo.s2t.Pyannote.deserializeBinaryFromReader = function(msg, reader) {
|
|
10055
|
-
while (reader.nextField()) {
|
|
10056
|
-
if (reader.isEndGroup()) {
|
|
10057
|
-
break;
|
|
10058
|
-
}
|
|
10059
|
-
var field = reader.getFieldNumber();
|
|
10060
|
-
switch (field) {
|
|
10061
|
-
case 1:
|
|
10062
|
-
var value = /** @type {string} */ (reader.readString());
|
|
10063
|
-
msg.setModelPath(value);
|
|
10064
|
-
break;
|
|
10065
|
-
case 2:
|
|
10066
|
-
var value = /** @type {number} */ (reader.readInt64());
|
|
10067
|
-
msg.setMinAudioSize(value);
|
|
10068
|
-
break;
|
|
10069
|
-
case 3:
|
|
10070
|
-
var value = /** @type {number} */ (reader.readFloat());
|
|
10071
|
-
msg.setOffset(value);
|
|
10072
|
-
break;
|
|
10073
|
-
case 4:
|
|
10074
|
-
var value = /** @type {number} */ (reader.readFloat());
|
|
10075
|
-
msg.setOnset(value);
|
|
10076
|
-
break;
|
|
10077
|
-
case 5:
|
|
10078
|
-
var value = /** @type {boolean} */ (reader.readBool());
|
|
10079
|
-
msg.setLogScale(value);
|
|
10080
|
-
break;
|
|
10081
|
-
case 6:
|
|
10082
|
-
var value = /** @type {number} */ (reader.readFloat());
|
|
10083
|
-
msg.setMinDurationOff(value);
|
|
10084
|
-
break;
|
|
10085
|
-
case 7:
|
|
10086
|
-
var value = /** @type {number} */ (reader.readFloat());
|
|
10087
|
-
msg.setMinDurationOn(value);
|
|
10088
|
-
break;
|
|
10089
|
-
default:
|
|
10090
|
-
reader.skipField();
|
|
10091
|
-
break;
|
|
10092
|
-
}
|
|
10093
|
-
}
|
|
10094
|
-
return msg;
|
|
10095
|
-
};
|
|
10096
|
-
|
|
10097
|
-
|
|
10098
|
-
/**
|
|
10099
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
10100
|
-
* @return {!Uint8Array}
|
|
10101
|
-
*/
|
|
10102
|
-
proto.ondewo.s2t.Pyannote.prototype.serializeBinary = function() {
|
|
10103
|
-
var writer = new jspb.BinaryWriter();
|
|
10104
|
-
proto.ondewo.s2t.Pyannote.serializeBinaryToWriter(this, writer);
|
|
10105
|
-
return writer.getResultBuffer();
|
|
10106
|
-
};
|
|
10107
|
-
|
|
10108
|
-
|
|
10109
|
-
/**
|
|
10110
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
10111
|
-
* format), writing to the given BinaryWriter.
|
|
10112
|
-
* @param {!proto.ondewo.s2t.Pyannote} message
|
|
10113
|
-
* @param {!jspb.BinaryWriter} writer
|
|
10114
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10115
|
-
*/
|
|
10116
|
-
proto.ondewo.s2t.Pyannote.serializeBinaryToWriter = function(message, writer) {
|
|
10117
|
-
var f = undefined;
|
|
10118
|
-
f = message.getModelPath();
|
|
10119
|
-
if (f.length > 0) {
|
|
10120
|
-
writer.writeString(
|
|
9520
|
+
f = message.getModelName();
|
|
9521
|
+
if (f.length > 0) {
|
|
9522
|
+
writer.writeString(
|
|
10121
9523
|
1,
|
|
10122
9524
|
f
|
|
10123
9525
|
);
|
|
@@ -10129,49 +9531,42 @@ proto.ondewo.s2t.Pyannote.serializeBinaryToWriter = function(message, writer) {
|
|
|
10129
9531
|
f
|
|
10130
9532
|
);
|
|
10131
9533
|
}
|
|
10132
|
-
f = message.
|
|
9534
|
+
f = message.getMinDurationOff();
|
|
10133
9535
|
if (f !== 0.0) {
|
|
10134
9536
|
writer.writeFloat(
|
|
10135
9537
|
3,
|
|
10136
9538
|
f
|
|
10137
9539
|
);
|
|
10138
9540
|
}
|
|
10139
|
-
f = message.
|
|
9541
|
+
f = message.getMinDurationOn();
|
|
10140
9542
|
if (f !== 0.0) {
|
|
10141
9543
|
writer.writeFloat(
|
|
10142
9544
|
4,
|
|
10143
9545
|
f
|
|
10144
9546
|
);
|
|
10145
9547
|
}
|
|
10146
|
-
f =
|
|
10147
|
-
if (f
|
|
10148
|
-
writer.
|
|
9548
|
+
f = message.getTritonServerHost();
|
|
9549
|
+
if (f.length > 0) {
|
|
9550
|
+
writer.writeString(
|
|
10149
9551
|
5,
|
|
10150
9552
|
f
|
|
10151
9553
|
);
|
|
10152
9554
|
}
|
|
10153
|
-
f = message.
|
|
10154
|
-
if (f !== 0
|
|
10155
|
-
writer.
|
|
9555
|
+
f = message.getTritonServerPort();
|
|
9556
|
+
if (f !== 0) {
|
|
9557
|
+
writer.writeInt64(
|
|
10156
9558
|
6,
|
|
10157
9559
|
f
|
|
10158
9560
|
);
|
|
10159
9561
|
}
|
|
10160
|
-
f = message.getMinDurationOn();
|
|
10161
|
-
if (f !== 0.0) {
|
|
10162
|
-
writer.writeFloat(
|
|
10163
|
-
7,
|
|
10164
|
-
f
|
|
10165
|
-
);
|
|
10166
|
-
}
|
|
10167
9562
|
};
|
|
10168
9563
|
|
|
10169
9564
|
|
|
10170
9565
|
/**
|
|
10171
|
-
* optional string
|
|
9566
|
+
* optional string model_name = 1;
|
|
10172
9567
|
* @return {string}
|
|
10173
9568
|
*/
|
|
10174
|
-
proto.ondewo.s2t.Pyannote.prototype.
|
|
9569
|
+
proto.ondewo.s2t.Pyannote.prototype.getModelName = function() {
|
|
10175
9570
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
10176
9571
|
};
|
|
10177
9572
|
|
|
@@ -10180,7 +9575,7 @@ proto.ondewo.s2t.Pyannote.prototype.getModelPath = function() {
|
|
|
10180
9575
|
* @param {string} value
|
|
10181
9576
|
* @return {!proto.ondewo.s2t.Pyannote} returns this
|
|
10182
9577
|
*/
|
|
10183
|
-
proto.ondewo.s2t.Pyannote.prototype.
|
|
9578
|
+
proto.ondewo.s2t.Pyannote.prototype.setModelName = function(value) {
|
|
10184
9579
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
10185
9580
|
};
|
|
10186
9581
|
|
|
@@ -10204,10 +9599,10 @@ proto.ondewo.s2t.Pyannote.prototype.setMinAudioSize = function(value) {
|
|
|
10204
9599
|
|
|
10205
9600
|
|
|
10206
9601
|
/**
|
|
10207
|
-
* optional float
|
|
9602
|
+
* optional float min_duration_off = 3;
|
|
10208
9603
|
* @return {number}
|
|
10209
9604
|
*/
|
|
10210
|
-
proto.ondewo.s2t.Pyannote.prototype.
|
|
9605
|
+
proto.ondewo.s2t.Pyannote.prototype.getMinDurationOff = function() {
|
|
10211
9606
|
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0));
|
|
10212
9607
|
};
|
|
10213
9608
|
|
|
@@ -10216,16 +9611,16 @@ proto.ondewo.s2t.Pyannote.prototype.getOffset = function() {
|
|
|
10216
9611
|
* @param {number} value
|
|
10217
9612
|
* @return {!proto.ondewo.s2t.Pyannote} returns this
|
|
10218
9613
|
*/
|
|
10219
|
-
proto.ondewo.s2t.Pyannote.prototype.
|
|
9614
|
+
proto.ondewo.s2t.Pyannote.prototype.setMinDurationOff = function(value) {
|
|
10220
9615
|
return jspb.Message.setProto3FloatField(this, 3, value);
|
|
10221
9616
|
};
|
|
10222
9617
|
|
|
10223
9618
|
|
|
10224
9619
|
/**
|
|
10225
|
-
* optional float
|
|
9620
|
+
* optional float min_duration_on = 4;
|
|
10226
9621
|
* @return {number}
|
|
10227
9622
|
*/
|
|
10228
|
-
proto.ondewo.s2t.Pyannote.prototype.
|
|
9623
|
+
proto.ondewo.s2t.Pyannote.prototype.getMinDurationOn = function() {
|
|
10229
9624
|
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
|
|
10230
9625
|
};
|
|
10231
9626
|
|
|
@@ -10234,71 +9629,35 @@ proto.ondewo.s2t.Pyannote.prototype.getOnset = function() {
|
|
|
10234
9629
|
* @param {number} value
|
|
10235
9630
|
* @return {!proto.ondewo.s2t.Pyannote} returns this
|
|
10236
9631
|
*/
|
|
10237
|
-
proto.ondewo.s2t.Pyannote.prototype.
|
|
9632
|
+
proto.ondewo.s2t.Pyannote.prototype.setMinDurationOn = function(value) {
|
|
10238
9633
|
return jspb.Message.setProto3FloatField(this, 4, value);
|
|
10239
9634
|
};
|
|
10240
9635
|
|
|
10241
9636
|
|
|
10242
9637
|
/**
|
|
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}
|
|
9638
|
+
* optional string triton_server_host = 5;
|
|
9639
|
+
* @return {string}
|
|
10281
9640
|
*/
|
|
10282
|
-
proto.ondewo.s2t.Pyannote.prototype.
|
|
10283
|
-
return /** @type {
|
|
9641
|
+
proto.ondewo.s2t.Pyannote.prototype.getTritonServerHost = function() {
|
|
9642
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
10284
9643
|
};
|
|
10285
9644
|
|
|
10286
9645
|
|
|
10287
9646
|
/**
|
|
10288
|
-
* @param {
|
|
9647
|
+
* @param {string} value
|
|
10289
9648
|
* @return {!proto.ondewo.s2t.Pyannote} returns this
|
|
10290
9649
|
*/
|
|
10291
|
-
proto.ondewo.s2t.Pyannote.prototype.
|
|
10292
|
-
return jspb.Message.
|
|
9650
|
+
proto.ondewo.s2t.Pyannote.prototype.setTritonServerHost = function(value) {
|
|
9651
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
10293
9652
|
};
|
|
10294
9653
|
|
|
10295
9654
|
|
|
10296
9655
|
/**
|
|
10297
|
-
* optional
|
|
9656
|
+
* optional int64 triton_server_port = 6;
|
|
10298
9657
|
* @return {number}
|
|
10299
9658
|
*/
|
|
10300
|
-
proto.ondewo.s2t.Pyannote.prototype.
|
|
10301
|
-
return /** @type {number} */ (jspb.Message.
|
|
9659
|
+
proto.ondewo.s2t.Pyannote.prototype.getTritonServerPort = function() {
|
|
9660
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
10302
9661
|
};
|
|
10303
9662
|
|
|
10304
9663
|
|
|
@@ -10306,198 +9665,8 @@ proto.ondewo.s2t.Pyannote.prototype.getMinDurationOn = function() {
|
|
|
10306
9665
|
* @param {number} value
|
|
10307
9666
|
* @return {!proto.ondewo.s2t.Pyannote} returns this
|
|
10308
9667
|
*/
|
|
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);
|
|
9668
|
+
proto.ondewo.s2t.Pyannote.prototype.setTritonServerPort = function(value) {
|
|
9669
|
+
return jspb.Message.setProto3IntField(this, 6, value);
|
|
10501
9670
|
};
|
|
10502
9671
|
|
|
10503
9672
|
|