Package com.google.cloud.talent.v4beta1
Class CompanyServiceGrpc.CompanyServiceStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<CompanyServiceGrpc.CompanyServiceStub>
com.google.cloud.talent.v4beta1.CompanyServiceGrpc.CompanyServiceStub
- Enclosing class:
- CompanyServiceGrpc
public static final class CompanyServiceGrpc.CompanyServiceStub
extends io.grpc.stub.AbstractAsyncStub<CompanyServiceGrpc.CompanyServiceStub>
A stub to allow clients to do asynchronous 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 TypeMethodDescriptionprotected CompanyServiceGrpc.CompanyServiceStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) voidcreateCompany(CreateCompanyRequest request, io.grpc.stub.StreamObserver<Company> responseObserver) Creates a new company entity.voiddeleteCompany(DeleteCompanyRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) Deletes specified company.voidgetCompany(GetCompanyRequest request, io.grpc.stub.StreamObserver<Company> responseObserver) Retrieves specified company.voidlistCompanies(ListCompaniesRequest request, io.grpc.stub.StreamObserver<ListCompaniesResponse> responseObserver) Lists all companies associated with the project.voidupdateCompany(UpdateCompanyRequest request, io.grpc.stub.StreamObserver<Company> responseObserver) Updates specified company.Methods inherited from class io.grpc.stub.AbstractAsyncStub
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.CompanyServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<CompanyServiceGrpc.CompanyServiceStub>
-
createCompany
public void createCompany(CreateCompanyRequest request, io.grpc.stub.StreamObserver<Company> responseObserver) Creates a new company entity.
-
getCompany
public void getCompany(GetCompanyRequest request, io.grpc.stub.StreamObserver<Company> responseObserver) Retrieves specified company.
-
updateCompany
public void updateCompany(UpdateCompanyRequest request, io.grpc.stub.StreamObserver<Company> responseObserver) Updates specified company.
-
deleteCompany
public void deleteCompany(DeleteCompanyRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) Deletes specified company. Prerequisite: The company has no jobs associated with it.
-
listCompanies
public void listCompanies(ListCompaniesRequest request, io.grpc.stub.StreamObserver<ListCompaniesResponse> responseObserver) Lists all companies associated with the project.
-