Class BatchServiceStub
- java.lang.Object
-
- com.google.cloud.batch.v1alpha.stub.BatchServiceStub
-
- All Implemented Interfaces:
com.google.api.gax.core.BackgroundResource,AutoCloseable
- Direct Known Subclasses:
GrpcBatchServiceStub,HttpJsonBatchServiceStub
@BetaApi @Generated("by gapic-generator-java") public abstract class BatchServiceStub extends Object implements com.google.api.gax.core.BackgroundResource
Base stub class for the BatchService service API.This class is for advanced usage and reflects the underlying API directly.
-
-
Constructor Summary
Constructors Constructor Description BatchServiceStub()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract voidclose()com.google.api.gax.rpc.UnaryCallable<CreateJobRequest,Job>createJobCallable()com.google.api.gax.rpc.UnaryCallable<DeleteJobRequest,com.google.longrunning.Operation>deleteJobCallable()com.google.api.gax.rpc.OperationCallable<DeleteJobRequest,com.google.protobuf.Empty,OperationMetadata>deleteJobOperationCallable()com.google.api.gax.httpjson.longrunning.stub.OperationsStubgetHttpJsonOperationsStub()com.google.api.gax.rpc.UnaryCallable<GetJobRequest,Job>getJobCallable()com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>getLocationCallable()com.google.longrunning.stub.OperationsStubgetOperationsStub()com.google.api.gax.rpc.UnaryCallable<GetTaskRequest,Task>getTaskCallable()com.google.api.gax.rpc.UnaryCallable<ListJobsRequest,ListJobsResponse>listJobsCallable()com.google.api.gax.rpc.UnaryCallable<ListJobsRequest,BatchServiceClient.ListJobsPagedResponse>listJobsPagedCallable()com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse>listLocationsCallable()com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,BatchServiceClient.ListLocationsPagedResponse>listLocationsPagedCallable()com.google.api.gax.rpc.UnaryCallable<ListTasksRequest,ListTasksResponse>listTasksCallable()com.google.api.gax.rpc.UnaryCallable<ListTasksRequest,BatchServiceClient.ListTasksPagedResponse>listTasksPagedCallable()
-
-
-
Method Detail
-
getOperationsStub
public com.google.longrunning.stub.OperationsStub getOperationsStub()
-
getHttpJsonOperationsStub
public com.google.api.gax.httpjson.longrunning.stub.OperationsStub getHttpJsonOperationsStub()
-
createJobCallable
public com.google.api.gax.rpc.UnaryCallable<CreateJobRequest,Job> createJobCallable()
-
getJobCallable
public com.google.api.gax.rpc.UnaryCallable<GetJobRequest,Job> getJobCallable()
-
deleteJobOperationCallable
public com.google.api.gax.rpc.OperationCallable<DeleteJobRequest,com.google.protobuf.Empty,OperationMetadata> deleteJobOperationCallable()
-
deleteJobCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteJobRequest,com.google.longrunning.Operation> deleteJobCallable()
-
listJobsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListJobsRequest,BatchServiceClient.ListJobsPagedResponse> listJobsPagedCallable()
-
listJobsCallable
public com.google.api.gax.rpc.UnaryCallable<ListJobsRequest,ListJobsResponse> listJobsCallable()
-
getTaskCallable
public com.google.api.gax.rpc.UnaryCallable<GetTaskRequest,Task> getTaskCallable()
-
listTasksPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListTasksRequest,BatchServiceClient.ListTasksPagedResponse> listTasksPagedCallable()
-
listTasksCallable
public com.google.api.gax.rpc.UnaryCallable<ListTasksRequest,ListTasksResponse> listTasksCallable()
-
listLocationsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,BatchServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()
-
listLocationsCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> listLocationsCallable()
-
getLocationCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationCallable()
-
close
public abstract void close()
- Specified by:
closein interfaceAutoCloseable
-
-