FieldError
Stay organized with collections
Save and categorize content based on your preferences.
Enum describing possible field errors.
Enums |
UNSPECIFIED
|
Enum unspecified. |
UNKNOWN
|
The received error code is not known in this version. |
REQUIRED
|
The required field was not present. |
IMMUTABLE_FIELD
|
The field attempted to be mutated is immutable. |
INVALID_VALUE
|
The field's value is invalid. |
VALUE_MUST_BE_UNSET
|
The field cannot be set. |
REQUIRED_NONEMPTY_LIST
|
The required repeated field was empty. |
FIELD_CANNOT_BE_CLEARED
|
The field cannot be cleared. |
BLOCKED_VALUE
|
The field's value is on a deny-list for this field. |
FIELD_CAN_ONLY_BE_CLEARED
|
The field's value cannot be modified, except for clearing. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-02-20 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-02-20 UTC."],[[["This enum describes potential errors encountered within fields, such as missing required fields, invalid values, or immutable fields."],["It includes general error codes like `UNSPECIFIED` and `UNKNOWN`, and specific errors like `REQUIRED`, `IMMUTABLE_FIELD`, and `INVALID_VALUE`."],["Certain errors address list fields, such as `REQUIRED_NONEMPTY_LIST`, while others deal with field clearing, like `FIELD_CANNOT_BE_CLEARED` and `FIELD_CAN_ONLY_BE_CLEARED`."]]],[]]