Package com.google.dataflow.v1beta3.stub
Class HttpJsonJobsV1Beta3Stub
- java.lang.Object
-
- com.google.dataflow.v1beta3.stub.JobsV1Beta3Stub
-
- com.google.dataflow.v1beta3.stub.HttpJsonJobsV1Beta3Stub
-
- All Implemented Interfaces:
com.google.api.gax.core.BackgroundResource
,AutoCloseable
@BetaApi @Generated("by gapic-generator-java") public class HttpJsonJobsV1Beta3Stub extends JobsV1Beta3Stub
REST stub implementation for the JobsV1Beta3 service API.This class is for advanced usage and reflects the underlying API directly.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
HttpJsonJobsV1Beta3Stub(JobsV1Beta3StubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonJobsV1Beta3Stub, using the given settings.protected
HttpJsonJobsV1Beta3Stub(JobsV1Beta3StubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonJobsV1Beta3Stub, using the given settings.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.api.gax.rpc.UnaryCallable<ListJobsRequest,ListJobsResponse>
aggregatedListJobsCallable()
com.google.api.gax.rpc.UnaryCallable<ListJobsRequest,JobsV1Beta3Client.AggregatedListJobsPagedResponse>
aggregatedListJobsPagedCallable()
boolean
awaitTermination(long duration, TimeUnit unit)
com.google.api.gax.rpc.UnaryCallable<CheckActiveJobsRequest,CheckActiveJobsResponse>
checkActiveJobsCallable()
void
close()
static HttpJsonJobsV1Beta3Stub
create(com.google.api.gax.rpc.ClientContext clientContext)
static HttpJsonJobsV1Beta3Stub
create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)
static HttpJsonJobsV1Beta3Stub
create(JobsV1Beta3StubSettings settings)
com.google.api.gax.rpc.UnaryCallable<CreateJobRequest,Job>
createJobCallable()
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,JobsV1Beta3Client.ListJobsPagedResponse>
listJobsPagedCallable()
void
shutdown()
void
shutdownNow()
com.google.api.gax.rpc.UnaryCallable<SnapshotJobRequest,Snapshot>
snapshotJobCallable()
com.google.api.gax.rpc.UnaryCallable<UpdateJobRequest,Job>
updateJobCallable()
-
-
-
Constructor Detail
-
HttpJsonJobsV1Beta3Stub
protected HttpJsonJobsV1Beta3Stub(JobsV1Beta3StubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
Constructs an instance of HttpJsonJobsV1Beta3Stub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.- Throws:
IOException
-
HttpJsonJobsV1Beta3Stub
protected HttpJsonJobsV1Beta3Stub(JobsV1Beta3StubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
Constructs an instance of HttpJsonJobsV1Beta3Stub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.- Throws:
IOException
-
-
Method Detail
-
create
public static final HttpJsonJobsV1Beta3Stub create(JobsV1Beta3StubSettings settings) throws IOException
- Throws:
IOException
-
create
public static final HttpJsonJobsV1Beta3Stub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
- Throws:
IOException
-
create
public static final HttpJsonJobsV1Beta3Stub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
- Throws:
IOException
-
getMethodDescriptors
@InternalApi public static List<com.google.api.gax.httpjson.ApiMethodDescriptor> getMethodDescriptors()
-
createJobCallable
public com.google.api.gax.rpc.UnaryCallable<CreateJobRequest,Job> createJobCallable()
- Overrides:
createJobCallable
in classJobsV1Beta3Stub
-
getJobCallable
public com.google.api.gax.rpc.UnaryCallable<GetJobRequest,Job> getJobCallable()
- Overrides:
getJobCallable
in classJobsV1Beta3Stub
-
updateJobCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateJobRequest,Job> updateJobCallable()
- Overrides:
updateJobCallable
in classJobsV1Beta3Stub
-
listJobsCallable
public com.google.api.gax.rpc.UnaryCallable<ListJobsRequest,ListJobsResponse> listJobsCallable()
- Overrides:
listJobsCallable
in classJobsV1Beta3Stub
-
listJobsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListJobsRequest,JobsV1Beta3Client.ListJobsPagedResponse> listJobsPagedCallable()
- Overrides:
listJobsPagedCallable
in classJobsV1Beta3Stub
-
aggregatedListJobsCallable
public com.google.api.gax.rpc.UnaryCallable<ListJobsRequest,ListJobsResponse> aggregatedListJobsCallable()
- Overrides:
aggregatedListJobsCallable
in classJobsV1Beta3Stub
-
aggregatedListJobsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListJobsRequest,JobsV1Beta3Client.AggregatedListJobsPagedResponse> aggregatedListJobsPagedCallable()
- Overrides:
aggregatedListJobsPagedCallable
in classJobsV1Beta3Stub
-
snapshotJobCallable
public com.google.api.gax.rpc.UnaryCallable<SnapshotJobRequest,Snapshot> snapshotJobCallable()
- Overrides:
snapshotJobCallable
in classJobsV1Beta3Stub
-
checkActiveJobsCallable
public com.google.api.gax.rpc.UnaryCallable<CheckActiveJobsRequest,CheckActiveJobsResponse> checkActiveJobsCallable()
- Overrides:
checkActiveJobsCallable
in classJobsV1Beta3Stub
-
close
public final void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in classJobsV1Beta3Stub
-
shutdown
public void shutdown()
-
isShutdown
public boolean isShutdown()
-
isTerminated
public boolean isTerminated()
-
shutdownNow
public void shutdownNow()
-
awaitTermination
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
- Throws:
InterruptedException
-
-