Interface GenerationConfig.ThinkingConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GenerationConfig.ThinkingConfig,GenerationConfig.ThinkingConfig.Builder
- Enclosing class:
- GenerationConfig
public static interface GenerationConfig.ThinkingConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates whether to include thoughts in the response.intOptional.booleanIndicates whether to include thoughts in the response.booleanOptional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasIncludeThoughts
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:
- Whether the includeThoughts field is set.
-
getIncludeThoughts
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:
- The includeThoughts.
-
hasThinkingBudget
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:
- Whether the thinkingBudget field is set.
-
getThinkingBudget
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:
- The thinkingBudget.
-