@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,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonTenantServiceStub, using the given settings.
|
protected |
HttpJsonTenantServiceStub(TenantServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.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(com.google.api.gax.rpc.ClientContext clientContext) |
static HttpJsonTenantServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) |
static HttpJsonTenantServiceStub |
create(TenantServiceStubSettings settings) |
com.google.api.gax.rpc.UnaryCallable<CreateTenantRequest,Tenant> |
createTenantCallable() |
com.google.api.gax.rpc.UnaryCallable<DeleteTenantRequest,com.google.protobuf.Empty> |
deleteTenantCallable() |
static List<com.google.api.gax.httpjson.ApiMethodDescriptor> |
getMethodDescriptors() |
com.google.api.gax.rpc.UnaryCallable<GetTenantRequest,Tenant> |
getTenantCallable() |
boolean |
isShutdown() |
boolean |
isTerminated() |
com.google.api.gax.rpc.UnaryCallable<ListTenantsRequest,ListTenantsResponse> |
listTenantsCallable() |
com.google.api.gax.rpc.UnaryCallable<ListTenantsRequest,TenantServiceClient.ListTenantsPagedResponse> |
listTenantsPagedCallable() |
void |
shutdown() |
void |
shutdownNow() |
com.google.api.gax.rpc.UnaryCallable<UpdateTenantRequest,Tenant> |
updateTenantCallable() |
protected HttpJsonTenantServiceStub(TenantServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected HttpJsonTenantServiceStub(TenantServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final HttpJsonTenantServiceStub create(TenantServiceStubSettings settings) throws IOException
IOExceptionpublic static final HttpJsonTenantServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final HttpJsonTenantServiceStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOException@InternalApi public static List<com.google.api.gax.httpjson.ApiMethodDescriptor> getMethodDescriptors()
public com.google.api.gax.rpc.UnaryCallable<CreateTenantRequest,Tenant> createTenantCallable()
createTenantCallable in class TenantServiceStubpublic com.google.api.gax.rpc.UnaryCallable<GetTenantRequest,Tenant> getTenantCallable()
getTenantCallable in class TenantServiceStubpublic com.google.api.gax.rpc.UnaryCallable<UpdateTenantRequest,Tenant> updateTenantCallable()
updateTenantCallable in class TenantServiceStubpublic com.google.api.gax.rpc.UnaryCallable<DeleteTenantRequest,com.google.protobuf.Empty> deleteTenantCallable()
deleteTenantCallable in class TenantServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ListTenantsRequest,ListTenantsResponse> listTenantsCallable()
listTenantsCallable in class TenantServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ListTenantsRequest,TenantServiceClient.ListTenantsPagedResponse> listTenantsPagedCallable()
listTenantsPagedCallable in class TenantServiceStubpublic final void close()
close in interface AutoCloseableclose in class TenantServiceStubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2023 Google LLC. All rights reserved.