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.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected SchemaServiceGrpc.SchemaServiceStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions)voidcommitSchema(CommitSchemaRequest request, io.grpc.stub.StreamObserver<Schema> responseObserver)Commits a new schema revision to an existing schema.voidcreateSchema(CreateSchemaRequest request, io.grpc.stub.StreamObserver<Schema> responseObserver)Creates a schema.voiddeleteSchema(DeleteSchemaRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)Deletes a schema.voiddeleteSchemaRevision(DeleteSchemaRevisionRequest request, io.grpc.stub.StreamObserver<Schema> responseObserver)Deletes a specific schema revision.voidgetSchema(GetSchemaRequest request, io.grpc.stub.StreamObserver<Schema> responseObserver)Gets a schema.voidlistSchemaRevisions(ListSchemaRevisionsRequest request, io.grpc.stub.StreamObserver<ListSchemaRevisionsResponse> responseObserver)Lists all schema revisions for the named schema.voidlistSchemas(ListSchemasRequest request, io.grpc.stub.StreamObserver<ListSchemasResponse> responseObserver)Lists schemas in a project.voidrollbackSchema(RollbackSchemaRequest request, io.grpc.stub.StreamObserver<Schema> responseObserver)Creates a new schema revision that is a copy of the provided revision_id.voidvalidateMessage(ValidateMessageRequest request, io.grpc.stub.StreamObserver<ValidateMessageResponse> responseObserver)Validates a message against a schema.voidvalidateSchema(ValidateSchemaRequest request, io.grpc.stub.StreamObserver<ValidateSchemaResponse> responseObserver)Validates a schema.
-
-
-
Method Detail
-
build
protected SchemaServiceGrpc.SchemaServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
buildin 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.
-
-