Class InstanceGroupManagerStatusStateful.Builder (1.58.0) 
  
      
     
  
  
  
   
  
    
  
  
    
    
    
  Version 1.58.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   static   final   class  InstanceGroupManagerStatusStateful . Builder   extends   GeneratedMessageV3 . Builder<InstanceGroupManagerStatusStateful . Builder >  implements   InstanceGroupManagerStatusStatefulOrBuilder  
   
   Protobuf type google.cloud.compute.v1.InstanceGroupManagerStatusStateful
 
  
  
  
    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   InstanceGroupManagerStatusStateful . Builder   addRepeatedField ( Descriptors . FieldDescriptor   field ,   Object   value )  
   
  
  
  Overrides 
  
   
  build() 
  
    
public   InstanceGroupManagerStatusStateful   build ()  
   
  
   
  buildPartial() 
  
    
public   InstanceGroupManagerStatusStateful   buildPartial ()  
   
  
   
  clear() 
  
    
public   InstanceGroupManagerStatusStateful . Builder   clear ()  
   
  
  Overrides 
  
   
  clearField(Descriptors.FieldDescriptor field) 
  
    
public   InstanceGroupManagerStatusStateful . Builder   clearField ( Descriptors . FieldDescriptor   field )  
   
  
  
  Overrides 
  
   
  clearHasStatefulConfig() 
  
    
public   InstanceGroupManagerStatusStateful . Builder   clearHasStatefulConfig ()  
   
   [Output Only] A bit indicating whether the managed instance group has stateful configuration, that is, if you have configured any items in a stateful policy or in per-instance configs. The group might report that it has no stateful configuration even when there is still some preserved state on a managed instance, for example, if you have deleted all PICs but not yet applied those deletions.
 optional bool has_stateful_config = 110474224;
 
  
   
  clearOneof(Descriptors.OneofDescriptor oneof) 
  
    
public   InstanceGroupManagerStatusStateful . Builder   clearOneof ( Descriptors . OneofDescriptor   oneof )  
   
  
  
  Overrides 
  
   
  clearPerInstanceConfigs() 
  
    
public   InstanceGroupManagerStatusStateful . Builder   clearPerInstanceConfigs ()  
   
   [Output Only] Status of per-instance configurations on the instances.
 
 optional .google.cloud.compute.v1.InstanceGroupManagerStatusStatefulPerInstanceConfigs per_instance_configs = 526265001;
 
 
  
   
  clone() 
  
    
public   InstanceGroupManagerStatusStateful . Builder   clone ()  
   
  
  Overrides 
  
   
  getDefaultInstanceForType() 
  
    
public   InstanceGroupManagerStatusStateful   getDefaultInstanceForType ()  
   
  
   
  getDescriptorForType() 
  
    
public   Descriptors . Descriptor   getDescriptorForType ()  
   
  
  Overrides 
  
   
  getHasStatefulConfig() 
  
    
public   boolean   getHasStatefulConfig ()  
   
   [Output Only] A bit indicating whether the managed instance group has stateful configuration, that is, if you have configured any items in a stateful policy or in per-instance configs. The group might report that it has no stateful configuration even when there is still some preserved state on a managed instance, for example, if you have deleted all PICs but not yet applied those deletions.
 optional bool has_stateful_config = 110474224;
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        boolean  
        The hasStatefulConfig.
 
       
     
  
   
  getPerInstanceConfigs() 
  
    
public   InstanceGroupManagerStatusStatefulPerInstanceConfigs   getPerInstanceConfigs ()  
   
   [Output Only] Status of per-instance configurations on the instances.
 
 optional .google.cloud.compute.v1.InstanceGroupManagerStatusStatefulPerInstanceConfigs per_instance_configs = 526265001;
 
 
  
   
  getPerInstanceConfigsBuilder() 
  
    
public   InstanceGroupManagerStatusStatefulPerInstanceConfigs . Builder   getPerInstanceConfigsBuilder ()  
   
   [Output Only] Status of per-instance configurations on the instances.
 
 optional .google.cloud.compute.v1.InstanceGroupManagerStatusStatefulPerInstanceConfigs per_instance_configs = 526265001;
 
 
  
   
  getPerInstanceConfigsOrBuilder() 
  
    
public   InstanceGroupManagerStatusStatefulPerInstanceConfigsOrBuilder   getPerInstanceConfigsOrBuilder ()  
   
   [Output Only] Status of per-instance configurations on the instances.
 
 optional .google.cloud.compute.v1.InstanceGroupManagerStatusStatefulPerInstanceConfigs per_instance_configs = 526265001;
 
 
  
   
  hasHasStatefulConfig() 
  
    
public   boolean   hasHasStatefulConfig ()  
   
   [Output Only] A bit indicating whether the managed instance group has stateful configuration, that is, if you have configured any items in a stateful policy or in per-instance configs. The group might report that it has no stateful configuration even when there is still some preserved state on a managed instance, for example, if you have deleted all PICs but not yet applied those deletions.
 optional bool has_stateful_config = 110474224;
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        boolean  
        Whether the hasStatefulConfig field is set.
 
       
     
  
   
  hasPerInstanceConfigs() 
  
    
public   boolean   hasPerInstanceConfigs ()  
   
   [Output Only] Status of per-instance configurations on the instances.
 
 optional .google.cloud.compute.v1.InstanceGroupManagerStatusStatefulPerInstanceConfigs per_instance_configs = 526265001;
 
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        boolean  
        Whether the perInstanceConfigs field is set.
 
       
     
  
   
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
   
  
  Overrides 
  
   
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
   
  
  Overrides 
  
   
  mergeFrom(InstanceGroupManagerStatusStateful other) 
  
    
public   InstanceGroupManagerStatusStateful . Builder   mergeFrom ( InstanceGroupManagerStatusStateful   other )  
   
  
  
   
  
  
    
public   InstanceGroupManagerStatusStateful . Builder   mergeFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  Overrides 
  
  
   
  mergeFrom(Message other) 
  
    
public   InstanceGroupManagerStatusStateful . Builder   mergeFrom ( Message   other )  
   
  
    
      
        Parameter  
       
      
        Name  
        Description  
       
      
        other 
        Message  
       
     
  
  
  Overrides 
  
   
  mergePerInstanceConfigs(InstanceGroupManagerStatusStatefulPerInstanceConfigs value) 
  
    
public   InstanceGroupManagerStatusStateful . Builder   mergePerInstanceConfigs ( InstanceGroupManagerStatusStatefulPerInstanceConfigs   value )  
   
   [Output Only] Status of per-instance configurations on the instances.
 
 optional .google.cloud.compute.v1.InstanceGroupManagerStatusStatefulPerInstanceConfigs per_instance_configs = 526265001;
 
 
  
  
   
  mergeUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   InstanceGroupManagerStatusStateful . Builder   mergeUnknownFields ( UnknownFieldSet   unknownFields )  
   
  
  
  Overrides 
  
   
  setField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   InstanceGroupManagerStatusStateful . Builder   setField ( Descriptors . FieldDescriptor   field ,   Object   value )  
   
  
  
  Overrides 
  
   
  setHasStatefulConfig(boolean value) 
  
    
public   InstanceGroupManagerStatusStateful . Builder   setHasStatefulConfig ( boolean   value )  
   
   [Output Only] A bit indicating whether the managed instance group has stateful configuration, that is, if you have configured any items in a stateful policy or in per-instance configs. The group might report that it has no stateful configuration even when there is still some preserved state on a managed instance, for example, if you have deleted all PICs but not yet applied those deletions.
 optional bool has_stateful_config = 110474224;
 
  
    
      
        Parameter  
       
      
        Name  
        Description  
       
      
        value 
        boolean The hasStatefulConfig to set.
 
       
     
  
  
   
  setPerInstanceConfigs(InstanceGroupManagerStatusStatefulPerInstanceConfigs value) 
  
    
public   InstanceGroupManagerStatusStateful . Builder   setPerInstanceConfigs ( InstanceGroupManagerStatusStatefulPerInstanceConfigs   value )  
   
   [Output Only] Status of per-instance configurations on the instances.
 
 optional .google.cloud.compute.v1.InstanceGroupManagerStatusStatefulPerInstanceConfigs per_instance_configs = 526265001;
 
 
  
  
   
  setPerInstanceConfigs(InstanceGroupManagerStatusStatefulPerInstanceConfigs.Builder builderForValue) 
  
    
public   InstanceGroupManagerStatusStateful . Builder   setPerInstanceConfigs ( InstanceGroupManagerStatusStatefulPerInstanceConfigs . Builder   builderForValue )  
   
   [Output Only] Status of per-instance configurations on the instances.
 
 optional .google.cloud.compute.v1.InstanceGroupManagerStatusStatefulPerInstanceConfigs per_instance_configs = 526265001;
 
 
  
  
   
  setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) 
  
    
public   InstanceGroupManagerStatusStateful . Builder   setRepeatedField ( Descriptors . FieldDescriptor   field ,   int   index ,   Object   value )  
   
  
  
  Overrides 
  
   
  setUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   InstanceGroupManagerStatusStateful . 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."],[],[]]