public class HttpJsonIDSStub extends IDSStub
REST stub implementation for the IDS service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonIDSStub create(ClientContext clientContext)
Parameter
Returns
Exceptions
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonIDSStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(IDSStubSettings settings)
public static final HttpJsonIDSStub create(IDSStubSettings settings)
Parameter
Returns
Exceptions
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Constructors
HttpJsonIDSStub(IDSStubSettings settings, ClientContext clientContext)
protected HttpJsonIDSStub(IDSStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonIDSStub, 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
HttpJsonIDSStub(IDSStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonIDSStub(IDSStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonIDSStub, 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
createEndpointCallable()
public UnaryCallable<CreateEndpointRequest,Operation> createEndpointCallable()
Returns
Overrides
createEndpointOperationCallable()
public OperationCallable<CreateEndpointRequest,Endpoint,OperationMetadata> createEndpointOperationCallable()
Returns
Overrides
deleteEndpointCallable()
public UnaryCallable<DeleteEndpointRequest,Operation> deleteEndpointCallable()
Returns
Overrides
deleteEndpointOperationCallable()
public OperationCallable<DeleteEndpointRequest,Empty,OperationMetadata> deleteEndpointOperationCallable()
Returns
Overrides
getEndpointCallable()
public UnaryCallable<GetEndpointRequest,Endpoint> getEndpointCallable()
Returns
Overrides
getHttpJsonOperationsStub()
public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns
Overrides
isShutdown()
public boolean isShutdown()
Returns
isTerminated()
public boolean isTerminated()
Returns
listEndpointsCallable()
public UnaryCallable<ListEndpointsRequest,ListEndpointsResponse> listEndpointsCallable()
Returns
Overrides
listEndpointsPagedCallable()
public UnaryCallable<ListEndpointsRequest,IDSClient.ListEndpointsPagedResponse> listEndpointsPagedCallable()
Returns
Overrides
shutdown()
shutdownNow()
public void shutdownNow()