Package com.google.dataflow.v1beta3.stub
Class GrpcJobsV1Beta3Stub
- java.lang.Object
-
- com.google.dataflow.v1beta3.stub.JobsV1Beta3Stub
-
- com.google.dataflow.v1beta3.stub.GrpcJobsV1Beta3Stub
-
- All Implemented Interfaces:
com.google.api.gax.core.BackgroundResource
,AutoCloseable
@BetaApi @Generated("by gapic-generator-java") public class GrpcJobsV1Beta3Stub extends JobsV1Beta3Stub
gRPC 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
GrpcJobsV1Beta3Stub(JobsV1Beta3StubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcJobsV1Beta3Stub, using the given settings.protected
GrpcJobsV1Beta3Stub(JobsV1Beta3StubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcJobsV1Beta3Stub, 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 GrpcJobsV1Beta3Stub
create(com.google.api.gax.rpc.ClientContext clientContext)
static GrpcJobsV1Beta3Stub
create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
static GrpcJobsV1Beta3Stub
create(JobsV1Beta3StubSettings settings)
com.google.api.gax.rpc.UnaryCallable<CreateJobRequest,Job>
createJobCallable()
com.google.api.gax.rpc.UnaryCallable<GetJobRequest,Job>
getJobCallable()
com.google.longrunning.stub.GrpcOperationsStub
getOperationsStub()
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
-
GrpcJobsV1Beta3Stub
protected GrpcJobsV1Beta3Stub(JobsV1Beta3StubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
Constructs an instance of GrpcJobsV1Beta3Stub, 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
-
GrpcJobsV1Beta3Stub
protected GrpcJobsV1Beta3Stub(JobsV1Beta3StubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
Constructs an instance of GrpcJobsV1Beta3Stub, 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 GrpcJobsV1Beta3Stub create(JobsV1Beta3StubSettings settings) throws IOException
- Throws:
IOException
-
create
public static final GrpcJobsV1Beta3Stub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
- Throws:
IOException
-
create
public static final GrpcJobsV1Beta3Stub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
- Throws:
IOException
-
getOperationsStub
public com.google.longrunning.stub.GrpcOperationsStub getOperationsStub()
-
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
-
checkActiveJobsCallable
public com.google.api.gax.rpc.UnaryCallable<CheckActiveJobsRequest,CheckActiveJobsResponse> checkActiveJobsCallable()
- Overrides:
checkActiveJobsCallable
in classJobsV1Beta3Stub
-
snapshotJobCallable
public com.google.api.gax.rpc.UnaryCallable<SnapshotJobRequest,Snapshot> snapshotJobCallable()
- Overrides:
snapshotJobCallable
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
-
-