Package com.authzed.api.v1
Interface ExperimentalServiceGrpc.AsyncService
- All Known Implementing Classes:
ExperimentalServiceGrpc.ExperimentalServiceImplBase
- Enclosing class:
- ExperimentalServiceGrpc
public static interface ExperimentalServiceGrpc.AsyncService
ExperimentalService exposes a number of APIs that are currently being prototyped and tested for future inclusion in the stable API.
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
bulkCheckPermission
(BulkCheckPermissionRequest request, io.grpc.stub.StreamObserver<BulkCheckPermissionResponse> responseObserver) Deprecated.default void
bulkExportRelationships
(BulkExportRelationshipsRequest request, io.grpc.stub.StreamObserver<BulkExportRelationshipsResponse> responseObserver) BulkExportRelationships is the fastest path available to exporting relationships from the server.default io.grpc.stub.StreamObserver<BulkImportRelationshipsRequest>
bulkImportRelationships
(io.grpc.stub.StreamObserver<BulkImportRelationshipsResponse> responseObserver) BulkImportRelationships is a faster path to writing a large number of relationships at once.default void
experimentalComputablePermissions
(ExperimentalComputablePermissionsRequest request, io.grpc.stub.StreamObserver<ExperimentalComputablePermissionsResponse> responseObserver) Deprecated.default void
experimentalCountRelationships
(ExperimentalCountRelationshipsRequest request, io.grpc.stub.StreamObserver<ExperimentalCountRelationshipsResponse> responseObserver) EXPERIMENTAL: CountRelationships returns the count of relationships for *pre-registered* filter.default void
experimentalDependentRelations
(ExperimentalDependentRelationsRequest request, io.grpc.stub.StreamObserver<ExperimentalDependentRelationsResponse> responseObserver) Deprecated.default void
experimentalDiffSchema
(ExperimentalDiffSchemaRequest request, io.grpc.stub.StreamObserver<ExperimentalDiffSchemaResponse> responseObserver) Deprecated.default void
experimentalReflectSchema
(ExperimentalReflectSchemaRequest request, io.grpc.stub.StreamObserver<ExperimentalReflectSchemaResponse> responseObserver) Deprecated.default void
experimentalRegisterRelationshipCounter
(ExperimentalRegisterRelationshipCounterRequest request, io.grpc.stub.StreamObserver<ExperimentalRegisterRelationshipCounterResponse> responseObserver) EXPERIMENTAL: RegisterRelationshipCounter registers a new filter for counting relationships.default void
experimentalUnregisterRelationshipCounter
(ExperimentalUnregisterRelationshipCounterRequest request, io.grpc.stub.StreamObserver<ExperimentalUnregisterRelationshipCounterResponse> responseObserver) EXPERIMENTAL: UnregisterRelationshipCounter unregisters an existing filter for counting relationships.
-
Method Details
-
bulkImportRelationships
default io.grpc.stub.StreamObserver<BulkImportRelationshipsRequest> bulkImportRelationships(io.grpc.stub.StreamObserver<BulkImportRelationshipsResponse> responseObserver) BulkImportRelationships is a faster path to writing a large number of relationships at once. It is both batched and streaming. For maximum performance, the caller should attempt to write relationships in as close to relationship sort order as possible: (resource.object_type, resource.object_id, relation, subject.object.object_type, subject.object.object_id, subject.optional_relation) EXPERIMENTAL https://github.com/authzed/spicedb/issues/1303
-
bulkExportRelationships
default void bulkExportRelationships(BulkExportRelationshipsRequest request, io.grpc.stub.StreamObserver<BulkExportRelationshipsResponse> responseObserver) BulkExportRelationships is the fastest path available to exporting relationships from the server. It is resumable, and will return results in an order determined by the server.
-
bulkCheckPermission
@Deprecated default void bulkCheckPermission(BulkCheckPermissionRequest request, io.grpc.stub.StreamObserver<BulkCheckPermissionResponse> responseObserver) 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
@Deprecated default void experimentalReflectSchema(ExperimentalReflectSchemaRequest request, io.grpc.stub.StreamObserver<ExperimentalReflectSchemaResponse> responseObserver) Deprecated.DEPRECATED: Promoted to ReflectSchema in the stable API.
-
experimentalComputablePermissions
@Deprecated default void experimentalComputablePermissions(ExperimentalComputablePermissionsRequest request, io.grpc.stub.StreamObserver<ExperimentalComputablePermissionsResponse> responseObserver) Deprecated.DEPRECATED: Promoted to ComputablePermissions in the stable API.
-
experimentalDependentRelations
@Deprecated default void experimentalDependentRelations(ExperimentalDependentRelationsRequest request, io.grpc.stub.StreamObserver<ExperimentalDependentRelationsResponse> responseObserver) Deprecated.DEPRECATED: Promoted to DependentRelations in the stable API.
-
experimentalDiffSchema
@Deprecated default void experimentalDiffSchema(ExperimentalDiffSchemaRequest request, io.grpc.stub.StreamObserver<ExperimentalDiffSchemaResponse> responseObserver) Deprecated.DEPRECATED: Promoted to DiffSchema in the stable API.
-
experimentalRegisterRelationshipCounter
default void experimentalRegisterRelationshipCounter(ExperimentalRegisterRelationshipCounterRequest request, io.grpc.stub.StreamObserver<ExperimentalRegisterRelationshipCounterResponse> responseObserver) EXPERIMENTAL: RegisterRelationshipCounter registers a new filter for counting relationships. A filter must be registered before a count can be requested.
-
experimentalCountRelationships
default void experimentalCountRelationships(ExperimentalCountRelationshipsRequest request, io.grpc.stub.StreamObserver<ExperimentalCountRelationshipsResponse> responseObserver) EXPERIMENTAL: CountRelationships returns the count of relationships for *pre-registered* filter.
-
experimentalUnregisterRelationshipCounter
default void experimentalUnregisterRelationshipCounter(ExperimentalUnregisterRelationshipCounterRequest request, io.grpc.stub.StreamObserver<ExperimentalUnregisterRelationshipCounterResponse> responseObserver) EXPERIMENTAL: UnregisterRelationshipCounter unregisters an existing filter for counting relationships.
-