Package com.authzed.api.v1alpha1
Class WatchResourcesServiceGrpc.WatchResourcesServiceBlockingStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<WatchResourcesServiceGrpc.WatchResourcesServiceBlockingStub>
com.authzed.api.v1alpha1.WatchResourcesServiceGrpc.WatchResourcesServiceBlockingStub
- Enclosing class:
- WatchResourcesServiceGrpc
public static final class WatchResourcesServiceGrpc.WatchResourcesServiceBlockingStub
extends io.grpc.stub.AbstractBlockingStub<WatchResourcesServiceGrpc.WatchResourcesServiceBlockingStub>
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) 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, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected WatchResourcesServiceGrpc.WatchResourcesServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
build
in classio.grpc.stub.AbstractStub<WatchResourcesServiceGrpc.WatchResourcesServiceBlockingStub>
-
watchResources
public Iterator<WatchresourcesService.WatchResourcesResponse> watchResources(WatchresourcesService.WatchResourcesRequest request) WatchResources initiates a watch for permission changes for the provided (resource type, permission, subject) pair.
-