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