@Generated(value="by gapic-generator-java") @BetaApi public class HttpJsonJobControllerStub extends JobControllerStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
HttpJsonJobControllerStub(JobControllerStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonJobControllerStub, using the given settings.
|
protected |
HttpJsonJobControllerStub(JobControllerStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonJobControllerStub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
com.google.api.gax.rpc.UnaryCallable<CancelJobRequest,Job> |
cancelJobCallable() |
void |
close() |
static HttpJsonJobControllerStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static HttpJsonJobControllerStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) |
static HttpJsonJobControllerStub |
create(JobControllerStubSettings settings) |
com.google.api.gax.rpc.UnaryCallable<DeleteJobRequest,com.google.protobuf.Empty> |
deleteJobCallable() |
com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub |
getHttpJsonOperationsStub() |
com.google.api.gax.rpc.UnaryCallable<GetJobRequest,Job> |
getJobCallable() |
static List<com.google.api.gax.httpjson.ApiMethodDescriptor> |
getMethodDescriptors() |
boolean |
isShutdown() |
boolean |
isTerminated() |
com.google.api.gax.rpc.UnaryCallable<ListJobsRequest,ListJobsResponse> |
listJobsCallable() |
com.google.api.gax.rpc.UnaryCallable<ListJobsRequest,JobControllerClient.ListJobsPagedResponse> |
listJobsPagedCallable() |
void |
shutdown() |
void |
shutdownNow() |
com.google.api.gax.rpc.UnaryCallable<SubmitJobRequest,com.google.longrunning.Operation> |
submitJobAsOperationCallable() |
com.google.api.gax.rpc.OperationCallable<SubmitJobRequest,Job,JobMetadata> |
submitJobAsOperationOperationCallable() |
com.google.api.gax.rpc.UnaryCallable<SubmitJobRequest,Job> |
submitJobCallable() |
com.google.api.gax.rpc.UnaryCallable<UpdateJobRequest,Job> |
updateJobCallable() |
getOperationsStubprotected HttpJsonJobControllerStub(JobControllerStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected HttpJsonJobControllerStub(JobControllerStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final HttpJsonJobControllerStub create(JobControllerStubSettings settings) throws IOException
IOExceptionpublic static final HttpJsonJobControllerStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final HttpJsonJobControllerStub 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 JobControllerStubpublic com.google.api.gax.rpc.UnaryCallable<SubmitJobRequest,Job> submitJobCallable()
submitJobCallable in class JobControllerStubpublic com.google.api.gax.rpc.UnaryCallable<SubmitJobRequest,com.google.longrunning.Operation> submitJobAsOperationCallable()
submitJobAsOperationCallable in class JobControllerStubpublic com.google.api.gax.rpc.OperationCallable<SubmitJobRequest,Job,JobMetadata> submitJobAsOperationOperationCallable()
submitJobAsOperationOperationCallable in class JobControllerStubpublic com.google.api.gax.rpc.UnaryCallable<GetJobRequest,Job> getJobCallable()
getJobCallable in class JobControllerStubpublic com.google.api.gax.rpc.UnaryCallable<ListJobsRequest,ListJobsResponse> listJobsCallable()
listJobsCallable in class JobControllerStubpublic com.google.api.gax.rpc.UnaryCallable<ListJobsRequest,JobControllerClient.ListJobsPagedResponse> listJobsPagedCallable()
listJobsPagedCallable in class JobControllerStubpublic com.google.api.gax.rpc.UnaryCallable<UpdateJobRequest,Job> updateJobCallable()
updateJobCallable in class JobControllerStubpublic com.google.api.gax.rpc.UnaryCallable<CancelJobRequest,Job> cancelJobCallable()
cancelJobCallable in class JobControllerStubpublic com.google.api.gax.rpc.UnaryCallable<DeleteJobRequest,com.google.protobuf.Empty> deleteJobCallable()
deleteJobCallable in class JobControllerStubpublic final void close()
close in interface AutoCloseableclose in class JobControllerStubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2022 Google LLC. All rights reserved.