Class SchemaServiceGrpc.SchemaServiceFutureStub (0.13.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
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
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
NameDescription
requestCreateSchemaRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteSchema(DeleteSchemaRequest request)

public ListenableFuture<Operation> deleteSchema(DeleteSchemaRequest request)

Deletes a Schema.

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

getSchema(GetSchemaRequest request)

public ListenableFuture<Schema> getSchema(GetSchemaRequest request)

Gets a Schema.

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

listSchemas(ListSchemasRequest request)

public ListenableFuture<ListSchemasResponse> listSchemas(ListSchemasRequest request)

Gets a list of Schemas.

Parameter
NameDescription
requestListSchemasRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListSchemasResponse>

updateSchema(UpdateSchemaRequest request)

public ListenableFuture<Operation> updateSchema(UpdateSchemaRequest request)

Updates a Schema.

Parameter
NameDescription
requestUpdateSchemaRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>