public static interface GenerationConfig.ThinkingConfigOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getIncludeThoughts()
public abstract boolean getIncludeThoughts()Indicates whether to include thoughts in the response. If true, thoughts are returned only when available.
optional bool include_thoughts = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The includeThoughts. |
getThinkingBudget()
public abstract int getThinkingBudget()Optional. Indicates the thinking budget in tokens. This is only applied when enable_thinking is true.
optional int32 thinking_budget = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The thinkingBudget. |
getThinkingLevel()
public abstract GenerationConfig.ThinkingConfig.ThinkingLevel getThinkingLevel()Optional. The number of thoughts tokens that the model should generate.
optional .google.cloud.aiplatform.v1.GenerationConfig.ThinkingConfig.ThinkingLevel thinking_level = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
GenerationConfig.ThinkingConfig.ThinkingLevel |
The thinkingLevel. |
getThinkingLevelValue()
public abstract int getThinkingLevelValue()Optional. The number of thoughts tokens that the model should generate.
optional .google.cloud.aiplatform.v1.GenerationConfig.ThinkingConfig.ThinkingLevel thinking_level = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for thinkingLevel. |
hasIncludeThoughts()
public abstract boolean hasIncludeThoughts()Indicates whether to include thoughts in the response. If true, thoughts are returned only when available.
optional bool include_thoughts = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the includeThoughts field is set. |
hasThinkingBudget()
public abstract boolean hasThinkingBudget()Optional. Indicates the thinking budget in tokens. This is only applied when enable_thinking is true.
optional int32 thinking_budget = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the thinkingBudget field is set. |
hasThinkingLevel()
public abstract boolean hasThinkingLevel()Optional. The number of thoughts tokens that the model should generate.
optional .google.cloud.aiplatform.v1.GenerationConfig.ThinkingConfig.ThinkingLevel thinking_level = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the thinkingLevel field is set. |