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 Type
    Method
    Description
    build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
     
    void
    createCompany(CreateCompanyRequest request, io.grpc.stub.StreamObserver<Company> responseObserver)
    Creates a new company entity.
    void
    deleteCompany(DeleteCompanyRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
    Deletes specified company.
    void
    getCompany(GetCompanyRequest request, io.grpc.stub.StreamObserver<Company> responseObserver)
    Retrieves specified company.
    void
    listCompanies(ListCompaniesRequest request, io.grpc.stub.StreamObserver<ListCompaniesResponse> responseObserver)
    Lists all companies associated with the project.
    void
    updateCompany(UpdateCompanyRequest request, io.grpc.stub.StreamObserver<Company> responseObserver)
    Updates specified company.

    Methods inherited from class io.grpc.stub.AbstractAsyncStub

    newStub, newStub

    Methods inherited from class io.grpc.stub.AbstractStub

    getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • build

      protected CompanyServiceGrpc.CompanyServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.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.