Class FeatureState.Builder (1.0.1) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 1.0.1keyboard_arrow_down  
  
 
    
    
    
      
  
  
  
    
public   static   final   class  FeatureState . Builder   extends   GeneratedMessageV3 . Builder<FeatureState . Builder >  implements   FeatureStateOrBuilder  
   FeatureState describes the high-level state of a Feature. It may be used to
 describe a Feature's state at the environ-level, or per-membershop, depending
 on the context.
 Protobuf type google.cloud.gkehub.v1alpha.FeatureState
Static Methods
   
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  Returns 
  
  Methods
   
  addRepeatedField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   FeatureState . Builder   addRepeatedField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  Parameters 
  
  Returns 
  
  Overrides 
  
  build() 
  
    
public   FeatureState   build ()  
  Returns 
  
  buildPartial() 
  
    
public   FeatureState   buildPartial ()  
  Returns 
  
  clear() 
  
    
public   FeatureState . Builder   clear ()  
  Returns 
  
  Overrides 
  
  clearCode() 
  
    
public   FeatureState . Builder   clearCode ()  
   The high-level, machine-readable status of this Feature.
 .google.cloud.gkehub.v1alpha.FeatureState.Code code = 1;
Returns 
  
  clearDescription() 
  
    
public   FeatureState . Builder   clearDescription ()  
   A human-readable description of the current status.
 string description = 2;
Returns 
  
  clearField(Descriptors.FieldDescriptor field) 
  
    
public   FeatureState . Builder   clearField ( Descriptors . FieldDescriptor   field )  
  Parameter 
  
  Returns 
  
  Overrides 
  
  clearOneof(Descriptors.OneofDescriptor oneof) 
  
    
public   FeatureState . Builder   clearOneof ( Descriptors . OneofDescriptor   oneof )  
  Parameter 
  
  Returns 
  
  Overrides 
  
  clearUpdateTime() 
  
    
public   FeatureState . Builder   clearUpdateTime ()  
   The time this status and any related Feature-specific details were updated.
 .google.protobuf.Timestamp update_time = 3;
Returns 
  
  clone() 
  
    
public   FeatureState . Builder   clone ()  
  Returns 
  
  Overrides 
  
  getCode() 
  
    
public   FeatureState . Code   getCode ()  
   The high-level, machine-readable status of this Feature.
 .google.cloud.gkehub.v1alpha.FeatureState.Code code = 1;
Returns 
  
  getCodeValue() 
  
    
public   int   getCodeValue ()  
   The high-level, machine-readable status of this Feature.
 .google.cloud.gkehub.v1alpha.FeatureState.Code code = 1;
Returns 
  
    
      
        Type Description  
      
        int The enum numeric value on the wire for code.
 
     
  
  getDefaultInstanceForType() 
  
    
public   FeatureState   getDefaultInstanceForType ()  
  Returns 
  
  getDescription() 
  
    
public   String   getDescription ()  
   A human-readable description of the current status.
 string description = 2;
Returns 
  
    
      
        Type Description  
      
        String The description.
 
     
  
  getDescriptionBytes() 
  
    
public   ByteString   getDescriptionBytes ()  
   A human-readable description of the current status.
 string description = 2;
Returns 
  
    
      
        Type Description  
      
        ByteString The bytes for description.
 
     
  
  getDescriptorForType() 
  
    
public   Descriptors . Descriptor   getDescriptorForType ()  
  Returns 
  
  Overrides 
  
  getUpdateTime() 
  
    
public   Timestamp   getUpdateTime ()  
   The time this status and any related Feature-specific details were updated.
 .google.protobuf.Timestamp update_time = 3;
Returns 
  
  getUpdateTimeBuilder() 
  
    
public   Timestamp . Builder   getUpdateTimeBuilder ()  
   The time this status and any related Feature-specific details were updated.
 .google.protobuf.Timestamp update_time = 3;
Returns 
  
  getUpdateTimeOrBuilder() 
  
    
public   TimestampOrBuilder   getUpdateTimeOrBuilder ()  
   The time this status and any related Feature-specific details were updated.
 .google.protobuf.Timestamp update_time = 3;
Returns 
  
  hasUpdateTime() 
  
    
public   boolean   hasUpdateTime ()  
   The time this status and any related Feature-specific details were updated.
 .google.protobuf.Timestamp update_time = 3;
Returns 
  
    
      
        Type Description  
      
        boolean Whether the updateTime field is set.
 
     
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  Returns 
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  Returns 
  
  Overrides 
  
  mergeFrom(FeatureState other) 
  
    
public   FeatureState . Builder   mergeFrom ( FeatureState   other )  
  Parameter 
  
  Returns 
  
  
    
public   FeatureState . Builder   mergeFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  Parameters 
  
  Returns 
  
  Overrides 
  
  Exceptions 
  
  mergeFrom(Message other) 
  
    
public   FeatureState . Builder   mergeFrom ( Message   other )  
  Parameter 
  
  Returns 
  
  Overrides 
  
  mergeUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   FeatureState . Builder   mergeUnknownFields ( UnknownFieldSet   unknownFields )  
  Parameter 
  
  Returns 
  
  Overrides 
  
  mergeUpdateTime(Timestamp value) 
  
    
public   FeatureState . Builder   mergeUpdateTime ( Timestamp   value )  
   The time this status and any related Feature-specific details were updated.
 .google.protobuf.Timestamp update_time = 3;
Parameter 
  
  Returns 
  
  setCode(FeatureState.Code value) 
  
    
public   FeatureState . Builder   setCode ( FeatureState . Code   value )  
   The high-level, machine-readable status of this Feature.
 .google.cloud.gkehub.v1alpha.FeatureState.Code code = 1;
Parameter 
  
  Returns 
  
  setCodeValue(int value) 
  
    
public   FeatureState . Builder   setCodeValue ( int   value )  
   The high-level, machine-readable status of this Feature.
 .google.cloud.gkehub.v1alpha.FeatureState.Code code = 1;
Parameter 
  
    
      
        Name Description  
      
        value int The enum numeric value on the wire for code to set.
 
     
  
  Returns 
  
  setDescription(String value) 
  
    
public   FeatureState . Builder   setDescription ( String   value )  
   A human-readable description of the current status.
 string description = 2;
Parameter 
  
    
      
        Name Description  
      
        value String The description to set.
 
     
  
  Returns 
  
  setDescriptionBytes(ByteString value) 
  
    
public   FeatureState . Builder   setDescriptionBytes ( ByteString   value )  
   A human-readable description of the current status.
 string description = 2;
Parameter 
  
    
      
        Name Description  
      
        value ByteString The bytes for description to set.
 
     
  
  Returns 
  
  setField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   FeatureState . Builder   setField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  Parameters 
  
  Returns 
  
  Overrides 
  
  setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) 
  
    
public   FeatureState . Builder   setRepeatedField ( Descriptors . FieldDescriptor   field ,   int   index ,   Object   value )  
  Parameters 
  
  Returns 
  
  Overrides 
  
  setUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   FeatureState . Builder   setUnknownFields ( UnknownFieldSet   unknownFields )  
  Parameter 
  
  Returns 
  
  Overrides 
  
  setUpdateTime(Timestamp value) 
  
    
public   FeatureState . Builder   setUpdateTime ( Timestamp   value )  
   The time this status and any related Feature-specific details were updated.
 .google.protobuf.Timestamp update_time = 3;
Parameter 
  
  Returns 
  
  setUpdateTime(Timestamp.Builder builderForValue) 
  
    
public   FeatureState . Builder   setUpdateTime ( Timestamp . Builder   builderForValue )  
   The time this status and any related Feature-specific details were updated.
 .google.protobuf.Timestamp update_time = 3;
Parameter 
  
    
      
        Name Description  
      
        builderForValue Builder  
     
  
  Returns 
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  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."],[],[]]