Class GrpcJobsV1Beta3Stub (0.50.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
Name Description
clientContext ClientContext
Returns
Type Description
GrpcJobsV1Beta3Stub
Exceptions
Type Description
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcJobsV1Beta3Stub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory GrpcStubCallableFactory
Returns
Type Description
GrpcJobsV1Beta3Stub
Exceptions
Type Description
IOException

create(JobsV1Beta3StubSettings settings)

public static final GrpcJobsV1Beta3Stub create(JobsV1Beta3StubSettings settings)
Parameter
Name Description
settings JobsV1Beta3StubSettings
Returns
Type Description
GrpcJobsV1Beta3Stub
Exceptions
Type Description
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
Name Description
settings JobsV1Beta3StubSettings
clientContext ClientContext

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
Name Description
settings JobsV1Beta3StubSettings
clientContext ClientContext
callableFactory GrpcStubCallableFactory

Methods

aggregatedListJobsCallable()

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

aggregatedListJobsPagedCallable()

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

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

checkActiveJobsCallable()

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

close()

public final void close()
Overrides

createJobCallable()

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

getJobCallable()

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

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listJobsCallable()

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

listJobsPagedCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

snapshotJobCallable()

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

updateJobCallable()

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