public static interface SchemaServiceGrpc.AsyncService
Service for doing schema-related operations.
Modifier and Type | Method and Description |
---|---|
default void |
commitSchema(CommitSchemaRequest request,
StreamObserver<Schema> responseObserver)
Commits a new schema revision to an existing schema.
|
default void |
createSchema(CreateSchemaRequest request,
StreamObserver<Schema> responseObserver)
Creates a schema.
|
default void |
deleteSchema(DeleteSchemaRequest request,
StreamObserver<com.google.protobuf.Empty> responseObserver)
Deletes a schema.
|
default void |
deleteSchemaRevision(DeleteSchemaRevisionRequest request,
StreamObserver<Schema> responseObserver)
Deletes a specific schema revision.
|
default void |
getSchema(GetSchemaRequest request,
StreamObserver<Schema> responseObserver)
Gets a schema.
|
default void |
listSchemaRevisions(ListSchemaRevisionsRequest request,
StreamObserver<ListSchemaRevisionsResponse> responseObserver)
Lists all schema revisions for the named schema.
|
default void |
listSchemas(ListSchemasRequest request,
StreamObserver<ListSchemasResponse> responseObserver)
Lists schemas in a project.
|
default void |
rollbackSchema(RollbackSchemaRequest request,
StreamObserver<Schema> responseObserver)
Creates a new schema revision that is a copy of the provided revision_id.
|
default void |
validateMessage(ValidateMessageRequest request,
StreamObserver<ValidateMessageResponse> responseObserver)
Validates a message against a schema.
|
default void |
validateSchema(ValidateSchemaRequest request,
StreamObserver<ValidateSchemaResponse> responseObserver)
Validates a schema.
|
default void createSchema(CreateSchemaRequest request, StreamObserver<Schema> responseObserver)
Creates a schema.
default void getSchema(GetSchemaRequest request, StreamObserver<Schema> responseObserver)
Gets a schema.
default void listSchemas(ListSchemasRequest request, StreamObserver<ListSchemasResponse> responseObserver)
Lists schemas in a project.
default void listSchemaRevisions(ListSchemaRevisionsRequest request, StreamObserver<ListSchemaRevisionsResponse> responseObserver)
Lists all schema revisions for the named schema.
default void commitSchema(CommitSchemaRequest request, StreamObserver<Schema> responseObserver)
Commits a new schema revision to an existing schema.
default void rollbackSchema(RollbackSchemaRequest request, StreamObserver<Schema> responseObserver)
Creates a new schema revision that is a copy of the provided revision_id.
default void deleteSchemaRevision(DeleteSchemaRevisionRequest request, StreamObserver<Schema> responseObserver)
Deletes a specific schema revision.
default void deleteSchema(DeleteSchemaRequest request, StreamObserver<com.google.protobuf.Empty> responseObserver)
Deletes a schema.
default void validateSchema(ValidateSchemaRequest request, StreamObserver<ValidateSchemaResponse> responseObserver)
Validates a schema.
default void validateMessage(ValidateMessageRequest request, StreamObserver<ValidateMessageResponse> responseObserver)
Validates a message against a schema.
Copyright © 2023 Google LLC. All rights reserved.