This is to implement the SetOptionalField and SetRequiredField methods on the v2 decorators.
This is to implement the SetOptionalField and SetRequiredField methods on the v2 decorators.