Package com.google.cloud.talent.v4
Class TenantServiceGrpc.TenantServiceStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractAsyncStub<TenantServiceGrpc.TenantServiceStub>
-
- com.google.cloud.talent.v4.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.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected TenantServiceGrpc.TenantServiceStub
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.
-
-
-
Method Detail
-
build
protected TenantServiceGrpc.TenantServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.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.
-
-