Package com.authzed.api.v1
Class SchemaServiceGrpc.SchemaServiceBlockingStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<SchemaServiceGrpc.SchemaServiceBlockingStub>
com.authzed.api.v1.SchemaServiceGrpc.SchemaServiceBlockingStub
- Enclosing class:
- SchemaServiceGrpc
public static final class SchemaServiceGrpc.SchemaServiceBlockingStub
extends io.grpc.stub.AbstractBlockingStub<SchemaServiceGrpc.SchemaServiceBlockingStub>
A stub to allow clients to do synchronous rpc calls to service SchemaService.
SchemaService implements operations on a Permissions System's Schema.
-
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) readSchema
(ReadSchemaRequest request) Read returns the current Object Definitions for a Permissions System.writeSchema
(WriteSchemaRequest request) Write overwrites the current Object Definitions for a Permissions System.Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStub
Methods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected SchemaServiceGrpc.SchemaServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
build
in classio.grpc.stub.AbstractStub<SchemaServiceGrpc.SchemaServiceBlockingStub>
-
readSchema
Read returns the current Object Definitions for a Permissions System. Errors include: - INVALID_ARGUMENT: a provided value has failed to semantically validate - NOT_FOUND: no schema has been defined
-
writeSchema
Write overwrites the current Object Definitions for a Permissions System.
-