public static final class CompanyServiceGrpc.CompanyServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub<CompanyServiceGrpc.CompanyServiceBlockingStub>
A service that handles company management, including CRUD and enumeration.
| Modifier and Type | Method and Description |
|---|---|
protected CompanyServiceGrpc.CompanyServiceBlockingStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
Company |
createCompany(CreateCompanyRequest request)
Creates a new company entity.
|
com.google.protobuf.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.
|
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReadyprotected CompanyServiceGrpc.CompanyServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build in class io.grpc.stub.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 com.google.protobuf.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 © 2025 Google LLC. All rights reserved.