Class SchemaServiceGrpc.SchemaServiceImplBase (1.118.0)

public abstract static class SchemaServiceGrpc.SchemaServiceImplBase implements BindableService

Service for doing schema-related operations.

Inheritance

java.lang.Object > SchemaServiceGrpc.SchemaServiceImplBase

Implements

io.grpc.BindableService

Constructors

SchemaServiceImplBase()

public SchemaServiceImplBase()

Methods

bindService()

public final ServerServiceDefinition bindService()
Returns
TypeDescription
io.grpc.ServerServiceDefinition

createSchema(CreateSchemaRequest request, StreamObserver<Schema> responseObserver)

public void createSchema(CreateSchemaRequest request, StreamObserver<Schema> responseObserver)

Creates a schema.

Parameters
NameDescription
requestCreateSchemaRequest
responseObserverio.grpc.stub.StreamObserver<Schema>

deleteSchema(DeleteSchemaRequest request, StreamObserver<Empty> responseObserver)

public void deleteSchema(DeleteSchemaRequest request, StreamObserver<Empty> responseObserver)

Deletes a schema.

Parameters
NameDescription
requestDeleteSchemaRequest
responseObserverio.grpc.stub.StreamObserver<Empty>

getSchema(GetSchemaRequest request, StreamObserver<Schema> responseObserver)

public void getSchema(GetSchemaRequest request, StreamObserver<Schema> responseObserver)

Gets a schema.

Parameters
NameDescription
requestGetSchemaRequest
responseObserverio.grpc.stub.StreamObserver<Schema>

listSchemas(ListSchemasRequest request, StreamObserver<ListSchemasResponse> responseObserver)

public void listSchemas(ListSchemasRequest request, StreamObserver<ListSchemasResponse> responseObserver)

Lists schemas in a project.

Parameters
NameDescription
requestListSchemasRequest
responseObserverio.grpc.stub.StreamObserver<ListSchemasResponse>

validateMessage(ValidateMessageRequest request, StreamObserver<ValidateMessageResponse> responseObserver)

public void validateMessage(ValidateMessageRequest request, StreamObserver<ValidateMessageResponse> responseObserver)

Validates a message against a schema.

Parameters
NameDescription
requestValidateMessageRequest
responseObserverio.grpc.stub.StreamObserver<ValidateMessageResponse>

validateSchema(ValidateSchemaRequest request, StreamObserver<ValidateSchemaResponse> responseObserver)

public void validateSchema(ValidateSchemaRequest request, StreamObserver<ValidateSchemaResponse> responseObserver)

Validates a schema.

Parameters
NameDescription
requestValidateSchemaRequest
responseObserverio.grpc.stub.StreamObserver<ValidateSchemaResponse>