Class CompanyServiceGrpc (2.52.0)

public final class CompanyServiceGrpc

A service that handles company management, including CRUD and enumeration.

Inheritance

java.lang.Object > CompanyServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(CompanyServiceGrpc.AsyncService service)

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

getCreateCompanyMethod()

public static MethodDescriptor<CreateCompanyRequest,Company> getCreateCompanyMethod()
Returns
Type Description
io.grpc.MethodDescriptor<CreateCompanyRequest,Company>

getDeleteCompanyMethod()

public static MethodDescriptor<DeleteCompanyRequest,Empty> getDeleteCompanyMethod()
Returns
Type Description
io.grpc.MethodDescriptor<DeleteCompanyRequest,Empty>

getGetCompanyMethod()

public static MethodDescriptor<GetCompanyRequest,Company> getGetCompanyMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GetCompanyRequest,Company>

getListCompaniesMethod()

public static MethodDescriptor<ListCompaniesRequest,ListCompaniesResponse> getListCompaniesMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListCompaniesRequest,ListCompaniesResponse>

getServiceDescriptor()

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

getUpdateCompanyMethod()

public static MethodDescriptor<UpdateCompanyRequest,Company> getUpdateCompanyMethod()
Returns
Type Description
io.grpc.MethodDescriptor<UpdateCompanyRequest,Company>

newBlockingStub(Channel channel)

public static CompanyServiceGrpc.CompanyServiceBlockingStub 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
CompanyServiceGrpc.CompanyServiceBlockingStub

newFutureStub(Channel channel)

public static CompanyServiceGrpc.CompanyServiceFutureStub 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
CompanyServiceGrpc.CompanyServiceFutureStub

newStub(Channel channel)

public static CompanyServiceGrpc.CompanyServiceStub 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
CompanyServiceGrpc.CompanyServiceStub