kubernetes/vendor/github.com/golang/protobuf/proto/text_encode.go

const wrapTextMarshalV2

type TextMarshaler

// Marshal writes the proto text format of m to w.
func (tm *TextMarshaler) Marshal(w io.Writer, m Message) error {}

// Text returns a proto text formatted string of m.
func (tm *TextMarshaler) Text(m Message) string {}

func (tm *TextMarshaler) marshal(m Message) ([]byte, error) {}

var defaultTextMarshaler

var compactTextMarshaler

// MarshalText writes the proto text format of m to w.
func MarshalText(w io.Writer, m Message) error {}

// MarshalTextString returns a proto text formatted string of m.
func MarshalTextString(m Message) string {}

// CompactText writes the compact proto text format of m to w.
func CompactText(w io.Writer, m Message) error {}

// CompactTextString returns a compact proto text formatted string of m.
func CompactTextString(m Message) string {}

var newline

var endBraceNewline

var posInf

var negInf

var nan

type textWriter

func (w *textWriter) Write(p []byte) (n int, _ error) {}

func (w *textWriter) WriteByte(c byte) error {}

func (w *textWriter) writeName(fd protoreflect.FieldDescriptor) {}

func requiresQuotes(u string) bool {}

// writeProto3Any writes an expanded google.protobuf.Any message.
//
// It returns (false, nil) if sv value can't be unmarshaled (e.g. because
// required messages are not linked in).
//
// It returns (true, error) when sv was written in expanded format or an error
// was encountered.
func (w *textWriter) writeProto3Any(m protoreflect.Message) (bool, error) {}

func (w *textWriter) writeMessage(m protoreflect.Message) error {}

func (w *textWriter) writeSingularValue(v protoreflect.Value, fd protoreflect.FieldDescriptor) error {}

// writeQuotedString writes a quoted string in the protocol buffer text format.
func (w *textWriter) writeQuotedString(s string) {}

func (w *textWriter) writeUnknownFields(b []byte) {}

// writeExtensions writes all the extensions in m.
func (w *textWriter) writeExtensions(m protoreflect.Message) error {}

func (w *textWriter) writeSingularExtension(name string, v protoreflect.Value, fd protoreflect.FieldDescriptor) error {}

func (w *textWriter) writeIndent() {}