public class HttpJsonExecutionsStub extends ExecutionsStub
REST stub implementation for the Executions service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonExecutionsStub create(ClientContext clientContext)
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonExecutionsStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
create(ExecutionsStubSettings settings)
public static final HttpJsonExecutionsStub create(ExecutionsStubSettings settings)
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Constructors
HttpJsonExecutionsStub(ExecutionsStubSettings settings, ClientContext clientContext)
protected HttpJsonExecutionsStub(ExecutionsStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonExecutionsStub, 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.
HttpJsonExecutionsStub(ExecutionsStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonExecutionsStub(ExecutionsStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonExecutionsStub, 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
deleteExecutionCallable()
public UnaryCallable<DeleteExecutionRequest,Operation> deleteExecutionCallable()
Overrides
deleteExecutionOperationCallable()
public OperationCallable<DeleteExecutionRequest,Execution,Execution> deleteExecutionOperationCallable()
Overrides
getExecutionCallable()
public UnaryCallable<GetExecutionRequest,Execution> getExecutionCallable()
Overrides
getHttpJsonOperationsStub()
public HttpJsonOperationsStub getHttpJsonOperationsStub()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listExecutionsCallable()
public UnaryCallable<ListExecutionsRequest,ListExecutionsResponse> listExecutionsCallable()
Overrides
listExecutionsPagedCallable()
public UnaryCallable<ListExecutionsRequest,ExecutionsClient.ListExecutionsPagedResponse> listExecutionsPagedCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()