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)
Parameter
Returns
Exceptions
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcApplicationsStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(ApplicationsStubSettings settings)
public static final GrpcApplicationsStub create(ApplicationsStubSettings settings)
Parameter
Returns
Exceptions
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.
Parameters
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.
Parameters
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Returns
Exceptions
close()
public final void close()
Overrides
createApplicationCallable()
public UnaryCallable<CreateApplicationRequest,Operation> createApplicationCallable()
Returns
Overrides
createApplicationOperationCallable()
public OperationCallable<CreateApplicationRequest,Application,OperationMetadataV1> createApplicationOperationCallable()
Returns
Overrides
getApplicationCallable()
public UnaryCallable<GetApplicationRequest,Application> getApplicationCallable()
Returns
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Returns
Overrides
isShutdown()
public boolean isShutdown()
Returns
isTerminated()
public boolean isTerminated()
Returns
repairApplicationCallable()
public UnaryCallable<RepairApplicationRequest,Operation> repairApplicationCallable()
Returns
Overrides
repairApplicationOperationCallable()
public OperationCallable<RepairApplicationRequest,Application,OperationMetadataV1> repairApplicationOperationCallable()
Returns
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
updateApplicationCallable()
public UnaryCallable<UpdateApplicationRequest,Operation> updateApplicationCallable()
Returns
Overrides
updateApplicationOperationCallable()
public OperationCallable<UpdateApplicationRequest,Application,OperationMetadataV1> updateApplicationOperationCallable()
Returns
Overrides