Class SchemaServiceGrpc.SchemaServiceFutureStub (1.132.1)

public static final class SchemaServiceGrpc.SchemaServiceFutureStub extends AbstractFutureStub<SchemaServiceGrpc.SchemaServiceFutureStub>

A stub to allow clients to do ListenableFuture-style rpc calls to service SchemaService.

Service for doing schema-related operations.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > SchemaServiceGrpc.SchemaServiceFutureStub

Methods

build(Channel channel, CallOptions callOptions)

protected SchemaServiceGrpc.SchemaServiceFutureStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
SchemaServiceGrpc.SchemaServiceFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

commitSchema(CommitSchemaRequest request)

public ListenableFuture<Schema> commitSchema(CommitSchemaRequest request)

Commits a new schema revision to an existing schema.

Parameter
Name Description
request CommitSchemaRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Schema>

createSchema(CreateSchemaRequest request)

public ListenableFuture<Schema> createSchema(CreateSchemaRequest request)

Creates a schema.

Parameter
Name Description
request CreateSchemaRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Schema>

deleteSchema(DeleteSchemaRequest request)

public ListenableFuture<Empty> deleteSchema(DeleteSchemaRequest request)

Deletes a schema.

Parameter
Name Description
request DeleteSchemaRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Empty>

deleteSchemaRevision(DeleteSchemaRevisionRequest request)

public ListenableFuture<Schema> deleteSchemaRevision(DeleteSchemaRevisionRequest request)

Deletes a specific schema revision.

Parameter
Name Description
request DeleteSchemaRevisionRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Schema>

getSchema(GetSchemaRequest request)

public ListenableFuture<Schema> getSchema(GetSchemaRequest request)

Gets a schema.

Parameter
Name Description
request GetSchemaRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Schema>

listSchemaRevisions(ListSchemaRevisionsRequest request)

public ListenableFuture<ListSchemaRevisionsResponse> listSchemaRevisions(ListSchemaRevisionsRequest request)

Lists all schema revisions for the named schema.

Parameter
Name Description
request ListSchemaRevisionsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListSchemaRevisionsResponse>

listSchemas(ListSchemasRequest request)

public ListenableFuture<ListSchemasResponse> listSchemas(ListSchemasRequest request)

Lists schemas in a project.

Parameter
Name Description
request ListSchemasRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListSchemasResponse>

rollbackSchema(RollbackSchemaRequest request)

public ListenableFuture<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
com.google.common.util.concurrent.ListenableFuture<Schema>

validateMessage(ValidateMessageRequest request)

public ListenableFuture<ValidateMessageResponse> validateMessage(ValidateMessageRequest request)

Validates a message against a schema.

Parameter
Name Description
request ValidateMessageRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ValidateMessageResponse>

validateSchema(ValidateSchemaRequest request)

public ListenableFuture<ValidateSchemaResponse> validateSchema(ValidateSchemaRequest request)

Validates a schema.

Parameter
Name Description
request ValidateSchemaRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ValidateSchemaResponse>