Package com.google.pubsub.v1
Interface SchemaServiceGrpc.AsyncService
- All Known Implementing Classes:
SchemaServiceGrpc.SchemaServiceImplBase
- Enclosing class:
- SchemaServiceGrpc
public static interface SchemaServiceGrpc.AsyncService
Service for doing schema-related operations.
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
commitSchema
(CommitSchemaRequest request, io.grpc.stub.StreamObserver<Schema> responseObserver) Commits a new schema revision to an existing schema.default void
createSchema
(CreateSchemaRequest request, io.grpc.stub.StreamObserver<Schema> responseObserver) Creates a schema.default void
deleteSchema
(DeleteSchemaRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) Deletes a schema.default void
deleteSchemaRevision
(DeleteSchemaRevisionRequest request, io.grpc.stub.StreamObserver<Schema> responseObserver) Deletes a specific schema revision.default void
getSchema
(GetSchemaRequest request, io.grpc.stub.StreamObserver<Schema> responseObserver) Gets a schema.default void
listSchemaRevisions
(ListSchemaRevisionsRequest request, io.grpc.stub.StreamObserver<ListSchemaRevisionsResponse> responseObserver) Lists all schema revisions for the named schema.default void
listSchemas
(ListSchemasRequest request, io.grpc.stub.StreamObserver<ListSchemasResponse> responseObserver) Lists schemas in a project.default void
rollbackSchema
(RollbackSchemaRequest request, io.grpc.stub.StreamObserver<Schema> responseObserver) Creates a new schema revision that is a copy of the provided revision_id.default void
validateMessage
(ValidateMessageRequest request, io.grpc.stub.StreamObserver<ValidateMessageResponse> responseObserver) Validates a message against a schema.default void
validateSchema
(ValidateSchemaRequest request, io.grpc.stub.StreamObserver<ValidateSchemaResponse> responseObserver) Validates a schema.
-
Method Details
-
createSchema
default void createSchema(CreateSchemaRequest request, io.grpc.stub.StreamObserver<Schema> responseObserver) Creates a schema.
-
getSchema
default void getSchema(GetSchemaRequest request, io.grpc.stub.StreamObserver<Schema> responseObserver) Gets a schema.
-
listSchemas
default void listSchemas(ListSchemasRequest request, io.grpc.stub.StreamObserver<ListSchemasResponse> responseObserver) Lists schemas in a project.
-
listSchemaRevisions
default void listSchemaRevisions(ListSchemaRevisionsRequest request, io.grpc.stub.StreamObserver<ListSchemaRevisionsResponse> responseObserver) Lists all schema revisions for the named schema.
-
commitSchema
default void commitSchema(CommitSchemaRequest request, io.grpc.stub.StreamObserver<Schema> responseObserver) Commits a new schema revision to an existing schema.
-
rollbackSchema
default void rollbackSchema(RollbackSchemaRequest request, io.grpc.stub.StreamObserver<Schema> responseObserver) Creates a new schema revision that is a copy of the provided revision_id.
-
deleteSchemaRevision
default void deleteSchemaRevision(DeleteSchemaRevisionRequest request, io.grpc.stub.StreamObserver<Schema> responseObserver) Deletes a specific schema revision.
-
deleteSchema
default void deleteSchema(DeleteSchemaRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) Deletes a schema.
-
validateSchema
default void validateSchema(ValidateSchemaRequest request, io.grpc.stub.StreamObserver<ValidateSchemaResponse> responseObserver) Validates a schema.
-
validateMessage
default void validateMessage(ValidateMessageRequest request, io.grpc.stub.StreamObserver<ValidateMessageResponse> responseObserver) Validates a message against a schema.
-