@Override
    public void write(org.apache.thrift.protocol.TProtocol oprot, DebugValue struct) throws org.apache.thrift.TException {
      struct.validate();

      oprot.writeStructBegin(STRUCT_DESC);
      if (struct.name != null) {
        oprot.writeFieldBegin(NAME_FIELD_DESC);
        oprot.writeString(struct.name);
        oprot.writeFieldEnd();
      }
      if (struct.type != null) {
        oprot.writeFieldBegin(TYPE_FIELD_DESC);
        oprot.writeString(struct.type);
        oprot.writeFieldEnd();
      }
      if (struct.qualifier != null) {
        oprot.writeFieldBegin(QUALIFIER_FIELD_DESC);
        oprot.writeString(struct.qualifier);
        oprot.writeFieldEnd();
      }
      if (struct.value != null) {
        oprot.writeFieldBegin(VALUE_FIELD_DESC);
        oprot.writeString(struct.value);
        oprot.writeFieldEnd();
      }
      oprot.writeFieldBegin(IS_CONTAINER_FIELD_DESC);
      oprot.writeBool(struct.isContainer);
      oprot.writeFieldEnd();
      if (struct.shape != null) {
        oprot.writeFieldBegin(SHAPE_FIELD_DESC);
        oprot.writeString(struct.shape);
        oprot.writeFieldEnd();
      }
      oprot.writeFieldBegin(IS_RETURNED_VALUE_FIELD_DESC);
      oprot.writeBool(struct.isReturnedValue);
      oprot.writeFieldEnd();
      oprot.writeFieldBegin(IS_IPYTHON_HIDDEN_FIELD_DESC);
      oprot.writeBool(struct.isIPythonHidden);
      oprot.writeFieldEnd();
      oprot.writeFieldBegin(IS_ERROR_ON_EVAL_FIELD_DESC);
      oprot.writeBool(struct.isErrorOnEval);
      oprot.writeFieldEnd();
      if (struct.typeRendererId != null) {
        oprot.writeFieldBegin(TYPE_RENDERER_ID_FIELD_DESC);
        oprot.writeString(struct.typeRendererId);
        oprot.writeFieldEnd();
      }
      oprot.writeFieldStop();
      oprot.writeStructEnd();
    }
@Override
    public void write(org.apache.thrift.protocol.TProtocol oprot, DebugValue struct)