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.
-
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 TypeMethodDescriptionvoidaddBatchJobOperations(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.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 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]()
-