Package com.google.cloud.batch.v1
Class BatchServiceGrpc.BatchServiceStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<BatchServiceGrpc.BatchServiceStub>
com.google.cloud.batch.v1.BatchServiceGrpc.BatchServiceStub
- Enclosing class:
- BatchServiceGrpc
public static final class BatchServiceGrpc.BatchServiceStub
extends io.grpc.stub.AbstractAsyncStub<BatchServiceGrpc.BatchServiceStub>
A stub to allow clients to do asynchronous 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 TypeMethodDescriptionprotected BatchServiceGrpc.BatchServiceStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) voidcancelJob(CancelJobRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Cancel a Job.voidcreateJob(CreateJobRequest request, io.grpc.stub.StreamObserver<Job> responseObserver) Create a Job.voiddeleteJob(DeleteJobRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Delete a Job.voidgetJob(GetJobRequest request, io.grpc.stub.StreamObserver<Job> responseObserver) Get a Job specified by its resource name.voidgetTask(GetTaskRequest request, io.grpc.stub.StreamObserver<Task> responseObserver) Return a single Task.voidlistJobs(ListJobsRequest request, io.grpc.stub.StreamObserver<ListJobsResponse> responseObserver) List all Jobs for a project within a region.voidlistTasks(ListTasksRequest request, io.grpc.stub.StreamObserver<ListTasksResponse> responseObserver) List Tasks associated with a job.Methods inherited from class io.grpc.stub.AbstractAsyncStub
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.BatchServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<BatchServiceGrpc.BatchServiceStub>
-
createJob
Create a Job.
-
getJob
Get a Job specified by its resource name.
-
deleteJob
public void deleteJob(DeleteJobRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Delete a Job.
-
cancelJob
public void cancelJob(CancelJobRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Cancel a Job.
-
listJobs
public void listJobs(ListJobsRequest request, io.grpc.stub.StreamObserver<ListJobsResponse> responseObserver) List all Jobs for a project within a region.
-
getTask
Return a single Task.
-
listTasks
public void listTasks(ListTasksRequest request, io.grpc.stub.StreamObserver<ListTasksResponse> responseObserver) List Tasks associated with a job.
-