Package com.google.pubsub.v1
Class SchemaServiceGrpc.SchemaServiceBlockingV2Stub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<SchemaServiceGrpc.SchemaServiceBlockingV2Stub>
com.google.pubsub.v1.SchemaServiceGrpc.SchemaServiceBlockingV2Stub
- Enclosing class:
- SchemaServiceGrpc
public static final class SchemaServiceGrpc.SchemaServiceBlockingV2Stub
extends io.grpc.stub.AbstractBlockingStub<SchemaServiceGrpc.SchemaServiceBlockingV2Stub>
A stub to allow clients to do synchronous 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 TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) commitSchema(CommitSchemaRequest request) Commits a new schema revision to an existing schema.createSchema(CreateSchemaRequest request) Creates a schema.com.google.protobuf.EmptydeleteSchema(DeleteSchemaRequest request) Deletes a schema.Deletes a specific schema revision.getSchema(GetSchemaRequest request) Gets a schema.Lists all schema revisions for the named schema.listSchemas(ListSchemasRequest request) Lists schemas in a project.rollbackSchema(RollbackSchemaRequest request) Creates a new schema revision that is a copy of the provided revision_id.validateMessage(ValidateMessageRequest request) Validates a message against a schema.validateSchema(ValidateSchemaRequest request) Validates a schema.Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected SchemaServiceGrpc.SchemaServiceBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<SchemaServiceGrpc.SchemaServiceBlockingV2Stub>
-
createSchema
Creates a schema.
- Throws:
io.grpc.StatusException
-
getSchema
Gets a schema.
- Throws:
io.grpc.StatusException
-
listSchemas
Lists schemas in a project.
- Throws:
io.grpc.StatusException
-
listSchemaRevisions
public ListSchemaRevisionsResponse listSchemaRevisions(ListSchemaRevisionsRequest request) throws io.grpc.StatusException Lists all schema revisions for the named schema.
- Throws:
io.grpc.StatusException
-
commitSchema
Commits a new schema revision to an existing schema.
- Throws:
io.grpc.StatusException
-
rollbackSchema
Creates a new schema revision that is a copy of the provided revision_id.
- Throws:
io.grpc.StatusException
-
deleteSchemaRevision
public Schema deleteSchemaRevision(DeleteSchemaRevisionRequest request) throws io.grpc.StatusException Deletes a specific schema revision.
- Throws:
io.grpc.StatusException
-
deleteSchema
public com.google.protobuf.Empty deleteSchema(DeleteSchemaRequest request) throws io.grpc.StatusException Deletes a schema.
- Throws:
io.grpc.StatusException
-
validateSchema
public ValidateSchemaResponse validateSchema(ValidateSchemaRequest request) throws io.grpc.StatusException Validates a schema.
- Throws:
io.grpc.StatusException
-
validateMessage
public ValidateMessageResponse validateMessage(ValidateMessageRequest request) throws io.grpc.StatusException Validates a message against a schema.
- Throws:
io.grpc.StatusException
-