func TestCompactText(t *testing.T) { s := proto.CompactTextString(newTestMessage()) if s != compactText { t.Errorf("Got:\n===\n%v===\nExpected:\n===\n%v\n===\n", s, compactText) } }
func (m *PublicKey) String() string { return proto.CompactTextString(m) }
func (m *PrivateKey) String() string { return proto.CompactTextString(m) }
func (m *MetricFamily) String() string { return proto.CompactTextString(m) }
func (m *LabelPair) String() string { return proto.CompactTextString(m) }
func (m *Histogram) String() string { return proto.CompactTextString(m) }
func (m *Bucket) String() string { return proto.CompactTextString(m) }
func (m *Summary) String() string { return proto.CompactTextString(m) }
func (m *Untyped) String() string { return proto.CompactTextString(m) }
func (m *Quantile) String() string { return proto.CompactTextString(m) }
func (m *Counter) String() string { return proto.CompactTextString(m) }
func (m *Gauge) String() string { return proto.CompactTextString(m) }
func (m *Message) String() string { return proto.CompactTextString(m) }
func (m *Nested) String() string { return proto.CompactTextString(m) }