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 Type
    Method
    Description
    build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
     
    void
    cancelJob(CancelJobRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
    Cancel a Job.
    void
    createJob(CreateJobRequest request, io.grpc.stub.StreamObserver<Job> responseObserver)
    Create a Job.
    void
    deleteJob(DeleteJobRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
    Delete a Job.
    void
    getJob(GetJobRequest request, io.grpc.stub.StreamObserver<Job> responseObserver)
    Get a Job specified by its resource name.
    void
    getTask(GetTaskRequest request, io.grpc.stub.StreamObserver<Task> responseObserver)
    Return a single Task.
    void
    listJobs(ListJobsRequest request, io.grpc.stub.StreamObserver<ListJobsResponse> responseObserver)
    List all Jobs for a project within a region.
    void
    listTasks(ListTasksRequest request, io.grpc.stub.StreamObserver<ListTasksResponse> responseObserver)
    List Tasks associated with a job.

    Methods inherited from class io.grpc.stub.AbstractAsyncStub

    newStub, newStub

    Methods inherited from class io.grpc.stub.AbstractStub

    getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • build

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

      public void createJob(CreateJobRequest request, io.grpc.stub.StreamObserver<Job> responseObserver)
       Create a Job.
       
    • getJob

      public void getJob(GetJobRequest request, io.grpc.stub.StreamObserver<Job> responseObserver)
       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

      public void getTask(GetTaskRequest request, io.grpc.stub.StreamObserver<Task> responseObserver)
       Return a single Task.
       
    • listTasks

      public void listTasks(ListTasksRequest request, io.grpc.stub.StreamObserver<ListTasksResponse> responseObserver)
       List Tasks associated with a job.