Class HomepageServiceGrpc (0.2.0)

public final class HomepageServiceGrpc

Service to support an API for a store's homepage.

Inheritance

java.lang.Object > HomepageServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(HomepageServiceGrpc.AsyncService service)

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

getClaimHomepageMethod()

public static MethodDescriptor<ClaimHomepageRequest,Homepage> getClaimHomepageMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ClaimHomepageRequest,Homepage>

getGetHomepageMethod()

public static MethodDescriptor<GetHomepageRequest,Homepage> getGetHomepageMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GetHomepageRequest,Homepage>

getServiceDescriptor()

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

getUnclaimHomepageMethod()

public static MethodDescriptor<UnclaimHomepageRequest,Homepage> getUnclaimHomepageMethod()
Returns
Type Description
io.grpc.MethodDescriptor<UnclaimHomepageRequest,Homepage>

getUpdateHomepageMethod()

public static MethodDescriptor<UpdateHomepageRequest,Homepage> getUpdateHomepageMethod()
Returns
Type Description
io.grpc.MethodDescriptor<UpdateHomepageRequest,Homepage>

newBlockingStub(Channel channel)

public static HomepageServiceGrpc.HomepageServiceBlockingStub 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
HomepageServiceGrpc.HomepageServiceBlockingStub

newFutureStub(Channel channel)

public static HomepageServiceGrpc.HomepageServiceFutureStub 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
HomepageServiceGrpc.HomepageServiceFutureStub

newStub(Channel channel)

public static HomepageServiceGrpc.HomepageServiceStub 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
HomepageServiceGrpc.HomepageServiceStub