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)
Parameter
Returns
Exceptions
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonApplicationsStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(ApplicationsStubSettings settings)
public static final HttpJsonApplicationsStub create(ApplicationsStubSettings settings)
Parameter
Returns
Exceptions
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
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.
Parameters
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.
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
getHttpJsonOperationsStub()
public HttpJsonOperationsStub getHttpJsonOperationsStub()
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