@Generated(value="by gapic-generator") @BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") 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,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcTenantServiceStub, using the given settings.
|
protected |
GrpcTenantServiceStub(TenantServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.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(com.google.api.gax.rpc.ClientContext clientContext) |
static GrpcTenantServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) |
static GrpcTenantServiceStub |
create(TenantServiceStubSettings settings) |
com.google.api.gax.rpc.UnaryCallable<CreateTenantRequest,Tenant> |
createTenantCallable() |
com.google.api.gax.rpc.UnaryCallable<DeleteTenantRequest,Empty> |
deleteTenantCallable() |
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 GrpcTenantServiceStub(TenantServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
protected GrpcTenantServiceStub(TenantServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOException
public static final GrpcTenantServiceStub create(TenantServiceStubSettings settings) throws IOException
IOException
public static final GrpcTenantServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
public static final GrpcTenantServiceStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOException
public com.google.api.gax.rpc.UnaryCallable<CreateTenantRequest,Tenant> createTenantCallable()
createTenantCallable
in class TenantServiceStub
public com.google.api.gax.rpc.UnaryCallable<GetTenantRequest,Tenant> getTenantCallable()
getTenantCallable
in class TenantServiceStub
public com.google.api.gax.rpc.UnaryCallable<UpdateTenantRequest,Tenant> updateTenantCallable()
updateTenantCallable
in class TenantServiceStub
public com.google.api.gax.rpc.UnaryCallable<DeleteTenantRequest,Empty> deleteTenantCallable()
deleteTenantCallable
in class TenantServiceStub
public com.google.api.gax.rpc.UnaryCallable<ListTenantsRequest,TenantServiceClient.ListTenantsPagedResponse> listTenantsPagedCallable()
listTenantsPagedCallable
in class TenantServiceStub
public com.google.api.gax.rpc.UnaryCallable<ListTenantsRequest,ListTenantsResponse> listTenantsCallable()
listTenantsCallable
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 © 2019 Google LLC. All rights reserved.