Skip to content

Commit 8002742

Browse files
docs: [batch] update batch PD interface support (googleapis#9888)
* docs: update batch PD interface support PiperOrigin-RevId: 568434456 Source-Link: googleapis/googleapis@298d5a5 Source-Link: https://github.com/googleapis/googleapis-gen/commit/734d0ffe145debf119aff9a0b6cf5132962ecff1 Copy-Tag: eyJwIjoiamF2YS1iYXRjaC8uT3dsQm90LnlhbWwiLCJoIjoiNzM0ZDBmZmUxNDVkZWJmMTE5YWZmOWEwYjZjZjUxMzI5NjJlY2ZmMSJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * docs: update batch PD interface support PiperOrigin-RevId: 568443956 Source-Link: googleapis/googleapis@645178b Source-Link: https://github.com/googleapis/googleapis-gen/commit/cd6b2a8485a5e7c852d4dbbbc04300d0a06e8488 Copy-Tag: eyJwIjoiamF2YS1iYXRjaC8uT3dsQm90LnlhbWwiLCJoIjoiY2Q2YjJhODQ4NWE1ZTdjODUyZDRkYmJiYzA0MzAwZDBhMDZlODQ4OCJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent bce092a commit 8002742

5 files changed

Lines changed: 141 additions & 101 deletions

File tree

java-batch/proto-google-cloud-batch-v1/src/main/java/com/google/cloud/batch/v1/AllocationPolicy.java

Lines changed: 32 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1426,7 +1426,9 @@ public interface DiskOrBuilder
14261426
* <pre>
14271427
* Local SSDs are available through both "SCSI" and "NVMe" interfaces.
14281428
* If not indicated, "NVMe" will be the default one for local ssds.
1429-
* We only support "SCSI" for persistent disks now.
1429+
* This field is ignored for persistent disks as the interface is chosen
1430+
* automatically. See
1431+
* https://cloud.google.com/compute/docs/disks/persistent-disks#choose_an_interface.
14301432
* </pre>
14311433
*
14321434
* <code>string disk_interface = 6;</code>
@@ -1440,7 +1442,9 @@ public interface DiskOrBuilder
14401442
* <pre>
14411443
* Local SSDs are available through both "SCSI" and "NVMe" interfaces.
14421444
* If not indicated, "NVMe" will be the default one for local ssds.
1443-
* We only support "SCSI" for persistent disks now.
1445+
* This field is ignored for persistent disks as the interface is chosen
1446+
* automatically. See
1447+
* https://cloud.google.com/compute/docs/disks/persistent-disks#choose_an_interface.
14441448
* </pre>
14451449
*
14461450
* <code>string disk_interface = 6;</code>
@@ -1836,7 +1840,9 @@ public long getSizeGb() {
18361840
* <pre>
18371841
* Local SSDs are available through both "SCSI" and "NVMe" interfaces.
18381842
* If not indicated, "NVMe" will be the default one for local ssds.
1839-
* We only support "SCSI" for persistent disks now.
1843+
* This field is ignored for persistent disks as the interface is chosen
1844+
* automatically. See
1845+
* https://cloud.google.com/compute/docs/disks/persistent-disks#choose_an_interface.
18401846
* </pre>
18411847
*
18421848
* <code>string disk_interface = 6;</code>
@@ -1861,7 +1867,9 @@ public java.lang.String getDiskInterface() {
18611867
* <pre>
18621868
* Local SSDs are available through both "SCSI" and "NVMe" interfaces.
18631869
* If not indicated, "NVMe" will be the default one for local ssds.
1864-
* We only support "SCSI" for persistent disks now.
1870+
* This field is ignored for persistent disks as the interface is chosen
1871+
* automatically. See
1872+
* https://cloud.google.com/compute/docs/disks/persistent-disks#choose_an_interface.
18651873
* </pre>
18661874
*
18671875
* <code>string disk_interface = 6;</code>
@@ -2960,7 +2968,9 @@ public Builder clearSizeGb() {
29602968
* <pre>
29612969
* Local SSDs are available through both "SCSI" and "NVMe" interfaces.
29622970
* If not indicated, "NVMe" will be the default one for local ssds.
2963-
* We only support "SCSI" for persistent disks now.
2971+
* This field is ignored for persistent disks as the interface is chosen
2972+
* automatically. See
2973+
* https://cloud.google.com/compute/docs/disks/persistent-disks#choose_an_interface.
29642974
* </pre>
29652975
*
29662976
* <code>string disk_interface = 6;</code>
@@ -2984,7 +2994,9 @@ public java.lang.String getDiskInterface() {
29842994
* <pre>
29852995
* Local SSDs are available through both "SCSI" and "NVMe" interfaces.
29862996
* If not indicated, "NVMe" will be the default one for local ssds.
2987-
* We only support "SCSI" for persistent disks now.
2997+
* This field is ignored for persistent disks as the interface is chosen
2998+
* automatically. See
2999+
* https://cloud.google.com/compute/docs/disks/persistent-disks#choose_an_interface.
29883000
* </pre>
29893001
*
29903002
* <code>string disk_interface = 6;</code>
@@ -3008,7 +3020,9 @@ public com.google.protobuf.ByteString getDiskInterfaceBytes() {
30083020
* <pre>
30093021
* Local SSDs are available through both "SCSI" and "NVMe" interfaces.
30103022
* If not indicated, "NVMe" will be the default one for local ssds.
3011-
* We only support "SCSI" for persistent disks now.
3023+
* This field is ignored for persistent disks as the interface is chosen
3024+
* automatically. See
3025+
* https://cloud.google.com/compute/docs/disks/persistent-disks#choose_an_interface.
30123026
* </pre>
30133027
*
30143028
* <code>string disk_interface = 6;</code>
@@ -3031,7 +3045,9 @@ public Builder setDiskInterface(java.lang.String value) {
30313045
* <pre>
30323046
* Local SSDs are available through both "SCSI" and "NVMe" interfaces.
30333047
* If not indicated, "NVMe" will be the default one for local ssds.
3034-
* We only support "SCSI" for persistent disks now.
3048+
* This field is ignored for persistent disks as the interface is chosen
3049+
* automatically. See
3050+
* https://cloud.google.com/compute/docs/disks/persistent-disks#choose_an_interface.
30353051
* </pre>
30363052
*
30373053
* <code>string disk_interface = 6;</code>
@@ -3050,7 +3066,9 @@ public Builder clearDiskInterface() {
30503066
* <pre>
30513067
* Local SSDs are available through both "SCSI" and "NVMe" interfaces.
30523068
* If not indicated, "NVMe" will be the default one for local ssds.
3053-
* We only support "SCSI" for persistent disks now.
3069+
* This field is ignored for persistent disks as the interface is chosen
3070+
* automatically. See
3071+
* https://cloud.google.com/compute/docs/disks/persistent-disks#choose_an_interface.
30543072
* </pre>
30553073
*
30563074
* <code>string disk_interface = 6;</code>
@@ -4436,7 +4454,7 @@ public interface AcceleratorOrBuilder
44364454
* <code>bool install_gpu_drivers = 3 [deprecated = true];</code>
44374455
*
44384456
* @deprecated google.cloud.batch.v1.AllocationPolicy.Accelerator.install_gpu_drivers is
4439-
* deprecated. See google/cloud/batch/v1/job.proto;l=337
4457+
* deprecated. See google/cloud/batch/v1/job.proto;l=339
44404458
* @return The installGpuDrivers.
44414459
*/
44424460
@java.lang.Deprecated
@@ -4607,7 +4625,7 @@ public long getCount() {
46074625
* <code>bool install_gpu_drivers = 3 [deprecated = true];</code>
46084626
*
46094627
* @deprecated google.cloud.batch.v1.AllocationPolicy.Accelerator.install_gpu_drivers is
4610-
* deprecated. See google/cloud/batch/v1/job.proto;l=337
4628+
* deprecated. See google/cloud/batch/v1/job.proto;l=339
46114629
* @return The installGpuDrivers.
46124630
*/
46134631
@java.lang.Override
@@ -5269,7 +5287,7 @@ public Builder clearCount() {
52695287
* <code>bool install_gpu_drivers = 3 [deprecated = true];</code>
52705288
*
52715289
* @deprecated google.cloud.batch.v1.AllocationPolicy.Accelerator.install_gpu_drivers is
5272-
* deprecated. See google/cloud/batch/v1/job.proto;l=337
5290+
* deprecated. See google/cloud/batch/v1/job.proto;l=339
52735291
* @return The installGpuDrivers.
52745292
*/
52755293
@java.lang.Override
@@ -5287,7 +5305,7 @@ public boolean getInstallGpuDrivers() {
52875305
* <code>bool install_gpu_drivers = 3 [deprecated = true];</code>
52885306
*
52895307
* @deprecated google.cloud.batch.v1.AllocationPolicy.Accelerator.install_gpu_drivers is
5290-
* deprecated. See google/cloud/batch/v1/job.proto;l=337
5308+
* deprecated. See google/cloud/batch/v1/job.proto;l=339
52915309
* @param value The installGpuDrivers to set.
52925310
* @return This builder for chaining.
52935311
*/
@@ -5309,7 +5327,7 @@ public Builder setInstallGpuDrivers(boolean value) {
53095327
* <code>bool install_gpu_drivers = 3 [deprecated = true];</code>
53105328
*
53115329
* @deprecated google.cloud.batch.v1.AllocationPolicy.Accelerator.install_gpu_drivers is
5312-
* deprecated. See google/cloud/batch/v1/job.proto;l=337
5330+
* deprecated. See google/cloud/batch/v1/job.proto;l=339
53135331
* @return This builder for chaining.
53145332
*/
53155333
@java.lang.Deprecated

java-batch/proto-google-cloud-batch-v1/src/main/proto/google/cloud/batch/v1/job.proto

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,9 @@ message AllocationPolicy {
304304

305305
// Local SSDs are available through both "SCSI" and "NVMe" interfaces.
306306
// If not indicated, "NVMe" will be the default one for local ssds.
307-
// We only support "SCSI" for persistent disks now.
307+
// This field is ignored for persistent disks as the interface is chosen
308+
// automatically. See
309+
// https://cloud.google.com/compute/docs/disks/persistent-disks#choose_an_interface.
308310
string disk_interface = 6;
309311
}
310312

0 commit comments

Comments
 (0)