public class HttpJsonWebRiskServiceStub extends WebRiskServiceStub
REST stub implementation for the WebRiskService service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonWebRiskServiceStub create(ClientContext clientContext)
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonWebRiskServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
create(WebRiskServiceStubSettings settings)
public static final HttpJsonWebRiskServiceStub create(WebRiskServiceStubSettings settings)
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Constructors
HttpJsonWebRiskServiceStub(WebRiskServiceStubSettings settings, ClientContext clientContext)
protected HttpJsonWebRiskServiceStub(WebRiskServiceStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonWebRiskServiceStub, 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.
HttpJsonWebRiskServiceStub(WebRiskServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonWebRiskServiceStub(WebRiskServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonWebRiskServiceStub, 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
computeThreatListDiffCallable()
public UnaryCallable<ComputeThreatListDiffRequest,ComputeThreatListDiffResponse> computeThreatListDiffCallable()
Overrides
createSubmissionCallable()
public UnaryCallable<CreateSubmissionRequest,Submission> createSubmissionCallable()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
searchHashesCallable()
public UnaryCallable<SearchHashesRequest,SearchHashesResponse> searchHashesCallable()
Overrides
searchUrisCallable()
public UnaryCallable<SearchUrisRequest,SearchUrisResponse> searchUrisCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()