Package com.authzed.api.v1alpha1
Class WatchResourcesServiceGrpc.WatchResourcesServiceBlockingV2Stub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<WatchResourcesServiceGrpc.WatchResourcesServiceBlockingV2Stub>
com.authzed.api.v1alpha1.WatchResourcesServiceGrpc.WatchResourcesServiceBlockingV2Stub
- Enclosing class:
- WatchResourcesServiceGrpc
public static final class WatchResourcesServiceGrpc.WatchResourcesServiceBlockingV2Stub
extends io.grpc.stub.AbstractBlockingStub<WatchResourcesServiceGrpc.WatchResourcesServiceBlockingV2Stub>
A stub to allow clients to do synchronous rpc calls to service WatchResourcesService.
WatchResourcesService is used to receive a stream of updates for resources of a specific (resource type, permission, subject) combination.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>>
-
Method Summary
Modifier and TypeMethodDescriptionbuild
(io.grpc.Channel channel, io.grpc.CallOptions callOptions) io.grpc.stub.BlockingClientCall<?,
WatchresourcesService.WatchResourcesResponse> WatchResources initiates a watch for permission changes for the provided (resource type, permission, subject) pair.Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStub
Methods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected WatchResourcesServiceGrpc.WatchResourcesServiceBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
build
in classio.grpc.stub.AbstractStub<WatchResourcesServiceGrpc.WatchResourcesServiceBlockingV2Stub>
-
watchResources
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/10918") public io.grpc.stub.BlockingClientCall<?,WatchresourcesService.WatchResourcesResponse> watchResources(WatchresourcesService.WatchResourcesRequest request) WatchResources initiates a watch for permission changes for the provided (resource type, permission, subject) pair.
-