FieldMaskError

Enum describing possible field mask errors.

Proto definition

Enums

FIELD_HAS_SUBFIELDS

The field mask updated a field with subfields. Fields with subfields may be cleared, but not updated. To fix this, the field mask should select all the subfields of the invalid field.

FIELD_MASK_MISSING

The field mask must be provided for update operations.

FIELD_MASK_NOT_ALLOWED

The field mask must be empty for create and remove operations.

FIELD_NOT_FOUND

The field mask contained an invalid field.

UNKNOWN

The received error code is not known in this version.

UNSPECIFIED

Enum unspecified.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2026-01-22 UTC.