Package com.google.cloud.batch.v1
Class BatchServiceGrpc.BatchServiceBlockingV2Stub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<BatchServiceGrpc.BatchServiceBlockingV2Stub>
com.google.cloud.batch.v1.BatchServiceGrpc.BatchServiceBlockingV2Stub
- Enclosing class:
- BatchServiceGrpc
public static final class BatchServiceGrpc.BatchServiceBlockingV2Stub
extends io.grpc.stub.AbstractBlockingStub<BatchServiceGrpc.BatchServiceBlockingV2Stub>
A stub to allow clients to do synchronous rpc calls to service BatchService.
Google Batch Service. The service manages user submitted batch jobs and allocates Google Compute Engine VM instances to run the jobs.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) cancelJob(CancelJobRequest request) Cancel a Job.createJob(CreateJobRequest request) Create a Job.deleteJob(DeleteJobRequest request) Delete a Job.getJob(GetJobRequest request) Get a Job specified by its resource name.getTask(GetTaskRequest request) Return a single Task.listJobs(ListJobsRequest request) List all Jobs for a project within a region.listTasks(ListTasksRequest request) List Tasks associated with a job.Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected BatchServiceGrpc.BatchServiceBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<BatchServiceGrpc.BatchServiceBlockingV2Stub>
-
createJob
Create a Job.
- Throws:
io.grpc.StatusException
-
getJob
Get a Job specified by its resource name.
- Throws:
io.grpc.StatusException
-
deleteJob
Delete a Job.
- Throws:
io.grpc.StatusException
-
cancelJob
Cancel a Job.
- Throws:
io.grpc.StatusException
-
listJobs
List all Jobs for a project within a region.
- Throws:
io.grpc.StatusException
-
getTask
Return a single Task.
- Throws:
io.grpc.StatusException
-
listTasks
List Tasks associated with a job.
- Throws:
io.grpc.StatusException
-