Class BootDiskConfig.Builder (2.32.0) 
  
      
     
  
  
  
   
  
    
  
  
    
    
    
  Version 2.32.0keyboard_arrow_down  
  
 
    
    
     
    
    
    
    
    
      
  
  
  
    
public   static   final   class  BootDiskConfig . Builder   extends   GeneratedMessageV3 . Builder<BootDiskConfig . Builder >  implements   BootDiskConfigOrBuilder  
   
   Boot disk configurations.
 Protobuf type google.cloud.tpu.v2alpha1.BootDiskConfig
 
  
  
  
    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   BootDiskConfig . Builder   addRepeatedField ( Descriptors . FieldDescriptor   field ,   Object   value )  
   
  
  
  Overrides 
  
   
  build() 
  
    
public   BootDiskConfig   build ()  
   
  
   
  buildPartial() 
  
    
public   BootDiskConfig   buildPartial ()  
   
  
   
  clear() 
  
    
public   BootDiskConfig . Builder   clear ()  
   
  
  Overrides 
  
   
  clearCustomerEncryptionKey() 
  
    
public   BootDiskConfig . Builder   clearCustomerEncryptionKey ()  
   
   Optional. Customer encryption key for boot disk.
 
 .google.cloud.tpu.v2alpha1.CustomerEncryptionKey customer_encryption_key = 1 [(.google.api.field_behavior) = OPTIONAL];
 
 
  
   
  clearEnableConfidentialCompute() 
  
    
public   BootDiskConfig . Builder   clearEnableConfidentialCompute ()  
   
   Optional. Whether the boot disk will be created with confidential compute
 mode.
 bool enable_confidential_compute = 2 [(.google.api.field_behavior) = OPTIONAL];
 
  
   
  clearField(Descriptors.FieldDescriptor field) 
  
    
public   BootDiskConfig . Builder   clearField ( Descriptors . FieldDescriptor   field )  
   
  
  
  Overrides 
  
   
  clearOneof(Descriptors.OneofDescriptor oneof) 
  
    
public   BootDiskConfig . Builder   clearOneof ( Descriptors . OneofDescriptor   oneof )  
   
  
  
  Overrides 
  
   
  clone() 
  
    
public   BootDiskConfig . Builder   clone ()  
   
  
  Overrides 
  
   
  getCustomerEncryptionKey() 
  
    
public   CustomerEncryptionKey   getCustomerEncryptionKey ()  
   
   Optional. Customer encryption key for boot disk.
 
 .google.cloud.tpu.v2alpha1.CustomerEncryptionKey customer_encryption_key = 1 [(.google.api.field_behavior) = OPTIONAL];
 
 
  
   
  getCustomerEncryptionKeyBuilder() 
  
    
public   CustomerEncryptionKey . Builder   getCustomerEncryptionKeyBuilder ()  
   
   Optional. Customer encryption key for boot disk.
 
 .google.cloud.tpu.v2alpha1.CustomerEncryptionKey customer_encryption_key = 1 [(.google.api.field_behavior) = OPTIONAL];
 
 
  
   
  getCustomerEncryptionKeyOrBuilder() 
  
    
public   CustomerEncryptionKeyOrBuilder   getCustomerEncryptionKeyOrBuilder ()  
   
   Optional. Customer encryption key for boot disk.
 
 .google.cloud.tpu.v2alpha1.CustomerEncryptionKey customer_encryption_key = 1 [(.google.api.field_behavior) = OPTIONAL];
 
 
  
   
  getDefaultInstanceForType() 
  
    
public   BootDiskConfig   getDefaultInstanceForType ()  
   
  
   
  getDescriptorForType() 
  
    
public   Descriptors . Descriptor   getDescriptorForType ()  
   
  
  Overrides 
  
   
  getEnableConfidentialCompute() 
  
    
public   boolean   getEnableConfidentialCompute ()  
   
   Optional. Whether the boot disk will be created with confidential compute
 mode.
 bool enable_confidential_compute = 2 [(.google.api.field_behavior) = OPTIONAL];
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        boolean  
        The enableConfidentialCompute.
 
       
     
  
   
  hasCustomerEncryptionKey() 
  
    
public   boolean   hasCustomerEncryptionKey ()  
   
   Optional. Customer encryption key for boot disk.
 
 .google.cloud.tpu.v2alpha1.CustomerEncryptionKey customer_encryption_key = 1 [(.google.api.field_behavior) = OPTIONAL];
 
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        boolean  
        Whether the customerEncryptionKey field is set.
 
       
     
  
   
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
   
  
  Overrides 
  
   
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
   
  
  Overrides 
  
   
  mergeCustomerEncryptionKey(CustomerEncryptionKey value) 
  
    
public   BootDiskConfig . Builder   mergeCustomerEncryptionKey ( CustomerEncryptionKey   value )  
   
   Optional. Customer encryption key for boot disk.
 
 .google.cloud.tpu.v2alpha1.CustomerEncryptionKey customer_encryption_key = 1 [(.google.api.field_behavior) = OPTIONAL];
 
 
  
  
   
  mergeFrom(BootDiskConfig other) 
  
    
public   BootDiskConfig . Builder   mergeFrom ( BootDiskConfig   other )  
   
  
  
   
  
  
    
public   BootDiskConfig . Builder   mergeFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  Overrides 
  
  
   
  mergeFrom(Message other) 
  
    
public   BootDiskConfig . Builder   mergeFrom ( Message   other )  
   
  
    
      
        Parameter  
       
      
        Name  
        Description  
       
      
        other 
        Message  
       
     
  
  
  Overrides 
  
   
  mergeUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   BootDiskConfig . Builder   mergeUnknownFields ( UnknownFieldSet   unknownFields )  
   
  
  
  Overrides 
  
   
  setCustomerEncryptionKey(CustomerEncryptionKey value) 
  
    
public   BootDiskConfig . Builder   setCustomerEncryptionKey ( CustomerEncryptionKey   value )  
   
   Optional. Customer encryption key for boot disk.
 
 .google.cloud.tpu.v2alpha1.CustomerEncryptionKey customer_encryption_key = 1 [(.google.api.field_behavior) = OPTIONAL];
 
 
  
  
   
  setCustomerEncryptionKey(CustomerEncryptionKey.Builder builderForValue) 
  
    
public   BootDiskConfig . Builder   setCustomerEncryptionKey ( CustomerEncryptionKey . Builder   builderForValue )  
   
   Optional. Customer encryption key for boot disk.
 
 .google.cloud.tpu.v2alpha1.CustomerEncryptionKey customer_encryption_key = 1 [(.google.api.field_behavior) = OPTIONAL];
 
 
  
  
   
  setEnableConfidentialCompute(boolean value) 
  
    
public   BootDiskConfig . Builder   setEnableConfidentialCompute ( boolean   value )  
   
   Optional. Whether the boot disk will be created with confidential compute
 mode.
 bool enable_confidential_compute = 2 [(.google.api.field_behavior) = OPTIONAL];
 
  
    
      
        Parameter  
       
      
        Name  
        Description  
       
      
        value 
        boolean The enableConfidentialCompute to set.
 
       
     
  
  
   
  setField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   BootDiskConfig . Builder   setField ( Descriptors . FieldDescriptor   field ,   Object   value )  
   
  
  
  Overrides 
  
   
  setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) 
  
    
public   BootDiskConfig . Builder   setRepeatedField ( Descriptors . FieldDescriptor   field ,   int   index ,   Object   value )  
   
  
  
  Overrides 
  
   
  setUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   BootDiskConfig . 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-30 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-30 UTC."],[],[]]