WorkerMessage class

WorkerMessage provides information to the backend about a worker.

Constructors

WorkerMessage({DataSamplingReport? dataSamplingReport, Map<String, String>? labels, String? time, WorkerHealthReport? workerHealthReport, WorkerLifecycleEvent? workerLifecycleEvent, WorkerMessageCode? workerMessageCode, ResourceUtilizationReport? workerMetrics, WorkerShutdownNotice? workerShutdownNotice, WorkerThreadScalingReport? workerThreadScalingReport})
WorkerMessage.fromJson(Map json_)

Properties

dataSamplingReport DataSamplingReport?
Contains metrics related to go/dataflow-data-sampling-telemetry.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
labels Map<String, String>?
Labels are used to group WorkerMessages.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
time String?
The timestamp of the worker_message.
getter/setter pair
workerHealthReport WorkerHealthReport?
The health of a worker.
getter/setter pair
workerLifecycleEvent WorkerLifecycleEvent?
Record of worker lifecycle events.
getter/setter pair
workerMessageCode WorkerMessageCode?
A worker message code.
getter/setter pair
workerMetrics ResourceUtilizationReport?
Resource metrics reported by workers.
getter/setter pair
workerShutdownNotice WorkerShutdownNotice?
Shutdown notice by workers.
getter/setter pair
workerThreadScalingReport WorkerThreadScalingReport?
Thread scaling information reported by workers.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited