Class GrpcWorkflowsServiceV2BetaStub
java.lang.Object
com.google.cloud.lifesciences.v2beta.stub.WorkflowsServiceV2BetaStub
com.google.cloud.lifesciences.v2beta.stub.GrpcWorkflowsServiceV2BetaStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@BetaApi
@Generated("by gapic-generator-java")
public class GrpcWorkflowsServiceV2BetaStub
extends WorkflowsServiceV2BetaStub
gRPC stub implementation for the WorkflowsServiceV2Beta service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGrpcWorkflowsServiceV2BetaStub(WorkflowsServiceV2BetaStubSettings settings, ClientContext clientContext) Constructs an instance of GrpcWorkflowsServiceV2BetaStub, using the given settings.protectedGrpcWorkflowsServiceV2BetaStub(WorkflowsServiceV2BetaStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) Constructs an instance of GrpcWorkflowsServiceV2BetaStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final GrpcWorkflowsServiceV2BetaStubcreate(ClientContext clientContext) static final GrpcWorkflowsServiceV2BetaStubcreate(ClientContext clientContext, GrpcStubCallableFactory callableFactory) static final GrpcWorkflowsServiceV2BetaStubcreate(WorkflowsServiceV2BetaStubSettings settings) booleanbooleanvoidshutdown()voidMethods inherited from class com.google.cloud.lifesciences.v2beta.stub.WorkflowsServiceV2BetaStub
getHttpJsonOperationsStub
-
Constructor Details
-
GrpcWorkflowsServiceV2BetaStub
protected GrpcWorkflowsServiceV2BetaStub(WorkflowsServiceV2BetaStubSettings settings, ClientContext clientContext) throws IOException Constructs an instance of GrpcWorkflowsServiceV2BetaStub, 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
-
GrpcWorkflowsServiceV2BetaStub
protected GrpcWorkflowsServiceV2BetaStub(WorkflowsServiceV2BetaStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException Constructs an instance of GrpcWorkflowsServiceV2BetaStub, 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 GrpcWorkflowsServiceV2BetaStub create(WorkflowsServiceV2BetaStubSettings settings) throws IOException - Throws:
IOException
-
create
public static final GrpcWorkflowsServiceV2BetaStub create(ClientContext clientContext) throws IOException - Throws:
IOException
-
create
public static final GrpcWorkflowsServiceV2BetaStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getOperationsStub
- Overrides:
getOperationsStubin 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
-