Class AdaptationGrpc.AdaptationImplBase (2.5.9)

public abstract static class AdaptationGrpc.AdaptationImplBase implements BindableService

Service that implements Google Cloud Speech Adaptation API.

Inheritance

java.lang.Object > AdaptationGrpc.AdaptationImplBase

Implements

io.grpc.BindableService

Constructors

AdaptationImplBase()

public AdaptationImplBase()

Methods

bindService()

public final ServerServiceDefinition bindService()
Returns
TypeDescription
io.grpc.ServerServiceDefinition

createCustomClass(CreateCustomClassRequest request, StreamObserver<CustomClass> responseObserver)

public void createCustomClass(CreateCustomClassRequest request, StreamObserver<CustomClass> responseObserver)

Create a custom class.

Parameters
NameDescription
requestCreateCustomClassRequest
responseObserverio.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
NameDescription
requestCreatePhraseSetRequest
responseObserverio.grpc.stub.StreamObserver<PhraseSet>

deleteCustomClass(DeleteCustomClassRequest request, StreamObserver<Empty> responseObserver)

public void deleteCustomClass(DeleteCustomClassRequest request, StreamObserver<Empty> responseObserver)

Delete a custom class.

Parameters
NameDescription
requestDeleteCustomClassRequest
responseObserverio.grpc.stub.StreamObserver<Empty>

deletePhraseSet(DeletePhraseSetRequest request, StreamObserver<Empty> responseObserver)

public void deletePhraseSet(DeletePhraseSetRequest request, StreamObserver<Empty> responseObserver)

Delete a phrase set.

Parameters
NameDescription
requestDeletePhraseSetRequest
responseObserverio.grpc.stub.StreamObserver<Empty>

getCustomClass(GetCustomClassRequest request, StreamObserver<CustomClass> responseObserver)

public void getCustomClass(GetCustomClassRequest request, StreamObserver<CustomClass> responseObserver)

Get a custom class.

Parameters
NameDescription
requestGetCustomClassRequest
responseObserverio.grpc.stub.StreamObserver<CustomClass>

getPhraseSet(GetPhraseSetRequest request, StreamObserver<PhraseSet> responseObserver)

public void getPhraseSet(GetPhraseSetRequest request, StreamObserver<PhraseSet> responseObserver)

Get a phrase set.

Parameters
NameDescription
requestGetPhraseSetRequest
responseObserverio.grpc.stub.StreamObserver<PhraseSet>

listCustomClasses(ListCustomClassesRequest request, StreamObserver<ListCustomClassesResponse> responseObserver)

public void listCustomClasses(ListCustomClassesRequest request, StreamObserver<ListCustomClassesResponse> responseObserver)

List custom classes.

Parameters
NameDescription
requestListCustomClassesRequest
responseObserverio.grpc.stub.StreamObserver<ListCustomClassesResponse>

listPhraseSet(ListPhraseSetRequest request, StreamObserver<ListPhraseSetResponse> responseObserver)

public void listPhraseSet(ListPhraseSetRequest request, StreamObserver<ListPhraseSetResponse> responseObserver)

List phrase sets.

Parameters
NameDescription
requestListPhraseSetRequest
responseObserverio.grpc.stub.StreamObserver<ListPhraseSetResponse>

updateCustomClass(UpdateCustomClassRequest request, StreamObserver<CustomClass> responseObserver)

public void updateCustomClass(UpdateCustomClassRequest request, StreamObserver<CustomClass> responseObserver)

Update a custom class.

Parameters
NameDescription
requestUpdateCustomClassRequest
responseObserverio.grpc.stub.StreamObserver<CustomClass>

updatePhraseSet(UpdatePhraseSetRequest request, StreamObserver<PhraseSet> responseObserver)

public void updatePhraseSet(UpdatePhraseSetRequest request, StreamObserver<PhraseSet> responseObserver)

Update a phrase set.

Parameters
NameDescription
requestUpdatePhraseSetRequest
responseObserverio.grpc.stub.StreamObserver<PhraseSet>