public static final class CompanyServiceGrpc.CompanyServiceFutureStub extends AbstractFutureStub<CompanyServiceGrpc.CompanyServiceFutureStub>
A service that handles company management, including CRUD and enumeration.
AbstractStub.StubFactory<T extends AbstractStub<T>>
Modifier and Type | Method and Description |
---|---|
protected CompanyServiceGrpc.CompanyServiceFutureStub |
build(Channel channel,
CallOptions callOptions) |
com.google.common.util.concurrent.ListenableFuture<Company> |
createCompany(CreateCompanyRequest request)
Creates a new company entity.
|
com.google.common.util.concurrent.ListenableFuture<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.
|
newStub, newStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
protected CompanyServiceGrpc.CompanyServiceFutureStub build(Channel channel, CallOptions callOptions)
build
in class 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<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 © 2022 Google LLC. All rights reserved.