@BetaApi @Generated(value="by gapic-generator-java") public class GrpcTenantServiceStub extends TenantServiceStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
GrpcTenantServiceStub(TenantServiceStubSettings settings,
ClientContext clientContext)
Constructs an instance of GrpcTenantServiceStub, using the given settings.
|
protected |
GrpcTenantServiceStub(TenantServiceStubSettings settings,
ClientContext clientContext,
GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcTenantServiceStub, using the given settings.
|
Modifier and Type | Method and Description |
---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static GrpcTenantServiceStub |
create(ClientContext clientContext) |
static GrpcTenantServiceStub |
create(ClientContext clientContext,
GrpcStubCallableFactory callableFactory) |
static GrpcTenantServiceStub |
create(TenantServiceStubSettings settings) |
UnaryCallable<CreateTenantRequest,Tenant> |
createTenantCallable() |
UnaryCallable<DeleteTenantRequest,Empty> |
deleteTenantCallable() |
GrpcOperationsStub |
getOperationsStub() |
UnaryCallable<GetTenantRequest,Tenant> |
getTenantCallable() |
boolean |
isShutdown() |
boolean |
isTerminated() |
UnaryCallable<ListTenantsRequest,ListTenantsResponse> |
listTenantsCallable() |
UnaryCallable<ListTenantsRequest,TenantServiceClient.ListTenantsPagedResponse> |
listTenantsPagedCallable() |
void |
shutdown() |
void |
shutdownNow() |
UnaryCallable<UpdateTenantRequest,Tenant> |
updateTenantCallable() |
protected GrpcTenantServiceStub(TenantServiceStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected GrpcTenantServiceStub(TenantServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public static final GrpcTenantServiceStub create(TenantServiceStubSettings settings) throws IOException
IOException
public static final GrpcTenantServiceStub create(ClientContext clientContext) throws IOException
IOException
public static final GrpcTenantServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public GrpcOperationsStub getOperationsStub()
public UnaryCallable<CreateTenantRequest,Tenant> createTenantCallable()
createTenantCallable
in class TenantServiceStub
public UnaryCallable<GetTenantRequest,Tenant> getTenantCallable()
getTenantCallable
in class TenantServiceStub
public UnaryCallable<UpdateTenantRequest,Tenant> updateTenantCallable()
updateTenantCallable
in class TenantServiceStub
public UnaryCallable<DeleteTenantRequest,Empty> deleteTenantCallable()
deleteTenantCallable
in class TenantServiceStub
public UnaryCallable<ListTenantsRequest,ListTenantsResponse> listTenantsCallable()
listTenantsCallable
in class TenantServiceStub
public UnaryCallable<ListTenantsRequest,TenantServiceClient.ListTenantsPagedResponse> listTenantsPagedCallable()
listTenantsPagedCallable
in class TenantServiceStub
public final void close()
close
in interface AutoCloseable
close
in class TenantServiceStub
public void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
InterruptedException
Copyright © 2022 Google LLC. All rights reserved.