public static final class TenantServiceGrpc.TenantServiceStub extends io.grpc.stub.AbstractAsyncStub<TenantServiceGrpc.TenantServiceStub>
A service that handles tenant management, including CRUD and enumeration.
| Modifier and Type | Method and 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.
|
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReadyprotected TenantServiceGrpc.TenantServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build in class io.grpc.stub.AbstractStub<TenantServiceGrpc.TenantServiceStub>public void createTenant(CreateTenantRequest request, io.grpc.stub.StreamObserver<Tenant> responseObserver)
Creates a new tenant entity.
public void getTenant(GetTenantRequest request, io.grpc.stub.StreamObserver<Tenant> responseObserver)
Retrieves specified tenant.
public void updateTenant(UpdateTenantRequest request, io.grpc.stub.StreamObserver<Tenant> responseObserver)
Updates specified tenant.
public void deleteTenant(DeleteTenantRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Deletes specified tenant.
public void listTenants(ListTenantsRequest request, io.grpc.stub.StreamObserver<ListTenantsResponse> responseObserver)
Lists all tenants associated with the project.
Copyright © 2025 Google LLC. All rights reserved.