| 17462 | } |
| 17463 | |
| 17464 | func (p *TSQueryTemplateResp) writeField2(ctx context.Context, oprot thrift.TProtocol) (err error) { |
| 17465 | if err := oprot.WriteFieldBegin(ctx, "queryType", thrift.I32, 2); err != nil { |
| 17466 | return thrift.PrependError(fmt.Sprintf("%T write field begin error 2:queryType: ", p), err) } |
| 17467 | if err := oprot.WriteI32(ctx, int32(p.QueryType)); err != nil { |
| 17468 | return thrift.PrependError(fmt.Sprintf("%T.queryType (2) field write error: ", p), err) } |
| 17469 | if err := oprot.WriteFieldEnd(ctx); err != nil { |
| 17470 | return thrift.PrependError(fmt.Sprintf("%T write field end error 2:queryType: ", p), err) } |
| 17471 | return err |
| 17472 | } |
| 17473 | |
| 17474 | func (p *TSQueryTemplateResp) writeField3(ctx context.Context, oprot thrift.TProtocol) (err error) { |
| 17475 | if p.IsSetResult_() { |