Package com.google.cloud.talent.v4beta1
Class TenantServiceGrpc.TenantServiceFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<TenantServiceGrpc.TenantServiceFutureStub>
com.google.cloud.talent.v4beta1.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.
-
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 TypeMethodDescriptionbuild(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.Methods inherited from class io.grpc.stub.AbstractFutureStub
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.TenantServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin 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.
-