Class BetaManagedAgentsCustomTool.Builder
-
- All Implemented Interfaces:
public final class BetaManagedAgentsCustomTool.BuilderA builder for BetaManagedAgentsCustomTool.
-
-
Method Summary
-
-
Method Detail
-
description
final BetaManagedAgentsCustomTool.Builder description(String description)
-
description
final BetaManagedAgentsCustomTool.Builder description(JsonField<String> description)
Sets Builder.description to an arbitrary JSON value.
You should usually call Builder.description with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
inputSchema
final BetaManagedAgentsCustomTool.Builder inputSchema(BetaManagedAgentsCustomToolInputSchema inputSchema)
JSON Schema for custom tool input parameters.
-
inputSchema
final BetaManagedAgentsCustomTool.Builder inputSchema(JsonField<BetaManagedAgentsCustomToolInputSchema> inputSchema)
Sets Builder.inputSchema to an arbitrary JSON value.
You should usually call Builder.inputSchema with a well-typed BetaManagedAgentsCustomToolInputSchema value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
name
final BetaManagedAgentsCustomTool.Builder name(String name)
-
name
final BetaManagedAgentsCustomTool.Builder name(JsonField<String> name)
Sets Builder.name to an arbitrary JSON value.
You should usually call Builder.name with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final BetaManagedAgentsCustomTool.Builder type(BetaManagedAgentsCustomTool.Type type)
-
type
final BetaManagedAgentsCustomTool.Builder type(JsonField<BetaManagedAgentsCustomTool.Type> type)
Sets Builder.type to an arbitrary JSON value.
You should usually call Builder.type with a well-typed Type value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaManagedAgentsCustomTool.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaManagedAgentsCustomTool.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaManagedAgentsCustomTool.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaManagedAgentsCustomTool.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaManagedAgentsCustomTool.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaManagedAgentsCustomTool build()
Returns an immutable instance of BetaManagedAgentsCustomTool.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.description() .inputSchema() .name() .type()
-
-
-
-