Package com.google.dataflow.v1beta3
Class TemplatesServiceGrpc.TemplatesServiceFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<TemplatesServiceGrpc.TemplatesServiceFutureStub>
com.google.dataflow.v1beta3.TemplatesServiceGrpc.TemplatesServiceFutureStub
- Enclosing class:
- TemplatesServiceGrpc
public static final class TemplatesServiceGrpc.TemplatesServiceFutureStub
extends io.grpc.stub.AbstractFutureStub<TemplatesServiceGrpc.TemplatesServiceFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service TemplatesService.
Provides a method to create Cloud Dataflow jobs from templates.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) com.google.common.util.concurrent.ListenableFuture<Job>Creates a Cloud Dataflow job from a template.com.google.common.util.concurrent.ListenableFuture<GetTemplateResponse>getTemplate(GetTemplateRequest request) Get the template associated with a template.com.google.common.util.concurrent.ListenableFuture<LaunchTemplateResponse>launchTemplate(LaunchTemplateRequest request) Launches a template.Methods inherited from class io.grpc.stub.AbstractFutureStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected TemplatesServiceGrpc.TemplatesServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<TemplatesServiceGrpc.TemplatesServiceFutureStub>
-
createJobFromTemplate
public com.google.common.util.concurrent.ListenableFuture<Job> createJobFromTemplate(CreateJobFromTemplateRequest request) Creates a Cloud Dataflow job from a template. Do not enter confidential information when you supply string values using the API. To create a job, we recommend using `projects.locations.templates.create` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using `projects.templates.create` is not recommended, because your job will always start in `us-central1`.
-
launchTemplate
public com.google.common.util.concurrent.ListenableFuture<LaunchTemplateResponse> launchTemplate(LaunchTemplateRequest request) Launches a template. To launch a template, we recommend using `projects.locations.templates.launch` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using `projects.templates.launch` is not recommended, because jobs launched from the template will always start in `us-central1`.
-
getTemplate
public com.google.common.util.concurrent.ListenableFuture<GetTemplateResponse> getTemplate(GetTemplateRequest request) Get the template associated with a template. To get the template, we recommend using `projects.locations.templates.get` with a [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using `projects.templates.get` is not recommended, because only templates that are running in `us-central1` are retrieved.
-