Class MetricsV1Beta3Grpc.MetricsV1Beta3Stub (0.35.0)

public static final class MetricsV1Beta3Grpc.MetricsV1Beta3Stub extends AbstractAsyncStub<MetricsV1Beta3Grpc.MetricsV1Beta3Stub>

A stub to allow clients to do asynchronous 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.AbstractAsyncStub > MetricsV1Beta3Grpc.MetricsV1Beta3Stub

Methods

build(Channel channel, CallOptions callOptions)

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

getJobExecutionDetails(GetJobExecutionDetailsRequest request, StreamObserver<JobExecutionDetails> responseObserver)

public void getJobExecutionDetails(GetJobExecutionDetailsRequest request, StreamObserver<JobExecutionDetails> responseObserver)

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

Parameters
NameDescription
requestGetJobExecutionDetailsRequest
responseObserverio.grpc.stub.StreamObserver<JobExecutionDetails>

getJobMetrics(GetJobMetricsRequest request, StreamObserver<JobMetrics> responseObserver)

public void getJobMetrics(GetJobMetricsRequest request, StreamObserver<JobMetrics> responseObserver)

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.

Parameters
NameDescription
requestGetJobMetricsRequest
responseObserverio.grpc.stub.StreamObserver<JobMetrics>

getStageExecutionDetails(GetStageExecutionDetailsRequest request, StreamObserver<StageExecutionDetails> responseObserver)

public void getStageExecutionDetails(GetStageExecutionDetailsRequest request, StreamObserver<StageExecutionDetails> responseObserver)

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

Parameters
NameDescription
requestGetStageExecutionDetailsRequest
responseObserverio.grpc.stub.StreamObserver<StageExecutionDetails>