diff --git a/java-batch/README.md b/java-batch/README.md index a5701011d429..827dbfd43478 100644 --- a/java-batch/README.md +++ b/java-batch/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.25.0 + 26.26.0 pom import @@ -201,7 +201,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-batch.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-batch/0.28.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-batch/0.29.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/TaskGroup.java b/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/TaskGroup.java index e2061f22b538..7776c1e4a885 100644 --- a/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/TaskGroup.java +++ b/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/TaskGroup.java @@ -361,7 +361,8 @@ public long getTaskCount() { * *
    * Max number of tasks that can run in parallel.
-   * Default to min(task_count, 1000).
+   * Default to min(task_count, parallel tasks per job limit).
+   * See: [Job Limits](https://cloud.google.com/batch/quotas#job_limits).
    * Field parallelism must be 1 if the scheduling_policy is IN_ORDER.
    * 
* @@ -1543,7 +1544,8 @@ public Builder clearTaskCount() { * *
      * Max number of tasks that can run in parallel.
-     * Default to min(task_count, 1000).
+     * Default to min(task_count, parallel tasks per job limit).
+     * See: [Job Limits](https://cloud.google.com/batch/quotas#job_limits).
      * Field parallelism must be 1 if the scheduling_policy is IN_ORDER.
      * 
* @@ -1560,7 +1562,8 @@ public long getParallelism() { * *
      * Max number of tasks that can run in parallel.
-     * Default to min(task_count, 1000).
+     * Default to min(task_count, parallel tasks per job limit).
+     * See: [Job Limits](https://cloud.google.com/batch/quotas#job_limits).
      * Field parallelism must be 1 if the scheduling_policy is IN_ORDER.
      * 
* @@ -1581,7 +1584,8 @@ public Builder setParallelism(long value) { * *
      * Max number of tasks that can run in parallel.
-     * Default to min(task_count, 1000).
+     * Default to min(task_count, parallel tasks per job limit).
+     * See: [Job Limits](https://cloud.google.com/batch/quotas#job_limits).
      * Field parallelism must be 1 if the scheduling_policy is IN_ORDER.
      * 
* diff --git a/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/TaskGroupOrBuilder.java b/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/TaskGroupOrBuilder.java index 7ee2c8e971d3..0554051198ff 100644 --- a/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/TaskGroupOrBuilder.java +++ b/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/TaskGroupOrBuilder.java @@ -111,7 +111,8 @@ public interface TaskGroupOrBuilder * *
    * Max number of tasks that can run in parallel.
-   * Default to min(task_count, 1000).
+   * Default to min(task_count, parallel tasks per job limit).
+   * See: [Job Limits](https://cloud.google.com/batch/quotas#job_limits).
    * Field parallelism must be 1 if the scheduling_policy is IN_ORDER.
    * 
* diff --git a/java-batch/proto-google-cloud-batch-v1/src/main/proto/google/cloud/batch/v1/job.proto b/java-batch/proto-google-cloud-batch-v1/src/main/proto/google/cloud/batch/v1/job.proto index 4eba598ed6bc..8c75f5b2d21e 100644 --- a/java-batch/proto-google-cloud-batch-v1/src/main/proto/google/cloud/batch/v1/job.proto +++ b/java-batch/proto-google-cloud-batch-v1/src/main/proto/google/cloud/batch/v1/job.proto @@ -549,7 +549,8 @@ message TaskGroup { int64 task_count = 4; // Max number of tasks that can run in parallel. - // Default to min(task_count, 1000). + // Default to min(task_count, parallel tasks per job limit). + // See: [Job Limits](https://cloud.google.com/batch/quotas#job_limits). // Field parallelism must be 1 if the scheduling_policy is IN_ORDER. int64 parallelism = 5; diff --git a/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/TaskGroup.java b/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/TaskGroup.java index 16b24d5d05e7..fe6188d5a3b3 100644 --- a/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/TaskGroup.java +++ b/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/TaskGroup.java @@ -379,7 +379,8 @@ public long getTaskCount() { * *
    * Max number of tasks that can run in parallel.
-   * Default to min(task_count, 1000).
+   * Default to min(task_count, parallel tasks per job limit).
+   * See: [Job Limits](https://cloud.google.com/batch/quotas#job_limits).
    * Field parallelism must be 1 if the scheduling_policy is IN_ORDER.
    * 
* @@ -1828,7 +1829,8 @@ public Builder clearTaskCount() { * *
      * Max number of tasks that can run in parallel.
-     * Default to min(task_count, 1000).
+     * Default to min(task_count, parallel tasks per job limit).
+     * See: [Job Limits](https://cloud.google.com/batch/quotas#job_limits).
      * Field parallelism must be 1 if the scheduling_policy is IN_ORDER.
      * 
* @@ -1845,7 +1847,8 @@ public long getParallelism() { * *
      * Max number of tasks that can run in parallel.
-     * Default to min(task_count, 1000).
+     * Default to min(task_count, parallel tasks per job limit).
+     * See: [Job Limits](https://cloud.google.com/batch/quotas#job_limits).
      * Field parallelism must be 1 if the scheduling_policy is IN_ORDER.
      * 
* @@ -1866,7 +1869,8 @@ public Builder setParallelism(long value) { * *
      * Max number of tasks that can run in parallel.
-     * Default to min(task_count, 1000).
+     * Default to min(task_count, parallel tasks per job limit).
+     * See: [Job Limits](https://cloud.google.com/batch/quotas#job_limits).
      * Field parallelism must be 1 if the scheduling_policy is IN_ORDER.
      * 
* diff --git a/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/TaskGroupOrBuilder.java b/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/TaskGroupOrBuilder.java index f247dcaa9612..304f4073d797 100644 --- a/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/TaskGroupOrBuilder.java +++ b/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/TaskGroupOrBuilder.java @@ -114,7 +114,8 @@ public interface TaskGroupOrBuilder * *
    * Max number of tasks that can run in parallel.
-   * Default to min(task_count, 1000).
+   * Default to min(task_count, parallel tasks per job limit).
+   * See: [Job Limits](https://cloud.google.com/batch/quotas#job_limits).
    * Field parallelism must be 1 if the scheduling_policy is IN_ORDER.
    * 
* diff --git a/java-batch/proto-google-cloud-batch-v1alpha/src/main/proto/google/cloud/batch/v1alpha/job.proto b/java-batch/proto-google-cloud-batch-v1alpha/src/main/proto/google/cloud/batch/v1alpha/job.proto index 9f88259801dd..b16094126e18 100644 --- a/java-batch/proto-google-cloud-batch-v1alpha/src/main/proto/google/cloud/batch/v1alpha/job.proto +++ b/java-batch/proto-google-cloud-batch-v1alpha/src/main/proto/google/cloud/batch/v1alpha/job.proto @@ -628,7 +628,8 @@ message TaskGroup { int64 task_count = 4; // Max number of tasks that can run in parallel. - // Default to min(task_count, 1000). + // Default to min(task_count, parallel tasks per job limit). + // See: [Job Limits](https://cloud.google.com/batch/quotas#job_limits). // Field parallelism must be 1 if the scheduling_policy is IN_ORDER. int64 parallelism = 5;