Package com.google.cloud.speech.v1
Class AdaptationGrpc.AdaptationBlockingStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<AdaptationGrpc.AdaptationBlockingStub>
com.google.cloud.speech.v1.AdaptationGrpc.AdaptationBlockingStub
- Enclosing class:
- AdaptationGrpc
public static final class AdaptationGrpc.AdaptationBlockingStub
extends io.grpc.stub.AbstractBlockingStub<AdaptationGrpc.AdaptationBlockingStub>
A stub to allow clients to do limited synchronous rpc calls to service Adaptation.
Service that implements Google Cloud Speech Adaptation API.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionprotected AdaptationGrpc.AdaptationBlockingStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) Create a custom class.createPhraseSet(CreatePhraseSetRequest request) Create a set of phrase hints.com.google.protobuf.EmptyDelete a custom class.com.google.protobuf.EmptydeletePhraseSet(DeletePhraseSetRequest request) Delete a phrase set.getCustomClass(GetCustomClassRequest request) Get a custom class.getPhraseSet(GetPhraseSetRequest request) Get a phrase set.List custom classes.listPhraseSet(ListPhraseSetRequest request) List phrase sets.Update a custom class.updatePhraseSet(UpdatePhraseSetRequest request) Update a phrase set.Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected AdaptationGrpc.AdaptationBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<AdaptationGrpc.AdaptationBlockingStub>
-
createPhraseSet
Create a set of phrase hints. Each item in the set can be a single word or a multi-word phrase. The items in the PhraseSet are favored by the recognition model when you send a call that includes the PhraseSet.
-
getPhraseSet
Get a phrase set.
-
listPhraseSet
List phrase sets.
-
updatePhraseSet
Update a phrase set.
-
deletePhraseSet
Delete a phrase set.
-
createCustomClass
Create a custom class.
-
getCustomClass
Get a custom class.
-
listCustomClasses
List custom classes.
-
updateCustomClass
Update a custom class.
-
deleteCustomClass
Delete a custom class.
-