Class HttpJsonWorkflowTemplateServiceStub (4.50.0)

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.

Inheritance

java.lang.Object > WorkflowTemplateServiceStub > HttpJsonWorkflowTemplateServiceStub

Static Methods

create(ClientContext clientContext)

public static final HttpJsonWorkflowTemplateServiceStub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
HttpJsonWorkflowTemplateServiceStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonWorkflowTemplateServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory
Returns
Type Description
HttpJsonWorkflowTemplateServiceStub
Exceptions
Type Description
IOException

create(WorkflowTemplateServiceStubSettings settings)

public static final HttpJsonWorkflowTemplateServiceStub create(WorkflowTemplateServiceStubSettings settings)
Parameter
Name Description
settings WorkflowTemplateServiceStubSettings
Returns
Type Description
HttpJsonWorkflowTemplateServiceStub
Exceptions
Type Description
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Type Description
List<ApiMethodDescriptor>

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.

Parameters
Name Description
settings WorkflowTemplateServiceStubSettings
clientContext ClientContext

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.

Parameters
Name Description
settings WorkflowTemplateServiceStubSettings
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

close()

public final void close()
Overrides

createWorkflowTemplateCallable()

public UnaryCallable<CreateWorkflowTemplateRequest,WorkflowTemplate> createWorkflowTemplateCallable()
Returns
Type Description
UnaryCallable<CreateWorkflowTemplateRequest,WorkflowTemplate>
Overrides

deleteWorkflowTemplateCallable()

public UnaryCallable<DeleteWorkflowTemplateRequest,Empty> deleteWorkflowTemplateCallable()
Returns
Type Description
UnaryCallable<DeleteWorkflowTemplateRequest,Empty>
Overrides

getHttpJsonOperationsStub()

public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns
Type Description
HttpJsonOperationsStub
Overrides

getIamPolicyCallable()

public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Returns
Type Description
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>
Overrides

getWorkflowTemplateCallable()

public UnaryCallable<GetWorkflowTemplateRequest,WorkflowTemplate> getWorkflowTemplateCallable()
Returns
Type Description
UnaryCallable<GetWorkflowTemplateRequest,WorkflowTemplate>
Overrides

instantiateInlineWorkflowTemplateCallable()

public UnaryCallable<InstantiateInlineWorkflowTemplateRequest,Operation> instantiateInlineWorkflowTemplateCallable()
Returns
Type Description
UnaryCallable<InstantiateInlineWorkflowTemplateRequest,Operation>
Overrides

instantiateInlineWorkflowTemplateOperationCallable()

public OperationCallable<InstantiateInlineWorkflowTemplateRequest,Empty,WorkflowMetadata> instantiateInlineWorkflowTemplateOperationCallable()
Returns
Type Description
OperationCallable<InstantiateInlineWorkflowTemplateRequest,Empty,WorkflowMetadata>
Overrides

instantiateWorkflowTemplateCallable()

public UnaryCallable<InstantiateWorkflowTemplateRequest,Operation> instantiateWorkflowTemplateCallable()
Returns
Type Description
UnaryCallable<InstantiateWorkflowTemplateRequest,Operation>
Overrides

instantiateWorkflowTemplateOperationCallable()

public OperationCallable<InstantiateWorkflowTemplateRequest,Empty,WorkflowMetadata> instantiateWorkflowTemplateOperationCallable()
Returns
Type Description
OperationCallable<InstantiateWorkflowTemplateRequest,Empty,WorkflowMetadata>
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listWorkflowTemplatesCallable()

public UnaryCallable<ListWorkflowTemplatesRequest,ListWorkflowTemplatesResponse> listWorkflowTemplatesCallable()
Returns
Type Description
UnaryCallable<ListWorkflowTemplatesRequest,ListWorkflowTemplatesResponse>
Overrides

listWorkflowTemplatesPagedCallable()

public UnaryCallable<ListWorkflowTemplatesRequest,WorkflowTemplateServiceClient.ListWorkflowTemplatesPagedResponse> listWorkflowTemplatesPagedCallable()
Returns
Type Description
UnaryCallable<ListWorkflowTemplatesRequest,ListWorkflowTemplatesPagedResponse>
Overrides

setIamPolicyCallable()

public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns
Type Description
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

testIamPermissionsCallable()

public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()
Returns
Type Description
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
Overrides

updateWorkflowTemplateCallable()

public UnaryCallable<UpdateWorkflowTemplateRequest,WorkflowTemplate> updateWorkflowTemplateCallable()
Returns
Type Description
UnaryCallable<UpdateWorkflowTemplateRequest,WorkflowTemplate>
Overrides