Package com.google.cloud.talent.v4beta1
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 TypeMethodDescriptionprotected TenantServiceGrpc.TenantServiceStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) voidcreateTenant(CreateTenantRequest request, io.grpc.stub.StreamObserver<Tenant> responseObserver) Creates a new tenant entity.voiddeleteTenant(DeleteTenantRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) Deletes specified tenant.voidgetTenant(GetTenantRequest request, io.grpc.stub.StreamObserver<Tenant> responseObserver) Retrieves specified tenant.voidlistTenants(ListTenantsRequest request, io.grpc.stub.StreamObserver<ListTenantsResponse> responseObserver) Lists all tenants associated with the project.voidupdateTenant(UpdateTenantRequest request, io.grpc.stub.StreamObserver<Tenant> responseObserver) Updates specified tenant.Methods inherited from class io.grpc.stub.AbstractAsyncStub
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 TenantServiceGrpc.TenantServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin 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.
-