deprecated property

  1. @TagNumber(3)
bool get deprecated

Is this enum deprecated? Depending on the target platform, this can emit Deprecated annotations for the enum, or it will be completely ignored; in the very least, this is a formalization for deprecating enums.

Implementation

@$pb.TagNumber(3)
$core.bool get deprecated => $_getBF(1);
  1. @TagNumber(3)
set deprecated (bool v)

Implementation

@$pb.TagNumber(3)
set deprecated($core.bool v) { $_setBool(1, v); }