(descriptor_proto)
Returns the value of the field `options`, or None if it is not set.
Returns the value of the field `options`, or None if it is not set.
Returns the value of the field options or None if it is not set .
def _OptionsOrNone(descriptor_proto):
  """Returns the value of the field `options`, or None if it is not set."""
  if descriptor_proto.HasField('options'):
    return descriptor_proto.options
  else:
    return None
def _OptionsOrNone ( descriptor_proto ) : if descriptor_proto . HasField ( 'options' ) : return descriptor_proto . options else : return None