Class GPUDriverConfig.Builder (1.74.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 1.74.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   static   final   class  GPUDriverConfig . Builder   extends   GeneratedMessageV3 . Builder<GPUDriverConfig . Builder >  implements   GPUDriverConfigOrBuilder  
   A GPU driver configuration
 Protobuf type google.cloud.notebooks.v2.GPUDriverConfig
    Inherited Members 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder() 
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int) 
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int) 
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString) 
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int) 
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int) 
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder) 
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Methods
   
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  Methods
   
  addRepeatedField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   GPUDriverConfig . Builder   addRepeatedField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  build() 
  
    
public   GPUDriverConfig   build ()  
  
  buildPartial() 
  
    
public   GPUDriverConfig   buildPartial ()  
  
  clear() 
  
    
public   GPUDriverConfig . Builder   clear ()  
  
  Overrides 
  
  clearCustomGpuDriverPath() 
  
    
public   GPUDriverConfig . Builder   clearCustomGpuDriverPath ()  
   Optional. Specify a custom Cloud Storage path where the GPU driver is
 stored. If not specified, we'll automatically choose from official GPU
 drivers.
 string custom_gpu_driver_path = 2 [(.google.api.field_behavior) = OPTIONAL];
clearEnableGpuDriver() 
  
    
public   GPUDriverConfig . Builder   clearEnableGpuDriver ()  
   Optional. Whether the end user authorizes Google Cloud to install GPU
 driver on this VM instance. If this field is empty or set to false, the GPU
 driver won't be installed. Only applicable to instances with GPUs.
 bool enable_gpu_driver = 1 [(.google.api.field_behavior) = OPTIONAL];
clearField(Descriptors.FieldDescriptor field) 
  
    
public   GPUDriverConfig . Builder   clearField ( Descriptors . FieldDescriptor   field )  
  
  
  Overrides 
  
  clearOneof(Descriptors.OneofDescriptor oneof) 
  
    
public   GPUDriverConfig . Builder   clearOneof ( Descriptors . OneofDescriptor   oneof )  
  
  
  Overrides 
  
  clone() 
  
    
public   GPUDriverConfig . Builder   clone ()  
  
  Overrides 
  
  getCustomGpuDriverPath() 
  
    
public   String   getCustomGpuDriverPath ()  
   Optional. Specify a custom Cloud Storage path where the GPU driver is
 stored. If not specified, we'll automatically choose from official GPU
 drivers.
 string custom_gpu_driver_path = 2 [(.google.api.field_behavior) = OPTIONAL];
    
      
        Returns  
      
        Type Description  
      
        String The customGpuDriverPath.
 
     
  
  getCustomGpuDriverPathBytes() 
  
    
public   ByteString   getCustomGpuDriverPathBytes ()  
   Optional. Specify a custom Cloud Storage path where the GPU driver is
 stored. If not specified, we'll automatically choose from official GPU
 drivers.
 string custom_gpu_driver_path = 2 [(.google.api.field_behavior) = OPTIONAL];
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for customGpuDriverPath.
 
     
  
  getDefaultInstanceForType() 
  
    
public   GPUDriverConfig   getDefaultInstanceForType ()  
  
  getDescriptorForType() 
  
    
public   Descriptors . Descriptor   getDescriptorForType ()  
  
  Overrides 
  
  getEnableGpuDriver() 
  
    
public   boolean   getEnableGpuDriver ()  
   Optional. Whether the end user authorizes Google Cloud to install GPU
 driver on this VM instance. If this field is empty or set to false, the GPU
 driver won't be installed. Only applicable to instances with GPUs.
 bool enable_gpu_driver = 1 [(.google.api.field_behavior) = OPTIONAL];
    
      
        Returns  
      
        Type Description  
      
        boolean The enableGpuDriver.
 
     
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  mergeFrom(GPUDriverConfig other) 
  
    
public   GPUDriverConfig . Builder   mergeFrom ( GPUDriverConfig   other )  
  
  
  
    
public   GPUDriverConfig . Builder   mergeFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  Overrides 
  
  
  mergeFrom(Message other) 
  
    
public   GPUDriverConfig . Builder   mergeFrom ( Message   other )  
  
    
      
        Parameter  
      
        Name Description  
      
        otherMessage  
     
  
  
  Overrides 
  
  mergeUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   GPUDriverConfig . Builder   mergeUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  Overrides 
  
  setCustomGpuDriverPath(String value) 
  
    
public   GPUDriverConfig . Builder   setCustomGpuDriverPath ( String   value )  
   Optional. Specify a custom Cloud Storage path where the GPU driver is
 stored. If not specified, we'll automatically choose from official GPU
 drivers.
 string custom_gpu_driver_path = 2 [(.google.api.field_behavior) = OPTIONAL];
    
      
        Parameter  
      
        Name Description  
      
        valueString The customGpuDriverPath to set.
 
     
  
  
  setCustomGpuDriverPathBytes(ByteString value) 
  
    
public   GPUDriverConfig . Builder   setCustomGpuDriverPathBytes ( ByteString   value )  
   Optional. Specify a custom Cloud Storage path where the GPU driver is
 stored. If not specified, we'll automatically choose from official GPU
 drivers.
 string custom_gpu_driver_path = 2 [(.google.api.field_behavior) = OPTIONAL];
    
      
        Parameter  
      
        Name Description  
      
        valueByteString The bytes for customGpuDriverPath to set.
 
     
  
  
  setEnableGpuDriver(boolean value) 
  
    
public   GPUDriverConfig . Builder   setEnableGpuDriver ( boolean   value )  
   Optional. Whether the end user authorizes Google Cloud to install GPU
 driver on this VM instance. If this field is empty or set to false, the GPU
 driver won't be installed. Only applicable to instances with GPUs.
 bool enable_gpu_driver = 1 [(.google.api.field_behavior) = OPTIONAL];
    
      
        Parameter  
      
        Name Description  
      
        valueboolean The enableGpuDriver to set.
 
     
  
  
  setField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   GPUDriverConfig . Builder   setField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) 
  
    
public   GPUDriverConfig . Builder   setRepeatedField ( Descriptors . FieldDescriptor   field ,   int   index ,   Object   value )  
  
  
  Overrides 
  
  setUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   GPUDriverConfig . Builder   setUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  Overrides 
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-29 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-29 UTC."],[],[]]