Class SchemaServiceGrpc.SchemaServiceBlockingStub (1.123.8)

public static final class SchemaServiceGrpc.SchemaServiceBlockingStub extends AbstractBlockingStub<SchemaServiceGrpc.SchemaServiceBlockingStub>

Service for doing schema-related operations.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > SchemaServiceGrpc.SchemaServiceBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

protected SchemaServiceGrpc.SchemaServiceBlockingStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
SchemaServiceGrpc.SchemaServiceBlockingStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

commitSchema(CommitSchemaRequest request)

public Schema commitSchema(CommitSchemaRequest request)

Commits a new schema revision to an existing schema.

Parameter
NameDescription
requestCommitSchemaRequest
Returns
TypeDescription
Schema

createSchema(CreateSchemaRequest request)

public Schema createSchema(CreateSchemaRequest request)

Creates a schema.

Parameter
NameDescription
requestCreateSchemaRequest
Returns
TypeDescription
Schema

deleteSchema(DeleteSchemaRequest request)

public Empty deleteSchema(DeleteSchemaRequest request)

Deletes a schema.

Parameter
NameDescription
requestDeleteSchemaRequest
Returns
TypeDescription
Empty

deleteSchemaRevision(DeleteSchemaRevisionRequest request)

public Schema deleteSchemaRevision(DeleteSchemaRevisionRequest request)

Deletes a specific schema revision.

Parameter
NameDescription
requestDeleteSchemaRevisionRequest
Returns
TypeDescription
Schema

getSchema(GetSchemaRequest request)

public Schema getSchema(GetSchemaRequest request)

Gets a schema.

Parameter
NameDescription
requestGetSchemaRequest
Returns
TypeDescription
Schema

listSchemaRevisions(ListSchemaRevisionsRequest request)

public ListSchemaRevisionsResponse listSchemaRevisions(ListSchemaRevisionsRequest request)

Lists all schema revisions for the named schema.

Parameter
NameDescription
requestListSchemaRevisionsRequest
Returns
TypeDescription
ListSchemaRevisionsResponse

listSchemas(ListSchemasRequest request)

public ListSchemasResponse listSchemas(ListSchemasRequest request)

Lists schemas in a project.

Parameter
NameDescription
requestListSchemasRequest
Returns
TypeDescription
ListSchemasResponse

rollbackSchema(RollbackSchemaRequest request)

public Schema rollbackSchema(RollbackSchemaRequest request)

Creates a new schema revision that is a copy of the provided revision_id.

Parameter
NameDescription
requestRollbackSchemaRequest
Returns
TypeDescription
Schema

validateMessage(ValidateMessageRequest request)

public ValidateMessageResponse validateMessage(ValidateMessageRequest request)

Validates a message against a schema.

Parameter
NameDescription
requestValidateMessageRequest
Returns
TypeDescription
ValidateMessageResponse

validateSchema(ValidateSchemaRequest request)

public ValidateSchemaResponse validateSchema(ValidateSchemaRequest request)

Validates a schema.

Parameter
NameDescription
requestValidateSchemaRequest
Returns
TypeDescription
ValidateSchemaResponse