-
- All Implemented Interfaces:
-
io.grpc.BindableService
public abstract class SchemaServiceGrpcKt.SchemaServiceCoroutineImplBase extends AbstractCoroutineServerImplSkeletal implementation of the authzed.api.v1.SchemaService service based on Kotlin coroutines.
-
-
Field Summary
Fields Modifier and Type Field Description private final CoroutineContextcontext
-
Constructor Summary
Constructors Constructor Description SchemaServiceGrpcKt.SchemaServiceCoroutineImplBase(CoroutineContext coroutineContext)
-
Method Summary
Modifier and Type Method Description SchemaServiceOuterClass.ReadSchemaResponsereadSchema(SchemaServiceOuterClass.ReadSchemaRequest request)Returns the response to an RPC for authzed.api.v1.SchemaService.ReadSchema. SchemaServiceOuterClass.WriteSchemaResponsewriteSchema(SchemaServiceOuterClass.WriteSchemaRequest request)Returns the response to an RPC for authzed.api.v1.SchemaService.WriteSchema. final ServerServiceDefinitionbindService()-
-
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 withStatus.UNKNOWNwith 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 withStatus.UNKNOWNwith the exception as a cause.- Parameters:
request- The request from the client.
-
bindService
final ServerServiceDefinition bindService()
-
-
-
-