Class TemplatesServiceGrpc.TemplatesServiceBlockingStub (0.52.0)

public static final class TemplatesServiceGrpc.TemplatesServiceBlockingStub extends AbstractBlockingStub<TemplatesServiceGrpc.TemplatesServiceBlockingStub>

A stub to allow clients to do synchronous 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.AbstractBlockingStub > TemplatesServiceGrpc.TemplatesServiceBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

protected TemplatesServiceGrpc.TemplatesServiceBlockingStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
TemplatesServiceGrpc.TemplatesServiceBlockingStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createJobFromTemplate(CreateJobFromTemplateRequest request)

public Job createJobFromTemplate(CreateJobFromTemplateRequest request)

Creates a Cloud Dataflow job from a template.

Parameter
Name Description
request CreateJobFromTemplateRequest
Returns
Type Description
Job

getTemplate(GetTemplateRequest request)

public GetTemplateResponse getTemplate(GetTemplateRequest request)

Get the template associated with a template.

Parameter
Name Description
request GetTemplateRequest
Returns
Type Description
GetTemplateResponse

launchTemplate(LaunchTemplateRequest request)

public LaunchTemplateResponse launchTemplate(LaunchTemplateRequest request)

Launch a template.

Parameter
Name Description
request LaunchTemplateRequest
Returns
Type Description
LaunchTemplateResponse