- 4.49.0 (latest)
- 4.48.0
- 4.47.0
- 4.46.0
- 4.44.0
- 4.43.0
- 4.42.0
- 4.41.0
- 4.40.0
- 4.39.0
- 4.38.0
- 4.37.0
- 4.36.0
- 4.35.0
- 4.34.0
- 4.32.0
- 4.31.0
- 4.30.0
- 4.29.0
- 4.28.0
- 4.27.0
- 4.26.0
- 4.25.0
- 4.24.0
- 4.23.0
- 4.22.0
- 4.19.0
- 4.18.0
- 4.17.0
- 4.16.0
- 4.15.0
- 4.14.0
- 4.13.0
- 4.12.0
- 4.11.0
- 4.10.0
- 4.9.0
- 4.8.0
- 4.7.0
- 4.6.0
- 4.4.0
- 4.3.0
- 4.2.0
- 4.1.0
- 4.0.0
- 3.0.0
- 2.6.1
- 2.5.9
- 2.4.0
- 2.3.0
- 2.2.15
public static final class SpeechGrpc.SpeechFutureStub extends AbstractFutureStub<SpeechGrpc.SpeechFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service Speech.
Enables speech transcription and resource management.
Inheritance
java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > SpeechGrpc.SpeechFutureStubMethods
batchRecognize(BatchRecognizeRequest request)
public ListenableFuture<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.
Parameter | |
---|---|
Name | Description |
request |
BatchRecognizeRequest |
Returns | |
---|---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
build(Channel channel, CallOptions callOptions)
protected SpeechGrpc.SpeechFutureStub build(Channel channel, CallOptions callOptions)
Parameters | |
---|---|
Name | Description |
channel |
io.grpc.Channel |
callOptions |
io.grpc.CallOptions |
Returns | |
---|---|
Type | Description |
SpeechGrpc.SpeechFutureStub |
createCustomClass(CreateCustomClassRequest request)
public ListenableFuture<Operation> createCustomClass(CreateCustomClassRequest request)
Creates a CustomClass.
Parameter | |
---|---|
Name | Description |
request |
CreateCustomClassRequest |
Returns | |
---|---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
createPhraseSet(CreatePhraseSetRequest request)
public ListenableFuture<Operation> createPhraseSet(CreatePhraseSetRequest request)
Creates a PhraseSet.
Parameter | |
---|---|
Name | Description |
request |
CreatePhraseSetRequest |
Returns | |
---|---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
createRecognizer(CreateRecognizerRequest request)
public ListenableFuture<Operation> createRecognizer(CreateRecognizerRequest request)
Creates a Recognizer.
Parameter | |
---|---|
Name | Description |
request |
CreateRecognizerRequest |
Returns | |
---|---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
deleteCustomClass(DeleteCustomClassRequest request)
public ListenableFuture<Operation> deleteCustomClass(DeleteCustomClassRequest request)
Deletes the CustomClass.
Parameter | |
---|---|
Name | Description |
request |
DeleteCustomClassRequest |
Returns | |
---|---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
deletePhraseSet(DeletePhraseSetRequest request)
public ListenableFuture<Operation> deletePhraseSet(DeletePhraseSetRequest request)
Deletes the PhraseSet.
Parameter | |
---|---|
Name | Description |
request |
DeletePhraseSetRequest |
Returns | |
---|---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
deleteRecognizer(DeleteRecognizerRequest request)
public ListenableFuture<Operation> deleteRecognizer(DeleteRecognizerRequest request)
Deletes the Recognizer.
Parameter | |
---|---|
Name | Description |
request |
DeleteRecognizerRequest |
Returns | |
---|---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
getConfig(GetConfigRequest request)
public ListenableFuture<Config> getConfig(GetConfigRequest request)
Returns the requested Config.
Parameter | |
---|---|
Name | Description |
request |
GetConfigRequest |
Returns | |
---|---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Config> |
getCustomClass(GetCustomClassRequest request)
public ListenableFuture<CustomClass> getCustomClass(GetCustomClassRequest request)
Returns the requested CustomClass.
Parameter | |
---|---|
Name | Description |
request |
GetCustomClassRequest |
Returns | |
---|---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<CustomClass> |
getPhraseSet(GetPhraseSetRequest request)
public ListenableFuture<PhraseSet> getPhraseSet(GetPhraseSetRequest request)
Returns the requested PhraseSet.
Parameter | |
---|---|
Name | Description |
request |
GetPhraseSetRequest |
Returns | |
---|---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<PhraseSet> |
getRecognizer(GetRecognizerRequest request)
public ListenableFuture<Recognizer> getRecognizer(GetRecognizerRequest request)
Returns the requested Recognizer. Fails with NOT_FOUND if the requested Recognizer doesn't exist.
Parameter | |
---|---|
Name | Description |
request |
GetRecognizerRequest |
Returns | |
---|---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Recognizer> |
listCustomClasses(ListCustomClassesRequest request)
public ListenableFuture<ListCustomClassesResponse> listCustomClasses(ListCustomClassesRequest request)
Lists CustomClasses.
Parameter | |
---|---|
Name | Description |
request |
ListCustomClassesRequest |
Returns | |
---|---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<ListCustomClassesResponse> |
listPhraseSets(ListPhraseSetsRequest request)
public ListenableFuture<ListPhraseSetsResponse> listPhraseSets(ListPhraseSetsRequest request)
Lists PhraseSets.
Parameter | |
---|---|
Name | Description |
request |
ListPhraseSetsRequest |
Returns | |
---|---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<ListPhraseSetsResponse> |
listRecognizers(ListRecognizersRequest request)
public ListenableFuture<ListRecognizersResponse> listRecognizers(ListRecognizersRequest request)
Lists Recognizers.
Parameter | |
---|---|
Name | Description |
request |
ListRecognizersRequest |
Returns | |
---|---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<ListRecognizersResponse> |
recognize(RecognizeRequest request)
public ListenableFuture<RecognizeResponse> recognize(RecognizeRequest request)
Performs synchronous Speech recognition: receive results after all audio has been sent and processed.
Parameter | |
---|---|
Name | Description |
request |
RecognizeRequest |
Returns | |
---|---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<RecognizeResponse> |
undeleteCustomClass(UndeleteCustomClassRequest request)
public ListenableFuture<Operation> undeleteCustomClass(UndeleteCustomClassRequest request)
Undeletes the CustomClass.
Parameter | |
---|---|
Name | Description |
request |
UndeleteCustomClassRequest |
Returns | |
---|---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
undeletePhraseSet(UndeletePhraseSetRequest request)
public ListenableFuture<Operation> undeletePhraseSet(UndeletePhraseSetRequest request)
Undeletes the PhraseSet.
Parameter | |
---|---|
Name | Description |
request |
UndeletePhraseSetRequest |
Returns | |
---|---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
undeleteRecognizer(UndeleteRecognizerRequest request)
public ListenableFuture<Operation> undeleteRecognizer(UndeleteRecognizerRequest request)
Undeletes the Recognizer.
Parameter | |
---|---|
Name | Description |
request |
UndeleteRecognizerRequest |
Returns | |
---|---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
updateConfig(UpdateConfigRequest request)
public ListenableFuture<Config> updateConfig(UpdateConfigRequest request)
Updates the Config.
Parameter | |
---|---|
Name | Description |
request |
UpdateConfigRequest |
Returns | |
---|---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Config> |
updateCustomClass(UpdateCustomClassRequest request)
public ListenableFuture<Operation> updateCustomClass(UpdateCustomClassRequest request)
Updates the CustomClass.
Parameter | |
---|---|
Name | Description |
request |
UpdateCustomClassRequest |
Returns | |
---|---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
updatePhraseSet(UpdatePhraseSetRequest request)
public ListenableFuture<Operation> updatePhraseSet(UpdatePhraseSetRequest request)
Updates the PhraseSet.
Parameter | |
---|---|
Name | Description |
request |
UpdatePhraseSetRequest |
Returns | |
---|---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
updateRecognizer(UpdateRecognizerRequest request)
public ListenableFuture<Operation> updateRecognizer(UpdateRecognizerRequest request)
Updates the Recognizer.
Parameter | |
---|---|
Name | Description |
request |
UpdateRecognizerRequest |
Returns | |
---|---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |