@BetaApi @Generated(value="by gapic-generator-java") public class HttpJsonTenantServiceStub extends TenantServiceStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
HttpJsonTenantServiceStub(TenantServiceStubSettings settings,
ClientContext clientContext)
Constructs an instance of HttpJsonTenantServiceStub, using the given settings.
|
protected |
HttpJsonTenantServiceStub(TenantServiceStubSettings settings,
ClientContext clientContext,
HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonTenantServiceStub, using the given settings.
|
Modifier and Type | Method and Description |
---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static HttpJsonTenantServiceStub |
create(ClientContext clientContext) |
static HttpJsonTenantServiceStub |
create(ClientContext clientContext,
HttpJsonStubCallableFactory callableFactory) |
static HttpJsonTenantServiceStub |
create(TenantServiceStubSettings settings) |
UnaryCallable<CreateTenantRequest,Tenant> |
createTenantCallable() |
UnaryCallable<DeleteTenantRequest,Empty> |
deleteTenantCallable() |
static List<ApiMethodDescriptor> |
getMethodDescriptors() |
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 HttpJsonTenantServiceStub(TenantServiceStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected HttpJsonTenantServiceStub(TenantServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
public static final HttpJsonTenantServiceStub create(TenantServiceStubSettings settings) throws IOException
IOException
public static final HttpJsonTenantServiceStub create(ClientContext clientContext) throws IOException
IOException
public static final HttpJsonTenantServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
@InternalApi public static List<ApiMethodDescriptor> getMethodDescriptors()
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.