Class SchemaServiceGrpc.SchemaServiceFutureStub (1.123.18)

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
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
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
NameDescription
requestCommitSchemaRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Schema>

createSchema(CreateSchemaRequest request)

public ListenableFuture<Schema> createSchema(CreateSchemaRequest request)

Creates a schema.

Parameter
NameDescription
requestCreateSchemaRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Schema>

deleteSchema(DeleteSchemaRequest request)

public ListenableFuture<Empty> deleteSchema(DeleteSchemaRequest request)

Deletes a schema.

Parameter
NameDescription
requestDeleteSchemaRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Empty>

deleteSchemaRevision(DeleteSchemaRevisionRequest request)

public ListenableFuture<Schema> deleteSchemaRevision(DeleteSchemaRevisionRequest request)

Deletes a specific schema revision.

Parameter
NameDescription
requestDeleteSchemaRevisionRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Schema>

getSchema(GetSchemaRequest request)

public ListenableFuture<Schema> getSchema(GetSchemaRequest request)

Gets a schema.

Parameter
NameDescription
requestGetSchemaRequest
Returns
TypeDescription
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
NameDescription
requestListSchemaRevisionsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListSchemaRevisionsResponse>

listSchemas(ListSchemasRequest request)

public ListenableFuture<ListSchemasResponse> listSchemas(ListSchemasRequest request)

Lists schemas in a project.

Parameter
NameDescription
requestListSchemasRequest
Returns
TypeDescription
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
NameDescription
requestRollbackSchemaRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Schema>

validateMessage(ValidateMessageRequest request)

public ListenableFuture<ValidateMessageResponse> validateMessage(ValidateMessageRequest request)

Validates a message against a schema.

Parameter
NameDescription
requestValidateMessageRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ValidateMessageResponse>

validateSchema(ValidateSchemaRequest request)

public ListenableFuture<ValidateSchemaResponse> validateSchema(ValidateSchemaRequest request)

Validates a schema.

Parameter
NameDescription
requestValidateSchemaRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ValidateSchemaResponse>