public class GrpcApplicationsStub extends ApplicationsStub
gRPC stub implementation for the Applications service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final GrpcApplicationsStub create(ClientContext clientContext)
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcApplicationsStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
create(ApplicationsStubSettings settings)
public static final GrpcApplicationsStub create(ApplicationsStubSettings settings)
Constructors
GrpcApplicationsStub(ApplicationsStubSettings settings, ClientContext clientContext)
protected GrpcApplicationsStub(ApplicationsStubSettings settings, ClientContext clientContext)
Constructs an instance of GrpcApplicationsStub, 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.
GrpcApplicationsStub(ApplicationsStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcApplicationsStub(ApplicationsStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcApplicationsStub, 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
createApplicationCallable()
public UnaryCallable<CreateApplicationRequest,Operation> createApplicationCallable()
Overrides
createApplicationOperationCallable()
public OperationCallable<CreateApplicationRequest,Application,OperationMetadataV1> createApplicationOperationCallable()
Overrides
getApplicationCallable()
public UnaryCallable<GetApplicationRequest,Application> getApplicationCallable()
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
repairApplicationCallable()
public UnaryCallable<RepairApplicationRequest,Operation> repairApplicationCallable()
Overrides
repairApplicationOperationCallable()
public OperationCallable<RepairApplicationRequest,Application,OperationMetadataV1> repairApplicationOperationCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
updateApplicationCallable()
public UnaryCallable<UpdateApplicationRequest,Operation> updateApplicationCallable()
Overrides
updateApplicationOperationCallable()
public OperationCallable<UpdateApplicationRequest,Application,OperationMetadataV1> updateApplicationOperationCallable()
Overrides