Class ApiHubPluginGrpc.ApiHubPluginStub (0.1.0)

public static final class ApiHubPluginGrpc.ApiHubPluginStub extends AbstractAsyncStub<ApiHubPluginGrpc.ApiHubPluginStub>

A stub to allow clients to do asynchronous 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.AbstractAsyncStub > ApiHubPluginGrpc.ApiHubPluginStub

Methods

build(Channel channel, CallOptions callOptions)

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

disablePlugin(DisablePluginRequest request, StreamObserver<Plugin> responseObserver)

public void disablePlugin(DisablePluginRequest request, StreamObserver<Plugin> responseObserver)

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

Parameters
Name Description
request DisablePluginRequest
responseObserver io.grpc.stub.StreamObserver<Plugin>

enablePlugin(EnablePluginRequest request, StreamObserver<Plugin> responseObserver)

public void enablePlugin(EnablePluginRequest request, StreamObserver<Plugin> responseObserver)

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

Parameters
Name Description
request EnablePluginRequest
responseObserver io.grpc.stub.StreamObserver<Plugin>

getPlugin(GetPluginRequest request, StreamObserver<Plugin> responseObserver)

public void getPlugin(GetPluginRequest request, StreamObserver<Plugin> responseObserver)

Get details about an API Hub plugin.

Parameters
Name Description
request GetPluginRequest
responseObserver io.grpc.stub.StreamObserver<Plugin>