@BetaApi @Generated(value="by gapic-generator-java") public class HttpJsonWorkflowsStub extends WorkflowsStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
HttpJsonWorkflowsStub(WorkflowsStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonWorkflowsStub, using the given settings.
|
protected |
HttpJsonWorkflowsStub(WorkflowsStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonWorkflowsStub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static HttpJsonWorkflowsStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static HttpJsonWorkflowsStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) |
static HttpJsonWorkflowsStub |
create(WorkflowsStubSettings settings) |
com.google.api.gax.rpc.UnaryCallable<CreateWorkflowRequest,com.google.longrunning.Operation> |
createWorkflowCallable() |
com.google.api.gax.rpc.OperationCallable<CreateWorkflowRequest,Workflow,OperationMetadata> |
createWorkflowOperationCallable() |
com.google.api.gax.rpc.UnaryCallable<DeleteWorkflowRequest,com.google.longrunning.Operation> |
deleteWorkflowCallable() |
com.google.api.gax.rpc.OperationCallable<DeleteWorkflowRequest,com.google.protobuf.Empty,OperationMetadata> |
deleteWorkflowOperationCallable() |
com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub |
getHttpJsonOperationsStub() |
static List<com.google.api.gax.httpjson.ApiMethodDescriptor> |
getMethodDescriptors() |
com.google.api.gax.rpc.UnaryCallable<GetWorkflowRequest,Workflow> |
getWorkflowCallable() |
boolean |
isShutdown() |
boolean |
isTerminated() |
com.google.api.gax.rpc.UnaryCallable<ListWorkflowsRequest,ListWorkflowsResponse> |
listWorkflowsCallable() |
com.google.api.gax.rpc.UnaryCallable<ListWorkflowsRequest,WorkflowsClient.ListWorkflowsPagedResponse> |
listWorkflowsPagedCallable() |
void |
shutdown() |
void |
shutdownNow() |
com.google.api.gax.rpc.UnaryCallable<UpdateWorkflowRequest,com.google.longrunning.Operation> |
updateWorkflowCallable() |
com.google.api.gax.rpc.OperationCallable<UpdateWorkflowRequest,Workflow,OperationMetadata> |
updateWorkflowOperationCallable() |
getOperationsStubprotected HttpJsonWorkflowsStub(WorkflowsStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected HttpJsonWorkflowsStub(WorkflowsStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final HttpJsonWorkflowsStub create(WorkflowsStubSettings settings) throws IOException
IOExceptionpublic static final HttpJsonWorkflowsStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final HttpJsonWorkflowsStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOException@InternalApi public static List<com.google.api.gax.httpjson.ApiMethodDescriptor> getMethodDescriptors()
public com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub getHttpJsonOperationsStub()
getHttpJsonOperationsStub in class WorkflowsStubpublic com.google.api.gax.rpc.UnaryCallable<ListWorkflowsRequest,ListWorkflowsResponse> listWorkflowsCallable()
listWorkflowsCallable in class WorkflowsStubpublic com.google.api.gax.rpc.UnaryCallable<ListWorkflowsRequest,WorkflowsClient.ListWorkflowsPagedResponse> listWorkflowsPagedCallable()
listWorkflowsPagedCallable in class WorkflowsStubpublic com.google.api.gax.rpc.UnaryCallable<GetWorkflowRequest,Workflow> getWorkflowCallable()
getWorkflowCallable in class WorkflowsStubpublic com.google.api.gax.rpc.UnaryCallable<CreateWorkflowRequest,com.google.longrunning.Operation> createWorkflowCallable()
createWorkflowCallable in class WorkflowsStubpublic com.google.api.gax.rpc.OperationCallable<CreateWorkflowRequest,Workflow,OperationMetadata> createWorkflowOperationCallable()
createWorkflowOperationCallable in class WorkflowsStubpublic com.google.api.gax.rpc.UnaryCallable<DeleteWorkflowRequest,com.google.longrunning.Operation> deleteWorkflowCallable()
deleteWorkflowCallable in class WorkflowsStubpublic com.google.api.gax.rpc.OperationCallable<DeleteWorkflowRequest,com.google.protobuf.Empty,OperationMetadata> deleteWorkflowOperationCallable()
deleteWorkflowOperationCallable in class WorkflowsStubpublic com.google.api.gax.rpc.UnaryCallable<UpdateWorkflowRequest,com.google.longrunning.Operation> updateWorkflowCallable()
updateWorkflowCallable in class WorkflowsStubpublic com.google.api.gax.rpc.OperationCallable<UpdateWorkflowRequest,Workflow,OperationMetadata> updateWorkflowOperationCallable()
updateWorkflowOperationCallable in class WorkflowsStubpublic final void close()
close in interface AutoCloseableclose in class WorkflowsStubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2022 Google LLC. All rights reserved.