public static final class AdaptationGrpc.AdaptationStub extends AbstractAsyncStub<AdaptationGrpc.AdaptationStub>
Service that implements Google Cloud Speech Adaptation API.
Inheritance
java.lang.Object >
io.grpc.stub.AbstractStub >
io.grpc.stub.AbstractAsyncStub >
AdaptationGrpc.AdaptationStub
Inherited Members
io.grpc.stub.AbstractAsyncStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractAsyncStub.<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
build(Channel channel, CallOptions callOptions)
protected AdaptationGrpc.AdaptationStub 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, StreamObserver<CustomClass> responseObserver)
public void createCustomClass(CreateCustomClassRequest request, StreamObserver<CustomClass> responseObserver)
createPhraseSet(CreatePhraseSetRequest request, StreamObserver<PhraseSet> responseObserver)
public void createPhraseSet(CreatePhraseSetRequest request, StreamObserver<PhraseSet> responseObserver)
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.
deleteCustomClass(DeleteCustomClassRequest request, StreamObserver<Empty> responseObserver)
public void deleteCustomClass(DeleteCustomClassRequest request, StreamObserver<Empty> responseObserver)
deletePhraseSet(DeletePhraseSetRequest request, StreamObserver<Empty> responseObserver)
public void deletePhraseSet(DeletePhraseSetRequest request, StreamObserver<Empty> responseObserver)
getCustomClass(GetCustomClassRequest request, StreamObserver<CustomClass> responseObserver)
public void getCustomClass(GetCustomClassRequest request, StreamObserver<CustomClass> responseObserver)
getPhraseSet(GetPhraseSetRequest request, StreamObserver<PhraseSet> responseObserver)
public void getPhraseSet(GetPhraseSetRequest request, StreamObserver<PhraseSet> responseObserver)
listCustomClasses(ListCustomClassesRequest request, StreamObserver<ListCustomClassesResponse> responseObserver)
public void listCustomClasses(ListCustomClassesRequest request, StreamObserver<ListCustomClassesResponse> responseObserver)
listPhraseSet(ListPhraseSetRequest request, StreamObserver<ListPhraseSetResponse> responseObserver)
public void listPhraseSet(ListPhraseSetRequest request, StreamObserver<ListPhraseSetResponse> responseObserver)
updateCustomClass(UpdateCustomClassRequest request, StreamObserver<CustomClass> responseObserver)
public void updateCustomClass(UpdateCustomClassRequest request, StreamObserver<CustomClass> responseObserver)
updatePhraseSet(UpdatePhraseSetRequest request, StreamObserver<PhraseSet> responseObserver)
public void updatePhraseSet(UpdatePhraseSetRequest request, StreamObserver<PhraseSet> responseObserver)