Skip to content

Commit 82aaa7d

Browse files
1 parent 3830cd3 commit 82aaa7d

File tree

8 files changed

+534
-6
lines changed

8 files changed

+534
-6
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-rev20250505-2.0.0</version>
25+
<version>v1b3-rev20250519-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-rev20250505-2.0.0'
38+
implementation 'com.google.apis:google-api-services-dataflow:v1b3-rev20250519-2.0.0'
3939
}
4040
```
4141

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

Lines changed: 138 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2002,6 +2002,144 @@ public GetConfig set(String parameterName, Object value) {
20022002
return (GetConfig) super.set(parameterName, value);
20032003
}
20042004
}
2005+
/**
2006+
* Get worker stacktraces from debug capture.
2007+
*
2008+
* Create a request for the method "debug.getWorkerStacktraces".
2009+
*
2010+
* This request holds the parameters needed by the dataflow server. After setting any optional
2011+
* parameters, call the {@link GetWorkerStacktraces#execute()} method to invoke the remote
2012+
* operation.
2013+
*
2014+
* @param projectId The project id.
2015+
* @param jobId The job for which to get stacktraces.
2016+
* @param content the {@link com.google.api.services.dataflow.model.GetWorkerStacktracesRequest}
2017+
* @return the request
2018+
*/
2019+
public GetWorkerStacktraces getWorkerStacktraces(java.lang.String projectId, java.lang.String jobId, com.google.api.services.dataflow.model.GetWorkerStacktracesRequest content) throws java.io.IOException {
2020+
GetWorkerStacktraces result = new GetWorkerStacktraces(projectId, jobId, content);
2021+
initialize(result);
2022+
return result;
2023+
}
2024+
2025+
public class GetWorkerStacktraces extends DataflowRequest<com.google.api.services.dataflow.model.GetWorkerStacktracesResponse> {
2026+
2027+
private static final String REST_PATH = "v1b3/projects/{projectId}/jobs/{jobId}/debug/getWorkerStacktraces";
2028+
2029+
/**
2030+
* Get worker stacktraces from debug capture.
2031+
*
2032+
* Create a request for the method "debug.getWorkerStacktraces".
2033+
*
2034+
* This request holds the parameters needed by the the dataflow server. After setting any
2035+
* optional parameters, call the {@link GetWorkerStacktraces#execute()} method to invoke the
2036+
* remote operation. <p> {@link GetWorkerStacktraces#initialize(com.google.api.client.googleapis.s
2037+
* ervices.AbstractGoogleClientRequest)} must be called to initialize this instance immediately
2038+
* after invoking the constructor. </p>
2039+
*
2040+
* @param projectId The project id.
2041+
* @param jobId The job for which to get stacktraces.
2042+
* @param content the {@link com.google.api.services.dataflow.model.GetWorkerStacktracesRequest}
2043+
* @since 1.13
2044+
*/
2045+
protected GetWorkerStacktraces(java.lang.String projectId, java.lang.String jobId, com.google.api.services.dataflow.model.GetWorkerStacktracesRequest content) {
2046+
super(Dataflow.this, "POST", REST_PATH, content, com.google.api.services.dataflow.model.GetWorkerStacktracesResponse.class);
2047+
this.projectId = com.google.api.client.util.Preconditions.checkNotNull(projectId, "Required parameter projectId must be specified.");
2048+
this.jobId = com.google.api.client.util.Preconditions.checkNotNull(jobId, "Required parameter jobId must be specified.");
2049+
}
2050+
2051+
@Override
2052+
public GetWorkerStacktraces set$Xgafv(java.lang.String $Xgafv) {
2053+
return (GetWorkerStacktraces) super.set$Xgafv($Xgafv);
2054+
}
2055+
2056+
@Override
2057+
public GetWorkerStacktraces setAccessToken(java.lang.String accessToken) {
2058+
return (GetWorkerStacktraces) super.setAccessToken(accessToken);
2059+
}
2060+
2061+
@Override
2062+
public GetWorkerStacktraces setAlt(java.lang.String alt) {
2063+
return (GetWorkerStacktraces) super.setAlt(alt);
2064+
}
2065+
2066+
@Override
2067+
public GetWorkerStacktraces setCallback(java.lang.String callback) {
2068+
return (GetWorkerStacktraces) super.setCallback(callback);
2069+
}
2070+
2071+
@Override
2072+
public GetWorkerStacktraces setFields(java.lang.String fields) {
2073+
return (GetWorkerStacktraces) super.setFields(fields);
2074+
}
2075+
2076+
@Override
2077+
public GetWorkerStacktraces setKey(java.lang.String key) {
2078+
return (GetWorkerStacktraces) super.setKey(key);
2079+
}
2080+
2081+
@Override
2082+
public GetWorkerStacktraces setOauthToken(java.lang.String oauthToken) {
2083+
return (GetWorkerStacktraces) super.setOauthToken(oauthToken);
2084+
}
2085+
2086+
@Override
2087+
public GetWorkerStacktraces setPrettyPrint(java.lang.Boolean prettyPrint) {
2088+
return (GetWorkerStacktraces) super.setPrettyPrint(prettyPrint);
2089+
}
2090+
2091+
@Override
2092+
public GetWorkerStacktraces setQuotaUser(java.lang.String quotaUser) {
2093+
return (GetWorkerStacktraces) super.setQuotaUser(quotaUser);
2094+
}
2095+
2096+
@Override
2097+
public GetWorkerStacktraces setUploadType(java.lang.String uploadType) {
2098+
return (GetWorkerStacktraces) super.setUploadType(uploadType);
2099+
}
2100+
2101+
@Override
2102+
public GetWorkerStacktraces setUploadProtocol(java.lang.String uploadProtocol) {
2103+
return (GetWorkerStacktraces) super.setUploadProtocol(uploadProtocol);
2104+
}
2105+
2106+
/** The project id. */
2107+
@com.google.api.client.util.Key
2108+
private java.lang.String projectId;
2109+
2110+
/** The project id.
2111+
*/
2112+
public java.lang.String getProjectId() {
2113+
return projectId;
2114+
}
2115+
2116+
/** The project id. */
2117+
public GetWorkerStacktraces setProjectId(java.lang.String projectId) {
2118+
this.projectId = projectId;
2119+
return this;
2120+
}
2121+
2122+
/** The job for which to get stacktraces. */
2123+
@com.google.api.client.util.Key
2124+
private java.lang.String jobId;
2125+
2126+
/** The job for which to get stacktraces.
2127+
*/
2128+
public java.lang.String getJobId() {
2129+
return jobId;
2130+
}
2131+
2132+
/** The job for which to get stacktraces. */
2133+
public GetWorkerStacktraces setJobId(java.lang.String jobId) {
2134+
this.jobId = jobId;
2135+
return this;
2136+
}
2137+
2138+
@Override
2139+
public GetWorkerStacktraces set(String parameterName, Object value) {
2140+
return (GetWorkerStacktraces) super.set(parameterName, value);
2141+
}
2142+
}
20052143
/**
20062144
* Send encoded debug capture data for component.
20072145
*
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
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+
* Request to get worker stacktraces from debug capture.
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 GetWorkerStacktracesRequest extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* The worker for which to get stacktraces. The returned stacktraces will be for the SDK harness
34+
* running on this worker.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.String workerId;
39+
40+
/**
41+
* The worker for which to get stacktraces. The returned stacktraces will be for the SDK harness
42+
* running on this worker.
43+
* @return value or {@code null} for none
44+
*/
45+
public java.lang.String getWorkerId() {
46+
return workerId;
47+
}
48+
49+
/**
50+
* The worker for which to get stacktraces. The returned stacktraces will be for the SDK harness
51+
* running on this worker.
52+
* @param workerId workerId or {@code null} for none
53+
*/
54+
public GetWorkerStacktracesRequest setWorkerId(java.lang.String workerId) {
55+
this.workerId = workerId;
56+
return this;
57+
}
58+
59+
@Override
60+
public GetWorkerStacktracesRequest set(String fieldName, Object value) {
61+
return (GetWorkerStacktracesRequest) super.set(fieldName, value);
62+
}
63+
64+
@Override
65+
public GetWorkerStacktracesRequest clone() {
66+
return (GetWorkerStacktracesRequest) super.clone();
67+
}
68+
69+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
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+
* Response to get worker stacktraces from debug capture.
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 GetWorkerStacktracesResponse extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Repeated as unified worker may have multiple SDK processes.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.util.List<Sdk> sdks;
38+
39+
/**
40+
* Repeated as unified worker may have multiple SDK processes.
41+
* @return value or {@code null} for none
42+
*/
43+
public java.util.List<Sdk> getSdks() {
44+
return sdks;
45+
}
46+
47+
/**
48+
* Repeated as unified worker may have multiple SDK processes.
49+
* @param sdks sdks or {@code null} for none
50+
*/
51+
public GetWorkerStacktracesResponse setSdks(java.util.List<Sdk> sdks) {
52+
this.sdks = sdks;
53+
return this;
54+
}
55+
56+
@Override
57+
public GetWorkerStacktracesResponse set(String fieldName, Object value) {
58+
return (GetWorkerStacktracesResponse) super.set(fieldName, value);
59+
}
60+
61+
@Override
62+
public GetWorkerStacktracesResponse clone() {
63+
return (GetWorkerStacktracesResponse) super.clone();
64+
}
65+
66+
}
Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
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 structured representation of an SDK.
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 Sdk extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* The SDK harness id.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.String sdkId;
38+
39+
/**
40+
* The stacktraces for the processes running on the SDK harness.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private java.util.List<Stack> stacks;
45+
46+
/**
47+
* The SDK harness id.
48+
* @return value or {@code null} for none
49+
*/
50+
public java.lang.String getSdkId() {
51+
return sdkId;
52+
}
53+
54+
/**
55+
* The SDK harness id.
56+
* @param sdkId sdkId or {@code null} for none
57+
*/
58+
public Sdk setSdkId(java.lang.String sdkId) {
59+
this.sdkId = sdkId;
60+
return this;
61+
}
62+
63+
/**
64+
* The stacktraces for the processes running on the SDK harness.
65+
* @return value or {@code null} for none
66+
*/
67+
public java.util.List<Stack> getStacks() {
68+
return stacks;
69+
}
70+
71+
/**
72+
* The stacktraces for the processes running on the SDK harness.
73+
* @param stacks stacks or {@code null} for none
74+
*/
75+
public Sdk setStacks(java.util.List<Stack> stacks) {
76+
this.stacks = stacks;
77+
return this;
78+
}
79+
80+
@Override
81+
public Sdk set(String fieldName, Object value) {
82+
return (Sdk) super.set(fieldName, value);
83+
}
84+
85+
@Override
86+
public Sdk clone() {
87+
return (Sdk) super.clone();
88+
}
89+
90+
}

0 commit comments

Comments
 (0)