Class BetaManagedAgentsMultiagentCoordinator
-
- All Implemented Interfaces:
public final class BetaManagedAgentsMultiagentCoordinatorResolved coordinator topology with a concrete agent roster.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsMultiagentCoordinator.BuilderA builder for BetaManagedAgentsMultiagentCoordinator.
public final classBetaManagedAgentsMultiagentCoordinator.AgentA resolved multiagent roster entry.
-
Method Summary
Modifier and Type Method Description final List<BetaManagedAgentsMultiagentCoordinator.Agent>agents()Agents the coordinator may spawn as session threads, each resolved to a specific version. final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("coordinator")final JsonField<List<BetaManagedAgentsMultiagentCoordinator.Agent>>_agents()Returns the raw JSON value of agents. final Map<String, JsonValue>_additionalProperties()final BetaManagedAgentsMultiagentCoordinator.BuildertoBuilder()final BetaManagedAgentsMultiagentCoordinatorvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsMultiagentCoordinator.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsMultiagentCoordinator. final static BetaManagedAgentsMultiagentCoordinatorof(List<BetaManagedAgentsMultiagentCoordinator.Agent> agents)Returns an immutable instance of BetaManagedAgentsMultiagentCoordinator with the required agents set to the given value. -
-
Method Detail
-
agents
final List<BetaManagedAgentsMultiagentCoordinator.Agent> agents()
Agents the coordinator may spawn as session threads, each resolved to a specific version.
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("coordinator")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_agents
final JsonField<List<BetaManagedAgentsMultiagentCoordinator.Agent>> _agents()
Returns the raw JSON value of agents.
Unlike agents, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaManagedAgentsMultiagentCoordinator.Builder toBuilder()
-
validate
final BetaManagedAgentsMultiagentCoordinator 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 BetaManagedAgentsMultiagentCoordinator.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsMultiagentCoordinator.
The following fields are required:
.agents()
-
of
final static BetaManagedAgentsMultiagentCoordinator of(List<BetaManagedAgentsMultiagentCoordinator.Agent> agents)
Returns an immutable instance of BetaManagedAgentsMultiagentCoordinator with the required agents set to the given value.
-
-
-
-