def GetOptions(self):
if self._options:<EOL><INDENT>return self._options<EOL><DEDENT>from typy.google.protobuf import descriptor_pb2<EOL>try:<EOL><INDENT>options_class = getattr(descriptor_pb2, self._options_class_name)<EOL><DEDENT>except AttributeError:<EOL><INDENT>raise RuntimeError('<STR_LIT>' %<EOL>(self._options_class_name))<EOL><DEDENT>self._options = options_class()<EOL>return self._options<EOL>
Retrieves descriptor options.

        This method returns the options set or creates the default options for the
        descriptor.