Class BatchServiceStub (0.52.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

cancelJobCallable()

public UnaryCallable<CancelJobRequest,Operation> cancelJobCallable()
Returns
Type Description
UnaryCallable<CancelJobRequest,Operation>

cancelJobOperationCallable()

public OperationCallable<CancelJobRequest,CancelJobResponse,OperationMetadata> cancelJobOperationCallable()
Returns
Type Description
OperationCallable<CancelJobRequest,CancelJobResponse,OperationMetadata>

close()

public abstract void close()

createJobCallable()

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

createResourceAllowanceCallable()

public UnaryCallable<CreateResourceAllowanceRequest,ResourceAllowance> createResourceAllowanceCallable()
Returns
Type Description
UnaryCallable<CreateResourceAllowanceRequest,ResourceAllowance>

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>

deleteResourceAllowanceCallable()

public UnaryCallable<DeleteResourceAllowanceRequest,Operation> deleteResourceAllowanceCallable()
Returns
Type Description
UnaryCallable<DeleteResourceAllowanceRequest,Operation>

deleteResourceAllowanceOperationCallable()

public OperationCallable<DeleteResourceAllowanceRequest,Empty,OperationMetadata> deleteResourceAllowanceOperationCallable()
Returns
Type Description
OperationCallable<DeleteResourceAllowanceRequest,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

getResourceAllowanceCallable()

public UnaryCallable<GetResourceAllowanceRequest,ResourceAllowance> getResourceAllowanceCallable()
Returns
Type Description
UnaryCallable<GetResourceAllowanceRequest,ResourceAllowance>

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>

listResourceAllowancesCallable()

public UnaryCallable<ListResourceAllowancesRequest,ListResourceAllowancesResponse> listResourceAllowancesCallable()
Returns
Type Description
UnaryCallable<ListResourceAllowancesRequest,ListResourceAllowancesResponse>

listResourceAllowancesPagedCallable()

public UnaryCallable<ListResourceAllowancesRequest,BatchServiceClient.ListResourceAllowancesPagedResponse> listResourceAllowancesPagedCallable()
Returns
Type Description
UnaryCallable<ListResourceAllowancesRequest,ListResourceAllowancesPagedResponse>

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>

updateJobCallable()

public UnaryCallable<UpdateJobRequest,Job> updateJobCallable()
Returns
Type Description
UnaryCallable<UpdateJobRequest,Job>

updateResourceAllowanceCallable()

public UnaryCallable<UpdateResourceAllowanceRequest,ResourceAllowance> updateResourceAllowanceCallable()
Returns
Type Description
UnaryCallable<UpdateResourceAllowanceRequest,ResourceAllowance>