Class BatchServiceGrpc (0.52.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

bindService(BatchServiceGrpc.AsyncService service)

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

getCancelJobMethod()

public static MethodDescriptor<CancelJobRequest,Operation> getCancelJobMethod()
Returns
Type Description
io.grpc.MethodDescriptor<CancelJobRequest,Operation>

getCreateJobMethod()

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

getCreateResourceAllowanceMethod()

public static MethodDescriptor<CreateResourceAllowanceRequest,ResourceAllowance> getCreateResourceAllowanceMethod()
Returns
Type Description
io.grpc.MethodDescriptor<CreateResourceAllowanceRequest,ResourceAllowance>

getDeleteJobMethod()

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

getDeleteResourceAllowanceMethod()

public static MethodDescriptor<DeleteResourceAllowanceRequest,Operation> getDeleteResourceAllowanceMethod()
Returns
Type Description
io.grpc.MethodDescriptor<DeleteResourceAllowanceRequest,Operation>

getGetJobMethod()

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

getGetResourceAllowanceMethod()

public static MethodDescriptor<GetResourceAllowanceRequest,ResourceAllowance> getGetResourceAllowanceMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GetResourceAllowanceRequest,ResourceAllowance>

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>

getListResourceAllowancesMethod()

public static MethodDescriptor<ListResourceAllowancesRequest,ListResourceAllowancesResponse> getListResourceAllowancesMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListResourceAllowancesRequest,ListResourceAllowancesResponse>

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

getUpdateJobMethod()

public static MethodDescriptor<UpdateJobRequest,Job> getUpdateJobMethod()
Returns
Type Description
io.grpc.MethodDescriptor<UpdateJobRequest,Job>

getUpdateResourceAllowanceMethod()

public static MethodDescriptor<UpdateResourceAllowanceRequest,ResourceAllowance> getUpdateResourceAllowanceMethod()
Returns
Type Description
io.grpc.MethodDescriptor<UpdateResourceAllowanceRequest,ResourceAllowance>

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