Class BetaCodeExecutionToolResultError.Builder
-
- All Implemented Interfaces:
public final class BetaCodeExecutionToolResultError.BuilderA builder for BetaCodeExecutionToolResultError.
-
-
Method Summary
-
-
Method Detail
-
errorCode
final BetaCodeExecutionToolResultError.Builder errorCode(BetaCodeExecutionToolResultErrorCode errorCode)
-
errorCode
final BetaCodeExecutionToolResultError.Builder errorCode(JsonField<BetaCodeExecutionToolResultErrorCode> errorCode)
Sets Builder.errorCode to an arbitrary JSON value.
You should usually call Builder.errorCode with a well-typed BetaCodeExecutionToolResultErrorCode value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final BetaCodeExecutionToolResultError.Builder type(JsonValue type)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("code_execution_tool_result_error")This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaCodeExecutionToolResultError.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaCodeExecutionToolResultError.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaCodeExecutionToolResultError.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaCodeExecutionToolResultError.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaCodeExecutionToolResultError.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaCodeExecutionToolResultError build()
Returns an immutable instance of BetaCodeExecutionToolResultError.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.errorCode()
-
-
-
-