Class AdaptationGrpc.AdaptationStub

  • Enclosing class:
    AdaptationGrpc

    public static final class AdaptationGrpc.AdaptationStub
    extends io.grpc.stub.AbstractAsyncStub<AdaptationGrpc.AdaptationStub>
    A stub to allow clients to do asynchronous rpc calls to service Adaptation.
     Service that implements Google Cloud Speech Adaptation API.
     
    • Method Detail

      • createPhraseSet

        public void createPhraseSet​(CreatePhraseSetRequest request,
                                    io.grpc.stub.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.
         
      • getPhraseSet

        public void getPhraseSet​(GetPhraseSetRequest request,
                                 io.grpc.stub.StreamObserver<PhraseSet> responseObserver)
         Get a phrase set.
         
      • updatePhraseSet

        public void updatePhraseSet​(UpdatePhraseSetRequest request,
                                    io.grpc.stub.StreamObserver<PhraseSet> responseObserver)
         Update a phrase set.
         
      • deletePhraseSet

        public void deletePhraseSet​(DeletePhraseSetRequest request,
                                    io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
         Delete a phrase set.
         
      • getCustomClass

        public void getCustomClass​(GetCustomClassRequest request,
                                   io.grpc.stub.StreamObserver<CustomClass> responseObserver)
         Get a custom class.
         
      • deleteCustomClass

        public void deleteCustomClass​(DeleteCustomClassRequest request,
                                      io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
         Delete a custom class.