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