Class AdaptationGrpc.AdaptationFutureStub

  • Enclosing class:
    AdaptationGrpc

    public static final class AdaptationGrpc.AdaptationFutureStub
    extends io.grpc.stub.AbstractFutureStub<AdaptationGrpc.AdaptationFutureStub>
    A stub to allow clients to do ListenableFuture-style rpc calls to service Adaptation.
     Service that implements Google Cloud Speech Adaptation API.
     
    • Method Detail

      • createPhraseSet

        public com.google.common.util.concurrent.ListenableFuture<PhraseSet> createPhraseSet​(CreatePhraseSetRequest request)
         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 com.google.common.util.concurrent.ListenableFuture<PhraseSet> getPhraseSet​(GetPhraseSetRequest request)
         Get a phrase set.
         
      • updatePhraseSet

        public com.google.common.util.concurrent.ListenableFuture<PhraseSet> updatePhraseSet​(UpdatePhraseSetRequest request)
         Update a phrase set.
         
      • deletePhraseSet

        public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deletePhraseSet​(DeletePhraseSetRequest request)
         Delete a phrase set.
         
      • deleteCustomClass

        public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deleteCustomClass​(DeleteCustomClassRequest request)
         Delete a custom class.