Class TemplatesServiceGrpc (0.38.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
TypeDescription
String

Static Methods

bindService(TemplatesServiceGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(TemplatesServiceGrpc.AsyncService service)
Parameter
NameDescription
serviceTemplatesServiceGrpc.AsyncService
Returns
TypeDescription
io.grpc.ServerServiceDefinition

getCreateJobFromTemplateMethod()

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

getGetTemplateMethod()

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

getLaunchTemplateMethod()

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

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
TemplatesServiceGrpc.TemplatesServiceStub