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)
Parameter
Returns
Exceptions
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcSynonymSetServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(SynonymSetServiceStubSettings settings)
public static final GrpcSynonymSetServiceStub create(SynonymSetServiceStubSettings settings)
Parameter
Returns
Exceptions
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.
Parameters
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.
Parameters
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Returns
Exceptions
close()
public final void close()
Overrides
createSynonymSetCallable()
public UnaryCallable<CreateSynonymSetRequest,SynonymSet> createSynonymSetCallable()
Returns
Overrides
deleteSynonymSetCallable()
public UnaryCallable<DeleteSynonymSetRequest,Empty> deleteSynonymSetCallable()
Returns
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Returns
getSynonymSetCallable()
public UnaryCallable<GetSynonymSetRequest,SynonymSet> getSynonymSetCallable()
Returns
Overrides
isShutdown()
public boolean isShutdown()
Returns
isTerminated()
public boolean isTerminated()
Returns
listSynonymSetsCallable()
public UnaryCallable<ListSynonymSetsRequest,ListSynonymSetsResponse> listSynonymSetsCallable()
Returns
Overrides
listSynonymSetsPagedCallable()
public UnaryCallable<ListSynonymSetsRequest,SynonymSetServiceClient.ListSynonymSetsPagedResponse> listSynonymSetsPagedCallable()
Returns
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
updateSynonymSetCallable()
public UnaryCallable<UpdateSynonymSetRequest,SynonymSet> updateSynonymSetCallable()
Returns
Overrides