Class TemplatesServiceGrpc.TemplatesServiceStub (0.24.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
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
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
NameDescription
requestCreateJobFromTemplateRequest
responseObserverio.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
NameDescription
requestGetTemplateRequest
responseObserverio.grpc.stub.StreamObserver<GetTemplateResponse>

launchTemplate(LaunchTemplateRequest request, StreamObserver<LaunchTemplateResponse> responseObserver)

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

Launch a template.

Parameters
NameDescription
requestLaunchTemplateRequest
responseObserverio.grpc.stub.StreamObserver<LaunchTemplateResponse>