Package com.google.cloud.talent.v4beta1
Class CompanyServiceGrpc.CompanyServiceFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<CompanyServiceGrpc.CompanyServiceFutureStub>
com.google.cloud.talent.v4beta1.CompanyServiceGrpc.CompanyServiceFutureStub
- Enclosing class:
- CompanyServiceGrpc
public static final class CompanyServiceGrpc.CompanyServiceFutureStub
extends io.grpc.stub.AbstractFutureStub<CompanyServiceGrpc.CompanyServiceFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service CompanyService.
A service that handles company management, including CRUD and enumeration.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionbuild(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.Methods inherited from class io.grpc.stub.AbstractFutureStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected CompanyServiceGrpc.CompanyServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<CompanyServiceGrpc.CompanyServiceFutureStub>
-
createCompany
public com.google.common.util.concurrent.ListenableFuture<Company> createCompany(CreateCompanyRequest request) Creates a new company entity.
-
getCompany
public com.google.common.util.concurrent.ListenableFuture<Company> getCompany(GetCompanyRequest request) Retrieves specified company.
-
updateCompany
public com.google.common.util.concurrent.ListenableFuture<Company> updateCompany(UpdateCompanyRequest request) Updates specified company.
-
deleteCompany
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.
-
listCompanies
public com.google.common.util.concurrent.ListenableFuture<ListCompaniesResponse> listCompanies(ListCompaniesRequest request) Lists all companies associated with the project.
-