Class HttpJsonWorkflowsServiceV2BetaStub
java.lang.Object
com.google.cloud.lifesciences.v2beta.stub.WorkflowsServiceV2BetaStub
com.google.cloud.lifesciences.v2beta.stub.HttpJsonWorkflowsServiceV2BetaStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@BetaApi
@Generated("by gapic-generator-java")
public class HttpJsonWorkflowsServiceV2BetaStub
extends WorkflowsServiceV2BetaStub
REST stub implementation for the WorkflowsServiceV2Beta service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedHttpJsonWorkflowsServiceV2BetaStub(WorkflowsServiceV2BetaStubSettings settings, ClientContext clientContext) Constructs an instance of HttpJsonWorkflowsServiceV2BetaStub, using the given settings.protectedHttpJsonWorkflowsServiceV2BetaStub(WorkflowsServiceV2BetaStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) Constructs an instance of HttpJsonWorkflowsServiceV2BetaStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final HttpJsonWorkflowsServiceV2BetaStubcreate(ClientContext clientContext) static final HttpJsonWorkflowsServiceV2BetaStubcreate(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) static final HttpJsonWorkflowsServiceV2BetaStubcreate(WorkflowsServiceV2BetaStubSettings settings) static List<ApiMethodDescriptor>booleanbooleanvoidshutdown()voidMethods inherited from class com.google.cloud.lifesciences.v2beta.stub.WorkflowsServiceV2BetaStub
getOperationsStub
-
Constructor Details
-
HttpJsonWorkflowsServiceV2BetaStub
protected HttpJsonWorkflowsServiceV2BetaStub(WorkflowsServiceV2BetaStubSettings settings, ClientContext clientContext) throws IOException Constructs an instance of HttpJsonWorkflowsServiceV2BetaStub, 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.- Throws:
IOException
-
HttpJsonWorkflowsServiceV2BetaStub
protected HttpJsonWorkflowsServiceV2BetaStub(WorkflowsServiceV2BetaStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException Constructs an instance of HttpJsonWorkflowsServiceV2BetaStub, 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.- Throws:
IOException
-
-
Method Details
-
create
public static final HttpJsonWorkflowsServiceV2BetaStub create(WorkflowsServiceV2BetaStubSettings settings) throws IOException - Throws:
IOException
-
create
public static final HttpJsonWorkflowsServiceV2BetaStub create(ClientContext clientContext) throws IOException - Throws:
IOException
-
create
public static final HttpJsonWorkflowsServiceV2BetaStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getMethodDescriptors
-
getHttpJsonOperationsStub
- Overrides:
getHttpJsonOperationsStubin classWorkflowsServiceV2BetaStub
-
runPipelineCallable
- Overrides:
runPipelineCallablein classWorkflowsServiceV2BetaStub
-
runPipelineOperationCallable
public OperationCallable<RunPipelineRequest,RunPipelineResponse, runPipelineOperationCallable()Metadata> - Overrides:
runPipelineOperationCallablein classWorkflowsServiceV2BetaStub
-
listLocationsCallable
- Overrides:
listLocationsCallablein classWorkflowsServiceV2BetaStub
-
listLocationsPagedCallable
public UnaryCallable<ListLocationsRequest,WorkflowsServiceV2BetaClient.ListLocationsPagedResponse> listLocationsPagedCallable()- Overrides:
listLocationsPagedCallablein classWorkflowsServiceV2BetaStub
-
getLocationCallable
- Overrides:
getLocationCallablein classWorkflowsServiceV2BetaStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classWorkflowsServiceV2BetaStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-