Class AssetServiceGrpc (3.45.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
TypeDescription
String

Static Methods

bindService(AssetServiceGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(AssetServiceGrpc.AsyncService service)
Parameter
NameDescription
serviceAssetServiceGrpc.AsyncService
Returns
TypeDescription
io.grpc.ServerServiceDefinition

getCreateFeedMethod()

public static MethodDescriptor<CreateFeedRequest,Feed> getCreateFeedMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<CreateFeedRequest,Feed>

getDeleteFeedMethod()

public static MethodDescriptor<DeleteFeedRequest,Empty> getDeleteFeedMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<DeleteFeedRequest,Empty>

getGetFeedMethod()

public static MethodDescriptor<GetFeedRequest,Feed> getGetFeedMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GetFeedRequest,Feed>

getListFeedsMethod()

public static MethodDescriptor<ListFeedsRequest,ListFeedsResponse> getListFeedsMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ListFeedsRequest,ListFeedsResponse>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
TypeDescription
io.grpc.ServiceDescriptor

getUpdateFeedMethod()

public static MethodDescriptor<UpdateFeedRequest,Feed> getUpdateFeedMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<UpdateFeedRequest,Feed>

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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
AssetServiceGrpc.AssetServiceStub