Class GraderRunResponse.Metadata.Errors.Builder
-
- All Implemented Interfaces:
public final class GraderRunResponse.Metadata.Errors.BuilderA builder for Errors.
-
-
Method Summary
-
-
Method Detail
-
formulaParseError
final GraderRunResponse.Metadata.Errors.Builder formulaParseError(Boolean formulaParseError)
-
formulaParseError
final GraderRunResponse.Metadata.Errors.Builder formulaParseError(JsonField<Boolean> formulaParseError)
Sets Builder.formulaParseError to an arbitrary JSON value.
You should usually call Builder.formulaParseError with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
invalidVariableError
final GraderRunResponse.Metadata.Errors.Builder invalidVariableError(Boolean invalidVariableError)
-
invalidVariableError
final GraderRunResponse.Metadata.Errors.Builder invalidVariableError(JsonField<Boolean> invalidVariableError)
Sets Builder.invalidVariableError to an arbitrary JSON value.
You should usually call Builder.invalidVariableError with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
modelGraderParseError
final GraderRunResponse.Metadata.Errors.Builder modelGraderParseError(Boolean modelGraderParseError)
-
modelGraderParseError
final GraderRunResponse.Metadata.Errors.Builder modelGraderParseError(JsonField<Boolean> modelGraderParseError)
Sets Builder.modelGraderParseError to an arbitrary JSON value.
You should usually call Builder.modelGraderParseError with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
modelGraderRefusalError
final GraderRunResponse.Metadata.Errors.Builder modelGraderRefusalError(Boolean modelGraderRefusalError)
-
modelGraderRefusalError
final GraderRunResponse.Metadata.Errors.Builder modelGraderRefusalError(JsonField<Boolean> modelGraderRefusalError)
Sets Builder.modelGraderRefusalError to an arbitrary JSON value.
You should usually call Builder.modelGraderRefusalError with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
modelGraderServerError
final GraderRunResponse.Metadata.Errors.Builder modelGraderServerError(Boolean modelGraderServerError)
-
modelGraderServerError
final GraderRunResponse.Metadata.Errors.Builder modelGraderServerError(JsonField<Boolean> modelGraderServerError)
Sets Builder.modelGraderServerError to an arbitrary JSON value.
You should usually call Builder.modelGraderServerError with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
modelGraderServerErrorDetails
final GraderRunResponse.Metadata.Errors.Builder modelGraderServerErrorDetails(String modelGraderServerErrorDetails)
-
modelGraderServerErrorDetails
final GraderRunResponse.Metadata.Errors.Builder modelGraderServerErrorDetails(Optional<String> modelGraderServerErrorDetails)
Alias for calling Builder.modelGraderServerErrorDetails with
modelGraderServerErrorDetails.orElse(null).
-
modelGraderServerErrorDetails
final GraderRunResponse.Metadata.Errors.Builder modelGraderServerErrorDetails(JsonField<String> modelGraderServerErrorDetails)
Sets Builder.modelGraderServerErrorDetails to an arbitrary JSON value.
You should usually call Builder.modelGraderServerErrorDetails with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
otherError
final GraderRunResponse.Metadata.Errors.Builder otherError(Boolean otherError)
-
otherError
final GraderRunResponse.Metadata.Errors.Builder otherError(JsonField<Boolean> otherError)
Sets Builder.otherError to an arbitrary JSON value.
You should usually call Builder.otherError with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
pythonGraderRuntimeError
final GraderRunResponse.Metadata.Errors.Builder pythonGraderRuntimeError(Boolean pythonGraderRuntimeError)
-
pythonGraderRuntimeError
final GraderRunResponse.Metadata.Errors.Builder pythonGraderRuntimeError(JsonField<Boolean> pythonGraderRuntimeError)
Sets Builder.pythonGraderRuntimeError to an arbitrary JSON value.
You should usually call Builder.pythonGraderRuntimeError with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
pythonGraderRuntimeErrorDetails
final GraderRunResponse.Metadata.Errors.Builder pythonGraderRuntimeErrorDetails(String pythonGraderRuntimeErrorDetails)
-
pythonGraderRuntimeErrorDetails
final GraderRunResponse.Metadata.Errors.Builder pythonGraderRuntimeErrorDetails(Optional<String> pythonGraderRuntimeErrorDetails)
Alias for calling Builder.pythonGraderRuntimeErrorDetails with
pythonGraderRuntimeErrorDetails.orElse(null).
-
pythonGraderRuntimeErrorDetails
final GraderRunResponse.Metadata.Errors.Builder pythonGraderRuntimeErrorDetails(JsonField<String> pythonGraderRuntimeErrorDetails)
Sets Builder.pythonGraderRuntimeErrorDetails to an arbitrary JSON value.
You should usually call Builder.pythonGraderRuntimeErrorDetails with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
pythonGraderServerError
final GraderRunResponse.Metadata.Errors.Builder pythonGraderServerError(Boolean pythonGraderServerError)
-
pythonGraderServerError
final GraderRunResponse.Metadata.Errors.Builder pythonGraderServerError(JsonField<Boolean> pythonGraderServerError)
Sets Builder.pythonGraderServerError to an arbitrary JSON value.
You should usually call Builder.pythonGraderServerError with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
pythonGraderServerErrorType
final GraderRunResponse.Metadata.Errors.Builder pythonGraderServerErrorType(String pythonGraderServerErrorType)
-
pythonGraderServerErrorType
final GraderRunResponse.Metadata.Errors.Builder pythonGraderServerErrorType(Optional<String> pythonGraderServerErrorType)
Alias for calling Builder.pythonGraderServerErrorType with
pythonGraderServerErrorType.orElse(null).
-
pythonGraderServerErrorType
final GraderRunResponse.Metadata.Errors.Builder pythonGraderServerErrorType(JsonField<String> pythonGraderServerErrorType)
Sets Builder.pythonGraderServerErrorType to an arbitrary JSON value.
You should usually call Builder.pythonGraderServerErrorType with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
sampleParseError
final GraderRunResponse.Metadata.Errors.Builder sampleParseError(Boolean sampleParseError)
-
sampleParseError
final GraderRunResponse.Metadata.Errors.Builder sampleParseError(JsonField<Boolean> sampleParseError)
Sets Builder.sampleParseError to an arbitrary JSON value.
You should usually call Builder.sampleParseError with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
truncatedObservationError
final GraderRunResponse.Metadata.Errors.Builder truncatedObservationError(Boolean truncatedObservationError)
-
truncatedObservationError
final GraderRunResponse.Metadata.Errors.Builder truncatedObservationError(JsonField<Boolean> truncatedObservationError)
Sets Builder.truncatedObservationError to an arbitrary JSON value.
You should usually call Builder.truncatedObservationError with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
unresponsiveRewardError
final GraderRunResponse.Metadata.Errors.Builder unresponsiveRewardError(Boolean unresponsiveRewardError)
-
unresponsiveRewardError
final GraderRunResponse.Metadata.Errors.Builder unresponsiveRewardError(JsonField<Boolean> unresponsiveRewardError)
Sets Builder.unresponsiveRewardError to an arbitrary JSON value.
You should usually call Builder.unresponsiveRewardError 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 GraderRunResponse.Metadata.Errors.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final GraderRunResponse.Metadata.Errors.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final GraderRunResponse.Metadata.Errors.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final GraderRunResponse.Metadata.Errors.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final GraderRunResponse.Metadata.Errors.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final GraderRunResponse.Metadata.Errors build()
Returns an immutable instance of Errors.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.formulaParseError() .invalidVariableError() .modelGraderParseError() .modelGraderRefusalError() .modelGraderServerError() .modelGraderServerErrorDetails() .otherError() .pythonGraderRuntimeError() .pythonGraderRuntimeErrorDetails() .pythonGraderServerError() .pythonGraderServerErrorType() .sampleParseError() .truncatedObservationError() .unresponsiveRewardError()
-
-
-
-