Class BatchServiceGrpc (0.10.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
Type Description
String

Static Methods

getCreateJobMethod()

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

getDeleteJobMethod()

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

getGetJobMethod()

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

getGetTaskMethod()

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

getListJobsMethod()

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

getListTasksMethod()

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

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
BatchServiceGrpc.BatchServiceStub