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
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
shutdown()
shutdownNow()
public void shutdownNow()
updateWorkflowTemplateCallable()
public UnaryCallable<UpdateWorkflowTemplateRequest,WorkflowTemplate> updateWorkflowTemplateCallable()
Overrides