@Generated(value="by gapic-generator-java") public class GrpcBatchServiceStub extends BatchServiceStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
GrpcBatchServiceStub(BatchServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcBatchServiceStub, using the given settings.
|
protected |
GrpcBatchServiceStub(BatchServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcBatchServiceStub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static GrpcBatchServiceStub |
create(BatchServiceStubSettings settings) |
static GrpcBatchServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static GrpcBatchServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) |
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.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.GrpcOperationsStub |
getOperationsStub() |
com.google.api.gax.rpc.UnaryCallable<GetTaskRequest,Task> |
getTaskCallable() |
boolean |
isShutdown() |
boolean |
isTerminated() |
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() |
void |
shutdown() |
void |
shutdownNow() |
getHttpJsonOperationsStubprotected GrpcBatchServiceStub(BatchServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected GrpcBatchServiceStub(BatchServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final GrpcBatchServiceStub create(BatchServiceStubSettings settings) throws IOException
IOExceptionpublic static final GrpcBatchServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final GrpcBatchServiceStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic com.google.longrunning.stub.GrpcOperationsStub getOperationsStub()
getOperationsStub in class BatchServiceStubpublic com.google.api.gax.rpc.UnaryCallable<CreateJobRequest,Job> createJobCallable()
createJobCallable in class BatchServiceStubpublic com.google.api.gax.rpc.UnaryCallable<GetJobRequest,Job> getJobCallable()
getJobCallable in class BatchServiceStubpublic com.google.api.gax.rpc.UnaryCallable<DeleteJobRequest,com.google.longrunning.Operation> deleteJobCallable()
deleteJobCallable in class BatchServiceStubpublic com.google.api.gax.rpc.OperationCallable<DeleteJobRequest,com.google.protobuf.Empty,OperationMetadata> deleteJobOperationCallable()
deleteJobOperationCallable in class BatchServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ListJobsRequest,ListJobsResponse> listJobsCallable()
listJobsCallable in class BatchServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ListJobsRequest,BatchServiceClient.ListJobsPagedResponse> listJobsPagedCallable()
listJobsPagedCallable in class BatchServiceStubpublic com.google.api.gax.rpc.UnaryCallable<GetTaskRequest,Task> getTaskCallable()
getTaskCallable in class BatchServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ListTasksRequest,ListTasksResponse> listTasksCallable()
listTasksCallable in class BatchServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ListTasksRequest,BatchServiceClient.ListTasksPagedResponse> listTasksPagedCallable()
listTasksPagedCallable in class BatchServiceStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> listLocationsCallable()
listLocationsCallable in class BatchServiceStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,BatchServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()
listLocationsPagedCallable in class BatchServiceStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationCallable()
getLocationCallable in class BatchServiceStubpublic final void close()
close in interface AutoCloseableclose in class BatchServiceStubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2024 Google LLC. All rights reserved.