| 5933 | } |
| 5934 | |
| 5935 | func (p *TSFetchMetadataResp) writeField1(ctx context.Context, oprot thrift.TProtocol) (err error) { |
| 5936 | if err := oprot.WriteFieldBegin(ctx, "status", thrift.STRUCT, 1); err != nil { |
| 5937 | return thrift.PrependError(fmt.Sprintf("%T write field begin error 1:status: ", p), err) } |
| 5938 | if err := p.Status.Write(ctx, oprot); err != nil { |
| 5939 | return thrift.PrependError(fmt.Sprintf("%T error writing struct: ", p.Status), err) |
| 5940 | } |
| 5941 | if err := oprot.WriteFieldEnd(ctx); err != nil { |
| 5942 | return thrift.PrependError(fmt.Sprintf("%T write field end error 1:status: ", p), err) } |
| 5943 | return err |
| 5944 | } |
| 5945 | |
| 5946 | func (p *TSFetchMetadataResp) writeField2(ctx context.Context, oprot thrift.TProtocol) (err error) { |
| 5947 | if p.IsSetMetadataInJson() { |