Class SchemaServiceGrpc.SchemaServiceBlockingStub (1.129.3)

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

A stub to allow clients to do synchronous rpc calls to service SchemaService.

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
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
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
Name Description
request CommitSchemaRequest
Returns
Type Description
Schema

createSchema(CreateSchemaRequest request)

public Schema createSchema(CreateSchemaRequest request)

Creates a schema.

Parameter
Name Description
request CreateSchemaRequest
Returns
Type Description
Schema

deleteSchema(DeleteSchemaRequest request)

public Empty deleteSchema(DeleteSchemaRequest request)

Deletes a schema.

Parameter
Name Description
request DeleteSchemaRequest
Returns
Type Description
Empty

deleteSchemaRevision(DeleteSchemaRevisionRequest request)

public Schema deleteSchemaRevision(DeleteSchemaRevisionRequest request)

Deletes a specific schema revision.

Parameter
Name Description
request DeleteSchemaRevisionRequest
Returns
Type Description
Schema

getSchema(GetSchemaRequest request)

public Schema getSchema(GetSchemaRequest request)

Gets a schema.

Parameter
Name Description
request GetSchemaRequest
Returns
Type Description
Schema

listSchemaRevisions(ListSchemaRevisionsRequest request)

public ListSchemaRevisionsResponse listSchemaRevisions(ListSchemaRevisionsRequest request)

Lists all schema revisions for the named schema.

Parameter
Name Description
request ListSchemaRevisionsRequest
Returns
Type Description
ListSchemaRevisionsResponse

listSchemas(ListSchemasRequest request)

public ListSchemasResponse listSchemas(ListSchemasRequest request)

Lists schemas in a project.

Parameter
Name Description
request ListSchemasRequest
Returns
Type Description
ListSchemasResponse

rollbackSchema(RollbackSchemaRequest request)

public Schema rollbackSchema(RollbackSchemaRequest request)

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

Parameter
Name Description
request RollbackSchemaRequest
Returns
Type Description
Schema

validateMessage(ValidateMessageRequest request)

public ValidateMessageResponse validateMessage(ValidateMessageRequest request)

Validates a message against a schema.

Parameter
Name Description
request ValidateMessageRequest
Returns
Type Description
ValidateMessageResponse

validateSchema(ValidateSchemaRequest request)

public ValidateSchemaResponse validateSchema(ValidateSchemaRequest request)

Validates a schema.

Parameter
Name Description
request ValidateSchemaRequest
Returns
Type Description
ValidateSchemaResponse