Class TenantServiceGrpc.TenantServiceStub

java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<TenantServiceGrpc.TenantServiceStub>
com.google.cloud.talent.v4beta1.TenantServiceGrpc.TenantServiceStub
Enclosing class:
TenantServiceGrpc

public static final class TenantServiceGrpc.TenantServiceStub extends io.grpc.stub.AbstractAsyncStub<TenantServiceGrpc.TenantServiceStub>
A stub to allow clients to do asynchronous rpc calls to service TenantService.
 A service that handles tenant 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
    createTenant(CreateTenantRequest request, io.grpc.stub.StreamObserver<Tenant> responseObserver)
    Creates a new tenant entity.
    void
    deleteTenant(DeleteTenantRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
    Deletes specified tenant.
    void
    getTenant(GetTenantRequest request, io.grpc.stub.StreamObserver<Tenant> responseObserver)
    Retrieves specified tenant.
    void
    listTenants(ListTenantsRequest request, io.grpc.stub.StreamObserver<ListTenantsResponse> responseObserver)
    Lists all tenants associated with the project.
    void
    updateTenant(UpdateTenantRequest request, io.grpc.stub.StreamObserver<Tenant> responseObserver)
    Updates specified tenant.

    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 TenantServiceGrpc.TenantServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<TenantServiceGrpc.TenantServiceStub>
    • createTenant

      public void createTenant(CreateTenantRequest request, io.grpc.stub.StreamObserver<Tenant> responseObserver)
       Creates a new tenant entity.
       
    • getTenant

      public void getTenant(GetTenantRequest request, io.grpc.stub.StreamObserver<Tenant> responseObserver)
       Retrieves specified tenant.
       
    • updateTenant

      public void updateTenant(UpdateTenantRequest request, io.grpc.stub.StreamObserver<Tenant> responseObserver)
       Updates specified tenant.
       
    • deleteTenant

      public void deleteTenant(DeleteTenantRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
       Deletes specified tenant.
       
    • listTenants

      public void listTenants(ListTenantsRequest request, io.grpc.stub.StreamObserver<ListTenantsResponse> responseObserver)
       Lists all tenants associated with the project.