WorkerLifecycleEvent class

A report of an event in a worker's lifecycle.

The proto contains one event, because the worker is expected to asynchronously send each message immediately after the event. Due to this asynchrony, messages may arrive out of order (or missing), and it is up to the consumer to interpret. The timestamp of the event is in the enclosing WorkerMessage proto.

Constructors

WorkerLifecycleEvent({String? containerStartTime, String? event, Map<String, String>? metadata})
WorkerLifecycleEvent.fromJson(Map _json)

Properties

containerStartTime String?
The start time of this container.
getter/setter pair
event String?
The event being reported. Possible string values are:
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
metadata Map<String, String>?
Other stats that can accompany an event.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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