Class HttpJsonJobsV1Beta3Stub (0.58.0)

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.

Inheritance

java.lang.Object > JobsV1Beta3Stub > HttpJsonJobsV1Beta3Stub

Static Methods

create(ClientContext clientContext)

public static final HttpJsonJobsV1Beta3Stub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
HttpJsonJobsV1Beta3Stub
Exceptions
Type Description
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(JobsV1Beta3StubSettings settings)

public static final HttpJsonJobsV1Beta3Stub create(JobsV1Beta3StubSettings settings)
Parameter
Name Description
settings JobsV1Beta3StubSettings
Returns
Type Description
HttpJsonJobsV1Beta3Stub
Exceptions
Type Description
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Type Description
List<ApiMethodDescriptor>

Constructors

HttpJsonJobsV1Beta3Stub(JobsV1Beta3StubSettings settings, ClientContext clientContext)

protected HttpJsonJobsV1Beta3Stub(JobsV1Beta3StubSettings settings, ClientContext clientContext)

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.

Parameters
Name Description
settings JobsV1Beta3StubSettings
clientContext ClientContext

HttpJsonJobsV1Beta3Stub(JobsV1Beta3StubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonJobsV1Beta3Stub(JobsV1Beta3StubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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.

Parameters
Name Description
settings JobsV1Beta3StubSettings
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory

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

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