Send feedback
Class SpeechGrpc.SpeechImplBase (4.8.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 4.8.0 keyboard_arrow_down
public abstract static class SpeechGrpc . SpeechImplBase implements BindableService
Enables speech transcription and resource management.
Implements
io.grpc.BindableService
Constructors
SpeechImplBase()
Methods
batchRecognize(BatchRecognizeRequest request, StreamObserver<Operation> responseObserver)
public void batchRecognize ( BatchRecognizeRequest request , StreamObserver<Operation> responseObserver )
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.
bindService()
public final ServerServiceDefinition bindService ()
Returns Type Description io.grpc.ServerServiceDefinition
createCustomClass(CreateCustomClassRequest request, StreamObserver<Operation> responseObserver)
public void createCustomClass ( CreateCustomClassRequest request , StreamObserver<Operation> responseObserver )
createPhraseSet(CreatePhraseSetRequest request, StreamObserver<Operation> responseObserver)
public void createPhraseSet ( CreatePhraseSetRequest request , StreamObserver<Operation> responseObserver )
createRecognizer(CreateRecognizerRequest request, StreamObserver<Operation> responseObserver)
public void createRecognizer ( CreateRecognizerRequest request , StreamObserver<Operation> responseObserver )
deleteCustomClass(DeleteCustomClassRequest request, StreamObserver<Operation> responseObserver)
public void deleteCustomClass ( DeleteCustomClassRequest request , StreamObserver<Operation> responseObserver )
deletePhraseSet(DeletePhraseSetRequest request, StreamObserver<Operation> responseObserver)
public void deletePhraseSet ( DeletePhraseSetRequest request , StreamObserver<Operation> responseObserver )
deleteRecognizer(DeleteRecognizerRequest request, StreamObserver<Operation> responseObserver)
public void deleteRecognizer ( DeleteRecognizerRequest request , StreamObserver<Operation> responseObserver )
getConfig(GetConfigRequest request, StreamObserver<Config> responseObserver)
public void getConfig ( GetConfigRequest request , StreamObserver<Config> responseObserver )
Returns the requested Config .
getCustomClass(GetCustomClassRequest request, StreamObserver<CustomClass> responseObserver)
public void getCustomClass ( GetCustomClassRequest request , StreamObserver<CustomClass> responseObserver )
Returns the requested
CustomClass .
getPhraseSet(GetPhraseSetRequest request, StreamObserver<PhraseSet> responseObserver)
public void getPhraseSet ( GetPhraseSetRequest request , StreamObserver<PhraseSet> responseObserver )
Returns the requested
PhraseSet .
getRecognizer(GetRecognizerRequest request, StreamObserver<Recognizer> responseObserver)
public void getRecognizer ( GetRecognizerRequest request , StreamObserver<Recognizer> responseObserver )
Returns the requested
Recognizer . Fails with
NOT_FOUND if the requested recognizer doesn't
exist.
listCustomClasses(ListCustomClassesRequest request, StreamObserver<ListCustomClassesResponse> responseObserver)
public void listCustomClasses ( ListCustomClassesRequest request , StreamObserver<ListCustomClassesResponse> responseObserver )
listPhraseSets(ListPhraseSetsRequest request, StreamObserver<ListPhraseSetsResponse> responseObserver)
public void listPhraseSets ( ListPhraseSetsRequest request , StreamObserver<ListPhraseSetsResponse> responseObserver )
listRecognizers(ListRecognizersRequest request, StreamObserver<ListRecognizersResponse> responseObserver)
public void listRecognizers ( ListRecognizersRequest request , StreamObserver<ListRecognizersResponse> responseObserver )
recognize(RecognizeRequest request, StreamObserver<RecognizeResponse> responseObserver)
public void recognize ( RecognizeRequest request , StreamObserver<RecognizeResponse> responseObserver )
Performs synchronous Speech recognition: receive results after all audio
has been sent and processed.
streamingRecognize(StreamObserver<StreamingRecognizeResponse> responseObserver)
public StreamObserver<StreamingRecognizeRequest> streamingRecognize ( StreamObserver<StreamingRecognizeResponse> responseObserver )
Performs bidirectional streaming speech recognition: receive results while
sending audio. This method is only available via the gRPC API (not REST).
undeleteCustomClass(UndeleteCustomClassRequest request, StreamObserver<Operation> responseObserver)
public void undeleteCustomClass ( UndeleteCustomClassRequest request , StreamObserver<Operation> responseObserver )
Undeletes the CustomClass .
undeletePhraseSet(UndeletePhraseSetRequest request, StreamObserver<Operation> responseObserver)
public void undeletePhraseSet ( UndeletePhraseSetRequest request , StreamObserver<Operation> responseObserver )
undeleteRecognizer(UndeleteRecognizerRequest request, StreamObserver<Operation> responseObserver)
public void undeleteRecognizer ( UndeleteRecognizerRequest request , StreamObserver<Operation> responseObserver )
Undeletes the Recognizer .
updateConfig(UpdateConfigRequest request, StreamObserver<Config> responseObserver)
public void updateConfig ( UpdateConfigRequest request , StreamObserver<Config> responseObserver )
updateCustomClass(UpdateCustomClassRequest request, StreamObserver<Operation> responseObserver)
public void updateCustomClass ( UpdateCustomClassRequest request , StreamObserver<Operation> responseObserver )
updatePhraseSet(UpdatePhraseSetRequest request, StreamObserver<Operation> responseObserver)
public void updatePhraseSet ( UpdatePhraseSetRequest request , StreamObserver<Operation> responseObserver )
updateRecognizer(UpdateRecognizerRequest request, StreamObserver<Operation> responseObserver)
public void updateRecognizer ( UpdateRecognizerRequest request , StreamObserver<Operation> responseObserver )
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-11-06 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-11-06 UTC."],[],[]]