diff --git a/java-batch/README.md b/java-batch/README.md
index 727957ceb98f..53dd11b188f0 100644
--- a/java-batch/README.md
+++ b/java-batch/README.md
@@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
string image = 4;
@@ -1284,6 +1285,7 @@ public interface DiskOrBuilder
* * `batch-centos`: use Batch CentOS images.
* * `batch-cos`: use Batch Container-Optimized images.
* * `batch-hpc-centos`: use Batch HPC CentOS images.
+ * * `batch-hpc-rocky`: use Batch HPC Rocky Linux images.
*
*
* string image = 4;
@@ -1310,6 +1312,7 @@ public interface DiskOrBuilder
* * `batch-centos`: use Batch CentOS images.
* * `batch-cos`: use Batch Container-Optimized images.
* * `batch-hpc-centos`: use Batch HPC CentOS images.
+ * * `batch-hpc-rocky`: use Batch HPC Rocky Linux images.
*
*
* string image = 4;
@@ -1572,6 +1575,7 @@ public DataSourceCase getDataSourceCase() {
* * `batch-centos`: use Batch CentOS images.
* * `batch-cos`: use Batch Container-Optimized images.
* * `batch-hpc-centos`: use Batch HPC CentOS images.
+ * * `batch-hpc-rocky`: use Batch HPC Rocky Linux images.
*
*
* string image = 4;
@@ -1600,6 +1604,7 @@ public boolean hasImage() {
* * `batch-centos`: use Batch CentOS images.
* * `batch-cos`: use Batch Container-Optimized images.
* * `batch-hpc-centos`: use Batch HPC CentOS images.
+ * * `batch-hpc-rocky`: use Batch HPC Rocky Linux images.
*
*
* string image = 4;
@@ -1641,6 +1646,7 @@ public java.lang.String getImage() {
* * `batch-centos`: use Batch CentOS images.
* * `batch-cos`: use Batch Container-Optimized images.
* * `batch-hpc-centos`: use Batch HPC CentOS images.
+ * * `batch-hpc-rocky`: use Batch HPC Rocky Linux images.
*
*
* string image = 4;
@@ -2394,6 +2400,7 @@ public Builder clearDataSource() {
* * `batch-centos`: use Batch CentOS images.
* * `batch-cos`: use Batch Container-Optimized images.
* * `batch-hpc-centos`: use Batch HPC CentOS images.
+ * * `batch-hpc-rocky`: use Batch HPC Rocky Linux images.
*
*
* string image = 4;
@@ -2423,6 +2430,7 @@ public boolean hasImage() {
* * `batch-centos`: use Batch CentOS images.
* * `batch-cos`: use Batch Container-Optimized images.
* * `batch-hpc-centos`: use Batch HPC CentOS images.
+ * * `batch-hpc-rocky`: use Batch HPC Rocky Linux images.
*
*
* string image = 4;
@@ -2465,6 +2473,7 @@ public java.lang.String getImage() {
* * `batch-centos`: use Batch CentOS images.
* * `batch-cos`: use Batch Container-Optimized images.
* * `batch-hpc-centos`: use Batch HPC CentOS images.
+ * * `batch-hpc-rocky`: use Batch HPC Rocky Linux images.
*
*
* string image = 4;
@@ -2507,6 +2516,7 @@ public com.google.protobuf.ByteString getImageBytes() {
* * `batch-centos`: use Batch CentOS images.
* * `batch-cos`: use Batch Container-Optimized images.
* * `batch-hpc-centos`: use Batch HPC CentOS images.
+ * * `batch-hpc-rocky`: use Batch HPC Rocky Linux images.
*
*
* string image = 4;
@@ -2542,6 +2552,7 @@ public Builder setImage(java.lang.String value) {
* * `batch-centos`: use Batch CentOS images.
* * `batch-cos`: use Batch Container-Optimized images.
* * `batch-hpc-centos`: use Batch HPC CentOS images.
+ * * `batch-hpc-rocky`: use Batch HPC Rocky Linux images.
*
*
* string image = 4;
@@ -2575,6 +2586,7 @@ public Builder clearImage() {
* * `batch-centos`: use Batch CentOS images.
* * `batch-cos`: use Batch Container-Optimized images.
* * `batch-hpc-centos`: use Batch HPC CentOS images.
+ * * `batch-hpc-rocky`: use Batch HPC Rocky Linux images.
*
*
* string image = 4;
@@ -4454,7 +4466,7 @@ 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=339
+ * deprecated. See google/cloud/batch/v1/job.proto;l=340
* @return The installGpuDrivers.
*/
@java.lang.Deprecated
@@ -4625,7 +4637,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=339
+ * deprecated. See google/cloud/batch/v1/job.proto;l=340
* @return The installGpuDrivers.
*/
@java.lang.Override
@@ -5287,7 +5299,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=339
+ * deprecated. See google/cloud/batch/v1/job.proto;l=340
* @return The installGpuDrivers.
*/
@java.lang.Override
@@ -5305,7 +5317,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=339
+ * deprecated. See google/cloud/batch/v1/job.proto;l=340
* @param value The installGpuDrivers to set.
* @return This builder for chaining.
*/
@@ -5327,7 +5339,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=339
+ * deprecated. See google/cloud/batch/v1/job.proto;l=340
* @return This builder for chaining.
*/
@java.lang.Deprecated
@@ -5789,6 +5801,33 @@ com.google.cloud.batch.v1.AllocationPolicy.AcceleratorOrBuilder getAcceleratorsO
* repeated .google.cloud.batch.v1.AllocationPolicy.AttachedDisk disks = 6;
*/
com.google.cloud.batch.v1.AllocationPolicy.AttachedDiskOrBuilder getDisksOrBuilder(int index);
+
+ /**
+ *
+ *
+ *
+ * Optional. If specified, VMs will consume only the specified reservation. + * If not specified (default), VMs will consume any applicable reservation. + *+ * + *
string reservation = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The reservation.
+ */
+ java.lang.String getReservation();
+ /**
+ *
+ *
+ * + * Optional. If specified, VMs will consume only the specified reservation. + * If not specified (default), VMs will consume any applicable reservation. + *+ * + *
string reservation = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for reservation.
+ */
+ com.google.protobuf.ByteString getReservationBytes();
}
/**
*
@@ -5816,6 +5855,7 @@ private InstancePolicy() {
provisioningModel_ = 0;
accelerators_ = java.util.Collections.emptyList();
disks_ = java.util.Collections.emptyList();
+ reservation_ = "";
}
@java.lang.Override
@@ -6207,6 +6247,59 @@ public com.google.cloud.batch.v1.AllocationPolicy.AttachedDiskOrBuilder getDisks
return disks_.get(index);
}
+ public static final int RESERVATION_FIELD_NUMBER = 7;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object reservation_ = "";
+ /**
+ *
+ *
+ * + * Optional. If specified, VMs will consume only the specified reservation. + * If not specified (default), VMs will consume any applicable reservation. + *+ * + *
string reservation = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The reservation.
+ */
+ @java.lang.Override
+ public java.lang.String getReservation() {
+ java.lang.Object ref = reservation_;
+ 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();
+ reservation_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. If specified, VMs will consume only the specified reservation. + * If not specified (default), VMs will consume any applicable reservation. + *+ * + *
string reservation = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for reservation.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getReservationBytes() {
+ java.lang.Object ref = reservation_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ reservation_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -6239,6 +6332,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
for (int i = 0; i < disks_.size(); i++) {
output.writeMessage(6, disks_.get(i));
}
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(reservation_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 7, reservation_);
+ }
if (bootDisk_ != null) {
output.writeMessage(8, getBootDisk());
}
@@ -6269,6 +6365,9 @@ public int getSerializedSize() {
for (int i = 0; i < disks_.size(); i++) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, disks_.get(i));
}
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(reservation_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, reservation_);
+ }
if (bootDisk_ != null) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getBootDisk());
}
@@ -6297,6 +6396,7 @@ public boolean equals(final java.lang.Object obj) {
if (!getBootDisk().equals(other.getBootDisk())) return false;
}
if (!getDisksList().equals(other.getDisksList())) return false;
+ if (!getReservation().equals(other.getReservation())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -6326,6 +6426,8 @@ public int hashCode() {
hash = (37 * hash) + DISKS_FIELD_NUMBER;
hash = (53 * hash) + getDisksList().hashCode();
}
+ hash = (37 * hash) + RESERVATION_FIELD_NUMBER;
+ hash = (53 * hash) + getReservation().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
@@ -6491,6 +6593,7 @@ public Builder clear() {
disksBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000020);
+ reservation_ = "";
return this;
}
@@ -6562,6 +6665,9 @@ private void buildPartial0(com.google.cloud.batch.v1.AllocationPolicy.InstancePo
if (((from_bitField0_ & 0x00000010) != 0)) {
result.bootDisk_ = bootDiskBuilder_ == null ? bootDisk_ : bootDiskBuilder_.build();
}
+ if (((from_bitField0_ & 0x00000040) != 0)) {
+ result.reservation_ = reservation_;
+ }
}
@java.lang.Override
@@ -6682,6 +6788,11 @@ public Builder mergeFrom(com.google.cloud.batch.v1.AllocationPolicy.InstancePoli
}
}
}
+ if (!other.getReservation().isEmpty()) {
+ reservation_ = other.reservation_;
+ bitField0_ |= 0x00000040;
+ onChanged();
+ }
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
@@ -6754,6 +6865,12 @@ public Builder mergeFrom(
}
break;
} // case 50
+ case 58:
+ {
+ reservation_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00000040;
+ break;
+ } // case 58
case 66:
{
input.readMessage(getBootDiskFieldBuilder().getBuilder(), extensionRegistry);
@@ -8108,6 +8225,117 @@ public com.google.cloud.batch.v1.AllocationPolicy.AttachedDisk.Builder addDisksB
return disksBuilder_;
}
+ private java.lang.Object reservation_ = "";
+ /**
+ *
+ *
+ * + * Optional. If specified, VMs will consume only the specified reservation. + * If not specified (default), VMs will consume any applicable reservation. + *+ * + *
string reservation = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The reservation.
+ */
+ public java.lang.String getReservation() {
+ java.lang.Object ref = reservation_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ reservation_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. If specified, VMs will consume only the specified reservation. + * If not specified (default), VMs will consume any applicable reservation. + *+ * + *
string reservation = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for reservation.
+ */
+ public com.google.protobuf.ByteString getReservationBytes() {
+ java.lang.Object ref = reservation_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ reservation_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ * + * Optional. If specified, VMs will consume only the specified reservation. + * If not specified (default), VMs will consume any applicable reservation. + *+ * + *
string reservation = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The reservation to set.
+ * @return This builder for chaining.
+ */
+ public Builder setReservation(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ reservation_ = value;
+ bitField0_ |= 0x00000040;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. If specified, VMs will consume only the specified reservation. + * If not specified (default), VMs will consume any applicable reservation. + *+ * + *
string reservation = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearReservation() {
+ reservation_ = getDefaultInstance().getReservation();
+ bitField0_ = (bitField0_ & ~0x00000040);
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * Optional. If specified, VMs will consume only the specified reservation. + * If not specified (default), VMs will consume any applicable reservation. + *+ * + *
string reservation = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The bytes for reservation to set.
+ * @return This builder for chaining.
+ */
+ public Builder setReservationBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ reservation_ = value;
+ bitField0_ |= 0x00000040;
+ onChanged();
+ return this;
+ }
+
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
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 8fe7ce0fac52..70fe19a54b30 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\"\220\016\n\020AllocationPolicy\022H"
+ + "K_STATE_CHANGED\020\002\"\253\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"
@@ -208,7 +208,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "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\022\034\n\016driver_version\030\004 \001(\t"
- + "B\004\342A\001\001\032\350\002\n\016InstancePolicy\022\024\n\014machine_typ"
+ + "B\004\342A\001\001\032\203\003\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"
@@ -217,41 +217,42 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "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"
+ + "achedDisk\022\031\n\013reservation\030\007 \001(\tB\004\342A\001\001\032\261\001\n"
+ + "\030InstancePolicyOrTemplate\022H\n\006policy\030\001 \001("
+ + "\01326.google.cloud.batch.v1.AllocationPoli"
+ + "cy.InstancePolicyH\000\022\033\n\021instance_template"
+ + "\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\007"
+ + "network\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\rNetworkPoli"
+ + "cy\022T\n\022network_interfaces\030\001 \003(\01328.google."
+ + "cloud.batch.v1.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\"\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.cl"
+ + "oud.batch.v1.TaskSpecB\004\342A\001\002\022\022\n\ntask_coun"
+ + "t\030\004 \001(\003\022\023\n\013parallelism\030\005 \001(\003\022L\n\021scheduli"
+ + "ng_policy\030\006 \001(\01621.google.cloud.batch.v1."
+ + "TaskGroup.SchedulingPolicy\022=\n\021task_envir"
+ + "onments\030\t \003(\0132\".google.cloud.batch.v1.En"
+ + "vironment\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\020SchedulingPolicy\022!\n\035SCHEDU"
+ + "LING_POLICY_UNSPECIFIED\020\000\022\027\n\023AS_SOON_AS_"
+ + "POSSIBLE\020\001\022\014\n\010IN_ORDER\020\002:o\352Al\n\036batch.goo"
+ + "gleapis.com/TaskGroup\022Jprojects/{project"
+ + "}/locations/{location}/jobs/{job}/taskGr"
+ + "oups/{task_group}\"/\n\016ServiceAccount\022\r\n\005e"
+ + "mail\030\001 \001(\t\022\016\n\006scopes\030\002 \003(\tB\251\001\n\031com.googl"
+ + "e.cloud.batch.v1B\010JobProtoP\001Z/cloud.goog"
+ + "le.com/go/batch/apiv1/batchpb;batchpb\242\002\003"
+ + "GCB\252\002\025Google.Cloud.Batch.V1\312\002\025Google\\Clo"
+ + "ud\\Batch\\V1\352\002\030Google::Cloud::Batch::V1b\006"
+ + "proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -406,6 +407,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Accelerators",
"BootDisk",
"Disks",
+ "Reservation",
});
internal_static_google_cloud_batch_v1_AllocationPolicy_InstancePolicyOrTemplate_descriptor =
internal_static_google_cloud_batch_v1_AllocationPolicy_descriptor.getNestedTypes().get(5);
diff --git a/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/Runnable.java b/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/Runnable.java
index 41beae95b64a..a7c436e033dd 100644
--- a/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/Runnable.java
+++ b/java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/Runnable.java
@@ -193,6 +193,14 @@ public interface ContainerOrBuilder
* Volumes to mount (bind mount) from the host machine files or directories
* into the container, formatted to match docker run's --volume option,
* e.g. /foo:/bar, or /foo:/bar:ro
+ *
+ * If the `TaskSpec.Volumes` field is specified but this field is not, Batch
+ * will mount each volume from the host machine to the container with the
+ * same mount path by default. In this case, the default mount option for
+ * containers will be read-only (ro) for existing persistent disks and
+ * read-write (rw) for other volume types, regardless of the original mount
+ * options specified in `TaskSpec.Volumes`. If you need different mount
+ * settings, you can explicitly configure them in this field.
*
*
* repeated string volumes = 7;
@@ -207,6 +215,14 @@ public interface ContainerOrBuilder
* Volumes to mount (bind mount) from the host machine files or directories
* into the container, formatted to match docker run's --volume option,
* e.g. /foo:/bar, or /foo:/bar:ro
+ *
+ * If the `TaskSpec.Volumes` field is specified but this field is not, Batch
+ * will mount each volume from the host machine to the container with the
+ * same mount path by default. In this case, the default mount option for
+ * containers will be read-only (ro) for existing persistent disks and
+ * read-write (rw) for other volume types, regardless of the original mount
+ * options specified in `TaskSpec.Volumes`. If you need different mount
+ * settings, you can explicitly configure them in this field.
*
*
* repeated string volumes = 7;
@@ -221,6 +237,14 @@ public interface ContainerOrBuilder
* Volumes to mount (bind mount) from the host machine files or directories
* into the container, formatted to match docker run's --volume option,
* e.g. /foo:/bar, or /foo:/bar:ro
+ *
+ * If the `TaskSpec.Volumes` field is specified but this field is not, Batch
+ * will mount each volume from the host machine to the container with the
+ * same mount path by default. In this case, the default mount option for
+ * containers will be read-only (ro) for existing persistent disks and
+ * read-write (rw) for other volume types, regardless of the original mount
+ * options specified in `TaskSpec.Volumes`. If you need different mount
+ * settings, you can explicitly configure them in this field.
*
*
* repeated string volumes = 7;
@@ -236,6 +260,14 @@ public interface ContainerOrBuilder
* Volumes to mount (bind mount) from the host machine files or directories
* into the container, formatted to match docker run's --volume option,
* e.g. /foo:/bar, or /foo:/bar:ro
+ *
+ * If the `TaskSpec.Volumes` field is specified but this field is not, Batch
+ * will mount each volume from the host machine to the container with the
+ * same mount path by default. In this case, the default mount option for
+ * containers will be read-only (ro) for existing persistent disks and
+ * read-write (rw) for other volume types, regardless of the original mount
+ * options specified in `TaskSpec.Volumes`. If you need different mount
+ * settings, you can explicitly configure them in this field.
*
*
* repeated string volumes = 7;
@@ -582,6 +614,14 @@ public com.google.protobuf.ByteString getEntrypointBytes() {
* Volumes to mount (bind mount) from the host machine files or directories
* into the container, formatted to match docker run's --volume option,
* e.g. /foo:/bar, or /foo:/bar:ro
+ *
+ * If the `TaskSpec.Volumes` field is specified but this field is not, Batch
+ * will mount each volume from the host machine to the container with the
+ * same mount path by default. In this case, the default mount option for
+ * containers will be read-only (ro) for existing persistent disks and
+ * read-write (rw) for other volume types, regardless of the original mount
+ * options specified in `TaskSpec.Volumes`. If you need different mount
+ * settings, you can explicitly configure them in this field.
*
*
* repeated string volumes = 7;
@@ -598,6 +638,14 @@ public com.google.protobuf.ProtocolStringList getVolumesList() {
* Volumes to mount (bind mount) from the host machine files or directories
* into the container, formatted to match docker run's --volume option,
* e.g. /foo:/bar, or /foo:/bar:ro
+ *
+ * If the `TaskSpec.Volumes` field is specified but this field is not, Batch
+ * will mount each volume from the host machine to the container with the
+ * same mount path by default. In this case, the default mount option for
+ * containers will be read-only (ro) for existing persistent disks and
+ * read-write (rw) for other volume types, regardless of the original mount
+ * options specified in `TaskSpec.Volumes`. If you need different mount
+ * settings, you can explicitly configure them in this field.
*
*
* repeated string volumes = 7;
@@ -614,6 +662,14 @@ public int getVolumesCount() {
* Volumes to mount (bind mount) from the host machine files or directories
* into the container, formatted to match docker run's --volume option,
* e.g. /foo:/bar, or /foo:/bar:ro
+ *
+ * If the `TaskSpec.Volumes` field is specified but this field is not, Batch
+ * will mount each volume from the host machine to the container with the
+ * same mount path by default. In this case, the default mount option for
+ * containers will be read-only (ro) for existing persistent disks and
+ * read-write (rw) for other volume types, regardless of the original mount
+ * options specified in `TaskSpec.Volumes`. If you need different mount
+ * settings, you can explicitly configure them in this field.
*
*
* repeated string volumes = 7;
@@ -631,6 +687,14 @@ public java.lang.String getVolumes(int index) {
* Volumes to mount (bind mount) from the host machine files or directories
* into the container, formatted to match docker run's --volume option,
* e.g. /foo:/bar, or /foo:/bar:ro
+ *
+ * If the `TaskSpec.Volumes` field is specified but this field is not, Batch
+ * will mount each volume from the host machine to the container with the
+ * same mount path by default. In this case, the default mount option for
+ * containers will be read-only (ro) for existing persistent disks and
+ * read-write (rw) for other volume types, regardless of the original mount
+ * options specified in `TaskSpec.Volumes`. If you need different mount
+ * settings, you can explicitly configure them in this field.
*
*
* repeated string volumes = 7;
@@ -1785,6 +1849,14 @@ private void ensureVolumesIsMutable() {
* Volumes to mount (bind mount) from the host machine files or directories
* into the container, formatted to match docker run's --volume option,
* e.g. /foo:/bar, or /foo:/bar:ro
+ *
+ * If the `TaskSpec.Volumes` field is specified but this field is not, Batch
+ * will mount each volume from the host machine to the container with the
+ * same mount path by default. In this case, the default mount option for
+ * containers will be read-only (ro) for existing persistent disks and
+ * read-write (rw) for other volume types, regardless of the original mount
+ * options specified in `TaskSpec.Volumes`. If you need different mount
+ * settings, you can explicitly configure them in this field.
*
*
* repeated string volumes = 7;
@@ -1802,6 +1874,14 @@ public com.google.protobuf.ProtocolStringList getVolumesList() {
* Volumes to mount (bind mount) from the host machine files or directories
* into the container, formatted to match docker run's --volume option,
* e.g. /foo:/bar, or /foo:/bar:ro
+ *
+ * If the `TaskSpec.Volumes` field is specified but this field is not, Batch
+ * will mount each volume from the host machine to the container with the
+ * same mount path by default. In this case, the default mount option for
+ * containers will be read-only (ro) for existing persistent disks and
+ * read-write (rw) for other volume types, regardless of the original mount
+ * options specified in `TaskSpec.Volumes`. If you need different mount
+ * settings, you can explicitly configure them in this field.
*
*
* repeated string volumes = 7;
@@ -1818,6 +1898,14 @@ public int getVolumesCount() {
* Volumes to mount (bind mount) from the host machine files or directories
* into the container, formatted to match docker run's --volume option,
* e.g. /foo:/bar, or /foo:/bar:ro
+ *
+ * If the `TaskSpec.Volumes` field is specified but this field is not, Batch
+ * will mount each volume from the host machine to the container with the
+ * same mount path by default. In this case, the default mount option for
+ * containers will be read-only (ro) for existing persistent disks and
+ * read-write (rw) for other volume types, regardless of the original mount
+ * options specified in `TaskSpec.Volumes`. If you need different mount
+ * settings, you can explicitly configure them in this field.
*
*
* repeated string volumes = 7;
@@ -1835,6 +1923,14 @@ public java.lang.String getVolumes(int index) {
* Volumes to mount (bind mount) from the host machine files or directories
* into the container, formatted to match docker run's --volume option,
* e.g. /foo:/bar, or /foo:/bar:ro
+ *
+ * If the `TaskSpec.Volumes` field is specified but this field is not, Batch
+ * will mount each volume from the host machine to the container with the
+ * same mount path by default. In this case, the default mount option for
+ * containers will be read-only (ro) for existing persistent disks and
+ * read-write (rw) for other volume types, regardless of the original mount
+ * options specified in `TaskSpec.Volumes`. If you need different mount
+ * settings, you can explicitly configure them in this field.
*
*
* repeated string volumes = 7;
@@ -1852,6 +1948,14 @@ public com.google.protobuf.ByteString getVolumesBytes(int index) {
* Volumes to mount (bind mount) from the host machine files or directories
* into the container, formatted to match docker run's --volume option,
* e.g. /foo:/bar, or /foo:/bar:ro
+ *
+ * If the `TaskSpec.Volumes` field is specified but this field is not, Batch
+ * will mount each volume from the host machine to the container with the
+ * same mount path by default. In this case, the default mount option for
+ * containers will be read-only (ro) for existing persistent disks and
+ * read-write (rw) for other volume types, regardless of the original mount
+ * options specified in `TaskSpec.Volumes`. If you need different mount
+ * settings, you can explicitly configure them in this field.
*
*
* repeated string volumes = 7;
@@ -1877,6 +1981,14 @@ public Builder setVolumes(int index, java.lang.String value) {
* Volumes to mount (bind mount) from the host machine files or directories
* into the container, formatted to match docker run's --volume option,
* e.g. /foo:/bar, or /foo:/bar:ro
+ *
+ * If the `TaskSpec.Volumes` field is specified but this field is not, Batch
+ * will mount each volume from the host machine to the container with the
+ * same mount path by default. In this case, the default mount option for
+ * containers will be read-only (ro) for existing persistent disks and
+ * read-write (rw) for other volume types, regardless of the original mount
+ * options specified in `TaskSpec.Volumes`. If you need different mount
+ * settings, you can explicitly configure them in this field.
*
*
* repeated string volumes = 7;
@@ -1901,6 +2013,14 @@ public Builder addVolumes(java.lang.String value) {
* Volumes to mount (bind mount) from the host machine files or directories
* into the container, formatted to match docker run's --volume option,
* e.g. /foo:/bar, or /foo:/bar:ro
+ *
+ * If the `TaskSpec.Volumes` field is specified but this field is not, Batch
+ * will mount each volume from the host machine to the container with the
+ * same mount path by default. In this case, the default mount option for
+ * containers will be read-only (ro) for existing persistent disks and
+ * read-write (rw) for other volume types, regardless of the original mount
+ * options specified in `TaskSpec.Volumes`. If you need different mount
+ * settings, you can explicitly configure them in this field.
*
*
* repeated string volumes = 7;
@@ -1922,6 +2042,14 @@ public Builder addAllVolumes(java.lang.Iterablerepeated string volumes = 7;
@@ -1942,6 +2070,14 @@ public Builder clearVolumes() {
* Volumes to mount (bind mount) from the host machine files or directories
* into the container, formatted to match docker run's --volume option,
* e.g. /foo:/bar, or /foo:/bar:ro
+ *
+ * If the `TaskSpec.Volumes` field is specified but this field is not, Batch
+ * will mount each volume from the host machine to the container with the
+ * same mount path by default. In this case, the default mount option for
+ * containers will be read-only (ro) for existing persistent disks and
+ * read-write (rw) for other volume types, regardless of the original mount
+ * options specified in `TaskSpec.Volumes`. If you need different mount
+ * settings, you can explicitly configure them in this field.
*
*
* repeated string volumes = 7;
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 a2f38c8288f9..4eba598ed6bc 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
@@ -268,6 +268,7 @@ message AllocationPolicy {
// * `batch-centos`: use Batch CentOS images.
// * `batch-cos`: use Batch Container-Optimized images.
// * `batch-hpc-centos`: use Batch HPC CentOS images.
+ // * `batch-hpc-rocky`: use Batch HPC Rocky Linux images.
string image = 4;
// Name of a snapshot used as the data source.
@@ -377,6 +378,10 @@ message AllocationPolicy {
// file system or a raw storage drive that is not ready for data
// storage and accessing.
repeated AttachedDisk disks = 6;
+
+ // Optional. If specified, VMs will consume only the specified reservation.
+ // If not specified (default), VMs will consume any applicable reservation.
+ string reservation = 7 [(google.api.field_behavior) = OPTIONAL];
}
// InstancePolicyOrTemplate lets you define the type of resources to use for
diff --git a/java-batch/proto-google-cloud-batch-v1/src/main/proto/google/cloud/batch/v1/task.proto b/java-batch/proto-google-cloud-batch-v1/src/main/proto/google/cloud/batch/v1/task.proto
index 8358167d94fa..f0cc9a477c8d 100644
--- a/java-batch/proto-google-cloud-batch-v1/src/main/proto/google/cloud/batch/v1/task.proto
+++ b/java-batch/proto-google-cloud-batch-v1/src/main/proto/google/cloud/batch/v1/task.proto
@@ -159,6 +159,14 @@ message Runnable {
// Volumes to mount (bind mount) from the host machine files or directories
// into the container, formatted to match docker run's --volume option,
// e.g. /foo:/bar, or /foo:/bar:ro
+ //
+ // If the `TaskSpec.Volumes` field is specified but this field is not, Batch
+ // will mount each volume from the host machine to the container with the
+ // same mount path by default. In this case, the default mount option for
+ // containers will be read-only (ro) for existing persistent disks and
+ // read-write (rw) for other volume types, regardless of the original mount
+ // options specified in `TaskSpec.Volumes`. If you need different mount
+ // settings, you can explicitly configure them in this field.
repeated string volumes = 7;
// Arbitrary additional options to include in the "docker run" command when
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 f042b51fd286..2e3b83dee35f 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
@@ -1630,6 +1630,7 @@ public interface DiskOrBuilder
* * `batch-centos`: use Batch CentOS images.
* * `batch-cos`: use Batch Container-Optimized images.
* * `batch-hpc-centos`: use Batch HPC CentOS images.
+ * * `batch-hpc-rocky`: use Batch HPC Rocky Linux images.
*
*
* string image = 4;
@@ -1656,6 +1657,7 @@ public interface DiskOrBuilder
* * `batch-centos`: use Batch CentOS images.
* * `batch-cos`: use Batch Container-Optimized images.
* * `batch-hpc-centos`: use Batch HPC CentOS images.
+ * * `batch-hpc-rocky`: use Batch HPC Rocky Linux images.
*
*
* string image = 4;
@@ -1682,6 +1684,7 @@ public interface DiskOrBuilder
* * `batch-centos`: use Batch CentOS images.
* * `batch-cos`: use Batch Container-Optimized images.
* * `batch-hpc-centos`: use Batch HPC CentOS images.
+ * * `batch-hpc-rocky`: use Batch HPC Rocky Linux images.
*
*
* string image = 4;
@@ -1944,6 +1947,7 @@ public DataSourceCase getDataSourceCase() {
* * `batch-centos`: use Batch CentOS images.
* * `batch-cos`: use Batch Container-Optimized images.
* * `batch-hpc-centos`: use Batch HPC CentOS images.
+ * * `batch-hpc-rocky`: use Batch HPC Rocky Linux images.
*
*
* string image = 4;
@@ -1972,6 +1976,7 @@ public boolean hasImage() {
* * `batch-centos`: use Batch CentOS images.
* * `batch-cos`: use Batch Container-Optimized images.
* * `batch-hpc-centos`: use Batch HPC CentOS images.
+ * * `batch-hpc-rocky`: use Batch HPC Rocky Linux images.
*
*
* string image = 4;
@@ -2013,6 +2018,7 @@ public java.lang.String getImage() {
* * `batch-centos`: use Batch CentOS images.
* * `batch-cos`: use Batch Container-Optimized images.
* * `batch-hpc-centos`: use Batch HPC CentOS images.
+ * * `batch-hpc-rocky`: use Batch HPC Rocky Linux images.
*
*
* string image = 4;
@@ -2767,6 +2773,7 @@ public Builder clearDataSource() {
* * `batch-centos`: use Batch CentOS images.
* * `batch-cos`: use Batch Container-Optimized images.
* * `batch-hpc-centos`: use Batch HPC CentOS images.
+ * * `batch-hpc-rocky`: use Batch HPC Rocky Linux images.
*
*
* string image = 4;
@@ -2796,6 +2803,7 @@ public boolean hasImage() {
* * `batch-centos`: use Batch CentOS images.
* * `batch-cos`: use Batch Container-Optimized images.
* * `batch-hpc-centos`: use Batch HPC CentOS images.
+ * * `batch-hpc-rocky`: use Batch HPC Rocky Linux images.
*
*
* string image = 4;
@@ -2838,6 +2846,7 @@ public java.lang.String getImage() {
* * `batch-centos`: use Batch CentOS images.
* * `batch-cos`: use Batch Container-Optimized images.
* * `batch-hpc-centos`: use Batch HPC CentOS images.
+ * * `batch-hpc-rocky`: use Batch HPC Rocky Linux images.
*
*
* string image = 4;
@@ -2880,6 +2889,7 @@ public com.google.protobuf.ByteString getImageBytes() {
* * `batch-centos`: use Batch CentOS images.
* * `batch-cos`: use Batch Container-Optimized images.
* * `batch-hpc-centos`: use Batch HPC CentOS images.
+ * * `batch-hpc-rocky`: use Batch HPC Rocky Linux images.
*
*
* string image = 4;
@@ -2915,6 +2925,7 @@ public Builder setImage(java.lang.String value) {
* * `batch-centos`: use Batch CentOS images.
* * `batch-cos`: use Batch Container-Optimized images.
* * `batch-hpc-centos`: use Batch HPC CentOS images.
+ * * `batch-hpc-rocky`: use Batch HPC Rocky Linux images.
*
*
* string image = 4;
@@ -2948,6 +2959,7 @@ public Builder clearImage() {
* * `batch-centos`: use Batch CentOS images.
* * `batch-cos`: use Batch Container-Optimized images.
* * `batch-hpc-centos`: use Batch HPC CentOS images.
+ * * `batch-hpc-rocky`: use Batch HPC Rocky Linux images.
*
*
* string image = 4;
@@ -4833,7 +4845,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=403
+ * deprecated. See google/cloud/batch/v1alpha/job.proto;l=404
* @return The installGpuDrivers.
*/
@java.lang.Deprecated
@@ -5004,7 +5016,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=403
+ * deprecated. See google/cloud/batch/v1alpha/job.proto;l=404
* @return The installGpuDrivers.
*/
@java.lang.Override
@@ -5669,7 +5681,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=403
+ * deprecated. See google/cloud/batch/v1alpha/job.proto;l=404
* @return The installGpuDrivers.
*/
@java.lang.Override
@@ -5687,7 +5699,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=403
+ * deprecated. See google/cloud/batch/v1alpha/job.proto;l=404
* @param value The installGpuDrivers to set.
* @return This builder for chaining.
*/
@@ -5709,7 +5721,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=403
+ * deprecated. See google/cloud/batch/v1alpha/job.proto;l=404
* @return This builder for chaining.
*/
@java.lang.Deprecated
@@ -5936,7 +5948,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=419
+ * is deprecated. See google/cloud/batch/v1alpha/job.proto;l=420
* @return A list containing the allowedMachineTypes.
*/
@java.lang.Deprecated
@@ -5951,7 +5963,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=419
+ * is deprecated. See google/cloud/batch/v1alpha/job.proto;l=420
* @return The count of allowedMachineTypes.
*/
@java.lang.Deprecated
@@ -5966,7 +5978,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=419
+ * is deprecated. See google/cloud/batch/v1alpha/job.proto;l=420
* @param index The index of the element to return.
* @return The allowedMachineTypes at the given index.
*/
@@ -5982,7 +5994,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=419
+ * is deprecated. See google/cloud/batch/v1alpha/job.proto;l=420
* @param index The index of the value to return.
* @return The bytes of the allowedMachineTypes at the given index.
*/
@@ -6247,11 +6259,11 @@ com.google.cloud.batch.v1alpha.AllocationPolicy.AttachedDiskOrBuilder getDisksOr
*
*
* - * If specified, VMs will consume only the specified reservation. + * Optional. If specified, VMs will consume only the specified reservation. * If not specified (default), VMs will consume any applicable reservation. ** - *
string reservation = 7;
+ * string reservation = 7 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The reservation.
*/
@@ -6260,11 +6272,11 @@ com.google.cloud.batch.v1alpha.AllocationPolicy.AttachedDiskOrBuilder getDisksOr
*
*
* - * If specified, VMs will consume only the specified reservation. + * Optional. If specified, VMs will consume only the specified reservation. * If not specified (default), VMs will consume any applicable reservation. ** - *
string reservation = 7;
+ * string reservation = 7 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The bytes for reservation.
*/
@@ -6336,7 +6348,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=419
+ * is deprecated. See google/cloud/batch/v1alpha/job.proto;l=420
* @return A list containing the allowedMachineTypes.
*/
@java.lang.Deprecated
@@ -6353,7 +6365,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=419
+ * is deprecated. See google/cloud/batch/v1alpha/job.proto;l=420
* @return The count of allowedMachineTypes.
*/
@java.lang.Deprecated
@@ -6370,7 +6382,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=419
+ * is deprecated. See google/cloud/batch/v1alpha/job.proto;l=420
* @param index The index of the element to return.
* @return The allowedMachineTypes at the given index.
*/
@@ -6388,7 +6400,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=419
+ * is deprecated. See google/cloud/batch/v1alpha/job.proto;l=420
* @param index The index of the value to return.
* @return The bytes of the allowedMachineTypes at the given index.
*/
@@ -6782,11 +6794,11 @@ public com.google.cloud.batch.v1alpha.AllocationPolicy.AttachedDiskOrBuilder get
*
*
* - * If specified, VMs will consume only the specified reservation. + * Optional. If specified, VMs will consume only the specified reservation. * If not specified (default), VMs will consume any applicable reservation. ** - *
string reservation = 7;
+ * string reservation = 7 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The reservation.
*/
@@ -6806,11 +6818,11 @@ public java.lang.String getReservation() {
*
*
* - * If specified, VMs will consume only the specified reservation. + * Optional. If specified, VMs will consume only the specified reservation. * If not specified (default), VMs will consume any applicable reservation. ** - *
string reservation = 7;
+ * string reservation = 7 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The bytes for reservation.
*/
@@ -7486,7 +7498,7 @@ private void ensureAllowedMachineTypesIsMutable() {
*
* @deprecated
* google.cloud.batch.v1alpha.AllocationPolicy.InstancePolicy.allowed_machine_types is
- * deprecated. See google/cloud/batch/v1alpha/job.proto;l=419
+ * deprecated. See google/cloud/batch/v1alpha/job.proto;l=420
* @return A list containing the allowedMachineTypes.
*/
@java.lang.Deprecated
@@ -7505,7 +7517,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=419
+ * deprecated. See google/cloud/batch/v1alpha/job.proto;l=420
* @return The count of allowedMachineTypes.
*/
@java.lang.Deprecated
@@ -7523,7 +7535,7 @@ public int getAllowedMachineTypesCount() {
*
* @deprecated
* google.cloud.batch.v1alpha.AllocationPolicy.InstancePolicy.allowed_machine_types is
- * deprecated. See google/cloud/batch/v1alpha/job.proto;l=419
+ * deprecated. See google/cloud/batch/v1alpha/job.proto;l=420
* @param index The index of the element to return.
* @return The allowedMachineTypes at the given index.
*/
@@ -7542,7 +7554,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=419
+ * deprecated. See google/cloud/batch/v1alpha/job.proto;l=420
* @param index The index of the value to return.
* @return The bytes of the allowedMachineTypes at the given index.
*/
@@ -7561,7 +7573,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=419
+ * deprecated. See google/cloud/batch/v1alpha/job.proto;l=420
* @param index The index to set the value at.
* @param value The allowedMachineTypes to set.
* @return This builder for chaining.
@@ -7588,7 +7600,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=419
+ * deprecated. See google/cloud/batch/v1alpha/job.proto;l=420
* @param value The allowedMachineTypes to add.
* @return This builder for chaining.
*/
@@ -7614,7 +7626,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=419
+ * deprecated. See google/cloud/batch/v1alpha/job.proto;l=420
* @param values The allowedMachineTypes to add.
* @return This builder for chaining.
*/
@@ -7637,7 +7649,7 @@ public Builder addAllAllowedMachineTypes(java.lang.Iterable- * If specified, VMs will consume only the specified reservation. + * Optional. If specified, VMs will consume only the specified reservation. * If not specified (default), VMs will consume any applicable reservation. ** - *
string reservation = 7;
+ * string reservation = 7 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The reservation.
*/
@@ -9061,11 +9073,11 @@ public java.lang.String getReservation() {
*
*
* - * If specified, VMs will consume only the specified reservation. + * Optional. If specified, VMs will consume only the specified reservation. * If not specified (default), VMs will consume any applicable reservation. ** - *
string reservation = 7;
+ * string reservation = 7 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The bytes for reservation.
*/
@@ -9084,11 +9096,11 @@ public com.google.protobuf.ByteString getReservationBytes() {
*
*
* - * If specified, VMs will consume only the specified reservation. + * Optional. If specified, VMs will consume only the specified reservation. * If not specified (default), VMs will consume any applicable reservation. ** - *
string reservation = 7;
+ * string reservation = 7 [(.google.api.field_behavior) = OPTIONAL];
*
* @param value The reservation to set.
* @return This builder for chaining.
@@ -9106,11 +9118,11 @@ public Builder setReservation(java.lang.String value) {
*
*
* - * If specified, VMs will consume only the specified reservation. + * Optional. If specified, VMs will consume only the specified reservation. * If not specified (default), VMs will consume any applicable reservation. ** - *
string reservation = 7;
+ * string reservation = 7 [(.google.api.field_behavior) = OPTIONAL];
*
* @return This builder for chaining.
*/
@@ -9124,11 +9136,11 @@ public Builder clearReservation() {
*
*
* - * If specified, VMs will consume only the specified reservation. + * Optional. If specified, VMs will consume only the specified reservation. * If not specified (default), VMs will consume any applicable reservation. ** - *
string reservation = 7;
+ * string reservation = 7 [(.google.api.field_behavior) = OPTIONAL];
*
* @param value The bytes for reservation to set.
* @return This builder for chaining.
@@ -13625,7 +13637,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=559
+ * google/cloud/batch/v1alpha/job.proto;l=560
* @return Whether the instance field is set.
*/
@java.lang.Override
@@ -13645,7 +13657,7 @@ public boolean hasInstance() {
*
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.instance is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=559
+ * google/cloud/batch/v1alpha/job.proto;l=560
* @return The instance.
*/
@java.lang.Override
@@ -13782,7 +13794,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=566
+ * google/cloud/batch/v1alpha/job.proto;l=567
* @return A list containing the instanceTemplates.
*/
@java.lang.Deprecated
@@ -13799,7 +13811,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=566
+ * google/cloud/batch/v1alpha/job.proto;l=567
* @return The count of instanceTemplates.
*/
@java.lang.Deprecated
@@ -13816,7 +13828,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=566
+ * google/cloud/batch/v1alpha/job.proto;l=567
* @param index The index of the element to return.
* @return The instanceTemplates at the given index.
*/
@@ -13834,7 +13846,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=566
+ * google/cloud/batch/v1alpha/job.proto;l=567
* @param index The index of the value to return.
* @return The bytes of the instanceTemplates at the given index.
*/
@@ -13875,7 +13887,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=569
+ * google/cloud/batch/v1alpha/job.proto;l=570
* @return A list containing the provisioningModels.
*/
@java.lang.Override
@@ -13898,7 +13910,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=569
+ * google/cloud/batch/v1alpha/job.proto;l=570
* @return The count of provisioningModels.
*/
@java.lang.Override
@@ -13918,7 +13930,7 @@ public int getProvisioningModelsCount() {
*
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=569
+ * google/cloud/batch/v1alpha/job.proto;l=570
* @param index The index of the element to return.
* @return The provisioningModels at the given index.
*/
@@ -13940,7 +13952,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=569
+ * google/cloud/batch/v1alpha/job.proto;l=570
* @return A list containing the enum numeric values on the wire for provisioningModels.
*/
@java.lang.Override
@@ -13960,7 +13972,7 @@ public java.util.Liststring 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=572
+ * See google/cloud/batch/v1alpha/job.proto;l=573
* @return The serviceAccountEmail.
*/
@java.lang.Override
@@ -14012,7 +14024,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=572
+ * See google/cloud/batch/v1alpha/job.proto;l=573
* @return The bytes for serviceAccountEmail.
*/
@java.lang.Override
@@ -15244,7 +15256,7 @@ public Builder clearLocation() {
*
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.instance is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=559
+ * google/cloud/batch/v1alpha/job.proto;l=560
* @return Whether the instance field is set.
*/
@java.lang.Deprecated
@@ -15263,7 +15275,7 @@ public boolean hasInstance() {
*
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.instance is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=559
+ * google/cloud/batch/v1alpha/job.proto;l=560
* @return The instance.
*/
@java.lang.Deprecated
@@ -15896,7 +15908,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=566
+ * google/cloud/batch/v1alpha/job.proto;l=567
* @return A list containing the instanceTemplates.
*/
@java.lang.Deprecated
@@ -15914,7 +15926,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=566
+ * google/cloud/batch/v1alpha/job.proto;l=567
* @return The count of instanceTemplates.
*/
@java.lang.Deprecated
@@ -15931,7 +15943,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=566
+ * google/cloud/batch/v1alpha/job.proto;l=567
* @param index The index of the element to return.
* @return The instanceTemplates at the given index.
*/
@@ -15949,7 +15961,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=566
+ * google/cloud/batch/v1alpha/job.proto;l=567
* @param index The index of the value to return.
* @return The bytes of the instanceTemplates at the given index.
*/
@@ -15967,7 +15979,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=566
+ * google/cloud/batch/v1alpha/job.proto;l=567
* @param index The index to set the value at.
* @param value The instanceTemplates to set.
* @return This builder for chaining.
@@ -15993,7 +16005,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=566
+ * google/cloud/batch/v1alpha/job.proto;l=567
* @param value The instanceTemplates to add.
* @return This builder for chaining.
*/
@@ -16018,7 +16030,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=566
+ * google/cloud/batch/v1alpha/job.proto;l=567
* @param values The instanceTemplates to add.
* @return This builder for chaining.
*/
@@ -16040,7 +16052,7 @@ public Builder addAllInstanceTemplates(java.lang.Iterablerepeated string instance_templates = 3 [deprecated = true];
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.instance_templates is deprecated. See
- * google/cloud/batch/v1alpha/job.proto;l=566
+ * google/cloud/batch/v1alpha/job.proto;l=567
* @return This builder for chaining.
*/
@java.lang.Deprecated
@@ -16061,7 +16073,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=566
+ * google/cloud/batch/v1alpha/job.proto;l=567
* @param value The bytes of the instanceTemplates to add.
* @return This builder for chaining.
*/
@@ -16099,7 +16111,7 @@ private void ensureProvisioningModelsIsMutable() {
*
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated.
- * See google/cloud/batch/v1alpha/job.proto;l=569
+ * See google/cloud/batch/v1alpha/job.proto;l=570
* @return A list containing the provisioningModels.
*/
@java.lang.Deprecated
@@ -16121,7 +16133,7 @@ private void ensureProvisioningModelsIsMutable() {
*
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated.
- * See google/cloud/batch/v1alpha/job.proto;l=569
+ * See google/cloud/batch/v1alpha/job.proto;l=570
* @return The count of provisioningModels.
*/
@java.lang.Deprecated
@@ -16140,7 +16152,7 @@ public int getProvisioningModelsCount() {
*
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated.
- * See google/cloud/batch/v1alpha/job.proto;l=569
+ * See google/cloud/batch/v1alpha/job.proto;l=570
* @param index The index of the element to return.
* @return The provisioningModels at the given index.
*/
@@ -16161,7 +16173,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=569
+ * See google/cloud/batch/v1alpha/job.proto;l=570
* @param index The index to set the value at.
* @param value The provisioningModels to set.
* @return This builder for chaining.
@@ -16189,7 +16201,7 @@ public Builder setProvisioningModels(
*
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated.
- * See google/cloud/batch/v1alpha/job.proto;l=569
+ * See google/cloud/batch/v1alpha/job.proto;l=570
* @param value The provisioningModels to add.
* @return This builder for chaining.
*/
@@ -16216,7 +16228,7 @@ public Builder addProvisioningModels(
*
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated.
- * See google/cloud/batch/v1alpha/job.proto;l=569
+ * See google/cloud/batch/v1alpha/job.proto;l=570
* @param values The provisioningModels to add.
* @return This builder for chaining.
*/
@@ -16244,7 +16256,7 @@ public Builder addAllProvisioningModels(
*
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated.
- * See google/cloud/batch/v1alpha/job.proto;l=569
+ * See google/cloud/batch/v1alpha/job.proto;l=570
* @return This builder for chaining.
*/
@java.lang.Deprecated
@@ -16266,7 +16278,7 @@ public Builder clearProvisioningModels() {
*
*
* @deprecated google.cloud.batch.v1alpha.AllocationPolicy.provisioning_models is deprecated.
- * See google/cloud/batch/v1alpha/job.proto;l=569
+ * See google/cloud/batch/v1alpha/job.proto;l=570
* @return A list containing the enum numeric values on the wire for provisioningModels.
*/
@java.lang.Deprecated
@@ -16285,7 +16297,7 @@ public java.util.Liststring 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=572
+ * See google/cloud/batch/v1alpha/job.proto;l=573
* @return The bytes for serviceAccountEmail.
*/
@java.lang.Deprecated
@@ -16427,7 +16439,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=572
+ * See google/cloud/batch/v1alpha/job.proto;l=573
* @param value The serviceAccountEmail to set.
* @return This builder for chaining.
*/
@@ -16451,7 +16463,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=572
+ * See google/cloud/batch/v1alpha/job.proto;l=573
* @return This builder for chaining.
*/
@java.lang.Deprecated
@@ -16471,7 +16483,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=572
+ * See google/cloud/batch/v1alpha/job.proto;l=573
* @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 86aa0776dd29..be43db721a7c 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=559
+ * google/cloud/batch/v1alpha/job.proto;l=560
* @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=559
+ * google/cloud/batch/v1alpha/job.proto;l=560
* @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=566
+ * google/cloud/batch/v1alpha/job.proto;l=567
* @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=566
+ * google/cloud/batch/v1alpha/job.proto;l=567
* @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=566
+ * google/cloud/batch/v1alpha/job.proto;l=567
* @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=566
+ * google/cloud/batch/v1alpha/job.proto;l=567
* @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=569
+ * google/cloud/batch/v1alpha/job.proto;l=570
* @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=569
+ * google/cloud/batch/v1alpha/job.proto;l=570
* @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=569
+ * google/cloud/batch/v1alpha/job.proto;l=570
* @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=569
+ * google/cloud/batch/v1alpha/job.proto;l=570
* @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=569
+ * google/cloud/batch/v1alpha/job.proto;l=570
* @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=572
+ * See google/cloud/batch/v1alpha/job.proto;l=573
* @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=572
+ * See google/cloud/batch/v1alpha/job.proto;l=573
* @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/JobProto.java b/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/JobProto.java
index 7fdbb99bf9a6..2a0d24711feb 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\"\232\021\n\020AllocationPolicy\022M\n"
+ + "_STATE_CHANGED\020\002\"\240\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"
@@ -250,7 +250,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "_disk\030\002 \001(\tH\000\022\023\n\013device_name\030\003 \001(\tB\n\n\010at"
+ "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\034\n\016driver_version\030\004 \001(\tB\004\342A\001\001\032\264\003\n\016In"
+ + "\002\030\001\022\034\n\016driver_version\030\004 \001(\tB\004\342A\001\001\032\272\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 "
@@ -261,47 +261,48 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\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;."
+ + "ttachedDisk\022\031\n\013reservation\030\007 \001(\tB\004\342A\001\001\032\266"
+ + "\001\n\030InstancePolicyOrTemplate\022M\n\006policy\030\001 "
+ + "\001(\0132;.google.cloud.batch.v1alpha.Allocat"
+ + "ionPolicy.InstancePolicyH\000\022\033\n\021instance_t"
+ + "emplate\030\002 \001(\tH\000\022\033\n\023install_gpu_drivers\030\003"
+ + " \001(\010B\021\n\017policy_template\032W\n\020NetworkInterf"
+ + "ace\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\rNetw"
+ + "orkPolicy\022Y\n\022network_interfaces\030\001 \003(\0132=."
+ "google.cloud.batch.v1alpha.AllocationPol"
- + "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"
+ + "icy.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\036PROVIS"
+ + "IONING_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\tTaskGrou"
+ + "p\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\022=\n\ttask_spec\030\003 \001(\013"
+ + "2$.google.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\022Q\n\021scheduling_policy\030\006 \001(\01626.googl"
+ + "e.cloud.batch.v1alpha.TaskGroup.Scheduli"
+ + "ngPolicy\022G\n\021allocation_policy\030\007 \001(\0132,.go"
+ + "ogle.cloud.batch.v1alpha.AllocationPolic"
+ + "y\022A\n\006labels\030\010 \003(\01321.google.cloud.batch.v"
+ + "1alpha.TaskGroup.LabelsEntry\022B\n\021task_env"
+ + "ironments\030\t \003(\0132\'.google.cloud.batch.v1a"
+ + "lpha.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\016per"
+ + "missive_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\020SchedulingPo"
+ + "licy\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\036batch.googleapis.com/TaskGroup\022Jpro"
+ + "jects/{project}/locations/{location}/job"
+ + "s/{job}/taskGroups/{task_group}\"/\n\016Servi"
+ + "ceAccount\022\r\n\005email\030\001 \001(\t\022\016\n\006scopes\030\002 \003(\t"
+ + "B\302\001\n\036com.google.cloud.batch.v1alphaB\010Job"
+ + "ProtoP\001Z4cloud.google.com/go/batch/apiv1"
+ + "alpha/batchpb;batchpb\242\002\003GCB\252\002\032Google.Clo"
+ + "ud.Batch.V1Alpha\312\002\032Google\\Cloud\\Batch\\V1"
+ + "alpha\352\002\035Google::Cloud::Batch::V1alphab\006p"
+ + "roto3"
};
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/Runnable.java b/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/Runnable.java
index 63ce06748a99..0e7173e27eb8 100644
--- a/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/Runnable.java
+++ b/java-batch/proto-google-cloud-batch-v1alpha/src/main/java/com/google/cloud/batch/v1alpha/Runnable.java
@@ -195,6 +195,14 @@ public interface ContainerOrBuilder
* Volumes to mount (bind mount) from the host machine files or directories
* into the container, formatted to match docker run's --volume option,
* e.g. /foo:/bar, or /foo:/bar:ro
+ *
+ * If the `TaskSpec.Volumes` field is specified but this field is not, Batch
+ * will mount each volume from the host machine to the container with the
+ * same mount path by default. In this case, the default mount option for
+ * containers will be read-only (ro) for existing persistent disks and
+ * read-write (rw) for other volume types, regardless of the original mount
+ * options specified in `TaskSpec.Volumes`. If you need different mount
+ * settings, you can explicitly configure them in this field.
*
*
* repeated string volumes = 7;
@@ -209,6 +217,14 @@ public interface ContainerOrBuilder
* Volumes to mount (bind mount) from the host machine files or directories
* into the container, formatted to match docker run's --volume option,
* e.g. /foo:/bar, or /foo:/bar:ro
+ *
+ * If the `TaskSpec.Volumes` field is specified but this field is not, Batch
+ * will mount each volume from the host machine to the container with the
+ * same mount path by default. In this case, the default mount option for
+ * containers will be read-only (ro) for existing persistent disks and
+ * read-write (rw) for other volume types, regardless of the original mount
+ * options specified in `TaskSpec.Volumes`. If you need different mount
+ * settings, you can explicitly configure them in this field.
*
*
* repeated string volumes = 7;
@@ -223,6 +239,14 @@ public interface ContainerOrBuilder
* Volumes to mount (bind mount) from the host machine files or directories
* into the container, formatted to match docker run's --volume option,
* e.g. /foo:/bar, or /foo:/bar:ro
+ *
+ * If the `TaskSpec.Volumes` field is specified but this field is not, Batch
+ * will mount each volume from the host machine to the container with the
+ * same mount path by default. In this case, the default mount option for
+ * containers will be read-only (ro) for existing persistent disks and
+ * read-write (rw) for other volume types, regardless of the original mount
+ * options specified in `TaskSpec.Volumes`. If you need different mount
+ * settings, you can explicitly configure them in this field.
*
*
* repeated string volumes = 7;
@@ -238,6 +262,14 @@ public interface ContainerOrBuilder
* Volumes to mount (bind mount) from the host machine files or directories
* into the container, formatted to match docker run's --volume option,
* e.g. /foo:/bar, or /foo:/bar:ro
+ *
+ * If the `TaskSpec.Volumes` field is specified but this field is not, Batch
+ * will mount each volume from the host machine to the container with the
+ * same mount path by default. In this case, the default mount option for
+ * containers will be read-only (ro) for existing persistent disks and
+ * read-write (rw) for other volume types, regardless of the original mount
+ * options specified in `TaskSpec.Volumes`. If you need different mount
+ * settings, you can explicitly configure them in this field.
*
*
* repeated string volumes = 7;
@@ -601,6 +633,14 @@ public com.google.protobuf.ByteString getEntrypointBytes() {
* Volumes to mount (bind mount) from the host machine files or directories
* into the container, formatted to match docker run's --volume option,
* e.g. /foo:/bar, or /foo:/bar:ro
+ *
+ * If the `TaskSpec.Volumes` field is specified but this field is not, Batch
+ * will mount each volume from the host machine to the container with the
+ * same mount path by default. In this case, the default mount option for
+ * containers will be read-only (ro) for existing persistent disks and
+ * read-write (rw) for other volume types, regardless of the original mount
+ * options specified in `TaskSpec.Volumes`. If you need different mount
+ * settings, you can explicitly configure them in this field.
*
*
* repeated string volumes = 7;
@@ -617,6 +657,14 @@ public com.google.protobuf.ProtocolStringList getVolumesList() {
* Volumes to mount (bind mount) from the host machine files or directories
* into the container, formatted to match docker run's --volume option,
* e.g. /foo:/bar, or /foo:/bar:ro
+ *
+ * If the `TaskSpec.Volumes` field is specified but this field is not, Batch
+ * will mount each volume from the host machine to the container with the
+ * same mount path by default. In this case, the default mount option for
+ * containers will be read-only (ro) for existing persistent disks and
+ * read-write (rw) for other volume types, regardless of the original mount
+ * options specified in `TaskSpec.Volumes`. If you need different mount
+ * settings, you can explicitly configure them in this field.
*
*
* repeated string volumes = 7;
@@ -633,6 +681,14 @@ public int getVolumesCount() {
* Volumes to mount (bind mount) from the host machine files or directories
* into the container, formatted to match docker run's --volume option,
* e.g. /foo:/bar, or /foo:/bar:ro
+ *
+ * If the `TaskSpec.Volumes` field is specified but this field is not, Batch
+ * will mount each volume from the host machine to the container with the
+ * same mount path by default. In this case, the default mount option for
+ * containers will be read-only (ro) for existing persistent disks and
+ * read-write (rw) for other volume types, regardless of the original mount
+ * options specified in `TaskSpec.Volumes`. If you need different mount
+ * settings, you can explicitly configure them in this field.
*
*
* repeated string volumes = 7;
@@ -650,6 +706,14 @@ public java.lang.String getVolumes(int index) {
* Volumes to mount (bind mount) from the host machine files or directories
* into the container, formatted to match docker run's --volume option,
* e.g. /foo:/bar, or /foo:/bar:ro
+ *
+ * If the `TaskSpec.Volumes` field is specified but this field is not, Batch
+ * will mount each volume from the host machine to the container with the
+ * same mount path by default. In this case, the default mount option for
+ * containers will be read-only (ro) for existing persistent disks and
+ * read-write (rw) for other volume types, regardless of the original mount
+ * options specified in `TaskSpec.Volumes`. If you need different mount
+ * settings, you can explicitly configure them in this field.
*
*
* repeated string volumes = 7;
@@ -1849,6 +1913,14 @@ private void ensureVolumesIsMutable() {
* Volumes to mount (bind mount) from the host machine files or directories
* into the container, formatted to match docker run's --volume option,
* e.g. /foo:/bar, or /foo:/bar:ro
+ *
+ * If the `TaskSpec.Volumes` field is specified but this field is not, Batch
+ * will mount each volume from the host machine to the container with the
+ * same mount path by default. In this case, the default mount option for
+ * containers will be read-only (ro) for existing persistent disks and
+ * read-write (rw) for other volume types, regardless of the original mount
+ * options specified in `TaskSpec.Volumes`. If you need different mount
+ * settings, you can explicitly configure them in this field.
*
*
* repeated string volumes = 7;
@@ -1866,6 +1938,14 @@ public com.google.protobuf.ProtocolStringList getVolumesList() {
* Volumes to mount (bind mount) from the host machine files or directories
* into the container, formatted to match docker run's --volume option,
* e.g. /foo:/bar, or /foo:/bar:ro
+ *
+ * If the `TaskSpec.Volumes` field is specified but this field is not, Batch
+ * will mount each volume from the host machine to the container with the
+ * same mount path by default. In this case, the default mount option for
+ * containers will be read-only (ro) for existing persistent disks and
+ * read-write (rw) for other volume types, regardless of the original mount
+ * options specified in `TaskSpec.Volumes`. If you need different mount
+ * settings, you can explicitly configure them in this field.
*
*
* repeated string volumes = 7;
@@ -1882,6 +1962,14 @@ public int getVolumesCount() {
* Volumes to mount (bind mount) from the host machine files or directories
* into the container, formatted to match docker run's --volume option,
* e.g. /foo:/bar, or /foo:/bar:ro
+ *
+ * If the `TaskSpec.Volumes` field is specified but this field is not, Batch
+ * will mount each volume from the host machine to the container with the
+ * same mount path by default. In this case, the default mount option for
+ * containers will be read-only (ro) for existing persistent disks and
+ * read-write (rw) for other volume types, regardless of the original mount
+ * options specified in `TaskSpec.Volumes`. If you need different mount
+ * settings, you can explicitly configure them in this field.
*
*
* repeated string volumes = 7;
@@ -1899,6 +1987,14 @@ public java.lang.String getVolumes(int index) {
* Volumes to mount (bind mount) from the host machine files or directories
* into the container, formatted to match docker run's --volume option,
* e.g. /foo:/bar, or /foo:/bar:ro
+ *
+ * If the `TaskSpec.Volumes` field is specified but this field is not, Batch
+ * will mount each volume from the host machine to the container with the
+ * same mount path by default. In this case, the default mount option for
+ * containers will be read-only (ro) for existing persistent disks and
+ * read-write (rw) for other volume types, regardless of the original mount
+ * options specified in `TaskSpec.Volumes`. If you need different mount
+ * settings, you can explicitly configure them in this field.
*
*
* repeated string volumes = 7;
@@ -1916,6 +2012,14 @@ public com.google.protobuf.ByteString getVolumesBytes(int index) {
* Volumes to mount (bind mount) from the host machine files or directories
* into the container, formatted to match docker run's --volume option,
* e.g. /foo:/bar, or /foo:/bar:ro
+ *
+ * If the `TaskSpec.Volumes` field is specified but this field is not, Batch
+ * will mount each volume from the host machine to the container with the
+ * same mount path by default. In this case, the default mount option for
+ * containers will be read-only (ro) for existing persistent disks and
+ * read-write (rw) for other volume types, regardless of the original mount
+ * options specified in `TaskSpec.Volumes`. If you need different mount
+ * settings, you can explicitly configure them in this field.
*
*
* repeated string volumes = 7;
@@ -1941,6 +2045,14 @@ public Builder setVolumes(int index, java.lang.String value) {
* Volumes to mount (bind mount) from the host machine files or directories
* into the container, formatted to match docker run's --volume option,
* e.g. /foo:/bar, or /foo:/bar:ro
+ *
+ * If the `TaskSpec.Volumes` field is specified but this field is not, Batch
+ * will mount each volume from the host machine to the container with the
+ * same mount path by default. In this case, the default mount option for
+ * containers will be read-only (ro) for existing persistent disks and
+ * read-write (rw) for other volume types, regardless of the original mount
+ * options specified in `TaskSpec.Volumes`. If you need different mount
+ * settings, you can explicitly configure them in this field.
*
*
* repeated string volumes = 7;
@@ -1965,6 +2077,14 @@ public Builder addVolumes(java.lang.String value) {
* Volumes to mount (bind mount) from the host machine files or directories
* into the container, formatted to match docker run's --volume option,
* e.g. /foo:/bar, or /foo:/bar:ro
+ *
+ * If the `TaskSpec.Volumes` field is specified but this field is not, Batch
+ * will mount each volume from the host machine to the container with the
+ * same mount path by default. In this case, the default mount option for
+ * containers will be read-only (ro) for existing persistent disks and
+ * read-write (rw) for other volume types, regardless of the original mount
+ * options specified in `TaskSpec.Volumes`. If you need different mount
+ * settings, you can explicitly configure them in this field.
*
*
* repeated string volumes = 7;
@@ -1986,6 +2106,14 @@ public Builder addAllVolumes(java.lang.Iterablerepeated string volumes = 7;
@@ -2006,6 +2134,14 @@ public Builder clearVolumes() {
* Volumes to mount (bind mount) from the host machine files or directories
* into the container, formatted to match docker run's --volume option,
* e.g. /foo:/bar, or /foo:/bar:ro
+ *
+ * If the `TaskSpec.Volumes` field is specified but this field is not, Batch
+ * will mount each volume from the host machine to the container with the
+ * same mount path by default. In this case, the default mount option for
+ * containers will be read-only (ro) for existing persistent disks and
+ * read-write (rw) for other volume types, regardless of the original mount
+ * options specified in `TaskSpec.Volumes`. If you need different mount
+ * settings, you can explicitly configure them in this field.
*
*
* repeated string volumes = 7;
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 ced8e9e68cbf..9f88259801dd 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
@@ -332,6 +332,7 @@ message AllocationPolicy {
// * `batch-centos`: use Batch CentOS images.
// * `batch-cos`: use Batch Container-Optimized images.
// * `batch-hpc-centos`: use Batch HPC CentOS images.
+ // * `batch-hpc-rocky`: use Batch HPC Rocky Linux images.
string image = 4;
// Name of a snapshot used as the data source.
@@ -445,9 +446,9 @@ message AllocationPolicy {
// storage and accessing.
repeated AttachedDisk disks = 6;
- // If specified, VMs will consume only the specified reservation.
+ // Optional. If specified, VMs will consume only the specified reservation.
// If not specified (default), VMs will consume any applicable reservation.
- string reservation = 7;
+ string reservation = 7 [(google.api.field_behavior) = OPTIONAL];
}
// InstancePolicyOrTemplate lets you define the type of resources to use for
diff --git a/java-batch/proto-google-cloud-batch-v1alpha/src/main/proto/google/cloud/batch/v1alpha/task.proto b/java-batch/proto-google-cloud-batch-v1alpha/src/main/proto/google/cloud/batch/v1alpha/task.proto
index 7e6afdc21e59..4c61e4f333bc 100644
--- a/java-batch/proto-google-cloud-batch-v1alpha/src/main/proto/google/cloud/batch/v1alpha/task.proto
+++ b/java-batch/proto-google-cloud-batch-v1alpha/src/main/proto/google/cloud/batch/v1alpha/task.proto
@@ -178,6 +178,14 @@ message Runnable {
// Volumes to mount (bind mount) from the host machine files or directories
// into the container, formatted to match docker run's --volume option,
// e.g. /foo:/bar, or /foo:/bar:ro
+ //
+ // If the `TaskSpec.Volumes` field is specified but this field is not, Batch
+ // will mount each volume from the host machine to the container with the
+ // same mount path by default. In this case, the default mount option for
+ // containers will be read-only (ro) for existing persistent disks and
+ // read-write (rw) for other volume types, regardless of the original mount
+ // options specified in `TaskSpec.Volumes`. If you need different mount
+ // settings, you can explicitly configure them in this field.
repeated string volumes = 7;
// Arbitrary additional options to include in the "docker run" command when