Class TemplatesServiceGrpc.TemplatesServiceStub (0.50.0)

public static final class TemplatesServiceGrpc.TemplatesServiceStub extends AbstractAsyncStub<TemplatesServiceGrpc.TemplatesServiceStub>

A stub to allow clients to do asynchronous 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.AbstractAsyncStub > TemplatesServiceGrpc.TemplatesServiceStub

Methods

build(Channel channel, CallOptions callOptions)

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

createJobFromTemplate(CreateJobFromTemplateRequest request, StreamObserver<Job> responseObserver)

public void createJobFromTemplate(CreateJobFromTemplateRequest request, StreamObserver<Job> responseObserver)

Creates a Cloud Dataflow job from a template.

Parameters
Name Description
request CreateJobFromTemplateRequest
responseObserver io.grpc.stub.StreamObserver<Job>

getTemplate(GetTemplateRequest request, StreamObserver<GetTemplateResponse> responseObserver)

public void getTemplate(GetTemplateRequest request, StreamObserver<GetTemplateResponse> responseObserver)

Get the template associated with a template.

Parameters
Name Description
request GetTemplateRequest
responseObserver io.grpc.stub.StreamObserver<GetTemplateResponse>

launchTemplate(LaunchTemplateRequest request, StreamObserver<LaunchTemplateResponse> responseObserver)

public void launchTemplate(LaunchTemplateRequest request, StreamObserver<LaunchTemplateResponse> responseObserver)

Launch a template.

Parameters
Name Description
request LaunchTemplateRequest
responseObserver io.grpc.stub.StreamObserver<LaunchTemplateResponse>