Package 

Class SchemaServiceGrpcKt.SchemaServiceCoroutineImplBase

  • All Implemented Interfaces:
    io.grpc.BindableService

    
    public abstract class SchemaServiceGrpcKt.SchemaServiceCoroutineImplBase
    extends AbstractCoroutineServerImpl
                        

    Skeletal implementation of the authzed.api.v1.SchemaService service based on Kotlin coroutines.

    • Constructor Detail

      • SchemaServiceGrpcKt.SchemaServiceCoroutineImplBase

        SchemaServiceGrpcKt.SchemaServiceCoroutineImplBase(CoroutineContext coroutineContext)
    • Method Detail

      • readSchema

         SchemaServiceOuterClass.ReadSchemaResponse readSchema(SchemaServiceOuterClass.ReadSchemaRequest request)

        Returns the response to an RPC for authzed.api.v1.SchemaService.ReadSchema.

        If this method fails with a StatusException, the RPC will fail with the corresponding Status. If this method fails with a java.util.concurrent.CancellationException, the RPC will fail with status Status.CANCELLED. If this method fails for any other reason, the RPC will fail with Status.UNKNOWN with the exception as a cause.

        Parameters:
        request - The request from the client.
      • writeSchema

         SchemaServiceOuterClass.WriteSchemaResponse writeSchema(SchemaServiceOuterClass.WriteSchemaRequest request)

        Returns the response to an RPC for authzed.api.v1.SchemaService.WriteSchema.

        If this method fails with a StatusException, the RPC will fail with the corresponding Status. If this method fails with a java.util.concurrent.CancellationException, the RPC will fail with status Status.CANCELLED. If this method fails for any other reason, the RPC will fail with Status.UNKNOWN with the exception as a cause.

        Parameters:
        request - The request from the client.
      • bindService

         final ServerServiceDefinition bindService()