Class TemplatesServiceGrpc.TemplatesServiceFutureStub (0.15.0)

public static final class TemplatesServiceGrpc.TemplatesServiceFutureStub extends AbstractFutureStub<TemplatesServiceGrpc.TemplatesServiceFutureStub>

Provides a method to create Cloud Dataflow jobs from templates.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > TemplatesServiceGrpc.TemplatesServiceFutureStub

Methods

build(Channel channel, CallOptions callOptions)

protected TemplatesServiceGrpc.TemplatesServiceFutureStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
TemplatesServiceGrpc.TemplatesServiceFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createJobFromTemplate(CreateJobFromTemplateRequest request)

public ListenableFuture<Job> createJobFromTemplate(CreateJobFromTemplateRequest request)

Creates a Cloud Dataflow job from a template.

Parameter
NameDescription
requestCreateJobFromTemplateRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Job>

getTemplate(GetTemplateRequest request)

public ListenableFuture<GetTemplateResponse> getTemplate(GetTemplateRequest request)

Get the template associated with a template.

Parameter
NameDescription
requestGetTemplateRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<GetTemplateResponse>

launchTemplate(LaunchTemplateRequest request)

public ListenableFuture<LaunchTemplateResponse> launchTemplate(LaunchTemplateRequest request)

Launch a template.

Parameter
NameDescription
requestLaunchTemplateRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<LaunchTemplateResponse>