public class GrpcTenantServiceStub extends TenantServiceStub
gRPC stub implementation for the TenantService service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final GrpcTenantServiceStub create(ClientContext clientContext)
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcTenantServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
create(TenantServiceStubSettings settings)
public static final GrpcTenantServiceStub create(TenantServiceStubSettings settings)
Constructors
GrpcTenantServiceStub(TenantServiceStubSettings settings, ClientContext clientContext)
protected GrpcTenantServiceStub(TenantServiceStubSettings settings, ClientContext clientContext)
Constructs an instance of GrpcTenantServiceStub, using the given settings. This is protected so
that it is easy to make a subclass, but otherwise, the static factory methods should be
preferred.
GrpcTenantServiceStub(TenantServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcTenantServiceStub(TenantServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcTenantServiceStub, using the given settings. This is protected so
that it is easy to make a subclass, but otherwise, the static factory methods should be
preferred.
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
close()
public final void close()
Overrides
createTenantCallable()
public UnaryCallable<CreateTenantRequest,Tenant> createTenantCallable()
Overrides
deleteTenantCallable()
public UnaryCallable<DeleteTenantRequest,Empty> deleteTenantCallable()
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
getTenantCallable()
public UnaryCallable<GetTenantRequest,Tenant> getTenantCallable()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listTenantsCallable()
public UnaryCallable<ListTenantsRequest,ListTenantsResponse> listTenantsCallable()
Overrides
listTenantsPagedCallable()
public UnaryCallable<ListTenantsRequest,TenantServiceClient.ListTenantsPagedResponse> listTenantsPagedCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
updateTenantCallable()
public UnaryCallable<UpdateTenantRequest,Tenant> updateTenantCallable()
Overrides