@@ -44,6 +44,7 @@ private MachineSpec() {
4444 acceleratorType_ = 0 ;
4545 gpuPartitionSize_ = "" ;
4646 tpuTopology_ = "" ;
47+ minGpuDriverVersion_ = "" ;
4748 }
4849
4950 @ java .lang .Override
@@ -434,6 +435,67 @@ public com.google.cloud.aiplatform.v1beta1.ReservationAffinity getReservationAff
434435 : reservationAffinity_ ;
435436 }
436437
438+ public static final int MIN_GPU_DRIVER_VERSION_FIELD_NUMBER = 9 ;
439+
440+ @ SuppressWarnings ("serial" )
441+ private volatile java .lang .Object minGpuDriverVersion_ = "" ;
442+
443+ /**
444+ *
445+ *
446+ * <pre>
447+ * Optional. Immutable. The minimum GPU driver version that this machine
448+ * requires. For example, "535.104.06". If not specified, the default GPU
449+ * driver version will be used by the underlying infrastructure.
450+ * </pre>
451+ *
452+ * <code>
453+ * string min_gpu_driver_version = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
454+ * </code>
455+ *
456+ * @return The minGpuDriverVersion.
457+ */
458+ @ java .lang .Override
459+ public java .lang .String getMinGpuDriverVersion () {
460+ java .lang .Object ref = minGpuDriverVersion_ ;
461+ if (ref instanceof java .lang .String ) {
462+ return (java .lang .String ) ref ;
463+ } else {
464+ com .google .protobuf .ByteString bs = (com .google .protobuf .ByteString ) ref ;
465+ java .lang .String s = bs .toStringUtf8 ();
466+ minGpuDriverVersion_ = s ;
467+ return s ;
468+ }
469+ }
470+
471+ /**
472+ *
473+ *
474+ * <pre>
475+ * Optional. Immutable. The minimum GPU driver version that this machine
476+ * requires. For example, "535.104.06". If not specified, the default GPU
477+ * driver version will be used by the underlying infrastructure.
478+ * </pre>
479+ *
480+ * <code>
481+ * string min_gpu_driver_version = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
482+ * </code>
483+ *
484+ * @return The bytes for minGpuDriverVersion.
485+ */
486+ @ java .lang .Override
487+ public com .google .protobuf .ByteString getMinGpuDriverVersionBytes () {
488+ java .lang .Object ref = minGpuDriverVersion_ ;
489+ if (ref instanceof java .lang .String ) {
490+ com .google .protobuf .ByteString b =
491+ com .google .protobuf .ByteString .copyFromUtf8 ((java .lang .String ) ref );
492+ minGpuDriverVersion_ = b ;
493+ return b ;
494+ } else {
495+ return (com .google .protobuf .ByteString ) ref ;
496+ }
497+ }
498+
437499 private byte memoizedIsInitialized = -1 ;
438500
439501 @ java .lang .Override
@@ -471,6 +533,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
471533 if (!com .google .protobuf .GeneratedMessageV3 .isStringEmpty (gpuPartitionSize_ )) {
472534 com .google .protobuf .GeneratedMessageV3 .writeString (output , 7 , gpuPartitionSize_ );
473535 }
536+ if (!com .google .protobuf .GeneratedMessageV3 .isStringEmpty (minGpuDriverVersion_ )) {
537+ com .google .protobuf .GeneratedMessageV3 .writeString (output , 9 , minGpuDriverVersion_ );
538+ }
474539 getUnknownFields ().writeTo (output );
475540 }
476541
@@ -503,6 +568,9 @@ public int getSerializedSize() {
503568 if (!com .google .protobuf .GeneratedMessageV3 .isStringEmpty (gpuPartitionSize_ )) {
504569 size += com .google .protobuf .GeneratedMessageV3 .computeStringSize (7 , gpuPartitionSize_ );
505570 }
571+ if (!com .google .protobuf .GeneratedMessageV3 .isStringEmpty (minGpuDriverVersion_ )) {
572+ size += com .google .protobuf .GeneratedMessageV3 .computeStringSize (9 , minGpuDriverVersion_ );
573+ }
506574 size += getUnknownFields ().getSerializedSize ();
507575 memoizedSize = size ;
508576 return size ;
@@ -529,6 +597,7 @@ public boolean equals(final java.lang.Object obj) {
529597 if (hasReservationAffinity ()) {
530598 if (!getReservationAffinity ().equals (other .getReservationAffinity ())) return false ;
531599 }
600+ if (!getMinGpuDriverVersion ().equals (other .getMinGpuDriverVersion ())) return false ;
532601 if (!getUnknownFields ().equals (other .getUnknownFields ())) return false ;
533602 return true ;
534603 }
@@ -556,6 +625,8 @@ public int hashCode() {
556625 hash = (37 * hash ) + RESERVATION_AFFINITY_FIELD_NUMBER ;
557626 hash = (53 * hash ) + getReservationAffinity ().hashCode ();
558627 }
628+ hash = (37 * hash ) + MIN_GPU_DRIVER_VERSION_FIELD_NUMBER ;
629+ hash = (53 * hash ) + getMinGpuDriverVersion ().hashCode ();
559630 hash = (29 * hash ) + getUnknownFields ().hashCode ();
560631 memoizedHashCode = hash ;
561632 return hash ;
@@ -716,6 +787,7 @@ public Builder clear() {
716787 reservationAffinityBuilder_ .dispose ();
717788 reservationAffinityBuilder_ = null ;
718789 }
790+ minGpuDriverVersion_ = "" ;
719791 return this ;
720792 }
721793
@@ -778,6 +850,9 @@ private void buildPartial0(com.google.cloud.aiplatform.v1beta1.MachineSpec resul
778850 : reservationAffinityBuilder_ .build ();
779851 to_bitField0_ |= 0x00000001 ;
780852 }
853+ if (((from_bitField0_ & 0x00000080 ) != 0 )) {
854+ result .minGpuDriverVersion_ = minGpuDriverVersion_ ;
855+ }
781856 result .bitField0_ |= to_bitField0_ ;
782857 }
783858
@@ -854,6 +929,11 @@ public Builder mergeFrom(com.google.cloud.aiplatform.v1beta1.MachineSpec other)
854929 if (other .hasReservationAffinity ()) {
855930 mergeReservationAffinity (other .getReservationAffinity ());
856931 }
932+ if (!other .getMinGpuDriverVersion ().isEmpty ()) {
933+ minGpuDriverVersion_ = other .minGpuDriverVersion_ ;
934+ bitField0_ |= 0x00000080 ;
935+ onChanged ();
936+ }
857937 this .mergeUnknownFields (other .getUnknownFields ());
858938 onChanged ();
859939 return this ;
@@ -923,6 +1003,12 @@ public Builder mergeFrom(
9231003 bitField0_ |= 0x00000008 ;
9241004 break ;
9251005 } // case 58
1006+ case 74 :
1007+ {
1008+ minGpuDriverVersion_ = input .readStringRequireUtf8 ();
1009+ bitField0_ |= 0x00000080 ;
1010+ break ;
1011+ } // case 74
9261012 default :
9271013 {
9281014 if (!super .parseUnknownField (input , extensionRegistry , tag )) {
@@ -1880,6 +1966,137 @@ public Builder clearReservationAffinity() {
18801966 return reservationAffinityBuilder_ ;
18811967 }
18821968
1969+ private java .lang .Object minGpuDriverVersion_ = "" ;
1970+
1971+ /**
1972+ *
1973+ *
1974+ * <pre>
1975+ * Optional. Immutable. The minimum GPU driver version that this machine
1976+ * requires. For example, "535.104.06". If not specified, the default GPU
1977+ * driver version will be used by the underlying infrastructure.
1978+ * </pre>
1979+ *
1980+ * <code>
1981+ * string min_gpu_driver_version = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
1982+ * </code>
1983+ *
1984+ * @return The minGpuDriverVersion.
1985+ */
1986+ public java .lang .String getMinGpuDriverVersion () {
1987+ java .lang .Object ref = minGpuDriverVersion_ ;
1988+ if (!(ref instanceof java .lang .String )) {
1989+ com .google .protobuf .ByteString bs = (com .google .protobuf .ByteString ) ref ;
1990+ java .lang .String s = bs .toStringUtf8 ();
1991+ minGpuDriverVersion_ = s ;
1992+ return s ;
1993+ } else {
1994+ return (java .lang .String ) ref ;
1995+ }
1996+ }
1997+
1998+ /**
1999+ *
2000+ *
2001+ * <pre>
2002+ * Optional. Immutable. The minimum GPU driver version that this machine
2003+ * requires. For example, "535.104.06". If not specified, the default GPU
2004+ * driver version will be used by the underlying infrastructure.
2005+ * </pre>
2006+ *
2007+ * <code>
2008+ * string min_gpu_driver_version = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
2009+ * </code>
2010+ *
2011+ * @return The bytes for minGpuDriverVersion.
2012+ */
2013+ public com .google .protobuf .ByteString getMinGpuDriverVersionBytes () {
2014+ java .lang .Object ref = minGpuDriverVersion_ ;
2015+ if (ref instanceof String ) {
2016+ com .google .protobuf .ByteString b =
2017+ com .google .protobuf .ByteString .copyFromUtf8 ((java .lang .String ) ref );
2018+ minGpuDriverVersion_ = b ;
2019+ return b ;
2020+ } else {
2021+ return (com .google .protobuf .ByteString ) ref ;
2022+ }
2023+ }
2024+
2025+ /**
2026+ *
2027+ *
2028+ * <pre>
2029+ * Optional. Immutable. The minimum GPU driver version that this machine
2030+ * requires. For example, "535.104.06". If not specified, the default GPU
2031+ * driver version will be used by the underlying infrastructure.
2032+ * </pre>
2033+ *
2034+ * <code>
2035+ * string min_gpu_driver_version = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
2036+ * </code>
2037+ *
2038+ * @param value The minGpuDriverVersion to set.
2039+ * @return This builder for chaining.
2040+ */
2041+ public Builder setMinGpuDriverVersion (java .lang .String value ) {
2042+ if (value == null ) {
2043+ throw new NullPointerException ();
2044+ }
2045+ minGpuDriverVersion_ = value ;
2046+ bitField0_ |= 0x00000080 ;
2047+ onChanged ();
2048+ return this ;
2049+ }
2050+
2051+ /**
2052+ *
2053+ *
2054+ * <pre>
2055+ * Optional. Immutable. The minimum GPU driver version that this machine
2056+ * requires. For example, "535.104.06". If not specified, the default GPU
2057+ * driver version will be used by the underlying infrastructure.
2058+ * </pre>
2059+ *
2060+ * <code>
2061+ * string min_gpu_driver_version = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
2062+ * </code>
2063+ *
2064+ * @return This builder for chaining.
2065+ */
2066+ public Builder clearMinGpuDriverVersion () {
2067+ minGpuDriverVersion_ = getDefaultInstance ().getMinGpuDriverVersion ();
2068+ bitField0_ = (bitField0_ & ~0x00000080 );
2069+ onChanged ();
2070+ return this ;
2071+ }
2072+
2073+ /**
2074+ *
2075+ *
2076+ * <pre>
2077+ * Optional. Immutable. The minimum GPU driver version that this machine
2078+ * requires. For example, "535.104.06". If not specified, the default GPU
2079+ * driver version will be used by the underlying infrastructure.
2080+ * </pre>
2081+ *
2082+ * <code>
2083+ * string min_gpu_driver_version = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
2084+ * </code>
2085+ *
2086+ * @param value The bytes for minGpuDriverVersion to set.
2087+ * @return This builder for chaining.
2088+ */
2089+ public Builder setMinGpuDriverVersionBytes (com .google .protobuf .ByteString value ) {
2090+ if (value == null ) {
2091+ throw new NullPointerException ();
2092+ }
2093+ checkByteStringIsUtf8 (value );
2094+ minGpuDriverVersion_ = value ;
2095+ bitField0_ |= 0x00000080 ;
2096+ onChanged ();
2097+ return this ;
2098+ }
2099+
18832100 @ java .lang .Override
18842101 public final Builder setUnknownFields (final com .google .protobuf .UnknownFieldSet unknownFields ) {
18852102 return super .setUnknownFields (unknownFields );
0 commit comments