Class ApiHubPluginGrpc.ApiHubPluginBlockingStub (0.2.0)

public static final class ApiHubPluginGrpc.ApiHubPluginBlockingStub extends AbstractBlockingStub<ApiHubPluginGrpc.ApiHubPluginBlockingStub>

A stub to allow clients to do synchronous 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.AbstractBlockingStub > ApiHubPluginGrpc.ApiHubPluginBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

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

disablePlugin(DisablePluginRequest request)

public Plugin disablePlugin(DisablePluginRequest request)

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

Parameter
Name Description
request DisablePluginRequest
Returns
Type Description
Plugin

enablePlugin(EnablePluginRequest request)

public Plugin enablePlugin(EnablePluginRequest request)

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

Parameter
Name Description
request EnablePluginRequest
Returns
Type Description
Plugin

getPlugin(GetPluginRequest request)

public Plugin getPlugin(GetPluginRequest request)

Get details about an API Hub plugin.

Parameter
Name Description
request GetPluginRequest
Returns
Type Description
Plugin