Package com.google.cloud.talent.v4
Class TenantServiceGrpc.TenantServiceFutureStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractFutureStub<TenantServiceGrpc.TenantServiceFutureStub>
-
- com.google.cloud.talent.v4.TenantServiceGrpc.TenantServiceFutureStub
-
- Enclosing class:
- TenantServiceGrpc
public static final class TenantServiceGrpc.TenantServiceFutureStub extends io.grpc.stub.AbstractFutureStub<TenantServiceGrpc.TenantServiceFutureStub>
A stub to allow clients to do ListenableFuture-style 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.TenantServiceFutureStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
com.google.common.util.concurrent.ListenableFuture<Tenant>
createTenant(CreateTenantRequest request)
Creates a new tenant entity.com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>
deleteTenant(DeleteTenantRequest request)
Deletes specified tenant.com.google.common.util.concurrent.ListenableFuture<Tenant>
getTenant(GetTenantRequest request)
Retrieves specified tenant.com.google.common.util.concurrent.ListenableFuture<ListTenantsResponse>
listTenants(ListTenantsRequest request)
Lists all tenants associated with the project.com.google.common.util.concurrent.ListenableFuture<Tenant>
updateTenant(UpdateTenantRequest request)
Updates specified tenant.
-
-
-
Method Detail
-
build
protected TenantServiceGrpc.TenantServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<TenantServiceGrpc.TenantServiceFutureStub>
-
createTenant
public com.google.common.util.concurrent.ListenableFuture<Tenant> createTenant(CreateTenantRequest request)
Creates a new tenant entity.
-
getTenant
public com.google.common.util.concurrent.ListenableFuture<Tenant> getTenant(GetTenantRequest request)
Retrieves specified tenant.
-
updateTenant
public com.google.common.util.concurrent.ListenableFuture<Tenant> updateTenant(UpdateTenantRequest request)
Updates specified tenant.
-
deleteTenant
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deleteTenant(DeleteTenantRequest request)
Deletes specified tenant.
-
listTenants
public com.google.common.util.concurrent.ListenableFuture<ListTenantsResponse> listTenants(ListTenantsRequest request)
Lists all tenants associated with the project.
-
-