Builder

public final class Builder

A builder for GoogleMaps.

Functions

Link copied to clipboard
public final Tool.GoogleMaps.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
Link copied to clipboard
public final Tool.GoogleMaps build()

Returns an immutable instance of GoogleMaps.

Link copied to clipboard
public final Tool.GoogleMaps.Builder enableWidget(JsonField<Boolean> enableWidget)

Sets Builder.enableWidget to an arbitrary JSON value.

public final Tool.GoogleMaps.Builder enableWidget(Boolean enableWidget)

Whether to return a widget context token in the tool call result of the response.

Link copied to clipboard
public final Tool.GoogleMaps.Builder latitude(JsonField<Double> latitude)

Sets Builder.latitude to an arbitrary JSON value.

public final Tool.GoogleMaps.Builder latitude(Double latitude)

The latitude of the user's location.

Link copied to clipboard
public final Tool.GoogleMaps.Builder longitude(JsonField<Double> longitude)

Sets Builder.longitude to an arbitrary JSON value.

public final Tool.GoogleMaps.Builder longitude(Double longitude)

The longitude of the user's location.

Link copied to clipboard
public final Tool.GoogleMaps.Builder putAdditionalProperty(String key, JsonValue value)
Link copied to clipboard
public final Tool.GoogleMaps.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
Link copied to clipboard
public final Tool.GoogleMaps.Builder type(JsonValue type)

Sets the field to an arbitrary JSON value.