- 4.50.0 (latest)
- 4.49.0
- 4.48.0
- 4.46.0
- 4.45.0
- 4.44.0
- 4.43.0
- 4.42.0
- 4.41.0
- 4.40.0
- 4.39.0
- 4.38.0
- 4.37.0
- 4.36.0
- 4.34.0
- 4.33.0
- 4.32.0
- 4.31.0
- 4.30.0
- 4.29.0
- 4.28.0
- 4.27.0
- 4.26.0
- 4.25.0
- 4.24.0
- 4.21.0
- 4.20.0
- 4.19.0
- 4.18.0
- 4.17.0
- 4.16.0
- 4.15.0
- 4.14.0
- 4.13.0
- 4.12.0
- 4.11.0
- 4.10.0
- 4.9.0
- 4.8.0
- 4.6.0
- 4.5.0
- 4.4.0
- 4.3.0
- 4.2.0
- 4.1.0
- 4.0.8
- 3.1.2
- 3.0.3
- 2.3.1
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)
Parameter | |
---|---|
Name | Description |
clientContext |
ClientContext |
Returns | |
---|---|
Type | Description |
GrpcWorkflowTemplateServiceStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcWorkflowTemplateServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters | |
---|---|
Name | Description |
clientContext |
ClientContext |
callableFactory |
GrpcStubCallableFactory |
Returns | |
---|---|
Type | Description |
GrpcWorkflowTemplateServiceStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(WorkflowTemplateServiceStubSettings settings)
public static final GrpcWorkflowTemplateServiceStub create(WorkflowTemplateServiceStubSettings settings)
Parameter | |
---|---|
Name | Description |
settings |
WorkflowTemplateServiceStubSettings |
Returns | |
---|---|
Type | Description |
GrpcWorkflowTemplateServiceStub |
Exceptions | |
---|---|
Type | Description |
IOException |
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.
Parameters | |
---|---|
Name | Description |
settings |
WorkflowTemplateServiceStubSettings |
clientContext |
ClientContext |
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.
Parameters | |
---|---|
Name | Description |
settings |
WorkflowTemplateServiceStubSettings |
clientContext |
ClientContext |
callableFactory |
GrpcStubCallableFactory |
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters | |
---|---|
Name | Description |
duration |
long |
unit |
TimeUnit |
Returns | |
---|---|
Type | Description |
boolean |
Exceptions | |
---|---|
Type | Description |
InterruptedException |
close()
public final void close()
createWorkflowTemplateCallable()
public UnaryCallable<CreateWorkflowTemplateRequest,WorkflowTemplate> createWorkflowTemplateCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateWorkflowTemplateRequest,WorkflowTemplate> |
deleteWorkflowTemplateCallable()
public UnaryCallable<DeleteWorkflowTemplateRequest,Empty> deleteWorkflowTemplateCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteWorkflowTemplateRequest,Empty> |
getIamPolicyCallable()
public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> |
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Returns | |
---|---|
Type | Description |
GrpcOperationsStub |
getWorkflowTemplateCallable()
public UnaryCallable<GetWorkflowTemplateRequest,WorkflowTemplate> getWorkflowTemplateCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetWorkflowTemplateRequest,WorkflowTemplate> |
instantiateInlineWorkflowTemplateCallable()
public UnaryCallable<InstantiateInlineWorkflowTemplateRequest,Operation> instantiateInlineWorkflowTemplateCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<InstantiateInlineWorkflowTemplateRequest,Operation> |
instantiateInlineWorkflowTemplateOperationCallable()
public OperationCallable<InstantiateInlineWorkflowTemplateRequest,Empty,WorkflowMetadata> instantiateInlineWorkflowTemplateOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<InstantiateInlineWorkflowTemplateRequest,Empty,WorkflowMetadata> |
instantiateWorkflowTemplateCallable()
public UnaryCallable<InstantiateWorkflowTemplateRequest,Operation> instantiateWorkflowTemplateCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<InstantiateWorkflowTemplateRequest,Operation> |
instantiateWorkflowTemplateOperationCallable()
public OperationCallable<InstantiateWorkflowTemplateRequest,Empty,WorkflowMetadata> instantiateWorkflowTemplateOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<InstantiateWorkflowTemplateRequest,Empty,WorkflowMetadata> |
isShutdown()
public boolean isShutdown()
Returns | |
---|---|
Type | Description |
boolean |
isTerminated()
public boolean isTerminated()
Returns | |
---|---|
Type | Description |
boolean |
listWorkflowTemplatesCallable()
public UnaryCallable<ListWorkflowTemplatesRequest,ListWorkflowTemplatesResponse> listWorkflowTemplatesCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListWorkflowTemplatesRequest,ListWorkflowTemplatesResponse> |
listWorkflowTemplatesPagedCallable()
public UnaryCallable<ListWorkflowTemplatesRequest,WorkflowTemplateServiceClient.ListWorkflowTemplatesPagedResponse> listWorkflowTemplatesPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListWorkflowTemplatesRequest,ListWorkflowTemplatesPagedResponse> |
setIamPolicyCallable()
public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> |
shutdown()
public void 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> |
updateWorkflowTemplateCallable()
public UnaryCallable<UpdateWorkflowTemplateRequest,WorkflowTemplate> updateWorkflowTemplateCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateWorkflowTemplateRequest,WorkflowTemplate> |