Class InsightTypeGenerationConfig.Builder (2.2.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 2.2.0keyboard_arrow_down  
  
 
    
    
    
      
  
  
  
    
public   static   final   class  InsightTypeGenerationConfig . Builder   extends   GeneratedMessageV3 . Builder<InsightTypeGenerationConfig . Builder >  implements   InsightTypeGenerationConfigOrBuilder  
   A configuration to customize the generation of insights.
 Eg, customizing the lookback period considered when generating a
 insight.
 Protobuf type google.cloud.recommender.v1beta1.InsightTypeGenerationConfig
Static Methods
   
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  Returns 
  
  Methods
   
  addRepeatedField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   InsightTypeGenerationConfig . Builder   addRepeatedField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  Parameters 
  
  Returns 
  
  Overrides 
  
  build() 
  
    
public   InsightTypeGenerationConfig   build ()  
  Returns 
  
  buildPartial() 
  
    
public   InsightTypeGenerationConfig   buildPartial ()  
  Returns 
  
  clear() 
  
    
public   InsightTypeGenerationConfig . Builder   clear ()  
  Returns 
  
  Overrides 
  
  clearField(Descriptors.FieldDescriptor field) 
  
    
public   InsightTypeGenerationConfig . Builder   clearField ( Descriptors . FieldDescriptor   field )  
  Parameter 
  
  Returns 
  
  Overrides 
  
  clearOneof(Descriptors.OneofDescriptor oneof) 
  
    
public   InsightTypeGenerationConfig . Builder   clearOneof ( Descriptors . OneofDescriptor   oneof )  
  Parameter 
  
  Returns 
  
  Overrides 
  
  clearParams() 
  
    
public   InsightTypeGenerationConfig . Builder   clearParams ()  
   Parameters for this InsightTypeGenerationConfig. These configs can be used
 by or are applied to all subtypes.
 .google.protobuf.Struct params = 1;
Returns 
  
  clone() 
  
    
public   InsightTypeGenerationConfig . Builder   clone ()  
  Returns 
  
  Overrides 
  
  getDefaultInstanceForType() 
  
    
public   InsightTypeGenerationConfig   getDefaultInstanceForType ()  
  Returns 
  
  getDescriptorForType() 
  
    
public   Descriptors . Descriptor   getDescriptorForType ()  
  Returns 
  
  Overrides 
  
  getParams() 
  
    
public   Struct   getParams ()  
   Parameters for this InsightTypeGenerationConfig. These configs can be used
 by or are applied to all subtypes.
 .google.protobuf.Struct params = 1;
Returns 
  
    
      
        Type Description  
      
        Struct The params.
 
     
  
  getParamsBuilder() 
  
    
public   Struct . Builder   getParamsBuilder ()  
   Parameters for this InsightTypeGenerationConfig. These configs can be used
 by or are applied to all subtypes.
 .google.protobuf.Struct params = 1;
Returns 
  
  getParamsOrBuilder() 
  
    
public   StructOrBuilder   getParamsOrBuilder ()  
   Parameters for this InsightTypeGenerationConfig. These configs can be used
 by or are applied to all subtypes.
 .google.protobuf.Struct params = 1;
Returns 
  
  hasParams() 
  
    
public   boolean   hasParams ()  
   Parameters for this InsightTypeGenerationConfig. These configs can be used
 by or are applied to all subtypes.
 .google.protobuf.Struct params = 1;
Returns 
  
    
      
        Type Description  
      
        boolean Whether the params field is set.
 
     
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  Returns 
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  Returns 
  
  Overrides 
  
  mergeFrom(InsightTypeGenerationConfig other) 
  
    
public   InsightTypeGenerationConfig . Builder   mergeFrom ( InsightTypeGenerationConfig   other )  
  Parameter 
  
  Returns 
  
  
    
public   InsightTypeGenerationConfig . Builder   mergeFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  Parameters 
  
  Returns 
  
  Overrides 
  
  Exceptions 
  
  mergeFrom(Message other) 
  
    
public   InsightTypeGenerationConfig . Builder   mergeFrom ( Message   other )  
  Parameter 
  
  Returns 
  
  Overrides 
  
  mergeParams(Struct value) 
  
    
public   InsightTypeGenerationConfig . Builder   mergeParams ( Struct   value )  
   Parameters for this InsightTypeGenerationConfig. These configs can be used
 by or are applied to all subtypes.
 .google.protobuf.Struct params = 1;
Parameter 
  
  Returns 
  
  mergeUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   InsightTypeGenerationConfig . Builder   mergeUnknownFields ( UnknownFieldSet   unknownFields )  
  Parameter 
  
  Returns 
  
  Overrides 
  
  setField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   InsightTypeGenerationConfig . Builder   setField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  Parameters 
  
  Returns 
  
  Overrides 
  
  setParams(Struct value) 
  
    
public   InsightTypeGenerationConfig . Builder   setParams ( Struct   value )  
   Parameters for this InsightTypeGenerationConfig. These configs can be used
 by or are applied to all subtypes.
 .google.protobuf.Struct params = 1;
Parameter 
  
  Returns 
  
  setParams(Struct.Builder builderForValue) 
  
    
public   InsightTypeGenerationConfig . Builder   setParams ( Struct . Builder   builderForValue )  
   Parameters for this InsightTypeGenerationConfig. These configs can be used
 by or are applied to all subtypes.
 .google.protobuf.Struct params = 1;
Parameter 
  
    
      
        Name Description  
      
        builderForValue Builder  
     
  
  Returns 
  
  setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) 
  
    
public   InsightTypeGenerationConfig . Builder   setRepeatedField ( Descriptors . FieldDescriptor   field ,   int   index ,   Object   value )  
  Parameters 
  
  Returns 
  
  Overrides 
  
  setUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   InsightTypeGenerationConfig . Builder   setUnknownFields ( UnknownFieldSet   unknownFields )  
  Parameter 
  
  Returns 
  
  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-11 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-11 UTC."],[],[]]