Class BatchServiceStub (0.34.0)

public abstract class BatchServiceStub implements BackgroundResource

Base stub class for the BatchService service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > BatchServiceStub

Implements

BackgroundResource

Constructors

BatchServiceStub()

public BatchServiceStub()

Methods

close()

public abstract void close()

createJobCallable()

public UnaryCallable<CreateJobRequest,Job> createJobCallable()
Returns
Type Description
UnaryCallable<CreateJobRequest,Job>

deleteJobCallable()

public UnaryCallable<DeleteJobRequest,Operation> deleteJobCallable()
Returns
Type Description
UnaryCallable<DeleteJobRequest,Operation>

deleteJobOperationCallable()

public OperationCallable<DeleteJobRequest,Empty,OperationMetadata> deleteJobOperationCallable()
Returns
Type Description
OperationCallable<DeleteJobRequest,Empty,OperationMetadata>

getHttpJsonOperationsStub()

public OperationsStub getHttpJsonOperationsStub()
Returns
Type Description
OperationsStub

getJobCallable()

public UnaryCallable<GetJobRequest,Job> getJobCallable()
Returns
Type Description
UnaryCallable<GetJobRequest,Job>

getLocationCallable()

public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>

getOperationsStub()

public OperationsStub getOperationsStub()
Returns
Type Description
OperationsStub

getTaskCallable()

public UnaryCallable<GetTaskRequest,Task> getTaskCallable()
Returns
Type Description
UnaryCallable<GetTaskRequest,Task>

listJobsCallable()

public UnaryCallable<ListJobsRequest,ListJobsResponse> listJobsCallable()
Returns
Type Description
UnaryCallable<ListJobsRequest,ListJobsResponse>

listJobsPagedCallable()

public UnaryCallable<ListJobsRequest,BatchServiceClient.ListJobsPagedResponse> listJobsPagedCallable()
Returns
Type Description
UnaryCallable<ListJobsRequest,ListJobsPagedResponse>

listLocationsCallable()

public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse>

listLocationsPagedCallable()

public UnaryCallable<ListLocationsRequest,BatchServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>

listTasksCallable()

public UnaryCallable<ListTasksRequest,ListTasksResponse> listTasksCallable()
Returns
Type Description
UnaryCallable<ListTasksRequest,ListTasksResponse>

listTasksPagedCallable()

public UnaryCallable<ListTasksRequest,BatchServiceClient.ListTasksPagedResponse> listTasksPagedCallable()
Returns
Type Description
UnaryCallable<ListTasksRequest,ListTasksPagedResponse>