Class BatchJobServiceGrpc.BatchJobServiceStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractAsyncStub<BatchJobServiceGrpc.BatchJobServiceStub>
-
- com.google.ads.googleads.v10.services.BatchJobServiceGrpc.BatchJobServiceStub
-
- Enclosing class:
- BatchJobServiceGrpc
public static final class BatchJobServiceGrpc.BatchJobServiceStub extends io.grpc.stub.AbstractAsyncStub<BatchJobServiceGrpc.BatchJobServiceStub>
Service to manage batch jobs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddBatchJobOperations(AddBatchJobOperationsRequest request, io.grpc.stub.StreamObserver<AddBatchJobOperationsResponse> responseObserver)Add operations to the batch job.protected BatchJobServiceGrpc.BatchJobServiceStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions)voidlistBatchJobResults(ListBatchJobResultsRequest request, io.grpc.stub.StreamObserver<ListBatchJobResultsResponse> responseObserver)Returns the results of the batch job.voidmutateBatchJob(MutateBatchJobRequest request, io.grpc.stub.StreamObserver<MutateBatchJobResponse> responseObserver)Mutates a batch job.voidrunBatchJob(RunBatchJobRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)Runs the batch job.
-
-
-
Method Detail
-
build
protected BatchJobServiceGrpc.BatchJobServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
buildin classio.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]()
-
-