longRunningRecognizeCallable()"
return:
diff --git a/testdata/java/obj/api/com.google.cloud.speech.v1p1beta1.AdaptationClient.yml b/testdata/java/obj/api/com.google.cloud.speech.v1p1beta1.AdaptationClient.yml
index 656686b1..3ae1cf48 100644
--- a/testdata/java/obj/api/com.google.cloud.speech.v1p1beta1.AdaptationClient.yml
+++ b/testdata/java/obj/api/com.google.cloud.speech.v1p1beta1.AdaptationClient.yml
@@ -456,7 +456,7 @@ items:
overload: "com.google.cloud.speech.v1p1beta1.AdaptationClient.deleteCustomClassCallable*"
type: "Method"
package: "com.google.cloud.speech.v1p1beta1"
- summary: "Delete a custom class.\n\n Sample code:\n\n
\n try (AdaptationClient adaptationClient = AdaptationClient.create()) {\n DeleteCustomClassRequest request =\n DeleteCustomClassRequest.newBuilder()\n .setName(CustomClassName.of(\"[PROJECT]\", \"[LOCATION]\", \"[CUSTOM_CLASS]\").toString())\n .build();\n ApiFuture future = adaptationClient.deleteCustomClassCallable().futureCall(request);\n // Do something.\n future.get();\n }\n
"
+ summary: "Delete a custom class.\n\n Sample code:\n\n
\n try (AdaptationClient adaptationClient = AdaptationClient.create()) {\n DeleteCustomClassRequest request =\n DeleteCustomClassRequest.newBuilder()\n .setName(CustomClassName.of(\"[PROJECT]\", \"[LOCATION]\", \"[CUSTOM_CLASS]\").toString())\n .build();\n ApiFuture<Empty> future = adaptationClient.deleteCustomClassCallable().futureCall(request);\n // Do something.\n future.get();\n }\n
"
syntax:
content: "public final UnaryCallable deleteCustomClassCallable()"
return:
@@ -526,7 +526,7 @@ items:
overload: "com.google.cloud.speech.v1p1beta1.AdaptationClient.deletePhraseSetCallable*"
type: "Method"
package: "com.google.cloud.speech.v1p1beta1"
- summary: "Delete a phrase set.\n\n Sample code:\n\n
\n try (AdaptationClient adaptationClient = AdaptationClient.create()) {\n DeletePhraseSetRequest request =\n DeletePhraseSetRequest.newBuilder()\n .setName(PhraseSetName.of(\"[PROJECT]\", \"[LOCATION]\", \"[PHRASE_SET]\").toString())\n .build();\n ApiFuture future = adaptationClient.deletePhraseSetCallable().futureCall(request);\n // Do something.\n future.get();\n }\n
"
+ summary: "Delete a phrase set.\n\n Sample code:\n\n
\n try (AdaptationClient adaptationClient = AdaptationClient.create()) {\n DeletePhraseSetRequest request =\n DeletePhraseSetRequest.newBuilder()\n .setName(PhraseSetName.of(\"[PROJECT]\", \"[LOCATION]\", \"[PHRASE_SET]\").toString())\n .build();\n ApiFuture<Empty> future = adaptationClient.deletePhraseSetCallable().futureCall(request);\n // Do something.\n future.get();\n }\n
"
syntax:
content: "public final UnaryCallable deletePhraseSetCallable()"
return:
diff --git a/testdata/java/obj/api/com.google.cloud.speech.v1p1beta1.SpeechClient.yml b/testdata/java/obj/api/com.google.cloud.speech.v1p1beta1.SpeechClient.yml
index 4f06de32..7d4eeb49 100644
--- a/testdata/java/obj/api/com.google.cloud.speech.v1p1beta1.SpeechClient.yml
+++ b/testdata/java/obj/api/com.google.cloud.speech.v1p1beta1.SpeechClient.yml
@@ -308,7 +308,7 @@ items:
overload: "com.google.cloud.speech.v1p1beta1.SpeechClient.longRunningRecognizeCallable*"
type: "Method"
package: "com.google.cloud.speech.v1p1beta1"
- summary: "Performs asynchronous speech recognition: receive results via the google.longrunning.Operations\n interface. Returns either an Operation.error
or an Operation.response
which contains a\n LongRunningRecognizeResponse
message. For more information on asynchronous speech\n recognition, see the how-to.\n\n Sample code:\n\n
\n try (SpeechClient speechClient = SpeechClient.create()) {\n LongRunningRecognizeRequest request =\n LongRunningRecognizeRequest.newBuilder()\n .setConfig(RecognitionConfig.newBuilder().build())\n .setAudio(RecognitionAudio.newBuilder().build())\n .setOutputConfig(TranscriptOutputConfig.newBuilder().build())\n .build();\n ApiFuture future = speechClient.longRunningRecognizeCallable().futureCall(request);\n // Do something.\n Operation response = future.get();\n }\n
"
+ summary: "Performs asynchronous speech recognition: receive results via the google.longrunning.Operations\n interface. Returns either an Operation.error
or an Operation.response
which contains a\n LongRunningRecognizeResponse
message. For more information on asynchronous speech\n recognition, see the how-to.\n\n Sample code:\n\n
\n try (SpeechClient speechClient = SpeechClient.create()) {\n LongRunningRecognizeRequest request =\n LongRunningRecognizeRequest.newBuilder()\n .setConfig(RecognitionConfig.newBuilder().build())\n .setAudio(RecognitionAudio.newBuilder().build())\n .setOutputConfig(TranscriptOutputConfig.newBuilder().build())\n .build();\n ApiFuture<Operation> future = speechClient.longRunningRecognizeCallable().futureCall(request);\n // Do something.\n Operation response = future.get();\n }\n
"
syntax:
content: "public final UnaryCallable longRunningRecognizeCallable()"
return: