- 4.48.0 (latest)
- 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.SpeechStub extends AbstractAsyncStub<SpeechGrpc.SpeechStub>
A stub to allow clients to do asynchronous rpc calls to service Speech.
Enables speech transcription and resource management.
Inheritance
java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > SpeechGrpc.SpeechStubMethods
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.
Parameters | |
---|---|
Name | Description |
request | BatchRecognizeRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |
build(Channel channel, CallOptions callOptions)
protected SpeechGrpc.SpeechStub build(Channel channel, CallOptions callOptions)
Parameters | |
---|---|
Name | Description |
channel | io.grpc.Channel |
callOptions | io.grpc.CallOptions |
Returns | |
---|---|
Type | Description |
SpeechGrpc.SpeechStub |
createCustomClass(CreateCustomClassRequest request, StreamObserver<Operation> responseObserver)
public void createCustomClass(CreateCustomClassRequest request, StreamObserver<Operation> responseObserver)
Creates a CustomClass.
Parameters | |
---|---|
Name | Description |
request | CreateCustomClassRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |
createPhraseSet(CreatePhraseSetRequest request, StreamObserver<Operation> responseObserver)
public void createPhraseSet(CreatePhraseSetRequest request, StreamObserver<Operation> responseObserver)
Creates a PhraseSet.
Parameters | |
---|---|
Name | Description |
request | CreatePhraseSetRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |
createRecognizer(CreateRecognizerRequest request, StreamObserver<Operation> responseObserver)
public void createRecognizer(CreateRecognizerRequest request, StreamObserver<Operation> responseObserver)
Creates a Recognizer.
Parameters | |
---|---|
Name | Description |
request | CreateRecognizerRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |
deleteCustomClass(DeleteCustomClassRequest request, StreamObserver<Operation> responseObserver)
public void deleteCustomClass(DeleteCustomClassRequest request, StreamObserver<Operation> responseObserver)
Deletes the CustomClass.
Parameters | |
---|---|
Name | Description |
request | DeleteCustomClassRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |
deletePhraseSet(DeletePhraseSetRequest request, StreamObserver<Operation> responseObserver)
public void deletePhraseSet(DeletePhraseSetRequest request, StreamObserver<Operation> responseObserver)
Deletes the PhraseSet.
Parameters | |
---|---|
Name | Description |
request | DeletePhraseSetRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |
deleteRecognizer(DeleteRecognizerRequest request, StreamObserver<Operation> responseObserver)
public void deleteRecognizer(DeleteRecognizerRequest request, StreamObserver<Operation> responseObserver)
Deletes the Recognizer.
Parameters | |
---|---|
Name | Description |
request | DeleteRecognizerRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |
getConfig(GetConfigRequest request, StreamObserver<Config> responseObserver)
public void getConfig(GetConfigRequest request, StreamObserver<Config> responseObserver)
Returns the requested Config.
Parameters | |
---|---|
Name | Description |
request | GetConfigRequest |
responseObserver | io.grpc.stub.StreamObserver<Config> |
getCustomClass(GetCustomClassRequest request, StreamObserver<CustomClass> responseObserver)
public void getCustomClass(GetCustomClassRequest request, StreamObserver<CustomClass> responseObserver)
Returns the requested CustomClass.
Parameters | |
---|---|
Name | Description |
request | GetCustomClassRequest |
responseObserver | io.grpc.stub.StreamObserver<CustomClass> |
getPhraseSet(GetPhraseSetRequest request, StreamObserver<PhraseSet> responseObserver)
public void getPhraseSet(GetPhraseSetRequest request, StreamObserver<PhraseSet> responseObserver)
Returns the requested PhraseSet.
Parameters | |
---|---|
Name | Description |
request | GetPhraseSetRequest |
responseObserver | io.grpc.stub.StreamObserver<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.
Parameters | |
---|---|
Name | Description |
request | GetRecognizerRequest |
responseObserver | io.grpc.stub.StreamObserver<Recognizer> |
listCustomClasses(ListCustomClassesRequest request, StreamObserver<ListCustomClassesResponse> responseObserver)
public void listCustomClasses(ListCustomClassesRequest request, StreamObserver<ListCustomClassesResponse> responseObserver)
Lists CustomClasses.
Parameters | |
---|---|
Name | Description |
request | ListCustomClassesRequest |
responseObserver | io.grpc.stub.StreamObserver<ListCustomClassesResponse> |
listPhraseSets(ListPhraseSetsRequest request, StreamObserver<ListPhraseSetsResponse> responseObserver)
public void listPhraseSets(ListPhraseSetsRequest request, StreamObserver<ListPhraseSetsResponse> responseObserver)
Lists PhraseSets.
Parameters | |
---|---|
Name | Description |
request | ListPhraseSetsRequest |
responseObserver | io.grpc.stub.StreamObserver<ListPhraseSetsResponse> |
listRecognizers(ListRecognizersRequest request, StreamObserver<ListRecognizersResponse> responseObserver)
public void listRecognizers(ListRecognizersRequest request, StreamObserver<ListRecognizersResponse> responseObserver)
Lists Recognizers.
Parameters | |
---|---|
Name | Description |
request | ListRecognizersRequest |
responseObserver | io.grpc.stub.StreamObserver<ListRecognizersResponse> |
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.
Parameters | |
---|---|
Name | Description |
request | RecognizeRequest |
responseObserver | io.grpc.stub.StreamObserver<RecognizeResponse> |
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).
Parameter | |
---|---|
Name | Description |
responseObserver | io.grpc.stub.StreamObserver<StreamingRecognizeResponse> |
Returns | |
---|---|
Type | Description |
io.grpc.stub.StreamObserver<StreamingRecognizeRequest> |
undeleteCustomClass(UndeleteCustomClassRequest request, StreamObserver<Operation> responseObserver)
public void undeleteCustomClass(UndeleteCustomClassRequest request, StreamObserver<Operation> responseObserver)
Undeletes the CustomClass.
Parameters | |
---|---|
Name | Description |
request | UndeleteCustomClassRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |
undeletePhraseSet(UndeletePhraseSetRequest request, StreamObserver<Operation> responseObserver)
public void undeletePhraseSet(UndeletePhraseSetRequest request, StreamObserver<Operation> responseObserver)
Undeletes the PhraseSet.
Parameters | |
---|---|
Name | Description |
request | UndeletePhraseSetRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |
undeleteRecognizer(UndeleteRecognizerRequest request, StreamObserver<Operation> responseObserver)
public void undeleteRecognizer(UndeleteRecognizerRequest request, StreamObserver<Operation> responseObserver)
Undeletes the Recognizer.
Parameters | |
---|---|
Name | Description |
request | UndeleteRecognizerRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |
updateConfig(UpdateConfigRequest request, StreamObserver<Config> responseObserver)
public void updateConfig(UpdateConfigRequest request, StreamObserver<Config> responseObserver)
Updates the Config.
Parameters | |
---|---|
Name | Description |
request | UpdateConfigRequest |
responseObserver | io.grpc.stub.StreamObserver<Config> |
updateCustomClass(UpdateCustomClassRequest request, StreamObserver<Operation> responseObserver)
public void updateCustomClass(UpdateCustomClassRequest request, StreamObserver<Operation> responseObserver)
Updates the CustomClass.
Parameters | |
---|---|
Name | Description |
request | UpdateCustomClassRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |
updatePhraseSet(UpdatePhraseSetRequest request, StreamObserver<Operation> responseObserver)
public void updatePhraseSet(UpdatePhraseSetRequest request, StreamObserver<Operation> responseObserver)
Updates the PhraseSet.
Parameters | |
---|---|
Name | Description |
request | UpdatePhraseSetRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |
updateRecognizer(UpdateRecognizerRequest request, StreamObserver<Operation> responseObserver)
public void updateRecognizer(UpdateRecognizerRequest request, StreamObserver<Operation> responseObserver)
Updates the Recognizer.
Parameters | |
---|---|
Name | Description |
request | UpdateRecognizerRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |