| 5976 | } |
| 5977 | |
| 5978 | func (p *TSFetchMetadataResp) writeField4(ctx context.Context, oprot thrift.TProtocol) (err error) { |
| 5979 | if p.IsSetDataType() { |
| 5980 | if err := oprot.WriteFieldBegin(ctx, "dataType", thrift.STRING, 4); err != nil { |
| 5981 | return thrift.PrependError(fmt.Sprintf("%T write field begin error 4:dataType: ", p), err) } |
| 5982 | if err := oprot.WriteString(ctx, string(*p.DataType)); err != nil { |
| 5983 | return thrift.PrependError(fmt.Sprintf("%T.dataType (4) field write error: ", p), err) } |
| 5984 | if err := oprot.WriteFieldEnd(ctx); err != nil { |
| 5985 | return thrift.PrependError(fmt.Sprintf("%T write field end error 4:dataType: ", p), err) } |
| 5986 | } |
| 5987 | return err |
| 5988 | } |
| 5989 | |
| 5990 | func (p *TSFetchMetadataResp) Equals(other *TSFetchMetadataResp) bool { |
| 5991 | if p == other { |