Debian Codegraph @

m3/thrift/v1/ttypes.go

raw symbols SCIP
1 // Autogenerated by Thrift Compiler (0.9.3)
2 // DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
3
4 package v1scip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/
5
6 import (
7 "bytesscip-go gomod github.com/golang/go/src go1.20 bytes/"
8 "fmtscip-go gomod github.com/golang/go/src go1.20 fmt/"
9 "github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/"
10 )
11
12 // (needed to ensure safety because of naive import list construction.)
13 var _ = thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.ZEROscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/ZERO.
14 var _ = fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Printfscip-go gomod github.com/golang/go/src go1.20 fmt/Printf().
15 var _ = bytesscip-go gomod github.com/golang/go/src go1.20 bytes/.Equalscip-go gomod github.com/golang/go/src go1.20 bytes/Equal().
16
17 var GoUnusedProtection__scip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/GoUnusedProtection__. int
18
19 // Different types of values that m3 emits. Each metric
20 // must contain one of these values
21 //
22 // Attributes:
23 // - Count
24 // - Gauge
25 // - Timer
26 type MetricValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricValue# struct {
27 Countscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricValue#Count. *CountValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/CountValue# `thrift:"count,1" json:"count,omitempty"`
28 Gaugescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricValue#Gauge. *GaugeValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/GaugeValue# `thrift:"gauge,2" json:"gauge,omitempty"`
29 Timerscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricValue#Timer. *TimerValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/TimerValue# `thrift:"timer,3" json:"timer,omitempty"`
30 }
31
32 func NewMetricValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/NewMetricValue().() *MetricValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricValue# {
33 return &MetricValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricValue#{}
34 }
35
36 var MetricValue_Count_DEFAULTscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricValue_Count_DEFAULT. CountValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/CountValue#
37
38 func (p *MetricValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricValue#) GetCountscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricValue#GetCount().() CountValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/CountValue# {
39 if !p.IsSetCountscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricValue#IsSetCount().() {
40 return MetricValue_Count_DEFAULTscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricValue_Count_DEFAULT.
41 }
42 return *p.Countscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricValue#Count.
43 }
44
45 var MetricValue_Gauge_DEFAULTscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricValue_Gauge_DEFAULT. GaugeValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/GaugeValue#
46
47 func (p *MetricValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricValue#) GetGaugescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricValue#GetGauge().() GaugeValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/GaugeValue# {
48 if !p.IsSetGaugescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricValue#IsSetGauge().() {
49 return MetricValue_Gauge_DEFAULTscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricValue_Gauge_DEFAULT.
50 }
51 return *p.Gaugescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricValue#Gauge.
52 }
53
54 var MetricValue_Timer_DEFAULTscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricValue_Timer_DEFAULT. TimerValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/TimerValue#
55
56 func (p *MetricValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricValue#) GetTimerscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricValue#GetTimer().() TimerValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/TimerValue# {
57 if !p.IsSetTimerscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricValue#IsSetTimer().() {
58 return MetricValue_Timer_DEFAULTscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricValue_Timer_DEFAULT.
59 }
60 return *p.Timerscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricValue#Timer.
61 }
62 func (p *MetricValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricValue#) CountSetFieldsMetricValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricValue#CountSetFieldsMetricValue().() int {
63 count := 0
64 if p.IsSetCountscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricValue#IsSetCount().() {
65 count++
66 }
67 if p.IsSetGaugescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricValue#IsSetGauge().() {
68 count++
69 }
70 if p.IsSetTimerscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricValue#IsSetTimer().() {
71 count++
72 }
73 return count
74
75 }
76
77 func (p *MetricValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricValue#) IsSetCountscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricValue#IsSetCount().() bool {
78 return p.Countscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricValue#Count. != nil
79 }
80
81 func (p *MetricValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricValue#) IsSetGaugescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricValue#IsSetGauge().() bool {
82 return p.Gaugescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricValue#Gauge. != nil
83 }
84
85 func (p *MetricValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricValue#) IsSetTimerscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricValue#IsSetTimer().() bool {
86 return p.Timerscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricValue#Timer. != nil
87 }
88
89 func (p *MetricValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricValue#) Readscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricValue#Read().(iprot thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.TProtocolscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#) error {
90 if _, err := iprot.ReadStructBeginscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#ReadStructBegin.(); err != nil {
91 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().(fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("%T read error: ", p), err)
92 }
93
94 for {
95 _, fieldTypeId, fieldId, err := iprot.ReadFieldBeginscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#ReadFieldBegin.()
96 if err != nil {
97 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().(fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("%T field %d read error: ", p, fieldId), err)
98 }
99 if fieldTypeId == thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.STOPscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/STOP. {
100 break
101 }
102 switch fieldId {
103 case 1:
104 if err := p.readField1scip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricValue#readField1().(iprot); err != nil {
105 return err
106 }
107 case 2:
108 if err := p.readField2scip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricValue#readField2().(iprot); err != nil {
109 return err
110 }
111 case 3:
112 if err := p.readField3scip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricValue#readField3().(iprot); err != nil {
113 return err
114 }
115 default:
116 if err := iprot.Skipscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#Skip.(fieldTypeId); err != nil {
117 return err
118 }
119 }
120 if err := iprot.ReadFieldEndscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#ReadFieldEnd.(); err != nil {
121 return err
122 }
123 }
124 if err := iprot.ReadStructEndscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#ReadStructEnd.(); err != nil {
125 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().(fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("%T read struct end error: ", p), err)
126 }
127 return nil
128 }
129
130 func (p *MetricValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricValue#) readField1scip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricValue#readField1().(iprot thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.TProtocolscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#) error {
131 p.Countscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricValue#Count. = &CountValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/CountValue#{}
132 if err := p.Countscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricValue#Count..Readscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/CountValue#Read().(iprot); err != nil {
133 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().(fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("%T error reading struct: ", p.Countscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricValue#Count.), err)
134 }
135 return nil
136 }
137
138 func (p *MetricValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricValue#) readField2scip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricValue#readField2().(iprot thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.TProtocolscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#) error {
139 p.Gaugescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricValue#Gauge. = &GaugeValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/GaugeValue#{}
140 if err := p.Gaugescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricValue#Gauge..Readscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/GaugeValue#Read().(iprot); err != nil {
141 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().(fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("%T error reading struct: ", p.Gaugescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricValue#Gauge.), err)
142 }
143 return nil
144 }
145
146 func (p *MetricValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricValue#) readField3scip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricValue#readField3().(iprot thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.TProtocolscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#) error {
147 p.Timerscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricValue#Timer. = &TimerValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/TimerValue#{}
148 if err := p.Timerscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricValue#Timer..Readscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/TimerValue#Read().(iprot); err != nil {
149 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().(fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("%T error reading struct: ", p.Timerscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricValue#Timer.), err)
150 }
151 return nil
152 }
153
154 func (p *MetricValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricValue#) Writescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricValue#Write().(oprot thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.TProtocolscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#) error {
155 if c := p.CountSetFieldsMetricValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricValue#CountSetFieldsMetricValue().(); c != 1 {
156 return fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Errorfscip-go gomod github.com/golang/go/src go1.20 fmt/Errorf().("%T write union: exactly one field must be set (%d set).", p, c)
157 }
158 if err := oprot.WriteStructBeginscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#WriteStructBegin.("MetricValue"); err != nil {
159 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().(fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("%T write struct begin error: ", p), err)
160 }
161 if err := p.writeField1scip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricValue#writeField1().(oprot); err != nil {
162 return err
163 }
164 if err := p.writeField2scip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricValue#writeField2().(oprot); err != nil {
165 return err
166 }
167 if err := p.writeField3scip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricValue#writeField3().(oprot); err != nil {
168 return err
169 }
170 if err := oprot.WriteFieldStopscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#WriteFieldStop.(); err != nil {
171 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().("write field stop error: ", err)
172 }
173 if err := oprot.WriteStructEndscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#WriteStructEnd.(); err != nil {
174 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().("write struct stop error: ", err)
175 }
176 return nil
177 }
178
179 func (p *MetricValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricValue#) writeField1scip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricValue#writeField1().(oprot thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.TProtocolscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#) (err error) {
180 if p.IsSetCountscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricValue#IsSetCount().() {
181 if err := oprot.WriteFieldBeginscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#WriteFieldBegin.("count", thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.STRUCTscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/STRUCT., 1); err != nil {
182 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().(fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("%T write field begin error 1:count: ", p), err)
183 }
184 if err := p.Countscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricValue#Count..Writescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/CountValue#Write().(oprot); err != nil {
185 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().(fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("%T error writing struct: ", p.Countscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricValue#Count.), err)
186 }
187 if err := oprot.WriteFieldEndscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#WriteFieldEnd.(); err != nil {
188 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().(fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("%T write field end error 1:count: ", p), err)
189 }
190 }
191 return err
192 }
193
194 func (p *MetricValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricValue#) writeField2scip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricValue#writeField2().(oprot thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.TProtocolscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#) (err error) {
195 if p.IsSetGaugescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricValue#IsSetGauge().() {
196 if err := oprot.WriteFieldBeginscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#WriteFieldBegin.("gauge", thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.STRUCTscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/STRUCT., 2); err != nil {
197 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().(fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("%T write field begin error 2:gauge: ", p), err)
198 }
199 if err := p.Gaugescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricValue#Gauge..Writescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/GaugeValue#Write().(oprot); err != nil {
200 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().(fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("%T error writing struct: ", p.Gaugescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricValue#Gauge.), err)
201 }
202 if err := oprot.WriteFieldEndscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#WriteFieldEnd.(); err != nil {
203 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().(fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("%T write field end error 2:gauge: ", p), err)
204 }
205 }
206 return err
207 }
208
209 func (p *MetricValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricValue#) writeField3scip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricValue#writeField3().(oprot thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.TProtocolscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#) (err error) {
210 if p.IsSetTimerscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricValue#IsSetTimer().() {
211 if err := oprot.WriteFieldBeginscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#WriteFieldBegin.("timer", thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.STRUCTscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/STRUCT., 3); err != nil {
212 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().(fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("%T write field begin error 3:timer: ", p), err)
213 }
214 if err := p.Timerscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricValue#Timer..Writescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/TimerValue#Write().(oprot); err != nil {
215 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().(fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("%T error writing struct: ", p.Timerscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricValue#Timer.), err)
216 }
217 if err := oprot.WriteFieldEndscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#WriteFieldEnd.(); err != nil {
218 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().(fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("%T write field end error 3:timer: ", p), err)
219 }
220 }
221 return err
222 }
223
224 func (p *MetricValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricValue#) Stringscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricValue#String().() string {
225 if p == nil {
226 return "<nil>"
227 }
228 return fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("MetricValue(%+v)", *p)
229 }
230
231 // Different types of count values
232 //
233 // Attributes:
234 // - I64Value
235 type CountValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/CountValue# struct {
236 I64Valuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/CountValue#I64Value. *int64 `thrift:"i64Value,1" json:"i64Value,omitempty"`
237 }
238
239 func NewCountValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/NewCountValue().() *CountValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/CountValue# {
240 return &CountValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/CountValue#{}
241 }
242
243 var CountValue_I64Value_DEFAULTscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/CountValue_I64Value_DEFAULT. int64
244
245 func (p *CountValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/CountValue#) GetI64Valuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/CountValue#GetI64Value().() int64 {
246 if !p.IsSetI64Valuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/CountValue#IsSetI64Value().() {
247 return CountValue_I64Value_DEFAULTscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/CountValue_I64Value_DEFAULT.
248 }
249 return *p.I64Valuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/CountValue#I64Value.
250 }
251 func (p *CountValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/CountValue#) CountSetFieldsCountValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/CountValue#CountSetFieldsCountValue().() int {
252 count := 0
253 if p.IsSetI64Valuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/CountValue#IsSetI64Value().() {
254 count++
255 }
256 return count
257
258 }
259
260 func (p *CountValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/CountValue#) IsSetI64Valuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/CountValue#IsSetI64Value().() bool {
261 return p.I64Valuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/CountValue#I64Value. != nil
262 }
263
264 func (p *CountValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/CountValue#) Readscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/CountValue#Read().(iprot thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.TProtocolscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#) error {
265 if _, err := iprot.ReadStructBeginscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#ReadStructBegin.(); err != nil {
266 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().(fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("%T read error: ", p), err)
267 }
268
269 for {
270 _, fieldTypeId, fieldId, err := iprot.ReadFieldBeginscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#ReadFieldBegin.()
271 if err != nil {
272 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().(fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("%T field %d read error: ", p, fieldId), err)
273 }
274 if fieldTypeId == thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.STOPscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/STOP. {
275 break
276 }
277 switch fieldId {
278 case 1:
279 if err := p.readField1scip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/CountValue#readField1().(iprot); err != nil {
280 return err
281 }
282 default:
283 if err := iprot.Skipscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#Skip.(fieldTypeId); err != nil {
284 return err
285 }
286 }
287 if err := iprot.ReadFieldEndscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#ReadFieldEnd.(); err != nil {
288 return err
289 }
290 }
291 if err := iprot.ReadStructEndscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#ReadStructEnd.(); err != nil {
292 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().(fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("%T read struct end error: ", p), err)
293 }
294 return nil
295 }
296
297 func (p *CountValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/CountValue#) readField1scip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/CountValue#readField1().(iprot thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.TProtocolscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#) error {
298 if v, err := iprot.ReadI64scip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#ReadI64.(); err != nil {
299 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().("error reading field 1: ", err)
300 } else {
301 p.I64Valuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/CountValue#I64Value. = &v
302 }
303 return nil
304 }
305
306 func (p *CountValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/CountValue#) Writescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/CountValue#Write().(oprot thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.TProtocolscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#) error {
307 if c := p.CountSetFieldsCountValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/CountValue#CountSetFieldsCountValue().(); c != 1 {
308 return fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Errorfscip-go gomod github.com/golang/go/src go1.20 fmt/Errorf().("%T write union: exactly one field must be set (%d set).", p, c)
309 }
310 if err := oprot.WriteStructBeginscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#WriteStructBegin.("CountValue"); err != nil {
311 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().(fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("%T write struct begin error: ", p), err)
312 }
313 if err := p.writeField1scip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/CountValue#writeField1().(oprot); err != nil {
314 return err
315 }
316 if err := oprot.WriteFieldStopscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#WriteFieldStop.(); err != nil {
317 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().("write field stop error: ", err)
318 }
319 if err := oprot.WriteStructEndscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#WriteStructEnd.(); err != nil {
320 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().("write struct stop error: ", err)
321 }
322 return nil
323 }
324
325 func (p *CountValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/CountValue#) writeField1scip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/CountValue#writeField1().(oprot thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.TProtocolscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#) (err error) {
326 if p.IsSetI64Valuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/CountValue#IsSetI64Value().() {
327 if err := oprot.WriteFieldBeginscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#WriteFieldBegin.("i64Value", thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.I64scip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/I64., 1); err != nil {
328 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().(fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("%T write field begin error 1:i64Value: ", p), err)
329 }
330 if err := oprot.WriteI64scip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#WriteI64.(int64(*p.I64Valuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/CountValue#I64Value.)); err != nil {
331 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().(fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("%T.i64Value (1) field write error: ", p), err)
332 }
333 if err := oprot.WriteFieldEndscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#WriteFieldEnd.(); err != nil {
334 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().(fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("%T write field end error 1:i64Value: ", p), err)
335 }
336 }
337 return err
338 }
339
340 func (p *CountValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/CountValue#) Stringscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/CountValue#String().() string {
341 if p == nil {
342 return "<nil>"
343 }
344 return fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("CountValue(%+v)", *p)
345 }
346
347 // Different types of gauge values
348 //
349 // Attributes:
350 // - I64Value
351 // - DValue
352 type GaugeValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/GaugeValue# struct {
353 I64Valuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/GaugeValue#I64Value. *int64 `thrift:"i64Value,1" json:"i64Value,omitempty"`
354 DValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/GaugeValue#DValue. *float64 `thrift:"dValue,2" json:"dValue,omitempty"`
355 }
356
357 func NewGaugeValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/NewGaugeValue().() *GaugeValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/GaugeValue# {
358 return &GaugeValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/GaugeValue#{}
359 }
360
361 var GaugeValue_I64Value_DEFAULTscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/GaugeValue_I64Value_DEFAULT. int64
362
363 func (p *GaugeValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/GaugeValue#) GetI64Valuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/GaugeValue#GetI64Value().() int64 {
364 if !p.IsSetI64Valuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/GaugeValue#IsSetI64Value().() {
365 return GaugeValue_I64Value_DEFAULTscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/GaugeValue_I64Value_DEFAULT.
366 }
367 return *p.I64Valuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/GaugeValue#I64Value.
368 }
369
370 var GaugeValue_DValue_DEFAULTscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/GaugeValue_DValue_DEFAULT. float64
371
372 func (p *GaugeValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/GaugeValue#) GetDValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/GaugeValue#GetDValue().() float64 {
373 if !p.IsSetDValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/GaugeValue#IsSetDValue().() {
374 return GaugeValue_DValue_DEFAULTscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/GaugeValue_DValue_DEFAULT.
375 }
376 return *p.DValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/GaugeValue#DValue.
377 }
378 func (p *GaugeValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/GaugeValue#) CountSetFieldsGaugeValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/GaugeValue#CountSetFieldsGaugeValue().() int {
379 count := 0
380 if p.IsSetI64Valuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/GaugeValue#IsSetI64Value().() {
381 count++
382 }
383 if p.IsSetDValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/GaugeValue#IsSetDValue().() {
384 count++
385 }
386 return count
387
388 }
389
390 func (p *GaugeValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/GaugeValue#) IsSetI64Valuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/GaugeValue#IsSetI64Value().() bool {
391 return p.I64Valuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/GaugeValue#I64Value. != nil
392 }
393
394 func (p *GaugeValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/GaugeValue#) IsSetDValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/GaugeValue#IsSetDValue().() bool {
395 return p.DValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/GaugeValue#DValue. != nil
396 }
397
398 func (p *GaugeValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/GaugeValue#) Readscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/GaugeValue#Read().(iprot thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.TProtocolscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#) error {
399 if _, err := iprot.ReadStructBeginscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#ReadStructBegin.(); err != nil {
400 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().(fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("%T read error: ", p), err)
401 }
402
403 for {
404 _, fieldTypeId, fieldId, err := iprot.ReadFieldBeginscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#ReadFieldBegin.()
405 if err != nil {
406 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().(fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("%T field %d read error: ", p, fieldId), err)
407 }
408 if fieldTypeId == thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.STOPscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/STOP. {
409 break
410 }
411 switch fieldId {
412 case 1:
413 if err := p.readField1scip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/GaugeValue#readField1().(iprot); err != nil {
414 return err
415 }
416 case 2:
417 if err := p.readField2scip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/GaugeValue#readField2().(iprot); err != nil {
418 return err
419 }
420 default:
421 if err := iprot.Skipscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#Skip.(fieldTypeId); err != nil {
422 return err
423 }
424 }
425 if err := iprot.ReadFieldEndscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#ReadFieldEnd.(); err != nil {
426 return err
427 }
428 }
429 if err := iprot.ReadStructEndscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#ReadStructEnd.(); err != nil {
430 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().(fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("%T read struct end error: ", p), err)
431 }
432 return nil
433 }
434
435 func (p *GaugeValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/GaugeValue#) readField1scip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/GaugeValue#readField1().(iprot thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.TProtocolscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#) error {
436 if v, err := iprot.ReadI64scip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#ReadI64.(); err != nil {
437 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().("error reading field 1: ", err)
438 } else {
439 p.I64Valuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/GaugeValue#I64Value. = &v
440 }
441 return nil
442 }
443
444 func (p *GaugeValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/GaugeValue#) readField2scip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/GaugeValue#readField2().(iprot thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.TProtocolscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#) error {
445 if v, err := iprot.ReadDoublescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#ReadDouble.(); err != nil {
446 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().("error reading field 2: ", err)
447 } else {
448 p.DValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/GaugeValue#DValue. = &v
449 }
450 return nil
451 }
452
453 func (p *GaugeValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/GaugeValue#) Writescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/GaugeValue#Write().(oprot thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.TProtocolscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#) error {
454 if c := p.CountSetFieldsGaugeValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/GaugeValue#CountSetFieldsGaugeValue().(); c != 1 {
455 return fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Errorfscip-go gomod github.com/golang/go/src go1.20 fmt/Errorf().("%T write union: exactly one field must be set (%d set).", p, c)
456 }
457 if err := oprot.WriteStructBeginscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#WriteStructBegin.("GaugeValue"); err != nil {
458 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().(fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("%T write struct begin error: ", p), err)
459 }
460 if err := p.writeField1scip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/GaugeValue#writeField1().(oprot); err != nil {
461 return err
462 }
463 if err := p.writeField2scip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/GaugeValue#writeField2().(oprot); err != nil {
464 return err
465 }
466 if err := oprot.WriteFieldStopscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#WriteFieldStop.(); err != nil {
467 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().("write field stop error: ", err)
468 }
469 if err := oprot.WriteStructEndscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#WriteStructEnd.(); err != nil {
470 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().("write struct stop error: ", err)
471 }
472 return nil
473 }
474
475 func (p *GaugeValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/GaugeValue#) writeField1scip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/GaugeValue#writeField1().(oprot thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.TProtocolscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#) (err error) {
476 if p.IsSetI64Valuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/GaugeValue#IsSetI64Value().() {
477 if err := oprot.WriteFieldBeginscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#WriteFieldBegin.("i64Value", thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.I64scip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/I64., 1); err != nil {
478 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().(fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("%T write field begin error 1:i64Value: ", p), err)
479 }
480 if err := oprot.WriteI64scip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#WriteI64.(int64(*p.I64Valuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/GaugeValue#I64Value.)); err != nil {
481 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().(fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("%T.i64Value (1) field write error: ", p), err)
482 }
483 if err := oprot.WriteFieldEndscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#WriteFieldEnd.(); err != nil {
484 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().(fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("%T write field end error 1:i64Value: ", p), err)
485 }
486 }
487 return err
488 }
489
490 func (p *GaugeValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/GaugeValue#) writeField2scip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/GaugeValue#writeField2().(oprot thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.TProtocolscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#) (err error) {
491 if p.IsSetDValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/GaugeValue#IsSetDValue().() {
492 if err := oprot.WriteFieldBeginscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#WriteFieldBegin.("dValue", thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.DOUBLEscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/DOUBLE., 2); err != nil {
493 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().(fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("%T write field begin error 2:dValue: ", p), err)
494 }
495 if err := oprot.WriteDoublescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#WriteDouble.(float64(*p.DValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/GaugeValue#DValue.)); err != nil {
496 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().(fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("%T.dValue (2) field write error: ", p), err)
497 }
498 if err := oprot.WriteFieldEndscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#WriteFieldEnd.(); err != nil {
499 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().(fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("%T write field end error 2:dValue: ", p), err)
500 }
501 }
502 return err
503 }
504
505 func (p *GaugeValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/GaugeValue#) Stringscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/GaugeValue#String().() string {
506 if p == nil {
507 return "<nil>"
508 }
509 return fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("GaugeValue(%+v)", *p)
510 }
511
512 // Different types of timer values
513 //
514 // Attributes:
515 // - I64Value
516 // - DValue
517 type TimerValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/TimerValue# struct {
518 I64Valuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/TimerValue#I64Value. *int64 `thrift:"i64Value,1" json:"i64Value,omitempty"`
519 DValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/TimerValue#DValue. *float64 `thrift:"dValue,2" json:"dValue,omitempty"`
520 }
521
522 func NewTimerValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/NewTimerValue().() *TimerValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/TimerValue# {
523 return &TimerValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/TimerValue#{}
524 }
525
526 var TimerValue_I64Value_DEFAULTscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/TimerValue_I64Value_DEFAULT. int64
527
528 func (p *TimerValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/TimerValue#) GetI64Valuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/TimerValue#GetI64Value().() int64 {
529 if !p.IsSetI64Valuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/TimerValue#IsSetI64Value().() {
530 return TimerValue_I64Value_DEFAULTscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/TimerValue_I64Value_DEFAULT.
531 }
532 return *p.I64Valuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/TimerValue#I64Value.
533 }
534
535 var TimerValue_DValue_DEFAULTscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/TimerValue_DValue_DEFAULT. float64
536
537 func (p *TimerValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/TimerValue#) GetDValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/TimerValue#GetDValue().() float64 {
538 if !p.IsSetDValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/TimerValue#IsSetDValue().() {
539 return TimerValue_DValue_DEFAULTscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/TimerValue_DValue_DEFAULT.
540 }
541 return *p.DValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/TimerValue#DValue.
542 }
543 func (p *TimerValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/TimerValue#) CountSetFieldsTimerValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/TimerValue#CountSetFieldsTimerValue().() int {
544 count := 0
545 if p.IsSetI64Valuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/TimerValue#IsSetI64Value().() {
546 count++
547 }
548 if p.IsSetDValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/TimerValue#IsSetDValue().() {
549 count++
550 }
551 return count
552
553 }
554
555 func (p *TimerValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/TimerValue#) IsSetI64Valuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/TimerValue#IsSetI64Value().() bool {
556 return p.I64Valuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/TimerValue#I64Value. != nil
557 }
558
559 func (p *TimerValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/TimerValue#) IsSetDValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/TimerValue#IsSetDValue().() bool {
560 return p.DValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/TimerValue#DValue. != nil
561 }
562
563 func (p *TimerValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/TimerValue#) Readscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/TimerValue#Read().(iprot thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.TProtocolscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#) error {
564 if _, err := iprot.ReadStructBeginscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#ReadStructBegin.(); err != nil {
565 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().(fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("%T read error: ", p), err)
566 }
567
568 for {
569 _, fieldTypeId, fieldId, err := iprot.ReadFieldBeginscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#ReadFieldBegin.()
570 if err != nil {
571 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().(fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("%T field %d read error: ", p, fieldId), err)
572 }
573 if fieldTypeId == thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.STOPscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/STOP. {
574 break
575 }
576 switch fieldId {
577 case 1:
578 if err := p.readField1scip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/TimerValue#readField1().(iprot); err != nil {
579 return err
580 }
581 case 2:
582 if err := p.readField2scip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/TimerValue#readField2().(iprot); err != nil {
583 return err
584 }
585 default:
586 if err := iprot.Skipscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#Skip.(fieldTypeId); err != nil {
587 return err
588 }
589 }
590 if err := iprot.ReadFieldEndscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#ReadFieldEnd.(); err != nil {
591 return err
592 }
593 }
594 if err := iprot.ReadStructEndscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#ReadStructEnd.(); err != nil {
595 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().(fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("%T read struct end error: ", p), err)
596 }
597 return nil
598 }
599
600 func (p *TimerValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/TimerValue#) readField1scip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/TimerValue#readField1().(iprot thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.TProtocolscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#) error {
601 if v, err := iprot.ReadI64scip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#ReadI64.(); err != nil {
602 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().("error reading field 1: ", err)
603 } else {
604 p.I64Valuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/TimerValue#I64Value. = &v
605 }
606 return nil
607 }
608
609 func (p *TimerValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/TimerValue#) readField2scip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/TimerValue#readField2().(iprot thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.TProtocolscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#) error {
610 if v, err := iprot.ReadDoublescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#ReadDouble.(); err != nil {
611 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().("error reading field 2: ", err)
612 } else {
613 p.DValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/TimerValue#DValue. = &v
614 }
615 return nil
616 }
617
618 func (p *TimerValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/TimerValue#) Writescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/TimerValue#Write().(oprot thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.TProtocolscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#) error {
619 if c := p.CountSetFieldsTimerValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/TimerValue#CountSetFieldsTimerValue().(); c != 1 {
620 return fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Errorfscip-go gomod github.com/golang/go/src go1.20 fmt/Errorf().("%T write union: exactly one field must be set (%d set).", p, c)
621 }
622 if err := oprot.WriteStructBeginscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#WriteStructBegin.("TimerValue"); err != nil {
623 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().(fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("%T write struct begin error: ", p), err)
624 }
625 if err := p.writeField1scip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/TimerValue#writeField1().(oprot); err != nil {
626 return err
627 }
628 if err := p.writeField2scip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/TimerValue#writeField2().(oprot); err != nil {
629 return err
630 }
631 if err := oprot.WriteFieldStopscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#WriteFieldStop.(); err != nil {
632 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().("write field stop error: ", err)
633 }
634 if err := oprot.WriteStructEndscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#WriteStructEnd.(); err != nil {
635 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().("write struct stop error: ", err)
636 }
637 return nil
638 }
639
640 func (p *TimerValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/TimerValue#) writeField1scip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/TimerValue#writeField1().(oprot thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.TProtocolscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#) (err error) {
641 if p.IsSetI64Valuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/TimerValue#IsSetI64Value().() {
642 if err := oprot.WriteFieldBeginscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#WriteFieldBegin.("i64Value", thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.I64scip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/I64., 1); err != nil {
643 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().(fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("%T write field begin error 1:i64Value: ", p), err)
644 }
645 if err := oprot.WriteI64scip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#WriteI64.(int64(*p.I64Valuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/TimerValue#I64Value.)); err != nil {
646 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().(fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("%T.i64Value (1) field write error: ", p), err)
647 }
648 if err := oprot.WriteFieldEndscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#WriteFieldEnd.(); err != nil {
649 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().(fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("%T write field end error 1:i64Value: ", p), err)
650 }
651 }
652 return err
653 }
654
655 func (p *TimerValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/TimerValue#) writeField2scip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/TimerValue#writeField2().(oprot thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.TProtocolscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#) (err error) {
656 if p.IsSetDValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/TimerValue#IsSetDValue().() {
657 if err := oprot.WriteFieldBeginscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#WriteFieldBegin.("dValue", thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.DOUBLEscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/DOUBLE., 2); err != nil {
658 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().(fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("%T write field begin error 2:dValue: ", p), err)
659 }
660 if err := oprot.WriteDoublescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#WriteDouble.(float64(*p.DValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/TimerValue#DValue.)); err != nil {
661 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().(fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("%T.dValue (2) field write error: ", p), err)
662 }
663 if err := oprot.WriteFieldEndscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#WriteFieldEnd.(); err != nil {
664 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().(fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("%T write field end error 2:dValue: ", p), err)
665 }
666 }
667 return err
668 }
669
670 func (p *TimerValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/TimerValue#) Stringscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/TimerValue#String().() string {
671 if p == nil {
672 return "<nil>"
673 }
674 return fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("TimerValue(%+v)", *p)
675 }
676
677 // Tags that can be applied to a metric
678 //
679 // Attributes:
680 // - TagName
681 // - TagValue
682 type MetricTagscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricTag# struct {
683 TagNamescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricTag#TagName. string `thrift:"tagName,1" json:"tagName"`
684 TagValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricTag#TagValue. *string `thrift:"tagValue,2" json:"tagValue,omitempty"`
685 }
686
687 func NewMetricTagscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/NewMetricTag().() *MetricTagscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricTag# {
688 return &MetricTagscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricTag#{}
689 }
690
691 func (p *MetricTagscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricTag#) GetTagNamescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricTag#GetTagName().() string {
692 return p.TagNamescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricTag#TagName.
693 }
694
695 var MetricTag_TagValue_DEFAULTscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricTag_TagValue_DEFAULT. string
696
697 func (p *MetricTagscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricTag#) GetTagValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricTag#GetTagValue().() string {
698 if !p.IsSetTagValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricTag#IsSetTagValue().() {
699 return MetricTag_TagValue_DEFAULTscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricTag_TagValue_DEFAULT.
700 }
701 return *p.TagValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricTag#TagValue.
702 }
703 func (p *MetricTagscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricTag#) IsSetTagValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricTag#IsSetTagValue().() bool {
704 return p.TagValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricTag#TagValue. != nil
705 }
706
707 func (p *MetricTagscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricTag#) Readscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricTag#Read().(iprot thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.TProtocolscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#) error {
708 if _, err := iprot.ReadStructBeginscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#ReadStructBegin.(); err != nil {
709 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().(fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("%T read error: ", p), err)
710 }
711
712 for {
713 _, fieldTypeId, fieldId, err := iprot.ReadFieldBeginscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#ReadFieldBegin.()
714 if err != nil {
715 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().(fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("%T field %d read error: ", p, fieldId), err)
716 }
717 if fieldTypeId == thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.STOPscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/STOP. {
718 break
719 }
720 switch fieldId {
721 case 1:
722 if err := p.readField1scip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricTag#readField1().(iprot); err != nil {
723 return err
724 }
725 case 2:
726 if err := p.readField2scip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricTag#readField2().(iprot); err != nil {
727 return err
728 }
729 default:
730 if err := iprot.Skipscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#Skip.(fieldTypeId); err != nil {
731 return err
732 }
733 }
734 if err := iprot.ReadFieldEndscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#ReadFieldEnd.(); err != nil {
735 return err
736 }
737 }
738 if err := iprot.ReadStructEndscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#ReadStructEnd.(); err != nil {
739 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().(fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("%T read struct end error: ", p), err)
740 }
741 return nil
742 }
743
744 func (p *MetricTagscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricTag#) readField1scip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricTag#readField1().(iprot thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.TProtocolscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#) error {
745 if v, err := iprot.ReadStringscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#ReadString.(); err != nil {
746 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().("error reading field 1: ", err)
747 } else {
748 p.TagNamescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricTag#TagName. = v
749 }
750 return nil
751 }
752
753 func (p *MetricTagscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricTag#) readField2scip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricTag#readField2().(iprot thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.TProtocolscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#) error {
754 if v, err := iprot.ReadStringscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#ReadString.(); err != nil {
755 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().("error reading field 2: ", err)
756 } else {
757 p.TagValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricTag#TagValue. = &v
758 }
759 return nil
760 }
761
762 func (p *MetricTagscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricTag#) Writescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricTag#Write().(oprot thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.TProtocolscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#) error {
763 if err := oprot.WriteStructBeginscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#WriteStructBegin.("MetricTag"); err != nil {
764 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().(fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("%T write struct begin error: ", p), err)
765 }
766 if err := p.writeField1scip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricTag#writeField1().(oprot); err != nil {
767 return err
768 }
769 if err := p.writeField2scip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricTag#writeField2().(oprot); err != nil {
770 return err
771 }
772 if err := oprot.WriteFieldStopscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#WriteFieldStop.(); err != nil {
773 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().("write field stop error: ", err)
774 }
775 if err := oprot.WriteStructEndscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#WriteStructEnd.(); err != nil {
776 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().("write struct stop error: ", err)
777 }
778 return nil
779 }
780
781 func (p *MetricTagscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricTag#) writeField1scip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricTag#writeField1().(oprot thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.TProtocolscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#) (err error) {
782 if err := oprot.WriteFieldBeginscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#WriteFieldBegin.("tagName", thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.STRINGscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/STRING., 1); err != nil {
783 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().(fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("%T write field begin error 1:tagName: ", p), err)
784 }
785 if err := oprot.WriteStringscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#WriteString.(string(p.TagNamescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricTag#TagName.)); err != nil {
786 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().(fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("%T.tagName (1) field write error: ", p), err)
787 }
788 if err := oprot.WriteFieldEndscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#WriteFieldEnd.(); err != nil {
789 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().(fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("%T write field end error 1:tagName: ", p), err)
790 }
791 return err
792 }
793
794 func (p *MetricTagscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricTag#) writeField2scip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricTag#writeField2().(oprot thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.TProtocolscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#) (err error) {
795 if p.IsSetTagValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricTag#IsSetTagValue().() {
796 if err := oprot.WriteFieldBeginscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#WriteFieldBegin.("tagValue", thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.STRINGscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/STRING., 2); err != nil {
797 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().(fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("%T write field begin error 2:tagValue: ", p), err)
798 }
799 if err := oprot.WriteStringscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#WriteString.(string(*p.TagValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricTag#TagValue.)); err != nil {
800 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().(fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("%T.tagValue (2) field write error: ", p), err)
801 }
802 if err := oprot.WriteFieldEndscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#WriteFieldEnd.(); err != nil {
803 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().(fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("%T write field end error 2:tagValue: ", p), err)
804 }
805 }
806 return err
807 }
808
809 func (p *MetricTagscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricTag#) Stringscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricTag#String().() string {
810 if p == nil {
811 return "<nil>"
812 }
813 return fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("MetricTag(%+v)", *p)
814 }
815
816 // The metric that is being emitted
817 //
818 // Attributes:
819 // - Name
820 // - MetricValue
821 // - Timestamp
822 // - Tags
823 type Metricscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/Metric# struct {
824 Namescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/Metric#Name. string `thrift:"name,1" json:"name"`
825 MetricValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/Metric#MetricValue. *MetricValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricValue# `thrift:"metricValue,2" json:"metricValue,omitempty"`
826 Timestampscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/Metric#Timestamp. *int64 `thrift:"timestamp,3" json:"timestamp,omitempty"`
827 Tagsscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/Metric#Tags. map[*MetricTagscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricTag#]bool `thrift:"tags,4" json:"tags,omitempty"`
828 }
829
830 func NewMetricscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/NewMetric().() *Metricscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/Metric# {
831 return &Metricscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/Metric#{}
832 }
833
834 func (p *Metricscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/Metric#) GetNamescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/Metric#GetName().() string {
835 return p.Namescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/Metric#Name.
836 }
837
838 var Metric_MetricValue_DEFAULTscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/Metric_MetricValue_DEFAULT. *MetricValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricValue#
839
840 func (p *Metricscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/Metric#) GetMetricValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/Metric#GetMetricValue().() *MetricValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricValue# {
841 if !p.IsSetMetricValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/Metric#IsSetMetricValue().() {
842 return Metric_MetricValue_DEFAULTscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/Metric_MetricValue_DEFAULT.
843 }
844 return p.MetricValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/Metric#MetricValue.
845 }
846
847 var Metric_Timestamp_DEFAULTscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/Metric_Timestamp_DEFAULT. int64
848
849 func (p *Metricscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/Metric#) GetTimestampscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/Metric#GetTimestamp().() int64 {
850 if !p.IsSetTimestampscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/Metric#IsSetTimestamp().() {
851 return Metric_Timestamp_DEFAULTscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/Metric_Timestamp_DEFAULT.
852 }
853 return *p.Timestampscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/Metric#Timestamp.
854 }
855
856 var Metric_Tags_DEFAULTscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/Metric_Tags_DEFAULT. map[*MetricTagscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricTag#]bool
857
858 func (p *Metricscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/Metric#) GetTagsscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/Metric#GetTags().() map[*MetricTagscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricTag#]bool {
859 return p.Tagsscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/Metric#Tags.
860 }
861 func (p *Metricscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/Metric#) IsSetMetricValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/Metric#IsSetMetricValue().() bool {
862 return p.MetricValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/Metric#MetricValue. != nil
863 }
864
865 func (p *Metricscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/Metric#) IsSetTimestampscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/Metric#IsSetTimestamp().() bool {
866 return p.Timestampscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/Metric#Timestamp. != nil
867 }
868
869 func (p *Metricscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/Metric#) IsSetTagsscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/Metric#IsSetTags().() bool {
870 return p.Tagsscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/Metric#Tags. != nil
871 }
872
873 func (p *Metricscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/Metric#) Readscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/Metric#Read().(iprot thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.TProtocolscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#) error {
874 if _, err := iprot.ReadStructBeginscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#ReadStructBegin.(); err != nil {
875 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().(fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("%T read error: ", p), err)
876 }
877
878 for {
879 _, fieldTypeId, fieldId, err := iprot.ReadFieldBeginscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#ReadFieldBegin.()
880 if err != nil {
881 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().(fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("%T field %d read error: ", p, fieldId), err)
882 }
883 if fieldTypeId == thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.STOPscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/STOP. {
884 break
885 }
886 switch fieldId {
887 case 1:
888 if err := p.readField1scip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/Metric#readField1().(iprot); err != nil {
889 return err
890 }
891 case 2:
892 if err := p.readField2scip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/Metric#readField2().(iprot); err != nil {
893 return err
894 }
895 case 3:
896 if err := p.readField3scip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/Metric#readField3().(iprot); err != nil {
897 return err
898 }
899 case 4:
900 if err := p.readField4scip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/Metric#readField4().(iprot); err != nil {
901 return err
902 }
903 default:
904 if err := iprot.Skipscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#Skip.(fieldTypeId); err != nil {
905 return err
906 }
907 }
908 if err := iprot.ReadFieldEndscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#ReadFieldEnd.(); err != nil {
909 return err
910 }
911 }
912 if err := iprot.ReadStructEndscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#ReadStructEnd.(); err != nil {
913 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().(fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("%T read struct end error: ", p), err)
914 }
915 return nil
916 }
917
918 func (p *Metricscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/Metric#) readField1scip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/Metric#readField1().(iprot thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.TProtocolscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#) error {
919 if v, err := iprot.ReadStringscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#ReadString.(); err != nil {
920 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().("error reading field 1: ", err)
921 } else {
922 p.Namescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/Metric#Name. = v
923 }
924 return nil
925 }
926
927 func (p *Metricscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/Metric#) readField2scip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/Metric#readField2().(iprot thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.TProtocolscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#) error {
928 p.MetricValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/Metric#MetricValue. = &MetricValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricValue#{}
929 if err := p.MetricValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/Metric#MetricValue..Readscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricValue#Read().(iprot); err != nil {
930 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().(fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("%T error reading struct: ", p.MetricValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/Metric#MetricValue.), err)
931 }
932 return nil
933 }
934
935 func (p *Metricscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/Metric#) readField3scip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/Metric#readField3().(iprot thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.TProtocolscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#) error {
936 if v, err := iprot.ReadI64scip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#ReadI64.(); err != nil {
937 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().("error reading field 3: ", err)
938 } else {
939 p.Timestampscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/Metric#Timestamp. = &v
940 }
941 return nil
942 }
943
944 func (p *Metricscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/Metric#) readField4scip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/Metric#readField4().(iprot thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.TProtocolscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#) error {
945 _, size, err := iprot.ReadSetBeginscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#ReadSetBegin.()
946 if err != nil {
947 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().("error reading set begin: ", err)
948 }
949 tSet := make(map[*MetricTagscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricTag#]bool, size)
950 p.Tagsscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/Metric#Tags. = tSet
951 for i := 0; i < size; i++ {
952 _elem0 := &MetricTagscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricTag#{}
953 if err := _elem0.Readscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricTag#Read().(iprot); err != nil {
954 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().(fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("%T error reading struct: ", _elem0), err)
955 }
956 p.Tagsscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/Metric#Tags.[_elem0] = true
957 }
958 if err := iprot.ReadSetEndscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#ReadSetEnd.(); err != nil {
959 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().("error reading set end: ", err)
960 }
961 return nil
962 }
963
964 func (p *Metricscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/Metric#) Writescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/Metric#Write().(oprot thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.TProtocolscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#) error {
965 if err := oprot.WriteStructBeginscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#WriteStructBegin.("Metric"); err != nil {
966 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().(fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("%T write struct begin error: ", p), err)
967 }
968 if err := p.writeField1scip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/Metric#writeField1().(oprot); err != nil {
969 return err
970 }
971 if err := p.writeField2scip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/Metric#writeField2().(oprot); err != nil {
972 return err
973 }
974 if err := p.writeField3scip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/Metric#writeField3().(oprot); err != nil {
975 return err
976 }
977 if err := p.writeField4scip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/Metric#writeField4().(oprot); err != nil {
978 return err
979 }
980 if err := oprot.WriteFieldStopscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#WriteFieldStop.(); err != nil {
981 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().("write field stop error: ", err)
982 }
983 if err := oprot.WriteStructEndscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#WriteStructEnd.(); err != nil {
984 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().("write struct stop error: ", err)
985 }
986 return nil
987 }
988
989 func (p *Metricscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/Metric#) writeField1scip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/Metric#writeField1().(oprot thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.TProtocolscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#) (err error) {
990 if err := oprot.WriteFieldBeginscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#WriteFieldBegin.("name", thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.STRINGscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/STRING., 1); err != nil {
991 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().(fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("%T write field begin error 1:name: ", p), err)
992 }
993 if err := oprot.WriteStringscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#WriteString.(string(p.Namescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/Metric#Name.)); err != nil {
994 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().(fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("%T.name (1) field write error: ", p), err)
995 }
996 if err := oprot.WriteFieldEndscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#WriteFieldEnd.(); err != nil {
997 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().(fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("%T write field end error 1:name: ", p), err)
998 }
999 return err
1000 }
1001
1002 func (p *Metricscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/Metric#) writeField2scip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/Metric#writeField2().(oprot thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.TProtocolscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#) (err error) {
1003 if p.IsSetMetricValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/Metric#IsSetMetricValue().() {
1004 if err := oprot.WriteFieldBeginscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#WriteFieldBegin.("metricValue", thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.STRUCTscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/STRUCT., 2); err != nil {
1005 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().(fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("%T write field begin error 2:metricValue: ", p), err)
1006 }
1007 if err := p.MetricValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/Metric#MetricValue..Writescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricValue#Write().(oprot); err != nil {
1008 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().(fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("%T error writing struct: ", p.MetricValuescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/Metric#MetricValue.), err)
1009 }
1010 if err := oprot.WriteFieldEndscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#WriteFieldEnd.(); err != nil {
1011 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().(fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("%T write field end error 2:metricValue: ", p), err)
1012 }
1013 }
1014 return err
1015 }
1016
1017 func (p *Metricscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/Metric#) writeField3scip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/Metric#writeField3().(oprot thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.TProtocolscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#) (err error) {
1018 if p.IsSetTimestampscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/Metric#IsSetTimestamp().() {
1019 if err := oprot.WriteFieldBeginscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#WriteFieldBegin.("timestamp", thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.I64scip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/I64., 3); err != nil {
1020 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().(fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("%T write field begin error 3:timestamp: ", p), err)
1021 }
1022 if err := oprot.WriteI64scip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#WriteI64.(int64(*p.Timestampscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/Metric#Timestamp.)); err != nil {
1023 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().(fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("%T.timestamp (3) field write error: ", p), err)
1024 }
1025 if err := oprot.WriteFieldEndscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#WriteFieldEnd.(); err != nil {
1026 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().(fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("%T write field end error 3:timestamp: ", p), err)
1027 }
1028 }
1029 return err
1030 }
1031
1032 func (p *Metricscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/Metric#) writeField4scip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/Metric#writeField4().(oprot thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.TProtocolscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#) (err error) {
1033 if p.IsSetTagsscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/Metric#IsSetTags().() {
1034 if err := oprot.WriteFieldBeginscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#WriteFieldBegin.("tags", thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.SETscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/SET., 4); err != nil {
1035 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().(fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("%T write field begin error 4:tags: ", p), err)
1036 }
1037 if err := oprot.WriteSetBeginscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#WriteSetBegin.(thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.STRUCTscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/STRUCT., len(p.Tagsscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/Metric#Tags.)); err != nil {
1038 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().("error writing set begin: ", err)
1039 }
1040 for v, _ := range p.Tagsscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/Metric#Tags. {
1041 if err := v.Writescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricTag#Write().(oprot); err != nil {
1042 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().(fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("%T error writing struct: ", v), err)
1043 }
1044 }
1045 if err := oprot.WriteSetEndscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#WriteSetEnd.(); err != nil {
1046 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().("error writing set end: ", err)
1047 }
1048 if err := oprot.WriteFieldEndscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#WriteFieldEnd.(); err != nil {
1049 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().(fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("%T write field end error 4:tags: ", p), err)
1050 }
1051 }
1052 return err
1053 }
1054
1055 func (p *Metricscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/Metric#) Stringscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/Metric#String().() string {
1056 if p == nil {
1057 return "<nil>"
1058 }
1059 return fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("Metric(%+v)", *p)
1060 }
1061
1062 // Structure that holds a group of metrics which share
1063 // common properties like the cluster and service.
1064 //
1065 // Attributes:
1066 // - Metrics
1067 // - CommonTags
1068 type MetricBatchscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricBatch# struct {
1069 Metricsscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricBatch#Metrics. []*Metricscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/Metric# `thrift:"metrics,1" json:"metrics"`
1070 CommonTagsscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricBatch#CommonTags. map[*MetricTagscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricTag#]bool `thrift:"commonTags,2" json:"commonTags,omitempty"`
1071 }
1072
1073 func NewMetricBatchscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/NewMetricBatch().() *MetricBatchscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricBatch# {
1074 return &MetricBatchscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricBatch#{}
1075 }
1076
1077 func (p *MetricBatchscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricBatch#) GetMetricsscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricBatch#GetMetrics().() []*Metricscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/Metric# {
1078 return p.Metricsscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricBatch#Metrics.
1079 }
1080
1081 var MetricBatch_CommonTags_DEFAULTscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricBatch_CommonTags_DEFAULT. map[*MetricTagscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricTag#]bool
1082
1083 func (p *MetricBatchscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricBatch#) GetCommonTagsscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricBatch#GetCommonTags().() map[*MetricTagscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricTag#]bool {
1084 return p.CommonTagsscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricBatch#CommonTags.
1085 }
1086 func (p *MetricBatchscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricBatch#) IsSetCommonTagsscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricBatch#IsSetCommonTags().() bool {
1087 return p.CommonTagsscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricBatch#CommonTags. != nil
1088 }
1089
1090 func (p *MetricBatchscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricBatch#) Readscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricBatch#Read().(iprot thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.TProtocolscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#) error {
1091 if _, err := iprot.ReadStructBeginscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#ReadStructBegin.(); err != nil {
1092 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().(fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("%T read error: ", p), err)
1093 }
1094
1095 for {
1096 _, fieldTypeId, fieldId, err := iprot.ReadFieldBeginscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#ReadFieldBegin.()
1097 if err != nil {
1098 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().(fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("%T field %d read error: ", p, fieldId), err)
1099 }
1100 if fieldTypeId == thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.STOPscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/STOP. {
1101 break
1102 }
1103 switch fieldId {
1104 case 1:
1105 if err := p.readField1scip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricBatch#readField1().(iprot); err != nil {
1106 return err
1107 }
1108 case 2:
1109 if err := p.readField2scip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricBatch#readField2().(iprot); err != nil {
1110 return err
1111 }
1112 default:
1113 if err := iprot.Skipscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#Skip.(fieldTypeId); err != nil {
1114 return err
1115 }
1116 }
1117 if err := iprot.ReadFieldEndscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#ReadFieldEnd.(); err != nil {
1118 return err
1119 }
1120 }
1121 if err := iprot.ReadStructEndscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#ReadStructEnd.(); err != nil {
1122 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().(fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("%T read struct end error: ", p), err)
1123 }
1124 return nil
1125 }
1126
1127 func (p *MetricBatchscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricBatch#) readField1scip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricBatch#readField1().(iprot thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.TProtocolscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#) error {
1128 _, size, err := iprot.ReadListBeginscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#ReadListBegin.()
1129 if err != nil {
1130 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().("error reading list begin: ", err)
1131 }
1132 tSlice := make([]*Metricscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/Metric#, 0, size)
1133 p.Metricsscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricBatch#Metrics. = tSlice
1134 for i := 0; i < size; i++ {
1135 _elem1 := &Metricscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/Metric#{}
1136 if err := _elem1.Readscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/Metric#Read().(iprot); err != nil {
1137 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().(fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("%T error reading struct: ", _elem1), err)
1138 }
1139 p.Metricsscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricBatch#Metrics. = append(p.Metricsscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricBatch#Metrics., _elem1)
1140 }
1141 if err := iprot.ReadListEndscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#ReadListEnd.(); err != nil {
1142 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().("error reading list end: ", err)
1143 }
1144 return nil
1145 }
1146
1147 func (p *MetricBatchscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricBatch#) readField2scip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricBatch#readField2().(iprot thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.TProtocolscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#) error {
1148 _, size, err := iprot.ReadSetBeginscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#ReadSetBegin.()
1149 if err != nil {
1150 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().("error reading set begin: ", err)
1151 }
1152 tSet := make(map[*MetricTagscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricTag#]bool, size)
1153 p.CommonTagsscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricBatch#CommonTags. = tSet
1154 for i := 0; i < size; i++ {
1155 _elem2 := &MetricTagscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricTag#{}
1156 if err := _elem2.Readscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricTag#Read().(iprot); err != nil {
1157 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().(fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("%T error reading struct: ", _elem2), err)
1158 }
1159 p.CommonTagsscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricBatch#CommonTags.[_elem2] = true
1160 }
1161 if err := iprot.ReadSetEndscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#ReadSetEnd.(); err != nil {
1162 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().("error reading set end: ", err)
1163 }
1164 return nil
1165 }
1166
1167 func (p *MetricBatchscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricBatch#) Writescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricBatch#Write().(oprot thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.TProtocolscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#) error {
1168 if err := oprot.WriteStructBeginscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#WriteStructBegin.("MetricBatch"); err != nil {
1169 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().(fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("%T write struct begin error: ", p), err)
1170 }
1171 if err := p.writeField1scip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricBatch#writeField1().(oprot); err != nil {
1172 return err
1173 }
1174 if err := p.writeField2scip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricBatch#writeField2().(oprot); err != nil {
1175 return err
1176 }
1177 if err := oprot.WriteFieldStopscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#WriteFieldStop.(); err != nil {
1178 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().("write field stop error: ", err)
1179 }
1180 if err := oprot.WriteStructEndscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#WriteStructEnd.(); err != nil {
1181 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().("write struct stop error: ", err)
1182 }
1183 return nil
1184 }
1185
1186 func (p *MetricBatchscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricBatch#) writeField1scip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricBatch#writeField1().(oprot thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.TProtocolscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#) (err error) {
1187 if err := oprot.WriteFieldBeginscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#WriteFieldBegin.("metrics", thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.LISTscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/LIST., 1); err != nil {
1188 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().(fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("%T write field begin error 1:metrics: ", p), err)
1189 }
1190 if err := oprot.WriteListBeginscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#WriteListBegin.(thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.STRUCTscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/STRUCT., len(p.Metricsscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricBatch#Metrics.)); err != nil {
1191 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().("error writing list begin: ", err)
1192 }
1193 for _, v := range p.Metricsscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricBatch#Metrics. {
1194 if err := v.Writescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/Metric#Write().(oprot); err != nil {
1195 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().(fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("%T error writing struct: ", v), err)
1196 }
1197 }
1198 if err := oprot.WriteListEndscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#WriteListEnd.(); err != nil {
1199 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().("error writing list end: ", err)
1200 }
1201 if err := oprot.WriteFieldEndscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#WriteFieldEnd.(); err != nil {
1202 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().(fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("%T write field end error 1:metrics: ", p), err)
1203 }
1204 return err
1205 }
1206
1207 func (p *MetricBatchscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricBatch#) writeField2scip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricBatch#writeField2().(oprot thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.TProtocolscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#) (err error) {
1208 if p.IsSetCommonTagsscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricBatch#IsSetCommonTags().() {
1209 if err := oprot.WriteFieldBeginscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#WriteFieldBegin.("commonTags", thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.SETscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/SET., 2); err != nil {
1210 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().(fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("%T write field begin error 2:commonTags: ", p), err)
1211 }
1212 if err := oprot.WriteSetBeginscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#WriteSetBegin.(thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.STRUCTscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/STRUCT., len(p.CommonTagsscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricBatch#CommonTags.)); err != nil {
1213 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().("error writing set begin: ", err)
1214 }
1215 for v, _ := range p.CommonTagsscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricBatch#CommonTags. {
1216 if err := v.Writescip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricTag#Write().(oprot); err != nil {
1217 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().(fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("%T error writing struct: ", v), err)
1218 }
1219 }
1220 if err := oprot.WriteSetEndscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#WriteSetEnd.(); err != nil {
1221 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().("error writing set end: ", err)
1222 }
1223 if err := oprot.WriteFieldEndscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/TProtocol#WriteFieldEnd.(); err != nil {
1224 return thriftscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/.PrependErrorscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/thirdparty/github.com/apache/thrift/lib/go/thrift`/PrependError().(fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("%T write field end error 2:commonTags: ", p), err)
1225 }
1226 }
1227 return err
1228 }
1229
1230 func (p *MetricBatchscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricBatch#) Stringscip-go gomod github.com/uber-go/tally/v4 . `github.com/uber-go/tally/v4/m3/thrift/v1`/MetricBatch#String().() string {
1231 if p == nil {
1232 return "<nil>"
1233 }
1234 return fmtscip-go gomod github.com/golang/go/src go1.20 fmt/.Sprintfscip-go gomod github.com/golang/go/src go1.20 fmt/Sprintf().("MetricBatch(%+v)", *p)
1235 }