- 4.42.0 (latest)
- 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 AdaptationGrpc.AdaptationStub extends AbstractAsyncStub<AdaptationGrpc.AdaptationStub>
A stub to allow clients to do asynchronous rpc calls to service Adaptation.
Service that implements Google Cloud Speech Adaptation API.
Inheritance
java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > AdaptationGrpc.AdaptationStubMethods
build(Channel channel, CallOptions callOptions)
protected AdaptationGrpc.AdaptationStub build(Channel channel, CallOptions callOptions)
Parameters | |
---|---|
Name | Description |
channel | io.grpc.Channel |
callOptions | io.grpc.CallOptions |
Returns | |
---|---|
Type | Description |
AdaptationGrpc.AdaptationStub |
createCustomClass(CreateCustomClassRequest request, StreamObserver<CustomClass> responseObserver)
public void createCustomClass(CreateCustomClassRequest request, StreamObserver<CustomClass> responseObserver)
Create a custom class.
Parameters | |
---|---|
Name | Description |
request | CreateCustomClassRequest |
responseObserver | io.grpc.stub.StreamObserver<CustomClass> |
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.
Parameters | |
---|---|
Name | Description |
request | CreatePhraseSetRequest |
responseObserver | io.grpc.stub.StreamObserver<PhraseSet> |
deleteCustomClass(DeleteCustomClassRequest request, StreamObserver<Empty> responseObserver)
public void deleteCustomClass(DeleteCustomClassRequest request, StreamObserver<Empty> responseObserver)
Delete a custom class.
Parameters | |
---|---|
Name | Description |
request | DeleteCustomClassRequest |
responseObserver | io.grpc.stub.StreamObserver<Empty> |
deletePhraseSet(DeletePhraseSetRequest request, StreamObserver<Empty> responseObserver)
public void deletePhraseSet(DeletePhraseSetRequest request, StreamObserver<Empty> responseObserver)
Delete a phrase set.
Parameters | |
---|---|
Name | Description |
request | DeletePhraseSetRequest |
responseObserver | io.grpc.stub.StreamObserver<Empty> |
getCustomClass(GetCustomClassRequest request, StreamObserver<CustomClass> responseObserver)
public void getCustomClass(GetCustomClassRequest request, StreamObserver<CustomClass> responseObserver)
Get a custom class.
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)
Get a phrase set.
Parameters | |
---|---|
Name | Description |
request | GetPhraseSetRequest |
responseObserver | io.grpc.stub.StreamObserver<PhraseSet> |
listCustomClasses(ListCustomClassesRequest request, StreamObserver<ListCustomClassesResponse> responseObserver)
public void listCustomClasses(ListCustomClassesRequest request, StreamObserver<ListCustomClassesResponse> responseObserver)
List custom classes.
Parameters | |
---|---|
Name | Description |
request | ListCustomClassesRequest |
responseObserver | io.grpc.stub.StreamObserver<ListCustomClassesResponse> |
listPhraseSet(ListPhraseSetRequest request, StreamObserver<ListPhraseSetResponse> responseObserver)
public void listPhraseSet(ListPhraseSetRequest request, StreamObserver<ListPhraseSetResponse> responseObserver)
List phrase sets.
Parameters | |
---|---|
Name | Description |
request | ListPhraseSetRequest |
responseObserver | io.grpc.stub.StreamObserver<ListPhraseSetResponse> |
updateCustomClass(UpdateCustomClassRequest request, StreamObserver<CustomClass> responseObserver)
public void updateCustomClass(UpdateCustomClassRequest request, StreamObserver<CustomClass> responseObserver)
Update a custom class.
Parameters | |
---|---|
Name | Description |
request | UpdateCustomClassRequest |
responseObserver | io.grpc.stub.StreamObserver<CustomClass> |
updatePhraseSet(UpdatePhraseSetRequest request, StreamObserver<PhraseSet> responseObserver)
public void updatePhraseSet(UpdatePhraseSetRequest request, StreamObserver<PhraseSet> responseObserver)
Update a phrase set.
Parameters | |
---|---|
Name | Description |
request | UpdatePhraseSetRequest |
responseObserver | io.grpc.stub.StreamObserver<PhraseSet> |