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 protectedGrpcJobsV1Beta3Stub(JobsV1Beta3StubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)Constructs an instance of GrpcJobsV1Beta3Stub, using the given settings.protectedGrpcJobsV1Beta3Stub(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()booleanawaitTermination(long duration, TimeUnit unit)com.google.api.gax.rpc.UnaryCallable<CheckActiveJobsRequest,CheckActiveJobsResponse>checkActiveJobsCallable()voidclose()static GrpcJobsV1Beta3Stubcreate(com.google.api.gax.rpc.ClientContext clientContext)static GrpcJobsV1Beta3Stubcreate(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)static GrpcJobsV1Beta3Stubcreate(JobsV1Beta3StubSettings settings)com.google.api.gax.rpc.UnaryCallable<CreateJobRequest,Job>createJobCallable()com.google.api.gax.rpc.UnaryCallable<GetJobRequest,Job>getJobCallable()com.google.longrunning.stub.GrpcOperationsStubgetOperationsStub()booleanisShutdown()booleanisTerminated()com.google.api.gax.rpc.UnaryCallable<ListJobsRequest,ListJobsResponse>listJobsCallable()com.google.api.gax.rpc.UnaryCallable<ListJobsRequest,JobsV1Beta3Client.ListJobsPagedResponse>listJobsPagedCallable()voidshutdown()voidshutdownNow()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:
createJobCallablein classJobsV1Beta3Stub
-
getJobCallable
public com.google.api.gax.rpc.UnaryCallable<GetJobRequest,Job> getJobCallable()
- Overrides:
getJobCallablein classJobsV1Beta3Stub
-
updateJobCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateJobRequest,Job> updateJobCallable()
- Overrides:
updateJobCallablein classJobsV1Beta3Stub
-
listJobsCallable
public com.google.api.gax.rpc.UnaryCallable<ListJobsRequest,ListJobsResponse> listJobsCallable()
- Overrides:
listJobsCallablein classJobsV1Beta3Stub
-
listJobsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListJobsRequest,JobsV1Beta3Client.ListJobsPagedResponse> listJobsPagedCallable()
- Overrides:
listJobsPagedCallablein classJobsV1Beta3Stub
-
aggregatedListJobsCallable
public com.google.api.gax.rpc.UnaryCallable<ListJobsRequest,ListJobsResponse> aggregatedListJobsCallable()
- Overrides:
aggregatedListJobsCallablein classJobsV1Beta3Stub
-
aggregatedListJobsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListJobsRequest,JobsV1Beta3Client.AggregatedListJobsPagedResponse> aggregatedListJobsPagedCallable()
- Overrides:
aggregatedListJobsPagedCallablein classJobsV1Beta3Stub
-
checkActiveJobsCallable
public com.google.api.gax.rpc.UnaryCallable<CheckActiveJobsRequest,CheckActiveJobsResponse> checkActiveJobsCallable()
- Overrides:
checkActiveJobsCallablein classJobsV1Beta3Stub
-
snapshotJobCallable
public com.google.api.gax.rpc.UnaryCallable<SnapshotJobRequest,Snapshot> snapshotJobCallable()
- Overrides:
snapshotJobCallablein classJobsV1Beta3Stub
-
close
public final void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein 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
-
-