Class CompanyServiceGrpc (2.29.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
TypeDescription
String

Static Methods

bindService(CompanyServiceGrpc.AsyncService service)

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

getCreateCompanyMethod()

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

getDeleteCompanyMethod()

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

getGetCompanyMethod()

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

getListCompaniesMethod()

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

getServiceDescriptor()

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

getUpdateCompanyMethod()

public static MethodDescriptor<UpdateCompanyRequest,Company> getUpdateCompanyMethod()
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
CompanyServiceGrpc.CompanyServiceStub