class_docstr: Tests for CopyTo functions of Descriptor.
code: def testCopyToProto_Options(self):
      TEST_DEPRECATED_FIELDS_ASCII = """
        name: 'TestDeprecatedFields'
        field: <
          name: 'deprecated_int32'
          number: 1
          label: 1  # Optional
          type: 5  # TYPE_INT32
          options: <
            deprecated: true
          >
        >
        """
  
      self._InternalTestCopyToProto(
          unittest_pb2.TestDeprecatedFields.DESCRIPTOR,
          descriptor_pb2.DescriptorProto,
          TEST_DEPRECATED_FIELDS_ASCII,
      )
  
imports: import unittest
  from google.protobuf import unittest_custom_options_pb2
  from google.protobuf import unittest_import_pb2
  from google.protobuf import unittest_pb2
  from google.protobuf import descriptor_pb2
  from google.protobuf import descriptor
  from google.protobuf import text_format
label_desc: Use image node_id 7 for calling the DescriptorCopyToProtoTest obj's underlying member method code with example usage: obj.testCopyToProto_Options() without return types