Skip to content

Commit 1d5a5da

Browse files
1 parent 7ff9442 commit 1d5a5da

File tree

7 files changed

+272
-14
lines changed

7 files changed

+272
-14
lines changed

clients/google-api-services-dataflow/v1b3/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-dataflow</artifactId>
25-
<version>v1b3-rev20241209-2.0.0</version>
25+
<version>v1b3-rev20250106-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-dataflow:v1b3-rev20241209-2.0.0'
38+
implementation 'com.google.apis:google-api-services-dataflow:v1b3-rev20250106-2.0.0'
3939
}
4040
```
4141

Lines changed: 114 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.dataflow.model;
18+
19+
/**
20+
* The message type used for encoding metrics of type bounded trie.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the Dataflow API. For a detailed explanation see:
24+
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
25+
* </p>
26+
*
27+
* @author Google, Inc.
28+
*/
29+
@SuppressWarnings("javadoc")
30+
public final class BoundedTrie extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* The maximum number of elements to store before truncation.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.Integer bound;
38+
39+
/**
40+
* A compact representation of all the elements in this trie.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private BoundedTrieNode root;
45+
46+
/**
47+
* A more efficient representation for metrics consisting of a single value.
48+
* The value may be {@code null}.
49+
*/
50+
@com.google.api.client.util.Key
51+
private java.util.List<java.lang.String> singleton;
52+
53+
/**
54+
* The maximum number of elements to store before truncation.
55+
* @return value or {@code null} for none
56+
*/
57+
public java.lang.Integer getBound() {
58+
return bound;
59+
}
60+
61+
/**
62+
* The maximum number of elements to store before truncation.
63+
* @param bound bound or {@code null} for none
64+
*/
65+
public BoundedTrie setBound(java.lang.Integer bound) {
66+
this.bound = bound;
67+
return this;
68+
}
69+
70+
/**
71+
* A compact representation of all the elements in this trie.
72+
* @return value or {@code null} for none
73+
*/
74+
public BoundedTrieNode getRoot() {
75+
return root;
76+
}
77+
78+
/**
79+
* A compact representation of all the elements in this trie.
80+
* @param root root or {@code null} for none
81+
*/
82+
public BoundedTrie setRoot(BoundedTrieNode root) {
83+
this.root = root;
84+
return this;
85+
}
86+
87+
/**
88+
* A more efficient representation for metrics consisting of a single value.
89+
* @return value or {@code null} for none
90+
*/
91+
public java.util.List<java.lang.String> getSingleton() {
92+
return singleton;
93+
}
94+
95+
/**
96+
* A more efficient representation for metrics consisting of a single value.
97+
* @param singleton singleton or {@code null} for none
98+
*/
99+
public BoundedTrie setSingleton(java.util.List<java.lang.String> singleton) {
100+
this.singleton = singleton;
101+
return this;
102+
}
103+
104+
@Override
105+
public BoundedTrie set(String fieldName, Object value) {
106+
return (BoundedTrie) super.set(fieldName, value);
107+
}
108+
109+
@Override
110+
public BoundedTrie clone() {
111+
return (BoundedTrie) super.clone();
112+
}
113+
114+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.dataflow.model;
18+
19+
/**
20+
* A single node in a BoundedTrie.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the Dataflow API. For a detailed explanation see:
24+
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
25+
* </p>
26+
*
27+
* @author Google, Inc.
28+
*/
29+
@SuppressWarnings("javadoc")
30+
public final class BoundedTrieNode extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Children of this node. Must be empty if truncated is true.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.util.Map<String, BoundedTrieNode> children;
38+
39+
/**
40+
* Whether this node has been truncated. A truncated leaf represents possibly many children with
41+
* the same prefix.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.lang.Boolean truncated;
46+
47+
/**
48+
* Children of this node. Must be empty if truncated is true.
49+
* @return value or {@code null} for none
50+
*/
51+
public java.util.Map<String, BoundedTrieNode> getChildren() {
52+
return children;
53+
}
54+
55+
/**
56+
* Children of this node. Must be empty if truncated is true.
57+
* @param children children or {@code null} for none
58+
*/
59+
public BoundedTrieNode setChildren(java.util.Map<String, BoundedTrieNode> children) {
60+
this.children = children;
61+
return this;
62+
}
63+
64+
/**
65+
* Whether this node has been truncated. A truncated leaf represents possibly many children with
66+
* the same prefix.
67+
* @return value or {@code null} for none
68+
*/
69+
public java.lang.Boolean getTruncated() {
70+
return truncated;
71+
}
72+
73+
/**
74+
* Whether this node has been truncated. A truncated leaf represents possibly many children with
75+
* the same prefix.
76+
* @param truncated truncated or {@code null} for none
77+
*/
78+
public BoundedTrieNode setTruncated(java.lang.Boolean truncated) {
79+
this.truncated = truncated;
80+
return this;
81+
}
82+
83+
@Override
84+
public BoundedTrieNode set(String fieldName, Object value) {
85+
return (BoundedTrieNode) super.set(fieldName, value);
86+
}
87+
88+
@Override
89+
public BoundedTrieNode clone() {
90+
return (BoundedTrieNode) super.clone();
91+
}
92+
93+
}

clients/google-api-services-dataflow/v1b3/2.0.0/com/google/api/services/dataflow/model/CounterUpdate.java

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
package com.google.api.services.dataflow.model;
1818

1919
/**
20-
* An update to a Counter sent from a worker.
20+
* An update to a Counter sent from a worker. Next ID: 17
2121
*
2222
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
2323
* transmitted over HTTP when working with the Dataflow API. For a detailed explanation see:
@@ -36,6 +36,13 @@ public final class CounterUpdate extends com.google.api.client.json.GenericJson
3636
@com.google.api.client.util.Key("boolean")
3737
private java.lang.Boolean boolean__;
3838

39+
/**
40+
* Bounded trie data
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private BoundedTrie boundedTrie;
45+
3946
/**
4047
* True if this counter is reported as the total cumulative aggregate value accumulated since the
4148
* worker started working on this WorkItem. By default this is false, indicating that this counter
@@ -154,6 +161,23 @@ public CounterUpdate setBoolean(java.lang.Boolean boolean__) {
154161
return this;
155162
}
156163

164+
/**
165+
* Bounded trie data
166+
* @return value or {@code null} for none
167+
*/
168+
public BoundedTrie getBoundedTrie() {
169+
return boundedTrie;
170+
}
171+
172+
/**
173+
* Bounded trie data
174+
* @param boundedTrie boundedTrie or {@code null} for none
175+
*/
176+
public CounterUpdate setBoundedTrie(BoundedTrie boundedTrie) {
177+
this.boundedTrie = boundedTrie;
178+
return this;
179+
}
180+
157181
/**
158182
* True if this counter is reported as the total cumulative aggregate value accumulated since the
159183
* worker started working on this WorkItem. By default this is false, indicating that this counter

clients/google-api-services-dataflow/v1b3/2.0.0/com/google/api/services/dataflow/model/MetricUpdate.java

Lines changed: 34 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
package com.google.api.services.dataflow.model;
1818

1919
/**
20-
* Describes the state of a metric.
20+
* Describes the state of a metric. Next ID: 14
2121
*
2222
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
2323
* transmitted over HTTP when working with the Dataflow API. For a detailed explanation see:
@@ -104,13 +104,21 @@ public final class MetricUpdate extends com.google.api.client.json.GenericJson {
104104

105105
/**
106106
* Worker-computed aggregate value for the "Set" aggregation kind. The only possible value type is
107-
* a list of Values whose type can be Long, Double, or String, according to the metric's type. All
108-
* Values in the list must be of the same type.
107+
* a list of Values whose type can be Long, Double, String, or BoundedTrie according to the
108+
* metric's type. All Values in the list must be of the same type.
109109
* The value may be {@code null}.
110110
*/
111111
@com.google.api.client.util.Key
112112
private java.lang.Object set;
113113

114+
/**
115+
* Worker-computed aggregate value for the "Trie" aggregation kind. The only possible value type
116+
* is a BoundedTrieNode.
117+
* The value may be {@code null}.
118+
*/
119+
@com.google.api.client.util.Key
120+
private java.lang.Object trie;
121+
114122
/**
115123
* Timestamp associated with the metric value. Optional when workers are reporting work progress;
116124
* it will be filled in responses from the metrics API.
@@ -294,8 +302,8 @@ public MetricUpdate setScalar(java.lang.Object scalar) {
294302

295303
/**
296304
* Worker-computed aggregate value for the "Set" aggregation kind. The only possible value type is
297-
* a list of Values whose type can be Long, Double, or String, according to the metric's type. All
298-
* Values in the list must be of the same type.
305+
* a list of Values whose type can be Long, Double, String, or BoundedTrie according to the
306+
* metric's type. All Values in the list must be of the same type.
299307
* @return value or {@code null} for none
300308
*/
301309
public java.lang.Object getSet() {
@@ -304,15 +312,34 @@ public java.lang.Object getSet() {
304312

305313
/**
306314
* Worker-computed aggregate value for the "Set" aggregation kind. The only possible value type is
307-
* a list of Values whose type can be Long, Double, or String, according to the metric's type. All
308-
* Values in the list must be of the same type.
315+
* a list of Values whose type can be Long, Double, String, or BoundedTrie according to the
316+
* metric's type. All Values in the list must be of the same type.
309317
* @param set set or {@code null} for none
310318
*/
311319
public MetricUpdate setSet(java.lang.Object set) {
312320
this.set = set;
313321
return this;
314322
}
315323

324+
/**
325+
* Worker-computed aggregate value for the "Trie" aggregation kind. The only possible value type
326+
* is a BoundedTrieNode.
327+
* @return value or {@code null} for none
328+
*/
329+
public java.lang.Object getTrie() {
330+
return trie;
331+
}
332+
333+
/**
334+
* Worker-computed aggregate value for the "Trie" aggregation kind. The only possible value type
335+
* is a BoundedTrieNode.
336+
* @param trie trie or {@code null} for none
337+
*/
338+
public MetricUpdate setTrie(java.lang.Object trie) {
339+
this.trie = trie;
340+
return this;
341+
}
342+
316343
/**
317344
* Timestamp associated with the metric value. Optional when workers are reporting work progress;
318345
* it will be filled in responses from the metrics API.

clients/google-api-services-dataflow/v1b3/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-dataflow</artifactId>
11-
<version>v1b3-rev20241209-2.0.0</version>
12-
<name>Dataflow API v1b3-rev20241209-2.0.0</name>
11+
<version>v1b3-rev20250106-2.0.0</version>
12+
<name>Dataflow API v1b3-rev20250106-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-dataflow/v1b3/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-dataflow</artifactId>
25-
<version>v1b3-rev20241209-2.0.0</version>
25+
<version>v1b3-rev20250106-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-dataflow:v1b3-rev20241209-2.0.0'
38+
implementation 'com.google.apis:google-api-services-dataflow:v1b3-rev20250106-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)