Class UserServiceGrpc (0.10.0)

public final class UserServiceGrpc

Service to support user API.

Inheritance

java.lang.Object > UserServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(UserServiceGrpc.AsyncService service)

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

getCreateUserMethod()

public static MethodDescriptor<CreateUserRequest,User> getCreateUserMethod()
Returns
Type Description
io.grpc.MethodDescriptor<CreateUserRequest,User>

getDeleteUserMethod()

public static MethodDescriptor<DeleteUserRequest,Empty> getDeleteUserMethod()
Returns
Type Description
io.grpc.MethodDescriptor<DeleteUserRequest,Empty>

getGetUserMethod()

public static MethodDescriptor<GetUserRequest,User> getGetUserMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GetUserRequest,User>

getListUsersMethod()

public static MethodDescriptor<ListUsersRequest,ListUsersResponse> getListUsersMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListUsersRequest,ListUsersResponse>

getServiceDescriptor()

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

getUpdateUserMethod()

public static MethodDescriptor<UpdateUserRequest,User> getUpdateUserMethod()
Returns
Type Description
io.grpc.MethodDescriptor<UpdateUserRequest,User>

newBlockingStub(Channel channel)

public static UserServiceGrpc.UserServiceBlockingStub 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
UserServiceGrpc.UserServiceBlockingStub

newFutureStub(Channel channel)

public static UserServiceGrpc.UserServiceFutureStub 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
UserServiceGrpc.UserServiceFutureStub

newStub(Channel channel)

public static UserServiceGrpc.UserServiceStub 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
UserServiceGrpc.UserServiceStub