public class HttpJsonSynonymSetServiceStub extends SynonymSetServiceStub
REST 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 HttpJsonSynonymSetServiceStub create(ClientContext clientContext)
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonSynonymSetServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
create(SynonymSetServiceStubSettings settings)
public static final HttpJsonSynonymSetServiceStub create(SynonymSetServiceStubSettings settings)
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Constructors
HttpJsonSynonymSetServiceStub(SynonymSetServiceStubSettings settings, ClientContext clientContext)
protected HttpJsonSynonymSetServiceStub(SynonymSetServiceStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonSynonymSetServiceStub, 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.
HttpJsonSynonymSetServiceStub(SynonymSetServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonSynonymSetServiceStub(SynonymSetServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonSynonymSetServiceStub, 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
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