diff --git a/java-speech/README.md b/java-speech/README.md index e1bb5d473dbf..914ddaa4dfbd 100644 --- a/java-speech/README.md +++ b/java-speech/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-speech - 4.3.0 + 4.4.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-speech:4.3.0' +implementation 'com.google.cloud:google-cloud-speech:4.4.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-speech" % "4.3.0" +libraryDependencies += "com.google.cloud" % "google-cloud-speech" % "4.4.0" ``` ## Authentication diff --git a/java-speech/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/CreateCustomClassRequest.java b/java-speech/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/CreateCustomClassRequest.java index 406224f1174c..f62bc43d0e72 100644 --- a/java-speech/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/CreateCustomClassRequest.java +++ b/java-speech/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/CreateCustomClassRequest.java @@ -76,7 +76,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * 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`
@@ -107,7 +108,8 @@ public java.lang.String getParent() {
    *
    *
    * 
-   * 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`
@@ -651,7 +653,8 @@ public Builder mergeFrom(
      *
      *
      * 
-     * 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`
@@ -681,7 +684,8 @@ public java.lang.String getParent() {
      *
      *
      * 
-     * 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`
@@ -711,7 +715,8 @@ public com.google.protobuf.ByteString getParentBytes() {
      *
      *
      * 
-     * 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`
@@ -740,7 +745,8 @@ public Builder setParent(java.lang.String value) {
      *
      *
      * 
-     * 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`
@@ -765,7 +771,8 @@ public Builder clearParent() {
      *
      *
      * 
-     * 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`
diff --git a/java-speech/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/CreateCustomClassRequestOrBuilder.java b/java-speech/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/CreateCustomClassRequestOrBuilder.java
index 14ccf162cb13..ca145a658c4e 100644
--- a/java-speech/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/CreateCustomClassRequestOrBuilder.java
+++ b/java-speech/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/CreateCustomClassRequestOrBuilder.java
@@ -27,7 +27,8 @@ public interface CreateCustomClassRequestOrBuilder
    *
    *
    * 
-   * 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`
@@ -47,7 +48,8 @@ public interface CreateCustomClassRequestOrBuilder
    *
    *
    * 
-   * 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`
diff --git a/java-speech/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/CreatePhraseSetRequest.java b/java-speech/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/CreatePhraseSetRequest.java
index 5fc91b3d7289..0bb1510e5e63 100644
--- a/java-speech/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/CreatePhraseSetRequest.java
+++ b/java-speech/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/CreatePhraseSetRequest.java
@@ -76,7 +76,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    *
    * 
-   * Required. The parent resource where this phrase set will be created. Format:
+   * Required. The parent resource where this phrase set will be created.
+   * Format:
    * `projects/{project}/locations/{location}/phraseSets`
    * Speech-to-Text supports three locations: `global`, `us` (US North America),
    * and `eu` (Europe). If you are calling the `speech.googleapis.com`
@@ -107,7 +108,8 @@ public java.lang.String getParent() {
    *
    *
    * 
-   * Required. The parent resource where this phrase set will be created. Format:
+   * Required. The parent resource where this phrase set will be created.
+   * Format:
    * `projects/{project}/locations/{location}/phraseSets`
    * Speech-to-Text supports three locations: `global`, `us` (US North America),
    * and `eu` (Europe). If you are calling the `speech.googleapis.com`
@@ -650,7 +652,8 @@ public Builder mergeFrom(
      *
      *
      * 
-     * Required. The parent resource where this phrase set will be created. Format:
+     * Required. The parent resource where this phrase set will be created.
+     * Format:
      * `projects/{project}/locations/{location}/phraseSets`
      * Speech-to-Text supports three locations: `global`, `us` (US North America),
      * and `eu` (Europe). If you are calling the `speech.googleapis.com`
@@ -680,7 +683,8 @@ public java.lang.String getParent() {
      *
      *
      * 
-     * Required. The parent resource where this phrase set will be created. Format:
+     * Required. The parent resource where this phrase set will be created.
+     * Format:
      * `projects/{project}/locations/{location}/phraseSets`
      * Speech-to-Text supports three locations: `global`, `us` (US North America),
      * and `eu` (Europe). If you are calling the `speech.googleapis.com`
@@ -710,7 +714,8 @@ public com.google.protobuf.ByteString getParentBytes() {
      *
      *
      * 
-     * Required. The parent resource where this phrase set will be created. Format:
+     * Required. The parent resource where this phrase set will be created.
+     * Format:
      * `projects/{project}/locations/{location}/phraseSets`
      * Speech-to-Text supports three locations: `global`, `us` (US North America),
      * and `eu` (Europe). If you are calling the `speech.googleapis.com`
@@ -739,7 +744,8 @@ public Builder setParent(java.lang.String value) {
      *
      *
      * 
-     * Required. The parent resource where this phrase set will be created. Format:
+     * Required. The parent resource where this phrase set will be created.
+     * Format:
      * `projects/{project}/locations/{location}/phraseSets`
      * Speech-to-Text supports three locations: `global`, `us` (US North America),
      * and `eu` (Europe). If you are calling the `speech.googleapis.com`
@@ -764,7 +770,8 @@ public Builder clearParent() {
      *
      *
      * 
-     * Required. The parent resource where this phrase set will be created. Format:
+     * Required. The parent resource where this phrase set will be created.
+     * Format:
      * `projects/{project}/locations/{location}/phraseSets`
      * Speech-to-Text supports three locations: `global`, `us` (US North America),
      * and `eu` (Europe). If you are calling the `speech.googleapis.com`
diff --git a/java-speech/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/CreatePhraseSetRequestOrBuilder.java b/java-speech/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/CreatePhraseSetRequestOrBuilder.java
index f8fffaec1d9b..6ed2b941b954 100644
--- a/java-speech/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/CreatePhraseSetRequestOrBuilder.java
+++ b/java-speech/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/CreatePhraseSetRequestOrBuilder.java
@@ -27,7 +27,8 @@ public interface CreatePhraseSetRequestOrBuilder
    *
    *
    * 
-   * Required. The parent resource where this phrase set will be created. Format:
+   * Required. The parent resource where this phrase set will be created.
+   * Format:
    * `projects/{project}/locations/{location}/phraseSets`
    * Speech-to-Text supports three locations: `global`, `us` (US North America),
    * and `eu` (Europe). If you are calling the `speech.googleapis.com`
@@ -47,7 +48,8 @@ public interface CreatePhraseSetRequestOrBuilder
    *
    *
    * 
-   * Required. The parent resource where this phrase set will be created. Format:
+   * Required. The parent resource where this phrase set will be created.
+   * Format:
    * `projects/{project}/locations/{location}/phraseSets`
    * Speech-to-Text supports three locations: `global`, `us` (US North America),
    * and `eu` (Europe). If you are calling the `speech.googleapis.com`
diff --git a/java-speech/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/PhraseSet.java b/java-speech/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/PhraseSet.java
index 6587e7bb6196..98becdcb5ce7 100644
--- a/java-speech/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/PhraseSet.java
+++ b/java-speech/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/PhraseSet.java
@@ -110,8 +110,8 @@ public interface PhraseOrBuilder
      * boost will simply be ignored. Though `boost` can accept a wide range of
      * positive values, most use cases are best served
      * with values between 0 and 20. We recommend using a binary search approach
-     * to finding the optimal value for your use case. Speech recognition
-     * will skip PhraseSets with a boost value of 0.
+     * to finding the optimal value for your use case as well as adding
+     * phrases both with and without boost to your requests.
      * 
* * float boost = 2; @@ -145,8 +145,8 @@ public interface PhraseOrBuilder * 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. *
* * Protobuf type {@code google.cloud.speech.v1.PhraseSet.Phrase} @@ -255,8 +255,8 @@ public com.google.protobuf.ByteString getValueBytes() { * boost will simply be ignored. Though `boost` can accept a wide range of * positive values, most use cases are best served * with values between 0 and 20. We recommend using a binary search approach - * to finding the optimal value for your use case. Speech recognition - * will skip PhraseSets with a boost value of 0. + * to finding the optimal value for your use case as well as adding + * phrases both with and without boost to your requests. *
* * float boost = 2; @@ -463,8 +463,8 @@ protected Builder newBuilderForType( * 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. *
* * Protobuf type {@code google.cloud.speech.v1.PhraseSet.Phrase} @@ -776,8 +776,8 @@ public Builder setValueBytes(com.google.protobuf.ByteString value) { * boost will simply be ignored. Though `boost` can accept a wide range of * positive values, most use cases are best served * with values between 0 and 20. We recommend using a binary search approach - * to finding the optimal value for your use case. Speech recognition - * will skip PhraseSets with a boost value of 0. + * to finding the optimal value for your use case as well as adding + * phrases both with and without boost to your requests. *
* * float boost = 2; @@ -799,8 +799,8 @@ public float getBoost() { * boost will simply be ignored. Though `boost` can accept a wide range of * positive values, most use cases are best served * with values between 0 and 20. We recommend using a binary search approach - * to finding the optimal value for your use case. Speech recognition - * will skip PhraseSets with a boost value of 0. + * to finding the optimal value for your use case as well as adding + * phrases both with and without boost to your requests. *
* * float boost = 2; @@ -826,8 +826,8 @@ public Builder setBoost(float value) { * boost will simply be ignored. Though `boost` can accept a wide range of * positive values, most use cases are best served * with values between 0 and 20. We recommend using a binary search approach - * to finding the optimal value for your use case. Speech recognition - * will skip PhraseSets with a boost value of 0. + * to finding the optimal value for your use case as well as adding + * phrases both with and without boost to your requests. *
* * float boost = 2; @@ -1040,8 +1040,8 @@ public com.google.cloud.speech.v1.PhraseSet.PhraseOrBuilder getPhrasesOrBuilder( * enabled, so negative boost will simply be ignored. Though `boost` can * accept a wide range of positive values, most use cases are best served with * values between 0 (exclusive) and 20. We recommend using a binary search - * approach to finding the optimal value for your use case. Speech recognition - * will skip PhraseSets with a boost value of 0. + * approach to finding the optimal value for your use case as well as adding + * phrases both with and without boost to your requests. *
* * float boost = 4; @@ -1953,8 +1953,8 @@ public com.google.cloud.speech.v1.PhraseSet.Phrase.Builder addPhrasesBuilder(int * enabled, so negative boost will simply be ignored. Though `boost` can * accept a wide range of positive values, most use cases are best served with * values between 0 (exclusive) and 20. We recommend using a binary search - * approach to finding the optimal value for your use case. Speech recognition - * will skip PhraseSets with a boost value of 0. + * approach to finding the optimal value for your use case as well as adding + * phrases both with and without boost to your requests. *
* * float boost = 4; @@ -1976,8 +1976,8 @@ public float getBoost() { * enabled, so negative boost will simply be ignored. Though `boost` can * accept a wide range of positive values, most use cases are best served with * values between 0 (exclusive) and 20. We recommend using a binary search - * approach to finding the optimal value for your use case. Speech recognition - * will skip PhraseSets with a boost value of 0. + * approach to finding the optimal value for your use case as well as adding + * phrases both with and without boost to your requests. *
* * float boost = 4; @@ -2003,8 +2003,8 @@ public Builder setBoost(float value) { * enabled, so negative boost will simply be ignored. Though `boost` can * accept a wide range of positive values, most use cases are best served with * values between 0 (exclusive) and 20. We recommend using a binary search - * approach to finding the optimal value for your use case. Speech recognition - * will skip PhraseSets with a boost value of 0. + * approach to finding the optimal value for your use case as well as adding + * phrases both with and without boost to your requests. *
* * float boost = 4; diff --git a/java-speech/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/PhraseSetOrBuilder.java b/java-speech/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/PhraseSetOrBuilder.java index 39857ed50248..f341693f7936 100644 --- a/java-speech/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/PhraseSetOrBuilder.java +++ b/java-speech/proto-google-cloud-speech-v1/src/main/java/com/google/cloud/speech/v1/PhraseSetOrBuilder.java @@ -111,8 +111,8 @@ public interface PhraseSetOrBuilder * enabled, so negative boost will simply be ignored. Though `boost` can * accept a wide range of positive values, most use cases are best served with * values between 0 (exclusive) and 20. We recommend using a binary search - * approach to finding the optimal value for your use case. Speech recognition - * will skip PhraseSets with a boost value of 0. + * approach to finding the optimal value for your use case as well as adding + * phrases both with and without boost to your requests. *
* * float boost = 4; diff --git a/java-speech/proto-google-cloud-speech-v1/src/main/proto/google/cloud/speech/v1/cloud_speech_adaptation.proto b/java-speech/proto-google-cloud-speech-v1/src/main/proto/google/cloud/speech/v1/cloud_speech_adaptation.proto index b0d60ab4a1dd..4a71e673ae66 100644 --- a/java-speech/proto-google-cloud-speech-v1/src/main/proto/google/cloud/speech/v1/cloud_speech_adaptation.proto +++ b/java-speech/proto-google-cloud-speech-v1/src/main/proto/google/cloud/speech/v1/cloud_speech_adaptation.proto @@ -34,7 +34,8 @@ option objc_class_prefix = "GCS"; // Service that implements Google Cloud Speech Adaptation API. service Adaptation { option (google.api.default_host) = "speech.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform"; // Create a set of phrase hints. Each item in the set can be a single word or // a multi-word phrase. The items in the PhraseSet are favored by the @@ -86,7 +87,8 @@ service Adaptation { post: "/v1/{parent=projects/*/locations/*}/customClasses" body: "*" }; - option (google.api.method_signature) = "parent,custom_class,custom_class_id"; + option (google.api.method_signature) = + "parent,custom_class,custom_class_id"; } // Get a custom class. @@ -98,7 +100,8 @@ service Adaptation { } // List custom classes. - rpc ListCustomClasses(ListCustomClassesRequest) returns (ListCustomClassesResponse) { + rpc ListCustomClasses(ListCustomClassesRequest) + returns (ListCustomClassesResponse) { option (google.api.http) = { get: "/v1/{parent=projects/*/locations/*}/customClasses" }; @@ -115,7 +118,8 @@ service Adaptation { } // Delete a custom class. - rpc DeleteCustomClass(DeleteCustomClassRequest) returns (google.protobuf.Empty) { + rpc DeleteCustomClass(DeleteCustomClassRequest) + returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v1/{name=projects/*/locations/*/customClasses/*}" }; @@ -125,7 +129,8 @@ service Adaptation { // Message sent by the client for the `CreatePhraseSet` method. message CreatePhraseSetRequest { - // Required. The parent resource where this phrase set will be created. Format: + // Required. The parent resource where this phrase set will be created. + // Format: // // `projects/{project}/locations/{location}/phraseSets` // @@ -248,7 +253,8 @@ message DeletePhraseSetRequest { // Message sent by the client for the `CreateCustomClass` method. message CreateCustomClassRequest { - // 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` // diff --git a/java-speech/proto-google-cloud-speech-v1/src/main/proto/google/cloud/speech/v1/resource.proto b/java-speech/proto-google-cloud-speech-v1/src/main/proto/google/cloud/speech/v1/resource.proto index 63b7ae4479ff..212794c75090 100644 --- a/java-speech/proto-google-cloud-speech-v1/src/main/proto/google/cloud/speech/v1/resource.proto +++ b/java-speech/proto-google-cloud-speech-v1/src/main/proto/google/cloud/speech/v1/resource.proto @@ -82,8 +82,8 @@ message PhraseSet { // 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. message Phrase { // The phrase itself. string value = 1; @@ -95,8 +95,8 @@ message PhraseSet { // boost will simply be ignored. Though `boost` can accept a wide range of // positive values, most use cases are best served // with values between 0 and 20. We recommend using a binary search approach - // to finding the optimal value for your use case. Speech recognition - // will skip PhraseSets with a boost value of 0. + // to finding the optimal value for your use case as well as adding + // phrases both with and without boost to your requests. float boost = 2; } @@ -113,8 +113,8 @@ message PhraseSet { // enabled, so negative boost will simply be ignored. Though `boost` can // accept a wide range of positive values, most use cases are best served with // values between 0 (exclusive) and 20. We recommend using a binary search - // approach to finding the optimal value for your use case. Speech recognition - // will skip PhraseSets with a boost value of 0. + // approach to finding the optimal value for your use case as well as adding + // phrases both with and without boost to your requests. float boost = 4; } diff --git a/java-speech/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/CreateCustomClassRequest.java b/java-speech/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/CreateCustomClassRequest.java index 8b3100d35612..b1fc669caa25 100644 --- a/java-speech/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/CreateCustomClassRequest.java +++ b/java-speech/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/CreateCustomClassRequest.java @@ -76,7 +76,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * 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`
@@ -107,7 +108,8 @@ public java.lang.String getParent() {
    *
    *
    * 
-   * 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`
@@ -652,7 +654,8 @@ public Builder mergeFrom(
      *
      *
      * 
-     * 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`
@@ -682,7 +685,8 @@ public java.lang.String getParent() {
      *
      *
      * 
-     * 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`
@@ -712,7 +716,8 @@ public com.google.protobuf.ByteString getParentBytes() {
      *
      *
      * 
-     * 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`
@@ -741,7 +746,8 @@ public Builder setParent(java.lang.String value) {
      *
      *
      * 
-     * 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`
@@ -766,7 +772,8 @@ public Builder clearParent() {
      *
      *
      * 
-     * 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`
diff --git a/java-speech/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/CreateCustomClassRequestOrBuilder.java b/java-speech/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/CreateCustomClassRequestOrBuilder.java
index 0562cbcf6cdd..96fea57ca645 100644
--- a/java-speech/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/CreateCustomClassRequestOrBuilder.java
+++ b/java-speech/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/CreateCustomClassRequestOrBuilder.java
@@ -27,7 +27,8 @@ public interface CreateCustomClassRequestOrBuilder
    *
    *
    * 
-   * 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`
@@ -47,7 +48,8 @@ public interface CreateCustomClassRequestOrBuilder
    *
    *
    * 
-   * 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`
diff --git a/java-speech/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/CreatePhraseSetRequest.java b/java-speech/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/CreatePhraseSetRequest.java
index 39ce8dd20734..78c4494d418b 100644
--- a/java-speech/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/CreatePhraseSetRequest.java
+++ b/java-speech/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/CreatePhraseSetRequest.java
@@ -76,7 +76,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    *
    * 
-   * Required. The parent resource where this phrase set will be created. Format:
+   * Required. The parent resource where this phrase set will be created.
+   * Format:
    * `projects/{project}/locations/{location}/phraseSets`
    * Speech-to-Text supports three locations: `global`, `us` (US North America),
    * and `eu` (Europe). If you are calling the `speech.googleapis.com`
@@ -107,7 +108,8 @@ public java.lang.String getParent() {
    *
    *
    * 
-   * Required. The parent resource where this phrase set will be created. Format:
+   * Required. The parent resource where this phrase set will be created.
+   * Format:
    * `projects/{project}/locations/{location}/phraseSets`
    * Speech-to-Text supports three locations: `global`, `us` (US North America),
    * and `eu` (Europe). If you are calling the `speech.googleapis.com`
@@ -651,7 +653,8 @@ public Builder mergeFrom(
      *
      *
      * 
-     * Required. The parent resource where this phrase set will be created. Format:
+     * Required. The parent resource where this phrase set will be created.
+     * Format:
      * `projects/{project}/locations/{location}/phraseSets`
      * Speech-to-Text supports three locations: `global`, `us` (US North America),
      * and `eu` (Europe). If you are calling the `speech.googleapis.com`
@@ -681,7 +684,8 @@ public java.lang.String getParent() {
      *
      *
      * 
-     * Required. The parent resource where this phrase set will be created. Format:
+     * Required. The parent resource where this phrase set will be created.
+     * Format:
      * `projects/{project}/locations/{location}/phraseSets`
      * Speech-to-Text supports three locations: `global`, `us` (US North America),
      * and `eu` (Europe). If you are calling the `speech.googleapis.com`
@@ -711,7 +715,8 @@ public com.google.protobuf.ByteString getParentBytes() {
      *
      *
      * 
-     * Required. The parent resource where this phrase set will be created. Format:
+     * Required. The parent resource where this phrase set will be created.
+     * Format:
      * `projects/{project}/locations/{location}/phraseSets`
      * Speech-to-Text supports three locations: `global`, `us` (US North America),
      * and `eu` (Europe). If you are calling the `speech.googleapis.com`
@@ -740,7 +745,8 @@ public Builder setParent(java.lang.String value) {
      *
      *
      * 
-     * Required. The parent resource where this phrase set will be created. Format:
+     * Required. The parent resource where this phrase set will be created.
+     * Format:
      * `projects/{project}/locations/{location}/phraseSets`
      * Speech-to-Text supports three locations: `global`, `us` (US North America),
      * and `eu` (Europe). If you are calling the `speech.googleapis.com`
@@ -765,7 +771,8 @@ public Builder clearParent() {
      *
      *
      * 
-     * Required. The parent resource where this phrase set will be created. Format:
+     * Required. The parent resource where this phrase set will be created.
+     * Format:
      * `projects/{project}/locations/{location}/phraseSets`
      * Speech-to-Text supports three locations: `global`, `us` (US North America),
      * and `eu` (Europe). If you are calling the `speech.googleapis.com`
diff --git a/java-speech/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/CreatePhraseSetRequestOrBuilder.java b/java-speech/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/CreatePhraseSetRequestOrBuilder.java
index 4b4c85e4a32a..724371c4424c 100644
--- a/java-speech/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/CreatePhraseSetRequestOrBuilder.java
+++ b/java-speech/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/CreatePhraseSetRequestOrBuilder.java
@@ -27,7 +27,8 @@ public interface CreatePhraseSetRequestOrBuilder
    *
    *
    * 
-   * Required. The parent resource where this phrase set will be created. Format:
+   * Required. The parent resource where this phrase set will be created.
+   * Format:
    * `projects/{project}/locations/{location}/phraseSets`
    * Speech-to-Text supports three locations: `global`, `us` (US North America),
    * and `eu` (Europe). If you are calling the `speech.googleapis.com`
@@ -47,7 +48,8 @@ public interface CreatePhraseSetRequestOrBuilder
    *
    *
    * 
-   * Required. The parent resource where this phrase set will be created. Format:
+   * Required. The parent resource where this phrase set will be created.
+   * Format:
    * `projects/{project}/locations/{location}/phraseSets`
    * Speech-to-Text supports three locations: `global`, `us` (US North America),
    * and `eu` (Europe). If you are calling the `speech.googleapis.com`
diff --git a/java-speech/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/PhraseSet.java b/java-speech/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/PhraseSet.java
index ed04b6065554..5abc2dbde6ed 100644
--- a/java-speech/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/PhraseSet.java
+++ b/java-speech/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/PhraseSet.java
@@ -110,8 +110,8 @@ public interface PhraseOrBuilder
      * boost will simply be ignored. Though `boost` can accept a wide range of
      * positive values, most use cases are best served
      * with values between 0 and 20. We recommend using a binary search approach
-     * to finding the optimal value for your use case. Speech recognition
-     * will skip PhraseSets with a boost value of 0.
+     * to finding the optimal value for your use case as well as adding
+     * phrases both with and without boost to your requests.
      * 
* * float boost = 2; @@ -145,8 +145,8 @@ public interface PhraseOrBuilder * 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. *
* * Protobuf type {@code google.cloud.speech.v1p1beta1.PhraseSet.Phrase} @@ -255,8 +255,8 @@ public com.google.protobuf.ByteString getValueBytes() { * boost will simply be ignored. Though `boost` can accept a wide range of * positive values, most use cases are best served * with values between 0 and 20. We recommend using a binary search approach - * to finding the optimal value for your use case. Speech recognition - * will skip PhraseSets with a boost value of 0. + * to finding the optimal value for your use case as well as adding + * phrases both with and without boost to your requests. *
* * float boost = 2; @@ -463,8 +463,8 @@ protected Builder newBuilderForType( * 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. *
* * Protobuf type {@code google.cloud.speech.v1p1beta1.PhraseSet.Phrase} @@ -777,8 +777,8 @@ public Builder setValueBytes(com.google.protobuf.ByteString value) { * boost will simply be ignored. Though `boost` can accept a wide range of * positive values, most use cases are best served * with values between 0 and 20. We recommend using a binary search approach - * to finding the optimal value for your use case. Speech recognition - * will skip PhraseSets with a boost value of 0. + * to finding the optimal value for your use case as well as adding + * phrases both with and without boost to your requests. *
* * float boost = 2; @@ -800,8 +800,8 @@ public float getBoost() { * boost will simply be ignored. Though `boost` can accept a wide range of * positive values, most use cases are best served * with values between 0 and 20. We recommend using a binary search approach - * to finding the optimal value for your use case. Speech recognition - * will skip PhraseSets with a boost value of 0. + * to finding the optimal value for your use case as well as adding + * phrases both with and without boost to your requests. *
* * float boost = 2; @@ -827,8 +827,8 @@ public Builder setBoost(float value) { * boost will simply be ignored. Though `boost` can accept a wide range of * positive values, most use cases are best served * with values between 0 and 20. We recommend using a binary search approach - * to finding the optimal value for your use case. Speech recognition - * will skip PhraseSets with a boost value of 0. + * to finding the optimal value for your use case as well as adding + * phrases both with and without boost to your requests. *
* * float boost = 2; @@ -1042,8 +1042,8 @@ public com.google.cloud.speech.v1p1beta1.PhraseSet.PhraseOrBuilder getPhrasesOrB * enabled, so negative boost will simply be ignored. Though `boost` can * accept a wide range of positive values, most use cases are best served with * values between 0 (exclusive) and 20. We recommend using a binary search - * approach to finding the optimal value for your use case. Speech recognition - * will skip PhraseSets with a boost value of 0. + * approach to finding the optimal value for your use case as well as adding + * phrases both with and without boost to your requests. *
* * float boost = 4; @@ -1963,8 +1963,8 @@ public com.google.cloud.speech.v1p1beta1.PhraseSet.Phrase.Builder addPhrasesBuil * enabled, so negative boost will simply be ignored. Though `boost` can * accept a wide range of positive values, most use cases are best served with * values between 0 (exclusive) and 20. We recommend using a binary search - * approach to finding the optimal value for your use case. Speech recognition - * will skip PhraseSets with a boost value of 0. + * approach to finding the optimal value for your use case as well as adding + * phrases both with and without boost to your requests. *
* * float boost = 4; @@ -1986,8 +1986,8 @@ public float getBoost() { * enabled, so negative boost will simply be ignored. Though `boost` can * accept a wide range of positive values, most use cases are best served with * values between 0 (exclusive) and 20. We recommend using a binary search - * approach to finding the optimal value for your use case. Speech recognition - * will skip PhraseSets with a boost value of 0. + * approach to finding the optimal value for your use case as well as adding + * phrases both with and without boost to your requests. *
* * float boost = 4; @@ -2013,8 +2013,8 @@ public Builder setBoost(float value) { * enabled, so negative boost will simply be ignored. Though `boost` can * accept a wide range of positive values, most use cases are best served with * values between 0 (exclusive) and 20. We recommend using a binary search - * approach to finding the optimal value for your use case. Speech recognition - * will skip PhraseSets with a boost value of 0. + * approach to finding the optimal value for your use case as well as adding + * phrases both with and without boost to your requests. *
* * float boost = 4; diff --git a/java-speech/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/PhraseSetOrBuilder.java b/java-speech/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/PhraseSetOrBuilder.java index 55f1127b4ee5..91b548072ad2 100644 --- a/java-speech/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/PhraseSetOrBuilder.java +++ b/java-speech/proto-google-cloud-speech-v1p1beta1/src/main/java/com/google/cloud/speech/v1p1beta1/PhraseSetOrBuilder.java @@ -111,8 +111,8 @@ public interface PhraseSetOrBuilder * enabled, so negative boost will simply be ignored. Though `boost` can * accept a wide range of positive values, most use cases are best served with * values between 0 (exclusive) and 20. We recommend using a binary search - * approach to finding the optimal value for your use case. Speech recognition - * will skip PhraseSets with a boost value of 0. + * approach to finding the optimal value for your use case as well as adding + * phrases both with and without boost to your requests. *
* * float boost = 4; diff --git a/java-speech/proto-google-cloud-speech-v1p1beta1/src/main/proto/google/cloud/speech/v1p1beta1/cloud_speech_adaptation.proto b/java-speech/proto-google-cloud-speech-v1p1beta1/src/main/proto/google/cloud/speech/v1p1beta1/cloud_speech_adaptation.proto index 45ca97f2d13a..ed13bbefa3a1 100644 --- a/java-speech/proto-google-cloud-speech-v1p1beta1/src/main/proto/google/cloud/speech/v1p1beta1/cloud_speech_adaptation.proto +++ b/java-speech/proto-google-cloud-speech-v1p1beta1/src/main/proto/google/cloud/speech/v1p1beta1/cloud_speech_adaptation.proto @@ -34,7 +34,8 @@ option objc_class_prefix = "GCS"; // Service that implements Google Cloud Speech Adaptation API. service Adaptation { option (google.api.default_host) = "speech.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform"; // Create a set of phrase hints. Each item in the set can be a single word or // a multi-word phrase. The items in the PhraseSet are favored by the @@ -86,7 +87,8 @@ service Adaptation { post: "/v1p1beta1/{parent=projects/*/locations/*}/customClasses" body: "*" }; - option (google.api.method_signature) = "parent,custom_class,custom_class_id"; + option (google.api.method_signature) = + "parent,custom_class,custom_class_id"; } // Get a custom class. @@ -98,7 +100,8 @@ service Adaptation { } // List custom classes. - rpc ListCustomClasses(ListCustomClassesRequest) returns (ListCustomClassesResponse) { + rpc ListCustomClasses(ListCustomClassesRequest) + returns (ListCustomClassesResponse) { option (google.api.http) = { get: "/v1p1beta1/{parent=projects/*/locations/*}/customClasses" }; @@ -115,7 +118,8 @@ service Adaptation { } // Delete a custom class. - rpc DeleteCustomClass(DeleteCustomClassRequest) returns (google.protobuf.Empty) { + rpc DeleteCustomClass(DeleteCustomClassRequest) + returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v1p1beta1/{name=projects/*/locations/*/customClasses/*}" }; @@ -125,7 +129,8 @@ service Adaptation { // Message sent by the client for the `CreatePhraseSet` method. message CreatePhraseSetRequest { - // Required. The parent resource where this phrase set will be created. Format: + // Required. The parent resource where this phrase set will be created. + // Format: // // `projects/{project}/locations/{location}/phraseSets` // @@ -248,7 +253,8 @@ message DeletePhraseSetRequest { // Message sent by the client for the `CreateCustomClass` method. message CreateCustomClassRequest { - // 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` // diff --git a/java-speech/proto-google-cloud-speech-v1p1beta1/src/main/proto/google/cloud/speech/v1p1beta1/resource.proto b/java-speech/proto-google-cloud-speech-v1p1beta1/src/main/proto/google/cloud/speech/v1p1beta1/resource.proto index 6a9bcaa9837a..215a6a8a0215 100644 --- a/java-speech/proto-google-cloud-speech-v1p1beta1/src/main/proto/google/cloud/speech/v1p1beta1/resource.proto +++ b/java-speech/proto-google-cloud-speech-v1p1beta1/src/main/proto/google/cloud/speech/v1p1beta1/resource.proto @@ -82,8 +82,8 @@ message PhraseSet { // 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. message Phrase { // The phrase itself. string value = 1; @@ -95,8 +95,8 @@ message PhraseSet { // boost will simply be ignored. Though `boost` can accept a wide range of // positive values, most use cases are best served // with values between 0 and 20. We recommend using a binary search approach - // to finding the optimal value for your use case. Speech recognition - // will skip PhraseSets with a boost value of 0. + // to finding the optimal value for your use case as well as adding + // phrases both with and without boost to your requests. float boost = 2; } @@ -113,8 +113,8 @@ message PhraseSet { // enabled, so negative boost will simply be ignored. Though `boost` can // accept a wide range of positive values, most use cases are best served with // values between 0 (exclusive) and 20. We recommend using a binary search - // approach to finding the optimal value for your use case. Speech recognition - // will skip PhraseSets with a boost value of 0. + // approach to finding the optimal value for your use case as well as adding + // phrases both with and without boost to your requests. float boost = 4; }