Class GrpcJobsV1Beta3Stub (0.36.0)

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.

Inheritance

java.lang.Object > JobsV1Beta3Stub > GrpcJobsV1Beta3Stub

Static Methods

create(ClientContext clientContext)

public static final GrpcJobsV1Beta3Stub create(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext
Returns
TypeDescription
GrpcJobsV1Beta3Stub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcJobsV1Beta3Stub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryGrpcStubCallableFactory
Returns
TypeDescription
GrpcJobsV1Beta3Stub
Exceptions
TypeDescription
IOException

create(JobsV1Beta3StubSettings settings)

public static final GrpcJobsV1Beta3Stub create(JobsV1Beta3StubSettings settings)
Parameter
NameDescription
settingsJobsV1Beta3StubSettings
Returns
TypeDescription
GrpcJobsV1Beta3Stub
Exceptions
TypeDescription
IOException

Constructors

GrpcJobsV1Beta3Stub(JobsV1Beta3StubSettings settings, ClientContext clientContext)

protected GrpcJobsV1Beta3Stub(JobsV1Beta3StubSettings settings, ClientContext clientContext)

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.

Parameters
NameDescription
settingsJobsV1Beta3StubSettings
clientContextClientContext

GrpcJobsV1Beta3Stub(JobsV1Beta3StubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcJobsV1Beta3Stub(JobsV1Beta3StubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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.

Parameters
NameDescription
settingsJobsV1Beta3StubSettings
clientContextClientContext
callableFactoryGrpcStubCallableFactory

Methods

aggregatedListJobsCallable()

public UnaryCallable<ListJobsRequest,ListJobsResponse> aggregatedListJobsCallable()
Returns
TypeDescription
UnaryCallable<ListJobsRequest,ListJobsResponse>
Overrides

aggregatedListJobsPagedCallable()

public UnaryCallable<ListJobsRequest,JobsV1Beta3Client.AggregatedListJobsPagedResponse> aggregatedListJobsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListJobsRequest,AggregatedListJobsPagedResponse>
Overrides

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

checkActiveJobsCallable()

public UnaryCallable<CheckActiveJobsRequest,CheckActiveJobsResponse> checkActiveJobsCallable()
Returns
TypeDescription
UnaryCallable<CheckActiveJobsRequest,CheckActiveJobsResponse>
Overrides

close()

public final void close()
Overrides

createJobCallable()

public UnaryCallable<CreateJobRequest,Job> createJobCallable()
Returns
TypeDescription
UnaryCallable<CreateJobRequest,Job>
Overrides

getJobCallable()

public UnaryCallable<GetJobRequest,Job> getJobCallable()
Returns
TypeDescription
UnaryCallable<GetJobRequest,Job>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listJobsCallable()

public UnaryCallable<ListJobsRequest,ListJobsResponse> listJobsCallable()
Returns
TypeDescription
UnaryCallable<ListJobsRequest,ListJobsResponse>
Overrides

listJobsPagedCallable()

public UnaryCallable<ListJobsRequest,JobsV1Beta3Client.ListJobsPagedResponse> listJobsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListJobsRequest,ListJobsPagedResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

snapshotJobCallable()

public UnaryCallable<SnapshotJobRequest,Snapshot> snapshotJobCallable()
Returns
TypeDescription
UnaryCallable<SnapshotJobRequest,Snapshot>
Overrides

updateJobCallable()

public UnaryCallable<UpdateJobRequest,Job> updateJobCallable()
Returns
TypeDescription
UnaryCallable<UpdateJobRequest,Job>
Overrides