MCPcopy Create free account
hub / github.com/a2aproject/a2a-java / id

Method id

spec/src/main/java/org/a2aproject/sdk/spec/Task.java:156–159  ·  view source on GitHub ↗

Sets the unique identifier for this task. @param id the task ID (required) @return this builder for method chaining

(String id)

Source from the content-addressed store, hash-verified

154 * @return this builder for method chaining
155 */
156 public Builder id(String id) {
157 this.id = id;
158 return this;
159 }
160
161 /**
162 * Sets the context identifier associating this task with a conversation or session.

Calls

no outgoing calls