Skip to content

Commit 5808aa6

Browse files
1 parent 64b04f2 commit 5808aa6

5 files changed

Lines changed: 25 additions & 19 deletions

File tree

clients/google-api-services-agentregistry/v1alpha/2.0.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-agentregistry</artifactId>
25-
<version>v1alpha-rev20260430-2.0.0</version>
25+
<version>v1alpha-rev20260608-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-agentregistry:v1alpha-rev20260430-2.0.0'
38+
implementation 'com.google.apis:google-api-services-agentregistry:v1alpha-rev20260608-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-agentregistry/v1alpha/2.0.0/com/google/api/services/agentregistry/v1alpha/model/Skill.java renamed to clients/google-api-services-agentregistry/v1alpha/2.0.0/com/google/api/services/agentregistry/v1alpha/model/A2ASkill.java

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
* @author Google, Inc.
2828
*/
2929
@SuppressWarnings("javadoc")
30-
public final class Skill extends com.google.api.client.json.GenericJson {
30+
public final class A2ASkill extends com.google.api.client.json.GenericJson {
3131

3232
/**
3333
* Output only. A more detailed description of the skill.
@@ -76,7 +76,7 @@ public java.lang.String getDescription() {
7676
* Output only. A more detailed description of the skill.
7777
* @param description description or {@code null} for none
7878
*/
79-
public Skill setDescription(java.lang.String description) {
79+
public A2ASkill setDescription(java.lang.String description) {
8080
this.description = description;
8181
return this;
8282
}
@@ -93,7 +93,7 @@ public java.util.List<java.lang.String> getExamples() {
9393
* Output only. Example prompts or scenarios this skill can handle.
9494
* @param examples examples or {@code null} for none
9595
*/
96-
public Skill setExamples(java.util.List<java.lang.String> examples) {
96+
public A2ASkill setExamples(java.util.List<java.lang.String> examples) {
9797
this.examples = examples;
9898
return this;
9999
}
@@ -110,7 +110,7 @@ public java.lang.String getId() {
110110
* Output only. A unique identifier for the agent's skill.
111111
* @param id id or {@code null} for none
112112
*/
113-
public Skill setId(java.lang.String id) {
113+
public A2ASkill setId(java.lang.String id) {
114114
this.id = id;
115115
return this;
116116
}
@@ -127,7 +127,7 @@ public java.lang.String getName() {
127127
* Output only. A human-readable name for the agent's skill.
128128
* @param name name or {@code null} for none
129129
*/
130-
public Skill setName(java.lang.String name) {
130+
public A2ASkill setName(java.lang.String name) {
131131
this.name = name;
132132
return this;
133133
}
@@ -144,19 +144,19 @@ public java.util.List<java.lang.String> getTags() {
144144
* Output only. Keywords describing the skill.
145145
* @param tags tags or {@code null} for none
146146
*/
147-
public Skill setTags(java.util.List<java.lang.String> tags) {
147+
public A2ASkill setTags(java.util.List<java.lang.String> tags) {
148148
this.tags = tags;
149149
return this;
150150
}
151151

152152
@Override
153-
public Skill set(String fieldName, Object value) {
154-
return (Skill) super.set(fieldName, value);
153+
public A2ASkill set(String fieldName, Object value) {
154+
return (A2ASkill) super.set(fieldName, value);
155155
}
156156

157157
@Override
158-
public Skill clone() {
159-
return (Skill) super.clone();
158+
public A2ASkill clone() {
159+
return (A2ASkill) super.clone();
160160
}
161161

162162
}

clients/google-api-services-agentregistry/v1alpha/2.0.0/com/google/api/services/agentregistry/v1alpha/model/Agent.java

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,13 @@ public final class Agent extends com.google.api.client.json.GenericJson {
106106
* The value may be {@code null}.
107107
*/
108108
@com.google.api.client.util.Key
109-
private java.util.List<Skill> skills;
109+
private java.util.List<A2ASkill> skills;
110+
111+
static {
112+
// hack to force ProGuard to consider A2ASkill used, since otherwise it would be stripped out
113+
// see https://github.com/google/google-api-java-client/issues/543
114+
com.google.api.client.util.Data.nullOf(A2ASkill.class);
115+
}
110116

111117
/**
112118
* Output only. A universally unique identifier for the Agent.
@@ -305,15 +311,15 @@ public Agent setProtocols(java.util.List<Protocol> protocols) {
305311
* Output only. Skills the agent possesses, often obtained from the A2A Agent Card.
306312
* @return value or {@code null} for none
307313
*/
308-
public java.util.List<Skill> getSkills() {
314+
public java.util.List<A2ASkill> getSkills() {
309315
return skills;
310316
}
311317

312318
/**
313319
* Output only. Skills the agent possesses, often obtained from the A2A Agent Card.
314320
* @param skills skills or {@code null} for none
315321
*/
316-
public Agent setSkills(java.util.List<Skill> skills) {
322+
public Agent setSkills(java.util.List<A2ASkill> skills) {
317323
this.skills = skills;
318324
return this;
319325
}

clients/google-api-services-agentregistry/v1alpha/2.0.0/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
<groupId>com.google.apis</groupId>
1010
<artifactId>google-api-services-agentregistry</artifactId>
11-
<version>v1alpha-rev20260430-2.0.0</version>
12-
<name>Agent Registry API v1alpha-rev20260430-2.0.0</name>
11+
<version>v1alpha-rev20260608-2.0.0</version>
12+
<name>Agent Registry API v1alpha-rev20260608-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-agentregistry/v1alpha/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-agentregistry</artifactId>
25-
<version>v1alpha-rev20260430-2.0.0</version>
25+
<version>v1alpha-rev20260608-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-agentregistry:v1alpha-rev20260430-2.0.0'
38+
implementation 'com.google.apis:google-api-services-agentregistry:v1alpha-rev20260608-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)