@ondewo/s2t-client-typescript 7.4.1 → 7.5.1

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.
@@ -13,13 +13,7 @@
13
13
 
14
14
  var jspb = require('google-protobuf');
15
15
  var goog = jspb;
16
- var global =
17
- (typeof globalThis !== 'undefined' && globalThis) ||
18
- (typeof window !== 'undefined' && window) ||
19
- (typeof global !== 'undefined' && global) ||
20
- (typeof self !== 'undefined' && self) ||
21
- (function () { return this; }).call(null) ||
22
- Function('return this')();
16
+ var global = globalThis;
23
17
 
24
18
  var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
25
19
  goog.object.extend(proto, google_protobuf_empty_pb);
@@ -74,6 +68,7 @@ goog.exportSymbol('proto.ondewo.s2t.S2tLlmPostProcessingTranslationOptions', nul
74
68
  goog.exportSymbol('proto.ondewo.s2t.S2tNormalization', null, global);
75
69
  goog.exportSymbol('proto.ondewo.s2t.S2tPipelineId', null, global);
76
70
  goog.exportSymbol('proto.ondewo.s2t.ServiceTier', null, global);
71
+ goog.exportSymbol('proto.ondewo.s2t.Silero', null, global);
77
72
  goog.exportSymbol('proto.ondewo.s2t.Speech2TextConfig', null, global);
78
73
  goog.exportSymbol('proto.ondewo.s2t.StreamingServer', null, global);
79
74
  goog.exportSymbol('proto.ondewo.s2t.StreamingSpeechRecognition', null, global);
@@ -93,14 +88,17 @@ goog.exportSymbol('proto.ondewo.s2t.TranscribeStreamResponse.OneofConfigCase', n
93
88
  goog.exportSymbol('proto.ondewo.s2t.Transcription', null, global);
94
89
  goog.exportSymbol('proto.ondewo.s2t.TranscriptionAlternative', null, global);
95
90
  goog.exportSymbol('proto.ondewo.s2t.TranscriptionReturnOptions', null, global);
91
+ goog.exportSymbol('proto.ondewo.s2t.TsdMethod', null, global);
96
92
  goog.exportSymbol('proto.ondewo.s2t.TurnDetectionOptions', null, global);
97
93
  goog.exportSymbol('proto.ondewo.s2t.UtteranceDetectionOptions', null, global);
98
94
  goog.exportSymbol('proto.ondewo.s2t.UtteranceDetectionOptions.OneofTranscribeNotFinalCase', null, global);
99
95
  goog.exportSymbol('proto.ondewo.s2t.UtteranceDetectionOptions.OneofTurnDetectionCase', null, global);
96
+ goog.exportSymbol('proto.ondewo.s2t.VadMethod', null, global);
100
97
  goog.exportSymbol('proto.ondewo.s2t.Verbosity', null, global);
101
98
  goog.exportSymbol('proto.ondewo.s2t.VoiceActivityDetection', null, global);
102
99
  goog.exportSymbol('proto.ondewo.s2t.Wav2Vec', null, global);
103
100
  goog.exportSymbol('proto.ondewo.s2t.Wav2VecTriton', null, global);
101
+ goog.exportSymbol('proto.ondewo.s2t.WespeakerTsd', null, global);
104
102
  goog.exportSymbol('proto.ondewo.s2t.Whisper', null, global);
105
103
  goog.exportSymbol('proto.ondewo.s2t.WhisperTriton', null, global);
106
104
  goog.exportSymbol('proto.ondewo.s2t.WordAlternative', null, global);
@@ -1092,6 +1090,48 @@ if (goog.DEBUG && !COMPILED) {
1092
1090
  */
1093
1091
  proto.ondewo.s2t.Pyannote.displayName = 'proto.ondewo.s2t.Pyannote';
1094
1092
  }
1093
+ /**
1094
+ * Generated by JsPbCodeGenerator.
1095
+ * @param {Array=} opt_data Optional initial data array, typically from a
1096
+ * server response, or constructed directly in Javascript. The array is used
1097
+ * in place and becomes part of the constructed object. It is not cloned.
1098
+ * If no data is provided, the constructed object will be empty, but still
1099
+ * valid.
1100
+ * @extends {jspb.Message}
1101
+ * @constructor
1102
+ */
1103
+ proto.ondewo.s2t.Silero = function(opt_data) {
1104
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1105
+ };
1106
+ goog.inherits(proto.ondewo.s2t.Silero, jspb.Message);
1107
+ if (goog.DEBUG && !COMPILED) {
1108
+ /**
1109
+ * @public
1110
+ * @override
1111
+ */
1112
+ proto.ondewo.s2t.Silero.displayName = 'proto.ondewo.s2t.Silero';
1113
+ }
1114
+ /**
1115
+ * Generated by JsPbCodeGenerator.
1116
+ * @param {Array=} opt_data Optional initial data array, typically from a
1117
+ * server response, or constructed directly in Javascript. The array is used
1118
+ * in place and becomes part of the constructed object. It is not cloned.
1119
+ * If no data is provided, the constructed object will be empty, but still
1120
+ * valid.
1121
+ * @extends {jspb.Message}
1122
+ * @constructor
1123
+ */
1124
+ proto.ondewo.s2t.WespeakerTsd = function(opt_data) {
1125
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1126
+ };
1127
+ goog.inherits(proto.ondewo.s2t.WespeakerTsd, jspb.Message);
1128
+ if (goog.DEBUG && !COMPILED) {
1129
+ /**
1130
+ * @public
1131
+ * @override
1132
+ */
1133
+ proto.ondewo.s2t.WespeakerTsd.displayName = 'proto.ondewo.s2t.WespeakerTsd';
1134
+ }
1095
1135
  /**
1096
1136
  * Generated by JsPbCodeGenerator.
1097
1137
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -1652,7 +1692,7 @@ s2tCloudProviderConfig: (f = msg.getS2tCloudProviderConfig()) && proto.ondewo.s2
1652
1692
 
1653
1693
  /**
1654
1694
  * Deserializes binary data (in protobuf wire format).
1655
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
1695
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
1656
1696
  * @return {!proto.ondewo.s2t.TranscribeRequestConfig}
1657
1697
  */
1658
1698
  proto.ondewo.s2t.TranscribeRequestConfig.deserializeBinary = function(bytes) {
@@ -1677,7 +1717,7 @@ proto.ondewo.s2t.TranscribeRequestConfig.deserializeBinaryFromReader = function(
1677
1717
  var field = reader.getFieldNumber();
1678
1718
  switch (field) {
1679
1719
  case 1:
1680
- var value = /** @type {string} */ (reader.readString());
1720
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
1681
1721
  msg.setS2tPipelineId(value);
1682
1722
  break;
1683
1723
  case 2:
@@ -1685,7 +1725,7 @@ proto.ondewo.s2t.TranscribeRequestConfig.deserializeBinaryFromReader = function(
1685
1725
  msg.setDecoding(value);
1686
1726
  break;
1687
1727
  case 3:
1688
- var value = /** @type {string} */ (reader.readString());
1728
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
1689
1729
  msg.setLanguageModelName(value);
1690
1730
  break;
1691
1731
  case 4:
@@ -1709,11 +1749,11 @@ proto.ondewo.s2t.TranscribeRequestConfig.deserializeBinaryFromReader = function(
1709
1749
  msg.setReturnOptions(value);
1710
1750
  break;
1711
1751
  case 9:
1712
- var value = /** @type {string} */ (reader.readString());
1752
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
1713
1753
  msg.setLanguage(value);
1714
1754
  break;
1715
1755
  case 10:
1716
- var value = /** @type {string} */ (reader.readString());
1756
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
1717
1757
  msg.setTask(value);
1718
1758
  break;
1719
1759
  case 11:
@@ -2255,7 +2295,7 @@ s2tCloudProviderConfigMicrosoft: (f = msg.getS2tCloudProviderConfigMicrosoft())
2255
2295
 
2256
2296
  /**
2257
2297
  * Deserializes binary data (in protobuf wire format).
2258
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
2298
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
2259
2299
  * @return {!proto.ondewo.s2t.S2tCloudProviderConfig}
2260
2300
  */
2261
2301
  proto.ondewo.s2t.S2tCloudProviderConfig.deserializeBinary = function(bytes) {
@@ -2559,7 +2599,7 @@ vocabularyName: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f
2559
2599
 
2560
2600
  /**
2561
2601
  * Deserializes binary data (in protobuf wire format).
2562
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
2602
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
2563
2603
  * @return {!proto.ondewo.s2t.S2tCloudProviderConfigAmazon}
2564
2604
  */
2565
2605
  proto.ondewo.s2t.S2tCloudProviderConfigAmazon.deserializeBinary = function(bytes) {
@@ -2588,15 +2628,15 @@ proto.ondewo.s2t.S2tCloudProviderConfigAmazon.deserializeBinaryFromReader = func
2588
2628
  msg.setEnablePartialResultsStabilization(value);
2589
2629
  break;
2590
2630
  case 2:
2591
- var value = /** @type {string} */ (reader.readString());
2631
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
2592
2632
  msg.setPartialResultsStability(value);
2593
2633
  break;
2594
2634
  case 3:
2595
- var value = /** @type {string} */ (reader.readString());
2635
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
2596
2636
  msg.setLanguageModelName(value);
2597
2637
  break;
2598
2638
  case 4:
2599
- var value = /** @type {string} */ (reader.readString());
2639
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
2600
2640
  msg.setVocabularyName(value);
2601
2641
  break;
2602
2642
  default:
@@ -2852,7 +2892,7 @@ dictation: (f = jspb.Message.getBooleanField(msg, 5)) == null ? undefined : f
2852
2892
 
2853
2893
  /**
2854
2894
  * Deserializes binary data (in protobuf wire format).
2855
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
2895
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
2856
2896
  * @return {!proto.ondewo.s2t.S2tCloudProviderConfigDeepgram}
2857
2897
  */
2858
2898
  proto.ondewo.s2t.S2tCloudProviderConfigDeepgram.deserializeBinary = function(bytes) {
@@ -3192,7 +3232,7 @@ maxAlternatives: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f
3192
3232
 
3193
3233
  /**
3194
3234
  * Deserializes binary data (in protobuf wire format).
3195
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
3235
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
3196
3236
  * @return {!proto.ondewo.s2t.S2tCloudProviderConfigGoogle}
3197
3237
  */
3198
3238
  proto.ondewo.s2t.S2tCloudProviderConfigGoogle.deserializeBinary = function(bytes) {
@@ -3529,7 +3569,7 @@ useDetailedOutputFormat: (f = jspb.Message.getBooleanField(msg, 2)) == null ? un
3529
3569
 
3530
3570
  /**
3531
3571
  * Deserializes binary data (in protobuf wire format).
3532
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
3572
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
3533
3573
  * @return {!proto.ondewo.s2t.S2tCloudProviderConfigMicrosoft}
3534
3574
  */
3535
3575
  proto.ondewo.s2t.S2tCloudProviderConfigMicrosoft.deserializeBinary = function(bytes) {
@@ -3731,7 +3771,7 @@ returnWordTiming: jspb.Message.getBooleanFieldWithDefault(msg, 8, false)
3731
3771
 
3732
3772
  /**
3733
3773
  * Deserializes binary data (in protobuf wire format).
3734
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
3774
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
3735
3775
  * @return {!proto.ondewo.s2t.TranscriptionReturnOptions}
3736
3776
  */
3737
3777
  proto.ondewo.s2t.TranscriptionReturnOptions.deserializeBinary = function(bytes) {
@@ -4106,7 +4146,7 @@ turnDetection: (f = msg.getTurnDetection()) && proto.ondewo.s2t.TurnDetectionOpt
4106
4146
 
4107
4147
  /**
4108
4148
  * Deserializes binary data (in protobuf wire format).
4109
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
4149
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
4110
4150
  * @return {!proto.ondewo.s2t.UtteranceDetectionOptions}
4111
4151
  */
4112
4152
  proto.ondewo.s2t.UtteranceDetectionOptions.deserializeBinary = function(bytes) {
@@ -4336,7 +4376,7 @@ llmPostProcessing: jspb.Message.getBooleanFieldWithDefault(msg, 4, false)
4336
4376
 
4337
4377
  /**
4338
4378
  * Deserializes binary data (in protobuf wire format).
4339
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
4379
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
4340
4380
  * @return {!proto.ondewo.s2t.PostProcessingOptions}
4341
4381
  */
4342
4382
  proto.ondewo.s2t.PostProcessingOptions.deserializeBinary = function(bytes) {
@@ -4586,7 +4626,7 @@ alternativesList: jspb.Message.toObjectList(msg.getAlternativesList(),
4586
4626
 
4587
4627
  /**
4588
4628
  * Deserializes binary data (in protobuf wire format).
4589
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
4629
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
4590
4630
  * @return {!proto.ondewo.s2t.Transcription}
4591
4631
  */
4592
4632
  proto.ondewo.s2t.Transcription.deserializeBinary = function(bytes) {
@@ -4611,7 +4651,7 @@ proto.ondewo.s2t.Transcription.deserializeBinaryFromReader = function(msg, reade
4611
4651
  var field = reader.getFieldNumber();
4612
4652
  switch (field) {
4613
4653
  case 1:
4614
- var value = /** @type {string} */ (reader.readString());
4654
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
4615
4655
  msg.setTranscription(value);
4616
4656
  break;
4617
4657
  case 2:
@@ -4857,7 +4897,7 @@ wordsList: jspb.Message.toObjectList(msg.getWordsList(),
4857
4897
 
4858
4898
  /**
4859
4899
  * Deserializes binary data (in protobuf wire format).
4860
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
4900
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
4861
4901
  * @return {!proto.ondewo.s2t.TranscriptionAlternative}
4862
4902
  */
4863
4903
  proto.ondewo.s2t.TranscriptionAlternative.deserializeBinary = function(bytes) {
@@ -4882,7 +4922,7 @@ proto.ondewo.s2t.TranscriptionAlternative.deserializeBinaryFromReader = function
4882
4922
  var field = reader.getFieldNumber();
4883
4923
  switch (field) {
4884
4924
  case 1:
4885
- var value = /** @type {string} */ (reader.readString());
4925
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
4886
4926
  msg.setTranscript(value);
4887
4927
  break;
4888
4928
  case 2:
@@ -5079,7 +5119,7 @@ wordAlternativesList: jspb.Message.toObjectList(msg.getWordAlternativesList(),
5079
5119
 
5080
5120
  /**
5081
5121
  * Deserializes binary data (in protobuf wire format).
5082
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
5122
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
5083
5123
  * @return {!proto.ondewo.s2t.WordDetail}
5084
5124
  */
5085
5125
  proto.ondewo.s2t.WordDetail.deserializeBinary = function(bytes) {
@@ -5112,7 +5152,7 @@ proto.ondewo.s2t.WordDetail.deserializeBinaryFromReader = function(msg, reader)
5112
5152
  msg.setEndTime(value);
5113
5153
  break;
5114
5154
  case 3:
5115
- var value = /** @type {string} */ (reader.readString());
5155
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
5116
5156
  msg.setWord(value);
5117
5157
  break;
5118
5158
  case 4:
@@ -5348,7 +5388,7 @@ confidence: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0)
5348
5388
 
5349
5389
  /**
5350
5390
  * Deserializes binary data (in protobuf wire format).
5351
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
5391
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
5352
5392
  * @return {!proto.ondewo.s2t.WordAlternative}
5353
5393
  */
5354
5394
  proto.ondewo.s2t.WordAlternative.deserializeBinary = function(bytes) {
@@ -5373,7 +5413,7 @@ proto.ondewo.s2t.WordAlternative.deserializeBinaryFromReader = function(msg, rea
5373
5413
  var field = reader.getFieldNumber();
5374
5414
  switch (field) {
5375
5415
  case 1:
5376
- var value = /** @type {string} */ (reader.readString());
5416
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
5377
5417
  msg.setWord(value);
5378
5418
  break;
5379
5419
  case 2:
@@ -5510,7 +5550,7 @@ muteAudio: jspb.Message.getBooleanFieldWithDefault(msg, 4, false)
5510
5550
 
5511
5551
  /**
5512
5552
  * Deserializes binary data (in protobuf wire format).
5513
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
5553
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
5514
5554
  * @return {!proto.ondewo.s2t.TranscribeStreamRequest}
5515
5555
  */
5516
5556
  proto.ondewo.s2t.TranscribeStreamRequest.deserializeBinary = function(bytes) {
@@ -5812,7 +5852,7 @@ config: (f = msg.getConfig()) && proto.ondewo.s2t.TranscribeRequestConfig.toObje
5812
5852
 
5813
5853
  /**
5814
5854
  * Deserializes binary data (in protobuf wire format).
5815
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
5855
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
5816
5856
  * @return {!proto.ondewo.s2t.TranscribeStreamResponse}
5817
5857
  */
5818
5858
  proto.ondewo.s2t.TranscribeStreamResponse.deserializeBinary = function(bytes) {
@@ -5862,7 +5902,7 @@ proto.ondewo.s2t.TranscribeStreamResponse.deserializeBinaryFromReader = function
5862
5902
  msg.setUtteranceStart(value);
5863
5903
  break;
5864
5904
  case 7:
5865
- var value = /** @type {string} */ (reader.readString());
5905
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
5866
5906
  msg.setAudioUuid(value);
5867
5907
  break;
5868
5908
  case 8:
@@ -6213,7 +6253,7 @@ config: (f = msg.getConfig()) && proto.ondewo.s2t.TranscribeRequestConfig.toObje
6213
6253
 
6214
6254
  /**
6215
6255
  * Deserializes binary data (in protobuf wire format).
6216
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
6256
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
6217
6257
  * @return {!proto.ondewo.s2t.TranscribeFileRequest}
6218
6258
  */
6219
6259
  proto.ondewo.s2t.TranscribeFileRequest.deserializeBinary = function(bytes) {
@@ -6427,7 +6467,7 @@ audioUuid: jspb.Message.getFieldWithDefault(msg, 3, "")
6427
6467
 
6428
6468
  /**
6429
6469
  * Deserializes binary data (in protobuf wire format).
6430
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
6470
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
6431
6471
  * @return {!proto.ondewo.s2t.TranscribeFileResponse}
6432
6472
  */
6433
6473
  proto.ondewo.s2t.TranscribeFileResponse.deserializeBinary = function(bytes) {
@@ -6461,7 +6501,7 @@ proto.ondewo.s2t.TranscribeFileResponse.deserializeBinaryFromReader = function(m
6461
6501
  msg.setTime(value);
6462
6502
  break;
6463
6503
  case 3:
6464
- var value = /** @type {string} */ (reader.readString());
6504
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
6465
6505
  msg.setAudioUuid(value);
6466
6506
  break;
6467
6507
  default:
@@ -6637,7 +6677,7 @@ id: jspb.Message.getFieldWithDefault(msg, 1, "")
6637
6677
 
6638
6678
  /**
6639
6679
  * Deserializes binary data (in protobuf wire format).
6640
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
6680
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
6641
6681
  * @return {!proto.ondewo.s2t.S2tPipelineId}
6642
6682
  */
6643
6683
  proto.ondewo.s2t.S2tPipelineId.deserializeBinary = function(bytes) {
@@ -6662,7 +6702,7 @@ proto.ondewo.s2t.S2tPipelineId.deserializeBinaryFromReader = function(msg, reade
6662
6702
  var field = reader.getFieldNumber();
6663
6703
  switch (field) {
6664
6704
  case 1:
6665
- var value = /** @type {string} */ (reader.readString());
6705
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
6666
6706
  msg.setId(value);
6667
6707
  break;
6668
6708
  default:
@@ -6777,7 +6817,7 @@ registeredOnly: jspb.Message.getBooleanFieldWithDefault(msg, 4, false)
6777
6817
 
6778
6818
  /**
6779
6819
  * Deserializes binary data (in protobuf wire format).
6780
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
6820
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
6781
6821
  * @return {!proto.ondewo.s2t.ListS2tPipelinesRequest}
6782
6822
  */
6783
6823
  proto.ondewo.s2t.ListS2tPipelinesRequest.deserializeBinary = function(bytes) {
@@ -6802,15 +6842,15 @@ proto.ondewo.s2t.ListS2tPipelinesRequest.deserializeBinaryFromReader = function(
6802
6842
  var field = reader.getFieldNumber();
6803
6843
  switch (field) {
6804
6844
  case 1:
6805
- var value = /** @type {string} */ (reader.readString());
6845
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
6806
6846
  msg.addLanguages(value);
6807
6847
  break;
6808
6848
  case 2:
6809
- var value = /** @type {string} */ (reader.readString());
6849
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
6810
6850
  msg.addPipelineOwners(value);
6811
6851
  break;
6812
6852
  case 3:
6813
- var value = /** @type {string} */ (reader.readString());
6853
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
6814
6854
  msg.addDomains(value);
6815
6855
  break;
6816
6856
  case 4:
@@ -7059,7 +7099,7 @@ pipelineConfigsList: jspb.Message.toObjectList(msg.getPipelineConfigsList(),
7059
7099
 
7060
7100
  /**
7061
7101
  * Deserializes binary data (in protobuf wire format).
7062
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
7102
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
7063
7103
  * @return {!proto.ondewo.s2t.ListS2tPipelinesResponse}
7064
7104
  */
7065
7105
  proto.ondewo.s2t.ListS2tPipelinesResponse.deserializeBinary = function(bytes) {
@@ -7219,7 +7259,7 @@ pipelineOwnersList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefi
7219
7259
 
7220
7260
  /**
7221
7261
  * Deserializes binary data (in protobuf wire format).
7222
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
7262
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
7223
7263
  * @return {!proto.ondewo.s2t.ListS2tLanguagesRequest}
7224
7264
  */
7225
7265
  proto.ondewo.s2t.ListS2tLanguagesRequest.deserializeBinary = function(bytes) {
@@ -7244,11 +7284,11 @@ proto.ondewo.s2t.ListS2tLanguagesRequest.deserializeBinaryFromReader = function(
7244
7284
  var field = reader.getFieldNumber();
7245
7285
  switch (field) {
7246
7286
  case 1:
7247
- var value = /** @type {string} */ (reader.readString());
7287
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
7248
7288
  msg.addDomains(value);
7249
7289
  break;
7250
7290
  case 2:
7251
- var value = /** @type {string} */ (reader.readString());
7291
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
7252
7292
  msg.addPipelineOwners(value);
7253
7293
  break;
7254
7294
  default:
@@ -7423,7 +7463,7 @@ languagesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined :
7423
7463
 
7424
7464
  /**
7425
7465
  * Deserializes binary data (in protobuf wire format).
7426
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
7466
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
7427
7467
  * @return {!proto.ondewo.s2t.ListS2tLanguagesResponse}
7428
7468
  */
7429
7469
  proto.ondewo.s2t.ListS2tLanguagesResponse.deserializeBinary = function(bytes) {
@@ -7448,7 +7488,7 @@ proto.ondewo.s2t.ListS2tLanguagesResponse.deserializeBinaryFromReader = function
7448
7488
  var field = reader.getFieldNumber();
7449
7489
  switch (field) {
7450
7490
  case 1:
7451
- var value = /** @type {string} */ (reader.readString());
7491
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
7452
7492
  msg.addLanguages(value);
7453
7493
  break;
7454
7494
  default:
@@ -7580,7 +7620,7 @@ pipelineOwnersList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefi
7580
7620
 
7581
7621
  /**
7582
7622
  * Deserializes binary data (in protobuf wire format).
7583
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
7623
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
7584
7624
  * @return {!proto.ondewo.s2t.ListS2tDomainsRequest}
7585
7625
  */
7586
7626
  proto.ondewo.s2t.ListS2tDomainsRequest.deserializeBinary = function(bytes) {
@@ -7605,11 +7645,11 @@ proto.ondewo.s2t.ListS2tDomainsRequest.deserializeBinaryFromReader = function(ms
7605
7645
  var field = reader.getFieldNumber();
7606
7646
  switch (field) {
7607
7647
  case 1:
7608
- var value = /** @type {string} */ (reader.readString());
7648
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
7609
7649
  msg.addLanguages(value);
7610
7650
  break;
7611
7651
  case 2:
7612
- var value = /** @type {string} */ (reader.readString());
7652
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
7613
7653
  msg.addPipelineOwners(value);
7614
7654
  break;
7615
7655
  default:
@@ -7784,7 +7824,7 @@ domainsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
7784
7824
 
7785
7825
  /**
7786
7826
  * Deserializes binary data (in protobuf wire format).
7787
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
7827
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
7788
7828
  * @return {!proto.ondewo.s2t.ListS2tDomainsResponse}
7789
7829
  */
7790
7830
  proto.ondewo.s2t.ListS2tDomainsResponse.deserializeBinary = function(bytes) {
@@ -7809,7 +7849,7 @@ proto.ondewo.s2t.ListS2tDomainsResponse.deserializeBinaryFromReader = function(m
7809
7849
  var field = reader.getFieldNumber();
7810
7850
  switch (field) {
7811
7851
  case 1:
7812
- var value = /** @type {string} */ (reader.readString());
7852
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
7813
7853
  msg.addDomains(value);
7814
7854
  break;
7815
7855
  default:
@@ -7933,7 +7973,7 @@ version: jspb.Message.getFieldWithDefault(msg, 1, "")
7933
7973
 
7934
7974
  /**
7935
7975
  * Deserializes binary data (in protobuf wire format).
7936
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
7976
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
7937
7977
  * @return {!proto.ondewo.s2t.S2tGetServiceInfoResponse}
7938
7978
  */
7939
7979
  proto.ondewo.s2t.S2tGetServiceInfoResponse.deserializeBinary = function(bytes) {
@@ -7958,7 +7998,7 @@ proto.ondewo.s2t.S2tGetServiceInfoResponse.deserializeBinaryFromReader = functio
7958
7998
  var field = reader.getFieldNumber();
7959
7999
  switch (field) {
7960
8000
  case 1:
7961
- var value = /** @type {string} */ (reader.readString());
8001
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
7962
8002
  msg.setVersion(value);
7963
8003
  break;
7964
8004
  default:
@@ -8070,7 +8110,7 @@ logging: (f = msg.getLogging()) && proto.ondewo.s2t.Logging.toObject(includeInst
8070
8110
 
8071
8111
  /**
8072
8112
  * Deserializes binary data (in protobuf wire format).
8073
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
8113
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
8074
8114
  * @return {!proto.ondewo.s2t.Speech2TextConfig}
8075
8115
  */
8076
8116
  proto.ondewo.s2t.Speech2TextConfig.deserializeBinary = function(bytes) {
@@ -8095,7 +8135,7 @@ proto.ondewo.s2t.Speech2TextConfig.deserializeBinaryFromReader = function(msg, r
8095
8135
  var field = reader.getFieldNumber();
8096
8136
  switch (field) {
8097
8137
  case 1:
8098
- var value = /** @type {string} */ (reader.readString());
8138
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
8099
8139
  msg.setId(value);
8100
8140
  break;
8101
8141
  case 2:
@@ -8532,7 +8572,7 @@ comments: jspb.Message.getFieldWithDefault(msg, 4, "")
8532
8572
 
8533
8573
  /**
8534
8574
  * Deserializes binary data (in protobuf wire format).
8535
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
8575
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
8536
8576
  * @return {!proto.ondewo.s2t.S2tDescription}
8537
8577
  */
8538
8578
  proto.ondewo.s2t.S2tDescription.deserializeBinary = function(bytes) {
@@ -8557,19 +8597,19 @@ proto.ondewo.s2t.S2tDescription.deserializeBinaryFromReader = function(msg, read
8557
8597
  var field = reader.getFieldNumber();
8558
8598
  switch (field) {
8559
8599
  case 1:
8560
- var value = /** @type {string} */ (reader.readString());
8600
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
8561
8601
  msg.setLanguage(value);
8562
8602
  break;
8563
8603
  case 2:
8564
- var value = /** @type {string} */ (reader.readString());
8604
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
8565
8605
  msg.setPipelineOwner(value);
8566
8606
  break;
8567
8607
  case 3:
8568
- var value = /** @type {string} */ (reader.readString());
8608
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
8569
8609
  msg.setDomain(value);
8570
8610
  break;
8571
8611
  case 4:
8572
- var value = /** @type {string} */ (reader.readString());
8612
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
8573
8613
  msg.setComments(value);
8574
8614
  break;
8575
8615
  default:
@@ -8751,7 +8791,7 @@ inferenceBackend: jspb.Message.getFieldWithDefault(msg, 3, 0)
8751
8791
 
8752
8792
  /**
8753
8793
  * Deserializes binary data (in protobuf wire format).
8754
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
8794
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
8755
8795
  * @return {!proto.ondewo.s2t.S2tInference}
8756
8796
  */
8757
8797
  proto.ondewo.s2t.S2tInference.deserializeBinary = function(bytes) {
@@ -8990,7 +9030,7 @@ parakeet: (f = msg.getParakeet()) && proto.ondewo.s2t.Parakeet.toObject(includeI
8990
9030
 
8991
9031
  /**
8992
9032
  * Deserializes binary data (in protobuf wire format).
8993
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
9033
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
8994
9034
  * @return {!proto.ondewo.s2t.AcousticModels}
8995
9035
  */
8996
9036
  proto.ondewo.s2t.AcousticModels.deserializeBinary = function(bytes) {
@@ -9015,7 +9055,7 @@ proto.ondewo.s2t.AcousticModels.deserializeBinaryFromReader = function(msg, read
9015
9055
  var field = reader.getFieldNumber();
9016
9056
  switch (field) {
9017
9057
  case 1:
9018
- var value = /** @type {string} */ (reader.readString());
9058
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
9019
9059
  msg.setType(value);
9020
9060
  break;
9021
9061
  case 2:
@@ -9575,7 +9615,7 @@ vocabularyName: jspb.Message.getFieldWithDefault(msg, 6, "")
9575
9615
 
9576
9616
  /**
9577
9617
  * Deserializes binary data (in protobuf wire format).
9578
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
9618
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
9579
9619
  * @return {!proto.ondewo.s2t.S2tCloudServiceAmazon}
9580
9620
  */
9581
9621
  proto.ondewo.s2t.S2tCloudServiceAmazon.deserializeBinary = function(bytes) {
@@ -9600,7 +9640,7 @@ proto.ondewo.s2t.S2tCloudServiceAmazon.deserializeBinaryFromReader = function(ms
9600
9640
  var field = reader.getFieldNumber();
9601
9641
  switch (field) {
9602
9642
  case 1:
9603
- var value = /** @type {string} */ (reader.readString());
9643
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
9604
9644
  msg.setLanguage(value);
9605
9645
  break;
9606
9646
  case 2:
@@ -9612,15 +9652,15 @@ proto.ondewo.s2t.S2tCloudServiceAmazon.deserializeBinaryFromReader = function(ms
9612
9652
  msg.setEnablePartialResultsStabilization(value);
9613
9653
  break;
9614
9654
  case 4:
9615
- var value = /** @type {string} */ (reader.readString());
9655
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
9616
9656
  msg.setPartialResultsStability(value);
9617
9657
  break;
9618
9658
  case 5:
9619
- var value = /** @type {string} */ (reader.readString());
9659
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
9620
9660
  msg.setLanguageModelName(value);
9621
9661
  break;
9622
9662
  case 6:
9623
- var value = /** @type {string} */ (reader.readString());
9663
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
9624
9664
  msg.setVocabularyName(value);
9625
9665
  break;
9626
9666
  default:
@@ -9856,7 +9896,7 @@ dictation: jspb.Message.getBooleanFieldWithDefault(msg, 7, false)
9856
9896
 
9857
9897
  /**
9858
9898
  * Deserializes binary data (in protobuf wire format).
9859
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
9899
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
9860
9900
  * @return {!proto.ondewo.s2t.S2tCloudServiceDeepgram}
9861
9901
  */
9862
9902
  proto.ondewo.s2t.S2tCloudServiceDeepgram.deserializeBinary = function(bytes) {
@@ -9881,11 +9921,11 @@ proto.ondewo.s2t.S2tCloudServiceDeepgram.deserializeBinaryFromReader = function(
9881
9921
  var field = reader.getFieldNumber();
9882
9922
  switch (field) {
9883
9923
  case 1:
9884
- var value = /** @type {string} */ (reader.readString());
9924
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
9885
9925
  msg.setModelName(value);
9886
9926
  break;
9887
9927
  case 2:
9888
- var value = /** @type {string} */ (reader.readString());
9928
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
9889
9929
  msg.setLanguage(value);
9890
9930
  break;
9891
9931
  case 3:
@@ -10166,7 +10206,7 @@ maxAlternatives: jspb.Message.getFieldWithDefault(msg, 7, 0)
10166
10206
 
10167
10207
  /**
10168
10208
  * Deserializes binary data (in protobuf wire format).
10169
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
10209
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
10170
10210
  * @return {!proto.ondewo.s2t.S2tCloudServiceGoogle}
10171
10211
  */
10172
10212
  proto.ondewo.s2t.S2tCloudServiceGoogle.deserializeBinary = function(bytes) {
@@ -10191,11 +10231,11 @@ proto.ondewo.s2t.S2tCloudServiceGoogle.deserializeBinaryFromReader = function(ms
10191
10231
  var field = reader.getFieldNumber();
10192
10232
  switch (field) {
10193
10233
  case 1:
10194
- var value = /** @type {string} */ (reader.readString());
10234
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
10195
10235
  msg.setModelName(value);
10196
10236
  break;
10197
10237
  case 2:
10198
- var value = /** @type {string} */ (reader.readString());
10238
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
10199
10239
  msg.setLanguage(value);
10200
10240
  break;
10201
10241
  case 3:
@@ -10472,7 +10512,7 @@ useDetailedOutputFormat: jspb.Message.getBooleanFieldWithDefault(msg, 3, false)
10472
10512
 
10473
10513
  /**
10474
10514
  * Deserializes binary data (in protobuf wire format).
10475
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
10515
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
10476
10516
  * @return {!proto.ondewo.s2t.S2tCloudServiceMicrosoft}
10477
10517
  */
10478
10518
  proto.ondewo.s2t.S2tCloudServiceMicrosoft.deserializeBinary = function(bytes) {
@@ -10497,7 +10537,7 @@ proto.ondewo.s2t.S2tCloudServiceMicrosoft.deserializeBinaryFromReader = function
10497
10537
  var field = reader.getFieldNumber();
10498
10538
  switch (field) {
10499
10539
  case 1:
10500
- var value = /** @type {string} */ (reader.readString());
10540
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
10501
10541
  msg.setLanguage(value);
10502
10542
  break;
10503
10543
  case 2:
@@ -10663,7 +10703,7 @@ task: jspb.Message.getFieldWithDefault(msg, 4, "")
10663
10703
 
10664
10704
  /**
10665
10705
  * Deserializes binary data (in protobuf wire format).
10666
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
10706
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
10667
10707
  * @return {!proto.ondewo.s2t.Whisper}
10668
10708
  */
10669
10709
  proto.ondewo.s2t.Whisper.deserializeBinary = function(bytes) {
@@ -10688,7 +10728,7 @@ proto.ondewo.s2t.Whisper.deserializeBinaryFromReader = function(msg, reader) {
10688
10728
  var field = reader.getFieldNumber();
10689
10729
  switch (field) {
10690
10730
  case 1:
10691
- var value = /** @type {string} */ (reader.readString());
10731
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
10692
10732
  msg.setModelPath(value);
10693
10733
  break;
10694
10734
  case 2:
@@ -10696,11 +10736,11 @@ proto.ondewo.s2t.Whisper.deserializeBinaryFromReader = function(msg, reader) {
10696
10736
  msg.setUseGpu(value);
10697
10737
  break;
10698
10738
  case 3:
10699
- var value = /** @type {string} */ (reader.readString());
10739
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
10700
10740
  msg.setLanguage(value);
10701
10741
  break;
10702
10742
  case 4:
10703
- var value = /** @type {string} */ (reader.readString());
10743
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
10704
10744
  msg.setTask(value);
10705
10745
  break;
10706
10746
  default:
@@ -10887,7 +10927,7 @@ tritonServerPort: jspb.Message.getFieldWithDefault(msg, 8, 0)
10887
10927
 
10888
10928
  /**
10889
10929
  * Deserializes binary data (in protobuf wire format).
10890
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
10930
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
10891
10931
  * @return {!proto.ondewo.s2t.WhisperTriton}
10892
10932
  */
10893
10933
  proto.ondewo.s2t.WhisperTriton.deserializeBinary = function(bytes) {
@@ -10912,15 +10952,15 @@ proto.ondewo.s2t.WhisperTriton.deserializeBinaryFromReader = function(msg, reade
10912
10952
  var field = reader.getFieldNumber();
10913
10953
  switch (field) {
10914
10954
  case 1:
10915
- var value = /** @type {string} */ (reader.readString());
10955
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
10916
10956
  msg.setProcessorPath(value);
10917
10957
  break;
10918
10958
  case 2:
10919
- var value = /** @type {string} */ (reader.readString());
10959
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
10920
10960
  msg.setTritonModelName(value);
10921
10961
  break;
10922
10962
  case 3:
10923
- var value = /** @type {string} */ (reader.readString());
10963
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
10924
10964
  msg.setTritonModelVersion(value);
10925
10965
  break;
10926
10966
  case 4:
@@ -10928,15 +10968,15 @@ proto.ondewo.s2t.WhisperTriton.deserializeBinaryFromReader = function(msg, reade
10928
10968
  msg.setCheckStatusTimeout(value);
10929
10969
  break;
10930
10970
  case 5:
10931
- var value = /** @type {string} */ (reader.readString());
10971
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
10932
10972
  msg.setLanguage(value);
10933
10973
  break;
10934
10974
  case 6:
10935
- var value = /** @type {string} */ (reader.readString());
10975
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
10936
10976
  msg.setTask(value);
10937
10977
  break;
10938
10978
  case 7:
10939
- var value = /** @type {string} */ (reader.readString());
10979
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
10940
10980
  msg.setTritonServerHost(value);
10941
10981
  break;
10942
10982
  case 8:
@@ -11221,7 +11261,7 @@ useGpu: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
11221
11261
 
11222
11262
  /**
11223
11263
  * Deserializes binary data (in protobuf wire format).
11224
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
11264
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
11225
11265
  * @return {!proto.ondewo.s2t.Wav2Vec}
11226
11266
  */
11227
11267
  proto.ondewo.s2t.Wav2Vec.deserializeBinary = function(bytes) {
@@ -11246,7 +11286,7 @@ proto.ondewo.s2t.Wav2Vec.deserializeBinaryFromReader = function(msg, reader) {
11246
11286
  var field = reader.getFieldNumber();
11247
11287
  switch (field) {
11248
11288
  case 1:
11249
- var value = /** @type {string} */ (reader.readString());
11289
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
11250
11290
  msg.setModelPath(value);
11251
11291
  break;
11252
11292
  case 2:
@@ -11385,7 +11425,7 @@ tritonServerPort: jspb.Message.getFieldWithDefault(msg, 6, 0)
11385
11425
 
11386
11426
  /**
11387
11427
  * Deserializes binary data (in protobuf wire format).
11388
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
11428
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
11389
11429
  * @return {!proto.ondewo.s2t.Wav2VecTriton}
11390
11430
  */
11391
11431
  proto.ondewo.s2t.Wav2VecTriton.deserializeBinary = function(bytes) {
@@ -11410,15 +11450,15 @@ proto.ondewo.s2t.Wav2VecTriton.deserializeBinaryFromReader = function(msg, reade
11410
11450
  var field = reader.getFieldNumber();
11411
11451
  switch (field) {
11412
11452
  case 1:
11413
- var value = /** @type {string} */ (reader.readString());
11453
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
11414
11454
  msg.setProcessorPath(value);
11415
11455
  break;
11416
11456
  case 2:
11417
- var value = /** @type {string} */ (reader.readString());
11457
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
11418
11458
  msg.setTritonModelName(value);
11419
11459
  break;
11420
11460
  case 3:
11421
- var value = /** @type {string} */ (reader.readString());
11461
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
11422
11462
  msg.setTritonModelVersion(value);
11423
11463
  break;
11424
11464
  case 4:
@@ -11426,7 +11466,7 @@ proto.ondewo.s2t.Wav2VecTriton.deserializeBinaryFromReader = function(msg, reade
11426
11466
  msg.setCheckStatusTimeout(value);
11427
11467
  break;
11428
11468
  case 5:
11429
- var value = /** @type {string} */ (reader.readString());
11469
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
11430
11470
  msg.setTritonServerHost(value);
11431
11471
  break;
11432
11472
  case 6:
@@ -11664,7 +11704,7 @@ tritonServerPort: jspb.Message.getFieldWithDefault(msg, 5, 0)
11664
11704
 
11665
11705
  /**
11666
11706
  * Deserializes binary data (in protobuf wire format).
11667
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
11707
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
11668
11708
  * @return {!proto.ondewo.s2t.Parakeet}
11669
11709
  */
11670
11710
  proto.ondewo.s2t.Parakeet.deserializeBinary = function(bytes) {
@@ -11689,11 +11729,11 @@ proto.ondewo.s2t.Parakeet.deserializeBinaryFromReader = function(msg, reader) {
11689
11729
  var field = reader.getFieldNumber();
11690
11730
  switch (field) {
11691
11731
  case 1:
11692
- var value = /** @type {string} */ (reader.readString());
11732
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
11693
11733
  msg.setTritonModelName(value);
11694
11734
  break;
11695
11735
  case 2:
11696
- var value = /** @type {string} */ (reader.readString());
11736
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
11697
11737
  msg.setTritonModelVersion(value);
11698
11738
  break;
11699
11739
  case 3:
@@ -11701,7 +11741,7 @@ proto.ondewo.s2t.Parakeet.deserializeBinaryFromReader = function(msg, reader) {
11701
11741
  msg.setCheckStatusTimeout(value);
11702
11742
  break;
11703
11743
  case 4:
11704
- var value = /** @type {string} */ (reader.readString());
11744
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
11705
11745
  msg.setTritonServerHost(value);
11706
11746
  break;
11707
11747
  case 5:
@@ -11911,7 +11951,7 @@ step: jspb.Message.getFieldWithDefault(msg, 2, "")
11911
11951
 
11912
11952
  /**
11913
11953
  * Deserializes binary data (in protobuf wire format).
11914
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
11954
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
11915
11955
  * @return {!proto.ondewo.s2t.PtFiles}
11916
11956
  */
11917
11957
  proto.ondewo.s2t.PtFiles.deserializeBinary = function(bytes) {
@@ -11936,11 +11976,11 @@ proto.ondewo.s2t.PtFiles.deserializeBinaryFromReader = function(msg, reader) {
11936
11976
  var field = reader.getFieldNumber();
11937
11977
  switch (field) {
11938
11978
  case 1:
11939
- var value = /** @type {string} */ (reader.readString());
11979
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
11940
11980
  msg.setPath(value);
11941
11981
  break;
11942
11982
  case 2:
11943
- var value = /** @type {string} */ (reader.readString());
11983
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
11944
11984
  msg.setStep(value);
11945
11985
  break;
11946
11986
  default:
@@ -12070,7 +12110,7 @@ path: jspb.Message.getFieldWithDefault(msg, 1, "")
12070
12110
 
12071
12111
  /**
12072
12112
  * Deserializes binary data (in protobuf wire format).
12073
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
12113
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
12074
12114
  * @return {!proto.ondewo.s2t.CkptFile}
12075
12115
  */
12076
12116
  proto.ondewo.s2t.CkptFile.deserializeBinary = function(bytes) {
@@ -12095,7 +12135,7 @@ proto.ondewo.s2t.CkptFile.deserializeBinaryFromReader = function(msg, reader) {
12095
12135
  var field = reader.getFieldNumber();
12096
12136
  switch (field) {
12097
12137
  case 1:
12098
- var value = /** @type {string} */ (reader.readString());
12138
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
12099
12139
  msg.setPath(value);
12100
12140
  break;
12101
12141
  default:
@@ -12204,7 +12244,7 @@ beamSearchScorerBeta: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0)
12204
12244
 
12205
12245
  /**
12206
12246
  * Deserializes binary data (in protobuf wire format).
12207
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
12247
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
12208
12248
  * @return {!proto.ondewo.s2t.LanguageModels}
12209
12249
  */
12210
12250
  proto.ondewo.s2t.LanguageModels.deserializeBinary = function(bytes) {
@@ -12229,7 +12269,7 @@ proto.ondewo.s2t.LanguageModels.deserializeBinaryFromReader = function(msg, read
12229
12269
  var field = reader.getFieldNumber();
12230
12270
  switch (field) {
12231
12271
  case 1:
12232
- var value = /** @type {string} */ (reader.readString());
12272
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
12233
12273
  msg.setPath(value);
12234
12274
  break;
12235
12275
  case 2:
@@ -12237,7 +12277,7 @@ proto.ondewo.s2t.LanguageModels.deserializeBinaryFromReader = function(msg, read
12237
12277
  msg.setBeamSize(value);
12238
12278
  break;
12239
12279
  case 3:
12240
- var value = /** @type {string} */ (reader.readString());
12280
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
12241
12281
  msg.setDefaultLm(value);
12242
12282
  break;
12243
12283
  case 4:
@@ -12453,7 +12493,7 @@ streamingSpeechRecognition: (f = msg.getStreamingSpeechRecognition()) && proto.o
12453
12493
 
12454
12494
  /**
12455
12495
  * Deserializes binary data (in protobuf wire format).
12456
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
12496
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
12457
12497
  * @return {!proto.ondewo.s2t.StreamingServer}
12458
12498
  */
12459
12499
  proto.ondewo.s2t.StreamingServer.deserializeBinary = function(bytes) {
@@ -12478,7 +12518,7 @@ proto.ondewo.s2t.StreamingServer.deserializeBinaryFromReader = function(msg, rea
12478
12518
  var field = reader.getFieldNumber();
12479
12519
  switch (field) {
12480
12520
  case 1:
12481
- var value = /** @type {string} */ (reader.readString());
12521
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
12482
12522
  msg.setHost(value);
12483
12523
  break;
12484
12524
  case 2:
@@ -12486,7 +12526,7 @@ proto.ondewo.s2t.StreamingServer.deserializeBinaryFromReader = function(msg, rea
12486
12526
  msg.setPort(value);
12487
12527
  break;
12488
12528
  case 3:
12489
- var value = /** @type {string} */ (reader.readString());
12529
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
12490
12530
  msg.setOutputStyle(value);
12491
12531
  break;
12492
12532
  case 4:
@@ -12696,7 +12736,7 @@ turnDetection: (f = msg.getTurnDetection()) && proto.ondewo.s2t.TurnDetectionOpt
12696
12736
 
12697
12737
  /**
12698
12738
  * Deserializes binary data (in protobuf wire format).
12699
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
12739
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
12700
12740
  * @return {!proto.ondewo.s2t.StreamingSpeechRecognition}
12701
12741
  */
12702
12742
  proto.ondewo.s2t.StreamingSpeechRecognition.deserializeBinary = function(bytes) {
@@ -12725,7 +12765,7 @@ proto.ondewo.s2t.StreamingSpeechRecognition.deserializeBinaryFromReader = functi
12725
12765
  msg.setTranscribeNotFinal(value);
12726
12766
  break;
12727
12767
  case 2:
12728
- var value = /** @type {string} */ (reader.readString());
12768
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
12729
12769
  msg.setDecodingMethod(value);
12730
12770
  break;
12731
12771
  case 3:
@@ -12996,7 +13036,7 @@ turnDetectionLlmOpenaiOptions: (f = msg.getTurnDetectionLlmOpenaiOptions()) && p
12996
13036
 
12997
13037
  /**
12998
13038
  * Deserializes binary data (in protobuf wire format).
12999
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
13039
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
13000
13040
  * @return {!proto.ondewo.s2t.TurnDetectionOptions}
13001
13041
  */
13002
13042
  proto.ondewo.s2t.TurnDetectionOptions.deserializeBinary = function(bytes) {
@@ -13029,11 +13069,11 @@ proto.ondewo.s2t.TurnDetectionOptions.deserializeBinaryFromReader = function(msg
13029
13069
  msg.setFullUtteranceDeployment(value);
13030
13070
  break;
13031
13071
  case 3:
13032
- var value = /** @type {string} */ (reader.readString());
13072
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
13033
13073
  msg.setTurnDetectionSystemPrompt(value);
13034
13074
  break;
13035
13075
  case 4:
13036
- var value = /** @type {string} */ (reader.readString());
13076
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
13037
13077
  msg.setTurnDetectionUserPrompt(value);
13038
13078
  break;
13039
13079
  case 5:
@@ -13375,7 +13415,7 @@ extraBody: (f = msg.getExtraBody()) && google_protobuf_struct_pb.Struct.toObject
13375
13415
 
13376
13416
  /**
13377
13417
  * Deserializes binary data (in protobuf wire format).
13378
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
13418
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
13379
13419
  * @return {!proto.ondewo.s2t.OpenaiLlmOptions}
13380
13420
  */
13381
13421
  proto.ondewo.s2t.OpenaiLlmOptions.deserializeBinary = function(bytes) {
@@ -13400,27 +13440,27 @@ proto.ondewo.s2t.OpenaiLlmOptions.deserializeBinaryFromReader = function(msg, re
13400
13440
  var field = reader.getFieldNumber();
13401
13441
  switch (field) {
13402
13442
  case 1:
13403
- var value = /** @type {string} */ (reader.readString());
13443
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
13404
13444
  msg.setApiKey(value);
13405
13445
  break;
13406
13446
  case 2:
13407
- var value = /** @type {string} */ (reader.readString());
13447
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
13408
13448
  msg.setOrganization(value);
13409
13449
  break;
13410
13450
  case 3:
13411
- var value = /** @type {string} */ (reader.readString());
13451
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
13412
13452
  msg.setProject(value);
13413
13453
  break;
13414
13454
  case 4:
13415
- var value = /** @type {string} */ (reader.readString());
13455
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
13416
13456
  msg.setWebhookSecret(value);
13417
13457
  break;
13418
13458
  case 5:
13419
- var value = /** @type {string} */ (reader.readString());
13459
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
13420
13460
  msg.setBaseUrl(value);
13421
13461
  break;
13422
13462
  case 6:
13423
- var value = /** @type {string} */ (reader.readString());
13463
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
13424
13464
  msg.setWebsocketBaseUrl(value);
13425
13465
  break;
13426
13466
  case 7:
@@ -13434,7 +13474,7 @@ proto.ondewo.s2t.OpenaiLlmOptions.deserializeBinaryFromReader = function(msg, re
13434
13474
  case 9:
13435
13475
  var value = msg.getDefaultHeadersMap();
13436
13476
  reader.readMessage(value, function(message, reader) {
13437
- jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
13477
+ jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readStringRequireUtf8, jspb.BinaryReader.prototype.readStringRequireUtf8, null, "", "");
13438
13478
  });
13439
13479
  break;
13440
13480
  case 10:
@@ -13447,7 +13487,7 @@ proto.ondewo.s2t.OpenaiLlmOptions.deserializeBinaryFromReader = function(msg, re
13447
13487
  msg.setStrictResponseValidation(value);
13448
13488
  break;
13449
13489
  case 12:
13450
- var value = /** @type {string} */ (reader.readString());
13490
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
13451
13491
  msg.setModel(value);
13452
13492
  break;
13453
13493
  case 13:
@@ -13457,7 +13497,7 @@ proto.ondewo.s2t.OpenaiLlmOptions.deserializeBinaryFromReader = function(msg, re
13457
13497
  case 14:
13458
13498
  var value = msg.getLogitBiasMap();
13459
13499
  reader.readMessage(value, function(message, reader) {
13460
- jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readInt32, null, "", 0);
13500
+ jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readStringRequireUtf8, jspb.BinaryReader.prototype.readInt32, null, "", 0);
13461
13501
  });
13462
13502
  break;
13463
13503
  case 15:
@@ -13486,7 +13526,7 @@ proto.ondewo.s2t.OpenaiLlmOptions.deserializeBinaryFromReader = function(msg, re
13486
13526
  msg.setPresencePenalty(value);
13487
13527
  break;
13488
13528
  case 21:
13489
- var value = /** @type {string} */ (reader.readString());
13529
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
13490
13530
  msg.setPromptCacheKey(value);
13491
13531
  break;
13492
13532
  case 22:
@@ -13502,7 +13542,7 @@ proto.ondewo.s2t.OpenaiLlmOptions.deserializeBinaryFromReader = function(msg, re
13502
13542
  msg.setServiceTier(value);
13503
13543
  break;
13504
13544
  case 25:
13505
- var value = /** @type {string} */ (reader.readString());
13545
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
13506
13546
  msg.addStop(value);
13507
13547
  break;
13508
13548
  case 26:
@@ -13522,7 +13562,7 @@ proto.ondewo.s2t.OpenaiLlmOptions.deserializeBinaryFromReader = function(msg, re
13522
13562
  msg.setTopP(value);
13523
13563
  break;
13524
13564
  case 30:
13525
- var value = /** @type {string} */ (reader.readString());
13565
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
13526
13566
  msg.setUser(value);
13527
13567
  break;
13528
13568
  case 31:
@@ -13631,7 +13671,12 @@ proto.ondewo.s2t.OpenaiLlmOptions.serializeBinaryToWriter = function(message, wr
13631
13671
  }
13632
13672
  f = message.getDefaultHeadersMap(true);
13633
13673
  if (f && f.getLength() > 0) {
13634
- f.serializeBinary(9, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
13674
+ jspb.internal.public_for_gencode.serializeMapToBinary(
13675
+ message.getDefaultHeadersMap(true),
13676
+ 9,
13677
+ writer,
13678
+ jspb.BinaryWriter.prototype.writeString,
13679
+ jspb.BinaryWriter.prototype.writeString);
13635
13680
  }
13636
13681
  f = message.getDefaultQuery();
13637
13682
  if (f != null) {
@@ -13664,7 +13709,12 @@ proto.ondewo.s2t.OpenaiLlmOptions.serializeBinaryToWriter = function(message, wr
13664
13709
  }
13665
13710
  f = message.getLogitBiasMap(true);
13666
13711
  if (f && f.getLength() > 0) {
13667
- f.serializeBinary(14, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeInt32);
13712
+ jspb.internal.public_for_gencode.serializeMapToBinary(
13713
+ message.getLogitBiasMap(true),
13714
+ 14,
13715
+ writer,
13716
+ jspb.BinaryWriter.prototype.writeString,
13717
+ jspb.BinaryWriter.prototype.writeInt32);
13668
13718
  }
13669
13719
  f = /** @type {boolean} */ (jspb.Message.getField(message, 15));
13670
13720
  if (f != null) {
@@ -15033,7 +15083,11 @@ proto.ondewo.s2t.VoiceActivityDetection.toObject = function(includeInstance, msg
15033
15083
  var f, obj = {
15034
15084
  active: jspb.Message.getFieldWithDefault(msg, 1, ""),
15035
15085
  samplingRate: jspb.Message.getFieldWithDefault(msg, 2, 0),
15036
- pyannote: (f = msg.getPyannote()) && proto.ondewo.s2t.Pyannote.toObject(includeInstance, f)
15086
+ pyannote: (f = msg.getPyannote()) && proto.ondewo.s2t.Pyannote.toObject(includeInstance, f),
15087
+ silero: (f = msg.getSilero()) && proto.ondewo.s2t.Silero.toObject(includeInstance, f),
15088
+ wespeakerTsd: (f = msg.getWespeakerTsd()) && proto.ondewo.s2t.WespeakerTsd.toObject(includeInstance, f),
15089
+ vadMethod: jspb.Message.getFieldWithDefault(msg, 6, 0),
15090
+ tsdMethod: jspb.Message.getFieldWithDefault(msg, 7, 0)
15037
15091
  };
15038
15092
 
15039
15093
  if (includeInstance) {
@@ -15046,7 +15100,7 @@ pyannote: (f = msg.getPyannote()) && proto.ondewo.s2t.Pyannote.toObject(includeI
15046
15100
 
15047
15101
  /**
15048
15102
  * Deserializes binary data (in protobuf wire format).
15049
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
15103
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
15050
15104
  * @return {!proto.ondewo.s2t.VoiceActivityDetection}
15051
15105
  */
15052
15106
  proto.ondewo.s2t.VoiceActivityDetection.deserializeBinary = function(bytes) {
@@ -15071,7 +15125,7 @@ proto.ondewo.s2t.VoiceActivityDetection.deserializeBinaryFromReader = function(m
15071
15125
  var field = reader.getFieldNumber();
15072
15126
  switch (field) {
15073
15127
  case 1:
15074
- var value = /** @type {string} */ (reader.readString());
15128
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
15075
15129
  msg.setActive(value);
15076
15130
  break;
15077
15131
  case 2:
@@ -15083,6 +15137,24 @@ proto.ondewo.s2t.VoiceActivityDetection.deserializeBinaryFromReader = function(m
15083
15137
  reader.readMessage(value,proto.ondewo.s2t.Pyannote.deserializeBinaryFromReader);
15084
15138
  msg.setPyannote(value);
15085
15139
  break;
15140
+ case 4:
15141
+ var value = new proto.ondewo.s2t.Silero;
15142
+ reader.readMessage(value,proto.ondewo.s2t.Silero.deserializeBinaryFromReader);
15143
+ msg.setSilero(value);
15144
+ break;
15145
+ case 5:
15146
+ var value = new proto.ondewo.s2t.WespeakerTsd;
15147
+ reader.readMessage(value,proto.ondewo.s2t.WespeakerTsd.deserializeBinaryFromReader);
15148
+ msg.setWespeakerTsd(value);
15149
+ break;
15150
+ case 6:
15151
+ var value = /** @type {!proto.ondewo.s2t.VadMethod} */ (reader.readEnum());
15152
+ msg.setVadMethod(value);
15153
+ break;
15154
+ case 7:
15155
+ var value = /** @type {!proto.ondewo.s2t.TsdMethod} */ (reader.readEnum());
15156
+ msg.setTsdMethod(value);
15157
+ break;
15086
15158
  default:
15087
15159
  reader.skipField();
15088
15160
  break;
@@ -15134,6 +15206,36 @@ proto.ondewo.s2t.VoiceActivityDetection.serializeBinaryToWriter = function(messa
15134
15206
  proto.ondewo.s2t.Pyannote.serializeBinaryToWriter
15135
15207
  );
15136
15208
  }
15209
+ f = message.getSilero();
15210
+ if (f != null) {
15211
+ writer.writeMessage(
15212
+ 4,
15213
+ f,
15214
+ proto.ondewo.s2t.Silero.serializeBinaryToWriter
15215
+ );
15216
+ }
15217
+ f = message.getWespeakerTsd();
15218
+ if (f != null) {
15219
+ writer.writeMessage(
15220
+ 5,
15221
+ f,
15222
+ proto.ondewo.s2t.WespeakerTsd.serializeBinaryToWriter
15223
+ );
15224
+ }
15225
+ f = message.getVadMethod();
15226
+ if (f !== 0.0) {
15227
+ writer.writeEnum(
15228
+ 6,
15229
+ f
15230
+ );
15231
+ }
15232
+ f = message.getTsdMethod();
15233
+ if (f !== 0.0) {
15234
+ writer.writeEnum(
15235
+ 7,
15236
+ f
15237
+ );
15238
+ }
15137
15239
  };
15138
15240
 
15139
15241
 
@@ -15210,6 +15312,116 @@ proto.ondewo.s2t.VoiceActivityDetection.prototype.hasPyannote = function() {
15210
15312
  };
15211
15313
 
15212
15314
 
15315
+ /**
15316
+ * optional Silero silero = 4;
15317
+ * @return {?proto.ondewo.s2t.Silero}
15318
+ */
15319
+ proto.ondewo.s2t.VoiceActivityDetection.prototype.getSilero = function() {
15320
+ return /** @type{?proto.ondewo.s2t.Silero} */ (
15321
+ jspb.Message.getWrapperField(this, proto.ondewo.s2t.Silero, 4));
15322
+ };
15323
+
15324
+
15325
+ /**
15326
+ * @param {?proto.ondewo.s2t.Silero|undefined} value
15327
+ * @return {!proto.ondewo.s2t.VoiceActivityDetection} returns this
15328
+ */
15329
+ proto.ondewo.s2t.VoiceActivityDetection.prototype.setSilero = function(value) {
15330
+ return jspb.Message.setWrapperField(this, 4, value);
15331
+ };
15332
+
15333
+
15334
+ /**
15335
+ * Clears the message field making it undefined.
15336
+ * @return {!proto.ondewo.s2t.VoiceActivityDetection} returns this
15337
+ */
15338
+ proto.ondewo.s2t.VoiceActivityDetection.prototype.clearSilero = function() {
15339
+ return this.setSilero(undefined);
15340
+ };
15341
+
15342
+
15343
+ /**
15344
+ * Returns whether this field is set.
15345
+ * @return {boolean}
15346
+ */
15347
+ proto.ondewo.s2t.VoiceActivityDetection.prototype.hasSilero = function() {
15348
+ return jspb.Message.getField(this, 4) != null;
15349
+ };
15350
+
15351
+
15352
+ /**
15353
+ * optional WespeakerTsd wespeaker_tsd = 5;
15354
+ * @return {?proto.ondewo.s2t.WespeakerTsd}
15355
+ */
15356
+ proto.ondewo.s2t.VoiceActivityDetection.prototype.getWespeakerTsd = function() {
15357
+ return /** @type{?proto.ondewo.s2t.WespeakerTsd} */ (
15358
+ jspb.Message.getWrapperField(this, proto.ondewo.s2t.WespeakerTsd, 5));
15359
+ };
15360
+
15361
+
15362
+ /**
15363
+ * @param {?proto.ondewo.s2t.WespeakerTsd|undefined} value
15364
+ * @return {!proto.ondewo.s2t.VoiceActivityDetection} returns this
15365
+ */
15366
+ proto.ondewo.s2t.VoiceActivityDetection.prototype.setWespeakerTsd = function(value) {
15367
+ return jspb.Message.setWrapperField(this, 5, value);
15368
+ };
15369
+
15370
+
15371
+ /**
15372
+ * Clears the message field making it undefined.
15373
+ * @return {!proto.ondewo.s2t.VoiceActivityDetection} returns this
15374
+ */
15375
+ proto.ondewo.s2t.VoiceActivityDetection.prototype.clearWespeakerTsd = function() {
15376
+ return this.setWespeakerTsd(undefined);
15377
+ };
15378
+
15379
+
15380
+ /**
15381
+ * Returns whether this field is set.
15382
+ * @return {boolean}
15383
+ */
15384
+ proto.ondewo.s2t.VoiceActivityDetection.prototype.hasWespeakerTsd = function() {
15385
+ return jspb.Message.getField(this, 5) != null;
15386
+ };
15387
+
15388
+
15389
+ /**
15390
+ * optional VadMethod vad_method = 6;
15391
+ * @return {!proto.ondewo.s2t.VadMethod}
15392
+ */
15393
+ proto.ondewo.s2t.VoiceActivityDetection.prototype.getVadMethod = function() {
15394
+ return /** @type {!proto.ondewo.s2t.VadMethod} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
15395
+ };
15396
+
15397
+
15398
+ /**
15399
+ * @param {!proto.ondewo.s2t.VadMethod} value
15400
+ * @return {!proto.ondewo.s2t.VoiceActivityDetection} returns this
15401
+ */
15402
+ proto.ondewo.s2t.VoiceActivityDetection.prototype.setVadMethod = function(value) {
15403
+ return jspb.Message.setProto3EnumField(this, 6, value);
15404
+ };
15405
+
15406
+
15407
+ /**
15408
+ * optional TsdMethod tsd_method = 7;
15409
+ * @return {!proto.ondewo.s2t.TsdMethod}
15410
+ */
15411
+ proto.ondewo.s2t.VoiceActivityDetection.prototype.getTsdMethod = function() {
15412
+ return /** @type {!proto.ondewo.s2t.TsdMethod} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
15413
+ };
15414
+
15415
+
15416
+ /**
15417
+ * @param {!proto.ondewo.s2t.TsdMethod} value
15418
+ * @return {!proto.ondewo.s2t.VoiceActivityDetection} returns this
15419
+ */
15420
+ proto.ondewo.s2t.VoiceActivityDetection.prototype.setTsdMethod = function(value) {
15421
+ return jspb.Message.setProto3EnumField(this, 7, value);
15422
+ };
15423
+
15424
+
15213
15425
 
15214
15426
 
15215
15427
 
@@ -15260,7 +15472,7 @@ tritonServerPort: jspb.Message.getFieldWithDefault(msg, 6, 0)
15260
15472
 
15261
15473
  /**
15262
15474
  * Deserializes binary data (in protobuf wire format).
15263
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
15475
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
15264
15476
  * @return {!proto.ondewo.s2t.Pyannote}
15265
15477
  */
15266
15478
  proto.ondewo.s2t.Pyannote.deserializeBinary = function(bytes) {
@@ -15285,7 +15497,7 @@ proto.ondewo.s2t.Pyannote.deserializeBinaryFromReader = function(msg, reader) {
15285
15497
  var field = reader.getFieldNumber();
15286
15498
  switch (field) {
15287
15499
  case 1:
15288
- var value = /** @type {string} */ (reader.readString());
15500
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
15289
15501
  msg.setModelName(value);
15290
15502
  break;
15291
15503
  case 2:
@@ -15301,7 +15513,7 @@ proto.ondewo.s2t.Pyannote.deserializeBinaryFromReader = function(msg, reader) {
15301
15513
  msg.setMinDurationOn(value);
15302
15514
  break;
15303
15515
  case 5:
15304
- var value = /** @type {string} */ (reader.readString());
15516
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
15305
15517
  msg.setTritonServerHost(value);
15306
15518
  break;
15307
15519
  case 6:
@@ -15491,13 +15703,6 @@ proto.ondewo.s2t.Pyannote.prototype.setTritonServerPort = function(value) {
15491
15703
 
15492
15704
 
15493
15705
 
15494
- /**
15495
- * List of repeated fields within this message type.
15496
- * @private {!Array<number>}
15497
- * @const
15498
- */
15499
- proto.ondewo.s2t.PostProcessing.repeatedFields_ = [1];
15500
-
15501
15706
 
15502
15707
 
15503
15708
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -15513,8 +15718,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
15513
15718
  * http://goto/soy-param-migration
15514
15719
  * @return {!Object}
15515
15720
  */
15516
- proto.ondewo.s2t.PostProcessing.prototype.toObject = function(opt_includeInstance) {
15517
- return proto.ondewo.s2t.PostProcessing.toObject(opt_includeInstance, this);
15721
+ proto.ondewo.s2t.Silero.prototype.toObject = function(opt_includeInstance) {
15722
+ return proto.ondewo.s2t.Silero.toObject(opt_includeInstance, this);
15518
15723
  };
15519
15724
 
15520
15725
 
@@ -15523,14 +15728,20 @@ proto.ondewo.s2t.PostProcessing.prototype.toObject = function(opt_includeInstanc
15523
15728
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
15524
15729
  * the JSPB instance for transitional soy proto support:
15525
15730
  * http://goto/soy-param-migration
15526
- * @param {!proto.ondewo.s2t.PostProcessing} msg The msg instance to transform.
15731
+ * @param {!proto.ondewo.s2t.Silero} msg The msg instance to transform.
15527
15732
  * @return {!Object}
15528
15733
  * @suppress {unusedLocalVariables} f is only used for nested messages
15529
15734
  */
15530
- proto.ondewo.s2t.PostProcessing.toObject = function(includeInstance, msg) {
15735
+ proto.ondewo.s2t.Silero.toObject = function(includeInstance, msg) {
15531
15736
  var f, obj = {
15532
- pipelineList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
15533
- postProcessors: (f = msg.getPostProcessors()) && proto.ondewo.s2t.PostProcessors.toObject(includeInstance, f)
15737
+ modelName: jspb.Message.getFieldWithDefault(msg, 1, ""),
15738
+ minAudioSize: jspb.Message.getFieldWithDefault(msg, 2, 0),
15739
+ threshold: (f = jspb.Message.getOptionalFloatingPointField(msg, 3)) == null ? undefined : f,
15740
+ minSpeechDurationMs: (f = jspb.Message.getOptionalFloatingPointField(msg, 4)) == null ? undefined : f,
15741
+ minSilenceDurationMs: (f = jspb.Message.getOptionalFloatingPointField(msg, 5)) == null ? undefined : f,
15742
+ speechPadMs: (f = jspb.Message.getOptionalFloatingPointField(msg, 6)) == null ? undefined : f,
15743
+ tritonServerHost: jspb.Message.getFieldWithDefault(msg, 7, ""),
15744
+ tritonServerPort: jspb.Message.getFieldWithDefault(msg, 8, 0)
15534
15745
  };
15535
15746
 
15536
15747
  if (includeInstance) {
@@ -15543,24 +15754,24 @@ postProcessors: (f = msg.getPostProcessors()) && proto.ondewo.s2t.PostProcessors
15543
15754
 
15544
15755
  /**
15545
15756
  * Deserializes binary data (in protobuf wire format).
15546
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
15547
- * @return {!proto.ondewo.s2t.PostProcessing}
15757
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
15758
+ * @return {!proto.ondewo.s2t.Silero}
15548
15759
  */
15549
- proto.ondewo.s2t.PostProcessing.deserializeBinary = function(bytes) {
15760
+ proto.ondewo.s2t.Silero.deserializeBinary = function(bytes) {
15550
15761
  var reader = new jspb.BinaryReader(bytes);
15551
- var msg = new proto.ondewo.s2t.PostProcessing;
15552
- return proto.ondewo.s2t.PostProcessing.deserializeBinaryFromReader(msg, reader);
15762
+ var msg = new proto.ondewo.s2t.Silero;
15763
+ return proto.ondewo.s2t.Silero.deserializeBinaryFromReader(msg, reader);
15553
15764
  };
15554
15765
 
15555
15766
 
15556
15767
  /**
15557
15768
  * Deserializes binary data (in protobuf wire format) from the
15558
15769
  * given reader into the given message object.
15559
- * @param {!proto.ondewo.s2t.PostProcessing} msg The message object to deserialize into.
15770
+ * @param {!proto.ondewo.s2t.Silero} msg The message object to deserialize into.
15560
15771
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
15561
- * @return {!proto.ondewo.s2t.PostProcessing}
15772
+ * @return {!proto.ondewo.s2t.Silero}
15562
15773
  */
15563
- proto.ondewo.s2t.PostProcessing.deserializeBinaryFromReader = function(msg, reader) {
15774
+ proto.ondewo.s2t.Silero.deserializeBinaryFromReader = function(msg, reader) {
15564
15775
  while (reader.nextField()) {
15565
15776
  if (reader.isEndGroup()) {
15566
15777
  break;
@@ -15568,13 +15779,36 @@ proto.ondewo.s2t.PostProcessing.deserializeBinaryFromReader = function(msg, read
15568
15779
  var field = reader.getFieldNumber();
15569
15780
  switch (field) {
15570
15781
  case 1:
15571
- var value = /** @type {string} */ (reader.readString());
15572
- msg.addPipeline(value);
15782
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
15783
+ msg.setModelName(value);
15573
15784
  break;
15574
15785
  case 2:
15575
- var value = new proto.ondewo.s2t.PostProcessors;
15576
- reader.readMessage(value,proto.ondewo.s2t.PostProcessors.deserializeBinaryFromReader);
15577
- msg.setPostProcessors(value);
15786
+ var value = /** @type {number} */ (reader.readInt64());
15787
+ msg.setMinAudioSize(value);
15788
+ break;
15789
+ case 3:
15790
+ var value = /** @type {number} */ (reader.readFloat());
15791
+ msg.setThreshold(value);
15792
+ break;
15793
+ case 4:
15794
+ var value = /** @type {number} */ (reader.readFloat());
15795
+ msg.setMinSpeechDurationMs(value);
15796
+ break;
15797
+ case 5:
15798
+ var value = /** @type {number} */ (reader.readFloat());
15799
+ msg.setMinSilenceDurationMs(value);
15800
+ break;
15801
+ case 6:
15802
+ var value = /** @type {number} */ (reader.readFloat());
15803
+ msg.setSpeechPadMs(value);
15804
+ break;
15805
+ case 7:
15806
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
15807
+ msg.setTritonServerHost(value);
15808
+ break;
15809
+ case 8:
15810
+ var value = /** @type {number} */ (reader.readInt64());
15811
+ msg.setTritonServerPort(value);
15578
15812
  break;
15579
15813
  default:
15580
15814
  reader.skipField();
@@ -15589,9 +15823,9 @@ proto.ondewo.s2t.PostProcessing.deserializeBinaryFromReader = function(msg, read
15589
15823
  * Serializes the message to binary data (in protobuf wire format).
15590
15824
  * @return {!Uint8Array}
15591
15825
  */
15592
- proto.ondewo.s2t.PostProcessing.prototype.serializeBinary = function() {
15826
+ proto.ondewo.s2t.Silero.prototype.serializeBinary = function() {
15593
15827
  var writer = new jspb.BinaryWriter();
15594
- proto.ondewo.s2t.PostProcessing.serializeBinaryToWriter(this, writer);
15828
+ proto.ondewo.s2t.Silero.serializeBinaryToWriter(this, writer);
15595
15829
  return writer.getResultBuffer();
15596
15830
  };
15597
15831
 
@@ -15599,34 +15833,770 @@ proto.ondewo.s2t.PostProcessing.prototype.serializeBinary = function() {
15599
15833
  /**
15600
15834
  * Serializes the given message to binary data (in protobuf wire
15601
15835
  * format), writing to the given BinaryWriter.
15602
- * @param {!proto.ondewo.s2t.PostProcessing} message
15836
+ * @param {!proto.ondewo.s2t.Silero} message
15603
15837
  * @param {!jspb.BinaryWriter} writer
15604
15838
  * @suppress {unusedLocalVariables} f is only used for nested messages
15605
15839
  */
15606
- proto.ondewo.s2t.PostProcessing.serializeBinaryToWriter = function(message, writer) {
15840
+ proto.ondewo.s2t.Silero.serializeBinaryToWriter = function(message, writer) {
15607
15841
  var f = undefined;
15608
- f = message.getPipelineList();
15842
+ f = message.getModelName();
15609
15843
  if (f.length > 0) {
15610
- writer.writeRepeatedString(
15844
+ writer.writeString(
15611
15845
  1,
15612
15846
  f
15613
15847
  );
15614
15848
  }
15615
- f = message.getPostProcessors();
15616
- if (f != null) {
15617
- writer.writeMessage(
15849
+ f = message.getMinAudioSize();
15850
+ if (f !== 0) {
15851
+ writer.writeInt64(
15618
15852
  2,
15619
- f,
15620
- proto.ondewo.s2t.PostProcessors.serializeBinaryToWriter
15853
+ f
15854
+ );
15855
+ }
15856
+ f = /** @type {number} */ (jspb.Message.getField(message, 3));
15857
+ if (f != null) {
15858
+ writer.writeFloat(
15859
+ 3,
15860
+ f
15861
+ );
15862
+ }
15863
+ f = /** @type {number} */ (jspb.Message.getField(message, 4));
15864
+ if (f != null) {
15865
+ writer.writeFloat(
15866
+ 4,
15867
+ f
15868
+ );
15869
+ }
15870
+ f = /** @type {number} */ (jspb.Message.getField(message, 5));
15871
+ if (f != null) {
15872
+ writer.writeFloat(
15873
+ 5,
15874
+ f
15875
+ );
15876
+ }
15877
+ f = /** @type {number} */ (jspb.Message.getField(message, 6));
15878
+ if (f != null) {
15879
+ writer.writeFloat(
15880
+ 6,
15881
+ f
15882
+ );
15883
+ }
15884
+ f = message.getTritonServerHost();
15885
+ if (f.length > 0) {
15886
+ writer.writeString(
15887
+ 7,
15888
+ f
15889
+ );
15890
+ }
15891
+ f = message.getTritonServerPort();
15892
+ if (f !== 0) {
15893
+ writer.writeInt64(
15894
+ 8,
15895
+ f
15621
15896
  );
15622
15897
  }
15623
15898
  };
15624
15899
 
15625
15900
 
15626
15901
  /**
15627
- * repeated string pipeline = 1;
15628
- * @return {!Array<string>}
15629
- */
15902
+ * optional string model_name = 1;
15903
+ * @return {string}
15904
+ */
15905
+ proto.ondewo.s2t.Silero.prototype.getModelName = function() {
15906
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
15907
+ };
15908
+
15909
+
15910
+ /**
15911
+ * @param {string} value
15912
+ * @return {!proto.ondewo.s2t.Silero} returns this
15913
+ */
15914
+ proto.ondewo.s2t.Silero.prototype.setModelName = function(value) {
15915
+ return jspb.Message.setProto3StringField(this, 1, value);
15916
+ };
15917
+
15918
+
15919
+ /**
15920
+ * optional int64 min_audio_size = 2;
15921
+ * @return {number}
15922
+ */
15923
+ proto.ondewo.s2t.Silero.prototype.getMinAudioSize = function() {
15924
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
15925
+ };
15926
+
15927
+
15928
+ /**
15929
+ * @param {number} value
15930
+ * @return {!proto.ondewo.s2t.Silero} returns this
15931
+ */
15932
+ proto.ondewo.s2t.Silero.prototype.setMinAudioSize = function(value) {
15933
+ return jspb.Message.setProto3IntField(this, 2, value);
15934
+ };
15935
+
15936
+
15937
+ /**
15938
+ * optional float threshold = 3;
15939
+ * @return {number}
15940
+ */
15941
+ proto.ondewo.s2t.Silero.prototype.getThreshold = function() {
15942
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0));
15943
+ };
15944
+
15945
+
15946
+ /**
15947
+ * @param {number} value
15948
+ * @return {!proto.ondewo.s2t.Silero} returns this
15949
+ */
15950
+ proto.ondewo.s2t.Silero.prototype.setThreshold = function(value) {
15951
+ return jspb.Message.setField(this, 3, value);
15952
+ };
15953
+
15954
+
15955
+ /**
15956
+ * Clears the field making it undefined.
15957
+ * @return {!proto.ondewo.s2t.Silero} returns this
15958
+ */
15959
+ proto.ondewo.s2t.Silero.prototype.clearThreshold = function() {
15960
+ return jspb.Message.setField(this, 3, undefined);
15961
+ };
15962
+
15963
+
15964
+ /**
15965
+ * Returns whether this field is set.
15966
+ * @return {boolean}
15967
+ */
15968
+ proto.ondewo.s2t.Silero.prototype.hasThreshold = function() {
15969
+ return jspb.Message.getField(this, 3) != null;
15970
+ };
15971
+
15972
+
15973
+ /**
15974
+ * optional float min_speech_duration_ms = 4;
15975
+ * @return {number}
15976
+ */
15977
+ proto.ondewo.s2t.Silero.prototype.getMinSpeechDurationMs = function() {
15978
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
15979
+ };
15980
+
15981
+
15982
+ /**
15983
+ * @param {number} value
15984
+ * @return {!proto.ondewo.s2t.Silero} returns this
15985
+ */
15986
+ proto.ondewo.s2t.Silero.prototype.setMinSpeechDurationMs = function(value) {
15987
+ return jspb.Message.setField(this, 4, value);
15988
+ };
15989
+
15990
+
15991
+ /**
15992
+ * Clears the field making it undefined.
15993
+ * @return {!proto.ondewo.s2t.Silero} returns this
15994
+ */
15995
+ proto.ondewo.s2t.Silero.prototype.clearMinSpeechDurationMs = function() {
15996
+ return jspb.Message.setField(this, 4, undefined);
15997
+ };
15998
+
15999
+
16000
+ /**
16001
+ * Returns whether this field is set.
16002
+ * @return {boolean}
16003
+ */
16004
+ proto.ondewo.s2t.Silero.prototype.hasMinSpeechDurationMs = function() {
16005
+ return jspb.Message.getField(this, 4) != null;
16006
+ };
16007
+
16008
+
16009
+ /**
16010
+ * optional float min_silence_duration_ms = 5;
16011
+ * @return {number}
16012
+ */
16013
+ proto.ondewo.s2t.Silero.prototype.getMinSilenceDurationMs = function() {
16014
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
16015
+ };
16016
+
16017
+
16018
+ /**
16019
+ * @param {number} value
16020
+ * @return {!proto.ondewo.s2t.Silero} returns this
16021
+ */
16022
+ proto.ondewo.s2t.Silero.prototype.setMinSilenceDurationMs = function(value) {
16023
+ return jspb.Message.setField(this, 5, value);
16024
+ };
16025
+
16026
+
16027
+ /**
16028
+ * Clears the field making it undefined.
16029
+ * @return {!proto.ondewo.s2t.Silero} returns this
16030
+ */
16031
+ proto.ondewo.s2t.Silero.prototype.clearMinSilenceDurationMs = function() {
16032
+ return jspb.Message.setField(this, 5, undefined);
16033
+ };
16034
+
16035
+
16036
+ /**
16037
+ * Returns whether this field is set.
16038
+ * @return {boolean}
16039
+ */
16040
+ proto.ondewo.s2t.Silero.prototype.hasMinSilenceDurationMs = function() {
16041
+ return jspb.Message.getField(this, 5) != null;
16042
+ };
16043
+
16044
+
16045
+ /**
16046
+ * optional float speech_pad_ms = 6;
16047
+ * @return {number}
16048
+ */
16049
+ proto.ondewo.s2t.Silero.prototype.getSpeechPadMs = function() {
16050
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 6, 0.0));
16051
+ };
16052
+
16053
+
16054
+ /**
16055
+ * @param {number} value
16056
+ * @return {!proto.ondewo.s2t.Silero} returns this
16057
+ */
16058
+ proto.ondewo.s2t.Silero.prototype.setSpeechPadMs = function(value) {
16059
+ return jspb.Message.setField(this, 6, value);
16060
+ };
16061
+
16062
+
16063
+ /**
16064
+ * Clears the field making it undefined.
16065
+ * @return {!proto.ondewo.s2t.Silero} returns this
16066
+ */
16067
+ proto.ondewo.s2t.Silero.prototype.clearSpeechPadMs = function() {
16068
+ return jspb.Message.setField(this, 6, undefined);
16069
+ };
16070
+
16071
+
16072
+ /**
16073
+ * Returns whether this field is set.
16074
+ * @return {boolean}
16075
+ */
16076
+ proto.ondewo.s2t.Silero.prototype.hasSpeechPadMs = function() {
16077
+ return jspb.Message.getField(this, 6) != null;
16078
+ };
16079
+
16080
+
16081
+ /**
16082
+ * optional string triton_server_host = 7;
16083
+ * @return {string}
16084
+ */
16085
+ proto.ondewo.s2t.Silero.prototype.getTritonServerHost = function() {
16086
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
16087
+ };
16088
+
16089
+
16090
+ /**
16091
+ * @param {string} value
16092
+ * @return {!proto.ondewo.s2t.Silero} returns this
16093
+ */
16094
+ proto.ondewo.s2t.Silero.prototype.setTritonServerHost = function(value) {
16095
+ return jspb.Message.setProto3StringField(this, 7, value);
16096
+ };
16097
+
16098
+
16099
+ /**
16100
+ * optional int64 triton_server_port = 8;
16101
+ * @return {number}
16102
+ */
16103
+ proto.ondewo.s2t.Silero.prototype.getTritonServerPort = function() {
16104
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
16105
+ };
16106
+
16107
+
16108
+ /**
16109
+ * @param {number} value
16110
+ * @return {!proto.ondewo.s2t.Silero} returns this
16111
+ */
16112
+ proto.ondewo.s2t.Silero.prototype.setTritonServerPort = function(value) {
16113
+ return jspb.Message.setProto3IntField(this, 8, value);
16114
+ };
16115
+
16116
+
16117
+
16118
+
16119
+
16120
+ if (jspb.Message.GENERATE_TO_OBJECT) {
16121
+ /**
16122
+ * Creates an object representation of this proto.
16123
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
16124
+ * Optional fields that are not set will be set to undefined.
16125
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
16126
+ * For the list of reserved names please see:
16127
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
16128
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
16129
+ * JSPB instance for transitional soy proto support:
16130
+ * http://goto/soy-param-migration
16131
+ * @return {!Object}
16132
+ */
16133
+ proto.ondewo.s2t.WespeakerTsd.prototype.toObject = function(opt_includeInstance) {
16134
+ return proto.ondewo.s2t.WespeakerTsd.toObject(opt_includeInstance, this);
16135
+ };
16136
+
16137
+
16138
+ /**
16139
+ * Static version of the {@see toObject} method.
16140
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
16141
+ * the JSPB instance for transitional soy proto support:
16142
+ * http://goto/soy-param-migration
16143
+ * @param {!proto.ondewo.s2t.WespeakerTsd} msg The msg instance to transform.
16144
+ * @return {!Object}
16145
+ * @suppress {unusedLocalVariables} f is only used for nested messages
16146
+ */
16147
+ proto.ondewo.s2t.WespeakerTsd.toObject = function(includeInstance, msg) {
16148
+ var f, obj = {
16149
+ active: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
16150
+ modelName: jspb.Message.getFieldWithDefault(msg, 2, ""),
16151
+ tritonServerHost: jspb.Message.getFieldWithDefault(msg, 3, ""),
16152
+ tritonServerPort: jspb.Message.getFieldWithDefault(msg, 4, 0),
16153
+ similarityThreshold: (f = jspb.Message.getOptionalFloatingPointField(msg, 5)) == null ? undefined : f,
16154
+ minAudioLength: (f = jspb.Message.getOptionalFloatingPointField(msg, 6)) == null ? undefined : f,
16155
+ referenceMaxLength: jspb.Message.getFloatingPointFieldWithDefault(msg, 7, 0.0)
16156
+ };
16157
+
16158
+ if (includeInstance) {
16159
+ obj.$jspbMessageInstance = msg;
16160
+ }
16161
+ return obj;
16162
+ };
16163
+ }
16164
+
16165
+
16166
+ /**
16167
+ * Deserializes binary data (in protobuf wire format).
16168
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
16169
+ * @return {!proto.ondewo.s2t.WespeakerTsd}
16170
+ */
16171
+ proto.ondewo.s2t.WespeakerTsd.deserializeBinary = function(bytes) {
16172
+ var reader = new jspb.BinaryReader(bytes);
16173
+ var msg = new proto.ondewo.s2t.WespeakerTsd;
16174
+ return proto.ondewo.s2t.WespeakerTsd.deserializeBinaryFromReader(msg, reader);
16175
+ };
16176
+
16177
+
16178
+ /**
16179
+ * Deserializes binary data (in protobuf wire format) from the
16180
+ * given reader into the given message object.
16181
+ * @param {!proto.ondewo.s2t.WespeakerTsd} msg The message object to deserialize into.
16182
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
16183
+ * @return {!proto.ondewo.s2t.WespeakerTsd}
16184
+ */
16185
+ proto.ondewo.s2t.WespeakerTsd.deserializeBinaryFromReader = function(msg, reader) {
16186
+ while (reader.nextField()) {
16187
+ if (reader.isEndGroup()) {
16188
+ break;
16189
+ }
16190
+ var field = reader.getFieldNumber();
16191
+ switch (field) {
16192
+ case 1:
16193
+ var value = /** @type {boolean} */ (reader.readBool());
16194
+ msg.setActive(value);
16195
+ break;
16196
+ case 2:
16197
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
16198
+ msg.setModelName(value);
16199
+ break;
16200
+ case 3:
16201
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
16202
+ msg.setTritonServerHost(value);
16203
+ break;
16204
+ case 4:
16205
+ var value = /** @type {number} */ (reader.readInt64());
16206
+ msg.setTritonServerPort(value);
16207
+ break;
16208
+ case 5:
16209
+ var value = /** @type {number} */ (reader.readFloat());
16210
+ msg.setSimilarityThreshold(value);
16211
+ break;
16212
+ case 6:
16213
+ var value = /** @type {number} */ (reader.readFloat());
16214
+ msg.setMinAudioLength(value);
16215
+ break;
16216
+ case 7:
16217
+ var value = /** @type {number} */ (reader.readFloat());
16218
+ msg.setReferenceMaxLength(value);
16219
+ break;
16220
+ default:
16221
+ reader.skipField();
16222
+ break;
16223
+ }
16224
+ }
16225
+ return msg;
16226
+ };
16227
+
16228
+
16229
+ /**
16230
+ * Serializes the message to binary data (in protobuf wire format).
16231
+ * @return {!Uint8Array}
16232
+ */
16233
+ proto.ondewo.s2t.WespeakerTsd.prototype.serializeBinary = function() {
16234
+ var writer = new jspb.BinaryWriter();
16235
+ proto.ondewo.s2t.WespeakerTsd.serializeBinaryToWriter(this, writer);
16236
+ return writer.getResultBuffer();
16237
+ };
16238
+
16239
+
16240
+ /**
16241
+ * Serializes the given message to binary data (in protobuf wire
16242
+ * format), writing to the given BinaryWriter.
16243
+ * @param {!proto.ondewo.s2t.WespeakerTsd} message
16244
+ * @param {!jspb.BinaryWriter} writer
16245
+ * @suppress {unusedLocalVariables} f is only used for nested messages
16246
+ */
16247
+ proto.ondewo.s2t.WespeakerTsd.serializeBinaryToWriter = function(message, writer) {
16248
+ var f = undefined;
16249
+ f = message.getActive();
16250
+ if (f) {
16251
+ writer.writeBool(
16252
+ 1,
16253
+ f
16254
+ );
16255
+ }
16256
+ f = message.getModelName();
16257
+ if (f.length > 0) {
16258
+ writer.writeString(
16259
+ 2,
16260
+ f
16261
+ );
16262
+ }
16263
+ f = message.getTritonServerHost();
16264
+ if (f.length > 0) {
16265
+ writer.writeString(
16266
+ 3,
16267
+ f
16268
+ );
16269
+ }
16270
+ f = message.getTritonServerPort();
16271
+ if (f !== 0) {
16272
+ writer.writeInt64(
16273
+ 4,
16274
+ f
16275
+ );
16276
+ }
16277
+ f = /** @type {number} */ (jspb.Message.getField(message, 5));
16278
+ if (f != null) {
16279
+ writer.writeFloat(
16280
+ 5,
16281
+ f
16282
+ );
16283
+ }
16284
+ f = /** @type {number} */ (jspb.Message.getField(message, 6));
16285
+ if (f != null) {
16286
+ writer.writeFloat(
16287
+ 6,
16288
+ f
16289
+ );
16290
+ }
16291
+ f = message.getReferenceMaxLength();
16292
+ if (f !== 0.0) {
16293
+ writer.writeFloat(
16294
+ 7,
16295
+ f
16296
+ );
16297
+ }
16298
+ };
16299
+
16300
+
16301
+ /**
16302
+ * optional bool active = 1;
16303
+ * @return {boolean}
16304
+ */
16305
+ proto.ondewo.s2t.WespeakerTsd.prototype.getActive = function() {
16306
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
16307
+ };
16308
+
16309
+
16310
+ /**
16311
+ * @param {boolean} value
16312
+ * @return {!proto.ondewo.s2t.WespeakerTsd} returns this
16313
+ */
16314
+ proto.ondewo.s2t.WespeakerTsd.prototype.setActive = function(value) {
16315
+ return jspb.Message.setProto3BooleanField(this, 1, value);
16316
+ };
16317
+
16318
+
16319
+ /**
16320
+ * optional string model_name = 2;
16321
+ * @return {string}
16322
+ */
16323
+ proto.ondewo.s2t.WespeakerTsd.prototype.getModelName = function() {
16324
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
16325
+ };
16326
+
16327
+
16328
+ /**
16329
+ * @param {string} value
16330
+ * @return {!proto.ondewo.s2t.WespeakerTsd} returns this
16331
+ */
16332
+ proto.ondewo.s2t.WespeakerTsd.prototype.setModelName = function(value) {
16333
+ return jspb.Message.setProto3StringField(this, 2, value);
16334
+ };
16335
+
16336
+
16337
+ /**
16338
+ * optional string triton_server_host = 3;
16339
+ * @return {string}
16340
+ */
16341
+ proto.ondewo.s2t.WespeakerTsd.prototype.getTritonServerHost = function() {
16342
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
16343
+ };
16344
+
16345
+
16346
+ /**
16347
+ * @param {string} value
16348
+ * @return {!proto.ondewo.s2t.WespeakerTsd} returns this
16349
+ */
16350
+ proto.ondewo.s2t.WespeakerTsd.prototype.setTritonServerHost = function(value) {
16351
+ return jspb.Message.setProto3StringField(this, 3, value);
16352
+ };
16353
+
16354
+
16355
+ /**
16356
+ * optional int64 triton_server_port = 4;
16357
+ * @return {number}
16358
+ */
16359
+ proto.ondewo.s2t.WespeakerTsd.prototype.getTritonServerPort = function() {
16360
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
16361
+ };
16362
+
16363
+
16364
+ /**
16365
+ * @param {number} value
16366
+ * @return {!proto.ondewo.s2t.WespeakerTsd} returns this
16367
+ */
16368
+ proto.ondewo.s2t.WespeakerTsd.prototype.setTritonServerPort = function(value) {
16369
+ return jspb.Message.setProto3IntField(this, 4, value);
16370
+ };
16371
+
16372
+
16373
+ /**
16374
+ * optional float similarity_threshold = 5;
16375
+ * @return {number}
16376
+ */
16377
+ proto.ondewo.s2t.WespeakerTsd.prototype.getSimilarityThreshold = function() {
16378
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
16379
+ };
16380
+
16381
+
16382
+ /**
16383
+ * @param {number} value
16384
+ * @return {!proto.ondewo.s2t.WespeakerTsd} returns this
16385
+ */
16386
+ proto.ondewo.s2t.WespeakerTsd.prototype.setSimilarityThreshold = function(value) {
16387
+ return jspb.Message.setField(this, 5, value);
16388
+ };
16389
+
16390
+
16391
+ /**
16392
+ * Clears the field making it undefined.
16393
+ * @return {!proto.ondewo.s2t.WespeakerTsd} returns this
16394
+ */
16395
+ proto.ondewo.s2t.WespeakerTsd.prototype.clearSimilarityThreshold = function() {
16396
+ return jspb.Message.setField(this, 5, undefined);
16397
+ };
16398
+
16399
+
16400
+ /**
16401
+ * Returns whether this field is set.
16402
+ * @return {boolean}
16403
+ */
16404
+ proto.ondewo.s2t.WespeakerTsd.prototype.hasSimilarityThreshold = function() {
16405
+ return jspb.Message.getField(this, 5) != null;
16406
+ };
16407
+
16408
+
16409
+ /**
16410
+ * optional float min_audio_length = 6;
16411
+ * @return {number}
16412
+ */
16413
+ proto.ondewo.s2t.WespeakerTsd.prototype.getMinAudioLength = function() {
16414
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 6, 0.0));
16415
+ };
16416
+
16417
+
16418
+ /**
16419
+ * @param {number} value
16420
+ * @return {!proto.ondewo.s2t.WespeakerTsd} returns this
16421
+ */
16422
+ proto.ondewo.s2t.WespeakerTsd.prototype.setMinAudioLength = function(value) {
16423
+ return jspb.Message.setField(this, 6, value);
16424
+ };
16425
+
16426
+
16427
+ /**
16428
+ * Clears the field making it undefined.
16429
+ * @return {!proto.ondewo.s2t.WespeakerTsd} returns this
16430
+ */
16431
+ proto.ondewo.s2t.WespeakerTsd.prototype.clearMinAudioLength = function() {
16432
+ return jspb.Message.setField(this, 6, undefined);
16433
+ };
16434
+
16435
+
16436
+ /**
16437
+ * Returns whether this field is set.
16438
+ * @return {boolean}
16439
+ */
16440
+ proto.ondewo.s2t.WespeakerTsd.prototype.hasMinAudioLength = function() {
16441
+ return jspb.Message.getField(this, 6) != null;
16442
+ };
16443
+
16444
+
16445
+ /**
16446
+ * optional float reference_max_length = 7;
16447
+ * @return {number}
16448
+ */
16449
+ proto.ondewo.s2t.WespeakerTsd.prototype.getReferenceMaxLength = function() {
16450
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 7, 0.0));
16451
+ };
16452
+
16453
+
16454
+ /**
16455
+ * @param {number} value
16456
+ * @return {!proto.ondewo.s2t.WespeakerTsd} returns this
16457
+ */
16458
+ proto.ondewo.s2t.WespeakerTsd.prototype.setReferenceMaxLength = function(value) {
16459
+ return jspb.Message.setProto3FloatField(this, 7, value);
16460
+ };
16461
+
16462
+
16463
+
16464
+ /**
16465
+ * List of repeated fields within this message type.
16466
+ * @private {!Array<number>}
16467
+ * @const
16468
+ */
16469
+ proto.ondewo.s2t.PostProcessing.repeatedFields_ = [1];
16470
+
16471
+
16472
+
16473
+ if (jspb.Message.GENERATE_TO_OBJECT) {
16474
+ /**
16475
+ * Creates an object representation of this proto.
16476
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
16477
+ * Optional fields that are not set will be set to undefined.
16478
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
16479
+ * For the list of reserved names please see:
16480
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
16481
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
16482
+ * JSPB instance for transitional soy proto support:
16483
+ * http://goto/soy-param-migration
16484
+ * @return {!Object}
16485
+ */
16486
+ proto.ondewo.s2t.PostProcessing.prototype.toObject = function(opt_includeInstance) {
16487
+ return proto.ondewo.s2t.PostProcessing.toObject(opt_includeInstance, this);
16488
+ };
16489
+
16490
+
16491
+ /**
16492
+ * Static version of the {@see toObject} method.
16493
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
16494
+ * the JSPB instance for transitional soy proto support:
16495
+ * http://goto/soy-param-migration
16496
+ * @param {!proto.ondewo.s2t.PostProcessing} msg The msg instance to transform.
16497
+ * @return {!Object}
16498
+ * @suppress {unusedLocalVariables} f is only used for nested messages
16499
+ */
16500
+ proto.ondewo.s2t.PostProcessing.toObject = function(includeInstance, msg) {
16501
+ var f, obj = {
16502
+ pipelineList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
16503
+ postProcessors: (f = msg.getPostProcessors()) && proto.ondewo.s2t.PostProcessors.toObject(includeInstance, f)
16504
+ };
16505
+
16506
+ if (includeInstance) {
16507
+ obj.$jspbMessageInstance = msg;
16508
+ }
16509
+ return obj;
16510
+ };
16511
+ }
16512
+
16513
+
16514
+ /**
16515
+ * Deserializes binary data (in protobuf wire format).
16516
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
16517
+ * @return {!proto.ondewo.s2t.PostProcessing}
16518
+ */
16519
+ proto.ondewo.s2t.PostProcessing.deserializeBinary = function(bytes) {
16520
+ var reader = new jspb.BinaryReader(bytes);
16521
+ var msg = new proto.ondewo.s2t.PostProcessing;
16522
+ return proto.ondewo.s2t.PostProcessing.deserializeBinaryFromReader(msg, reader);
16523
+ };
16524
+
16525
+
16526
+ /**
16527
+ * Deserializes binary data (in protobuf wire format) from the
16528
+ * given reader into the given message object.
16529
+ * @param {!proto.ondewo.s2t.PostProcessing} msg The message object to deserialize into.
16530
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
16531
+ * @return {!proto.ondewo.s2t.PostProcessing}
16532
+ */
16533
+ proto.ondewo.s2t.PostProcessing.deserializeBinaryFromReader = function(msg, reader) {
16534
+ while (reader.nextField()) {
16535
+ if (reader.isEndGroup()) {
16536
+ break;
16537
+ }
16538
+ var field = reader.getFieldNumber();
16539
+ switch (field) {
16540
+ case 1:
16541
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
16542
+ msg.addPipeline(value);
16543
+ break;
16544
+ case 2:
16545
+ var value = new proto.ondewo.s2t.PostProcessors;
16546
+ reader.readMessage(value,proto.ondewo.s2t.PostProcessors.deserializeBinaryFromReader);
16547
+ msg.setPostProcessors(value);
16548
+ break;
16549
+ default:
16550
+ reader.skipField();
16551
+ break;
16552
+ }
16553
+ }
16554
+ return msg;
16555
+ };
16556
+
16557
+
16558
+ /**
16559
+ * Serializes the message to binary data (in protobuf wire format).
16560
+ * @return {!Uint8Array}
16561
+ */
16562
+ proto.ondewo.s2t.PostProcessing.prototype.serializeBinary = function() {
16563
+ var writer = new jspb.BinaryWriter();
16564
+ proto.ondewo.s2t.PostProcessing.serializeBinaryToWriter(this, writer);
16565
+ return writer.getResultBuffer();
16566
+ };
16567
+
16568
+
16569
+ /**
16570
+ * Serializes the given message to binary data (in protobuf wire
16571
+ * format), writing to the given BinaryWriter.
16572
+ * @param {!proto.ondewo.s2t.PostProcessing} message
16573
+ * @param {!jspb.BinaryWriter} writer
16574
+ * @suppress {unusedLocalVariables} f is only used for nested messages
16575
+ */
16576
+ proto.ondewo.s2t.PostProcessing.serializeBinaryToWriter = function(message, writer) {
16577
+ var f = undefined;
16578
+ f = message.getPipelineList();
16579
+ if (f.length > 0) {
16580
+ writer.writeRepeatedString(
16581
+ 1,
16582
+ f
16583
+ );
16584
+ }
16585
+ f = message.getPostProcessors();
16586
+ if (f != null) {
16587
+ writer.writeMessage(
16588
+ 2,
16589
+ f,
16590
+ proto.ondewo.s2t.PostProcessors.serializeBinaryToWriter
16591
+ );
16592
+ }
16593
+ };
16594
+
16595
+
16596
+ /**
16597
+ * repeated string pipeline = 1;
16598
+ * @return {!Array<string>}
16599
+ */
15630
16600
  proto.ondewo.s2t.PostProcessing.prototype.getPipelineList = function() {
15631
16601
  return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
15632
16602
  };
@@ -15744,7 +16714,7 @@ llmPostProcessing: (f = msg.getLlmPostProcessing()) && proto.ondewo.s2t.S2tLlmPo
15744
16714
 
15745
16715
  /**
15746
16716
  * Deserializes binary data (in protobuf wire format).
15747
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
16717
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
15748
16718
  * @return {!proto.ondewo.s2t.PostProcessors}
15749
16719
  */
15750
16720
  proto.ondewo.s2t.PostProcessors.deserializeBinary = function(bytes) {
@@ -15997,7 +16967,7 @@ prefixLength: jspb.Message.getFieldWithDefault(msg, 3, 0)
15997
16967
 
15998
16968
  /**
15999
16969
  * Deserializes binary data (in protobuf wire format).
16000
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
16970
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
16001
16971
  * @return {!proto.ondewo.s2t.SymSpell}
16002
16972
  */
16003
16973
  proto.ondewo.s2t.SymSpell.deserializeBinary = function(bytes) {
@@ -16022,7 +16992,7 @@ proto.ondewo.s2t.SymSpell.deserializeBinaryFromReader = function(msg, reader) {
16022
16992
  var field = reader.getFieldNumber();
16023
16993
  switch (field) {
16024
16994
  case 1:
16025
- var value = /** @type {string} */ (reader.readString());
16995
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
16026
16996
  msg.setDictPath(value);
16027
16997
  break;
16028
16998
  case 2:
@@ -16193,7 +17163,7 @@ pipelineList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined :
16193
17163
 
16194
17164
  /**
16195
17165
  * Deserializes binary data (in protobuf wire format).
16196
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
17166
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
16197
17167
  * @return {!proto.ondewo.s2t.S2tNormalization}
16198
17168
  */
16199
17169
  proto.ondewo.s2t.S2tNormalization.deserializeBinary = function(bytes) {
@@ -16218,11 +17188,11 @@ proto.ondewo.s2t.S2tNormalization.deserializeBinaryFromReader = function(msg, re
16218
17188
  var field = reader.getFieldNumber();
16219
17189
  switch (field) {
16220
17190
  case 1:
16221
- var value = /** @type {string} */ (reader.readString());
17191
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
16222
17192
  msg.setLanguage(value);
16223
17193
  break;
16224
17194
  case 2:
16225
- var value = /** @type {string} */ (reader.readString());
17195
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
16226
17196
  msg.addPipeline(value);
16227
17197
  break;
16228
17198
  default:
@@ -16382,7 +17352,7 @@ s2tLlmPostProcessingUserPromptOptions: (f = msg.getS2tLlmPostProcessingUserPromp
16382
17352
 
16383
17353
  /**
16384
17354
  * Deserializes binary data (in protobuf wire format).
16385
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
17355
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
16386
17356
  * @return {!proto.ondewo.s2t.S2tLlmPostProcessing}
16387
17357
  */
16388
17358
  proto.ondewo.s2t.S2tLlmPostProcessing.deserializeBinary = function(bytes) {
@@ -16412,11 +17382,11 @@ proto.ondewo.s2t.S2tLlmPostProcessing.deserializeBinaryFromReader = function(msg
16412
17382
  msg.setS2tLlmPostProcessingOpenaiOptions(value);
16413
17383
  break;
16414
17384
  case 2:
16415
- var value = /** @type {string} */ (reader.readString());
17385
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
16416
17386
  msg.setS2tLlmPostProcessingSystemPrompt(value);
16417
17387
  break;
16418
17388
  case 3:
16419
- var value = /** @type {string} */ (reader.readString());
17389
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
16420
17390
  msg.setS2tLlmPostProcessingEndingPrompt(value);
16421
17391
  break;
16422
17392
  case 4:
@@ -17079,7 +18049,7 @@ prompt: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f
17079
18049
 
17080
18050
  /**
17081
18051
  * Deserializes binary data (in protobuf wire format).
17082
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
18052
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
17083
18053
  * @return {!proto.ondewo.s2t.S2tLlmPostProcessingTranslationOptions}
17084
18054
  */
17085
18055
  proto.ondewo.s2t.S2tLlmPostProcessingTranslationOptions.deserializeBinary = function(bytes) {
@@ -17108,11 +18078,11 @@ proto.ondewo.s2t.S2tLlmPostProcessingTranslationOptions.deserializeBinaryFromRea
17108
18078
  msg.setActive(value);
17109
18079
  break;
17110
18080
  case 2:
17111
- var value = /** @type {string} */ (reader.readString());
18081
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
17112
18082
  msg.setLanguage(value);
17113
18083
  break;
17114
18084
  case 3:
17115
- var value = /** @type {string} */ (reader.readString());
18085
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
17116
18086
  msg.setPrompt(value);
17117
18087
  break;
17118
18088
  default:
@@ -17327,7 +18297,7 @@ timeZone: (f = msg.getTimeZone()) && proto.ondewo.s2t.S2tLlmPostProcessingSubTas
17327
18297
 
17328
18298
  /**
17329
18299
  * Deserializes binary data (in protobuf wire format).
17330
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
18300
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
17331
18301
  * @return {!proto.ondewo.s2t.S2tLlmPostProcessingInverseNormalizationOptions}
17332
18302
  */
17333
18303
  proto.ondewo.s2t.S2tLlmPostProcessingInverseNormalizationOptions.deserializeBinary = function(bytes) {
@@ -17781,7 +18751,7 @@ timeZone: (f = msg.getTimeZone()) && proto.ondewo.s2t.S2tLlmPostProcessingSubTas
17781
18751
 
17782
18752
  /**
17783
18753
  * Deserializes binary data (in protobuf wire format).
17784
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
18754
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
17785
18755
  * @return {!proto.ondewo.s2t.S2tLlmPostProcessingNormalizationOptions}
17786
18756
  */
17787
18757
  proto.ondewo.s2t.S2tLlmPostProcessingNormalizationOptions.deserializeBinary = function(bytes) {
@@ -18232,7 +19202,7 @@ maxChars: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f
18232
19202
 
18233
19203
  /**
18234
19204
  * Deserializes binary data (in protobuf wire format).
18235
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
19205
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
18236
19206
  * @return {!proto.ondewo.s2t.S2tLlmPostProcessingSummarizationOptions}
18237
19207
  */
18238
19208
  proto.ondewo.s2t.S2tLlmPostProcessingSummarizationOptions.deserializeBinary = function(bytes) {
@@ -18261,7 +19231,7 @@ proto.ondewo.s2t.S2tLlmPostProcessingSummarizationOptions.deserializeBinaryFromR
18261
19231
  msg.setActive(value);
18262
19232
  break;
18263
19233
  case 2:
18264
- var value = /** @type {string} */ (reader.readString());
19234
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
18265
19235
  msg.setPrompt(value);
18266
19236
  break;
18267
19237
  case 3:
@@ -18522,7 +19492,7 @@ prompt: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f
18522
19492
 
18523
19493
  /**
18524
19494
  * Deserializes binary data (in protobuf wire format).
18525
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
19495
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
18526
19496
  * @return {!proto.ondewo.s2t.S2tLlmPostProcessingSubTaskOptions}
18527
19497
  */
18528
19498
  proto.ondewo.s2t.S2tLlmPostProcessingSubTaskOptions.deserializeBinary = function(bytes) {
@@ -18551,7 +19521,7 @@ proto.ondewo.s2t.S2tLlmPostProcessingSubTaskOptions.deserializeBinaryFromReader
18551
19521
  msg.setActive(value);
18552
19522
  break;
18553
19523
  case 2:
18554
- var value = /** @type {string} */ (reader.readString());
19524
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
18555
19525
  msg.setPrompt(value);
18556
19526
  break;
18557
19527
  default:
@@ -18718,7 +19688,7 @@ path: jspb.Message.getFieldWithDefault(msg, 2, "")
18718
19688
 
18719
19689
  /**
18720
19690
  * Deserializes binary data (in protobuf wire format).
18721
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
19691
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
18722
19692
  * @return {!proto.ondewo.s2t.Logging}
18723
19693
  */
18724
19694
  proto.ondewo.s2t.Logging.deserializeBinary = function(bytes) {
@@ -18743,11 +19713,11 @@ proto.ondewo.s2t.Logging.deserializeBinaryFromReader = function(msg, reader) {
18743
19713
  var field = reader.getFieldNumber();
18744
19714
  switch (field) {
18745
19715
  case 1:
18746
- var value = /** @type {string} */ (reader.readString());
19716
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
18747
19717
  msg.setType(value);
18748
19718
  break;
18749
19719
  case 2:
18750
- var value = /** @type {string} */ (reader.readString());
19720
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
18751
19721
  msg.setPath(value);
18752
19722
  break;
18753
19723
  default:
@@ -18884,7 +19854,7 @@ idsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
18884
19854
 
18885
19855
  /**
18886
19856
  * Deserializes binary data (in protobuf wire format).
18887
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
19857
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
18888
19858
  * @return {!proto.ondewo.s2t.ListS2tLanguageModelsRequest}
18889
19859
  */
18890
19860
  proto.ondewo.s2t.ListS2tLanguageModelsRequest.deserializeBinary = function(bytes) {
@@ -18909,7 +19879,7 @@ proto.ondewo.s2t.ListS2tLanguageModelsRequest.deserializeBinaryFromReader = func
18909
19879
  var field = reader.getFieldNumber();
18910
19880
  switch (field) {
18911
19881
  case 1:
18912
- var value = /** @type {string} */ (reader.readString());
19882
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
18913
19883
  msg.addIds(value);
18914
19884
  break;
18915
19885
  default:
@@ -19041,7 +20011,7 @@ modelNamesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined
19041
20011
 
19042
20012
  /**
19043
20013
  * Deserializes binary data (in protobuf wire format).
19044
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
20014
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
19045
20015
  * @return {!proto.ondewo.s2t.LanguageModelPipelineId}
19046
20016
  */
19047
20017
  proto.ondewo.s2t.LanguageModelPipelineId.deserializeBinary = function(bytes) {
@@ -19066,11 +20036,11 @@ proto.ondewo.s2t.LanguageModelPipelineId.deserializeBinaryFromReader = function(
19066
20036
  var field = reader.getFieldNumber();
19067
20037
  switch (field) {
19068
20038
  case 1:
19069
- var value = /** @type {string} */ (reader.readString());
20039
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
19070
20040
  msg.setPipelineId(value);
19071
20041
  break;
19072
20042
  case 2:
19073
- var value = /** @type {string} */ (reader.readString());
20043
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
19074
20044
  msg.addModelNames(value);
19075
20045
  break;
19076
20046
  default:
@@ -19227,7 +20197,7 @@ lmPipelineIdsList: jspb.Message.toObjectList(msg.getLmPipelineIdsList(),
19227
20197
 
19228
20198
  /**
19229
20199
  * Deserializes binary data (in protobuf wire format).
19230
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
20200
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
19231
20201
  * @return {!proto.ondewo.s2t.ListS2tLanguageModelsResponse}
19232
20202
  */
19233
20203
  proto.ondewo.s2t.ListS2tLanguageModelsResponse.deserializeBinary = function(bytes) {
@@ -19379,7 +20349,7 @@ languageModelName: jspb.Message.getFieldWithDefault(msg, 1, "")
19379
20349
 
19380
20350
  /**
19381
20351
  * Deserializes binary data (in protobuf wire format).
19382
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
20352
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
19383
20353
  * @return {!proto.ondewo.s2t.CreateUserLanguageModelRequest}
19384
20354
  */
19385
20355
  proto.ondewo.s2t.CreateUserLanguageModelRequest.deserializeBinary = function(bytes) {
@@ -19404,7 +20374,7 @@ proto.ondewo.s2t.CreateUserLanguageModelRequest.deserializeBinaryFromReader = fu
19404
20374
  var field = reader.getFieldNumber();
19405
20375
  switch (field) {
19406
20376
  case 1:
19407
- var value = /** @type {string} */ (reader.readString());
20377
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
19408
20378
  msg.setLanguageModelName(value);
19409
20379
  break;
19410
20380
  default:
@@ -19509,7 +20479,7 @@ languageModelName: jspb.Message.getFieldWithDefault(msg, 1, "")
19509
20479
 
19510
20480
  /**
19511
20481
  * Deserializes binary data (in protobuf wire format).
19512
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
20482
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
19513
20483
  * @return {!proto.ondewo.s2t.DeleteUserLanguageModelRequest}
19514
20484
  */
19515
20485
  proto.ondewo.s2t.DeleteUserLanguageModelRequest.deserializeBinary = function(bytes) {
@@ -19534,7 +20504,7 @@ proto.ondewo.s2t.DeleteUserLanguageModelRequest.deserializeBinaryFromReader = fu
19534
20504
  var field = reader.getFieldNumber();
19535
20505
  switch (field) {
19536
20506
  case 1:
19537
- var value = /** @type {string} */ (reader.readString());
20507
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
19538
20508
  msg.setLanguageModelName(value);
19539
20509
  break;
19540
20510
  default:
@@ -19640,7 +20610,7 @@ zippedData: msg.getZippedData_asB64()
19640
20610
 
19641
20611
  /**
19642
20612
  * Deserializes binary data (in protobuf wire format).
19643
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
20613
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
19644
20614
  * @return {!proto.ondewo.s2t.AddDataToUserLanguageModelRequest}
19645
20615
  */
19646
20616
  proto.ondewo.s2t.AddDataToUserLanguageModelRequest.deserializeBinary = function(bytes) {
@@ -19665,7 +20635,7 @@ proto.ondewo.s2t.AddDataToUserLanguageModelRequest.deserializeBinaryFromReader =
19665
20635
  var field = reader.getFieldNumber();
19666
20636
  switch (field) {
19667
20637
  case 1:
19668
- var value = /** @type {string} */ (reader.readString());
20638
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
19669
20639
  msg.setLanguageModelName(value);
19670
20640
  break;
19671
20641
  case 2:
@@ -19824,7 +20794,7 @@ order: jspb.Message.getFieldWithDefault(msg, 2, 0)
19824
20794
 
19825
20795
  /**
19826
20796
  * Deserializes binary data (in protobuf wire format).
19827
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
20797
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
19828
20798
  * @return {!proto.ondewo.s2t.TrainUserLanguageModelRequest}
19829
20799
  */
19830
20800
  proto.ondewo.s2t.TrainUserLanguageModelRequest.deserializeBinary = function(bytes) {
@@ -19849,7 +20819,7 @@ proto.ondewo.s2t.TrainUserLanguageModelRequest.deserializeBinaryFromReader = fun
19849
20819
  var field = reader.getFieldNumber();
19850
20820
  switch (field) {
19851
20821
  case 1:
19852
- var value = /** @type {string} */ (reader.readString());
20822
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
19853
20823
  msg.setLanguageModelName(value);
19854
20824
  break;
19855
20825
  case 2:
@@ -19983,7 +20953,7 @@ language: jspb.Message.getFieldWithDefault(msg, 1, "")
19983
20953
 
19984
20954
  /**
19985
20955
  * Deserializes binary data (in protobuf wire format).
19986
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
20956
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
19987
20957
  * @return {!proto.ondewo.s2t.ListS2tNormalizationPipelinesRequest}
19988
20958
  */
19989
20959
  proto.ondewo.s2t.ListS2tNormalizationPipelinesRequest.deserializeBinary = function(bytes) {
@@ -20008,7 +20978,7 @@ proto.ondewo.s2t.ListS2tNormalizationPipelinesRequest.deserializeBinaryFromReade
20008
20978
  var field = reader.getFieldNumber();
20009
20979
  switch (field) {
20010
20980
  case 1:
20011
- var value = /** @type {string} */ (reader.readString());
20981
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
20012
20982
  msg.setLanguage(value);
20013
20983
  break;
20014
20984
  default:
@@ -20120,7 +21090,7 @@ s2tNormalizationPipelinesList: (f = jspb.Message.getRepeatedField(msg, 1)) == nu
20120
21090
 
20121
21091
  /**
20122
21092
  * Deserializes binary data (in protobuf wire format).
20123
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
21093
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
20124
21094
  * @return {!proto.ondewo.s2t.ListS2tNormalizationPipelinesResponse}
20125
21095
  */
20126
21096
  proto.ondewo.s2t.ListS2tNormalizationPipelinesResponse.deserializeBinary = function(bytes) {
@@ -20145,7 +21115,7 @@ proto.ondewo.s2t.ListS2tNormalizationPipelinesResponse.deserializeBinaryFromRead
20145
21115
  var field = reader.getFieldNumber();
20146
21116
  switch (field) {
20147
21117
  case 1:
20148
- var value = /** @type {string} */ (reader.readString());
21118
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
20149
21119
  msg.addS2tNormalizationPipelines(value);
20150
21120
  break;
20151
21121
  default:
@@ -20280,4 +21250,23 @@ proto.ondewo.s2t.ReasoningEffort = {
20280
21250
  REASONING_EFFORT_HIGH: 4
20281
21251
  };
20282
21252
 
21253
+ /**
21254
+ * @enum {number}
21255
+ */
21256
+ proto.ondewo.s2t.VadMethod = {
21257
+ VAD_METHOD_UNSPECIFIED: 0,
21258
+ VAD_METHOD_PYANNOTE: 1,
21259
+ VAD_METHOD_SILERO: 2
21260
+ };
21261
+
21262
+ /**
21263
+ * @enum {number}
21264
+ */
21265
+ proto.ondewo.s2t.TsdMethod = {
21266
+ TSD_METHOD_UNSPECIFIED: 0,
21267
+ TSD_METHOD_NONE: 1,
21268
+ TSD_METHOD_PYANNOTE: 2,
21269
+ TSD_METHOD_WESPEAKER: 3
21270
+ };
21271
+
20283
21272
  goog.object.extend(exports, proto.ondewo.s2t);