Package com.google.cloud.aiplatform.v1
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.Optional.intOptional.booleanIndicates whether to include thoughts in the response.booleanOptional.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.
-
hasThinkingLevel
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:
- Whether the thinkingLevel field is set.
-
getThinkingLevelValue
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:
- The enum numeric value on the wire for thinkingLevel.
-
getThinkingLevel
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:
- The thinkingLevel.
-