Class ApiHubPluginGrpc.ApiHubPluginFutureStub (0.1.0)

public static final class ApiHubPluginGrpc.ApiHubPluginFutureStub extends AbstractFutureStub<ApiHubPluginGrpc.ApiHubPluginFutureStub>

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

This service is used for managing plugins inside the API Hub.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > ApiHubPluginGrpc.ApiHubPluginFutureStub

Methods

build(Channel channel, CallOptions callOptions)

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

disablePlugin(DisablePluginRequest request)

public ListenableFuture<Plugin> disablePlugin(DisablePluginRequest request)

Disables a plugin. The state of the plugin after disabling is DISABLED

Parameter
Name Description
request DisablePluginRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Plugin>

enablePlugin(EnablePluginRequest request)

public ListenableFuture<Plugin> enablePlugin(EnablePluginRequest request)

Enables a plugin. The state of the plugin after enabling is ENABLED

Parameter
Name Description
request EnablePluginRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Plugin>

getPlugin(GetPluginRequest request)

public ListenableFuture<Plugin> getPlugin(GetPluginRequest request)

Get details about an API Hub plugin.

Parameter
Name Description
request GetPluginRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Plugin>