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)
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcIDSStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
create(IDSStubSettings settings)
public static final GrpcIDSStub create(IDSStubSettings settings)
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.
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.
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
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
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()