Class TemplatesServiceGrpc (0.58.0)

public final class TemplatesServiceGrpc

Provides a method to create Cloud Dataflow jobs from templates.

Inheritance

java.lang.Object > TemplatesServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(TemplatesServiceGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(TemplatesServiceGrpc.AsyncService service)
Parameter
Name Description
service TemplatesServiceGrpc.AsyncService
Returns
Type Description
io.grpc.ServerServiceDefinition

getCreateJobFromTemplateMethod()

public static MethodDescriptor<CreateJobFromTemplateRequest,Job> getCreateJobFromTemplateMethod()
Returns
Type Description
io.grpc.MethodDescriptor<CreateJobFromTemplateRequest,Job>

getGetTemplateMethod()

public static MethodDescriptor<GetTemplateRequest,GetTemplateResponse> getGetTemplateMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GetTemplateRequest,GetTemplateResponse>

getLaunchTemplateMethod()

public static MethodDescriptor<LaunchTemplateRequest,LaunchTemplateResponse> getLaunchTemplateMethod()
Returns
Type Description
io.grpc.MethodDescriptor<LaunchTemplateRequest,LaunchTemplateResponse>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
Type Description
io.grpc.ServiceDescriptor

newBlockingStub(Channel channel)

public static TemplatesServiceGrpc.TemplatesServiceBlockingStub newBlockingStub(Channel channel)

Creates a new blocking-style stub that supports unary and streaming output calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
TemplatesServiceGrpc.TemplatesServiceBlockingStub

newFutureStub(Channel channel)

public static TemplatesServiceGrpc.TemplatesServiceFutureStub newFutureStub(Channel channel)

Creates a new ListenableFuture-style stub that supports unary calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
TemplatesServiceGrpc.TemplatesServiceFutureStub

newStub(Channel channel)

public static TemplatesServiceGrpc.TemplatesServiceStub newStub(Channel channel)

Creates a new async stub that supports all call types for the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
TemplatesServiceGrpc.TemplatesServiceStub