@BetaApi @Generated(value="by gapic-generator-java") public class HttpJsonBatchServiceStub extends BatchServiceStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
HttpJsonBatchServiceStub(BatchServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonBatchServiceStub, using the given settings.
|
protected |
HttpJsonBatchServiceStub(BatchServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonBatchServiceStub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static HttpJsonBatchServiceStub |
create(BatchServiceStubSettings settings) |
static HttpJsonBatchServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static HttpJsonBatchServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory 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.httpjson.longrunning.stub.HttpJsonOperationsStub |
getHttpJsonOperationsStub() |
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() |
static List<com.google.api.gax.httpjson.ApiMethodDescriptor> |
getMethodDescriptors() |
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() |
getOperationsStubprotected HttpJsonBatchServiceStub(BatchServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected HttpJsonBatchServiceStub(BatchServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final HttpJsonBatchServiceStub create(BatchServiceStubSettings settings) throws IOException
IOExceptionpublic static final HttpJsonBatchServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final HttpJsonBatchServiceStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOException@InternalApi public static List<com.google.api.gax.httpjson.ApiMethodDescriptor> getMethodDescriptors()
public com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub getHttpJsonOperationsStub()
getHttpJsonOperationsStub 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.