public class GrpcKeyTrackingServiceStub extends KeyTrackingServiceStub
gRPC stub implementation for the KeyTrackingService service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final GrpcKeyTrackingServiceStub create(ClientContext clientContext)
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcKeyTrackingServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
create(KeyTrackingServiceStubSettings settings)
public static final GrpcKeyTrackingServiceStub create(KeyTrackingServiceStubSettings settings)
Constructors
GrpcKeyTrackingServiceStub(KeyTrackingServiceStubSettings settings, ClientContext clientContext)
protected GrpcKeyTrackingServiceStub(KeyTrackingServiceStubSettings settings, ClientContext clientContext)
Constructs an instance of GrpcKeyTrackingServiceStub, 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.
GrpcKeyTrackingServiceStub(KeyTrackingServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcKeyTrackingServiceStub(KeyTrackingServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcKeyTrackingServiceStub, 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
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
getProtectedResourcesSummaryCallable()
public UnaryCallable<GetProtectedResourcesSummaryRequest,ProtectedResourcesSummary> getProtectedResourcesSummaryCallable()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
searchProtectedResourcesCallable()
public UnaryCallable<SearchProtectedResourcesRequest,SearchProtectedResourcesResponse> searchProtectedResourcesCallable()
Overrides
searchProtectedResourcesPagedCallable()
public UnaryCallable<SearchProtectedResourcesRequest,KeyTrackingServiceClient.SearchProtectedResourcesPagedResponse> searchProtectedResourcesPagedCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()