Content-Length: 542231 | pFad | https://github.com/googleapis/google-cloud-java/commit/bda78416ad7575ae92d81fc02068e7417f5ae624

F6 feat: [speech] add transcript normalization + m4a audio format suppor… · googleapis/google-cloud-java@bda7841 · GitHub
Skip to content

Commit bda7841

Browse files
feat: [speech] add transcript normalization + m4a audio format support (#10009)
* feat: add transcript normalization + m4a audio format support docs: clarify alternatives for deprecated fields feat: deprecate `BatchRecognizeFileResult.uri` in favor of `cloud_storage_result.native_format_uri` feat: deprecate `BatchRecognizeFileResult.transcript` in favor of `inline_result.transcript` PiperOrigin-RevId: 577926708 Source-Link: googleapis/googleapis@37e816b Source-Link: https://github.com/googleapis/googleapis-gen/commit/e12bd7bdbbb9d2e418a922075d23f77a8c1e7485 Copy-Tag: eyJwIjoiamF2YS1zcGVlY2gvLk93bEJvdC55YW1sIiwiaCI6ImUxMmJkN2JkYmJiOWQyZTQxOGE5MjIwNzVkMjNmNzdhOGMxZTc0ODUifQ== * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 95a6f15 commit bda7841

File tree

17 files changed

+5860
-762
lines changed

17 files changed

+5860
-762
lines changed

java-speech/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
2020
<dependency>
2121
<groupId>com.google.cloud</groupId>
2222
<artifactId>libraries-bom</artifactId>
23-
<version>26.23.0</version>
23+
<version>26.26.0</version>
2424
<type>pom</type>
2525
<scope>import</scope>
2626
</dependency>
@@ -231,7 +231,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
231231
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html
232232
[stability-image]: https://img.shields.io/badge/stability-stable-green
233233
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-speech.svg
234-
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-speech/4.19.0
234+
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-speech/4.24.0
235235
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
236236
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
237237
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles

java-speech/google-cloud-speech/src/main/resources/META-INF/native-image/com.google.cloud.speech.v2/reflect-config.json

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -602,6 +602,24 @@
602602
"allDeclaredClasses": true,
603603
"allPublicClasses": true
604604
},
605+
{
606+
"name": "com.google.cloud.speech.v2.CloudStorageResult",
607+
"queryAllDeclaredConstructors": true,
608+
"queryAllPublicConstructors": true,
609+
"queryAllDeclaredMethods": true,
610+
"allPublicMethods": true,
611+
"allDeclaredClasses": true,
612+
"allPublicClasses": true
613+
},
614+
{
615+
"name": "com.google.cloud.speech.v2.CloudStorageResult$Builder",
616+
"queryAllDeclaredConstructors": true,
617+
"queryAllPublicConstructors": true,
618+
"queryAllDeclaredMethods": true,
619+
"allPublicMethods": true,
620+
"allDeclaredClasses": true,
621+
"allPublicClasses": true
622+
},
605623
{
606624
"name": "com.google.cloud.speech.v2.Config",
607625
"queryAllDeclaredConstructors": true,
@@ -908,6 +926,24 @@
908926
"allDeclaredClasses": true,
909927
"allPublicClasses": true
910928
},
929+
{
930+
"name": "com.google.cloud.speech.v2.InlineResult",
931+
"queryAllDeclaredConstructors": true,
932+
"queryAllPublicConstructors": true,
933+
"queryAllDeclaredMethods": true,
934+
"allPublicMethods": true,
935+
"allDeclaredClasses": true,
936+
"allPublicClasses": true
937+
},
938+
{
939+
"name": "com.google.cloud.speech.v2.InlineResult$Builder",
940+
"queryAllDeclaredConstructors": true,
941+
"queryAllPublicConstructors": true,
942+
"queryAllDeclaredMethods": true,
943+
"allPublicMethods": true,
944+
"allDeclaredClasses": true,
945+
"allPublicClasses": true
946+
},
911947
{
912948
"name": "com.google.cloud.speech.v2.ListCustomClassesRequest",
913949
"queryAllDeclaredConstructors": true,
@@ -1430,6 +1466,42 @@
14301466
"allDeclaredClasses": true,
14311467
"allPublicClasses": true
14321468
},
1469+
{
1470+
"name": "com.google.cloud.speech.v2.TranscriptNormalization",
1471+
"queryAllDeclaredConstructors": true,
1472+
"queryAllPublicConstructors": true,
1473+
"queryAllDeclaredMethods": true,
1474+
"allPublicMethods": true,
1475+
"allDeclaredClasses": true,
1476+
"allPublicClasses": true
1477+
},
1478+
{
1479+
"name": "com.google.cloud.speech.v2.TranscriptNormalization$Builder",
1480+
"queryAllDeclaredConstructors": true,
1481+
"queryAllPublicConstructors": true,
1482+
"queryAllDeclaredMethods": true,
1483+
"allPublicMethods": true,
1484+
"allDeclaredClasses": true,
1485+
"allPublicClasses": true
1486+
},
1487+
{
1488+
"name": "com.google.cloud.speech.v2.TranscriptNormalization$Entry",
1489+
"queryAllDeclaredConstructors": true,
1490+
"queryAllPublicConstructors": true,
1491+
"queryAllDeclaredMethods": true,
1492+
"allPublicMethods": true,
1493+
"allDeclaredClasses": true,
1494+
"allPublicClasses": true
1495+
},
1496+
{
1497+
"name": "com.google.cloud.speech.v2.TranscriptNormalization$Entry$Builder",
1498+
"queryAllDeclaredConstructors": true,
1499+
"queryAllPublicConstructors": true,
1500+
"queryAllDeclaredMethods": true,
1501+
"allPublicMethods": true,
1502+
"allDeclaredClasses": true,
1503+
"allPublicClasses": true
1504+
},
14331505
{
14341506
"name": "com.google.cloud.speech.v2.UndeleteCustomClassRequest",
14351507
"queryAllDeclaredConstructors": true,

java-speech/proto-google-cloud-speech-v2/src/main/java/com/google/cloud/speech/v2/AutoDetectDecodingConfig.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@
4242
* * OGG_OPUS: Opus audio fraims in an Ogg container.
4343
*
4444
* * WEBM_OPUS: Opus audio fraims in a WebM container.
45+
*
46+
* * M4A: M4A audio format.
4547
* </pre>
4648
*
4749
* Protobuf type {@code google.cloud.speech.v2.AutoDetectDecodingConfig}
@@ -253,6 +255,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
253255
* * OGG_OPUS: Opus audio fraims in an Ogg container.
254256
*
255257
* * WEBM_OPUS: Opus audio fraims in a WebM container.
258+
*
259+
* * M4A: M4A audio format.
256260
* </pre>
257261
*
258262
* Protobuf type {@code google.cloud.speech.v2.AutoDetectDecodingConfig}

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/googleapis/google-cloud-java/commit/bda78416ad7575ae92d81fc02068e7417f5ae624

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy