Class TemplatesServiceGrpc.TemplatesServiceBlockingStub (0.38.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
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
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
NameDescription
requestCreateJobFromTemplateRequest
Returns
TypeDescription
Job

getTemplate(GetTemplateRequest request)

public GetTemplateResponse getTemplate(GetTemplateRequest request)

Get the template associated with a template.

Parameter
NameDescription
requestGetTemplateRequest
Returns
TypeDescription
GetTemplateResponse

launchTemplate(LaunchTemplateRequest request)

public LaunchTemplateResponse launchTemplate(LaunchTemplateRequest request)

Launch a template.

Parameter
NameDescription
requestLaunchTemplateRequest
Returns
TypeDescription
LaunchTemplateResponse