public abstract static class CompanyServiceGrpc.CompanyServiceImplBase extends Object implements BindableService
A service that handles company management, including CRUD and enumeration.
Constructor and Description |
---|
CompanyServiceImplBase() |
Modifier and Type | Method and Description |
---|---|
ServerServiceDefinition |
bindService() |
void |
createCompany(CreateCompanyRequest request,
StreamObserver<Company> responseObserver)
Creates a new company entity.
|
void |
deleteCompany(DeleteCompanyRequest request,
StreamObserver<Empty> responseObserver)
Deletes specified company.
|
void |
getCompany(GetCompanyRequest request,
StreamObserver<Company> responseObserver)
Retrieves specified company.
|
void |
listCompanies(ListCompaniesRequest request,
StreamObserver<ListCompaniesResponse> responseObserver)
Lists all companies associated with the project.
|
void |
updateCompany(UpdateCompanyRequest request,
StreamObserver<Company> responseObserver)
Updates specified company.
|
public void createCompany(CreateCompanyRequest request, StreamObserver<Company> responseObserver)
Creates a new company entity.
public void getCompany(GetCompanyRequest request, StreamObserver<Company> responseObserver)
Retrieves specified company.
public void updateCompany(UpdateCompanyRequest request, StreamObserver<Company> responseObserver)
Updates specified company.
public void deleteCompany(DeleteCompanyRequest request, StreamObserver<Empty> responseObserver)
Deletes specified company. Prerequisite: The company has no jobs associated with it.
public void listCompanies(ListCompaniesRequest request, StreamObserver<ListCompaniesResponse> responseObserver)
Lists all companies associated with the project.
public final ServerServiceDefinition bindService()
bindService
in interface BindableService
Copyright © 2022 Google LLC. All rights reserved.