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