Class GrpcWorkflowTemplateServiceStub
- java.lang.Object
-
- com.google.cloud.dataproc.v1.stub.WorkflowTemplateServiceStub
-
- com.google.cloud.dataproc.v1.stub.GrpcWorkflowTemplateServiceStub
-
- All Implemented Interfaces:
com.google.api.gax.core.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
Constructors Modifier Constructor Description protected
GrpcWorkflowTemplateServiceStub(WorkflowTemplateServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcWorkflowTemplateServiceStub, using the given settings.protected
GrpcWorkflowTemplateServiceStub(WorkflowTemplateServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcWorkflowTemplateServiceStub, 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 GrpcWorkflowTemplateServiceStub
create(com.google.api.gax.rpc.ClientContext clientContext)
static GrpcWorkflowTemplateServiceStub
create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
static GrpcWorkflowTemplateServiceStub
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.rpc.UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>
getIamPolicyCallable()
com.google.longrunning.stub.GrpcOperationsStub
getOperationsStub()
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
getHttpJsonOperationsStub
-
-
-
-
Constructor Detail
-
GrpcWorkflowTemplateServiceStub
protected GrpcWorkflowTemplateServiceStub(WorkflowTemplateServiceStubSettings settings, com.google.api.gax.rpc.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, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.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 Detail
-
create
public static final GrpcWorkflowTemplateServiceStub create(WorkflowTemplateServiceStubSettings settings) throws IOException
- Throws:
IOException
-
create
public static final GrpcWorkflowTemplateServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
- Throws:
IOException
-
create
public static final GrpcWorkflowTemplateServiceStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
- Throws:
IOException
-
getOperationsStub
public com.google.longrunning.stub.GrpcOperationsStub getOperationsStub()
- Overrides:
getOperationsStub
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
-
-