public static final class CompanyServiceGrpc.CompanyServiceBlockingStub extends AbstractBlockingStub<CompanyServiceGrpc.CompanyServiceBlockingStub>
A service that handles company management, including CRUD and enumeration.
AbstractStub.StubFactory<T extends AbstractStub<T>>
Modifier and Type | Method and Description |
---|---|
protected CompanyServiceGrpc.CompanyServiceBlockingStub |
build(Channel channel,
CallOptions callOptions) |
Company |
createCompany(CreateCompanyRequest request)
Creates a new company entity.
|
Empty |
deleteCompany(DeleteCompanyRequest request)
Deletes specified company.
|
Company |
getCompany(GetCompanyRequest request)
Retrieves specified company.
|
ListCompaniesResponse |
listCompanies(ListCompaniesRequest request)
Lists all companies associated with the project.
|
Company |
updateCompany(UpdateCompanyRequest request)
Updates specified company.
|
newStub, newStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
protected CompanyServiceGrpc.CompanyServiceBlockingStub build(Channel channel, CallOptions callOptions)
build
in class AbstractStub<CompanyServiceGrpc.CompanyServiceBlockingStub>
public Company createCompany(CreateCompanyRequest request)
Creates a new company entity.
public Company getCompany(GetCompanyRequest request)
Retrieves specified company.
public Company updateCompany(UpdateCompanyRequest request)
Updates specified company.
public Empty deleteCompany(DeleteCompanyRequest request)
Deletes specified company. Prerequisite: The company has no jobs associated with it.
public ListCompaniesResponse listCompanies(ListCompaniesRequest request)
Lists all companies associated with the project.
Copyright © 2022 Google LLC. All rights reserved.