Package com.google.pubsub.v1
Class SchemaServiceGrpc.SchemaServiceStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<SchemaServiceGrpc.SchemaServiceStub>
com.google.pubsub.v1.SchemaServiceGrpc.SchemaServiceStub
- Enclosing class:
- SchemaServiceGrpc
public static final class SchemaServiceGrpc.SchemaServiceStub
extends io.grpc.stub.AbstractAsyncStub<SchemaServiceGrpc.SchemaServiceStub>
A stub to allow clients to do asynchronous rpc calls to service SchemaService.
Service for doing schema-related operations.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>>
-
Method Summary
Modifier and TypeMethodDescriptionprotected SchemaServiceGrpc.SchemaServiceStub
build
(io.grpc.Channel channel, io.grpc.CallOptions callOptions) void
commitSchema
(CommitSchemaRequest request, io.grpc.stub.StreamObserver<Schema> responseObserver) Commits a new schema revision to an existing schema.void
createSchema
(CreateSchemaRequest request, io.grpc.stub.StreamObserver<Schema> responseObserver) Creates a schema.void
deleteSchema
(DeleteSchemaRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) Deletes a schema.void
deleteSchemaRevision
(DeleteSchemaRevisionRequest request, io.grpc.stub.StreamObserver<Schema> responseObserver) Deletes a specific schema revision.void
getSchema
(GetSchemaRequest request, io.grpc.stub.StreamObserver<Schema> responseObserver) Gets a schema.void
listSchemaRevisions
(ListSchemaRevisionsRequest request, io.grpc.stub.StreamObserver<ListSchemaRevisionsResponse> responseObserver) Lists all schema revisions for the named schema.void
listSchemas
(ListSchemasRequest request, io.grpc.stub.StreamObserver<ListSchemasResponse> responseObserver) Lists schemas in a project.void
rollbackSchema
(RollbackSchemaRequest request, io.grpc.stub.StreamObserver<Schema> responseObserver) Creates a new schema revision that is a copy of the provided revision_id.void
validateMessage
(ValidateMessageRequest request, io.grpc.stub.StreamObserver<ValidateMessageResponse> responseObserver) Validates a message against a schema.void
validateSchema
(ValidateSchemaRequest request, io.grpc.stub.StreamObserver<ValidateSchemaResponse> responseObserver) Validates a schema.Methods inherited from class io.grpc.stub.AbstractAsyncStub
newStub, newStub
Methods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
-
Method Details
-
build
protected SchemaServiceGrpc.SchemaServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
build
in classio.grpc.stub.AbstractStub<SchemaServiceGrpc.SchemaServiceStub>
-
createSchema
public void createSchema(CreateSchemaRequest request, io.grpc.stub.StreamObserver<Schema> responseObserver) Creates a schema.
-
getSchema
public void getSchema(GetSchemaRequest request, io.grpc.stub.StreamObserver<Schema> responseObserver) Gets a schema.
-
listSchemas
public void listSchemas(ListSchemasRequest request, io.grpc.stub.StreamObserver<ListSchemasResponse> responseObserver) Lists schemas in a project.
-
listSchemaRevisions
public void listSchemaRevisions(ListSchemaRevisionsRequest request, io.grpc.stub.StreamObserver<ListSchemaRevisionsResponse> responseObserver) Lists all schema revisions for the named schema.
-
commitSchema
public void commitSchema(CommitSchemaRequest request, io.grpc.stub.StreamObserver<Schema> responseObserver) Commits a new schema revision to an existing schema.
-
rollbackSchema
public 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
public void deleteSchemaRevision(DeleteSchemaRevisionRequest request, io.grpc.stub.StreamObserver<Schema> responseObserver) Deletes a specific schema revision.
-
deleteSchema
public void deleteSchema(DeleteSchemaRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) Deletes a schema.
-
validateSchema
public void validateSchema(ValidateSchemaRequest request, io.grpc.stub.StreamObserver<ValidateSchemaResponse> responseObserver) Validates a schema.
-
validateMessage
public void validateMessage(ValidateMessageRequest request, io.grpc.stub.StreamObserver<ValidateMessageResponse> responseObserver) Validates a message against a schema.
-