noStandardDescriptorAccessor property

  1. @TagNumber(2)
bool noStandardDescriptorAccessor

Disables the generation of the standard "descriptor()" accessor, which can conflict with a field of the same name. This is meant to make migration from proto1 easier; new code should avoid fields named "descriptor".

Implementation

@$pb.TagNumber(2)
$core.bool get noStandardDescriptorAccessor => $_getBF(1);
  1. @TagNumber(2)
void noStandardDescriptorAccessor=(bool v)

Implementation

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