Package com.google.cloud.batch.v1alpha
Class BatchServiceGrpc.BatchServiceBlockingV2Stub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<BatchServiceGrpc.BatchServiceBlockingV2Stub>
com.google.cloud.batch.v1alpha.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.
-
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 TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) cancelJob(CancelJobRequest request) Cancel a Job.createJob(CreateJobRequest request) Create a Job.Create a Resource Allowance.deleteJob(DeleteJobRequest request) Delete a Job.Delete a ResourceAllowance.getJob(GetJobRequest request) Get a Job specified by its resource name.Get a ResourceAllowance specified by its resource name.getTask(GetTaskRequest request) Return a single Task.listJobs(ListJobsRequest request) List all Jobs for a project within a region.List all ResourceAllowances for a project within a region.listTasks(ListTasksRequest request) List Tasks associated with a job.updateJob(UpdateJobRequest request) Update a Job.Update a Resource Allowance.Methods inherited from class io.grpc.stub.AbstractBlockingStub
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 BatchServiceGrpc.BatchServiceBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<BatchServiceGrpc.BatchServiceBlockingV2Stub>
-
createJob
Create a Job.
- Throws:
io.grpc.StatusException
-
getJob
Get a Job specified by its resource name.
- Throws:
io.grpc.StatusException
-
deleteJob
Delete a Job.
- Throws:
io.grpc.StatusException
-
cancelJob
Cancel a Job.
- Throws:
io.grpc.StatusException
-
updateJob
Update a Job.
- Throws:
io.grpc.StatusException
-
listJobs
List all Jobs for a project within a region.
- Throws:
io.grpc.StatusException
-
getTask
Return a single Task.
- Throws:
io.grpc.StatusException
-
listTasks
List Tasks associated with a job.
- Throws:
io.grpc.StatusException
-
createResourceAllowance
public ResourceAllowance createResourceAllowance(CreateResourceAllowanceRequest request) throws io.grpc.StatusException Create a Resource Allowance.
- Throws:
io.grpc.StatusException
-
getResourceAllowance
public ResourceAllowance getResourceAllowance(GetResourceAllowanceRequest request) throws io.grpc.StatusException Get a ResourceAllowance specified by its resource name.
- Throws:
io.grpc.StatusException
-
deleteResourceAllowance
public Operation deleteResourceAllowance(DeleteResourceAllowanceRequest request) throws io.grpc.StatusException Delete a ResourceAllowance.
- Throws:
io.grpc.StatusException
-
listResourceAllowances
public ListResourceAllowancesResponse listResourceAllowances(ListResourceAllowancesRequest request) throws io.grpc.StatusException List all ResourceAllowances for a project within a region.
- Throws:
io.grpc.StatusException
-
updateResourceAllowance
public ResourceAllowance updateResourceAllowance(UpdateResourceAllowanceRequest request) throws io.grpc.StatusException Update a Resource Allowance.
- Throws:
io.grpc.StatusException
-