Class HttpJsonWorkflowTemplateServiceStub
- java.lang.Object
-
- com.google.cloud.dataproc.v1.stub.WorkflowTemplateServiceStub
-
- com.google.cloud.dataproc.v1.stub.HttpJsonWorkflowTemplateServiceStub
-
- All Implemented Interfaces:
com.google.api.gax.core.BackgroundResource
,AutoCloseable
@Generated("by gapic-generator-java") @BetaApi 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
Constructors Modifier Constructor Description protected
HttpJsonWorkflowTemplateServiceStub(WorkflowTemplateServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonWorkflowTemplateServiceStub, using the given settings.protected
HttpJsonWorkflowTemplateServiceStub(WorkflowTemplateServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonWorkflowTemplateServiceStub, using the given settings.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
awaitTermination(long duration, TimeUnit unit)
void
close()
static HttpJsonWorkflowTemplateServiceStub
create(com.google.api.gax.rpc.ClientContext clientContext)
static HttpJsonWorkflowTemplateServiceStub
create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)
static HttpJsonWorkflowTemplateServiceStub
create(WorkflowTemplateServiceStubSettings settings)
com.google.api.gax.rpc.UnaryCallable<CreateWorkflowTemplateRequest,WorkflowTemplate>
createWorkflowTemplateCallable()
com.google.api.gax.rpc.UnaryCallable<DeleteWorkflowTemplateRequest,com.google.protobuf.Empty>
deleteWorkflowTemplateCallable()
com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub
getHttpJsonOperationsStub()
com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>
getIamPolicyCallable()
static List<com.google.api.gax.httpjson.ApiMethodDescriptor>
getMethodDescriptors()
com.google.api.gax.rpc.UnaryCallable<GetWorkflowTemplateRequest,WorkflowTemplate>
getWorkflowTemplateCallable()
com.google.api.gax.rpc.UnaryCallable<InstantiateInlineWorkflowTemplateRequest,com.google.longrunning.Operation>
instantiateInlineWorkflowTemplateCallable()
com.google.api.gax.rpc.OperationCallable<InstantiateInlineWorkflowTemplateRequest,com.google.protobuf.Empty,WorkflowMetadata>
instantiateInlineWorkflowTemplateOperationCallable()
com.google.api.gax.rpc.UnaryCallable<InstantiateWorkflowTemplateRequest,com.google.longrunning.Operation>
instantiateWorkflowTemplateCallable()
com.google.api.gax.rpc.OperationCallable<InstantiateWorkflowTemplateRequest,com.google.protobuf.Empty,WorkflowMetadata>
instantiateWorkflowTemplateOperationCallable()
boolean
isShutdown()
boolean
isTerminated()
com.google.api.gax.rpc.UnaryCallable<ListWorkflowTemplatesRequest,ListWorkflowTemplatesResponse>
listWorkflowTemplatesCallable()
com.google.api.gax.rpc.UnaryCallable<ListWorkflowTemplatesRequest,WorkflowTemplateServiceClient.ListWorkflowTemplatesPagedResponse>
listWorkflowTemplatesPagedCallable()
com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>
setIamPolicyCallable()
void
shutdown()
void
shutdownNow()
com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
testIamPermissionsCallable()
com.google.api.gax.rpc.UnaryCallable<UpdateWorkflowTemplateRequest,WorkflowTemplate>
updateWorkflowTemplateCallable()
-
Methods inherited from class com.google.cloud.dataproc.v1.stub.WorkflowTemplateServiceStub
getOperationsStub
-
-
-
-
Constructor Detail
-
HttpJsonWorkflowTemplateServiceStub
protected HttpJsonWorkflowTemplateServiceStub(WorkflowTemplateServiceStubSettings settings, com.google.api.gax.rpc.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, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.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 Detail
-
create
public static final HttpJsonWorkflowTemplateServiceStub create(WorkflowTemplateServiceStubSettings settings) throws IOException
- Throws:
IOException
-
create
public static final HttpJsonWorkflowTemplateServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
- Throws:
IOException
-
create
public static final HttpJsonWorkflowTemplateServiceStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
- Throws:
IOException
-
getMethodDescriptors
@InternalApi public static List<com.google.api.gax.httpjson.ApiMethodDescriptor> getMethodDescriptors()
-
getHttpJsonOperationsStub
public com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub getHttpJsonOperationsStub()
- Overrides:
getHttpJsonOperationsStub
in classWorkflowTemplateServiceStub
-
createWorkflowTemplateCallable
public com.google.api.gax.rpc.UnaryCallable<CreateWorkflowTemplateRequest,WorkflowTemplate> createWorkflowTemplateCallable()
- Overrides:
createWorkflowTemplateCallable
in classWorkflowTemplateServiceStub
-
getWorkflowTemplateCallable
public com.google.api.gax.rpc.UnaryCallable<GetWorkflowTemplateRequest,WorkflowTemplate> getWorkflowTemplateCallable()
- Overrides:
getWorkflowTemplateCallable
in classWorkflowTemplateServiceStub
-
instantiateWorkflowTemplateCallable
public com.google.api.gax.rpc.UnaryCallable<InstantiateWorkflowTemplateRequest,com.google.longrunning.Operation> instantiateWorkflowTemplateCallable()
- Overrides:
instantiateWorkflowTemplateCallable
in classWorkflowTemplateServiceStub
-
instantiateWorkflowTemplateOperationCallable
public com.google.api.gax.rpc.OperationCallable<InstantiateWorkflowTemplateRequest,com.google.protobuf.Empty,WorkflowMetadata> instantiateWorkflowTemplateOperationCallable()
- Overrides:
instantiateWorkflowTemplateOperationCallable
in classWorkflowTemplateServiceStub
-
instantiateInlineWorkflowTemplateCallable
public com.google.api.gax.rpc.UnaryCallable<InstantiateInlineWorkflowTemplateRequest,com.google.longrunning.Operation> instantiateInlineWorkflowTemplateCallable()
- Overrides:
instantiateInlineWorkflowTemplateCallable
in classWorkflowTemplateServiceStub
-
instantiateInlineWorkflowTemplateOperationCallable
public com.google.api.gax.rpc.OperationCallable<InstantiateInlineWorkflowTemplateRequest,com.google.protobuf.Empty,WorkflowMetadata> instantiateInlineWorkflowTemplateOperationCallable()
- Overrides:
instantiateInlineWorkflowTemplateOperationCallable
in classWorkflowTemplateServiceStub
-
updateWorkflowTemplateCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateWorkflowTemplateRequest,WorkflowTemplate> updateWorkflowTemplateCallable()
- Overrides:
updateWorkflowTemplateCallable
in classWorkflowTemplateServiceStub
-
listWorkflowTemplatesCallable
public com.google.api.gax.rpc.UnaryCallable<ListWorkflowTemplatesRequest,ListWorkflowTemplatesResponse> listWorkflowTemplatesCallable()
- Overrides:
listWorkflowTemplatesCallable
in classWorkflowTemplateServiceStub
-
listWorkflowTemplatesPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListWorkflowTemplatesRequest,WorkflowTemplateServiceClient.ListWorkflowTemplatesPagedResponse> listWorkflowTemplatesPagedCallable()
- Overrides:
listWorkflowTemplatesPagedCallable
in classWorkflowTemplateServiceStub
-
deleteWorkflowTemplateCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteWorkflowTemplateRequest,com.google.protobuf.Empty> deleteWorkflowTemplateCallable()
- Overrides:
deleteWorkflowTemplateCallable
in classWorkflowTemplateServiceStub
-
setIamPolicyCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicyCallable()
- Overrides:
setIamPolicyCallable
in classWorkflowTemplateServiceStub
-
getIamPolicyCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicyCallable()
- Overrides:
getIamPolicyCallable
in classWorkflowTemplateServiceStub
-
testIamPermissionsCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsCallable()
- Overrides:
testIamPermissionsCallable
in classWorkflowTemplateServiceStub
-
close
public final void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in classWorkflowTemplateServiceStub
-
shutdown
public void shutdown()
-
isShutdown
public boolean isShutdown()
-
isTerminated
public boolean isTerminated()
-
shutdownNow
public void shutdownNow()
-
awaitTermination
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
- Throws:
InterruptedException
-
-