public class HttpJsonWorkflowTemplateServiceStub extends WorkflowTemplateServiceStub
REST stub implementation for the WorkflowTemplateService service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonWorkflowTemplateServiceStub create(ClientContext clientContext)
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonWorkflowTemplateServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
create(WorkflowTemplateServiceStubSettings settings)
public static final HttpJsonWorkflowTemplateServiceStub create(WorkflowTemplateServiceStubSettings settings)
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Constructors
HttpJsonWorkflowTemplateServiceStub(WorkflowTemplateServiceStubSettings settings, ClientContext clientContext)
protected HttpJsonWorkflowTemplateServiceStub(WorkflowTemplateServiceStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonWorkflowTemplateServiceStub, 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.
HttpJsonWorkflowTemplateServiceStub(WorkflowTemplateServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonWorkflowTemplateServiceStub(WorkflowTemplateServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonWorkflowTemplateServiceStub, 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
createWorkflowTemplateCallable()
public UnaryCallable<CreateWorkflowTemplateRequest,WorkflowTemplate> createWorkflowTemplateCallable()
Overrides
deleteWorkflowTemplateCallable()
public UnaryCallable<DeleteWorkflowTemplateRequest,Empty> deleteWorkflowTemplateCallable()
Overrides
getHttpJsonOperationsStub()
public HttpJsonOperationsStub getHttpJsonOperationsStub()
Overrides
getWorkflowTemplateCallable()
public UnaryCallable<GetWorkflowTemplateRequest,WorkflowTemplate> getWorkflowTemplateCallable()
Overrides
instantiateInlineWorkflowTemplateCallable()
public UnaryCallable<InstantiateInlineWorkflowTemplateRequest,Operation> instantiateInlineWorkflowTemplateCallable()
Overrides
instantiateInlineWorkflowTemplateOperationCallable()
public OperationCallable<InstantiateInlineWorkflowTemplateRequest,Empty,WorkflowMetadata> instantiateInlineWorkflowTemplateOperationCallable()
Overrides
instantiateWorkflowTemplateCallable()
public UnaryCallable<InstantiateWorkflowTemplateRequest,Operation> instantiateWorkflowTemplateCallable()
Overrides
instantiateWorkflowTemplateOperationCallable()
public OperationCallable<InstantiateWorkflowTemplateRequest,Empty,WorkflowMetadata> instantiateWorkflowTemplateOperationCallable()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listWorkflowTemplatesCallable()
public UnaryCallable<ListWorkflowTemplatesRequest,ListWorkflowTemplatesResponse> listWorkflowTemplatesCallable()
Overrides
listWorkflowTemplatesPagedCallable()
public UnaryCallable<ListWorkflowTemplatesRequest,WorkflowTemplateServiceClient.ListWorkflowTemplatesPagedResponse> listWorkflowTemplatesPagedCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
updateWorkflowTemplateCallable()
public UnaryCallable<UpdateWorkflowTemplateRequest,WorkflowTemplate> updateWorkflowTemplateCallable()
Overrides