Skip to content

Commit 7f2b1d0

Browse files
MarkDaoustcopybara-github
authored andcommitted
chore: Add java api reference examples.
PiperOrigin-RevId: 907772462
1 parent 131c210 commit 7f2b1d0

2 files changed

Lines changed: 28 additions & 3 deletions

File tree

pom.xml

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@
5858
<kotlin.version>1.9.10</kotlin.version>
5959
<main.java.src.dir>src/main/java</main.java.src.dir>
6060
<test.java.src.dir>src/test/java</test.java.src.dir>
61+
<maven.javadoc.skip>false</maven.javadoc.skip>
62+
<dokka.phase>prepare-package</dokka.phase>
6163
</properties>
6264

6365
<distributionManagement>
@@ -378,13 +380,36 @@
378380
</execution>
379381
</executions>
380382
</plugin>
383+
<plugin>
384+
<artifactId>maven-antrun-plugin</artifactId>
385+
<version>3.1.0</version>
386+
<executions>
387+
<execution>
388+
<id>dokka-warning</id>
389+
<phase>initialize</phase>
390+
<goals>
391+
<goal>run</goal>
392+
</goals>
393+
<configuration>
394+
<skip>${maven.javadoc.skip}</skip>
395+
<target>
396+
<echo>********************************************************************************</echo>
397+
<echo>WARNING: Dokka Javadoc generation is active and may take a long time (~45 mins).</echo>
398+
<echo>To skip it for faster local builds, use:</echo>
399+
<echo> mvn install -Ddokka.phase=none</echo>
400+
<echo>********************************************************************************</echo>
401+
</target>
402+
</configuration>
403+
</execution>
404+
</executions>
405+
</plugin>
381406
<plugin>
382407
<groupId>org.jetbrains.dokka</groupId>
383408
<artifactId>dokka-maven-plugin</artifactId>
384409
<version>2.0.0</version>
385410
<executions>
386411
<execution>
387-
<phase>prepare-package</phase>
412+
<phase>${dokka.phase}</phase>
388413
<goals>
389414
<goal>javadoc</goal>
390415
<goal>javadocJar</goal>

src/main/java/com/google/genai/interactions/models/interactions/DeepResearchAgentConfig.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ private constructor(
7272
/**
7373
* Enables human-in-the-loop planning for the Deep Research agent. If set to true, the Deep
7474
* Research agent will provide a research plan in its response. The agent will then proceed only
75-
* if the user confirms the plan in the next turn. Relevant issue: b/482352502.
75+
* if the user confirms the plan in the next turn. .
7676
*
7777
* @throws GeminiNextGenApiInvalidDataException if the JSON field has an unexpected type (e.g.
7878
* if the server responded with an unexpected value).
@@ -179,7 +179,7 @@ private constructor(
179179
/**
180180
* Enables human-in-the-loop planning for the Deep Research agent. If set to true, the Deep
181181
* Research agent will provide a research plan in its response. The agent will then proceed
182-
* only if the user confirms the plan in the next turn. Relevant issue: b/482352502.
182+
* only if the user confirms the plan in the next turn. .
183183
*/
184184
fun collaborativePlanning(collaborativePlanning: Boolean) =
185185
collaborativePlanning(JsonField.of(collaborativePlanning))

0 commit comments

Comments
 (0)