Skip to content
This repository was archived by the owner on Dec 15, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,13 @@ implementation 'com.google.cloud:google-cloud-speech'
If you are using Gradle without BOM, add this to your dependencies

```Groovy
implementation 'com.google.cloud:google-cloud-speech:2.2.13'
implementation 'com.google.cloud:google-cloud-speech:2.2.14'
```

If you are using SBT, add this to your dependencies

```Scala
libraryDependencies += "com.google.cloud" % "google-cloud-speech" % "2.2.13"
libraryDependencies += "com.google.cloud" % "google-cloud-speech" % "2.2.14"
```

## Authentication
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,9 @@ public AdaptationStub getStub() {
* <p>`projects/{project}/locations/{location}/phraseSets`
* <p>Speech-to-Text supports three locations: `global`, `us` (US North America), and `eu`
* (Europe). If you are calling the `speech.googleapis.com` endpoint, use the `global`
* location. To specify a region, use a [regional endpoint](/speech-to-text/docs/endpoints)
* with matching `us` or `eu` location value.
* location. To specify a region, use a [regional
* endpoint](https://cloud.google.com/speech-to-text/docs/endpoints) with matching `us` or
* `eu` location value.
* @param phraseSet Required. The phrase set to create.
* @param phraseSetId Required. The ID to use for the phrase set, which will become the final
* component of the phrase set's resource name.
Expand Down Expand Up @@ -210,8 +211,9 @@ public final PhraseSet createPhraseSet(
* <p>`projects/{project}/locations/{location}/phraseSets`
* <p>Speech-to-Text supports three locations: `global`, `us` (US North America), and `eu`
* (Europe). If you are calling the `speech.googleapis.com` endpoint, use the `global`
* location. To specify a region, use a [regional endpoint](/speech-to-text/docs/endpoints)
* with matching `us` or `eu` location value.
* location. To specify a region, use a [regional
* endpoint](https://cloud.google.com/speech-to-text/docs/endpoints) with matching `us` or
* `eu` location value.
* @param phraseSet Required. The phrase set to create.
* @param phraseSetId Required. The ID to use for the phrase set, which will become the final
* component of the phrase set's resource name.
Expand Down Expand Up @@ -298,8 +300,9 @@ public final UnaryCallable<CreatePhraseSetRequest, PhraseSet> createPhraseSetCal
* <p>`projects/{project}/locations/{location}/phraseSets/{phrase_set}`
* <p>Speech-to-Text supports three locations: `global`, `us` (US North America), and `eu`
* (Europe). If you are calling the `speech.googleapis.com` endpoint, use the `global`
* location. To specify a region, use a [regional endpoint](/speech-to-text/docs/endpoints)
* with matching `us` or `eu` location value.
* location. To specify a region, use a [regional
* endpoint](https://cloud.google.com/speech-to-text/docs/endpoints) with matching `us` or
* `eu` location value.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final PhraseSet getPhraseSet(PhraseSetName name) {
Expand All @@ -325,8 +328,9 @@ public final PhraseSet getPhraseSet(PhraseSetName name) {
* <p>`projects/{project}/locations/{location}/phraseSets/{phrase_set}`
* <p>Speech-to-Text supports three locations: `global`, `us` (US North America), and `eu`
* (Europe). If you are calling the `speech.googleapis.com` endpoint, use the `global`
* location. To specify a region, use a [regional endpoint](/speech-to-text/docs/endpoints)
* with matching `us` or `eu` location value.
* location. To specify a region, use a [regional
* endpoint](https://cloud.google.com/speech-to-text/docs/endpoints) with matching `us` or
* `eu` location value.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final PhraseSet getPhraseSet(String name) {
Expand Down Expand Up @@ -398,8 +402,9 @@ public final UnaryCallable<GetPhraseSetRequest, PhraseSet> getPhraseSetCallable(
* <p>`projects/{project}/locations/{location}`
* <p>Speech-to-Text supports three locations: `global`, `us` (US North America), and `eu`
* (Europe). If you are calling the `speech.googleapis.com` endpoint, use the `global`
* location. To specify a region, use a [regional endpoint](/speech-to-text/docs/endpoints)
* with matching `us` or `eu` location value.
* location. To specify a region, use a [regional
* endpoint](https://cloud.google.com/speech-to-text/docs/endpoints) with matching `us` or
* `eu` location value.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final ListPhraseSetPagedResponse listPhraseSet(LocationName parent) {
Expand Down Expand Up @@ -429,8 +434,9 @@ public final ListPhraseSetPagedResponse listPhraseSet(LocationName parent) {
* <p>`projects/{project}/locations/{location}`
* <p>Speech-to-Text supports three locations: `global`, `us` (US North America), and `eu`
* (Europe). If you are calling the `speech.googleapis.com` endpoint, use the `global`
* location. To specify a region, use a [regional endpoint](/speech-to-text/docs/endpoints)
* with matching `us` or `eu` location value.
* location. To specify a region, use a [regional
* endpoint](https://cloud.google.com/speech-to-text/docs/endpoints) with matching `us` or
* `eu` location value.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final ListPhraseSetPagedResponse listPhraseSet(String parent) {
Expand Down Expand Up @@ -545,8 +551,9 @@ public final UnaryCallable<ListPhraseSetRequest, ListPhraseSetResponse> listPhra
* <p>`projects/{project}/locations/{location}/phraseSets/{phrase_set}`
* <p>Speech-to-Text supports three locations: `global`, `us` (US North America), and `eu`
* (Europe). If you are calling the `speech.googleapis.com` endpoint, use the `global`
* location. To specify a region, use a [regional endpoint](/speech-to-text/docs/endpoints)
* with matching `us` or `eu` location value.
* location. To specify a region, use a [regional
* endpoint](https://cloud.google.com/speech-to-text/docs/endpoints) with matching `us` or
* `eu` location value.
* @param updateMask The list of fields to be updated.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
Expand Down Expand Up @@ -715,8 +722,9 @@ public final UnaryCallable<DeletePhraseSetRequest, Empty> deletePhraseSetCallabl
* <p>`projects/{project}/locations/{location}/customClasses`
* <p>Speech-to-Text supports three locations: `global`, `us` (US North America), and `eu`
* (Europe). If you are calling the `speech.googleapis.com` endpoint, use the `global`
* location. To specify a region, use a [regional endpoint](/speech-to-text/docs/endpoints)
* with matching `us` or `eu` location value.
* location. To specify a region, use a [regional
* endpoint](https://cloud.google.com/speech-to-text/docs/endpoints) with matching `us` or
* `eu` location value.
* @param customClass Required. The custom class to create.
* @param customClassId Required. The ID to use for the custom class, which will become the final
* component of the custom class' resource name.
Expand Down Expand Up @@ -753,8 +761,9 @@ public final CustomClass createCustomClass(
* <p>`projects/{project}/locations/{location}/customClasses`
* <p>Speech-to-Text supports three locations: `global`, `us` (US North America), and `eu`
* (Europe). If you are calling the `speech.googleapis.com` endpoint, use the `global`
* location. To specify a region, use a [regional endpoint](/speech-to-text/docs/endpoints)
* with matching `us` or `eu` location value.
* location. To specify a region, use a [regional
* endpoint](https://cloud.google.com/speech-to-text/docs/endpoints) with matching `us` or
* `eu` location value.
* @param customClass Required. The custom class to create.
* @param customClassId Required. The ID to use for the custom class, which will become the final
* component of the custom class' resource name.
Expand Down Expand Up @@ -931,8 +940,9 @@ public final UnaryCallable<GetCustomClassRequest, CustomClass> getCustomClassCal
* <p>`projects/{project}/locations/{location}/customClasses`
* <p>Speech-to-Text supports three locations: `global`, `us` (US North America), and `eu`
* (Europe). If you are calling the `speech.googleapis.com` endpoint, use the `global`
* location. To specify a region, use a [regional endpoint](/speech-to-text/docs/endpoints)
* with matching `us` or `eu` location value.
* location. To specify a region, use a [regional
* endpoint](https://cloud.google.com/speech-to-text/docs/endpoints) with matching `us` or
* `eu` location value.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final ListCustomClassesPagedResponse listCustomClasses(LocationName parent) {
Expand Down Expand Up @@ -962,8 +972,9 @@ public final ListCustomClassesPagedResponse listCustomClasses(LocationName paren
* <p>`projects/{project}/locations/{location}/customClasses`
* <p>Speech-to-Text supports three locations: `global`, `us` (US North America), and `eu`
* (Europe). If you are calling the `speech.googleapis.com` endpoint, use the `global`
* location. To specify a region, use a [regional endpoint](/speech-to-text/docs/endpoints)
* with matching `us` or `eu` location value.
* location. To specify a region, use a [regional
* endpoint](https://cloud.google.com/speech-to-text/docs/endpoints) with matching `us` or
* `eu` location value.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final ListCustomClassesPagedResponse listCustomClasses(String parent) {
Expand Down Expand Up @@ -1082,8 +1093,9 @@ public final ListCustomClassesPagedResponse listCustomClasses(ListCustomClassesR
* <p>`projects/{project}/locations/{location}/customClasses/{custom_class}`
* <p>Speech-to-Text supports three locations: `global`, `us` (US North America), and `eu`
* (Europe). If you are calling the `speech.googleapis.com` endpoint, use the `global`
* location. To specify a region, use a [regional endpoint](/speech-to-text/docs/endpoints)
* with matching `us` or `eu` location value.
* location. To specify a region, use a [regional
* endpoint](https://cloud.google.com/speech-to-text/docs/endpoints) with matching `us` or
* `eu` location value.
* @param updateMask The list of fields to be updated.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
Expand Down Expand Up @@ -1161,8 +1173,9 @@ public final UnaryCallable<UpdateCustomClassRequest, CustomClass> updateCustomCl
* <p>`projects/{project}/locations/{location}/customClasses/{custom_class}`
* <p>Speech-to-Text supports three locations: `global`, `us` (US North America), and `eu`
* (Europe). If you are calling the `speech.googleapis.com` endpoint, use the `global`
* location. To specify a region, use a [regional endpoint](/speech-to-text/docs/endpoints)
* with matching `us` or `eu` location value.
* location. To specify a region, use a [regional
* endpoint](https://cloud.google.com/speech-to-text/docs/endpoints) with matching `us` or
* `eu` location value.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final void deleteCustomClass(CustomClassName name) {
Expand Down Expand Up @@ -1190,8 +1203,9 @@ public final void deleteCustomClass(CustomClassName name) {
* <p>`projects/{project}/locations/{location}/customClasses/{custom_class}`
* <p>Speech-to-Text supports three locations: `global`, `us` (US North America), and `eu`
* (Europe). If you are calling the `speech.googleapis.com` endpoint, use the `global`
* location. To specify a region, use a [regional endpoint](/speech-to-text/docs/endpoints)
* with matching `us` or `eu` location value.
* location. To specify a region, use a [regional
* endpoint](https://cloud.google.com/speech-to-text/docs/endpoints) with matching `us` or
* `eu` location value.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final void deleteCustomClass(String name) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,13 +141,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* <pre>
* Required. The parent resource where this custom class will be created. Format:
* Required. The parent resource where this custom class will be created.
* Format:
* `projects/{project}/locations/{location}/customClasses`
* Speech-to-Text supports three locations: `global`, `us` (US North America),
* and `eu` (Europe). If you are calling the `speech.googleapis.com`
* endpoint, use the `global` location. To specify a region, use a
* [regional endpoint](/speech-to-text/docs/endpoints) with matching `us` or
* `eu` location value.
* [regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints)
* with matching `us` or `eu` location value.
* </pre>
*
* <code>
Expand All @@ -172,13 +173,14 @@ public java.lang.String getParent() {
*
*
* <pre>
* Required. The parent resource where this custom class will be created. Format:
* Required. The parent resource where this custom class will be created.
* Format:
* `projects/{project}/locations/{location}/customClasses`
* Speech-to-Text supports three locations: `global`, `us` (US North America),
* and `eu` (Europe). If you are calling the `speech.googleapis.com`
* endpoint, use the `global` location. To specify a region, use a
* [regional endpoint](/speech-to-text/docs/endpoints) with matching `us` or
* `eu` location value.
* [regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints)
* with matching `us` or `eu` location value.
* </pre>
*
* <code>
Expand Down Expand Up @@ -677,13 +679,14 @@ public Builder mergeFrom(
*
*
* <pre>
* Required. The parent resource where this custom class will be created. Format:
* Required. The parent resource where this custom class will be created.
* Format:
* `projects/{project}/locations/{location}/customClasses`
* Speech-to-Text supports three locations: `global`, `us` (US North America),
* and `eu` (Europe). If you are calling the `speech.googleapis.com`
* endpoint, use the `global` location. To specify a region, use a
* [regional endpoint](/speech-to-text/docs/endpoints) with matching `us` or
* `eu` location value.
* [regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints)
* with matching `us` or `eu` location value.
* </pre>
*
* <code>
Expand All @@ -707,13 +710,14 @@ public java.lang.String getParent() {
*
*
* <pre>
* Required. The parent resource where this custom class will be created. Format:
* Required. The parent resource where this custom class will be created.
* Format:
* `projects/{project}/locations/{location}/customClasses`
* Speech-to-Text supports three locations: `global`, `us` (US North America),
* and `eu` (Europe). If you are calling the `speech.googleapis.com`
* endpoint, use the `global` location. To specify a region, use a
* [regional endpoint](/speech-to-text/docs/endpoints) with matching `us` or
* `eu` location value.
* [regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints)
* with matching `us` or `eu` location value.
* </pre>
*
* <code>
Expand All @@ -737,13 +741,14 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
* <pre>
* Required. The parent resource where this custom class will be created. Format:
* Required. The parent resource where this custom class will be created.
* Format:
* `projects/{project}/locations/{location}/customClasses`
* Speech-to-Text supports three locations: `global`, `us` (US North America),
* and `eu` (Europe). If you are calling the `speech.googleapis.com`
* endpoint, use the `global` location. To specify a region, use a
* [regional endpoint](/speech-to-text/docs/endpoints) with matching `us` or
* `eu` location value.
* [regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints)
* with matching `us` or `eu` location value.
* </pre>
*
* <code>
Expand All @@ -766,13 +771,14 @@ public Builder setParent(java.lang.String value) {
*
*
* <pre>
* Required. The parent resource where this custom class will be created. Format:
* Required. The parent resource where this custom class will be created.
* Format:
* `projects/{project}/locations/{location}/customClasses`
* Speech-to-Text supports three locations: `global`, `us` (US North America),
* and `eu` (Europe). If you are calling the `speech.googleapis.com`
* endpoint, use the `global` location. To specify a region, use a
* [regional endpoint](/speech-to-text/docs/endpoints) with matching `us` or
* `eu` location value.
* [regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints)
* with matching `us` or `eu` location value.
* </pre>
*
* <code>
Expand All @@ -791,13 +797,14 @@ public Builder clearParent() {
*
*
* <pre>
* Required. The parent resource where this custom class will be created. Format:
* Required. The parent resource where this custom class will be created.
* Format:
* `projects/{project}/locations/{location}/customClasses`
* Speech-to-Text supports three locations: `global`, `us` (US North America),
* and `eu` (Europe). If you are calling the `speech.googleapis.com`
* endpoint, use the `global` location. To specify a region, use a
* [regional endpoint](/speech-to-text/docs/endpoints) with matching `us` or
* `eu` location value.
* [regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints)
* with matching `us` or `eu` location value.
* </pre>
*
* <code>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,14 @@ public interface CreateCustomClassRequestOrBuilder
*
*
* <pre>
* Required. The parent resource where this custom class will be created. Format:
* Required. The parent resource where this custom class will be created.
* Format:
* `projects/{project}/locations/{location}/customClasses`
* Speech-to-Text supports three locations: `global`, `us` (US North America),
* and `eu` (Europe). If you are calling the `speech.googleapis.com`
* endpoint, use the `global` location. To specify a region, use a
* [regional endpoint](/speech-to-text/docs/endpoints) with matching `us` or
* `eu` location value.
* [regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints)
* with matching `us` or `eu` location value.
* </pre>
*
* <code>
Expand All @@ -47,13 +48,14 @@ public interface CreateCustomClassRequestOrBuilder
*
*
* <pre>
* Required. The parent resource where this custom class will be created. Format:
* Required. The parent resource where this custom class will be created.
* Format:
* `projects/{project}/locations/{location}/customClasses`
* Speech-to-Text supports three locations: `global`, `us` (US North America),
* and `eu` (Europe). If you are calling the `speech.googleapis.com`
* endpoint, use the `global` location. To specify a region, use a
* [regional endpoint](/speech-to-text/docs/endpoints) with matching `us` or
* `eu` location value.
* [regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints)
* with matching `us` or `eu` location value.
* </pre>
*
* <code>
Expand Down
Loading