Skip to content
This repository has been archived by the owner on Dec 15, 2023. It is now read-only.

Commit

Permalink
feat: added alternative_language_codes to RecognitionConfig feat: WEB…
Browse files Browse the repository at this point in the history
…M_OPUS codec feat: SpeechAdaptation configuration feat: word confidence feat: spoken punctuation and spoken emojis feat: hint boost in SpeechContext

PiperOrigin-RevId: 413453425

Source-Link: googleapis/googleapis@2b47b24

Source-Link: googleapis/googleapis-gen@7ffe6e0
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiN2ZmZTZlMGExYmY2M2Q4NTQwMDA5Y2U2OTg2NjBlYmI3MWM1NGZmMSJ9
  • Loading branch information
gcf-owl-bot[bot] committed Dec 6, 2021
1 parent 02d0088 commit ed1516d
Show file tree
Hide file tree
Showing 170 changed files with 24,620 additions and 26,359 deletions.

This file was deleted.

This file was deleted.

This file was deleted.

Expand Up @@ -52,13 +52,13 @@
* methods:
*
* <ol>
* <li>A "flattened" method. With this type of method, the fields of the request type have been
* <li> A "flattened" method. With this type of method, the fields of the request type have been
* converted into function parameters. It may be the case that not all fields are available as
* parameters, and not every API method will have a flattened method entry point.
* <li>A "request object" method. This type of method only takes one parameter, a request object,
* <li> A "request object" method. This type of method only takes one parameter, a request object,
* which must be constructed before the call. Not every API method will have a request object
* method.
* <li>A "callable" method. This type of method takes no parameters and returns an immutable API
* <li> A "callable" method. This type of method takes no parameters and returns an immutable API
* callable object, which can be used to initiate calls to the service.
* </ol>
*
Expand Down
Expand Up @@ -26,6 +26,7 @@
import com.google.api.gax.rpc.ClientSettings;
import com.google.api.gax.rpc.OperationCallSettings;
import com.google.api.gax.rpc.StreamingCallSettings;
import com.google.api.gax.rpc.StubSettings;
import com.google.api.gax.rpc.TransportChannelProvider;
import com.google.api.gax.rpc.UnaryCallSettings;
import com.google.cloud.speech.v1.stub.SpeechStubSettings;
Expand All @@ -41,9 +42,9 @@
* <p>The default instance has everything set to sensible defaults:
*
* <ul>
* <li>The default service address (speech.googleapis.com) and default port (443) are used.
* <li>Credentials are acquired automatically through Application Default Credentials.
* <li>Retries are configured for idempotent methods but not for non-idempotent methods.
* <li> The default service address (speech.googleapis.com) and default port (443) are used.
* <li> Credentials are acquired automatically through Application Default Credentials.
* <li> Retries are configured for idempotent methods but not for non-idempotent methods.
* </ul>
*
* <p>The builder of this class is recursive, so contained classes are themselves builders. When
Expand Down
Expand Up @@ -15,7 +15,9 @@
*/

/**
* The interfaces provided are listed below, along with usage samples.
* A client to Cloud Speech-to-Text API
*
* <p>The interfaces provided are listed below, along with usage samples.
*
* <p>======================= SpeechClient =======================
*
Expand Down
Expand Up @@ -60,9 +60,9 @@
* <p>The default instance has everything set to sensible defaults:
*
* <ul>
* <li>The default service address (speech.googleapis.com) and default port (443) are used.
* <li>Credentials are acquired automatically through Application Default Credentials.
* <li>Retries are configured for idempotent methods but not for non-idempotent methods.
* <li> The default service address (speech.googleapis.com) and default port (443) are used.
* <li> Credentials are acquired automatically through Application Default Credentials.
* <li> Retries are configured for idempotent methods but not for non-idempotent methods.
* </ul>
*
* <p>The builder of this class is recursive, so contained classes are themselves builders. When
Expand Down
Expand Up @@ -133,6 +133,8 @@ public void longRunningRecognizeTest() throws Exception {
LongRunningRecognizeResponse.newBuilder()
.addAllResults(new ArrayList<SpeechRecognitionResult>())
.setTotalBilledTime(Duration.newBuilder().build())
.setOutputConfig(TranscriptOutputConfig.newBuilder().build())
.setOutputError(Status.newBuilder().build())
.build();
Operation resultOperation =
Operation.newBuilder()
Expand Down

0 comments on commit ed1516d

Please sign in to comment.