Class HttpJsonWorkflowTemplateServiceStub
java.lang.Object
com.google.cloud.dataproc.v1.stub.WorkflowTemplateServiceStub
com.google.cloud.dataproc.v1.stub.HttpJsonWorkflowTemplateServiceStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@Generated("by gapic-generator-java")
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.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedHttpJsonWorkflowTemplateServiceStub(WorkflowTemplateServiceStubSettings settings, ClientContext clientContext) Constructs an instance of HttpJsonWorkflowTemplateServiceStub, using the given settings.protectedHttpJsonWorkflowTemplateServiceStub(WorkflowTemplateServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) Constructs an instance of HttpJsonWorkflowTemplateServiceStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final HttpJsonWorkflowTemplateServiceStubcreate(ClientContext clientContext) static final HttpJsonWorkflowTemplateServiceStubcreate(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) static final HttpJsonWorkflowTemplateServiceStubcreate(WorkflowTemplateServiceStubSettings settings) UnaryCallable<DeleteWorkflowTemplateRequest,com.google.protobuf.Empty> static List<ApiMethodDescriptor>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
getOperationsStub
-
Constructor Details
-
HttpJsonWorkflowTemplateServiceStub
protected HttpJsonWorkflowTemplateServiceStub(WorkflowTemplateServiceStubSettings settings, ClientContext clientContext) throws IOException 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.- Throws:
IOException
-
HttpJsonWorkflowTemplateServiceStub
protected HttpJsonWorkflowTemplateServiceStub(WorkflowTemplateServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException 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.- Throws:
IOException
-
-
Method Details
-
create
public static final HttpJsonWorkflowTemplateServiceStub create(WorkflowTemplateServiceStubSettings settings) throws IOException - Throws:
IOException
-
create
public static final HttpJsonWorkflowTemplateServiceStub create(ClientContext clientContext) throws IOException - Throws:
IOException
-
create
public static final HttpJsonWorkflowTemplateServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getMethodDescriptors
-
getHttpJsonOperationsStub
- Overrides:
getHttpJsonOperationsStubin 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
-