Class ApiHubPluginGrpc (0.2.0)

public final class ApiHubPluginGrpc

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

Inheritance

java.lang.Object > ApiHubPluginGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(ApiHubPluginGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(ApiHubPluginGrpc.AsyncService service)
Parameter
Name Description
service ApiHubPluginGrpc.AsyncService
Returns
Type Description
io.grpc.ServerServiceDefinition

getDisablePluginMethod()

public static MethodDescriptor<DisablePluginRequest,Plugin> getDisablePluginMethod()
Returns
Type Description
io.grpc.MethodDescriptor<DisablePluginRequest,Plugin>

getEnablePluginMethod()

public static MethodDescriptor<EnablePluginRequest,Plugin> getEnablePluginMethod()
Returns
Type Description
io.grpc.MethodDescriptor<EnablePluginRequest,Plugin>

getGetPluginMethod()

public static MethodDescriptor<GetPluginRequest,Plugin> getGetPluginMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GetPluginRequest,Plugin>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
Type Description
io.grpc.ServiceDescriptor

newBlockingStub(Channel channel)

public static ApiHubPluginGrpc.ApiHubPluginBlockingStub newBlockingStub(Channel channel)

Creates a new blocking-style stub that supports unary and streaming output calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
ApiHubPluginGrpc.ApiHubPluginBlockingStub

newFutureStub(Channel channel)

public static ApiHubPluginGrpc.ApiHubPluginFutureStub newFutureStub(Channel channel)

Creates a new ListenableFuture-style stub that supports unary calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
ApiHubPluginGrpc.ApiHubPluginFutureStub

newStub(Channel channel)

public static ApiHubPluginGrpc.ApiHubPluginStub newStub(Channel channel)

Creates a new async stub that supports all call types for the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
ApiHubPluginGrpc.ApiHubPluginStub