Class PagesGrpc (0.52.0)

public final class PagesGrpc

Service for managing Pages.

Inheritance

java.lang.Object > PagesGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
TypeDescription
String

Static Methods

bindService(PagesGrpc.AsyncService service)

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

getCreatePageMethod()

public static MethodDescriptor<CreatePageRequest,Page> getCreatePageMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<CreatePageRequest,Page>

getDeletePageMethod()

public static MethodDescriptor<DeletePageRequest,Empty> getDeletePageMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<DeletePageRequest,Empty>

getGetPageMethod()

public static MethodDescriptor<GetPageRequest,Page> getGetPageMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GetPageRequest,Page>

getListPagesMethod()

public static MethodDescriptor<ListPagesRequest,ListPagesResponse> getListPagesMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ListPagesRequest,ListPagesResponse>

getServiceDescriptor()

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

getUpdatePageMethod()

public static MethodDescriptor<UpdatePageRequest,Page> getUpdatePageMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<UpdatePageRequest,Page>

newBlockingStub(Channel channel)

public static PagesGrpc.PagesBlockingStub 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
PagesGrpc.PagesBlockingStub

newFutureStub(Channel channel)

public static PagesGrpc.PagesFutureStub newFutureStub(Channel channel)

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

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
PagesGrpc.PagesFutureStub

newStub(Channel channel)

public static PagesGrpc.PagesStub newStub(Channel channel)

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

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
PagesGrpc.PagesStub