Class BetaManagedAgentsSessionThreadStats
-
- All Implemented Interfaces:
public final class BetaManagedAgentsSessionThreadStatsTiming statistics for a session thread.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsSessionThreadStats.BuilderA builder for BetaManagedAgentsSessionThreadStats.
-
Method Summary
Modifier and Type Method Description final Optional<Double>activeSeconds()Cumulative time in seconds the thread spent actively running. final Optional<Double>durationSeconds()Elapsed time since thread creation in seconds. final Optional<Double>startupSeconds()Time in seconds for the thread to begin running. final JsonField<Double>_activeSeconds()Returns the raw JSON value of activeSeconds. final JsonField<Double>_durationSeconds()Returns the raw JSON value of durationSeconds. final JsonField<Double>_startupSeconds()Returns the raw JSON value of startupSeconds. final Map<String, JsonValue>_additionalProperties()final BetaManagedAgentsSessionThreadStats.BuildertoBuilder()final BetaManagedAgentsSessionThreadStatsvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsSessionThreadStats.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsSessionThreadStats. -
-
Method Detail
-
activeSeconds
final Optional<Double> activeSeconds()
Cumulative time in seconds the thread spent actively running. Excludes idle time.
-
durationSeconds
final Optional<Double> durationSeconds()
Elapsed time since thread creation in seconds. For archived threads, frozen at the final update.
-
startupSeconds
final Optional<Double> startupSeconds()
Time in seconds for the thread to begin running. Zero for child threads, which start immediately.
-
_activeSeconds
final JsonField<Double> _activeSeconds()
Returns the raw JSON value of activeSeconds.
Unlike activeSeconds, this method doesn't throw if the JSON field has an unexpected type.
-
_durationSeconds
final JsonField<Double> _durationSeconds()
Returns the raw JSON value of durationSeconds.
Unlike durationSeconds, this method doesn't throw if the JSON field has an unexpected type.
-
_startupSeconds
final JsonField<Double> _startupSeconds()
Returns the raw JSON value of startupSeconds.
Unlike startupSeconds, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaManagedAgentsSessionThreadStats.Builder toBuilder()
-
validate
final BetaManagedAgentsSessionThreadStats validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static BetaManagedAgentsSessionThreadStats.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsSessionThreadStats.
-
-
-
-