Class MetricsV1Beta3Grpc.MetricsV1Beta3FutureStub (0.41.0)

public static final class MetricsV1Beta3Grpc.MetricsV1Beta3FutureStub extends AbstractFutureStub<MetricsV1Beta3Grpc.MetricsV1Beta3FutureStub>

A stub to allow clients to do ListenableFuture-style rpc calls to service MetricsV1Beta3.

The Dataflow Metrics API lets you monitor the progress of Dataflow jobs.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > MetricsV1Beta3Grpc.MetricsV1Beta3FutureStub

Methods

build(Channel channel, CallOptions callOptions)

protected MetricsV1Beta3Grpc.MetricsV1Beta3FutureStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
MetricsV1Beta3Grpc.MetricsV1Beta3FutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

getJobExecutionDetails(GetJobExecutionDetailsRequest request)

public ListenableFuture<JobExecutionDetails> getJobExecutionDetails(GetJobExecutionDetailsRequest request)

Request detailed information about the execution status of the job. EXPERIMENTAL. This API is subject to change or removal without notice.

Parameter
NameDescription
requestGetJobExecutionDetailsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<JobExecutionDetails>

getJobMetrics(GetJobMetricsRequest request)

public ListenableFuture<JobMetrics> getJobMetrics(GetJobMetricsRequest request)

Request the job status. To request the status of a job, we recommend using projects.locations.jobs.getMetrics with a regional endpoint. Using projects.jobs.getMetrics is not recommended, as you can only request the status of jobs that are running in us-central1.

Parameter
NameDescription
requestGetJobMetricsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<JobMetrics>

getStageExecutionDetails(GetStageExecutionDetailsRequest request)

public ListenableFuture<StageExecutionDetails> getStageExecutionDetails(GetStageExecutionDetailsRequest request)

Request detailed information about the execution status of a stage of the job. EXPERIMENTAL. This API is subject to change or removal without notice.

Parameter
NameDescription
requestGetStageExecutionDetailsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<StageExecutionDetails>