Class BatchServiceGrpc (0.2.0)

public final class BatchServiceGrpc

Google Batch Service. The service manages user submitted batch jobs and allocates Google Compute Engine VM instances to run the jobs.

Inheritance

java.lang.Object > BatchServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
TypeDescription
String

Static Methods

getCreateJobMethod()

public static MethodDescriptor<CreateJobRequest,Job> getCreateJobMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<CreateJobRequest,Job>

getDeleteJobMethod()

public static MethodDescriptor<DeleteJobRequest,Operation> getDeleteJobMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<DeleteJobRequest,Operation>

getGetJobMethod()

public static MethodDescriptor<GetJobRequest,Job> getGetJobMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GetJobRequest,Job>

getGetTaskMethod()

public static MethodDescriptor<GetTaskRequest,Task> getGetTaskMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GetTaskRequest,Task>

getListJobsMethod()

public static MethodDescriptor<ListJobsRequest,ListJobsResponse> getListJobsMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ListJobsRequest,ListJobsResponse>

getListTasksMethod()

public static MethodDescriptor<ListTasksRequest,ListTasksResponse> getListTasksMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ListTasksRequest,ListTasksResponse>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
TypeDescription
io.grpc.ServiceDescriptor

newBlockingStub(Channel channel)

public static BatchServiceGrpc.BatchServiceBlockingStub 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
BatchServiceGrpc.BatchServiceBlockingStub

newFutureStub(Channel channel)

public static BatchServiceGrpc.BatchServiceFutureStub newFutureStub(Channel channel)

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

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
BatchServiceGrpc.BatchServiceFutureStub

newStub(Channel channel)

public static BatchServiceGrpc.BatchServiceStub newStub(Channel channel)

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

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
BatchServiceGrpc.BatchServiceStub