@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,
ClientContext clientContext)
Constructs an instance of HttpJsonJobControllerStub, using the given settings.
|
protected |
HttpJsonJobControllerStub(JobControllerStubSettings settings,
ClientContext clientContext,
HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonJobControllerStub, using the given settings.
|
getOperationsStub
protected HttpJsonJobControllerStub(JobControllerStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected HttpJsonJobControllerStub(JobControllerStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
public static final HttpJsonJobControllerStub create(JobControllerStubSettings settings) throws IOException
IOException
public static final HttpJsonJobControllerStub create(ClientContext clientContext) throws IOException
IOException
public static final HttpJsonJobControllerStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
@InternalApi public static List<ApiMethodDescriptor> getMethodDescriptors()
public HttpJsonOperationsStub getHttpJsonOperationsStub()
getHttpJsonOperationsStub
in class JobControllerStub
public UnaryCallable<SubmitJobRequest,Job> submitJobCallable()
submitJobCallable
in class JobControllerStub
public UnaryCallable<SubmitJobRequest,Operation> submitJobAsOperationCallable()
submitJobAsOperationCallable
in class JobControllerStub
public OperationCallable<SubmitJobRequest,Job,JobMetadata> submitJobAsOperationOperationCallable()
submitJobAsOperationOperationCallable
in class JobControllerStub
public UnaryCallable<GetJobRequest,Job> getJobCallable()
getJobCallable
in class JobControllerStub
public UnaryCallable<ListJobsRequest,ListJobsResponse> listJobsCallable()
listJobsCallable
in class JobControllerStub
public UnaryCallable<ListJobsRequest,JobControllerClient.ListJobsPagedResponse> listJobsPagedCallable()
listJobsPagedCallable
in class JobControllerStub
public UnaryCallable<UpdateJobRequest,Job> updateJobCallable()
updateJobCallable
in class JobControllerStub
public UnaryCallable<CancelJobRequest,Job> cancelJobCallable()
cancelJobCallable
in class JobControllerStub
public UnaryCallable<DeleteJobRequest,Empty> deleteJobCallable()
deleteJobCallable
in class JobControllerStub
public final void close()
close
in interface AutoCloseable
close
in class JobControllerStub
public void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
InterruptedException
Copyright © 2022 Google LLC. All rights reserved.