2025-05-20 12:10:27 -04:00
<!DOCTYPE HTML>
< html lang = "en" >
< head >
2025-09-05 11:46:52 -07:00
<!-- Google Analytics tag (gtag.js) -->
2026-02-27 03:15:18 +01:00
< script async src = "https://www.googletagmanager.com/gtag/js?id=G-DKHZS27PHP" > < / script >
2025-09-05 11:46:52 -07:00
< script >
window . dataLayer = window . dataLayer || [ ] ;
function gtag ( ) { dataLayer . push ( arguments ) ; }
2026-02-27 03:15:18 +01:00
gtag ( "js" , new Date ( ) ) ;
gtag ( "config" , "G-DKHZS27PHP" ) ;
2025-09-05 11:46:52 -07:00
< / script >
2026-04-27 19:18:51 +02:00
<!-- Generated by javadoc (26) -->
2026-07-24 20:22:51 +02:00
< title > A2AAgentRun (Google Agent Development Kit Maven Parent POM 1.7.0 API)< / title >
2025-05-20 12:10:27 -04:00
< meta name = "viewport" content = "width=device-width, initial-scale=1" >
< meta http-equiv = "Content-Type" content = "text/html; charset=UTF-8" >
2026-02-27 03:15:18 +01:00
< meta name = "description" content = "declaration: package: com.example.a2a_basic, class: A2AAgentRun" >
2025-05-20 12:10:27 -04:00
< meta name = "generator" content = "javadoc/ClassWriter" >
2026-02-27 03:15:18 +01:00
< link rel = "stylesheet" type = "text/css" href = "../../../resource-files/jquery-ui.min.css" >
< link rel = "stylesheet" type = "text/css" href = "../../../resource-files/stylesheet.css" >
2025-05-20 12:10:27 -04:00
< script type = "text/javascript" src = "../../../script-files/script.js" > < / script >
< script type = "text/javascript" src = "../../../script-files/jquery-3.7.1.min.js" > < / script >
< script type = "text/javascript" src = "../../../script-files/jquery-ui.min.js" > < / script >
< / head >
< body class = "class-declaration-page" >
< script type = "text/javascript" > const pathtoroot = "../../../" ;
2026-04-27 19:18:51 +02:00
loadScripts ( ) ;
initTheme ( ) ;
< / script >
2025-05-20 12:10:27 -04:00
< noscript >
< div > JavaScript is disabled on your browser.< / div >
< / noscript >
< header role = "banner" >
< nav role = "navigation" >
<!-- ========= START OF TOP NAVBAR ======= -->
< div class = "top-nav" id = "navbar-top" >
< div class = "nav-content" >
< div class = "nav-menu-button" > < button id = "navbar-toggle-button" aria-controls = "navbar-top" aria-expanded = "false" aria-label = "Toggle navigation links" > < span class = "nav-bar-toggle-icon" > < / span > < span class = "nav-bar-toggle-icon" > < / span > < span class = "nav-bar-toggle-icon" > < / span > < / button > < / div >
< div class = "skip-nav" > < a href = "#skip-navbar-top" title = "Skip navigation links" > Skip navigation links< / a > < / div >
< ul id = "navbar-top-firstrow" class = "nav-list" title = "Navigation" >
< li > < a href = "../../../index.html" > Overview< / a > < / li >
< li class = "nav-bar-cell1-rev" > Class< / li >
2026-02-27 03:15:18 +01:00
< li > < a href = "class-use/A2AAgentRun.html" > Use< / a > < / li >
2025-05-20 12:10:27 -04:00
< li > < a href = "package-tree.html" > Tree< / a > < / li >
2026-02-27 03:15:18 +01:00
< li > < a href = "../../../deprecated-list.html" > Deprecated< / a > < / li >
2025-05-20 12:10:27 -04:00
< li > < a href = "../../../index-all.html" > Index< / a > < / li >
< li > < a href = "../../../search.html" > Search< / a > < / li >
2026-04-27 19:18:51 +02:00
< li > < button id = "theme-button" aria-label = "Select Theme" title = "Select Theme" > < / button > < / li >
2025-05-20 12:10:27 -04:00
< / ul >
2026-04-27 19:18:51 +02:00
< div id = "theme-panel" >
< div > Select Theme< / div >
< div > < label for = "theme-light" > < input type = "radio" id = "theme-light" disabled name = "theme" value = "theme-light" > < span > Light< / span > < / label > < label for = "theme-dark" > < input type = "radio" id = "theme-dark" disabled name = "theme" value = "theme-dark" > < span > Dark< / span > < / label > < label for = "theme-os" > < input type = "radio" id = "theme-os" disabled name = "theme" value = "theme-os" > < span > System Setting< / span > < / label > < / div >
< / div >
2025-05-20 12:10:27 -04:00
< / div >
< / div >
< div class = "sub-nav" >
< div class = "nav-content" >
< ol class = "sub-nav-list" >
2026-02-27 03:15:18 +01:00
< li > < a href = "package-summary.html" > com.example.a2a_basic< / a > < / li >
< li > < a href = "A2AAgentRun.html" class = "current-selection" > A2AAgentRun< / a > < / li >
2025-05-20 12:10:27 -04:00
< / ol >
2026-02-27 03:15:18 +01:00
< div class = "nav-list-search" > < input type = "text" id = "search-input" disabled placeholder = "Search documentation (type /)" aria-label = "Search in documentation" autocomplete = "off" spellcheck = "false" > < input type = "reset" id = "reset-search" disabled value = "Reset" > < / div >
2025-05-20 12:10:27 -04:00
< / div >
< / div >
<!-- ========= END OF TOP NAVBAR ========= -->
< span class = "skip-nav" id = "skip-navbar-top" > < / span > < / nav >
< / header >
< div class = "main-grid" >
< nav role = "navigation" class = "toc" aria-label = "Table of contents" >
2026-04-27 19:18:51 +02:00
< div class = "toc-header" > Contents < input type = "text" class = "filter-input" disabled placeholder = "Filter contents (type .)" aria-label = "Filter table of contents" autocomplete = "off" spellcheck = "false" > < input type = "reset" class = "reset-filter" disabled tabindex = "-1" value = "Reset" > < button class = "toc-sort-toggle" id = "toc-lexical-order-toggle" > < img src = "../../../resource-files/sort-a-z.svg" alt = "Sort member details in lexicographical order" > < / button > < / div >
2026-02-27 03:15:18 +01:00
< ol class = "toc-list" tabindex = "-1" >
2025-05-20 12:10:27 -04:00
< li > < a href = "#" tabindex = "0" > Description< / a > < / li >
2026-02-27 03:15:18 +01:00
< li > < a href = "#constructor-summary" tabindex = "0" > Constructor Summary< / a > < / li >
2025-05-20 12:10:27 -04:00
< li > < a href = "#method-summary" tabindex = "0" > Method Summary< / a > < / li >
2026-02-27 03:15:18 +01:00
< li > < a href = "#constructor-detail" tabindex = "0" > Constructor Details< / a >
< ol class = "toc-list" >
< li > < a href = "#%3Cinit%3E(com.google.adk.agents.BaseAgent)" tabindex = "0" > A2AAgentRun(BaseAgent)< / a > < / li >
< / ol >
< / li >
2025-05-20 12:10:27 -04:00
< li > < a href = "#method-detail" tabindex = "0" > Method Details< / a >
< ol class = "toc-list" >
2026-02-27 03:15:18 +01:00
< li > < a href = "#main(java.lang.String%5B%5D)" tabindex = "0" > main(String[])< / a > < / li >
2025-05-20 12:10:27 -04:00
< / ol >
< / li >
< / ol >
2026-02-27 03:15:18 +01:00
< button class = "hide-sidebar" > < span > Hide sidebar < / span > < img src = "../../../resource-files/left.svg" alt = "Hide sidebar" > < / button > < button class = "show-sidebar" > < img src = "../../../resource-files/right.svg" alt = "Show sidebar" > < span > Show sidebar< / span > < / button > < / nav >
2025-05-20 12:10:27 -04:00
< main role = "main" >
<!-- ======== START OF CLASS DATA ======== -->
< div class = "header" >
2026-02-27 03:15:18 +01:00
< h1 title = "Class A2AAgentRun" class = "title" > Class A2AAgentRun< / h1 >
2025-05-20 12:10:27 -04:00
< / div >
2026-04-27 19:18:51 +02:00
< div class = "inheritance" title = "Inheritance Tree" > < a href = "https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title = "class in java.lang" class = "external-link" > java.lang.Object< / a >
2026-02-27 03:15:18 +01:00
< div class = "inheritance" > com.example.a2a_basic.A2AAgentRun< / div >
2025-05-20 12:10:27 -04:00
< / div >
< section class = "class-description" id = "class-description" >
< hr >
< div class = "horizontal-scroll" >
2026-02-27 03:15:18 +01:00
< div class = "type-signature" > < span class = "modifiers" > public final class < / span > < span class = "element-name type-name-label" > A2AAgentRun< / span >
2026-04-27 19:18:51 +02:00
< span class = "extends-implements" > extends < a href = "https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title = "class in java.lang" class = "external-link" > Object< / a > < / span > < / div >
2026-02-27 03:15:18 +01:00
< div class = "block" > Main class to demonstrate running the A2A agent with sequential inputs.< / div >
2025-05-20 12:10:27 -04:00
< / div >
< / section >
< section class = "summary" >
< ul class = "summary-list" >
2026-02-27 03:15:18 +01:00
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
< li >
< section class = "constructor-summary" id = "constructor-summary" >
< h2 > Constructor Summary< / h2 >
< div class = "caption" > < span > Constructors< / span > < / div >
< div class = "summary-table two-column-summary" >
< div class = "table-header col-first" > Constructor< / div >
< div class = "table-header col-last" > Description< / div >
< div class = "col-constructor-name even-row-color" > < code > < a href = "#%3Cinit%3E(com.google.adk.agents.BaseAgent)" class = "member-name-link" > A2AAgentRun< / a > < wbr > (< a href = "../../google/adk/agents/BaseAgent.html" title = "class in com.google.adk.agents" > BaseAgent< / a > agent)< / code > < / div >
< div class = "col-last even-row-color" > < / div >
< / div >
< / section >
< / li >
2025-05-20 12:10:27 -04:00
<!-- ========== METHOD SUMMARY =========== -->
< li >
< section class = "method-summary" id = "method-summary" >
< h2 > Method Summary< / h2 >
< div id = "method-summary-table" >
< div class = "table-tabs" role = "tablist" aria-orientation = "horizontal" > < button id = "method-summary-table-tab0" role = "tab" aria-selected = "true" aria-controls = "method-summary-table.tabpanel" tabindex = "0" onkeydown = "switchTab(event)" onclick = "show('method-summary-table', 'method-summary-table', 3)" class = "active-table-tab" > All Methods< / button > < button id = "method-summary-table-tab1" role = "tab" aria-selected = "false" aria-controls = "method-summary-table.tabpanel" tabindex = "-1" onkeydown = "switchTab(event)" onclick = "show('method-summary-table', 'method-summary-table-tab1', 3)" class = "table-tab" > Static Methods< / button > < button id = "method-summary-table-tab4" role = "tab" aria-selected = "false" aria-controls = "method-summary-table.tabpanel" tabindex = "-1" onkeydown = "switchTab(event)" onclick = "show('method-summary-table', 'method-summary-table-tab4', 3)" class = "table-tab" > Concrete Methods< / button > < / div >
< div id = "method-summary-table.tabpanel" role = "tabpanel" aria-labelledby = "method-summary-table-tab0" >
< div class = "summary-table three-column-summary" >
< div class = "table-header col-first" > Modifier and Type< / div >
< div class = "table-header col-second" > Method< / div >
< div class = "table-header col-last" > Description< / div >
2026-02-27 03:15:18 +01:00
< div class = "col-first even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4" > < code > static void< / code > < / div >
2026-04-27 19:18:51 +02:00
< div class = "col-second even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4" > < code > < a href = "#main(java.lang.String%5B%5D)" class = "member-name-link" > main< / a > < wbr > (< a href = "https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title = "class in java.lang" class = "external-link" > String< / a > [] args)< / code > < / div >
2026-02-27 03:15:18 +01:00
< div class = "col-last even-row-color method-summary-table method-summary-table-tab1 method-summary-table-tab4" > < / div >
2025-05-20 12:10:27 -04:00
< / div >
< / div >
< / div >
< div class = "inherited-list" >
2026-04-27 19:18:51 +02:00
< h3 id = "methods-inherited-from-class-java.lang.Object" > Methods inherited from class < a href = "https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#method-summary" title = "class in java.lang" class = "external-link" > Object< / a > < / h3 >
< code > < a href = "https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#clone()" title = "clone()" class = "external-link" > clone< / a > , < a href = "https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)" title = "equals(Object)" class = "external-link" > equals< / a > , < a href = "https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#finalize()" title = "finalize()" class = "external-link" > finalize< / a > , < a href = "https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#getClass()" title = "getClass()" class = "external-link" > getClass< / a > , < a href = "https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#hashCode()" title = "hashCode()" class = "external-link" > hashCode< / a > , < a href = "https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notify()" title = "notify()" class = "external-link" > notify< / a > , < a href = "https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notifyAll()" title = "notifyAll()" class = "external-link" > notifyAll< / a > , < a href = "https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#toString()" title = "toString()" class = "external-link" > toString< / a > , < a href = "https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait()" title = "wait()" class = "external-link" > wait< / a > , < a href = "https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long)" title = "wait(long)" class = "external-link" > wait< / a > , < a href = "https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long,int)" title = "wait(long, int)" class = "external-link" > wait< / a > < / code > < / div >
2025-05-20 12:10:27 -04:00
< / section >
< / li >
< / ul >
< / section >
< section class = "details" >
< ul class = "details-list" >
2026-02-27 03:15:18 +01:00
<!-- ========= CONSTRUCTOR DETAIL ======== -->
< li >
< section class = "constructor-details" id = "constructor-detail" >
< h2 > Constructor Details< / h2 >
< ul class = "member-list" >
< li >
< section class = "detail" id = "<init>(com.google.adk.agents.BaseAgent)" >
< h3 > A2AAgentRun< / h3 >
< div class = "horizontal-scroll" >
< div class = "member-signature" > < span class = "modifiers" > public< / span > < span class = "element-name" > A2AAgentRun< / span > < wbr > < span class = "parameters" > (< a href = "../../google/adk/agents/BaseAgent.html" title = "class in com.google.adk.agents" > BaseAgent< / a > agent)< / span > < / div >
< / div >
< / section >
< / li >
< / ul >
< / section >
< / li >
2025-05-20 12:10:27 -04:00
<!-- ============ METHOD DETAIL ========== -->
< li >
< section class = "method-details" id = "method-detail" >
< h2 > Method Details< / h2 >
< ul class = "member-list" >
< li >
2026-02-27 03:15:18 +01:00
< section class = "detail" id = "main(java.lang.String[])" >
< h3 > main< / h3 >
2025-05-20 12:10:27 -04:00
< div class = "horizontal-scroll" >
2026-04-27 19:18:51 +02:00
< div class = "member-signature" > < span class = "modifiers" > public static< / span > < span class = "return-type" > void< / span > < span class = "element-name" > main< / span > < wbr > < span class = "parameters" > (< a href = "https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title = "class in java.lang" class = "external-link" > String< / a > [] args)< / span > < / div >
2025-05-20 12:10:27 -04:00
< / div >
< / section >
< / li >
< / ul >
< / section >
< / li >
< / ul >
< / section >
<!-- ========= END OF CLASS DATA ========= -->
2026-04-27 19:18:51 +02:00
< footer >
2025-05-20 12:10:27 -04:00
< hr >
2026-02-27 03:15:18 +01:00
< p class = "legal-copy" > < small > Copyright © 1980. All rights reserved.< / small > < / p >
2025-05-20 12:10:27 -04:00
< / footer >
< / main >
< / div >
< / body >
< / html >