Package com.authzed.api.v1
Class ExperimentalServiceGrpc.ExperimentalServiceFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<ExperimentalServiceGrpc.ExperimentalServiceFutureStub>
com.authzed.api.v1.ExperimentalServiceGrpc.ExperimentalServiceFutureStub
- Enclosing class:
- ExperimentalServiceGrpc
public static final class ExperimentalServiceGrpc.ExperimentalServiceFutureStub
extends io.grpc.stub.AbstractFutureStub<ExperimentalServiceGrpc.ExperimentalServiceFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service ExperimentalService.
ExperimentalService exposes a number of APIs that are currently being prototyped and tested for future inclusion in the stable API.
-
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) com.google.common.util.concurrent.ListenableFuture<BulkCheckPermissionResponse>
Deprecated.com.google.common.util.concurrent.ListenableFuture<ExperimentalComputablePermissionsResponse>
EXPERIMENTAL: ComputablePermissions is an API that allows clients to request the set of permissions that compute based off a relation.com.google.common.util.concurrent.ListenableFuture<ExperimentalCountRelationshipsResponse>
EXPERIMENTAL: CountRelationships returns the count of relationships for *pre-registered* filter.com.google.common.util.concurrent.ListenableFuture<ExperimentalDependentRelationsResponse>
EXPERIMENTAL: DependentRelations is an API that allows clients to request the set of relations and permissions that used to compute a permission, recursively.com.google.common.util.concurrent.ListenableFuture<ExperimentalDiffSchemaResponse>
EXPERIMENTAL: DiffSchema is an API that allows clients to request the difference between the specified schema and the schema stored in SpiceDB.com.google.common.util.concurrent.ListenableFuture<ExperimentalReflectSchemaResponse>
EXPERIMENTAL: ReflectSchema is an API that allows clients to reflect the schema stored in SpiceDB.com.google.common.util.concurrent.ListenableFuture<ExperimentalRegisterRelationshipCounterResponse>
EXPERIMENTAL: RegisterRelationshipCounter registers a new filter for counting relationships.com.google.common.util.concurrent.ListenableFuture<ExperimentalUnregisterRelationshipCounterResponse>
EXPERIMENTAL: UnregisterRelationshipCounter unregisters an existing filter for counting relationships.Methods inherited from class io.grpc.stub.AbstractFutureStub
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 ExperimentalServiceGrpc.ExperimentalServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
build
in classio.grpc.stub.AbstractStub<ExperimentalServiceGrpc.ExperimentalServiceFutureStub>
-
bulkCheckPermission
@Deprecated public com.google.common.util.concurrent.ListenableFuture<BulkCheckPermissionResponse> bulkCheckPermission(BulkCheckPermissionRequest request) Deprecated.NOTE: BulkCheckPermission has been promoted to the stable API as "CheckBulkPermission" and the API will be removed from experimental in a future release.
-
experimentalReflectSchema
public com.google.common.util.concurrent.ListenableFuture<ExperimentalReflectSchemaResponse> experimentalReflectSchema(ExperimentalReflectSchemaRequest request) EXPERIMENTAL: ReflectSchema is an API that allows clients to reflect the schema stored in SpiceDB. This is useful for clients that need to introspect the schema of a SpiceDB instance.
-
experimentalComputablePermissions
public com.google.common.util.concurrent.ListenableFuture<ExperimentalComputablePermissionsResponse> experimentalComputablePermissions(ExperimentalComputablePermissionsRequest request) EXPERIMENTAL: ComputablePermissions is an API that allows clients to request the set of permissions that compute based off a relation. For example, if a schema has a relation `viewer` and a permission `view` defined as `permission view = viewer + editor`, then the computable permissions for the relation `viewer` will include `view`.
-
experimentalDependentRelations
public com.google.common.util.concurrent.ListenableFuture<ExperimentalDependentRelationsResponse> experimentalDependentRelations(ExperimentalDependentRelationsRequest request) EXPERIMENTAL: DependentRelations is an API that allows clients to request the set of relations and permissions that used to compute a permission, recursively. It is the inverse of the ComputablePermissions API.
-
experimentalDiffSchema
public com.google.common.util.concurrent.ListenableFuture<ExperimentalDiffSchemaResponse> experimentalDiffSchema(ExperimentalDiffSchemaRequest request) EXPERIMENTAL: DiffSchema is an API that allows clients to request the difference between the specified schema and the schema stored in SpiceDB. This is useful for clients that need to introspect the schema of a SpiceDB instance.
-
experimentalRegisterRelationshipCounter
public com.google.common.util.concurrent.ListenableFuture<ExperimentalRegisterRelationshipCounterResponse> experimentalRegisterRelationshipCounter(ExperimentalRegisterRelationshipCounterRequest request) EXPERIMENTAL: RegisterRelationshipCounter registers a new filter for counting relationships. A filter must be registered before a count can be requested.
-
experimentalCountRelationships
public com.google.common.util.concurrent.ListenableFuture<ExperimentalCountRelationshipsResponse> experimentalCountRelationships(ExperimentalCountRelationshipsRequest request) EXPERIMENTAL: CountRelationships returns the count of relationships for *pre-registered* filter.
-
experimentalUnregisterRelationshipCounter
public com.google.common.util.concurrent.ListenableFuture<ExperimentalUnregisterRelationshipCounterResponse> experimentalUnregisterRelationshipCounter(ExperimentalUnregisterRelationshipCounterRequest request) EXPERIMENTAL: UnregisterRelationshipCounter unregisters an existing filter for counting relationships.
-