Class BetaManagedAgentsSessionThreadStats.Builder
-
- All Implemented Interfaces:
public final class BetaManagedAgentsSessionThreadStats.BuilderA builder for BetaManagedAgentsSessionThreadStats.
-
-
Method Summary
-
-
Method Detail
-
activeSeconds
final BetaManagedAgentsSessionThreadStats.Builder activeSeconds(Double activeSeconds)
Cumulative time in seconds the thread spent actively running. Excludes idle time.
-
activeSeconds
final BetaManagedAgentsSessionThreadStats.Builder activeSeconds(JsonField<Double> activeSeconds)
Sets Builder.activeSeconds to an arbitrary JSON value.
You should usually call Builder.activeSeconds with a well-typed Double value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
durationSeconds
final BetaManagedAgentsSessionThreadStats.Builder durationSeconds(Double durationSeconds)
Elapsed time since thread creation in seconds. For archived threads, frozen at the final update.
-
durationSeconds
final BetaManagedAgentsSessionThreadStats.Builder durationSeconds(JsonField<Double> durationSeconds)
Sets Builder.durationSeconds to an arbitrary JSON value.
You should usually call Builder.durationSeconds with a well-typed Double value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
startupSeconds
final BetaManagedAgentsSessionThreadStats.Builder startupSeconds(Double startupSeconds)
Time in seconds for the thread to begin running. Zero for child threads, which start immediately.
-
startupSeconds
final BetaManagedAgentsSessionThreadStats.Builder startupSeconds(JsonField<Double> startupSeconds)
Sets Builder.startupSeconds to an arbitrary JSON value.
You should usually call Builder.startupSeconds with a well-typed Double value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaManagedAgentsSessionThreadStats.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaManagedAgentsSessionThreadStats.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaManagedAgentsSessionThreadStats.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaManagedAgentsSessionThreadStats.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaManagedAgentsSessionThreadStats.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaManagedAgentsSessionThreadStats build()
Returns an immutable instance of BetaManagedAgentsSessionThreadStats.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-