(ctx context.Context, oprot thrift.TProtocol)
| 1054 | } |
| 1055 | |
| 1056 | func (p *TSStatus) writeField4(ctx context.Context, oprot thrift.TProtocol) (err error) { |
| 1057 | if p.IsSetRedirectNode() { |
| 1058 | if err := oprot.WriteFieldBegin(ctx, "redirectNode", thrift.STRUCT, 4); err != nil { |
| 1059 | return thrift.PrependError(fmt.Sprintf("%T write field begin error 4:redirectNode: ", p), err) } |
| 1060 | if err := p.RedirectNode.Write(ctx, oprot); err != nil { |
| 1061 | return thrift.PrependError(fmt.Sprintf("%T error writing struct: ", p.RedirectNode), err) |
| 1062 | } |
| 1063 | if err := oprot.WriteFieldEnd(ctx); err != nil { |
| 1064 | return thrift.PrependError(fmt.Sprintf("%T write field end error 4:redirectNode: ", p), err) } |
| 1065 | } |
| 1066 | return err |
| 1067 | } |
| 1068 | |
| 1069 | func (p *TSStatus) writeField5(ctx context.Context, oprot thrift.TProtocol) (err error) { |
| 1070 | if p.IsSetNeedRetry() { |
no test coverage detected