Class BetaManagedAgentsDeploymentSystemMessageEvent
-
- All Implemented Interfaces:
public final class BetaManagedAgentsDeploymentSystemMessageEventPrivileged context for the accompanying turn and all subsequent turns, appended to the session's system context as a
role: "system"turn rather than replacing the top-level system prompt.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsDeploymentSystemMessageEvent.BuilderA builder for BetaManagedAgentsDeploymentSystemMessageEvent.
-
Method Summary
Modifier and Type Method Description final List<BetaManagedAgentsSystemContentBlock>content()System content blocks to append. final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("system.message")final JsonField<List<BetaManagedAgentsSystemContentBlock>>_content()Returns the raw JSON value of content. final Map<String, JsonValue>_additionalProperties()final BetaManagedAgentsDeploymentSystemMessageEvent.BuildertoBuilder()final BetaManagedAgentsDeploymentSystemMessageEventvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsDeploymentSystemMessageEvent.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsDeploymentSystemMessageEvent. final static BetaManagedAgentsDeploymentSystemMessageEventof(List<BetaManagedAgentsSystemContentBlock> content)Returns an immutable instance of BetaManagedAgentsDeploymentSystemMessageEvent with the required content set to the given value. -
-
Method Detail
-
content
final List<BetaManagedAgentsSystemContentBlock> content()
System content blocks to append. Text-only.
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("system.message")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_content
final JsonField<List<BetaManagedAgentsSystemContentBlock>> _content()
Returns the raw JSON value of content.
Unlike content, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaManagedAgentsDeploymentSystemMessageEvent.Builder toBuilder()
-
validate
final BetaManagedAgentsDeploymentSystemMessageEvent 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 BetaManagedAgentsDeploymentSystemMessageEvent.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsDeploymentSystemMessageEvent.
The following fields are required:
.content()
-
of
final static BetaManagedAgentsDeploymentSystemMessageEvent of(List<BetaManagedAgentsSystemContentBlock> content)
Returns an immutable instance of BetaManagedAgentsDeploymentSystemMessageEvent with the required content set to the given value.
-
-
-
-