You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 15, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/RecognitionConfig.java
+35-7Lines changed: 35 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -435,6 +435,19 @@ public enum AudioEncoding implements com.google.protobuf.ProtocolMessageEnum {
435
435
* <code>MP3 = 8;</code>
436
436
*/
437
437
MP3(8),
438
+
/**
439
+
*
440
+
*
441
+
* <pre>
442
+
* Opus encoded audio frames in WebM container
443
+
* ([OggOpus](https://wiki.xiph.org/OggOpus)). This is a Beta features and
444
+
* only available in v1p1beta1. `sample_rate_hertz` must be one of 8000,
445
+
* 12000, 16000, 24000, or 48000.
446
+
* </pre>
447
+
*
448
+
* <code>WEBM_OPUS = 9;</code>
449
+
*/
450
+
WEBM_OPUS(9),
438
451
UNRECOGNIZED(-1),
439
452
;
440
453
@@ -550,6 +563,19 @@ public enum AudioEncoding implements com.google.protobuf.ProtocolMessageEnum {
550
563
* <code>MP3 = 8;</code>
551
564
*/
552
565
publicstaticfinalintMP3_VALUE = 8;
566
+
/**
567
+
*
568
+
*
569
+
* <pre>
570
+
* Opus encoded audio frames in WebM container
571
+
* ([OggOpus](https://wiki.xiph.org/OggOpus)). This is a Beta features and
572
+
* only available in v1p1beta1. `sample_rate_hertz` must be one of 8000,
573
+
* 12000, 16000, 24000, or 48000.
574
+
* </pre>
575
+
*
576
+
* <code>WEBM_OPUS = 9;</code>
577
+
*/
578
+
publicstaticfinalintWEBM_OPUS_VALUE = 9;
553
579
554
580
publicfinalintgetNumber() {
555
581
if (this == UNRECOGNIZED) {
@@ -593,6 +619,8 @@ public static AudioEncoding forNumber(int value) {
593
619
returnSPEEX_WITH_HEADER_BYTE;
594
620
case8:
595
621
returnMP3;
622
+
case9:
623
+
returnWEBM_OPUS;
596
624
default:
597
625
returnnull;
598
626
}
@@ -1496,7 +1524,7 @@ public com.google.cloud.speech.v1p1beta1.RecognitionMetadataOrBuilder getMetadat
Copy file name to clipboardExpand all lines: proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/RecognitionConfigOrBuilder.java
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -689,7 +689,7 @@ public interface RecognitionConfigOrBuilder
0 commit comments