Class SchemaServiceGrpc.SchemaServiceFutureStub (0.51.0)

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 managing Schemas.

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)

createSchema(CreateSchemaRequest request)

public ListenableFuture<Operation> createSchema(CreateSchemaRequest request)

Creates a Schema.

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

deleteSchema(DeleteSchemaRequest request)

public ListenableFuture<Operation> deleteSchema(DeleteSchemaRequest request)

Deletes a Schema.

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

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>

listSchemas(ListSchemasRequest request)

public ListenableFuture<ListSchemasResponse> listSchemas(ListSchemasRequest request)

Gets a list of Schemas.

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

updateSchema(UpdateSchemaRequest request)

public ListenableFuture<Operation> updateSchema(UpdateSchemaRequest request)

Updates a Schema.

Parameter
Name Description
request UpdateSchemaRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>