Package com.authzed.api.v1
Class ExperimentalServiceGrpc.ExperimentalServiceStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<ExperimentalServiceGrpc.ExperimentalServiceStub>
com.authzed.api.v1.ExperimentalServiceGrpc.ExperimentalServiceStub
- Enclosing class:
- ExperimentalServiceGrpc
public static final class ExperimentalServiceGrpc.ExperimentalServiceStub
extends io.grpc.stub.AbstractAsyncStub<ExperimentalServiceGrpc.ExperimentalServiceStub>
A stub to allow clients to do asynchronous 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) void
bulkCheckPermission
(BulkCheckPermissionRequest request, io.grpc.stub.StreamObserver<BulkCheckPermissionResponse> responseObserver) Deprecated.void
bulkExportRelationships
(BulkExportRelationshipsRequest request, io.grpc.stub.StreamObserver<BulkExportRelationshipsResponse> responseObserver) BulkExportRelationships is the fastest path available to exporting relationships from the server.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.void
experimentalComputablePermissions
(ExperimentalComputablePermissionsRequest request, io.grpc.stub.StreamObserver<ExperimentalComputablePermissionsResponse> responseObserver) Deprecated.void
experimentalCountRelationships
(ExperimentalCountRelationshipsRequest request, io.grpc.stub.StreamObserver<ExperimentalCountRelationshipsResponse> responseObserver) EXPERIMENTAL: CountRelationships returns the count of relationships for *pre-registered* filter.void
experimentalDependentRelations
(ExperimentalDependentRelationsRequest request, io.grpc.stub.StreamObserver<ExperimentalDependentRelationsResponse> responseObserver) Deprecated.void
experimentalDiffSchema
(ExperimentalDiffSchemaRequest request, io.grpc.stub.StreamObserver<ExperimentalDiffSchemaResponse> responseObserver) Deprecated.void
experimentalReflectSchema
(ExperimentalReflectSchemaRequest request, io.grpc.stub.StreamObserver<ExperimentalReflectSchemaResponse> responseObserver) Deprecated.void
experimentalRegisterRelationshipCounter
(ExperimentalRegisterRelationshipCounterRequest request, io.grpc.stub.StreamObserver<ExperimentalRegisterRelationshipCounterResponse> responseObserver) EXPERIMENTAL: RegisterRelationshipCounter registers a new filter for counting relationships.void
experimentalUnregisterRelationshipCounter
(ExperimentalUnregisterRelationshipCounterRequest request, io.grpc.stub.StreamObserver<ExperimentalUnregisterRelationshipCounterResponse> responseObserver) EXPERIMENTAL: UnregisterRelationshipCounter unregisters an existing filter for counting relationships.Methods inherited from class io.grpc.stub.AbstractAsyncStub
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 ExperimentalServiceGrpc.ExperimentalServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
build
in classio.grpc.stub.AbstractStub<ExperimentalServiceGrpc.ExperimentalServiceStub>
-
bulkImportRelationships
public 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
public 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 public 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 public void experimentalReflectSchema(ExperimentalReflectSchemaRequest request, io.grpc.stub.StreamObserver<ExperimentalReflectSchemaResponse> responseObserver) Deprecated.DEPRECATED: Promoted to ReflectSchema in the stable API.
-
experimentalComputablePermissions
@Deprecated public void experimentalComputablePermissions(ExperimentalComputablePermissionsRequest request, io.grpc.stub.StreamObserver<ExperimentalComputablePermissionsResponse> responseObserver) Deprecated.DEPRECATED: Promoted to ComputablePermissions in the stable API.
-
experimentalDependentRelations
@Deprecated public void experimentalDependentRelations(ExperimentalDependentRelationsRequest request, io.grpc.stub.StreamObserver<ExperimentalDependentRelationsResponse> responseObserver) Deprecated.DEPRECATED: Promoted to DependentRelations in the stable API.
-
experimentalDiffSchema
@Deprecated public void experimentalDiffSchema(ExperimentalDiffSchemaRequest request, io.grpc.stub.StreamObserver<ExperimentalDiffSchemaResponse> responseObserver) Deprecated.DEPRECATED: Promoted to DiffSchema in the stable API.
-
experimentalRegisterRelationshipCounter
public 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
public void experimentalCountRelationships(ExperimentalCountRelationshipsRequest request, io.grpc.stub.StreamObserver<ExperimentalCountRelationshipsResponse> responseObserver) EXPERIMENTAL: CountRelationships returns the count of relationships for *pre-registered* filter.
-
experimentalUnregisterRelationshipCounter
public void experimentalUnregisterRelationshipCounter(ExperimentalUnregisterRelationshipCounterRequest request, io.grpc.stub.StreamObserver<ExperimentalUnregisterRelationshipCounterResponse> responseObserver) EXPERIMENTAL: UnregisterRelationshipCounter unregisters an existing filter for counting relationships.
-