@Generated(value="by gapic-generator") @BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public class GrpcWorkflowTemplateServiceStub extends WorkflowTemplateServiceStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and 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.
|
protected GrpcWorkflowTemplateServiceStub(WorkflowTemplateServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
protected GrpcWorkflowTemplateServiceStub(WorkflowTemplateServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOException
public static final GrpcWorkflowTemplateServiceStub create(WorkflowTemplateServiceStubSettings settings) throws IOException
IOException
public static final GrpcWorkflowTemplateServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
public static final GrpcWorkflowTemplateServiceStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOException
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public com.google.longrunning.stub.GrpcOperationsStub getOperationsStub()
getOperationsStub
in class WorkflowTemplateServiceStub
public com.google.api.gax.rpc.UnaryCallable<CreateWorkflowTemplateRequest,WorkflowTemplate> createWorkflowTemplateCallable()
createWorkflowTemplateCallable
in class WorkflowTemplateServiceStub
public com.google.api.gax.rpc.UnaryCallable<GetWorkflowTemplateRequest,WorkflowTemplate> getWorkflowTemplateCallable()
getWorkflowTemplateCallable
in class WorkflowTemplateServiceStub
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallable<InstantiateWorkflowTemplateRequest,Empty,WorkflowMetadata> instantiateWorkflowTemplateOperationCallable()
instantiateWorkflowTemplateOperationCallable
in class WorkflowTemplateServiceStub
public com.google.api.gax.rpc.UnaryCallable<InstantiateWorkflowTemplateRequest,com.google.longrunning.Operation> instantiateWorkflowTemplateCallable()
instantiateWorkflowTemplateCallable
in class WorkflowTemplateServiceStub
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallable<InstantiateInlineWorkflowTemplateRequest,Empty,WorkflowMetadata> instantiateInlineWorkflowTemplateOperationCallable()
instantiateInlineWorkflowTemplateOperationCallable
in class WorkflowTemplateServiceStub
public com.google.api.gax.rpc.UnaryCallable<InstantiateInlineWorkflowTemplateRequest,com.google.longrunning.Operation> instantiateInlineWorkflowTemplateCallable()
instantiateInlineWorkflowTemplateCallable
in class WorkflowTemplateServiceStub
public com.google.api.gax.rpc.UnaryCallable<UpdateWorkflowTemplateRequest,WorkflowTemplate> updateWorkflowTemplateCallable()
updateWorkflowTemplateCallable
in class WorkflowTemplateServiceStub
public com.google.api.gax.rpc.UnaryCallable<ListWorkflowTemplatesRequest,WorkflowTemplateServiceClient.ListWorkflowTemplatesPagedResponse> listWorkflowTemplatesPagedCallable()
listWorkflowTemplatesPagedCallable
in class WorkflowTemplateServiceStub
public com.google.api.gax.rpc.UnaryCallable<ListWorkflowTemplatesRequest,ListWorkflowTemplatesResponse> listWorkflowTemplatesCallable()
listWorkflowTemplatesCallable
in class WorkflowTemplateServiceStub
public com.google.api.gax.rpc.UnaryCallable<DeleteWorkflowTemplateRequest,Empty> deleteWorkflowTemplateCallable()
deleteWorkflowTemplateCallable
in class WorkflowTemplateServiceStub
public final void close()
close
in interface AutoCloseable
close
in class WorkflowTemplateServiceStub
public void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
InterruptedException
Copyright © 2019 Google LLC. All rights reserved.