Class AutoUpgradeOptions.Builder (2.56.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 2.56.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   static   final   class  AutoUpgradeOptions . Builder   extends   GeneratedMessageV3 . Builder<AutoUpgradeOptions . Builder >  implements   AutoUpgradeOptionsOrBuilder  
   AutoUpgradeOptions defines the set of options for the user to control how
 the Auto Upgrades will proceed.
 Protobuf type google.container.v1.AutoUpgradeOptions
    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   AutoUpgradeOptions . Builder   addRepeatedField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  build() 
  
    
public   AutoUpgradeOptions   build ()  
  
  buildPartial() 
  
    
public   AutoUpgradeOptions   buildPartial ()  
  
  clear() 
  
    
public   AutoUpgradeOptions . Builder   clear ()  
  
  Overrides 
  
  clearAutoUpgradeStartTime() 
  
    
public   AutoUpgradeOptions . Builder   clearAutoUpgradeStartTime ()  
   Output only. This field is set when upgrades are about to commence
 with the approximate start time for the upgrades, in
 RFC3339  text format.
 string auto_upgrade_start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
clearDescription() 
  
    
public   AutoUpgradeOptions . Builder   clearDescription ()  
   Output only. This field is set when upgrades are about to commence
 with the description of the upgrade.
 string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
clearField(Descriptors.FieldDescriptor field) 
  
    
public   AutoUpgradeOptions . Builder   clearField ( Descriptors . FieldDescriptor   field )  
  
  
  Overrides 
  
  clearOneof(Descriptors.OneofDescriptor oneof) 
  
    
public   AutoUpgradeOptions . Builder   clearOneof ( Descriptors . OneofDescriptor   oneof )  
  
  
  Overrides 
  
  clone() 
  
    
public   AutoUpgradeOptions . Builder   clone ()  
  
  Overrides 
  
  getAutoUpgradeStartTime() 
  
    
public   String   getAutoUpgradeStartTime ()  
   Output only. This field is set when upgrades are about to commence
 with the approximate start time for the upgrades, in
 RFC3339  text format.
 string auto_upgrade_start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    
      
        Returns  
      
        Type Description  
      
        String The autoUpgradeStartTime.
 
     
  
  getAutoUpgradeStartTimeBytes() 
  
    
public   ByteString   getAutoUpgradeStartTimeBytes ()  
   Output only. This field is set when upgrades are about to commence
 with the approximate start time for the upgrades, in
 RFC3339  text format.
 string auto_upgrade_start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for autoUpgradeStartTime.
 
     
  
  getDefaultInstanceForType() 
  
    
public   AutoUpgradeOptions   getDefaultInstanceForType ()  
  
  getDescription() 
  
    
public   String   getDescription ()  
   Output only. This field is set when upgrades are about to commence
 with the description of the upgrade.
 string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    
      
        Returns  
      
        Type Description  
      
        String The description.
 
     
  
  getDescriptionBytes() 
  
    
public   ByteString   getDescriptionBytes ()  
   Output only. This field is set when upgrades are about to commence
 with the description of the upgrade.
 string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for description.
 
     
  
  getDescriptorForType() 
  
    
public   Descriptors . Descriptor   getDescriptorForType ()  
  
  Overrides 
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  mergeFrom(AutoUpgradeOptions other) 
  
    
public   AutoUpgradeOptions . Builder   mergeFrom ( AutoUpgradeOptions   other )  
  
  
  
    
public   AutoUpgradeOptions . Builder   mergeFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  Overrides 
  
  
  mergeFrom(Message other) 
  
    
public   AutoUpgradeOptions . Builder   mergeFrom ( Message   other )  
  
    
      
        Parameter  
      
        Name Description  
      
        otherMessage  
     
  
  
  Overrides 
  
  mergeUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   AutoUpgradeOptions . Builder   mergeUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  Overrides 
  
  setAutoUpgradeStartTime(String value) 
  
    
public   AutoUpgradeOptions . Builder   setAutoUpgradeStartTime ( String   value )  
   Output only. This field is set when upgrades are about to commence
 with the approximate start time for the upgrades, in
 RFC3339  text format.
 string auto_upgrade_start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    
      
        Parameter  
      
        Name Description  
      
        valueString The autoUpgradeStartTime to set.
 
     
  
  
  setAutoUpgradeStartTimeBytes(ByteString value) 
  
    
public   AutoUpgradeOptions . Builder   setAutoUpgradeStartTimeBytes ( ByteString   value )  
   Output only. This field is set when upgrades are about to commence
 with the approximate start time for the upgrades, in
 RFC3339  text format.
 string auto_upgrade_start_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    
      
        Parameter  
      
        Name Description  
      
        valueByteString The bytes for autoUpgradeStartTime to set.
 
     
  
  
  setDescription(String value) 
  
    
public   AutoUpgradeOptions . Builder   setDescription ( String   value )  
   Output only. This field is set when upgrades are about to commence
 with the description of the upgrade.
 string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    
      
        Parameter  
      
        Name Description  
      
        valueString The description to set.
 
     
  
  
  setDescriptionBytes(ByteString value) 
  
    
public   AutoUpgradeOptions . Builder   setDescriptionBytes ( ByteString   value )  
   Output only. This field is set when upgrades are about to commence
 with the description of the upgrade.
 string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    
      
        Parameter  
      
        Name Description  
      
        valueByteString The bytes for description to set.
 
     
  
  
  setField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   AutoUpgradeOptions . Builder   setField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) 
  
    
public   AutoUpgradeOptions . Builder   setRepeatedField ( Descriptors . FieldDescriptor   field ,   int   index ,   Object   value )  
  
  
  Overrides 
  
  setUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   AutoUpgradeOptions . 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-28 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-28 UTC."],[],[]]