public class GrpcSynonymSetServiceStub extends SynonymSetServiceStub
gRPC stub implementation for the SynonymSetService service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final GrpcSynonymSetServiceStub create(ClientContext clientContext)
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcSynonymSetServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
create(SynonymSetServiceStubSettings settings)
public static final GrpcSynonymSetServiceStub create(SynonymSetServiceStubSettings settings)
Constructors
GrpcSynonymSetServiceStub(SynonymSetServiceStubSettings settings, ClientContext clientContext)
protected GrpcSynonymSetServiceStub(SynonymSetServiceStubSettings settings, ClientContext clientContext)
Constructs an instance of GrpcSynonymSetServiceStub, using the given settings. This is
protected so that it is easy to make a subclass, but otherwise, the static factory methods
should be preferred.
GrpcSynonymSetServiceStub(SynonymSetServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcSynonymSetServiceStub(SynonymSetServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcSynonymSetServiceStub, using the given settings. This is
protected so that it is easy to make a subclass, but otherwise, the static factory methods
should be preferred.
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
close()
public final void close()
Overrides
createSynonymSetCallable()
public UnaryCallable<CreateSynonymSetRequest,SynonymSet> createSynonymSetCallable()
Overrides
deleteSynonymSetCallable()
public UnaryCallable<DeleteSynonymSetRequest,Empty> deleteSynonymSetCallable()
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
getSynonymSetCallable()
public UnaryCallable<GetSynonymSetRequest,SynonymSet> getSynonymSetCallable()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listSynonymSetsCallable()
public UnaryCallable<ListSynonymSetsRequest,ListSynonymSetsResponse> listSynonymSetsCallable()
Overrides
listSynonymSetsPagedCallable()
public UnaryCallable<ListSynonymSetsRequest,SynonymSetServiceClient.ListSynonymSetsPagedResponse> listSynonymSetsPagedCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
updateSynonymSetCallable()
public UnaryCallable<UpdateSynonymSetRequest,SynonymSet> updateSynonymSetCallable()
Overrides