Class GrpcWorkflowTemplateServiceStub
java.lang.Object
com.google.cloud.dataproc.v1.stub.WorkflowTemplateServiceStub
com.google.cloud.dataproc.v1.stub.GrpcWorkflowTemplateServiceStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@Generated("by gapic-generator-java")
public class GrpcWorkflowTemplateServiceStub
extends WorkflowTemplateServiceStub
gRPC stub implementation for the WorkflowTemplateService service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGrpcWorkflowTemplateServiceStub(WorkflowTemplateServiceStubSettings settings, ClientContext clientContext) Constructs an instance of GrpcWorkflowTemplateServiceStub, using the given settings.protectedGrpcWorkflowTemplateServiceStub(WorkflowTemplateServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) Constructs an instance of GrpcWorkflowTemplateServiceStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final GrpcWorkflowTemplateServiceStubcreate(ClientContext clientContext) static final GrpcWorkflowTemplateServiceStubcreate(ClientContext clientContext, GrpcStubCallableFactory callableFactory) static final GrpcWorkflowTemplateServiceStubcreate(WorkflowTemplateServiceStubSettings settings) UnaryCallable<DeleteWorkflowTemplateRequest,com.google.protobuf.Empty> OperationCallable<InstantiateInlineWorkflowTemplateRequest,com.google.protobuf.Empty, WorkflowMetadata> OperationCallable<InstantiateWorkflowTemplateRequest,com.google.protobuf.Empty, WorkflowMetadata> booleanbooleanUnaryCallable<ListWorkflowTemplatesRequest,WorkflowTemplateServiceClient.ListWorkflowTemplatesPagedResponse> voidshutdown()voidMethods inherited from class com.google.cloud.dataproc.v1.stub.WorkflowTemplateServiceStub
getHttpJsonOperationsStub
-
Constructor Details
-
GrpcWorkflowTemplateServiceStub
protected GrpcWorkflowTemplateServiceStub(WorkflowTemplateServiceStubSettings settings, ClientContext clientContext) throws IOException Constructs an instance of GrpcWorkflowTemplateServiceStub, 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
-
GrpcWorkflowTemplateServiceStub
protected GrpcWorkflowTemplateServiceStub(WorkflowTemplateServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException Constructs an instance of GrpcWorkflowTemplateServiceStub, 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 GrpcWorkflowTemplateServiceStub create(WorkflowTemplateServiceStubSettings settings) throws IOException - Throws:
IOException
-
create
public static final GrpcWorkflowTemplateServiceStub create(ClientContext clientContext) throws IOException - Throws:
IOException
-
create
public static final GrpcWorkflowTemplateServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getOperationsStub
- Overrides:
getOperationsStubin classWorkflowTemplateServiceStub
-
createWorkflowTemplateCallable
public UnaryCallable<CreateWorkflowTemplateRequest,WorkflowTemplate> createWorkflowTemplateCallable()- Overrides:
createWorkflowTemplateCallablein classWorkflowTemplateServiceStub
-
getWorkflowTemplateCallable
- Overrides:
getWorkflowTemplateCallablein classWorkflowTemplateServiceStub
-
instantiateWorkflowTemplateCallable
public UnaryCallable<InstantiateWorkflowTemplateRequest,Operation> instantiateWorkflowTemplateCallable()- Overrides:
instantiateWorkflowTemplateCallablein classWorkflowTemplateServiceStub
-
instantiateWorkflowTemplateOperationCallable
public OperationCallable<InstantiateWorkflowTemplateRequest,com.google.protobuf.Empty, instantiateWorkflowTemplateOperationCallable()WorkflowMetadata> - Overrides:
instantiateWorkflowTemplateOperationCallablein classWorkflowTemplateServiceStub
-
instantiateInlineWorkflowTemplateCallable
public UnaryCallable<InstantiateInlineWorkflowTemplateRequest,Operation> instantiateInlineWorkflowTemplateCallable()- Overrides:
instantiateInlineWorkflowTemplateCallablein classWorkflowTemplateServiceStub
-
instantiateInlineWorkflowTemplateOperationCallable
public OperationCallable<InstantiateInlineWorkflowTemplateRequest,com.google.protobuf.Empty, instantiateInlineWorkflowTemplateOperationCallable()WorkflowMetadata> - Overrides:
instantiateInlineWorkflowTemplateOperationCallablein classWorkflowTemplateServiceStub
-
updateWorkflowTemplateCallable
public UnaryCallable<UpdateWorkflowTemplateRequest,WorkflowTemplate> updateWorkflowTemplateCallable()- Overrides:
updateWorkflowTemplateCallablein classWorkflowTemplateServiceStub
-
listWorkflowTemplatesCallable
public UnaryCallable<ListWorkflowTemplatesRequest,ListWorkflowTemplatesResponse> listWorkflowTemplatesCallable()- Overrides:
listWorkflowTemplatesCallablein classWorkflowTemplateServiceStub
-
listWorkflowTemplatesPagedCallable
public UnaryCallable<ListWorkflowTemplatesRequest,WorkflowTemplateServiceClient.ListWorkflowTemplatesPagedResponse> listWorkflowTemplatesPagedCallable()- Overrides:
listWorkflowTemplatesPagedCallablein classWorkflowTemplateServiceStub
-
deleteWorkflowTemplateCallable
public UnaryCallable<DeleteWorkflowTemplateRequest,com.google.protobuf.Empty> deleteWorkflowTemplateCallable()- Overrides:
deleteWorkflowTemplateCallablein classWorkflowTemplateServiceStub
-
setIamPolicyCallable
- Overrides:
setIamPolicyCallablein classWorkflowTemplateServiceStub
-
getIamPolicyCallable
- Overrides:
getIamPolicyCallablein classWorkflowTemplateServiceStub
-
testIamPermissionsCallable
public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()- Overrides:
testIamPermissionsCallablein classWorkflowTemplateServiceStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classWorkflowTemplateServiceStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-