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.
 
  • Method Details

    • build

      protected CompanyServiceGrpc.CompanyServiceBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<CompanyServiceGrpc.CompanyServiceBlockingV2Stub>
    • createCompany

      public Company createCompany(CreateCompanyRequest request) throws io.grpc.StatusException
       Creates a new company entity.
       
      Throws:
      io.grpc.StatusException
    • getCompany

      public Company getCompany(GetCompanyRequest request) throws io.grpc.StatusException
       Retrieves specified company.
       
      Throws:
      io.grpc.StatusException
    • updateCompany

      public Company updateCompany(UpdateCompanyRequest request) throws io.grpc.StatusException
       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