Lines Matching refs:TextMarshaler
207 func (tm *TextMarshaler) writeProto3Any(w *textWriter, sv reflect.Value) (bool, error) {
253 func (tm *TextMarshaler) writeStruct(w *textWriter, sv reflect.Value) error {
460 func (tm *TextMarshaler) writeAny(w *textWriter, v reflect.Value, props *Properties) error {
522 if etm, ok := v.Interface().(encoding.TextMarshaler); ok {
679 func (tm *TextMarshaler) writeExtensions(w *textWriter, pv reflect.Value) error {
734 func (tm *TextMarshaler) writeExtension(w *textWriter, name string, pb interface{}) error {
769 type TextMarshaler struct { struct
776 func (tm *TextMarshaler) Marshal(w io.Writer, pb Message) error { argument
794 if etm, ok := pb.(encoding.TextMarshaler); ok {
819 func (tm *TextMarshaler) Text(pb Message) string { argument
826 defaultTextMarshaler = TextMarshaler{}
827 compactTextMarshaler = TextMarshaler{Compact: true}