Class AssetServiceGrpc (3.36.0)

public final class AssetServiceGrpc

Asset service definition.

Inheritance

java.lang.Object > AssetServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(AssetServiceGrpc.AsyncService service)

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

getListAssetsMethod()

public static MethodDescriptor<ListAssetsRequest,ListAssetsResponse> getListAssetsMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListAssetsRequest,ListAssetsResponse>

getServiceDescriptor()

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

newBlockingStub(Channel channel)

public static AssetServiceGrpc.AssetServiceBlockingStub 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
AssetServiceGrpc.AssetServiceBlockingStub

newFutureStub(Channel channel)

public static AssetServiceGrpc.AssetServiceFutureStub 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
AssetServiceGrpc.AssetServiceFutureStub

newStub(Channel channel)

public static AssetServiceGrpc.AssetServiceStub 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
AssetServiceGrpc.AssetServiceStub