def __init__(self, out, indent=<NUM_LIT:0>, as_utf8=False, as_one_line=False,<EOL>pointy_brackets=False, use_index_order=False, float_format=None,<EOL>use_field_number=False):
self.out = out<EOL>self.indent = indent<EOL>self.as_utf8 = as_utf8<EOL>self.as_one_line = as_one_line<EOL>self.pointy_brackets = pointy_brackets<EOL>self.use_index_order = use_index_order<EOL>self.float_format = float_format<EOL>self.use_field_number = use_field_number<EOL>
Initialize the Printer.

        Floating point values can be formatted compactly with 15 digits of
        precision (which is the most that IEEE 754 "double" can guarantee)
        using float_format='.15g'. To ensure that converting to text and back to a
        proto will result in an identical value, float_format='.17g' should be used.

        Args:
          out: To record the text format result.
          indent: The indent level for pretty print.
          as_utf8: Produce text output in UTF8 format.
          as_one_line: Don't introduce newlines between fields.
          pointy_brackets: If True, use angle brackets instead of curly braces for
            nesting.
          use_index_order: If True, print fields of a proto message using the order
            defined in source code instead of the field number. By default, use the
            field number order.
          float_format: If set, use this to specify floating point number formatting
            (per the "Format Specification Mini-Language"); otherwise, str() is
            used.
          use_field_number: If True, print field numbers instead of names.