serializer =
ProtoRestSerializer.create();
serializer.putQueryParam(fields, "filter", request.getFilter());
+ serializer.putQueryParam(fields, "orderBy", request.getOrderBy());
serializer.putQueryParam(fields, "pageSize", request.getPageSize());
serializer.putQueryParam(fields, "pageToken", request.getPageToken());
serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int");
diff --git a/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/AllocationPolicy.java b/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/AllocationPolicy.java
index 100d78b1b7f9..12d9f4ade06c 100644
--- a/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/AllocationPolicy.java
+++ b/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/AllocationPolicy.java
@@ -1243,21 +1243,24 @@ public interface DiskOrBuilder
*
*
*
- * Name of a public or custom image used as the data source.
+ * Name of an image used as the data source.
* For example, the following are all valid URLs:
*
* * Specify the image by its family name:
- * projects/{project}/global/images/family/{image_family}
+ * <pre><code>projects/<var
+ * class="apiparam">project</var>/global/images/family/<var
+ * class="apiparam">image_family</var></code></pre>
* * Specify the image version:
- * projects/{project}/global/images/{image_version}
- *
+ * <pre>projects/<var
+ * class="apiparam">project</var>/global/images/<var
+ * class="apiparam">image_version</var></code></pre>
* You can also use Batch customized image in short names.
* The following image values are supported for a boot disk:
*
- * * "batch-debian": use Batch Debian images.
- * * "batch-centos": use Batch CentOS images.
- * * "batch-cos": use Batch Container-Optimized images.
- * * "batch-hpc-centos": use Batch HPC CentOS images.
+ * * `batch-debian`: use Batch Debian images.
+ * * `batch-centos`: use Batch CentOS images.
+ * * `batch-cos`: use Batch Container-Optimized images.
+ * * `batch-hpc-centos`: use Batch HPC CentOS images.
*
*
* string image = 4;
@@ -1269,21 +1272,24 @@ public interface DiskOrBuilder
*
*
*
- * Name of a public or custom image used as the data source.
+ * Name of an image used as the data source.
* For example, the following are all valid URLs:
*
* * Specify the image by its family name:
- * projects/{project}/global/images/family/{image_family}
+ * <pre><code>projects/<var
+ * class="apiparam">project</var>/global/images/family/<var
+ * class="apiparam">image_family</var></code></pre>
* * Specify the image version:
- * projects/{project}/global/images/{image_version}
- *
+ * <pre>projects/<var
+ * class="apiparam">project</var>/global/images/<var
+ * class="apiparam">image_version</var></code></pre>
* You can also use Batch customized image in short names.
* The following image values are supported for a boot disk:
*
- * * "batch-debian": use Batch Debian images.
- * * "batch-centos": use Batch CentOS images.
- * * "batch-cos": use Batch Container-Optimized images.
- * * "batch-hpc-centos": use Batch HPC CentOS images.
+ * * `batch-debian`: use Batch Debian images.
+ * * `batch-centos`: use Batch CentOS images.
+ * * `batch-cos`: use Batch Container-Optimized images.
+ * * `batch-hpc-centos`: use Batch HPC CentOS images.
*
*
* string image = 4;
@@ -1295,21 +1301,24 @@ public interface DiskOrBuilder
*
*
*
- * Name of a public or custom image used as the data source.
+ * Name of an image used as the data source.
* For example, the following are all valid URLs:
*
* * Specify the image by its family name:
- * projects/{project}/global/images/family/{image_family}
+ * <pre><code>projects/<var
+ * class="apiparam">project</var>/global/images/family/<var
+ * class="apiparam">image_family</var></code></pre>
* * Specify the image version:
- * projects/{project}/global/images/{image_version}
- *
+ * <pre>projects/<var
+ * class="apiparam">project</var>/global/images/<var
+ * class="apiparam">image_version</var></code></pre>
* You can also use Batch customized image in short names.
* The following image values are supported for a boot disk:
*
- * * "batch-debian": use Batch Debian images.
- * * "batch-centos": use Batch CentOS images.
- * * "batch-cos": use Batch Container-Optimized images.
- * * "batch-hpc-centos": use Batch HPC CentOS images.
+ * * `batch-debian`: use Batch Debian images.
+ * * `batch-centos`: use Batch CentOS images.
+ * * `batch-cos`: use Batch Container-Optimized images.
+ * * `batch-hpc-centos`: use Batch HPC CentOS images.
*
*
* string image = 4;
@@ -1544,21 +1553,24 @@ public DataSourceCase getDataSourceCase() {
*
*
*
- * Name of a public or custom image used as the data source.
+ * Name of an image used as the data source.
* For example, the following are all valid URLs:
*
* * Specify the image by its family name:
- * projects/{project}/global/images/family/{image_family}
+ * <pre><code>projects/<var
+ * class="apiparam">project</var>/global/images/family/<var
+ * class="apiparam">image_family</var></code></pre>
* * Specify the image version:
- * projects/{project}/global/images/{image_version}
- *
+ * <pre>projects/<var
+ * class="apiparam">project</var>/global/images/<var
+ * class="apiparam">image_version</var></code></pre>
* You can also use Batch customized image in short names.
* The following image values are supported for a boot disk:
*
- * * "batch-debian": use Batch Debian images.
- * * "batch-centos": use Batch CentOS images.
- * * "batch-cos": use Batch Container-Optimized images.
- * * "batch-hpc-centos": use Batch HPC CentOS images.
+ * * `batch-debian`: use Batch Debian images.
+ * * `batch-centos`: use Batch CentOS images.
+ * * `batch-cos`: use Batch Container-Optimized images.
+ * * `batch-hpc-centos`: use Batch HPC CentOS images.
*
*
* string image = 4;
@@ -1572,21 +1584,24 @@ public boolean hasImage() {
*
*
*
- * Name of a public or custom image used as the data source.
+ * Name of an image used as the data source.
* For example, the following are all valid URLs:
*
* * Specify the image by its family name:
- * projects/{project}/global/images/family/{image_family}
+ * <pre><code>projects/<var
+ * class="apiparam">project</var>/global/images/family/<var
+ * class="apiparam">image_family</var></code></pre>
* * Specify the image version:
- * projects/{project}/global/images/{image_version}
- *
+ * <pre>projects/<var
+ * class="apiparam">project</var>/global/images/<var
+ * class="apiparam">image_version</var></code></pre>
* You can also use Batch customized image in short names.
* The following image values are supported for a boot disk:
*
- * * "batch-debian": use Batch Debian images.
- * * "batch-centos": use Batch CentOS images.
- * * "batch-cos": use Batch Container-Optimized images.
- * * "batch-hpc-centos": use Batch HPC CentOS images.
+ * * `batch-debian`: use Batch Debian images.
+ * * `batch-centos`: use Batch CentOS images.
+ * * `batch-cos`: use Batch Container-Optimized images.
+ * * `batch-hpc-centos`: use Batch HPC CentOS images.
*
*
* string image = 4;
@@ -1613,21 +1628,24 @@ public java.lang.String getImage() {
*
*
*
- * Name of a public or custom image used as the data source.
+ * Name of an image used as the data source.
* For example, the following are all valid URLs:
*
* * Specify the image by its family name:
- * projects/{project}/global/images/family/{image_family}
+ * <pre><code>projects/<var
+ * class="apiparam">project</var>/global/images/family/<var
+ * class="apiparam">image_family</var></code></pre>
* * Specify the image version:
- * projects/{project}/global/images/{image_version}
- *
+ * <pre>projects/<var
+ * class="apiparam">project</var>/global/images/<var
+ * class="apiparam">image_version</var></code></pre>
* You can also use Batch customized image in short names.
* The following image values are supported for a boot disk:
*
- * * "batch-debian": use Batch Debian images.
- * * "batch-centos": use Batch CentOS images.
- * * "batch-cos": use Batch Container-Optimized images.
- * * "batch-hpc-centos": use Batch HPC CentOS images.
+ * * `batch-debian`: use Batch Debian images.
+ * * `batch-centos`: use Batch CentOS images.
+ * * `batch-cos`: use Batch Container-Optimized images.
+ * * `batch-hpc-centos`: use Batch HPC CentOS images.
*
*
* string image = 4;
@@ -2353,21 +2371,24 @@ public Builder clearDataSource() {
*
*
*
- * Name of a public or custom image used as the data source.
+ * Name of an image used as the data source.
* For example, the following are all valid URLs:
*
* * Specify the image by its family name:
- * projects/{project}/global/images/family/{image_family}
+ * <pre><code>projects/<var
+ * class="apiparam">project</var>/global/images/family/<var
+ * class="apiparam">image_family</var></code></pre>
* * Specify the image version:
- * projects/{project}/global/images/{image_version}
- *
+ * <pre>projects/<var
+ * class="apiparam">project</var>/global/images/<var
+ * class="apiparam">image_version</var></code></pre>
* You can also use Batch customized image in short names.
* The following image values are supported for a boot disk:
*
- * * "batch-debian": use Batch Debian images.
- * * "batch-centos": use Batch CentOS images.
- * * "batch-cos": use Batch Container-Optimized images.
- * * "batch-hpc-centos": use Batch HPC CentOS images.
+ * * `batch-debian`: use Batch Debian images.
+ * * `batch-centos`: use Batch CentOS images.
+ * * `batch-cos`: use Batch Container-Optimized images.
+ * * `batch-hpc-centos`: use Batch HPC CentOS images.
*
*
* string image = 4;
@@ -2382,21 +2403,24 @@ public boolean hasImage() {
*
*
*
- * Name of a public or custom image used as the data source.
+ * Name of an image used as the data source.
* For example, the following are all valid URLs:
*
* * Specify the image by its family name:
- * projects/{project}/global/images/family/{image_family}
+ * <pre><code>projects/<var
+ * class="apiparam">project</var>/global/images/family/<var
+ * class="apiparam">image_family</var></code></pre>
* * Specify the image version:
- * projects/{project}/global/images/{image_version}
- *
+ * <pre>projects/<var
+ * class="apiparam">project</var>/global/images/<var
+ * class="apiparam">image_version</var></code></pre>
* You can also use Batch customized image in short names.
* The following image values are supported for a boot disk:
*
- * * "batch-debian": use Batch Debian images.
- * * "batch-centos": use Batch CentOS images.
- * * "batch-cos": use Batch Container-Optimized images.
- * * "batch-hpc-centos": use Batch HPC CentOS images.
+ * * `batch-debian`: use Batch Debian images.
+ * * `batch-centos`: use Batch CentOS images.
+ * * `batch-cos`: use Batch Container-Optimized images.
+ * * `batch-hpc-centos`: use Batch HPC CentOS images.
*
*
* string image = 4;
@@ -2424,21 +2448,24 @@ public java.lang.String getImage() {
*
*
*
- * Name of a public or custom image used as the data source.
+ * Name of an image used as the data source.
* For example, the following are all valid URLs:
*
* * Specify the image by its family name:
- * projects/{project}/global/images/family/{image_family}
+ * <pre><code>projects/<var
+ * class="apiparam">project</var>/global/images/family/<var
+ * class="apiparam">image_family</var></code></pre>
* * Specify the image version:
- * projects/{project}/global/images/{image_version}
- *
+ * <pre>projects/<var
+ * class="apiparam">project</var>/global/images/<var
+ * class="apiparam">image_version</var></code></pre>
* You can also use Batch customized image in short names.
* The following image values are supported for a boot disk:
*
- * * "batch-debian": use Batch Debian images.
- * * "batch-centos": use Batch CentOS images.
- * * "batch-cos": use Batch Container-Optimized images.
- * * "batch-hpc-centos": use Batch HPC CentOS images.
+ * * `batch-debian`: use Batch Debian images.
+ * * `batch-centos`: use Batch CentOS images.
+ * * `batch-cos`: use Batch Container-Optimized images.
+ * * `batch-hpc-centos`: use Batch HPC CentOS images.
*
*
* string image = 4;
@@ -2466,21 +2493,24 @@ public com.google.protobuf.ByteString getImageBytes() {
*
*
*
- * Name of a public or custom image used as the data source.
+ * Name of an image used as the data source.
* For example, the following are all valid URLs:
*
* * Specify the image by its family name:
- * projects/{project}/global/images/family/{image_family}
+ * <pre><code>projects/<var
+ * class="apiparam">project</var>/global/images/family/<var
+ * class="apiparam">image_family</var></code></pre>
* * Specify the image version:
- * projects/{project}/global/images/{image_version}
- *
+ * <pre>projects/<var
+ * class="apiparam">project</var>/global/images/<var
+ * class="apiparam">image_version</var></code></pre>
* You can also use Batch customized image in short names.
* The following image values are supported for a boot disk:
*
- * * "batch-debian": use Batch Debian images.
- * * "batch-centos": use Batch CentOS images.
- * * "batch-cos": use Batch Container-Optimized images.
- * * "batch-hpc-centos": use Batch HPC CentOS images.
+ * * `batch-debian`: use Batch Debian images.
+ * * `batch-centos`: use Batch CentOS images.
+ * * `batch-cos`: use Batch Container-Optimized images.
+ * * `batch-hpc-centos`: use Batch HPC CentOS images.
*
*
* string image = 4;
@@ -2501,21 +2531,24 @@ public Builder setImage(java.lang.String value) {
*
*
*
- * Name of a public or custom image used as the data source.
+ * Name of an image used as the data source.
* For example, the following are all valid URLs:
*
* * Specify the image by its family name:
- * projects/{project}/global/images/family/{image_family}
+ * <pre><code>projects/<var
+ * class="apiparam">project</var>/global/images/family/<var
+ * class="apiparam">image_family</var></code></pre>
* * Specify the image version:
- * projects/{project}/global/images/{image_version}
- *
+ * <pre>projects/<var
+ * class="apiparam">project</var>/global/images/<var
+ * class="apiparam">image_version</var></code></pre>
* You can also use Batch customized image in short names.
* The following image values are supported for a boot disk:
*
- * * "batch-debian": use Batch Debian images.
- * * "batch-centos": use Batch CentOS images.
- * * "batch-cos": use Batch Container-Optimized images.
- * * "batch-hpc-centos": use Batch HPC CentOS images.
+ * * `batch-debian`: use Batch Debian images.
+ * * `batch-centos`: use Batch CentOS images.
+ * * `batch-cos`: use Batch Container-Optimized images.
+ * * `batch-hpc-centos`: use Batch HPC CentOS images.
*
*
* string image = 4;
@@ -2534,21 +2567,24 @@ public Builder clearImage() {
*
*
*
- * Name of a public or custom image used as the data source.
+ * Name of an image used as the data source.
* For example, the following are all valid URLs:
*
* * Specify the image by its family name:
- * projects/{project}/global/images/family/{image_family}
+ * <pre><code>projects/<var
+ * class="apiparam">project</var>/global/images/family/<var
+ * class="apiparam">image_family</var></code></pre>
* * Specify the image version:
- * projects/{project}/global/images/{image_version}
- *
+ * <pre>projects/<var
+ * class="apiparam">project</var>/global/images/<var
+ * class="apiparam">image_version</var></code></pre>
* You can also use Batch customized image in short names.
* The following image values are supported for a boot disk:
*
- * * "batch-debian": use Batch Debian images.
- * * "batch-centos": use Batch CentOS images.
- * * "batch-cos": use Batch Container-Optimized images.
- * * "batch-hpc-centos": use Batch HPC CentOS images.
+ * * `batch-debian`: use Batch Debian images.
+ * * `batch-centos`: use Batch CentOS images.
+ * * `batch-cos`: use Batch Container-Optimized images.
+ * * `batch-hpc-centos`: use Batch HPC CentOS images.
*
*
* string image = 4;
@@ -4391,11 +4427,48 @@ public interface AcceleratorOrBuilder
* bool install_gpu_drivers = 3 [deprecated = true];
*
* @deprecated google.cloud.batch.v1.AllocationPolicy.Accelerator.install_gpu_drivers is
- * deprecated. See google/cloud/batch/v1/job.proto;l=324
+ * deprecated. See google/cloud/batch/v1/job.proto;l=327
* @return The installGpuDrivers.
*/
@java.lang.Deprecated
boolean getInstallGpuDrivers();
+
+ /**
+ *
+ *
+ *
+ * Optional. The NVIDIA GPU driver version that should be installed for this
+ * type.
+ *
+ * You can define the specific driver version such as "470.103.01",
+ * following the driver version requirements in
+ * https://cloud.google.com/compute/docs/gpus/install-drivers-gpu#minimum-driver.
+ * Batch will install the specific accelerator driver if qualified.
+ *
+ *
+ * string driver_version = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The driverVersion.
+ */
+ java.lang.String getDriverVersion();
+ /**
+ *
+ *
+ *
+ * Optional. The NVIDIA GPU driver version that should be installed for this
+ * type.
+ *
+ * You can define the specific driver version such as "470.103.01",
+ * following the driver version requirements in
+ * https://cloud.google.com/compute/docs/gpus/install-drivers-gpu#minimum-driver.
+ * Batch will install the specific accelerator driver if qualified.
+ *
+ *
+ * string driver_version = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for driverVersion.
+ */
+ com.google.protobuf.ByteString getDriverVersionBytes();
}
/**
*
@@ -4418,6 +4491,7 @@ private Accelerator(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
private Accelerator() {
type_ = "";
+ driverVersion_ = "";
}
@java.lang.Override
@@ -4524,7 +4598,7 @@ public long getCount() {
* bool install_gpu_drivers = 3 [deprecated = true];
*
* @deprecated google.cloud.batch.v1.AllocationPolicy.Accelerator.install_gpu_drivers is
- * deprecated. See google/cloud/batch/v1/job.proto;l=324
+ * deprecated. See google/cloud/batch/v1/job.proto;l=327
* @return The installGpuDrivers.
*/
@java.lang.Override
@@ -4533,6 +4607,69 @@ public boolean getInstallGpuDrivers() {
return installGpuDrivers_;
}
+ public static final int DRIVER_VERSION_FIELD_NUMBER = 4;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object driverVersion_ = "";
+ /**
+ *
+ *
+ *
+ * Optional. The NVIDIA GPU driver version that should be installed for this
+ * type.
+ *
+ * You can define the specific driver version such as "470.103.01",
+ * following the driver version requirements in
+ * https://cloud.google.com/compute/docs/gpus/install-drivers-gpu#minimum-driver.
+ * Batch will install the specific accelerator driver if qualified.
+ *
+ *
+ * string driver_version = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The driverVersion.
+ */
+ @java.lang.Override
+ public java.lang.String getDriverVersion() {
+ java.lang.Object ref = driverVersion_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ driverVersion_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Optional. The NVIDIA GPU driver version that should be installed for this
+ * type.
+ *
+ * You can define the specific driver version such as "470.103.01",
+ * following the driver version requirements in
+ * https://cloud.google.com/compute/docs/gpus/install-drivers-gpu#minimum-driver.
+ * Batch will install the specific accelerator driver if qualified.
+ *
+ *
+ * string driver_version = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for driverVersion.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getDriverVersionBytes() {
+ java.lang.Object ref = driverVersion_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ driverVersion_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -4556,6 +4693,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (installGpuDrivers_ != false) {
output.writeBool(3, installGpuDrivers_);
}
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(driverVersion_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 4, driverVersion_);
+ }
getUnknownFields().writeTo(output);
}
@@ -4574,6 +4714,9 @@ public int getSerializedSize() {
if (installGpuDrivers_ != false) {
size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, installGpuDrivers_);
}
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(driverVersion_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, driverVersion_);
+ }
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
@@ -4593,6 +4736,7 @@ public boolean equals(final java.lang.Object obj) {
if (!getType().equals(other.getType())) return false;
if (getCount() != other.getCount()) return false;
if (getInstallGpuDrivers() != other.getInstallGpuDrivers()) return false;
+ if (!getDriverVersion().equals(other.getDriverVersion())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -4610,6 +4754,8 @@ public int hashCode() {
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getCount());
hash = (37 * hash) + INSTALL_GPU_DRIVERS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getInstallGpuDrivers());
+ hash = (37 * hash) + DRIVER_VERSION_FIELD_NUMBER;
+ hash = (53 * hash) + getDriverVersion().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
@@ -4755,6 +4901,7 @@ public Builder clear() {
type_ = "";
count_ = 0L;
installGpuDrivers_ = false;
+ driverVersion_ = "";
return this;
}
@@ -4800,6 +4947,9 @@ private void buildPartial0(com.google.cloud.batch.v1.AllocationPolicy.Accelerato
if (((from_bitField0_ & 0x00000004) != 0)) {
result.installGpuDrivers_ = installGpuDrivers_;
}
+ if (((from_bitField0_ & 0x00000008) != 0)) {
+ result.driverVersion_ = driverVersion_;
+ }
}
@java.lang.Override
@@ -4861,6 +5011,11 @@ public Builder mergeFrom(com.google.cloud.batch.v1.AllocationPolicy.Accelerator
if (other.getInstallGpuDrivers() != false) {
setInstallGpuDrivers(other.getInstallGpuDrivers());
}
+ if (!other.getDriverVersion().isEmpty()) {
+ driverVersion_ = other.driverVersion_;
+ bitField0_ |= 0x00000008;
+ onChanged();
+ }
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
@@ -4905,6 +5060,12 @@ public Builder mergeFrom(
bitField0_ |= 0x00000004;
break;
} // case 24
+ case 34:
+ {
+ driverVersion_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00000008;
+ break;
+ } // case 34
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
@@ -5099,7 +5260,7 @@ public Builder clearCount() {
* bool install_gpu_drivers = 3 [deprecated = true];
*
* @deprecated google.cloud.batch.v1.AllocationPolicy.Accelerator.install_gpu_drivers is
- * deprecated. See google/cloud/batch/v1/job.proto;l=324
+ * deprecated. See google/cloud/batch/v1/job.proto;l=327
* @return The installGpuDrivers.
*/
@java.lang.Override
@@ -5117,7 +5278,7 @@ public boolean getInstallGpuDrivers() {
* bool install_gpu_drivers = 3 [deprecated = true];
*
* @deprecated google.cloud.batch.v1.AllocationPolicy.Accelerator.install_gpu_drivers is
- * deprecated. See google/cloud/batch/v1/job.proto;l=324
+ * deprecated. See google/cloud/batch/v1/job.proto;l=327
* @param value The installGpuDrivers to set.
* @return This builder for chaining.
*/
@@ -5139,7 +5300,7 @@ public Builder setInstallGpuDrivers(boolean value) {
* bool install_gpu_drivers = 3 [deprecated = true];
*
* @deprecated google.cloud.batch.v1.AllocationPolicy.Accelerator.install_gpu_drivers is
- * deprecated. See google/cloud/batch/v1/job.proto;l=324
+ * deprecated. See google/cloud/batch/v1/job.proto;l=327
* @return This builder for chaining.
*/
@java.lang.Deprecated
@@ -5150,6 +5311,142 @@ public Builder clearInstallGpuDrivers() {
return this;
}
+ private java.lang.Object driverVersion_ = "";
+ /**
+ *
+ *
+ *
+ * Optional. The NVIDIA GPU driver version that should be installed for this
+ * type.
+ *
+ * You can define the specific driver version such as "470.103.01",
+ * following the driver version requirements in
+ * https://cloud.google.com/compute/docs/gpus/install-drivers-gpu#minimum-driver.
+ * Batch will install the specific accelerator driver if qualified.
+ *
+ *
+ * string driver_version = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The driverVersion.
+ */
+ public java.lang.String getDriverVersion() {
+ java.lang.Object ref = driverVersion_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ driverVersion_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Optional. The NVIDIA GPU driver version that should be installed for this
+ * type.
+ *
+ * You can define the specific driver version such as "470.103.01",
+ * following the driver version requirements in
+ * https://cloud.google.com/compute/docs/gpus/install-drivers-gpu#minimum-driver.
+ * Batch will install the specific accelerator driver if qualified.
+ *
+ *
+ * string driver_version = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for driverVersion.
+ */
+ public com.google.protobuf.ByteString getDriverVersionBytes() {
+ java.lang.Object ref = driverVersion_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ driverVersion_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Optional. The NVIDIA GPU driver version that should be installed for this
+ * type.
+ *
+ * You can define the specific driver version such as "470.103.01",
+ * following the driver version requirements in
+ * https://cloud.google.com/compute/docs/gpus/install-drivers-gpu#minimum-driver.
+ * Batch will install the specific accelerator driver if qualified.
+ *
+ *
+ * string driver_version = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The driverVersion to set.
+ * @return This builder for chaining.
+ */
+ public Builder setDriverVersion(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ driverVersion_ = value;
+ bitField0_ |= 0x00000008;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Optional. The NVIDIA GPU driver version that should be installed for this
+ * type.
+ *
+ * You can define the specific driver version such as "470.103.01",
+ * following the driver version requirements in
+ * https://cloud.google.com/compute/docs/gpus/install-drivers-gpu#minimum-driver.
+ * Batch will install the specific accelerator driver if qualified.
+ *
+ *
+ * string driver_version = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearDriverVersion() {
+ driverVersion_ = getDefaultInstance().getDriverVersion();
+ bitField0_ = (bitField0_ & ~0x00000008);
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Optional. The NVIDIA GPU driver version that should be installed for this
+ * type.
+ *
+ * You can define the specific driver version such as "470.103.01",
+ * following the driver version requirements in
+ * https://cloud.google.com/compute/docs/gpus/install-drivers-gpu#minimum-driver.
+ * Batch will install the specific accelerator driver if qualified.
+ *
+ *
+ * string driver_version = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The bytes for driverVersion to set.
+ * @return This builder for chaining.
+ */
+ public Builder setDriverVersionBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ driverVersion_ = value;
+ bitField0_ |= 0x00000008;
+ onChanged();
+ return this;
+ }
+
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
@@ -7855,6 +8152,12 @@ public interface InstancePolicyOrTemplateOrBuilder
* third party location and install them for GPUs specified in
* policy.accelerators or instance_template on their behalf. Default is
* false.
+ *
+ * For Container-Optimized Image cases, Batch will install the
+ * accelerator driver following milestones of
+ * https://cloud.google.com/container-optimized-os/docs/release-notes. For
+ * non Container-Optimized Image cases, following
+ * https://github.com/GoogleCloudPlatform/compute-gpu-installation/blob/main/linux/install_gpu_driver.py.
*
*
* bool install_gpu_drivers = 3;
@@ -8094,6 +8397,12 @@ public com.google.protobuf.ByteString getInstanceTemplateBytes() {
* third party location and install them for GPUs specified in
* policy.accelerators or instance_template on their behalf. Default is
* false.
+ *
+ * For Container-Optimized Image cases, Batch will install the
+ * accelerator driver following milestones of
+ * https://cloud.google.com/container-optimized-os/docs/release-notes. For
+ * non Container-Optimized Image cases, following
+ * https://github.com/GoogleCloudPlatform/compute-gpu-installation/blob/main/linux/install_gpu_driver.py.
*
*
* bool install_gpu_drivers = 3;
@@ -8924,6 +9233,12 @@ public Builder setInstanceTemplateBytes(com.google.protobuf.ByteString value) {
* third party location and install them for GPUs specified in
* policy.accelerators or instance_template on their behalf. Default is
* false.
+ *
+ * For Container-Optimized Image cases, Batch will install the
+ * accelerator driver following milestones of
+ * https://cloud.google.com/container-optimized-os/docs/release-notes. For
+ * non Container-Optimized Image cases, following
+ * https://github.com/GoogleCloudPlatform/compute-gpu-installation/blob/main/linux/install_gpu_driver.py.
*
*
* bool install_gpu_drivers = 3;
@@ -8942,6 +9257,12 @@ public boolean getInstallGpuDrivers() {
* third party location and install them for GPUs specified in
* policy.accelerators or instance_template on their behalf. Default is
* false.
+ *
+ * For Container-Optimized Image cases, Batch will install the
+ * accelerator driver following milestones of
+ * https://cloud.google.com/container-optimized-os/docs/release-notes. For
+ * non Container-Optimized Image cases, following
+ * https://github.com/GoogleCloudPlatform/compute-gpu-installation/blob/main/linux/install_gpu_driver.py.
*
*
* bool install_gpu_drivers = 3;
@@ -8964,6 +9285,12 @@ public Builder setInstallGpuDrivers(boolean value) {
* third party location and install them for GPUs specified in
* policy.accelerators or instance_template on their behalf. Default is
* false.
+ *
+ * For Container-Optimized Image cases, Batch will install the
+ * accelerator driver following milestones of
+ * https://cloud.google.com/container-optimized-os/docs/release-notes. For
+ * non Container-Optimized Image cases, following
+ * https://github.com/GoogleCloudPlatform/compute-gpu-installation/blob/main/linux/install_gpu_driver.py.
*
*
* bool install_gpu_drivers = 3;
@@ -9057,10 +9384,14 @@ public interface NetworkInterfaceOrBuilder
* You can specify the network as a full or partial URL.
*
* For example, the following are all valid URLs:
- *
- * * https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
- * * projects/{project}/global/networks/{network}
- * * global/networks/{network}
+ * <pre><code>https://www.googleapis.com/compute/v1/projects/<var
+ * class="apiparam">project</var>/global/networks/<var
+ * class="apiparam">network</var></code></pre>
+ * <pre><code>projects/<var
+ * class="apiparam">project</var>/global/networks/<var
+ * class="apiparam">network</var></code></pre>
+ * <pre><code>global/networks/<var
+ * class="apiparam">network</var></code></pre>
*
*
* string network = 1;
@@ -9076,10 +9407,14 @@ public interface NetworkInterfaceOrBuilder
* You can specify the network as a full or partial URL.
*
* For example, the following are all valid URLs:
- *
- * * https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
- * * projects/{project}/global/networks/{network}
- * * global/networks/{network}
+ * <pre><code>https://www.googleapis.com/compute/v1/projects/<var
+ * class="apiparam">project</var>/global/networks/<var
+ * class="apiparam">network</var></code></pre>
+ * <pre><code>projects/<var
+ * class="apiparam">project</var>/global/networks/<var
+ * class="apiparam">network</var></code></pre>
+ * <pre><code>global/networks/<var
+ * class="apiparam">network</var></code></pre>
*
*
* string network = 1;
@@ -9096,10 +9431,16 @@ public interface NetworkInterfaceOrBuilder
* You can specify the subnetwork as a full or partial URL.
*
* For example, the following are all valid URLs:
- *
- * * https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetwork}
- * * projects/{project}/regions/{region}/subnetworks/{subnetwork}
- * * regions/{region}/subnetworks/{subnetwork}
+ * <pre><code>https://www.googleapis.com/compute/v1/projects/<var
+ * class="apiparam">project</var>/regions/<var
+ * class="apiparam">region</var>/subnetworks/<var
+ * class="apiparam">subnetwork</var></code></pre>
+ * <pre><code>projects/<var class="apiparam">project</var>/regions/<var
+ * class="apiparam">region</var>/subnetworks/<var
+ * class="apiparam">subnetwork</var></code></pre>
+ * <pre><code>regions/<var
+ * class="apiparam">region</var>/subnetworks/<var
+ * class="apiparam">subnetwork</var></code></pre>
*
*
* string subnetwork = 2;
@@ -9115,10 +9456,16 @@ public interface NetworkInterfaceOrBuilder
* You can specify the subnetwork as a full or partial URL.
*
* For example, the following are all valid URLs:
- *
- * * https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetwork}
- * * projects/{project}/regions/{region}/subnetworks/{subnetwork}
- * * regions/{region}/subnetworks/{subnetwork}
+ * <pre><code>https://www.googleapis.com/compute/v1/projects/<var
+ * class="apiparam">project</var>/regions/<var
+ * class="apiparam">region</var>/subnetworks/<var
+ * class="apiparam">subnetwork</var></code></pre>
+ * <pre><code>projects/<var class="apiparam">project</var>/regions/<var
+ * class="apiparam">region</var>/subnetworks/<var
+ * class="apiparam">subnetwork</var></code></pre>
+ * <pre><code>regions/<var
+ * class="apiparam">region</var>/subnetworks/<var
+ * class="apiparam">subnetwork</var></code></pre>
*
*
* string subnetwork = 2;
@@ -9203,10 +9550,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
* You can specify the network as a full or partial URL.
*
* For example, the following are all valid URLs:
- *
- * * https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
- * * projects/{project}/global/networks/{network}
- * * global/networks/{network}
+ * <pre><code>https://www.googleapis.com/compute/v1/projects/<var
+ * class="apiparam">project</var>/global/networks/<var
+ * class="apiparam">network</var></code></pre>
+ * <pre><code>projects/<var
+ * class="apiparam">project</var>/global/networks/<var
+ * class="apiparam">network</var></code></pre>
+ * <pre><code>global/networks/<var
+ * class="apiparam">network</var></code></pre>
*
*
* string network = 1;
@@ -9233,10 +9584,14 @@ public java.lang.String getNetwork() {
* You can specify the network as a full or partial URL.
*
* For example, the following are all valid URLs:
- *
- * * https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
- * * projects/{project}/global/networks/{network}
- * * global/networks/{network}
+ * <pre><code>https://www.googleapis.com/compute/v1/projects/<var
+ * class="apiparam">project</var>/global/networks/<var
+ * class="apiparam">network</var></code></pre>
+ * <pre><code>projects/<var
+ * class="apiparam">project</var>/global/networks/<var
+ * class="apiparam">network</var></code></pre>
+ * <pre><code>global/networks/<var
+ * class="apiparam">network</var></code></pre>
*
*
* string network = 1;
@@ -9268,10 +9623,16 @@ public com.google.protobuf.ByteString getNetworkBytes() {
* You can specify the subnetwork as a full or partial URL.
*
* For example, the following are all valid URLs:
- *
- * * https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetwork}
- * * projects/{project}/regions/{region}/subnetworks/{subnetwork}
- * * regions/{region}/subnetworks/{subnetwork}
+ * <pre><code>https://www.googleapis.com/compute/v1/projects/<var
+ * class="apiparam">project</var>/regions/<var
+ * class="apiparam">region</var>/subnetworks/<var
+ * class="apiparam">subnetwork</var></code></pre>
+ * <pre><code>projects/<var class="apiparam">project</var>/regions/<var
+ * class="apiparam">region</var>/subnetworks/<var
+ * class="apiparam">subnetwork</var></code></pre>
+ * <pre><code>regions/<var
+ * class="apiparam">region</var>/subnetworks/<var
+ * class="apiparam">subnetwork</var></code></pre>
*
*
* string subnetwork = 2;
@@ -9298,10 +9659,16 @@ public java.lang.String getSubnetwork() {
* You can specify the subnetwork as a full or partial URL.
*
* For example, the following are all valid URLs:
- *
- * * https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetwork}
- * * projects/{project}/regions/{region}/subnetworks/{subnetwork}
- * * regions/{region}/subnetworks/{subnetwork}
+ * <pre><code>https://www.googleapis.com/compute/v1/projects/<var
+ * class="apiparam">project</var>/regions/<var
+ * class="apiparam">region</var>/subnetworks/<var
+ * class="apiparam">subnetwork</var></code></pre>
+ * <pre><code>projects/<var class="apiparam">project</var>/regions/<var
+ * class="apiparam">region</var>/subnetworks/<var
+ * class="apiparam">subnetwork</var></code></pre>
+ * <pre><code>regions/<var
+ * class="apiparam">region</var>/subnetworks/<var
+ * class="apiparam">subnetwork</var></code></pre>
*
*
* string subnetwork = 2;
@@ -9750,10 +10117,14 @@ public Builder mergeFrom(
* You can specify the network as a full or partial URL.
*
* For example, the following are all valid URLs:
- *
- * * https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
- * * projects/{project}/global/networks/{network}
- * * global/networks/{network}
+ * <pre><code>https://www.googleapis.com/compute/v1/projects/<var
+ * class="apiparam">project</var>/global/networks/<var
+ * class="apiparam">network</var></code></pre>
+ * <pre><code>projects/<var
+ * class="apiparam">project</var>/global/networks/<var
+ * class="apiparam">network</var></code></pre>
+ * <pre><code>global/networks/<var
+ * class="apiparam">network</var></code></pre>
*
*
* string network = 1;
@@ -9779,10 +10150,14 @@ public java.lang.String getNetwork() {
* You can specify the network as a full or partial URL.
*
* For example, the following are all valid URLs:
- *
- * * https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
- * * projects/{project}/global/networks/{network}
- * * global/networks/{network}
+ * <pre><code>https://www.googleapis.com/compute/v1/projects/<var
+ * class="apiparam">project</var>/global/networks/<var
+ * class="apiparam">network</var></code></pre>
+ * <pre><code>projects/<var
+ * class="apiparam">project</var>/global/networks/<var
+ * class="apiparam">network</var></code></pre>
+ * <pre><code>global/networks/<var
+ * class="apiparam">network</var></code></pre>
*
*
* string network = 1;
@@ -9808,10 +10183,14 @@ public com.google.protobuf.ByteString getNetworkBytes() {
* You can specify the network as a full or partial URL.
*
* For example, the following are all valid URLs:
- *
- * * https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
- * * projects/{project}/global/networks/{network}
- * * global/networks/{network}
+ * <pre><code>https://www.googleapis.com/compute/v1/projects/<var
+ * class="apiparam">project</var>/global/networks/<var
+ * class="apiparam">network</var></code></pre>
+ * <pre><code>projects/<var
+ * class="apiparam">project</var>/global/networks/<var
+ * class="apiparam">network</var></code></pre>
+ * <pre><code>global/networks/<var
+ * class="apiparam">network</var></code></pre>
*
*
* string network = 1;
@@ -9836,10 +10215,14 @@ public Builder setNetwork(java.lang.String value) {
* You can specify the network as a full or partial URL.
*
* For example, the following are all valid URLs:
- *
- * * https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
- * * projects/{project}/global/networks/{network}
- * * global/networks/{network}
+ * <pre><code>https://www.googleapis.com/compute/v1/projects/<var
+ * class="apiparam">project</var>/global/networks/<var
+ * class="apiparam">network</var></code></pre>
+ * <pre><code>projects/<var
+ * class="apiparam">project</var>/global/networks/<var
+ * class="apiparam">network</var></code></pre>
+ * <pre><code>global/networks/<var
+ * class="apiparam">network</var></code></pre>
*
*
* string network = 1;
@@ -9860,10 +10243,14 @@ public Builder clearNetwork() {
* You can specify the network as a full or partial URL.
*
* For example, the following are all valid URLs:
- *
- * * https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
- * * projects/{project}/global/networks/{network}
- * * global/networks/{network}
+ * <pre><code>https://www.googleapis.com/compute/v1/projects/<var
+ * class="apiparam">project</var>/global/networks/<var
+ * class="apiparam">network</var></code></pre>
+ * <pre><code>projects/<var
+ * class="apiparam">project</var>/global/networks/<var
+ * class="apiparam">network</var></code></pre>
+ * <pre><code>global/networks/<var
+ * class="apiparam">network</var></code></pre>
*
*
* string network = 1;
@@ -9891,10 +10278,16 @@ public Builder setNetworkBytes(com.google.protobuf.ByteString value) {
* You can specify the subnetwork as a full or partial URL.
*
* For example, the following are all valid URLs:
- *
- * * https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetwork}
- * * projects/{project}/regions/{region}/subnetworks/{subnetwork}
- * * regions/{region}/subnetworks/{subnetwork}
+ * <pre><code>https://www.googleapis.com/compute/v1/projects/<var
+ * class="apiparam">project</var>/regions/<var
+ * class="apiparam">region</var>/subnetworks/<var
+ * class="apiparam">subnetwork</var></code></pre>
+ * <pre><code>projects/<var class="apiparam">project</var>/regions/<var
+ * class="apiparam">region</var>/subnetworks/<var
+ * class="apiparam">subnetwork</var></code></pre>
+ * <pre><code>regions/<var
+ * class="apiparam">region</var>/subnetworks/<var
+ * class="apiparam">subnetwork</var></code></pre>
*
*
* string subnetwork = 2;
@@ -9920,10 +10313,16 @@ public java.lang.String getSubnetwork() {
* You can specify the subnetwork as a full or partial URL.
*
* For example, the following are all valid URLs:
- *
- * * https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetwork}
- * * projects/{project}/regions/{region}/subnetworks/{subnetwork}
- * * regions/{region}/subnetworks/{subnetwork}
+ * <pre><code>https://www.googleapis.com/compute/v1/projects/<var
+ * class="apiparam">project</var>/regions/<var
+ * class="apiparam">region</var>/subnetworks/<var
+ * class="apiparam">subnetwork</var></code></pre>
+ * <pre><code>projects/<var class="apiparam">project</var>/regions/<var
+ * class="apiparam">region</var>/subnetworks/<var
+ * class="apiparam">subnetwork</var></code></pre>
+ * <pre><code>regions/<var
+ * class="apiparam">region</var>/subnetworks/<var
+ * class="apiparam">subnetwork</var></code></pre>
*
*
* string subnetwork = 2;
@@ -9949,10 +10348,16 @@ public com.google.protobuf.ByteString getSubnetworkBytes() {
* You can specify the subnetwork as a full or partial URL.
*
* For example, the following are all valid URLs:
- *
- * * https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetwork}
- * * projects/{project}/regions/{region}/subnetworks/{subnetwork}
- * * regions/{region}/subnetworks/{subnetwork}
+ * <pre><code>https://www.googleapis.com/compute/v1/projects/<var
+ * class="apiparam">project</var>/regions/<var
+ * class="apiparam">region</var>/subnetworks/<var
+ * class="apiparam">subnetwork</var></code></pre>
+ * <pre><code>projects/<var class="apiparam">project</var>/regions/<var
+ * class="apiparam">region</var>/subnetworks/<var
+ * class="apiparam">subnetwork</var></code></pre>
+ * <pre><code>regions/<var
+ * class="apiparam">region</var>/subnetworks/<var
+ * class="apiparam">subnetwork</var></code></pre>
*
*
* string subnetwork = 2;
@@ -9977,10 +10382,16 @@ public Builder setSubnetwork(java.lang.String value) {
* You can specify the subnetwork as a full or partial URL.
*
* For example, the following are all valid URLs:
- *
- * * https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetwork}
- * * projects/{project}/regions/{region}/subnetworks/{subnetwork}
- * * regions/{region}/subnetworks/{subnetwork}
+ * <pre><code>https://www.googleapis.com/compute/v1/projects/<var
+ * class="apiparam">project</var>/regions/<var
+ * class="apiparam">region</var>/subnetworks/<var
+ * class="apiparam">subnetwork</var></code></pre>
+ * <pre><code>projects/<var class="apiparam">project</var>/regions/<var
+ * class="apiparam">region</var>/subnetworks/<var
+ * class="apiparam">subnetwork</var></code></pre>
+ * <pre><code>regions/<var
+ * class="apiparam">region</var>/subnetworks/<var
+ * class="apiparam">subnetwork</var></code></pre>
*
*
* string subnetwork = 2;
@@ -10001,10 +10412,16 @@ public Builder clearSubnetwork() {
* You can specify the subnetwork as a full or partial URL.
*
* For example, the following are all valid URLs:
- *
- * * https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetwork}
- * * projects/{project}/regions/{region}/subnetworks/{subnetwork}
- * * regions/{region}/subnetworks/{subnetwork}
+ * <pre><code>https://www.googleapis.com/compute/v1/projects/<var
+ * class="apiparam">project</var>/regions/<var
+ * class="apiparam">region</var>/subnetworks/<var
+ * class="apiparam">subnetwork</var></code></pre>
+ * <pre><code>projects/<var class="apiparam">project</var>/regions/<var
+ * class="apiparam">region</var>/subnetworks/<var
+ * class="apiparam">subnetwork</var></code></pre>
+ * <pre><code>regions/<var
+ * class="apiparam">region</var>/subnetworks/<var
+ * class="apiparam">subnetwork</var></code></pre>
*
*
* string subnetwork = 2;
diff --git a/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/BatchProto.java b/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/BatchProto.java
index 5899b3da394b..a036cdbc8994 100644
--- a/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/BatchProto.java
+++ b/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/BatchProto.java
@@ -88,58 +88,58 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\004name\030\001 \001(\tB!\342A\001\002\372A\032\n\030batch.googleapis.c"
+ "om/Job\"P\n\020DeleteJobRequest\022\014\n\004name\030\001 \001(\t"
+ "\022\024\n\006reason\030\002 \001(\tB\004\342A\001\001\022\030\n\nrequest_id\030\004 \001"
- + "(\tB\004\342A\001\001\"X\n\017ListJobsRequest\022\016\n\006parent\030\001 "
- + "\001(\t\022\016\n\006filter\030\004 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022"
- + "\n\npage_token\030\003 \001(\t\"j\n\020ListJobsResponse\022("
- + "\n\004jobs\030\001 \003(\0132\032.google.cloud.batch.v1.Job"
- + "\022\027\n\017next_page_token\030\002 \001(\t\022\023\n\013unreachable"
- + "\030\003 \003(\t\"\202\001\n\020ListTasksRequest\0227\n\006parent\030\001 "
- + "\001(\tB\'\342A\001\002\372A \n\036batch.googleapis.com/TaskG"
- + "roup\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022"
- + "\022\n\npage_token\030\004 \001(\t\"m\n\021ListTasksResponse"
- + "\022*\n\005tasks\030\001 \003(\0132\033.google.cloud.batch.v1."
- + "Task\022\027\n\017next_page_token\030\002 \001(\t\022\023\n\013unreach"
- + "able\030\003 \003(\t\"B\n\016GetTaskRequest\0220\n\004name\030\001 \001"
- + "(\tB\"\342A\001\002\372A\033\n\031batch.googleapis.com/Task\"\207"
- + "\002\n\021OperationMetadata\0225\n\013create_time\030\001 \001("
- + "\0132\032.google.protobuf.TimestampB\004\342A\001\003\0222\n\010e"
- + "nd_time\030\002 \001(\0132\032.google.protobuf.Timestam"
- + "pB\004\342A\001\003\022\024\n\006target\030\003 \001(\tB\004\342A\001\003\022\022\n\004verb\030\004 "
- + "\001(\tB\004\342A\001\003\022\034\n\016status_message\030\005 \001(\tB\004\342A\001\003\022"
- + "$\n\026requested_cancellation\030\006 \001(\010B\004\342A\001\003\022\031\n"
- + "\013api_version\030\007 \001(\tB\004\342A\001\0032\266\010\n\014BatchServic"
- + "e\022\233\001\n\tCreateJob\022\'.google.cloud.batch.v1."
- + "CreateJobRequest\032\032.google.cloud.batch.v1"
- + ".Job\"I\332A\021parent,job,job_id\202\323\344\223\002/\"(/v1/{p"
- + "arent=projects/*/locations/*}/jobs:\003job\022"
- + "\203\001\n\006GetJob\022$.google.cloud.batch.v1.GetJo"
- + "bRequest\032\032.google.cloud.batch.v1.Job\"7\332A"
- + "\004name\202\323\344\223\002*\022(/v1/{name=projects/*/locati"
- + "ons/*/jobs/*}\022\317\001\n\tDeleteJob\022\'.google.clo"
- + "ud.batch.v1.DeleteJobRequest\032\035.google.lo"
- + "ngrunning.Operation\"z\312A@\n\025google.protobu"
- + "f.Empty\022\'google.cloud.batch.v1.Operation"
- + "Metadata\332A\004name\202\323\344\223\002**(/v1/{name=project"
- + "s/*/locations/*/jobs/*}\022\226\001\n\010ListJobs\022&.g"
- + "oogle.cloud.batch.v1.ListJobsRequest\032\'.g"
- + "oogle.cloud.batch.v1.ListJobsResponse\"9\332"
- + "A\006parent\202\323\344\223\002*\022(/v1/{parent=projects/*/l"
- + "ocations/*}/jobs\022\233\001\n\007GetTask\022%.google.cl"
- + "oud.batch.v1.GetTaskRequest\032\033.google.clo"
- + "ud.batch.v1.Task\"L\332A\004name\202\323\344\223\002?\022=/v1/{na"
- + "me=projects/*/locations/*/jobs/*/taskGro"
- + "ups/*/tasks/*}\022\256\001\n\tListTasks\022\'.google.cl"
- + "oud.batch.v1.ListTasksRequest\032(.google.c"
- + "loud.batch.v1.ListTasksResponse\"N\332A\006pare"
- + "nt\202\323\344\223\002?\022=/v1/{parent=projects/*/locatio"
- + "ns/*/jobs/*/taskGroups/*}/tasks\032H\312A\024batc"
- + "h.googleapis.com\322A.https://www.googleapi"
- + "s.com/auth/cloud-platformB\253\001\n\031com.google"
- + ".cloud.batch.v1B\nBatchProtoP\001Z/cloud.goo"
- + "gle.com/go/batch/apiv1/batchpb;batchpb\242\002"
- + "\003GCB\252\002\025Google.Cloud.Batch.V1\312\002\025Google\\Cl"
- + "oud\\Batch\\V1\352\002\030Google::Cloud::Batch::V1b"
- + "\006proto3"
+ + "(\tB\004\342A\001\001\"p\n\017ListJobsRequest\022\016\n\006parent\030\001 "
+ + "\001(\t\022\016\n\006filter\030\004 \001(\t\022\026\n\010order_by\030\005 \001(\tB\004\342"
+ + "A\001\001\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001"
+ + "(\t\"j\n\020ListJobsResponse\022(\n\004jobs\030\001 \003(\0132\032.g"
+ + "oogle.cloud.batch.v1.Job\022\027\n\017next_page_to"
+ + "ken\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t\"\202\001\n\020ListT"
+ + "asksRequest\0227\n\006parent\030\001 \001(\tB\'\342A\001\002\372A \n\036ba"
+ + "tch.googleapis.com/TaskGroup\022\016\n\006filter\030\002"
+ + " \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_token\030\004 "
+ + "\001(\t\"m\n\021ListTasksResponse\022*\n\005tasks\030\001 \003(\0132"
+ + "\033.google.cloud.batch.v1.Task\022\027\n\017next_pag"
+ + "e_token\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t\"B\n\016Ge"
+ + "tTaskRequest\0220\n\004name\030\001 \001(\tB\"\342A\001\002\372A\033\n\031bat"
+ + "ch.googleapis.com/Task\"\207\002\n\021OperationMeta"
+ + "data\0225\n\013create_time\030\001 \001(\0132\032.google.proto"
+ + "buf.TimestampB\004\342A\001\003\0222\n\010end_time\030\002 \001(\0132\032."
+ + "google.protobuf.TimestampB\004\342A\001\003\022\024\n\006targe"
+ + "t\030\003 \001(\tB\004\342A\001\003\022\022\n\004verb\030\004 \001(\tB\004\342A\001\003\022\034\n\016sta"
+ + "tus_message\030\005 \001(\tB\004\342A\001\003\022$\n\026requested_can"
+ + "cellation\030\006 \001(\010B\004\342A\001\003\022\031\n\013api_version\030\007 \001"
+ + "(\tB\004\342A\001\0032\266\010\n\014BatchService\022\233\001\n\tCreateJob\022"
+ + "\'.google.cloud.batch.v1.CreateJobRequest"
+ + "\032\032.google.cloud.batch.v1.Job\"I\332A\021parent,"
+ + "job,job_id\202\323\344\223\002/\"(/v1/{parent=projects/*"
+ + "/locations/*}/jobs:\003job\022\203\001\n\006GetJob\022$.goo"
+ + "gle.cloud.batch.v1.GetJobRequest\032\032.googl"
+ + "e.cloud.batch.v1.Job\"7\332A\004name\202\323\344\223\002*\022(/v1"
+ + "/{name=projects/*/locations/*/jobs/*}\022\317\001"
+ + "\n\tDeleteJob\022\'.google.cloud.batch.v1.Dele"
+ + "teJobRequest\032\035.google.longrunning.Operat"
+ + "ion\"z\312A@\n\025google.protobuf.Empty\022\'google."
+ + "cloud.batch.v1.OperationMetadata\332A\004name\202"
+ + "\323\344\223\002**(/v1/{name=projects/*/locations/*/"
+ + "jobs/*}\022\226\001\n\010ListJobs\022&.google.cloud.batc"
+ + "h.v1.ListJobsRequest\032\'.google.cloud.batc"
+ + "h.v1.ListJobsResponse\"9\332A\006parent\202\323\344\223\002*\022("
+ + "/v1/{parent=projects/*/locations/*}/jobs"
+ + "\022\233\001\n\007GetTask\022%.google.cloud.batch.v1.Get"
+ + "TaskRequest\032\033.google.cloud.batch.v1.Task"
+ + "\"L\332A\004name\202\323\344\223\002?\022=/v1/{name=projects/*/lo"
+ + "cations/*/jobs/*/taskGroups/*/tasks/*}\022\256"
+ + "\001\n\tListTasks\022\'.google.cloud.batch.v1.Lis"
+ + "tTasksRequest\032(.google.cloud.batch.v1.Li"
+ + "stTasksResponse\"N\332A\006parent\202\323\344\223\002?\022=/v1/{p"
+ + "arent=projects/*/locations/*/jobs/*/task"
+ + "Groups/*}/tasks\032H\312A\024batch.googleapis.com"
+ + "\322A.https://www.googleapis.com/auth/cloud"
+ + "-platformB\253\001\n\031com.google.cloud.batch.v1B"
+ + "\nBatchProtoP\001Z/cloud.google.com/go/batch"
+ + "/apiv1/batchpb;batchpb\242\002\003GCB\252\002\025Google.Cl"
+ + "oud.Batch.V1\312\002\025Google\\Cloud\\Batch\\V1\352\002\030G"
+ + "oogle::Cloud::Batch::V1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -185,7 +185,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_batch_v1_ListJobsRequest_descriptor,
new java.lang.String[] {
- "Parent", "Filter", "PageSize", "PageToken",
+ "Parent", "Filter", "OrderBy", "PageSize", "PageToken",
});
internal_static_google_cloud_batch_v1_ListJobsResponse_descriptor =
getDescriptor().getMessageTypes().get(4);
diff --git a/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/JobProto.java b/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/JobProto.java
index 03602f08e335..8fe7ce0fac52 100644
--- a/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/JobProto.java
+++ b/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/JobProto.java
@@ -186,7 +186,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "ew_task_state\030\003 \001(\0162\'.google.cloud.batch"
+ ".v1.TaskStatus.State\"K\n\004Type\022\024\n\020TYPE_UNS"
+ "PECIFIED\020\000\022\025\n\021JOB_STATE_CHANGED\020\001\022\026\n\022TAS"
- + "K_STATE_CHANGED\020\002\"\362\r\n\020AllocationPolicy\022H"
+ + "K_STATE_CHANGED\020\002\"\220\016\n\020AllocationPolicy\022H"
+ "\n\010location\030\001 \001(\01326.google.cloud.batch.v1"
+ ".AllocationPolicy.LocationPolicy\022S\n\tinst"
+ "ances\030\010 \003(\0132@.google.cloud.batch.v1.Allo"
@@ -205,52 +205,53 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\001\n\014AttachedDisk\022@\n\010new_disk\030\001 \001(\0132,.goog"
+ "le.cloud.batch.v1.AllocationPolicy.DiskH"
+ "\000\022\027\n\rexisting_disk\030\002 \001(\tH\000\022\023\n\013device_nam"
- + "e\030\003 \001(\tB\n\n\010attached\032K\n\013Accelerator\022\014\n\004ty"
+ + "e\030\003 \001(\tB\n\n\010attached\032i\n\013Accelerator\022\014\n\004ty"
+ "pe\030\001 \001(\t\022\r\n\005count\030\002 \001(\003\022\037\n\023install_gpu_d"
- + "rivers\030\003 \001(\010B\002\030\001\032\350\002\n\016InstancePolicy\022\024\n\014m"
- + "achine_type\030\002 \001(\t\022\030\n\020min_cpu_platform\030\003 "
- + "\001(\t\022U\n\022provisioning_model\030\004 \001(\01629.google"
- + ".cloud.batch.v1.AllocationPolicy.Provisi"
- + "oningModel\022I\n\014accelerators\030\005 \003(\01323.googl"
- + "e.cloud.batch.v1.AllocationPolicy.Accele"
- + "rator\022?\n\tboot_disk\030\010 \001(\0132,.google.cloud."
- + "batch.v1.AllocationPolicy.Disk\022C\n\005disks\030"
- + "\006 \003(\01324.google.cloud.batch.v1.Allocation"
- + "Policy.AttachedDisk\032\261\001\n\030InstancePolicyOr"
- + "Template\022H\n\006policy\030\001 \001(\01326.google.cloud."
- + "batch.v1.AllocationPolicy.InstancePolicy"
- + "H\000\022\033\n\021instance_template\030\002 \001(\tH\000\022\033\n\023insta"
- + "ll_gpu_drivers\030\003 \001(\010B\021\n\017policy_template\032"
- + "W\n\020NetworkInterface\022\017\n\007network\030\001 \001(\t\022\022\n\n"
- + "subnetwork\030\002 \001(\t\022\036\n\026no_external_ip_addre"
- + "ss\030\003 \001(\010\032e\n\rNetworkPolicy\022T\n\022network_int"
- + "erfaces\030\001 \003(\01328.google.cloud.batch.v1.Al"
- + "locationPolicy.NetworkInterface\032<\n\017Place"
- + "mentPolicy\022\023\n\013collocation\030\001 \001(\t\022\024\n\014max_d"
- + "istance\030\002 \001(\003\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001("
- + "\t\022\r\n\005value\030\002 \001(\t:\0028\001\"`\n\021ProvisioningMode"
- + "l\022\"\n\036PROVISIONING_MODEL_UNSPECIFIED\020\000\022\014\n"
- + "\010STANDARD\020\001\022\010\n\004SPOT\020\002\022\017\n\013PREEMPTIBLE\020\003\"\257"
- + "\004\n\tTaskGroup\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\0228\n\ttask"
- + "_spec\030\003 \001(\0132\037.google.cloud.batch.v1.Task"
- + "SpecB\004\342A\001\002\022\022\n\ntask_count\030\004 \001(\003\022\023\n\013parall"
- + "elism\030\005 \001(\003\022L\n\021scheduling_policy\030\006 \001(\01621"
- + ".google.cloud.batch.v1.TaskGroup.Schedul"
- + "ingPolicy\022=\n\021task_environments\030\t \003(\0132\".g"
- + "oogle.cloud.batch.v1.Environment\022\033\n\023task"
- + "_count_per_node\030\n \001(\003\022\032\n\022require_hosts_f"
- + "ile\030\013 \001(\010\022\026\n\016permissive_ssh\030\014 \001(\010\"\\\n\020Sch"
- + "edulingPolicy\022!\n\035SCHEDULING_POLICY_UNSPE"
- + "CIFIED\020\000\022\027\n\023AS_SOON_AS_POSSIBLE\020\001\022\014\n\010IN_"
- + "ORDER\020\002:o\352Al\n\036batch.googleapis.com/TaskG"
- + "roup\022Jprojects/{project}/locations/{loca"
- + "tion}/jobs/{job}/taskGroups/{task_group}"
- + "\"/\n\016ServiceAccount\022\r\n\005email\030\001 \001(\t\022\016\n\006sco"
- + "pes\030\002 \003(\tB\251\001\n\031com.google.cloud.batch.v1B"
- + "\010JobProtoP\001Z/cloud.google.com/go/batch/a"
- + "piv1/batchpb;batchpb\242\002\003GCB\252\002\025Google.Clou"
- + "d.Batch.V1\312\002\025Google\\Cloud\\Batch\\V1\352\002\030Goo"
- + "gle::Cloud::Batch::V1b\006proto3"
+ + "rivers\030\003 \001(\010B\002\030\001\022\034\n\016driver_version\030\004 \001(\t"
+ + "B\004\342A\001\001\032\350\002\n\016InstancePolicy\022\024\n\014machine_typ"
+ + "e\030\002 \001(\t\022\030\n\020min_cpu_platform\030\003 \001(\t\022U\n\022pro"
+ + "visioning_model\030\004 \001(\01629.google.cloud.bat"
+ + "ch.v1.AllocationPolicy.ProvisioningModel"
+ + "\022I\n\014accelerators\030\005 \003(\01323.google.cloud.ba"
+ + "tch.v1.AllocationPolicy.Accelerator\022?\n\tb"
+ + "oot_disk\030\010 \001(\0132,.google.cloud.batch.v1.A"
+ + "llocationPolicy.Disk\022C\n\005disks\030\006 \003(\01324.go"
+ + "ogle.cloud.batch.v1.AllocationPolicy.Att"
+ + "achedDisk\032\261\001\n\030InstancePolicyOrTemplate\022H"
+ + "\n\006policy\030\001 \001(\01326.google.cloud.batch.v1.A"
+ + "llocationPolicy.InstancePolicyH\000\022\033\n\021inst"
+ + "ance_template\030\002 \001(\tH\000\022\033\n\023install_gpu_dri"
+ + "vers\030\003 \001(\010B\021\n\017policy_template\032W\n\020Network"
+ + "Interface\022\017\n\007network\030\001 \001(\t\022\022\n\nsubnetwork"
+ + "\030\002 \001(\t\022\036\n\026no_external_ip_address\030\003 \001(\010\032e"
+ + "\n\rNetworkPolicy\022T\n\022network_interfaces\030\001 "
+ + "\003(\01328.google.cloud.batch.v1.AllocationPo"
+ + "licy.NetworkInterface\032<\n\017PlacementPolicy"
+ + "\022\023\n\013collocation\030\001 \001(\t\022\024\n\014max_distance\030\002 "
+ + "\001(\003\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value"
+ + "\030\002 \001(\t:\0028\001\"`\n\021ProvisioningModel\022\"\n\036PROVI"
+ + "SIONING_MODEL_UNSPECIFIED\020\000\022\014\n\010STANDARD\020"
+ + "\001\022\010\n\004SPOT\020\002\022\017\n\013PREEMPTIBLE\020\003\"\257\004\n\tTaskGro"
+ + "up\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\0228\n\ttask_spec\030\003 \001("
+ + "\0132\037.google.cloud.batch.v1.TaskSpecB\004\342A\001\002"
+ + "\022\022\n\ntask_count\030\004 \001(\003\022\023\n\013parallelism\030\005 \001("
+ + "\003\022L\n\021scheduling_policy\030\006 \001(\01621.google.cl"
+ + "oud.batch.v1.TaskGroup.SchedulingPolicy\022"
+ + "=\n\021task_environments\030\t \003(\0132\".google.clou"
+ + "d.batch.v1.Environment\022\033\n\023task_count_per"
+ + "_node\030\n \001(\003\022\032\n\022require_hosts_file\030\013 \001(\010\022"
+ + "\026\n\016permissive_ssh\030\014 \001(\010\"\\\n\020SchedulingPol"
+ + "icy\022!\n\035SCHEDULING_POLICY_UNSPECIFIED\020\000\022\027"
+ + "\n\023AS_SOON_AS_POSSIBLE\020\001\022\014\n\010IN_ORDER\020\002:o\352"
+ + "Al\n\036batch.googleapis.com/TaskGroup\022Jproj"
+ + "ects/{project}/locations/{location}/jobs"
+ + "/{job}/taskGroups/{task_group}\"/\n\016Servic"
+ + "eAccount\022\r\n\005email\030\001 \001(\t\022\016\n\006scopes\030\002 \003(\tB"
+ + "\251\001\n\031com.google.cloud.batch.v1B\010JobProtoP"
+ + "\001Z/cloud.google.com/go/batch/apiv1/batch"
+ + "pb;batchpb\242\002\003GCB\252\002\025Google.Cloud.Batch.V1"
+ + "\312\002\025Google\\Cloud\\Batch\\V1\352\002\030Google::Cloud"
+ + "::Batch::V1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -391,7 +392,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_batch_v1_AllocationPolicy_Accelerator_descriptor,
new java.lang.String[] {
- "Type", "Count", "InstallGpuDrivers",
+ "Type", "Count", "InstallGpuDrivers", "DriverVersion",
});
internal_static_google_cloud_batch_v1_AllocationPolicy_InstancePolicy_descriptor =
internal_static_google_cloud_batch_v1_AllocationPolicy_descriptor.getNestedTypes().get(4);
diff --git a/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/ListJobsRequest.java b/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/ListJobsRequest.java
index 3c7145ce24b2..d109daf3fbe9 100644
--- a/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/ListJobsRequest.java
+++ b/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/ListJobsRequest.java
@@ -40,6 +40,7 @@ private ListJobsRequest(com.google.protobuf.GeneratedMessageV3.Builder> builde
private ListJobsRequest() {
parent_ = "";
filter_ = "";
+ orderBy_ = "";
pageToken_ = "";
}
@@ -166,6 +167,59 @@ public com.google.protobuf.ByteString getFilterBytes() {
}
}
+ public static final int ORDER_BY_FIELD_NUMBER = 5;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object orderBy_ = "";
+ /**
+ *
+ *
+ *
+ * Optional. Sort results. Supported are "name", "name desc", "create_time",
+ * and "create_time desc".
+ *
+ *
+ * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The orderBy.
+ */
+ @java.lang.Override
+ public java.lang.String getOrderBy() {
+ java.lang.Object ref = orderBy_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ orderBy_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Optional. Sort results. Supported are "name", "name desc", "create_time",
+ * and "create_time desc".
+ *
+ *
+ * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for orderBy.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getOrderByBytes() {
+ java.lang.Object ref = orderBy_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ orderBy_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
public static final int PAGE_SIZE_FIELD_NUMBER = 2;
private int pageSize_ = 0;
/**
@@ -261,6 +315,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, filter_);
}
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 5, orderBy_);
+ }
getUnknownFields().writeTo(output);
}
@@ -282,6 +339,9 @@ public int getSerializedSize() {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, filter_);
}
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, orderBy_);
+ }
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
@@ -300,6 +360,7 @@ public boolean equals(final java.lang.Object obj) {
if (!getParent().equals(other.getParent())) return false;
if (!getFilter().equals(other.getFilter())) return false;
+ if (!getOrderBy().equals(other.getOrderBy())) return false;
if (getPageSize() != other.getPageSize()) return false;
if (!getPageToken().equals(other.getPageToken())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
@@ -317,6 +378,8 @@ public int hashCode() {
hash = (53 * hash) + getParent().hashCode();
hash = (37 * hash) + FILTER_FIELD_NUMBER;
hash = (53 * hash) + getFilter().hashCode();
+ hash = (37 * hash) + ORDER_BY_FIELD_NUMBER;
+ hash = (53 * hash) + getOrderBy().hashCode();
hash = (37 * hash) + PAGE_SIZE_FIELD_NUMBER;
hash = (53 * hash) + getPageSize();
hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER;
@@ -462,6 +525,7 @@ public Builder clear() {
bitField0_ = 0;
parent_ = "";
filter_ = "";
+ orderBy_ = "";
pageSize_ = 0;
pageToken_ = "";
return this;
@@ -507,9 +571,12 @@ private void buildPartial0(com.google.cloud.batch.v1.ListJobsRequest result) {
result.filter_ = filter_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
- result.pageSize_ = pageSize_;
+ result.orderBy_ = orderBy_;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
+ result.pageSize_ = pageSize_;
+ }
+ if (((from_bitField0_ & 0x00000010) != 0)) {
result.pageToken_ = pageToken_;
}
}
@@ -569,12 +636,17 @@ public Builder mergeFrom(com.google.cloud.batch.v1.ListJobsRequest other) {
bitField0_ |= 0x00000002;
onChanged();
}
+ if (!other.getOrderBy().isEmpty()) {
+ orderBy_ = other.orderBy_;
+ bitField0_ |= 0x00000004;
+ onChanged();
+ }
if (other.getPageSize() != 0) {
setPageSize(other.getPageSize());
}
if (!other.getPageToken().isEmpty()) {
pageToken_ = other.pageToken_;
- bitField0_ |= 0x00000008;
+ bitField0_ |= 0x00000010;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
@@ -612,13 +684,13 @@ public Builder mergeFrom(
case 16:
{
pageSize_ = input.readInt32();
- bitField0_ |= 0x00000004;
+ bitField0_ |= 0x00000008;
break;
} // case 16
case 26:
{
pageToken_ = input.readStringRequireUtf8();
- bitField0_ |= 0x00000008;
+ bitField0_ |= 0x00000010;
break;
} // case 26
case 34:
@@ -627,6 +699,12 @@ public Builder mergeFrom(
bitField0_ |= 0x00000002;
break;
} // case 34
+ case 42:
+ {
+ orderBy_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00000004;
+ break;
+ } // case 42
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
@@ -858,6 +936,117 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) {
return this;
}
+ private java.lang.Object orderBy_ = "";
+ /**
+ *
+ *
+ *
+ * Optional. Sort results. Supported are "name", "name desc", "create_time",
+ * and "create_time desc".
+ *
+ *
+ * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The orderBy.
+ */
+ public java.lang.String getOrderBy() {
+ java.lang.Object ref = orderBy_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ orderBy_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Optional. Sort results. Supported are "name", "name desc", "create_time",
+ * and "create_time desc".
+ *
+ *
+ * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for orderBy.
+ */
+ public com.google.protobuf.ByteString getOrderByBytes() {
+ java.lang.Object ref = orderBy_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ orderBy_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Optional. Sort results. Supported are "name", "name desc", "create_time",
+ * and "create_time desc".
+ *
+ *
+ * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The orderBy to set.
+ * @return This builder for chaining.
+ */
+ public Builder setOrderBy(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ orderBy_ = value;
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Optional. Sort results. Supported are "name", "name desc", "create_time",
+ * and "create_time desc".
+ *
+ *
+ * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearOrderBy() {
+ orderBy_ = getDefaultInstance().getOrderBy();
+ bitField0_ = (bitField0_ & ~0x00000004);
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Optional. Sort results. Supported are "name", "name desc", "create_time",
+ * and "create_time desc".
+ *
+ *
+ * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The bytes for orderBy to set.
+ * @return This builder for chaining.
+ */
+ public Builder setOrderByBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ orderBy_ = value;
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+
private int pageSize_;
/**
*
@@ -889,7 +1078,7 @@ public int getPageSize() {
public Builder setPageSize(int value) {
pageSize_ = value;
- bitField0_ |= 0x00000004;
+ bitField0_ |= 0x00000008;
onChanged();
return this;
}
@@ -905,7 +1094,7 @@ public Builder setPageSize(int value) {
* @return This builder for chaining.
*/
public Builder clearPageSize() {
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000008);
pageSize_ = 0;
onChanged();
return this;
@@ -973,7 +1162,7 @@ public Builder setPageToken(java.lang.String value) {
throw new NullPointerException();
}
pageToken_ = value;
- bitField0_ |= 0x00000008;
+ bitField0_ |= 0x00000010;
onChanged();
return this;
}
@@ -990,7 +1179,7 @@ public Builder setPageToken(java.lang.String value) {
*/
public Builder clearPageToken() {
pageToken_ = getDefaultInstance().getPageToken();
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
return this;
}
@@ -1012,7 +1201,7 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
}
checkByteStringIsUtf8(value);
pageToken_ = value;
- bitField0_ |= 0x00000008;
+ bitField0_ |= 0x00000010;
onChanged();
return this;
}
diff --git a/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/ListJobsRequestOrBuilder.java b/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/ListJobsRequestOrBuilder.java
index f164b21921a2..92f035daeca3 100644
--- a/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/ListJobsRequestOrBuilder.java
+++ b/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/ListJobsRequestOrBuilder.java
@@ -73,6 +73,33 @@ public interface ListJobsRequestOrBuilder
*/
com.google.protobuf.ByteString getFilterBytes();
+ /**
+ *
+ *
+ *
+ * Optional. Sort results. Supported are "name", "name desc", "create_time",
+ * and "create_time desc".
+ *
+ *
+ * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The orderBy.
+ */
+ java.lang.String getOrderBy();
+ /**
+ *
+ *
+ *
+ * Optional. Sort results. Supported are "name", "name desc", "create_time",
+ * and "create_time desc".
+ *
+ *
+ * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for orderBy.
+ */
+ com.google.protobuf.ByteString getOrderByBytes();
+
/**
*
*
diff --git a/java-batch/proto-google-cloud-batch-v1/src/main/proto/google/cloud/batch/v1/batch.proto b/java-batch/proto-google-cloud-batch-v1/src/main/proto/google/cloud/batch/v1/batch.proto
index 91b43dd9dc34..dd453a02847b 100644
--- a/java-batch/proto-google-cloud-batch-v1/src/main/proto/google/cloud/batch/v1/batch.proto
+++ b/java-batch/proto-google-cloud-batch-v1/src/main/proto/google/cloud/batch/v1/batch.proto
@@ -177,6 +177,10 @@ message ListJobsRequest {
// List filter.
string filter = 4;
+ // Optional. Sort results. Supported are "name", "name desc", "create_time",
+ // and "create_time desc".
+ string order_by = 5 [(google.api.field_behavior) = OPTIONAL];
+
// Page size.
int32 page_size = 2;
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 54c71eba573a..f982f162d194 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
@@ -249,21 +249,24 @@ message AllocationPolicy {
message Disk {
// A data source from which a PD will be created.
oneof data_source {
- // Name of a public or custom image used as the data source.
+ // Name of an image used as the data source.
// For example, the following are all valid URLs:
//
// * Specify the image by its family name:
- // projects/{project}/global/images/family/{image_family}
+ // projects/project/global/images/family/image_family
// * Specify the image version:
- // projects/{project}/global/images/{image_version}
- //
+ // projects/project/global/images/image_version
// You can also use Batch customized image in short names.
// The following image values are supported for a boot disk:
//
- // * "batch-debian": use Batch Debian images.
- // * "batch-centos": use Batch CentOS images.
- // * "batch-cos": use Batch Container-Optimized images.
- // * "batch-hpc-centos": use Batch HPC CentOS images.
+ // * `batch-debian`: use Batch Debian images.
+ // * `batch-centos`: use Batch CentOS images.
+ // * `batch-cos`: use Batch Container-Optimized images.
+ // * `batch-hpc-centos`: use Batch HPC CentOS images.
string image = 4;
// Name of a snapshot used as the data source.
@@ -323,6 +326,15 @@ message AllocationPolicy {
// Deprecated: please use instances[0].install_gpu_drivers instead.
bool install_gpu_drivers = 3 [deprecated = true];
+
+ // Optional. The NVIDIA GPU driver version that should be installed for this
+ // type.
+ //
+ // You can define the specific driver version such as "470.103.01",
+ // following the driver version requirements in
+ // https://cloud.google.com/compute/docs/gpus/install-drivers-gpu#minimum-driver.
+ // Batch will install the specific accelerator driver if qualified.
+ string driver_version = 4 [(google.api.field_behavior) = OPTIONAL];
}
// InstancePolicy describes an instance type and resources attached to each VM
@@ -368,6 +380,12 @@ message AllocationPolicy {
// third party location and install them for GPUs specified in
// policy.accelerators or instance_template on their behalf. Default is
// false.
+ //
+ // For Container-Optimized Image cases, Batch will install the
+ // accelerator driver following milestones of
+ // https://cloud.google.com/container-optimized-os/docs/release-notes. For
+ // non Container-Optimized Image cases, following
+ // https://github.com/GoogleCloudPlatform/compute-gpu-installation/blob/main/linux/install_gpu_driver.py.
bool install_gpu_drivers = 3;
}
@@ -377,20 +395,30 @@ message AllocationPolicy {
// You can specify the network as a full or partial URL.
//
// For example, the following are all valid URLs:
- //
- // * https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
- // * projects/{project}/global/networks/{network}
- // * global/networks/{network}
+ // https://www.googleapis.com/compute/v1/projects/project/global/networks/network
+ // projects/project/global/networks/network
+ // global/networks/network
string network = 1;
// The URL of an existing subnetwork resource in the network.
// You can specify the subnetwork as a full or partial URL.
//
// For example, the following are all valid URLs:
- //
- // * https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetwork}
- // * projects/{project}/regions/{region}/subnetworks/{subnetwork}
- // * regions/{region}/subnetworks/{subnetwork}
+ // https://www.googleapis.com/compute/v1/projects/project/regions/region/subnetworks/subnetwork
+ // projects/project/regions/region/subnetworks/subnetwork
+ // regions/region/subnetworks/subnetwork
string subnetwork = 2;
// Default is false (with an external IP address). Required if
diff --git a/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/AllocationPolicy.java b/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/AllocationPolicy.java
index 33f018ca18b3..ce2bccf0fae6 100644
--- a/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/AllocationPolicy.java
+++ b/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/AllocationPolicy.java
@@ -1615,21 +1615,24 @@ public interface DiskOrBuilder
*
*
*
- * Name of a public or custom image used as the data source.
+ * Name of an image used as the data source.
* For example, the following are all valid URLs:
*
* * Specify the image by its family name:
- * projects/{project}/global/images/family/{image_family}
+ * <pre><code>projects/<var
+ * class="apiparam">project</var>/global/images/family/<var
+ * class="apiparam">image_family</var></code></pre>
* * Specify the image version:
- * projects/{project}/global/images/{image_version}
- *
+ * <pre>projects/<var
+ * class="apiparam">project</var>/global/images/<var
+ * class="apiparam">image_version</var></code></pre>
* You can also use Batch customized image in short names.
* The following image values are supported for a boot disk:
*
- * * "batch-debian": use Batch Debian images.
- * * "batch-centos": use Batch CentOS images.
- * * "batch-cos": use Batch Container-Optimized images.
- * * "batch-hpc-centos": use Batch HPC CentOS images.
+ * * `batch-debian`: use Batch Debian images.
+ * * `batch-centos`: use Batch CentOS images.
+ * * `batch-cos`: use Batch Container-Optimized images.
+ * * `batch-hpc-centos`: use Batch HPC CentOS images.
*
*
* string image = 4;
@@ -1641,21 +1644,24 @@ public interface DiskOrBuilder
*
*
*
- * Name of a public or custom image used as the data source.
+ * Name of an image used as the data source.
* For example, the following are all valid URLs:
*
* * Specify the image by its family name:
- * projects/{project}/global/images/family/{image_family}
+ * <pre><code>projects/<var
+ * class="apiparam">project</var>/global/images/family/<var
+ * class="apiparam">image_family</var></code></pre>
* * Specify the image version:
- * projects/{project}/global/images/{image_version}
- *
+ * <pre>projects/<var
+ * class="apiparam">project</var>/global/images/<var
+ * class="apiparam">image_version</var></code></pre>
* You can also use Batch customized image in short names.
* The following image values are supported for a boot disk:
*
- * * "batch-debian": use Batch Debian images.
- * * "batch-centos": use Batch CentOS images.
- * * "batch-cos": use Batch Container-Optimized images.
- * * "batch-hpc-centos": use Batch HPC CentOS images.
+ * * `batch-debian`: use Batch Debian images.
+ * * `batch-centos`: use Batch CentOS images.
+ * * `batch-cos`: use Batch Container-Optimized images.
+ * * `batch-hpc-centos`: use Batch HPC CentOS images.
*
*
* string image = 4;
@@ -1667,21 +1673,24 @@ public interface DiskOrBuilder
*
*
*
- * Name of a public or custom image used as the data source.
+ * Name of an image used as the data source.
* For example, the following are all valid URLs:
*
* * Specify the image by its family name:
- * projects/{project}/global/images/family/{image_family}
+ * <pre><code>projects/<var
+ * class="apiparam">project</var>/global/images/family/<var
+ * class="apiparam">image_family</var></code></pre>
* * Specify the image version:
- * projects/{project}/global/images/{image_version}
- *
+ * <pre>projects/<var
+ * class="apiparam">project</var>/global/images/<var
+ * class="apiparam">image_version</var></code></pre>
* You can also use Batch customized image in short names.
* The following image values are supported for a boot disk:
*
- * * "batch-debian": use Batch Debian images.
- * * "batch-centos": use Batch CentOS images.
- * * "batch-cos": use Batch Container-Optimized images.
- * * "batch-hpc-centos": use Batch HPC CentOS images.
+ * * `batch-debian`: use Batch Debian images.
+ * * `batch-centos`: use Batch CentOS images.
+ * * `batch-cos`: use Batch Container-Optimized images.
+ * * `batch-hpc-centos`: use Batch HPC CentOS images.
*
*
* string image = 4;
@@ -1916,21 +1925,24 @@ public DataSourceCase getDataSourceCase() {
*
*
*
- * Name of a public or custom image used as the data source.
+ * Name of an image used as the data source.
* For example, the following are all valid URLs:
*
* * Specify the image by its family name:
- * projects/{project}/global/images/family/{image_family}
+ * <pre><code>projects/<var
+ * class="apiparam">project</var>/global/images/family/<var
+ * class="apiparam">image_family</var></code></pre>
* * Specify the image version:
- * projects/{project}/global/images/{image_version}
- *
+ * <pre>projects/<var
+ * class="apiparam">project</var>/global/images/<var
+ * class="apiparam">image_version</var></code></pre>
* You can also use Batch customized image in short names.
* The following image values are supported for a boot disk:
*
- * * "batch-debian": use Batch Debian images.
- * * "batch-centos": use Batch CentOS images.
- * * "batch-cos": use Batch Container-Optimized images.
- * * "batch-hpc-centos": use Batch HPC CentOS images.
+ * * `batch-debian`: use Batch Debian images.
+ * * `batch-centos`: use Batch CentOS images.
+ * * `batch-cos`: use Batch Container-Optimized images.
+ * * `batch-hpc-centos`: use Batch HPC CentOS images.
*
*
* string image = 4;
@@ -1944,21 +1956,24 @@ public boolean hasImage() {
*
*
*
- * Name of a public or custom image used as the data source.
+ * Name of an image used as the data source.
* For example, the following are all valid URLs:
*
* * Specify the image by its family name:
- * projects/{project}/global/images/family/{image_family}
+ * <pre><code>projects/<var
+ * class="apiparam">project</var>/global/images/family/<var
+ * class="apiparam">image_family</var></code></pre>
* * Specify the image version:
- * projects/{project}/global/images/{image_version}
- *
+ * <pre>projects/<var
+ * class="apiparam">project</var>/global/images/<var
+ * class="apiparam">image_version</var></code></pre>
* You can also use Batch customized image in short names.
* The following image values are supported for a boot disk:
*
- * * "batch-debian": use Batch Debian images.
- * * "batch-centos": use Batch CentOS images.
- * * "batch-cos": use Batch Container-Optimized images.
- * * "batch-hpc-centos": use Batch HPC CentOS images.
+ * * `batch-debian`: use Batch Debian images.
+ * * `batch-centos`: use Batch CentOS images.
+ * * `batch-cos`: use Batch Container-Optimized images.
+ * * `batch-hpc-centos`: use Batch HPC CentOS images.
*
*
* string image = 4;
@@ -1985,21 +2000,24 @@ public java.lang.String getImage() {
*
*
*
- * Name of a public or custom image used as the data source.
+ * Name of an image used as the data source.
* For example, the following are all valid URLs:
*
* * Specify the image by its family name:
- * projects/{project}/global/images/family/{image_family}
+ * <pre><code>projects/<var
+ * class="apiparam">project</var>/global/images/family/<var
+ * class="apiparam">image_family</var></code></pre>
* * Specify the image version:
- * projects/{project}/global/images/{image_version}
- *
+ * <pre>projects/<var
+ * class="apiparam">project</var>/global/images/<var
+ * class="apiparam">image_version</var></code></pre>
* You can also use Batch customized image in short names.
* The following image values are supported for a boot disk:
*
- * * "batch-debian": use Batch Debian images.
- * * "batch-centos": use Batch CentOS images.
- * * "batch-cos": use Batch Container-Optimized images.
- * * "batch-hpc-centos": use Batch HPC CentOS images.
+ * * `batch-debian`: use Batch Debian images.
+ * * `batch-centos`: use Batch CentOS images.
+ * * `batch-cos`: use Batch Container-Optimized images.
+ * * `batch-hpc-centos`: use Batch HPC CentOS images.
*
*
* string image = 4;
@@ -2726,21 +2744,24 @@ public Builder clearDataSource() {
*
*
*
- * Name of a public or custom image used as the data source.
+ * Name of an image used as the data source.
* For example, the following are all valid URLs:
*
* * Specify the image by its family name:
- * projects/{project}/global/images/family/{image_family}
+ * <pre><code>projects/<var
+ * class="apiparam">project</var>/global/images/family/<var
+ * class="apiparam">image_family</var></code></pre>
* * Specify the image version:
- * projects/{project}/global/images/{image_version}
- *
+ * <pre>projects/<var
+ * class="apiparam">project</var>/global/images/<var
+ * class="apiparam">image_version</var></code></pre>
* You can also use Batch customized image in short names.
* The following image values are supported for a boot disk:
*
- * * "batch-debian": use Batch Debian images.
- * * "batch-centos": use Batch CentOS images.
- * * "batch-cos": use Batch Container-Optimized images.
- * * "batch-hpc-centos": use Batch HPC CentOS images.
+ * * `batch-debian`: use Batch Debian images.
+ * * `batch-centos`: use Batch CentOS images.
+ * * `batch-cos`: use Batch Container-Optimized images.
+ * * `batch-hpc-centos`: use Batch HPC CentOS images.
*
*
* string image = 4;
@@ -2755,21 +2776,24 @@ public boolean hasImage() {
*
*
*
- * Name of a public or custom image used as the data source.
+ * Name of an image used as the data source.
* For example, the following are all valid URLs:
*
* * Specify the image by its family name:
- * projects/{project}/global/images/family/{image_family}
+ * <pre><code>projects/<var
+ * class="apiparam">project</var>/global/images/family/<var
+ * class="apiparam">image_family</var></code></pre>
* * Specify the image version:
- * projects/{project}/global/images/{image_version}
- *
+ * <pre>projects/<var
+ * class="apiparam">project</var>/global/images/<var
+ * class="apiparam">image_version</var></code></pre>
* You can also use Batch customized image in short names.
* The following image values are supported for a boot disk:
*
- * * "batch-debian": use Batch Debian images.
- * * "batch-centos": use Batch CentOS images.
- * * "batch-cos": use Batch Container-Optimized images.
- * * "batch-hpc-centos": use Batch HPC CentOS images.
+ * * `batch-debian`: use Batch Debian images.
+ * * `batch-centos`: use Batch CentOS images.
+ * * `batch-cos`: use Batch Container-Optimized images.
+ * * `batch-hpc-centos`: use Batch HPC CentOS images.
*
*
* string image = 4;
@@ -2797,21 +2821,24 @@ public java.lang.String getImage() {
*
*
*
- * Name of a public or custom image used as the data source.
+ * Name of an image used as the data source.
* For example, the following are all valid URLs:
*
* * Specify the image by its family name:
- * projects/{project}/global/images/family/{image_family}
+ * <pre><code>projects/<var
+ * class="apiparam">project</var>/global/images/family/<var
+ * class="apiparam">image_family</var></code></pre>
* * Specify the image version:
- * projects/{project}/global/images/{image_version}
- *
+ * <pre>projects/<var
+ * class="apiparam">project</var>/global/images/<var
+ * class="apiparam">image_version</var></code></pre>
* You can also use Batch customized image in short names.
* The following image values are supported for a boot disk:
*
- * * "batch-debian": use Batch Debian images.
- * * "batch-centos": use Batch CentOS images.
- * * "batch-cos": use Batch Container-Optimized images.
- * * "batch-hpc-centos": use Batch HPC CentOS images.
+ * * `batch-debian`: use Batch Debian images.
+ * * `batch-centos`: use Batch CentOS images.
+ * * `batch-cos`: use Batch Container-Optimized images.
+ * * `batch-hpc-centos`: use Batch HPC CentOS images.
*
*
* string image = 4;
@@ -2839,21 +2866,24 @@ public com.google.protobuf.ByteString getImageBytes() {
*
*
*
- * Name of a public or custom image used as the data source.
+ * Name of an image used as the data source.
* For example, the following are all valid URLs:
*
* * Specify the image by its family name:
- * projects/{project}/global/images/family/{image_family}
+ * <pre><code>projects/<var
+ * class="apiparam">project</var>/global/images/family/<var
+ * class="apiparam">image_family</var></code></pre>
* * Specify the image version:
- * projects/{project}/global/images/{image_version}
- *
+ * <pre>projects/<var
+ * class="apiparam">project</var>/global/images/<var
+ * class="apiparam">image_version</var></code></pre>
* You can also use Batch customized image in short names.
* The following image values are supported for a boot disk:
*
- * * "batch-debian": use Batch Debian images.
- * * "batch-centos": use Batch CentOS images.
- * * "batch-cos": use Batch Container-Optimized images.
- * * "batch-hpc-centos": use Batch HPC CentOS images.
+ * * `batch-debian`: use Batch Debian images.
+ * * `batch-centos`: use Batch CentOS images.
+ * * `batch-cos`: use Batch Container-Optimized images.
+ * * `batch-hpc-centos`: use Batch HPC CentOS images.
*
*
* string image = 4;
@@ -2874,21 +2904,24 @@ public Builder setImage(java.lang.String value) {
*
*
*
- * Name of a public or custom image used as the data source.
+ * Name of an image used as the data source.
* For example, the following are all valid URLs:
*
* * Specify the image by its family name:
- * projects/{project}/global/images/family/{image_family}
+ * <pre><code>projects/<var
+ * class="apiparam">project</var>/global/images/family/<var
+ * class="apiparam">image_family</var></code></pre>
* * Specify the image version:
- * projects/{project}/global/images/{image_version}
- *
+ * <pre>projects/<var
+ * class="apiparam">project</var>/global/images/<var
+ * class="apiparam">image_version</var></code></pre>
* You can also use Batch customized image in short names.
* The following image values are supported for a boot disk:
*
- * * "batch-debian": use Batch Debian images.
- * * "batch-centos": use Batch CentOS images.
- * * "batch-cos": use Batch Container-Optimized images.
- * * "batch-hpc-centos": use Batch HPC CentOS images.
+ * * `batch-debian`: use Batch Debian images.
+ * * `batch-centos`: use Batch CentOS images.
+ * * `batch-cos`: use Batch Container-Optimized images.
+ * * `batch-hpc-centos`: use Batch HPC CentOS images.
*
*
* string image = 4;
@@ -2907,21 +2940,24 @@ public Builder clearImage() {
*
*
*
- * Name of a public or custom image used as the data source.
+ * Name of an image used as the data source.
* For example, the following are all valid URLs:
*
* * Specify the image by its family name:
- * projects/{project}/global/images/family/{image_family}
+ * <pre><code>projects/<var
+ * class="apiparam">project</var>/global/images/family/<var
+ * class="apiparam">image_family</var></code></pre>
* * Specify the image version:
- * projects/{project}/global/images/{image_version}
- *
+ * <pre>projects/<var
+ * class="apiparam">project</var>/global/images/<var
+ * class="apiparam">image_version</var></code></pre>
* You can also use Batch customized image in short names.
* The following image values are supported for a boot disk:
*
- * * "batch-debian": use Batch Debian images.
- * * "batch-centos": use Batch CentOS images.
- * * "batch-cos": use Batch Container-Optimized images.
- * * "batch-hpc-centos": use Batch HPC CentOS images.
+ * * `batch-debian`: use Batch Debian images.
+ * * `batch-centos`: use Batch CentOS images.
+ * * `batch-cos`: use Batch Container-Optimized images.
+ * * `batch-hpc-centos`: use Batch HPC CentOS images.
*
*
* string image = 4;
@@ -4770,7 +4806,7 @@ public interface AcceleratorOrBuilder
* bool install_gpu_drivers = 3 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.Accelerator.install_gpu_drivers is
- * deprecated. See google/cloud/batch/v1alpha/job.proto;l=388
+ * deprecated. See google/cloud/batch/v1alpha/job.proto;l=391
* @return The installGpuDrivers.
*/
@java.lang.Deprecated
@@ -4780,12 +4816,16 @@ public interface AcceleratorOrBuilder
*
*
*
- * The accelerator driver version that will be installed for this type.
+ * Optional. The NVIDIA GPU driver version that should be installed for this
+ * type.
*
- * Not yet implemented.
+ * You can define the specific driver version such as "470.103.01",
+ * following the driver version requirements in
+ * https://cloud.google.com/compute/docs/gpus/install-drivers-gpu#minimum-driver.
+ * Batch will install the specific accelerator driver if qualified.
*
*
- * string driver_version = 4;
+ * string driver_version = 4 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The driverVersion.
*/
@@ -4794,12 +4834,16 @@ public interface AcceleratorOrBuilder
*
*
*
- * The accelerator driver version that will be installed for this type.
+ * Optional. The NVIDIA GPU driver version that should be installed for this
+ * type.
*
- * Not yet implemented.
+ * You can define the specific driver version such as "470.103.01",
+ * following the driver version requirements in
+ * https://cloud.google.com/compute/docs/gpus/install-drivers-gpu#minimum-driver.
+ * Batch will install the specific accelerator driver if qualified.
*
*
- * string driver_version = 4;
+ * string driver_version = 4 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The bytes for driverVersion.
*/
@@ -4933,7 +4977,7 @@ public long getCount() {
* bool install_gpu_drivers = 3 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.Accelerator.install_gpu_drivers is
- * deprecated. See google/cloud/batch/v1alpha/job.proto;l=388
+ * deprecated. See google/cloud/batch/v1alpha/job.proto;l=391
* @return The installGpuDrivers.
*/
@java.lang.Override
@@ -4950,12 +4994,16 @@ public boolean getInstallGpuDrivers() {
*
*
*
- * The accelerator driver version that will be installed for this type.
+ * Optional. The NVIDIA GPU driver version that should be installed for this
+ * type.
*
- * Not yet implemented.
+ * You can define the specific driver version such as "470.103.01",
+ * following the driver version requirements in
+ * https://cloud.google.com/compute/docs/gpus/install-drivers-gpu#minimum-driver.
+ * Batch will install the specific accelerator driver if qualified.
*
*
- * string driver_version = 4;
+ * string driver_version = 4 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The driverVersion.
*/
@@ -4975,12 +5023,16 @@ public java.lang.String getDriverVersion() {
*
*
*
- * The accelerator driver version that will be installed for this type.
+ * Optional. The NVIDIA GPU driver version that should be installed for this
+ * type.
*
- * Not yet implemented.
+ * You can define the specific driver version such as "470.103.01",
+ * following the driver version requirements in
+ * https://cloud.google.com/compute/docs/gpus/install-drivers-gpu#minimum-driver.
+ * Batch will install the specific accelerator driver if qualified.
*
*
- * string driver_version = 4;
+ * string driver_version = 4 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The bytes for driverVersion.
*/
@@ -5590,7 +5642,7 @@ public Builder clearCount() {
* bool install_gpu_drivers = 3 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.Accelerator.install_gpu_drivers is
- * deprecated. See google/cloud/batch/v1alpha/job.proto;l=388
+ * deprecated. See google/cloud/batch/v1alpha/job.proto;l=391
* @return The installGpuDrivers.
*/
@java.lang.Override
@@ -5608,7 +5660,7 @@ public boolean getInstallGpuDrivers() {
* bool install_gpu_drivers = 3 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.Accelerator.install_gpu_drivers is
- * deprecated. See google/cloud/batch/v1alpha/job.proto;l=388
+ * deprecated. See google/cloud/batch/v1alpha/job.proto;l=391
* @param value The installGpuDrivers to set.
* @return This builder for chaining.
*/
@@ -5630,7 +5682,7 @@ public Builder setInstallGpuDrivers(boolean value) {
* bool install_gpu_drivers = 3 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.Accelerator.install_gpu_drivers is
- * deprecated. See google/cloud/batch/v1alpha/job.proto;l=388
+ * deprecated. See google/cloud/batch/v1alpha/job.proto;l=391
* @return This builder for chaining.
*/
@java.lang.Deprecated
@@ -5646,12 +5698,16 @@ public Builder clearInstallGpuDrivers() {
*
*
*
- * The accelerator driver version that will be installed for this type.
+ * Optional. The NVIDIA GPU driver version that should be installed for this
+ * type.
*
- * Not yet implemented.
+ * You can define the specific driver version such as "470.103.01",
+ * following the driver version requirements in
+ * https://cloud.google.com/compute/docs/gpus/install-drivers-gpu#minimum-driver.
+ * Batch will install the specific accelerator driver if qualified.
*
*
- * string driver_version = 4;
+ * string driver_version = 4 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The driverVersion.
*/
@@ -5670,12 +5726,16 @@ public java.lang.String getDriverVersion() {
*
*
*
- * The accelerator driver version that will be installed for this type.
+ * Optional. The NVIDIA GPU driver version that should be installed for this
+ * type.
*
- * Not yet implemented.
+ * You can define the specific driver version such as "470.103.01",
+ * following the driver version requirements in
+ * https://cloud.google.com/compute/docs/gpus/install-drivers-gpu#minimum-driver.
+ * Batch will install the specific accelerator driver if qualified.
*
*
- * string driver_version = 4;
+ * string driver_version = 4 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The bytes for driverVersion.
*/
@@ -5694,12 +5754,16 @@ public com.google.protobuf.ByteString getDriverVersionBytes() {
*
*
*
- * The accelerator driver version that will be installed for this type.
+ * Optional. The NVIDIA GPU driver version that should be installed for this
+ * type.
*
- * Not yet implemented.
+ * You can define the specific driver version such as "470.103.01",
+ * following the driver version requirements in
+ * https://cloud.google.com/compute/docs/gpus/install-drivers-gpu#minimum-driver.
+ * Batch will install the specific accelerator driver if qualified.
*
*
- * string driver_version = 4;
+ * string driver_version = 4 [(.google.api.field_behavior) = OPTIONAL];
*
* @param value The driverVersion to set.
* @return This builder for chaining.
@@ -5717,12 +5781,16 @@ public Builder setDriverVersion(java.lang.String value) {
*
*
*
- * The accelerator driver version that will be installed for this type.
+ * Optional. The NVIDIA GPU driver version that should be installed for this
+ * type.
*
- * Not yet implemented.
+ * You can define the specific driver version such as "470.103.01",
+ * following the driver version requirements in
+ * https://cloud.google.com/compute/docs/gpus/install-drivers-gpu#minimum-driver.
+ * Batch will install the specific accelerator driver if qualified.
*
*
- * string driver_version = 4;
+ * string driver_version = 4 [(.google.api.field_behavior) = OPTIONAL];
*
* @return This builder for chaining.
*/
@@ -5736,12 +5804,16 @@ public Builder clearDriverVersion() {
*
*
*
- * The accelerator driver version that will be installed for this type.
+ * Optional. The NVIDIA GPU driver version that should be installed for this
+ * type.
*
- * Not yet implemented.
+ * You can define the specific driver version such as "470.103.01",
+ * following the driver version requirements in
+ * https://cloud.google.com/compute/docs/gpus/install-drivers-gpu#minimum-driver.
+ * Batch will install the specific accelerator driver if qualified.
*
*
- * string driver_version = 4;
+ * string driver_version = 4 [(.google.api.field_behavior) = OPTIONAL];
*
* @param value The bytes for driverVersion to set.
* @return This builder for chaining.
@@ -5837,7 +5909,7 @@ public interface InstancePolicyOrBuilder
* repeated string allowed_machine_types = 1 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.InstancePolicy.allowed_machine_types
- * is deprecated. See google/cloud/batch/v1alpha/job.proto;l=400
+ * is deprecated. See google/cloud/batch/v1alpha/job.proto;l=407
* @return A list containing the allowedMachineTypes.
*/
@java.lang.Deprecated
@@ -5852,7 +5924,7 @@ public interface InstancePolicyOrBuilder
* repeated string allowed_machine_types = 1 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.InstancePolicy.allowed_machine_types
- * is deprecated. See google/cloud/batch/v1alpha/job.proto;l=400
+ * is deprecated. See google/cloud/batch/v1alpha/job.proto;l=407
* @return The count of allowedMachineTypes.
*/
@java.lang.Deprecated
@@ -5867,7 +5939,7 @@ public interface InstancePolicyOrBuilder
* repeated string allowed_machine_types = 1 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.InstancePolicy.allowed_machine_types
- * is deprecated. See google/cloud/batch/v1alpha/job.proto;l=400
+ * is deprecated. See google/cloud/batch/v1alpha/job.proto;l=407
* @param index The index of the element to return.
* @return The allowedMachineTypes at the given index.
*/
@@ -5883,7 +5955,7 @@ public interface InstancePolicyOrBuilder
* repeated string allowed_machine_types = 1 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.InstancePolicy.allowed_machine_types
- * is deprecated. See google/cloud/batch/v1alpha/job.proto;l=400
+ * is deprecated. See google/cloud/batch/v1alpha/job.proto;l=407
* @param index The index of the value to return.
* @return The bytes of the allowedMachineTypes at the given index.
*/
@@ -6222,7 +6294,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
* repeated string allowed_machine_types = 1 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.InstancePolicy.allowed_machine_types
- * is deprecated. See google/cloud/batch/v1alpha/job.proto;l=400
+ * is deprecated. See google/cloud/batch/v1alpha/job.proto;l=407
* @return A list containing the allowedMachineTypes.
*/
@java.lang.Deprecated
@@ -6239,7 +6311,7 @@ public com.google.protobuf.ProtocolStringList getAllowedMachineTypesList() {
* repeated string allowed_machine_types = 1 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.InstancePolicy.allowed_machine_types
- * is deprecated. See google/cloud/batch/v1alpha/job.proto;l=400
+ * is deprecated. See google/cloud/batch/v1alpha/job.proto;l=407
* @return The count of allowedMachineTypes.
*/
@java.lang.Deprecated
@@ -6256,7 +6328,7 @@ public int getAllowedMachineTypesCount() {
* repeated string allowed_machine_types = 1 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.InstancePolicy.allowed_machine_types
- * is deprecated. See google/cloud/batch/v1alpha/job.proto;l=400
+ * is deprecated. See google/cloud/batch/v1alpha/job.proto;l=407
* @param index The index of the element to return.
* @return The allowedMachineTypes at the given index.
*/
@@ -6274,7 +6346,7 @@ public java.lang.String getAllowedMachineTypes(int index) {
* repeated string allowed_machine_types = 1 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.InstancePolicy.allowed_machine_types
- * is deprecated. See google/cloud/batch/v1alpha/job.proto;l=400
+ * is deprecated. See google/cloud/batch/v1alpha/job.proto;l=407
* @param index The index of the value to return.
* @return The bytes of the allowedMachineTypes at the given index.
*/
@@ -7357,7 +7429,7 @@ private void ensureAllowedMachineTypesIsMutable() {
*
* @deprecated
* google.cloud.batch.v1alpha.AllocationPolicy.InstancePolicy.allowed_machine_types is
- * deprecated. See google/cloud/batch/v1alpha/job.proto;l=400
+ * deprecated. See google/cloud/batch/v1alpha/job.proto;l=407
* @return A list containing the allowedMachineTypes.
*/
@java.lang.Deprecated
@@ -7376,7 +7448,7 @@ public com.google.protobuf.ProtocolStringList getAllowedMachineTypesList() {
*
* @deprecated
* google.cloud.batch.v1alpha.AllocationPolicy.InstancePolicy.allowed_machine_types is
- * deprecated. See google/cloud/batch/v1alpha/job.proto;l=400
+ * deprecated. See google/cloud/batch/v1alpha/job.proto;l=407
* @return The count of allowedMachineTypes.
*/
@java.lang.Deprecated
@@ -7394,7 +7466,7 @@ public int getAllowedMachineTypesCount() {
*
* @deprecated
* google.cloud.batch.v1alpha.AllocationPolicy.InstancePolicy.allowed_machine_types is
- * deprecated. See google/cloud/batch/v1alpha/job.proto;l=400
+ * deprecated. See google/cloud/batch/v1alpha/job.proto;l=407
* @param index The index of the element to return.
* @return The allowedMachineTypes at the given index.
*/
@@ -7413,7 +7485,7 @@ public java.lang.String getAllowedMachineTypes(int index) {
*
* @deprecated
* google.cloud.batch.v1alpha.AllocationPolicy.InstancePolicy.allowed_machine_types is
- * deprecated. See google/cloud/batch/v1alpha/job.proto;l=400
+ * deprecated. See google/cloud/batch/v1alpha/job.proto;l=407
* @param index The index of the value to return.
* @return The bytes of the allowedMachineTypes at the given index.
*/
@@ -7432,7 +7504,7 @@ public com.google.protobuf.ByteString getAllowedMachineTypesBytes(int index) {
*
* @deprecated
* google.cloud.batch.v1alpha.AllocationPolicy.InstancePolicy.allowed_machine_types is
- * deprecated. See google/cloud/batch/v1alpha/job.proto;l=400
+ * deprecated. See google/cloud/batch/v1alpha/job.proto;l=407
* @param index The index to set the value at.
* @param value The allowedMachineTypes to set.
* @return This builder for chaining.
@@ -7459,7 +7531,7 @@ public Builder setAllowedMachineTypes(int index, java.lang.String value) {
*
* @deprecated
* google.cloud.batch.v1alpha.AllocationPolicy.InstancePolicy.allowed_machine_types is
- * deprecated. See google/cloud/batch/v1alpha/job.proto;l=400
+ * deprecated. See google/cloud/batch/v1alpha/job.proto;l=407
* @param value The allowedMachineTypes to add.
* @return This builder for chaining.
*/
@@ -7485,7 +7557,7 @@ public Builder addAllowedMachineTypes(java.lang.String value) {
*
* @deprecated
* google.cloud.batch.v1alpha.AllocationPolicy.InstancePolicy.allowed_machine_types is
- * deprecated. See google/cloud/batch/v1alpha/job.proto;l=400
+ * deprecated. See google/cloud/batch/v1alpha/job.proto;l=407
* @param values The allowedMachineTypes to add.
* @return This builder for chaining.
*/
@@ -7508,7 +7580,7 @@ public Builder addAllAllowedMachineTypes(java.lang.Iterable va
*
* @deprecated
* google.cloud.batch.v1alpha.AllocationPolicy.InstancePolicy.allowed_machine_types is
- * deprecated. See google/cloud/batch/v1alpha/job.proto;l=400
+ * deprecated. See google/cloud/batch/v1alpha/job.proto;l=407
* @return This builder for chaining.
*/
@java.lang.Deprecated
@@ -7530,7 +7602,7 @@ public Builder clearAllowedMachineTypes() {
*
* @deprecated
* google.cloud.batch.v1alpha.AllocationPolicy.InstancePolicy.allowed_machine_types is
- * deprecated. See google/cloud/batch/v1alpha/job.proto;l=400
+ * deprecated. See google/cloud/batch/v1alpha/job.proto;l=407
* @param value The bytes of the allowedMachineTypes to add.
* @return This builder for chaining.
*/
@@ -9119,6 +9191,12 @@ public interface InstancePolicyOrTemplateOrBuilder
* third party location and install them for GPUs specified in
* policy.accelerators or instance_template on their behalf. Default is
* false.
+ *
+ * For Container-Optimized Image cases, Batch will install the
+ * accelerator driver following milestones of
+ * https://cloud.google.com/container-optimized-os/docs/release-notes. For
+ * non Container-Optimized Image cases, following
+ * https://github.com/GoogleCloudPlatform/compute-gpu-installation/blob/main/linux/install_gpu_driver.py.
*
*
* bool install_gpu_drivers = 3;
@@ -9360,6 +9438,12 @@ public com.google.protobuf.ByteString getInstanceTemplateBytes() {
* third party location and install them for GPUs specified in
* policy.accelerators or instance_template on their behalf. Default is
* false.
+ *
+ * For Container-Optimized Image cases, Batch will install the
+ * accelerator driver following milestones of
+ * https://cloud.google.com/container-optimized-os/docs/release-notes. For
+ * non Container-Optimized Image cases, following
+ * https://github.com/GoogleCloudPlatform/compute-gpu-installation/blob/main/linux/install_gpu_driver.py.
*
*
* bool install_gpu_drivers = 3;
@@ -10208,6 +10292,12 @@ public Builder setInstanceTemplateBytes(com.google.protobuf.ByteString value) {
* third party location and install them for GPUs specified in
* policy.accelerators or instance_template on their behalf. Default is
* false.
+ *
+ * For Container-Optimized Image cases, Batch will install the
+ * accelerator driver following milestones of
+ * https://cloud.google.com/container-optimized-os/docs/release-notes. For
+ * non Container-Optimized Image cases, following
+ * https://github.com/GoogleCloudPlatform/compute-gpu-installation/blob/main/linux/install_gpu_driver.py.
*
*
* bool install_gpu_drivers = 3;
@@ -10226,6 +10316,12 @@ public boolean getInstallGpuDrivers() {
* third party location and install them for GPUs specified in
* policy.accelerators or instance_template on their behalf. Default is
* false.
+ *
+ * For Container-Optimized Image cases, Batch will install the
+ * accelerator driver following milestones of
+ * https://cloud.google.com/container-optimized-os/docs/release-notes. For
+ * non Container-Optimized Image cases, following
+ * https://github.com/GoogleCloudPlatform/compute-gpu-installation/blob/main/linux/install_gpu_driver.py.
*
*
* bool install_gpu_drivers = 3;
@@ -10248,6 +10344,12 @@ public Builder setInstallGpuDrivers(boolean value) {
* third party location and install them for GPUs specified in
* policy.accelerators or instance_template on their behalf. Default is
* false.
+ *
+ * For Container-Optimized Image cases, Batch will install the
+ * accelerator driver following milestones of
+ * https://cloud.google.com/container-optimized-os/docs/release-notes. For
+ * non Container-Optimized Image cases, following
+ * https://github.com/GoogleCloudPlatform/compute-gpu-installation/blob/main/linux/install_gpu_driver.py.
*
*
* bool install_gpu_drivers = 3;
@@ -10342,10 +10444,14 @@ public interface NetworkInterfaceOrBuilder
* You can specify the network as a full or partial URL.
*
* For example, the following are all valid URLs:
- *
- * * https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
- * * projects/{project}/global/networks/{network}
- * * global/networks/{network}
+ * <pre><code>https://www.googleapis.com/compute/v1/projects/<var
+ * class="apiparam">project</var>/global/networks/<var
+ * class="apiparam">network</var></code></pre>
+ * <pre><code>projects/<var
+ * class="apiparam">project</var>/global/networks/<var
+ * class="apiparam">network</var></code></pre>
+ * <pre><code>global/networks/<var
+ * class="apiparam">network</var></code></pre>
*
*
* string network = 1;
@@ -10361,10 +10467,14 @@ public interface NetworkInterfaceOrBuilder
* You can specify the network as a full or partial URL.
*
* For example, the following are all valid URLs:
- *
- * * https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
- * * projects/{project}/global/networks/{network}
- * * global/networks/{network}
+ * <pre><code>https://www.googleapis.com/compute/v1/projects/<var
+ * class="apiparam">project</var>/global/networks/<var
+ * class="apiparam">network</var></code></pre>
+ * <pre><code>projects/<var
+ * class="apiparam">project</var>/global/networks/<var
+ * class="apiparam">network</var></code></pre>
+ * <pre><code>global/networks/<var
+ * class="apiparam">network</var></code></pre>
*
*
* string network = 1;
@@ -10381,10 +10491,16 @@ public interface NetworkInterfaceOrBuilder
* You can specify the subnetwork as a full or partial URL.
*
* For example, the following are all valid URLs:
- *
- * * https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetwork}
- * * projects/{project}/regions/{region}/subnetworks/{subnetwork}
- * * regions/{region}/subnetworks/{subnetwork}
+ * <pre><code>https://www.googleapis.com/compute/v1/projects/<var
+ * class="apiparam">project</var>/regions/<var
+ * class="apiparam">region</var>/subnetworks/<var
+ * class="apiparam">subnetwork</var></code></pre>
+ * <pre><code>projects/<var class="apiparam">project</var>/regions/<var
+ * class="apiparam">region</var>/subnetworks/<var
+ * class="apiparam">subnetwork</var></code></pre>
+ * <pre><code>regions/<var
+ * class="apiparam">region</var>/subnetworks/<var
+ * class="apiparam">subnetwork</var></code></pre>
*
*
* string subnetwork = 2;
@@ -10400,10 +10516,16 @@ public interface NetworkInterfaceOrBuilder
* You can specify the subnetwork as a full or partial URL.
*
* For example, the following are all valid URLs:
- *
- * * https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetwork}
- * * projects/{project}/regions/{region}/subnetworks/{subnetwork}
- * * regions/{region}/subnetworks/{subnetwork}
+ * <pre><code>https://www.googleapis.com/compute/v1/projects/<var
+ * class="apiparam">project</var>/regions/<var
+ * class="apiparam">region</var>/subnetworks/<var
+ * class="apiparam">subnetwork</var></code></pre>
+ * <pre><code>projects/<var class="apiparam">project</var>/regions/<var
+ * class="apiparam">region</var>/subnetworks/<var
+ * class="apiparam">subnetwork</var></code></pre>
+ * <pre><code>regions/<var
+ * class="apiparam">region</var>/subnetworks/<var
+ * class="apiparam">subnetwork</var></code></pre>
*
*
* string subnetwork = 2;
@@ -10488,10 +10610,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
* You can specify the network as a full or partial URL.
*
* For example, the following are all valid URLs:
- *
- * * https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
- * * projects/{project}/global/networks/{network}
- * * global/networks/{network}
+ * <pre><code>https://www.googleapis.com/compute/v1/projects/<var
+ * class="apiparam">project</var>/global/networks/<var
+ * class="apiparam">network</var></code></pre>
+ * <pre><code>projects/<var
+ * class="apiparam">project</var>/global/networks/<var
+ * class="apiparam">network</var></code></pre>
+ * <pre><code>global/networks/<var
+ * class="apiparam">network</var></code></pre>
*
*
* string network = 1;
@@ -10518,10 +10644,14 @@ public java.lang.String getNetwork() {
* You can specify the network as a full or partial URL.
*
* For example, the following are all valid URLs:
- *
- * * https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
- * * projects/{project}/global/networks/{network}
- * * global/networks/{network}
+ * <pre><code>https://www.googleapis.com/compute/v1/projects/<var
+ * class="apiparam">project</var>/global/networks/<var
+ * class="apiparam">network</var></code></pre>
+ * <pre><code>projects/<var
+ * class="apiparam">project</var>/global/networks/<var
+ * class="apiparam">network</var></code></pre>
+ * <pre><code>global/networks/<var
+ * class="apiparam">network</var></code></pre>
*
*
* string network = 1;
@@ -10553,10 +10683,16 @@ public com.google.protobuf.ByteString getNetworkBytes() {
* You can specify the subnetwork as a full or partial URL.
*
* For example, the following are all valid URLs:
- *
- * * https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetwork}
- * * projects/{project}/regions/{region}/subnetworks/{subnetwork}
- * * regions/{region}/subnetworks/{subnetwork}
+ * <pre><code>https://www.googleapis.com/compute/v1/projects/<var
+ * class="apiparam">project</var>/regions/<var
+ * class="apiparam">region</var>/subnetworks/<var
+ * class="apiparam">subnetwork</var></code></pre>
+ * <pre><code>projects/<var class="apiparam">project</var>/regions/<var
+ * class="apiparam">region</var>/subnetworks/<var
+ * class="apiparam">subnetwork</var></code></pre>
+ * <pre><code>regions/<var
+ * class="apiparam">region</var>/subnetworks/<var
+ * class="apiparam">subnetwork</var></code></pre>
*
*
* string subnetwork = 2;
@@ -10583,10 +10719,16 @@ public java.lang.String getSubnetwork() {
* You can specify the subnetwork as a full or partial URL.
*
* For example, the following are all valid URLs:
- *
- * * https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetwork}
- * * projects/{project}/regions/{region}/subnetworks/{subnetwork}
- * * regions/{region}/subnetworks/{subnetwork}
+ * <pre><code>https://www.googleapis.com/compute/v1/projects/<var
+ * class="apiparam">project</var>/regions/<var
+ * class="apiparam">region</var>/subnetworks/<var
+ * class="apiparam">subnetwork</var></code></pre>
+ * <pre><code>projects/<var class="apiparam">project</var>/regions/<var
+ * class="apiparam">region</var>/subnetworks/<var
+ * class="apiparam">subnetwork</var></code></pre>
+ * <pre><code>regions/<var
+ * class="apiparam">region</var>/subnetworks/<var
+ * class="apiparam">subnetwork</var></code></pre>
*
*
* string subnetwork = 2;
@@ -11040,10 +11182,14 @@ public Builder mergeFrom(
* You can specify the network as a full or partial URL.
*
* For example, the following are all valid URLs:
- *
- * * https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
- * * projects/{project}/global/networks/{network}
- * * global/networks/{network}
+ * <pre><code>https://www.googleapis.com/compute/v1/projects/<var
+ * class="apiparam">project</var>/global/networks/<var
+ * class="apiparam">network</var></code></pre>
+ * <pre><code>projects/<var
+ * class="apiparam">project</var>/global/networks/<var
+ * class="apiparam">network</var></code></pre>
+ * <pre><code>global/networks/<var
+ * class="apiparam">network</var></code></pre>
*
*
* string network = 1;
@@ -11069,10 +11215,14 @@ public java.lang.String getNetwork() {
* You can specify the network as a full or partial URL.
*
* For example, the following are all valid URLs:
- *
- * * https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
- * * projects/{project}/global/networks/{network}
- * * global/networks/{network}
+ * <pre><code>https://www.googleapis.com/compute/v1/projects/<var
+ * class="apiparam">project</var>/global/networks/<var
+ * class="apiparam">network</var></code></pre>
+ * <pre><code>projects/<var
+ * class="apiparam">project</var>/global/networks/<var
+ * class="apiparam">network</var></code></pre>
+ * <pre><code>global/networks/<var
+ * class="apiparam">network</var></code></pre>
*
*
* string network = 1;
@@ -11098,10 +11248,14 @@ public com.google.protobuf.ByteString getNetworkBytes() {
* You can specify the network as a full or partial URL.
*
* For example, the following are all valid URLs:
- *
- * * https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
- * * projects/{project}/global/networks/{network}
- * * global/networks/{network}
+ * <pre><code>https://www.googleapis.com/compute/v1/projects/<var
+ * class="apiparam">project</var>/global/networks/<var
+ * class="apiparam">network</var></code></pre>
+ * <pre><code>projects/<var
+ * class="apiparam">project</var>/global/networks/<var
+ * class="apiparam">network</var></code></pre>
+ * <pre><code>global/networks/<var
+ * class="apiparam">network</var></code></pre>
*
*
* string network = 1;
@@ -11126,10 +11280,14 @@ public Builder setNetwork(java.lang.String value) {
* You can specify the network as a full or partial URL.
*
* For example, the following are all valid URLs:
- *
- * * https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
- * * projects/{project}/global/networks/{network}
- * * global/networks/{network}
+ * <pre><code>https://www.googleapis.com/compute/v1/projects/<var
+ * class="apiparam">project</var>/global/networks/<var
+ * class="apiparam">network</var></code></pre>
+ * <pre><code>projects/<var
+ * class="apiparam">project</var>/global/networks/<var
+ * class="apiparam">network</var></code></pre>
+ * <pre><code>global/networks/<var
+ * class="apiparam">network</var></code></pre>
*
*
* string network = 1;
@@ -11150,10 +11308,14 @@ public Builder clearNetwork() {
* You can specify the network as a full or partial URL.
*
* For example, the following are all valid URLs:
- *
- * * https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
- * * projects/{project}/global/networks/{network}
- * * global/networks/{network}
+ * <pre><code>https://www.googleapis.com/compute/v1/projects/<var
+ * class="apiparam">project</var>/global/networks/<var
+ * class="apiparam">network</var></code></pre>
+ * <pre><code>projects/<var
+ * class="apiparam">project</var>/global/networks/<var
+ * class="apiparam">network</var></code></pre>
+ * <pre><code>global/networks/<var
+ * class="apiparam">network</var></code></pre>
*
*
* string network = 1;
@@ -11181,10 +11343,16 @@ public Builder setNetworkBytes(com.google.protobuf.ByteString value) {
* You can specify the subnetwork as a full or partial URL.
*
* For example, the following are all valid URLs:
- *
- * * https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetwork}
- * * projects/{project}/regions/{region}/subnetworks/{subnetwork}
- * * regions/{region}/subnetworks/{subnetwork}
+ * <pre><code>https://www.googleapis.com/compute/v1/projects/<var
+ * class="apiparam">project</var>/regions/<var
+ * class="apiparam">region</var>/subnetworks/<var
+ * class="apiparam">subnetwork</var></code></pre>
+ * <pre><code>projects/<var class="apiparam">project</var>/regions/<var
+ * class="apiparam">region</var>/subnetworks/<var
+ * class="apiparam">subnetwork</var></code></pre>
+ * <pre><code>regions/<var
+ * class="apiparam">region</var>/subnetworks/<var
+ * class="apiparam">subnetwork</var></code></pre>
*
*
* string subnetwork = 2;
@@ -11210,10 +11378,16 @@ public java.lang.String getSubnetwork() {
* You can specify the subnetwork as a full or partial URL.
*
* For example, the following are all valid URLs:
- *
- * * https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetwork}
- * * projects/{project}/regions/{region}/subnetworks/{subnetwork}
- * * regions/{region}/subnetworks/{subnetwork}
+ * <pre><code>https://www.googleapis.com/compute/v1/projects/<var
+ * class="apiparam">project</var>/regions/<var
+ * class="apiparam">region</var>/subnetworks/<var
+ * class="apiparam">subnetwork</var></code></pre>
+ * <pre><code>projects/<var class="apiparam">project</var>/regions/<var
+ * class="apiparam">region</var>/subnetworks/<var
+ * class="apiparam">subnetwork</var></code></pre>
+ * <pre><code>regions/<var
+ * class="apiparam">region</var>/subnetworks/<var
+ * class="apiparam">subnetwork</var></code></pre>
*
*
* string subnetwork = 2;
@@ -11239,10 +11413,16 @@ public com.google.protobuf.ByteString getSubnetworkBytes() {
* You can specify the subnetwork as a full or partial URL.
*
* For example, the following are all valid URLs:
- *
- * * https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetwork}
- * * projects/{project}/regions/{region}/subnetworks/{subnetwork}
- * * regions/{region}/subnetworks/{subnetwork}
+ * <pre><code>https://www.googleapis.com/compute/v1/projects/<var
+ * class="apiparam">project</var>/regions/<var
+ * class="apiparam">region</var>/subnetworks/<var
+ * class="apiparam">subnetwork</var></code></pre>
+ * <pre><code>projects/<var class="apiparam">project</var>/regions/<var
+ * class="apiparam">region</var>/subnetworks/<var
+ * class="apiparam">subnetwork</var></code></pre>
+ * <pre><code>regions/<var
+ * class="apiparam">region</var>/subnetworks/<var
+ * class="apiparam">subnetwork</var></code></pre>
*
*
* string subnetwork = 2;
@@ -11267,10 +11447,16 @@ public Builder setSubnetwork(java.lang.String value) {
* You can specify the subnetwork as a full or partial URL.
*
* For example, the following are all valid URLs:
- *
- * * https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetwork}
- * * projects/{project}/regions/{region}/subnetworks/{subnetwork}
- * * regions/{region}/subnetworks/{subnetwork}
+ * <pre><code>https://www.googleapis.com/compute/v1/projects/<var
+ * class="apiparam">project</var>/regions/<var
+ * class="apiparam">region</var>/subnetworks/<var
+ * class="apiparam">subnetwork</var></code></pre>
+ * <pre><code>projects/<var class="apiparam">project</var>/regions/<var
+ * class="apiparam">region</var>/subnetworks/<var
+ * class="apiparam">subnetwork</var></code></pre>
+ * <pre><code>regions/<var
+ * class="apiparam">region</var>/subnetworks/<var
+ * class="apiparam">subnetwork</var></code></pre>
*
*
* string subnetwork = 2;
@@ -11291,10 +11477,16 @@ public Builder clearSubnetwork() {
* You can specify the subnetwork as a full or partial URL.
*
* For example, the following are all valid URLs:
- *
- * * https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetwork}
- * * projects/{project}/regions/{region}/subnetworks/{subnetwork}
- * * regions/{region}/subnetworks/{subnetwork}
+ * <pre><code>https://www.googleapis.com/compute/v1/projects/<var
+ * class="apiparam">project</var>/regions/<var
+ * class="apiparam">region</var>/subnetworks/<var
+ * class="apiparam">subnetwork</var></code></pre>
+ * <pre><code>projects/<var class="apiparam">project</var>/regions/<var
+ * class="apiparam">region</var>/subnetworks/<var
+ * class="apiparam">subnetwork</var></code></pre>
+ * <pre><code>regions/<var
+ * class="apiparam">region</var>/subnetworks/<var
+ * class="apiparam">subnetwork</var></code></pre>
*
*
* string subnetwork = 2;
@@ -13406,7 +13598,7 @@ public com.google.cloud.batch.v1alpha.AllocationPolicy.LocationPolicy getLocatio
*
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.instance is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=528
+ * google/cloud/batch/v1alpha/job.proto;l=551
* @return Whether the instance field is set.
*/
@java.lang.Override
@@ -13426,7 +13618,7 @@ public boolean hasInstance() {
*
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.instance is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=528
+ * google/cloud/batch/v1alpha/job.proto;l=551
* @return The instance.
*/
@java.lang.Override
@@ -13563,7 +13755,7 @@ public com.google.cloud.batch.v1alpha.AllocationPolicy.InstancePolicyOrTemplate
* repeated string instance_templates = 3 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.instance_templates is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=535
+ * google/cloud/batch/v1alpha/job.proto;l=558
* @return A list containing the instanceTemplates.
*/
@java.lang.Deprecated
@@ -13580,7 +13772,7 @@ public com.google.protobuf.ProtocolStringList getInstanceTemplatesList() {
* repeated string instance_templates = 3 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.instance_templates is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=535
+ * google/cloud/batch/v1alpha/job.proto;l=558
* @return The count of instanceTemplates.
*/
@java.lang.Deprecated
@@ -13597,7 +13789,7 @@ public int getInstanceTemplatesCount() {
* repeated string instance_templates = 3 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.instance_templates is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=535
+ * google/cloud/batch/v1alpha/job.proto;l=558
* @param index The index of the element to return.
* @return The instanceTemplates at the given index.
*/
@@ -13615,7 +13807,7 @@ public java.lang.String getInstanceTemplates(int index) {
* repeated string instance_templates = 3 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.instance_templates is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=535
+ * google/cloud/batch/v1alpha/job.proto;l=558
* @param index The index of the value to return.
* @return The bytes of the instanceTemplates at the given index.
*/
@@ -13656,7 +13848,7 @@ public com.google.cloud.batch.v1alpha.AllocationPolicy.ProvisioningModel convert
*
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=538
+ * google/cloud/batch/v1alpha/job.proto;l=561
* @return A list containing the provisioningModels.
*/
@java.lang.Override
@@ -13679,7 +13871,7 @@ public com.google.cloud.batch.v1alpha.AllocationPolicy.ProvisioningModel convert
*
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=538
+ * google/cloud/batch/v1alpha/job.proto;l=561
* @return The count of provisioningModels.
*/
@java.lang.Override
@@ -13699,7 +13891,7 @@ public int getProvisioningModelsCount() {
*
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=538
+ * google/cloud/batch/v1alpha/job.proto;l=561
* @param index The index of the element to return.
* @return The provisioningModels at the given index.
*/
@@ -13721,7 +13913,7 @@ public com.google.cloud.batch.v1alpha.AllocationPolicy.ProvisioningModel getProv
*
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=538
+ * google/cloud/batch/v1alpha/job.proto;l=561
* @return A list containing the enum numeric values on the wire for provisioningModels.
*/
@java.lang.Override
@@ -13741,7 +13933,7 @@ public java.util.List getProvisioningModelsValueList() {
*
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=538
+ * google/cloud/batch/v1alpha/job.proto;l=561
* @param index The index of the value to return.
* @return The enum numeric value on the wire of provisioningModels at the given index.
*/
@@ -13767,7 +13959,7 @@ public int getProvisioningModelsValue(int index) {
* string service_account_email = 5 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.service_account_email is deprecated.
- * See google/cloud/batch/v1alpha/job.proto;l=541
+ * See google/cloud/batch/v1alpha/job.proto;l=564
* @return The serviceAccountEmail.
*/
@java.lang.Override
@@ -13793,7 +13985,7 @@ public java.lang.String getServiceAccountEmail() {
* string service_account_email = 5 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.service_account_email is deprecated.
- * See google/cloud/batch/v1alpha/job.proto;l=541
+ * See google/cloud/batch/v1alpha/job.proto;l=564
* @return The bytes for serviceAccountEmail.
*/
@java.lang.Override
@@ -15025,7 +15217,7 @@ public Builder clearLocation() {
*
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.instance is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=528
+ * google/cloud/batch/v1alpha/job.proto;l=551
* @return Whether the instance field is set.
*/
@java.lang.Deprecated
@@ -15044,7 +15236,7 @@ public boolean hasInstance() {
*
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.instance is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=528
+ * google/cloud/batch/v1alpha/job.proto;l=551
* @return The instance.
*/
@java.lang.Deprecated
@@ -15677,7 +15869,7 @@ private void ensureInstanceTemplatesIsMutable() {
* repeated string instance_templates = 3 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.instance_templates is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=535
+ * google/cloud/batch/v1alpha/job.proto;l=558
* @return A list containing the instanceTemplates.
*/
@java.lang.Deprecated
@@ -15695,7 +15887,7 @@ public com.google.protobuf.ProtocolStringList getInstanceTemplatesList() {
* repeated string instance_templates = 3 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.instance_templates is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=535
+ * google/cloud/batch/v1alpha/job.proto;l=558
* @return The count of instanceTemplates.
*/
@java.lang.Deprecated
@@ -15712,7 +15904,7 @@ public int getInstanceTemplatesCount() {
* repeated string instance_templates = 3 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.instance_templates is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=535
+ * google/cloud/batch/v1alpha/job.proto;l=558
* @param index The index of the element to return.
* @return The instanceTemplates at the given index.
*/
@@ -15730,7 +15922,7 @@ public java.lang.String getInstanceTemplates(int index) {
* repeated string instance_templates = 3 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.instance_templates is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=535
+ * google/cloud/batch/v1alpha/job.proto;l=558
* @param index The index of the value to return.
* @return The bytes of the instanceTemplates at the given index.
*/
@@ -15748,7 +15940,7 @@ public com.google.protobuf.ByteString getInstanceTemplatesBytes(int index) {
* repeated string instance_templates = 3 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.instance_templates is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=535
+ * google/cloud/batch/v1alpha/job.proto;l=558
* @param index The index to set the value at.
* @param value The instanceTemplates to set.
* @return This builder for chaining.
@@ -15774,7 +15966,7 @@ public Builder setInstanceTemplates(int index, java.lang.String value) {
* repeated string instance_templates = 3 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.instance_templates is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=535
+ * google/cloud/batch/v1alpha/job.proto;l=558
* @param value The instanceTemplates to add.
* @return This builder for chaining.
*/
@@ -15799,7 +15991,7 @@ public Builder addInstanceTemplates(java.lang.String value) {
* repeated string instance_templates = 3 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.instance_templates is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=535
+ * google/cloud/batch/v1alpha/job.proto;l=558
* @param values The instanceTemplates to add.
* @return This builder for chaining.
*/
@@ -15821,7 +16013,7 @@ public Builder addAllInstanceTemplates(java.lang.Iterable valu
* repeated string instance_templates = 3 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.instance_templates is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=535
+ * google/cloud/batch/v1alpha/job.proto;l=558
* @return This builder for chaining.
*/
@java.lang.Deprecated
@@ -15842,7 +16034,7 @@ public Builder clearInstanceTemplates() {
* repeated string instance_templates = 3 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.instance_templates is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=535
+ * google/cloud/batch/v1alpha/job.proto;l=558
* @param value The bytes of the instanceTemplates to add.
* @return This builder for chaining.
*/
@@ -15880,7 +16072,7 @@ private void ensureProvisioningModelsIsMutable() {
*
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated.
- * See google/cloud/batch/v1alpha/job.proto;l=538
+ * See google/cloud/batch/v1alpha/job.proto;l=561
* @return A list containing the provisioningModels.
*/
@java.lang.Deprecated
@@ -15902,7 +16094,7 @@ private void ensureProvisioningModelsIsMutable() {
*
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated.
- * See google/cloud/batch/v1alpha/job.proto;l=538
+ * See google/cloud/batch/v1alpha/job.proto;l=561
* @return The count of provisioningModels.
*/
@java.lang.Deprecated
@@ -15921,7 +16113,7 @@ public int getProvisioningModelsCount() {
*
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated.
- * See google/cloud/batch/v1alpha/job.proto;l=538
+ * See google/cloud/batch/v1alpha/job.proto;l=561
* @param index The index of the element to return.
* @return The provisioningModels at the given index.
*/
@@ -15942,7 +16134,7 @@ public com.google.cloud.batch.v1alpha.AllocationPolicy.ProvisioningModel getProv
*
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated.
- * See google/cloud/batch/v1alpha/job.proto;l=538
+ * See google/cloud/batch/v1alpha/job.proto;l=561
* @param index The index to set the value at.
* @param value The provisioningModels to set.
* @return This builder for chaining.
@@ -15970,7 +16162,7 @@ public Builder setProvisioningModels(
*
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated.
- * See google/cloud/batch/v1alpha/job.proto;l=538
+ * See google/cloud/batch/v1alpha/job.proto;l=561
* @param value The provisioningModels to add.
* @return This builder for chaining.
*/
@@ -15997,7 +16189,7 @@ public Builder addProvisioningModels(
*
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated.
- * See google/cloud/batch/v1alpha/job.proto;l=538
+ * See google/cloud/batch/v1alpha/job.proto;l=561
* @param values The provisioningModels to add.
* @return This builder for chaining.
*/
@@ -16025,7 +16217,7 @@ public Builder addAllProvisioningModels(
*
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated.
- * See google/cloud/batch/v1alpha/job.proto;l=538
+ * See google/cloud/batch/v1alpha/job.proto;l=561
* @return This builder for chaining.
*/
@java.lang.Deprecated
@@ -16047,7 +16239,7 @@ public Builder clearProvisioningModels() {
*
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated.
- * See google/cloud/batch/v1alpha/job.proto;l=538
+ * See google/cloud/batch/v1alpha/job.proto;l=561
* @return A list containing the enum numeric values on the wire for provisioningModels.
*/
@java.lang.Deprecated
@@ -16066,7 +16258,7 @@ public java.util.List getProvisioningModelsValueList() {
*
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated.
- * See google/cloud/batch/v1alpha/job.proto;l=538
+ * See google/cloud/batch/v1alpha/job.proto;l=561
* @param index The index of the value to return.
* @return The enum numeric value on the wire of provisioningModels at the given index.
*/
@@ -16086,7 +16278,7 @@ public int getProvisioningModelsValue(int index) {
*
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated.
- * See google/cloud/batch/v1alpha/job.proto;l=538
+ * See google/cloud/batch/v1alpha/job.proto;l=561
* @param index The index to set the value at.
* @param value The enum numeric value on the wire for provisioningModels to set.
* @return This builder for chaining.
@@ -16110,7 +16302,7 @@ public Builder setProvisioningModelsValue(int index, int value) {
*
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated.
- * See google/cloud/batch/v1alpha/job.proto;l=538
+ * See google/cloud/batch/v1alpha/job.proto;l=561
* @param value The enum numeric value on the wire for provisioningModels to add.
* @return This builder for chaining.
*/
@@ -16133,7 +16325,7 @@ public Builder addProvisioningModelsValue(int value) {
*
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated.
- * See google/cloud/batch/v1alpha/job.proto;l=538
+ * See google/cloud/batch/v1alpha/job.proto;l=561
* @param values The enum numeric values on the wire for provisioningModels to add.
* @return This builder for chaining.
*/
@@ -16158,7 +16350,7 @@ public Builder addAllProvisioningModelsValue(java.lang.Iterablestring service_account_email = 5 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.service_account_email is deprecated.
- * See google/cloud/batch/v1alpha/job.proto;l=541
+ * See google/cloud/batch/v1alpha/job.proto;l=564
* @return The serviceAccountEmail.
*/
@java.lang.Deprecated
@@ -16183,7 +16375,7 @@ public java.lang.String getServiceAccountEmail() {
* string service_account_email = 5 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.service_account_email is deprecated.
- * See google/cloud/batch/v1alpha/job.proto;l=541
+ * See google/cloud/batch/v1alpha/job.proto;l=564
* @return The bytes for serviceAccountEmail.
*/
@java.lang.Deprecated
@@ -16208,7 +16400,7 @@ public com.google.protobuf.ByteString getServiceAccountEmailBytes() {
* string service_account_email = 5 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.service_account_email is deprecated.
- * See google/cloud/batch/v1alpha/job.proto;l=541
+ * See google/cloud/batch/v1alpha/job.proto;l=564
* @param value The serviceAccountEmail to set.
* @return This builder for chaining.
*/
@@ -16232,7 +16424,7 @@ public Builder setServiceAccountEmail(java.lang.String value) {
* string service_account_email = 5 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.service_account_email is deprecated.
- * See google/cloud/batch/v1alpha/job.proto;l=541
+ * See google/cloud/batch/v1alpha/job.proto;l=564
* @return This builder for chaining.
*/
@java.lang.Deprecated
@@ -16252,7 +16444,7 @@ public Builder clearServiceAccountEmail() {
* string service_account_email = 5 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.service_account_email is deprecated.
- * See google/cloud/batch/v1alpha/job.proto;l=541
+ * See google/cloud/batch/v1alpha/job.proto;l=564
* @param value The bytes for serviceAccountEmail to set.
* @return This builder for chaining.
*/
diff --git a/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/AllocationPolicyOrBuilder.java b/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/AllocationPolicyOrBuilder.java
index 21b624da4b75..b89c74a5bd9c 100644
--- a/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/AllocationPolicyOrBuilder.java
+++ b/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/AllocationPolicyOrBuilder.java
@@ -70,7 +70,7 @@ public interface AllocationPolicyOrBuilder
*
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.instance is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=528
+ * google/cloud/batch/v1alpha/job.proto;l=551
* @return Whether the instance field is set.
*/
@java.lang.Deprecated
@@ -87,7 +87,7 @@ public interface AllocationPolicyOrBuilder
*
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.instance is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=528
+ * google/cloud/batch/v1alpha/job.proto;l=551
* @return The instance.
*/
@java.lang.Deprecated
@@ -187,7 +187,7 @@ public interface AllocationPolicyOrBuilder
* repeated string instance_templates = 3 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.instance_templates is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=535
+ * google/cloud/batch/v1alpha/job.proto;l=558
* @return A list containing the instanceTemplates.
*/
@java.lang.Deprecated
@@ -202,7 +202,7 @@ public interface AllocationPolicyOrBuilder
* repeated string instance_templates = 3 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.instance_templates is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=535
+ * google/cloud/batch/v1alpha/job.proto;l=558
* @return The count of instanceTemplates.
*/
@java.lang.Deprecated
@@ -217,7 +217,7 @@ public interface AllocationPolicyOrBuilder
* repeated string instance_templates = 3 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.instance_templates is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=535
+ * google/cloud/batch/v1alpha/job.proto;l=558
* @param index The index of the element to return.
* @return The instanceTemplates at the given index.
*/
@@ -233,7 +233,7 @@ public interface AllocationPolicyOrBuilder
* repeated string instance_templates = 3 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.instance_templates is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=535
+ * google/cloud/batch/v1alpha/job.proto;l=558
* @param index The index of the value to return.
* @return The bytes of the instanceTemplates at the given index.
*/
@@ -252,7 +252,7 @@ public interface AllocationPolicyOrBuilder
*
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=538
+ * google/cloud/batch/v1alpha/job.proto;l=561
* @return A list containing the provisioningModels.
*/
@java.lang.Deprecated
@@ -270,7 +270,7 @@ public interface AllocationPolicyOrBuilder
*
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=538
+ * google/cloud/batch/v1alpha/job.proto;l=561
* @return The count of provisioningModels.
*/
@java.lang.Deprecated
@@ -287,7 +287,7 @@ public interface AllocationPolicyOrBuilder
*
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=538
+ * google/cloud/batch/v1alpha/job.proto;l=561
* @param index The index of the element to return.
* @return The provisioningModels at the given index.
*/
@@ -306,7 +306,7 @@ com.google.cloud.batch.v1alpha.AllocationPolicy.ProvisioningModel getProvisionin
*
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=538
+ * google/cloud/batch/v1alpha/job.proto;l=561
* @return A list containing the enum numeric values on the wire for provisioningModels.
*/
@java.lang.Deprecated
@@ -323,7 +323,7 @@ com.google.cloud.batch.v1alpha.AllocationPolicy.ProvisioningModel getProvisionin
*
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=538
+ * google/cloud/batch/v1alpha/job.proto;l=561
* @param index The index of the value to return.
* @return The enum numeric value on the wire of provisioningModels at the given index.
*/
@@ -340,7 +340,7 @@ com.google.cloud.batch.v1alpha.AllocationPolicy.ProvisioningModel getProvisionin
* string service_account_email = 5 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.service_account_email is deprecated.
- * See google/cloud/batch/v1alpha/job.proto;l=541
+ * See google/cloud/batch/v1alpha/job.proto;l=564
* @return The serviceAccountEmail.
*/
@java.lang.Deprecated
@@ -355,7 +355,7 @@ com.google.cloud.batch.v1alpha.AllocationPolicy.ProvisioningModel getProvisionin
* string service_account_email = 5 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.service_account_email is deprecated.
- * See google/cloud/batch/v1alpha/job.proto;l=541
+ * See google/cloud/batch/v1alpha/job.proto;l=564
* @return The bytes for serviceAccountEmail.
*/
@java.lang.Deprecated
diff --git a/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/BatchProto.java b/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/BatchProto.java
index f637b312cb25..876467e8532f 100644
--- a/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/BatchProto.java
+++ b/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/BatchProto.java
@@ -88,62 +88,62 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\004\342A\001\001\"@\n\rGetJobRequest\022/\n\004name\030\001 \001(\tB!\342A"
+ "\001\002\372A\032\n\030batch.googleapis.com/Job\"P\n\020Delet"
+ "eJobRequest\022\014\n\004name\030\001 \001(\t\022\024\n\006reason\030\002 \001("
- + "\tB\004\342A\001\001\022\030\n\nrequest_id\030\004 \001(\tB\004\342A\001\001\"j\n\017Lis"
+ + "\tB\004\342A\001\001\022\030\n\nrequest_id\030\004 \001(\tB\004\342A\001\001\"p\n\017Lis"
+ "tJobsRequest\022\016\n\006parent\030\001 \001(\t\022\016\n\006filter\030\004"
- + " \001(\t\022\020\n\010order_by\030\005 \001(\t\022\021\n\tpage_size\030\002 \001("
- + "\005\022\022\n\npage_token\030\003 \001(\t\"o\n\020ListJobsRespons"
- + "e\022-\n\004jobs\030\001 \003(\0132\037.google.cloud.batch.v1a"
- + "lpha.Job\022\027\n\017next_page_token\030\002 \001(\t\022\023\n\013unr"
- + "eachable\030\003 \003(\t\"\224\001\n\020ListTasksRequest\0227\n\006p"
- + "arent\030\001 \001(\tB\'\342A\001\002\372A \n\036batch.googleapis.c"
- + "om/TaskGroup\022\016\n\006filter\030\002 \001(\t\022\020\n\010order_by"
- + "\030\005 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_token\030"
- + "\004 \001(\t\"r\n\021ListTasksResponse\022/\n\005tasks\030\001 \003("
- + "\0132 .google.cloud.batch.v1alpha.Task\022\027\n\017n"
- + "ext_page_token\030\002 \001(\t\022\023\n\013unreachable\030\003 \003("
- + "\t\"B\n\016GetTaskRequest\0220\n\004name\030\001 \001(\tB\"\342A\001\002\372"
- + "A\033\n\031batch.googleapis.com/Task\"\207\002\n\021Operat"
- + "ionMetadata\0225\n\013create_time\030\001 \001(\0132\032.googl"
- + "e.protobuf.TimestampB\004\342A\001\003\0222\n\010end_time\030\002"
- + " \001(\0132\032.google.protobuf.TimestampB\004\342A\001\003\022\024"
- + "\n\006target\030\003 \001(\tB\004\342A\001\003\022\022\n\004verb\030\004 \001(\tB\004\342A\001\003"
- + "\022\034\n\016status_message\030\005 \001(\tB\004\342A\001\003\022$\n\026reques"
- + "ted_cancellation\030\006 \001(\010B\004\342A\001\003\022\031\n\013api_vers"
- + "ion\030\007 \001(\tB\004\342A\001\0032\221\t\n\014BatchService\022\252\001\n\tCre"
- + "ateJob\022,.google.cloud.batch.v1alpha.Crea"
- + "teJobRequest\032\037.google.cloud.batch.v1alph"
- + "a.Job\"N\332A\021parent,job,job_id\202\323\344\223\0024\"-/v1al"
- + "pha/{parent=projects/*/locations/*}/jobs"
- + ":\003job\022\222\001\n\006GetJob\022).google.cloud.batch.v1"
- + "alpha.GetJobRequest\032\037.google.cloud.batch"
- + ".v1alpha.Job\"<\332A\004name\202\323\344\223\002/\022-/v1alpha/{n"
- + "ame=projects/*/locations/*/jobs/*}\022\337\001\n\tD"
- + "eleteJob\022,.google.cloud.batch.v1alpha.De"
- + "leteJobRequest\032\035.google.longrunning.Oper"
- + "ation\"\204\001\312AE\n\025google.protobuf.Empty\022,goog"
- + "le.cloud.batch.v1alpha.OperationMetadata"
- + "\332A\004name\202\323\344\223\002/*-/v1alpha/{name=projects/*"
- + "/locations/*/jobs/*}\022\245\001\n\010ListJobs\022+.goog"
- + "le.cloud.batch.v1alpha.ListJobsRequest\032,"
- + ".google.cloud.batch.v1alpha.ListJobsResp"
- + "onse\">\332A\006parent\202\323\344\223\002/\022-/v1alpha/{parent="
- + "projects/*/locations/*}/jobs\022\252\001\n\007GetTask"
- + "\022*.google.cloud.batch.v1alpha.GetTaskReq"
- + "uest\032 .google.cloud.batch.v1alpha.Task\"Q"
- + "\332A\004name\202\323\344\223\002D\022B/v1alpha/{name=projects/*"
- + "/locations/*/jobs/*/taskGroups/*/tasks/*"
- + "}\022\275\001\n\tListTasks\022,.google.cloud.batch.v1a"
- + "lpha.ListTasksRequest\032-.google.cloud.bat"
- + "ch.v1alpha.ListTasksResponse\"S\332A\006parent\202"
- + "\323\344\223\002D\022B/v1alpha/{parent=projects/*/locat"
- + "ions/*/jobs/*/taskGroups/*}/tasks\032H\312A\024ba"
- + "tch.googleapis.com\322A.https://www.googlea"
- + "pis.com/auth/cloud-platformB\304\001\n\036com.goog"
- + "le.cloud.batch.v1alphaB\nBatchProtoP\001Z4cl"
- + "oud.google.com/go/batch/apiv1alpha/batch"
- + "pb;batchpb\242\002\003GCB\252\002\032Google.Cloud.Batch.V1"
- + "Alpha\312\002\032Google\\Cloud\\Batch\\V1alpha\352\002\035Goo"
- + "gle::Cloud::Batch::V1alphab\006proto3"
+ + " \001(\t\022\026\n\010order_by\030\005 \001(\tB\004\342A\001\001\022\021\n\tpage_siz"
+ + "e\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"o\n\020ListJobsR"
+ + "esponse\022-\n\004jobs\030\001 \003(\0132\037.google.cloud.bat"
+ + "ch.v1alpha.Job\022\027\n\017next_page_token\030\002 \001(\t\022"
+ + "\023\n\013unreachable\030\003 \003(\t\"\224\001\n\020ListTasksReques"
+ + "t\0227\n\006parent\030\001 \001(\tB\'\342A\001\002\372A \n\036batch.google"
+ + "apis.com/TaskGroup\022\016\n\006filter\030\002 \001(\t\022\020\n\010or"
+ + "der_by\030\005 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_"
+ + "token\030\004 \001(\t\"r\n\021ListTasksResponse\022/\n\005task"
+ + "s\030\001 \003(\0132 .google.cloud.batch.v1alpha.Tas"
+ + "k\022\027\n\017next_page_token\030\002 \001(\t\022\023\n\013unreachabl"
+ + "e\030\003 \003(\t\"B\n\016GetTaskRequest\0220\n\004name\030\001 \001(\tB"
+ + "\"\342A\001\002\372A\033\n\031batch.googleapis.com/Task\"\207\002\n\021"
+ + "OperationMetadata\0225\n\013create_time\030\001 \001(\0132\032"
+ + ".google.protobuf.TimestampB\004\342A\001\003\0222\n\010end_"
+ + "time\030\002 \001(\0132\032.google.protobuf.TimestampB\004"
+ + "\342A\001\003\022\024\n\006target\030\003 \001(\tB\004\342A\001\003\022\022\n\004verb\030\004 \001(\t"
+ + "B\004\342A\001\003\022\034\n\016status_message\030\005 \001(\tB\004\342A\001\003\022$\n\026"
+ + "requested_cancellation\030\006 \001(\010B\004\342A\001\003\022\031\n\013ap"
+ + "i_version\030\007 \001(\tB\004\342A\001\0032\221\t\n\014BatchService\022\252"
+ + "\001\n\tCreateJob\022,.google.cloud.batch.v1alph"
+ + "a.CreateJobRequest\032\037.google.cloud.batch."
+ + "v1alpha.Job\"N\332A\021parent,job,job_id\202\323\344\223\0024\""
+ + "-/v1alpha/{parent=projects/*/locations/*"
+ + "}/jobs:\003job\022\222\001\n\006GetJob\022).google.cloud.ba"
+ + "tch.v1alpha.GetJobRequest\032\037.google.cloud"
+ + ".batch.v1alpha.Job\"<\332A\004name\202\323\344\223\002/\022-/v1al"
+ + "pha/{name=projects/*/locations/*/jobs/*}"
+ + "\022\337\001\n\tDeleteJob\022,.google.cloud.batch.v1al"
+ + "pha.DeleteJobRequest\032\035.google.longrunnin"
+ + "g.Operation\"\204\001\312AE\n\025google.protobuf.Empty"
+ + "\022,google.cloud.batch.v1alpha.OperationMe"
+ + "tadata\332A\004name\202\323\344\223\002/*-/v1alpha/{name=proj"
+ + "ects/*/locations/*/jobs/*}\022\245\001\n\010ListJobs\022"
+ + "+.google.cloud.batch.v1alpha.ListJobsReq"
+ + "uest\032,.google.cloud.batch.v1alpha.ListJo"
+ + "bsResponse\">\332A\006parent\202\323\344\223\002/\022-/v1alpha/{p"
+ + "arent=projects/*/locations/*}/jobs\022\252\001\n\007G"
+ + "etTask\022*.google.cloud.batch.v1alpha.GetT"
+ + "askRequest\032 .google.cloud.batch.v1alpha."
+ + "Task\"Q\332A\004name\202\323\344\223\002D\022B/v1alpha/{name=proj"
+ + "ects/*/locations/*/jobs/*/taskGroups/*/t"
+ + "asks/*}\022\275\001\n\tListTasks\022,.google.cloud.bat"
+ + "ch.v1alpha.ListTasksRequest\032-.google.clo"
+ + "ud.batch.v1alpha.ListTasksResponse\"S\332A\006p"
+ + "arent\202\323\344\223\002D\022B/v1alpha/{parent=projects/*"
+ + "/locations/*/jobs/*/taskGroups/*}/tasks\032"
+ + "H\312A\024batch.googleapis.com\322A.https://www.g"
+ + "oogleapis.com/auth/cloud-platformB\304\001\n\036co"
+ + "m.google.cloud.batch.v1alphaB\nBatchProto"
+ + "P\001Z4cloud.google.com/go/batch/apiv1alpha"
+ + "/batchpb;batchpb\242\002\003GCB\252\002\032Google.Cloud.Ba"
+ + "tch.V1Alpha\312\002\032Google\\Cloud\\Batch\\V1alpha"
+ + "\352\002\035Google::Cloud::Batch::V1alphab\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
diff --git a/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/JobProto.java b/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/JobProto.java
index 825fa006e7d9..7fdbb99bf9a6 100644
--- a/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/JobProto.java
+++ b/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/JobProto.java
@@ -221,7 +221,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "k_state\030\003 \001(\0162,.google.cloud.batch.v1alp"
+ "ha.TaskStatus.State\"K\n\004Type\022\024\n\020TYPE_UNSP"
+ "ECIFIED\020\000\022\025\n\021JOB_STATE_CHANGED\020\001\022\026\n\022TASK"
- + "_STATE_CHANGED\020\002\"\224\021\n\020AllocationPolicy\022M\n"
+ + "_STATE_CHANGED\020\002\"\232\021\n\020AllocationPolicy\022M\n"
+ "\010location\030\001 \001(\0132;.google.cloud.batch.v1a"
+ "lpha.AllocationPolicy.LocationPolicy\022Q\n\010"
+ "instance\030\002 \001(\0132;.google.cloud.batch.v1al"
@@ -248,60 +248,60 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\010new_disk\030\001 \001(\01321.google.cloud.batch.v1a"
+ "lpha.AllocationPolicy.DiskH\000\022\027\n\rexisting"
+ "_disk\030\002 \001(\tH\000\022\023\n\013device_name\030\003 \001(\tB\n\n\010at"
- + "tached\032c\n\013Accelerator\022\014\n\004type\030\001 \001(\t\022\r\n\005c"
+ + "tached\032i\n\013Accelerator\022\014\n\004type\030\001 \001(\t\022\r\n\005c"
+ "ount\030\002 \001(\003\022\037\n\023install_gpu_drivers\030\003 \001(\010B"
- + "\002\030\001\022\026\n\016driver_version\030\004 \001(\t\032\264\003\n\016Instance"
- + "Policy\022!\n\025allowed_machine_types\030\001 \003(\tB\002\030"
- + "\001\022\024\n\014machine_type\030\002 \001(\t\022\030\n\020min_cpu_platf"
- + "orm\030\003 \001(\t\022Z\n\022provisioning_model\030\004 \001(\0162>."
+ + "\002\030\001\022\034\n\016driver_version\030\004 \001(\tB\004\342A\001\001\032\264\003\n\016In"
+ + "stancePolicy\022!\n\025allowed_machine_types\030\001 "
+ + "\003(\tB\002\030\001\022\024\n\014machine_type\030\002 \001(\t\022\030\n\020min_cpu"
+ + "_platform\030\003 \001(\t\022Z\n\022provisioning_model\030\004 "
+ + "\001(\0162>.google.cloud.batch.v1alpha.Allocat"
+ + "ionPolicy.ProvisioningModel\022N\n\014accelerat"
+ + "ors\030\005 \003(\01328.google.cloud.batch.v1alpha.A"
+ + "llocationPolicy.Accelerator\022D\n\tboot_disk"
+ + "\030\010 \001(\01321.google.cloud.batch.v1alpha.Allo"
+ + "cationPolicy.Disk\022H\n\005disks\030\006 \003(\01329.googl"
+ + "e.cloud.batch.v1alpha.AllocationPolicy.A"
+ + "ttachedDisk\022\023\n\013reservation\030\007 \001(\t\032\266\001\n\030Ins"
+ + "tancePolicyOrTemplate\022M\n\006policy\030\001 \001(\0132;."
+ "google.cloud.batch.v1alpha.AllocationPol"
- + "icy.ProvisioningModel\022N\n\014accelerators\030\005 "
- + "\003(\01328.google.cloud.batch.v1alpha.Allocat"
- + "ionPolicy.Accelerator\022D\n\tboot_disk\030\010 \001(\013"
- + "21.google.cloud.batch.v1alpha.Allocation"
- + "Policy.Disk\022H\n\005disks\030\006 \003(\01329.google.clou"
- + "d.batch.v1alpha.AllocationPolicy.Attache"
- + "dDisk\022\023\n\013reservation\030\007 \001(\t\032\266\001\n\030InstanceP"
- + "olicyOrTemplate\022M\n\006policy\030\001 \001(\0132;.google"
- + ".cloud.batch.v1alpha.AllocationPolicy.In"
- + "stancePolicyH\000\022\033\n\021instance_template\030\002 \001("
- + "\tH\000\022\033\n\023install_gpu_drivers\030\003 \001(\010B\021\n\017poli"
- + "cy_template\032W\n\020NetworkInterface\022\017\n\007netwo"
- + "rk\030\001 \001(\t\022\022\n\nsubnetwork\030\002 \001(\t\022\036\n\026no_exter"
- + "nal_ip_address\030\003 \001(\010\032j\n\rNetworkPolicy\022Y\n"
- + "\022network_interfaces\030\001 \003(\0132=.google.cloud"
- + ".batch.v1alpha.AllocationPolicy.NetworkI"
- + "nterface\032<\n\017PlacementPolicy\022\023\n\013collocati"
- + "on\030\001 \001(\t\022\024\n\014max_distance\030\002 \001(\003\032-\n\013Labels"
- + "Entry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"`\n"
- + "\021ProvisioningModel\022\"\n\036PROVISIONING_MODEL"
- + "_UNSPECIFIED\020\000\022\014\n\010STANDARD\020\001\022\010\n\004SPOT\020\002\022\017"
- + "\n\013PREEMPTIBLE\020\003\"\371\005\n\tTaskGroup\022\022\n\004name\030\001 "
- + "\001(\tB\004\342A\001\003\022=\n\ttask_spec\030\003 \001(\0132$.google.cl"
- + "oud.batch.v1alpha.TaskSpecB\004\342A\001\002\022\022\n\ntask"
- + "_count\030\004 \001(\003\022\023\n\013parallelism\030\005 \001(\003\022Q\n\021sch"
- + "eduling_policy\030\006 \001(\01626.google.cloud.batc"
- + "h.v1alpha.TaskGroup.SchedulingPolicy\022G\n\021"
- + "allocation_policy\030\007 \001(\0132,.google.cloud.b"
- + "atch.v1alpha.AllocationPolicy\022A\n\006labels\030"
- + "\010 \003(\01321.google.cloud.batch.v1alpha.TaskG"
- + "roup.LabelsEntry\022B\n\021task_environments\030\t "
- + "\003(\0132\'.google.cloud.batch.v1alpha.Environ"
- + "ment\022\033\n\023task_count_per_node\030\n \001(\003\022\032\n\022req"
- + "uire_hosts_file\030\013 \001(\010\022\026\n\016permissive_ssh\030"
- + "\014 \001(\010\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005val"
- + "ue\030\002 \001(\t:\0028\001\"\\\n\020SchedulingPolicy\022!\n\035SCHE"
- + "DULING_POLICY_UNSPECIFIED\020\000\022\027\n\023AS_SOON_A"
- + "S_POSSIBLE\020\001\022\014\n\010IN_ORDER\020\002:o\352Al\n\036batch.g"
- + "oogleapis.com/TaskGroup\022Jprojects/{proje"
- + "ct}/locations/{location}/jobs/{job}/task"
- + "Groups/{task_group}\"/\n\016ServiceAccount\022\r\n"
- + "\005email\030\001 \001(\t\022\016\n\006scopes\030\002 \003(\tB\302\001\n\036com.goo"
- + "gle.cloud.batch.v1alphaB\010JobProtoP\001Z4clo"
- + "ud.google.com/go/batch/apiv1alpha/batchp"
- + "b;batchpb\242\002\003GCB\252\002\032Google.Cloud.Batch.V1A"
- + "lpha\312\002\032Google\\Cloud\\Batch\\V1alpha\352\002\035Goog"
- + "le::Cloud::Batch::V1alphab\006proto3"
+ + "icy.InstancePolicyH\000\022\033\n\021instance_templat"
+ + "e\030\002 \001(\tH\000\022\033\n\023install_gpu_drivers\030\003 \001(\010B\021"
+ + "\n\017policy_template\032W\n\020NetworkInterface\022\017\n"
+ + "\007network\030\001 \001(\t\022\022\n\nsubnetwork\030\002 \001(\t\022\036\n\026no"
+ + "_external_ip_address\030\003 \001(\010\032j\n\rNetworkPol"
+ + "icy\022Y\n\022network_interfaces\030\001 \003(\0132=.google"
+ + ".cloud.batch.v1alpha.AllocationPolicy.Ne"
+ + "tworkInterface\032<\n\017PlacementPolicy\022\023\n\013col"
+ + "location\030\001 \001(\t\022\024\n\014max_distance\030\002 \001(\003\032-\n\013"
+ + "LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:"
+ + "\0028\001\"`\n\021ProvisioningModel\022\"\n\036PROVISIONING"
+ + "_MODEL_UNSPECIFIED\020\000\022\014\n\010STANDARD\020\001\022\010\n\004SP"
+ + "OT\020\002\022\017\n\013PREEMPTIBLE\020\003\"\371\005\n\tTaskGroup\022\022\n\004n"
+ + "ame\030\001 \001(\tB\004\342A\001\003\022=\n\ttask_spec\030\003 \001(\0132$.goo"
+ + "gle.cloud.batch.v1alpha.TaskSpecB\004\342A\001\002\022\022"
+ + "\n\ntask_count\030\004 \001(\003\022\023\n\013parallelism\030\005 \001(\003\022"
+ + "Q\n\021scheduling_policy\030\006 \001(\01626.google.clou"
+ + "d.batch.v1alpha.TaskGroup.SchedulingPoli"
+ + "cy\022G\n\021allocation_policy\030\007 \001(\0132,.google.c"
+ + "loud.batch.v1alpha.AllocationPolicy\022A\n\006l"
+ + "abels\030\010 \003(\01321.google.cloud.batch.v1alpha"
+ + ".TaskGroup.LabelsEntry\022B\n\021task_environme"
+ + "nts\030\t \003(\0132\'.google.cloud.batch.v1alpha.E"
+ + "nvironment\022\033\n\023task_count_per_node\030\n \001(\003\022"
+ + "\032\n\022require_hosts_file\030\013 \001(\010\022\026\n\016permissiv"
+ + "e_ssh\030\014 \001(\010\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022"
+ + "\r\n\005value\030\002 \001(\t:\0028\001\"\\\n\020SchedulingPolicy\022!"
+ + "\n\035SCHEDULING_POLICY_UNSPECIFIED\020\000\022\027\n\023AS_"
+ + "SOON_AS_POSSIBLE\020\001\022\014\n\010IN_ORDER\020\002:o\352Al\n\036b"
+ + "atch.googleapis.com/TaskGroup\022Jprojects/"
+ + "{project}/locations/{location}/jobs/{job"
+ + "}/taskGroups/{task_group}\"/\n\016ServiceAcco"
+ + "unt\022\r\n\005email\030\001 \001(\t\022\016\n\006scopes\030\002 \003(\tB\302\001\n\036c"
+ + "om.google.cloud.batch.v1alphaB\010JobProtoP"
+ + "\001Z4cloud.google.com/go/batch/apiv1alpha/"
+ + "batchpb;batchpb\242\002\003GCB\252\002\032Google.Cloud.Bat"
+ + "ch.V1Alpha\312\002\032Google\\Cloud\\Batch\\V1alpha\352"
+ + "\002\035Google::Cloud::Batch::V1alphab\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
diff --git a/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/ListJobsRequest.java b/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/ListJobsRequest.java
index f1cff0ad6553..69fe9cdb32a2 100644
--- a/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/ListJobsRequest.java
+++ b/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/ListJobsRequest.java
@@ -175,11 +175,11 @@ public com.google.protobuf.ByteString getFilterBytes() {
*
*
*
- * Sort results. Supported are "name", "name desc", "create_time",
- * "create_time desc", and "".
+ * Optional. Sort results. Supported are "name", "name desc", "create_time",
+ * and "create_time desc".
*
*
- * string order_by = 5;
+ * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The orderBy.
*/
@@ -199,11 +199,11 @@ public java.lang.String getOrderBy() {
*
*
*
- * Sort results. Supported are "name", "name desc", "create_time",
- * "create_time desc", and "".
+ * Optional. Sort results. Supported are "name", "name desc", "create_time",
+ * and "create_time desc".
*
*
- * string order_by = 5;
+ * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The bytes for orderBy.
*/
@@ -941,11 +941,11 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) {
*
*
*
- * Sort results. Supported are "name", "name desc", "create_time",
- * "create_time desc", and "".
+ * Optional. Sort results. Supported are "name", "name desc", "create_time",
+ * and "create_time desc".
*
*
- * string order_by = 5;
+ * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The orderBy.
*/
@@ -964,11 +964,11 @@ public java.lang.String getOrderBy() {
*
*
*
- * Sort results. Supported are "name", "name desc", "create_time",
- * "create_time desc", and "".
+ * Optional. Sort results. Supported are "name", "name desc", "create_time",
+ * and "create_time desc".
*
*
- * string order_by = 5;
+ * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The bytes for orderBy.
*/
@@ -987,11 +987,11 @@ public com.google.protobuf.ByteString getOrderByBytes() {
*
*
*
- * Sort results. Supported are "name", "name desc", "create_time",
- * "create_time desc", and "".
+ * Optional. Sort results. Supported are "name", "name desc", "create_time",
+ * and "create_time desc".
*
*
- * string order_by = 5;
+ * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];
*
* @param value The orderBy to set.
* @return This builder for chaining.
@@ -1009,11 +1009,11 @@ public Builder setOrderBy(java.lang.String value) {
*
*
*
- * Sort results. Supported are "name", "name desc", "create_time",
- * "create_time desc", and "".
+ * Optional. Sort results. Supported are "name", "name desc", "create_time",
+ * and "create_time desc".
*
*
- * string order_by = 5;
+ * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];
*
* @return This builder for chaining.
*/
@@ -1027,11 +1027,11 @@ public Builder clearOrderBy() {
*
*
*
- * Sort results. Supported are "name", "name desc", "create_time",
- * "create_time desc", and "".
+ * Optional. Sort results. Supported are "name", "name desc", "create_time",
+ * and "create_time desc".
*
*
- * string order_by = 5;
+ * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];
*
* @param value The bytes for orderBy to set.
* @return This builder for chaining.
diff --git a/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/ListJobsRequestOrBuilder.java b/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/ListJobsRequestOrBuilder.java
index 1e8de85e820e..112bd408eab3 100644
--- a/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/ListJobsRequestOrBuilder.java
+++ b/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/ListJobsRequestOrBuilder.java
@@ -77,11 +77,11 @@ public interface ListJobsRequestOrBuilder
*
*
*
- * Sort results. Supported are "name", "name desc", "create_time",
- * "create_time desc", and "".
+ * Optional. Sort results. Supported are "name", "name desc", "create_time",
+ * and "create_time desc".
*
*
- * string order_by = 5;
+ * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The orderBy.
*/
@@ -90,11 +90,11 @@ public interface ListJobsRequestOrBuilder
*
*
*
- * Sort results. Supported are "name", "name desc", "create_time",
- * "create_time desc", and "".
+ * Optional. Sort results. Supported are "name", "name desc", "create_time",
+ * and "create_time desc".
*
*
- * string order_by = 5;
+ * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The bytes for orderBy.
*/
diff --git a/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/ListTasksRequest.java b/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/ListTasksRequest.java
index 460cef8b4d04..df0dee38f43a 100644
--- a/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/ListTasksRequest.java
+++ b/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/ListTasksRequest.java
@@ -187,8 +187,7 @@ public com.google.protobuf.ByteString getFilterBytes() {
*
*
*
- * Sort results. Supported are "name", "name desc", "create_time",
- * "create_time desc", and "".
+ * Not implemented.
*
*
* string order_by = 5;
@@ -211,8 +210,7 @@ public java.lang.String getOrderBy() {
*
*
*
- * Sort results. Supported are "name", "name desc", "create_time",
- * "create_time desc", and "".
+ * Not implemented.
*
*
* string order_by = 5;
@@ -984,8 +982,7 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) {
*
*
*
- * Sort results. Supported are "name", "name desc", "create_time",
- * "create_time desc", and "".
+ * Not implemented.
*
*
* string order_by = 5;
@@ -1007,8 +1004,7 @@ public java.lang.String getOrderBy() {
*
*
*
- * Sort results. Supported are "name", "name desc", "create_time",
- * "create_time desc", and "".
+ * Not implemented.
*
*
* string order_by = 5;
@@ -1030,8 +1026,7 @@ public com.google.protobuf.ByteString getOrderByBytes() {
*
*
*
- * Sort results. Supported are "name", "name desc", "create_time",
- * "create_time desc", and "".
+ * Not implemented.
*
*
* string order_by = 5;
@@ -1052,8 +1047,7 @@ public Builder setOrderBy(java.lang.String value) {
*
*
*
- * Sort results. Supported are "name", "name desc", "create_time",
- * "create_time desc", and "".
+ * Not implemented.
*
*
* string order_by = 5;
@@ -1070,8 +1064,7 @@ public Builder clearOrderBy() {
*
*
*
- * Sort results. Supported are "name", "name desc", "create_time",
- * "create_time desc", and "".
+ * Not implemented.
*
*
* string order_by = 5;
diff --git a/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/ListTasksRequestOrBuilder.java b/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/ListTasksRequestOrBuilder.java
index 4be297a5d7bb..1370b560617e 100644
--- a/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/ListTasksRequestOrBuilder.java
+++ b/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/ListTasksRequestOrBuilder.java
@@ -89,8 +89,7 @@ public interface ListTasksRequestOrBuilder
*
*
*
- * Sort results. Supported are "name", "name desc", "create_time",
- * "create_time desc", and "".
+ * Not implemented.
*
*
* string order_by = 5;
@@ -102,8 +101,7 @@ public interface ListTasksRequestOrBuilder
*
*
*
- * Sort results. Supported are "name", "name desc", "create_time",
- * "create_time desc", and "".
+ * Not implemented.
*
*
* string order_by = 5;
diff --git a/java-batch/proto-google-cloud-batch-v1alpha/src/main/proto/google/cloud/batch/v1alpha/batch.proto b/java-batch/proto-google-cloud-batch-v1alpha/src/main/proto/google/cloud/batch/v1alpha/batch.proto
index c654d9c25960..1ce48f1acea4 100644
--- a/java-batch/proto-google-cloud-batch-v1alpha/src/main/proto/google/cloud/batch/v1alpha/batch.proto
+++ b/java-batch/proto-google-cloud-batch-v1alpha/src/main/proto/google/cloud/batch/v1alpha/batch.proto
@@ -177,9 +177,9 @@ message ListJobsRequest {
// List filter.
string filter = 4;
- // Sort results. Supported are "name", "name desc", "create_time",
- // "create_time desc", and "".
- string order_by = 5;
+ // Optional. Sort results. Supported are "name", "name desc", "create_time",
+ // and "create_time desc".
+ string order_by = 5 [(google.api.field_behavior) = OPTIONAL];
// Page size.
int32 page_size = 2;
@@ -215,8 +215,7 @@ message ListTasksRequest {
// State=RUNNING
string filter = 2;
- // Sort results. Supported are "name", "name desc", "create_time",
- // "create_time desc", and "".
+ // Not implemented.
string order_by = 5;
// Page size.
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 acb29cd69988..2ae24f0cde98 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
@@ -313,21 +313,24 @@ message AllocationPolicy {
message Disk {
// A data source from which a PD will be created.
oneof data_source {
- // Name of a public or custom image used as the data source.
+ // Name of an image used as the data source.
// For example, the following are all valid URLs:
//
// * Specify the image by its family name:
- // projects/{project}/global/images/family/{image_family}
+ // projects/project/global/images/family/image_family
// * Specify the image version:
- // projects/{project}/global/images/{image_version}
- //
+ // projects/project/global/images/image_version
// You can also use Batch customized image in short names.
// The following image values are supported for a boot disk:
//
- // * "batch-debian": use Batch Debian images.
- // * "batch-centos": use Batch CentOS images.
- // * "batch-cos": use Batch Container-Optimized images.
- // * "batch-hpc-centos": use Batch HPC CentOS images.
+ // * `batch-debian`: use Batch Debian images.
+ // * `batch-centos`: use Batch CentOS images.
+ // * `batch-cos`: use Batch Container-Optimized images.
+ // * `batch-hpc-centos`: use Batch HPC CentOS images.
string image = 4;
// Name of a snapshot used as the data source.
@@ -388,10 +391,14 @@ message AllocationPolicy {
// Deprecated: please use instances[0].install_gpu_drivers instead.
bool install_gpu_drivers = 3 [deprecated = true];
- // The accelerator driver version that will be installed for this type.
+ // Optional. The NVIDIA GPU driver version that should be installed for this
+ // type.
//
- // Not yet implemented.
- string driver_version = 4;
+ // You can define the specific driver version such as "470.103.01",
+ // following the driver version requirements in
+ // https://cloud.google.com/compute/docs/gpus/install-drivers-gpu#minimum-driver.
+ // Batch will install the specific accelerator driver if qualified.
+ string driver_version = 4 [(google.api.field_behavior) = OPTIONAL];
}
// InstancePolicy describes an instance type and resources attached to each VM
@@ -444,6 +451,12 @@ message AllocationPolicy {
// third party location and install them for GPUs specified in
// policy.accelerators or instance_template on their behalf. Default is
// false.
+ //
+ // For Container-Optimized Image cases, Batch will install the
+ // accelerator driver following milestones of
+ // https://cloud.google.com/container-optimized-os/docs/release-notes. For
+ // non Container-Optimized Image cases, following
+ // https://github.com/GoogleCloudPlatform/compute-gpu-installation/blob/main/linux/install_gpu_driver.py.
bool install_gpu_drivers = 3;
}
@@ -453,20 +466,30 @@ message AllocationPolicy {
// You can specify the network as a full or partial URL.
//
// For example, the following are all valid URLs:
- //
- // * https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
- // * projects/{project}/global/networks/{network}
- // * global/networks/{network}
+ // https://www.googleapis.com/compute/v1/projects/project/global/networks/network
+ // projects/project/global/networks/network
+ // global/networks/network
string network = 1;
// The URL of an existing subnetwork resource in the network.
// You can specify the subnetwork as a full or partial URL.
//
// For example, the following are all valid URLs:
- //
- // * https://www.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetwork}
- // * projects/{project}/regions/{region}/subnetworks/{subnetwork}
- // * regions/{region}/subnetworks/{subnetwork}
+ // https://www.googleapis.com/compute/v1/projects/project/regions/region/subnetworks/subnetwork
+ // projects/project/regions/region/subnetworks/subnetwork
+ // regions/region/subnetworks/subnetwork
string subnetwork = 2;
// Default is false (with an external IP address). Required if
diff --git a/java-batch/samples/snippets/generated/com/google/cloud/batch/v1/batchservice/listjobs/AsyncListJobs.java b/java-batch/samples/snippets/generated/com/google/cloud/batch/v1/batchservice/listjobs/AsyncListJobs.java
index 51bf7d34e0e6..c7ce7d9f73e7 100644
--- a/java-batch/samples/snippets/generated/com/google/cloud/batch/v1/batchservice/listjobs/AsyncListJobs.java
+++ b/java-batch/samples/snippets/generated/com/google/cloud/batch/v1/batchservice/listjobs/AsyncListJobs.java
@@ -39,6 +39,7 @@ public static void asyncListJobs() throws Exception {
ListJobsRequest.newBuilder()
.setParent("parent-995424086")
.setFilter("filter-1274492040")
+ .setOrderBy("orderBy-1207110587")
.setPageSize(883849137)
.setPageToken("pageToken873572522")
.build();
diff --git a/java-batch/samples/snippets/generated/com/google/cloud/batch/v1/batchservice/listjobs/AsyncListJobsPaged.java b/java-batch/samples/snippets/generated/com/google/cloud/batch/v1/batchservice/listjobs/AsyncListJobsPaged.java
index 0370e0cf01b6..181c313ae765 100644
--- a/java-batch/samples/snippets/generated/com/google/cloud/batch/v1/batchservice/listjobs/AsyncListJobsPaged.java
+++ b/java-batch/samples/snippets/generated/com/google/cloud/batch/v1/batchservice/listjobs/AsyncListJobsPaged.java
@@ -40,6 +40,7 @@ public static void asyncListJobsPaged() throws Exception {
ListJobsRequest.newBuilder()
.setParent("parent-995424086")
.setFilter("filter-1274492040")
+ .setOrderBy("orderBy-1207110587")
.setPageSize(883849137)
.setPageToken("pageToken873572522")
.build();
diff --git a/java-batch/samples/snippets/generated/com/google/cloud/batch/v1/batchservice/listjobs/SyncListJobs.java b/java-batch/samples/snippets/generated/com/google/cloud/batch/v1/batchservice/listjobs/SyncListJobs.java
index bf117c463cb5..ad2fa11d0e26 100644
--- a/java-batch/samples/snippets/generated/com/google/cloud/batch/v1/batchservice/listjobs/SyncListJobs.java
+++ b/java-batch/samples/snippets/generated/com/google/cloud/batch/v1/batchservice/listjobs/SyncListJobs.java
@@ -38,6 +38,7 @@ public static void syncListJobs() throws Exception {
ListJobsRequest.newBuilder()
.setParent("parent-995424086")
.setFilter("filter-1274492040")
+ .setOrderBy("orderBy-1207110587")
.setPageSize(883849137)
.setPageToken("pageToken873572522")
.build();