def VisitMessage(self, msg_proto, type_context, nested_msgs, nested_enums):
    if msg_proto.options.map_entry:
        return ''
    normal_msg_type = NormalizeTypeContextName(type_context.name)
    anchor = FormatAnchor(MessageCrossRefLabel(normal_msg_type))
    header = FormatHeader('-', normal_msg_type)
    github_url = GithubUrl(type_context)
    proto_link = (FormatExternalLink(('[%s proto]' % normal_msg_type), github_url) + '\n\n')
    leading_comment = type_context.leading_comment
    formatted_leading_comment = FormatCommentWithAnnotations(leading_comment, 'message')
    if HideNotImplemented(leading_comment):
        return ''
    return ((((((((anchor + header) + proto_link) + formatted_leading_comment) + FormatMessageAsJson(type_context, msg_proto)) + FormatMessageAsDefinitionList(type_context, msg_proto, self.protodoc_manifest)) + '\n'.join(nested_msgs)) + '\n') + '\n'.join(nested_enums))
def VisitMessage(self, msg_proto, type_context, nested_msgs, nested_enums):
    if msg_proto.options.map_entry:
        return 
    normal_msg_type = NormalizeTypeContextName(type_context.name)
    anchor = FormatAnchor(MessageCrossRefLabel(normal_msg_type))
    header = FormatHeader('-', normal_msg_type)
    github_url = GithubUrl(type_context)
    proto_link = (FormatExternalLink(('[%s proto]' % normal_msg_type), github_url) + '\n\n')
    leading_comment = type_context.leading_comment
    formatted_leading_comment = FormatCommentWithAnnotations(leading_comment, 'message')
    if HideNotImplemented(leading_comment):
        return 
    return ((((((((anchor + header) + proto_link) + formatted_leading_comment) + FormatMessageAsJson(type_context, msg_proto)) + FormatMessageAsDefinitionList(type_context, msg_proto, self.protodoc_manifest)) + '\n'.join(nested_msgs)) + '\n') + '\n'.join(nested_enums))