Interface SchemaServiceGrpc.AsyncService

All Known Implementing Classes:
SchemaServiceGrpc.SchemaServiceImplBase
Enclosing class:
SchemaServiceGrpc

public static interface SchemaServiceGrpc.AsyncService
 SchemaService implements operations on a Permissions System's Schema.
 
  • Method Details

    • readSchema

      default void readSchema(Schema.ReadSchemaRequest request, io.grpc.stub.StreamObserver<Schema.ReadSchemaResponse> responseObserver)
       Read returns the current Object Definitions for a Permissions System.
       Errors include:
       - INVALID_ARGUMENT: a provided value has failed to semantically validate
       - NOT_FOUND: one of the Object Definitions being requested does not exist
       
    • writeSchema

      default void writeSchema(Schema.WriteSchemaRequest request, io.grpc.stub.StreamObserver<Schema.WriteSchemaResponse> responseObserver)
       Write overwrites the current Object Definitions for a Permissions System.
       Any Object Definitions that exist, but are not included will be deleted.