Interface SchemaServiceGrpc.AsyncService (1.125.13)

public static interface SchemaServiceGrpc.AsyncService

Service for doing schema-related operations.

Methods

commitSchema(CommitSchemaRequest request, StreamObserver<Schema> responseObserver)

public default void commitSchema(CommitSchemaRequest request, StreamObserver<Schema> responseObserver)

Commits a new schema revision to an existing schema.

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

createSchema(CreateSchemaRequest request, StreamObserver<Schema> responseObserver)

public default 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 default void deleteSchema(DeleteSchemaRequest request, StreamObserver<Empty> responseObserver)

Deletes a schema.

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

deleteSchemaRevision(DeleteSchemaRevisionRequest request, StreamObserver<Schema> responseObserver)

public default void deleteSchemaRevision(DeleteSchemaRevisionRequest request, StreamObserver<Schema> responseObserver)

Deletes a specific schema revision.

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

getSchema(GetSchemaRequest request, StreamObserver<Schema> responseObserver)

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

Gets a schema.

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

listSchemaRevisions(ListSchemaRevisionsRequest request, StreamObserver<ListSchemaRevisionsResponse> responseObserver)

public default void listSchemaRevisions(ListSchemaRevisionsRequest request, StreamObserver<ListSchemaRevisionsResponse> responseObserver)

Lists all schema revisions for the named schema.

Parameters
NameDescription
requestListSchemaRevisionsRequest
responseObserverio.grpc.stub.StreamObserver<ListSchemaRevisionsResponse>

listSchemas(ListSchemasRequest request, StreamObserver<ListSchemasResponse> responseObserver)

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

Lists schemas in a project.

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

rollbackSchema(RollbackSchemaRequest request, StreamObserver<Schema> responseObserver)

public default void rollbackSchema(RollbackSchemaRequest request, StreamObserver<Schema> responseObserver)

Creates a new schema revision that is a copy of the provided revision_id.

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

validateMessage(ValidateMessageRequest request, StreamObserver<ValidateMessageResponse> responseObserver)

public default 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 default void validateSchema(ValidateSchemaRequest request, StreamObserver<ValidateSchemaResponse> responseObserver)

Validates a schema.

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