Class SchemaServiceGrpc.SchemaServiceFutureStub (1.117.0)

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

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)

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>

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)

Lists schemas in a project.

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

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>