public static final class SpeechGrpc.SpeechBlockingStub extends AbstractBlockingStub<SpeechGrpc.SpeechBlockingStub>
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)