| 17472 | } |
| 17473 | |
| 17474 | func (p *TSQueryTemplateResp) writeField3(ctx context.Context, oprot thrift.TProtocol) (err error) { |
| 17475 | if p.IsSetResult_() { |
| 17476 | if err := oprot.WriteFieldBegin(ctx, "result", thrift.BOOL, 3); err != nil { |
| 17477 | return thrift.PrependError(fmt.Sprintf("%T write field begin error 3:result: ", p), err) } |
| 17478 | if err := oprot.WriteBool(ctx, bool(*p.Result_)); err != nil { |
| 17479 | return thrift.PrependError(fmt.Sprintf("%T.result (3) field write error: ", p), err) } |
| 17480 | if err := oprot.WriteFieldEnd(ctx); err != nil { |
| 17481 | return thrift.PrependError(fmt.Sprintf("%T write field end error 3:result: ", p), err) } |
| 17482 | } |
| 17483 | return err |
| 17484 | } |
| 17485 | |
| 17486 | func (p *TSQueryTemplateResp) writeField4(ctx context.Context, oprot thrift.TProtocol) (err error) { |
| 17487 | if p.IsSetCount() { |