| 32510 | } |
| 32511 | |
| 32512 | func (p *IClientRPCServiceDeleteTimeseriesArgs) ReadField2(ctx context.Context, iprot thrift.TProtocol) error { |
| 32513 | _, size, err := iprot.ReadListBegin(ctx) |
| 32514 | if err != nil { |
| 32515 | return thrift.PrependError("error reading list begin: ", err) |
| 32516 | } |
| 32517 | tSlice := make([]string, 0, size) |
| 32518 | p.Path = tSlice |
| 32519 | for i := 0; i < size; i ++ { |
| 32520 | var _elem406 string |
| 32521 | if v, err := iprot.ReadString(ctx); err != nil { |
| 32522 | return thrift.PrependError("error reading field 0: ", err) |
| 32523 | } else { |
| 32524 | _elem406 = v |
| 32525 | } |
| 32526 | p.Path = append(p.Path, _elem406) |
| 32527 | } |
| 32528 | if err := iprot.ReadListEnd(ctx); err != nil { |
| 32529 | return thrift.PrependError("error reading list end: ", err) |
| 32530 | } |
| 32531 | return nil |
| 32532 | } |
| 32533 | |
| 32534 | func (p *IClientRPCServiceDeleteTimeseriesArgs) Write(ctx context.Context, oprot thrift.TProtocol) error { |
| 32535 | if err := oprot.WriteStructBegin(ctx, "deleteTimeseries_args"); err != nil { |