public static final class BatchServiceGrpc.BatchServiceBlockingV2Stub extends 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.
Inheritance
java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > BatchServiceGrpc.BatchServiceBlockingV2StubMethods
build(Channel channel, CallOptions callOptions)
protected BatchServiceGrpc.BatchServiceBlockingV2Stub build(Channel channel, CallOptions callOptions)| Parameters | |
|---|---|
| Name | Description |
channel |
io.grpc.Channel |
callOptions |
io.grpc.CallOptions |
| Returns | |
|---|---|
| Type | Description |
BatchServiceGrpc.BatchServiceBlockingV2Stub |
|
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
cancelJob(CancelJobRequest request)
public Operation cancelJob(CancelJobRequest request)Cancel a Job.
| Parameter | |
|---|---|
| Name | Description |
request |
CancelJobRequest |
| Returns | |
|---|---|
| Type | Description |
Operation |
|
| Exceptions | |
|---|---|
| Type | Description |
io.grpc.StatusException |
|
createJob(CreateJobRequest request)
public Job createJob(CreateJobRequest request)Create a Job.
| Parameter | |
|---|---|
| Name | Description |
request |
CreateJobRequest |
| Returns | |
|---|---|
| Type | Description |
Job |
|
| Exceptions | |
|---|---|
| Type | Description |
io.grpc.StatusException |
|
deleteJob(DeleteJobRequest request)
public Operation deleteJob(DeleteJobRequest request)Delete a Job.
| Parameter | |
|---|---|
| Name | Description |
request |
DeleteJobRequest |
| Returns | |
|---|---|
| Type | Description |
Operation |
|
| Exceptions | |
|---|---|
| Type | Description |
io.grpc.StatusException |
|
getJob(GetJobRequest request)
public Job getJob(GetJobRequest request)Get a Job specified by its resource name.
| Parameter | |
|---|---|
| Name | Description |
request |
GetJobRequest |
| Returns | |
|---|---|
| Type | Description |
Job |
|
| Exceptions | |
|---|---|
| Type | Description |
io.grpc.StatusException |
|
getTask(GetTaskRequest request)
public Task getTask(GetTaskRequest request)Return a single Task.
| Parameter | |
|---|---|
| Name | Description |
request |
GetTaskRequest |
| Returns | |
|---|---|
| Type | Description |
Task |
|
| Exceptions | |
|---|---|
| Type | Description |
io.grpc.StatusException |
|
listJobs(ListJobsRequest request)
public ListJobsResponse listJobs(ListJobsRequest request)List all Jobs for a project within a region.
| Parameter | |
|---|---|
| Name | Description |
request |
ListJobsRequest |
| Returns | |
|---|---|
| Type | Description |
ListJobsResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
io.grpc.StatusException |
|
listTasks(ListTasksRequest request)
public ListTasksResponse listTasks(ListTasksRequest request)List Tasks associated with a job.
| Parameter | |
|---|---|
| Name | Description |
request |
ListTasksRequest |
| Returns | |
|---|---|
| Type | Description |
ListTasksResponse |
|
| Exceptions | |
|---|---|
| Type | Description |
io.grpc.StatusException |
|