public class HttpJsonApplicationsStub extends ApplicationsStub
REST 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 HttpJsonApplicationsStub create(ClientContext clientContext)
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonApplicationsStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
create(ApplicationsStubSettings settings)
public static final HttpJsonApplicationsStub create(ApplicationsStubSettings settings)
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Constructors
HttpJsonApplicationsStub(ApplicationsStubSettings settings, ClientContext clientContext)
protected HttpJsonApplicationsStub(ApplicationsStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonApplicationsStub, 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.
HttpJsonApplicationsStub(ApplicationsStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonApplicationsStub(ApplicationsStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonApplicationsStub, 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
getHttpJsonOperationsStub()
public HttpJsonOperationsStub getHttpJsonOperationsStub()
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