Class GraderRunResponse.Metadata.Errors
-
- All Implemented Interfaces:
public final class GraderRunResponse.Metadata.Errors
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classGraderRunResponse.Metadata.Errors.BuilderA builder for Errors.
-
Method Summary
-
-
Method Detail
-
formulaParseError
final Boolean formulaParseError()
-
invalidVariableError
final Boolean invalidVariableError()
-
modelGraderParseError
final Boolean modelGraderParseError()
-
modelGraderRefusalError
final Boolean modelGraderRefusalError()
-
modelGraderServerError
final Boolean modelGraderServerError()
-
modelGraderServerErrorDetails
final Optional<String> modelGraderServerErrorDetails()
-
otherError
final Boolean otherError()
-
pythonGraderRuntimeError
final Boolean pythonGraderRuntimeError()
-
pythonGraderRuntimeErrorDetails
final Optional<String> pythonGraderRuntimeErrorDetails()
-
pythonGraderServerError
final Boolean pythonGraderServerError()
-
pythonGraderServerErrorType
final Optional<String> pythonGraderServerErrorType()
-
sampleParseError
final Boolean sampleParseError()
-
truncatedObservationError
final Boolean truncatedObservationError()
-
unresponsiveRewardError
final Boolean unresponsiveRewardError()
-
_formulaParseError
final JsonField<Boolean> _formulaParseError()
Returns the raw JSON value of formulaParseError.
Unlike formulaParseError, this method doesn't throw if the JSON field has an unexpected type.
-
_invalidVariableError
final JsonField<Boolean> _invalidVariableError()
Returns the raw JSON value of invalidVariableError.
Unlike invalidVariableError, this method doesn't throw if the JSON field has an unexpected type.
-
_modelGraderParseError
final JsonField<Boolean> _modelGraderParseError()
Returns the raw JSON value of modelGraderParseError.
Unlike modelGraderParseError, this method doesn't throw if the JSON field has an unexpected type.
-
_modelGraderRefusalError
final JsonField<Boolean> _modelGraderRefusalError()
Returns the raw JSON value of modelGraderRefusalError.
Unlike modelGraderRefusalError, this method doesn't throw if the JSON field has an unexpected type.
-
_modelGraderServerError
final JsonField<Boolean> _modelGraderServerError()
Returns the raw JSON value of modelGraderServerError.
Unlike modelGraderServerError, this method doesn't throw if the JSON field has an unexpected type.
-
_modelGraderServerErrorDetails
final JsonField<String> _modelGraderServerErrorDetails()
Returns the raw JSON value of modelGraderServerErrorDetails.
Unlike modelGraderServerErrorDetails, this method doesn't throw if the JSON field has an unexpected type.
-
_otherError
final JsonField<Boolean> _otherError()
Returns the raw JSON value of otherError.
Unlike otherError, this method doesn't throw if the JSON field has an unexpected type.
-
_pythonGraderRuntimeError
final JsonField<Boolean> _pythonGraderRuntimeError()
Returns the raw JSON value of pythonGraderRuntimeError.
Unlike pythonGraderRuntimeError, this method doesn't throw if the JSON field has an unexpected type.
-
_pythonGraderRuntimeErrorDetails
final JsonField<String> _pythonGraderRuntimeErrorDetails()
Returns the raw JSON value of pythonGraderRuntimeErrorDetails.
Unlike pythonGraderRuntimeErrorDetails, this method doesn't throw if the JSON field has an unexpected type.
-
_pythonGraderServerError
final JsonField<Boolean> _pythonGraderServerError()
Returns the raw JSON value of pythonGraderServerError.
Unlike pythonGraderServerError, this method doesn't throw if the JSON field has an unexpected type.
-
_pythonGraderServerErrorType
final JsonField<String> _pythonGraderServerErrorType()
Returns the raw JSON value of pythonGraderServerErrorType.
Unlike pythonGraderServerErrorType, this method doesn't throw if the JSON field has an unexpected type.
-
_sampleParseError
final JsonField<Boolean> _sampleParseError()
Returns the raw JSON value of sampleParseError.
Unlike sampleParseError, this method doesn't throw if the JSON field has an unexpected type.
-
_truncatedObservationError
final JsonField<Boolean> _truncatedObservationError()
Returns the raw JSON value of truncatedObservationError.
Unlike truncatedObservationError, this method doesn't throw if the JSON field has an unexpected type.
-
_unresponsiveRewardError
final JsonField<Boolean> _unresponsiveRewardError()
Returns the raw JSON value of unresponsiveRewardError.
Unlike unresponsiveRewardError, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final GraderRunResponse.Metadata.Errors.Builder toBuilder()
-
validate
final GraderRunResponse.Metadata.Errors validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static GraderRunResponse.Metadata.Errors.Builder builder()
Returns a mutable builder for constructing an instance of Errors.
The following fields are required:
.formulaParseError() .invalidVariableError() .modelGraderParseError() .modelGraderRefusalError() .modelGraderServerError() .modelGraderServerErrorDetails() .otherError() .pythonGraderRuntimeError() .pythonGraderRuntimeErrorDetails() .pythonGraderServerError() .pythonGraderServerErrorType() .sampleParseError() .truncatedObservationError() .unresponsiveRewardError()
-
-
-
-