public class GrpcIDSStub extends IDSStub
gRPC 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 GrpcIDSStub create(ClientContext clientContext)
Parameter
Returns
Exceptions
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcIDSStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(IDSStubSettings settings)
public static final GrpcIDSStub create(IDSStubSettings settings)
Parameter
Returns
Exceptions
Constructors
GrpcIDSStub(IDSStubSettings settings, ClientContext clientContext)
protected GrpcIDSStub(IDSStubSettings settings, ClientContext clientContext)
Constructs an instance of GrpcIDSStub, 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
GrpcIDSStub(IDSStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcIDSStub(IDSStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcIDSStub, 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
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
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()