Class LlmModelSettings.Parameters (0.89.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version latestkeyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   static   final   class  LlmModelSettings . Parameters   extends   GeneratedMessageV3   implements   LlmModelSettings . ParametersOrBuilder  
   Generative model parameters to control the model behavior.
 Protobuf type google.cloud.dialogflow.cx.v3beta1.LlmModelSettings.Parameters
    Inherited Members 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT) 
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int) 
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Fields
   
  
  
    
public   static   final   int   INPUT_TOKEN_LIMIT_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  OUTPUT_TOKEN_LIMIT_FIELD_NUMBER 
  
    
public   static   final   int   OUTPUT_TOKEN_LIMIT_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  TEMPERATURE_FIELD_NUMBER 
  
    
public   static   final   int   TEMPERATURE_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  Static Methods
   
  getDefaultInstance() 
  
    
public   static   LlmModelSettings . Parameters   getDefaultInstance ()  
  
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  newBuilder() 
  
    
public   static   LlmModelSettings . Parameters . Builder   newBuilder ()  
  
  newBuilder(LlmModelSettings.Parameters prototype) 
  
    
public   static   LlmModelSettings . Parameters . Builder   newBuilder ( LlmModelSettings . Parameters   prototype )  
  
  
  
    
public   static   LlmModelSettings . Parameters   parseDelimitedFrom ( InputStream   input )  
  
  
  
  
    
public   static   LlmModelSettings . Parameters   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(byte[] data) 
  
    
public   static   LlmModelSettings . Parameters   parseFrom ( byte []   data )  
  
    
      
        Parameter  
      
        Name Description  
      
        databyte [] 
     
  
  
  
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   LlmModelSettings . Parameters   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(ByteString data) 
  
    
public   static   LlmModelSettings . Parameters   parseFrom ( ByteString   data )  
  
  
  
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   LlmModelSettings . Parameters   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   LlmModelSettings . Parameters   parseFrom ( CodedInputStream   input )  
  
  
  
  
    
public   static   LlmModelSettings . Parameters   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   LlmModelSettings . Parameters   parseFrom ( InputStream   input )  
  
  
  
  
    
public   static   LlmModelSettings . Parameters   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(ByteBuffer data) 
  
    
public   static   LlmModelSettings . Parameters   parseFrom ( ByteBuffer   data )  
  
  
  
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   LlmModelSettings . Parameters   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parser() 
  
    
public   static   Parser<LlmModelSettings . Parameters >  parser ()  
  
  Methods
   
  equals(Object obj) 
  
    
public   boolean   equals ( Object   obj )  
  
    
      
        Parameter  
      
        Name Description  
      
        objObject  
     
  
  
  Overrides 
  
  getDefaultInstanceForType() 
  
    
public   LlmModelSettings . Parameters   getDefaultInstanceForType ()  
  
  
    
public   LlmModelSettings . Parameters . InputTokenLimit   getInputTokenLimit ()  
   The input token limit.
 This setting is currently only supported by playbooks.
 
 optional .google.cloud.dialogflow.cx.v3beta1.LlmModelSettings.Parameters.InputTokenLimit input_token_limit = 2;
 
    
public   int   getInputTokenLimitValue ()  
   The input token limit.
 This setting is currently only supported by playbooks.
 
 optional .google.cloud.dialogflow.cx.v3beta1.LlmModelSettings.Parameters.InputTokenLimit input_token_limit = 2;
 
    
      
        Returns  
      
        Type Description  
      
        int The enum numeric value on the wire for inputTokenLimit.
 
     
  
  getOutputTokenLimit() 
  
    
public   LlmModelSettings . Parameters . OutputTokenLimit   getOutputTokenLimit ()  
   The output token limit.
 This setting is currently only supported by playbooks.
 Only one of output_token_limit and max_output_tokens is allowed to be
 set.
 
 optional .google.cloud.dialogflow.cx.v3beta1.LlmModelSettings.Parameters.OutputTokenLimit output_token_limit = 3;
 
getOutputTokenLimitValue() 
  
    
public   int   getOutputTokenLimitValue ()  
   The output token limit.
 This setting is currently only supported by playbooks.
 Only one of output_token_limit and max_output_tokens is allowed to be
 set.
 
 optional .google.cloud.dialogflow.cx.v3beta1.LlmModelSettings.Parameters.OutputTokenLimit output_token_limit = 3;
 
    
      
        Returns  
      
        Type Description  
      
        int The enum numeric value on the wire for outputTokenLimit.
 
     
  
  getParserForType() 
  
    
public   Parser<LlmModelSettings . Parameters >  getParserForType ()  
  
  Overrides 
  
  getSerializedSize() 
  
    
public   int   getSerializedSize ()  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  getTemperature() 
  
    
public   float   getTemperature ()  
   The temperature used for sampling during response generation. Value
 ranges from 0 to 1. Temperature controls the degree of randomness in
 token selection. Lower temperature means less randomness, while higher
 temperature means more randomness.
 Valid range: [0.0, 1.0]
 optional float temperature = 1;
    
      
        Returns  
      
        Type Description  
      
        float The temperature.
 
     
  
  
    
public   boolean   hasInputTokenLimit ()  
   The input token limit.
 This setting is currently only supported by playbooks.
 
 optional .google.cloud.dialogflow.cx.v3beta1.LlmModelSettings.Parameters.InputTokenLimit input_token_limit = 2;
 
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the inputTokenLimit field is set.
 
     
  
  hasOutputTokenLimit() 
  
    
public   boolean   hasOutputTokenLimit ()  
   The output token limit.
 This setting is currently only supported by playbooks.
 Only one of output_token_limit and max_output_tokens is allowed to be
 set.
 
 optional .google.cloud.dialogflow.cx.v3beta1.LlmModelSettings.Parameters.OutputTokenLimit output_token_limit = 3;
 
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the outputTokenLimit field is set.
 
     
  
  hasTemperature() 
  
    
public   boolean   hasTemperature ()  
   The temperature used for sampling during response generation. Value
 ranges from 0 to 1. Temperature controls the degree of randomness in
 token selection. Lower temperature means less randomness, while higher
 temperature means more randomness.
 Valid range: [0.0, 1.0]
 optional float temperature = 1;
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the temperature field is set.
 
     
  
  hashCode() 
  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  newBuilderForType() 
  
    
public   LlmModelSettings . Parameters . Builder   newBuilderForType ()  
  
  newBuilderForType(GeneratedMessageV3.BuilderParent parent) 
  
    
protected   LlmModelSettings . Parameters . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
  
  
  Overrides 
  
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) 
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Object  
     
  
  Overrides 
  
  toBuilder() 
  
    
public   LlmModelSettings . Parameters . Builder   toBuilder ()  
  
  writeTo(CodedOutputStream output) 
  
    
public   void   writeTo ( CodedOutputStream   output )  
  
  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-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."],[],[]]