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.
 
  • Method Details

    • build

      protected BatchServiceGrpc.BatchServiceBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<BatchServiceGrpc.BatchServiceBlockingV2Stub>
    • createJob

      public Job createJob(CreateJobRequest request) throws io.grpc.StatusException
       Create a Job.
       
      Throws:
      io.grpc.StatusException
    • getJob

      public Job getJob(GetJobRequest request) throws io.grpc.StatusException
       Get a Job specified by its resource name.
       
      Throws:
      io.grpc.StatusException
    • deleteJob

      public Operation deleteJob(DeleteJobRequest request) throws io.grpc.StatusException
       Delete a Job.
       
      Throws:
      io.grpc.StatusException
    • cancelJob

      public Operation cancelJob(CancelJobRequest request) throws io.grpc.StatusException
       Cancel a Job.
       
      Throws:
      io.grpc.StatusException
    • listJobs

      public ListJobsResponse listJobs(ListJobsRequest request) throws io.grpc.StatusException
       List all Jobs for a project within a region.
       
      Throws:
      io.grpc.StatusException
    • getTask

      public Task getTask(GetTaskRequest request) throws io.grpc.StatusException
       Return a single Task.
       
      Throws:
      io.grpc.StatusException
    • listTasks

      public ListTasksResponse listTasks(ListTasksRequest request) throws io.grpc.StatusException
       List Tasks associated with a job.
       
      Throws:
      io.grpc.StatusException