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.
Static Methods
create(ClientContext clientContext)
public static final GrpcWorkflowTemplateServiceStub create(ClientContext clientContext)
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcWorkflowTemplateServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
create(WorkflowTemplateServiceStubSettings settings)
public static final GrpcWorkflowTemplateServiceStub create(WorkflowTemplateServiceStubSettings settings)
Constructors
GrpcWorkflowTemplateServiceStub(WorkflowTemplateServiceStubSettings settings, ClientContext clientContext)
protected GrpcWorkflowTemplateServiceStub(WorkflowTemplateServiceStubSettings settings, ClientContext clientContext)
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.
GrpcWorkflowTemplateServiceStub(WorkflowTemplateServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcWorkflowTemplateServiceStub(WorkflowTemplateServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
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.
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
close()
public final void close()
Overrides
createWorkflowTemplateCallable()
public UnaryCallable<CreateWorkflowTemplateRequest,WorkflowTemplate> createWorkflowTemplateCallable()
Overrides
deleteWorkflowTemplateCallable()
public UnaryCallable<DeleteWorkflowTemplateRequest,Empty> deleteWorkflowTemplateCallable()
Overrides
getIamPolicyCallable()
public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Returns |
---|
Type | Description |
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> | |
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Overrides
getWorkflowTemplateCallable()
public UnaryCallable<GetWorkflowTemplateRequest,WorkflowTemplate> getWorkflowTemplateCallable()
Overrides
instantiateInlineWorkflowTemplateCallable()
public UnaryCallable<InstantiateInlineWorkflowTemplateRequest,Operation> instantiateInlineWorkflowTemplateCallable()
Overrides
instantiateInlineWorkflowTemplateOperationCallable()
public OperationCallable<InstantiateInlineWorkflowTemplateRequest,Empty,WorkflowMetadata> instantiateInlineWorkflowTemplateOperationCallable()
Overrides
instantiateWorkflowTemplateCallable()
public UnaryCallable<InstantiateWorkflowTemplateRequest,Operation> instantiateWorkflowTemplateCallable()
Overrides
instantiateWorkflowTemplateOperationCallable()
public OperationCallable<InstantiateWorkflowTemplateRequest,Empty,WorkflowMetadata> instantiateWorkflowTemplateOperationCallable()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listWorkflowTemplatesCallable()
public UnaryCallable<ListWorkflowTemplatesRequest,ListWorkflowTemplatesResponse> listWorkflowTemplatesCallable()
Overrides
listWorkflowTemplatesPagedCallable()
public UnaryCallable<ListWorkflowTemplatesRequest,WorkflowTemplateServiceClient.ListWorkflowTemplatesPagedResponse> listWorkflowTemplatesPagedCallable()
Overrides
setIamPolicyCallable()
public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns |
---|
Type | Description |
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> | |
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
testIamPermissionsCallable()
public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()
Returns |
---|
Type | Description |
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> | |
Overrides
updateWorkflowTemplateCallable()
public UnaryCallable<UpdateWorkflowTemplateRequest,WorkflowTemplate> updateWorkflowTemplateCallable()
Overrides