@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,
ClientContext clientContext)
Constructs an instance of GrpcWorkflowTemplateServiceStub, using the given settings.
|
protected |
GrpcWorkflowTemplateServiceStub(WorkflowTemplateServiceStubSettings settings,
ClientContext clientContext,
GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcWorkflowTemplateServiceStub, using the given settings.
|
Modifier and Type | Method and Description |
---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static GrpcWorkflowTemplateServiceStub |
create(ClientContext clientContext) |
static GrpcWorkflowTemplateServiceStub |
create(ClientContext clientContext,
GrpcStubCallableFactory callableFactory) |
static GrpcWorkflowTemplateServiceStub |
create(WorkflowTemplateServiceStubSettings settings) |
UnaryCallable<com.google.cloud.dataproc.v1.CreateWorkflowTemplateRequest,com.google.cloud.dataproc.v1.WorkflowTemplate> |
createWorkflowTemplateCallable() |
UnaryCallable<com.google.cloud.dataproc.v1.DeleteWorkflowTemplateRequest,Empty> |
deleteWorkflowTemplateCallable() |
GrpcOperationsStub |
getOperationsStub() |
UnaryCallable<com.google.cloud.dataproc.v1.GetWorkflowTemplateRequest,com.google.cloud.dataproc.v1.WorkflowTemplate> |
getWorkflowTemplateCallable() |
UnaryCallable<com.google.cloud.dataproc.v1.InstantiateInlineWorkflowTemplateRequest,Operation> |
instantiateInlineWorkflowTemplateCallable() |
OperationCallable<com.google.cloud.dataproc.v1.InstantiateInlineWorkflowTemplateRequest,Empty,com.google.cloud.dataproc.v1.WorkflowMetadata> |
instantiateInlineWorkflowTemplateOperationCallable() |
UnaryCallable<com.google.cloud.dataproc.v1.InstantiateWorkflowTemplateRequest,Operation> |
instantiateWorkflowTemplateCallable() |
OperationCallable<com.google.cloud.dataproc.v1.InstantiateWorkflowTemplateRequest,Empty,com.google.cloud.dataproc.v1.WorkflowMetadata> |
instantiateWorkflowTemplateOperationCallable() |
boolean |
isShutdown() |
boolean |
isTerminated() |
UnaryCallable<com.google.cloud.dataproc.v1.ListWorkflowTemplatesRequest,com.google.cloud.dataproc.v1.ListWorkflowTemplatesResponse> |
listWorkflowTemplatesCallable() |
UnaryCallable<com.google.cloud.dataproc.v1.ListWorkflowTemplatesRequest,WorkflowTemplateServiceClient.ListWorkflowTemplatesPagedResponse> |
listWorkflowTemplatesPagedCallable() |
void |
shutdown() |
void |
shutdownNow() |
UnaryCallable<com.google.cloud.dataproc.v1.UpdateWorkflowTemplateRequest,com.google.cloud.dataproc.v1.WorkflowTemplate> |
updateWorkflowTemplateCallable() |
protected GrpcWorkflowTemplateServiceStub(WorkflowTemplateServiceStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected GrpcWorkflowTemplateServiceStub(WorkflowTemplateServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public static final GrpcWorkflowTemplateServiceStub create(WorkflowTemplateServiceStubSettings settings) throws IOException
IOException
public static final GrpcWorkflowTemplateServiceStub create(ClientContext clientContext) throws IOException
IOException
public static final GrpcWorkflowTemplateServiceStub create(ClientContext clientContext, 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 GrpcOperationsStub getOperationsStub()
getOperationsStub
in class WorkflowTemplateServiceStub
public UnaryCallable<com.google.cloud.dataproc.v1.CreateWorkflowTemplateRequest,com.google.cloud.dataproc.v1.WorkflowTemplate> createWorkflowTemplateCallable()
createWorkflowTemplateCallable
in class WorkflowTemplateServiceStub
public UnaryCallable<com.google.cloud.dataproc.v1.GetWorkflowTemplateRequest,com.google.cloud.dataproc.v1.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 OperationCallable<com.google.cloud.dataproc.v1.InstantiateWorkflowTemplateRequest,Empty,com.google.cloud.dataproc.v1.WorkflowMetadata> instantiateWorkflowTemplateOperationCallable()
instantiateWorkflowTemplateOperationCallable
in class WorkflowTemplateServiceStub
public UnaryCallable<com.google.cloud.dataproc.v1.InstantiateWorkflowTemplateRequest,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 OperationCallable<com.google.cloud.dataproc.v1.InstantiateInlineWorkflowTemplateRequest,Empty,com.google.cloud.dataproc.v1.WorkflowMetadata> instantiateInlineWorkflowTemplateOperationCallable()
instantiateInlineWorkflowTemplateOperationCallable
in class WorkflowTemplateServiceStub
public UnaryCallable<com.google.cloud.dataproc.v1.InstantiateInlineWorkflowTemplateRequest,Operation> instantiateInlineWorkflowTemplateCallable()
instantiateInlineWorkflowTemplateCallable
in class WorkflowTemplateServiceStub
public UnaryCallable<com.google.cloud.dataproc.v1.UpdateWorkflowTemplateRequest,com.google.cloud.dataproc.v1.WorkflowTemplate> updateWorkflowTemplateCallable()
updateWorkflowTemplateCallable
in class WorkflowTemplateServiceStub
public UnaryCallable<com.google.cloud.dataproc.v1.ListWorkflowTemplatesRequest,WorkflowTemplateServiceClient.ListWorkflowTemplatesPagedResponse> listWorkflowTemplatesPagedCallable()
listWorkflowTemplatesPagedCallable
in class WorkflowTemplateServiceStub
public UnaryCallable<com.google.cloud.dataproc.v1.ListWorkflowTemplatesRequest,com.google.cloud.dataproc.v1.ListWorkflowTemplatesResponse> listWorkflowTemplatesCallable()
listWorkflowTemplatesCallable
in class WorkflowTemplateServiceStub
public UnaryCallable<com.google.cloud.dataproc.v1.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.