public static final class SpeechGrpc.SpeechFutureStub extends io.grpc.stub.AbstractFutureStub<SpeechGrpc.SpeechFutureStub>
Enables speech transcription and resource management.
| Modifier and Type | Method and Description |
|---|---|
com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> |
batchRecognize(BatchRecognizeRequest request)
Performs batch asynchronous speech recognition: send a request with N
audio files and receive a long running operation that can be polled to see
when the transcriptions are finished.
|
protected SpeechGrpc.SpeechFutureStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> |
createCustomClass(CreateCustomClassRequest request)
Creates a [CustomClass][google.cloud.speech.v2.CustomClass].
|
com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> |
createPhraseSet(CreatePhraseSetRequest request)
Creates a [PhraseSet][google.cloud.speech.v2.PhraseSet].
|
com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> |
createRecognizer(CreateRecognizerRequest request)
Creates a [Recognizer][google.cloud.speech.v2.Recognizer].
|
com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> |
deleteCustomClass(DeleteCustomClassRequest request)
Deletes the [CustomClass][google.cloud.speech.v2.CustomClass].
|
com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> |
deletePhraseSet(DeletePhraseSetRequest request)
Deletes the [PhraseSet][google.cloud.speech.v2.PhraseSet].
|
com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> |
deleteRecognizer(DeleteRecognizerRequest request)
Deletes the [Recognizer][google.cloud.speech.v2.Recognizer].
|
com.google.common.util.concurrent.ListenableFuture<Config> |
getConfig(GetConfigRequest request)
Returns the requested [Config][google.cloud.speech.v2.Config].
|
com.google.common.util.concurrent.ListenableFuture<CustomClass> |
getCustomClass(GetCustomClassRequest request)
Returns the requested
[CustomClass][google.cloud.speech.v2.CustomClass].
|
com.google.common.util.concurrent.ListenableFuture<PhraseSet> |
getPhraseSet(GetPhraseSetRequest request)
Returns the requested
[PhraseSet][google.cloud.speech.v2.PhraseSet].
|
com.google.common.util.concurrent.ListenableFuture<Recognizer> |
getRecognizer(GetRecognizerRequest request)
Returns the requested
[Recognizer][google.cloud.speech.v2.Recognizer].
|
com.google.common.util.concurrent.ListenableFuture<ListCustomClassesResponse> |
listCustomClasses(ListCustomClassesRequest request)
Lists CustomClasses.
|
com.google.common.util.concurrent.ListenableFuture<ListPhraseSetsResponse> |
listPhraseSets(ListPhraseSetsRequest request)
Lists PhraseSets.
|
com.google.common.util.concurrent.ListenableFuture<ListRecognizersResponse> |
listRecognizers(ListRecognizersRequest request)
Lists Recognizers.
|
com.google.common.util.concurrent.ListenableFuture<RecognizeResponse> |
recognize(RecognizeRequest request)
Performs synchronous Speech recognition: receive results after all audio
has been sent and processed.
|
com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> |
undeleteCustomClass(UndeleteCustomClassRequest request)
Undeletes the [CustomClass][google.cloud.speech.v2.CustomClass].
|
com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> |
undeletePhraseSet(UndeletePhraseSetRequest request)
Undeletes the [PhraseSet][google.cloud.speech.v2.PhraseSet].
|
com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> |
undeleteRecognizer(UndeleteRecognizerRequest request)
Undeletes the [Recognizer][google.cloud.speech.v2.Recognizer].
|
com.google.common.util.concurrent.ListenableFuture<Config> |
updateConfig(UpdateConfigRequest request)
Updates the [Config][google.cloud.speech.v2.Config].
|
com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> |
updateCustomClass(UpdateCustomClassRequest request)
Updates the [CustomClass][google.cloud.speech.v2.CustomClass].
|
com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> |
updatePhraseSet(UpdatePhraseSetRequest request)
Updates the [PhraseSet][google.cloud.speech.v2.PhraseSet].
|
com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> |
updateRecognizer(UpdateRecognizerRequest request)
Updates the [Recognizer][google.cloud.speech.v2.Recognizer].
|
protected SpeechGrpc.SpeechFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build in class io.grpc.stub.AbstractStub<SpeechGrpc.SpeechFutureStub>public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> createRecognizer(CreateRecognizerRequest request)
Creates a [Recognizer][google.cloud.speech.v2.Recognizer].
public com.google.common.util.concurrent.ListenableFuture<ListRecognizersResponse> listRecognizers(ListRecognizersRequest request)
Lists Recognizers.
public com.google.common.util.concurrent.ListenableFuture<Recognizer> getRecognizer(GetRecognizerRequest request)
Returns the requested [Recognizer][google.cloud.speech.v2.Recognizer]. Fails with [NOT_FOUND][google.rpc.Code.NOT_FOUND] if the requested Recognizer doesn't exist.
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> updateRecognizer(UpdateRecognizerRequest request)
Updates the [Recognizer][google.cloud.speech.v2.Recognizer].
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> deleteRecognizer(DeleteRecognizerRequest request)
Deletes the [Recognizer][google.cloud.speech.v2.Recognizer].
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> undeleteRecognizer(UndeleteRecognizerRequest request)
Undeletes the [Recognizer][google.cloud.speech.v2.Recognizer].
public com.google.common.util.concurrent.ListenableFuture<RecognizeResponse> recognize(RecognizeRequest request)
Performs synchronous Speech recognition: receive results after all audio has been sent and processed.
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> batchRecognize(BatchRecognizeRequest request)
Performs batch asynchronous speech recognition: send a request with N audio files and receive a long running operation that can be polled to see when the transcriptions are finished.
public com.google.common.util.concurrent.ListenableFuture<Config> getConfig(GetConfigRequest request)
Returns the requested [Config][google.cloud.speech.v2.Config].
public com.google.common.util.concurrent.ListenableFuture<Config> updateConfig(UpdateConfigRequest request)
Updates the [Config][google.cloud.speech.v2.Config].
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> createCustomClass(CreateCustomClassRequest request)
Creates a [CustomClass][google.cloud.speech.v2.CustomClass].
public com.google.common.util.concurrent.ListenableFuture<ListCustomClassesResponse> listCustomClasses(ListCustomClassesRequest request)
Lists CustomClasses.
public com.google.common.util.concurrent.ListenableFuture<CustomClass> getCustomClass(GetCustomClassRequest request)
Returns the requested [CustomClass][google.cloud.speech.v2.CustomClass].
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> updateCustomClass(UpdateCustomClassRequest request)
Updates the [CustomClass][google.cloud.speech.v2.CustomClass].
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> deleteCustomClass(DeleteCustomClassRequest request)
Deletes the [CustomClass][google.cloud.speech.v2.CustomClass].
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> undeleteCustomClass(UndeleteCustomClassRequest request)
Undeletes the [CustomClass][google.cloud.speech.v2.CustomClass].
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> createPhraseSet(CreatePhraseSetRequest request)
Creates a [PhraseSet][google.cloud.speech.v2.PhraseSet].
public com.google.common.util.concurrent.ListenableFuture<ListPhraseSetsResponse> listPhraseSets(ListPhraseSetsRequest request)
Lists PhraseSets.
public com.google.common.util.concurrent.ListenableFuture<PhraseSet> getPhraseSet(GetPhraseSetRequest request)
Returns the requested [PhraseSet][google.cloud.speech.v2.PhraseSet].
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> updatePhraseSet(UpdatePhraseSetRequest request)
Updates the [PhraseSet][google.cloud.speech.v2.PhraseSet].
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> deletePhraseSet(DeletePhraseSetRequest request)
Deletes the [PhraseSet][google.cloud.speech.v2.PhraseSet].
public com.google.common.util.concurrent.ListenableFuture<com.google.longrunning.Operation> undeletePhraseSet(UndeletePhraseSetRequest request)
Undeletes the [PhraseSet][google.cloud.speech.v2.PhraseSet].
Copyright © 2023 Google LLC. All rights reserved.