Class BetaContextManagementCapability.Builder
-
- All Implemented Interfaces:
public final class BetaContextManagementCapability.BuilderA builder for BetaContextManagementCapability.
-
-
Method Summary
-
-
Method Detail
-
clearThinking20251015
final BetaContextManagementCapability.Builder clearThinking20251015(BetaCapabilitySupport clearThinking20251015)
Indicates whether a capability is supported.
-
clearThinking20251015
final BetaContextManagementCapability.Builder clearThinking20251015(Optional<BetaCapabilitySupport> clearThinking20251015)
Alias for calling Builder.clearThinking20251015 with
clearThinking20251015.orElse(null).
-
clearThinking20251015
final BetaContextManagementCapability.Builder clearThinking20251015(JsonField<BetaCapabilitySupport> clearThinking20251015)
Sets Builder.clearThinking20251015 to an arbitrary JSON value.
You should usually call Builder.clearThinking20251015 with a well-typed BetaCapabilitySupport value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
clearToolUses20250919
final BetaContextManagementCapability.Builder clearToolUses20250919(BetaCapabilitySupport clearToolUses20250919)
Indicates whether a capability is supported.
-
clearToolUses20250919
final BetaContextManagementCapability.Builder clearToolUses20250919(Optional<BetaCapabilitySupport> clearToolUses20250919)
Alias for calling Builder.clearToolUses20250919 with
clearToolUses20250919.orElse(null).
-
clearToolUses20250919
final BetaContextManagementCapability.Builder clearToolUses20250919(JsonField<BetaCapabilitySupport> clearToolUses20250919)
Sets Builder.clearToolUses20250919 to an arbitrary JSON value.
You should usually call Builder.clearToolUses20250919 with a well-typed BetaCapabilitySupport value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
compact20260112
final BetaContextManagementCapability.Builder compact20260112(BetaCapabilitySupport compact20260112)
Indicates whether a capability is supported.
-
compact20260112
final BetaContextManagementCapability.Builder compact20260112(Optional<BetaCapabilitySupport> compact20260112)
Alias for calling Builder.compact20260112 with
compact20260112.orElse(null).
-
compact20260112
final BetaContextManagementCapability.Builder compact20260112(JsonField<BetaCapabilitySupport> compact20260112)
Sets Builder.compact20260112 to an arbitrary JSON value.
You should usually call Builder.compact20260112 with a well-typed BetaCapabilitySupport value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
supported
final BetaContextManagementCapability.Builder supported(Boolean supported)
Whether this capability is supported by the model.
-
supported
final BetaContextManagementCapability.Builder supported(JsonField<Boolean> supported)
Sets Builder.supported to an arbitrary JSON value.
You should usually call Builder.supported with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaContextManagementCapability.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaContextManagementCapability.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaContextManagementCapability.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaContextManagementCapability.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaContextManagementCapability.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaContextManagementCapability build()
Returns an immutable instance of BetaContextManagementCapability.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.clearThinking20251015() .clearToolUses20250919() .compact20260112() .supported()
-
-
-
-