Class SynonymSetServiceGrpc.SynonymSetServiceFutureStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractFutureStub<SynonymSetServiceGrpc.SynonymSetServiceFutureStub>
-
- com.google.cloud.contentwarehouse.v1.SynonymSetServiceGrpc.SynonymSetServiceFutureStub
-
- Enclosing class:
- SynonymSetServiceGrpc
public static final class SynonymSetServiceGrpc.SynonymSetServiceFutureStub extends io.grpc.stub.AbstractFutureStub<SynonymSetServiceGrpc.SynonymSetServiceFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service SynonymSetService.A Service that manage/custom customer specified SynonymSets.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected SynonymSetServiceGrpc.SynonymSetServiceFutureStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
com.google.common.util.concurrent.ListenableFuture<SynonymSet>
createSynonymSet(CreateSynonymSetRequest request)
Creates a SynonymSet for a single context.com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>
deleteSynonymSet(DeleteSynonymSetRequest request)
Deletes a SynonymSet for a given context.com.google.common.util.concurrent.ListenableFuture<SynonymSet>
getSynonymSet(GetSynonymSetRequest request)
Gets a SynonymSet for a particular context.com.google.common.util.concurrent.ListenableFuture<ListSynonymSetsResponse>
listSynonymSets(ListSynonymSetsRequest request)
Returns all SynonymSets (for all contexts) for the specified location.com.google.common.util.concurrent.ListenableFuture<SynonymSet>
updateSynonymSet(UpdateSynonymSetRequest request)
Remove the existing SynonymSet for the context and replaces it with a new one.
-
-
-
Method Detail
-
build
protected SynonymSetServiceGrpc.SynonymSetServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<SynonymSetServiceGrpc.SynonymSetServiceFutureStub>
-
createSynonymSet
public com.google.common.util.concurrent.ListenableFuture<SynonymSet> createSynonymSet(CreateSynonymSetRequest request)
Creates a SynonymSet for a single context. Throws an ALREADY_EXISTS exception if a synonymset already exists for the context.
-
getSynonymSet
public com.google.common.util.concurrent.ListenableFuture<SynonymSet> getSynonymSet(GetSynonymSetRequest request)
Gets a SynonymSet for a particular context. Throws a NOT_FOUND exception if the Synonymset does not exist
-
updateSynonymSet
public com.google.common.util.concurrent.ListenableFuture<SynonymSet> updateSynonymSet(UpdateSynonymSetRequest request)
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
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deleteSynonymSet(DeleteSynonymSetRequest request)
Deletes a SynonymSet for a given context. Throws a NOT_FOUND exception if the SynonymSet is not found.
-
listSynonymSets
public com.google.common.util.concurrent.ListenableFuture<ListSynonymSetsResponse> listSynonymSets(ListSynonymSetsRequest request)
Returns all SynonymSets (for all contexts) for the specified location.
-
-