-
Notifications
You must be signed in to change notification settings - Fork 351
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: regenerate dataflow client (#23769)
Generated in GitHub action: https://togithub.com/googleapis/googleapis/google-api-java-client-services/actions/workflows/codegen.yaml
- Loading branch information
1 parent
5651ee6
commit 9967509
Showing
6 changed files
with
195 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
90 changes: 90 additions & 0 deletions
90
...gle-api-services-dataflow/v1b3/2.0.0/com/google/api/services/dataflow/model/GPUUsage.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
/* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except | ||
* in compliance with the License. You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software distributed under the License | ||
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express | ||
* or implied. See the License for the specific language governing permissions and limitations under | ||
* the License. | ||
*/ | ||
/* | ||
* This code was generated by https://github.com/googleapis/google-api-java-client-services/ | ||
* Modify at your own risk. | ||
*/ | ||
|
||
package com.google.api.services.dataflow.model; | ||
|
||
/** | ||
* Information about the GPU usage on the worker. | ||
* | ||
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is | ||
* transmitted over HTTP when working with the Dataflow API. For a detailed explanation see: | ||
* <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> | ||
* </p> | ||
* | ||
* @author Google, Inc. | ||
*/ | ||
@SuppressWarnings("javadoc") | ||
public final class GPUUsage extends com.google.api.client.json.GenericJson { | ||
|
||
/** | ||
* Required. Timestamp of the measurement. | ||
* The value may be {@code null}. | ||
*/ | ||
@com.google.api.client.util.Key | ||
private String timestamp; | ||
|
||
/** | ||
* Required. Utilization info about the GPU. | ||
* The value may be {@code null}. | ||
*/ | ||
@com.google.api.client.util.Key | ||
private GPUUtilization utilization; | ||
|
||
/** | ||
* Required. Timestamp of the measurement. | ||
* @return value or {@code null} for none | ||
*/ | ||
public String getTimestamp() { | ||
return timestamp; | ||
} | ||
|
||
/** | ||
* Required. Timestamp of the measurement. | ||
* @param timestamp timestamp or {@code null} for none | ||
*/ | ||
public GPUUsage setTimestamp(String timestamp) { | ||
this.timestamp = timestamp; | ||
return this; | ||
} | ||
|
||
/** | ||
* Required. Utilization info about the GPU. | ||
* @return value or {@code null} for none | ||
*/ | ||
public GPUUtilization getUtilization() { | ||
return utilization; | ||
} | ||
|
||
/** | ||
* Required. Utilization info about the GPU. | ||
* @param utilization utilization or {@code null} for none | ||
*/ | ||
public GPUUsage setUtilization(GPUUtilization utilization) { | ||
this.utilization = utilization; | ||
return this; | ||
} | ||
|
||
@Override | ||
public GPUUsage set(String fieldName, Object value) { | ||
return (GPUUsage) super.set(fieldName, value); | ||
} | ||
|
||
@Override | ||
public GPUUsage clone() { | ||
return (GPUUsage) super.clone(); | ||
} | ||
|
||
} |
69 changes: 69 additions & 0 deletions
69
...i-services-dataflow/v1b3/2.0.0/com/google/api/services/dataflow/model/GPUUtilization.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
/* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except | ||
* in compliance with the License. You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software distributed under the License | ||
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express | ||
* or implied. See the License for the specific language governing permissions and limitations under | ||
* the License. | ||
*/ | ||
/* | ||
* This code was generated by https://github.com/googleapis/google-api-java-client-services/ | ||
* Modify at your own risk. | ||
*/ | ||
|
||
package com.google.api.services.dataflow.model; | ||
|
||
/** | ||
* Utilization details about the GPU. | ||
* | ||
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is | ||
* transmitted over HTTP when working with the Dataflow API. For a detailed explanation see: | ||
* <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> | ||
* </p> | ||
* | ||
* @author Google, Inc. | ||
*/ | ||
@SuppressWarnings("javadoc") | ||
public final class GPUUtilization extends com.google.api.client.json.GenericJson { | ||
|
||
/** | ||
* Required. GPU utilization rate of any kernel over the last sample period in the range of [0, | ||
* 1]. | ||
* The value may be {@code null}. | ||
*/ | ||
@com.google.api.client.util.Key | ||
private java.lang.Double rate; | ||
|
||
/** | ||
* Required. GPU utilization rate of any kernel over the last sample period in the range of [0, | ||
* 1]. | ||
* @return value or {@code null} for none | ||
*/ | ||
public java.lang.Double getRate() { | ||
return rate; | ||
} | ||
|
||
/** | ||
* Required. GPU utilization rate of any kernel over the last sample period in the range of [0, | ||
* 1]. | ||
* @param rate rate or {@code null} for none | ||
*/ | ||
public GPUUtilization setRate(java.lang.Double rate) { | ||
this.rate = rate; | ||
return this; | ||
} | ||
|
||
@Override | ||
public GPUUtilization set(String fieldName, Object value) { | ||
return (GPUUtilization) super.set(fieldName, value); | ||
} | ||
|
||
@Override | ||
public GPUUtilization clone() { | ||
return (GPUUtilization) super.clone(); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters