Class PagesGrpc (0.38.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
Type Description
String

Static Methods

bindService(PagesGrpc.AsyncService service)

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

getCreatePageMethod()

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

getDeletePageMethod()

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

getGetPageMethod()

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

getListPagesMethod()

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

getServiceDescriptor()

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

getUpdatePageMethod()

public static MethodDescriptor<UpdatePageRequest,Page> getUpdatePageMethod()
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
PagesGrpc.PagesStub