Class BatchJobServiceGrpc.BatchJobServiceStub

java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<BatchJobServiceGrpc.BatchJobServiceStub>
com.google.ads.googleads.v18.services.BatchJobServiceGrpc.BatchJobServiceStub
Enclosing class:
BatchJobServiceGrpc

public static final class BatchJobServiceGrpc.BatchJobServiceStub extends io.grpc.stub.AbstractAsyncStub<BatchJobServiceGrpc.BatchJobServiceStub>
A stub to allow clients to do asynchronous rpc calls to service BatchJobService.
 Service to manage batch jobs.
 
  • Method Details

    • build

      protected BatchJobServiceGrpc.BatchJobServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<BatchJobServiceGrpc.BatchJobServiceStub>
    • mutateBatchJob

      public void mutateBatchJob(MutateBatchJobRequest request, io.grpc.stub.StreamObserver<MutateBatchJobResponse> responseObserver)
       Mutates a batch job.
       List of thrown errors:
         [AuthenticationError]()
         [AuthorizationError]()
         [HeaderError]()
         [InternalError]()
         [QuotaError]()
         [RequestError]()
         [ResourceCountLimitExceededError]()
       
    • listBatchJobResults

      public void listBatchJobResults(ListBatchJobResultsRequest request, io.grpc.stub.StreamObserver<ListBatchJobResultsResponse> responseObserver)
       Returns the results of the batch job. The job must be done.
       Supports standard list paging.
       List of thrown errors:
         [AuthenticationError]()
         [AuthorizationError]()
         [BatchJobError]()
         [HeaderError]()
         [InternalError]()
         [QuotaError]()
         [RequestError]()
       
    • runBatchJob

      public void runBatchJob(RunBatchJobRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
       Runs the batch job.
       The Operation.metadata field type is BatchJobMetadata. When finished, the
       long running operation will not contain errors or a response. Instead, use
       ListBatchJobResults to get the results of the job.
       List of thrown errors:
         [AuthenticationError]()
         [AuthorizationError]()
         [BatchJobError]()
         [HeaderError]()
         [InternalError]()
         [QuotaError]()
         [RequestError]()
       
    • addBatchJobOperations

      public void addBatchJobOperations(AddBatchJobOperationsRequest request, io.grpc.stub.StreamObserver<AddBatchJobOperationsResponse> responseObserver)
       Add operations to the batch job.
       List of thrown errors:
         [AuthenticationError]()
         [AuthorizationError]()
         [BatchJobError]()
         [HeaderError]()
         [InternalError]()
         [QuotaError]()
         [RequestError]()
         [ResourceCountLimitExceededError]()