Class FeatureState.Builder (1.40.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 1.40.0keyboard_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
    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   FeatureState . Builder   addRepeatedField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  build() 
  
    
public   FeatureState   build ()  
  
  buildPartial() 
  
    
public   FeatureState   buildPartial ()  
  
  clear() 
  
    
public   FeatureState . Builder   clear ()  
  
  Overrides 
  
  clearCode() 
  
    
public   FeatureState . Builder   clearCode ()  
   The high-level, machine-readable status of this Feature.
 .google.cloud.gkehub.v1alpha.FeatureState.Code code = 1;
clearDescription() 
  
    
public   FeatureState . Builder   clearDescription ()  
   A human-readable description of the current status.
 string description = 2;
clearField(Descriptors.FieldDescriptor field) 
  
    
public   FeatureState . Builder   clearField ( Descriptors . FieldDescriptor   field )  
  
  
  Overrides 
  
  clearOneof(Descriptors.OneofDescriptor oneof) 
  
    
public   FeatureState . Builder   clearOneof ( Descriptors . OneofDescriptor   oneof )  
  
  
  Overrides 
  
  clearUpdateTime() 
  
    
public   FeatureState . Builder   clearUpdateTime ()  
   The time this status and any related Feature-specific details were updated.
 .google.protobuf.Timestamp update_time = 3;
clone() 
  
    
public   FeatureState . Builder   clone ()  
  
  Overrides 
  
  getCode() 
  
    
public   FeatureState . Code   getCode ()  
   The high-level, machine-readable status of this Feature.
 .google.cloud.gkehub.v1alpha.FeatureState.Code code = 1;
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 ()  
  
  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 ()  
  
  Overrides 
  
  getUpdateTime() 
  
    
public   Timestamp   getUpdateTime ()  
   The time this status and any related Feature-specific details were updated.
 .google.protobuf.Timestamp update_time = 3;
    
      
        Returns  
      
        Type Description  
      
        Timestamp The updateTime.
 
     
  
  getUpdateTimeBuilder() 
  
    
public   Timestamp . Builder   getUpdateTimeBuilder ()  
   The time this status and any related Feature-specific details were updated.
 .google.protobuf.Timestamp update_time = 3;
getUpdateTimeOrBuilder() 
  
    
public   TimestampOrBuilder   getUpdateTimeOrBuilder ()  
   The time this status and any related Feature-specific details were updated.
 .google.protobuf.Timestamp update_time = 3;
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 ()  
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  mergeFrom(FeatureState other) 
  
    
public   FeatureState . Builder   mergeFrom ( FeatureState   other )  
  
  
  
    
public   FeatureState . Builder   mergeFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  Overrides 
  
  
  mergeFrom(Message other) 
  
    
public   FeatureState . Builder   mergeFrom ( Message   other )  
  
    
      
        Parameter  
      
        Name Description  
      
        otherMessage  
     
  
  
  Overrides 
  
  mergeUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   FeatureState . Builder   mergeUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  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;
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;
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  
      
        valueint The enum numeric value on the wire for code to set.
 
     
  
  
  setDescription(String value) 
  
    
public   FeatureState . Builder   setDescription ( String   value )  
   A human-readable description of the current status.
 string description = 2;
    
      
        Parameter  
      
        Name Description  
      
        valueString The description to set.
 
     
  
  
  setDescriptionBytes(ByteString value) 
  
    
public   FeatureState . Builder   setDescriptionBytes ( ByteString   value )  
   A human-readable description of the current status.
 string description = 2;
    
      
        Parameter  
      
        Name Description  
      
        valueByteString The bytes for description to set.
 
     
  
  
  setField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   FeatureState . Builder   setField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) 
  
    
public   FeatureState . Builder   setRepeatedField ( Descriptors . FieldDescriptor   field ,   int   index ,   Object   value )  
  
  
  Overrides 
  
  setUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   FeatureState . Builder   setUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  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;
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  
      
        builderForValueBuilder  
     
  
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  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."],[],[]]