Class TemplatesServiceGrpc.TemplatesServiceFutureStub (0.51.0)

public static final class TemplatesServiceGrpc.TemplatesServiceFutureStub extends 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.

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
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
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
Name Description
request CreateJobFromTemplateRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Job>

getTemplate(GetTemplateRequest request)

public ListenableFuture<GetTemplateResponse> getTemplate(GetTemplateRequest request)

Get the template associated with a template.

Parameter
Name Description
request GetTemplateRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<GetTemplateResponse>

launchTemplate(LaunchTemplateRequest request)

public ListenableFuture<LaunchTemplateResponse> launchTemplate(LaunchTemplateRequest request)

Launch a template.

Parameter
Name Description
request LaunchTemplateRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<LaunchTemplateResponse>