public static final class SchemaServiceGrpc.SchemaServiceStub extends AbstractAsyncStub<SchemaServiceGrpc.SchemaServiceStub>
Service for doing schema-related operations.
AbstractStub.StubFactory<T extends AbstractStub<T>>
Modifier and Type | Method and Description |
---|---|
protected SchemaServiceGrpc.SchemaServiceStub |
build(Channel channel,
CallOptions callOptions) |
void |
commitSchema(CommitSchemaRequest request,
StreamObserver<Schema> responseObserver)
Commits a new schema revision to an existing schema.
|
void |
createSchema(CreateSchemaRequest request,
StreamObserver<Schema> responseObserver)
Creates a schema.
|
void |
deleteSchema(DeleteSchemaRequest request,
StreamObserver<com.google.protobuf.Empty> responseObserver)
Deletes a schema.
|
void |
deleteSchemaRevision(DeleteSchemaRevisionRequest request,
StreamObserver<Schema> responseObserver)
Deletes a specific schema revision.
|
void |
getSchema(GetSchemaRequest request,
StreamObserver<Schema> responseObserver)
Gets a schema.
|
void |
listSchemaRevisions(ListSchemaRevisionsRequest request,
StreamObserver<ListSchemaRevisionsResponse> responseObserver)
Lists all schema revisions for the named schema.
|
void |
listSchemas(ListSchemasRequest request,
StreamObserver<ListSchemasResponse> responseObserver)
Lists schemas in a project.
|
void |
rollbackSchema(RollbackSchemaRequest request,
StreamObserver<Schema> responseObserver)
Creates a new schema revision that is a copy of the provided revision_id.
|
void |
validateMessage(ValidateMessageRequest request,
StreamObserver<ValidateMessageResponse> responseObserver)
Validates a message against a schema.
|
void |
validateSchema(ValidateSchemaRequest request,
StreamObserver<ValidateSchemaResponse> responseObserver)
Validates a schema.
|
newStub, newStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
protected SchemaServiceGrpc.SchemaServiceStub build(Channel channel, CallOptions callOptions)
build
in class AbstractStub<SchemaServiceGrpc.SchemaServiceStub>
public void createSchema(CreateSchemaRequest request, StreamObserver<Schema> responseObserver)
Creates a schema.
public void getSchema(GetSchemaRequest request, StreamObserver<Schema> responseObserver)
Gets a schema.
public void listSchemas(ListSchemasRequest request, StreamObserver<ListSchemasResponse> responseObserver)
Lists schemas in a project.
public void listSchemaRevisions(ListSchemaRevisionsRequest request, StreamObserver<ListSchemaRevisionsResponse> responseObserver)
Lists all schema revisions for the named schema.
public void commitSchema(CommitSchemaRequest request, StreamObserver<Schema> responseObserver)
Commits a new schema revision to an existing schema.
public void rollbackSchema(RollbackSchemaRequest request, StreamObserver<Schema> responseObserver)
Creates a new schema revision that is a copy of the provided revision_id.
public void deleteSchemaRevision(DeleteSchemaRevisionRequest request, StreamObserver<Schema> responseObserver)
Deletes a specific schema revision.
public void deleteSchema(DeleteSchemaRequest request, StreamObserver<com.google.protobuf.Empty> responseObserver)
Deletes a schema.
public void validateSchema(ValidateSchemaRequest request, StreamObserver<ValidateSchemaResponse> responseObserver)
Validates a schema.
public void validateMessage(ValidateMessageRequest request, StreamObserver<ValidateMessageResponse> responseObserver)
Validates a message against a schema.
Copyright © 2023 Google LLC. All rights reserved.