@staticmethod
def convert_pb_to_doc(pb, doc):
    '\n        Convert protobuf to database document.\n\n        :param pb: A protobuf\n        :type pb: starbelly.starbelly_pb2.PolicyUserAgents\n        :returns: Database document.\n        :rtype: dict\n        '
    for user_agent in pb:
        doc.append({'name': user_agent.name})
Convert protobuf to database document.

:param pb: A protobuf
:type pb: starbelly.starbelly_pb2.PolicyUserAgents
:returns: Database document.
:rtype: dict
@staticmethod
def convert_pb_to_doc(pb, doc):
    '\n        Convert protobuf to database document.\n\n        :param pb: A protobuf\n        :type pb: starbelly.starbelly_pb2.PolicyUserAgents\n        :returns: Database document.\n        :rtype: dict\n        '
    for user_agent in pb:
        doc.append({'name': user_agent.name})