Send feedback
Class SpeechGrpc.SpeechBlockingStub (4.14.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 4.14.0 keyboard_arrow_down
public static final class SpeechGrpc . SpeechBlockingStub extends AbstractBlockingStub<SpeechGrpc . SpeechBlockingStub >
A stub to allow clients to do synchronous rpc calls to service Speech.
Enables speech transcription and resource management.
Inheritance
java.lang.Object >
io.grpc.stub.AbstractStub >
io.grpc.stub.AbstractBlockingStub >
SpeechGrpc.SpeechBlockingStub
Inherited Members
io.grpc.stub.AbstractBlockingStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractBlockingStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withWaitForReady()
Methods
batchRecognize(BatchRecognizeRequest request)
public 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.
build(Channel channel, CallOptions callOptions)
protected SpeechGrpc . SpeechBlockingStub build ( Channel channel , CallOptions callOptions )
Parameters Name Description channel
io.grpc.Channel
callOptions
io.grpc.CallOptions
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
createCustomClass(CreateCustomClassRequest request)
public Operation createCustomClass ( CreateCustomClassRequest request )
createPhraseSet(CreatePhraseSetRequest request)
public Operation createPhraseSet ( CreatePhraseSetRequest request )
createRecognizer(CreateRecognizerRequest request)
public Operation createRecognizer ( CreateRecognizerRequest request )
deleteCustomClass(DeleteCustomClassRequest request)
public Operation deleteCustomClass ( DeleteCustomClassRequest request )
deletePhraseSet(DeletePhraseSetRequest request)
public Operation deletePhraseSet ( DeletePhraseSetRequest request )
deleteRecognizer(DeleteRecognizerRequest request)
public Operation deleteRecognizer ( DeleteRecognizerRequest request )
getConfig(GetConfigRequest request)
public Config getConfig ( GetConfigRequest request )
Returns the requested Config .
getCustomClass(GetCustomClassRequest request)
public CustomClass getCustomClass ( GetCustomClassRequest request )
Returns the requested
CustomClass .
getPhraseSet(GetPhraseSetRequest request)
public PhraseSet getPhraseSet ( GetPhraseSetRequest request )
Returns the requested
PhraseSet .
getRecognizer(GetRecognizerRequest request)
public Recognizer getRecognizer ( GetRecognizerRequest request )
Returns the requested
Recognizer . Fails with
NOT_FOUND if the requested Recognizer doesn't
exist.
listCustomClasses(ListCustomClassesRequest request)
public ListCustomClassesResponse listCustomClasses ( ListCustomClassesRequest request )
listPhraseSets(ListPhraseSetsRequest request)
public ListPhraseSetsResponse listPhraseSets ( ListPhraseSetsRequest request )
listRecognizers(ListRecognizersRequest request)
public ListRecognizersResponse listRecognizers ( ListRecognizersRequest request )
recognize(RecognizeRequest request)
public RecognizeResponse recognize ( RecognizeRequest request )
Performs synchronous Speech recognition: receive results after all audio
has been sent and processed.
undeleteCustomClass(UndeleteCustomClassRequest request)
public Operation undeleteCustomClass ( UndeleteCustomClassRequest request )
Undeletes the CustomClass .
undeletePhraseSet(UndeletePhraseSetRequest request)
public Operation undeletePhraseSet ( UndeletePhraseSetRequest request )
undeleteRecognizer(UndeleteRecognizerRequest request)
public Operation undeleteRecognizer ( UndeleteRecognizerRequest request )
Undeletes the Recognizer .
updateConfig(UpdateConfigRequest request)
public Config updateConfig ( UpdateConfigRequest request )
updateCustomClass(UpdateCustomClassRequest request)
public Operation updateCustomClass ( UpdateCustomClassRequest request )
updatePhraseSet(UpdatePhraseSetRequest request)
public Operation updatePhraseSet ( UpdatePhraseSetRequest request )
updateRecognizer(UpdateRecognizerRequest request)
public Operation updateRecognizer ( UpdateRecognizerRequest request )
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 2025-01-28 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 2025-01-28 UTC."],[],[]]