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)
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonIDSStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
create(IDSStubSettings settings)
public static final HttpJsonIDSStub create(IDSStubSettings settings)
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
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.
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.
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
close()
public final void close()
Overrides
createEndpointCallable()
public UnaryCallable<CreateEndpointRequest,Operation> createEndpointCallable()
Overrides
createEndpointOperationCallable()
public OperationCallable<CreateEndpointRequest,Endpoint,OperationMetadata> createEndpointOperationCallable()
Overrides
deleteEndpointCallable()
public UnaryCallable<DeleteEndpointRequest,Operation> deleteEndpointCallable()
Overrides
deleteEndpointOperationCallable()
public OperationCallable<DeleteEndpointRequest,Empty,OperationMetadata> deleteEndpointOperationCallable()
Overrides
getEndpointCallable()
public UnaryCallable<GetEndpointRequest,Endpoint> getEndpointCallable()
Overrides
getHttpJsonOperationsStub()
public HttpJsonOperationsStub getHttpJsonOperationsStub()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listEndpointsCallable()
public UnaryCallable<ListEndpointsRequest,ListEndpointsResponse> listEndpointsCallable()
Overrides
listEndpointsPagedCallable()
public UnaryCallable<ListEndpointsRequest,IDSClient.ListEndpointsPagedResponse> listEndpointsPagedCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()