Interface SynonymSetServiceGrpc.AsyncService
-
- All Known Implementing Classes:
SynonymSetServiceGrpc.SynonymSetServiceImplBase
- Enclosing class:
- SynonymSetServiceGrpc
public static interface SynonymSetServiceGrpc.AsyncService
A Service that manage/custom customer specified SynonymSets.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default void
createSynonymSet(CreateSynonymSetRequest request, io.grpc.stub.StreamObserver<SynonymSet> responseObserver)
Creates a SynonymSet for a single context.default void
deleteSynonymSet(DeleteSynonymSetRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Deletes a SynonymSet for a given context.default void
getSynonymSet(GetSynonymSetRequest request, io.grpc.stub.StreamObserver<SynonymSet> responseObserver)
Gets a SynonymSet for a particular context.default void
listSynonymSets(ListSynonymSetsRequest request, io.grpc.stub.StreamObserver<ListSynonymSetsResponse> responseObserver)
Returns all SynonymSets (for all contexts) for the specified location.default void
updateSynonymSet(UpdateSynonymSetRequest request, io.grpc.stub.StreamObserver<SynonymSet> responseObserver)
Remove the existing SynonymSet for the context and replaces it with a new one.
-
-
-
Method Detail
-
createSynonymSet
default void createSynonymSet(CreateSynonymSetRequest request, io.grpc.stub.StreamObserver<SynonymSet> responseObserver)
Creates a SynonymSet for a single context. Throws an ALREADY_EXISTS exception if a synonymset already exists for the context.
-
getSynonymSet
default void getSynonymSet(GetSynonymSetRequest request, io.grpc.stub.StreamObserver<SynonymSet> responseObserver)
Gets a SynonymSet for a particular context. Throws a NOT_FOUND exception if the Synonymset does not exist
-
updateSynonymSet
default void updateSynonymSet(UpdateSynonymSetRequest request, io.grpc.stub.StreamObserver<SynonymSet> responseObserver)
Remove the existing SynonymSet for the context and replaces it with a new one. Throws a NOT_FOUND exception if the SynonymSet is not found.
-
deleteSynonymSet
default void deleteSynonymSet(DeleteSynonymSetRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Deletes a SynonymSet for a given context. Throws a NOT_FOUND exception if the SynonymSet is not found.
-
listSynonymSets
default void listSynonymSets(ListSynonymSetsRequest request, io.grpc.stub.StreamObserver<ListSynonymSetsResponse> responseObserver)
Returns all SynonymSets (for all contexts) for the specified location.
-
-