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)
Parameter
Returns
Exceptions
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonSynonymSetServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(SynonymSetServiceStubSettings settings)
public static final HttpJsonSynonymSetServiceStub create(SynonymSetServiceStubSettings settings)
Parameter
Returns
Exceptions
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
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.
Parameters
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.
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
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